sykpcomposer 1.19.92 → 1.19.93

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.
Files changed (31) hide show
  1. package/dist/{ImageComponent-26bb0f8e.js → ImageComponent-f2d411e9.js} +3 -3
  2. package/dist/ImageComponent-f2d411e9.js.map +1 -0
  3. package/dist/{InlineImageComponent-f0ce7d8e.js → InlineImageComponent-5623f40f.js} +3 -3
  4. package/dist/InlineImageComponent-5623f40f.js.map +1 -0
  5. package/dist/{LexicalNestedComposer.prod-fc865b1f.js → LexicalNestedComposer.prod-7ea3eaf8.js} +2 -2
  6. package/dist/{LexicalNestedComposer.prod-fc865b1f.js.map → LexicalNestedComposer.prod-7ea3eaf8.js.map} +1 -1
  7. package/dist/{PollComponent-6d2834bd.js → PollComponent-5a745093.js} +2 -2
  8. package/dist/PollComponent-5a745093.js.map +1 -0
  9. package/dist/assets/icons/3-columns.svg +3 -3
  10. package/dist/assets/icons/LICENSE.md +5 -5
  11. package/dist/assets/icons/add-sign.svg +3 -3
  12. package/dist/assets/icons/file-earmark-text.svg +3 -3
  13. package/dist/assets/icons/minus-sign.svg +3 -3
  14. package/dist/assets/icons/scissors.svg +2 -2
  15. package/dist/assets/icons/table-of-contents-svgrepo-com.svg +7 -7
  16. package/dist/emoji-list-48028e71.js.map +1 -1
  17. package/dist/{index-a94fce48.js → index-b0a3c948.js} +2910 -2910
  18. package/dist/index-b0a3c948.js.map +1 -0
  19. package/dist/index.es.js +1 -1
  20. package/dist/index.html +43 -43
  21. package/dist/index.umd.js +4 -4
  22. package/dist/index.umd.js.map +1 -1
  23. package/dist/manifest.json +25 -25
  24. package/dist/robots.txt +3 -3
  25. package/dist/src/declarations.d.ts +3 -3
  26. package/dist/style.css +1 -1
  27. package/package.json +77 -77
  28. package/dist/ImageComponent-26bb0f8e.js.map +0 -1
  29. package/dist/InlineImageComponent-f0ce7d8e.js.map +0 -1
  30. package/dist/PollComponent-6d2834bd.js.map +0 -1
  31. package/dist/index-a94fce48.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 Bt(Ne,Je){
51
51
  `?null:(Wt(p)&&(c&&p.toggleFormat("bold"),i&&p.toggleFormat("strikethrough"),d&&p.toggleFormat("italic"),u&&p.toggleFormat("underline")),h.append(p),h)}return p},node:a}}function wi(l,t=1,n){return Ar(new os(l,t,n))}function yn(l){return l instanceof os}const R2=fo();class Sl extends Fr{static getType(){return"tablerow"}static clone(t){return new Sl(t.__height,t.__key)}static importDOM(){return{tr:t=>({conversion:L2,priority:0})}}static importJSON(t){return El(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 L2(l){const t=l;let n;return Jb.test(t.style.height)&&(n=parseFloat(t.style.height)),{node:El(n)}}function El(l){return Ar(new Sl(l))}function Dr(l){return l instanceof Sl}function F2(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var ir=F2(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 B2=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0;function Kb(l,t,n=!0){const e=_p();for(let a=0;a<l;a++){const r=El();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 z2(l){const t=nr(l,n=>yn(n));return yn(t)?t:null}function Gb(l){const t=nr(l,n=>Dr(n));if(Dr(t))return t;throw new Error("Expected table cell to be inside of table row.")}function Pa(l){const t=nr(l,n=>jr(n));if(jr(t))return t;throw new Error("Expected table cell to be inside of table.")}function Yb(l){const t=Gb(l);return Pa(t).getChildren().findIndex(n=>n.is(t))}function Nm(l){return Gb(l).getChildren().findIndex(t=>t.is(l))}const Am=(l,t)=>l===Ur.BOTH||l===t?t:Ur.NO_STATUS;function U2(l=!0){const t=kt();Et(t)||dr(t)||ir(118);const n=t.focus.getNode(),[e,,a]=Ao(n),[r,o]=is(a,e,e),s=r[0].length,{startRow:c}=o;if(l){const i=c+e.__rowSpan-1,d=r[i],u=El();for(let f=0;f<s;f++){const{cell:h,startRow:m}=d[f];if(m+h.__rowSpan-1<=i){const g=d[f].cell.__headerState,_=Am(g,Ur.COLUMN);u.append(wi(_).append(Cn()))}else h.setRowSpan(h.__rowSpan+1)}const p=a.getChildAtIndex(i);Dr(p)||ir(145),p.insertAfter(u)}else{const i=r[c],d=El();for(let p=0;p<s;p++){const{cell:f,startRow:h}=i[p];if(h===c){const m=i[p].cell.__headerState,g=Am(m,Ur.COLUMN);d.append(wi(g).append(Cn()))}else f.setRowSpan(f.__rowSpan+1)}const u=a.getChildAtIndex(c);Dr(u)||ir(145),u.insertBefore(d)}}function H2(l=!0){const t=kt();Et(t)||dr(t)||ir(118);const n=t.anchor.getNode(),e=t.focus.getNode(),[a]=Ao(n),[r,,o]=Ao(e),[s,c,i]=is(o,r,a),d=s.length,u=l?Math.max(c.startColumn,i.startColumn):Math.min(c.startColumn,i.startColumn),p=l?u+r.__colSpan-1:u-1,f=o.getFirstChild();Dr(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;_<d;_++){if(_!==0){const x=g.getNextSibling();Dr(x)||ir(121),g=x}const v=s[_],w=v[p<0?0:p].cell.__headerState,S=Am(w,Ur.ROW);if(p<0){Pm(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:F,startRow:B}=v[T];x=F,C=B}}x.insertAfter(m(S))}else E.setColSpan(E.__colSpan+1)}h!==null&&ud(h)}function $2(){const l=kt();Et(l)||dr(l)||ir(118);const t=l.anchor.getNode(),n=l.focus.getNode(),[e,,a]=Ao(t),[r]=Ao(n),[o,s,c]=is(a,e,r),{startRow:i}=s,{startRow:d}=c,u=d+r.__rowSpan-1;if(o.length===u-i+1)return void a.remove();const p=o[0].length,f=o[u+1],h=a.getChildAtIndex(u+1);for(let m=u;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>u))if(v.setRowSpan(v.__rowSpan-(u-w+1)),h===null&&ir(122),_===0)Pm(h,v);else{const{cell:E}=f[_-1];E.insertAfter(v)}}const g=a.getChildAtIndex(m);Dr(g)||ir(123,String(m)),g.remove()}if(f!==void 0){const{cell:m}=f[0];ud(m)}else{const m=o[i-1],{cell:g}=m[0];ud(g)}}function q2(){const l=kt();Et(l)||dr(l)||ir(118);const t=l.anchor.getNode(),n=l.focus.getNode(),[e,,a]=Ao(t),[r]=Ao(n),[o,s,c]=is(a,e,r),{startColumn:i}=s,{startRow:d,startColumn:u}=c,p=Math.min(i,u),f=Math.max(i+e.__colSpan-1,u+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[d],_=i>u?g[i+e.__colSpan]:g[u+r.__colSpan];if(_!==void 0){const{cell:v}=_;ud(v)}else{const v=u<i?g[u-1]:g[i-1],{cell:w}=v;ud(w)}}function ud(l){const t=l.getFirstDescendant();t==null?l.selectStart():t.getParentOrThrow().selectStart()}function Pm(l,t){const n=l.getFirstChild();n!==null?n.insertBefore(t):l.append(t)}function W2(){const l=kt();Et(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]=is(a,n,n),{startColumn:i,startRow:d}=c;let u;for(let p=1;p<o;p++){const f=d+p,h=s[f];u=(u||e).getNextSibling(),Dr(u)||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++)Pm(u,wi(Ur.NO_STATUS));else for(let g=0;g<r;g++)m.insertAfter(wi(Ur.NO_STATUS))}n.setRowSpan(1)}}function is(l,t,n){const[e,a,r]=Zb(l,t,n);return a===null&&ir(110),r===null&&ir(111),[e,a,r]}function Zb(l,t,n){const e=[];let a=null,r=null;function o(i,d,u){const p={cell:u,startColumn:d,startRow:i},f=u.__rowSpan,h=u.__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][d+g]=p}t!==null&&t.is(u)&&(a=p),n!==null&&n.is(u)&&(r=p)}function s(i,d){return e[i]===void 0||e[i][d]===void 0}const c=l.getChildren();for(let i=0;i<c.length;i++){const d=c[i];Dr(d)||ir(146);const u=d.getChildren();let p=0;for(const f of u){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 os)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();Dr(n)||ir(149);const e=n.getParent();return jr(e)||ir(150),[t,n,e]}function Xb(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 d=0;d<c.length;d++){for(;o[s][i];)i++;const u=c[d],p=u.__rowSpan||1,f=u.__colSpan||1;for(let h=0;h<p;h++)for(let m=0;m<f;m++)o[s+h][i+m]=u;if(t===u)return{colSpan:f,columnIndex:i,rowIndex:s,rowSpan:p};i+=f}}return null}class gp{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 gp(this.tableKey,this.anchor,this.focus)}isCollapsed(){return!1}extract(){return this.getNodes()}insertRawText(t){}insertText(){}insertNodes(t){const n=this.focus.getNode();jt(n)||ir(151),Tg(n.select(0,n.getChildrenSize())).insertNodes(t)}getShape(){const t=Bn(this.anchor.key);yn(t)||ir(152);const n=Xb(t);n===null&&ir(153);const e=Bn(this.focus.key);yn(e)||ir(154);const a=Xb(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();Dr(o)||ir(156);const s=o.getParent();jr(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,d,u]=is(s,a,r);let p=Math.min(d.startColumn,u.startColumn),f=Math.min(d.startRow,u.startRow),h=Math.max(d.startColumn+d.cell.__colSpan-1,u.startColumn+u.cell.__colSpan-1),m=Math.max(d.startRow+d.cell.__rowSpan-1,u.startRow+u.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();Dr(T)||ir(160),T!==b&&E.push(T),E.push(C,...J2(C)),b=T}return uc()||(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 gp}function mp(){const l=Di("root",0,"element"),t=Di("root",0,"element");return new gp("root",l,t)}function J2(l){const t=[],n=[l];for(;n.length>0;){const e=n.pop();e===void 0&&ir(112),jt(e)&&n.unshift(...e.getChildren()),e!==l&&t.push(e)}return t}class V2{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=dd(a)})});this.editor.update(()=>{const n=this.editor.getElementByKey(this.tableNodeKey);if(!n)throw new Error("Expected to find TableElement in DOM");this.table=dd(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(!jr(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=dd(n);yp(t,e,null),Cr(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");pc(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(),yp(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(!jr(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=e1(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(_c(s))){const c=s.getKey();this.tableSelection=this.tableSelection.clone()||mp(),this.focusCellNodeKey=c,this.tableSelection.set(this.tableNodeKey,this.anchorCellNodeKey,this.focusCellNodeKey),Cr(this.tableSelection),e.dispatchCommand(vi,void 0),yp(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():mp(),this.anchorCellNodeKey=e}})}formatCells(t){this.editor.update(()=>{const n=kt();dr(n)||ir(11);const e=cc(),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))}),Cr(n),this.editor.dispatchCommand(vi,void 0)})}clearText(){const t=this.editor;t.update(()=>{const n=Bn(this.tableNodeKey);if(!jr(n))throw new Error("Expected TableNode.");const e=kt();dr(e)||ir(11);const a=e.getNodes().filter(yn);a.length!==this.table.columns*this.table.rows?(a.forEach(r=>{if(jt(r)){const o=Cn(),s=er();o.append(s),r.append(o),r.getChildren().forEach(c=>{c!==o&&c.remove()})}}),yp(t,this.table,null),Cr(null),t.dispatchCommand(vi,void 0)):(n.selectPrevious(),n.remove(),$n().selectStart())})}}const Qb="__lexicalTableSelection",e1=l=>B2?(l||window).getSelection():null;function K2(l,t,n,e){const a=n.getRootElement();if(a===null)throw new Error("No root element.");const r=new V2(n,l.getKey()),o=n._window||window;(function(u,p){u[Qb]=p})(t,r);const s=()=>{const u=()=>{r.isSelecting=!1,o.removeEventListener("mouseup",u),o.removeEventListener("mousemove",p)},p=f=>{setTimeout(()=>{if(1&~f.buttons&&r.isSelecting)return r.isSelecting=!1,o.removeEventListener("mouseup",u),void o.removeEventListener("mousemove",p);const h=Im(f.target);h===null||r.anchorX===h.x&&r.anchorY===h.y||(f.preventDefault(),r.setFocusCellForSelection(h))},0)};return{onMouseMove:p,onMouseUp:u}};t.addEventListener("mousedown",u=>{setTimeout(()=>{if(u.button!==0||!o)return;const p=Im(u.target);p!==null&&(Cl(u),r.setAnchorCellForSelection(p));const{onMouseUp:f,onMouseMove:h}=s();r.isSelecting=!0,o.addEventListener("mouseup",f),o.addEventListener("mousemove",h)},0)});const c=u=>{u.button===0&&n.update(()=>{const p=kt(),f=u.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,u=>fd(n,u,"down",l,r),ns)),r.listenersToRemove.add(n.registerCommand(Fu,u=>fd(n,u,"up",l,r),ns)),r.listenersToRemove.add(n.registerCommand(xf,u=>fd(n,u,"backward",l,r),ns)),r.listenersToRemove.add(n.registerCommand(wf,u=>fd(n,u,"forward",l,r),ns)),r.listenersToRemove.add(n.registerCommand(Rs,u=>{const p=kt();if(dr(p)){const f=nr(p.focus.getNode(),yn);if(yn(f))return Cl(u),f.selectEnd(),!0}return!1},ns)),[hl,wa,Ki].forEach(u=>{r.listenersToRemove.add(n.registerCommand(u,(p=>()=>{const f=kt();if(!Ia(f,l))return!1;if(dr(f))return r.clearText(),!0;if(Et(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=>jt(E)),S=w&&nr(w,E=>jt(E)&&yn(E.getParent()));if(!jt(S)||!jt(w))return!1;if(p===wa&&S.getPreviousSibling()===null)return!0}return!1})(u),Uo))});const i=u=>{const p=kt();if(!Ia(p,l)){const f=p?p.getNodes():null;if(f){const h=f.find(m=>jr(m)&&m.getKey()===r.tableNodeKey);if(jr(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 u.preventDefault(),u.stopPropagation(),r.clearText(),!0;if(Et(p)){const f=nr(p.anchor.getNode(),h=>yn(h));if(!yn(f))return!1}return!1};function d(u){const p=l.getCordsFromCellNode(u,r.table);return l.getDOMCellFromCordsOrThrow(p.x,p.y,r.table)}return r.listenersToRemove.add(n.registerCommand(Gi,i,Uo)),r.listenersToRemove.add(n.registerCommand(Yi,i,Uo)),r.listenersToRemove.add(n.registerCommand(Gr,u=>{const p=kt();if(!Ia(p,l))return!1;if(dr(p))return r.formatCells(u),!0;if(Et(p)){const f=nr(p.anchor.getNode(),h=>yn(h));if(!yn(f))return!1}return!1},Uo)),r.listenersToRemove.add(n.registerCommand(gl,u=>{const p=kt();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,_]=is(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(u);const C=x.getChildren();for(let T=0;T<C.length;T++){const F=C[T];jt(F)&&!F.isInline()&&F.setFormat(u)}}return!0},Uo)),r.listenersToRemove.add(n.registerCommand(_a,u=>{const p=kt();if(!Ia(p,l))return!1;if(dr(p))return r.clearHighlight(),!1;if(Et(p)){const f=nr(p.anchor.getNode(),h=>yn(h));if(!yn(f))return!1;if(typeof u=="string"){const h=s1(n,p,l);if(h)return i1(h,l,[er(u)]),!0}}return!1},Uo)),e&&r.listenersToRemove.add(n.registerCommand(Sf,u=>{const p=kt();if(!Et(p)||!p.isCollapsed()||!Ia(p,l))return!1;const f=Rm(p.anchor.getNode());if(f===null)return!1;Cl(u);const h=l.getCordsFromCellNode(f,r.table);return n1(r,l,h.x,h.y,u.shiftKey?"backward":"forward"),!0},Uo)),r.listenersToRemove.add(n.registerCommand(gg,u=>l.isSelected(),ns)),r.listenersToRemove.add(n.registerCommand(_v,u=>{const{nodes:p,selection:f}=u,h=f.getStartEndPoints(),m=dr(f),g=Et(f)&&nr(f.anchor.getNode(),M=>yn(M))!==null&&nr(f.focus.getNode(),M=>yn(M))!==null||m;if(p.length!==1||!jr(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=>Dr(M)),x=y&&nr(y,M=>jr(M));if(!yn(b)||!Dr(y)||!jr(x))return!1;const C=y.getIndexWithinParent(),T=Math.min(x.getChildrenSize()-1,C+E-1),F=b.getIndexWithinParent(),B=Math.min(y.getChildrenSize()-1,F+S-1),D=Math.min(F,B),L=Math.min(C,T),O=Math.max(F,B),j=Math.max(C,T),P=x.getChildren();let R,N,U=0;for(let M=L;M<=j;M++){const z=P[M];if(!Dr(z))return!1;const V=w[U];if(!Dr(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===L&&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=mp();M.set(p[0].getKey(),R,N),Cr(M)}return!0},Uo)),r.listenersToRemove.add(n.registerCommand(vi,()=>{const u=kt(),p=Oa();if(Et(u)){const{anchor:f,focus:h}=u,m=f.getNode(),g=h.getNode(),_=Rm(m),v=Rm(g),w=!(!_||!l.is(_c(_))),S=!(!v||!l.is(_c(v))),E=w!==S,b=w&&S,y=u.isBackward();if(E){const x=u.clone();if(S){const[C]=is(l,v,v),T=C[0][0].cell,F=C[C.length-1].at(-1).cell;x.focus.set(y?T.getKey():F.getKey(),y?T.getChildrenSize():F.getChildrenSize(),"element")}else x.anchor.set(l.getParentOrThrow().getKey(),y?l.getIndexWithinParent()+1:l.getIndexWithinParent(),"element");Cr(x),t1(n,r)}else b&&(_.is(v)||(r.setAnchorCellForSelection(d(_)),r.setFocusCellForSelection(d(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(u&&dr(u)&&u.is(p)&&u.tableKey===l.getKey()){const f=e1(n._window);if(f&&f.anchorNode&&f.focusNode){const h=po(f.focusNode),m=h&&!l.is(_c(h)),g=po(f.anchorNode),_=g&&l.is(_c(g));if(m&&_&&f.rangeCount>0){const v=$k(f,n);v&&(v.anchor.set(l.getKey(),u.isBackward()?l.getChildrenSize():0,"element"),f.removeAllRanges(),Cr(v))}}}return u&&!u.is(p)&&(dr(u)||dr(p))&&r.tableSelection&&!r.tableSelection.is(p)?(dr(u)&&u.tableKey===r.tableNodeKey?r.updateTableTableSelection(u):!dr(u)&&dr(p)&&p.tableKey===r.tableNodeKey&&r.updateTableTableSelection(null),!1):(r.hasHijackedSelectionStyles&&!l.isSelected()?function(f,h){h.enableHighlightStyle(),Mm(h.table,m=>{const g=m.elem;m.highlighted=!1,o1(f,m),g.getAttribute("style")||g.removeAttribute("style")})}(n,r):!r.hasHijackedSelectionStyles&&l.isSelected()&&t1(n,r),!1)},Uo)),r.listenersToRemove.add(n.registerCommand(pl,()=>{const u=kt();if(!Et(u)||!u.isCollapsed()||!Ia(u,l))return!1;const p=s1(n,u,l);return!!p&&(i1(p,l),!0)},Uo)),r}function G2(l){return l[Qb]}function Im(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 dd(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 d=t[r];d===void 0&&(d=t[r]=[]),d[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 yp(l,t,n){const e=new Set(n?n.getNodes():[]);Mm(t,(a,r)=>{const o=a.elem;e.has(r)?(a.highlighted=!0,r1(l,a)):(a.highlighted=!1,o1(l,a),o.getAttribute("style")||o.removeAttribute("style"))})}function Mm(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 t1(l,t){t.disableHighlightStyle(),Mm(t.table,n=>{n.highlighted=!0,r1(l,n)})}const n1=(l,t,n,e,a)=>{const r=a==="forward";switch(a){case"backward":case"forward":return n!==(r?l.table.columns-1:0)?vp(t.getCellNodeFromCordsOrThrow(n+(r?1:-1),e,l.table),r):e!==(r?l.table.rows-1:0)?vp(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?vp(t.getCellNodeFromCordsOrThrow(n,e-1,l.table),!1):t.selectPrevious(),!0;case"down":return e!==l.table.rows-1?vp(t.getCellNodeFromCordsOrThrow(n,e+1,l.table),!0):t.selectNext(),!0;default:return!1}},Y2=(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(Et(l)||dr(l)){const n=t.isParentOf(l.anchor.getNode()),e=t.isParentOf(l.focus.getNode());return n&&e}return!1}function vp(l,t){t?l.selectStart():l.selectEnd()}const Dm="172,206,247";function r1(l,t){const n=t.elem,e=po(n);yn(e)||ir(131),e.getBackgroundColor()===null?n.style.setProperty("background-color",`rgb(${Dm})`):n.style.setProperty("background-image",`linear-gradient(to right, rgba(${Dm},0.85), rgba(${Dm},0.85))`),n.style.setProperty("caret-color","transparent")}function o1(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 Rm(l){const t=nr(l,yn);return yn(t)?t:null}function _c(l){const t=nr(l,jr);return jr(t)?t:null}function fd(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=kt();if(!Ia(r,e)){if(Et(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,u=>jt(u)&&!u.isInline());if(!i)return!1;const d=i.getPreviousSibling();return!(!d||!jr(d))&&(Cl(t),d.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(),d=e.getLastDescendant();if(!i||!d)return!1;const[u]=Ao(i),[p]=Ao(d),f=e.getCordsFromCellNode(u,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=>jt(i)&&!i.isInline());if(!s)return!1;const c=n==="down"?s.getNextSibling():s.getPreviousSibling();if(jr(c)&&a.tableNodeKey===c.getKey()){const i=c.getFirstDescendant(),d=c.getLastDescendant();if(!i||!d)return!1;const[u]=Ao(i),[p]=Ao(d),f=r.clone();return f.focus.set((n==="up"?u:p).getKey(),n==="up"?0:p.getChildrenSize(),"element"),Cr(f),!0}}}}return!1}if(Et(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 d=_c(c);if(d!==e&&d!=null){const _=l.getElementByKey(d.getKey());if(_!=null)return a.table=dd(_),fd(l,t,n,d,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||!hr(S[0]))&&!!function(E,b,y,x){return function(C,T,F){return C==="element"&&(F==="backward"?T.getPreviousSibling()===null:T.getNextSibling()===null)}(E,y,x)||function(C,T,F,B){const D=nr(F,O=>jt(O)&&!O.isInline());if(!D)return!1;const L=B==="backward"?T===0:T===F.getTextContentSize();return C==="text"&&L&&(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,F]=is(y,C,C);if(!function(D,L,O){const j=D[0][0],P=D[D.length-1][D[0].length-1],{startColumn:R,startRow:N}=L;return O==="backward"?R===j.startColumn&&N===j.startRow:R===P.startColumn&&N===P.startRow}(T,F,x))return!1;const B=function(D,L,O){const j=nr(D,R=>jt(R)&&!R.isInline());if(!j)return;const P=L==="backward"?j.getPreviousSibling():j.getNextSibling();return P&&jr(P)?P:L==="backward"?O.getPreviousSibling():O.getNextSibling()}(b,x,y);return!B||jr(B)?!1:(Cl(E),x==="backward"?B.selectEnd():B.selectStart(),!0)}(t,w,e,n)}const u=l.getElementByKey(c.__key),p=l.getElementByKey(o.key);if(p==null||u==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){Cl(t);const _=e.getCordsFromCellNode(c,a.table);if(!t.shiftKey)return n1(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),[d]=r.getNodes(),u=l.getElementByKey(d.getKey());if(!yn(c)||!yn(i)||!jr(d)||u==null)return!1;a.updateTableTableSelection(r);const p=dd(u),f=e.getCordsFromCellNode(c,p),h=e.getDOMCellFromCordsOrThrow(f.x,f.y,p);if(a.setAnchorCellForSelection(h),Cl(t),t.shiftKey){const m=e.getCordsFromCellNode(i,p);return Y2(a,d,m.x,m.y,n)}return i.selectEnd(),!0}return!1}function Cl(l){l.preventDefault(),l.stopImmediatePropagation(),l.stopPropagation()}function i1(l,t,n){const e=Cn();l==="first"?t.insertBefore(e):t.insertAfter(e),e.append(...n||[]),e.selectEnd()}function s1(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=>jr(g));if(!jr(s)||!s.is(n))return;const[c,i]=is(n,o,o),d=c[0][0],u=c[c.length-1][c[0].length-1],{startRow:p,startColumn:f}=i,h=p===d.startRow&&f===d.startColumn,m=p===u.startRow&&f===u.startColumn;return h?"first":m?"last":void 0}class ws extends Fr{static getType(){return"table"}static clone(t){return new ws(t.__key)}static importDOM(){return{table:t=>({conversion:Z2,priority:1})}}static importJSON(t){return _p()}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(!Dr(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 Z2(l){return{node:_p()}}function _p(){return Ar(new ws)}function jr(l){return l instanceof ws}function X2(l){const t=l.open!==void 0?l.open:!0;return{node:a1(t)}}class pd extends Fr{constructor(n,e){super(e);zn(this,"__open");this.__open=n}static getType(){return"collapsible-container"}static clone(n){return new pd(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:X2,priority:1})}}static importJSON(n){return a1(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 a1(l){return new pd(l)}function Q2(l){return l instanceof pd}function eT(l){return{node:l1()}}class hd extends Fr{static getType(){return"collapsible-content"}static clone(t){return new hd(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:eT,priority:2}:null}}exportDOM(){const t=document.createElement("div");return t.setAttribute("data-lexical-collapsible-content","true"),{element:t}}static importJSON(t){return l1()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"collapsible-content",version:1}}}function l1(){return new hd}function tT(l){return l instanceof hd}function nT(l){return{node:c1()}}class bp extends Fr{static getType(){return"collapsible-title"}static clone(t){return new bp(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:nT,priority:1})}}static importJSON(t){return c1()}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(!Q2(e))throw new Error("CollapsibleTitleNode expects to be child of CollapsibleContainerNode");if(e.getOpen()){const a=this.getNextSibling();if(!tT(a))throw new Error("CollapsibleTitleNode expects to have CollapsibleContentNode sibling");const r=a.getFirstChild();if(jt(r))return r;{const o=Cn();return a.append(o),o}}else{const a=Cn();return e.insertAfter(a,n),a}}}function c1(){return new bp}class gd extends no{constructor(n,e,a){super(e,a);zn(this,"__className");this.__className=n}static getType(){return"emoji"}static clone(n){return new gd(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=u1(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 u1(l,t){const n=new gd(l,t).setMode("token");return Ar(n)}let Lm=class extends Us{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 Fm(l){return l instanceof Lm}function d1({children:l,format:t,nodeKey:n,className:e}){const[a]=Sn(),[r,o,s]=mc(n),c=ge.useRef(null),i=ge.useCallback(d=>{if(r&&fr(kt())){d.preventDefault();const u=Bn(n);if(hr(u))return u.remove(),!0}return!1},[r,n]);return ge.useEffect(()=>br(a.registerCommand(gl,d=>{if(r){const u=kt();if(fr(u)){const p=Bn(n);Fm(p)&&p.setFormat(d)}else if(Et(u)){const p=u.getNodes();for(const f of p)Fm(f)?f.setFormat(d):hm(f).setFormat(d)}return!0}return!1},Yn),a.registerCommand(ya,d=>d.target===c.current&&(d.preventDefault(),d.shiftKey||s(),o(!r),!0),Yn),a.registerCommand(Yi,i,Yn),a.registerCommand(Gi,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 rT({className:l,format:t,nodeKey:n,documentID:e}){return ue.jsx(d1,{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 wp extends Lm{constructor(n,e,a){super(e,a);zn(this,"__id");this.__id=n}static getType(){return"figma"}static clone(n){return new wp(n.__id,n.__format,n.__key)}static importJSON(n){const e=oT(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(rT,{className:r,format:this.__format,nodeKey:this.getKey(),documentID:this.__id})}}function oT(l){return new wp(l)}const iT=sr.lazy(()=>Promise.resolve().then(()=>dD));function sT(l){const t=l;if(t.src.startsWith("file:///"))return null;const{alt:n,src:e,width:a,height:r}=t;return{node:bc({altText:n,height:r,src:e,width:a})}}let xp=class Bj extends Us{constructor(n,e,a,r,o,s,c,i,d){super(d);zn(this,"__src");zn(this,"__altText");zn(this,"__width");zn(this,"__height");zn(this,"__maxWidth");zn(this,"__showCaption");zn(this,"__caption");zn(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 Bj(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,d=bc({altText:e,height:a,maxWidth:o,showCaption:i,src:c,width:r}),u=d.__caption,p=u.parseEditorState(s.editorState);return p&&!p.isEmpty()&&u.setEditorState(p),d}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:sT,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(ge.Suspense,{fallback:null,children:ue.jsx(iT,{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 bc({altText:l,height:t,maxWidth:n,captionsEnabled:e,src:a,width:r,showCaption:o,caption:s,key:c}){return Ar(new xp(a,l,n,r,t,o,s,e,c))}function wc(l){return l instanceof xp}const aT=sr.lazy(()=>Promise.resolve().then(()=>SD));function lT(l){if(l instanceof HTMLImageElement){const{alt:t,src:n,width:e,height:a}=l;return{node:f1({altText:t,height:a,src:n,width:e})}}return null}let Bm=class zj extends Us{constructor(n,e,a,r,o,s,c,i){super(i);zn(this,"__src");zn(this,"__altText");zn(this,"__width");zn(this,"__height");zn(this,"__showCaption");zn(this,"__caption");zn(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 zj(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,d=f1({altText:e,height:a,position:i,showCaption:c,src:s,width:r}),u=d.__caption,p=u.parseEditorState(o.editorState);return p.isEmpty()||u.setEditorState(p),d}static importDOM(){return{img:n=>({conversion:lT,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(ge.Suspense,{fallback:null,children:ue.jsx(aT,{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 f1({altText:l,position:t,height:n,src:e,width:a,showCaption:r,caption:o,key:s}){return Ar(new Bm(e,l,t,a,n,r,o,s))}function cT(l){return l instanceof Bm}class xc extends no{static getType(){return"keyword"}static clone(t){return new xc(t.__text,t.__key)}static importJSON(t){const n=p1(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 p1(l){return new xc(l)}function uT(l){const n=window.getComputedStyle(l).getPropertyValue("grid-template-columns");return n?{node:h1(n)}:null}class Sp extends Fr{constructor(n,e){super(e);zn(this,"__templateColumns");this.__templateColumns=n}static getType(){return"layout-container"}static clone(n){return new Sp(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:uT,priority:2}:null}}static importJSON(n){return h1(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 h1(l){return new Sp(l)}class Ep extends Fr{static getType(){return"layout-item"}static clone(t){return new Ep(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 dT()}isShadowRoot(){return!0}exportJSON(){return{...super.exportJSON(),type:"layout-item",version:1}}}function dT(){return new Ep}function fT(l){const t=l.textContent;return t!==null?{node:zm(t)}:null}const pT="background-color: rgba(24, 119, 232, 0.2)";class md extends no{constructor(n,e,a){super(e??n,a);zn(this,"__mention");this.__mention=n}static getType(){return"mention"}static clone(n){return new md(n.__mention,n.__text,n.__key)}static importJSON(n){const e=zm(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=pT,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:fT,priority:1}:null}}isTextEntity(){return!0}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function zm(l){const t=new md(l);return t.setMode("segmented").toggleDirectionless(),Ar(t)}const ZD="";function hT({nodeKey:l}){const[t]=Sn(),[n,e,a]=mc(l),r=ge.useCallback(o=>{if(o.preventDefault(),n&&fr(kt())){const s=Bn(l);if(mT(s))return s.remove(),!0}return!1},[n,l]);return ge.useEffect(()=>br(t.registerCommand(ya,o=>{const s=t.getElementByKey(l);return o.target===s?(o.shiftKey||a(),e(!n),!0):!1},Yn),t.registerCommand(Yi,r,Yn),t.registerCommand(Gi,r,Yn)),[a,t,n,l,r,e]),ge.useEffect(()=>{const o=t.getElementByKey(l);o!==null&&(o.className=n?"selected":"")},[t,n,l]),null}class yd extends Us{static getType(){return"page-break"}static clone(t){return new yd(t.__key)}static importJSON(t){return g1()}static importDOM(){return{figure:t=>t.getAttribute("type")!==this.getType()?null:{conversion:gT,priority:ns}}}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(hT,{nodeKey:this.__key})}}function gT(){return{node:g1()}}function g1(){return new yd}function mT(l){return l instanceof yd}const yT=sr.lazy(()=>Promise.resolve().then(()=>kD));function vT(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function _T(l=""){return{text:l,uid:vT(),votes:[]}}function m1(l,t,n){return{text:t,uid:l.uid,votes:n||Array.from(l.votes)}}function bT(l){const t=l.getAttribute("data-lexical-poll-question"),n=l.getAttribute("data-lexical-poll-options");return t!==null&&n!==null?{node:y1(t,JSON.parse(n))}:null}let Um=class Uj extends Us{constructor(n,e,a){super(a);zn(this,"__question");zn(this,"__options");this.__question=n,this.__options=e}static getType(){return"poll"}static clone(n){return new Uj(n.__question,n.__options,n.__key)}static importJSON(n){const e=y1(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=m1(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=m1(n,n.text,o),i=Array.from(a.__options),d=i.indexOf(n);i[d]=c,a.__options=i}static importDOM(){return{span:n=>n.hasAttribute("data-lexical-poll-question")?{conversion:bT,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(ge.Suspense,{fallback:null,children:ue.jsx(yT,{question:this.__question,options:this.__options,nodeKey:this.__key})})}};function y1(l,t){return new Um(l,t)}function v1(l){return l instanceof Um}const wT="https://platform.twitter.com/widgets.js";function xT(l){const t=l.getAttribute("data-lexical-tweet-id");return t?{node:b1(t)}:null}let _1=!0;function ST({className:l,format:t,loadingComponent:n,nodeKey:e,onError:a,onLoad:r,tweetID:o}){const s=ge.useRef(null),c=ge.useRef(""),[i,d]=ge.useState(!1),u=ge.useCallback(async()=>{try{await window.twttr.widgets.createTweet(o,s.current),d(!1),_1=!1,r&&r()}catch(p){a&&a(String(p))}},[a,r,o]);return ge.useEffect(()=>{var p;if(o!==c.current){if(d(!0),_1){const f=document.createElement("script");f.src=wT,f.async=!0,(p=document.body)==null||p.appendChild(f),f.onload=u,a&&(f.onerror=a)}else u();c&&(c.current=o)}},[u,a,o]),ue.jsxs(d1,{className:l,format:t,nodeKey:e,children:[i?n:null,ue.jsx("div",{style:{display:"inline-block",width:"550px"},ref:s})]})}class Cp extends Lm{constructor(n,e,a){super(e,a);zn(this,"__id");this.__id=n}static getType(){return"tweet"}static clone(n){return new Cp(n.__id,n.__format,n.__key)}static importJSON(n){const e=b1(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:xT,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(ST,{className:r,format:this.__format,loadingComponent:"Loading...",nodeKey:this.getKey(),tweetID:this.__id})}}function b1(l){return new Cp(l)}class vd extends Us{constructor(n,e,a){super(a);zn(this,"__referencedElementId");zn(this,"__text");this.__referencedElementId=n,this.__text=e}static importDOM(){return{span:n=>n.classList.contains("reference-node")?{conversion:e=>{const a=e.getAttribute("id")||"",r=e.textContent||"";return{node:new vd(a,r)}},priority:1}:null}}static getType(){return"reference"}static clone(n){return new vd(n.__referencedElementId,n.__text,n.__key)}exportDOM(n){const e=document.createElement("span");return e.setAttribute("class","reference-node"),e.setAttribute("id",this.__referencedElementId),e.setAttribute("data-cross-ref","true"),e.setAttribute("data-lexical-node-key",this.__referencedElementId),e.textContent=this.__text,e.style.cursor="pointer",e.style.background="#f8f6e2",e.style.fontSize="17px",{element:e}}createDOM(n){const e=document.createElement("span");return e.style.cursor="pointer",e.style.background="#f8f6e2",e.style.fontSize="17px",e.setAttribute("data-lexical-node-key",this.__referencedElementId),e.setAttribute("id",this.__referencedElementId),e.setAttribute("data-cross-ref","true"),e.textContent=this.__text,e.addEventListener("click",a=>{a.preventDefault(),a.stopPropagation(),requestAnimationFrame(()=>{const r=document.querySelector(`[data-ref-id="ref-${this.__referencedElementId}"]`);r?(r.scrollIntoView({behavior:"smooth",block:"center"}),r.classList.add("reference-highlight"),setTimeout(()=>{r.classList.remove("reference-highlight")},1e3),setTimeout(()=>{if(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement)r.focus(),r.setSelectionRange(r.value.length,r.value.length);else if(r.isContentEditable){r.focus();const o=document.createRange(),s=window.getSelection();o.selectNodeContents(r),o.collapse(!1),s==null||s.removeAllRanges(),s==null||s.addRange(o)}else r.setAttribute("tabindex","-1"),r.focus()},500)):console.warn(`Referenced element with data-ref-id="ref-${this.__referencedElementId}" not found.`)})}),e}updateDOM(n,e,a){return e.textContent!==this.__text&&(e.textContent=this.__text),!1}decorate(n,e){return ue.jsx(ue.Fragment,{})}static importJSON(n){return w1(n.id,n.text)}exportJSON(){return{type:"reference",id:this.__referencedElementId,text:this.__text,version:1}}toCodoxNode(){const n=this.exportJSON();return{type:"text",text:n.text,version:n.version,codox_metadata:{type:n.type,id:n.id}}}static fromCodoxNode(n){return{type:n.codox_metadata.type,text:n.text,version:n.version,id:n.codox_metadata.id}}}function w1(l,t){return new vd(l,t)}class jl extends no{static getType(){return"dividerText"}static clone(t){return new jl(t.__text,t.__key)}constructor(t="_______________________________",n){super(t,n)}createDOM(t){const n=super.createDOM(t);return n.dataset.divider="true",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 jl(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 jl}),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 x1(){return new jl}function Hm(l){return l instanceof jl}const S1=fo();function $m(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 E1(){const[l]=Sn(),t=(a,r)=>{r(a),jt(a)&&a.getChildren().forEach(o=>t(o,r))},n=()=>{l.update(()=>{const a=$n(),r=[];t(a,s=>{qm(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 d=s.getContentKey(),u=Bn(d);if(Br(u)){const p=u.getFirstChild();if(Wt(p)){const f=p.getTextContent(),h=f.replace(/^\[[^\]]*\]/,`[${$m(i)}]`);h!==f&&p.setTextContent(h)}}})})},e=()=>{l.update(()=>{var _;const a=$n(),r=kt(),o=CT(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=>{qm(v)&&i.push(v)});const u=i.map(v=>v.getContentKey()).map(v=>Bn(v)).filter(v=>v!==null);u==null||u.forEach(v=>{v&&a.append(v)});let p=!1;if(a.getChildren().forEach(v=>{if(Br(v)){const w=v.getFirstChild();if((w&&Hm(w)||w&&Wt(w)&&w.getTextContent().includes("_______________________________"))&&(p=!0,!Hm(w)&&w.getTextContent().includes("_______________________________"))){const S=x1();w.replace(S)}}}),!p&&(u==null?void 0:u.length)>0){const v=Cn();v.append(x1()),(_=u[0])==null||_.insertBefore(v)}const f=[];if(a.getChildren().forEach(v=>{if(Br(v)){const w=v.getFirstChild();(w&&Hm(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=>{qm(v)&&h.push(v)}),h.forEach((v,w)=>{const S=w+1;v.setNumber(S);const E=v.getContentKey(),b=Bn(E);if(Br(b)){const y=b.getFirstChild();if(Wt(y)){const x=y.getTextContent(),C=x.replace(/^\[[^\]]*\]/,`[${$m(S)}]`);C!==x&&y.setTextContent(C)}}});const m=c.getTextContentSize(),g=cc();g.anchor.set(c.getKey(),m,"text"),g.focus.set(c.getKey(),m,"text"),Cr(g),setTimeout(()=>{const v=l.getElementByKey(s.getKey());v&&v.scrollIntoView({behavior:"smooth",block:"end"})},100)})};return ge.useEffect(()=>{const a=l.registerCommand(S1,()=>(e(),!0),0);return l.update(()=>{setTimeout(n,100)}),a},[l]),null}class kl extends no{constructor(n,e,a,r){super(a||`[${n}]`,r);zn(this,"__number");zn(this,"__contentKey");this.__number=n,this.__contentKey=e}static getType(){return"endnote"}static clone(n){return new kl(n.__number,n.__contentKey,n.__text,n.__key)}static importJSON(n){return new kl(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(`[${$m(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:ET,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 ET(l){var e;const t=(e=l.textContent)==null?void 0:e.match(/\[(\d+)\]/),n=t?parseInt(t[1],10):1;return{node:new kl(n)}}function CT(l,t){return new kl(l,t||"")}function qm(l){return l instanceof kl}class qs extends no{constructor(n,e,a,r){super(n,r);zn(this,"__color");zn(this,"__id");this.__color=e,this.__id=a}static getType(){return"colored"}getId(){return this.__id}static clone(n){return new qs(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 qs(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 C1=[];class Ws extends Fr{constructor(n=C1,e){super(e);zn(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){return this.__ids=this.__ids.filter(e=>e!==n),this}insertNewAfter(n,e=!0){const a=Wm(this.__ids);return this.insertAfter(a,e),a}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}}function Wm(l=C1){return Ar(new Ws(l))}function Sc(l){return l instanceof Ws}function jT(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 kT(l,t,n,e){const a=cc(),[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 d of i){if(jt(c)&&c.isParentOf(d))continue;let u=null;if(Wt(d))u=d;else{if(Sc(d))continue;(jt(d)||hr(d))&&d.isInline()&&(u=d)}if(u!==null){if(u&&u.is(s))continue;const p=u.getParent();(p==null||!p.is(s))&&(c=void 0),s=p,c===void 0&&(c=(e||Wm)([n]),u.insertBefore(c)),c.append(u)}else s=void 0,c=void 0}jt(c)&&(t?c.selectStart():c.selectEnd())}function TT(l,t){let n=l;for(;n!==null;){if(Sc(n))return n.getIDs();if(Wt(n)&&t===n.getTextContentSize()){const e=n.getNextSibling();if(Sc(e))return e.getIDs()}n=n.getParent()}return null}const j1=[Ws,cd,ld,ad,hp,vm,ws,os,Sl,dp,wm,sd,hc,Fb,Um,xp,Bm,md,gd,xc,Om,Cp,wp,pd,hd,bp,yd,Sp,Ep,vd,kl,qs,Na,jl],XD="";function Jm(...l){return l.filter(Boolean).join(" ")}function Ri({"data-test-id":l,children:t,className:n,onClick:e,disabled:a,small:r,title:o}){return ue.jsx("button",{disabled:a,className:Jm("Button__root",a&&"Button__disabled",r&&"Button__small",n),onClick:e,title:o,"aria-label":o,...l&&{"data-test-id":l},children:t})}const QD="";function jp({"data-test-id":l,children:t}){return ue.jsx("div",{className:"DialogActions","data-test-id":l,children:t})}const eR="";function Ec({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 OT=ge.createContext({cellEditorConfig:null,cellEditorPlugins:null,set:()=>{}});function k1({children:l}){const[t,n]=ge.useState({cellEditorConfig:null,cellEditorPlugins:null});return ue.jsx(OT.Provider,{value:ge.useMemo(()=>({cellEditorConfig:t.cellEditorConfig,cellEditorPlugins:t.cellEditorPlugins,set:(e,a)=>{n({cellEditorConfig:e,cellEditorPlugins:a})}}),[t.cellEditorConfig,t.cellEditorPlugins]),children:l})}function NT({activeEditor:l,onClose:t}){const[n,e]=ge.useState("5"),[a,r]=ge.useState("5"),[o,s]=ge.useState(""),[c,i]=ge.useState(!0);ge.useState(!0);let d=Number(localStorage.getItem("tableCount"))||1;ge.useEffect(()=>{const f=Number(n),h=Number(a);f&&f>0&&f<=500&&h&&h>0&&h<=50?i(!1):i(!0)},[n,a]);const u=()=>{l.update(()=>{const h=$n().getChildren().filter(jr);if(h.length===0){console.warn("No tables found in the document!");return}const m=h.map(g=>{let _=o;const v=g.getPreviousSibling();if(v&&Br(v)){const w=v.getChildren().filter(S=>S.getType()==="text");w.length>1&&(_=w[1].getTextContent())}return{caption:_,content:g.getChildren().map(w=>w.getChildren().map(S=>S.getTextContent()))}});localStorage.setItem("savedTableData",JSON.stringify(m))})},p=()=>{if(!n||!a)return;const f=d;l.update(()=>{const h=Cn();h.setFormat("left");const m=new qs(`Table ${f}:`,"black",`table_caption_${Math.random()}`);m.setStyle("font-weight: bold; margin-right: 8px;");const g=o.trim()===""?".":o,_=er(g);_.setStyle(o?"color: black; font-style: italic; font-weight: bold;":"color: gray; font-style: italic; font-weight: normal;"),h.getChildren().forEach(S=>S.remove());const v=_i();h.append(m),h.append(_),h.append(v),ts([h]);const w=Kb(Number(n),Number(a),!0);if(!w){console.error("Failed to create TableNode");return}ts([w]),console.log("Table inserted successfully!")}),l.update(()=>{const m=$n().getChildren().filter(jr);let g=1;m.forEach(_=>{const v=_.getPreviousSibling(),w=_.getNextSibling();if(w&&Br(w)&&w.getChildren().forEach(S=>{S.getTextContent().startsWith("Table")&&S.remove()}),v&&Br(v)){v.getChildren().forEach(b=>{b.getTextContent().startsWith("Table")&&b.remove()});const S=`Table ${g}:`,E=new qs(S,"black",`table_caption_${g}`);if(v){const b=v.getFirstChild();b!==null?b.insertBefore(E):v.append(E)}}else{const S=`Table ${g}:`,E=Cn();E.setFormat("left");const b=new qs(S,"black",`table_caption_${g}`);b.setStyle("font-weight: bold; margin-right: 5px;");const y=o.trim()===""?"Caption text here":o,x=er(y);x.setStyle("color: black; font-style: italic; font-weight: normal;"),E.append(b),E.append(er(" ")),E.append(x),_.insertBefore(E)}g++})}),d++,localStorage.setItem("tableCount",d.toString()),setTimeout(()=>{u()},50),t==null||t()};return ue.jsxs(ue.Fragment,{children:[ue.jsx(Ec,{placeholder:"# of rows (1-500)",label:"Rows",onChange:e,value:n,type:"number"}),ue.jsx(Ec,{placeholder:"# of columns (1-50)",label:"Columns",onChange:r,value:a,type:"number"}),ue.jsx(Ec,{placeholder:"Enter table caption",label:"Table",value:o,onChange:s}),ue.jsx(jp,{children:ue.jsx(Ri,{disabled:c,onClick:p,children:"Confirm"})})]})}const tR="",Vm={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 kp({defaultSelection:l}){const[t]=Sn();return ge.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 Km(){return $n().getTextContent()}function Gm(l,t=!0){if(l)return!1;let n=Km();return t&&(n=n.trim()),n===""}function AT(l){if(!Gm(l,!1))return!1;const t=$n().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){const a=t[e];if(hr(a))return!1;if(jt(a)){if(!Br(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 T1(l){return()=>AT(l)}function PT(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var IT=PT(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 MT(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(),d=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 u=0;for(;;){s=t(i);let p,f=s===null?"":i.slice(s.end);if(i=f,f===""){const m=d.getNextSibling();if(Wt(m)){f=d.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()){u+=s.end;continue}s.start===0?[p,d]=d.splitText(s.end):[,p,d]=d.splitText(s.start+u,s.end+u),p===void 0&&IT(165,"nodeToReplace");const h=e(p);if(h.setFormat(p.getFormat()),p.replace(h),d==null)return;u=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 d=o.getNextSibling();Wt(d)&&d.isTextEntity()&&(r(d),a(o)&&r(o))})]}function O1(l,t,n){const[e]=Sn();ge.useEffect(()=>br(...MT(e,l,t,n)),[n,e,l,t])}const DT=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 N1(){const[l]=Sn();ge.useEffect(()=>{if(!l.hasNodes([dp]))throw new Error("HashtagPlugin: HashtagNode not registered on editor")},[l]);const t=ge.useCallback(e=>Eb(e.getTextContent()),[]),n=ge.useCallback(e=>{const a=DT.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 O1(n,dp,t),null}function A1(){const[l]=Sn();return ge.useEffect(()=>{if(!l.hasNodes([ld,ad]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[l]),function(t){ge.useEffect(()=>br(t.registerCommand(Rb,()=>(Tb(t,"number"),!0),Yn),t.registerCommand(Db,()=>(Tb(t,"bullet"),!0),Yn),t.registerCommand(Lb,()=>(E2(t),!0),Yn),t.registerCommand(pl,()=>!!k2(),Yn)),[t])}(l),null}const RT=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function LT(l){return{initialValueFn:()=>l.isEditable(),subscribe:t=>l.registerEditableListener(t)}}function Ym(){return function(l){const[t]=Sn(),n=ge.useMemo(()=>l(t),[t,l]),e=ge.useRef(n.initialValueFn()),[a,r]=ge.useState(e.current);return RT(()=>{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}(LT)}function P1(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,d,u,p,f,h]=c;l.update(()=>{const m=kt();if(Et(m)){const g=m.anchor;let _=g.getNode(),v=0,w=0;if(Wt(_)&&i>=0&&d>=0&&(v=i,w=i+d,m.setTextNodeRange(_,v,_,w)),v===w&&u===""||(m.insertRawText(u),_=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 Zm(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(!D1.has(o.nodeName)){const s=R1(o,l,a,!1);s!==null&&(e=e.concat(s))}}return function(r){for(const o of r)o.getNextSibling()instanceof um&&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 I1(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=$n().getChildren();for(let a=0;a<e.length;a++)M1(l,e[a],n,t);return n.innerHTML}function M1(l,t,n,e=null){let a=e===null||t.isSelected(e);const r=jt(t)&&t.excludeFromCopy("html");let o=t;if(e!==null){let f=Q_(t);f=Wt(f)&&e!==null?eb(e,f):f,o=f}const s=jt(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:d,after:u}=i;if(!d)return!1;const p=document.createDocumentFragment();for(let f=0;f<s.length;f++){const h=s[f],m=M1(l,h,p,e);!a&&jt(t)&&m&&t.extractWithChild(h,e,"html")&&(a=!0)}if(a&&!r){if(Mi(d)&&d.append(p),n.append(d),u){const f=u.call(o,d);f&&d.replaceWith(f)}}else n.append(p);return a}const D1=new Set(["STYLE","SCRIPT"]);function R1(l,t,n,e,a=new Map,r){let o=[];if(D1.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 d=null;if(i!==null){d=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 u=l.childNodes;let p=[];const f=(s==null||!to(s))&&(s!=null&&im(s)||e);for(let h=0;h<u.length;h++)p.push(...R1(u[h],t,n,f,new Map(a),s));return d!=null&&(p=d(p)),Nk(l)&&(p=FT(l,p,f?()=>{const h=new um;return n.push(h),h}:Cn)),s==null?o=o.concat(p):jt(s)&&s.append(...p),o}function FT(l,t,n){const e=l.style.textAlign,a=[];let r=[];for(let o=0;o<t.length;o++){const s=t[o];if(im(s))e&&!s.getFormat()&&s.setFormat(e),a.push(s);else if(r.push(s),o===t.length-1||o<t.length-1&&im(t[o+1])){const c=n();c.setFormat(e),c.append(...r),a.push(c),r=[]}}return a}function BT(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Tp=BT(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 zT=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,L1=l=>zT?(l||window).getSelection():null;function F1(l){const t=kt();return t==null&&Tp(166),Et(t)&&t.isCollapsed()||t.getNodes().length===0?"":I1(l,t)}function UT(l){const t=kt();return t==null&&Tp(166),Et(t)&&t.isCollapsed()||t.getNodes().length===0?null:JSON.stringify(HT(l,t))}function B1(l,t){const n=l.getData("text/plain")||l.getData("text/uri-list");n!=null&&t.insertRawText(n)}function z1(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 U1(n,$T(o.nodes),t)}catch{}const a=l.getData("text/html");if(a)try{const o=new DOMParser().parseFromString(a,"text/html");return U1(n,Zm(n,o),t)}catch{}const r=l.getData("text/plain")||l.getData("text/uri-list");if(r!=null)if(Et(t)){const o=r.split(/(\r?\n|\t)/);o[o.length-1]===""&&o.pop();for(let s=0;s<o.length;s++){const c=kt();if(Et(c)){const i=o[s];i===`
53
53
  `||i===`\r
54
- `?c.insertParagraph():i===" "?c.insertNodes([lc()]):c.insertText(i)}}}else t.insertRawText(r)}function U1(l,t,n){l.dispatchCommand(_v,{nodes:t,selection:n})||n.insertNodes(t)}function H1(l,t,n,e=[]){let a=t===null||n.isSelected(t);const r=jt(n)&&n.excludeFromCopy("html");let o=n;if(t!==null){let i=Q_(n);i=Wt(i)&&t!==null?eb(t,i):i,o=i}const s=jt(o)?o.getChildren():[],c=function(i){const d=i.exportJSON(),u=i.constructor;if(d.type!==u.getType()&&Tp(58,u.name),jt(i)){const p=d.children;Array.isArray(p)||Tp(59,u.name)}return d}(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 d=s[i],u=H1(l,t,d,c.children);!a&&jt(n)&&u&&n.extractWithChild(d,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 d=c.children[i];e.push(d)}return a}function HT(l,t){const n=[],e=$n().getChildren();for(let a=0;a<e.length;a++)H1(l,t,e[a],n);return{namespace:l._config.namespace,nodes:n}}function $T(l){const t=[];for(let n=0;n<l.length;n++){const e=l[n],a=Vk(e);Wt(a)&&Qk(a),t.push(a)}return t}let Cc=null;async function $1(l,t){if(Cc!==null)return!1;if(t!==null)return new Promise((s,c)=>{l.update(()=>{s(q1(l,t))})});const n=l.getRootElement(),e=l._window==null?window.document:l._window.document,a=L1(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,d=>(Hs(d,ClipboardEvent)&&(i(),Cc!==null&&(window.clearTimeout(Cc),Cc=null),s(q1(l,d))),!0),Uo);Cc=window.setTimeout(()=>{i(),Cc=null,s(!1)},50),e.execCommand("copy"),r.remove()})}function q1(l,t){const n=L1(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=kt();if(r===null||o===null)return!1;const s=F1(l),c=UT(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 W1(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 jc=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,qT=jc&&"documentMode"in document?document.documentMode:null,WT=!(!jc||!("InputEvent"in window)||qT)&&"getTargetRanges"in new window.InputEvent("input"),JT=jc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),VT=jc&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,KT=jc&&/^(?=.*Chrome).*/i.test(navigator.userAgent),GT=jc&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!KT,Xm=fo();class Op extends Fr{static getType(){return"quote"}static clone(t){return new Op(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:ZT,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=J1();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 J1(){return Ar(new Op)}function YT(l){return l instanceof Op}class Np extends Fr{static getType(){return"heading"}static clone(t){return new Np(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:kc,priority:0}),h2:t=>({conversion:kc,priority:0}),h3:t=>({conversion:kc,priority:0}),h4:t=>({conversion:kc,priority:0}),h5:t=>({conversion:kc,priority:0}),h6:t=>({conversion:kc,priority:0}),p:t=>{const n=t.firstChild;return n!==null&&V1(n)?{conversion:()=>({node:null}),priority:3}:null},span:t=>V1(t)?{conversion:n=>({node:Tc("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=Tc(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?Tc(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():Tc(this.getTag());return this.getChildren().forEach(n=>t.append(n)),this.replace(t),!0}extractWithChild(){return!0}}function V1(l){return l.nodeName.toLowerCase()==="span"&&l.style.fontSize==="26pt"}function kc(l){const t=l.nodeName.toLowerCase();let n=null;return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6"||(n=Tc(t),l.style!==null&&n.setFormat(l.style.textAlign)),{node:n}}function ZT(l){const t=J1();return l.style!==null&&t.setFormat(l.style.textAlign),{node:t}}function Tc(l){return Ar(new Np(l))}function K1(l){return l instanceof Np}function Ap(l){let t=null;if(Hs(l,DragEvent)?t=l.dataTransfer:Hs(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 G1(l){const t=kt();if(!Et(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=>jt(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 Pp(l){const t=po(l);return hr(t)}function XT(l){return br(l.registerCommand(ya,t=>{const n=kt();return!!fr(n)&&(n.clear(),!0)},0),l.registerCommand(Ki,t=>{const n=kt();return!!Et(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(hl,t=>{const n=kt();return!!Et(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=kt();return!!Et(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=kt();if(typeof t=="string")n!==null&&n.insertText(t);else{if(n===null)return!1;const e=t.dataTransfer;if(e!=null)z1(e,n,l);else if(Et(n)){const a=t.data;return a&&n.insertText(a),!0}}return!0},Tn),l.registerCommand(bf,()=>{const t=kt();return!!Et(t)&&(t.removeText(),!0)},Tn),l.registerCommand(Gr,t=>{const n=kt();return!!Et(n)&&(n.formatText(t),!0)},Tn),l.registerCommand(gl,t=>{const n=kt();if(!Et(n)&&!fr(n))return!1;const e=n.getNodes();for(const a of e){const r=nr(a,o=>jt(o)&&!o.isInline());r!==null&&r.setFormat(t)}return!0},Tn),l.registerCommand(va,t=>{const n=kt();return!!Et(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(pl,()=>{const t=kt();return!!Et(t)&&(t.insertParagraph(),!0)},Tn),l.registerCommand(Yj,()=>(ts([lc()]),!0),Tn),l.registerCommand(wv,()=>G1(t=>{const n=t.getIndent();t.setIndent(n+1)}),Tn),l.registerCommand(xv,()=>G1(t=>{const n=t.getIndent();n>0&&t.setIndent(n-1)}),Tn),l.registerCommand(Fu,t=>{const n=kt();if(fr(n)&&!Pp(t.target)){const e=n.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if(Et(n)){const e=Ku(n.focus,!0);if(!t.shiftKey&&hr(e)&&!e.isIsolated()&&!e.isInline())return e.selectPrevious(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(Bu,t=>{const n=kt();if(fr(n)){const e=n.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if(Et(n)){if(function(a){const r=a.focus;return r.key==="root"&&r.offset===$n().getChildrenSize()}(n))return t.preventDefault(),!0;const e=Ku(n.focus,!1);if(!t.shiftKey&&hr(e)&&!e.isIsolated()&&!e.isInline())return e.selectNext(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(xf,t=>{const n=kt();if(fr(n)){const e=n.getNodes();if(e.length>0)return t.preventDefault(),e[0].selectPrevious(),!0}if(!Et(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=kt();if(fr(n)&&!Pp(t.target)){const a=n.getNodes();if(a.length>0)return t.preventDefault(),a[0].selectNext(0,0),!0}if(!Et(n))return!1;const e=t.shiftKey;return!!sp(n,!1)&&(t.preventDefault(),ap(n,e,!1),!0)},Tn),l.registerCommand(Gi,t=>{if(Pp(t.target))return!1;const n=kt();if(!Et(n))return!1;t.preventDefault();const{anchor:e}=n,a=e.getNode();return n.isCollapsed()&&e.offset===0&&!zo(a)&&hm(a).getIndent()>0?l.dispatchCommand(xv,void 0):l.dispatchCommand(Ki,!0)},Tn),l.registerCommand(Yi,t=>{if(Pp(t.target))return!1;const n=kt();return!!Et(n)&&(t.preventDefault(),l.dispatchCommand(Ki,!1))},Tn),l.registerCommand(Ds,t=>{const n=kt();if(!Et(n))return!1;if(t!==null){if((VT||JT||GT)&&WT)return!1;if(t.preventDefault(),t.shiftKey)return l.dispatchCommand(va,!1)}return l.dispatchCommand(pl,void 0)},Tn),l.registerCommand(Rs,()=>{const t=kt();return!!Et(t)&&(l.blur(),!0)},Tn),l.registerCommand(Ef,t=>{const[,n]=Ap(t);if(n.length>0){const a=W1(t.clientX,t.clientY);if(a!==null){const{offset:r,node:o}=a,s=po(o);if(s!==null){const c=cc();if(Wt(s))c.anchor.set(s.getKey(),r,"text"),c.focus.set(s.getKey(),r,"text");else{const d=s.getParentOrThrow().getKey(),u=s.getIndexWithinParent()+1;c.anchor.set(d,u,"element"),c.focus.set(d,u,"element")}const i=Tg(c);Cr(i)}l.dispatchCommand(Xm,n)}return t.preventDefault(),!0}const e=kt();return!!Et(e)},Tn),l.registerCommand(Xl,t=>{const[n]=Ap(t),e=kt();return!(n&&!Et(e))},Tn),l.registerCommand(hg,t=>{const[n]=Ap(t),e=kt();if(n&&!Et(e))return!1;const a=W1(t.clientX,t.clientY);if(a!==null){const r=po(a.node);hr(r)&&t.preventDefault()}return!0},Tn),l.registerCommand(Cf,()=>(Yv(),!0),Tn),l.registerCommand(zu,t=>($1(l,Hs(t,ClipboardEvent)?t:null),!0),Tn),l.registerCommand(Uu,t=>(async function(n,e){await $1(e,Hs(n,ClipboardEvent)?n:null),e.update(()=>{const a=kt();Et(a)?a.removeText():fr(a)&&a.getNodes().forEach(r=>r.remove())})}(t,l),!0),Tn),l.registerCommand(ba,t=>{const[,n,e]=Ap(t);return n.length>0&&!e?(l.dispatchCommand(Xm,n),!0):Og(t.target)?!1:kt()!==null&&(function(a,r){a.preventDefault(),r.update(()=>{const o=kt(),s=Hs(a,InputEvent)||Hs(a,KeyboardEvent)?null:a.clipboardData;s!=null&&o!==null&&z1(s,o,r)},{tag:"paste"})}(t,l),!0)},Tn))}const Qm=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Y1(l){return l.getEditorState().read(T1(l.isComposing()))}function Ip({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=Sn(),a=function(r,o){const[s,c]=ge.useState(()=>r.getDecorators());return Qm(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),ge.useEffect(()=>{c(r.getDecorators())},[r]),ge.useMemo(()=>{const i=[],d=Object.keys(s);for(let u=0;u<d.length;u++){const p=d[u],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(ge.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){Qm(()=>br(XT(r),P1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(QT,{content:t}),a]})}function QT({content:l}){const[t]=Sn(),n=function(a){const[r,o]=ge.useState(()=>Y1(a));return Qm(()=>{function s(){const c=Y1(a);o(c)}return s(),br(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=Ym();return n?typeof l=="function"?l(e):l:null}function eO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Mp=eO(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 Z1({hasCellMerge:l=!0,hasCellBackgroundColor:t=!0,hasTabHandler:n=!0}){const[e]=Sn();return ge.useEffect(()=>(e.hasNodes([ws,os,Sl])||Mp(10),br(e.registerCommand(R2,({columns:a,rows:r,includeHeaders:o})=>{const s=Kb(Number(r),Number(a),o);wl(s);const c=s.getFirstDescendant();return Wt(c)&&c.select(),!0},Tn),e.registerNodeTransform(ws,a=>{const[r]=Zb(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 d=c;d<o;++d){const u=wi(0);u.append(Cn()),i!==null?i.insertAfter(u):cb(i,u)}}}))),[e]),ge.useEffect(()=>{const a=new Map,r=s=>{const c=s.getKey(),i=e.getElementByKey(c);if(i&&!a.has(c)){const d=K2(s,i,e,n);a.set(c,d)}};e.getEditorState().read(()=>{const s=Zv(ws);for(const c of s)jr(c)&&r(c)});const o=e.registerMutationListener(ws,s=>{for(const[c,i]of s)if(i==="created")e.getEditorState().read(()=>{const d=Bn(c);jr(d)&&r(d)});else if(i==="destroyed"){const d=a.get(c);d!==void 0&&(d.removeListeners(),a.delete(c))}});return()=>{o();for(const[,s]of a)s.removeListeners()}},[e,n]),ge.useEffect(()=>{if(!l)return e.registerNodeTransform(os,a=>{if(a.getColSpan()>1||a.getRowSpan()>1){const[,,r]=Ao(a),[o]=is(r,a,a),s=o.length,c=o[0].length;let i=r.getFirstChild();Dr(i)||Mp(175);const d=[];for(let u=0;u<s;u++){u!==0&&(i=i.getNextSibling(),Dr(i)||Mp(175));let p=null;for(let f=0;f<c;f++){const h=o[u][f],m=h.cell;if(h.startRow===u&&h.startColumn===f)p=m,d.push(m);else if(m.getColSpan()>1||m.getRowSpan()>1){yn(m)||Mp(176);const g=wi(m.__headerState);p!==null?p.insertAfter(g):cb(i,g)}}}for(const u of d)u.setColSpan(1),u.setRowSpan(1)}})},[e,l]),ge.useEffect(()=>{if(!t)return e.registerNodeTransform(os,a=>{a.getBackgroundColor()!==null&&a.setBackgroundColor(null)})},[e,t,l]),null}function tO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var nO=tO(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 X1(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 Q1(l,t){for(let n=0;n<t.length;n++){const e=t[n](l);if(e)return e}return null}const rO=/[.,;\s]/;function Dp(l){return rO.test(l)}function ew(l){return Dp(l[l.length-1])}function ey(l){return Dp(l[0])}function tw(l){let t=l.getPreviousSibling();return jt(t)&&(t=t.getLastDescendant()),t===null||vs(t)||Wt(t)&&ew(t.getTextContent())}function nw(l){let t=l.getNextSibling();return jt(t)&&(t=t.getFirstDescendant()),t===null||vs(t)||Wt(t)&&ey(t.getTextContent())}function oO(l,t,n,e){return(l>0?Dp(n[l-1]):tw(e[0]))?t<n.length?Dp(n[t]):nw(e[e.length-1]):!1}function iO(l,t,n){const e=[],a=[],r=[];let o=0,s=0;const c=[...l];for(;c.length>0;){const i=c[0],d=i.getTextContent().length,u=s;s+d<=t?(e.push(i),o+=d):u>=n?r.push(i):a.push(i),s+=d,c.shift()}return[o,e,a,r]}function sO(l,t,n,e){const a=Em(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 d=kt(),u=d?d.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),u&&u===o&&(Et(d)?p.select(d.anchor.offset,d.focus.offset):fr(d)&&p.select(0,p.getTextContent().length)),o.replace(a),i}}function ty(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 Rp(l),void n(null,l.getURL())}const r=l.getTextContent(),o=Q1(r,t);if(o===null||o.text!==r||!tw(l)||!nw(l))return Rp(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 Rp(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 aO(l,t,n){ge.useEffect(()=>{l.hasNodes([sd])||nO(77);const e=(a,r)=>{n&&n(a,r)};return br(l.registerNodeTransform(no,a=>{const r=a.getParentOrThrow(),o=a.getPreviousSibling();if(gc(r)&&!r.getIsUnlinked())ty(r,t,e);else if(!Qo(r)){if(a.isSimpleText()&&(ey(a.getTextContent())||!gc(o))){const s=function(c){const i=[c];let d=c.getNextSibling();for(;d!==null&&Wt(d)&&d.isSimpleText()&&(i.push(d),!/[\s]/.test(d.getTextContent()));)d=d.getNextSibling();return i}(a);(function(c,i,d){let u=[...c];const p=u.map(g=>g.getTextContent()).join("");let f,h=p,m=0;for(;(f=Q1(h,i))&&f!==null;){const g=f.index,_=g+f.length;if(oO(m+g,m+_,p,u)){const[v,,w,S]=iO(u,m+g,m+_),E=sO(w,m+g-v,m+_-v,f);u=E?[E,...S]:S,d(f.url,null),m=0}else m+=_;h=h.substring(_)}})(s,t,e)}(function(s,c,i){const d=s.getPreviousSibling(),u=s.getNextSibling(),p=s.getTextContent();!gc(d)||d.getIsUnlinked()||ey(p)&&!/^\.[a-zA-Z0-9]{1,}/.test(p)||(d.append(s),ty(d,c,i),i(null,d.getURL())),!gc(u)||u.getIsUnlinked()||ew(p)||(Rp(u),ty(u,c,i),i(null,u.getURL()))})(a,t,e)}}),l.registerCommand(Aa,a=>{const r=kt();return a!==null||!Et(r)||r.extract().forEach(o=>{const s=o.getParent();if(gc(s))return s.setIsUnlinked(!s.getIsUnlinked()),s.markDirty(),!0}),!1},Yn))},[l,t,n])}function lO({matchers:l,onChange:t}){const[n]=Sn();return aO(n,l,t),null}const cO=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,uO=/(([^<>()[\]\\.,;:\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,}))/,dO=[X1(cO,l=>l.startsWith("http")?l:`https://${l}`),X1(uO,l=>`mailto:${l}`)];function rw(){return ue.jsx(lO,{matchers:dO})}function fO({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",pO=l=>Oc?(l||window).getSelection():null,Lp=fo();function hO({onClick:l}){const[t,n]=ge.useState(""),[e,a]=ge.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(fO,{label:"Image Upload",onChange:o,accept:"image/*","data-test-id":"image-modal-file-upload"}),ue.jsx(Ec,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:a,value:e,"data-test-id":"image-modal-alt-text-input"}),ue.jsx(jp,{children:ue.jsx(Ri,{"data-test-id":"image-modal-file-upload-btn",disabled:r,onClick:()=>l({altText:e,src:t}),children:"Confirm"})})]})}function gO({activeEditor:l,onClose:t,captionsEnabled:n}){const[e,a]=ge.useState("file"),r=ge.useRef(!1);ge.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(Lp,s),console.log("line 202 imageplugin insert image"),t()};return ue.jsx(ue.Fragment,{children:e==="file"&&ue.jsx(hO,{onClick:o})})}function mO(l,t,n){l.preventDefault();const e=l.clipboardData;if(!e)return!1;const a=e.items;if(!a||a.length===0)return!1;let r=!1,o=!1;const s=a.length>1?a[1]:a[0];let c=1;if(c===1){if(c=2,s.type==="text/html"&&!r){const i=e.getData("text/html"),u=new DOMParser().parseFromString(i,"text/html").querySelector("img");u&&u.src&&(fetch(u.src).then(p=>p.blob()).then(p=>{const f=new File([p],"pasted-image.png",{type:"image/png"});ow(f,t)}).catch(p=>console.error("Error fetching pasted image:",p)),r=!0)}else if(s.type.startsWith("image/")&&!r){const i=s.getAsFile();i&&(ow(i,t),r=!0)}else if(s.type.startsWith("text")&&!o){const i=e.getData("text/plain");yO(i,t),o=!0}}return!(!r&&!o)}function ow(l,t){const n=new FileReader;n.onload=()=>{const e=n.result,r={altText:l.name,src:e};t.update(()=>{const i=`Figure ${$n().getChildren().filter(g=>Wt(g)&&g.getTextContent().startsWith("Figure")).length+1}`,d=er(i);d.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;");const u=bc({...r,figureLabel:i}),p=Cn();p.setFormat("left");const f=_i(),m=er(".");m.setStyle("color: black; font-style: italic; font-weight: bold;"),p.append(u,f,d,m),ts([p]),to(u.getParentOrThrow())&&gm(u,Cn).selectEnd(),t.update(()=>{const _=$n().getChildren().filter(w=>Br(w));let v=1;_.forEach(w=>{const S=w.getChildren().find(b=>b.getTextContent().startsWith("Figure")),E=`Figure ${v}:`;if(S){const b=new qs(E,"black",`Image_caption_307_${Math.random()}`);S.replace(b),v++}})})})},n.readAsDataURL(l)}function yO(l,t){t.update(()=>{const r=`Text ${$n().getChildren().filter(u=>Wt(u)&&u.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(),d=er(".");d.setStyle("color: black; font-style: italic; font-weight: bold;"),s.append(c,o,d),ts([s]),t.update(()=>{const p=$n().getChildren().filter(h=>Br(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 iw({captionsEnabled:l=!0}){const[t]=Sn(),[n,e]=ge.useState("");return ge.useEffect(()=>{if(!t.hasNodes([xp]))throw new Error("ImagesPlugin: ImageNode not registered on editor");let a=0;return br(t.registerCommand(Lp,r=>{if(a+=1,l){const o=er(`Figure ${a}:`);o.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;");const s=bc({...r}),c=Cn();c.setFormat("left");const i=_i(),d=n.trim()===""?".":n,u=er(d);u.setStyle(d?"color: black; font-style: italic; font-weight: bold;":"color: gray; font-style: italic; font-weight: normal;"),c.append(s,i,o,u),ts([c]),to(s.getParentOrThrow())&&gm(s,Cn).selectEnd()}else{const o=bc(r),s=Cn();s.setFormat("left");const c=_i();s.append(o,c),ts([s]),to(o.getParentOrThrow())&&gm(o,Cn).selectEnd()}return t.update(()=>{const s=$n().getChildren().filter(i=>Br(i));let c=1;s.forEach((i,d)=>{const u=i.getChildren().find(f=>f.getTextContent().startsWith("Figure")),p=`Figure ${c}:`;if(u){const f=new qs(p,"black",`Image_caption_307_${Math.random()}`);u.replace(f),c++}})}),!0},Tn),t.registerCommand(Xl,r=>_O(r),ns),t.registerCommand(hg,r=>bO(r),Yn),t.registerCommand(Ef,r=>wO(r,t),ns),t.registerCommand(ba,r=>mO(r,t),ns))},[l,t]),null}const vO="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",sw=document.createElement("img");sw.src=vO;function _O(l){const t=ny();if(!t)return!1;const n=l.dataTransfer;return n?(n.setData("text/plain","_"),n.setDragImage(sw,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 bO(l){return ny()?(aw(l)||l.preventDefault(),!0):!1}function wO(l,t){const n=ny();if(!n)return!1;const e=xO(l);if(!e)return!1;if(l.preventDefault(),aw(l)){const a=SO(l);n.remove();const r=cc();a!=null&&r.applyDOMRange(a),Cr(r),t.dispatchCommand(Lp,e)}return!0}function ny(){const l=kt();if(!fr(l))return null;const n=l.getNodes()[0];return wc(n)?n:null}function xO(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 aw(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 SO(l){let t;const n=l.target,e=n==null?null:n.nodeType===9?n.defaultView:n.ownerDocument.defaultView,a=pO(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 lw=["image/","image/heic","image/heif","image/gif","image/webp"];function cw(){const[l]=Sn();return ge.useEffect(()=>l.registerCommand(Xm,t=>((async()=>{const n=await a2(t,[lw].flatMap(e=>e));for(const{file:e,result:a}of n)sb(e,lw)&&l.dispatchCommand(Lp,{altText:e.name,src:a})})(),!0),Yn),[l]),null}const EO=/(^|$|[^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 uw(){const[l]=Sn();ge.useEffect(()=>{if(!l.hasNodes([xc]))throw new Error("KeywordsPlugin: KeywordNode not registered on editor")},[l]);const t=ge.useCallback(e=>p1(e.getTextContent()),[]),n=ge.useCallback(e=>{const a=EO.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 O1(n,xc,t),null}function CO({validateUrl:l}){const[t]=Sn();return ge.useEffect(()=>{if(!t.hasNodes([hc]))throw new Error("LinkPlugin: LinkNode not registered on editor");return br(t.registerCommand(Aa,n=>{if(n===null)return Cm(n),!0;if(typeof n=="string")return!(l!==void 0&&!l(n))&&(Cm(n),!0);{const{url:e,target:a,rel:r,title:o}=n;return Cm(e,{rel:r,target:a,title:o}),!0}},Yn),l!==void 0?t.registerCommand(ba,n=>{const e=kt();if(!Et(e)||e.isCollapsed()||!Hs(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=>jt(o))&&(t.dispatchCommand(Aa,r),n.preventDefault(),!0)},Yn):()=>{})},[t,l]),null}const jO=new Set(["http:","https:","mailto:","sms:","tel:"]);function dw(l){try{const t=new URL(l);if(!jO.has(t.protocol))return"about:blank"}catch{return l}return l}const kO=new RegExp(/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/);function TO(l){return l==="https://"||kO.test(l)}function ry(){return ue.jsx(CO,{validateUrl:TO})}function OO(l){const t=l.getNodes();return t.length===0?new Set([l.anchor.getNode().getParentOrThrow(),l.focus.getNode().getParentOrThrow()]):new Set(t.map(n=>jt(n)?n:n.getParentOrThrow()))}function NO(l){const t=kt();if(!Et(t))return!1;const n=OO(t);let e=0;for(const a of n)if(lr(a))e=Math.max(jm(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(jm(r)+1,e)}return e<=l}function fw({maxDepth:l}){const[t]=Sn();return ge.useEffect(()=>t.registerCommand(wv,()=>!NO(l??7),Uo),[t,l]),null}const AO=1,PO=100;let pw=0,hw=!1;function IO(){window.addEventListener("keydown",l=>{l.key==="Tab"&&(pw=l.timeStamp)},!0)}function gw(){const[l]=Sn();return ge.useEffect(()=>(hw||(IO(),hw=!0),l.registerCommand(gg,t=>{const n=kt();return Et(n)&&pw+PO>t.timeStamp&&Cr(n.clone()),!1},AO)),[l]),null}const nR="";function MO({onClose:l,children:t,title:n,closeOnClickOutside:e}){const a=ge.useRef(null);return ge.useEffect(()=>{a.current!==null&&a.current.focus()},[]),ge.useEffect(()=>{let r=null;const o=i=>{i.key==="Escape"&&l()},s=i=>{const d=i.target;a.current!==null&&!a.current.contains(d)&&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 DO({onClose:l,children:t,title:n,closeOnClickOutside:e=!1}){return so.createPortal(ue.jsx(MO,{onClose:l,title:n,closeOnClickOutside:e,children:t}),document.body)}function Ma(){const[l,t]=ge.useState(null),n=ge.useCallback(()=>{t(null)},[]),e=ge.useMemo(()=>{if(l===null)return null;const{title:r,content:o,closeOnClickOutside:s}=l;return ue.jsx(DO,{onClose:n,title:r,closeOnClickOutside:s,children:o})},[l,n]),a=ge.useCallback((r,o,s=!1)=>{t({closeOnClickOutside:s,content:o(n),title:r})},[n]);return[e,a]}const rR="";let oy=!1;const RO=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000000","#4a4a4a","#9b9b9b","#ffffff"],_d=214,mw=150;function LO({color:l,onChange:t}){const[n,e]=ge.useState(Nc("hex",l)),[a,r]=ge.useState(l),o=ge.useRef(null),s=ge.useMemo(()=>({x:n.hsv.s/100*_d,y:(100-n.hsv.v)/100*mw}),[n.hsv.s,n.hsv.v]),c=ge.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)}},d=({x:p,y:f})=>{const h={...n.hsv,s:p/_d*100,v:100-f/mw*100},m=Nc("hsv",h);e(m),r(m.hex)},u=({x:p})=>{const f={...n.hsv,h:p/_d*360},h=Nc("hsv",f);e(h),r(h.hex)};return ge.useEffect(()=>{o.current!==null&&t&&(t(n.hex,oy),r(n.hex))},[n,t]),ge.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(Ec,{label:"Hex",onChange:i,value:a}),ue.jsx("div",{className:"color-picker-basic-color",children:RO.map(p=>ue.jsx("button",{className:p===n.hex?" active":"",style:{backgroundColor:p},onClick:()=>{r(p),e(Nc("hex",p))}},p))}),ue.jsx(yw,{className:"color-picker-saturation",style:{backgroundColor:`hsl(${n.hsv.h}, 100%, 50%)`},onChange:d,children:ue.jsx("div",{className:"color-picker-saturation_cursor",style:{backgroundColor:n.hex,left:s.x,top:s.y}})}),ue.jsx(yw,{className:"color-picker-hue",onChange:u,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 yw({className:l,style:t,onChange:n,children:e}){const a=ge.useRef(null),r=ge.useRef(!1),o=c=>{if(a.current){const{current:i}=a,{width:d,height:u,left:p,top:f}=i.getBoundingClientRect(),h=vw(c.clientX-p,d,0),m=vw(c.clientY-f,u,0);n({x:h,y:m})}},s=c=>{if(c.button!==0)return;o(c);const i=u=>{r.current=!0,oy=!0,o(u)},d=u=>{r.current&&(oy=!1),document.removeEventListener("mousemove",i,!1),document.removeEventListener("mouseup",d,!1),o(u),r.current=!1};document.addEventListener("mousemove",i,!1),document.addEventListener("mouseup",d,!1)};return ue.jsx("div",{ref:a,className:l,style:t,onMouseDown:s,children:e})}function vw(l,t,n){return l>t?t:l<n?n:l}function _w(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 bw(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 iy({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 FO({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),d=Math.round([s,n,n,o,r,r][c]*255);return{b:Math.round([r,r,s,n,n,o][c]*255),g:d,r:i}}function ww({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=_w("#121212"),e=bw(n),a=iy(e);return l==="hex"?(n=_w(t),e=bw(n),a=iy(e)):l==="rgb"?(e=t,n=ww(e),a=iy(e)):l==="hsv"&&(a=t,e=FO(a),n=ww(e)),{hex:n,hsv:a,rgb:e}}function BO(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 sy(l){const t=l.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function zO(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(BO(Dr(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 d=0;d<i;d++)n[r+d]===void 0&&(n[r+d]=0),n[r+d]+=s.__rowSpan;r+=i}}return(a===null||r===a)&&n.every(o=>o===n[0])}function UO(){const l=kt();if(Et(l)&&!l.isCollapsed()||dr(l)&&!l.anchor.is(l.focus)||!Et(l)&&!dr(l))return!1;const[t]=Ao(l.anchor);return t.__colSpan>1||t.__rowSpan>1}function xw(l){if(l.getChildrenSize()!==1)return!1;const t=l.getFirstChildOrThrow();return!(!Br(t)||!t.isEmpty())}function HO(l){const t=l.getLastDescendant();Wt(t)?t.select():jt(t)?t.selectEnd():t!==null&&t.selectNext()}function Sw(l){return l.getEditorState().read(()=>{const t=kt();if(Et(t)||dr(t)){const[n]=Ao(t.anchor);if(yn(n))return n.getBackgroundColor()}return null})}function $O({onClose:l,tableCellNode:t,setIsMenuOpen:n,contextRef:e,cellMerge:a,showColorPickerModal:r}){const[o]=Sn(),s=ge.useRef(null),[c,i]=ge.useState(t),[d,u]=ge.useState({columns:1,rows:1}),[p,f]=ge.useState(!1),[h,m]=ge.useState(!1),[g,_]=ge.useState(()=>Sw(o)||"");ge.useEffect(()=>o.registerMutationListener(os,L=>{L.get(c.getKey())==="updated"&&(o.getEditorState().read(()=>{i(c.getLatest())}),_(Sw(o)||""))}),[o,c]),ge.useEffect(()=>{o.getEditorState().read(()=>{const L=kt();if(dr(L)){const O=sy(L);u(sy(L)),f(zO(L)&&(O.columns>1||O.rows>1))}m(UO())})},[o]),ge.useEffect(()=>{const L=e.current,O=s.current,j=o.getRootElement();if(L!=null&&O!=null&&j!=null){const P=j.getBoundingClientRect(),R=L.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]),ge.useEffect(()=>{function L(O){s.current!=null&&e.current!=null&&!s.current.contains(O.target)&&!e.current.contains(O.target)&&n(!1)}return window.addEventListener("click",L),()=>window.removeEventListener("click",L)},[n,e]);const v=ge.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=G2(j);P!==null&&P.clearHighlight(),O.markDirty(),i(c.getLatest())}$n().selectStart()})},[o,c]),w=()=>{o.update(()=>{const L=kt();if(dr(L)){const{columns:O,rows:j}=sy(L),P=L.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=xw(U);let z;M&&Br(z=U.getFirstChild())&&z.remove()}else yn(R)&&(xw(U)||R.append(...U.getChildren()),U.remove())}R!==null&&(R.getChildrenSize()===0&&R.append(Cn()),HO(R)),l()}})},S=()=>{o.update(()=>{W2()})},E=ge.useCallback(L=>{o.update(()=>{U2(L),l()})},[o,l]),b=ge.useCallback(L=>{o.update(()=>{for(let O=0;O<d.columns;O++)H2(L);l()})},[o,l,d.columns]),y=ge.useCallback(()=>{o.update(()=>{$2(),l()})},[o,l]),x=ge.useCallback(()=>{o.update(()=>{Pa(c).remove(),v(),l()})},[o,c,v,l]),C=ge.useCallback(()=>{o.update(()=>{q2(),l()})},[o,l]),T=ge.useCallback(()=>{o.update(()=>{const L=Pa(c),O=Yb(c),j=L.getChildren();if(O>=j.length||O<0)throw new Error("Expected table cell to be inside of table row.");const P=j[O];if(!Dr(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]),F=ge.useCallback(()=>{o.update(()=>{const L=Pa(c),O=Nm(c),j=L.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(!Dr(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=ge.useCallback(L=>{o.update(()=>{const O=kt();if(Et(O)||dr(O)){const[j]=Ao(O.anchor);if(yn(j)&&j.setBackgroundColor(L),dr(O)){const P=O.getNodes();for(let R=0;R<P.length;R++){const N=P[R];yn(N)&&N.setBackgroundColor(L)}}}})},[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:L=>{L.stopPropagation()},children:[D,ue.jsx("button",{type:"button",className:"item",onClick:()=>r("Cell background color",()=>ue.jsx(LO,{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"," ",d.rows===1?"row":`${d.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"," ",d.rows===1?"row":`${d.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"," ",d.columns===1?"column":`${d.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"," ",d.columns===1?"column":`${d.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:()=>F(),"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 qO({anchorElem:l,cellMerge:t}){const[n]=Sn(),e=ge.useRef(null),a=ge.useRef(null),[r,o]=ge.useState(!1),[s,c]=ge.useState(null),[i,d]=Ma(),u=ge.useCallback(()=>{const f=e.current,h=kt(),m=window.getSelection(),g=document.activeElement;if(h==null||f==null){c(null);return}const _=n.getRootElement();if(Et(h)&&_!==null&&m!==null&&_.contains(m.anchorNode)){const v=z2(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]);ge.useEffect(()=>n.registerUpdateListener(()=>{n.getEditorState().read(()=>{u()})})),ge.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=ge.useRef(s);return ge.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($O,{contextRef:a,setIsMenuOpen:o,onClose:()=>o(!1),tableCellNode:s,cellMerge:t,showColorPickerModal:d})]})})}function Ew({anchorElem:l=document.body,cellMerge:t=!1}){const n=Ym();return so.createPortal(n?ue.jsx(qO,{anchorElem:l,cellMerge:t}):null,l)}const oR="",WO=33,JO=50;function VO({editor:l}){const t=ge.useRef(null),n=ge.useRef(null),e=ge.useRef(null),a=ge.useRef(null),[r,o]=ge.useState(null),[s,c]=ge.useState(null),[i,d]=ge.useState(!1),[u,p]=ge.useState(null);ge.useEffect(()=>l.registerCommand(vi,E=>{const b=kt(),y=dr(b);return i!==y&&d(y),!1},ns));const f=ge.useCallback(()=>{c(null),t.current=null,p(null),a.current=null,e.current=null},[]);ge.useEffect(()=>{const E=b=>{setTimeout(()=>{const y=b.target;if(u){o({x:b.clientX,y:b.clientY});return}if(!(n.current&&n.current.contains(y))&&t.current!==y){t.current=y;const x=Im(y);x&&s!==x?l.update(()=>{const C=po(x.elem);if(!C)return;const T=Pa(C),F=l.getElementByKey(T.getKey());if(!F){console.error("TableCellResizer: Table element not found.");return}t.current=y,e.current=F.getBoundingClientRect(),c(x)}):x==null&&f()}},0)};return document.addEventListener("mousemove",E),()=>{document.removeEventListener("mousemove",E)}},[s,u,l,f]);const h=E=>E==="bottom",m=ge.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=Yb(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(!Dr(T)){console.error("Expected table row");return}T.setHeight(E)})},[s,l]),g=ge.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=Nm(b),C=y.getChildren();for(let T=0;T<C.length;T++){const F=C[T];if(!Dr(F)){console.error("Expected table row");return}const B=F.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]),_=ge.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,F=Math.abs(y.clientY-C),B=E==="bottom"&&C>y.clientY;m(Math.max(B?T-F:F+T,WO))}else{const T=getComputedStyle(s.elem);let F=s.elem.clientWidth;F-=parseFloat(T.paddingLeft)+parseFloat(T.paddingRight);const B=Math.abs(y.clientX-x),D=E==="right"&&x>y.clientX;g(Math.max(D?F-B:B+F,JO))}f(),document.removeEventListener("mouseup",b)}};return b},[s,f,g,m]),v=ge.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=ge.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 u&&r&&T&&(h(u)?(C[u].left=`${window.pageXOffset+T.left}px`,C[u].top=`${window.pageYOffset+r.y}px`,C[u].height="3px",C[u].width=`${T.width}px`):(C[u].top=`${window.pageYOffset+T.top}px`,C[u].left=`${window.pageXOffset+r.x}px`,C[u].width="3px",C[u].height=`${T.height}px`),C[u].backgroundColor="#adf"),C}return{bottom:null,left:null,right:null,top:null}},[s,u,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 Cw({isEditable:l=!0}){const[t]=Sn();return ge.useMemo(()=>l?so.createPortal(ue.jsx(VO,{editor:t}),document.body):null,[t,l])}const jw=sr.createContext(null),kw=4;function bo({children:l,className:t,onClick:n,title:e}){const a=ge.useRef(null),r=sr.useContext(jw);if(r===null)throw new Error("DropDownItem must be used within a DropDown");const{registerItem:o}=r;return ge.useEffect(()=>{a&&a.current&&o(a)},[a,o]),ue.jsx("button",{className:t,onClick:n,ref:a,title:e,type:"button",children:l})}function KO({children:l,dropDownRef:t,onClose:n}){const[e,a]=ge.useState(),[r,o]=ge.useState(),s=ge.useCallback(d=>{a(u=>u?[...u,d]:[d])},[a]),c=d=>{if(!e)return;const u=d.key;["Escape","ArrowUp","ArrowDown","Tab"].includes(u)&&d.preventDefault(),u==="Escape"||u==="Tab"?n():u==="ArrowUp"?o(p=>{if(!p)return e[0];const f=e.indexOf(p)-1;return e[f===-1?e.length-1:f]}):u==="ArrowDown"&&o(p=>p?e[e.indexOf(p)+1]:e[0])},i=ge.useMemo(()=>({registerItem:s}),[s]);return ge.useEffect(()=>{e&&!r&&o(e[0]),r&&r.current&&r.current.focus()},[e,r]),ue.jsx(jw.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=ge.useRef(null),c=ge.useRef(null),[i,d]=ge.useState(!1),u=()=>{d(!1),c&&c.current&&c.current.focus()};return ge.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+kw}px`,f.style.left=`${Math.min(m,window.innerWidth-f.offsetWidth-20)}px`}},[s,c,i]),ge.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)||d(!1)};return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}},[s,c,i,o]),ge.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+kw;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:()=>d(!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(KO,{dropDownRef:s,onClose:u,children:r}),document.body)]})}function Tw(l){const t=l.anchor,n=l.focus,e=l.anchor.getNode(),a=l.focus.getNode();return e===a?e:l.isBackward()?tb(n)?e:a:tb(t)?e:a}const Ow=8,Nw=72,Da={h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",paragraph:"Normal"},GO=({selectionFontSize:l,disabled:t,editor:n,blockType:e,styleConfig:a,isenterPressed:r,currentElementClick:o,currentElementSelect:s})=>{const[c,i]=sr.useState(l),[d,u]=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=kt();E&&fm(E,S)}})},g=S=>{i(S.target.value)},_=()=>{const S=Number(c);if(!isNaN(S)){const E=Math.min(Math.max(S,Ow),Nw);i(String(E)),m({"font-size":`${E}px`})}},v=S=>{var b,y,x,C,T;f(S),n.update(()=>{const F=kt();Et(F)&&t2(F,()=>vc(S))});let E=null;if(h)switch(S){case"h1":E=((b=h.find(F=>F.title==="Heading1"))==null?void 0:b.fontSize)??56;break;case"h2":E=((y=h.find(F=>F.title==="Heading2"))==null?void 0:y.fontSize)??14;break;case"h3":E=((x=h.find(F=>F.title==="Heading3"))==null?void 0:x.fontSize)??12;break;case"h4":E=((C=h.find(F=>F.title==="Heading4"))==null?void 0:C.fontSize)??12;break;case"h5":E=((T=h.find(F=>F.title==="Heading5"))==null?void 0:T.fontSize)??12;break;case"paragraph":E=11;break;default:E=11}i(E),f(S),u(S)},w=()=>{i("11")};return sr.useEffect(()=>{w()},[r]),sr.useEffect(()=>{const S=()=>{n.update(()=>{const E=kt();if(E!==null){const y=E.getNodes()[0];if(!Wt(y)){const x=y.getType();x in Da&&u(x)}}})};return n.registerUpdateListener(S),()=>{n.registerUpdateListener(S)}},[n]),sr.useEffect(()=>{var S,E,b,y,x;switch(o.tagName){case"P":u("paragraph"),i("11");break;case"H1":u("h1");const C=((S=a.heading.find(L=>L.title==="Heading1"))==null?void 0:S.fontSize)??"16";i(C);break;case"H2":u("h2");const T=((E=a.heading.find(L=>L.title==="Heading2"))==null?void 0:E.fontSize)??"14";i(T);break;case"H3":u("h3");const F=((b=a.heading.find(L=>L.title==="Heading3"))==null?void 0:b.fontSize)??"12";i(F);break;case"H4":u("h4");const B=((y=a.heading.find(L=>L.title==="Heading4"))==null?void 0:y.fontSize)??"12";i(B);break;case"H5":u("h5");const D=((x=a.heading.find(L=>L.title==="Heading5"))==null?void 0:x.fontSize)??"12";i(D);break;default:u("paragraph"),i("11");break}},[o]),sr.useEffect(()=>{var E,b,y,x,C;if(!s){i("11"),u("paragraph");return}switch(s.trim()){case"P":i("11"),u("paragraph");break;case"h1":u("h1");const T=((E=a.heading.find(O=>O.title==="Heading1"))==null?void 0:E.fontSize)??"16";i(T);break;case"h2":u("h2");const F=((b=a.heading.find(O=>O.title==="Heading2"))==null?void 0:b.fontSize)??"14";i(F);break;case"h3":u("h3");const B=((y=a.heading.find(O=>O.title==="Heading3"))==null?void 0:y.fontSize)??"12";i(B);break;case"h4":u("h4");const D=((x=a.heading.find(O=>O.title==="Heading4"))==null?void 0:x.fontSize)??"12";i(D);break;case"h5":u("h5");const L=((C=a.heading.find(O=>O.title==="Heading5"))==null?void 0:C.fontSize)??"12";i(L);break;default:u("paragraph"),i("11");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 "+d,buttonLabel:Da[d],children:[ue.jsxs(bo,{className:`item ${d==="paragraph"?"active":""}`,onClick:()=>v("paragraph"),children:[ue.jsx("i",{className:"icon paragraph"}),ue.jsx("span",{className:"text",children:Da.paragraph})]}),a.heading&&a.heading.find(S=>S.title==="Heading1")&&ue.jsxs(bo,{className:`item ${d==="h1"?"active":""}`,onClick:()=>v("h1"),children:[ue.jsx("i",{className:"icon h1"}),ue.jsx("span",{className:"text",children:Da.h1})]}),a.heading&&a.heading.find(S=>S.title==="Heading2")&&ue.jsxs(bo,{className:`item ${d==="h2"?"active":""}`,onClick:()=>v("h2"),children:[ue.jsx("i",{className:"icon h2"}),ue.jsx("span",{className:"text",children:Da.h2})]}),a.heading&&a.heading.find(S=>S.title==="Heading3")&&ue.jsxs(bo,{className:`item ${d==="h3"?"active":""}`,onClick:()=>v("h3"),children:[ue.jsx("i",{className:"icon h3"}),ue.jsx("span",{className:"text",children:Da.h3})]}),a.heading&&a.heading.find(S=>S.title==="Heading4")&&ue.jsxs(bo,{className:`item ${d==="h4"?"active":""}`,onClick:()=>v("h4"),children:[ue.jsx("i",{className:"icon h4"}),ue.jsx("span",{className:"text",children:Da.h4})]}),a.heading&&a.heading.find(S=>S.title==="Heading5")&&ue.jsxs(bo,{className:`item ${d==="h5"?"active":""}`,onClick:()=>v("h5"),children:[ue.jsx("i",{className:"icon h5"}),ue.jsx("span",{className:"text",children:Da.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:Ow,max:Nw,onChange:g,onBlur:_})]})},YO=Oc&&"documentMode"in document?document.documentMode:null,Ra=Oc&&/Mac|iPod|iPhone|iPad/.test(navigator.platform);Oc&&"InputEvent"in window&&!YO&&"getTargetRanges"in new window.InputEvent("input");const ZO="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xMi41NTM1IDE2LjUwNjFDMTIuNDExNCAxNi42NjE1IDEyLjIxMDYgMTYuNzUgMTIgMTYuNzVDMTEuNzg5NCAxNi43NSAxMS41ODg2IDE2LjY2MTUgMTEuNDQ2NSAxNi41MDYxTDcuNDQ2NDggMTIuMTMxMUM3LjE2Njk4IDExLjgyNTQgNy4xODgyMiAxMS4zNTEgNy40OTM5MiAxMS4wNzE1QzcuNzk5NjMgMTAuNzkyIDguMjc0MDIgMTAuODEzMiA4LjU1MzUyIDExLjExODlMMTEuMjUgMTQuMDY4MlYzQzExLjI1IDIuNTg1NzkgMTEuNTg1OCAyLjI1IDEyIDIuMjVDMTIuNDE0MiAyLjI1IDEyLjc1IDIuNTg1NzkgMTIuNzUgM1YxNC4wNjgyTDE1LjQ0NjUgMTEuMTE4OUMxNS43MjYgMTAuODEzMiAxNi4yMDA0IDEwLjc5MiAxNi41MDYxIDExLjA3MTVDMTYuODExOCAxMS4zNTEgMTYuODMzIDExLjgyNTQgMTYuNTUzNSAxMi4xMzExTDEyLjU1MzUgMTYuNTA2MVoiIGZpbGw9IiMxQzI3NEMiLz4NCjxwYXRoIGQ9Ik0zLjc1IDE1QzMuNzUgMTQuNTg1OCAzLjQxNDIyIDE0LjI1IDMgMTQuMjVDMi41ODU3OSAxNC4yNSAyLjI1IDE0LjU4NTggMi4yNSAxNVYxNS4wNTQ5QzIuMjQ5OTggMTYuNDIyNSAyLjI0OTk2IDE3LjUyNDggMi4zNjY1MiAxOC4zOTE4QzIuNDg3NTQgMTkuMjkxOSAyLjc0NjQzIDIwLjA0OTcgMy4zNDgzNSAyMC42NTE2QzMuOTUwMjcgMjEuMjUzNiA0LjcwODE0IDIxLjUxMjUgNS42MDgyNSAyMS42MzM1QzYuNDc1MjIgMjEuNzUgNy41Nzc1NCAyMS43NSA4Ljk0NTEzIDIxLjc1SDE1LjA1NDlDMTYuNDIyNSAyMS43NSAxNy41MjQ4IDIxLjc1IDE4LjM5MTggMjEuNjMzNUMxOS4yOTE5IDIxLjUxMjUgMjAuMDQ5NyAyMS4yNTM2IDIwLjY1MTcgMjAuNjUxNkMyMS4yNTM2IDIwLjA0OTcgMjEuNTEyNSAxOS4yOTE5IDIxLjYzMzUgMTguMzkxOEMyMS43NSAxNy41MjQ4IDIxLjc1IDE2LjQyMjUgMjEuNzUgMTUuMDU0OVYxNUMyMS43NSAxNC41ODU4IDIxLjQxNDIgMTQuMjUgMjEgMTQuMjVDMjAuNTg1OCAxNC4yNSAyMC4yNSAxNC41ODU4IDIwLjI1IDE1QzIwLjI1IDE2LjQzNTQgMjAuMjQ4NCAxNy40MzY1IDIwLjE0NjkgMTguMTkxOUMyMC4wNDgyIDE4LjkyNTcgMTkuODY3OCAxOS4zMTQyIDE5LjU5MSAxOS41OTFDMTkuMzE0MiAxOS44Njc4IDE4LjkyNTcgMjAuMDQ4MiAxOC4xOTE5IDIwLjE0NjlDMTcuNDM2NSAyMC4yNDg0IDE2LjQzNTQgMjAuMjUgMTUgMjAuMjVIOUM3LjU2NDU5IDIwLjI1IDYuNTYzNDcgMjAuMjQ4NCA1LjgwODEyIDIwLjE0NjlDNS4wNzQzNSAyMC4wNDgyIDQuNjg1NzcgMTkuODY3OCA0LjQwOTAxIDE5LjU5MUM0LjEzMjI1IDE5LjMxNDIgMy45NTE4IDE4LjkyNTcgMy44NTMxNSAxOC4xOTE5QzMuNzUxNTkgMTcuNDM2NSAzLjc1IDE2LjQzNTQgMy43NSAxNVoiIGZpbGw9IiMxQzI3NEMiLz4NCjwvc3ZnPg==";var Aw={exports:{}};(function(l,t){(function(n,e){e()})(ma,function(){function n(i,d){return typeof d>"u"?d={autoBom:!1}:typeof d!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),d={autoBom:!d}),d.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,d,u){var p=new XMLHttpRequest;p.open("GET",i),p.responseType="blob",p.onload=function(){c(p.response,d,u)},p.onerror=function(){console.error("could not download file")},p.send()}function a(i){var d=new XMLHttpRequest;d.open("HEAD",i,!1);try{d.send()}catch{}return 200<=d.status&&299>=d.status}function r(i){try{i.dispatchEvent(new MouseEvent("click"))}catch{var d=document.createEvent("MouseEvents");d.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),i.dispatchEvent(d)}}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,d,u){var p=o.URL||o.webkitURL,f=document.createElement("a");d=d||i.name||"download",f.download=d,f.rel="noopener",typeof i=="string"?(f.href=i,f.origin===location.origin?r(f):a(f.href)?e(i,d,u):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,d,u){if(d=d||i.name||"download",typeof i!="string")navigator.msSaveOrOpenBlob(n(i,u),d);else if(a(i))e(i,d,u);else{var p=document.createElement("a");p.href=i,p.target="_blank",setTimeout(function(){r(p)})}}:function(i,d,u,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof i=="string")return e(i,d,u);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})})(Aw);var XO=Aw.exports;function QO(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 eN(l){const t=document.createElement("div");t.innerHTML=l;const n=t.querySelectorAll(".PlaygroundEditorTheme__table");return n.length===0?l:(n.forEach(e=>{e.style.width="100%",e.style.border="1px solid black",e.querySelectorAll("tr").forEach(r=>{r.style.border="1px solid black";const o=r.querySelectorAll("td, th"),c=100/o.length+"%";o.forEach(i=>{i.style.width=c,i.style.height="20px",i.style.border="1px solid black",i.innerHTML.trim()||(i.style.width=c,i.style.height="20px",i.innerHTML="&nbsp;");const d=i.querySelectorAll(".PlaygroundEditorTheme__textUnderline"),u=i.querySelectorAll(".PlaygroundEditorTheme__textStrikethrough");d.forEach(p=>{p.style.textDecoration="underline"}),u.forEach(p=>{p.style.textDecoration="line-through"}),i.classList.contains("PlaygroundEditorTheme__tableCellHeader")&&(i.style.fontWeight="bold")})})}),t.innerHTML)}function Pw(l){return l=l.replace(/<br\s*\/?>/g,""),l.includes("Crop")&&(l=l.replace(/Crop/g,"")),l}var Iw={exports:{}};/*!
54
+ `?c.insertParagraph():i===" "?c.insertNodes([lc()]):c.insertText(i)}}}else t.insertRawText(r)}function U1(l,t,n){l.dispatchCommand(_v,{nodes:t,selection:n})||n.insertNodes(t)}function H1(l,t,n,e=[]){let a=t===null||n.isSelected(t);const r=jt(n)&&n.excludeFromCopy("html");let o=n;if(t!==null){let i=Q_(n);i=Wt(i)&&t!==null?eb(t,i):i,o=i}const s=jt(o)?o.getChildren():[],c=function(i){const d=i.exportJSON(),u=i.constructor;if(d.type!==u.getType()&&Tp(58,u.name),jt(i)){const p=d.children;Array.isArray(p)||Tp(59,u.name)}return d}(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 d=s[i],u=H1(l,t,d,c.children);!a&&jt(n)&&u&&n.extractWithChild(d,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 d=c.children[i];e.push(d)}return a}function HT(l,t){const n=[],e=$n().getChildren();for(let a=0;a<e.length;a++)H1(l,t,e[a],n);return{namespace:l._config.namespace,nodes:n}}function $T(l){const t=[];for(let n=0;n<l.length;n++){const e=l[n],a=Vk(e);Wt(a)&&Qk(a),t.push(a)}return t}let Cc=null;async function $1(l,t){if(Cc!==null)return!1;if(t!==null)return new Promise((s,c)=>{l.update(()=>{s(q1(l,t))})});const n=l.getRootElement(),e=l._window==null?window.document:l._window.document,a=L1(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,d=>(Hs(d,ClipboardEvent)&&(i(),Cc!==null&&(window.clearTimeout(Cc),Cc=null),s(q1(l,d))),!0),Uo);Cc=window.setTimeout(()=>{i(),Cc=null,s(!1)},50),e.execCommand("copy"),r.remove()})}function q1(l,t){const n=L1(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=kt();if(r===null||o===null)return!1;const s=F1(l),c=UT(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 W1(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 jc=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,qT=jc&&"documentMode"in document?document.documentMode:null,WT=!(!jc||!("InputEvent"in window)||qT)&&"getTargetRanges"in new window.InputEvent("input"),JT=jc&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),VT=jc&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,KT=jc&&/^(?=.*Chrome).*/i.test(navigator.userAgent),GT=jc&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!KT,Xm=fo();class Op extends Fr{static getType(){return"quote"}static clone(t){return new Op(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:ZT,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=J1();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 J1(){return Ar(new Op)}function YT(l){return l instanceof Op}class Np extends Fr{static getType(){return"heading"}static clone(t){return new Np(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:kc,priority:0}),h2:t=>({conversion:kc,priority:0}),h3:t=>({conversion:kc,priority:0}),h4:t=>({conversion:kc,priority:0}),h5:t=>({conversion:kc,priority:0}),h6:t=>({conversion:kc,priority:0}),p:t=>{const n=t.firstChild;return n!==null&&V1(n)?{conversion:()=>({node:null}),priority:3}:null},span:t=>V1(t)?{conversion:n=>({node:Tc("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=Tc(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?Tc(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():Tc(this.getTag());return this.getChildren().forEach(n=>t.append(n)),this.replace(t),!0}extractWithChild(){return!0}}function V1(l){return l.nodeName.toLowerCase()==="span"&&l.style.fontSize==="26pt"}function kc(l){const t=l.nodeName.toLowerCase();let n=null;return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6"||(n=Tc(t),l.style!==null&&n.setFormat(l.style.textAlign)),{node:n}}function ZT(l){const t=J1();return l.style!==null&&t.setFormat(l.style.textAlign),{node:t}}function Tc(l){return Ar(new Np(l))}function K1(l){return l instanceof Np}function Ap(l){let t=null;if(Hs(l,DragEvent)?t=l.dataTransfer:Hs(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 G1(l){const t=kt();if(!Et(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=>jt(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 Pp(l){const t=po(l);return hr(t)}function XT(l){return br(l.registerCommand(ya,t=>{const n=kt();return!!fr(n)&&(n.clear(),!0)},0),l.registerCommand(Ki,t=>{const n=kt();return!!Et(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(hl,t=>{const n=kt();return!!Et(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=kt();return!!Et(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=kt();if(typeof t=="string")n!==null&&n.insertText(t);else{if(n===null)return!1;const e=t.dataTransfer;if(e!=null)z1(e,n,l);else if(Et(n)){const a=t.data;return a&&n.insertText(a),!0}}return!0},Tn),l.registerCommand(bf,()=>{const t=kt();return!!Et(t)&&(t.removeText(),!0)},Tn),l.registerCommand(Gr,t=>{const n=kt();return!!Et(n)&&(n.formatText(t),!0)},Tn),l.registerCommand(gl,t=>{const n=kt();if(!Et(n)&&!fr(n))return!1;const e=n.getNodes();for(const a of e){const r=nr(a,o=>jt(o)&&!o.isInline());r!==null&&r.setFormat(t)}return!0},Tn),l.registerCommand(va,t=>{const n=kt();return!!Et(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(pl,()=>{const t=kt();return!!Et(t)&&(t.insertParagraph(),!0)},Tn),l.registerCommand(Yj,()=>(ts([lc()]),!0),Tn),l.registerCommand(wv,()=>G1(t=>{const n=t.getIndent();t.setIndent(n+1)}),Tn),l.registerCommand(xv,()=>G1(t=>{const n=t.getIndent();n>0&&t.setIndent(n-1)}),Tn),l.registerCommand(Fu,t=>{const n=kt();if(fr(n)&&!Pp(t.target)){const e=n.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if(Et(n)){const e=Ku(n.focus,!0);if(!t.shiftKey&&hr(e)&&!e.isIsolated()&&!e.isInline())return e.selectPrevious(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(Bu,t=>{const n=kt();if(fr(n)){const e=n.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if(Et(n)){if(function(a){const r=a.focus;return r.key==="root"&&r.offset===$n().getChildrenSize()}(n))return t.preventDefault(),!0;const e=Ku(n.focus,!1);if(!t.shiftKey&&hr(e)&&!e.isIsolated()&&!e.isInline())return e.selectNext(),t.preventDefault(),!0}return!1},Tn),l.registerCommand(xf,t=>{const n=kt();if(fr(n)){const e=n.getNodes();if(e.length>0)return t.preventDefault(),e[0].selectPrevious(),!0}if(!Et(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=kt();if(fr(n)&&!Pp(t.target)){const a=n.getNodes();if(a.length>0)return t.preventDefault(),a[0].selectNext(0,0),!0}if(!Et(n))return!1;const e=t.shiftKey;return!!sp(n,!1)&&(t.preventDefault(),ap(n,e,!1),!0)},Tn),l.registerCommand(Gi,t=>{if(Pp(t.target))return!1;const n=kt();if(!Et(n))return!1;t.preventDefault();const{anchor:e}=n,a=e.getNode();return n.isCollapsed()&&e.offset===0&&!zo(a)&&hm(a).getIndent()>0?l.dispatchCommand(xv,void 0):l.dispatchCommand(Ki,!0)},Tn),l.registerCommand(Yi,t=>{if(Pp(t.target))return!1;const n=kt();return!!Et(n)&&(t.preventDefault(),l.dispatchCommand(Ki,!1))},Tn),l.registerCommand(Ds,t=>{const n=kt();if(!Et(n))return!1;if(t!==null){if((VT||JT||GT)&&WT)return!1;if(t.preventDefault(),t.shiftKey)return l.dispatchCommand(va,!1)}return l.dispatchCommand(pl,void 0)},Tn),l.registerCommand(Rs,()=>{const t=kt();return!!Et(t)&&(l.blur(),!0)},Tn),l.registerCommand(Ef,t=>{const[,n]=Ap(t);if(n.length>0){const a=W1(t.clientX,t.clientY);if(a!==null){const{offset:r,node:o}=a,s=po(o);if(s!==null){const c=cc();if(Wt(s))c.anchor.set(s.getKey(),r,"text"),c.focus.set(s.getKey(),r,"text");else{const d=s.getParentOrThrow().getKey(),u=s.getIndexWithinParent()+1;c.anchor.set(d,u,"element"),c.focus.set(d,u,"element")}const i=Tg(c);Cr(i)}l.dispatchCommand(Xm,n)}return t.preventDefault(),!0}const e=kt();return!!Et(e)},Tn),l.registerCommand(Xl,t=>{const[n]=Ap(t),e=kt();return!(n&&!Et(e))},Tn),l.registerCommand(hg,t=>{const[n]=Ap(t),e=kt();if(n&&!Et(e))return!1;const a=W1(t.clientX,t.clientY);if(a!==null){const r=po(a.node);hr(r)&&t.preventDefault()}return!0},Tn),l.registerCommand(Cf,()=>(Yv(),!0),Tn),l.registerCommand(zu,t=>($1(l,Hs(t,ClipboardEvent)?t:null),!0),Tn),l.registerCommand(Uu,t=>(async function(n,e){await $1(e,Hs(n,ClipboardEvent)?n:null),e.update(()=>{const a=kt();Et(a)?a.removeText():fr(a)&&a.getNodes().forEach(r=>r.remove())})}(t,l),!0),Tn),l.registerCommand(ba,t=>{const[,n,e]=Ap(t);return n.length>0&&!e?(l.dispatchCommand(Xm,n),!0):Og(t.target)?!1:kt()!==null&&(function(a,r){a.preventDefault(),r.update(()=>{const o=kt(),s=Hs(a,InputEvent)||Hs(a,KeyboardEvent)?null:a.clipboardData;s!=null&&o!==null&&z1(s,o,r)},{tag:"paste"})}(t,l),!0)},Tn))}const Qm=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Y1(l){return l.getEditorState().read(T1(l.isComposing()))}function Ip({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=Sn(),a=function(r,o){const[s,c]=ge.useState(()=>r.getDecorators());return Qm(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),ge.useEffect(()=>{c(r.getDecorators())},[r]),ge.useMemo(()=>{const i=[],d=Object.keys(s);for(let u=0;u<d.length;u++){const p=d[u],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(ge.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){Qm(()=>br(XT(r),P1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(QT,{content:t}),a]})}function QT({content:l}){const[t]=Sn(),n=function(a){const[r,o]=ge.useState(()=>Y1(a));return Qm(()=>{function s(){const c=Y1(a);o(c)}return s(),br(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=Ym();return n?typeof l=="function"?l(e):l:null}function eO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Mp=eO(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 Z1({hasCellMerge:l=!0,hasCellBackgroundColor:t=!0,hasTabHandler:n=!0}){const[e]=Sn();return ge.useEffect(()=>(e.hasNodes([ws,os,Sl])||Mp(10),br(e.registerCommand(R2,({columns:a,rows:r,includeHeaders:o})=>{const s=Kb(Number(r),Number(a),o);wl(s);const c=s.getFirstDescendant();return Wt(c)&&c.select(),!0},Tn),e.registerNodeTransform(ws,a=>{const[r]=Zb(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 d=c;d<o;++d){const u=wi(0);u.append(Cn()),i!==null?i.insertAfter(u):cb(i,u)}}}))),[e]),ge.useEffect(()=>{const a=new Map,r=s=>{const c=s.getKey(),i=e.getElementByKey(c);if(i&&!a.has(c)){const d=K2(s,i,e,n);a.set(c,d)}};e.getEditorState().read(()=>{const s=Zv(ws);for(const c of s)jr(c)&&r(c)});const o=e.registerMutationListener(ws,s=>{for(const[c,i]of s)if(i==="created")e.getEditorState().read(()=>{const d=Bn(c);jr(d)&&r(d)});else if(i==="destroyed"){const d=a.get(c);d!==void 0&&(d.removeListeners(),a.delete(c))}});return()=>{o();for(const[,s]of a)s.removeListeners()}},[e,n]),ge.useEffect(()=>{if(!l)return e.registerNodeTransform(os,a=>{if(a.getColSpan()>1||a.getRowSpan()>1){const[,,r]=Ao(a),[o]=is(r,a,a),s=o.length,c=o[0].length;let i=r.getFirstChild();Dr(i)||Mp(175);const d=[];for(let u=0;u<s;u++){u!==0&&(i=i.getNextSibling(),Dr(i)||Mp(175));let p=null;for(let f=0;f<c;f++){const h=o[u][f],m=h.cell;if(h.startRow===u&&h.startColumn===f)p=m,d.push(m);else if(m.getColSpan()>1||m.getRowSpan()>1){yn(m)||Mp(176);const g=wi(m.__headerState);p!==null?p.insertAfter(g):cb(i,g)}}}for(const u of d)u.setColSpan(1),u.setRowSpan(1)}})},[e,l]),ge.useEffect(()=>{if(!t)return e.registerNodeTransform(os,a=>{a.getBackgroundColor()!==null&&a.setBackgroundColor(null)})},[e,t,l]),null}function tO(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var nO=tO(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 X1(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 Q1(l,t){for(let n=0;n<t.length;n++){const e=t[n](l);if(e)return e}return null}const rO=/[.,;\s]/;function Dp(l){return rO.test(l)}function ew(l){return Dp(l[l.length-1])}function ey(l){return Dp(l[0])}function tw(l){let t=l.getPreviousSibling();return jt(t)&&(t=t.getLastDescendant()),t===null||vs(t)||Wt(t)&&ew(t.getTextContent())}function nw(l){let t=l.getNextSibling();return jt(t)&&(t=t.getFirstDescendant()),t===null||vs(t)||Wt(t)&&ey(t.getTextContent())}function oO(l,t,n,e){return(l>0?Dp(n[l-1]):tw(e[0]))?t<n.length?Dp(n[t]):nw(e[e.length-1]):!1}function iO(l,t,n){const e=[],a=[],r=[];let o=0,s=0;const c=[...l];for(;c.length>0;){const i=c[0],d=i.getTextContent().length,u=s;s+d<=t?(e.push(i),o+=d):u>=n?r.push(i):a.push(i),s+=d,c.shift()}return[o,e,a,r]}function sO(l,t,n,e){const a=Em(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 d=kt(),u=d?d.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),u&&u===o&&(Et(d)?p.select(d.anchor.offset,d.focus.offset):fr(d)&&p.select(0,p.getTextContent().length)),o.replace(a),i}}function ty(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 Rp(l),void n(null,l.getURL())}const r=l.getTextContent(),o=Q1(r,t);if(o===null||o.text!==r||!tw(l)||!nw(l))return Rp(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 Rp(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 aO(l,t,n){ge.useEffect(()=>{l.hasNodes([sd])||nO(77);const e=(a,r)=>{n&&n(a,r)};return br(l.registerNodeTransform(no,a=>{const r=a.getParentOrThrow(),o=a.getPreviousSibling();if(gc(r)&&!r.getIsUnlinked())ty(r,t,e);else if(!Qo(r)){if(a.isSimpleText()&&(ey(a.getTextContent())||!gc(o))){const s=function(c){const i=[c];let d=c.getNextSibling();for(;d!==null&&Wt(d)&&d.isSimpleText()&&(i.push(d),!/[\s]/.test(d.getTextContent()));)d=d.getNextSibling();return i}(a);(function(c,i,d){let u=[...c];const p=u.map(g=>g.getTextContent()).join("");let f,h=p,m=0;for(;(f=Q1(h,i))&&f!==null;){const g=f.index,_=g+f.length;if(oO(m+g,m+_,p,u)){const[v,,w,S]=iO(u,m+g,m+_),E=sO(w,m+g-v,m+_-v,f);u=E?[E,...S]:S,d(f.url,null),m=0}else m+=_;h=h.substring(_)}})(s,t,e)}(function(s,c,i){const d=s.getPreviousSibling(),u=s.getNextSibling(),p=s.getTextContent();!gc(d)||d.getIsUnlinked()||ey(p)&&!/^\.[a-zA-Z0-9]{1,}/.test(p)||(d.append(s),ty(d,c,i),i(null,d.getURL())),!gc(u)||u.getIsUnlinked()||ew(p)||(Rp(u),ty(u,c,i),i(null,u.getURL()))})(a,t,e)}}),l.registerCommand(Aa,a=>{const r=kt();return a!==null||!Et(r)||r.extract().forEach(o=>{const s=o.getParent();if(gc(s))return s.setIsUnlinked(!s.getIsUnlinked()),s.markDirty(),!0}),!1},Yn))},[l,t,n])}function lO({matchers:l,onChange:t}){const[n]=Sn();return aO(n,l,t),null}const cO=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,uO=/(([^<>()[\]\\.,;:\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,}))/,dO=[X1(cO,l=>l.startsWith("http")?l:`https://${l}`),X1(uO,l=>`mailto:${l}`)];function rw(){return ue.jsx(lO,{matchers:dO})}function fO({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",pO=l=>Oc?(l||window).getSelection():null,Lp=fo();function hO({onClick:l}){const[t,n]=ge.useState(""),[e,a]=ge.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(fO,{label:"Image Upload",onChange:o,accept:"image/*","data-test-id":"image-modal-file-upload"}),ue.jsx(Ec,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:a,value:e,"data-test-id":"image-modal-alt-text-input"}),ue.jsx(jp,{children:ue.jsx(Ri,{"data-test-id":"image-modal-file-upload-btn",disabled:r,onClick:()=>l({altText:e,src:t}),children:"Confirm"})})]})}function gO({activeEditor:l,onClose:t,captionsEnabled:n}){const[e,a]=ge.useState("file"),r=ge.useRef(!1);ge.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(Lp,s),console.log("line 202 imageplugin insert image"),t()};return ue.jsx(ue.Fragment,{children:e==="file"&&ue.jsx(hO,{onClick:o})})}function mO(l,t,n){l.preventDefault();const e=l.clipboardData;if(!e)return!1;const a=e.items;if(!a||a.length===0)return!1;let r=!1,o=!1;const s=a.length>1?a[1]:a[0];let c=1;if(c===1){if(c=2,s.type==="text/html"&&!r){const i=e.getData("text/html"),u=new DOMParser().parseFromString(i,"text/html").querySelector("img");u&&u.src&&(fetch(u.src).then(p=>p.blob()).then(p=>{const f=new File([p],"pasted-image.png",{type:"image/png"});ow(f,t)}).catch(p=>console.error("Error fetching pasted image:",p)),r=!0)}else if(s.type.startsWith("image/")&&!r){const i=s.getAsFile();i&&(ow(i,t),r=!0)}else if(s.type.startsWith("text")&&!o){const i=e.getData("text/plain");yO(i,t),o=!0}}return!(!r&&!o)}function ow(l,t){const n=new FileReader;n.onload=()=>{const e=n.result,r={altText:l.name,src:e};t.update(()=>{const i=`Figure ${$n().getChildren().filter(g=>Wt(g)&&g.getTextContent().startsWith("Figure")).length+1}`,d=er(i);d.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;");const u=bc({...r,figureLabel:i}),p=Cn();p.setFormat("left");const f=_i(),m=er(".");m.setStyle("color: black; font-style: italic; font-weight: bold;"),p.append(u,f,d,m),ts([p]),to(u.getParentOrThrow())&&gm(u,Cn).selectEnd(),t.update(()=>{const _=$n().getChildren().filter(w=>Br(w));let v=1;_.forEach(w=>{const S=w.getChildren().find(b=>b.getTextContent().startsWith("Figure")),E=`Figure ${v}:`;if(S){const b=new qs(E,"black",`Image_caption_307_${Math.random()}`);S.replace(b),v++}})})})},n.readAsDataURL(l)}function yO(l,t){t.update(()=>{const r=`Text ${$n().getChildren().filter(u=>Wt(u)&&u.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(),d=er(".");d.setStyle("color: black; font-style: italic; font-weight: bold;"),s.append(c,o,d),ts([s]),t.update(()=>{const p=$n().getChildren().filter(h=>Br(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 iw({captionsEnabled:l=!0}){const[t]=Sn(),[n,e]=ge.useState("");return ge.useEffect(()=>{if(!t.hasNodes([xp]))throw new Error("ImagesPlugin: ImageNode not registered on editor");let a=0;return br(t.registerCommand(Lp,r=>{if(a+=1,l){const o=er(`Figure ${a}:`);o.setStyle("font-weight: bold; display: block; text-align: center; margin-top: 5px; font-size: 14px;");const s=bc({...r}),c=Cn();c.setFormat("left");const i=_i(),d=n.trim()===""?".":n,u=er(d);u.setStyle(d?"color: black; font-style: italic; font-weight: bold;":"color: gray; font-style: italic; font-weight: normal;"),c.append(s,i,o,u),ts([c]),to(s.getParentOrThrow())&&gm(s,Cn).selectEnd()}else{const o=bc(r),s=Cn();s.setFormat("left");const c=_i();s.append(o,c),ts([s]),to(o.getParentOrThrow())&&gm(o,Cn).selectEnd()}return t.update(()=>{const s=$n().getChildren().filter(i=>Br(i));let c=1;s.forEach((i,d)=>{const u=i.getChildren().find(f=>f.getTextContent().startsWith("Figure")),p=`Figure ${c}:`;if(u){const f=new qs(p,"black",`Image_caption_307_${Math.random()}`);u.replace(f),c++}})}),!0},Tn),t.registerCommand(Xl,r=>_O(r),ns),t.registerCommand(hg,r=>bO(r),Yn),t.registerCommand(Ef,r=>wO(r,t),ns),t.registerCommand(ba,r=>mO(r,t),ns))},[l,t]),null}const vO="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",sw=document.createElement("img");sw.src=vO;function _O(l){const t=ny();if(!t)return!1;const n=l.dataTransfer;return n?(n.setData("text/plain","_"),n.setDragImage(sw,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 bO(l){return ny()?(aw(l)||l.preventDefault(),!0):!1}function wO(l,t){const n=ny();if(!n)return!1;const e=xO(l);if(!e)return!1;if(l.preventDefault(),aw(l)){const a=SO(l);n.remove();const r=cc();a!=null&&r.applyDOMRange(a),Cr(r),t.dispatchCommand(Lp,e)}return!0}function ny(){const l=kt();if(!fr(l))return null;const n=l.getNodes()[0];return wc(n)?n:null}function xO(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 aw(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 SO(l){let t;const n=l.target,e=n==null?null:n.nodeType===9?n.defaultView:n.ownerDocument.defaultView,a=pO(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 lw=["image/","image/heic","image/heif","image/gif","image/webp"];function cw(){const[l]=Sn();return ge.useEffect(()=>l.registerCommand(Xm,t=>((async()=>{const n=await a2(t,[lw].flatMap(e=>e));for(const{file:e,result:a}of n)sb(e,lw)&&l.dispatchCommand(Lp,{altText:e.name,src:a})})(),!0),Yn),[l]),null}const EO=/(^|$|[^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 uw(){const[l]=Sn();ge.useEffect(()=>{if(!l.hasNodes([xc]))throw new Error("KeywordsPlugin: KeywordNode not registered on editor")},[l]);const t=ge.useCallback(e=>p1(e.getTextContent()),[]),n=ge.useCallback(e=>{const a=EO.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 O1(n,xc,t),null}function CO({validateUrl:l}){const[t]=Sn();return ge.useEffect(()=>{if(!t.hasNodes([hc]))throw new Error("LinkPlugin: LinkNode not registered on editor");return br(t.registerCommand(Aa,n=>{if(n===null)return Cm(n),!0;if(typeof n=="string")return!(l!==void 0&&!l(n))&&(Cm(n),!0);{const{url:e,target:a,rel:r,title:o}=n;return Cm(e,{rel:r,target:a,title:o}),!0}},Yn),l!==void 0?t.registerCommand(ba,n=>{const e=kt();if(!Et(e)||e.isCollapsed()||!Hs(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=>jt(o))&&(t.dispatchCommand(Aa,r),n.preventDefault(),!0)},Yn):()=>{})},[t,l]),null}const jO=new Set(["http:","https:","mailto:","sms:","tel:"]);function dw(l){try{const t=new URL(l);if(!jO.has(t.protocol))return"about:blank"}catch{return l}return l}const kO=new RegExp(/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/);function TO(l){return l==="https://"||kO.test(l)}function ry(){return ue.jsx(CO,{validateUrl:TO})}function OO(l){const t=l.getNodes();return t.length===0?new Set([l.anchor.getNode().getParentOrThrow(),l.focus.getNode().getParentOrThrow()]):new Set(t.map(n=>jt(n)?n:n.getParentOrThrow()))}function NO(l){const t=kt();if(!Et(t))return!1;const n=OO(t);let e=0;for(const a of n)if(lr(a))e=Math.max(jm(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(jm(r)+1,e)}return e<=l}function fw({maxDepth:l}){const[t]=Sn();return ge.useEffect(()=>t.registerCommand(wv,()=>!NO(l??7),Uo),[t,l]),null}const AO=1,PO=100;let pw=0,hw=!1;function IO(){window.addEventListener("keydown",l=>{l.key==="Tab"&&(pw=l.timeStamp)},!0)}function gw(){const[l]=Sn();return ge.useEffect(()=>(hw||(IO(),hw=!0),l.registerCommand(gg,t=>{const n=kt();return Et(n)&&pw+PO>t.timeStamp&&Cr(n.clone()),!1},AO)),[l]),null}const nR="";function MO({onClose:l,children:t,title:n,closeOnClickOutside:e}){const a=ge.useRef(null);return ge.useEffect(()=>{a.current!==null&&a.current.focus()},[]),ge.useEffect(()=>{let r=null;const o=i=>{i.key==="Escape"&&l()},s=i=>{const d=i.target;a.current!==null&&!a.current.contains(d)&&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 DO({onClose:l,children:t,title:n,closeOnClickOutside:e=!1}){return so.createPortal(ue.jsx(MO,{onClose:l,title:n,closeOnClickOutside:e,children:t}),document.body)}function Ma(){const[l,t]=ge.useState(null),n=ge.useCallback(()=>{t(null)},[]),e=ge.useMemo(()=>{if(l===null)return null;const{title:r,content:o,closeOnClickOutside:s}=l;return ue.jsx(DO,{onClose:n,title:r,closeOnClickOutside:s,children:o})},[l,n]),a=ge.useCallback((r,o,s=!1)=>{t({closeOnClickOutside:s,content:o(n),title:r})},[n]);return[e,a]}const rR="";let oy=!1;const RO=["#d0021b","#f5a623","#f8e71c","#8b572a","#7ed321","#417505","#bd10e0","#9013fe","#4a90e2","#50e3c2","#b8e986","#000000","#4a4a4a","#9b9b9b","#ffffff"],_d=214,mw=150;function LO({color:l,onChange:t}){const[n,e]=ge.useState(Nc("hex",l)),[a,r]=ge.useState(l),o=ge.useRef(null),s=ge.useMemo(()=>({x:n.hsv.s/100*_d,y:(100-n.hsv.v)/100*mw}),[n.hsv.s,n.hsv.v]),c=ge.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)}},d=({x:p,y:f})=>{const h={...n.hsv,s:p/_d*100,v:100-f/mw*100},m=Nc("hsv",h);e(m),r(m.hex)},u=({x:p})=>{const f={...n.hsv,h:p/_d*360},h=Nc("hsv",f);e(h),r(h.hex)};return ge.useEffect(()=>{o.current!==null&&t&&(t(n.hex,oy),r(n.hex))},[n,t]),ge.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(Ec,{label:"Hex",onChange:i,value:a}),ue.jsx("div",{className:"color-picker-basic-color",children:RO.map(p=>ue.jsx("button",{className:p===n.hex?" active":"",style:{backgroundColor:p},onClick:()=>{r(p),e(Nc("hex",p))}},p))}),ue.jsx(yw,{className:"color-picker-saturation",style:{backgroundColor:`hsl(${n.hsv.h}, 100%, 50%)`},onChange:d,children:ue.jsx("div",{className:"color-picker-saturation_cursor",style:{backgroundColor:n.hex,left:s.x,top:s.y}})}),ue.jsx(yw,{className:"color-picker-hue",onChange:u,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 yw({className:l,style:t,onChange:n,children:e}){const a=ge.useRef(null),r=ge.useRef(!1),o=c=>{if(a.current){const{current:i}=a,{width:d,height:u,left:p,top:f}=i.getBoundingClientRect(),h=vw(c.clientX-p,d,0),m=vw(c.clientY-f,u,0);n({x:h,y:m})}},s=c=>{if(c.button!==0)return;o(c);const i=u=>{r.current=!0,oy=!0,o(u)},d=u=>{r.current&&(oy=!1),document.removeEventListener("mousemove",i,!1),document.removeEventListener("mouseup",d,!1),o(u),r.current=!1};document.addEventListener("mousemove",i,!1),document.addEventListener("mouseup",d,!1)};return ue.jsx("div",{ref:a,className:l,style:t,onMouseDown:s,children:e})}function vw(l,t,n){return l>t?t:l<n?n:l}function _w(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 bw(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 iy({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 FO({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),d=Math.round([s,n,n,o,r,r][c]*255);return{b:Math.round([r,r,s,n,n,o][c]*255),g:d,r:i}}function ww({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=_w("#121212"),e=bw(n),a=iy(e);return l==="hex"?(n=_w(t),e=bw(n),a=iy(e)):l==="rgb"?(e=t,n=ww(e),a=iy(e)):l==="hsv"&&(a=t,e=FO(a),n=ww(e)),{hex:n,hsv:a,rgb:e}}function BO(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 sy(l){const t=l.getShape();return{columns:t.toX-t.fromX+1,rows:t.toY-t.fromY+1}}function zO(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(BO(Dr(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 d=0;d<i;d++)n[r+d]===void 0&&(n[r+d]=0),n[r+d]+=s.__rowSpan;r+=i}}return(a===null||r===a)&&n.every(o=>o===n[0])}function UO(){const l=kt();if(Et(l)&&!l.isCollapsed()||dr(l)&&!l.anchor.is(l.focus)||!Et(l)&&!dr(l))return!1;const[t]=Ao(l.anchor);return t.__colSpan>1||t.__rowSpan>1}function xw(l){if(l.getChildrenSize()!==1)return!1;const t=l.getFirstChildOrThrow();return!(!Br(t)||!t.isEmpty())}function HO(l){const t=l.getLastDescendant();Wt(t)?t.select():jt(t)?t.selectEnd():t!==null&&t.selectNext()}function Sw(l){return l.getEditorState().read(()=>{const t=kt();if(Et(t)||dr(t)){const[n]=Ao(t.anchor);if(yn(n))return n.getBackgroundColor()}return null})}function $O({onClose:l,tableCellNode:t,setIsMenuOpen:n,contextRef:e,cellMerge:a,showColorPickerModal:r}){const[o]=Sn(),s=ge.useRef(null),[c,i]=ge.useState(t),[d,u]=ge.useState({columns:1,rows:1}),[p,f]=ge.useState(!1),[h,m]=ge.useState(!1),[g,_]=ge.useState(()=>Sw(o)||"");ge.useEffect(()=>o.registerMutationListener(os,L=>{L.get(c.getKey())==="updated"&&(o.getEditorState().read(()=>{i(c.getLatest())}),_(Sw(o)||""))}),[o,c]),ge.useEffect(()=>{o.getEditorState().read(()=>{const L=kt();if(dr(L)){const O=sy(L);u(sy(L)),f(zO(L)&&(O.columns>1||O.rows>1))}m(UO())})},[o]),ge.useEffect(()=>{const L=e.current,O=s.current,j=o.getRootElement();if(L!=null&&O!=null&&j!=null){const P=j.getBoundingClientRect(),R=L.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]),ge.useEffect(()=>{function L(O){s.current!=null&&e.current!=null&&!s.current.contains(O.target)&&!e.current.contains(O.target)&&n(!1)}return window.addEventListener("click",L),()=>window.removeEventListener("click",L)},[n,e]);const v=ge.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=G2(j);P!==null&&P.clearHighlight(),O.markDirty(),i(c.getLatest())}$n().selectStart()})},[o,c]),w=()=>{o.update(()=>{const L=kt();if(dr(L)){const{columns:O,rows:j}=sy(L),P=L.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=xw(U);let z;M&&Br(z=U.getFirstChild())&&z.remove()}else yn(R)&&(xw(U)||R.append(...U.getChildren()),U.remove())}R!==null&&(R.getChildrenSize()===0&&R.append(Cn()),HO(R)),l()}})},S=()=>{o.update(()=>{W2()})},E=ge.useCallback(L=>{o.update(()=>{U2(L),l()})},[o,l]),b=ge.useCallback(L=>{o.update(()=>{for(let O=0;O<d.columns;O++)H2(L);l()})},[o,l,d.columns]),y=ge.useCallback(()=>{o.update(()=>{$2(),l()})},[o,l]),x=ge.useCallback(()=>{o.update(()=>{Pa(c).remove(),v(),l()})},[o,c,v,l]),C=ge.useCallback(()=>{o.update(()=>{q2(),l()})},[o,l]),T=ge.useCallback(()=>{o.update(()=>{const L=Pa(c),O=Yb(c),j=L.getChildren();if(O>=j.length||O<0)throw new Error("Expected table cell to be inside of table row.");const P=j[O];if(!Dr(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]),F=ge.useCallback(()=>{o.update(()=>{const L=Pa(c),O=Nm(c),j=L.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(!Dr(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=ge.useCallback(L=>{o.update(()=>{const O=kt();if(Et(O)||dr(O)){const[j]=Ao(O.anchor);if(yn(j)&&j.setBackgroundColor(L),dr(O)){const P=O.getNodes();for(let R=0;R<P.length;R++){const N=P[R];yn(N)&&N.setBackgroundColor(L)}}}})},[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:L=>{L.stopPropagation()},children:[D,ue.jsx("button",{type:"button",className:"item",onClick:()=>r("Cell background color",()=>ue.jsx(LO,{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"," ",d.rows===1?"row":`${d.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"," ",d.rows===1?"row":`${d.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"," ",d.columns===1?"column":`${d.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"," ",d.columns===1?"column":`${d.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:()=>F(),"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 qO({anchorElem:l,cellMerge:t}){const[n]=Sn(),e=ge.useRef(null),a=ge.useRef(null),[r,o]=ge.useState(!1),[s,c]=ge.useState(null),[i,d]=Ma(),u=ge.useCallback(()=>{const f=e.current,h=kt(),m=window.getSelection(),g=document.activeElement;if(h==null||f==null){c(null);return}const _=n.getRootElement();if(Et(h)&&_!==null&&m!==null&&_.contains(m.anchorNode)){const v=z2(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]);ge.useEffect(()=>n.registerUpdateListener(()=>{n.getEditorState().read(()=>{u()})})),ge.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=ge.useRef(s);return ge.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($O,{contextRef:a,setIsMenuOpen:o,onClose:()=>o(!1),tableCellNode:s,cellMerge:t,showColorPickerModal:d})]})})}function Ew({anchorElem:l=document.body,cellMerge:t=!1}){const n=Ym();return so.createPortal(n?ue.jsx(qO,{anchorElem:l,cellMerge:t}):null,l)}const oR="",WO=33,JO=50;function VO({editor:l}){const t=ge.useRef(null),n=ge.useRef(null),e=ge.useRef(null),a=ge.useRef(null),[r,o]=ge.useState(null),[s,c]=ge.useState(null),[i,d]=ge.useState(!1),[u,p]=ge.useState(null);ge.useEffect(()=>l.registerCommand(vi,E=>{const b=kt(),y=dr(b);return i!==y&&d(y),!1},ns));const f=ge.useCallback(()=>{c(null),t.current=null,p(null),a.current=null,e.current=null},[]);ge.useEffect(()=>{const E=b=>{setTimeout(()=>{const y=b.target;if(u){o({x:b.clientX,y:b.clientY});return}if(!(n.current&&n.current.contains(y))&&t.current!==y){t.current=y;const x=Im(y);x&&s!==x?l.update(()=>{const C=po(x.elem);if(!C)return;const T=Pa(C),F=l.getElementByKey(T.getKey());if(!F){console.error("TableCellResizer: Table element not found.");return}t.current=y,e.current=F.getBoundingClientRect(),c(x)}):x==null&&f()}},0)};return document.addEventListener("mousemove",E),()=>{document.removeEventListener("mousemove",E)}},[s,u,l,f]);const h=E=>E==="bottom",m=ge.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=Yb(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(!Dr(T)){console.error("Expected table row");return}T.setHeight(E)})},[s,l]),g=ge.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=Nm(b),C=y.getChildren();for(let T=0;T<C.length;T++){const F=C[T];if(!Dr(F)){console.error("Expected table row");return}const B=F.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]),_=ge.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,F=Math.abs(y.clientY-C),B=E==="bottom"&&C>y.clientY;m(Math.max(B?T-F:F+T,WO))}else{const T=getComputedStyle(s.elem);let F=s.elem.clientWidth;F-=parseFloat(T.paddingLeft)+parseFloat(T.paddingRight);const B=Math.abs(y.clientX-x),D=E==="right"&&x>y.clientX;g(Math.max(D?F-B:B+F,JO))}f(),document.removeEventListener("mouseup",b)}};return b},[s,f,g,m]),v=ge.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=ge.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 u&&r&&T&&(h(u)?(C[u].left=`${window.pageXOffset+T.left}px`,C[u].top=`${window.pageYOffset+r.y}px`,C[u].height="3px",C[u].width=`${T.width}px`):(C[u].top=`${window.pageYOffset+T.top}px`,C[u].left=`${window.pageXOffset+r.x}px`,C[u].width="3px",C[u].height=`${T.height}px`),C[u].backgroundColor="#adf"),C}return{bottom:null,left:null,right:null,top:null}},[s,u,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 Cw({isEditable:l=!0}){const[t]=Sn();return ge.useMemo(()=>l?so.createPortal(ue.jsx(VO,{editor:t}),document.body):null,[t,l])}const jw=sr.createContext(null),kw=4;function bo({children:l,className:t,onClick:n,title:e}){const a=ge.useRef(null),r=sr.useContext(jw);if(r===null)throw new Error("DropDownItem must be used within a DropDown");const{registerItem:o}=r;return ge.useEffect(()=>{a&&a.current&&o(a)},[a,o]),ue.jsx("button",{className:t,onClick:n,ref:a,title:e,type:"button",children:l})}function KO({children:l,dropDownRef:t,onClose:n}){const[e,a]=ge.useState(),[r,o]=ge.useState(),s=ge.useCallback(d=>{a(u=>u?[...u,d]:[d])},[a]),c=d=>{if(!e)return;const u=d.key;["Escape","ArrowUp","ArrowDown","Tab"].includes(u)&&d.preventDefault(),u==="Escape"||u==="Tab"?n():u==="ArrowUp"?o(p=>{if(!p)return e[0];const f=e.indexOf(p)-1;return e[f===-1?e.length-1:f]}):u==="ArrowDown"&&o(p=>p?e[e.indexOf(p)+1]:e[0])},i=ge.useMemo(()=>({registerItem:s}),[s]);return ge.useEffect(()=>{e&&!r&&o(e[0]),r&&r.current&&r.current.focus()},[e,r]),ue.jsx(jw.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=ge.useRef(null),c=ge.useRef(null),[i,d]=ge.useState(!1),u=()=>{d(!1),c&&c.current&&c.current.focus()};return ge.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+kw}px`,f.style.left=`${Math.min(m,window.innerWidth-f.offsetWidth-20)}px`}},[s,c,i]),ge.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)||d(!1)};return document.addEventListener("click",f),()=>{document.removeEventListener("click",f)}}},[s,c,i,o]),ge.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+kw;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:()=>d(!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(KO,{dropDownRef:s,onClose:u,children:r}),document.body)]})}function Tw(l){const t=l.anchor,n=l.focus,e=l.anchor.getNode(),a=l.focus.getNode();return e===a?e:l.isBackward()?tb(n)?e:a:tb(t)?e:a}const Ow=8,Nw=72,Da={h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",paragraph:"Normal"},GO=({selectionFontSize:l,disabled:t,editor:n,blockType:e,styleConfig:a,isenterPressed:r,currentElementClick:o,currentElementSelect:s})=>{const[c,i]=sr.useState(l),[d,u]=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=kt();E&&fm(E,S)}})},g=S=>{i(S.target.value)},_=()=>{const S=Number(c);if(!isNaN(S)){const E=Math.min(Math.max(S,Ow),Nw);i(String(E)),m({"font-size":`${E}px`})}},v=S=>{var b,y,x,C,T;f(S),n.update(()=>{const F=kt();Et(F)&&t2(F,()=>vc(S))});let E=null;if(h)switch(S){case"h1":E=((b=h.find(F=>F.title==="Heading1"))==null?void 0:b.fontSize)??56;break;case"h2":E=((y=h.find(F=>F.title==="Heading2"))==null?void 0:y.fontSize)??14;break;case"h3":E=((x=h.find(F=>F.title==="Heading3"))==null?void 0:x.fontSize)??12;break;case"h4":E=((C=h.find(F=>F.title==="Heading4"))==null?void 0:C.fontSize)??12;break;case"h5":E=((T=h.find(F=>F.title==="Heading5"))==null?void 0:T.fontSize)??12;break;case"paragraph":E=11;break;default:E=11}i(E),f(S),u(S)},w=()=>{i("11")};return sr.useEffect(()=>{w()},[r]),sr.useEffect(()=>{const S=()=>{n.update(()=>{const E=kt();if(E!==null){const y=E.getNodes()[0];if(!Wt(y)){const x=y.getType();x in Da&&u(x)}}})};return n.registerUpdateListener(S),()=>{n.registerUpdateListener(S)}},[n]),sr.useEffect(()=>{var S,E,b,y,x;switch(o.tagName){case"P":u("paragraph"),i("11");break;case"H1":u("h1");const C=((S=a.heading.find(L=>L.title==="Heading1"))==null?void 0:S.fontSize)??"16";i(C);break;case"H2":u("h2");const T=((E=a.heading.find(L=>L.title==="Heading2"))==null?void 0:E.fontSize)??"14";i(T);break;case"H3":u("h3");const F=((b=a.heading.find(L=>L.title==="Heading3"))==null?void 0:b.fontSize)??"12";i(F);break;case"H4":u("h4");const B=((y=a.heading.find(L=>L.title==="Heading4"))==null?void 0:y.fontSize)??"12";i(B);break;case"H5":u("h5");const D=((x=a.heading.find(L=>L.title==="Heading5"))==null?void 0:x.fontSize)??"12";i(D);break;default:u("paragraph"),i("11");break}},[o]),sr.useEffect(()=>{var E,b,y,x,C;if(!s){i("11"),u("paragraph");return}switch(s.trim()){case"P":i("11"),u("paragraph");break;case"h1":u("h1");const T=((E=a.heading.find(O=>O.title==="Heading1"))==null?void 0:E.fontSize)??"16";i(T);break;case"h2":u("h2");const F=((b=a.heading.find(O=>O.title==="Heading2"))==null?void 0:b.fontSize)??"14";i(F);break;case"h3":u("h3");const B=((y=a.heading.find(O=>O.title==="Heading3"))==null?void 0:y.fontSize)??"12";i(B);break;case"h4":u("h4");const D=((x=a.heading.find(O=>O.title==="Heading4"))==null?void 0:x.fontSize)??"12";i(D);break;case"h5":u("h5");const L=((C=a.heading.find(O=>O.title==="Heading5"))==null?void 0:C.fontSize)??"12";i(L);break;default:u("paragraph"),i("11");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 "+d,buttonLabel:Da[d],children:[ue.jsxs(bo,{className:`item ${d==="paragraph"?"active":""}`,onClick:()=>v("paragraph"),children:[ue.jsx("i",{className:"icon paragraph"}),ue.jsx("span",{className:"text",children:Da.paragraph})]}),a.heading&&a.heading.find(S=>S.title==="Heading1")&&ue.jsxs(bo,{className:`item ${d==="h1"?"active":""}`,onClick:()=>v("h1"),children:[ue.jsx("i",{className:"icon h1"}),ue.jsx("span",{className:"text",children:Da.h1})]}),a.heading&&a.heading.find(S=>S.title==="Heading2")&&ue.jsxs(bo,{className:`item ${d==="h2"?"active":""}`,onClick:()=>v("h2"),children:[ue.jsx("i",{className:"icon h2"}),ue.jsx("span",{className:"text",children:Da.h2})]}),a.heading&&a.heading.find(S=>S.title==="Heading3")&&ue.jsxs(bo,{className:`item ${d==="h3"?"active":""}`,onClick:()=>v("h3"),children:[ue.jsx("i",{className:"icon h3"}),ue.jsx("span",{className:"text",children:Da.h3})]}),a.heading&&a.heading.find(S=>S.title==="Heading4")&&ue.jsxs(bo,{className:`item ${d==="h4"?"active":""}`,onClick:()=>v("h4"),children:[ue.jsx("i",{className:"icon h4"}),ue.jsx("span",{className:"text",children:Da.h4})]}),a.heading&&a.heading.find(S=>S.title==="Heading5")&&ue.jsxs(bo,{className:`item ${d==="h5"?"active":""}`,onClick:()=>v("h5"),children:[ue.jsx("i",{className:"icon h5"}),ue.jsx("span",{className:"text",children:Da.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:Ow,max:Nw,onChange:g,onBlur:_})]})},YO=Oc&&"documentMode"in document?document.documentMode:null,Ra=Oc&&/Mac|iPod|iPhone|iPad/.test(navigator.platform);Oc&&"InputEvent"in window&&!YO&&"getTargetRanges"in new window.InputEvent("input");const ZO="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTIuNTUzNSAxNi41MDYxQzEyLjQxMTQgMTYuNjYxNSAxMi4yMTA2IDE2Ljc1IDEyIDE2Ljc1QzExLjc4OTQgMTYuNzUgMTEuNTg4NiAxNi42NjE1IDExLjQ0NjUgMTYuNTA2MUw3LjQ0NjQ4IDEyLjEzMTFDNy4xNjY5OCAxMS44MjU0IDcuMTg4MjIgMTEuMzUxIDcuNDkzOTIgMTEuMDcxNUM3Ljc5OTYzIDEwLjc5MiA4LjI3NDAyIDEwLjgxMzIgOC41NTM1MiAxMS4xMTg5TDExLjI1IDE0LjA2ODJWM0MxMS4yNSAyLjU4NTc5IDExLjU4NTggMi4yNSAxMiAyLjI1QzEyLjQxNDIgMi4yNSAxMi43NSAyLjU4NTc5IDEyLjc1IDNWMTQuMDY4MkwxNS40NDY1IDExLjExODlDMTUuNzI2IDEwLjgxMzIgMTYuMjAwNCAxMC43OTIgMTYuNTA2MSAxMS4wNzE1QzE2LjgxMTggMTEuMzUxIDE2LjgzMyAxMS44MjU0IDE2LjU1MzUgMTIuMTMxMUwxMi41NTM1IDE2LjUwNjFaIiBmaWxsPSIjMUMyNzRDIi8+CjxwYXRoIGQ9Ik0zLjc1IDE1QzMuNzUgMTQuNTg1OCAzLjQxNDIyIDE0LjI1IDMgMTQuMjVDMi41ODU3OSAxNC4yNSAyLjI1IDE0LjU4NTggMi4yNSAxNVYxNS4wNTQ5QzIuMjQ5OTggMTYuNDIyNSAyLjI0OTk2IDE3LjUyNDggMi4zNjY1MiAxOC4zOTE4QzIuNDg3NTQgMTkuMjkxOSAyLjc0NjQzIDIwLjA0OTcgMy4zNDgzNSAyMC42NTE2QzMuOTUwMjcgMjEuMjUzNiA0LjcwODE0IDIxLjUxMjUgNS42MDgyNSAyMS42MzM1QzYuNDc1MjIgMjEuNzUgNy41Nzc1NCAyMS43NSA4Ljk0NTEzIDIxLjc1SDE1LjA1NDlDMTYuNDIyNSAyMS43NSAxNy41MjQ4IDIxLjc1IDE4LjM5MTggMjEuNjMzNUMxOS4yOTE5IDIxLjUxMjUgMjAuMDQ5NyAyMS4yNTM2IDIwLjY1MTcgMjAuNjUxNkMyMS4yNTM2IDIwLjA0OTcgMjEuNTEyNSAxOS4yOTE5IDIxLjYzMzUgMTguMzkxOEMyMS43NSAxNy41MjQ4IDIxLjc1IDE2LjQyMjUgMjEuNzUgMTUuMDU0OVYxNUMyMS43NSAxNC41ODU4IDIxLjQxNDIgMTQuMjUgMjEgMTQuMjVDMjAuNTg1OCAxNC4yNSAyMC4yNSAxNC41ODU4IDIwLjI1IDE1QzIwLjI1IDE2LjQzNTQgMjAuMjQ4NCAxNy40MzY1IDIwLjE0NjkgMTguMTkxOUMyMC4wNDgyIDE4LjkyNTcgMTkuODY3OCAxOS4zMTQyIDE5LjU5MSAxOS41OTFDMTkuMzE0MiAxOS44Njc4IDE4LjkyNTcgMjAuMDQ4MiAxOC4xOTE5IDIwLjE0NjlDMTcuNDM2NSAyMC4yNDg0IDE2LjQzNTQgMjAuMjUgMTUgMjAuMjVIOUM3LjU2NDU5IDIwLjI1IDYuNTYzNDcgMjAuMjQ4NCA1LjgwODEyIDIwLjE0NjlDNS4wNzQzNSAyMC4wNDgyIDQuNjg1NzcgMTkuODY3OCA0LjQwOTAxIDE5LjU5MUM0LjEzMjI1IDE5LjMxNDIgMy45NTE4IDE4LjkyNTcgMy44NTMxNSAxOC4xOTE5QzMuNzUxNTkgMTcuNDM2NSAzLjc1IDE2LjQzNTQgMy43NSAxNVoiIGZpbGw9IiMxQzI3NEMiLz4KPC9zdmc+";var Aw={exports:{}};(function(l,t){(function(n,e){e()})(ma,function(){function n(i,d){return typeof d>"u"?d={autoBom:!1}:typeof d!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),d={autoBom:!d}),d.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,d,u){var p=new XMLHttpRequest;p.open("GET",i),p.responseType="blob",p.onload=function(){c(p.response,d,u)},p.onerror=function(){console.error("could not download file")},p.send()}function a(i){var d=new XMLHttpRequest;d.open("HEAD",i,!1);try{d.send()}catch{}return 200<=d.status&&299>=d.status}function r(i){try{i.dispatchEvent(new MouseEvent("click"))}catch{var d=document.createEvent("MouseEvents");d.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),i.dispatchEvent(d)}}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,d,u){var p=o.URL||o.webkitURL,f=document.createElement("a");d=d||i.name||"download",f.download=d,f.rel="noopener",typeof i=="string"?(f.href=i,f.origin===location.origin?r(f):a(f.href)?e(i,d,u):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,d,u){if(d=d||i.name||"download",typeof i!="string")navigator.msSaveOrOpenBlob(n(i,u),d);else if(a(i))e(i,d,u);else{var p=document.createElement("a");p.href=i,p.target="_blank",setTimeout(function(){r(p)})}}:function(i,d,u,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof i=="string")return e(i,d,u);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})})(Aw);var XO=Aw.exports;function QO(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 eN(l){const t=document.createElement("div");t.innerHTML=l;const n=t.querySelectorAll(".PlaygroundEditorTheme__table");return n.length===0?l:(n.forEach(e=>{e.style.width="100%",e.style.border="1px solid black",e.querySelectorAll("tr").forEach(r=>{r.style.border="1px solid black";const o=r.querySelectorAll("td, th"),c=100/o.length+"%";o.forEach(i=>{i.style.width=c,i.style.height="20px",i.style.border="1px solid black",i.innerHTML.trim()||(i.style.width=c,i.style.height="20px",i.innerHTML="&nbsp;");const d=i.querySelectorAll(".PlaygroundEditorTheme__textUnderline"),u=i.querySelectorAll(".PlaygroundEditorTheme__textStrikethrough");d.forEach(p=>{p.style.textDecoration="underline"}),u.forEach(p=>{p.style.textDecoration="line-through"}),i.classList.contains("PlaygroundEditorTheme__tableCellHeader")&&(i.style.fontWeight="bold")})})}),t.innerHTML)}function Pw(l){return l=l.replace(/<br\s*\/?>/g,""),l.includes("Crop")&&(l=l.replace(/Crop/g,"")),l}var Iw={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 Bt(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={},d=i.toString,u=i.hasOwnProperty,p=u.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[d.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]||{},ot=1,tt=arguments.length,ut=!1;for(typeof Ae=="boolean"&&(ut=Ae,Ae=arguments[ot]||{},ot++),typeof Ae!="object"&&!m(Ae)&&(Ae={}),ot===tt&&(Ae=this,ot--);ot<tt;ot++)if(($=arguments[ot])!=null)for(X in $)ae=$[X],!(X==="__proto__"||Ae===ae)&&(ut&&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(ut,_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!$||d.call($)!=="[object Object]"?!1:(X=a($),X?(te=u.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,ot=!te;_e<Ae;_e++)ae=!X($[_e],_e),ae!==ot&&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,F=e.sort,B=e.splice,D="[\\x20\\t\\r\\n\\f]",L=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,ot,tt,ut,At,Ft=y.expando,xt=0,Yt=0,In=pu(),rr=pu(),Dn=pu(),Xr=pu(),Tr=function(We,st){return We===st&&(ye=!0),0},jo="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",_r="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ve="\\["+D+"*("+_r+")(?:"+D+"*([*^$|!~]?=)"+D+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+_r+"))|)"+D+"*\\]",wt=":("+_r+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ve+")*)|.*)\\)|)",_t=new RegExp(D+"+","g"),Vt=new RegExp("^"+D+"*,"+D+"*"),jn=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),Nn=new RegExp(D+"|>"),xn=new RegExp(wt),ar=new RegExp("^"+_r+"$"),Hn={ID:new RegExp("^#("+_r+")"),CLASS:new RegExp("^\\.("+_r+")"),TAG:new RegExp("^("+_r+"|[*])"),ATTR:new RegExp("^"+Ve),PSEUDO:new RegExp("^"+wt),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"),ds=function(We,st){var St="0x"+We.slice(1)-65536;return st||(St<0?String.fromCharCode(St+65536):String.fromCharCode(St>>10|55296,St&1023|56320))},Nh=function(){fs()},Ah=Xa(function(We){return We.disabled===!0&&C(We,"fieldset")},{dir:"parentNode",next:"legend"});function Ph(){try{return Ae.activeElement}catch{}}try{_e.apply(e=r.call(P.childNodes),P.childNodes),e[P.childNodes.length].nodeType}catch{_e={apply:function(st,St){R.apply(st,r.call(St))},call:function(st){R.apply(st,r.call(arguments,1))}}}function pr(We,st,St,Tt){var Ut,rn,un,vn,cn,Wn,Mn,Rn=st&&st.ownerDocument,tr=st?st.nodeType:9;if(St=St||[],typeof We!="string"||!We||tr!==1&&tr!==9&&tr!==11)return St;if(!Tt&&(fs(st),st=st||Ae,tt)){if(tr!==11&&(cn=ro.exec(We)))if(Ut=cn[1]){if(tr===9)if(un=st.getElementById(Ut)){if(un.id===Ut)return _e.call(St,un),St}else return St;else if(Rn&&(un=Rn.getElementById(Ut))&&pr.contains(st,un)&&un.id===Ut)return _e.call(St,un),St}else{if(cn[2])return _e.apply(St,st.getElementsByTagName(We)),St;if((Ut=cn[3])&&st.getElementsByClassName)return _e.apply(St,st.getElementsByClassName(Ut)),St}if(!Xr[We+" "]&&(!ut||!ut.test(We))){if(Mn=We,Rn=st,tr===1&&(Nn.test(We)||jn.test(We))){for(Rn=Ti.test(We)&&hu(st.parentNode)||st,(Rn!=st||!h.scope)&&((vn=st.getAttribute("id"))?vn=y.escapeSelector(vn):st.setAttribute("id",vn=Ft)),Wn=Fl(We),rn=Wn.length;rn--;)Wn[rn]=(vn?"#"+vn:":scope")+" "+ps(Wn[rn]);Mn=Wn.join(",")}try{return _e.apply(St,Rn.querySelectorAll(Mn)),St}catch{Xr(We,!0)}finally{vn===Ft&&st.removeAttribute("id")}}}return Kd(We.replace(L,"$1"),st,St,Tt)}function pu(){var We=[];function st(St,Tt){return We.push(St+" ")>X.cacheLength&&delete st[We.shift()],st[St+" "]=Tt}return st}function Oi(We){return We[Ft]=!0,We}function Ya(We){var st=Ae.createElement("fieldset");try{return!!We(st)}catch{return!1}finally{st.parentNode&&st.parentNode.removeChild(st),st=null}}function pi(We){return function(st){return C(st,"input")&&st.type===We}}function g0(We){return function(st){return(C(st,"input")||C(st,"button"))&&st.type===We}}function Za(We){return function(st){return"form"in st?st.parentNode&&st.disabled===!1?"label"in st?"label"in st.parentNode?st.parentNode.disabled===We:st.disabled===We:st.isDisabled===We||st.isDisabled!==!We&&Ah(st)===We:st.disabled===We:"label"in st?st.disabled===We:!1}}function Ts(We){return Oi(function(st){return st=+st,Oi(function(St,Tt){for(var Ut,rn=We([],St.length,st),un=rn.length;un--;)St[Ut=rn[un]]&&(St[Ut]=!(Tt[Ut]=St[Ut]))})})}function hu(We){return We&&typeof We.getElementsByTagName<"u"&&We}function fs(We){var st,St=We?We.ownerDocument||We:P;return St==Ae||St.nodeType!==9||!St.documentElement||(Ae=St,ot=Ae.documentElement,tt=!y.isXMLDoc(Ae),At=ot.matches||ot.webkitMatchesSelector||ot.msMatchesSelector,ot.msMatchesSelector&&P!=Ae&&(st=Ae.defaultView)&&st.top!==st&&st.addEventListener("unload",Nh),h.getById=Ya(function(Tt){return ot.appendChild(Tt).id=y.expando,!Ae.getElementsByName||!Ae.getElementsByName(y.expando).length}),h.disconnectedMatch=Ya(function(Tt){return At.call(Tt,"*")}),h.scope=Ya(function(){return Ae.querySelectorAll(":scope")}),h.cssHas=Ya(function(){try{return Ae.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),h.getById?(X.filter.ID=function(Tt){var Ut=Tt.replace(fi,ds);return function(rn){return rn.getAttribute("id")===Ut}},X.find.ID=function(Tt,Ut){if(typeof Ut.getElementById<"u"&&tt){var rn=Ut.getElementById(Tt);return rn?[rn]:[]}}):(X.filter.ID=function(Tt){var Ut=Tt.replace(fi,ds);return function(rn){var un=typeof rn.getAttributeNode<"u"&&rn.getAttributeNode("id");return un&&un.value===Ut}},X.find.ID=function(Tt,Ut){if(typeof Ut.getElementById<"u"&&tt){var rn,un,vn,cn=Ut.getElementById(Tt);if(cn){if(rn=cn.getAttributeNode("id"),rn&&rn.value===Tt)return[cn];for(vn=Ut.getElementsByName(Tt),un=0;cn=vn[un++];)if(rn=cn.getAttributeNode("id"),rn&&rn.value===Tt)return[cn]}return[]}}),X.find.TAG=function(Tt,Ut){return typeof Ut.getElementsByTagName<"u"?Ut.getElementsByTagName(Tt):Ut.querySelectorAll(Tt)},X.find.CLASS=function(Tt,Ut){if(typeof Ut.getElementsByClassName<"u"&&tt)return Ut.getElementsByClassName(Tt)},ut=[],Ya(function(Tt){var Ut;ot.appendChild(Tt).innerHTML="<a id='"+Ft+"' href='' disabled='disabled'></a><select id='"+Ft+"-\r\\' disabled='disabled'><option selected=''></option></select>",Tt.querySelectorAll("[selected]").length||ut.push("\\["+D+"*(?:value|"+jo+")"),Tt.querySelectorAll("[id~="+Ft+"-]").length||ut.push("~="),Tt.querySelectorAll("a#"+Ft+"+*").length||ut.push(".#.+[+~]"),Tt.querySelectorAll(":checked").length||ut.push(":checked"),Ut=Ae.createElement("input"),Ut.setAttribute("type","hidden"),Tt.appendChild(Ut).setAttribute("name","D"),ot.appendChild(Tt).disabled=!0,Tt.querySelectorAll(":disabled").length!==2&&ut.push(":enabled",":disabled"),Ut=Ae.createElement("input"),Ut.setAttribute("name",""),Tt.appendChild(Ut),Tt.querySelectorAll("[name='']").length||ut.push("\\["+D+"*name"+D+"*="+D+`*(?:''|"")`)}),h.cssHas||ut.push(":has"),ut=ut.length&&new RegExp(ut.join("|")),Tr=function(Tt,Ut){if(Tt===Ut)return ye=!0,0;var rn=!Tt.compareDocumentPosition-!Ut.compareDocumentPosition;return rn||(rn=(Tt.ownerDocument||Tt)==(Ut.ownerDocument||Ut)?Tt.compareDocumentPosition(Ut):1,rn&1||!h.sortDetached&&Ut.compareDocumentPosition(Tt)===rn?Tt===Ae||Tt.ownerDocument==P&&pr.contains(P,Tt)?-1:Ut===Ae||Ut.ownerDocument==P&&pr.contains(P,Ut)?1:ae?c.call(ae,Tt)-c.call(ae,Ut):0:rn&4?-1:1)}),Ae}pr.matches=function(We,st){return pr(We,null,null,st)},pr.matchesSelector=function(We,st){if(fs(We),tt&&!Xr[st+" "]&&(!ut||!ut.test(st)))try{var St=At.call(We,st);if(St||h.disconnectedMatch||We.document&&We.document.nodeType!==11)return St}catch{Xr(st,!0)}return pr(st,Ae,null,[We]).length>0},pr.contains=function(We,st){return(We.ownerDocument||We)!=Ae&&fs(We),y.contains(We,st)},pr.attr=function(We,st){(We.ownerDocument||We)!=Ae&&fs(We);var St=X.attrHandle[st.toLowerCase()],Tt=St&&u.call(X.attrHandle,st.toLowerCase())?St(We,st,!tt):void 0;return Tt!==void 0?Tt:We.getAttribute(st)},pr.error=function(We){throw new Error("Syntax error, unrecognized expression: "+We)},y.uniqueSort=function(We){var st,St=[],Tt=0,Ut=0;if(ye=!h.sortStable,ae=!h.sortStable&&r.call(We,0),F.call(We,Tr),ye){for(;st=We[Ut++];)st===We[Ut]&&(Tt=St.push(Ut));for(;Tt--;)B.call(We,St[Tt],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:Hn,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,ds),We[3]=(We[3]||We[4]||We[5]||"").replace(fi,ds),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]||pr.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]&&pr.error(We[0]),We},PSEUDO:function(We){var st,St=!We[6]&&We[2];return Hn.CHILD.test(We[0])?null:(We[3]?We[2]=We[4]||We[5]||"":St&&xn.test(St)&&(st=Fl(St,!0))&&(st=St.indexOf(")",St.length-st)-St.length)&&(We[0]=We[0].slice(0,st),We[2]=St.slice(0,st)),We.slice(0,3))}},filter:{TAG:function(We){var st=We.replace(fi,ds).toLowerCase();return We==="*"?function(){return!0}:function(St){return C(St,st)}},CLASS:function(We){var st=In[We+" "];return st||(st=new RegExp("(^|"+D+")"+We+"("+D+"|$)"))&&In(We,function(St){return st.test(typeof St.className=="string"&&St.className||typeof St.getAttribute<"u"&&St.getAttribute("class")||"")})},ATTR:function(We,st,St){return function(Tt){var Ut=pr.attr(Tt,We);return Ut==null?st==="!=":st?(Ut+="",st==="="?Ut===St:st==="!="?Ut!==St:st==="^="?St&&Ut.indexOf(St)===0:st==="*="?St&&Ut.indexOf(St)>-1:st==="$="?St&&Ut.slice(-St.length)===St:st==="~="?(" "+Ut.replace(_t," ")+" ").indexOf(St)>-1:st==="|="?Ut===St||Ut.slice(0,St.length+1)===St+"-":!1):!0}},CHILD:function(We,st,St,Tt,Ut){var rn=We.slice(0,3)!=="nth",un=We.slice(-4)!=="last",vn=st==="of-type";return Tt===1&&Ut===0?function(cn){return!!cn.parentNode}:function(cn,Wn,Mn){var Rn,tr,kn,Sr,ko,mo=rn!==un?"nextSibling":"previousSibling",hi=cn.parentNode,gi=vn&&cn.nodeName.toLowerCase(),Ni=!Mn&&!vn,To=!1;if(hi){if(rn){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[Ft]||(hi[Ft]={}),Rn=tr[We]||[],Sr=Rn[0]===xt&&Rn[1],To=Sr&&Rn[2],kn=Sr&&hi.childNodes[Sr];kn=++Sr&&kn&&kn[mo]||(To=Sr=0)||ko.pop();)if(kn.nodeType===1&&++To&&kn===cn){tr[We]=[xt,Sr,To];break}}else if(Ni&&(tr=cn[Ft]||(cn[Ft]={}),Rn=tr[We]||[],Sr=Rn[0]===xt&&Rn[1],To=Sr),To===!1)for(;(kn=++Sr&&kn&&kn[mo]||(To=Sr=0)||ko.pop())&&!((vn?C(kn,gi):kn.nodeType===1)&&++To&&(Ni&&(tr=kn[Ft]||(kn[Ft]={}),tr[We]=[xt,To]),kn===cn)););return To-=Ut,To===Tt||To%Tt===0&&To/Tt>=0}}},PSEUDO:function(We,st){var St,Tt=X.pseudos[We]||X.setFilters[We.toLowerCase()]||pr.error("unsupported pseudo: "+We);return Tt[Ft]?Tt(st):Tt.length>1?(St=[We,We,"",st],X.setFilters.hasOwnProperty(We.toLowerCase())?Oi(function(Ut,rn){for(var un,vn=Tt(Ut,st),cn=vn.length;cn--;)un=c.call(Ut,vn[cn]),Ut[un]=!(rn[un]=vn[cn])}):function(Ut){return Tt(Ut,0,St)}):Tt}},pseudos:{not:Oi(function(We){var st=[],St=[],Tt=yu(We.replace(L,"$1"));return Tt[Ft]?Oi(function(Ut,rn,un,vn){for(var cn,Wn=Tt(Ut,null,vn,[]),Mn=Ut.length;Mn--;)(cn=Wn[Mn])&&(Ut[Mn]=!(rn[Mn]=cn))}):function(Ut,rn,un){return st[0]=Ut,Tt(st,null,un,St),st[0]=null,!St.pop()}}),has:Oi(function(We){return function(st){return pr(We,st).length>0}}),contains:Oi(function(We){return We=We.replace(fi,ds),function(st){return(st.textContent||y.text(st)).indexOf(We)>-1}}),lang:Oi(function(We){return ar.test(We||"")||pr.error("unsupported lang: "+We),We=We.replace(fi,ds).toLowerCase(),function(st){var St;do if(St=tt?st.lang:st.getAttribute("xml:lang")||st.getAttribute("lang"))return St=St.toLowerCase(),St===We||St.indexOf(We+"-")===0;while((st=st.parentNode)&&st.nodeType===1);return!1}}),target:function(We){var st=t.location&&t.location.hash;return st&&st.slice(1)===We.id},root:function(We){return We===ot},focus:function(We){return We===Ph()&&Ae.hasFocus()&&!!(We.type||We.href||~We.tabIndex)},enabled:Za(!1),disabled:Za(!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 st;return C(We,"input")&&We.type==="text"&&((st=We.getAttribute("type"))==null||st.toLowerCase()==="text")},first:Ts(function(){return[0]}),last:Ts(function(We,st){return[st-1]}),eq:Ts(function(We,st,St){return[St<0?St+st:St]}),even:Ts(function(We,st){for(var St=0;St<st;St+=2)We.push(St);return We}),odd:Ts(function(We,st){for(var St=1;St<st;St+=2)We.push(St);return We}),lt:Ts(function(We,st,St){var Tt;for(St<0?Tt=St+st:St>st?Tt=st:Tt=St;--Tt>=0;)We.push(Tt);return We}),gt:Ts(function(We,st,St){for(var Tt=St<0?St+st:St;++Tt<st;)We.push(Tt);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[$]=g0($);function gu(){}gu.prototype=X.filters=X.pseudos,X.setFilters=new gu;function Fl(We,st){var St,Tt,Ut,rn,un,vn,cn,Wn=rr[We+" "];if(Wn)return st?0:Wn.slice(0);for(un=We,vn=[],cn=X.preFilter;un;){(!St||(Tt=Vt.exec(un)))&&(Tt&&(un=un.slice(Tt[0].length)||un),vn.push(Ut=[])),St=!1,(Tt=jn.exec(un))&&(St=Tt.shift(),Ut.push({value:St,type:Tt[0].replace(L," ")}),un=un.slice(St.length));for(rn in X.filter)(Tt=Hn[rn].exec(un))&&(!cn[rn]||(Tt=cn[rn](Tt)))&&(St=Tt.shift(),Ut.push({value:St,type:rn,matches:Tt}),un=un.slice(St.length));if(!St)break}return st?un.length:un?pr.error(We):rr(We,vn).slice(0)}function ps(We){for(var st=0,St=We.length,Tt="";st<St;st++)Tt+=We[st].value;return Tt}function Xa(We,st,St){var Tt=st.dir,Ut=st.next,rn=Ut||Tt,un=St&&rn==="parentNode",vn=Yt++;return st.first?function(cn,Wn,Mn){for(;cn=cn[Tt];)if(cn.nodeType===1||un)return We(cn,Wn,Mn);return!1}:function(cn,Wn,Mn){var Rn,tr,kn=[xt,vn];if(Mn){for(;cn=cn[Tt];)if((cn.nodeType===1||un)&&We(cn,Wn,Mn))return!0}else for(;cn=cn[Tt];)if(cn.nodeType===1||un)if(tr=cn[Ft]||(cn[Ft]={}),Ut&&C(cn,Ut))cn=cn[Tt]||cn;else{if((Rn=tr[rn])&&Rn[0]===xt&&Rn[1]===vn)return kn[2]=Rn[2];if(tr[rn]=kn,kn[2]=We(cn,Wn,Mn))return!0}return!1}}function ca(We){return We.length>1?function(st,St,Tt){for(var Ut=We.length;Ut--;)if(!We[Ut](st,St,Tt))return!1;return!0}:We[0]}function Vd(We,st,St){for(var Tt=0,Ut=st.length;Tt<Ut;Tt++)pr(We,st[Tt],St);return St}function Bl(We,st,St,Tt,Ut){for(var rn,un=[],vn=0,cn=We.length,Wn=st!=null;vn<cn;vn++)(rn=We[vn])&&(!St||St(rn,Tt,Ut))&&(un.push(rn),Wn&&st.push(vn));return un}function mu(We,st,St,Tt,Ut,rn){return Tt&&!Tt[Ft]&&(Tt=mu(Tt)),Ut&&!Ut[Ft]&&(Ut=mu(Ut,rn)),Oi(function(un,vn,cn,Wn){var Mn,Rn,tr,kn,Sr=[],ko=[],mo=vn.length,hi=un||Vd(st||"*",cn.nodeType?[cn]:cn,[]),gi=We&&(un||!st)?Bl(hi,Sr,We,cn,Wn):hi;if(St?(kn=Ut||(un?We:mo||Tt)?[]:vn,St(gi,kn,cn,Wn)):kn=gi,Tt)for(Mn=Bl(kn,ko),Tt(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):Sr[Rn])>-1&&(un[Mn]=!(vn[Mn]=tr))}}else kn=Bl(kn===vn?kn.splice(mo,kn.length):kn),Ut?Ut(null,vn,kn,Wn):_e.apply(vn,kn)})}function zl(We){for(var st,St,Tt,Ut=We.length,rn=X.relative[We[0].type],un=rn||X.relative[" "],vn=rn?1:0,cn=Xa(function(Rn){return Rn===st},un,!0),Wn=Xa(function(Rn){return c.call(st,Rn)>-1},un,!0),Mn=[function(Rn,tr,kn){var Sr=!rn&&(kn||tr!=te)||((st=tr).nodeType?cn(Rn,tr,kn):Wn(Rn,tr,kn));return st=null,Sr}];vn<Ut;vn++)if(St=X.relative[We[vn].type])Mn=[Xa(ca(Mn),St)];else{if(St=X.filter[We[vn].type].apply(null,We[vn].matches),St[Ft]){for(Tt=++vn;Tt<Ut&&!X.relative[We[Tt].type];Tt++);return mu(vn>1&&ca(Mn),vn>1&&ps(We.slice(0,vn-1).concat({value:We[vn-2].type===" "?"*":""})).replace(L,"$1"),St,vn<Tt&&zl(We.slice(vn,Tt)),Tt<Ut&&zl(We=We.slice(Tt)),Tt<Ut&&ps(We))}Mn.push(St)}return ca(Mn)}function Ul(We,st){var St=st.length>0,Tt=We.length>0,Ut=function(rn,un,vn,cn,Wn){var Mn,Rn,tr,kn=0,Sr="0",ko=rn&&[],mo=[],hi=te,gi=rn||Tt&&X.find.TAG("*",Wn),Ni=xt+=hi==null?1:Math.random()||.1,To=gi.length;for(Wn&&(te=un==Ae||un||Wn);Sr!==To&&(Mn=gi[Sr])!=null;Sr++){if(Tt&&Mn){for(Rn=0,!un&&Mn.ownerDocument!=Ae&&(fs(Mn),vn=!tt);tr=We[Rn++];)if(tr(Mn,un||Ae,vn)){_e.call(cn,Mn);break}Wn&&(xt=Ni)}St&&((Mn=!tr&&Mn)&&kn--,rn&&ko.push(Mn))}if(kn+=Sr,St&&Sr!==kn){for(Rn=0;tr=st[Rn++];)tr(ko,mo,un,vn);if(rn){if(kn>0)for(;Sr--;)ko[Sr]||mo[Sr]||(mo[Sr]=T.call(cn));mo=Bl(mo)}_e.apply(cn,mo),Wn&&!rn&&mo.length>0&&kn+st.length>1&&y.uniqueSort(cn)}return Wn&&(xt=Ni,te=hi),ko};return St?Oi(Ut):Ut}function yu(We,st){var St,Tt=[],Ut=[],rn=Dn[We+" "];if(!rn){for(st||(st=Fl(We)),St=st.length;St--;)rn=zl(st[St]),rn[Ft]?Tt.push(rn):Ut.push(rn);rn=Dn(We,Ul(Ut,Tt)),rn.selector=We}return rn}function Kd(We,st,St,Tt){var Ut,rn,un,vn,cn,Wn=typeof We=="function"&&We,Mn=!Tt&&Fl(We=Wn.selector||We);if(St=St||[],Mn.length===1){if(rn=Mn[0]=Mn[0].slice(0),rn.length>2&&(un=rn[0]).type==="ID"&&st.nodeType===9&&tt&&X.relative[rn[1].type]){if(st=(X.find.ID(un.matches[0].replace(fi,ds),st)||[])[0],st)Wn&&(st=st.parentNode);else return St;We=We.slice(rn.shift().value.length)}for(Ut=Hn.needsContext.test(We)?0:rn.length;Ut--&&(un=rn[Ut],!X.relative[vn=un.type]);)if((cn=X.find[vn])&&(Tt=cn(un.matches[0].replace(fi,ds),Ti.test(rn[0].type)&&hu(st.parentNode)||st))){if(rn.splice(Ut,1),We=Tt.length&&ps(rn),!We)return _e.apply(St,Tt),St;break}}return(Wn||yu(We,Mn))(Tt,st,!tt,St,!st||Ti.test(We)&&hu(st.parentNode)||st),St}h.sortStable=Ft.split("").sort(Tr).join("")===Ft,fs(),h.sortDetached=Ya(function(We){return We.compareDocumentPosition(Ae.createElement("fieldset"))&1}),y.find=pr,y.expr[":"]=y.expr.pseudos,y.unique=y.uniqueSort,pr.compile=yu,pr.select=Kd,pr.setDocument=fs,pr.tokenize=Fl,pr.escape=y.escapeSelector,pr.getText=y.text,pr.isXML=y.isXMLDoc,pr.selectors=y.expr,pr.support=y.support,pr.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=[],ot=-1,tt=function(){for(ye=ye||$.once,ae=X=!0;Ae.length;ot=-1)for(te=Ae.shift();++ot<_e.length;)_e[ot].apply(te[0],te[1])===!1&&$.stopOnFalse&&(ot=_e.length,te=!1);$.memory||(te=!1),X=!1,ye&&(te?_e=[]:_e="")},ut={add:function(){return _e&&(te&&!X&&(ot=_e.length-1,Ae.push(te)),function At(Ft){y.each(Ft,function(xt,Yt){m(Yt)?(!$.unique||!ut.has(Yt))&&_e.push(Yt):Yt&&Yt.length&&S(Yt)!=="string"&&At(Yt)})}(arguments),te&&!X&&tt()),this},remove:function(){return y.each(arguments,function(At,Ft){for(var xt;(xt=y.inArray(Ft,_e,xt))>-1;)_e.splice(xt,1),xt<=ot&&ot--}),this},has:function(At){return At?y.inArray(At,_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(At,Ft){return ye||(Ft=Ft||[],Ft=[At,Ft.slice?Ft.slice():Ft],Ae.push(Ft),X||tt()),this},fire:function(){return ut.fireWith(this,arguments),this},fired:function(){return!!ae}};return ut};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(ot,tt){var ut=m(_e[tt[4]])&&_e[tt[4]];ye[tt[1]](function(){var At=ut&&ut.apply(this,arguments);At&&m(At.promise)?At.promise().progress(Ae.notify).done(Ae.resolve).fail(Ae.reject):Ae[tt[0]+"With"](this,ut?[At]:arguments)})}),_e=null}).promise()},then:function(_e,Ae,ot){var tt=0;function ut(At,Ft,xt,Yt){return function(){var In=this,rr=arguments,Dn=function(){var Tr,jo;if(!(At<tt)){if(Tr=xt.apply(In,rr),Tr===Ft.promise())throw new TypeError("Thenable self-resolution");jo=Tr&&(typeof Tr=="object"||typeof Tr=="function")&&Tr.then,m(jo)?Yt?jo.call(Tr,ut(tt,Ft,Y,Yt),ut(tt,Ft,ee,Yt)):(tt++,jo.call(Tr,ut(tt,Ft,Y,Yt),ut(tt,Ft,ee,Yt),ut(tt,Ft,Y,Ft.notifyWith))):(xt!==Y&&(In=void 0,rr=[Tr]),(Yt||Ft.resolveWith)(In,rr))}},Xr=Yt?Dn:function(){try{Dn()}catch(Tr){y.Deferred.exceptionHook&&y.Deferred.exceptionHook(Tr,Xr.error),At+1>=tt&&(xt!==ee&&(In=void 0,rr=[Tr]),Ft.rejectWith(In,rr))}};At?Xr():(y.Deferred.getErrorHook?Xr.error=y.Deferred.getErrorHook():y.Deferred.getStackHook&&(Xr.error=y.Deferred.getStackHook()),t.setTimeout(Xr))}}return y.Deferred(function(At){X[0][3].add(ut(0,At,m(ot)?ot:Y,At.notifyWith)),X[1][3].add(ut(0,At,m(_e)?_e:Y)),X[2][3].add(ut(0,At,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 ot=Ae[2],tt=Ae[5];ae[Ae[1]]=ot.add,tt&&ot.add(function(){te=tt},X[3-_e][2].disable,X[3-_e][3].disable,X[0][2].lock,X[0][3].lock),ot.add(Ae[3].fire),ye[Ae[0]]=function(){return ye[Ae[0]+"With"](this===ye?void 0:this,arguments),this},ye[Ae[0]+"With"]=ot.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(ot){return function(tt){ae[ot]=this,ye[ot]=arguments.length>1?r.call(arguments):tt,--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 fe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;y.Deferred.exceptionHook=function($,X){t.console&&t.console.warn&&$&&fe.test($.name)&&t.console.warn("jQuery.Deferred exception: "+$.message,$.stack,X)},y.readyException=function($){t.setTimeout(function(){throw $})};var de=y.Deferred();y.fn.ready=function($){return de.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)&&de.resolveWith(_,[y]))}}),y.ready.then=de.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 ot=0,tt=$.length,ut=te==null;if(S(te)==="object"){ye=!0;for(ot in te)Se($,X,ot,te[ot],!0,_e,Ae)}else if(ae!==void 0&&(ye=!0,m(ae)||(Ae=!0),ut&&(Ae?(X.call($,ae),X=null):(ut=X,X=function(At,Ft,xt){return ut.call(y(At),xt)})),X))for(;ot<tt;ot++)X($[ot],te,Ae?ae:ae.call($[ot],ot,X($[ot],te)));return ye?$:ut?X.call($):tt?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(ot){var tt;if(_e&&ot===void 0)return tt=ke.get(_e,$),tt!==void 0||(tt=qe(_e,$),tt!==void 0)?tt:void 0;this.each(function(){ke.set(this,$,ot)})},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,ot=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(ot));return ot(),ye.promise(X)}});var Le=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Re=new RegExp("^(?:([+-])=|)("+Le+")([a-z%]*)$","i"),Ee=["Top","Right","Bottom","Left"],ze=_.documentElement,Oe=function($){return y.contains($.ownerDocument,$)},Ge={composed:!0};ze.getRootNode&&(Oe=function($){return y.contains($.ownerDocument,$)||$.getRootNode(Ge)===$.ownerDocument});var Ke=function($,X){return $=X||$,$.style.display==="none"||$.style.display===""&&Oe($)&&y.css($,"display")==="none"};function et($,X,te,ae){var ye,_e,Ae=20,ot=ae?function(){return ae.cur()}:function(){return y.css($,X,"")},tt=ot(),ut=te&&te[3]||(y.cssNumber[X]?"":"px"),At=$.nodeType&&(y.cssNumber[X]||ut!=="px"&&+tt)&&Re.exec(y.css($,X));if(At&&At[3]!==ut){for(tt=tt/2,ut=ut||At[3],At=+tt||1;Ae--;)y.style($,X,At+ut),(1-_e)*(1-(_e=ot()/tt||.5))<=0&&(Ae=0),At=At/_e;At=At*2,y.style($,X,At+ut),te=te||[]}return te&&(At=+At||+tt||0,ye=te[1]?At+(te[1]+1)*te[2]:+te[2],ae&&(ae.unit=ut,ae.start=At,ae.end=ye)),ye}var nt={};function zt($){var X,te=$.ownerDocument,ae=$.nodeName,ye=nt[ae];return ye||(X=te.body.appendChild(te.createElement(ae)),ye=y.css(X,"display"),X.parentNode.removeChild(X),ye==="none"&&(ye="block"),nt[ae]=ye,ye)}function Qe($,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===""&&Ke(ae)&&(ye[_e]=zt(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 Qe(this,!0)},hide:function(){return Qe(this)},toggle:function($){return typeof $=="boolean"?$?this.show():this.hide():this.each(function(){Ke(this)?y(this).show():y(this).hide()})}});var Bt=/^(?:checkbox|radio)$/i,Zt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,on=/^$|^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 tn={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,"",""]};tn.tbody=tn.tfoot=tn.colgroup=tn.caption=tn.thead,tn.th=tn.td,h.option||(tn.optgroup=tn.option=[1,"<select multiple='multiple'>","</select>"]);function bt($,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 Dt($,X){for(var te=0,ae=$.length;te<ae;te++)le.set($[te],"globalEval",!X||le.get(X[te],"globalEval"))}var ln=/<|&#?\w+;/;function Ht($,X,te,ae,ye){for(var _e,Ae,ot,tt,ut,At,Ft=X.createDocumentFragment(),xt=[],Yt=0,In=$.length;Yt<In;Yt++)if(_e=$[Yt],_e||_e===0)if(S(_e)==="object")y.merge(xt,_e.nodeType?[_e]:_e);else if(!ln.test(_e))xt.push(X.createTextNode(_e));else{for(Ae=Ae||Ft.appendChild(X.createElement("div")),ot=(Zt.exec(_e)||["",""])[1].toLowerCase(),tt=tn[ot]||tn._default,Ae.innerHTML=tt[1]+y.htmlPrefilter(_e)+tt[2],At=tt[0];At--;)Ae=Ae.lastChild;y.merge(xt,Ae.childNodes),Ae=Ft.firstChild,Ae.textContent=""}for(Ft.textContent="",Yt=0;_e=xt[Yt++];){if(ae&&y.inArray(_e,ae)>-1){ye&&ye.push(_e);continue}if(ut=Oe(_e),Ae=bt(Ft.appendChild(_e),"script"),ut&&Dt(Ae),te)for(At=0;_e=Ae[At++];)on.test(_e.type||"")&&te.push(_e)}return Ft}var sn=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function Je(){return!1}function Ie($,X,te,ae,ye,_e){var Ae,ot;if(typeof X=="object"){typeof te!="string"&&(ae=ae||te,te=void 0);for(ot in X)Ie($,ot,te,ae,X[ot],_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(tt){return y().off(tt),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,ot,tt,ut,At,Ft,xt,Yt,In,rr,Dn=le.get($);if(se($))for(te.handler&&(_e=te,te=_e.handler,ye=_e.selector),ye&&y.find.matchesSelector(ze,ye),te.guid||(te.guid=y.guid++),(tt=Dn.events)||(tt=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)||[""],ut=X.length;ut--;)ot=sn.exec(X[ut])||[],Yt=rr=ot[1],In=(ot[2]||"").split(".").sort(),Yt&&(Ft=y.event.special[Yt]||{},Yt=(ye?Ft.delegateType:Ft.bindType)||Yt,Ft=y.event.special[Yt]||{},At=y.extend({type:Yt,origType:rr,data:ae,handler:te,guid:te.guid,selector:ye,needsContext:ye&&y.expr.match.needsContext.test(ye),namespace:In.join(".")},_e),(xt=tt[Yt])||(xt=tt[Yt]=[],xt.delegateCount=0,(!Ft.setup||Ft.setup.call($,ae,In,Ae)===!1)&&$.addEventListener&&$.addEventListener(Yt,Ae)),Ft.add&&(Ft.add.call($,At),At.handler.guid||(At.handler.guid=te.guid)),ye?xt.splice(xt.delegateCount++,0,At):xt.push(At),y.event.global[Yt]=!0)},remove:function($,X,te,ae,ye){var _e,Ae,ot,tt,ut,At,Ft,xt,Yt,In,rr,Dn=le.hasData($)&&le.get($);if(!(!Dn||!(tt=Dn.events))){for(X=(X||"").match(Z)||[""],ut=X.length;ut--;){if(ot=sn.exec(X[ut])||[],Yt=rr=ot[1],In=(ot[2]||"").split(".").sort(),!Yt){for(Yt in tt)y.event.remove($,Yt+X[ut],te,ae,!0);continue}for(Ft=y.event.special[Yt]||{},Yt=(ae?Ft.delegateType:Ft.bindType)||Yt,xt=tt[Yt]||[],ot=ot[2]&&new RegExp("(^|\\.)"+In.join("\\.(?:.*\\.|)")+"(\\.|$)"),Ae=_e=xt.length;_e--;)At=xt[_e],(ye||rr===At.origType)&&(!te||te.guid===At.guid)&&(!ot||ot.test(At.namespace))&&(!ae||ae===At.selector||ae==="**"&&At.selector)&&(xt.splice(_e,1),At.selector&&xt.delegateCount--,Ft.remove&&Ft.remove.call($,At));Ae&&!xt.length&&((!Ft.teardown||Ft.teardown.call($,In,Dn.handle)===!1)&&y.removeEvent($,Yt,Dn.handle),delete tt[Yt])}y.isEmptyObject(tt)&&le.remove($,"handle events")}},dispatch:function($){var X,te,ae,ye,_e,Ae,ot=new Array(arguments.length),tt=y.event.fix($),ut=(le.get(this,"events")||Object.create(null))[tt.type]||[],At=y.event.special[tt.type]||{};for(ot[0]=tt,X=1;X<arguments.length;X++)ot[X]=arguments[X];if(tt.delegateTarget=this,!(At.preDispatch&&At.preDispatch.call(this,tt)===!1)){for(Ae=y.event.handlers.call(this,tt,ut),X=0;(ye=Ae[X++])&&!tt.isPropagationStopped();)for(tt.currentTarget=ye.elem,te=0;(_e=ye.handlers[te++])&&!tt.isImmediatePropagationStopped();)(!tt.rnamespace||_e.namespace===!1||tt.rnamespace.test(_e.namespace))&&(tt.handleObj=_e,tt.data=_e.data,ae=((y.event.special[_e.origType]||{}).handle||_e.handler).apply(ye.elem,ot),ae!==void 0&&(tt.result=ae)===!1&&(tt.preventDefault(),tt.stopPropagation()));return At.postDispatch&&At.postDispatch.call(this,tt),tt.result}},handlers:function($,X){var te,ae,ye,_e,Ae,ot=[],tt=X.delegateCount,ut=$.target;if(tt&&ut.nodeType&&!($.type==="click"&&$.button>=1)){for(;ut!==this;ut=ut.parentNode||this)if(ut.nodeType===1&&!($.type==="click"&&ut.disabled===!0)){for(_e=[],Ae={},te=0;te<tt;te++)ae=X[te],ye=ae.selector+" ",Ae[ye]===void 0&&(Ae[ye]=ae.needsContext?y(ye,this).index(ut)>-1:y.find(ye,this,null,[ut]).length),Ae[ye]&&_e.push(ae);_e.length&&ot.push({elem:ut,handlers:_e})}}return ut=this,tt<X.length&&ot.push({elem:ut,handlers:X.slice(tt)}),ot},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 Bt.test(X.type)&&X.click&&C(X,"input")&&He(X,"click",!0),!1},trigger:function($){var X=this||$;return Bt.test(X.type)&&X.click&&C(X,"input")&&He(X,"click"),!0},_default:function($){var X=$.target;return Bt.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 He($,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(He(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 He(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 ct=/<script|<style|<link/i,vt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Xe($,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 Ye($){return($.type||"").slice(0,5)==="true/"?$.type=$.type.slice(5):$.removeAttribute("type"),$}function lt($,X){var te,ae,ye,_e,Ae,ot,tt;if(X.nodeType===1){if(le.hasData($)&&(_e=le.get($),tt=_e.events,tt)){le.remove(X,"handle events");for(ye in tt)for(te=0,ae=tt[ye].length;te<ae;te++)y.event.add(X,ye,tt[ye][te])}ke.hasData($)&&(Ae=ke.access($),ot=y.extend({},Ae),ke.set(X,ot))}}function Nt($,X){var te=X.nodeName.toLowerCase();te==="input"&&Bt.test($.type)?X.checked=$.checked:(te==="input"||te==="textarea")&&(X.defaultValue=$.defaultValue)}function Kt($,X,te,ae){X=o(X);var ye,_e,Ae,ot,tt,ut,At=0,Ft=$.length,xt=Ft-1,Yt=X[0],In=m(Yt);if(In||Ft>1&&typeof Yt=="string"&&!h.checkClone&&vt.test(Yt))return $.each(function(rr){var Dn=$.eq(rr);In&&(X[0]=Yt.call(this,rr,Dn.html())),Kt(Dn,X,te,ae)});if(Ft&&(ye=Ht(X,$[0].ownerDocument,!1,$,ae),_e=ye.firstChild,ye.childNodes.length===1&&(ye=_e),_e||ae)){for(Ae=y.map(bt(ye,"script"),Fe),ot=Ae.length;At<Ft;At++)tt=ye,At!==xt&&(tt=y.clone(tt,!0,!0),ot&&y.merge(Ae,bt(tt,"script"))),te.call($[At],tt,At);if(ot)for(ut=Ae[Ae.length-1].ownerDocument,y.map(Ae,Ye),At=0;At<ot;At++)tt=Ae[At],on.test(tt.type||"")&&!le.access(tt,"globalEval")&&y.contains(ut,tt)&&(tt.src&&(tt.type||"").toLowerCase()!=="module"?y._evalUrl&&!tt.noModule&&y._evalUrl(tt.src,{nonce:tt.nonce||tt.getAttribute("nonce")},ut):w(tt.textContent.replace(Ot,""),tt,ut))}return $}function Gt($,X,te){for(var ae,ye=X?y.filter(X,$):$,_e=0;(ae=ye[_e])!=null;_e++)!te&&ae.nodeType===1&&y.cleanData(bt(ae)),ae.parentNode&&(te&&Oe(ae)&&Dt(bt(ae,"script")),ae.parentNode.removeChild(ae));return $}y.extend({htmlPrefilter:function($){return $},clone:function($,X,te){var ae,ye,_e,Ae,ot=$.cloneNode(!0),tt=Oe($);if(!h.noCloneChecked&&($.nodeType===1||$.nodeType===11)&&!y.isXMLDoc($))for(Ae=bt(ot),_e=bt($),ae=0,ye=_e.length;ae<ye;ae++)Nt(_e[ae],Ae[ae]);if(X)if(te)for(_e=_e||bt($),Ae=Ae||bt(ot),ae=0,ye=_e.length;ae<ye;ae++)lt(_e[ae],Ae[ae]);else lt($,ot);return Ae=bt(ot,"script"),Ae.length>0&&Dt(Ae,!tt&&bt($,"script")),ot},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 Gt(this,$,!0)},remove:function($){return Gt(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=Xe(this,$);X.appendChild($)}})},prepend:function(){return Kt(this,arguments,function($){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var X=Xe(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(bt($,!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"&&!ct.test(X)&&!tn[(Zt.exec(X)||["",""])[1].toLowerCase()]){X=y.htmlPrefilter(X);try{for(;ae<ye;ae++)te=this[ae]||{},te.nodeType===1&&(y.cleanData(bt(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(bt(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,ot=0;ot<=Ae;ot++)ae=ot===Ae?this:this.clone(!0),y(_e[ot])[X](ae),s.apply(ye,ae.get());return this.pushStack(ye)}});var Pt=new RegExp("^("+Le+")(?!px)[a-z%]+$","i"),Pe=/^--/,Ue=function($){var X=$.ownerDocument.defaultView;return(!X||!X.opener)&&(X=t),X.getComputedStyle($)},dt=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(ut){tt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ut.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ze.appendChild(tt).appendChild(ut);var At=t.getComputedStyle(ut);te=At.top!=="1%",ot=X(At.marginLeft)===12,ut.style.right="60%",_e=X(At.right)===36,ae=X(At.width)===36,ut.style.position="absolute",ye=X(ut.offsetWidth/3)===12,ze.removeChild(tt),ut=null}}function X(At){return Math.round(parseFloat(At))}var te,ae,ye,_e,Ae,ot,tt=_.createElement("div"),ut=_.createElement("div");ut.style&&(ut.style.backgroundClip="content-box",ut.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle=ut.style.backgroundClip==="content-box",y.extend(h,{boxSizingReliable:function(){return $(),ae},pixelBoxStyles:function(){return $(),_e},pixelPosition:function(){return $(),te},reliableMarginLeft:function(){return $(),ot},scrollboxSize:function(){return $(),ye},reliableTrDimensions:function(){var At,Ft,xt,Yt;return Ae==null&&(At=_.createElement("table"),Ft=_.createElement("tr"),xt=_.createElement("div"),At.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ft.style.cssText="box-sizing:content-box;border:1px solid",Ft.style.height="1px",xt.style.height="9px",xt.style.display="block",ze.appendChild(At).appendChild(Ft).appendChild(xt),Yt=t.getComputedStyle(Ft),Ae=parseInt(Yt.height,10)+parseInt(Yt.borderTopWidth,10)+parseInt(Yt.borderBottomWidth,10)===Ft.offsetHeight,ze.removeChild(At)),Ae}}))})();function $e($,X,te){var ae,ye,_e,Ae,ot=Pe.test(X),tt=$.style;return te=te||Ue($),te&&(Ae=te.getPropertyValue(X)||te[X],ot&&Ae&&(Ae=Ae.replace(L,"$1")||void 0),Ae===""&&!Oe($)&&(Ae=y.style($,X)),!h.pixelBoxStyles()&&Pt.test(Ae)&&ve.test(X)&&(ae=tt.width,ye=tt.minWidth,_e=tt.maxWidth,tt.minWidth=tt.maxWidth=tt.width=Ae,Ae=te.width,tt.width=ae,tt.minWidth=ye,tt.maxWidth=_e)),Ae!==void 0?Ae+"":Ae}function it($,X){return{get:function(){if($()){delete this.get;return}return(this.get=X).apply(this,arguments)}}}var rt=["Webkit","Moz","ms"],mt=_.createElement("div").style,ht={};function xe($){for(var X=$[0].toUpperCase()+$.slice(1),te=rt.length;te--;)if($=rt[te]+X,$ in mt)return $}function Ze($){var X=y.cssProps[$]||ht[$];return X||($ in mt?$:ht[$]=xe($)||$)}var gt=/^(none|table(?!-c[ea]).+)/,Rt={position:"absolute",visibility:"hidden",display:"block"},Lt={letterSpacing:"0",fontWeight:"400"};function Xt($,X,te){var ae=Re.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,ot=0,tt=0,ut=0;if(te===(ae?"border":"content"))return 0;for(;Ae<4;Ae+=2)te==="margin"&&(ut+=y.css($,te+Ee[Ae],!0,ye)),ae?(te==="content"&&(tt-=y.css($,"padding"+Ee[Ae],!0,ye)),te!=="margin"&&(tt-=y.css($,"border"+Ee[Ae]+"Width",!0,ye))):(tt+=y.css($,"padding"+Ee[Ae],!0,ye),te!=="padding"?tt+=y.css($,"border"+Ee[Ae]+"Width",!0,ye):ot+=y.css($,"border"+Ee[Ae]+"Width",!0,ye));return!ae&&_e>=0&&(tt+=Math.max(0,Math.ceil($["offset"+X[0].toUpperCase()+X.slice(1)]-_e-tt-ot-.5))||0),tt+ut}function Qt($,X,te){var ae=Ue($),ye=!h.boxSizingReliable()||te,_e=ye&&y.css($,"boxSizing",!1,ae)==="border-box",Ae=_e,ot=$e($,X,ae),tt="offset"+X[0].toUpperCase()+X.slice(1);if(Pt.test(ot)){if(!te)return ot;ot="auto"}return(!h.boxSizingReliable()&&_e||!h.reliableTrDimensions()&&C($,"tr")||ot==="auto"||!parseFloat(ot)&&y.css($,"display",!1,ae)==="inline")&&$.getClientRects().length&&(_e=y.css($,"boxSizing",!1,ae)==="border-box",Ae=tt in $,Ae&&(ot=$[tt])),ot=parseFloat(ot)||0,ot+Jt($,X,te||(_e?"border":"content"),Ae,ae,ot)+"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,ot=ce(X),tt=Pe.test(X),ut=$.style;if(tt||(X=Ze(ot)),Ae=y.cssHooks[X]||y.cssHooks[ot],te!==void 0){if(_e=typeof te,_e==="string"&&(ye=Re.exec(te))&&ye[1]&&(te=et($,X,ye),_e="number"),te==null||te!==te)return;_e==="number"&&!tt&&(te+=ye&&ye[3]||(y.cssNumber[ot]?"":"px")),!h.clearCloneStyle&&te===""&&X.indexOf("background")===0&&(ut[X]="inherit"),(!Ae||!("set"in Ae)||(te=Ae.set($,te,ae))!==void 0)&&(tt?ut.setProperty(X,te):ut[X]=te)}else return Ae&&"get"in Ae&&(ye=Ae.get($,!1,ae))!==void 0?ye:ut[X]}},css:function($,X,te,ae){var ye,_e,Ae,ot=ce(X),tt=Pe.test(X);return tt||(X=Ze(ot)),Ae=y.cssHooks[X]||y.cssHooks[ot],Ae&&"get"in Ae&&(ye=Ae.get($,!0,te)),ye===void 0&&(ye=$e($,X,ae)),ye==="normal"&&X in Lt&&(ye=Lt[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 gt.test(y.css(te,"display"))&&(!te.getClientRects().length||!te.getBoundingClientRect().width)?dt(te,Rt,function(){return Qt(te,X,ye)}):Qt(te,X,ye)},set:function(te,ae,ye){var _e,Ae=Ue(te),ot=!h.scrollboxSize()&&Ae.position==="absolute",tt=ot||ye,ut=tt&&y.css(te,"boxSizing",!1,Ae)==="border-box",At=ye?Jt(te,X,ye,ut,Ae):0;return ut&&ot&&(At-=Math.ceil(te["offset"+X[0].toUpperCase()+X.slice(1)]-parseFloat(Ae[X])-Jt(te,X,"border",!1,Ae)-.5)),At&&(_e=Re.exec(ae))&&(_e[3]||"px")!=="px"&&(te.style[X]=ae,ae=y.css(te,X)),Xt(te,ae,At)}}}),y.cssHooks.marginLeft=it(h.reliableMarginLeft,function($,X){if(X)return(parseFloat($e($,"marginLeft"))||$.getBoundingClientRect().left-dt($,{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=Xt)}),y.fn.extend({css:function($,X){return Se(this,function(te,ae,ye){var _e,Ae,ot={},tt=0;if(Array.isArray(ae)){for(_e=Ue(te),Ae=ae.length;tt<Ae;tt++)ot[ae[tt]]=y.css(te,ae[tt],!1,_e);return ot}return ye!==void 0?y.style(te,ae,ye):y.css(te,ae)},$,X,arguments.length>1)}});function nn($,X,te,ae,ye){return new nn.prototype.init($,X,te,ae,ye)}y.Tween=nn,nn.prototype={constructor:nn,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 $=nn.propHooks[this.prop];return $&&$.get?$.get(this):nn.propHooks._default.get(this)},run:function($){var X,te=nn.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):nn.propHooks._default.set(this),this}},nn.prototype.init.prototype=nn.prototype,nn.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[Ze($.prop)]!=null)?y.style($.elem,$.prop,$.now+$.unit):$.elem[$.prop]=$.now}}},nn.propHooks.scrollTop=nn.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=nn.prototype.init,y.fx.step={};var qn,bn,En=/^(?:toggle|show|hide)$/,Zn=/queueHooks$/;function yr(){bn&&(_.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(yr):t.setTimeout(yr,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=(xr.tweeners[X]||[]).concat(xr.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,ot,tt,ut,At,Ft="width"in X||"height"in X,xt=this,Yt={},In=$.style,rr=$.nodeType&&Ke($),Dn=le.get($,"fxshow");te.queue||(Ae=y._queueHooks($,"fx"),Ae.unqueued==null&&(Ae.unqueued=0,ot=Ae.empty.fire,Ae.empty.fire=function(){Ae.unqueued||ot()}),Ae.unqueued++,xt.always(function(){xt.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;Yt[ae]=Dn&&Dn[ae]||y.style($,ae)}if(tt=!y.isEmptyObject(X),!(!tt&&y.isEmptyObject(Yt))){Ft&&$.nodeType===1&&(te.overflow=[In.overflow,In.overflowX,In.overflowY],ut=Dn&&Dn.display,ut==null&&(ut=le.get($,"display")),At=y.css($,"display"),At==="none"&&(ut?At=ut:(Qe([$],!0),ut=$.style.display||ut,At=y.css($,"display"),Qe([$]))),(At==="inline"||At==="inline-block"&&ut!=null)&&y.css($,"float")==="none"&&(tt||(xt.done(function(){In.display=ut}),ut==null&&(At=In.display,ut=At==="none"?"":At)),In.display="inline-block")),te.overflow&&(In.overflow="hidden",xt.always(function(){In.overflow=te.overflow[0],In.overflowX=te.overflow[1],In.overflowY=te.overflow[2]})),tt=!1;for(ae in Yt)tt||(Dn?"hidden"in Dn&&(rr=Dn.hidden):Dn=le.access($,"fxshow",{display:ut}),_e&&(Dn.hidden=!rr),rr&&Qe([$],!0),xt.done(function(){rr||Qe([$]),le.remove($,"fxshow");for(ae in Yt)y.style($,ae,Yt[ae])})),tt=Ir(rr?Dn[ae]:0,ae,xt),ae in Dn||(Dn[ae]=tt.start,rr&&(tt.end=tt.start,tt.start=0))}}function vr($,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 xr($,X,te){var ae,ye,_e=0,Ae=xr.prefilters.length,ot=y.Deferred().always(function(){delete tt.elem}),tt=function(){if(ye)return!1;for(var Ft=qn||go(),xt=Math.max(0,ut.startTime+ut.duration-Ft),Yt=xt/ut.duration||0,In=1-Yt,rr=0,Dn=ut.tweens.length;rr<Dn;rr++)ut.tweens[rr].run(In);return ot.notifyWith($,[ut,In,xt]),In<1&&Dn?xt:(Dn||ot.notifyWith($,[ut,1,0]),ot.resolveWith($,[ut]),!1)},ut=ot.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(Ft,xt){var Yt=y.Tween($,ut.opts,Ft,xt,ut.opts.specialEasing[Ft]||ut.opts.easing);return ut.tweens.push(Yt),Yt},stop:function(Ft){var xt=0,Yt=Ft?ut.tweens.length:0;if(ye)return this;for(ye=!0;xt<Yt;xt++)ut.tweens[xt].run(1);return Ft?(ot.notifyWith($,[ut,1,0]),ot.resolveWith($,[ut,Ft])):ot.rejectWith($,[ut,Ft]),this}}),At=ut.props;for(vr(At,ut.opts.specialEasing);_e<Ae;_e++)if(ae=xr.prefilters[_e].call(ut,$,At,ut.opts),ae)return m(ae.stop)&&(y._queueHooks(ut.elem,ut.opts.queue).stop=ae.stop.bind(ae)),ae;return y.map(At,Ir,ut),m(ut.opts.start)&&ut.opts.start.call($,ut),ut.progress(ut.opts.progress).done(ut.opts.done,ut.opts.complete).fail(ut.opts.fail).always(ut.opts.always),y.fx.timer(y.extend(tt,{elem:$,anim:ut,queue:ut.opts.queue})),ut}y.Animation=y.extend(xr,{tweeners:{"*":[function($,X){var te=this.createTween($,X);return et(te.elem,$,Re.exec(X),te),te}]},tweener:function($,X){m($)?(X=$,$=["*"]):$=$.match(Z);for(var te,ae=0,ye=$.length;ae<ye;ae++)te=$[ae],xr.tweeners[te]=xr.tweeners[te]||[],xr.tweeners[te].unshift(X)},prefilters:[qo],prefilter:function($,X){X?xr.prefilters.unshift($):xr.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(Ke).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 ot=xr(this,y.extend({},$),_e);(ye||le.get(this,"finish"))&&ot.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,ot=le.get(this);if(_e)ot[_e]&&ot[_e].stop&&ae(ot[_e]);else for(_e in ot)ot[_e]&&ot[_e].stop&&Zn.test(_e)&&ae(ot[_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,yr())},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,ot,tt=ye.toLowerCase();return _e||(ot=Ei[tt],Ei[tt]=Ae,Ae=te(ae,ye,_e)!=null?tt:null,Ei[tt]=ot),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(ot){y(this).addClass($.call(this,ot,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(ot){y(this).removeClass($.call(this,ot,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 $,ot=Ae==="string"||Array.isArray($);return m($)?this.each(function(tt){y(this).toggleClass($.call(this,tt,co(this),X),X)}):typeof X=="boolean"&&ot?X?this.addClass($):this.removeClass($):(te=ci($),this.each(function(){if(ot)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(ot){return ot==null?"":ot+""})),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",ot=Ae?null:[],tt=Ae?_e+1:ye.length;for(_e<0?ae=tt:ae=Ae?_e:0;ae<tt;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;ot.push(X)}return ot},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()},Fi=/\?/;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,ot,tt,ut,At,Ft,xt=[te||_],Yt=u.call($,"type")?$.type:$,In=u.call($,"namespace")?$.namespace.split("."):[];if(_e=Ft=Ae=te=te||_,!(te.nodeType===3||te.nodeType===8)&&!Ln.test(Yt+y.event.triggered)&&(Yt.indexOf(".")>-1&&(In=Yt.split("."),Yt=In.shift(),In.sort()),tt=Yt.indexOf(":")<0&&"on"+Yt,$=$[y.expando]?$:new y.Event(Yt,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,[$]),At=y.event.special[Yt]||{},!(!ae&&At.trigger&&At.trigger.apply(te,X)===!1))){if(!ae&&!At.noBubble&&!g(te)){for(ot=At.delegateType||Yt,Ln.test(ot+Yt)||(_e=_e.parentNode);_e;_e=_e.parentNode)xt.push(_e),Ae=_e;Ae===(te.ownerDocument||_)&&xt.push(Ae.defaultView||Ae.parentWindow||t)}for(ye=0;(_e=xt[ye++])&&!$.isPropagationStopped();)Ft=_e,$.type=ye>1?ot:At.bindType||Yt,ut=(le.get(_e,"events")||Object.create(null))[$.type]&&le.get(_e,"handle"),ut&&ut.apply(_e,X),ut=tt&&_e[tt],ut&&ut.apply&&se(_e)&&($.result=ut.apply(_e,X),$.result===!1&&$.preventDefault());return $.type=Yt,!ae&&!$.isDefaultPrevented()&&(!At._default||At._default.apply(xt.pop(),X)===!1)&&se(te)&&tt&&m(te[Yt])&&!g(te)&&(Ae=te[tt],Ae&&(te[tt]=null),y.event.triggered=Yt,$.isPropagationStopped()&&Ft.addEventListener(Yt,Fn),te[Yt](),$.isPropagationStopped()&&Ft.removeEventListener(Yt,Fn),y.event.triggered=void 0,Ae&&(te[tt]=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,ls=/^(?:input|select|textarea|keygen)/i;function cs($,X,te,ae){var ye;if(Array.isArray(X))y.each(X,function(_e,Ae){te||ni.test($)?ae($,Ae):cs($+"["+(typeof Ae=="object"&&Ae!=null?_e:"")+"]",Ae,te,ae)});else if(!te&&S(X)==="object")for(ye in X)cs($+"["+ye+"]",X[ye],te,ae);else ae($,X)}y.param=function($,X){var te,ae=[],ye=function(_e,Ae){var ot=m(Ae)?Ae():Ae;ae[ae.length]=encodeURIComponent(_e)+"="+encodeURIComponent(ot??"")};if($==null)return"";if(Array.isArray($)||$.jquery&&!y.isPlainObject($))y.each($,function(){ye(this.name,this.value)});else for(te in $)cs(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")&&ls.test(this.nodeName)&&!Ci.test($)&&(this.checked||!Bt.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 Cs=/%20/g,Mo=/#.*$/,js=/([?&])_=[^&]*/,Ll=/^(.*?):[ \t]*([^\r\n]*)$/mg,fu=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jd=/^(?:GET|HEAD)$/,sa=/^\/\//,aa={},la={},ks="*/".concat("*"),Bi=_.createElement("a");Bi.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 zi($,X,te,ae){var ye={},_e=$===la;function Ae(ot){var tt;return ye[ot]=!0,y.each($[ot]||[],function(ut,At){var Ft=At(X,te,ae);if(typeof Ft=="string"&&!_e&&!ye[Ft])return X.dataTypes.unshift(Ft),Ae(Ft),!1;if(_e)return!(tt=Ft)}),tt}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 Ui($,X,te){for(var ae,ye,_e,Ae,ot=$.contents,tt=$.dataTypes;tt[0]==="*";)tt.shift(),ae===void 0&&(ae=$.mimeType||X.getResponseHeader("Content-Type"));if(ae){for(ye in ot)if(ot[ye]&&ot[ye].test(ae)){tt.unshift(ye);break}}if(tt[0]in te)_e=tt[0];else{for(ye in te){if(!tt[0]||$.converters[ye+" "+tt[0]]){_e=ye;break}Ae||(Ae=ye)}_e=_e||Ae}if(_e)return _e!==tt[0]&&tt.unshift(_e),te[_e]}function ki($,X,te,ae){var ye,_e,Ae,ot,tt,ut={},At=$.dataTypes.slice();if(At[1])for(Ae in $.converters)ut[Ae.toLowerCase()]=$.converters[Ae];for(_e=At.shift();_e;)if($.responseFields[_e]&&(te[$.responseFields[_e]]=X),!tt&&ae&&$.dataFilter&&(X=$.dataFilter(X,$.dataType)),tt=_e,_e=At.shift(),_e){if(_e==="*")_e=tt;else if(tt!=="*"&&tt!==_e){if(Ae=ut[tt+" "+_e]||ut["* "+_e],!Ae){for(ye in ut)if(ot=ye.split(" "),ot[1]===_e&&(Ae=ut[tt+" "+ot[0]]||ut["* "+ot[0]],Ae)){Ae===!0?Ae=ut[ye]:ut[ye]!==!0&&(_e=ot[0],At.unshift(ot[1]));break}}if(Ae!==!0)if(Ae&&$.throws)X=Ae(X);else try{X=Ae(X)}catch(Ft){return{state:"parsererror",error:Ae?Ft:"No conversion from "+tt+" 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:{"*":ks,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,ot,tt,ut,At,Ft,xt=y.ajaxSetup({},X),Yt=xt.context||xt,In=xt.context&&(Yt.nodeType||Yt.jquery)?y(Yt):y.event,rr=y.Deferred(),Dn=y.Callbacks("once memory"),Xr=xt.statusCode||{},Tr={},jo={},_r="canceled",Ve={readyState:0,getResponseHeader:function(_t){var Vt;if(tt){if(!_e)for(_e={};Vt=Ll.exec(ye);)_e[Vt[1].toLowerCase()+" "]=(_e[Vt[1].toLowerCase()+" "]||[]).concat(Vt[2]);Vt=_e[_t.toLowerCase()+" "]}return Vt==null?null:Vt.join(", ")},getAllResponseHeaders:function(){return tt?ye:null},setRequestHeader:function(_t,Vt){return tt==null&&(_t=jo[_t.toLowerCase()]=jo[_t.toLowerCase()]||_t,Tr[_t]=Vt),this},overrideMimeType:function(_t){return tt==null&&(xt.mimeType=_t),this},statusCode:function(_t){var Vt;if(_t)if(tt)Ve.always(_t[Ve.status]);else for(Vt in _t)Xr[Vt]=[Xr[Vt],_t[Vt]];return this},abort:function(_t){var Vt=_t||_r;return te&&te.abort(Vt),wt(0,Vt),this}};if(rr.promise(Ve),xt.url=(($||xt.url||Co.href)+"").replace(sa,Co.protocol+"//"),xt.type=X.method||X.type||xt.method||xt.type,xt.dataTypes=(xt.dataType||"*").toLowerCase().match(Z)||[""],xt.crossDomain==null){ot=_.createElement("a");try{ot.href=xt.url,ot.href=ot.href,xt.crossDomain=Bi.protocol+"//"+Bi.host!=ot.protocol+"//"+ot.host}catch{xt.crossDomain=!0}}if(xt.data&&xt.processData&&typeof xt.data!="string"&&(xt.data=y.param(xt.data,xt.traditional)),zi(aa,xt,X,Ve),tt)return Ve;ut=y.event&&xt.global,ut&&y.active++===0&&y.event.trigger("ajaxStart"),xt.type=xt.type.toUpperCase(),xt.hasContent=!Jd.test(xt.type),ae=xt.url.replace(Mo,""),xt.hasContent?xt.data&&xt.processData&&(xt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(xt.data=xt.data.replace(Cs,"+")):(Ft=xt.url.slice(ae.length),xt.data&&(xt.processData||typeof xt.data=="string")&&(ae+=(Fi.test(ae)?"&":"?")+xt.data,delete xt.data),xt.cache===!1&&(ae=ae.replace(js,"$1"),Ft=(Fi.test(ae)?"&":"?")+"_="+ur.guid+++Ft),xt.url=ae+Ft),xt.ifModified&&(y.lastModified[ae]&&Ve.setRequestHeader("If-Modified-Since",y.lastModified[ae]),y.etag[ae]&&Ve.setRequestHeader("If-None-Match",y.etag[ae])),(xt.data&&xt.hasContent&&xt.contentType!==!1||X.contentType)&&Ve.setRequestHeader("Content-Type",xt.contentType),Ve.setRequestHeader("Accept",xt.dataTypes[0]&&xt.accepts[xt.dataTypes[0]]?xt.accepts[xt.dataTypes[0]]+(xt.dataTypes[0]!=="*"?", "+ks+"; q=0.01":""):xt.accepts["*"]);for(At in xt.headers)Ve.setRequestHeader(At,xt.headers[At]);if(xt.beforeSend&&(xt.beforeSend.call(Yt,Ve,xt)===!1||tt))return Ve.abort();if(_r="abort",Dn.add(xt.complete),Ve.done(xt.success),Ve.fail(xt.error),te=zi(la,xt,X,Ve),!te)wt(-1,"No Transport");else{if(Ve.readyState=1,ut&&In.trigger("ajaxSend",[Ve,xt]),tt)return Ve;xt.async&&xt.timeout>0&&(Ae=t.setTimeout(function(){Ve.abort("timeout")},xt.timeout));try{tt=!1,te.send(Tr,wt)}catch(_t){if(tt)throw _t;wt(-1,_t)}}function wt(_t,Vt,jn,Nn){var xn,ar,Hn,mn,Lo,ro=Vt;tt||(tt=!0,Ae&&t.clearTimeout(Ae),te=void 0,ye=Nn||"",Ve.readyState=_t>0?4:0,xn=_t>=200&&_t<300||_t===304,jn&&(mn=Ui(xt,Ve,jn)),!xn&&y.inArray("script",xt.dataTypes)>-1&&y.inArray("json",xt.dataTypes)<0&&(xt.converters["text script"]=function(){}),mn=ki(xt,mn,Ve,xn),xn?(xt.ifModified&&(Lo=Ve.getResponseHeader("Last-Modified"),Lo&&(y.lastModified[ae]=Lo),Lo=Ve.getResponseHeader("etag"),Lo&&(y.etag[ae]=Lo)),_t===204||xt.type==="HEAD"?ro="nocontent":_t===304?ro="notmodified":(ro=mn.state,ar=mn.data,Hn=mn.error,xn=!Hn)):(Hn=ro,(_t||!ro)&&(ro="error",_t<0&&(_t=0))),Ve.status=_t,Ve.statusText=(Vt||ro)+"",xn?rr.resolveWith(Yt,[ar,ro,Ve]):rr.rejectWith(Yt,[Ve,ro,Hn]),Ve.statusCode(Xr),Xr=void 0,ut&&In.trigger(xn?"ajaxSuccess":"ajaxError",[Ve,xt,xn?ar:Hn]),Dn.fireWith(Yt,[Ve,ro]),ut&&(In.trigger("ajaxComplete",[Ve,xt]),--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 Hi={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(ot){return function(){X&&(X=te=Ae.onload=Ae.onerror=Ae.onabort=Ae.ontimeout=Ae.onreadystatechange=null,ot==="abort"?Ae.abort():ot==="error"?typeof Ae.status!="number"?ye(0,"error"):ye(Ae.status,Ae.statusText):ye(Hi[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(ot){if(X)throw ot}},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+=(Fi.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=Ht([$],X,_e),_e&&_e.length&&y(_e).remove(),y.merge([],ye.childNodes))},y.fn.load=function($,X,te){var ae,ye,_e,Ae=this,ot=$.indexOf(" ");return ot>-1&&(ae=ti($.slice(ot)),$=$.slice(0,ot)),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(tt){_e=arguments,Ae.html(ae?y("<div>").append(y.parseHTML(tt)).find(ae):tt)}).always(te&&function(tt,ut){Ae.each(function(){te.apply(this,_e||[tt.responseText,ut,tt])})}),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,ot,tt,ut,At=y.css($,"position"),Ft=y($),xt={};At==="static"&&($.style.position="relative"),ot=Ft.offset(),_e=y.css($,"top"),tt=y.css($,"left"),ut=(At==="absolute"||At==="fixed")&&(_e+tt).indexOf("auto")>-1,ut?(ae=Ft.position(),Ae=ae.top,ye=ae.left):(Ae=parseFloat(_e)||0,ye=parseFloat(tt)||0),m(X)&&(X=X.call($,te,y.extend({},ot))),X.top!=null&&(xt.top=X.top-ot.top+Ae),X.left!=null&&(xt.left=X.left-ot.left+ye),"using"in X?X.using.call($,xt):Ft.css(xt)}},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 $||ze})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function($,X){var te=X==="pageYOffset";y.fn[$]=function(ae){return Se(this,function(ye,_e,Ae){var ot;if(g(ye)?ot=ye:ye.nodeType===9&&(ot=ye.defaultView),Ae===void 0)return ot?ot[X]:ye[_e];ot?ot.scrollTo(te?ot.pageXOffset:Ae,te?Ae:ot.pageYOffset):ye[_e]=Ae},$,ae,arguments.length)}}),y.each(["top","left"],function($,X){y.cssHooks[X]=it(h.pixelPosition,function(te,ae){if(ae)return ae=$e(te,X),Pt.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"),ot=te||(ye===!0||_e===!0?"margin":"border");return Se(this,function(tt,ut,At){var Ft;return g(tt)?ae.indexOf("outer")===0?tt["inner"+$]:tt.document.documentElement["client"+$]:tt.nodeType===9?(Ft=tt.documentElement,Math.max(tt.body["scroll"+$],Ft["scroll"+$],tt.body["offset"+$],Ft["offset"+$],Ft["client"+$])):At===void 0?y.css(tt,ut,ot):y.style(tt,ut,At,ot)},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,us=t.$;return y.noConflict=function($){return t.$===y&&(t.$=us),$&&t.jQuery===y&&(t.jQuery=Ro),y},typeof n>"u"&&(t.jQuery=t.$=y),y})})(Iw);var tN=Iw.exports;const wd=Mu(tN),nN=(l,t,n)=>{(({title:a})=>{const r='<!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>',o="</body></html>",s=wd(".ContentEditable__root").html(),c=eN(s),i=QO(c),d=r+i+o,u=new Blob([d],{type:"application/msword"});XO.saveAs(u,`${a||"Exported"}.doc`)})({title:t})},rN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC11bCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXptLTMgMWExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6Ii8+PC9zdmc+",oN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC1vbCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXoiLz48cGF0aCBkPSJNMS43MTMgMTEuODY1di0uNDc0SDJjLjIxNyAwIC4zNjMtLjEzNy4zNjMtLjMxNyAwLS4xODUtLjE1OC0uMzEtLjM2MS0uMzEtLjIyMyAwLS4zNjcuMTUyLS4zNzMuMzFoLS41OWMuMDE2LS40NjcuMzczLS43ODcuOTg2LS43ODcuNTg4LS4wMDIuOTU0LjI5MS45NTcuNzAzYS41OTUuNTk1IDAgMCAxLS40OTIuNTk0di4wMzNhLjYxNS42MTUgMCAwIDEgLjU2OS42MzFjLjAwMy41MzMtLjUwMi44LTEuMDUxLjgtLjY1NiAwLTEtLjM3LTEuMDA4LS43OTRoLjU4MmMuMDA4LjE3OC4xODYuMzA2LjQyMi4zMDkuMjU0IDAgLjQyNC0uMTQ1LjQyMi0uMzUtLjAwMi0uMTk1LS4xNTUtLjM0OC0uNDE0LS4zNDhoLS4zem0tLjAwNC00LjY5OWgtLjYwNHYtLjAzNWMwLS40MDguMjk1LS44NDQuOTU4LS44NDQuNTgzIDAgLjk2LjMyNi45Ni43NTYgMCAuMzg5LS4yNTcuNjE3LS40NzYuODQ4bC0uNTM3LjU3MnYuMDNoMS4wNTRWOUgxLjE0M3YtLjM5NWwuOTU3LS45OWMuMTM4LS4xNDIuMjkzLS4zMDQuMjkzLS41MDggMC0uMTgtLjE0Ny0uMzItLjM0Mi0uMzJhLjMzLjMzIDAgMCAwLS4zNDIuMzM4di4wNDF6TTIuNTY0IDVoLS42MzVWMi45MjRoLS4wMzFsLS41OTguNDJ2LS41NjdsLjYyOS0uNDQzaC42MzVWNXoiLz48L3N2Zz4=",iN=({onlUser:l,collabApiKey:t,htmlPasteModalOpen:n,sethtmlPasteModalOpen:e,passedContent:a,onPaste:r,source:o})=>{ge.useRef(null);const[s,c]=ge.useState(""),[i,d]=ge.useState(""),[u]=Sn(),p=ge.useRef();ge.useRef(null);const f=()=>{d({root:{type:"root",version:1,children:[{children:[],direction:"ltr",format:"",indent:0,type:"text",version:1}],direction:"ltr",format:"",indent:0}}),c("")};ge.useEffect(()=>{f()},[]);const h=()=>{e(!1),c(" "),f()},m=C=>{const T=/display:\s*([^;]+);/,F=C.match(T);if(F)return F[1]};function g(){const[C]=Sn(),T=(B,D)=>{C.update(()=>{const L=Cn(),O=er(`${B}`);O.setStyle(D.style),O.setFormat(D.format),L.append(O),C.getRootElement()&&B&&B.length>0&&(C.getEditorState().read(()=>$n()),wl(L))})},F=()=>{let B=y(s);w(s),B.root.children.map((D,L)=>{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:F,ref:p,style:{display:"none"}})}function _(C,T){const F=/font-weight:\s*([a-zA-Z0-9\-]+);/,B=/text-decoration:\s*([^;]+?)(?=\s*;|\s*$)/,D=/font-style:\s*([a-zA-Z0-9\-]+);/,L=/font-size:\s*([\d.]+(?:px|pt|em|rem|%)?)/,O=/color:\s*([^;]+)/,j=C.match(F),P=C.match(B),R=C.match(D),N=C.match(L),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 F=new RegExp(`${T}:\\s*([^;]+)`),B=C.match(F);return B?B[1].trim():null},w=C=>{const T=new DOMParser,F=b(C),D=T.parseFromString(F,"text/html").querySelectorAll("img");Array.from(D).map(L=>{const P=L.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.update(()=>{const R=L.src,N=L.textContent,M=bc({src:R,altText:N});$n(),wl(M)})},P)})};function S(C,T){const F=Array.from(C.querySelectorAll("tr")),L=C.getAttribute("id").split("_")[1]*2;setTimeout(()=>{T.update(()=>{const O=_p();F.forEach(P=>{const R=El();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)}),$n()&&wl(O)})},L)}function E(C,T,F){return C==="bold"&&T==="italic"&&F==="underline line-through"?15:F==="underline line-through"?12:T==="italic"&&F==="line-through"?6:T==="italic"&&F==="underline"?11:C==="bold"&&F==="line-through"?5:C==="bold"&&F==="underline"?9:C==="bold"&&T==="italic"?3:C==="bold"?1:T==="italic"?2:F==="underline"?8:F==="line-through"?4:0}function b(C){const F=new DOMParser().parseFromString(C,"text/html");let B=1;function D(L){if(L.nodeType===1){const O=`order_${B++}`;L.setAttribute("data-title",O),L.setAttribute("id",O)}L.childNodes.forEach(O=>D(O))}return D(F.body),F.body.innerHTML}function y(C){const T=new DOMParser,F=b(C),B=T.parseFromString(F,"text/html");B.querySelectorAll("[aria-level]").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.update(()=>{const K=Tc(`${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),wl(K)})},V)}),B.querySelectorAll("ul").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.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),$n(),wl(K)})},V)}),B.querySelectorAll("ol").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.update(()=>{const K=Ho("ol"),A=ei(),q=er(`${U.textContent}`);let G=Array.from(U.querySelectorAll("span")).map(re=>{const fe=re.getAttribute("style")||"";return{text:re.innerText.trim(),style:fe}}).map(re=>re.style).filter(re=>re).map(re=>re.split(";").map(fe=>fe.trim()).filter(fe=>!fe.startsWith("font-family")).filter(fe=>!fe.startsWith("font-size")).filter(fe=>!fe.startsWith("border")).filter(fe=>!fe.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),$n(),wl(K)})},V)}),B.querySelectorAll("table").forEach(U=>{S(U,u)});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}ge.useEffect(()=>()=>{c(" ")},[]);const x=()=>{e(!0),setTimeout(()=>{var C;(C=p.current)==null||C.click()},200)};return ge.useEffect(C=>{n&&(c(a),x())},[n]),ue.jsx(ue.Fragment,{children:ue.jsx(g,{})})},sN="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBtaXJyb3ItaW4tcnRsPSJ0cnVlIj4NCiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjIiIHI9IjIiLz4NCiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjgiIHI9IjIiLz4NCiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjIwIiByPSIyIi8+DQogIDxjaXJjbGUgZmlsbD0iIzQ5NGM0ZSIgY3g9IjIiIGN5PSIxNCIgcj0iMiIvPg0KICA8cGF0aCBmaWxsPSIjNDk0YzRlIiBkPSJNMjMuMDAyIDNINy45OThDNy40NDggMyA3IDIuNTUgNyAyLjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFYyYzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDlINy45OThDNy40NDggOSA3IDguNTUgNyA4LjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFY4YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDE1SDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMTRjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjE0YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDIxSDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMjBjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjIwYzAgLjU1LS40NSAxLS45OTggMXoiLz4NCjwvc3ZnPg==",aN={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 lN(){const l=[];for(const[t,n]of Object.entries(wb))l.push([t,n]);return l}const cN=lN(),uN={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 Fp(l){return l?"active dropdown-item-active":""}function xd(){return ue.jsx("div",{className:"divider"})}function dN({editor:l,value:t,isRTL:n,disabled:e=!1}){const a=uN[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(gl,"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(gl,"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(gl,"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(gl,"justify")},className:"item",children:[ue.jsx("i",{className:"icon justify-align"}),ue.jsx("span",{className:"text",children:"Justify Align"})]})]})}function Mw({setIsLinkEditMode:l,onlUser:t,styleConfig:n,showComments:e,setShowComments:a,showTabContentBtn:r,setshowTabContentBtn:o,showTabContent:s}){const[c]=Sn(),[i,d]=ge.useState(c),[u,p]=ge.useState("paragraph"),[f,h]=ge.useState("root"),[m,g]=ge.useState(null),[_,v]=ge.useState("15px"),[w,S]=ge.useState("#000"),[E,b]=ge.useState("#fff"),[y,x]=ge.useState("Arial"),[C,T]=ge.useState("left"),[F,B]=ge.useState(!1),[D,L]=ge.useState(!1),[O,j]=ge.useState(!1),[P,R]=ge.useState(!1),[N,U]=ge.useState(!1),[M,z]=ge.useState(!1),[V,K]=ge.useState(!1),[A,q]=ge.useState(!1),[W,H]=ge.useState(!1),[G,Z]=ge.useState(!1),[Q,Y]=Ma(),[ee,re]=ge.useState(!1),[fe,de]=ge.useState(""),[ne,Se]=ge.useState(()=>c.isEditable()),[we,me]=ge.useState(""),[je,ce]=ge.useState(""),[se,pe]=ge.useState(""),[le,ke]=ge.useState(""),[Te,Ce]=ge.useState(!0),[Me,qe]=ge.useState(!1),Le=1;ge.useEffect(()=>{const Ke=c.registerCommand(ba,et=>{const nt=et.clipboardData||window.clipboardData,zt=nt==null?void 0:nt.getData("text/html");return zt.includes('<meta http-equiv=Content-Type content="text/html; charset=utf-8">')&&zt.includes("microsoft-com")?!1:zt.includes("Outline")?(ke(zt),qe(!0),!0):!1},Le);return()=>{Ke()}},[Te]);const Re=ge.useCallback(()=>{const Ke=kt();if(Et(Ke)){const et=Ke.anchor.getNode();let nt=et.getKey()==="root"?et:nr(et,bt=>{const Dt=bt.getParent();return Dt!==null&&to(Dt)});nt===null&&(nt=et.getTopLevelElementOrThrow());const zt=nt.getKey(),Qe=i.getElementByKey(zt);L(Ke.hasFormat("bold")),j(Ke.hasFormat("italic")),R(Ke.hasFormat("underline")),U(Ke.hasFormat("strikethrough")),z(Ke.hasFormat("subscript")),K(Ke.hasFormat("superscript")),q(Ke.hasFormat("code")),re(rb(Ke));const Bt=Tw(Ke),Zt=Bt.getParent();Qo(Zt)||Qo(Bt)?B(!0):B(!1);const on=nr(Bt,jr);if(jr(on)?h("table"):h("root"),Qe!==null)if(g(zt),lr(nt)){const bt=ab(et,ld),Dt=bt?bt.getListType():nt.getListType();p(Dt)}else{const bt=K1(nt)?nt.getTag():nt.getType();if(bt in aN&&p(bt),_m(nt)){const Dt=nt.getLanguage();de(Dt?xb[Dt]||Dt:"");return}}v(rd(Ke,"font-size","15px")),S(rd(Ke,"color","#000")),b(rd(Ke,"background-color","#fff")),x(rd(Ke,"font-family","Arial"));let tn;Qo(Zt)&&(tn=nr(Bt,bt=>jt(bt)&&!bt.isInline())),T(jt(tn)?tn.getFormatType():jt(Bt)?Bt.getFormatType():(Zt==null?void 0:Zt.getFormatType())||"left")}},[i]);ge.useEffect(()=>c.registerCommand(vi,(Ke,et)=>(Re(),d(et),!1),Uo),[c,Re]),ge.useEffect(()=>br(i.registerUpdateListener(({editorState:Ke})=>{Ke.read(()=>{Re()})}),i.registerCommand(ec,Ke=>(H(Ke),!1),Uo),i.registerCommand(Ql,Ke=>(Z(Ke),!1),Uo)),[Re,i,c]),ge.useEffect(()=>i.registerCommand(Sv,Ke=>{const et=Ke,{code:nt,ctrlKey:zt,metaKey:Qe}=et;if(nt==="KeyK"&&(zt||Qe)){et.preventDefault();let Bt;return F?(l(!1),Bt=null):(l(!0),Bt=dw("https://")),i.dispatchCommand(Aa,Bt)}return!1},Gk),[i,F,l]);const Ee=ge.useCallback((Ke,et)=>{i.update(()=>{const nt=kt();nt!==null&&fm(nt,Ke)},et?{tag:"historic"}:{})},[i]);ge.useCallback(()=>{i.update(()=>{const Ke=kt();if(Et(Ke)){const et=Ke.anchor,nt=Ke.focus,zt=Ke.getNodes();if(et.key===nt.key&&et.offset===nt.offset)return;zt.forEach((Qe,Bt)=>{if(Wt(Qe)){let Zt=Qe;Bt===0&&et.offset!==0&&(Zt=Zt.splitText(et.offset)[1]||Zt),Bt===zt.length-1&&(Zt=Zt.splitText(nt.offset)[0]||Zt),Zt.__style!==""&&Zt.setStyle(""),Zt.__format!==0&&(Zt.setFormat(0),hm(Zt).setFormat("")),Qe=Zt}else K1(Qe)||YT(Qe)?Qe.replace(Cn(),!0):Fm(Qe)&&Qe.setFormat("")})}})},[i]),ge.useCallback((Ke,et)=>{Ee({color:Ke},et)},[Ee]),ge.useCallback((Ke,et)=>{Ee({"background-color":Ke},et)},[Ee]),ge.useCallback(()=>{F?(l(!1),c.dispatchCommand(Aa,null)):(l(!0),c.dispatchCommand(Aa,dw("https://")))},[c,F,l]);const ze=ge.useCallback(Ke=>{i.update(()=>{if(m!==null){const et=Bn(m);_m(et)&&et.setLanguage(Ke)}})},[i,m]),Oe=()=>{u!=="number"?c.dispatchCommand(Rb,void 0):c.dispatchCommand(Lb,void 0)},Ge=()=>{c.focus(),c.dispatchCommand(Db,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:sN,width:16,height:16})}),ue.jsx("button",{disabled:!W||!ne,onClick:()=>{i.dispatchCommand(Ru,void 0)},title:Ra?"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:!G||!ne,onClick:()=>{i.dispatchCommand(Lu,void 0)},title:Ra?"Redo (⌘Y)":"Redo (Ctrl+Y)",type:"button",className:"toolbar-item","aria-label":"Redo",children:ue.jsx("i",{className:"format redo"})}),u==="code"?ue.jsx(bd,{disabled:!ne,buttonClassName:"toolbar-item code-language",buttonLabel:_2(fe),buttonAriaLabel:"Select language",children:cN.map(([Ke,et])=>ue.jsx(bo,{className:`item ${Fp(Ke===fe)}`,onClick:()=>ze(Ke),children:ue.jsx("span",{className:"text",children:et})},Ke))}):ue.jsxs(ue.Fragment,{children:[ue.jsx(xd,{}),ue.jsx(GO,{selectionFontSize:_.slice(0,-2),editor:c,disabled:!ne,styleConfig:n,blockType:"h1",isenterPressed:se,currentElementClick:we,currentElementSelect:je}),ue.jsx(xd,{}),ue.jsx("button",{disabled:!ne,onClick:()=>{i.dispatchCommand(Gr,"bold")},className:"toolbar-item spaced "+(D?"active":""),title:Ra?"Bold (⌘B)":"Bold (Ctrl+B)",type:"button","aria-label":`Format text as bold. Shortcut: ${Ra?"⌘B":"Ctrl+B"}`,children:ue.jsx("i",{className:"format bold"})}),ue.jsx("button",{disabled:!ne,onClick:()=>{i.dispatchCommand(Gr,"italic")},className:"toolbar-item spaced "+(O?"active":""),title:Ra?"Italic (⌘I)":"Italic (Ctrl+I)",type:"button","aria-label":`Format text as italics. Shortcut: ${Ra?"⌘I":"Ctrl+I"}`,children:ue.jsx("i",{className:"format italic"})}),ue.jsx("button",{disabled:!ne,onClick:()=>{i.dispatchCommand(Gr,"underline")},className:"toolbar-item spaced "+(P?"active":""),title:Ra?"Underline (⌘U)":"Underline (Ctrl+U)",type:"button","aria-label":`Format text to underlined. Shortcut: ${Ra?"⌘U":"Ctrl+U"}`,children:ue.jsx("i",{className:"format underline"})}),ue.jsx("button",{className:"toolbar-item",onClick:()=>c.dispatchCommand(S1,void 0),title:"Insert Endnote",children:ue.jsx("i",{className:"format endnotes"})}),ue.jsxs(bd,{disabled:!ne,buttonClassName:"toolbar-item spaced",buttonLabel:"",buttonAriaLabel:"Formatting options for additional text styles",buttonIconClassName:"icon dropdown-more",children:[ue.jsxs(bo,{onClick:()=>{i.dispatchCommand(Gr,"strikethrough")},className:"item "+Fp(N),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:()=>{i.dispatchCommand(Gr,"subscript")},className:"item "+Fp(M),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:()=>{i.dispatchCommand(Gr,"superscript")},className:"item "+Fp(V),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:!ne,buttonClassName:"toolbar-item spaced",buttonLabel:"Insert",buttonAriaLabel:"Insert specialized editor node",buttonIconClassName:"icon plus",children:[ue.jsxs(bo,{onClick:()=>{Y("Insert Image",Ke=>ue.jsx(gO,{activeEditor:i,onClose:Ke,captionsEnabled:!1}))},className:"item",children:[ue.jsx("i",{className:"icon image"}),ue.jsx("span",{className:"text",children:"Image"})]}),ue.jsxs(bo,{onClick:()=>{Y("Insert Table",Ke=>ue.jsx(NT,{activeEditor:i,onClose:Ke}))},className:"item",children:[ue.jsx("i",{className:"icon table"}),ue.jsx("span",{className:"text",children:"Table"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{Ge()},children:[ue.jsx("img",{src:rN,height:21,width:21}),ue.jsx("span",{style:{marginLeft:"10px",marginTop:"2px"},children:"Bullet List"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{Oe()},children:[ue.jsx("img",{src:oN,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(iN,{passedContent:le,source:"remote",onPaste:null,htmlPasteModalOpen:Me,sethtmlPasteModalOpen:qe,onlUser:t,collabApiKey:""}),ue.jsx("button",{className:"toolbar-item",onClick:()=>{nN(c,"title-doc")},children:ue.jsx("img",{title:"Download as .doc",src:ZO,height:18,width:18,className:"download-icon"})}),ue.jsx(dN,{disabled:!ne,value:C,editor:c,isRTL:ee}),ue.jsx("div",{className:"flex-container-onluser",children:t}),Q]})}const iR="",fN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Dw({ariaActiveDescendant:l,ariaAutoComplete:t,ariaControls:n,ariaDescribedBy:e,ariaExpanded:a,ariaLabel:r,ariaLabelledBy:o,ariaMultiline:s,ariaOwns:c,ariaRequired:i,autoCapitalize:d,className:u,id:p,role:f="textbox",spellCheck:h=!0,style:m,tabIndex:g,"data-testid":_,...v}){const[w]=Sn(),[S,E]=ge.useState(!1),b=ge.useCallback(y=>{y&&y.ownerDocument&&y.ownerDocument.defaultView&&w.setRootElement(y)},[w]);return fN(()=>(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:d,className:u,contentEditable:S,"data-testid":_,id:p,ref:b,role:f,spellCheck:h,style:m,tabIndex:g})}function Sd({className:l}){return ue.jsx(Dw,{className:l||"ContentEditable__root"})}const sR="";function Ed({children:l,className:t}){return ue.jsx("div",{className:t||"Placeholder__root",children:l})}let ay=class Hj extends Fr{static getType(){return"mark"}static clone(t){return new Hj(Array.from(t.__ids),t.__key)}static importDOM(){return null}static importJSON(t){const n=Bp(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&&pc(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 Tl(t)?t.__ids:[]}addID(t){const n=this.getWritable();if(Tl(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(Tl(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=Bp(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(!Et(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 Bp(l){return Ar(new ay(l))}function Tl(l){return l instanceof ay}function pN(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 hN(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 d,u;for(let p=0;p<s;p++){const f=a[p];if(jt(u)&&u.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(Tl(f))continue;jt(f)&&f.isInline()&&(g=f)}if(g!==null){if(g&&g.is(d))continue;const _=g.getParent();_!=null&&_.is(d)||(u=void 0),d=_,u===void 0&&(u=(e||Bp)([n]),g.insertBefore(u)),u.append(g)}else d=void 0,u=void 0}jt(u)&&(t?u.selectStart():u.selectEnd())}function gN(l,t){let n=l;for(;n!==null;){if(Tl(n))return n.getIDs();if(Wt(n)&&t===n.getTextContentSize()){const e=n.getNextSibling();if(Tl(e))return e.getIDs()}n=n.getParent()}return null}const Rw=[["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)"]],Lw=Rw[Math.floor(Math.random()*Rw.length)],mN=ge.createContext({clientID:0,color:Lw[1],isCollabActive:!1,name:Lw[0],yjsDocMap:new Map});function Cd(l,t){const n=ge.useContext(mN);return l!=null&&(n.name=l),t!=null&&(n.color=t),n}const yN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Fw({onClear:l}){const[t]=Sn();return yN(()=>t.registerCommand(jf,n=>(t.update(()=>{if(l==null){const e=$n(),a=kt(),r=Cn();e.clear(),e.append(r),a!==null&&r.select(),Et(a)&&(a.format=0)}else l()}),!0),Tn),[t,l]),null}function ly(l,t){return ly=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},ly(l,t)}var Bw={error:null},vN=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=Bw,r.resetErrorBoundary=function(){for(var i,d=arguments.length,u=new Array(d),p=0;p<d;p++)u[p]=arguments[p];r.props.onReset==null||(i=r.props).onReset.apply(i,u),r.reset()},r}n=l,(t=e).prototype=Object.create(n.prototype),t.prototype.constructor=t,ly(t,n),e.getDerivedStateFromError=function(r){return{error:r}};var a=e.prototype;return a.reset=function(){this.setState(Bw)},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,d,u=this.state.error,p=this.props.resetKeys;u!==null&&o.error!==null&&((i=r.resetKeys)===void 0&&(i=[]),(d=p)===void 0&&(d=[]),i.length!==d.length||i.some(function(f,h){return!Object.is(f,d[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 d={error:r,resetErrorBoundary:this.resetErrorBoundary};if(sr.isValidElement(i))return i;if(typeof s=="function")return s(d);if(c)return sr.createElement(c,d);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},e}(sr.Component);function Ol({children:l,onError:t}){return ue.jsx(vN,{fallback:ue.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:l})}const _N=Object.freeze(Object.defineProperty({__proto__:null,LexicalErrorBoundary:Ol,default:Ol},Symbol.toStringTag,{value:"Module"})),bN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function zw({ignoreHistoryMergeTagChange:l=!0,ignoreSelectionChange:t=!1,onChange:n}){const[e]=Sn();return bN(()=>{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,wN=Ac&&"documentMode"in document?document.documentMode:null,xN=!(!Ac||!("InputEvent"in window)||wN)&&"getTargetRanges"in new window.InputEvent("input"),SN=Ac&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),EN=Ac&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,CN=Ac&&/^(?=.*Chrome).*/i.test(navigator.userAgent),jN=Ac&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!CN;function Uw(l,t){t.update(()=>{if(l!==null){const n=Hs(l,KeyboardEvent)?null:l.clipboardData,e=kt();if(e!==null&&n!=null){l.preventDefault();const a=F1(t);a!==null&&n.setData("text/html",a),n.setData("text/plain",e.getTextContent())}}})}function kN(l){return br(l.registerCommand(Ki,t=>{const n=kt();return!!Et(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(hl,t=>{const n=kt();return!!Et(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=kt();return!!Et(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=kt();if(!Et(n))return!1;if(typeof t=="string")n.insertText(t);else{const e=t.dataTransfer;if(e!=null)B1(e,n);else{const a=t.data;a&&n.insertText(a)}}return!0},Tn),l.registerCommand(bf,()=>{const t=kt();return!!Et(t)&&(t.removeText(),!0)},Tn),l.registerCommand(va,t=>{const n=kt();return!!Et(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(pl,()=>{const t=kt();return!!Et(t)&&(t.insertLineBreak(),!0)},Tn),l.registerCommand(xf,t=>{const n=kt();if(!Et(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=kt();if(!Et(n))return!1;const e=t,a=e.shiftKey;return!!sp(n,!1)&&(e.preventDefault(),ap(n,a,!1),!0)},Tn),l.registerCommand(Gi,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),l.dispatchCommand(Ki,!0))},Tn),l.registerCommand(Yi,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),l.dispatchCommand(Ki,!1))},Tn),l.registerCommand(Ds,t=>{const n=kt();if(!Et(n))return!1;if(t!==null){if((EN||SN||jN)&&xN)return!1;t.preventDefault()}return l.dispatchCommand(va,!1)},Tn),l.registerCommand(Cf,()=>(Yv(),!0),Tn),l.registerCommand(zu,t=>{const n=kt();return!!Et(n)&&(Uw(t,l),!0)},Tn),l.registerCommand(Uu,t=>{const n=kt();return!!Et(n)&&(function(e,a){Uw(e,a),a.update(()=>{const r=kt();Et(r)&&r.removeText()})}(t,l),!0)},Tn),l.registerCommand(ba,t=>{const n=kt();return!!Et(n)&&(function(e,a){e.preventDefault(),a.update(()=>{const r=kt(),{clipboardData:o}=e;o!=null&&Et(r)&&B1(o,r)},{tag:"paste"})}(t,l),!0)},Tn),l.registerCommand(Ef,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),!0)},Tn),l.registerCommand(Xl,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),!0)},Tn))}const cy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Hw(l){return l.getEditorState().read(T1(l.isComposing()))}function $w({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=Sn(),a=function(r,o){const[s,c]=ge.useState(()=>r.getDecorators());return cy(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),ge.useEffect(()=>{c(r.getDecorators())},[r]),ge.useMemo(()=>{const i=[],d=Object.keys(s);for(let u=0;u<d.length;u++){const p=d[u],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(ge.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){cy(()=>br(kN(r),P1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(TN,{content:t}),a]})}function TN({content:l}){const[t]=Sn(),n=function(a){const[r,o]=ge.useState(()=>Hw(a));return cy(()=>{function s(){const c=Hw(a);o(c)}return s(),br(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=Ym();return n?typeof l=="function"?l(e):l:null}var ON={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(d,u){if(!r[d]){if(!a[d]){var p=void 0;if(!u&&p)return require(d,!0);if(c)return c(d,!0);throw(u=new Error("Cannot find module '"+d+"'")).code="MODULE_NOT_FOUND",u}p=r[d]={exports:{}},a[d][0].call(p.exports,function(f){return s(a[d][1][f]||f)},p,p.exports,e,a,r,o)}return r[d].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,d,u){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 d=c[i];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(s,d.key,d)}}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,d,u=[],p=!0,f=!1;try{for(c=c.call(o);!(p=(i=c.next()).done)&&(u.push(i.value),!s||u.length!==s);p=!0);}catch(h){f=!0,d=h}finally{try{p||c.return==null||c.return()}finally{if(f)throw d}}return u}},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 Cs=/%20/g,Mo=/#.*$/,js=/([?&])_=[^&]*/,Ll=/^(.*?):[ \t]*([^\r\n]*)$/mg,fu=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jd=/^(?:GET|HEAD)$/,sa=/^\/\//,aa={},la={},ks="*/".concat("*"),Bi=_.createElement("a");Bi.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 zi($,X,te,ae){var ye={},_e=$===la;function Ae(ot){var tt;return ye[ot]=!0,y.each($[ot]||[],function(ut,At){var Ft=At(X,te,ae);if(typeof Ft=="string"&&!_e&&!ye[Ft])return X.dataTypes.unshift(Ft),Ae(Ft),!1;if(_e)return!(tt=Ft)}),tt}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 Ui($,X,te){for(var ae,ye,_e,Ae,ot=$.contents,tt=$.dataTypes;tt[0]==="*";)tt.shift(),ae===void 0&&(ae=$.mimeType||X.getResponseHeader("Content-Type"));if(ae){for(ye in ot)if(ot[ye]&&ot[ye].test(ae)){tt.unshift(ye);break}}if(tt[0]in te)_e=tt[0];else{for(ye in te){if(!tt[0]||$.converters[ye+" "+tt[0]]){_e=ye;break}Ae||(Ae=ye)}_e=_e||Ae}if(_e)return _e!==tt[0]&&tt.unshift(_e),te[_e]}function ki($,X,te,ae){var ye,_e,Ae,ot,tt,ut={},At=$.dataTypes.slice();if(At[1])for(Ae in $.converters)ut[Ae.toLowerCase()]=$.converters[Ae];for(_e=At.shift();_e;)if($.responseFields[_e]&&(te[$.responseFields[_e]]=X),!tt&&ae&&$.dataFilter&&(X=$.dataFilter(X,$.dataType)),tt=_e,_e=At.shift(),_e){if(_e==="*")_e=tt;else if(tt!=="*"&&tt!==_e){if(Ae=ut[tt+" "+_e]||ut["* "+_e],!Ae){for(ye in ut)if(ot=ye.split(" "),ot[1]===_e&&(Ae=ut[tt+" "+ot[0]]||ut["* "+ot[0]],Ae)){Ae===!0?Ae=ut[ye]:ut[ye]!==!0&&(_e=ot[0],At.unshift(ot[1]));break}}if(Ae!==!0)if(Ae&&$.throws)X=Ae(X);else try{X=Ae(X)}catch(Ft){return{state:"parsererror",error:Ae?Ft:"No conversion from "+tt+" 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:{"*":ks,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,ot,tt,ut,At,Ft,xt=y.ajaxSetup({},X),Yt=xt.context||xt,In=xt.context&&(Yt.nodeType||Yt.jquery)?y(Yt):y.event,rr=y.Deferred(),Dn=y.Callbacks("once memory"),Xr=xt.statusCode||{},Tr={},jo={},_r="canceled",Ve={readyState:0,getResponseHeader:function(_t){var Vt;if(tt){if(!_e)for(_e={};Vt=Ll.exec(ye);)_e[Vt[1].toLowerCase()+" "]=(_e[Vt[1].toLowerCase()+" "]||[]).concat(Vt[2]);Vt=_e[_t.toLowerCase()+" "]}return Vt==null?null:Vt.join(", ")},getAllResponseHeaders:function(){return tt?ye:null},setRequestHeader:function(_t,Vt){return tt==null&&(_t=jo[_t.toLowerCase()]=jo[_t.toLowerCase()]||_t,Tr[_t]=Vt),this},overrideMimeType:function(_t){return tt==null&&(xt.mimeType=_t),this},statusCode:function(_t){var Vt;if(_t)if(tt)Ve.always(_t[Ve.status]);else for(Vt in _t)Xr[Vt]=[Xr[Vt],_t[Vt]];return this},abort:function(_t){var Vt=_t||_r;return te&&te.abort(Vt),wt(0,Vt),this}};if(rr.promise(Ve),xt.url=(($||xt.url||Co.href)+"").replace(sa,Co.protocol+"//"),xt.type=X.method||X.type||xt.method||xt.type,xt.dataTypes=(xt.dataType||"*").toLowerCase().match(Z)||[""],xt.crossDomain==null){ot=_.createElement("a");try{ot.href=xt.url,ot.href=ot.href,xt.crossDomain=Bi.protocol+"//"+Bi.host!=ot.protocol+"//"+ot.host}catch{xt.crossDomain=!0}}if(xt.data&&xt.processData&&typeof xt.data!="string"&&(xt.data=y.param(xt.data,xt.traditional)),zi(aa,xt,X,Ve),tt)return Ve;ut=y.event&&xt.global,ut&&y.active++===0&&y.event.trigger("ajaxStart"),xt.type=xt.type.toUpperCase(),xt.hasContent=!Jd.test(xt.type),ae=xt.url.replace(Mo,""),xt.hasContent?xt.data&&xt.processData&&(xt.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(xt.data=xt.data.replace(Cs,"+")):(Ft=xt.url.slice(ae.length),xt.data&&(xt.processData||typeof xt.data=="string")&&(ae+=(Fi.test(ae)?"&":"?")+xt.data,delete xt.data),xt.cache===!1&&(ae=ae.replace(js,"$1"),Ft=(Fi.test(ae)?"&":"?")+"_="+ur.guid+++Ft),xt.url=ae+Ft),xt.ifModified&&(y.lastModified[ae]&&Ve.setRequestHeader("If-Modified-Since",y.lastModified[ae]),y.etag[ae]&&Ve.setRequestHeader("If-None-Match",y.etag[ae])),(xt.data&&xt.hasContent&&xt.contentType!==!1||X.contentType)&&Ve.setRequestHeader("Content-Type",xt.contentType),Ve.setRequestHeader("Accept",xt.dataTypes[0]&&xt.accepts[xt.dataTypes[0]]?xt.accepts[xt.dataTypes[0]]+(xt.dataTypes[0]!=="*"?", "+ks+"; q=0.01":""):xt.accepts["*"]);for(At in xt.headers)Ve.setRequestHeader(At,xt.headers[At]);if(xt.beforeSend&&(xt.beforeSend.call(Yt,Ve,xt)===!1||tt))return Ve.abort();if(_r="abort",Dn.add(xt.complete),Ve.done(xt.success),Ve.fail(xt.error),te=zi(la,xt,X,Ve),!te)wt(-1,"No Transport");else{if(Ve.readyState=1,ut&&In.trigger("ajaxSend",[Ve,xt]),tt)return Ve;xt.async&&xt.timeout>0&&(Ae=t.setTimeout(function(){Ve.abort("timeout")},xt.timeout));try{tt=!1,te.send(Tr,wt)}catch(_t){if(tt)throw _t;wt(-1,_t)}}function wt(_t,Vt,jn,Nn){var xn,ar,Hn,mn,Lo,ro=Vt;tt||(tt=!0,Ae&&t.clearTimeout(Ae),te=void 0,ye=Nn||"",Ve.readyState=_t>0?4:0,xn=_t>=200&&_t<300||_t===304,jn&&(mn=Ui(xt,Ve,jn)),!xn&&y.inArray("script",xt.dataTypes)>-1&&y.inArray("json",xt.dataTypes)<0&&(xt.converters["text script"]=function(){}),mn=ki(xt,mn,Ve,xn),xn?(xt.ifModified&&(Lo=Ve.getResponseHeader("Last-Modified"),Lo&&(y.lastModified[ae]=Lo),Lo=Ve.getResponseHeader("etag"),Lo&&(y.etag[ae]=Lo)),_t===204||xt.type==="HEAD"?ro="nocontent":_t===304?ro="notmodified":(ro=mn.state,ar=mn.data,Hn=mn.error,xn=!Hn)):(Hn=ro,(_t||!ro)&&(ro="error",_t<0&&(_t=0))),Ve.status=_t,Ve.statusText=(Vt||ro)+"",xn?rr.resolveWith(Yt,[ar,ro,Ve]):rr.rejectWith(Yt,[Ve,ro,Hn]),Ve.statusCode(Xr),Xr=void 0,ut&&In.trigger(xn?"ajaxSuccess":"ajaxError",[Ve,xt,xn?ar:Hn]),Dn.fireWith(Yt,[Ve,ro]),ut&&(In.trigger("ajaxComplete",[Ve,xt]),--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 Hi={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(ot){return function(){X&&(X=te=Ae.onload=Ae.onerror=Ae.onabort=Ae.ontimeout=Ae.onreadystatechange=null,ot==="abort"?Ae.abort():ot==="error"?typeof Ae.status!="number"?ye(0,"error"):ye(Ae.status,Ae.statusText):ye(Hi[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(ot){if(X)throw ot}},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+=(Fi.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=Ht([$],X,_e),_e&&_e.length&&y(_e).remove(),y.merge([],ye.childNodes))},y.fn.load=function($,X,te){var ae,ye,_e,Ae=this,ot=$.indexOf(" ");return ot>-1&&(ae=ti($.slice(ot)),$=$.slice(0,ot)),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(tt){_e=arguments,Ae.html(ae?y("<div>").append(y.parseHTML(tt)).find(ae):tt)}).always(te&&function(tt,ut){Ae.each(function(){te.apply(this,_e||[tt.responseText,ut,tt])})}),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,ot,tt,ut,At=y.css($,"position"),Ft=y($),xt={};At==="static"&&($.style.position="relative"),ot=Ft.offset(),_e=y.css($,"top"),tt=y.css($,"left"),ut=(At==="absolute"||At==="fixed")&&(_e+tt).indexOf("auto")>-1,ut?(ae=Ft.position(),Ae=ae.top,ye=ae.left):(Ae=parseFloat(_e)||0,ye=parseFloat(tt)||0),m(X)&&(X=X.call($,te,y.extend({},ot))),X.top!=null&&(xt.top=X.top-ot.top+Ae),X.left!=null&&(xt.left=X.left-ot.left+ye),"using"in X?X.using.call($,xt):Ft.css(xt)}},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 $||ze})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function($,X){var te=X==="pageYOffset";y.fn[$]=function(ae){return Se(this,function(ye,_e,Ae){var ot;if(g(ye)?ot=ye:ye.nodeType===9&&(ot=ye.defaultView),Ae===void 0)return ot?ot[X]:ye[_e];ot?ot.scrollTo(te?ot.pageXOffset:Ae,te?Ae:ot.pageYOffset):ye[_e]=Ae},$,ae,arguments.length)}}),y.each(["top","left"],function($,X){y.cssHooks[X]=it(h.pixelPosition,function(te,ae){if(ae)return ae=$e(te,X),Pt.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"),ot=te||(ye===!0||_e===!0?"margin":"border");return Se(this,function(tt,ut,At){var Ft;return g(tt)?ae.indexOf("outer")===0?tt["inner"+$]:tt.document.documentElement["client"+$]:tt.nodeType===9?(Ft=tt.documentElement,Math.max(tt.body["scroll"+$],Ft["scroll"+$],tt.body["offset"+$],Ft["offset"+$],Ft["client"+$])):At===void 0?y.css(tt,ut,ot):y.style(tt,ut,At,ot)},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,us=t.$;return y.noConflict=function($){return t.$===y&&(t.$=us),$&&t.jQuery===y&&(t.jQuery=Ro),y},typeof n>"u"&&(t.jQuery=t.$=y),y})})(Iw);var tN=Iw.exports;const wd=Mu(tN),nN=(l,t,n)=>{(({title:a})=>{const r='<!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>',o="</body></html>",s=wd(".ContentEditable__root").html(),c=eN(s),i=QO(c),d=r+i+o,u=new Blob([d],{type:"application/msword"});XO.saveAs(u,`${a||"Exported"}.doc`)})({title:t})},rN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC11bCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXptLTMgMWExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6bTAgNGExIDEgMCAxIDAgMC0yIDEgMSAwIDAgMCAwIDJ6Ii8+PC9zdmc+",oN="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktbGlzdC1vbCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNSAxMS41YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOWEuNS41IDAgMCAxLS41LS41em0wLTRhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjV6bTAtNGEuNS41IDAgMCAxIC41LS41aDlhLjUuNSAwIDAgMSAwIDFoLTlhLjUuNSAwIDAgMS0uNS0uNXoiLz48cGF0aCBkPSJNMS43MTMgMTEuODY1di0uNDc0SDJjLjIxNyAwIC4zNjMtLjEzNy4zNjMtLjMxNyAwLS4xODUtLjE1OC0uMzEtLjM2MS0uMzEtLjIyMyAwLS4zNjcuMTUyLS4zNzMuMzFoLS41OWMuMDE2LS40NjcuMzczLS43ODcuOTg2LS43ODcuNTg4LS4wMDIuOTU0LjI5MS45NTcuNzAzYS41OTUuNTk1IDAgMCAxLS40OTIuNTk0di4wMzNhLjYxNS42MTUgMCAwIDEgLjU2OS42MzFjLjAwMy41MzMtLjUwMi44LTEuMDUxLjgtLjY1NiAwLTEtLjM3LTEuMDA4LS43OTRoLjU4MmMuMDA4LjE3OC4xODYuMzA2LjQyMi4zMDkuMjU0IDAgLjQyNC0uMTQ1LjQyMi0uMzUtLjAwMi0uMTk1LS4xNTUtLjM0OC0uNDE0LS4zNDhoLS4zem0tLjAwNC00LjY5OWgtLjYwNHYtLjAzNWMwLS40MDguMjk1LS44NDQuOTU4LS44NDQuNTgzIDAgLjk2LjMyNi45Ni43NTYgMCAuMzg5LS4yNTcuNjE3LS40NzYuODQ4bC0uNTM3LjU3MnYuMDNoMS4wNTRWOUgxLjE0M3YtLjM5NWwuOTU3LS45OWMuMTM4LS4xNDIuMjkzLS4zMDQuMjkzLS41MDggMC0uMTgtLjE0Ny0uMzItLjM0Mi0uMzJhLjMzLjMzIDAgMCAwLS4zNDIuMzM4di4wNDF6TTIuNTY0IDVoLS42MzVWMi45MjRoLS4wMzFsLS41OTguNDJ2LS41NjdsLjYyOS0uNDQzaC42MzVWNXoiLz48L3N2Zz4=",iN=({onlUser:l,collabApiKey:t,htmlPasteModalOpen:n,sethtmlPasteModalOpen:e,passedContent:a,onPaste:r,source:o})=>{ge.useRef(null);const[s,c]=ge.useState(""),[i,d]=ge.useState(""),[u]=Sn(),p=ge.useRef();ge.useRef(null);const f=()=>{d({root:{type:"root",version:1,children:[{children:[],direction:"ltr",format:"",indent:0,type:"text",version:1}],direction:"ltr",format:"",indent:0}}),c("")};ge.useEffect(()=>{f()},[]);const h=()=>{e(!1),c(" "),f()},m=C=>{const T=/display:\s*([^;]+);/,F=C.match(T);if(F)return F[1]};function g(){const[C]=Sn(),T=(B,D)=>{C.update(()=>{const L=Cn(),O=er(`${B}`);O.setStyle(D.style),O.setFormat(D.format),L.append(O),C.getRootElement()&&B&&B.length>0&&(C.getEditorState().read(()=>$n()),wl(L))})},F=()=>{let B=y(s);w(s),B.root.children.map((D,L)=>{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:F,ref:p,style:{display:"none"}})}function _(C,T){const F=/font-weight:\s*([a-zA-Z0-9\-]+);/,B=/text-decoration:\s*([^;]+?)(?=\s*;|\s*$)/,D=/font-style:\s*([a-zA-Z0-9\-]+);/,L=/font-size:\s*([\d.]+(?:px|pt|em|rem|%)?)/,O=/color:\s*([^;]+)/,j=C.match(F),P=C.match(B),R=C.match(D),N=C.match(L),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 F=new RegExp(`${T}:\\s*([^;]+)`),B=C.match(F);return B?B[1].trim():null},w=C=>{const T=new DOMParser,F=b(C),D=T.parseFromString(F,"text/html").querySelectorAll("img");Array.from(D).map(L=>{const P=L.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.update(()=>{const R=L.src,N=L.textContent,M=bc({src:R,altText:N});$n(),wl(M)})},P)})};function S(C,T){const F=Array.from(C.querySelectorAll("tr")),L=C.getAttribute("id").split("_")[1]*2;setTimeout(()=>{T.update(()=>{const O=_p();F.forEach(P=>{const R=El();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)}),$n()&&wl(O)})},L)}function E(C,T,F){return C==="bold"&&T==="italic"&&F==="underline line-through"?15:F==="underline line-through"?12:T==="italic"&&F==="line-through"?6:T==="italic"&&F==="underline"?11:C==="bold"&&F==="line-through"?5:C==="bold"&&F==="underline"?9:C==="bold"&&T==="italic"?3:C==="bold"?1:T==="italic"?2:F==="underline"?8:F==="line-through"?4:0}function b(C){const F=new DOMParser().parseFromString(C,"text/html");let B=1;function D(L){if(L.nodeType===1){const O=`order_${B++}`;L.setAttribute("data-title",O),L.setAttribute("id",O)}L.childNodes.forEach(O=>D(O))}return D(F.body),F.body.innerHTML}function y(C){const T=new DOMParser,F=b(C),B=T.parseFromString(F,"text/html");B.querySelectorAll("[aria-level]").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.update(()=>{const K=Tc(`${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),wl(K)})},V)}),B.querySelectorAll("ul").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.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),$n(),wl(K)})},V)}),B.querySelectorAll("ol").forEach(U=>{const V=U.getAttribute("id").split("_")[1]*2;setTimeout(()=>{u.update(()=>{const K=Ho("ol"),A=ei(),q=er(`${U.textContent}`);let G=Array.from(U.querySelectorAll("span")).map(re=>{const fe=re.getAttribute("style")||"";return{text:re.innerText.trim(),style:fe}}).map(re=>re.style).filter(re=>re).map(re=>re.split(";").map(fe=>fe.trim()).filter(fe=>!fe.startsWith("font-family")).filter(fe=>!fe.startsWith("font-size")).filter(fe=>!fe.startsWith("border")).filter(fe=>!fe.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),$n(),wl(K)})},V)}),B.querySelectorAll("table").forEach(U=>{S(U,u)});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}ge.useEffect(()=>()=>{c(" ")},[]);const x=()=>{e(!0),setTimeout(()=>{var C;(C=p.current)==null||C.click()},200)};return ge.useEffect(C=>{n&&(c(a),x())},[n]),ue.jsx(ue.Fragment,{children:ue.jsx(g,{})})},sN="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIG1pcnJvci1pbi1ydGw9InRydWUiPgogIDxjaXJjbGUgZmlsbD0iIzQ5NGM0ZSIgY3g9IjIiIGN5PSIyIiByPSIyIi8+CiAgPGNpcmNsZSBmaWxsPSIjNDk0YzRlIiBjeD0iMiIgY3k9IjgiIHI9IjIiLz4KICA8Y2lyY2xlIGZpbGw9IiM0OTRjNGUiIGN4PSIyIiBjeT0iMjAiIHI9IjIiLz4KICA8Y2lyY2xlIGZpbGw9IiM0OTRjNGUiIGN4PSIyIiBjeT0iMTQiIHI9IjIiLz4KICA8cGF0aCBmaWxsPSIjNDk0YzRlIiBkPSJNMjMuMDAyIDNINy45OThDNy40NDggMyA3IDIuNTUgNyAyLjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFYyYzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDlINy45OThDNy40NDggOSA3IDguNTUgNyA4LjAwMnYtLjAwNGMwLS41NS40NS0uOTk4Ljk5OC0uOTk4SDIzYy41NSAwIDEgLjQ1IDEgLjk5OFY4YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDE1SDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMTRjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjE0YzAgLjU1LS40NSAxLS45OTggMXpNMjMuMDAyIDIxSDcuOTk4Yy0uNTUgMC0uOTk4LS40NS0uOTk4LS45OThWMjBjMC0uNTUuNDUtMSAuOTk4LTFIMjNjLjU1IDAgMSAuNDUgMSAuOTk4VjIwYzAgLjU1LS40NSAxLS45OTggMXoiLz4KPC9zdmc+",aN={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 lN(){const l=[];for(const[t,n]of Object.entries(wb))l.push([t,n]);return l}const cN=lN(),uN={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 Fp(l){return l?"active dropdown-item-active":""}function xd(){return ue.jsx("div",{className:"divider"})}function dN({editor:l,value:t,isRTL:n,disabled:e=!1}){const a=uN[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(gl,"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(gl,"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(gl,"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(gl,"justify")},className:"item",children:[ue.jsx("i",{className:"icon justify-align"}),ue.jsx("span",{className:"text",children:"Justify Align"})]})]})}function Mw({setIsLinkEditMode:l,onlUser:t,styleConfig:n,showComments:e,setShowComments:a,showTabContentBtn:r,setshowTabContentBtn:o,showTabContent:s}){const[c]=Sn(),[i,d]=ge.useState(c),[u,p]=ge.useState("paragraph"),[f,h]=ge.useState("root"),[m,g]=ge.useState(null),[_,v]=ge.useState("15px"),[w,S]=ge.useState("#000"),[E,b]=ge.useState("#fff"),[y,x]=ge.useState("Arial"),[C,T]=ge.useState("left"),[F,B]=ge.useState(!1),[D,L]=ge.useState(!1),[O,j]=ge.useState(!1),[P,R]=ge.useState(!1),[N,U]=ge.useState(!1),[M,z]=ge.useState(!1),[V,K]=ge.useState(!1),[A,q]=ge.useState(!1),[W,H]=ge.useState(!1),[G,Z]=ge.useState(!1),[Q,Y]=Ma(),[ee,re]=ge.useState(!1),[fe,de]=ge.useState(""),[ne,Se]=ge.useState(()=>c.isEditable()),[we,me]=ge.useState(""),[je,ce]=ge.useState(""),[se,pe]=ge.useState(""),[le,ke]=ge.useState(""),[Te,Ce]=ge.useState(!0),[Me,qe]=ge.useState(!1),Le=1;ge.useEffect(()=>{const Ke=c.registerCommand(ba,et=>{const nt=et.clipboardData||window.clipboardData,zt=nt==null?void 0:nt.getData("text/html");return zt.includes('<meta http-equiv=Content-Type content="text/html; charset=utf-8">')&&zt.includes("microsoft-com")?!1:zt.includes("Outline")?(ke(zt),qe(!0),!0):!1},Le);return()=>{Ke()}},[Te]);const Re=ge.useCallback(()=>{const Ke=kt();if(Et(Ke)){const et=Ke.anchor.getNode();let nt=et.getKey()==="root"?et:nr(et,bt=>{const Dt=bt.getParent();return Dt!==null&&to(Dt)});nt===null&&(nt=et.getTopLevelElementOrThrow());const zt=nt.getKey(),Qe=i.getElementByKey(zt);L(Ke.hasFormat("bold")),j(Ke.hasFormat("italic")),R(Ke.hasFormat("underline")),U(Ke.hasFormat("strikethrough")),z(Ke.hasFormat("subscript")),K(Ke.hasFormat("superscript")),q(Ke.hasFormat("code")),re(rb(Ke));const Bt=Tw(Ke),Zt=Bt.getParent();Qo(Zt)||Qo(Bt)?B(!0):B(!1);const on=nr(Bt,jr);if(jr(on)?h("table"):h("root"),Qe!==null)if(g(zt),lr(nt)){const bt=ab(et,ld),Dt=bt?bt.getListType():nt.getListType();p(Dt)}else{const bt=K1(nt)?nt.getTag():nt.getType();if(bt in aN&&p(bt),_m(nt)){const Dt=nt.getLanguage();de(Dt?xb[Dt]||Dt:"");return}}v(rd(Ke,"font-size","15px")),S(rd(Ke,"color","#000")),b(rd(Ke,"background-color","#fff")),x(rd(Ke,"font-family","Arial"));let tn;Qo(Zt)&&(tn=nr(Bt,bt=>jt(bt)&&!bt.isInline())),T(jt(tn)?tn.getFormatType():jt(Bt)?Bt.getFormatType():(Zt==null?void 0:Zt.getFormatType())||"left")}},[i]);ge.useEffect(()=>c.registerCommand(vi,(Ke,et)=>(Re(),d(et),!1),Uo),[c,Re]),ge.useEffect(()=>br(i.registerUpdateListener(({editorState:Ke})=>{Ke.read(()=>{Re()})}),i.registerCommand(ec,Ke=>(H(Ke),!1),Uo),i.registerCommand(Ql,Ke=>(Z(Ke),!1),Uo)),[Re,i,c]),ge.useEffect(()=>i.registerCommand(Sv,Ke=>{const et=Ke,{code:nt,ctrlKey:zt,metaKey:Qe}=et;if(nt==="KeyK"&&(zt||Qe)){et.preventDefault();let Bt;return F?(l(!1),Bt=null):(l(!0),Bt=dw("https://")),i.dispatchCommand(Aa,Bt)}return!1},Gk),[i,F,l]);const Ee=ge.useCallback((Ke,et)=>{i.update(()=>{const nt=kt();nt!==null&&fm(nt,Ke)},et?{tag:"historic"}:{})},[i]);ge.useCallback(()=>{i.update(()=>{const Ke=kt();if(Et(Ke)){const et=Ke.anchor,nt=Ke.focus,zt=Ke.getNodes();if(et.key===nt.key&&et.offset===nt.offset)return;zt.forEach((Qe,Bt)=>{if(Wt(Qe)){let Zt=Qe;Bt===0&&et.offset!==0&&(Zt=Zt.splitText(et.offset)[1]||Zt),Bt===zt.length-1&&(Zt=Zt.splitText(nt.offset)[0]||Zt),Zt.__style!==""&&Zt.setStyle(""),Zt.__format!==0&&(Zt.setFormat(0),hm(Zt).setFormat("")),Qe=Zt}else K1(Qe)||YT(Qe)?Qe.replace(Cn(),!0):Fm(Qe)&&Qe.setFormat("")})}})},[i]),ge.useCallback((Ke,et)=>{Ee({color:Ke},et)},[Ee]),ge.useCallback((Ke,et)=>{Ee({"background-color":Ke},et)},[Ee]),ge.useCallback(()=>{F?(l(!1),c.dispatchCommand(Aa,null)):(l(!0),c.dispatchCommand(Aa,dw("https://")))},[c,F,l]);const ze=ge.useCallback(Ke=>{i.update(()=>{if(m!==null){const et=Bn(m);_m(et)&&et.setLanguage(Ke)}})},[i,m]),Oe=()=>{u!=="number"?c.dispatchCommand(Rb,void 0):c.dispatchCommand(Lb,void 0)},Ge=()=>{c.focus(),c.dispatchCommand(Db,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:sN,width:16,height:16})}),ue.jsx("button",{disabled:!W||!ne,onClick:()=>{i.dispatchCommand(Ru,void 0)},title:Ra?"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:!G||!ne,onClick:()=>{i.dispatchCommand(Lu,void 0)},title:Ra?"Redo (⌘Y)":"Redo (Ctrl+Y)",type:"button",className:"toolbar-item","aria-label":"Redo",children:ue.jsx("i",{className:"format redo"})}),u==="code"?ue.jsx(bd,{disabled:!ne,buttonClassName:"toolbar-item code-language",buttonLabel:_2(fe),buttonAriaLabel:"Select language",children:cN.map(([Ke,et])=>ue.jsx(bo,{className:`item ${Fp(Ke===fe)}`,onClick:()=>ze(Ke),children:ue.jsx("span",{className:"text",children:et})},Ke))}):ue.jsxs(ue.Fragment,{children:[ue.jsx(xd,{}),ue.jsx(GO,{selectionFontSize:_.slice(0,-2),editor:c,disabled:!ne,styleConfig:n,blockType:"h1",isenterPressed:se,currentElementClick:we,currentElementSelect:je}),ue.jsx(xd,{}),ue.jsx("button",{disabled:!ne,onClick:()=>{i.dispatchCommand(Gr,"bold")},className:"toolbar-item spaced "+(D?"active":""),title:Ra?"Bold (⌘B)":"Bold (Ctrl+B)",type:"button","aria-label":`Format text as bold. Shortcut: ${Ra?"⌘B":"Ctrl+B"}`,children:ue.jsx("i",{className:"format bold"})}),ue.jsx("button",{disabled:!ne,onClick:()=>{i.dispatchCommand(Gr,"italic")},className:"toolbar-item spaced "+(O?"active":""),title:Ra?"Italic (⌘I)":"Italic (Ctrl+I)",type:"button","aria-label":`Format text as italics. Shortcut: ${Ra?"⌘I":"Ctrl+I"}`,children:ue.jsx("i",{className:"format italic"})}),ue.jsx("button",{disabled:!ne,onClick:()=>{i.dispatchCommand(Gr,"underline")},className:"toolbar-item spaced "+(P?"active":""),title:Ra?"Underline (⌘U)":"Underline (Ctrl+U)",type:"button","aria-label":`Format text to underlined. Shortcut: ${Ra?"⌘U":"Ctrl+U"}`,children:ue.jsx("i",{className:"format underline"})}),ue.jsx("button",{className:"toolbar-item",onClick:()=>c.dispatchCommand(S1,void 0),title:"Insert Endnote",children:ue.jsx("i",{className:"format endnotes"})}),ue.jsxs(bd,{disabled:!ne,buttonClassName:"toolbar-item spaced",buttonLabel:"",buttonAriaLabel:"Formatting options for additional text styles",buttonIconClassName:"icon dropdown-more",children:[ue.jsxs(bo,{onClick:()=>{i.dispatchCommand(Gr,"strikethrough")},className:"item "+Fp(N),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:()=>{i.dispatchCommand(Gr,"subscript")},className:"item "+Fp(M),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:()=>{i.dispatchCommand(Gr,"superscript")},className:"item "+Fp(V),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:!ne,buttonClassName:"toolbar-item spaced",buttonLabel:"Insert",buttonAriaLabel:"Insert specialized editor node",buttonIconClassName:"icon plus",children:[ue.jsxs(bo,{onClick:()=>{Y("Insert Image",Ke=>ue.jsx(gO,{activeEditor:i,onClose:Ke,captionsEnabled:!1}))},className:"item",children:[ue.jsx("i",{className:"icon image"}),ue.jsx("span",{className:"text",children:"Image"})]}),ue.jsxs(bo,{onClick:()=>{Y("Insert Table",Ke=>ue.jsx(NT,{activeEditor:i,onClose:Ke}))},className:"item",children:[ue.jsx("i",{className:"icon table"}),ue.jsx("span",{className:"text",children:"Table"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{Ge()},children:[ue.jsx("img",{src:rN,height:21,width:21}),ue.jsx("span",{style:{marginLeft:"10px",marginTop:"2px"},children:"Bullet List"})]}),ue.jsxs(bo,{className:"item",onClick:()=>{Oe()},children:[ue.jsx("img",{src:oN,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(iN,{passedContent:le,source:"remote",onPaste:null,htmlPasteModalOpen:Me,sethtmlPasteModalOpen:qe,onlUser:t,collabApiKey:""}),ue.jsx("button",{className:"toolbar-item",onClick:()=>{nN(c,"title-doc")},children:ue.jsx("img",{title:"Download as .doc",src:ZO,height:18,width:18,className:"download-icon"})}),ue.jsx(dN,{disabled:!ne,value:C,editor:c,isRTL:ee}),ue.jsx("div",{className:"flex-container-onluser",children:t}),Q]})}const iR="",fN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Dw({ariaActiveDescendant:l,ariaAutoComplete:t,ariaControls:n,ariaDescribedBy:e,ariaExpanded:a,ariaLabel:r,ariaLabelledBy:o,ariaMultiline:s,ariaOwns:c,ariaRequired:i,autoCapitalize:d,className:u,id:p,role:f="textbox",spellCheck:h=!0,style:m,tabIndex:g,"data-testid":_,...v}){const[w]=Sn(),[S,E]=ge.useState(!1),b=ge.useCallback(y=>{y&&y.ownerDocument&&y.ownerDocument.defaultView&&w.setRootElement(y)},[w]);return fN(()=>(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:d,className:u,contentEditable:S,"data-testid":_,id:p,ref:b,role:f,spellCheck:h,style:m,tabIndex:g})}function Sd({className:l}){return ue.jsx(Dw,{className:l||"ContentEditable__root"})}const sR="";function Ed({children:l,className:t}){return ue.jsx("div",{className:t||"Placeholder__root",children:l})}let ay=class Hj extends Fr{static getType(){return"mark"}static clone(t){return new Hj(Array.from(t.__ids),t.__key)}static importDOM(){return null}static importJSON(t){const n=Bp(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&&pc(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 Tl(t)?t.__ids:[]}addID(t){const n=this.getWritable();if(Tl(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(Tl(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=Bp(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(!Et(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 Bp(l){return Ar(new ay(l))}function Tl(l){return l instanceof ay}function pN(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 hN(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 d,u;for(let p=0;p<s;p++){const f=a[p];if(jt(u)&&u.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(Tl(f))continue;jt(f)&&f.isInline()&&(g=f)}if(g!==null){if(g&&g.is(d))continue;const _=g.getParent();_!=null&&_.is(d)||(u=void 0),d=_,u===void 0&&(u=(e||Bp)([n]),g.insertBefore(u)),u.append(g)}else d=void 0,u=void 0}jt(u)&&(t?u.selectStart():u.selectEnd())}function gN(l,t){let n=l;for(;n!==null;){if(Tl(n))return n.getIDs();if(Wt(n)&&t===n.getTextContentSize()){const e=n.getNextSibling();if(Tl(e))return e.getIDs()}n=n.getParent()}return null}const Rw=[["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)"]],Lw=Rw[Math.floor(Math.random()*Rw.length)],mN=ge.createContext({clientID:0,color:Lw[1],isCollabActive:!1,name:Lw[0],yjsDocMap:new Map});function Cd(l,t){const n=ge.useContext(mN);return l!=null&&(n.name=l),t!=null&&(n.color=t),n}const yN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Fw({onClear:l}){const[t]=Sn();return yN(()=>t.registerCommand(jf,n=>(t.update(()=>{if(l==null){const e=$n(),a=kt(),r=Cn();e.clear(),e.append(r),a!==null&&r.select(),Et(a)&&(a.format=0)}else l()}),!0),Tn),[t,l]),null}function ly(l,t){return ly=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},ly(l,t)}var Bw={error:null},vN=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=Bw,r.resetErrorBoundary=function(){for(var i,d=arguments.length,u=new Array(d),p=0;p<d;p++)u[p]=arguments[p];r.props.onReset==null||(i=r.props).onReset.apply(i,u),r.reset()},r}n=l,(t=e).prototype=Object.create(n.prototype),t.prototype.constructor=t,ly(t,n),e.getDerivedStateFromError=function(r){return{error:r}};var a=e.prototype;return a.reset=function(){this.setState(Bw)},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,d,u=this.state.error,p=this.props.resetKeys;u!==null&&o.error!==null&&((i=r.resetKeys)===void 0&&(i=[]),(d=p)===void 0&&(d=[]),i.length!==d.length||i.some(function(f,h){return!Object.is(f,d[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 d={error:r,resetErrorBoundary:this.resetErrorBoundary};if(sr.isValidElement(i))return i;if(typeof s=="function")return s(d);if(c)return sr.createElement(c,d);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},e}(sr.Component);function Ol({children:l,onError:t}){return ue.jsx(vN,{fallback:ue.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:l})}const _N=Object.freeze(Object.defineProperty({__proto__:null,LexicalErrorBoundary:Ol,default:Ol},Symbol.toStringTag,{value:"Module"})),bN=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function zw({ignoreHistoryMergeTagChange:l=!0,ignoreSelectionChange:t=!1,onChange:n}){const[e]=Sn();return bN(()=>{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,wN=Ac&&"documentMode"in document?document.documentMode:null,xN=!(!Ac||!("InputEvent"in window)||wN)&&"getTargetRanges"in new window.InputEvent("input"),SN=Ac&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),EN=Ac&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,CN=Ac&&/^(?=.*Chrome).*/i.test(navigator.userAgent),jN=Ac&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!CN;function Uw(l,t){t.update(()=>{if(l!==null){const n=Hs(l,KeyboardEvent)?null:l.clipboardData,e=kt();if(e!==null&&n!=null){l.preventDefault();const a=F1(t);a!==null&&n.setData("text/html",a),n.setData("text/plain",e.getTextContent())}}})}function kN(l){return br(l.registerCommand(Ki,t=>{const n=kt();return!!Et(n)&&(n.deleteCharacter(t),!0)},Tn),l.registerCommand(hl,t=>{const n=kt();return!!Et(n)&&(n.deleteWord(t),!0)},Tn),l.registerCommand(wa,t=>{const n=kt();return!!Et(n)&&(n.deleteLine(t),!0)},Tn),l.registerCommand(_a,t=>{const n=kt();if(!Et(n))return!1;if(typeof t=="string")n.insertText(t);else{const e=t.dataTransfer;if(e!=null)B1(e,n);else{const a=t.data;a&&n.insertText(a)}}return!0},Tn),l.registerCommand(bf,()=>{const t=kt();return!!Et(t)&&(t.removeText(),!0)},Tn),l.registerCommand(va,t=>{const n=kt();return!!Et(n)&&(n.insertLineBreak(t),!0)},Tn),l.registerCommand(pl,()=>{const t=kt();return!!Et(t)&&(t.insertLineBreak(),!0)},Tn),l.registerCommand(xf,t=>{const n=kt();if(!Et(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=kt();if(!Et(n))return!1;const e=t,a=e.shiftKey;return!!sp(n,!1)&&(e.preventDefault(),ap(n,a,!1),!0)},Tn),l.registerCommand(Gi,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),l.dispatchCommand(Ki,!0))},Tn),l.registerCommand(Yi,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),l.dispatchCommand(Ki,!1))},Tn),l.registerCommand(Ds,t=>{const n=kt();if(!Et(n))return!1;if(t!==null){if((EN||SN||jN)&&xN)return!1;t.preventDefault()}return l.dispatchCommand(va,!1)},Tn),l.registerCommand(Cf,()=>(Yv(),!0),Tn),l.registerCommand(zu,t=>{const n=kt();return!!Et(n)&&(Uw(t,l),!0)},Tn),l.registerCommand(Uu,t=>{const n=kt();return!!Et(n)&&(function(e,a){Uw(e,a),a.update(()=>{const r=kt();Et(r)&&r.removeText()})}(t,l),!0)},Tn),l.registerCommand(ba,t=>{const n=kt();return!!Et(n)&&(function(e,a){e.preventDefault(),a.update(()=>{const r=kt(),{clipboardData:o}=e;o!=null&&Et(r)&&B1(o,r)},{tag:"paste"})}(t,l),!0)},Tn),l.registerCommand(Ef,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),!0)},Tn),l.registerCommand(Xl,t=>{const n=kt();return!!Et(n)&&(t.preventDefault(),!0)},Tn))}const cy=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;function Hw(l){return l.getEditorState().read(T1(l.isComposing()))}function $w({contentEditable:l,placeholder:t,ErrorBoundary:n}){const[e]=Sn(),a=function(r,o){const[s,c]=ge.useState(()=>r.getDecorators());return cy(()=>r.registerDecoratorListener(i=>{so.flushSync(()=>{c(i)})}),[r]),ge.useEffect(()=>{c(r.getDecorators())},[r]),ge.useMemo(()=>{const i=[],d=Object.keys(s);for(let u=0;u<d.length;u++){const p=d[u],f=ue.jsx(o,{onError:m=>r._onError(m),children:ue.jsx(ge.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){cy(()=>br(kN(r),P1(r)),[r])}(e),ue.jsxs(ue.Fragment,{children:[l,ue.jsx(TN,{content:t}),a]})}function TN({content:l}){const[t]=Sn(),n=function(a){const[r,o]=ge.useState(()=>Hw(a));return cy(()=>{function s(){const c=Hw(a);o(c)}return s(),br(a.registerUpdateListener(()=>{s()}),a.registerEditableListener(()=>{s()}))},[a]),r}(t),e=Ym();return n?typeof l=="function"?l(e):l:null}var ON={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(d,u){if(!r[d]){if(!a[d]){var p=void 0;if(!u&&p)return require(d,!0);if(c)return c(d,!0);throw(u=new Error("Cannot find module '"+d+"'")).code="MODULE_NOT_FOUND",u}p=r[d]={exports:{}},a[d][0].call(p.exports,function(f){return s(a[d][1][f]||f)},p,p.exports,e,a,r,o)}return r[d].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,d,u){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 d=c[i];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(s,d.key,d)}}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,d,u=[],p=!0,f=!1;try{for(c=c.call(o);!(p=(i=c.next()).done)&&(u.push(i.value),!s||u.length!==s);p=!0);}catch(h){f=!0,d=h}finally{try{p||c.return==null||c.return()}finally{if(f)throw d}}return u}},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,d){return i.__proto__=d,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(d,u){return o(d)||s(d,u)||c(d,u)||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(d){return o(d)||s(d)||c(d)||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 d(u){var p=typeof Map=="function"?new Map:void 0;return a.exports=d=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,d(u)}a.exports=d,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,d,u;if(Array.isArray(s)){if((i=s.length)!=c.length)return!1;for(d=i;d--!=0;)if(!o(s[d],c[d]))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=(u=Object.keys(s)).length)!==Object.keys(c).length)return!1;for(d=i;d--!=0;)if(!Object.prototype.hasOwnProperty.call(c,u[d]))return!1;for(d=i;d--!=0;){var p=u[d];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 d.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return u.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")),d=m(e("./nil.js")),u=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 d(f,h,m,g,_,v,w){return c(h&g|m&~g,f,h,_,v,w)}function u(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 L=0;L<S.length;L+=16){var T=b,F=y,B=x,D=C;b=i(b,y,x,C,S[L],7,-680876936),C=i(C,b,y,x,S[L+1],12,-389564586),x=i(x,C,b,y,S[L+2],17,606105819),y=i(y,x,C,b,S[L+3],22,-1044525330),b=i(b,y,x,C,S[L+4],7,-176418897),C=i(C,b,y,x,S[L+5],12,1200080426),x=i(x,C,b,y,S[L+6],17,-1473231341),y=i(y,x,C,b,S[L+7],22,-45705983),b=i(b,y,x,C,S[L+8],7,1770035416),C=i(C,b,y,x,S[L+9],12,-1958414417),x=i(x,C,b,y,S[L+10],17,-42063),y=i(y,x,C,b,S[L+11],22,-1990404162),b=i(b,y,x,C,S[L+12],7,1804603682),C=i(C,b,y,x,S[L+13],12,-40341101),x=i(x,C,b,y,S[L+14],17,-1502002290),y=i(y,x,C,b,S[L+15],22,1236535329),b=d(b,y,x,C,S[L+1],5,-165796510),C=d(C,b,y,x,S[L+6],9,-1069501632),x=d(x,C,b,y,S[L+11],14,643717713),y=d(y,x,C,b,S[L],20,-373897302),b=d(b,y,x,C,S[L+5],5,-701558691),C=d(C,b,y,x,S[L+10],9,38016083),x=d(x,C,b,y,S[L+15],14,-660478335),y=d(y,x,C,b,S[L+4],20,-405537848),b=d(b,y,x,C,S[L+9],5,568446438),C=d(C,b,y,x,S[L+14],9,-1019803690),x=d(x,C,b,y,S[L+3],14,-187363961),y=d(y,x,C,b,S[L+8],20,1163531501),b=d(b,y,x,C,S[L+13],5,-1444681467),C=d(C,b,y,x,S[L+2],9,-51403784),x=d(x,C,b,y,S[L+7],14,1735328473),y=d(y,x,C,b,S[L+12],20,-1926607734),b=u(b,y,x,C,S[L+5],4,-378558),C=u(C,b,y,x,S[L+8],11,-2022574463),x=u(x,C,b,y,S[L+11],16,1839030562),y=u(y,x,C,b,S[L+14],23,-35309556),b=u(b,y,x,C,S[L+1],4,-1530992060),C=u(C,b,y,x,S[L+4],11,1272893353),x=u(x,C,b,y,S[L+7],16,-155497632),y=u(y,x,C,b,S[L+10],23,-1094730640),b=u(b,y,x,C,S[L+13],4,681279174),C=u(C,b,y,x,S[L],11,-358537222),x=u(x,C,b,y,S[L+3],16,-722521979),y=u(y,x,C,b,S[L+6],23,76029189),b=u(b,y,x,C,S[L+9],4,-640364487),C=u(C,b,y,x,S[L+12],11,-421815835),x=u(x,C,b,y,S[L+15],16,530742520),y=u(y,x,C,b,S[L+2],23,-995338651),b=p(b,y,x,C,S[L],6,-198630844),C=p(C,b,y,x,S[L+7],10,1126891415),x=p(x,C,b,y,S[L+14],15,-1416354905),y=p(y,x,C,b,S[L+5],21,-57434055),b=p(b,y,x,C,S[L+12],6,1700485571),C=p(C,b,y,x,S[L+3],10,-1894986606),x=p(x,C,b,y,S[L+10],15,-1051523),y=p(y,x,C,b,S[L+1],21,-2054922799),b=p(b,y,x,C,S[L+8],6,1873313359),C=p(C,b,y,x,S[L+15],10,-30611744),x=p(x,C,b,y,S[L+6],15,-1560198380),y=p(y,x,C,b,S[L+13],21,1309151649),b=p(b,y,x,C,S[L+4],6,-145523070),C=p(C,b,y,x,S[L+11],10,-1120210379),x=p(x,C,b,y,S[L+2],15,718787259),y=p(y,x,C,b,S[L+9],21,-343485551),b=s(b,T),y=s(y,F),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 d=unescape(encodeURIComponent(s));s=[];for(let _=0;_<d.length;++_)s.push(d.charCodeAt(_))}else Array.isArray(s)||(s=Array.prototype.slice.call(s));s.push(128);var u=s.length/4+2,p=Math.ceil(u/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,F)=>{switch(x){case 0:return C&T^~C&F;case 1:case 3:return C^T^F;case 2:return C&T^C&F^T&F}})(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,d,u=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:d,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=d=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-u+(S-p)/1e4;if(E<0&&f.clockseq===void 0&&(w=w+1&16383),1e4<=(S=(E<0||m>u)&&f.nsecs===void 0?0:S))throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=m,p=S,d=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(u,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=u}catch{}return h.DNS=i,h.URL=d,h},r.URL=r.DNS=void 0;var o=c(e("./stringify.js")),s=c(e("./parse.js"));function c(u){return u&&u.__esModule?u:{default:u}}let i="6ba7b810-9dad-11d1-80b4-00c04fd430c8",d=(r.DNS=i,"6ba7b811-9dad-11d1-80b4-00c04fd430c8");r.URL=d},{"./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,d,u){var p=(i=i||{}).random||(i.rng||o.default)();if(p[6]=15&p[6]|64,p[8]=63&p[8]|128,d){u=u||0;for(let f=0;f<16;++f)d[u+f]=p[f];return d}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,d=(S=e("./type")).isRealObject,u=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,u(b)&&u(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,u(b)&&u(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,F=0,B=0,D=0;for(T=0,F=0;F<b.length&&T<E.length;T++){i("arrayDiff: loop at",{i:T,j:F},!0);var L,O=E[T],j=T-B;j=[].concat((0,o.default)(y),[j]),this.isMatchingObjects(E[T],b[F],y)?(L=x(O,b[F],j),i("arrayDiff: same target object (id) -> recursively diff result = ",{r:L},!0),C=C.concat(L),F++):(L={p:j,ld:g(O)},C.push(L),i("arrayDiff: different target object (id) -> create a ld op = ",{op:L,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=F;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,F=y.commonHeaderLen,B=y.diff,D=y.isObjectArray,L=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+F-R]),L),O=O.concat(E),i("arrayOfArrayDiff: the same array -> recursively generate r = ",E),i("arrayOfArrayDiff: the same array -> ops = ",O),P++):(E=j-R+F,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]),null},n5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIxNC42IDQxLjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwbC0xNjAgMTYwYy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE2MCAxNDEuMiAxNjAgNDQ4YzAgMTcuNyAxNC4zIDMyIDMyIDMyczMyLTE0LjMgMzItMzJsMC0zMDYuN0wzMjkuNCAyNDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zbC0xNjAtMTYweiIvPjwvc3ZnPg==",r5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTE2OS40IDQ3MC42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE2MC0xNjBjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjI0IDM3MC44IDIyNCA2NGMwLTE3LjctMTQuMy0zMi0zMi0zMnMtMzIgMTQuMy0zMiAzMmwwIDMwNi43TDU0LjYgMjY1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE2MCAxNjB6Ii8+PC9zdmc+",o5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTM0Mi42IDE1MC42YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zcy0zMi44LTEyLjUtNDUuMyAwTDE5MiAyMTAuNyA4Ni42IDEwNS40Yy0xMi41LTEyLjUtMzIuOC0xMi41LTQ1LjMgMHMtMTIuNSAzMi44IDAgNDUuM0wxNDYuNyAyNTYgNDEuNCAzNjEuNGMtMTIuNSAxMi41LTEyLjUgMzIuOCAwIDQ1LjNzMzIuOCAxMi41IDQ1LjMgMEwxOTIgMzAxLjMgMjk3LjQgNDA2LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBzMTIuNS0zMi44IDAtNDUuM0wyMzcuMyAyNTYgMzQyLjYgMTUwLjZ6Ii8+PC9zdmc+",i5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTMxMC42IDIzMy40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0xOTIgMTkyYy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMHMtMTIuNS0zMi44IDAtNDUuM0wyNDIuNyAyNTYgNzMuNCA4Ni42Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwbDE5MiAxOTJ6Ii8+PC9zdmc+",s5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIzMy40IDQwNi42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE5Mi0xOTJjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjU2IDMzOC43IDg2LjYgMTY5LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE5MiAxOTJ6Ii8+PC9zdmc+",a5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZmZmIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMuMjIxIDMuNzM5bDIuMjYxIDIuMjY5TDcuNyAzLjc4NGwtLjctLjctMS4wMTIgMS4wMDctLjAwOC0xLjZhLjUyMy41MjMgMCAwIDEgLjUtLjUyNkg4VjFINi40OEExLjQ4MiAxLjQ4MiAwIDAgMCA1IDIuNDg5VjQuMUwzLjkyNyAzLjAzM2wtLjcwNi43MDZ6bTYuNjcgMS43OTRoLjAxYy4xODMuMzExLjQ1MS40NjcuODA2LjQ2Ny4zOTMgMCAuNzA2LS4xNjguOTQtLjUwMy4yMzYtLjMzNS4zNTMtLjc4LjM1My0xLjMzMyAwLS41MTEtLjEtLjkxMy0uMzAxLTEuMjA3LS4yMDEtLjI5NS0uNDg4LS40NDItLjg2LS40NDItLjQwNSAwLS43MTguMTk0LS45MzguNTgxaC0uMDFWMUg5djQuOTE5aC44OXYtLjM4NnptLS4wMTUtMS4wNjF2LS4zNGMwLS4yNDguMDU4LS40NDguMTc1LS42MDFhLjU0LjU0IDAgMCAxIC40NDUtLjIzLjQ5LjQ5IDAgMCAxIC40MzYuMjMzYy4xMDQuMTU0LjE1NS4zNjguMTU1LjY0MyAwIC4zMy0uMDU2LjU4Ny0uMTY5Ljc2OGEuNTI0LjUyNCAwIDAgMS0uNDcuMjcuNDk1LjQ5NSAwIDAgMS0uNDExLS4yMTEuODUzLjg1MyAwIDAgMS0uMTYtLjUzMnpNOSAxMi43NjljLS4yNTYuMTU0LS42MjUuMjMxLTEuMTA4LjIzMS0uNTYzIDAtMS4wMi0uMTc4LTEuMzY5LS41MzMtLjM0OS0uMzU1LS41MjMtLjgxMy0uNTIzLTEuMzc0IDAtLjY0OC4xODYtMS4xNTguNTYtMS41My4zNzQtLjM3Ni44NzUtLjU2MyAxLjUtLjU2My40MzMgMCAuNzQ2LjA2Ljk0LjE3OXYuOTk4YTEuMjYgMS4yNiAwIDAgMC0uNzkyLS4yNzZjLS4zMjUgMC0uNTgzLjEtLjc3NC4yOTgtLjE5LjE5Ni0uMjgzLjQ2OC0uMjgzLjgxNiAwIC4zMzguMDkuNjAzLjI3Mi43OTcuMTgyLjE5MS40MzEuMjg3Ljc0OS4yODcuMjgyIDAgLjU1OC0uMDkyLjgyOC0uMjc2di45NDZ6TTQgN0wzIDh2NmwxIDFoN2wxLTFWOGwtMS0xSDR6bTAgMWg3djZINFY4eiIvPjwvc3ZnPg==",l5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZmZmIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTExLjYgMi42NzdjLjE0Ny0uMzEuMzU2LS40NjUuNjI2LS40NjUuMjQ4IDAgLjQ0LjExOC41NzMuMzUzLjEzNC4yMzYuMjAxLjU1Ny4yMDEuOTY2IDAgLjQ0My0uMDc4Ljc5OC0uMjM1IDEuMDY3LS4xNTYuMjY4LS4zNjUuNDAyLS42MjcuNDAyLS4yMzcgMC0uNDE2LS4xMjUtLjUzNy0uMzc0aC0uMDA4di4zMUgxMVYxaC41OTN2MS42NzdoLjAwOHptLS4wMTYgMS4xYS43OC43OCAwIDAgMCAuMTA3LjQyNmMuMDcxLjExMy4xNjMuMTY5LjI3NC4xNjkuMTM2IDAgLjI0LS4wNzIuMzE0LS4yMTYuMDc1LS4xNDUuMTEzLS4zNS4xMTMtLjYxNSAwLS4yMi0uMDM1LS4zOS0uMTA0LS41MTQtLjA2Ny0uMTI0LS4xNjQtLjE4Ny0uMjktLjE4Ny0uMTIgMC0uMjE5LjA2Mi0uMjk3LjE4NWEuODg2Ljg4NiAwIDAgMC0uMTE3LjQ4di4yNzJ6TTQuMTIgNy42OTVMMiA1LjU2OGwuNjYyLS42NjIgMS4wMDYgMXYtMS41MUExLjM5IDEuMzkgMCAwIDEgNS4wNTUgM0g3LjR2LjkwNUg1LjA1NWEuNDkuNDkgMCAwIDAtLjQ2OC40OTNsLjAwNyAxLjUuOTQ5LS45NDQuNjU2LjY1Ni0yLjA4IDIuMDg1ek05LjM1NiA0LjkzSDEwVjMuMjJDMTAgMi40MDggOS42ODUgMiA5LjA1NiAyYy0uMTM1IDAtLjI4NS4wMjQtLjQ1LjA3M2ExLjQ0NCAxLjQ0NCAwIDAgMC0uMzg4LjE2N3YuNjY1Yy4yMzctLjIwMy40ODctLjMwNC43NS0uMzA0LjI2MSAwIC4zOTIuMTU2LjM5Mi40NjlsLS42LjEwM2MtLjUwNi4wODYtLjc2LjQwNi0uNzYuOTYxIDAgLjI2My4wNjEuNDczLjE4My42MzFBLjYxLjYxIDAgMCAwIDguNjkgNWMuMjkgMCAuNTA5LS4xNi42NTctLjQ4aC4wMDl2LjQxem0uMDA0LTEuMzU1di4xOTNhLjc1Ljc1IDAgMCAxLS4xMi40MzYuMzY4LjM2OCAwIDAgMS0uMzEzLjE3LjI3Ni4yNzYgMCAwIDEtLjIyLS4wOTUuMzguMzggMCAwIDEtLjA4LS4yNDhjMC0uMjIyLjExLS4zNTEuMzMyLS4zODlsLjQtLjA2N3pNNyAxMi45M2gtLjY0NHYtLjQxaC0uMDA5Yy0uMTQ4LjMyLS4zNjcuNDgtLjY1Ny40OGEuNjEuNjEgMCAwIDEtLjUwNy0uMjM1Yy0uMTIyLS4xNTgtLjE4My0uMzY4LS4xODMtLjYzIDAtLjU1Ni4yNTQtLjg3Ni43Ni0uOTYybC42LS4xMDNjMC0uMzEzLS4xMy0uNDctLjM5Mi0uNDctLjI2MyAwLS41MTMuMTAyLS43NS4zMDV2LS42NjVjLjA5NS0uMDYzLjIyNC0uMTE5LjM4OC0uMTY3LjE2NS0uMDQ5LjMxNS0uMDczLjQ1LS4wNzMuNjMgMCAuOTQ0LjQwNy45NDQgMS4yMnYxLjcxem0tLjY0LTEuMTYydi0uMTkzbC0uNC4wNjhjLS4yMjIuMDM3LS4zMzMuMTY2LS4zMzMuMzg4IDAgLjEuMDI3LjE4My4wOC4yNDhhLjI3Ni4yNzYgMCAwIDAgLjIyLjA5NS4zNjguMzY4IDAgMCAwIC4zMTItLjE3Yy4wOC0uMTE2LjEyLS4yNi4xMi0uNDM2ek05LjI2MiAxM2MuMzIxIDAgLjU2OC0uMDU4LjczOC0uMTczdi0uNzFhLjkuOSAwIDAgMS0uNTUyLjIwNy42MTkuNjE5IDAgMCAxLS41LS4yMTVjLS4xMi0uMTQ1LS4xODEtLjM0NS0uMTgxLS41OTggMC0uMjYuMDYzLS40NjQuMTg5LS42MTJhLjY0NC42NDQgMCAwIDEgLjUxNi0uMjIzYy4xOTQgMCAuMzcuMDY5LjUyOC4yMDd2LS43NDljLS4xMjktLjA5LS4zMzgtLjEzNC0uNjI2LS4xMzQtLjQxNyAwLS43NTEuMTQtMS4wMDEuNDIyLS4yNDkuMjgtLjM3My42NjItLjM3MyAxLjE0OCAwIC40Mi4xMTYuNzY0LjM0OSAxLjAzLjIzMi4yNjcuNTM3LjQuOTEzLjR6TTIgOWwxLTFoOWwxIDF2NWwtMSAxSDNsLTEtMVY5em0xIDB2NWg5VjlIM3ptMy0ybDEtMWg3bDEgMXY1bC0xIDFWN0g2eiIvPjwvc3ZnPg==",lR="",c5=({handleClose:l,searchText:t,setSearchText:n,replaceText:e,setReplaceText:a,handleReplaceAll:r,handleReplace:o,handleNextMatch:s,handlePreviousMatch:c,matchesCount:i,currentMatchIndex:d,searchInputRef:u,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?s5:i5,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:u}),i===0?ue.jsx("span",{className:"search-and-replace-no-results",children:"No results"}):ue.jsxs("span",{className:"search-and-replace-results-count",children:[d+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:n5,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:r5,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:o5,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:a5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:r,children:ue.jsx("img",{width:25,height:22,src:l5,alt:""})})]})]})})]})});function u5({editor:l,matches:t,currentMatchIndex:n}){const[e,a]=ge.useState([]);return ge.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 d=i.textContent||"",u=Math.min(o.start,d.length),p=Math.min(o.end,d.length),f=document.createRange();try{f.setStart(i,u),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 OS(){const[l]=Sn(),[t,n]=ge.useState(!1),[e,a]=ge.useState(""),[r,o]=ge.useState(""),[s,c]=ge.useState([]),[i,d]=ge.useState(-1),u=ge.useRef(null),p=ge.useRef(null),[f,h]=ge.useState(!1);ge.useEffect(()=>{u&&u.current&&u.current.focus()},[]);function m(C){let T=[];return C instanceof no&&T.push(C),C.getChildren&&typeof C.getChildren=="function"&&C.getChildren().forEach(F=>{T=T.concat(m(F))}),T}const g=ge.useCallback(()=>{if(!t||e===""){c([]),d(-1);return}l.getEditorState().read(()=>{const C=$n(),T=m(C),F=[],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;F.push({key:D.getKey(),start:P,end:P+e.length}),j=P+1}}),c(F),d(F.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 F=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),B=new RegExp(F,"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=$n();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 F=T.getTextContent();E(i);const B=F.slice(0,C.start)+r+F.slice(C.end);T.setTextContent(B)}}}),setTimeout(()=>{g()},0)};ge.useEffect(()=>{g()},[g]);const E=ge.useCallback(C=>{if(s.length===0)return;const T=s[C];l.getEditorState().read(()=>{const F=Bn(T.key);if(F&&F instanceof no){const B=l.getElementByKey(F.getKey());B&&B.scrollIntoView({behavior:"smooth",block:"center"})}})},[s,l]),b=ge.useCallback(()=>{if(s.length===0)return;const C=(i+1)%s.length;d(C),E(C)},[i,s,E]),y=ge.useCallback(()=>{if(s.length===0)return;const C=(i-1+s.length)%s.length;d(C),E(C)},[i,s,E]),x=ge.useCallback(C=>{if((C.ctrlKey||C.metaKey)&&C.key==="f"){if(!l.getRootElement().contains(document.activeElement))return;C.preventDefault(),l.getEditorState().read(()=>{const F=kt();if(Et(F)){const B=F.getTextContent();a(B)}}),n(!0)}C.key==="Enter"&&u.current===document.activeElement&&(C.preventDefault(),b())},[l,b]);return ge.useEffect(()=>(document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)),[x]),ge.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(c5,{handleReplace:S,handleClose:_,handleReplaceAll:w,searchText:e,setSearchText:a,replaceText:r,setReplaceText:o,handleNextMatch:b,handlePreviousMatch:y,matchesCount:s.length,currentMatchIndex:i,searchInputRef:u,replaceInputRef:p,ReplaceBoxOpen:f,setReplaceBoxOpen:h}),ue.jsx(u5,{editor:l,matches:s,currentMatchIndex:i})]})}const cR="";function d5({editorRef:l}){const[t]=Sn();return sr.useEffect(()=>{typeof l=="function"?l(t):typeof l=="object"&&(l.current=t)},[t]),null}const xs=()=>new Map,Fy=l=>{const t=xs();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},f5=(l,t)=>{const n=[];for(const[e,a]of l)n.push(t(a,e));return n},p5=(l,t)=>{for(const[n,e]of l)if(t(e,n))return!0;return!1},Xc=()=>new Set,By=l=>l[l.length-1],Qc=Array.from,h5=Array.isArray;class g5{constructor(){this._observers=xs()}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)||xs()).values()).forEach(e=>e(...n))}destroy(){this._observers=xs()}}const Ml=Math.floor,uh=Math.abs,NS=(l,t)=>l<t?l:t,eu=(l,t)=>l>t?l:t,m5=l=>l!==0?l<0:1/l<0,AS=1,PS=2,zy=4,Uy=8,y5=32,IS=64,dh=128,v5=31,MS=63,Rd=127,_5=2147483647,b5=Number.isInteger||(l=>typeof l=="number"&&isFinite(l)&&Ml(l)===l),w5=l=>l.toLowerCase(),x5=/^\s*/g,S5=l=>l.replace(x5,""),E5=/([A-Z])/g,DS=(l,t)=>S5(l.replace(E5,n=>`${t}${w5(n)}`)),C5=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,j5=Ld?l=>Ld.encode(l):C5;let Hy=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});Hy&&Hy.decode(new Uint8Array).length===1&&(Hy=null);class Fd{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const $y=()=>new Fd,k5=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(k5(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},T5=(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},qy=xo,Or=(l,t)=>{for(;t>Rd;)xo(l,dh|Rd&t),t=Ml(t/128);xo(l,Rd&t)},Wy=(l,t)=>{const n=m5(t);for(n&&(t=-t),xo(l,(t>MS?dh:0)|(n?IS:0)|MS&t),t=Ml(t/64);t>0;)xo(l,(t>Rd?dh:0)|Rd&t),t=Ml(t/128)},Jy=new Uint8Array(3e4),O5=Jy.length/3,N5=(l,t)=>{if(t.length<O5){const n=Ld.encodeInto(t,Jy).written||0;Or(l,n);for(let e=0;e<n;e++)xo(l,Jy[e])}else Si(l,j5(t))},A5=(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?N5:A5,Vy=(l,t)=>{const n=l.cbuf.length,e=l.cpos,a=NS(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),Vy(l,t)},Ky=(l,t)=>{T5(l,t);const n=new DataView(l.cbuf.buffer,l.cpos,t);return l.cpos+=t,n},P5=(l,t)=>Ky(l,4).setFloat32(0,t,!1),I5=(l,t)=>Ky(l,8).setFloat64(0,t,!1),M5=(l,t)=>Ky(l,8).setBigInt64(0,t,!1),RS=new DataView(new ArrayBuffer(4)),D5=l=>(RS.setFloat32(0,l),RS.getFloat32(0)===l),Bd=(l,t)=>{switch(typeof t){case"string":xo(l,119),tu(l,t);break;case"number":b5(t)&&uh(t)<=_5?(xo(l,125),Wy(l,t)):D5(t)?(xo(l,124),P5(l,t)):(xo(l,123),I5(l,t));break;case"bigint":xo(l,122),M5(l,t);break;case"object":if(t===null)xo(l,126);else if(h5(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 LS 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 FS=l=>{l.count>0&&(Wy(l.encoder,l.count===1?l.s:-l.s),l.count>1&&Or(l.encoder,l.count-2))};class fh{constructor(){this.encoder=new Fd,this.s=0,this.count=0}write(t){this.s===t?this.count++:(FS(this),this.count=1,this.s=t)}toUint8Array(){return FS(this),ea(this.encoder)}}const BS=l=>{if(l.count>0){const t=l.diff*2+(l.count===1?0:1);Wy(l.encoder,t),l.count>1&&Or(l.encoder,l.count-2)}};class Gy{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++):(BS(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return BS(this),ea(this.encoder)}}class R5{constructor(){this.sarr=[],this.s="",this.lensE=new fh}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("")),Vy(t,this.lensE.toUint8Array()),ea(t)}}const nu=l=>new Error(l),Ss=()=>{throw nu("Method unimplemented")},Dl=()=>{throw nu("Unexpected case")},L5=crypto.getRandomValues.bind(crypto),zS=()=>L5(new Uint32Array(1))[0],F5=[1e7]+-1e3+-4e3+-8e3+-1e11,B5=()=>F5.replace(/[018]/g,l=>(l^zS()&15>>l/4).toString(16)),US=l=>new Promise(l);Promise.all.bind(Promise);const HS=l=>l===void 0?null:l;class z5{constructor(){this.map=new Map}setItem(t,n){this.map.set(t,n)}getItem(t){return this.map.get(t)}}let $S=new z5,U5=!0;try{typeof localStorage<"u"&&localStorage&&($S=localStorage,U5=!1)}catch{}const H5=$S,$5=Object.assign,q5=Object.keys,W5=(l,t)=>{for(const n in l)t(l[n],n)},qS=l=>q5(l).length,J5=l=>{for(const t in l)return!1;return!0},V5=(l,t)=>{for(const n in l)if(!t(l[n],n))return!1;return!0},K5=(l,t)=>Object.prototype.hasOwnProperty.call(l,t),G5=(l,t)=>l===t||qS(l)===qS(t)&&V5(l,(n,e)=>(n!==void 0||K5(t,e))&&t[e]===n),Yy=(l,t,n=0)=>{try{for(;n<l.length;n++)l[n](...t)}finally{n<l.length&&Yy(l,t,n+1)}},Y5=(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 Es;const Z5=()=>{if(Es===void 0)if(zd){Es=xs();const l=process.argv;let t=null;for(let n=0;n<l.length;n++){const e=l[n];e[0]==="-"?(t!==null&&Es.set(t,""),t=e):t!==null&&(Es.set(t,e),t=null)}t!==null&&Es.set(t,"")}else typeof location=="object"?(Es=xs(),(location.search||"?").slice(1).split("&").forEach(l=>{if(l.length!==0){const[t,n]=l.split("=");Es.set(`--${DS(t,"-")}`,n),Es.set(`-${DS(t,"-")}`,n)}})):Es=xs();return Es},Zy=l=>Z5().has(l),Xy=l=>HS(zd?process.env[l.toUpperCase().replaceAll("-","_")]:H5.getItem(l)),WS=l=>Zy("--"+l)||Xy(l)!==null;WS("production");const X5=zd&&Y5(process.env.FORCE_COLOR,["true","1","2"])||!Zy("--no-colors")&&!WS("no-color")&&(!zd||process.stdout.isTTY)&&(!zd||Zy("--color")||Xy("COLORTERM")!==null||(Xy("TERM")||"").includes("color"));class Q5{constructor(t,n){this.left=t,this.right=n}}const ta=(l,t)=>new Q5(l,t);typeof DOMParser<"u"&&new DOMParser;const eM=l=>f5(l,(t,n)=>`${n}:${t};`).join(""),na=Symbol,JS=na(),VS=na(),tM=na(),nM=na(),rM=na(),KS=na(),oM=na(),GS=na(),iM=na(),sM=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},aM={[JS]:ta("font-weight","bold"),[VS]:ta("font-weight","normal"),[tM]:ta("color","blue"),[rM]:ta("color","green"),[nM]:ta("color","grey"),[KS]:ta("color","red"),[oM]:ta("color","purple"),[GS]:ta("color","orange"),[iM]:ta("color","black")},lM=X5?l=>{var o;l.length===1&&((o=l[0])==null?void 0:o.constructor)===Function&&(l=l[0]());const t=[],n=[],e=xs();let a=[],r=0;for(;r<l.length;r++){const s=l[r],c=aM[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=eM(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}:sM,cM=(...l)=>{console.log(...lM(l)),uM.forEach(t=>t.print(l))},uM=Xc(),YS=l=>({[Symbol.iterator](){return this},next:l}),dM=(l,t)=>YS(()=>{let n;do n=l.next();while(!n.done&&!t(n.value));return n}),Qy=(l,t)=>YS(()=>{const{done:n,value:e}=l.next();return{done:n,value:n?void 0:t(e)}});class fM{constructor(t,n){this.clock=t,this.len=n}}class pM{constructor(){this.clients=new Map}}const ZS=(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];lE(l,r,s.clock,s.len,n)}}),hM=(l,t)=>{let n=0,e=l.length-1;for(;n<=e;){const a=Ml((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},XS=(l,t)=>{const n=l.clients.get(t.client);return n!==void 0&&hM(n,t.clock)!==null},QS=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})},eE=(l,t,n,e)=>{Zc(l.clients,t,()=>[]).push(new fM(n,e))},gM=(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)}})},tE=zS;class Ud extends g5{constructor({guid:t=B5(),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=tE(),this.guid=t,this.collectionid=n,this.share=new Map,this.store=new CM,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=US(i=>{this.on("load",()=>{this.isLoaded=!0,i(this)})});const c=()=>US(i=>{const d=u=>{(u===void 0||u===!0)&&(this.off("sync",d),i())};this.on("sync",d)});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&&Lr(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 Lr(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,Rl)}getText(t=""){return this.get(t,Sh)}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,Lr(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 mM{constructor(){this.restEncoder=$y()}toUint8Array(){return ea(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Or(this.restEncoder,t)}writeDsLen(t){Or(this.restEncoder,t)}}class yM extends mM{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){qy(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 vM{constructor(){this.restEncoder=$y(),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&&Dl(),Or(this.restEncoder,t-1),this.dsCurrVal+=t}}class _M extends vM{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Gy,this.clientEncoder=new fh,this.leftClockEncoder=new Gy,this.rightClockEncoder=new Gy,this.infoEncoder=new LS(qy),this.stringEncoder=new R5,this.parentInfoEncoder=new LS(qy),this.typeRefEncoder=new fh,this.lenEncoder=new fh}toUint8Array(){const t=$y();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()),Vy(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 bM=(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)},wM=(l,t,n)=>{const e=new Map;n.forEach((a,r)=>{li(t,r)>a&&e.set(r,a)}),t0(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])=>{bM(l,t.clients.get(a),a,r)})},xM=(l,t)=>wM(l,t.doc.store,t.beforeState);class SM{constructor(){this.l=[]}}const nE=()=>new SM,rE=(l,t)=>l.l.push(t),oE=(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.")},iE=(l,t,n)=>Yy(l.l,[t,n]);class ph{constructor(t,n){this.client=t,this.clock=n}}const hh=(l,t)=>l===t||l!==null&&t!==null&&l.client===t.client&&l.clock===t.clock,Yr=(l,t)=>new ph(l,t),EM=l=>{for(const[t,n]of l.doc.share.entries())if(n===l)return t;throw Dl()},ru=(l,t)=>t===void 0?!l.deleted:t.sv.has(l.id.client)&&(t.sv.get(l.id.client)||0)>l.id.clock&&!XS(t.ds,l.id),e0=(l,t)=>{const n=Zc(l.meta,e0,Xc),e=l.doc.store;n.has(t)||(t.sv.forEach((a,r)=>{a<li(e,r)&&qa(l,Yr(r,a))}),ZS(l,t.ds,a=>{}),n.add(t))};class CM{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const t0=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},sE=(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 Dl()}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=Ml(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=Ml((n+e)/2)}throw Dl()},n0=(l,t)=>{const n=l.clients.get(t.client);return n[ra(n,t.clock)]},r0=(l,t,n)=>{const e=ra(t,n),a=t[e];return a.id.clock<n&&a instanceof $o?(t.splice(e+1,0,IE(l,a,n-a.id.clock)),e+1):e},qa=(l,t)=>{const n=l.doc.store.clients.get(t.client);return n[r0(l,n,t.clock)]},aE=(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!==Ja&&e.splice(a+1,0,IE(l,r,n.clock-r.id.clock+1)),r},jM=(l,t,n)=>{const e=l.clients.get(t.id.client);e[ra(e,t.id.clock)]=n},lE=(l,t,n,e,a)=>{if(e===0)return;const r=n+e;let o=r0(l,t,n),s;do s=t[o++],r<s.id.clock+s.length&&r0(l,t,r),a(s);while(o<t.length&&t[o].id.clock<r)};class kM{constructor(t,n,e){this.doc=t,this.deleteSet=new pM,this.beforeState=t0(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 cE=(l,t)=>t.deleteSet.clients.size===0&&!p5(t.afterState,(n,e)=>t.beforeState.get(e)!==n)?!1:(QS(t.deleteSet),xM(l,t),gM(l,t.deleteSet),!0),uE=(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)},gh=(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},TM=(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),d=r[i];i<r.length&&d.id.clock<c;d=r[++i]){const u=r[i];if(s.clock+s.len<=u.id.clock)break;u instanceof $o&&u.deleted&&!u.keep&&n(u)&&u.gc(t,!1)}}}},OM=(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=NS(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+gh(a,c)}})},dE=(l,t)=>{if(t<l.length){const n=l[t],e=n.doc,a=e.store,r=n.deleteSet,o=n._mergeStructs;try{QS(r),n.afterState=t0(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(d=>d.target._item===null||!d.target._item.deleted),c.forEach(d=>{d.currentTarget=i,d._path=null}),c.sort((d,u)=>d.path.length-u.path.length),iE(i._dEH,c,n))})}),s.push(()=>e.emit("afterTransaction",[n,e])),Yy(s,[]),n._needFormattingCleanup&&zM(n)}finally{e.gc&&TM(r,a,e.gcFilter),OM(r,a),n.afterState.forEach((d,u)=>{const p=n.beforeState.get(u)||0;if(p!==d){const f=a.clients.get(u),h=eu(ra(f,p),1);for(let m=f.length-1;m>=h;)m-=1+gh(f,m)}});for(let d=o.length-1;d>=0;d--){const{client:u,clock:p}=o[d].id,f=a.clients.get(u),h=ra(f,p);h+1<f.length&&gh(f,h+1)>1||h>0&&gh(f,h)}if(!n.local&&n.afterState.get(e.clientID)!==n.beforeState.get(e.clientID)&&(cM(GS,JS,"[yjs] ",VS,KS,"Changed the client-id because another client seems to be using it."),e.clientID=tE()),e.emit("afterTransactionCleanup",[n,e]),e._observers.has("update")){const d=new yM;cE(d,n)&&e.emit("update",[d.toUint8Array(),n.origin,e,n])}if(e._observers.has("updateV2")){const d=new _M;cE(d,n)&&e.emit("updateV2",[d.toUint8Array(),n.origin,e,n])}const{subdocsAdded:s,subdocsLoaded:c,subdocsRemoved:i}=n;(s.size>0||i.size>0||c.size>0)&&(s.forEach(d=>{d.clientID=e.clientID,d.collectionid==null&&(d.collectionid=e.collectionid),e.subdocs.add(d)}),i.forEach(d=>e.subdocs.delete(d)),e.emit("subdocs",[{loaded:c,added:s,removed:i},e,n]),i.forEach(d=>d.destroy())),l.length<=t+1?(e._transactionCleanups=[],e.emit("afterAllTransactions",[e,l])):dE(l,t+1)}}},Lr=(l,t,n=null,e=!0)=>{const a=l._transactionCleanups;let r=!1,o=null;l._transaction===null&&(r=!0,l._transaction=new kM(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&&dE(a,0)}}return o},fE="You must not compute changes after the event-handler fired.";class mh{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=NM(this.currentTarget,this.target))}deletes(t){return XS(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw nu(fE);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=By(c.content.getContent());else return;else c!==null&&this.deletes(c)?(o="update",s=By(c.content.getContent())):(o="add",s=void 0)}else if(this.deletes(r))o="delete",s=By(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(fE);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 NM=(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},pE=80;let o0=0;class AM{constructor(t,n){t.marker=!0,this.p=t,this.index=n,this.timestamp=o0++}}const PM=l=>{l.timestamp=o0++},hE=(l,t,n)=>{l.p.marker=!1,l.p=t,t.marker=!0,l.index=n,l.timestamp=o0++},IM=(l,t,n)=>{if(l.length>=pE){const e=l.reduce((a,r)=>a.timestamp<r.timestamp?a:r);return hE(e,t,n),e}else{const e=new AM(t,n);return l.push(e),e}},yh=(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)=>uh(t-r.index)<uh(t-o.index)?r:o);let e=l._start,a=0;for(n!==null&&(e=n.p,a=n.index,PM(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&&uh(n.index-a)<e.parent.length/pE?(hE(n,e,a),n):IM(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))}},vh=(l,t,n)=>{const e=l,a=t.changedParentTypes;for(;Zc(a,l,()=>[]).push(n),l._item!==null;)l=l._item.parent;iE(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=nE(),this._dEH=nE(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,n){this.doc=t,this._item=n}_copy(){throw Ss()}clone(){throw Ss()}_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){rE(this._eH,t)}observeDeep(t){rE(this._dEH,t)}unobserve(t){oE(this._eH,t)}unobserveDeep(t){oE(this._dEH,t)}toJSON(){}}const gE=(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},mE=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}},yE=(l,t)=>{const n=[];return $d(l,(e,a)=>{n.push(t(e,a,l))}),n},MM=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}}}},vE=(l,t)=>{const n=yh(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}},_h=(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 d=()=>{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(u=>{if(u===null)i.push(u);else switch(u.constructor){case Number:case Object:case Boolean:case Array:case String:i.push(u);break;default:switch(d(),u.constructor){case Uint8Array:case ArrayBuffer:a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Eh(new Uint8Array(u))),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 jh(u)),a.integrate(l,0);break;default:if(u instanceof Io)a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Va(u)),a.integrate(l,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},_E=()=>nu("Length exceeded!"),bE=(l,t,n,e)=>{if(n>t._length)throw _E();if(n===0)return t._searchMarker&&Hd(t._searchMarker,n,e.length),_h(l,t,null,e);const a=n,r=yh(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&&qa(l,Yr(o.id.client,o.id.clock+n));break}n-=o.length}return t._searchMarker&&Hd(t._searchMarker,a,e.length),_h(l,t,o,e)},DM=(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 _h(l,t,a,n)},wE=(l,t,n,e)=>{if(e===0)return;const a=n,r=e,o=yh(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&&qa(l,Yr(s.id.client,s.id.clock+n)),n-=s.length);for(;e>0&&s!==null;)s.deleted||(e<s.length&&qa(l,Yr(s.id.client,s.id.clock+e)),s.delete(l),e-=s.length),s=s.right;if(e>0)throw _E();t._searchMarker&&Hd(t._searchMarker,a,-r+e)},bh=(l,t,n)=>{const e=t._map.get(n);e!==void 0&&e.delete(l)},i0=(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 Eh(e);break;case Ud:s=new jh(e);break;default:if(e instanceof Io)s=new Va(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)},s0=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},xE=l=>{const t={};return l._map.forEach((n,e)=>{n.deleted||(t[e]=n.content.getContent()[n.length-1])}),t},SE=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted},RM=(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},wh=l=>dM(l.entries(),t=>!t[1].deleted);class EE extends mh{constructor(t,n){super(t,n),this._transaction=n}}class Rl extends Io{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const n=new Rl;return n.push(t),n}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Rl}clone(){const t=new Rl;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),vh(this,t,new EE(this,t))}insert(t,n){this.doc!==null?Lr(this.doc,e=>{bE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}push(t){this.doc!==null?Lr(this.doc,n=>{DM(n,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,n=1){this.doc!==null?Lr(this.doc,e=>{wE(e,this,t,n)}):this._prelimContent.splice(t,n)}get(t){return vE(this,t)}toArray(){return mE(this)}slice(t=0,n=this.length){return gE(this,t,n)}toJSON(){return this.map(t=>t instanceof Io?t.toJSON():t)}map(t){return yE(this,t)}forEach(t){$d(this,t)}[Symbol.iterator](){return MM(this)}_write(t){t.writeTypeRef(WM)}}class LM extends mh{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){vh(this,t,new LM(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[...wh(this._map)].length}keys(){return Qy(wh(this._map),t=>t[0])}values(){return Qy(wh(this._map),t=>t[1].content.getContent()[t[1].length-1])}entries(){return Qy(wh(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?Lr(this.doc,n=>{bh(n,this,t)}):this._prelimContent.delete(t)}set(t,n){return this.doc!==null?Lr(this.doc,e=>{i0(e,this,t,n)}):this._prelimContent.set(t,n),n}get(t){return s0(this,t)}has(t){return SE(this,t)}clear(){this.doc!==null?Lr(this.doc,t=>{this.forEach(function(n,e,a){bh(t,a,e)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(JM)}}const Wa=(l,t)=>l===t||typeof l=="object"&&typeof t=="object"&&l&&t&&G5(l,t);class a0{constructor(t,n,e,a){this.left=t,this.right=n,this.index=e,this.currentAttributes=a}forward(){switch(this.right===null&&Dl(),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 CE=(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&&qa(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},xh=(l,t,n,e)=>{const a=new Map,r=e?yh(t,n):null;if(r){const o=new a0(r.p.left,r.p,r.index,a);return CE(l,o,n-r.index)}else{const o=new a0(null,t._start,0,a);return CE(l,o,n)}},jE=(l,t,n,e)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===So&&Wa(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,d=new $o(Yr(r,li(a.store,r)),c,c&&c.lastId,i,i&&i.id,t,null,new So(s,o));d.integrate(l,0),n.right=d,n.forward()})},iu=(l,t)=>{const{key:n,value:e}=t;e===null?l.delete(n):l.set(n,e)},kE=(l,t)=>{for(;l.right!==null;){if(!(l.right.deleted||l.right.content.constructor===So&&Wa(t[l.right.content.key]??null,l.right.content.value)))break;l.forward()}},TE=(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(!Wa(i,c)){o.set(s,i);const{left:d,right:u}=n;n.right=new $o(Yr(r,li(a.store,r)),d,d&&d.lastId,u,u&&u.id,t,null,new So(s,c)),n.right.integrate(l,0),n.forward()}}return o},l0=(l,t,n,e,a)=>{n.currentAttributes.forEach((p,f)=>{a[f]===void 0&&(a[f]=null)});const r=l.doc,o=r.clientID;kE(n,a);const s=TE(l,t,n,a),c=e.constructor===String?new oa(e):e instanceof Io?new Va(e):new au(e);let{left:i,right:d,index:u}=n;t._searchMarker&&Hd(t._searchMarker,n.index,c.getLength()),d=new $o(Yr(o,li(r.store,o)),i,i&&i.lastId,d,d&&d.id,t,null,c),d.integrate(l,0),n.right=d,n.index=u,n.forward(),jE(l,t,n,s)},OE=(l,t,n,e,a)=>{const r=l.doc,o=r.clientID;kE(n,a);const s=TE(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,d=a[c];if(d!==void 0){if(Wa(d,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&&qa(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]),null},n5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIxNC42IDQxLjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwbC0xNjAgMTYwYy0xMi41IDEyLjUtMTIuNSAzMi44IDAgNDUuM3MzMi44IDEyLjUgNDUuMyAwTDE2MCAxNDEuMiAxNjAgNDQ4YzAgMTcuNyAxNC4zIDMyIDMyIDMyczMyLTE0LjMgMzItMzJsMC0zMDYuN0wzMjkuNCAyNDYuNmMxMi41IDEyLjUgMzIuOCAxMi41IDQ1LjMgMHMxMi41LTMyLjggMC00NS4zbC0xNjAtMTYweiIvPjwvc3ZnPg==",r5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTE2OS40IDQ3MC42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE2MC0xNjBjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjI0IDM3MC44IDIyNCA2NGMwLTE3LjctMTQuMy0zMi0zMi0zMnMtMzIgMTQuMy0zMiAzMmwwIDMwNi43TDU0LjYgMjY1LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE2MCAxNjB6Ii8+PC9zdmc+",o5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTM0Mi42IDE1MC42YzEyLjUtMTIuNSAxMi41LTMyLjggMC00NS4zcy0zMi44LTEyLjUtNDUuMyAwTDE5MiAyMTAuNyA4Ni42IDEwNS40Yy0xMi41LTEyLjUtMzIuOC0xMi41LTQ1LjMgMHMtMTIuNSAzMi44IDAgNDUuM0wxNDYuNyAyNTYgNDEuNCAzNjEuNGMtMTIuNSAxMi41LTEyLjUgMzIuOCAwIDQ1LjNzMzIuOCAxMi41IDQ1LjMgMEwxOTIgMzAxLjMgMjk3LjQgNDA2LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBzMTIuNS0zMi44IDAtNDUuM0wyMzcuMyAyNTYgMzQyLjYgMTUwLjZ6Ii8+PC9zdmc+",i5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTMxMC42IDIzMy40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0xOTIgMTkyYy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMHMtMTIuNS0zMi44IDAtNDUuM0wyNDIuNyAyNTYgNzMuNCA4Ni42Yy0xMi41LTEyLjUtMTIuNS0zMi44IDAtNDUuM3MzMi44LTEyLjUgNDUuMyAwbDE5MiAxOTJ6Ii8+PC9zdmc+",s5="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIzMy40IDQwNi42YzEyLjUgMTIuNSAzMi44IDEyLjUgNDUuMyAwbDE5Mi0xOTJjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNzLTMyLjgtMTIuNS00NS4zIDBMMjU2IDMzOC43IDg2LjYgMTY5LjRjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zbDE5MiAxOTJ6Ii8+PC9zdmc+",a5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDE2IDE2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmYiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMy4yMjEgMy43MzlsMi4yNjEgMi4yNjlMNy43IDMuNzg0bC0uNy0uNy0xLjAxMiAxLjAwNy0uMDA4LTEuNmEuNTIzLjUyMyAwIDAgMSAuNS0uNTI2SDhWMUg2LjQ4QTEuNDgyIDEuNDgyIDAgMCAwIDUgMi40ODlWNC4xTDMuOTI3IDMuMDMzbC0uNzA2LjcwNnptNi42NyAxLjc5NGguMDFjLjE4My4zMTEuNDUxLjQ2Ny44MDYuNDY3LjM5MyAwIC43MDYtLjE2OC45NC0uNTAzLjIzNi0uMzM1LjM1My0uNzguMzUzLTEuMzMzIDAtLjUxMS0uMS0uOTEzLS4zMDEtMS4yMDctLjIwMS0uMjk1LS40ODgtLjQ0Mi0uODYtLjQ0Mi0uNDA1IDAtLjcxOC4xOTQtLjkzOC41ODFoLS4wMVYxSDl2NC45MTloLjg5di0uMzg2em0tLjAxNS0xLjA2MXYtLjM0YzAtLjI0OC4wNTgtLjQ0OC4xNzUtLjYwMWEuNTQuNTQgMCAwIDEgLjQ0NS0uMjMuNDkuNDkgMCAwIDEgLjQzNi4yMzNjLjEwNC4xNTQuMTU1LjM2OC4xNTUuNjQzIDAgLjMzLS4wNTYuNTg3LS4xNjkuNzY4YS41MjQuNTI0IDAgMCAxLS40Ny4yNy40OTUuNDk1IDAgMCAxLS40MTEtLjIxMS44NTMuODUzIDAgMCAxLS4xNi0uNTMyek05IDEyLjc2OWMtLjI1Ni4xNTQtLjYyNS4yMzEtMS4xMDguMjMxLS41NjMgMC0xLjAyLS4xNzgtMS4zNjktLjUzMy0uMzQ5LS4zNTUtLjUyMy0uODEzLS41MjMtMS4zNzQgMC0uNjQ4LjE4Ni0xLjE1OC41Ni0xLjUzLjM3NC0uMzc2Ljg3NS0uNTYzIDEuNS0uNTYzLjQzMyAwIC43NDYuMDYuOTQuMTc5di45OThhMS4yNiAxLjI2IDAgMCAwLS43OTItLjI3NmMtLjMyNSAwLS41ODMuMS0uNzc0LjI5OC0uMTkuMTk2LS4yODMuNDY4LS4yODMuODE2IDAgLjMzOC4wOS42MDMuMjcyLjc5Ny4xODIuMTkxLjQzMS4yODcuNzQ5LjI4Ny4yODIgMCAuNTU4LS4wOTIuODI4LS4yNzZ2Ljk0NnpNNCA3TDMgOHY2bDEgMWg3bDEtMVY4bC0xLTFINHptMCAxaDd2Nkg0Vjh6Ii8+PC9zdmc+",l5="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDE2IDE2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmYiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNiAyLjY3N2MuMTQ3LS4zMS4zNTYtLjQ2NS42MjYtLjQ2NS4yNDggMCAuNDQuMTE4LjU3My4zNTMuMTM0LjIzNi4yMDEuNTU3LjIwMS45NjYgMCAuNDQzLS4wNzguNzk4LS4yMzUgMS4wNjctLjE1Ni4yNjgtLjM2NS40MDItLjYyNy40MDItLjIzNyAwLS40MTYtLjEyNS0uNTM3LS4zNzRoLS4wMDh2LjMxSDExVjFoLjU5M3YxLjY3N2guMDA4em0tLjAxNiAxLjFhLjc4Ljc4IDAgMCAwIC4xMDcuNDI2Yy4wNzEuMTEzLjE2My4xNjkuMjc0LjE2OS4xMzYgMCAuMjQtLjA3Mi4zMTQtLjIxNi4wNzUtLjE0NS4xMTMtLjM1LjExMy0uNjE1IDAtLjIyLS4wMzUtLjM5LS4xMDQtLjUxNC0uMDY3LS4xMjQtLjE2NC0uMTg3LS4yOS0uMTg3LS4xMiAwLS4yMTkuMDYyLS4yOTcuMTg1YS44ODYuODg2IDAgMCAwLS4xMTcuNDh2LjI3MnpNNC4xMiA3LjY5NUwyIDUuNTY4bC42NjItLjY2MiAxLjAwNiAxdi0xLjUxQTEuMzkgMS4zOSAwIDAgMSA1LjA1NSAzSDcuNHYuOTA1SDUuMDU1YS40OS40OSAwIDAgMC0uNDY4LjQ5M2wuMDA3IDEuNS45NDktLjk0NC42NTYuNjU2LTIuMDggMi4wODV6TTkuMzU2IDQuOTNIMTBWMy4yMkMxMCAyLjQwOCA5LjY4NSAyIDkuMDU2IDJjLS4xMzUgMC0uMjg1LjAyNC0uNDUuMDczYTEuNDQ0IDEuNDQ0IDAgMCAwLS4zODguMTY3di42NjVjLjIzNy0uMjAzLjQ4Ny0uMzA0Ljc1LS4zMDQuMjYxIDAgLjM5Mi4xNTYuMzkyLjQ2OWwtLjYuMTAzYy0uNTA2LjA4Ni0uNzYuNDA2LS43Ni45NjEgMCAuMjYzLjA2MS40NzMuMTgzLjYzMUEuNjEuNjEgMCAwIDAgOC42OSA1Yy4yOSAwIC41MDktLjE2LjY1Ny0uNDhoLjAwOXYuNDF6bS4wMDQtMS4zNTV2LjE5M2EuNzUuNzUgMCAwIDEtLjEyLjQzNi4zNjguMzY4IDAgMCAxLS4zMTMuMTcuMjc2LjI3NiAwIDAgMS0uMjItLjA5NS4zOC4zOCAwIDAgMS0uMDgtLjI0OGMwLS4yMjIuMTEtLjM1MS4zMzItLjM4OWwuNC0uMDY3ek03IDEyLjkzaC0uNjQ0di0uNDFoLS4wMDljLS4xNDguMzItLjM2Ny40OC0uNjU3LjQ4YS42MS42MSAwIDAgMS0uNTA3LS4yMzVjLS4xMjItLjE1OC0uMTgzLS4zNjgtLjE4My0uNjMgMC0uNTU2LjI1NC0uODc2Ljc2LS45NjJsLjYtLjEwM2MwLS4zMTMtLjEzLS40Ny0uMzkyLS40Ny0uMjYzIDAtLjUxMy4xMDItLjc1LjMwNXYtLjY2NWMuMDk1LS4wNjMuMjI0LS4xMTkuMzg4LS4xNjcuMTY1LS4wNDkuMzE1LS4wNzMuNDUtLjA3My42MyAwIC45NDQuNDA3Ljk0NCAxLjIydjEuNzF6bS0uNjQtMS4xNjJ2LS4xOTNsLS40LjA2OGMtLjIyMi4wMzctLjMzMy4xNjYtLjMzMy4zODggMCAuMS4wMjcuMTgzLjA4LjI0OGEuMjc2LjI3NiAwIDAgMCAuMjIuMDk1LjM2OC4zNjggMCAwIDAgLjMxMi0uMTdjLjA4LS4xMTYuMTItLjI2LjEyLS40MzZ6TTkuMjYyIDEzYy4zMjEgMCAuNTY4LS4wNTguNzM4LS4xNzN2LS43MWEuOS45IDAgMCAxLS41NTIuMjA3LjYxOS42MTkgMCAwIDEtLjUtLjIxNWMtLjEyLS4xNDUtLjE4MS0uMzQ1LS4xODEtLjU5OCAwLS4yNi4wNjMtLjQ2NC4xODktLjYxMmEuNjQ0LjY0NCAwIDAgMSAuNTE2LS4yMjNjLjE5NCAwIC4zNy4wNjkuNTI4LjIwN3YtLjc0OWMtLjEyOS0uMDktLjMzOC0uMTM0LS42MjYtLjEzNC0uNDE3IDAtLjc1MS4xNC0xLjAwMS40MjItLjI0OS4yOC0uMzczLjY2Mi0uMzczIDEuMTQ4IDAgLjQyLjExNi43NjQuMzQ5IDEuMDMuMjMyLjI2Ny41MzcuNC45MTMuNHpNMiA5bDEtMWg5bDEgMXY1bC0xIDFIM2wtMS0xVjl6bTEgMHY1aDlWOUgzem0zLTJsMS0xaDdsMSAxdjVsLTEgMVY3SDZ6Ii8+PC9zdmc+",lR="",c5=({handleClose:l,searchText:t,setSearchText:n,replaceText:e,setReplaceText:a,handleReplaceAll:r,handleReplace:o,handleNextMatch:s,handlePreviousMatch:c,matchesCount:i,currentMatchIndex:d,searchInputRef:u,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?s5:i5,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:u}),i===0?ue.jsx("span",{className:"search-and-replace-no-results",children:"No results"}):ue.jsxs("span",{className:"search-and-replace-results-count",children:[d+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:n5,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:r5,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:o5,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:a5,alt:""})}),ue.jsx("button",{className:"search-and-replace-control-btn control-btn",onClick:r,children:ue.jsx("img",{width:25,height:22,src:l5,alt:""})})]})]})})]})});function u5({editor:l,matches:t,currentMatchIndex:n}){const[e,a]=ge.useState([]);return ge.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 d=i.textContent||"",u=Math.min(o.start,d.length),p=Math.min(o.end,d.length),f=document.createRange();try{f.setStart(i,u),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 OS(){const[l]=Sn(),[t,n]=ge.useState(!1),[e,a]=ge.useState(""),[r,o]=ge.useState(""),[s,c]=ge.useState([]),[i,d]=ge.useState(-1),u=ge.useRef(null),p=ge.useRef(null),[f,h]=ge.useState(!1);ge.useEffect(()=>{u&&u.current&&u.current.focus()},[]);function m(C){let T=[];return C instanceof no&&T.push(C),C.getChildren&&typeof C.getChildren=="function"&&C.getChildren().forEach(F=>{T=T.concat(m(F))}),T}const g=ge.useCallback(()=>{if(!t||e===""){c([]),d(-1);return}l.getEditorState().read(()=>{const C=$n(),T=m(C),F=[],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;F.push({key:D.getKey(),start:P,end:P+e.length}),j=P+1}}),c(F),d(F.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 F=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),B=new RegExp(F,"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=$n();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 F=T.getTextContent();E(i);const B=F.slice(0,C.start)+r+F.slice(C.end);T.setTextContent(B)}}}),setTimeout(()=>{g()},0)};ge.useEffect(()=>{g()},[g]);const E=ge.useCallback(C=>{if(s.length===0)return;const T=s[C];l.getEditorState().read(()=>{const F=Bn(T.key);if(F&&F instanceof no){const B=l.getElementByKey(F.getKey());B&&B.scrollIntoView({behavior:"smooth",block:"center"})}})},[s,l]),b=ge.useCallback(()=>{if(s.length===0)return;const C=(i+1)%s.length;d(C),E(C)},[i,s,E]),y=ge.useCallback(()=>{if(s.length===0)return;const C=(i-1+s.length)%s.length;d(C),E(C)},[i,s,E]),x=ge.useCallback(C=>{if((C.ctrlKey||C.metaKey)&&C.key==="f"){if(!l.getRootElement().contains(document.activeElement))return;C.preventDefault(),l.getEditorState().read(()=>{const F=kt();if(Et(F)){const B=F.getTextContent();a(B)}}),n(!0)}C.key==="Enter"&&u.current===document.activeElement&&(C.preventDefault(),b())},[l,b]);return ge.useEffect(()=>(document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)),[x]),ge.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(c5,{handleReplace:S,handleClose:_,handleReplaceAll:w,searchText:e,setSearchText:a,replaceText:r,setReplaceText:o,handleNextMatch:b,handlePreviousMatch:y,matchesCount:s.length,currentMatchIndex:i,searchInputRef:u,replaceInputRef:p,ReplaceBoxOpen:f,setReplaceBoxOpen:h}),ue.jsx(u5,{editor:l,matches:s,currentMatchIndex:i})]})}const cR="";function d5({editorRef:l}){const[t]=Sn();return sr.useEffect(()=>{typeof l=="function"?l(t):typeof l=="object"&&(l.current=t)},[t]),null}const xs=()=>new Map,Fy=l=>{const t=xs();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},f5=(l,t)=>{const n=[];for(const[e,a]of l)n.push(t(a,e));return n},p5=(l,t)=>{for(const[n,e]of l)if(t(e,n))return!0;return!1},Xc=()=>new Set,By=l=>l[l.length-1],Qc=Array.from,h5=Array.isArray;class g5{constructor(){this._observers=xs()}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)||xs()).values()).forEach(e=>e(...n))}destroy(){this._observers=xs()}}const Ml=Math.floor,uh=Math.abs,NS=(l,t)=>l<t?l:t,eu=(l,t)=>l>t?l:t,m5=l=>l!==0?l<0:1/l<0,AS=1,PS=2,zy=4,Uy=8,y5=32,IS=64,dh=128,v5=31,MS=63,Rd=127,_5=2147483647,b5=Number.isInteger||(l=>typeof l=="number"&&isFinite(l)&&Ml(l)===l),w5=l=>l.toLowerCase(),x5=/^\s*/g,S5=l=>l.replace(x5,""),E5=/([A-Z])/g,DS=(l,t)=>S5(l.replace(E5,n=>`${t}${w5(n)}`)),C5=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,j5=Ld?l=>Ld.encode(l):C5;let Hy=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});Hy&&Hy.decode(new Uint8Array).length===1&&(Hy=null);class Fd{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const $y=()=>new Fd,k5=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(k5(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},T5=(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},qy=xo,Or=(l,t)=>{for(;t>Rd;)xo(l,dh|Rd&t),t=Ml(t/128);xo(l,Rd&t)},Wy=(l,t)=>{const n=m5(t);for(n&&(t=-t),xo(l,(t>MS?dh:0)|(n?IS:0)|MS&t),t=Ml(t/64);t>0;)xo(l,(t>Rd?dh:0)|Rd&t),t=Ml(t/128)},Jy=new Uint8Array(3e4),O5=Jy.length/3,N5=(l,t)=>{if(t.length<O5){const n=Ld.encodeInto(t,Jy).written||0;Or(l,n);for(let e=0;e<n;e++)xo(l,Jy[e])}else Si(l,j5(t))},A5=(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?N5:A5,Vy=(l,t)=>{const n=l.cbuf.length,e=l.cpos,a=NS(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),Vy(l,t)},Ky=(l,t)=>{T5(l,t);const n=new DataView(l.cbuf.buffer,l.cpos,t);return l.cpos+=t,n},P5=(l,t)=>Ky(l,4).setFloat32(0,t,!1),I5=(l,t)=>Ky(l,8).setFloat64(0,t,!1),M5=(l,t)=>Ky(l,8).setBigInt64(0,t,!1),RS=new DataView(new ArrayBuffer(4)),D5=l=>(RS.setFloat32(0,l),RS.getFloat32(0)===l),Bd=(l,t)=>{switch(typeof t){case"string":xo(l,119),tu(l,t);break;case"number":b5(t)&&uh(t)<=_5?(xo(l,125),Wy(l,t)):D5(t)?(xo(l,124),P5(l,t)):(xo(l,123),I5(l,t));break;case"bigint":xo(l,122),M5(l,t);break;case"object":if(t===null)xo(l,126);else if(h5(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 LS 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 FS=l=>{l.count>0&&(Wy(l.encoder,l.count===1?l.s:-l.s),l.count>1&&Or(l.encoder,l.count-2))};class fh{constructor(){this.encoder=new Fd,this.s=0,this.count=0}write(t){this.s===t?this.count++:(FS(this),this.count=1,this.s=t)}toUint8Array(){return FS(this),ea(this.encoder)}}const BS=l=>{if(l.count>0){const t=l.diff*2+(l.count===1?0:1);Wy(l.encoder,t),l.count>1&&Or(l.encoder,l.count-2)}};class Gy{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++):(BS(this),this.count=1,this.diff=t-this.s,this.s=t)}toUint8Array(){return BS(this),ea(this.encoder)}}class R5{constructor(){this.sarr=[],this.s="",this.lensE=new fh}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("")),Vy(t,this.lensE.toUint8Array()),ea(t)}}const nu=l=>new Error(l),Ss=()=>{throw nu("Method unimplemented")},Dl=()=>{throw nu("Unexpected case")},L5=crypto.getRandomValues.bind(crypto),zS=()=>L5(new Uint32Array(1))[0],F5=[1e7]+-1e3+-4e3+-8e3+-1e11,B5=()=>F5.replace(/[018]/g,l=>(l^zS()&15>>l/4).toString(16)),US=l=>new Promise(l);Promise.all.bind(Promise);const HS=l=>l===void 0?null:l;class z5{constructor(){this.map=new Map}setItem(t,n){this.map.set(t,n)}getItem(t){return this.map.get(t)}}let $S=new z5,U5=!0;try{typeof localStorage<"u"&&localStorage&&($S=localStorage,U5=!1)}catch{}const H5=$S,$5=Object.assign,q5=Object.keys,W5=(l,t)=>{for(const n in l)t(l[n],n)},qS=l=>q5(l).length,J5=l=>{for(const t in l)return!1;return!0},V5=(l,t)=>{for(const n in l)if(!t(l[n],n))return!1;return!0},K5=(l,t)=>Object.prototype.hasOwnProperty.call(l,t),G5=(l,t)=>l===t||qS(l)===qS(t)&&V5(l,(n,e)=>(n!==void 0||K5(t,e))&&t[e]===n),Yy=(l,t,n=0)=>{try{for(;n<l.length;n++)l[n](...t)}finally{n<l.length&&Yy(l,t,n+1)}},Y5=(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 Es;const Z5=()=>{if(Es===void 0)if(zd){Es=xs();const l=process.argv;let t=null;for(let n=0;n<l.length;n++){const e=l[n];e[0]==="-"?(t!==null&&Es.set(t,""),t=e):t!==null&&(Es.set(t,e),t=null)}t!==null&&Es.set(t,"")}else typeof location=="object"?(Es=xs(),(location.search||"?").slice(1).split("&").forEach(l=>{if(l.length!==0){const[t,n]=l.split("=");Es.set(`--${DS(t,"-")}`,n),Es.set(`-${DS(t,"-")}`,n)}})):Es=xs();return Es},Zy=l=>Z5().has(l),Xy=l=>HS(zd?process.env[l.toUpperCase().replaceAll("-","_")]:H5.getItem(l)),WS=l=>Zy("--"+l)||Xy(l)!==null;WS("production");const X5=zd&&Y5(process.env.FORCE_COLOR,["true","1","2"])||!Zy("--no-colors")&&!WS("no-color")&&(!zd||process.stdout.isTTY)&&(!zd||Zy("--color")||Xy("COLORTERM")!==null||(Xy("TERM")||"").includes("color"));class Q5{constructor(t,n){this.left=t,this.right=n}}const ta=(l,t)=>new Q5(l,t);typeof DOMParser<"u"&&new DOMParser;const eM=l=>f5(l,(t,n)=>`${n}:${t};`).join(""),na=Symbol,JS=na(),VS=na(),tM=na(),nM=na(),rM=na(),KS=na(),oM=na(),GS=na(),iM=na(),sM=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},aM={[JS]:ta("font-weight","bold"),[VS]:ta("font-weight","normal"),[tM]:ta("color","blue"),[rM]:ta("color","green"),[nM]:ta("color","grey"),[KS]:ta("color","red"),[oM]:ta("color","purple"),[GS]:ta("color","orange"),[iM]:ta("color","black")},lM=X5?l=>{var o;l.length===1&&((o=l[0])==null?void 0:o.constructor)===Function&&(l=l[0]());const t=[],n=[],e=xs();let a=[],r=0;for(;r<l.length;r++){const s=l[r],c=aM[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=eM(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}:sM,cM=(...l)=>{console.log(...lM(l)),uM.forEach(t=>t.print(l))},uM=Xc(),YS=l=>({[Symbol.iterator](){return this},next:l}),dM=(l,t)=>YS(()=>{let n;do n=l.next();while(!n.done&&!t(n.value));return n}),Qy=(l,t)=>YS(()=>{const{done:n,value:e}=l.next();return{done:n,value:n?void 0:t(e)}});class fM{constructor(t,n){this.clock=t,this.len=n}}class pM{constructor(){this.clients=new Map}}const ZS=(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];lE(l,r,s.clock,s.len,n)}}),hM=(l,t)=>{let n=0,e=l.length-1;for(;n<=e;){const a=Ml((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},XS=(l,t)=>{const n=l.clients.get(t.client);return n!==void 0&&hM(n,t.clock)!==null},QS=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})},eE=(l,t,n,e)=>{Zc(l.clients,t,()=>[]).push(new fM(n,e))},gM=(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)}})},tE=zS;class Ud extends g5{constructor({guid:t=B5(),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=tE(),this.guid=t,this.collectionid=n,this.share=new Map,this.store=new CM,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=US(i=>{this.on("load",()=>{this.isLoaded=!0,i(this)})});const c=()=>US(i=>{const d=u=>{(u===void 0||u===!0)&&(this.off("sync",d),i())};this.on("sync",d)});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&&Lr(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 Lr(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,Rl)}getText(t=""){return this.get(t,Sh)}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,Lr(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 mM{constructor(){this.restEncoder=$y()}toUint8Array(){return ea(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Or(this.restEncoder,t)}writeDsLen(t){Or(this.restEncoder,t)}}class yM extends mM{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){qy(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 vM{constructor(){this.restEncoder=$y(),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&&Dl(),Or(this.restEncoder,t-1),this.dsCurrVal+=t}}class _M extends vM{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new Gy,this.clientEncoder=new fh,this.leftClockEncoder=new Gy,this.rightClockEncoder=new Gy,this.infoEncoder=new LS(qy),this.stringEncoder=new R5,this.parentInfoEncoder=new LS(qy),this.typeRefEncoder=new fh,this.lenEncoder=new fh}toUint8Array(){const t=$y();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()),Vy(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 bM=(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)},wM=(l,t,n)=>{const e=new Map;n.forEach((a,r)=>{li(t,r)>a&&e.set(r,a)}),t0(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])=>{bM(l,t.clients.get(a),a,r)})},xM=(l,t)=>wM(l,t.doc.store,t.beforeState);class SM{constructor(){this.l=[]}}const nE=()=>new SM,rE=(l,t)=>l.l.push(t),oE=(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.")},iE=(l,t,n)=>Yy(l.l,[t,n]);class ph{constructor(t,n){this.client=t,this.clock=n}}const hh=(l,t)=>l===t||l!==null&&t!==null&&l.client===t.client&&l.clock===t.clock,Yr=(l,t)=>new ph(l,t),EM=l=>{for(const[t,n]of l.doc.share.entries())if(n===l)return t;throw Dl()},ru=(l,t)=>t===void 0?!l.deleted:t.sv.has(l.id.client)&&(t.sv.get(l.id.client)||0)>l.id.clock&&!XS(t.ds,l.id),e0=(l,t)=>{const n=Zc(l.meta,e0,Xc),e=l.doc.store;n.has(t)||(t.sv.forEach((a,r)=>{a<li(e,r)&&qa(l,Yr(r,a))}),ZS(l,t.ds,a=>{}),n.add(t))};class CM{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const t0=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},sE=(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 Dl()}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=Ml(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=Ml((n+e)/2)}throw Dl()},n0=(l,t)=>{const n=l.clients.get(t.client);return n[ra(n,t.clock)]},r0=(l,t,n)=>{const e=ra(t,n),a=t[e];return a.id.clock<n&&a instanceof $o?(t.splice(e+1,0,IE(l,a,n-a.id.clock)),e+1):e},qa=(l,t)=>{const n=l.doc.store.clients.get(t.client);return n[r0(l,n,t.clock)]},aE=(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!==Ja&&e.splice(a+1,0,IE(l,r,n.clock-r.id.clock+1)),r},jM=(l,t,n)=>{const e=l.clients.get(t.id.client);e[ra(e,t.id.clock)]=n},lE=(l,t,n,e,a)=>{if(e===0)return;const r=n+e;let o=r0(l,t,n),s;do s=t[o++],r<s.id.clock+s.length&&r0(l,t,r),a(s);while(o<t.length&&t[o].id.clock<r)};class kM{constructor(t,n,e){this.doc=t,this.deleteSet=new pM,this.beforeState=t0(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 cE=(l,t)=>t.deleteSet.clients.size===0&&!p5(t.afterState,(n,e)=>t.beforeState.get(e)!==n)?!1:(QS(t.deleteSet),xM(l,t),gM(l,t.deleteSet),!0),uE=(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)},gh=(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},TM=(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),d=r[i];i<r.length&&d.id.clock<c;d=r[++i]){const u=r[i];if(s.clock+s.len<=u.id.clock)break;u instanceof $o&&u.deleted&&!u.keep&&n(u)&&u.gc(t,!1)}}}},OM=(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=NS(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+gh(a,c)}})},dE=(l,t)=>{if(t<l.length){const n=l[t],e=n.doc,a=e.store,r=n.deleteSet,o=n._mergeStructs;try{QS(r),n.afterState=t0(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(d=>d.target._item===null||!d.target._item.deleted),c.forEach(d=>{d.currentTarget=i,d._path=null}),c.sort((d,u)=>d.path.length-u.path.length),iE(i._dEH,c,n))})}),s.push(()=>e.emit("afterTransaction",[n,e])),Yy(s,[]),n._needFormattingCleanup&&zM(n)}finally{e.gc&&TM(r,a,e.gcFilter),OM(r,a),n.afterState.forEach((d,u)=>{const p=n.beforeState.get(u)||0;if(p!==d){const f=a.clients.get(u),h=eu(ra(f,p),1);for(let m=f.length-1;m>=h;)m-=1+gh(f,m)}});for(let d=o.length-1;d>=0;d--){const{client:u,clock:p}=o[d].id,f=a.clients.get(u),h=ra(f,p);h+1<f.length&&gh(f,h+1)>1||h>0&&gh(f,h)}if(!n.local&&n.afterState.get(e.clientID)!==n.beforeState.get(e.clientID)&&(cM(GS,JS,"[yjs] ",VS,KS,"Changed the client-id because another client seems to be using it."),e.clientID=tE()),e.emit("afterTransactionCleanup",[n,e]),e._observers.has("update")){const d=new yM;cE(d,n)&&e.emit("update",[d.toUint8Array(),n.origin,e,n])}if(e._observers.has("updateV2")){const d=new _M;cE(d,n)&&e.emit("updateV2",[d.toUint8Array(),n.origin,e,n])}const{subdocsAdded:s,subdocsLoaded:c,subdocsRemoved:i}=n;(s.size>0||i.size>0||c.size>0)&&(s.forEach(d=>{d.clientID=e.clientID,d.collectionid==null&&(d.collectionid=e.collectionid),e.subdocs.add(d)}),i.forEach(d=>e.subdocs.delete(d)),e.emit("subdocs",[{loaded:c,added:s,removed:i},e,n]),i.forEach(d=>d.destroy())),l.length<=t+1?(e._transactionCleanups=[],e.emit("afterAllTransactions",[e,l])):dE(l,t+1)}}},Lr=(l,t,n=null,e=!0)=>{const a=l._transactionCleanups;let r=!1,o=null;l._transaction===null&&(r=!0,l._transaction=new kM(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&&dE(a,0)}}return o},fE="You must not compute changes after the event-handler fired.";class mh{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=NM(this.currentTarget,this.target))}deletes(t){return XS(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw nu(fE);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=By(c.content.getContent());else return;else c!==null&&this.deletes(c)?(o="update",s=By(c.content.getContent())):(o="add",s=void 0)}else if(this.deletes(r))o="delete",s=By(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(fE);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 NM=(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},pE=80;let o0=0;class AM{constructor(t,n){t.marker=!0,this.p=t,this.index=n,this.timestamp=o0++}}const PM=l=>{l.timestamp=o0++},hE=(l,t,n)=>{l.p.marker=!1,l.p=t,t.marker=!0,l.index=n,l.timestamp=o0++},IM=(l,t,n)=>{if(l.length>=pE){const e=l.reduce((a,r)=>a.timestamp<r.timestamp?a:r);return hE(e,t,n),e}else{const e=new AM(t,n);return l.push(e),e}},yh=(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)=>uh(t-r.index)<uh(t-o.index)?r:o);let e=l._start,a=0;for(n!==null&&(e=n.p,a=n.index,PM(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&&uh(n.index-a)<e.parent.length/pE?(hE(n,e,a),n):IM(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))}},vh=(l,t,n)=>{const e=l,a=t.changedParentTypes;for(;Zc(a,l,()=>[]).push(n),l._item!==null;)l=l._item.parent;iE(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=nE(),this._dEH=nE(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,n){this.doc=t,this._item=n}_copy(){throw Ss()}clone(){throw Ss()}_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){rE(this._eH,t)}observeDeep(t){rE(this._dEH,t)}unobserve(t){oE(this._eH,t)}unobserveDeep(t){oE(this._dEH,t)}toJSON(){}}const gE=(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},mE=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}},yE=(l,t)=>{const n=[];return $d(l,(e,a)=>{n.push(t(e,a,l))}),n},MM=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}}}},vE=(l,t)=>{const n=yh(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}},_h=(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 d=()=>{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(u=>{if(u===null)i.push(u);else switch(u.constructor){case Number:case Object:case Boolean:case Array:case String:i.push(u);break;default:switch(d(),u.constructor){case Uint8Array:case ArrayBuffer:a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Eh(new Uint8Array(u))),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 jh(u)),a.integrate(l,0);break;default:if(u instanceof Io)a=new $o(Yr(o,li(s,o)),a,a&&a.lastId,c,c&&c.id,t,null,new Va(u)),a.integrate(l,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},_E=()=>nu("Length exceeded!"),bE=(l,t,n,e)=>{if(n>t._length)throw _E();if(n===0)return t._searchMarker&&Hd(t._searchMarker,n,e.length),_h(l,t,null,e);const a=n,r=yh(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&&qa(l,Yr(o.id.client,o.id.clock+n));break}n-=o.length}return t._searchMarker&&Hd(t._searchMarker,a,e.length),_h(l,t,o,e)},DM=(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 _h(l,t,a,n)},wE=(l,t,n,e)=>{if(e===0)return;const a=n,r=e,o=yh(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&&qa(l,Yr(s.id.client,s.id.clock+n)),n-=s.length);for(;e>0&&s!==null;)s.deleted||(e<s.length&&qa(l,Yr(s.id.client,s.id.clock+e)),s.delete(l),e-=s.length),s=s.right;if(e>0)throw _E();t._searchMarker&&Hd(t._searchMarker,a,-r+e)},bh=(l,t,n)=>{const e=t._map.get(n);e!==void 0&&e.delete(l)},i0=(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 Eh(e);break;case Ud:s=new jh(e);break;default:if(e instanceof Io)s=new Va(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)},s0=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},xE=l=>{const t={};return l._map.forEach((n,e)=>{n.deleted||(t[e]=n.content.getContent()[n.length-1])}),t},SE=(l,t)=>{const n=l._map.get(t);return n!==void 0&&!n.deleted},RM=(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},wh=l=>dM(l.entries(),t=>!t[1].deleted);class EE extends mh{constructor(t,n){super(t,n),this._transaction=n}}class Rl extends Io{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(t){const n=new Rl;return n.push(t),n}_integrate(t,n){super._integrate(t,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Rl}clone(){const t=new Rl;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),vh(this,t,new EE(this,t))}insert(t,n){this.doc!==null?Lr(this.doc,e=>{bE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}push(t){this.doc!==null?Lr(this.doc,n=>{DM(n,this,t)}):this._prelimContent.push(...t)}unshift(t){this.insert(0,t)}delete(t,n=1){this.doc!==null?Lr(this.doc,e=>{wE(e,this,t,n)}):this._prelimContent.splice(t,n)}get(t){return vE(this,t)}toArray(){return mE(this)}slice(t=0,n=this.length){return gE(this,t,n)}toJSON(){return this.map(t=>t instanceof Io?t.toJSON():t)}map(t){return yE(this,t)}forEach(t){$d(this,t)}[Symbol.iterator](){return MM(this)}_write(t){t.writeTypeRef(WM)}}class LM extends mh{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){vh(this,t,new LM(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[...wh(this._map)].length}keys(){return Qy(wh(this._map),t=>t[0])}values(){return Qy(wh(this._map),t=>t[1].content.getContent()[t[1].length-1])}entries(){return Qy(wh(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?Lr(this.doc,n=>{bh(n,this,t)}):this._prelimContent.delete(t)}set(t,n){return this.doc!==null?Lr(this.doc,e=>{i0(e,this,t,n)}):this._prelimContent.set(t,n),n}get(t){return s0(this,t)}has(t){return SE(this,t)}clear(){this.doc!==null?Lr(this.doc,t=>{this.forEach(function(n,e,a){bh(t,a,e)})}):this._prelimContent.clear()}_write(t){t.writeTypeRef(JM)}}const Wa=(l,t)=>l===t||typeof l=="object"&&typeof t=="object"&&l&&t&&G5(l,t);class a0{constructor(t,n,e,a){this.left=t,this.right=n,this.index=e,this.currentAttributes=a}forward(){switch(this.right===null&&Dl(),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 CE=(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&&qa(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},xh=(l,t,n,e)=>{const a=new Map,r=e?yh(t,n):null;if(r){const o=new a0(r.p.left,r.p,r.index,a);return CE(l,o,n-r.index)}else{const o=new a0(null,t._start,0,a);return CE(l,o,n)}},jE=(l,t,n,e)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===So&&Wa(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,d=new $o(Yr(r,li(a.store,r)),c,c&&c.lastId,i,i&&i.id,t,null,new So(s,o));d.integrate(l,0),n.right=d,n.forward()})},iu=(l,t)=>{const{key:n,value:e}=t;e===null?l.delete(n):l.set(n,e)},kE=(l,t)=>{for(;l.right!==null;){if(!(l.right.deleted||l.right.content.constructor===So&&Wa(t[l.right.content.key]??null,l.right.content.value)))break;l.forward()}},TE=(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(!Wa(i,c)){o.set(s,i);const{left:d,right:u}=n;n.right=new $o(Yr(r,li(a.store,r)),d,d&&d.lastId,u,u&&u.id,t,null,new So(s,c)),n.right.integrate(l,0),n.forward()}}return o},l0=(l,t,n,e,a)=>{n.currentAttributes.forEach((p,f)=>{a[f]===void 0&&(a[f]=null)});const r=l.doc,o=r.clientID;kE(n,a);const s=TE(l,t,n,a),c=e.constructor===String?new oa(e):e instanceof Io?new Va(e):new au(e);let{left:i,right:d,index:u}=n;t._searchMarker&&Hd(t._searchMarker,n.index,c.getLength()),d=new $o(Yr(o,li(r.store,o)),i,i&&i.lastId,d,d&&d.id,t,null,c),d.integrate(l,0),n.right=d,n.index=u,n.forward(),jE(l,t,n,s)},OE=(l,t,n,e,a)=>{const r=l.doc,o=r.clientID;kE(n,a);const s=TE(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,d=a[c];if(d!==void 0){if(Wa(d,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&&qa(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()}jE(l,t,n,s)},NE=(l,t,n,e,a)=>{let r=t;const o=xs();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:d,value:u}=i,p=e.get(d)??null;(o.get(d)!==i||p===u)&&(t.delete(l),s++,!c&&(a.get(d)??null)===u&&p!==u&&(p===null?a.delete(d):a.set(d,p))),!c&&!t.deleted&&iu(a,i);break}}}t=t.right}return s},FM=(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}},BM=l=>{let t=0;return Lr(l.doc,n=>{let e=l._start,a=l._start,r=xs();const o=Fy(r);for(;a;){if(a.deleted===!1)switch(a.content.constructor){case So:iu(o,a.content);break;default:t+=NE(n,e,a,r,o),r=Fy(o),e=a;break}a=a.right}}),t},zM=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&&lE(l,n.store.clients.get(e),r,a,o=>{!o.deleted&&o.content.constructor===So&&o.constructor!==Ja&&t.add(o.parent)})}Lr(n,e=>{ZS(l,l.deleteSet,a=>{if(a instanceof Ja||!a.parent._hasFormatting||t.has(a.parent))return;const r=a.parent;a.content.constructor===So?t.add(r):FM(e,a)});for(const a of t)BM(a)})},AE=(l,t,n)=>{const e=n,a=Fy(t.currentAttributes),r=t.right;for(;n>0&&t.right!==null;){if(t.right.deleted===!1)switch(t.right.content.constructor){case Va:case au:case oa:n<t.right.length&&qa(l,Yr(t.right.id.client,t.right.id.clock+n)),n-=t.right.length,t.right.delete(l);break}t.forward()}r&&NE(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 UM extends mh{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=[];Lr(t,e=>{const a=new Map,r=new Map;let o=this.target._start,s=null;const c={};let i="",d=0,u=0;const p=()=>{if(s!==null){let f=null;switch(s){case"delete":u>0&&(f={delete:u}),u=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":d>0&&(f={retain:d},J5(c)||(f.attributes=$5({},c))),d=0;break}f&&n.push(f),s=null}};for(;o!==null;){switch(o.content.constructor){case Va: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"),u+=1):o.deleted||(s!=="retain"&&(p(),s="retain"),d+=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"),u+=o.length):o.deleted||(s!=="retain"&&(p(),s="retain"),d+=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;Wa(m,h)?h!==null&&o.delete(e):(s==="retain"&&p(),Wa(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;Wa(m,h)||(s==="retain"&&p(),c[f]=m)}else if(!o.deleted){r.set(f,h);const m=c[f];m!==void 0&&(Wa(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 Sh 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 Sh}clone(){const t=new Sh;return t.applyDelta(this.toDelta()),t}_callObserver(t,n){super._callObserver(t,n);const e=new UM(this,t,n);vh(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?Lr(this.doc,e=>{const a=new a0(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)&&l0(e,this,a,s,o.attributes||{})}else o.retain!==void 0?OE(e,this,a,o.retain,o.attributes||{}):o.delete!==void 0&&AE(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 u={};let p=!1;r.forEach((h,m)=>{p=!0,u[m]=h});const f={insert:s};p&&(f.attributes=u),a.push(f),s=""}}const d=()=>{for(;c!==null;){if(ru(c,t)||n!==void 0&&ru(c,n))switch(c.content.constructor){case oa:{const u=r.get("ychange");t!==void 0&&!ru(c,t)?(u===void 0||u.user!==c.id.client||u.type!=="removed")&&(i(),r.set("ychange",e?e("removed",c.id):{type:"removed"})):n!==void 0&&!ru(c,n)?(u===void 0||u.user!==c.id.client||u.type!=="added")&&(i(),r.set("ychange",e?e("added",c.id):{type:"added"})):u!==void 0&&(i(),r.delete("ychange")),s+=c.content.str;break}case Va:case au:{i();const u={insert:c.content.getContent()[0]};if(r.size>0){const p={};u.attributes=p,r.forEach((f,h)=>{p[h]=f})}a.push(u);break}case So:ru(c,t)&&(i(),iu(r,c.content));break}c=c.right}i()};return t||n?Lr(o,u=>{t&&e0(u,t),n&&e0(u,n),d()},"cleanup"):d(),a}insert(t,n,e){if(n.length<=0)return;const a=this.doc;a!==null?Lr(a,r=>{const o=xh(r,this,t,!e);e||(e={},o.currentAttributes.forEach((s,c)=>{e[c]=s})),l0(r,this,o,n,e)}):this._pending.push(()=>this.insert(t,n,e))}insertEmbed(t,n,e){const a=this.doc;a!==null?Lr(a,r=>{const o=xh(r,this,t,!e);l0(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?Lr(e,a=>{AE(a,xh(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?Lr(a,r=>{const o=xh(r,this,t,!1);o.right!==null&&OE(r,this,o,n,e)}):this._pending.push(()=>this.format(t,n,e))}removeAttribute(t){this.doc!==null?Lr(this.doc,n=>{bh(n,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,n){this.doc!==null?Lr(this.doc,e=>{i0(e,this,t,n)}):this._pending.push(()=>this.setAttribute(t,n))}getAttribute(t){return s0(this,t)}getAttributes(){return xE(this)}_write(t){t.writeTypeRef(VM)}}class c0{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 c0(this,t)}querySelector(t){t=t.toUpperCase();const e=new c0(this,a=>a.nodeName&&a.nodeName.toUpperCase()===t).next();return e.done?null:e.value}querySelectorAll(t){return t=t.toUpperCase(),Qc(new c0(this,n=>n.nodeName&&n.nodeName.toUpperCase()===t))}_callObserver(t,n){vh(this,t,new HM(this,n,t))}toString(){return yE(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?Lr(this.doc,e=>{bE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}insertAfter(t,n){if(this.doc!==null)Lr(this.doc,e=>{const a=t&&t instanceof Io?t._item:t;_h(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?Lr(this.doc,e=>{wE(e,this,t,n)}):this._prelimContent.splice(t,n)}toArray(){return mE(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return vE(this,t)}slice(t=0,n=this.length){return gE(this,t,n)}forEach(t){$d(this,t)}_write(t){t.writeTypeRef(GM)}}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 W5(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?Lr(this.doc,n=>{bh(n,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,n){this.doc!==null?Lr(this.doc,e=>{i0(e,this,t,n)}):this._prelimAttrs.set(t,n)}getAttribute(t){return s0(this,t)}hasAttribute(t){return SE(this,t)}getAttributes(t){return t?RM(this,t):xE(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(KM),t.writeKey(this.nodeName)}}class HM extends mh{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 PE{constructor(t,n){this.id=t,this.length=n}get deleted(){throw Ss()}mergeWith(t){return!1}write(t,n,e){throw Ss()}integrate(t,n){throw Ss()}}const $M=0;class Ja extends PE{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),sE(t.doc.store,this)}write(t,n){t.writeInfo($M),t.writeLen(this.length-n)}getMissing(t,n){return null}}class Eh{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Eh(this.content)}splice(t){throw Ss()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeBuf(this.content)}getRef(){return 3}}class Ch{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Ch(this.len)}splice(t){const n=new Ch(this.len-t);return this.len=t,n}mergeWith(t){return this.len+=t.len,!0}integrate(t,n){eE(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 qM=(l,t)=>new Ud({guid:l,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class jh{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 jh(qM(this.doc.guid,this.opts))}splice(t){throw Ss()}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 Ss()}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 Ss()}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 WM=0,JM=1,VM=2,KM=3,GM=4;class Va{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Va(this.type._copy())}splice(t){throw Ss()}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 IE=(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 PE{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()?PS:0}set marker(t){(this.info&Uy)>0!==t&&(this.info^=Uy)}get marker(){return(this.info&Uy)>0}get keep(){return(this.info&AS)>0}set keep(t){this.keep!==t&&(this.info^=AS)}get countable(){return(this.info&PS)>0}get deleted(){return(this.info&zy)>0}set deleted(t){this.deleted!==t&&(this.info^=zy)}markDeleted(){this.info|=zy}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===ph&&this.id.client!==this.parent.client&&this.parent.clock>=li(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=aE(t,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=qa(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Ja||this.right&&this.right.constructor===Ja)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===ph){const e=n0(n,this.parent);e.constructor===Ja?this.parent=null:this.parent=e.content.type}return null}integrate(t,n){if(n>0&&(this.id.clock+=n,this.left=aE(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),hh(this.origin,a.origin)){if(a.id.client<this.id.client)e=a,r.clear();else if(hh(this.rightOrigin,a.rightOrigin))break}else if(a.origin!==null&&o.has(n0(t.doc.store,a.origin)))r.has(n0(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),sE(t.doc.store,this),this.content.integrate(t,this),uE(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Ja(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&&hh(t.origin,this.lastId)&&this.right===t&&hh(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(),eE(t.deleteSet,this.id.client,this.id.clock,this.length),uE(t,n,this.parentSub),this.content.delete(t)}}gc(t,n){if(!this.deleted)throw Dl();this.content.gc(t),n?jM(t,this,new Ja(this.id,this.length)):this.content=new Ch(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()&v5|(e===null?0:dh)|(a===null?0:IS)|(r===null?0:y5);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=EM(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===ph?(t.writeParentInfo(!1),t.writeLeftID(s)):Dl();r!==null&&t.writeString(r)}this.content.write(t,n)}}const ME=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},DE="__ $YJS$ __";ME[DE]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),ME[DE]=!0;function YM(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}YM(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 ZM=fo();function RE(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function kh(l,t,n,e,a,r,o){return{author:t,content:l,deleted:o===void 0?!1:o,id:a===void 0?RE():a,timeStamp:r===void 0?performance.now():r,type:"comment",userEmail:n===void 0?"":n,mentionedEmails:e===void 0?[]:e}}function LE(l,t,n,e){return console.log("wpAndTaskId 2222222222222",e),{comments:t,id:n===void 0?RE():n,quote:l,type:"thread",resolved:!1,wpAndTaskId:e}}function FE(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 XM(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 Th(l){const t=l._changeListeners;for(const n of t)n()}class Wd{constructor(t){zn(this,"_editor");zn(this,"_comments");zn(this,"_changeListeners");zn(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,Th(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=FE(s);a.splice(o,1,c);const i=e!==void 0?e:c.comments.length;if(this.isCollaborative()&&r!==null){const d=r.get(o).get("comments");this._withRemoteTransaction(()=>{const u=this._createCollabSharedMap(t);d.insert(i,[u])})}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,Th(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=FE(s);e.splice(o,1,c);const i=c.comments;if(r=i.indexOf(t),this.isCollaborative()&&a!==null){const d=a.get(o).get("comments");this._withRemoteTransaction(()=>{d.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,Th(this),t.type==="comment"?{index:r,markedComment:XM(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,Th(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",Rl):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 Rl;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(ZM,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 d=s[i];if(d instanceof EE){const u=d.target,p=d.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=u.parent,S=u===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"?LE(E.get("quote"),E.get("comments").toArray().map(C=>kh(C.get("content"),C.get("author"),C.get("userEmail"),C.get("mentionedEmails"),C.get("id"),C.get("timeStamp"),C.get("deleted"))),b,E.get("wpAndTaskId")):kh(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 QM(l){const[t,n]=ge.useState(l.getComments());return ge.useEffect(()=>l.registerOnChange(()=>{n(l.getComments())}),[l]),t}const hR="",e3={...Vm,paragraph:"CommentEditorTheme__paragraph"},t3="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTQwMGg4MHYtMTIwaDEyMHYtODBINTIwdi0xMjBoLTgwdjEyMEgzMjB2ODBoMTIwdjEyMFpNODAtODB2LTcyMHEwLTMzIDIzLjUtNTYuNVQxNjAtODgwaDY0MHEzMyAwIDU2LjUgMjMuNVQ4ODAtODAwdjQ4MHEwIDMzLTIzLjUgNTYuNVQ4MDAtMjQwSDI0MEw4MC04MFptMTI2LTI0MGg1OTR2LTQ4MEgxNjB2NTI1bDQ2LTQ1Wm0tNDYgMHYtNDgwIDQ4MFoiLz48L3N2Zz4NCg==",n3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTIyLjg4MXB4IiBoZWlnaHQ9Ijg5Ljg0MnB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4MSA4OS44NDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMi44ODEgODkuODQyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMS4yMzIsNTUuNTQxYy0xLjUzMy0xLjM4OC0xLjY1Mi0zLjc1Ni0wLjI2NS01LjI4OWMxLjM4OC0xLjUzNCwzLjc1Ni0xLjY1Miw1LjI5LTAuMjY1bDM0LjA1MywzMC44NzhsNzYuMDk5LTc5LjY5OSBjMS40MjktMS41MDEsMy44MDQtMS41NjEsNS4zMDUtMC4xMzJjMS41MDIsMS40MjgsMS41NjEsMy44MDMsMC4xMzMsNS4zMDVMNDMuMjIzLDg4LjY4M2wtMC4wMDUtMC4wMDUgYy0xLjM5NiwxLjQ2OC0zLjcxNiwxLjU2My01LjIyNywwLjE5NkwxLjIzMiw1NS41NDFMMS4yMzIsNTUuNTQxeiIvPjwvZz48L3N2Zz4=",r3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBVcGxvYWRlZCB0bzogU1ZHIFJlcG8sIHd3dy5zdmdyZXBvLmNvbSwgR2VuZXJhdG9yOiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4NCjxzdmcgZmlsbD0iIzAwMDAwMCIgaGVpZ2h0PSI4MDBweCIgd2lkdGg9IjgwMHB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIA0KCSB2aWV3Qm94PSIwIDAgNDkwIDQ5MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cG9seWdvbiBwb2ludHM9IjQ1Ni44NTEsMCAyNDUsMjEyLjU2NCAzMy4xNDksMCAwLjcwOCwzMi4zMzcgMjEyLjY2OSwyNDUuMDA0IDAuNzA4LDQ1Ny42NzggMzMuMTQ5LDQ5MCAyNDUsMjc3LjQ0MyA0NTYuODUxLDQ5MCANCgk0ODkuMjkyLDQ1Ny42NzggMjc3LjMzMSwyNDUuMDA0IDQ4OS4yOTIsMzIuMzM3ICIvPg0KPC9zdmc+",o3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;let BE=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const zE=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 UE(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function i3(l,t,n,e){const[a]=Sn();ge.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(u,p){let f=getComputedStyle(u);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=u;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=UE(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const u=UE(t,o);u!==c&&(c=u,e!=null&&e(u))},d=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),d.observe(t),()=>{d.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const HE=fo();function s3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,d]=ge.useState(null),u=e.match&&e.match.matchingString;ge.useEffect(()=>{d(0)},[u]);const p=ge.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=kt();if(!Et(_)||!_.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,F){let B=F;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=ge.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),d(h))},[t]);return ge.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),o3(()=>{a===null?d(null):i===null&&f(0)},[a,i,f]),ge.useEffect(()=>br(t.registerCommand(HE,({option:h})=>!(!h.ref||h.ref.current==null)&&(zE(h.ref.current),!0),c)),[t,f,c]),ge.useEffect(()=>br(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(HE,{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&&zE(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Rs,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(Ds,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,ge.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:d}),[p,i,a]),e.match?e.match.matchingString:"")}const a3=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function $E(l,{minLength:t=1,maxLength:n=75}){return ge.useCallback(e=>{const a=new RegExp("(^|\\s|\\()(["+l+"]((?:"+("[^"+l+a3+"\\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 qE({options:l,onQueryChange:t,onSelectOption:n,onOpen:e,onClose:a,menuRenderFn:r,triggerFn:o,anchorClassName:s,commandPriority:c=Yn,parent:i}){const[d]=Sn(),[u,p]=ge.useState(null),f=function(g,_,v,w=document.body){const[S]=Sn(),E=ge.useRef(document.createElement("div")),b=ge.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:F,top:B,width:D,height:L}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${F+window.pageXOffset}px`,C.style.height=`${L}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();F+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+L&&(C.style.top=B-P+window.pageYOffset-L+"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]);ge.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=ge.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return i3(g,E.current,b,y),E}(u,p,s,i),h=ge.useCallback(()=>{p(null),a!=null&&u!==null&&a()},[a,u]),m=ge.useCallback(g=>{p(g),e!=null&&u===null&&e(g)},[e,u]);return ge.useEffect(()=>{const g=d.registerUpdateListener(()=>{d.getEditorState().read(()=>{const _=d._window||window,v=_.document.createRange(),w=kt(),S=function(y){let x=null;return y.getEditorState().read(()=>{const C=kt();Et(C)&&(x=function(T){const F=T.anchor;if(F.type!=="text")return null;const B=F.getNode();if(!B.isSimpleText())return null;const D=F.offset;return B.getTextContent().slice(0,D)}(C))}),x}(d);if(!Et(w)||!w.isCollapsed()||S===null||v===null)return void h();const E=o(S,d);if(t(E?E.matchingString:null),E!==null&&!function(y,x){return x===0&&y.getEditorState().read(()=>{const C=kt();if(Et(C)){const T=C.anchor.getNode().getPreviousSibling();return Wt(T)&&T.isTextEntity()}return!1})}(d,E.leadOffset)&&function(x,C,T){const F=T.getSelection();if(F===null||!F.isCollapsed)return!1;const B=F.anchorNode,D=x,L=F.anchorOffset;if(B==null||L==null)return!1;try{C.setStart(B,D),C.setEnd(B,L)}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()}},[d,o,t,u,h,m]),u===null||d===null?null:ue.jsx(s3,{close:h,resolution:u,editor:d,anchorElementRef:f,options:l,menuRenderFn:r,shouldSplitNodeWithQuery:!0,onSelectOption:n,commandPriority:c})}const WE=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`,JE={NAME:"\\b[A-Z][^\\s"+WE+"]",PUNCTUATION:WE}.PUNCTUATION,u0=["@"].join(""),VE="[^"+u0+JE+"\\s]",l3="(?:\\.[ |$]| |["+JE+"]|)",c3=75,u3=new RegExp("(^|\\s|\\()(["+u0+"]((?:"+VE+l3+"){0,"+c3+"}))$"),d3=50,f3=new RegExp("(^|\\s|\\()(["+u0+"]((?:"+VE+"){0,"+d3+"}))$"),p3=5,d0=new Map,h3={search(l,t,n){setTimeout(()=>{const e=l.filter(a=>a.name.toLowerCase().includes(t.toLowerCase()));n(e)},500)}};function g3(l,t){const[n,e]=ge.useState([]);return ge.useEffect(()=>{const a=d0.get(l);if(l==null){e([]);return}if(a!==null){if(a!==void 0){e(a);return}d0.set(l,null),h3.search(t,l,r=>{d0.set(l,r),e(r)})}},[l,t]),n}function m3(l,t){let n=u3.exec(l);if(n===null&&(n=f3.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 y3(l){return m3(l,1)}class v3 extends BE{constructor(n,e,a){super(n);zn(this,"name");zn(this,"email");zn(this,"picture");this.name=n,this.email=e,this.picture=a}}function _3({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 b3({mentionItems:l,setmentionedEmails:t}){const[n]=Sn(),[e,a]=ge.useState(null),r=g3(e,l),o=$E("/",{minLength:0}),s=ge.useMemo(()=>r.map(d=>new v3(d.name,d.email,ue.jsx("i",{className:"icon user"}))).slice(0,p3),[r]),c=ge.useCallback((d,u,p)=>{t(f=>[...f,d.email]),n.update(()=>{const f=zm(d.name);u&&u.replace(f),f.select(),p()})},[n]),i=ge.useCallback(d=>o(d,n)!==null?null:y3(d),[o,n]);return ue.jsx(qE,{onQueryChange:a,onSelectOption:c,triggerFn:i,options:s,menuRenderFn:(d,{selectedIndex:u,selectOptionAndCleanUp:p,setHighlightedIndex:f})=>d.current&&r.length?vf.createPortal(ue.jsx("div",{className:"typeahead-popover mentions-menu",children:ue.jsx("ul",{children:s.map((h,m)=>ue.jsx(_3,{index:m,isSelected:u===m,onClick:()=>{f(m),p(h)},onMouseEnter:()=>{f(m)},option:h},h.key))})}),d.current):null})}const f0=fo();function w3({anchorKey:l,editor:t,onAddComment:n}){const e=ge.useRef(null),a=ge.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 ge.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:t3,alt:""})})})}function x3({onEscape:l}){const[t]=Sn();return ge.useEffect(()=>t.registerCommand(Rs,n=>l(n),2),[t,l]),null}function KE({className:l,autoFocus:t,onEscape:n,onChange:e,editorRef:a,placeholder:r="",mentionItems:o,setmentionedEmails:s}){const c={namespace:"Commenting",nodes:[md],onError:i=>{throw i},theme:e3};return ge.useEffect(()=>()=>{s([])},[]),ue.jsxs(op,{initialConfig:c,children:[ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_EditorContainer",children:[ue.jsx($w,{contentEditable:ue.jsx(Sd,{className:l}),placeholder:ue.jsx(Ed,{children:r}),ErrorBoundary:Ol}),ue.jsx(zw,{onChange:e}),ue.jsx(cp,{}),t!==!1&&ue.jsx(kp,{}),ue.jsx(x3,{onEscape:n}),ue.jsx(Fw,{}),a!==void 0&&ue.jsx(d5,{editorRef:a})]}),ue.jsx(b3,{mentionItems:o,setmentionedEmails:s})]})}function GE(l,t){return ge.useCallback((n,e)=>{n.read(()=>{l(Km()),t(!Gm(e.isComposing(),!0))})},[t,l])}function S3({editor:l,cancelAddComment:t,submitAddComment:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s,wpAndTaskId:c}){const[i,d]=ge.useState(""),[u,p]=ge.useState(!1),f=ge.useRef(null),h=ge.useMemo(()=>({container:document.createElement("div"),elements:[]}),[]),m=ge.useRef(null),g=XE(),_=ge.useCallback(()=>{l.getEditorState().read(()=>{const E=kt();if(Et(E)){m.current=E.clone();const b=E.anchor,y=E.focus,x=Y_(l,b.getNode(),b.offset,y.getNode(),y.offset),C=f.current;if(x!==null&&C!==null){const{left:T,bottom:F,width:B}=x.getBoundingClientRect(),D=Z_(l,x);let L=D.length===1?T+B/2-125:T-125;L<10&&(L=10),C.style.left=`${L}px`,C.style.top=`${F+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,_]),ge.useEffect(()=>(window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}),[_]);const v=E=>(E.preventDefault(),t(),!0),w=()=>{if(console.log("this is called",c),u){let E=l.getEditorState().read(()=>{const b=m.current;return b?b.getTextContent():""});E.length>100&&(E=E.slice(0,99)+"…"),n(LE(E,[kh(i,e??g,a,o)],void 0,c),!0,void 0,m.current),m.current=null}},S=GE(d,p);return ue.jsxs("div",{className:"CommentPlugin_CommentInputBox",ref:f,children:[ue.jsx(KE,{className:"CommentPlugin_CommentInputBox_Editor",onEscape:v,onChange:S,mentionItems:r,setmentionedEmails:s}),ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_Buttons",children:[ue.jsx(Ri,{onClick:t,className:"CommentPlugin_CommentInputBox_Button",children:"Cancel"}),ue.jsx(Ri,{onClick:w,disabled:!u,className:"CommentPlugin_CommentInputBox_Button primary",children:"Comment"})]})]})}function E3({submitAddComment:l,thread:t,placeholder:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s}){const[c,i]=ge.useState(""),[d,u]=ge.useState(!1),p=ge.useRef(null),f=XE(),h=GE(i,u),m=()=>{if(d){s([]),l(kh(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(KE,{className:"CommentPlugin_CommentsPanel_Editor",autoFocus:!1,onEscape:()=>!0,onChange:h,editorRef:p,placeholder:n,mentionItems:r,setmentionedEmails:s}),ue.jsx(Ri,{className:"CommentPlugin_CommentsPanel_SendButton",onClick:m,disabled:!d,children:ue.jsx("i",{className:"send"})})]})}function YE({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(Ri,{onClick:()=>{t(l,e),n()},children:"Delete"})," ",ue.jsx(Ri,{onClick:()=>{n()},children:"Cancel"})]})]})}function ZE({comment:l,deleteComment:t,thread:n,rtf:e,userName:a,userEmail:r,mentionedEmails:o,setmentionedEmails:s}){const c=Math.round((l.timeStamp-performance.now())/1e3),i=Math.round(c/60),[d,u]=Ma();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",children:["· ",c>-10?"Just now":e.format(i,"minute")]})]}),ue.jsx("p",{className:l.deleted?"CommentPlugin_CommentsPanel_DeletedComment":"",style:{whiteSpace:"pre-wrap"},children:l.content}),!l.deleted&&ue.jsxs(ue.Fragment,{children:[a==l.author&&ue.jsx(Ri,{onClick:()=>{u("Delete Comment",p=>ue.jsx(YE,{commentOrThread:l,deleteCommentOrThread:t,thread:n,onClose:p}))},className:"CommentPlugin_CommentsPanel_List_DeleteButton",children:ue.jsx("i",{className:"delete"})}),d]})]})}function C3({activeIDs:l,comments:t,deleteCommentOrThread:n,listRef:e,submitAddComment:a,markNodeMap:r,userName:o,userEmail:s,resolveThread:c,mentionItems:i,mentionedEmails:d,setmentionedEmails:u,wpAndTaskId:p}){const[f]=Sn(),[h,m]=ge.useState(0),[g,_]=Ma(),v=ge.useMemo(()=>new Intl.RelativeTimeFormat("en",{localeMatcher:"best fit",numeric:"auto",style:"short"}),[]);ge.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 F=Array.from(C)[0],B=Bn(F);Sc(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:n3,alt:"Resolve Comment",onClick:()=>c(S)})]}),o==((y=S==null?void 0:S.comments[0])==null?void 0:y.author)&&ue.jsx(Ri,{onClick:()=>{_("Delete Thread",C=>ue.jsx(YE,{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(ZE,{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(E3,{submitAddComment:a,thread:S,userName:o,userEmail:s,mentionItems:i,mentionedEmails:d,setmentionedEmails:u})})})]},E)}return ue.jsx(ZE,{comment:S,deleteComment:n,rtf:v,userName:o,userEmail:s},E)}):ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"})})}function j3({activeIDs:l,deleteCommentOrThread:t,comments:n,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,setShowComments:c,mentionItems:i,mentionedEmails:d,setmentionedEmails:u,wpAndTaskId:p}){const f=ge.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:r3,alt:""})]}),h?ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"}):ue.jsx(C3,{activeIDs:l,comments:n,deleteCommentOrThread:t,listRef:f,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,mentionItems:i,mentionedEmails:d,setmentionedEmails:u,wpAndTaskId:p})]})}function XE(){const l=Cd(),{yjsDocMap:t,name:n}=l;return t.has("comments")?n:"Playground User"}function QE({providerFactory:l,handleSaveComments:t,showComments:n,setShowComments:e,userName:a,userEmail:r,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}){const d=Cd(),[u]=Sn(),p=ge.useMemo(()=>(u!=null&&u._commentStore||(u._commentStore=new Wd(u)),u==null?void 0:u._commentStore),[u]),f=QM(p),h=ge.useMemo(()=>new Map,[]),[m,g]=ge.useState(),[_,v]=ge.useState([]),[w,S]=ge.useState(!1),{yjsDocMap:E}=d;ge.useEffect(()=>{if(l){const F=l("comments",E);return p.registerCollaboration(F)}},[p,l,E]);const b=ge.useCallback(()=>{u.update(()=>{const F=kt();F!==null&&(F.dirty=!0)}),S(!1)},[u]),y=ge.useCallback((F,B)=>{var D;if(console.log("comment dltd",F,B),F.type==="comment"){if(a==F.author){const L=p.deleteCommentOrThread(F,B);if(!L)return;const{markedComment:O,index:j}=L;p.addComment(O,B,j),t(p.getComments())}}else{((D=F.comments)==null?void 0:D[0].author)==a&&p.deleteCommentOrThread(F);const L=B!==void 0?B.id:F.id,O=h.get(L);O!==void 0?setTimeout(()=>{u.update(()=>{for(const j of O){const P=Bn(j);Sc(P)&&(P.deleteID(L),P.getIDs().length===0&&jT(P))}}),t(p.getComments())}):t(p.getComments())}},[p,u,h,t]),x=ge.useCallback((F,B,D,L)=>{console.log("submitAddComment is called"),p.addComment(F,D),t(p.getComments()),B&&(u.update(()=>{if(Et(L)){const O=L.isBackward(),j=F.id;kT(L,O,j)}}),S(!1))},[p,u]),C=F=>{F&&F.type==="thread"&&p.resolveThread(F),t(p.getComments())};ge.useEffect(()=>{const F=[];for(let B=0;B<_.length;B++){const D=_[B],L=h.get(D);if(L!==void 0)for(const O of L){const j=u.getElementByKey(O);j!==null&&(j.classList.add("selected"),F.push(j),e(!0))}}return()=>{for(let B=0;B<F.length;B++)F[B].classList.remove("selected")}},[_,u,h]),ge.useEffect(()=>{const F=new Map;return br(lb(u,Ws,B=>Wm(B.getIDs()),(B,D)=>{B.getIDs().forEach(O=>{D.addID(O)})}),u.registerMutationListener(Ws,B=>{u.getEditorState().read(()=>{for(const[D,L]of B){const O=Bn(D);let j=[];L==="destroyed"?j=F.get(D)||[]:Sc(O)&&(j=O.getIDs());for(let P=0;P<j.length;P++){const R=j[P];let N=h.get(R);F.set(D,j),L==="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))}}})}),u.registerUpdateListener(({editorState:B,tags:D})=>{B.read(()=>{const L=kt();let O=!1,j=!1;if(Et(L)){const P=L.anchor.getNode();if(Wt(P)){const R=TT(P,L.anchor.offset);R!==null&&(v(R),O=!0),L.isCollapsed()||(g(P.getKey()),j=!0)}}O||v(P=>P.length===0?P:[]),j||g(null),!D.has("collaboration")&&Et(L)&&S(!1)})}),u.registerCommand(f0,()=>{const B=window.getSelection();return B!==null&&B.removeAllRanges(),S(!0),!0},Tn))},[u,h]);const T=()=>{u.dispatchCommand(f0,void 0)};return ue.jsxs(ue.Fragment,{children:[w&&so.createPortal(ue.jsx(S3,{editor:u,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(w3,{anchorKey:m,editor:u,onAddComment:T}),document.body),n&&so.createPortal(ue.jsx(j3,{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 yR="",eC=({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..."})}),tC=({onChange:l})=>{const[t]=Sn(),[n,e]=ge.useState(!0),a=ge.useRef(""),r=a.current,o=ge.useCallback(()=>{t.update(()=>{const s=I1(t);n?e(!1):s!==r&&(l(s),a.current=s)})},[t,n,l,r]);return ge.useEffect(()=>{const s=t.registerUpdateListener(o);return()=>s()},[t,o]),null},nC=nS([...j1]);function k3({setEditorEditable:l,htmlString:t,isEditable:n}){const[e]=Sn();return ge.useEffect(()=>{e.update(()=>{const a=new DOMParser,r=Pw(t),o=a.parseFromString(r,"text/html");let s=Zm(e,o);$n().clear();const i=Cn();ts(s),ts([i]),e.setEditable(!1),setTimeout(()=>{e.setEditable(n),l(!0)},5e3)})},[e,t]),null}function T3({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:d,pagination:u=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S}){const E=ge.useRef(null),{historyState:b}=gb(),[y,x]=ge.useState([]),[C,T]=ge.useState("skyp_1"),[F,B]=ge.useState([]),[D,L]=ge.useState(!1),[O,j]=Ma(),[P,R]=ge.useState(null),[N,U]=ge.useState([]),[M,z]=ge.useState(null),[V,K]=ge.useState(!1),[A,q]=ge.useState(!1);ge.useState(!1);const[W,H]=ge.useState([]),G=ge.useRef(null),[Z,Q]=ge.useState(!1);ge.useState(!1),ge.useState(""),ge.useRef("");const Y=async()=>({state:{root:[]},timestamp:Date.now()});let ee=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:re,userId:fe,userEmail:de}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},ne={name:re,id:fe,email:de},Se={docId:e+"_"+g,apiKey:n,user:ne,hooks:{fetchDocOnNetworkReconnect:Y,contentChanged:(ze,Oe)=>{},usersUpdate:ze=>{x(ze),renderOnlineUsers(ze),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",ze)}}};ge.useEffect(()=>{let ze=[],Oe=[];y&&y.length>0&&y.map((Ge,Ke)=>{Oe.includes(Ge.name)||(Oe.push(Ge.name),ze.push(ue.jsxs("div",{title:Ge.name,className:`avatarStyle avatar-color-${Ke+1}`,children:[" ",Ge.name&&Ge.name[0],Ge.name&&Ge.name[4]]},Ke)))}),B(ze)},[y]);const we=()=>{G.current&&(G.current.initComments(c),["content_changed","error","users_update"].forEach(Oe=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",Oe),G.current.on(Oe,Ge=>{})}),G.current.start(Se).then(()=>{console.log("[Lexical Demo][codox.start] success"),L(!0)}).catch(Oe=>console.log("[Lexical Demo][codox.start] error",Oe)))},me=()=>{G.current&&G.current.stop(),L(!1)};ge.useEffect(()=>{setTimeout(()=>{wd('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),ge.useEffect(()=>{wd(".editor-outer").css({justifyContent:A?"flex-start":"center"})},[A]),ge.useEffect(()=>{(async()=>{if(!C)return;D&&me();let ze=m;if(ze)try{rS(ze,nC),R(ze)}catch(Oe){console.error("[APP] error: ",Oe)}})()},[C]),ge.useEffect(()=>{P&&e&&!D&&n&&setTimeout(()=>{we()},2e3)},[P,e,D,n]);const je=ge.useMemo(()=>{if(P)return{editorState:ze=>{ze.update(()=>{const Oe=new Wd(ze);c&&(Oe.setComments(c),ze._commentStore||(ze._commentStore=new Wd(ze),ze._commentStore.getComments().length===0&&ze._commentStore.setComments(c)))})},namespace:`editor_${e}`,nodes:nC,onError:ze=>{console.error("[Lexical Demo][Editor Error Captured]: ",ze)},theme:Vm}},[P]),ce=ge.useRef(l);ge.useEffect(()=>{ce.current||(ce.current=l)},[l]);const se=ue.jsx(Ed,{children:"Enter some plain text..."}),[pe,le]=ge.useState(null),[ke,Te]=ge.useState(!1),[Ce,Me]=ge.useState(!1),[qe,Le]=ge.useState(!1),Re=ze=>{ze!==null&&le(ze)};ge.useEffect(()=>{const ze=()=>{const Oe=Oc&&window.matchMedia("(max-width: 1025px)").matches;Oe!==ke&&Te(Oe)};return ze(),window.addEventListener("resize",ze),()=>{window.removeEventListener("resize",ze)}},[ke]),ge.useEffect(()=>{const ze=Oe=>{M&&!Oe.target.closest(".reference-toolbar")&&z(null)};return document.addEventListener("click",ze),()=>{document.removeEventListener("click",ze)}},[M]),ge.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{Q(!0)},1e3):Q(!1)},[l,t,i]);const Ee=ze=>{o(ze)};return ue.jsx(ue.Fragment,{children:Z?ue.jsxs(op,{initialConfig:je,children:[ue.jsx(hb,{children:ue.jsx(k1,{children:ue.jsxs("div",{ref:E,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(k3,{setEditorEditable:Le,isEditable:v,htmlString:l}),ue.jsx(QE,{showComments:V,setShowComments:K,handleSaveComments:d,userName:re,userEmail:de,mentionItems:a,mentionedEmails:W,setmentionedEmails:H,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Mw,{styleConfig:i,setIsLinkEditMode:Me,onlUser:F,showComments:V,setShowComments:K})," "]}):"",ue.jsx(tC,{onChange:Ee}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(cw,{}),!h&&ue.jsx(kp,{}),ue.jsx(N1,{}),ue.jsx(uw,{}),ue.jsx(rw,{}),ue.jsx(cp,{externalHistoryState:b}),ue.jsx(Ip,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:Re,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(D||qe)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:se,ErrorBoundary:Ol}),ue.jsx(A1,{}),ue.jsx(fw,{maxDepth:7}),ue.jsx(Z1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),ue.jsx(Cw,{}),ue.jsx(iw,{}),ue.jsx(ry,{}),ue.jsx(gw,{}),pe&&!ke&&ue.jsx(ue.Fragment,{children:ue.jsx(Ew,{anchorElem:pe,cellMerge:!0})}),M&&ue.jsx(jS,{references:N,setReferences:U,position:M,onClose:()=>z(null)}),ue.jsx(kS,{setContextMenu:z,references:N,setReferences:U,containerRef:E}),ue.jsx(TS,{references:N,setReferences:U}),ue.jsx(E1,{}),ue.jsx(OS,{})]})]}),h&&ue.jsx(tS,{debug:!0,ref:G,onBlacklistedInsert:ee}),O]})})}),i&&ue.jsx(ES,{styleConfig:i})]},e):ue.jsx(eC,{})})}const O3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;let N3=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const rC=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 oC(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function A3(l,t,n,e){const[a]=Sn();ge.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(u,p){let f=getComputedStyle(u);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=u;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=oC(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const u=oC(t,o);u!==c&&(c=u,e!=null&&e(u))},d=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),d.observe(t),()=>{d.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const iC=fo();function P3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,d]=ge.useState(null),u=e.match&&e.match.matchingString;ge.useEffect(()=>{d(0)},[u]);const p=ge.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=kt();if(!Et(_)||!_.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,F){let B=F;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=ge.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),d(h))},[t]);return ge.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),O3(()=>{a===null?d(null):i===null&&f(0)},[a,i,f]),ge.useEffect(()=>br(t.registerCommand(iC,({option:h})=>!(!h.ref||h.ref.current==null)&&(rC(h.ref.current),!0),c)),[t,f,c]),ge.useEffect(()=>br(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(iC,{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&&rC(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Rs,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(Ds,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,ge.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:d}),[p,i,a]),e.match?e.match.matchingString:"")}function I3({options:l,nodeKey:t,onClose:n,onOpen:e,onSelectOption:a,menuRenderFn:r,anchorClassName:o,commandPriority:s=Yn,parent:c}){const[i]=Sn(),[d,u]=ge.useState(null),p=function(g,_,v,w=document.body){const[S]=Sn(),E=ge.useRef(document.createElement("div")),b=ge.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:F,top:B,width:D,height:L}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${F+window.pageXOffset}px`,C.style.height=`${L}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();F+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+L&&(C.style.top=B-P+window.pageYOffset-L+"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]);ge.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=ge.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return A3(g,E.current,b,y),E}(d,u,o,c),f=ge.useCallback(()=>{u(null),n!=null&&d!==null&&n()},[n,d]),h=ge.useCallback(g=>{u(g),e!=null&&d===null&&e(g)},[e,d]),m=ge.useCallback(()=>{t?i.update(()=>{const g=Bn(t),_=i.getElementByKey(t);var v;g!=null&&_!=null&&d==null&&(v=()=>h({getRect:()=>_.getBoundingClientRect()}),sr.startTransition?sr.startTransition(v):v())}):t==null&&d!=null&&f()},[f,i,t,h,d]);return ge.useEffect(()=>{m()},[m,t]),ge.useEffect(()=>{if(t!=null)return i.registerUpdateListener(({dirtyElements:g})=>{g.get(t)&&m()})},[i,m,t]),d===null||i===null?null:ue.jsx(P3,{close:f,resolution:d,editor:i,anchorElementRef:p,options:l,menuRenderFn:r,onSelectOption:a,commandPriority:s})}const M3=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,D3=fo();class sC extends N3{constructor(t,n){super(t),this.title=t,this.onSelect=n.onSelect.bind(this)}}function R3({embedConfigs:l,onOpenEmbedModalForConfig:t,getMenuOptions:n,menuRenderFn:e,menuCommandPriority:a=Yn}){const[r]=Sn(),[o,s]=ge.useState(null),[c,i]=ge.useState(null),d=ge.useCallback(()=>{s(null),i(null)},[]),u=ge.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]);ge.useEffect(()=>br(...[hc,sd].map(m=>r.registerMutationListener(m,(...g)=>((_,{updateTags:v,dirtyLeaves:w})=>{for(const[S,E]of _)E==="created"&&v.has("paste")&&w.size<=3?u(S):S===o&&d()})(...g)))),[u,r,l,o,d]),ge.useEffect(()=>r.registerCommand(D3,m=>{const g=l.find(({type:_})=>_===m);return!!g&&(t(g),!0)},Tn),[r,l,t]);const p=ge.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(()=>{kt()||m.selectEnd(),c.insertNode(r,g),m.isAttached()&&m.remove()})}}},[c,r,o]),f=ge.useMemo(()=>c!=null&&o!=null?n(c,p,d):[],[c,p,n,o,d]),h=ge.useCallback((m,g,_)=>{r.update(()=>{m.onSelect(g),_()})},[r]);return o!=null?ue.jsx(I3,{nodeKey:o,onClose:d,onSelectOption:h,options:f,menuRenderFn:e,commandPriority:a}):null}const L3=fo(),F3=fo(),B3=fo(),z3={contentName:"Youtube Video",exampleUrl:"https://www.youtube.com/watch?v=jNQXAC9IVRw",icon:ue.jsx("i",{className:"icon youtube"}),insertNode:(l,t)=>{l.dispatchCommand(B3,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"},U3=[{contentName:"Tweet",exampleUrl:"https://twitter.com/jack/status/20",icon:ue.jsx("i",{className:"icon tweet"}),insertNode:(l,t)=>{l.dispatchCommand(F3,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"},z3,{contentName:"Figma Document",exampleUrl:"https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File",icon:ue.jsx("i",{className:"icon figma"}),insertNode:(l,t)=>{l.dispatchCommand(L3,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 H3({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 $3({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(H3,{index:r,isSelected:t===r,onClick:()=>n(a,r),onMouseEnter:()=>e(r),option:a},a.key))})})}const q3=(l,t)=>{let n;return e=>{window.clearTimeout(n),n=window.setTimeout(()=>{l(e)},t)}};function W3({embedConfig:l,onClose:t}){const[n,e]=ge.useState(""),[a]=Sn(),[r,o]=ge.useState(null),s=ge.useMemo(()=>q3(i=>{const d=M3.exec(i);l!=null&&i!=null&&d!=null?Promise.resolve(l.parseUrl(i)).then(u=>{o(u)}):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:d}=i.target;e(d),s(d)}})}),ue.jsx(jp,{children:ue.jsx(Ri,{disabled:!r,onClick:c,"data-test-id":`${l.type}-embed-modal-submit-btn`,children:"Embed"})})]})}function J3(){const[l,t]=Ma(),n=a=>{t(`Embed ${a.contentName}`,r=>ue.jsx(W3,{embedConfig:a,onClose:r}))},e=(a,r,o)=>[new sC("Dismiss",{onSelect:o}),new sC(`Embed ${a.contentName}`,{onSelect:r})];return ue.jsxs(ue.Fragment,{children:[l,ue.jsx(R3,{embedConfigs:U3,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($3,{options:o,selectedItemIndex:r,onOptionClick:(i,d)=>{c(d),s(i)},onOptionMouseEnter:i=>{c(i)}})}),a.current):null})]})}class V3 extends BE{constructor(n,e,a){super(n);zn(this,"title");zn(this,"emoji");zn(this,"keywords");this.title=n,this.emoji=e,this.keywords=a.keywords||[]}}function K3({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 G3=10;function Y3(){const[l]=Sn(),[t,n]=ge.useState(null),[e,a]=ge.useState([]);ge.useEffect(()=>{Promise.resolve().then(()=>TD).then(i=>a(i.default))},[]);const r=ge.useMemo(()=>e!=null?e.map(({emoji:i,aliases:d,tags:u})=>new V3(d[0],i,{keywords:[...d,...u]})):[],[e]),o=$E(":",{minLength:0}),s=ge.useMemo(()=>r.filter(i=>t!=null?new RegExp(t,"gi").exec(i.title)||i.keywords!=null?i.keywords.some(d=>new RegExp(t,"gi").exec(d)):!1:r).slice(0,G3),[r,t]),c=ge.useCallback((i,d,u)=>{l.update(()=>{const p=kt();!Et(p)||i==null||(d&&d.remove(),p.insertNodes([er(i.emoji)]),u())})},[l]);return ue.jsx(qE,{onQueryChange:n,onSelectOption:c,triggerFn:o,options:s,menuRenderFn:(i,{selectedIndex:d,selectOptionAndCleanUp:u,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(K3,{index:h,isSelected:d===h,onClick:()=>{p(h),u(f)},onMouseEnter:()=>{p(h)},option:f})},f.key))})}),i.current):null})}const aC=new Map([[":)",["emoji happysmile","🙂"]],[":D",["emoji veryhappysmile","😀"]],[":(",["emoji unhappysmile","🙁"]],["<3",["emoji heart","❤"]],["🙂",["emoji happysmile","🙂"]],["😀",["emoji veryhappysmile","😀"]],["🙁",["emoji unhappysmile","🙁"]],["❤",["emoji heart","❤"]]]);function Z3(l){const t=l.getTextContent();for(let n=0;n<t.length;n++){const e=aC.get(t[n])||aC.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=u1(a,r);return o.replace(s),s}}return null}function X3(l){let t=l;for(;t!==null;){if(!t.isSimpleText())return;t=Z3(t)}}function Q3(l){ge.useEffect(()=>{if(!l.hasNodes([gd]))throw new Error("EmojisPlugin: EmojiNode not registered on editor");return l.registerNodeTransform(no,X3)},[l])}function eD(){const[l]=Sn();return Q3(l),null}const lC=nS([...j1]);function tD({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:d,pagination:u=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S}){const E=ge.useRef(null),{historyState:b}=gb(),[y,x]=ge.useState([]),[C,T]=ge.useState("skyp_1"),[F,B]=ge.useState([]),[D,L]=ge.useState(!1),[O,j]=Ma(),[P,R]=ge.useState(null),[N,U]=ge.useState([]),[M,z]=ge.useState(null),[V,K]=ge.useState(!1),[A,q]=ge.useState(!1);ge.useState(!1);const[W,H]=ge.useState([]),G=ge.useRef(null),[Z,Q]=ge.useState(!1);ge.useState(!1);const Y=async()=>({state:{root:[]},timestamp:Date.now()});let ee=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:re,userId:fe,userEmail:de}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},ne={name:re,id:fe,email:de},Se={docId:e+"_"+g,apiKey:n,user:ne,hooks:{fetchDocOnNetworkReconnect:Y,contentChanged:(ze,Oe)=>{},usersUpdate:ze=>{x(ze),renderOnlineUsers(ze),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",ze)}}};ge.useEffect(()=>{let ze=[],Oe=[];y&&y.length>0&&y.map((Ge,Ke)=>{Oe.includes(Ge.name)||(Oe.push(Ge.name),ze.push(ue.jsxs("div",{title:Ge.name,className:`avatarStyle avatar-color-${Ke+1}`,children:[" ",Ge.name&&Ge.name[0],Ge.name&&Ge.name[4]]},Ke)))}),B(ze)},[y]);const we=()=>{G.current&&(G.current.initComments(c),["content_changed","error","users_update"].forEach(Oe=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",Oe),G.current.on(Oe,Ge=>{})}),G.current.start(Se).then(()=>{console.log("[Lexical Demo][codox.start] success"),L(!0)}).catch(Oe=>console.log("[Lexical Demo][codox.start] error",Oe)))},me=()=>{G.current&&G.current.stop(),L(!1)};ge.useEffect(()=>{setTimeout(()=>{wd('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),ge.useEffect(()=>{wd(".editor-outer").css({justifyContent:A?"flex-start":"center"})},[A]),ge.useEffect(()=>{(async()=>{if(!C)return;D&&me();let ze=m;if(ze)try{rS(ze,lC),R(ze)}catch(Oe){console.error("[APP] error: ",Oe)}})()},[C]),ge.useEffect(()=>{P&&e&&!D&&n&&setTimeout(()=>{we()},2e3)},[P,e,D,n]);const je=ge.useMemo(()=>{if(P)return{editorState:ze=>{ze.update(()=>{const Oe=new DOMParser,Ge=Pw(l),Ke=Oe.parseFromString(Ge,"text/html");let et=Zm(ze,Ke);$n().clear();const zt=Cn();ts(et),ts([zt]),ze.setEditable(v),setTimeout(()=>{ze.setEditable(v),Le(!0)},5e3);const Qe=new Wd(ze);c&&(Qe.setComments(c),ze._commentStore||(ze._commentStore=new Wd(ze),ze._commentStore.getComments().length===0&&ze._commentStore.setComments(c)))})},namespace:"Playground",nodes:lC,onError:ze=>{console.error("[Lexical Demo][Editor Error Captured]: ",ze)},theme:Vm}},[P]),ce=ge.useRef(l);ge.useEffect(()=>{ce.current||(ce.current=l)},[l]);const se=ue.jsx(Ed,{children:"Enter some plain text..."}),[pe,le]=ge.useState(null),[ke,Te]=ge.useState(!1),[Ce,Me]=ge.useState(!1),[qe,Le]=ge.useState(!1),Re=ze=>{ze!==null&&le(ze)};ge.useEffect(()=>{const ze=()=>{const Oe=Oc&&window.matchMedia("(max-width: 1025px)").matches;Oe!==ke&&Te(Oe)};return ze(),window.addEventListener("resize",ze),()=>{window.removeEventListener("resize",ze)}},[ke]),ge.useEffect(()=>{const ze=Oe=>{M&&!Oe.target.closest(".reference-toolbar")&&z(null)};return document.addEventListener("click",ze),()=>{document.removeEventListener("click",ze)}},[M]),ge.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{Q(!0)},1e3):Q(!1)},[l,t,i]);const Ee=ze=>{console.log("CustomOnChange",ze),s(ze)};return ue.jsx(ue.Fragment,{children:Z?ue.jsxs(op,{initialConfig:je,children:[ue.jsx(hb,{children:ue.jsx(k1,{children:ue.jsxs("div",{ref:E,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(QE,{showComments:V,setShowComments:K,handleSaveComments:d,userName:re,userEmail:de,mentionItems:a,mentionedEmails:W,setmentionedEmails:H,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Mw,{styleConfig:i,setIsLinkEditMode:Me,onlUser:F,showComments:V,setShowComments:K})," "]}):"",ue.jsx(tC,{onChange:Ee}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(cw,{}),ue.jsx(Y3,{}),ue.jsx(J3,{}),ue.jsx(eD,{}),ue.jsx(N1,{}),ue.jsx(uw,{}),ue.jsx(rw,{}),ue.jsx(cp,{externalHistoryState:b}),ue.jsx(Ip,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:Re,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(D||qe)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:se,ErrorBoundary:Ol}),ue.jsx(A1,{}),ue.jsx(fw,{maxDepth:7}),ue.jsx(Z1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),h&&ue.jsx(Cw,{}),ue.jsx(iw,{}),ue.jsx(ry,{}),ue.jsx(gw,{}),pe&&!ke&&ue.jsx(ue.Fragment,{children:ue.jsx(Ew,{anchorElem:pe,cellMerge:!0})}),M&&ue.jsx(jS,{references:N,setReferences:U,position:M,onClose:()=>z(null)}),ue.jsx(kS,{setContextMenu:z,references:N,setReferences:U,containerRef:E}),ue.jsx(TS,{references:N,setReferences:U}),ue.jsx(E1,{}),ue.jsx(OS,{})]})]}),h&&ue.jsx(tS,{debug:!0,ref:G,onBlacklistedInsert:ee}),O]})})}),i&&ue.jsx(ES,{styleConfig:i})]},e):ue.jsx(eC,{})})}const bR="";function nD(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var rD=nD(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 cC(l){const t=l.transform();return t!==null?new Set([t]):new Set}function uC({initialEditor:l,children:t,initialNodes:n,initialTheme:e,skipCollabChecks:a}){const r=ge.useRef(!1),o=ge.useContext(Du);o==null&&rD(9);const[s,{getTheme:c}]=o,i=ge.useMemo(()=>{const f=e||c()||void 0,h=vv(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:cC(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:cC(_.klass)})}return l._config.namespace=s._config.namespace,l._editable=s._editable,[l,h]},[]),{isCollabActive:d,yjsDocMap:u}=Cd(),p=a||r.current||u.has(l.getKey());return ge.useEffect(()=>{p&&(r.current=!0)},[p]),ge.useEffect(()=>s.registerEditableListener(f=>{l.setEditable(f)}),[l,s]),ue.jsx(Du.Provider,{value:i,children:!d||p?t:null})}function p0(l,t,n){return Math.min(Math.max(l,t),n)}const Nr={east:1,north:8,south:2,west:4};function oD({onResizeStart:l,onResizeEnd:t,buttonRef:n,imageRef:e,maxWidth:a,editor:r,showCaption:o,setShowCaption:s,captionsEnabled:c}){const i=ge.useRef(null),d=ge.useRef({priority:"",value:"default"}),u=ge.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"),d.current.value=document.body.style.getPropertyValue("-webkit-user-select"),d.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",d.current.value,d.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:F}=x.getBoundingClientRect(),B=u.current;B.startWidth=T,B.startHeight=F,B.ratio=T/F,B.currentWidth=T,B.currentHeight=F,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=`${F}px`,x.style.width=`${T}px`,document.addEventListener("pointermove",S),document.addEventListener("pointerup",E)}},S=b=>{const y=e.current,x=u.current,C=x.direction&(Nr.east|Nr.west),T=x.direction&(Nr.south|Nr.north);if(y!==null&&x.isResizing){if(C&&T){let F=Math.floor(x.startX-b.clientX);F=x.direction&Nr.east?-F:F;const B=p0(x.startWidth+F,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 F=Math.floor(x.startY-b.clientY);F=x.direction&Nr.south?-F:F;const B=p0(x.startHeight+F,g,h);y.style.height=`${B}px`,y.style.maxHeight=`${B}px`,x.currentHeight=B}else{let F=Math.floor(x.startX-b.clientX);F=x.direction&Nr.east?-F:F;const B=p0(x.startWidth+F,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=u.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 Oh={x:0,y:0,width:0,height:0,unit:"px"},cu=(l,t,n)=>Math.min(Math.max(l,t),n),iD=(...l)=>l.filter(t=>t&&typeof t=="string").join(" "),dC=(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==="%"?{...Oh,...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 Ka(l,t,n){return l.unit?l.unit==="px"?{...Oh,...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}:{...Oh,...l,unit:"px"}}function fC(l,t,n,e,a,r=0,o=0,s=e,c=a){const i={...l};let d=Math.min(r,e),u=Math.min(o,a),p=Math.min(s,e),f=Math.min(c,a);t&&(t>1?(d=o?o*t:d,u=d/t,p=s*t):(u=r?r/t:u,d=u*t,f=c/t)),i.y<0&&(i.height=Math.max(i.height+i.y,u),i.y=0),i.x<0&&(i.width=Math.max(i.width+i.x,d),i.x=0);const h=e-(i.x+i.width);h<0&&(i.x=Math.min(i.x,e-d),i.width+=h);const m=a-(i.y+i.height);if(m<0&&(i.y=Math.min(i.y,a-u),i.height+=m),i.width<d&&((n==="sw"||n=="nw")&&(i.x-=d-i.width),i.width=d),i.height<u&&((n==="nw"||n=="ne")&&(i.y-=u-i.height),i.height=u),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,u);(n==="nw"||n=="ne")&&(i.y-=_-i.height),i.height=_}else if(g>t){const _=Math.max(i.height*t,d);(n==="sw"||n=="nw")&&(i.x-=_-i.width),i.width=_}}return i}function sD(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 aD=0;const Ga=class ms extends ge.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=ge.createRef(),this.mediaRef=ge.createRef(),this.initChangeCalled=!1,this.instanceId=`rc-${aD++}`,this.state={cropIsActive:!1,newCropIsBeingDrawn:!1},this.onCropPointerDown=t=>{const{crop:n,disabled:e}=this.props,a=this.getBox();if(!n)return;const r=Ka(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,d=r.x,u=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,d=r.x,u=r.y+r.height):o==="se"||o==="s"?(h=p-(r.x+r.width),m=f-(r.y+r.height),d=r.x,u=r.y):o==="sw"||o=="w"?(h=p-r.x,m=f-(r.y+r.height),d=r.x+r.width,u=r.y):(o==="nw"||o=="n")&&(h=p-r.x,m=f-r.y,d=r.x+r.width,u=r.y+r.height),c=d+a.x+h,i=u+a.y+m}this.evData={startClientX:c,startClientY:i,startCropX:d,startCropY:u,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,d={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(Ka(d,s.width,s.height),uu(d,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(),dC(n,c)||a(Ka(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),d=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?ms.nudgeStepLarge:t.shiftKey?ms.nudgeStepMedium:ms.nudgeStep;if(o==="ArrowLeft"?(i.x-=d,s=!0):o==="ArrowRight"?(i.x+=d,s=!0):o==="ArrowUp"?(i.y-=d,s=!0):o==="ArrowDown"&&(i.y+=d,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 u=Ka(i,c.width,c.height),p=uu(i,c.width,c.height);a(u,p),r&&r(u,p)}},this.onHandlerKeyDown=(t,n)=>{const{aspect:e=0,crop:a,disabled:r,minWidth:o=0,minHeight:s=0,maxWidth:c,maxHeight:i,onChange:d,onComplete:u}=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)?ms.nudgeStepLarge:t.shiftKey?ms.nudgeStepMedium:ms.nudgeStep,h=Ka(a,p.width,p.height),m=sD(h,t.key,f,n),g=fC(m,e,n,p.width,p.height,o,s,c,i);if(!dC(a,g)){const _=uu(g,p.width,p.height);d(g,_),u&&u(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(Ka(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(Ka(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),d=t.ord||i;let u=t.clientX-t.startClientX,p=t.clientY-t.startClientY;(o&&d==="nw"||d==="w"||d==="sw")&&(u=Math.min(u,-o)),(s&&d==="nw"||d==="n"||d==="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=u,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=u,n?f.height=f.width/n:f.height=p):i==="sw"?(f.x=t.startCropX+u,f.y=t.startCropY,f.width=Math.abs(u),n?f.height=f.width/n:f.height=p):i==="nw"&&(f.x=t.startCropX+u,f.width=Math.abs(u),n?(f.height=f.width/n,f.y=t.startCropY-f.height):(f.height=Math.abs(p),f.y=t.startCropY+p));const h=fC(f,n,i,r.width,r.height,o,s,e,a);return n||ms.xyOrds.indexOf(d)>-1?c=h:ms.xOrds.indexOf(d)>-1?(c.x=h.x,c.width=h.width):ms.yOrds.indexOf(d)>-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=ms.defaultProps.ariaLabels,disabled:n,locked:e,renderSelectionAddon:a,ruleOfThirds:r,crop:o}=this.props,s=this.getCropStyle();if(o)return ge.createElement("div",{style:s,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!e&&ge.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},ge.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),ge.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),ge.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),ge.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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&&ge.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:c=>c.stopPropagation()},a(this.state)),r&&ge.createElement(ge.Fragment,null,ge.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),ge.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(t){const n={...Oh,...this.props.crop||{}};return Ka(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:d,newCropIsBeingDrawn:u}=this.state,p=r?this.renderCropSelection():null,f=iD("ReactCrop",a,d&&"ReactCrop--active",o&&"ReactCrop--disabled",s&&"ReactCrop--locked",u&&"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 ge.createElement("div",{ref:this.componentRef,className:f,style:c},ge.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},n),r?ge.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},ge.createElement("defs",null,ge.createElement("mask",{id:`hole-${this.instanceId}`},ge.createElement("rect",{width:"100%",height:"100%",fill:"white"}),e?ge.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"}):ge.createElement("rect",{x:`${r.x}${r.unit}`,y:`${r.y}${r.unit}`,width:`${r.width}${r.unit}`,height:`${r.height}${r.unit}`,fill:"black"}))),ge.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,p)}};Ga.xOrds=["e","w"],Ga.yOrds=["n","s"],Ga.xyOrds=["nw","ne","se","sw"],Ga.nudgeStep=1,Ga.nudgeStepMedium=10,Ga.nudgeStepLarge=100,Ga.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 lD=Ga;const wR="",h0=fo();function cD({altText:l,className:t,src:n,width:e,height:a,maxWidth:r,imageRef:o,startCrop:s,setStartCrop:c,isFocused:i,nodeKey:d}){const[u,p]=ge.useState(null),[f,h]=ge.useState({unit:"px",x:25,y:25,width:50,height:50}),[m]=Sn(),g=()=>{if(u){const E=o.current;if(!E||!u)return;const b=E.naturalWidth/E.width,y=E.naturalHeight/E.height,x=new OffscreenCanvas(u.width*b,u.height*y),C=x.getContext("2d");if(!C)throw new Error("No 2D context available");C.drawImage(E,u.x*b,u.y*y,u.width*b,u.height*y,0,0,u.width*b,u.height*y),x.convertToBlob({type:"image/png"}).then(T=>{c(!1);const F=new FileReader;F.onload=()=>{const B=F.result;setTimeout(()=>{m.update(()=>{const D=Bn(d);wc(D)&&B&&D.setSrc(B)},{tag:"crop"})},100)},F.onerror=()=>{console.error("Error reading the cropped image blob")},F.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=ge.useRef(null),w=ge.useRef(null);ge.useEffect(()=>{u&&(v.current=u)},[u]);const S=E=>{w.current&&!w.current.contains(E.target)&&c(!1)};return ge.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(lD,{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 uD({src:l,altText:t,nodeKey:n,width:e,height:a,maxWidth:r,resizable:o,showCaption:s,caption:c}){const i=ge.useRef(null),d=ge.useRef(null),[u,p,f]=mc(n),[h,m]=ge.useState(!1),[g]=Sn(),[_,v]=ge.useState(null),[w,S]=ge.useState(!1),E=ge.useRef(null),b=ge.useCallback(j=>u?(j.preventDefault(),g.update(()=>{const P=Bn(n);wc(P)&&P.remove()}),!0):!1,[u,g,n]),y=ge.useCallback(j=>{const P=kt(),R=d.current;if(u&&fr(P)&&P.getNodes().length===1){if(s)return Cr(null),j.preventDefault(),c.focus(),!0;if(R!==null&&R!==document.activeElement)return j.preventDefault(),R.focus(),!0}return!1},[c,u,s]),x=ge.useCallback(j=>E.current===c||d.current===j.target?(Cr(null),g.update(()=>{p(!0);const P=g.getRootElement();P!==null&&P.focus()}),!0):!1,[c,g,p]),C=ge.useCallback(j=>{const P=j;return h?!0:P.target===i.current?(P.shiftKey?p(!u):(f(),p(!0)),!0):!1},[h,u,p,f]),T=ge.useCallback(j=>{g.getEditorState().read(()=>{const P=kt();j.target.tagName==="IMG"&&Et(P)&&P.getNodes().length===1&&g.dispatchCommand(h0,j)})},[g]);ge.useEffect(()=>{const j=R=>{(R.key==="Delete"||R.key==="Backspace")&&u&&(R.stopPropagation(),R.preventDefault(),g.update(()=>{const N=Bn(n);wc(N)&&N.remove()}))},P=g.getRootElement();return P==null||P.addEventListener("keydown",j),()=>{P==null||P.removeEventListener("keydown",j)}},[u,g,n]),ge.useEffect(()=>{let j=!0;const P=g.getRootElement(),R=br(g.registerUpdateListener(({editorState:N})=>{j&&v(N.read(()=>kt()))}),g.registerCommand(vi,(N,U)=>(E.current=U,!1),Yn),g.registerCommand(ya,C,Yn),g.registerCommand(h0,C,Yn),g.registerCommand(Xl,N=>N.target===i.current?(N.preventDefault(),!0):!1,Yn),g.registerCommand(Yi,b,4),g.registerCommand(Gi,b,4),g.registerCommand(Ds,y,Yn),g.registerCommand(Rs,x,Yn));return P==null||P.addEventListener("contextmenu",T),()=>{j=!1,R(),P==null||P.removeEventListener("contextmenu",T)}},[f,g,h,u,n,y,x,C,T,p]);const F=()=>{g.update(()=>{const j=Bn(n);wc(j)&&j.setShowCaption(!0)})},B=(j,P)=>{setTimeout(()=>{m(!1)},200),g.update(()=>{const R=Bn(n);wc(R)&&R.setWidthAndHeight(j,P)})},D=()=>{w||m(!0)},L=u&&fr(_)&&!h,O=u||h;return ue.jsx(ge.Suspense,{fallback:null,children:ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{draggable:L,children:ue.jsx(cD,{className:O?`focused ${fr(_)?"draggable":""}`:null,src:l,altText:t,width:e,height:a,maxWidth:r,imageRef:i,startCrop:w,setStartCrop:S,isFocused:O,nodeKey:n})}),s&&ue.jsx("div",{className:"image-caption-container",children:ue.jsx(uC,{initialEditor:c,children:ue.jsx(Ip,{contentEditable:ue.jsx(Sd,{className:"ImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"ImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Ol})})}),!w&&o&&fr(_)&&O&&ue.jsx(oD,{showCaption:s,setShowCaption:F,editor:g,buttonRef:d,maxWidth:r,onResizeStart:w?()=>{}:D,onResizeEnd:w?()=>{}:B,captionsEnabled:!1,imageRef:i})]})})}const dD=Object.freeze(Object.defineProperty({__proto__:null,RIGHT_CLICK_IMAGE_COMMAND:h0,default:uD},Symbol.toStringTag,{value:"Module"})),xR="",SR="";function fD(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 pD=10,hD=5;function gD(l,t,n,e=!1,a=pD,r=hD){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 d=l.top-s.height-a,u=l.left-r;d<i.top&&(d+=s.height+l.height+a*(e?9:2)),u+s.width>i.right&&(u=i.right-s.width-r),d-=c.top,u-=c.left,t.style.opacity="1",t.style.transform=`translate(${u}px, ${d}px)`}function mD({editor:l,anchorElem:t,isLink:n,isBold:e,isItalic:a,isUnderline:r,isCode:o,isStrikethrough:s,isSubscript:c,isSuperscript:i}){const d=ge.useRef(null),u=ge.useCallback(()=>{n?l.dispatchCommand(Aa,null):l.dispatchCommand(Aa,"https://")},[l,n]),p=()=>{l.dispatchCommand(f0,void 0)};function f(g){if(d!=null&&d.current&&(g.buttons===1||g.buttons===3)&&d.current.style.pointerEvents!=="none"){const _=g.clientX,v=g.clientY,w=document.elementFromPoint(_,v);d.current.contains(w)||(d.current.style.pointerEvents="none")}}function h(g){d!=null&&d.current&&d.current.style.pointerEvents!=="auto"&&(d.current.style.pointerEvents="auto")}ge.useEffect(()=>{if(d!=null&&d.current)return document.addEventListener("mousemove",f),document.addEventListener("mouseup",h),()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",h)}},[d]);const m=ge.useCallback(()=>{const g=kt(),_=d.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=fD(v,w);gD(S,_,t,n)}},[l,t,n]);return ge.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]),ge.useEffect(()=>(l.getEditorState().read(()=>{m()}),br(l.registerUpdateListener(({editorState:g})=>{g.read(()=>{m()})}),l.registerCommand(vi,()=>(m(),!1),Yn))),[l,m]),ue.jsxs("div",{ref:d,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:u,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 yD(l,t){const[n,e]=ge.useState(!1),[a,r]=ge.useState(!1),[o,s]=ge.useState(!1),[c,i]=ge.useState(!1),[d,u]=ge.useState(!1),[p,f]=ge.useState(!1),[h,m]=ge.useState(!1),[g,_]=ge.useState(!1),[v,w]=ge.useState(!1),S=ge.useCallback(()=>{l.getEditorState().read(()=>{if(l.isComposing())return;const E=kt(),b=window.getSelection(),y=l.getRootElement();if(b!==null&&(!Et(E)||y===null||!y.contains(b.anchorNode))){e(!1);return}if(!Et(E))return;const x=Tw(E);s(E.hasFormat("bold")),i(E.hasFormat("italic")),u(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),!Sm(E.anchor.getNode())&&E.getTextContent()!==""?e(Wt(x)||Br(x)):e(!1);const T=E.getTextContent().replace(/\n/g,"");if(!E.isCollapsed()&&T===""){e(!1);return}})},[l]);return ge.useEffect(()=>(document.addEventListener("selectionchange",S),()=>{document.removeEventListener("selectionchange",S)}),[S]),ge.useEffect(()=>br(l.registerUpdateListener(()=>{S()}),l.registerRootListener(()=>{l.getRootElement()===null&&e(!1)})),[l,S]),n?so.createPortal(ue.jsx(mD,{editor:l,anchorElem:t,isLink:a,isBold:o,isItalic:c,isStrikethrough:p,isSubscript:h,isSuperscript:g,isUnderline:d,isCode:v}),t):null}function vD({anchorElem:l=document.body}){const[t]=Sn();return yD(t,l)}const ER="";function _D({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 pC=new Set;function bD(l){if(!pC.has(l))throw new Promise(t=>{const n=new Image;n.src=l,n.onload=()=>{pC.add(l),t(null)}})}function wD({altText:l,className:t,imageRef:n,src:e,width:a,height:r,position:o}){return bD(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 hC({activeEditor:l,nodeKey:t,onClose:n}){const a=l.getEditorState().read(()=>Bn(t)),[r,o]=ge.useState(a.getAltText()),[s,c]=ge.useState(a.getShowCaption()),[i,d]=ge.useState(a.getPosition()),u=h=>{c(h.target.checked)},p=h=>{d(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(Ec,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:o,value:r,"data-test-id":"image-modal-alt-text-input"})}),ue.jsxs(_D,{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:u}),ue.jsx("label",{htmlFor:"caption",children:"Show Caption"})]}),ue.jsx(jp,{children:ue.jsx(Ri,{"data-test-id":"image-modal-file-upload-btn",onClick:()=>f(),children:"Confirm"})})]})}function xD({src:l,altText:t,nodeKey:n,width:e,height:a,showCaption:r,caption:o,position:s}){const[c,i]=Ma(),d=ge.useRef(null),u=ge.useRef(null),[p,f,h]=mc(n),[m]=Sn(),[g,_]=ge.useState(null),v=ge.useRef(null),w=ge.useCallback(x=>{if(p&&fr(kt())){x.preventDefault();const T=Bn(n);if(cT(T))return T.remove(),!0}return!1},[p,n]),S=ge.useCallback(x=>{const C=kt(),T=u.current;if(p&&fr(C)&&C.getNodes().length===1){if(r)return Cr(null),x.preventDefault(),o.focus(),!0;if(T!==null&&T!==document.activeElement)return x.preventDefault(),T.focus(),!0}return!1},[o,p,r]),E=ge.useCallback(x=>v.current===o||u.current===x.target?(Cr(null),m.update(()=>{f(!0);const C=m.getRootElement();C!==null&&C.focus()}),!0):!1,[o,m,f]);ge.useEffect(()=>{let x=!0;const C=br(m.registerUpdateListener(({editorState:T})=>{x&&_(T.read(()=>kt()))}),m.registerCommand(vi,(T,F)=>(v.current=F,!1),Yn),m.registerCommand(ya,T=>{const F=T;return F.target===d.current?(F.shiftKey?f(!p):(h(),f(!0)),!0):!1},Yn),m.registerCommand(Xl,T=>T.target===d.current?(T.preventDefault(),!0):!1,Yn),m.registerCommand(Yi,w,Yn),m.registerCommand(Gi,w,Yn),m.registerCommand(Ds,S,Yn),m.registerCommand(Rs,E,Yn));return()=>{x=!1,C()}},[h,m,p,n,w,S,E,f]);const b=p&&fr(g),y=p;return ue.jsxs(ge.Suspense,{fallback:null,children:[ue.jsxs(ue.Fragment,{children:[ue.jsxs("div",{draggable:b,children:[ue.jsx("button",{className:"image-edit-button",ref:u,onClick:()=>{i("Update Inline Image",x=>ue.jsx(hC,{activeEditor:m,nodeKey:n,onClose:x}))},children:"Edit"}),ue.jsx(wD,{className:y?`focused ${fr(g)?"draggable":""}`:null,src:l,altText:t,imageRef:d,width:e,height:a,position:s})]}),r&&ue.jsx("div",{className:"image-caption-container",children:ue.jsxs(uC,{initialEditor:o,children:[ue.jsx(kp,{}),ue.jsx(ry,{}),ue.jsx(vD,{}),ue.jsx(Ip,{contentEditable:ue.jsx(Sd,{className:"InlineImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"InlineImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Ol})]})})]}),c]})}const SD=Object.freeze(Object.defineProperty({__proto__:null,UpdateInlineImageDialog:hC,default:xD},Symbol.toStringTag,{value:"Module"})),CR="";function ED(l){return l.reduce((t,n)=>t+n.votes.length,0)}function CD({option:l,index:t,options:n,totalVotes:e,withPollNode:a}){const{clientID:r}=Cd(),o=ge.useRef(null),s=l.votes,i=s.indexOf(r)!==-1,d=s.length,u=l.text;return ue.jsxs("div",{className:"PollNode__optionContainer",children:[ue.jsx("div",{className:Jm("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:`${d===0?0:d/e*100}%`}}),ue.jsx("span",{className:"PollNode__optionInputVotesCount",children:d>0&&(d===1?"1 vote":`${d} votes`)}),ue.jsx("input",{className:"PollNode__optionInput",type:"text",value:u,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:Jm("PollNode__optionDelete",n.length<3&&"PollNode__optionDeleteDisabled"),"aria-label":"Remove",onClick:()=>{a(p=>{p.deleteOption(l)})}})]})}function jD({question:l,options:t,nodeKey:n}){const[e]=Sn(),a=ge.useMemo(()=>ED(t),[t]),[r,o,s]=mc(n),[c,i]=ge.useState(null),d=ge.useRef(null),u=ge.useCallback(m=>{if(r&&fr(kt())){m.preventDefault();const _=Bn(n);if(v1(_))return _.remove(),!0}return!1},[r,n]);ge.useEffect(()=>br(e.registerUpdateListener(({editorState:m})=>{i(m.read(()=>kt()))}),e.registerCommand(ya,m=>{const g=m;return g.target===d.current?(g.shiftKey||s(),o(!r),!0):!1},Yn),e.registerCommand(Yi,u,Yn),e.registerCommand(Gi,u,Yn)),[s,e,r,n,u,o]);const p=(m,g)=>{e.update(()=>{const _=Bn(n);v1(_)&&m(_)},{onUpdate:g})},f=()=>{p(m=>{m.addOption(_T())})},h=fr(c)&&r;return ue.jsx("div",{className:`PollNode__container ${h?"focused":""}`,ref:d,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(CD,{withPollNode:p,option:m,index:g,options:t,totalVotes:a},_)}),ue.jsx("div",{className:"PollNode__footer",children:ue.jsx(Ri,{onClick:f,small:!0,children:"Add Option"})})]})})}const kD=Object.freeze(Object.defineProperty({__proto__:null,default:jD},Symbol.toStringTag,{value:"Module"})),TD=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=T3,Go.EditorTask=tD,Object.defineProperty(Go,Symbol.toStringTag,{value:"Module"})});
1544
+ `?o.insert.slice(0,-1):o.insert;(typeof s!="string"||s.length>0)&&l0(e,this,a,s,o.attributes||{})}else o.retain!==void 0?OE(e,this,a,o.retain,o.attributes||{}):o.delete!==void 0&&AE(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 u={};let p=!1;r.forEach((h,m)=>{p=!0,u[m]=h});const f={insert:s};p&&(f.attributes=u),a.push(f),s=""}}const d=()=>{for(;c!==null;){if(ru(c,t)||n!==void 0&&ru(c,n))switch(c.content.constructor){case oa:{const u=r.get("ychange");t!==void 0&&!ru(c,t)?(u===void 0||u.user!==c.id.client||u.type!=="removed")&&(i(),r.set("ychange",e?e("removed",c.id):{type:"removed"})):n!==void 0&&!ru(c,n)?(u===void 0||u.user!==c.id.client||u.type!=="added")&&(i(),r.set("ychange",e?e("added",c.id):{type:"added"})):u!==void 0&&(i(),r.delete("ychange")),s+=c.content.str;break}case Va:case au:{i();const u={insert:c.content.getContent()[0]};if(r.size>0){const p={};u.attributes=p,r.forEach((f,h)=>{p[h]=f})}a.push(u);break}case So:ru(c,t)&&(i(),iu(r,c.content));break}c=c.right}i()};return t||n?Lr(o,u=>{t&&e0(u,t),n&&e0(u,n),d()},"cleanup"):d(),a}insert(t,n,e){if(n.length<=0)return;const a=this.doc;a!==null?Lr(a,r=>{const o=xh(r,this,t,!e);e||(e={},o.currentAttributes.forEach((s,c)=>{e[c]=s})),l0(r,this,o,n,e)}):this._pending.push(()=>this.insert(t,n,e))}insertEmbed(t,n,e){const a=this.doc;a!==null?Lr(a,r=>{const o=xh(r,this,t,!e);l0(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?Lr(e,a=>{AE(a,xh(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?Lr(a,r=>{const o=xh(r,this,t,!1);o.right!==null&&OE(r,this,o,n,e)}):this._pending.push(()=>this.format(t,n,e))}removeAttribute(t){this.doc!==null?Lr(this.doc,n=>{bh(n,this,t)}):this._pending.push(()=>this.removeAttribute(t))}setAttribute(t,n){this.doc!==null?Lr(this.doc,e=>{i0(e,this,t,n)}):this._pending.push(()=>this.setAttribute(t,n))}getAttribute(t){return s0(this,t)}getAttributes(){return xE(this)}_write(t){t.writeTypeRef(VM)}}class c0{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 c0(this,t)}querySelector(t){t=t.toUpperCase();const e=new c0(this,a=>a.nodeName&&a.nodeName.toUpperCase()===t).next();return e.done?null:e.value}querySelectorAll(t){return t=t.toUpperCase(),Qc(new c0(this,n=>n.nodeName&&n.nodeName.toUpperCase()===t))}_callObserver(t,n){vh(this,t,new HM(this,n,t))}toString(){return yE(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?Lr(this.doc,e=>{bE(e,this,t,n)}):this._prelimContent.splice(t,0,...n)}insertAfter(t,n){if(this.doc!==null)Lr(this.doc,e=>{const a=t&&t instanceof Io?t._item:t;_h(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?Lr(this.doc,e=>{wE(e,this,t,n)}):this._prelimContent.splice(t,n)}toArray(){return mE(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return vE(this,t)}slice(t=0,n=this.length){return gE(this,t,n)}forEach(t){$d(this,t)}_write(t){t.writeTypeRef(GM)}}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 W5(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?Lr(this.doc,n=>{bh(n,this,t)}):this._prelimAttrs.delete(t)}setAttribute(t,n){this.doc!==null?Lr(this.doc,e=>{i0(e,this,t,n)}):this._prelimAttrs.set(t,n)}getAttribute(t){return s0(this,t)}hasAttribute(t){return SE(this,t)}getAttributes(t){return t?RM(this,t):xE(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(KM),t.writeKey(this.nodeName)}}class HM extends mh{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 PE{constructor(t,n){this.id=t,this.length=n}get deleted(){throw Ss()}mergeWith(t){return!1}write(t,n,e){throw Ss()}integrate(t,n){throw Ss()}}const $M=0;class Ja extends PE{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),sE(t.doc.store,this)}write(t,n){t.writeInfo($M),t.writeLen(this.length-n)}getMissing(t,n){return null}}class Eh{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Eh(this.content)}splice(t){throw Ss()}mergeWith(t){return!1}integrate(t,n){}delete(t){}gc(t){}write(t,n){t.writeBuf(this.content)}getRef(){return 3}}class Ch{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Ch(this.len)}splice(t){const n=new Ch(this.len-t);return this.len=t,n}mergeWith(t){return this.len+=t.len,!0}integrate(t,n){eE(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 qM=(l,t)=>new Ud({guid:l,...t,shouldLoad:t.shouldLoad||t.autoLoad||!1});class jh{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 jh(qM(this.doc.guid,this.opts))}splice(t){throw Ss()}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 Ss()}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 Ss()}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 WM=0,JM=1,VM=2,KM=3,GM=4;class Va{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Va(this.type._copy())}splice(t){throw Ss()}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 IE=(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 PE{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()?PS:0}set marker(t){(this.info&Uy)>0!==t&&(this.info^=Uy)}get marker(){return(this.info&Uy)>0}get keep(){return(this.info&AS)>0}set keep(t){this.keep!==t&&(this.info^=AS)}get countable(){return(this.info&PS)>0}get deleted(){return(this.info&zy)>0}set deleted(t){this.deleted!==t&&(this.info^=zy)}markDeleted(){this.info|=zy}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===ph&&this.id.client!==this.parent.client&&this.parent.clock>=li(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=aE(t,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=qa(t,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Ja||this.right&&this.right.constructor===Ja)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===ph){const e=n0(n,this.parent);e.constructor===Ja?this.parent=null:this.parent=e.content.type}return null}integrate(t,n){if(n>0&&(this.id.clock+=n,this.left=aE(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),hh(this.origin,a.origin)){if(a.id.client<this.id.client)e=a,r.clear();else if(hh(this.rightOrigin,a.rightOrigin))break}else if(a.origin!==null&&o.has(n0(t.doc.store,a.origin)))r.has(n0(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),sE(t.doc.store,this),this.content.integrate(t,this),uE(t,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(t)}else new Ja(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&&hh(t.origin,this.lastId)&&this.right===t&&hh(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(),eE(t.deleteSet,this.id.client,this.id.clock,this.length),uE(t,n,this.parentSub),this.content.delete(t)}}gc(t,n){if(!this.deleted)throw Dl();this.content.gc(t),n?jM(t,this,new Ja(this.id,this.length)):this.content=new Ch(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()&v5|(e===null?0:dh)|(a===null?0:IS)|(r===null?0:y5);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=EM(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===ph?(t.writeParentInfo(!1),t.writeLeftID(s)):Dl();r!==null&&t.writeString(r)}this.content.write(t,n)}}const ME=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},DE="__ $YJS$ __";ME[DE]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438"),ME[DE]=!0;function YM(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}YM(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 ZM=fo();function RE(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function kh(l,t,n,e,a,r,o){return{author:t,content:l,deleted:o===void 0?!1:o,id:a===void 0?RE():a,timeStamp:r===void 0?performance.now():r,type:"comment",userEmail:n===void 0?"":n,mentionedEmails:e===void 0?[]:e}}function LE(l,t,n,e){return console.log("wpAndTaskId 2222222222222",e),{comments:t,id:n===void 0?RE():n,quote:l,type:"thread",resolved:!1,wpAndTaskId:e}}function FE(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 XM(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 Th(l){const t=l._changeListeners;for(const n of t)n()}class Wd{constructor(t){zn(this,"_editor");zn(this,"_comments");zn(this,"_changeListeners");zn(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,Th(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=FE(s);a.splice(o,1,c);const i=e!==void 0?e:c.comments.length;if(this.isCollaborative()&&r!==null){const d=r.get(o).get("comments");this._withRemoteTransaction(()=>{const u=this._createCollabSharedMap(t);d.insert(i,[u])})}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,Th(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=FE(s);e.splice(o,1,c);const i=c.comments;if(r=i.indexOf(t),this.isCollaborative()&&a!==null){const d=a.get(o).get("comments");this._withRemoteTransaction(()=>{d.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,Th(this),t.type==="comment"?{index:r,markedComment:XM(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,Th(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",Rl):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 Rl;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(ZM,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 d=s[i];if(d instanceof EE){const u=d.target,p=d.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=u.parent,S=u===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"?LE(E.get("quote"),E.get("comments").toArray().map(C=>kh(C.get("content"),C.get("author"),C.get("userEmail"),C.get("mentionedEmails"),C.get("id"),C.get("timeStamp"),C.get("deleted"))),b,E.get("wpAndTaskId")):kh(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 QM(l){const[t,n]=ge.useState(l.getComments());return ge.useEffect(()=>l.registerOnChange(()=>{n(l.getComments())}),[l]),t}const hR="",e3={...Vm,paragraph:"CommentEditorTheme__paragraph"},t3="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTQwMGg4MHYtMTIwaDEyMHYtODBINTIwdi0xMjBoLTgwdjEyMEgzMjB2ODBoMTIwdjEyMFpNODAtODB2LTcyMHEwLTMzIDIzLjUtNTYuNVQxNjAtODgwaDY0MHEzMyAwIDU2LjUgMjMuNVQ4ODAtODAwdjQ4MHEwIDMzLTIzLjUgNTYuNVQ4MDAtMjQwSDI0MEw4MC04MFptMTI2LTI0MGg1OTR2LTQ4MEgxNjB2NTI1bDQ2LTQ1Wm0tNDYgMHYtNDgwIDQ4MFoiLz48L3N2Zz4K",n3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTIyLjg4MXB4IiBoZWlnaHQ9Ijg5Ljg0MnB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4MSA4OS44NDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMi44ODEgODkuODQyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMS4yMzIsNTUuNTQxYy0xLjUzMy0xLjM4OC0xLjY1Mi0zLjc1Ni0wLjI2NS01LjI4OWMxLjM4OC0xLjUzNCwzLjc1Ni0xLjY1Miw1LjI5LTAuMjY1bDM0LjA1MywzMC44NzhsNzYuMDk5LTc5LjY5OSBjMS40MjktMS41MDEsMy44MDQtMS41NjEsNS4zMDUtMC4xMzJjMS41MDIsMS40MjgsMS41NjEsMy44MDMsMC4xMzMsNS4zMDVMNDMuMjIzLDg4LjY4M2wtMC4wMDUtMC4wMDUgYy0xLjM5NiwxLjQ2OC0zLjcxNiwxLjU2My01LjIyNywwLjE5NkwxLjIzMiw1NS41NDFMMS4yMzIsNTUuNTQxeiIvPjwvZz48L3N2Zz4=",r3="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIGZpbGw9IiMwMDAwMDAiIGhlaWdodD0iODAwcHgiIHdpZHRoPSI4MDBweCIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiAKCSB2aWV3Qm94PSIwIDAgNDkwIDQ5MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+Cjxwb2x5Z29uIHBvaW50cz0iNDU2Ljg1MSwwIDI0NSwyMTIuNTY0IDMzLjE0OSwwIDAuNzA4LDMyLjMzNyAyMTIuNjY5LDI0NS4wMDQgMC43MDgsNDU3LjY3OCAzMy4xNDksNDkwIDI0NSwyNzcuNDQzIDQ1Ni44NTEsNDkwIAoJNDg5LjI5Miw0NTcuNjc4IDI3Ny4zMzEsMjQ1LjAwNCA0ODkuMjkyLDMyLjMzNyAiLz4KPC9zdmc+",o3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;let BE=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const zE=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 UE(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function i3(l,t,n,e){const[a]=Sn();ge.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(u,p){let f=getComputedStyle(u);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=u;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=UE(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const u=UE(t,o);u!==c&&(c=u,e!=null&&e(u))},d=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),d.observe(t),()=>{d.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const HE=fo();function s3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,d]=ge.useState(null),u=e.match&&e.match.matchingString;ge.useEffect(()=>{d(0)},[u]);const p=ge.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=kt();if(!Et(_)||!_.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,F){let B=F;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=ge.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),d(h))},[t]);return ge.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),o3(()=>{a===null?d(null):i===null&&f(0)},[a,i,f]),ge.useEffect(()=>br(t.registerCommand(HE,({option:h})=>!(!h.ref||h.ref.current==null)&&(zE(h.ref.current),!0),c)),[t,f,c]),ge.useEffect(()=>br(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(HE,{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&&zE(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Rs,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(Ds,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,ge.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:d}),[p,i,a]),e.match?e.match.matchingString:"")}const a3=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`;function $E(l,{minLength:t=1,maxLength:n=75}){return ge.useCallback(e=>{const a=new RegExp("(^|\\s|\\()(["+l+"]((?:"+("[^"+l+a3+"\\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 qE({options:l,onQueryChange:t,onSelectOption:n,onOpen:e,onClose:a,menuRenderFn:r,triggerFn:o,anchorClassName:s,commandPriority:c=Yn,parent:i}){const[d]=Sn(),[u,p]=ge.useState(null),f=function(g,_,v,w=document.body){const[S]=Sn(),E=ge.useRef(document.createElement("div")),b=ge.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:F,top:B,width:D,height:L}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${F+window.pageXOffset}px`,C.style.height=`${L}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();F+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+L&&(C.style.top=B-P+window.pageYOffset-L+"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]);ge.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=ge.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return i3(g,E.current,b,y),E}(u,p,s,i),h=ge.useCallback(()=>{p(null),a!=null&&u!==null&&a()},[a,u]),m=ge.useCallback(g=>{p(g),e!=null&&u===null&&e(g)},[e,u]);return ge.useEffect(()=>{const g=d.registerUpdateListener(()=>{d.getEditorState().read(()=>{const _=d._window||window,v=_.document.createRange(),w=kt(),S=function(y){let x=null;return y.getEditorState().read(()=>{const C=kt();Et(C)&&(x=function(T){const F=T.anchor;if(F.type!=="text")return null;const B=F.getNode();if(!B.isSimpleText())return null;const D=F.offset;return B.getTextContent().slice(0,D)}(C))}),x}(d);if(!Et(w)||!w.isCollapsed()||S===null||v===null)return void h();const E=o(S,d);if(t(E?E.matchingString:null),E!==null&&!function(y,x){return x===0&&y.getEditorState().read(()=>{const C=kt();if(Et(C)){const T=C.anchor.getNode().getPreviousSibling();return Wt(T)&&T.isTextEntity()}return!1})}(d,E.leadOffset)&&function(x,C,T){const F=T.getSelection();if(F===null||!F.isCollapsed)return!1;const B=F.anchorNode,D=x,L=F.anchorOffset;if(B==null||L==null)return!1;try{C.setStart(B,D),C.setEnd(B,L)}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()}},[d,o,t,u,h,m]),u===null||d===null?null:ue.jsx(s3,{close:h,resolution:u,editor:d,anchorElementRef:f,options:l,menuRenderFn:r,shouldSplitNodeWithQuery:!0,onSelectOption:n,commandPriority:c})}const WE=`\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'"~=<>_:;`,JE={NAME:"\\b[A-Z][^\\s"+WE+"]",PUNCTUATION:WE}.PUNCTUATION,u0=["@"].join(""),VE="[^"+u0+JE+"\\s]",l3="(?:\\.[ |$]| |["+JE+"]|)",c3=75,u3=new RegExp("(^|\\s|\\()(["+u0+"]((?:"+VE+l3+"){0,"+c3+"}))$"),d3=50,f3=new RegExp("(^|\\s|\\()(["+u0+"]((?:"+VE+"){0,"+d3+"}))$"),p3=5,d0=new Map,h3={search(l,t,n){setTimeout(()=>{const e=l.filter(a=>a.name.toLowerCase().includes(t.toLowerCase()));n(e)},500)}};function g3(l,t){const[n,e]=ge.useState([]);return ge.useEffect(()=>{const a=d0.get(l);if(l==null){e([]);return}if(a!==null){if(a!==void 0){e(a);return}d0.set(l,null),h3.search(t,l,r=>{d0.set(l,r),e(r)})}},[l,t]),n}function m3(l,t){let n=u3.exec(l);if(n===null&&(n=f3.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 y3(l){return m3(l,1)}class v3 extends BE{constructor(n,e,a){super(n);zn(this,"name");zn(this,"email");zn(this,"picture");this.name=n,this.email=e,this.picture=a}}function _3({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 b3({mentionItems:l,setmentionedEmails:t}){const[n]=Sn(),[e,a]=ge.useState(null),r=g3(e,l),o=$E("/",{minLength:0}),s=ge.useMemo(()=>r.map(d=>new v3(d.name,d.email,ue.jsx("i",{className:"icon user"}))).slice(0,p3),[r]),c=ge.useCallback((d,u,p)=>{t(f=>[...f,d.email]),n.update(()=>{const f=zm(d.name);u&&u.replace(f),f.select(),p()})},[n]),i=ge.useCallback(d=>o(d,n)!==null?null:y3(d),[o,n]);return ue.jsx(qE,{onQueryChange:a,onSelectOption:c,triggerFn:i,options:s,menuRenderFn:(d,{selectedIndex:u,selectOptionAndCleanUp:p,setHighlightedIndex:f})=>d.current&&r.length?vf.createPortal(ue.jsx("div",{className:"typeahead-popover mentions-menu",children:ue.jsx("ul",{children:s.map((h,m)=>ue.jsx(_3,{index:m,isSelected:u===m,onClick:()=>{f(m),p(h)},onMouseEnter:()=>{f(m)},option:h},h.key))})}),d.current):null})}const f0=fo();function w3({anchorKey:l,editor:t,onAddComment:n}){const e=ge.useRef(null),a=ge.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 ge.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:t3,alt:""})})})}function x3({onEscape:l}){const[t]=Sn();return ge.useEffect(()=>t.registerCommand(Rs,n=>l(n),2),[t,l]),null}function KE({className:l,autoFocus:t,onEscape:n,onChange:e,editorRef:a,placeholder:r="",mentionItems:o,setmentionedEmails:s}){const c={namespace:"Commenting",nodes:[md],onError:i=>{throw i},theme:e3};return ge.useEffect(()=>()=>{s([])},[]),ue.jsxs(op,{initialConfig:c,children:[ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_EditorContainer",children:[ue.jsx($w,{contentEditable:ue.jsx(Sd,{className:l}),placeholder:ue.jsx(Ed,{children:r}),ErrorBoundary:Ol}),ue.jsx(zw,{onChange:e}),ue.jsx(cp,{}),t!==!1&&ue.jsx(kp,{}),ue.jsx(x3,{onEscape:n}),ue.jsx(Fw,{}),a!==void 0&&ue.jsx(d5,{editorRef:a})]}),ue.jsx(b3,{mentionItems:o,setmentionedEmails:s})]})}function GE(l,t){return ge.useCallback((n,e)=>{n.read(()=>{l(Km()),t(!Gm(e.isComposing(),!0))})},[t,l])}function S3({editor:l,cancelAddComment:t,submitAddComment:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s,wpAndTaskId:c}){const[i,d]=ge.useState(""),[u,p]=ge.useState(!1),f=ge.useRef(null),h=ge.useMemo(()=>({container:document.createElement("div"),elements:[]}),[]),m=ge.useRef(null),g=XE(),_=ge.useCallback(()=>{l.getEditorState().read(()=>{const E=kt();if(Et(E)){m.current=E.clone();const b=E.anchor,y=E.focus,x=Y_(l,b.getNode(),b.offset,y.getNode(),y.offset),C=f.current;if(x!==null&&C!==null){const{left:T,bottom:F,width:B}=x.getBoundingClientRect(),D=Z_(l,x);let L=D.length===1?T+B/2-125:T-125;L<10&&(L=10),C.style.left=`${L}px`,C.style.top=`${F+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,_]),ge.useEffect(()=>(window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}),[_]);const v=E=>(E.preventDefault(),t(),!0),w=()=>{if(console.log("this is called",c),u){let E=l.getEditorState().read(()=>{const b=m.current;return b?b.getTextContent():""});E.length>100&&(E=E.slice(0,99)+"…"),n(LE(E,[kh(i,e??g,a,o)],void 0,c),!0,void 0,m.current),m.current=null}},S=GE(d,p);return ue.jsxs("div",{className:"CommentPlugin_CommentInputBox",ref:f,children:[ue.jsx(KE,{className:"CommentPlugin_CommentInputBox_Editor",onEscape:v,onChange:S,mentionItems:r,setmentionedEmails:s}),ue.jsxs("div",{className:"CommentPlugin_CommentInputBox_Buttons",children:[ue.jsx(Ri,{onClick:t,className:"CommentPlugin_CommentInputBox_Button",children:"Cancel"}),ue.jsx(Ri,{onClick:w,disabled:!u,className:"CommentPlugin_CommentInputBox_Button primary",children:"Comment"})]})]})}function E3({submitAddComment:l,thread:t,placeholder:n,userName:e,userEmail:a,mentionItems:r,mentionedEmails:o,setmentionedEmails:s}){const[c,i]=ge.useState(""),[d,u]=ge.useState(!1),p=ge.useRef(null),f=XE(),h=GE(i,u),m=()=>{if(d){s([]),l(kh(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(KE,{className:"CommentPlugin_CommentsPanel_Editor",autoFocus:!1,onEscape:()=>!0,onChange:h,editorRef:p,placeholder:n,mentionItems:r,setmentionedEmails:s}),ue.jsx(Ri,{className:"CommentPlugin_CommentsPanel_SendButton",onClick:m,disabled:!d,children:ue.jsx("i",{className:"send"})})]})}function YE({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(Ri,{onClick:()=>{t(l,e),n()},children:"Delete"})," ",ue.jsx(Ri,{onClick:()=>{n()},children:"Cancel"})]})]})}function ZE({comment:l,deleteComment:t,thread:n,rtf:e,userName:a,userEmail:r,mentionedEmails:o,setmentionedEmails:s}){const c=Math.round((l.timeStamp-performance.now())/1e3),i=Math.round(c/60),[d,u]=Ma();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",children:["· ",c>-10?"Just now":e.format(i,"minute")]})]}),ue.jsx("p",{className:l.deleted?"CommentPlugin_CommentsPanel_DeletedComment":"",style:{whiteSpace:"pre-wrap"},children:l.content}),!l.deleted&&ue.jsxs(ue.Fragment,{children:[a==l.author&&ue.jsx(Ri,{onClick:()=>{u("Delete Comment",p=>ue.jsx(YE,{commentOrThread:l,deleteCommentOrThread:t,thread:n,onClose:p}))},className:"CommentPlugin_CommentsPanel_List_DeleteButton",children:ue.jsx("i",{className:"delete"})}),d]})]})}function C3({activeIDs:l,comments:t,deleteCommentOrThread:n,listRef:e,submitAddComment:a,markNodeMap:r,userName:o,userEmail:s,resolveThread:c,mentionItems:i,mentionedEmails:d,setmentionedEmails:u,wpAndTaskId:p}){const[f]=Sn(),[h,m]=ge.useState(0),[g,_]=Ma(),v=ge.useMemo(()=>new Intl.RelativeTimeFormat("en",{localeMatcher:"best fit",numeric:"auto",style:"short"}),[]);ge.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 F=Array.from(C)[0],B=Bn(F);Sc(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:n3,alt:"Resolve Comment",onClick:()=>c(S)})]}),o==((y=S==null?void 0:S.comments[0])==null?void 0:y.author)&&ue.jsx(Ri,{onClick:()=>{_("Delete Thread",C=>ue.jsx(YE,{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(ZE,{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(E3,{submitAddComment:a,thread:S,userName:o,userEmail:s,mentionItems:i,mentionedEmails:d,setmentionedEmails:u})})})]},E)}return ue.jsx(ZE,{comment:S,deleteComment:n,rtf:v,userName:o,userEmail:s},E)}):ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"})})}function j3({activeIDs:l,deleteCommentOrThread:t,comments:n,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,setShowComments:c,mentionItems:i,mentionedEmails:d,setmentionedEmails:u,wpAndTaskId:p}){const f=ge.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:r3,alt:""})]}),h?ue.jsx("div",{className:"CommentPlugin_CommentsPanel_Empty",children:"No Comments"}):ue.jsx(C3,{activeIDs:l,comments:n,deleteCommentOrThread:t,listRef:f,submitAddComment:e,markNodeMap:a,userName:r,userEmail:o,resolveThread:s,mentionItems:i,mentionedEmails:d,setmentionedEmails:u,wpAndTaskId:p})]})}function XE(){const l=Cd(),{yjsDocMap:t,name:n}=l;return t.has("comments")?n:"Playground User"}function QE({providerFactory:l,handleSaveComments:t,showComments:n,setShowComments:e,userName:a,userEmail:r,mentionItems:o,mentionedEmails:s,setmentionedEmails:c,wpAndTaskId:i}){const d=Cd(),[u]=Sn(),p=ge.useMemo(()=>(u!=null&&u._commentStore||(u._commentStore=new Wd(u)),u==null?void 0:u._commentStore),[u]),f=QM(p),h=ge.useMemo(()=>new Map,[]),[m,g]=ge.useState(),[_,v]=ge.useState([]),[w,S]=ge.useState(!1),{yjsDocMap:E}=d;ge.useEffect(()=>{if(l){const F=l("comments",E);return p.registerCollaboration(F)}},[p,l,E]);const b=ge.useCallback(()=>{u.update(()=>{const F=kt();F!==null&&(F.dirty=!0)}),S(!1)},[u]),y=ge.useCallback((F,B)=>{var D;if(console.log("comment dltd",F,B),F.type==="comment"){if(a==F.author){const L=p.deleteCommentOrThread(F,B);if(!L)return;const{markedComment:O,index:j}=L;p.addComment(O,B,j),t(p.getComments())}}else{((D=F.comments)==null?void 0:D[0].author)==a&&p.deleteCommentOrThread(F);const L=B!==void 0?B.id:F.id,O=h.get(L);O!==void 0?setTimeout(()=>{u.update(()=>{for(const j of O){const P=Bn(j);Sc(P)&&(P.deleteID(L),P.getIDs().length===0&&jT(P))}}),t(p.getComments())}):t(p.getComments())}},[p,u,h,t]),x=ge.useCallback((F,B,D,L)=>{console.log("submitAddComment is called"),p.addComment(F,D),t(p.getComments()),B&&(u.update(()=>{if(Et(L)){const O=L.isBackward(),j=F.id;kT(L,O,j)}}),S(!1))},[p,u]),C=F=>{F&&F.type==="thread"&&p.resolveThread(F),t(p.getComments())};ge.useEffect(()=>{const F=[];for(let B=0;B<_.length;B++){const D=_[B],L=h.get(D);if(L!==void 0)for(const O of L){const j=u.getElementByKey(O);j!==null&&(j.classList.add("selected"),F.push(j),e(!0))}}return()=>{for(let B=0;B<F.length;B++)F[B].classList.remove("selected")}},[_,u,h]),ge.useEffect(()=>{const F=new Map;return br(lb(u,Ws,B=>Wm(B.getIDs()),(B,D)=>{B.getIDs().forEach(O=>{D.addID(O)})}),u.registerMutationListener(Ws,B=>{u.getEditorState().read(()=>{for(const[D,L]of B){const O=Bn(D);let j=[];L==="destroyed"?j=F.get(D)||[]:Sc(O)&&(j=O.getIDs());for(let P=0;P<j.length;P++){const R=j[P];let N=h.get(R);F.set(D,j),L==="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))}}})}),u.registerUpdateListener(({editorState:B,tags:D})=>{B.read(()=>{const L=kt();let O=!1,j=!1;if(Et(L)){const P=L.anchor.getNode();if(Wt(P)){const R=TT(P,L.anchor.offset);R!==null&&(v(R),O=!0),L.isCollapsed()||(g(P.getKey()),j=!0)}}O||v(P=>P.length===0?P:[]),j||g(null),!D.has("collaboration")&&Et(L)&&S(!1)})}),u.registerCommand(f0,()=>{const B=window.getSelection();return B!==null&&B.removeAllRanges(),S(!0),!0},Tn))},[u,h]);const T=()=>{u.dispatchCommand(f0,void 0)};return ue.jsxs(ue.Fragment,{children:[w&&so.createPortal(ue.jsx(S3,{editor:u,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(w3,{anchorKey:m,editor:u,onAddComment:T}),document.body),n&&so.createPortal(ue.jsx(j3,{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 yR="",eC=({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..."})}),tC=({onChange:l})=>{const[t]=Sn(),[n,e]=ge.useState(!0),a=ge.useRef(""),r=a.current,o=ge.useCallback(()=>{t.update(()=>{const s=I1(t);n?e(!1):s!==r&&(l(s),a.current=s)})},[t,n,l,r]);return ge.useEffect(()=>{const s=t.registerUpdateListener(o);return()=>s()},[t,o]),null},nC=nS([...j1]);function k3({setEditorEditable:l,htmlString:t,isEditable:n}){const[e]=Sn();return ge.useEffect(()=>{e.update(()=>{const a=new DOMParser,r=Pw(t),o=a.parseFromString(r,"text/html");let s=Zm(e,o);$n().clear();const i=Cn();ts(s),ts([i]),e.setEditable(!1),setTimeout(()=>{e.setEditable(n),l(!0)},5e3)})},[e,t]),null}function T3({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:d,pagination:u=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S}){const E=ge.useRef(null),{historyState:b}=gb(),[y,x]=ge.useState([]),[C,T]=ge.useState("skyp_1"),[F,B]=ge.useState([]),[D,L]=ge.useState(!1),[O,j]=Ma(),[P,R]=ge.useState(null),[N,U]=ge.useState([]),[M,z]=ge.useState(null),[V,K]=ge.useState(!1),[A,q]=ge.useState(!1);ge.useState(!1);const[W,H]=ge.useState([]),G=ge.useRef(null),[Z,Q]=ge.useState(!1);ge.useState(!1),ge.useState(""),ge.useRef("");const Y=async()=>({state:{root:[]},timestamp:Date.now()});let ee=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:re,userId:fe,userEmail:de}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},ne={name:re,id:fe,email:de},Se={docId:e+"_"+g,apiKey:n,user:ne,hooks:{fetchDocOnNetworkReconnect:Y,contentChanged:(ze,Oe)=>{},usersUpdate:ze=>{x(ze),renderOnlineUsers(ze),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",ze)}}};ge.useEffect(()=>{let ze=[],Oe=[];y&&y.length>0&&y.map((Ge,Ke)=>{Oe.includes(Ge.name)||(Oe.push(Ge.name),ze.push(ue.jsxs("div",{title:Ge.name,className:`avatarStyle avatar-color-${Ke+1}`,children:[" ",Ge.name&&Ge.name[0],Ge.name&&Ge.name[4]]},Ke)))}),B(ze)},[y]);const we=()=>{G.current&&(G.current.initComments(c),["content_changed","error","users_update"].forEach(Oe=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",Oe),G.current.on(Oe,Ge=>{})}),G.current.start(Se).then(()=>{console.log("[Lexical Demo][codox.start] success"),L(!0)}).catch(Oe=>console.log("[Lexical Demo][codox.start] error",Oe)))},me=()=>{G.current&&G.current.stop(),L(!1)};ge.useEffect(()=>{setTimeout(()=>{wd('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),ge.useEffect(()=>{wd(".editor-outer").css({justifyContent:A?"flex-start":"center"})},[A]),ge.useEffect(()=>{(async()=>{if(!C)return;D&&me();let ze=m;if(ze)try{rS(ze,nC),R(ze)}catch(Oe){console.error("[APP] error: ",Oe)}})()},[C]),ge.useEffect(()=>{P&&e&&!D&&n&&setTimeout(()=>{we()},2e3)},[P,e,D,n]);const je=ge.useMemo(()=>{if(P)return{editorState:ze=>{ze.update(()=>{const Oe=new Wd(ze);c&&(Oe.setComments(c),ze._commentStore||(ze._commentStore=new Wd(ze),ze._commentStore.getComments().length===0&&ze._commentStore.setComments(c)))})},namespace:`editor_${e}`,nodes:nC,onError:ze=>{console.error("[Lexical Demo][Editor Error Captured]: ",ze)},theme:Vm}},[P]),ce=ge.useRef(l);ge.useEffect(()=>{ce.current||(ce.current=l)},[l]);const se=ue.jsx(Ed,{children:"Enter some plain text..."}),[pe,le]=ge.useState(null),[ke,Te]=ge.useState(!1),[Ce,Me]=ge.useState(!1),[qe,Le]=ge.useState(!1),Re=ze=>{ze!==null&&le(ze)};ge.useEffect(()=>{const ze=()=>{const Oe=Oc&&window.matchMedia("(max-width: 1025px)").matches;Oe!==ke&&Te(Oe)};return ze(),window.addEventListener("resize",ze),()=>{window.removeEventListener("resize",ze)}},[ke]),ge.useEffect(()=>{const ze=Oe=>{M&&!Oe.target.closest(".reference-toolbar")&&z(null)};return document.addEventListener("click",ze),()=>{document.removeEventListener("click",ze)}},[M]),ge.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{Q(!0)},1e3):Q(!1)},[l,t,i]);const Ee=ze=>{o(ze)};return ue.jsx(ue.Fragment,{children:Z?ue.jsxs(op,{initialConfig:je,children:[ue.jsx(hb,{children:ue.jsx(k1,{children:ue.jsxs("div",{ref:E,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(k3,{setEditorEditable:Le,isEditable:v,htmlString:l}),ue.jsx(QE,{showComments:V,setShowComments:K,handleSaveComments:d,userName:re,userEmail:de,mentionItems:a,mentionedEmails:W,setmentionedEmails:H,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Mw,{styleConfig:i,setIsLinkEditMode:Me,onlUser:F,showComments:V,setShowComments:K})," "]}):"",ue.jsx(tC,{onChange:Ee}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(cw,{}),!h&&ue.jsx(kp,{}),ue.jsx(N1,{}),ue.jsx(uw,{}),ue.jsx(rw,{}),ue.jsx(cp,{externalHistoryState:b}),ue.jsx(Ip,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:Re,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(D||qe)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:se,ErrorBoundary:Ol}),ue.jsx(A1,{}),ue.jsx(fw,{maxDepth:7}),ue.jsx(Z1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),ue.jsx(Cw,{}),ue.jsx(iw,{}),ue.jsx(ry,{}),ue.jsx(gw,{}),pe&&!ke&&ue.jsx(ue.Fragment,{children:ue.jsx(Ew,{anchorElem:pe,cellMerge:!0})}),M&&ue.jsx(jS,{references:N,setReferences:U,position:M,onClose:()=>z(null)}),ue.jsx(kS,{setContextMenu:z,references:N,setReferences:U,containerRef:E}),ue.jsx(TS,{references:N,setReferences:U}),ue.jsx(E1,{}),ue.jsx(OS,{})]})]}),h&&ue.jsx(tS,{debug:!0,ref:G,onBlacklistedInsert:ee}),O]})})}),i&&ue.jsx(ES,{styleConfig:i})]},e):ue.jsx(eC,{})})}const O3=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?ge.useLayoutEffect:ge.useEffect;let N3=class{constructor(t){this.key=t,this.ref={current:null},this.setRefElement=this.setRefElement.bind(this)}setRefElement(t){this.ref={current:t}}};const rC=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 oC(l,t){const n=l.getBoundingClientRect(),e=t.getBoundingClientRect();return n.top>e.top&&n.top<e.bottom}function A3(l,t,n,e){const[a]=Sn();ge.useEffect(()=>{if(t!=null&&l!=null){const r=a.getRootElement(),o=r!=null?function(u,p){let f=getComputedStyle(u);const h=f.position==="absolute",m=/(auto|scroll)/;if(f.position==="fixed")return document.body;for(let g=u;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=oC(t,o);const i=function(){s||(window.requestAnimationFrame(function(){n(),s=!1}),s=!0);const u=oC(t,o);u!==c&&(c=u,e!=null&&e(u))},d=new ResizeObserver(n);return window.addEventListener("resize",n),document.addEventListener("scroll",i,{capture:!0,passive:!0}),d.observe(t),()=>{d.unobserve(t),window.removeEventListener("resize",n),document.removeEventListener("scroll",i,!0)}}},[t,a,e,n,l])}const iC=fo();function P3({close:l,editor:t,anchorElementRef:n,resolution:e,options:a,menuRenderFn:r,onSelectOption:o,shouldSplitNodeWithQuery:s=!1,commandPriority:c=Yn}){const[i,d]=ge.useState(null),u=e.match&&e.match.matchingString;ge.useEffect(()=>{d(0)},[u]);const p=ge.useCallback(h=>{t.update(()=>{const m=e.match!=null&&s?function(g){const _=kt();if(!Et(_)||!_.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,F){let B=F;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=ge.useCallback(h=>{const m=t.getRootElement();m!==null&&(m.setAttribute("aria-activedescendant","typeahead-item-"+h),d(h))},[t]);return ge.useEffect(()=>()=>{const h=t.getRootElement();h!==null&&h.removeAttribute("aria-activedescendant")},[t]),O3(()=>{a===null?d(null):i===null&&f(0)},[a,i,f]),ge.useEffect(()=>br(t.registerCommand(iC,({option:h})=>!(!h.ref||h.ref.current==null)&&(rC(h.ref.current),!0),c)),[t,f,c]),ge.useEffect(()=>br(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(iC,{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&&rC(_.ref.current),m.preventDefault(),m.stopImmediatePropagation()}return!0},c),t.registerCommand(Rs,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(Ds,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,ge.useMemo(()=>({options:a,selectOptionAndCleanUp:p,selectedIndex:i,setHighlightedIndex:d}),[p,i,a]),e.match?e.match.matchingString:"")}function I3({options:l,nodeKey:t,onClose:n,onOpen:e,onSelectOption:a,menuRenderFn:r,anchorClassName:o,commandPriority:s=Yn,parent:c}){const[i]=Sn(),[d,u]=ge.useState(null),p=function(g,_,v,w=document.body){const[S]=Sn(),E=ge.useRef(document.createElement("div")),b=ge.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:F,top:B,width:D,height:L}=g.getRect(),O=E.current.offsetHeight;if(C.style.top=`${B+window.pageYOffset+O+3}px`,C.style.left=`${F+window.pageXOffset}px`,C.style.height=`${L}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();F+R>N.right&&(C.style.left=`${N.right-R+window.pageXOffset}px`),(B+P>window.innerHeight||B+P>N.bottom)&&B-N.top>P+L&&(C.style.top=B-P+window.pageYOffset-L+"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]);ge.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=ge.useCallback(x=>{g!==null&&(x||_(null))},[g,_]);return A3(g,E.current,b,y),E}(d,u,o,c),f=ge.useCallback(()=>{u(null),n!=null&&d!==null&&n()},[n,d]),h=ge.useCallback(g=>{u(g),e!=null&&d===null&&e(g)},[e,d]),m=ge.useCallback(()=>{t?i.update(()=>{const g=Bn(t),_=i.getElementByKey(t);var v;g!=null&&_!=null&&d==null&&(v=()=>h({getRect:()=>_.getBoundingClientRect()}),sr.startTransition?sr.startTransition(v):v())}):t==null&&d!=null&&f()},[f,i,t,h,d]);return ge.useEffect(()=>{m()},[m,t]),ge.useEffect(()=>{if(t!=null)return i.registerUpdateListener(({dirtyElements:g})=>{g.get(t)&&m()})},[i,m,t]),d===null||i===null?null:ue.jsx(P3,{close:f,resolution:d,editor:i,anchorElementRef:p,options:l,menuRenderFn:r,onSelectOption:a,commandPriority:s})}const M3=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,D3=fo();class sC extends N3{constructor(t,n){super(t),this.title=t,this.onSelect=n.onSelect.bind(this)}}function R3({embedConfigs:l,onOpenEmbedModalForConfig:t,getMenuOptions:n,menuRenderFn:e,menuCommandPriority:a=Yn}){const[r]=Sn(),[o,s]=ge.useState(null),[c,i]=ge.useState(null),d=ge.useCallback(()=>{s(null),i(null)},[]),u=ge.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]);ge.useEffect(()=>br(...[hc,sd].map(m=>r.registerMutationListener(m,(...g)=>((_,{updateTags:v,dirtyLeaves:w})=>{for(const[S,E]of _)E==="created"&&v.has("paste")&&w.size<=3?u(S):S===o&&d()})(...g)))),[u,r,l,o,d]),ge.useEffect(()=>r.registerCommand(D3,m=>{const g=l.find(({type:_})=>_===m);return!!g&&(t(g),!0)},Tn),[r,l,t]);const p=ge.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(()=>{kt()||m.selectEnd(),c.insertNode(r,g),m.isAttached()&&m.remove()})}}},[c,r,o]),f=ge.useMemo(()=>c!=null&&o!=null?n(c,p,d):[],[c,p,n,o,d]),h=ge.useCallback((m,g,_)=>{r.update(()=>{m.onSelect(g),_()})},[r]);return o!=null?ue.jsx(I3,{nodeKey:o,onClose:d,onSelectOption:h,options:f,menuRenderFn:e,commandPriority:a}):null}const L3=fo(),F3=fo(),B3=fo(),z3={contentName:"Youtube Video",exampleUrl:"https://www.youtube.com/watch?v=jNQXAC9IVRw",icon:ue.jsx("i",{className:"icon youtube"}),insertNode:(l,t)=>{l.dispatchCommand(B3,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"},U3=[{contentName:"Tweet",exampleUrl:"https://twitter.com/jack/status/20",icon:ue.jsx("i",{className:"icon tweet"}),insertNode:(l,t)=>{l.dispatchCommand(F3,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"},z3,{contentName:"Figma Document",exampleUrl:"https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File",icon:ue.jsx("i",{className:"icon figma"}),insertNode:(l,t)=>{l.dispatchCommand(L3,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 H3({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 $3({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(H3,{index:r,isSelected:t===r,onClick:()=>n(a,r),onMouseEnter:()=>e(r),option:a},a.key))})})}const q3=(l,t)=>{let n;return e=>{window.clearTimeout(n),n=window.setTimeout(()=>{l(e)},t)}};function W3({embedConfig:l,onClose:t}){const[n,e]=ge.useState(""),[a]=Sn(),[r,o]=ge.useState(null),s=ge.useMemo(()=>q3(i=>{const d=M3.exec(i);l!=null&&i!=null&&d!=null?Promise.resolve(l.parseUrl(i)).then(u=>{o(u)}):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:d}=i.target;e(d),s(d)}})}),ue.jsx(jp,{children:ue.jsx(Ri,{disabled:!r,onClick:c,"data-test-id":`${l.type}-embed-modal-submit-btn`,children:"Embed"})})]})}function J3(){const[l,t]=Ma(),n=a=>{t(`Embed ${a.contentName}`,r=>ue.jsx(W3,{embedConfig:a,onClose:r}))},e=(a,r,o)=>[new sC("Dismiss",{onSelect:o}),new sC(`Embed ${a.contentName}`,{onSelect:r})];return ue.jsxs(ue.Fragment,{children:[l,ue.jsx(R3,{embedConfigs:U3,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($3,{options:o,selectedItemIndex:r,onOptionClick:(i,d)=>{c(d),s(i)},onOptionMouseEnter:i=>{c(i)}})}),a.current):null})]})}class V3 extends BE{constructor(n,e,a){super(n);zn(this,"title");zn(this,"emoji");zn(this,"keywords");this.title=n,this.emoji=e,this.keywords=a.keywords||[]}}function K3({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 G3=10;function Y3(){const[l]=Sn(),[t,n]=ge.useState(null),[e,a]=ge.useState([]);ge.useEffect(()=>{Promise.resolve().then(()=>TD).then(i=>a(i.default))},[]);const r=ge.useMemo(()=>e!=null?e.map(({emoji:i,aliases:d,tags:u})=>new V3(d[0],i,{keywords:[...d,...u]})):[],[e]),o=$E(":",{minLength:0}),s=ge.useMemo(()=>r.filter(i=>t!=null?new RegExp(t,"gi").exec(i.title)||i.keywords!=null?i.keywords.some(d=>new RegExp(t,"gi").exec(d)):!1:r).slice(0,G3),[r,t]),c=ge.useCallback((i,d,u)=>{l.update(()=>{const p=kt();!Et(p)||i==null||(d&&d.remove(),p.insertNodes([er(i.emoji)]),u())})},[l]);return ue.jsx(qE,{onQueryChange:n,onSelectOption:c,triggerFn:o,options:s,menuRenderFn:(i,{selectedIndex:d,selectOptionAndCleanUp:u,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(K3,{index:h,isSelected:d===h,onClick:()=>{p(h),u(f)},onMouseEnter:()=>{p(h)},option:f})},f.key))})}),i.current):null})}const aC=new Map([[":)",["emoji happysmile","🙂"]],[":D",["emoji veryhappysmile","😀"]],[":(",["emoji unhappysmile","🙁"]],["<3",["emoji heart","❤"]],["🙂",["emoji happysmile","🙂"]],["😀",["emoji veryhappysmile","😀"]],["🙁",["emoji unhappysmile","🙁"]],["❤",["emoji heart","❤"]]]);function Z3(l){const t=l.getTextContent();for(let n=0;n<t.length;n++){const e=aC.get(t[n])||aC.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=u1(a,r);return o.replace(s),s}}return null}function X3(l){let t=l;for(;t!==null;){if(!t.isSimpleText())return;t=Z3(t)}}function Q3(l){ge.useEffect(()=>{if(!l.hasNodes([gd]))throw new Error("EmojisPlugin: EmojiNode not registered on editor");return l.registerNodeTransform(no,X3)},[l])}function eD(){const[l]=Sn();return Q3(l),null}const lC=nS([...j1]);function tD({initialEditorState:l,userObj:t,CollabApiKey:n,docId:e,mentionItems:a,type:r,updateSharepointList:o,updateSharepointList2:s,savedComments:c,styleConfig:i,handleSaveComments:d,pagination:u=!1,customHeight:p,customWidth:f,isCollab:h=!0,defaultState:m,editId:g,toolbarShow:_=!0,isEditable:v=!1,showTabContent:w=!0,wpAndTaskId:S}){const E=ge.useRef(null),{historyState:b}=gb(),[y,x]=ge.useState([]),[C,T]=ge.useState("skyp_1"),[F,B]=ge.useState([]),[D,L]=ge.useState(!1),[O,j]=Ma(),[P,R]=ge.useState(null),[N,U]=ge.useState([]),[M,z]=ge.useState(null),[V,K]=ge.useState(!1),[A,q]=ge.useState(!1);ge.useState(!1);const[W,H]=ge.useState([]),G=ge.useRef(null),[Z,Q]=ge.useState(!1);ge.useState(!1);const Y=async()=>({state:{root:[]},timestamp:Date.now()});let ee=()=>{console.log("[Lexical Demo][onBlacklistedInsert] blacklisted combination found")};const{userName:re,userId:fe,userEmail:de}=t||{userName:"aa",userId:"aa",userEmail:"aa@sample.com"},ne={name:re,id:fe,email:de},Se={docId:e+"_"+g,apiKey:n,user:ne,hooks:{fetchDocOnNetworkReconnect:Y,contentChanged:(ze,Oe)=>{},usersUpdate:ze=>{x(ze),renderOnlineUsers(ze),console.log("[Lexical Demo][usersUpdate hook] hook invoked by Codox: ",ze)}}};ge.useEffect(()=>{let ze=[],Oe=[];y&&y.length>0&&y.map((Ge,Ke)=>{Oe.includes(Ge.name)||(Oe.push(Ge.name),ze.push(ue.jsxs("div",{title:Ge.name,className:`avatarStyle avatar-color-${Ke+1}`,children:[" ",Ge.name&&Ge.name[0],Ge.name&&Ge.name[4]]},Ke)))}),B(ze)},[y]);const we=()=>{G.current&&(G.current.initComments(c),["content_changed","error","users_update"].forEach(Oe=>{console.log("[Lexical Demo][[Subscribe to Codox Event]: ",Oe),G.current.on(Oe,Ge=>{})}),G.current.start(Se).then(()=>{console.log("[Lexical Demo][codox.start] success"),L(!0)}).catch(Oe=>console.log("[Lexical Demo][codox.start] error",Oe)))},me=()=>{G.current&&G.current.stop(),L(!1)};ge.useEffect(()=>{setTimeout(()=>{wd('[class^="finalProposalEditorContainer_"]').animate({scrollTop:0},500,()=>{})},1e3)},[]),ge.useEffect(()=>{wd(".editor-outer").css({justifyContent:A?"flex-start":"center"})},[A]),ge.useEffect(()=>{(async()=>{if(!C)return;D&&me();let ze=m;if(ze)try{rS(ze,lC),R(ze)}catch(Oe){console.error("[APP] error: ",Oe)}})()},[C]),ge.useEffect(()=>{P&&e&&!D&&n&&setTimeout(()=>{we()},2e3)},[P,e,D,n]);const je=ge.useMemo(()=>{if(P)return{editorState:ze=>{ze.update(()=>{const Oe=new DOMParser,Ge=Pw(l),Ke=Oe.parseFromString(Ge,"text/html");let et=Zm(ze,Ke);$n().clear();const zt=Cn();ts(et),ts([zt]),ze.setEditable(v),setTimeout(()=>{ze.setEditable(v),Le(!0)},5e3);const Qe=new Wd(ze);c&&(Qe.setComments(c),ze._commentStore||(ze._commentStore=new Wd(ze),ze._commentStore.getComments().length===0&&ze._commentStore.setComments(c)))})},namespace:"Playground",nodes:lC,onError:ze=>{console.error("[Lexical Demo][Editor Error Captured]: ",ze)},theme:Vm}},[P]),ce=ge.useRef(l);ge.useEffect(()=>{ce.current||(ce.current=l)},[l]);const se=ue.jsx(Ed,{children:"Enter some plain text..."}),[pe,le]=ge.useState(null),[ke,Te]=ge.useState(!1),[Ce,Me]=ge.useState(!1),[qe,Le]=ge.useState(!1),Re=ze=>{ze!==null&&le(ze)};ge.useEffect(()=>{const ze=()=>{const Oe=Oc&&window.matchMedia("(max-width: 1025px)").matches;Oe!==ke&&Te(Oe)};return ze(),window.addEventListener("resize",ze),()=>{window.removeEventListener("resize",ze)}},[ke]),ge.useEffect(()=>{const ze=Oe=>{M&&!Oe.target.closest(".reference-toolbar")&&z(null)};return document.addEventListener("click",ze),()=>{document.removeEventListener("click",ze)}},[M]),ge.useEffect(()=>{l&&t&&t.userName&&e&&i?setTimeout(()=>{Q(!0)},1e3):Q(!1)},[l,t,i]);const Ee=ze=>{console.log("CustomOnChange",ze),s(ze)};return ue.jsx(ue.Fragment,{children:Z?ue.jsxs(op,{initialConfig:je,children:[ue.jsx(hb,{children:ue.jsx(k1,{children:ue.jsxs("div",{ref:E,className:"editor-shell",style:{position:"relative"},children:[ue.jsxs(ue.Fragment,{children:[ue.jsx(QE,{showComments:V,setShowComments:K,handleSaveComments:d,userName:re,userEmail:de,mentionItems:a,mentionedEmails:W,setmentionedEmails:H,wpAndTaskId:S}),v?ue.jsxs(ue.Fragment,{children:[i&&_&&ue.jsx(Mw,{styleConfig:i,setIsLinkEditMode:Me,onlUser:F,showComments:V,setShowComments:K})," "]}):"",ue.jsx(tC,{onChange:Ee}),ue.jsxs("div",{className:"editor-container tree-view",children:[ue.jsx(cw,{}),ue.jsx(Y3,{}),ue.jsx(J3,{}),ue.jsx(eD,{}),ue.jsx(N1,{}),ue.jsx(uw,{}),ue.jsx(rw,{}),ue.jsx(cp,{externalHistoryState:b}),ue.jsx(Ip,{contentEditable:ue.jsx("div",{className:"editor-scroller",children:ue.jsx("div",{className:"editor",ref:Re,children:ue.jsxs("div",{className:`editor-autosave-${g}`,children:[" ",ue.jsx(Sd,{className:(D||qe)&&v?"ContentEditable__root":"ContentEditable__root no-events"})]})})}),placeholder:se,ErrorBoundary:Ol}),ue.jsx(A1,{}),ue.jsx(fw,{maxDepth:7}),ue.jsx(Z1,{hasCellMerge:!0,hasCellBackgroundColor:!0}),h&&ue.jsx(Cw,{}),ue.jsx(iw,{}),ue.jsx(ry,{}),ue.jsx(gw,{}),pe&&!ke&&ue.jsx(ue.Fragment,{children:ue.jsx(Ew,{anchorElem:pe,cellMerge:!0})}),M&&ue.jsx(jS,{references:N,setReferences:U,position:M,onClose:()=>z(null)}),ue.jsx(kS,{setContextMenu:z,references:N,setReferences:U,containerRef:E}),ue.jsx(TS,{references:N,setReferences:U}),ue.jsx(E1,{}),ue.jsx(OS,{})]})]}),h&&ue.jsx(tS,{debug:!0,ref:G,onBlacklistedInsert:ee}),O]})})}),i&&ue.jsx(ES,{styleConfig:i})]},e):ue.jsx(eC,{})})}const bR="";function nD(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var rD=nD(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 cC(l){const t=l.transform();return t!==null?new Set([t]):new Set}function uC({initialEditor:l,children:t,initialNodes:n,initialTheme:e,skipCollabChecks:a}){const r=ge.useRef(!1),o=ge.useContext(Du);o==null&&rD(9);const[s,{getTheme:c}]=o,i=ge.useMemo(()=>{const f=e||c()||void 0,h=vv(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:cC(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:cC(_.klass)})}return l._config.namespace=s._config.namespace,l._editable=s._editable,[l,h]},[]),{isCollabActive:d,yjsDocMap:u}=Cd(),p=a||r.current||u.has(l.getKey());return ge.useEffect(()=>{p&&(r.current=!0)},[p]),ge.useEffect(()=>s.registerEditableListener(f=>{l.setEditable(f)}),[l,s]),ue.jsx(Du.Provider,{value:i,children:!d||p?t:null})}function p0(l,t,n){return Math.min(Math.max(l,t),n)}const Nr={east:1,north:8,south:2,west:4};function oD({onResizeStart:l,onResizeEnd:t,buttonRef:n,imageRef:e,maxWidth:a,editor:r,showCaption:o,setShowCaption:s,captionsEnabled:c}){const i=ge.useRef(null),d=ge.useRef({priority:"",value:"default"}),u=ge.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"),d.current.value=document.body.style.getPropertyValue("-webkit-user-select"),d.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",d.current.value,d.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:F}=x.getBoundingClientRect(),B=u.current;B.startWidth=T,B.startHeight=F,B.ratio=T/F,B.currentWidth=T,B.currentHeight=F,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=`${F}px`,x.style.width=`${T}px`,document.addEventListener("pointermove",S),document.addEventListener("pointerup",E)}},S=b=>{const y=e.current,x=u.current,C=x.direction&(Nr.east|Nr.west),T=x.direction&(Nr.south|Nr.north);if(y!==null&&x.isResizing){if(C&&T){let F=Math.floor(x.startX-b.clientX);F=x.direction&Nr.east?-F:F;const B=p0(x.startWidth+F,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 F=Math.floor(x.startY-b.clientY);F=x.direction&Nr.south?-F:F;const B=p0(x.startHeight+F,g,h);y.style.height=`${B}px`,y.style.maxHeight=`${B}px`,x.currentHeight=B}else{let F=Math.floor(x.startX-b.clientX);F=x.direction&Nr.east?-F:F;const B=p0(x.startWidth+F,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=u.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 Oh={x:0,y:0,width:0,height:0,unit:"px"},cu=(l,t,n)=>Math.min(Math.max(l,t),n),iD=(...l)=>l.filter(t=>t&&typeof t=="string").join(" "),dC=(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==="%"?{...Oh,...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 Ka(l,t,n){return l.unit?l.unit==="px"?{...Oh,...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}:{...Oh,...l,unit:"px"}}function fC(l,t,n,e,a,r=0,o=0,s=e,c=a){const i={...l};let d=Math.min(r,e),u=Math.min(o,a),p=Math.min(s,e),f=Math.min(c,a);t&&(t>1?(d=o?o*t:d,u=d/t,p=s*t):(u=r?r/t:u,d=u*t,f=c/t)),i.y<0&&(i.height=Math.max(i.height+i.y,u),i.y=0),i.x<0&&(i.width=Math.max(i.width+i.x,d),i.x=0);const h=e-(i.x+i.width);h<0&&(i.x=Math.min(i.x,e-d),i.width+=h);const m=a-(i.y+i.height);if(m<0&&(i.y=Math.min(i.y,a-u),i.height+=m),i.width<d&&((n==="sw"||n=="nw")&&(i.x-=d-i.width),i.width=d),i.height<u&&((n==="nw"||n=="ne")&&(i.y-=u-i.height),i.height=u),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,u);(n==="nw"||n=="ne")&&(i.y-=_-i.height),i.height=_}else if(g>t){const _=Math.max(i.height*t,d);(n==="sw"||n=="nw")&&(i.x-=_-i.width),i.width=_}}return i}function sD(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 aD=0;const Ga=class ms extends ge.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=ge.createRef(),this.mediaRef=ge.createRef(),this.initChangeCalled=!1,this.instanceId=`rc-${aD++}`,this.state={cropIsActive:!1,newCropIsBeingDrawn:!1},this.onCropPointerDown=t=>{const{crop:n,disabled:e}=this.props,a=this.getBox();if(!n)return;const r=Ka(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,d=r.x,u=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,d=r.x,u=r.y+r.height):o==="se"||o==="s"?(h=p-(r.x+r.width),m=f-(r.y+r.height),d=r.x,u=r.y):o==="sw"||o=="w"?(h=p-r.x,m=f-(r.y+r.height),d=r.x+r.width,u=r.y):(o==="nw"||o=="n")&&(h=p-r.x,m=f-r.y,d=r.x+r.width,u=r.y+r.height),c=d+a.x+h,i=u+a.y+m}this.evData={startClientX:c,startClientY:i,startCropX:d,startCropY:u,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,d={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(Ka(d,s.width,s.height),uu(d,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(),dC(n,c)||a(Ka(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),d=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?ms.nudgeStepLarge:t.shiftKey?ms.nudgeStepMedium:ms.nudgeStep;if(o==="ArrowLeft"?(i.x-=d,s=!0):o==="ArrowRight"?(i.x+=d,s=!0):o==="ArrowUp"?(i.y-=d,s=!0):o==="ArrowDown"&&(i.y+=d,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 u=Ka(i,c.width,c.height),p=uu(i,c.width,c.height);a(u,p),r&&r(u,p)}},this.onHandlerKeyDown=(t,n)=>{const{aspect:e=0,crop:a,disabled:r,minWidth:o=0,minHeight:s=0,maxWidth:c,maxHeight:i,onChange:d,onComplete:u}=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)?ms.nudgeStepLarge:t.shiftKey?ms.nudgeStepMedium:ms.nudgeStep,h=Ka(a,p.width,p.height),m=sD(h,t.key,f,n),g=fC(m,e,n,p.width,p.height,o,s,c,i);if(!dC(a,g)){const _=uu(g,p.width,p.height);d(g,_),u&&u(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(Ka(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(Ka(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),d=t.ord||i;let u=t.clientX-t.startClientX,p=t.clientY-t.startClientY;(o&&d==="nw"||d==="w"||d==="sw")&&(u=Math.min(u,-o)),(s&&d==="nw"||d==="n"||d==="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=u,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=u,n?f.height=f.width/n:f.height=p):i==="sw"?(f.x=t.startCropX+u,f.y=t.startCropY,f.width=Math.abs(u),n?f.height=f.width/n:f.height=p):i==="nw"&&(f.x=t.startCropX+u,f.width=Math.abs(u),n?(f.height=f.width/n,f.y=t.startCropY-f.height):(f.height=Math.abs(p),f.y=t.startCropY+p));const h=fC(f,n,i,r.width,r.height,o,s,e,a);return n||ms.xyOrds.indexOf(d)>-1?c=h:ms.xOrds.indexOf(d)>-1?(c.x=h.x,c.width=h.width):ms.yOrds.indexOf(d)>-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=ms.defaultProps.ariaLabels,disabled:n,locked:e,renderSelectionAddon:a,ruleOfThirds:r,crop:o}=this.props,s=this.getCropStyle();if(o)return ge.createElement("div",{style:s,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!e&&ge.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},ge.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),ge.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),ge.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),ge.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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"}),ge.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&&ge.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:c=>c.stopPropagation()},a(this.state)),r&&ge.createElement(ge.Fragment,null,ge.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),ge.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(t){const n={...Oh,...this.props.crop||{}};return Ka(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:d,newCropIsBeingDrawn:u}=this.state,p=r?this.renderCropSelection():null,f=iD("ReactCrop",a,d&&"ReactCrop--active",o&&"ReactCrop--disabled",s&&"ReactCrop--locked",u&&"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 ge.createElement("div",{ref:this.componentRef,className:f,style:c},ge.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},n),r?ge.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},ge.createElement("defs",null,ge.createElement("mask",{id:`hole-${this.instanceId}`},ge.createElement("rect",{width:"100%",height:"100%",fill:"white"}),e?ge.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"}):ge.createElement("rect",{x:`${r.x}${r.unit}`,y:`${r.y}${r.unit}`,width:`${r.width}${r.unit}`,height:`${r.height}${r.unit}`,fill:"black"}))),ge.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,p)}};Ga.xOrds=["e","w"],Ga.yOrds=["n","s"],Ga.xyOrds=["nw","ne","se","sw"],Ga.nudgeStep=1,Ga.nudgeStepMedium=10,Ga.nudgeStepLarge=100,Ga.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 lD=Ga;const wR="",h0=fo();function cD({altText:l,className:t,src:n,width:e,height:a,maxWidth:r,imageRef:o,startCrop:s,setStartCrop:c,isFocused:i,nodeKey:d}){const[u,p]=ge.useState(null),[f,h]=ge.useState({unit:"px",x:25,y:25,width:50,height:50}),[m]=Sn(),g=()=>{if(u){const E=o.current;if(!E||!u)return;const b=E.naturalWidth/E.width,y=E.naturalHeight/E.height,x=new OffscreenCanvas(u.width*b,u.height*y),C=x.getContext("2d");if(!C)throw new Error("No 2D context available");C.drawImage(E,u.x*b,u.y*y,u.width*b,u.height*y,0,0,u.width*b,u.height*y),x.convertToBlob({type:"image/png"}).then(T=>{c(!1);const F=new FileReader;F.onload=()=>{const B=F.result;setTimeout(()=>{m.update(()=>{const D=Bn(d);wc(D)&&B&&D.setSrc(B)},{tag:"crop"})},100)},F.onerror=()=>{console.error("Error reading the cropped image blob")},F.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=ge.useRef(null),w=ge.useRef(null);ge.useEffect(()=>{u&&(v.current=u)},[u]);const S=E=>{w.current&&!w.current.contains(E.target)&&c(!1)};return ge.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(lD,{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 uD({src:l,altText:t,nodeKey:n,width:e,height:a,maxWidth:r,resizable:o,showCaption:s,caption:c}){const i=ge.useRef(null),d=ge.useRef(null),[u,p,f]=mc(n),[h,m]=ge.useState(!1),[g]=Sn(),[_,v]=ge.useState(null),[w,S]=ge.useState(!1),E=ge.useRef(null),b=ge.useCallback(j=>u?(j.preventDefault(),g.update(()=>{const P=Bn(n);wc(P)&&P.remove()}),!0):!1,[u,g,n]),y=ge.useCallback(j=>{const P=kt(),R=d.current;if(u&&fr(P)&&P.getNodes().length===1){if(s)return Cr(null),j.preventDefault(),c.focus(),!0;if(R!==null&&R!==document.activeElement)return j.preventDefault(),R.focus(),!0}return!1},[c,u,s]),x=ge.useCallback(j=>E.current===c||d.current===j.target?(Cr(null),g.update(()=>{p(!0);const P=g.getRootElement();P!==null&&P.focus()}),!0):!1,[c,g,p]),C=ge.useCallback(j=>{const P=j;return h?!0:P.target===i.current?(P.shiftKey?p(!u):(f(),p(!0)),!0):!1},[h,u,p,f]),T=ge.useCallback(j=>{g.getEditorState().read(()=>{const P=kt();j.target.tagName==="IMG"&&Et(P)&&P.getNodes().length===1&&g.dispatchCommand(h0,j)})},[g]);ge.useEffect(()=>{const j=R=>{(R.key==="Delete"||R.key==="Backspace")&&u&&(R.stopPropagation(),R.preventDefault(),g.update(()=>{const N=Bn(n);wc(N)&&N.remove()}))},P=g.getRootElement();return P==null||P.addEventListener("keydown",j),()=>{P==null||P.removeEventListener("keydown",j)}},[u,g,n]),ge.useEffect(()=>{let j=!0;const P=g.getRootElement(),R=br(g.registerUpdateListener(({editorState:N})=>{j&&v(N.read(()=>kt()))}),g.registerCommand(vi,(N,U)=>(E.current=U,!1),Yn),g.registerCommand(ya,C,Yn),g.registerCommand(h0,C,Yn),g.registerCommand(Xl,N=>N.target===i.current?(N.preventDefault(),!0):!1,Yn),g.registerCommand(Yi,b,4),g.registerCommand(Gi,b,4),g.registerCommand(Ds,y,Yn),g.registerCommand(Rs,x,Yn));return P==null||P.addEventListener("contextmenu",T),()=>{j=!1,R(),P==null||P.removeEventListener("contextmenu",T)}},[f,g,h,u,n,y,x,C,T,p]);const F=()=>{g.update(()=>{const j=Bn(n);wc(j)&&j.setShowCaption(!0)})},B=(j,P)=>{setTimeout(()=>{m(!1)},200),g.update(()=>{const R=Bn(n);wc(R)&&R.setWidthAndHeight(j,P)})},D=()=>{w||m(!0)},L=u&&fr(_)&&!h,O=u||h;return ue.jsx(ge.Suspense,{fallback:null,children:ue.jsxs(ue.Fragment,{children:[ue.jsx("div",{draggable:L,children:ue.jsx(cD,{className:O?`focused ${fr(_)?"draggable":""}`:null,src:l,altText:t,width:e,height:a,maxWidth:r,imageRef:i,startCrop:w,setStartCrop:S,isFocused:O,nodeKey:n})}),s&&ue.jsx("div",{className:"image-caption-container",children:ue.jsx(uC,{initialEditor:c,children:ue.jsx(Ip,{contentEditable:ue.jsx(Sd,{className:"ImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"ImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Ol})})}),!w&&o&&fr(_)&&O&&ue.jsx(oD,{showCaption:s,setShowCaption:F,editor:g,buttonRef:d,maxWidth:r,onResizeStart:w?()=>{}:D,onResizeEnd:w?()=>{}:B,captionsEnabled:!1,imageRef:i})]})})}const dD=Object.freeze(Object.defineProperty({__proto__:null,RIGHT_CLICK_IMAGE_COMMAND:h0,default:uD},Symbol.toStringTag,{value:"Module"})),xR="",SR="";function fD(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 pD=10,hD=5;function gD(l,t,n,e=!1,a=pD,r=hD){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 d=l.top-s.height-a,u=l.left-r;d<i.top&&(d+=s.height+l.height+a*(e?9:2)),u+s.width>i.right&&(u=i.right-s.width-r),d-=c.top,u-=c.left,t.style.opacity="1",t.style.transform=`translate(${u}px, ${d}px)`}function mD({editor:l,anchorElem:t,isLink:n,isBold:e,isItalic:a,isUnderline:r,isCode:o,isStrikethrough:s,isSubscript:c,isSuperscript:i}){const d=ge.useRef(null),u=ge.useCallback(()=>{n?l.dispatchCommand(Aa,null):l.dispatchCommand(Aa,"https://")},[l,n]),p=()=>{l.dispatchCommand(f0,void 0)};function f(g){if(d!=null&&d.current&&(g.buttons===1||g.buttons===3)&&d.current.style.pointerEvents!=="none"){const _=g.clientX,v=g.clientY,w=document.elementFromPoint(_,v);d.current.contains(w)||(d.current.style.pointerEvents="none")}}function h(g){d!=null&&d.current&&d.current.style.pointerEvents!=="auto"&&(d.current.style.pointerEvents="auto")}ge.useEffect(()=>{if(d!=null&&d.current)return document.addEventListener("mousemove",f),document.addEventListener("mouseup",h),()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",h)}},[d]);const m=ge.useCallback(()=>{const g=kt(),_=d.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=fD(v,w);gD(S,_,t,n)}},[l,t,n]);return ge.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]),ge.useEffect(()=>(l.getEditorState().read(()=>{m()}),br(l.registerUpdateListener(({editorState:g})=>{g.read(()=>{m()})}),l.registerCommand(vi,()=>(m(),!1),Yn))),[l,m]),ue.jsxs("div",{ref:d,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:u,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 yD(l,t){const[n,e]=ge.useState(!1),[a,r]=ge.useState(!1),[o,s]=ge.useState(!1),[c,i]=ge.useState(!1),[d,u]=ge.useState(!1),[p,f]=ge.useState(!1),[h,m]=ge.useState(!1),[g,_]=ge.useState(!1),[v,w]=ge.useState(!1),S=ge.useCallback(()=>{l.getEditorState().read(()=>{if(l.isComposing())return;const E=kt(),b=window.getSelection(),y=l.getRootElement();if(b!==null&&(!Et(E)||y===null||!y.contains(b.anchorNode))){e(!1);return}if(!Et(E))return;const x=Tw(E);s(E.hasFormat("bold")),i(E.hasFormat("italic")),u(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),!Sm(E.anchor.getNode())&&E.getTextContent()!==""?e(Wt(x)||Br(x)):e(!1);const T=E.getTextContent().replace(/\n/g,"");if(!E.isCollapsed()&&T===""){e(!1);return}})},[l]);return ge.useEffect(()=>(document.addEventListener("selectionchange",S),()=>{document.removeEventListener("selectionchange",S)}),[S]),ge.useEffect(()=>br(l.registerUpdateListener(()=>{S()}),l.registerRootListener(()=>{l.getRootElement()===null&&e(!1)})),[l,S]),n?so.createPortal(ue.jsx(mD,{editor:l,anchorElem:t,isLink:a,isBold:o,isItalic:c,isStrikethrough:p,isSubscript:h,isSuperscript:g,isUnderline:d,isCode:v}),t):null}function vD({anchorElem:l=document.body}){const[t]=Sn();return yD(t,l)}const ER="";function _D({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 pC=new Set;function bD(l){if(!pC.has(l))throw new Promise(t=>{const n=new Image;n.src=l,n.onload=()=>{pC.add(l),t(null)}})}function wD({altText:l,className:t,imageRef:n,src:e,width:a,height:r,position:o}){return bD(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 hC({activeEditor:l,nodeKey:t,onClose:n}){const a=l.getEditorState().read(()=>Bn(t)),[r,o]=ge.useState(a.getAltText()),[s,c]=ge.useState(a.getShowCaption()),[i,d]=ge.useState(a.getPosition()),u=h=>{c(h.target.checked)},p=h=>{d(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(Ec,{label:"Alt Text",placeholder:"Descriptive alternative text",onChange:o,value:r,"data-test-id":"image-modal-alt-text-input"})}),ue.jsxs(_D,{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:u}),ue.jsx("label",{htmlFor:"caption",children:"Show Caption"})]}),ue.jsx(jp,{children:ue.jsx(Ri,{"data-test-id":"image-modal-file-upload-btn",onClick:()=>f(),children:"Confirm"})})]})}function xD({src:l,altText:t,nodeKey:n,width:e,height:a,showCaption:r,caption:o,position:s}){const[c,i]=Ma(),d=ge.useRef(null),u=ge.useRef(null),[p,f,h]=mc(n),[m]=Sn(),[g,_]=ge.useState(null),v=ge.useRef(null),w=ge.useCallback(x=>{if(p&&fr(kt())){x.preventDefault();const T=Bn(n);if(cT(T))return T.remove(),!0}return!1},[p,n]),S=ge.useCallback(x=>{const C=kt(),T=u.current;if(p&&fr(C)&&C.getNodes().length===1){if(r)return Cr(null),x.preventDefault(),o.focus(),!0;if(T!==null&&T!==document.activeElement)return x.preventDefault(),T.focus(),!0}return!1},[o,p,r]),E=ge.useCallback(x=>v.current===o||u.current===x.target?(Cr(null),m.update(()=>{f(!0);const C=m.getRootElement();C!==null&&C.focus()}),!0):!1,[o,m,f]);ge.useEffect(()=>{let x=!0;const C=br(m.registerUpdateListener(({editorState:T})=>{x&&_(T.read(()=>kt()))}),m.registerCommand(vi,(T,F)=>(v.current=F,!1),Yn),m.registerCommand(ya,T=>{const F=T;return F.target===d.current?(F.shiftKey?f(!p):(h(),f(!0)),!0):!1},Yn),m.registerCommand(Xl,T=>T.target===d.current?(T.preventDefault(),!0):!1,Yn),m.registerCommand(Yi,w,Yn),m.registerCommand(Gi,w,Yn),m.registerCommand(Ds,S,Yn),m.registerCommand(Rs,E,Yn));return()=>{x=!1,C()}},[h,m,p,n,w,S,E,f]);const b=p&&fr(g),y=p;return ue.jsxs(ge.Suspense,{fallback:null,children:[ue.jsxs(ue.Fragment,{children:[ue.jsxs("div",{draggable:b,children:[ue.jsx("button",{className:"image-edit-button",ref:u,onClick:()=>{i("Update Inline Image",x=>ue.jsx(hC,{activeEditor:m,nodeKey:n,onClose:x}))},children:"Edit"}),ue.jsx(wD,{className:y?`focused ${fr(g)?"draggable":""}`:null,src:l,altText:t,imageRef:d,width:e,height:a,position:s})]}),r&&ue.jsx("div",{className:"image-caption-container",children:ue.jsxs(uC,{initialEditor:o,children:[ue.jsx(kp,{}),ue.jsx(ry,{}),ue.jsx(vD,{}),ue.jsx(Ip,{contentEditable:ue.jsx(Sd,{className:"InlineImageNode__contentEditable"}),placeholder:ue.jsx(Ed,{className:"InlineImageNode__placeholder",children:"Enter a caption..."}),ErrorBoundary:Ol})]})})]}),c]})}const SD=Object.freeze(Object.defineProperty({__proto__:null,UpdateInlineImageDialog:hC,default:xD},Symbol.toStringTag,{value:"Module"})),CR="";function ED(l){return l.reduce((t,n)=>t+n.votes.length,0)}function CD({option:l,index:t,options:n,totalVotes:e,withPollNode:a}){const{clientID:r}=Cd(),o=ge.useRef(null),s=l.votes,i=s.indexOf(r)!==-1,d=s.length,u=l.text;return ue.jsxs("div",{className:"PollNode__optionContainer",children:[ue.jsx("div",{className:Jm("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:`${d===0?0:d/e*100}%`}}),ue.jsx("span",{className:"PollNode__optionInputVotesCount",children:d>0&&(d===1?"1 vote":`${d} votes`)}),ue.jsx("input",{className:"PollNode__optionInput",type:"text",value:u,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:Jm("PollNode__optionDelete",n.length<3&&"PollNode__optionDeleteDisabled"),"aria-label":"Remove",onClick:()=>{a(p=>{p.deleteOption(l)})}})]})}function jD({question:l,options:t,nodeKey:n}){const[e]=Sn(),a=ge.useMemo(()=>ED(t),[t]),[r,o,s]=mc(n),[c,i]=ge.useState(null),d=ge.useRef(null),u=ge.useCallback(m=>{if(r&&fr(kt())){m.preventDefault();const _=Bn(n);if(v1(_))return _.remove(),!0}return!1},[r,n]);ge.useEffect(()=>br(e.registerUpdateListener(({editorState:m})=>{i(m.read(()=>kt()))}),e.registerCommand(ya,m=>{const g=m;return g.target===d.current?(g.shiftKey||s(),o(!r),!0):!1},Yn),e.registerCommand(Yi,u,Yn),e.registerCommand(Gi,u,Yn)),[s,e,r,n,u,o]);const p=(m,g)=>{e.update(()=>{const _=Bn(n);v1(_)&&m(_)},{onUpdate:g})},f=()=>{p(m=>{m.addOption(_T())})},h=fr(c)&&r;return ue.jsx("div",{className:`PollNode__container ${h?"focused":""}`,ref:d,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(CD,{withPollNode:p,option:m,index:g,options:t,totalVotes:a},_)}),ue.jsx("div",{className:"PollNode__footer",children:ue.jsx(Ri,{onClick:f,small:!0,children:"Add Option"})})]})})}const kD=Object.freeze(Object.defineProperty({__proto__:null,default:jD},Symbol.toStringTag,{value:"Module"})),TD=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=T3,Go.EditorTask=tD,Object.defineProperty(Go,Symbol.toStringTag,{value:"Module"})});
1545
1545
  //# sourceMappingURL=index.umd.js.map