asma-ui-richeditor 0.1.29 → 0.2.7
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{forwardRef as t,useRef as n,useState as f,useDebugValue as i,useEffect as r,createContext as o,useContext as a,useLayoutEffect as s,createElement as l,useCallback as c,useMemo as d,memo as u,Fragment as h,Component as p,createRef as m,Suspense as g,useImperativeHandle as w}from"react";import M from"react-dom";import{StyledMenuItem as b,StyledTooltip as y,StyledButton as L,StyledPopover as C,LinkOutlineIcon as v,DotsVerticalIcon as j,StyledDialog as k,StyledInputField as I,StyledFormControl as
|
|
1
|
+
import e,{forwardRef as t,useRef as n,useState as f,useDebugValue as i,useEffect as r,createContext as o,useContext as a,useLayoutEffect as s,createElement as l,useCallback as c,useMemo as d,memo as u,Fragment as h,Component as p,createRef as m,Suspense as g,useImperativeHandle as w}from"react";import M from"react-dom";import{StyledMenuItem as b,StyledTooltip as y,StyledButton as L,StyledPopover as C,LinkOutlineIcon as v,DotsVerticalIcon as j,StyledDialog as k,StyledInputField as I,StyledFormControl as x,StyledChip as S,ErrorOutlineIcon as N}from"asma-core-ui";var T,D={exports:{}},A={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,7 +16,7 @@ import e,{forwardRef as t,useRef as n,useState as f,useDebugValue as i,useEffect
|
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/"production"===process.env.NODE_ENV?D.exports=function(){if(T)return A;T=1;var t=e,n=Symbol.for("react.element"),f=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,r=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,f){var a,s={},l=null,c=null;for(a in void 0!==f&&(l=""+f),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,a)&&!o.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:n,type:e,key:l,ref:c,props:s,_owner:r.current}}return A.Fragment=f,A.jsx=a,A.jsxs=a,A}():D.exports=(E||(E=1,"production"!==process.env.NODE_ENV&&function(){var t=e,n=Symbol.for("react.element"),f=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",w=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),f=1;f<t;f++)n[f-1]=arguments[f];!function(e,t,n){var f=w.ReactDebugCurrentFrame,i=f.getStackAddendum();""!==i&&(t+="%s",n=n.concat([i]));var r=n.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,n)}var b,y=!1,L=!1,C=!1,v=!1,j=!1;function k(e){return e.displayName||"Context"}function I(e){if(null==e)return null;if("number"==typeof e.tag&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case f:return"Portal";case o:return"Profiler";case r:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return k(e)+".Consumer";case a:return k(e._context)+".Provider";case l:return function(e,t,n){var f=e.displayName;if(f)return f;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case u:var t=e.displayName||null;return null!==t?t:I(e.type)||"Memo";case h:var n=e,p=n._payload,m=n._init;try{return I(m(p))}catch{return null}}return null}b=Symbol.for("react.module.reference");var S,x,N,T,D,A,E,O=Object.assign,P=0;function R(){}R.__reactDisabledLog=!0;var J,B=w.ReactCurrentDispatcher;function Q(e,t,n){if(void 0===J)try{throw Error()}catch(e){var f=e.stack.trim().match(/\n( *(at )?)/);J=f&&f[1]||""}return"\n"+J+e}var Y,U=!1,G="function"==typeof WeakMap?WeakMap:Map;function Z(e,t){if(!e||U)return"";var n,f=Y.get(e);if(void 0!==f)return f;U=!0;var i,r=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=B.current,B.current=null,function(){if(0===P){S=console.log,x=console.info,N=console.warn,T=console.error,D=console.group,A=console.groupCollapsed,E=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}P++}();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(o,[])}catch(e){n=e}Reflect.construct(e,[],o)}else{try{o.call()}catch(e){n=e}e.call(o.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),s=n.stack.split("\n"),l=a.length-1,c=s.length-1;l>=1&&c>=0&&a[l]!==s[c];)c--;for(;l>=1&&c>=0;l--,c--)if(a[l]!==s[c]){if(1!==l||1!==c)do{if(l--,--c<0||a[l]!==s[c]){var d="\n"+a[l].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&Y.set(e,d),d}}while(l>=1&&c>=0);break}}}finally{U=!1,B.current=i,function(){if(0==--P){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:S}),info:O({},e,{value:x}),warn:O({},e,{value:N}),error:O({},e,{value:T}),group:O({},e,{value:D}),groupCollapsed:O({},e,{value:A}),groupEnd:O({},e,{value:E})})}P<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}var u=e?e.displayName||e.name:"",h=u?Q(u):"";return"function"==typeof e&&Y.set(e,h),h}function H(e,t,n){if(null==e)return"";if("function"==typeof e)return Z(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Q(e);switch(e){case c:return Q("Suspense");case d:return Q("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return function(e,t,n){return Z(e,!1)}(e.render);case u:return H(e.type,t,n);case h:var f=e,i=f._payload,r=f._init;try{return H(r(i),t,n)}catch{}}return""}Y=new G;var W=Object.prototype.hasOwnProperty,F={},V=w.ReactDebugCurrentFrame;function $(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);V.setExtraStackFrame(n)}else V.setExtraStackFrame(null)}var _=Array.isArray;function K(e){return _(e)}function X(e){return""+e}function q(e){if(function(e){try{return X(e),!1}catch{return!0}}(e))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),X(e)}var ee,te,ne,fe=w.ReactCurrentOwner,ie={key:!0,ref:!0,__self:!0,__source:!0};ne={};var re=function(e,t,f,i,r,o,a){var s={$$typeof:n,type:e,key:t,ref:f,props:a,_owner:o,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function oe(e,t,n,f,i){var r,o={},a=null,s=null;for(r in void 0!==n&&(q(n),a=""+n),function(e){if(W.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(q(t.key),a=""+t.key),function(e){if(W.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&fe.current&&t&&fe.current.stateNode!==t){var n=I(fe.current.type);ne[n]||(M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(fe.current.type),e.ref),ne[n]=!0)}}(t,i)),t)W.call(t,r)&&!ie.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps){var l=e.defaultProps;for(r in l)void 0===o[r]&&(o[r]=l[r])}if(a||s){var c="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){ee||(ee=!0,M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,c),s&&function(e,t){var n=function(){te||(te=!0,M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,c)}return re(e,a,s,i,f,fe.current,o)}var ae,se=w.ReactCurrentOwner,le=w.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);le.setExtraStackFrame(n)}else le.setExtraStackFrame(null)}function de(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ue(){if(se.current){var e=I(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!1;var he={};function pe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ue();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!he[n]){he[n]=!0;var f="";e&&e._owner&&e._owner!==se.current&&(f=" It was passed a child from "+I(e._owner.type)+"."),ce(e),M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,f),ce(null)}}}function me(e,t){if("object"==typeof e)if(K(e))for(var n=0;n<e.length;n++){var f=e[n];de(f)&&pe(f,t)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var i=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof i&&i!==e.entries)for(var r,o=i.call(e);!(r=o.next()).done;)de(r.value)&&pe(r.value,t)}}function ge(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==l&&n.$$typeof!==u)return;t=n.propTypes}if(t){var f=I(n);!function(e,t,n,f,i){var r=Function.call.bind(W);for(var o in e)if(r(e,o)){var a=void 0;try{if("function"!=typeof e[o]){var s=Error((f||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,f,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}a&&!(a instanceof Error)&&($(i),M("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",f||"React class",n,o,typeof a),$(null)),a instanceof Error&&!(a.message in F)&&(F[a.message]=!0,$(i),M("Failed %s type: %s",n,a.message),$(null))}}(t,e.props,"prop",f,e)}else void 0===n.PropTypes||ae||(ae=!0,M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",I(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function we(e,t,f,m,g,w){var k=function(e){return!!("string"==typeof e||"function"==typeof e||e===i||e===o||j||e===r||e===c||e===d||v||e===p||y||L||C||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===b||void 0!==e.getModuleId))}(e);if(!k){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);S+=N||ue(),null===e?x="null":K(e)?x="array":void 0!==e&&e.$$typeof===n?(x="<"+(I(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,S)}var T=oe(e,t,f,g,w);if(null==T)return T;if(k){var D=t.children;if(void 0!==D)if(m)if(K(D)){for(var A=0;A<D.length;A++)me(D[A],e);Object.freeze&&Object.freeze(D)}else M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else me(D,e)}return e===i?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var f=t[n];if("children"!==f&&"key"!==f){ce(e),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),ce(null);break}}null!==e.ref&&(ce(e),M("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(T):ge(T),T}var Me=function(e,t,n){return we(e,t,n,!1)},be=function(e,t,n){return we(e,t,n,!0)};z.Fragment=i,z.jsx=Me,z.jsxs=be}()),z);var O=D.exports;function P(e){var t,n,f="";if("string"==typeof e||"number"==typeof e)f+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=P(e[t]))&&(f&&(f+=" "),f+=n)}else for(n in e)e[n]&&(f&&(f+=" "),f+=n);return f}function R(){for(var e,t,n=0,f="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=P(e))&&(f&&(f+=" "),f+=t);return f}function J(e){this.content=e}function B(e,t,n){for(let f=0;;f++){if(f==e.childCount||f==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(f),r=t.child(f);if(i!=r){if(!i.sameMarkup(r))return n;if(i.isText&&i.text!=r.text){for(let e=0;i.text[e]==r.text[e];e++)n++;return n}if(i.content.size||r.content.size){let e=B(i.content,r.content,n+1);if(null!=e)return e}n+=i.nodeSize}else n+=i.nodeSize}}function Q(e,t,n,f){for(let i=e.childCount,r=t.childCount;;){if(0==i||0==r)return i==r?null:{a:n,b:f};let o=e.child(--i),a=t.child(--r),s=o.nodeSize;if(o!=a){if(!o.sameMarkup(a))return{a:n,b:f};if(o.isText&&o.text!=a.text){let e=0,t=Math.min(o.text.length,a.text.length);for(;e<t&&o.text[o.text.length-e-1]==a.text[a.text.length-e-1];)e++,n--,f--;return{a:n,b:f}}if(o.content.size||a.content.size){let e=Q(o.content,a.content,n-1,f-1);if(e)return e}n-=s,f-=s}else n-=s,f-=s}}J.prototype={constructor:J,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var f=n&&n!=e?this.remove(n):this,i=f.find(e),r=f.content.slice();return-1==i?r.push(n||e,t):(r[i+1]=t,n&&(r[i]=n)),new J(r)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new J(n)},addToStart:function(e,t){return new J([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new J(n)},addBefore:function(e,t,n){var f=this.remove(t),i=f.content.slice(),r=f.find(e);return i.splice(-1==r?i.length:r,0,t,n),new J(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=J.from(e)).size?new J(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=J.from(e)).size?new J(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=J.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},J.from=function(e){if(e instanceof J)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new J(t)};class Y{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,f=0,i){for(let r=0,o=0;o<t;r++){let a=this.content[r],s=o+a.nodeSize;if(s>e&&!1!==n(a,f+o,i||null,r)&&a.content.size){let i=o+1;a.nodesBetween(Math.max(0,e-i),Math.min(a.content.size,t-i),n,f+i)}o=s}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,f){let i="",r=!0;return this.nodesBetween(e,t,((o,a)=>{let s=o.isText?o.text.slice(Math.max(e,a)-a,t-a):o.isLeaf?f?"function"==typeof f?f(o):f:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&s||o.isTextblock)&&n&&(r?r=!1:i+=n),i+=s}),0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,f=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(n)&&(f[f.length-1]=t.withText(t.text+n.text),i=1);i<e.content.length;i++)f.push(e.content[i]);return new Y(f,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],f=0;if(t>e)for(let i=0,r=0;r<t;i++){let o=this.content[i],a=r+o.nodeSize;a>e&&((r<e||a>t)&&(o=o.isText?o.cut(Math.max(0,e-r),Math.min(o.text.length,t-r)):o.cut(Math.max(0,e-r-1),Math.min(o.content.size,t-r-1))),n.push(o),f+=o.nodeSize),r=a}return new Y(n,f)}cutByIndex(e,t){return e==t?Y.empty:0==e&&t==this.content.length?this:new Y(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let f=this.content.slice(),i=this.size+t.nodeSize-n.nodeSize;return f[e]=t,new Y(f,i)}addToStart(e){return new Y([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Y(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let f=this.content[t];e(f,n,t),n+=f.nodeSize}}findDiffStart(e,t=0){return B(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return Q(this,e,t,n)}findIndex(e){if(0==e)return G(0,e);if(e==this.size)return G(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let f=n+this.child(t).nodeSize;if(f>=e)return f==e?G(t+1,f):G(t,n);n=f}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=>e.toJSON())):null}static fromJSON(e,t){if(!t)return Y.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new Y(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Y.empty;let t,n=0;for(let f=0;f<e.length;f++){let i=e[f];n+=i.nodeSize,f&&i.isText&&e[f-1].sameMarkup(i)?(t||(t=e.slice(0,f)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new Y(t||e,n)}static from(e){if(!e)return Y.empty;if(e instanceof Y)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Y([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}Y.empty=new Y([],0);const U={index:0,offset:0};function G(e,t){return U.index=e,U.offset=t,U}function Z(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!Z(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!Z(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}let H=class e{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let f=0;f<e.length;f++){let i=e[f];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,f));else{if(i.type.excludes(this.type))return e;!n&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,f)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Z(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);let f=n.create(t.attrs);return n.checkAttrs(f.attrs),f}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&0==t.length)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort(((e,t)=>e.type.rank-t.type.rank)),n}};H.none=[];class W extends Error{}class F{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=$(this.content,e+this.openStart,t);return n&&new F(n,this.openStart,this.openEnd)}removeBetween(e,t){return new F(V(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return F.empty;let n=t.openStart||0,f=t.openEnd||0;if("number"!=typeof n||"number"!=typeof f)throw new RangeError("Invalid input for Slice.fromJSON");return new F(Y.fromJSON(e,t.content),n,f)}static maxOpen(e,t=!0){let n=0,f=0;for(let f=e.firstChild;f&&!f.isLeaf&&(t||!f.type.spec.isolating);f=f.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)f++;return new F(e,n,f)}}function V(e,t,n){let{index:f,offset:i}=e.findIndex(t),r=e.maybeChild(f),{index:o,offset:a}=e.findIndex(n);if(i==t||r.isText){if(a!=n&&!e.child(o).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(f!=o)throw new RangeError("Removing non-flat range");return e.replaceChild(f,r.copy(V(r.content,t-i-1,n-i-1)))}function $(e,t,n,f){let{index:i,offset:r}=e.findIndex(t),o=e.maybeChild(i);if(r==t||o.isText)return f&&!f.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));let a=$(o.content,t-r-1,n);return a&&e.replaceChild(i,o.copy(a))}function _(e,t,n){if(n.openStart>e.depth)throw new W("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new W("Inconsistent open depths");return K(e,t,n,0)}function K(e,t,n,f){let i=e.index(f),r=e.node(f);if(i==t.index(f)&&f<e.depth-n.openStart){let o=K(e,t,n,f+1);return r.copy(r.content.replaceChild(i,o))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=f||t.depth!=f){let{start:i,end:o}=function(e,t){let n=t.depth-e.openStart,f=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)f=t.node(e).copy(Y.from(f));return{start:f.resolveNoCache(e.openStart+n),end:f.resolveNoCache(f.content.size-e.openEnd-n)}}(n,e);return ne(r,fe(e,i,o,t,f))}{let f=e.parent,i=f.content;return ne(f,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}}return ne(r,ie(e,t,f))}function X(e,t){if(!t.type.compatibleContent(e.type))throw new W("Cannot join "+t.type.name+" onto "+e.type.name)}function q(e,t,n){let f=e.node(n);return X(f,t.node(n)),f}function ee(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function te(e,t,n,f){let i=(t||e).node(n),r=0,o=t?t.index(n):i.childCount;e&&(r=e.index(n),e.depth>n?r++:e.textOffset&&(ee(e.nodeAfter,f),r++));for(let e=r;e<o;e++)ee(i.child(e),f);t&&t.depth==n&&t.textOffset&&ee(t.nodeBefore,f)}function ne(e,t){return e.type.checkContent(t),e.copy(t)}function fe(e,t,n,f,i){let r=e.depth>i&&q(e,t,i+1),o=f.depth>i&&q(n,f,i+1),a=[];return te(null,e,i,a),r&&o&&t.index(i)==n.index(i)?(X(r,o),ee(ne(r,fe(e,t,n,f,i+1)),a)):(r&&ee(ne(r,ie(e,t,i+1)),a),te(t,n,i,a),o&&ee(ne(o,ie(n,f,i+1)),a)),te(f,null,i,a),new Y(a)}function ie(e,t,n){let f=[];if(te(null,e,n,f),e.depth>n){ee(ne(q(e,t,n+1),ie(e,t,n+1)),f)}return te(t,null,n,f),new Y(f)}F.empty=new F(Y.empty,0,0);class re{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],f=e.child(t);return n?e.child(t).cut(n):f}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],f=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)f+=n.child(t).nodeSize;return f}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return H.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),f=e.maybeChild(t);if(!n){let e=n;n=f,f=e}let i=n.marks;for(var r=0;r<i.length;r++)!1===i[r].type.spec.inclusive&&(!f||!i[r].isInSet(f.marks))&&(i=i[r--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,f=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)!1===n[i].type.spec.inclusive&&(!f||!n[i].isInSet(f.marks))&&(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new le(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],f=0,i=t;for(let t=e;;){let{index:e,offset:r}=t.content.findIndex(i),o=i-r;if(n.push(t,e,f+r),!o||(t=t.child(e),t.isText))break;i=o-1,f+=r+1}return new re(t,n,i)}static resolveCached(e,t){let n=se.get(e);if(n)for(let e=0;e<n.elts.length;e++){let f=n.elts[e];if(f.pos==t)return f}else se.set(e,n=new oe);let f=n.elts[n.i]=re.resolve(e,t);return n.i=(n.i+1)%ae,f}}class oe{constructor(){this.elts=[],this.i=0}}const ae=12,se=new WeakMap;class le{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const ce=Object.create(null);let de=class e{constructor(e,t,n,f=H.none){this.type=e,this.attrs=t,this.marks=f,this.content=n||Y.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,f=0){this.content.nodesBetween(e,t,n,f,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,f){return this.content.textBetween(e,t,n,f)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&Z(this.attrs,t||e.defaultAttrs||ce)&&H.sameSet(this.marks,n||H.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return F.empty;let f=this.resolve(e),i=this.resolve(t),r=n?0:f.sharedDepth(t),o=f.start(r),a=f.node(r).content.cut(f.pos-o,i.pos-o);return new F(a,f.depth-r,i.depth-r)}replace(e,t,n){return _(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:f}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(f==e||t.isText)return t;e-=f+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let f=this.content.child(t-1);return{node:f,index:t-1,offset:n-f.nodeSize}}resolve(e){return re.resolveCached(this,e)}resolveNoCache(e){return re.resolve(this,e)}rangeHasMark(e,t,n){let f=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(f=!0),!f))),f}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),he(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=Y.empty,f=0,i=n.childCount){let r=this.contentMatchAt(e).matchFragment(n,f,i),o=r&&r.matchFragment(this.content,t);if(!o||!o.validEnd)return!1;for(let e=f;e<i;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,f){if(f&&!this.type.allowsMarks(f))return!1;let i=this.contentMatchAt(e).matchType(n),r=i&&i.matchFragment(this.content,t);return!!r&&r.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=H.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!H.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=>e.type.name))}`);this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let f=Y.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,f,n);return i.type.checkAttrs(i.attrs),i}};de.prototype.text=void 0;class ue extends de{constructor(e,t,n,f){if(super(e,t,null,f),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):he(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new ue(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new ue(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function he(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class pe{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new me(e,t);if(null==n.next)return pe.empty;let f=ge(n);n.next&&n.err("Unexpected trailing text");let i=function(e){let t=Object.create(null);return n(Ce(e,0));function n(f){let i=[];f.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let f;for(let e=0;e<i.length;e++)i[e][0]==t&&(f=i[e][1]);Ce(e,n).forEach((e=>{f||i.push([t,f=[]]),-1==f.indexOf(e)&&f.push(e)}))}))}));let r=t[f.join(",")]=new pe(f.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let f=i[e][1].sort(Le);r.next.push({type:i[e][0],next:t[f.join(",")]||n(f)})}return r}}(function(e){let t=[[]];return i(r(e,0),n()),t;function n(){return t.push([])-1}function f(e,n,f){let i={term:f,to:n};return t[e].push(i),i}function i(e,t){e.forEach((e=>e.to=t))}function r(e,t){if("choice"==e.type)return e.exprs.reduce(((e,n)=>e.concat(r(n,t))),[]);if("seq"!=e.type){if("star"==e.type){let o=n();return f(t,o),i(r(e.expr,o),o),[f(o)]}if("plus"==e.type){let o=n();return i(r(e.expr,t),o),i(r(e.expr,o),o),[f(o)]}if("opt"==e.type)return[f(t)].concat(r(e.expr,t));if("range"==e.type){let o=t;for(let t=0;t<e.min;t++){let t=n();i(r(e.expr,o),t),o=t}if(-1==e.max)i(r(e.expr,o),o);else for(let t=e.min;t<e.max;t++){let t=n();f(o,t),i(r(e.expr,o),t),o=t}return[f(o)]}if("name"==e.type)return[f(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let f=0;;f++){let o=r(e.exprs[f],t);if(f==e.exprs.length-1)return o;i(o,t=n())}}}(f));return function(e,t){for(let n=0,f=[e];n<f.length;n++){let e=f[n],i=!e.validEnd,r=[];for(let t=0;t<e.next.length;t++){let{type:n,next:o}=e.next[t];r.push(n.name),i&&!(n.isText||n.hasRequiredAttrs())&&(i=!1),-1==f.indexOf(o)&&f.push(o)}i&&t.err("Only non-generatable nodes ("+r.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,n),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let f=this;for(let i=t;f&&i<n;i++)f=f.matchType(e.child(i).type);return f}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let f=[this];return function i(r,o){let a=r.matchFragment(e,n);if(a&&(!t||a.validEnd))return Y.from(o.map((e=>e.createAndFill())));for(let e=0;e<r.next.length;e++){let{type:t,next:n}=r.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==f.indexOf(n)){f.push(n);let e=i(n,o.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let f=n.shift(),i=f.match;if(i.matchType(e)){let e=[];for(let t=f;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:r,next:o}=i.next[e];!r.isLeaf&&!r.hasRequiredAttrs()&&!(r.name in t)&&(!f.type||o.validEnd)&&(n.push({match:r.contentMatch,type:r,via:f}),t[r.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let f=0;f<n.next.length;f++)-1==e.indexOf(n.next[f].next)&&t(n.next[f].next)}(this),e.map(((t,n)=>{let f=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)f+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return f})).join("\n")}}pe.empty=new pe(!0);class me{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function ge(e){let t=[];do{t.push(we(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function we(e){let t=[];do{t.push(Me(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function Me(e){let t=function(e){if(e.eat("(")){let t=ge(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,f=n[t];if(f)return[f];let i=[];for(let e in n){let f=n[e];f.isInGroup(t)&&i.push(f)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i}(e,e.next).map((t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=ye(e,t)}return t}function be(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function ye(e,t){let n=be(e),f=n;return e.eat(",")&&(f="}"!=e.next?be(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:f,expr:t}}function Le(e,t){return t-e}function Ce(e,t){let n=[];return function t(f){let i=e[f];if(1==i.length&&!i[0].term)return t(i[0].to);n.push(f);for(let e=0;e<i.length;e++){let{term:f,to:r}=i[e];!f&&-1==n.indexOf(r)&&t(r)}}(t),n.sort(Le)}function ve(e){let t=Object.create(null);for(let n in e){let f=e[n];if(!f.hasDefault)return null;t[n]=f.default}return t}function je(e,t){let n=Object.create(null);for(let f in e){let i=t&&t[f];if(void 0===i){let t=e[f];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+f);i=t.default}n[f]=i}return n}function ke(e,t,n,f){for(let f in t)if(!(f in e))throw new RangeError(`Unsupported attribute ${f} for ${n} of type ${f}`);for(let n in e){let f=e[n];f.validate&&f.validate(t[n])}}function Ie(e,t){let n=Object.create(null);if(t)for(let f in t)n[f]=new xe(e,f,t[f]);return n}let Se=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=Ie(e,n.attrs),this.defaultAttrs=ve(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==pe.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:je(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new de(this,this.computeAttrs(e),Y.from(t),H.setFrom(n))}createChecked(e=null,t,n){return t=Y.from(t),this.checkContent(t),new de(this,this.computeAttrs(e),t,H.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=Y.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let f=this.contentMatch.matchFragment(t),i=f&&f.fillBefore(Y.empty,!0);return i?new de(this,e,t.append(i),H.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){ke(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:H.none:e}static compile(t,n){let f=Object.create(null);t.forEach(((t,i)=>f[t]=new e(t,n,i)));let i=n.spec.topNode||"doc";if(!f[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!f.text)throw new RangeError("Every schema needs a 'text' type");for(let e in f.text.attrs)throw new RangeError("The text node type should not have attributes");return f}};class xe{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let f=n.split("|");return n=>{let i=null===n?"null":typeof n;if(f.indexOf(i)<0)throw new RangeError(`Expected value of type ${f} for attribute ${t} on type ${e}, got ${i}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class Ne{constructor(e,t,n,f){this.name=e,this.rank=t,this.schema=n,this.spec=f,this.attrs=Ie(e,f.attrs),this.excluded=null;let i=ve(this.attrs);this.instance=i?new H(this,i):null}create(e=null){return!e&&this.instance?this.instance:new H(this,je(this.attrs,e))}static compile(e,t){let n=Object.create(null),f=0;return e.forEach(((e,i)=>n[e]=new Ne(e,f++,t,i))),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){ke(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class Te{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=J.from(e.nodes),t.marks=J.from(e.marks||{}),this.nodes=Se.compile(this.spec.nodes,this),this.marks=Ne.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw new RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],f=t.spec.content||"",i=t.spec.marks;if(t.contentMatch=n[f]||(n[f]=pe.parse(f,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!t.isInline||!t.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=t}t.markSet="_"==i?null:i?De(this,i.split(" ")):""!=i&&t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:De(this,n.split(" "))}this.nodeFromJSON=e=>de.fromJSON(this,e),this.markFromJSON=e=>H.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,f){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof Se))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,f)}text(e,t){let n=this.nodes.text;return new ue(n,n.defaultAttrs,e,H.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function De(e,t){let n=[];for(let f=0;f<t.length;f++){let i=t[f],r=e.marks[i],o=r;if(r)n.push(r);else for(let t in e.marks){let f=e.marks[t];("_"==i||f.spec.group&&f.spec.group.split(" ").indexOf(i)>-1)&&n.push(o=f)}if(!o)throw new SyntaxError("Unknown mark type: '"+t[f]+"'")}return n}class Ae{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach((e=>{if(null!=e.tag)this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new Je(this,t,!1);return n.addAll(e,H.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Je(this,t,!0);return n.addAll(e,H.none,t.from,t.to),F.maxOpen(n.finish())}matchTag(e,t,n){for(let f=n?this.tags.indexOf(n)+1:0;f<this.tags.length;f++){let n=this.tags[f];if(Be(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,f){for(let i=f?this.styles.indexOf(f)+1:0;i<this.styles.length;i++){let f=this.styles[i],r=f.style;if(!(0!=r.indexOf(e)||f.context&&!n.matchesContext(f.context)||r.length>e.length&&(61!=r.charCodeAt(e.length)||r.slice(e.length+1)!=t))){if(f.getAttrs){let e=f.getAttrs(t);if(!1===e)continue;f.attrs=e||void 0}return f}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,f=0;for(;f<t.length;f++){let e=t[f];if((null==e.priority?50:e.priority)<n)break}t.splice(f,0,e)}for(let t in e.marks){let f=e.marks[t].spec.parseDOM;f&&f.forEach((e=>{n(e=Qe(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)}))}for(let t in e.nodes){let f=e.nodes[t].spec.parseDOM;f&&f.forEach((e=>{n(e=Qe(e)),e.node||e.ignore||e.mark||(e.node=t)}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Ae(e,Ae.schemaRules(e)))}}const Ee={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ze={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Oe={ol:!0,ul:!0};function Pe(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class Re{constructor(e,t,n,f,i,r){this.type=e,this.attrs=t,this.marks=n,this.solid=f,this.options=r,this.content=[],this.activeMarks=H.none,this.match=i||(4&r?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(Y.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=Y.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(Y.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Ee.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Je{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let f,i=t.topNode,r=Pe(null,t.preserveWhitespace,0)|(n?4:0);f=i?new Re(i.type,i.attrs,H.none,!0,t.topMatch||i.type.contentMatch,r):new Re(n?null:e.schema.topNodeType,null,H.none,!0,null,r),this.nodes=[f],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,f=this.top,i=2&f.options?"full":this.localPreserveWS||(1&f.options)>0;if("full"===i||f.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(i)n="full"!==i?n.replace(/\r?\n|\r/g," "):n.replace(/\r\n?/g,"\n");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=f.content[f.content.length-1],i=e.previousSibling;(!t||i&&"BR"==i.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let f=this.localPreserveWS,i=this.top;("PRE"==e.tagName||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let r,o=e.nodeName.toLowerCase();Oe.hasOwnProperty(o)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&Oe.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let a=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(r=this.parser.matchTag(e,this,n));e:if(a?a.ignore:ze.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e,t);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(e=a.skip);let n,f=this.needsBlock;if(Ee.hasOwnProperty(o))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break e}let r=a&&a.skip?t:this.readStyles(e,t);r&&this.addAll(e,r),n&&this.sync(i),this.needsBlock=f}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,a,n,!1===a.consuming?r:void 0)}this.localPreserveWS=f}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"==e.nodeName&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let f=this.parser.matchedStyles[e],i=n.getPropertyValue(f);if(i)for(let e;;){let n=this.parser.matchStyle(f,i,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter((e=>!n.clearMark(e))):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1!==n.consuming)break;e=n}}return t}addElementByRule(e,t,n,f){let i,r;if(t.node)if(r=this.parser.schema.nodes[t.node],r.isLeaf)this.insertNode(r.create(t.attrs),n,"BR"==e.nodeName)||this.leafFallback(e,n);else{let e=this.enter(r,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(r&&r.isLeaf)this.findInside(e);else if(f)this.addElement(e,n,f);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e,n,!1)));else{let f=e;"string"==typeof t.contentElement?f=e.querySelector(t.contentElement):"function"==typeof t.contentElement?f=t.contentElement(e):t.contentElement&&(f=t.contentElement),this.findAround(e,f,!0),this.addAll(f,n),this.findAround(e,f,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,f){let i=n||0;for(let r=n?e.childNodes[n]:e.firstChild,o=null==f?null:e.childNodes[f];r!=o;r=r.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(r,t);this.findAtPoint(e,i)}findPlace(e,t,n){let f,i;for(let t=this.open,r=0;t>=0;t--){let o=this.nodes[t],a=o.findWrapping(e);if(a&&(!f||f.length>a.length+r)&&(f=a,i=o,!a.length))break;if(o.solid){if(n)break;r+=2}}if(!f)return null;this.sync(i);for(let e=0;e<f.length;e++)t=this.enterInner(f[e],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let f=this.findPlace(e,t,n);if(f){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let n=H.none;for(let i of f.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):Ye(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,f){let i=this.findPlace(e.create(t),n,!1);return i&&(i=this.enterInner(e,t,n,!0,f)),i}enterInner(e,t,n,f=!1,i){this.closeExtra();let r=this.top;r.match=r.match&&r.match.matchType(e);let o=Pe(e,i,r.options);4&r.options&&0==r.content.length&&(o|=4);let a=H.none;return n=n.filter((t=>!(r.type?r.type.allowsMarkType(t.type):Ye(t.type,e))||(a=t.addToSet(a),!1))),this.nodes.push(new Re(e,t,a,f,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!(!this.isOpen&&!this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=1)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let f=0;f<this.find.length;f++)null==this.find[f].pos&&1==e.nodeType&&e.contains(this.find[f].node)&&t.compareDocumentPosition(this.find[f].node)&(n?2:4)&&(this.find[f].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,f=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),i=-(n?n.depth+1:0)+(f?0:1),r=(e,o)=>{for(;e>=0;e--){let a=t[e];if(""==a){if(e==t.length-1||0==e)continue;for(;o>=i;o--)if(r(e-1,o))return!0;return!1}{let e=o>0||0==o&&f?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=a&&!e.isInGroup(a))return!1;o--}}return!0};return r(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}}function Be(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Qe(e){let t={};for(let n in e)t[n]=e[n];return t}function Ye(e,t){let n=t.schema.nodes;for(let f in n){let i=n[f];if(!i.allowsMarkType(e))continue;let r=[],o=e=>{r.push(e);for(let n=0;n<e.edgeCount;n++){let{type:f,next:i}=e.edge(n);if(f==t||r.indexOf(i)<0&&o(i))return!0}};if(o(i.contentMatch))return!0}}class Ue{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=Ze(t).createDocumentFragment());let f=n,i=[];return e.forEach((e=>{if(i.length||e.marks.length){let n=0,r=0;for(;n<i.length&&r<e.marks.length;){let t=e.marks[r];if(this.marks[t.type.name]){if(!t.eq(i[n][0])||!1===t.type.spec.spanning)break;n++,r++}else r++}for(;n<i.length;)f=i.pop()[1];for(;r<e.marks.length;){let n=e.marks[r++],o=this.serializeMark(n,e.isInline,t);o&&(i.push([n,f]),f.appendChild(o.dom),f=o.contentDOM||o.dom)}}f.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:f}=Fe(Ze(t),this.nodes[e.type.name](e),null,e.attrs);if(f){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,f)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let f=e.marks.length-1;f>=0;f--){let i=this.serializeMark(e.marks[f],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let f=this.marks[e.type.name];return f&&Fe(Ze(n),f(e,t),null,e.attrs)}static renderSpec(e,t,n=null,f){return Fe(e,t,n,f)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Ue(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Ge(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return Ge(e.marks)}}function Ge(e){let t={};for(let n in e){let f=e[n].spec.toDOM;f&&(t[n]=f)}return t}function Ze(e){return e.document||window.document}const He=new WeakMap;function We(e){let t=He.get(e);return void 0===t&&He.set(e,t=function(e){let t=null;function n(e){if(e&&"object"==typeof e)if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(let t=0;t<e.length;t++)n(e[t]);else for(let t in e)n(e[t])}return n(e),t}(e)),t}function Fe(e,t,n,f){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let i,r=t[0];if("string"!=typeof r)throw new RangeError("Invalid array passed to renderSpec");if(f&&(i=We(f))&&i.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=r.indexOf(" ");o>0&&(n=r.slice(0,o),r=r.slice(o+1));let a,s=n?e.createElementNS(n,r):e.createElement(r),l=t[1],c=1;if(l&&"object"==typeof l&&null==l.nodeType&&!Array.isArray(l)){c=2;for(let e in l)if(null!=l[e]){let t=e.indexOf(" ");t>0?s.setAttributeNS(e.slice(0,t),e.slice(t+1),l[e]):"style"==e&&s.style?s.style.cssText=l[e]:s.setAttribute(e,l[e])}}for(let i=c;i<t.length;i++){let r=t[i];if(0===r){if(i<t.length-1||i>c)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:t,contentDOM:i}=Fe(e,r,n,f);if(s.appendChild(t),i){if(a)throw new RangeError("Multiple content holes");a=i}}}return{dom:s,contentDOM:a}}const Ve=Math.pow(2,16);function $e(e,t){return e+t*Ve}function _e(e){return 65535&e}class Ke{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class Xe{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Xe.empty)return Xe.empty}recover(e){let t=0,n=_e(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*n]+t+((f=e)-(65535&f))/Ve;var f}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let f=0,i=this.inverted?2:1,r=this.inverted?1:2;for(let o=0;o<this.ranges.length;o+=3){let a=this.ranges[o]-(this.inverted?f:0);if(a>e)break;let s=this.ranges[o+i],l=this.ranges[o+r],c=a+s;if(e<=c){let i=a+f+((s?e==a?-1:e==c?1:t:t)<0?0:l);if(n)return i;let r=e==(t<0?a:c)?null:$e(o/3,e-a),d=e==a?2:e==c?1:4;return(t<0?e!=a:e!=c)&&(d|=8),new Ke(i,d,r)}f+=l-s}return n?e+f:new Ke(e+f,0,null)}touches(e,t){let n=0,f=_e(t),i=this.inverted?2:1,r=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let o=this.ranges[t]-(this.inverted?n:0);if(o>e)break;let a=this.ranges[t+i];if(e<=o+a&&t==3*f)return!0;n+=this.ranges[t+r]-a}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let f=0,i=0;f<this.ranges.length;f+=3){let r=this.ranges[f],o=r-(this.inverted?i:0),a=r+(this.inverted?0:i),s=this.ranges[f+t],l=this.ranges[f+n];e(o,o+s,a,a+l),i+=l-s}}invert(){return new Xe(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?Xe.empty:new Xe(e<0?[0,-e,0]:[0,0,e])}}Xe.empty=new Xe([]);class qe{constructor(e,t,n=0,f=(e?e.length:0)){this.mirror=t,this.from=n,this.to=f,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new qe(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),null!=t&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let f=e.getMirror(t);this.appendMap(e._maps[t],null!=f&&f<t?n+f:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let f=e.getMirror(t);this.appendMap(e._maps[t].invert(),null!=f&&f>t?n-f-1:void 0)}}invert(){let e=new qe;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let f=0;for(let n=this.from;n<this.to;n++){let i=this._maps[n].mapResult(e,t);if(null!=i.recover){let t=this.getMirror(n);if(null!=t&&t>n&&t<this.to){n=t,e=this._maps[t].recover(i.recover);continue}}f|=i.delInfo,e=i.pos}return n?e:new Ke(e,f,null)}}const et=Object.create(null);class tt{getMap(){return Xe.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=et[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in et)throw new RangeError("Duplicate use of step JSON ID "+e);return et[e]=t,t.prototype.jsonID=e,t}}class nt{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new nt(e,null)}static fail(e){return new nt(null,e)}static fromReplace(e,t,n,f){try{return nt.ok(e.replace(t,n,f))}catch(e){if(e instanceof W)return nt.fail(e.message);throw e}}}function ft(e,t,n){let f=[];for(let i=0;i<e.childCount;i++){let r=e.child(i);r.content.size&&(r=r.copy(ft(r.content,t,r))),r.isInline&&(r=t(r,n,i)),f.push(r)}return Y.fromArray(f)}class it extends tt{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),f=n.node(n.sharedDepth(this.to)),i=new F(ft(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),f),t.openStart,t.openEnd);return nt.fromReplace(e,this.from,this.to,i)}invert(){return new rt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new it(t.pos,n.pos,this.mark)}merge(e){return e instanceof it&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new it(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new it(t.from,t.to,e.markFromJSON(t.mark))}}tt.jsonID("addMark",it);class rt extends tt{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new F(ft(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return nt.fromReplace(e,this.from,this.to,n)}invert(){return new it(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new rt(t.pos,n.pos,this.mark)}merge(e){return e instanceof rt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new rt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new rt(t.from,t.to,e.markFromJSON(t.mark))}}tt.jsonID("removeMark",rt);class ot extends tt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return nt.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return nt.fromReplace(e,this.pos,this.pos+1,new F(Y.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new ot(this.pos,t.marks[n]);return new ot(this.pos,this.mark)}}return new at(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new ot(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new ot(t.pos,e.markFromJSON(t.mark))}}tt.jsonID("addNodeMark",ot);class at extends tt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return nt.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return nt.fromReplace(e,this.pos,this.pos+1,new F(Y.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new ot(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new at(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new at(t.pos,e.markFromJSON(t.mark))}}tt.jsonID("removeNodeMark",at);class st extends tt{constructor(e,t,n,f=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=f}apply(e){return this.structure&&ct(e,this.from,this.to)?nt.fail("Structure replace would overwrite content"):nt.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Xe([this.from,this.to-this.from,this.slice.size])}invert(e){return new st(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new st(t.pos,Math.max(t.pos,n.pos),this.slice,this.structure)}merge(e){if(!(e instanceof st)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?F.empty:new F(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new st(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?F.empty:new F(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new st(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new st(t.from,t.to,F.fromJSON(e,t.slice),!!t.structure)}}tt.jsonID("replace",st);class lt extends tt{constructor(e,t,n,f,i,r,o=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=f,this.slice=i,this.insert=r,this.structure=o}apply(e){if(this.structure&&(ct(e,this.from,this.gapFrom)||ct(e,this.gapTo,this.to)))return nt.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return nt.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?nt.fromReplace(e,this.from,this.to,n):nt.fail("Content does not fit in gap")}getMap(){return new Xe([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new lt(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),f=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||f<t.pos||i>n.pos?null:new lt(t.pos,n.pos,f,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new lt(t.from,t.to,t.gapFrom,t.gapTo,F.fromJSON(e,t.slice),t.insert,!!t.structure)}}function ct(e,t,n){let f=e.resolve(t),i=n-t,r=f.depth;for(;i>0&&r>0&&f.indexAfter(r)==f.node(r).childCount;)r--,i--;if(i>0){let e=f.node(r).maybeChild(f.indexAfter(r));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function dt(e,t,n,f=n.contentMatch,i=!0){let r=e.doc.nodeAt(t),o=[],a=t+1;for(let t=0;t<r.childCount;t++){let s=r.child(t),l=a+s.nodeSize,c=f.matchType(s.type);if(c){f=c;for(let t=0;t<s.marks.length;t++)n.allowsMarkType(s.marks[t].type)||e.step(new rt(a,l,s.marks[t]));if(i&&s.isText&&"pre"!=n.whitespace){let e,t,f=/\r?\n|\r/g;for(;e=f.exec(s.text);)t||(t=new F(Y.from(n.schema.text(" ",n.allowedMarks(s.marks))),0,0)),o.push(new st(a+e.index,a+e.index+e[0].length,t))}}else o.push(new st(a,l,F.empty));a=l}if(!f.validEnd){let t=f.fillBefore(Y.empty,!0);e.replace(a,a,new F(t,0,0))}for(let t=o.length-1;t>=0;t--)e.step(o[t])}function ut(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function ht(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let f=e.$from.node(n),i=e.$from.index(n),r=e.$to.indexAfter(n);if(n<e.depth&&f.canReplace(i,r,t))return n;if(0==n||f.type.spec.isolating||!ut(f,i,r))break}return null}function pt(e,t,n=null,f=e){let i=function(e,t){let{parent:n,startIndex:f,endIndex:i}=e,r=n.contentMatchAt(f).findWrapping(t);if(!r)return null;let o=r.length?r[0]:t;return n.canReplaceWith(f,i,o)?r:null}(e,t),r=i&&function(e,t){let{parent:n,startIndex:f,endIndex:i}=e,r=n.child(f),o=t.contentMatch.findWrapping(r.type);if(!o)return null;let a=(o.length?o[o.length-1]:t).contentMatch;for(let e=f;a&&e<i;e++)a=a.matchType(n.child(e).type);return a&&a.validEnd?o:null}(f,t);return r?i.map(mt).concat({type:t,attrs:n}).concat(r.map(mt)):null}function mt(e){return{type:e,attrs:null}}function gt(e,t,n,f){t.forEach(((i,r)=>{if(i.isText){let o,a=/\r?\n|\r/g;for(;o=a.exec(i.text);){let i=e.mapping.slice(f).map(n+1+r+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}}))}function wt(e,t,n,f){t.forEach(((i,r)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(f).map(n+1+r);e.replaceWith(i,i+1,t.type.schema.text("\n"))}}))}function Mt(e,t,n=1,f){let i=e.resolve(t),r=i.depth-n,o=f&&f[f.length-1]||i.parent;if(r<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>r;e--,t--){let n=i.node(e),r=i.index(e);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(r,n.childCount),a=f&&f[t+1];a&&(o=o.replaceChild(0,a.type.create(a.attrs)));let s=f&&f[t]||n;if(!n.canReplace(r+1,n.childCount)||!s.type.validContent(o))return!1}let a=i.indexAfter(r),s=f&&f[0];return i.node(r).canReplaceWith(a,a,s?s.type:i.node(r+1).type)}function bt(e,t){let n=e.resolve(t),f=n.index();return yt(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(f,f+1)}function yt(e,t){return!(!e||!t||e.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:f}=e.type.schema;for(let i=0;i<t.childCount;i++){let r=t.child(i),o=r.type==f?e.type.schema.nodes.text:r.type;if(n=n.matchType(o),!n||!e.type.allowsMarks(r.marks))return!1}return n.validEnd}(e,t))}function Lt(e,t,n=-1){let f=e.resolve(t);for(let e=f.depth;;e--){let i,r,o=f.index(e);if(e==f.depth?(i=f.nodeBefore,r=f.nodeAfter):n>0?(i=f.node(e+1),o++,r=f.node(e).maybeChild(o)):(i=f.node(e).maybeChild(o-1),r=f.node(e+1)),i&&!i.isTextblock&&yt(i,r)&&f.node(e).canReplace(o,o+1))return t;if(0==e)break;t=n<0?f.before(e):f.after(e)}}function Ct(e,t,n=t,f=F.empty){if(t==n&&!f.size)return null;let i=e.resolve(t),r=e.resolve(n);return vt(i,r,f)?new st(t,n,f):new jt(i,r,f).fit()}function vt(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}tt.jsonID("replaceAround",lt);class jt{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=Y.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=Y.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,f=this.close(e<0?this.$to:n.doc.resolve(e));if(!f)return null;let i=this.placed,r=n.depth,o=f.depth;for(;r&&o&&1==i.childCount;)i=i.firstChild.content,r--,o--;let a=new F(i,r,o);return e>-1?new lt(n.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||n.pos!=this.$to.pos?new st(n.pos,f.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,f=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(f=0),i.type.spec.isolating&&f<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,f=null;n?(f=St(this.unplaced.content,n-1).firstChild,e=f.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e>=0;e--){let r,{type:o,match:a}=this.frontier[e],s=null;if(1==t&&(i?a.matchType(i.type)||(s=a.fillBefore(Y.from(i),!1)):f&&o.compatibleContent(f.type)))return{sliceDepth:n,frontierDepth:e,parent:f,inject:s};if(2==t&&i&&(r=a.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:f,wrap:r};if(f&&a.matchType(f.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,f=St(e,t);return!(!f.childCount||f.firstChild.isLeaf)&&(this.unplaced=new F(e,t+1,Math.max(n,f.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,f=St(e,t);if(f.childCount<=1&&t>0){let i=e.size-t<=t+f.size;this.unplaced=new F(kt(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new F(kt(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:f,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let e=0;e<i.length;e++)this.openFrontierNode(i[e]);let r=this.unplaced,o=n?n.content:r.content,a=r.openStart-e,s=0,l=[],{match:c,type:d}=this.frontier[t];if(f){for(let e=0;e<f.childCount;e++)l.push(f.child(e));c=c.matchFragment(f)}let u=o.size+e-(r.content.size-r.openEnd);for(;s<o.childCount;){let e=o.child(s),t=c.matchType(e.type);if(!t)break;s++,(s>1||0==a||e.content.size)&&(c=t,l.push(xt(e.mark(d.allowedMarks(e.marks)),1==s?a:0,s==o.childCount?u:-1)))}let h=s==o.childCount;h||(u=-1),this.placed=It(this.placed,t,Y.from(l)),this.frontier[t].match=c,h&&u<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=o;e<u;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=h?0==e?F.empty:new F(kt(r.content,e-1,1),e-1,u<0?r.openEnd:e-1):new F(kt(r.content,e,s),r.openStart,r.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!Nt(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,f=this.$to.after(n);for(;n>1&&f==this.$to.end(--n);)++f;return f}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:f}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),r=Nt(e,t,f,n,i);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:f}=this.frontier[n],i=Nt(e,n,f,t,!0);if(!i||i.childCount)continue e}return{depth:t,fit:r,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=It(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),f=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,f)}return e}openFrontierNode(e,t=null,n){let f=this.frontier[this.depth];f.match=f.match.matchType(e),this.placed=It(this.placed,this.depth,Y.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(Y.empty,!0);e.childCount&&(this.placed=It(this.placed,this.frontier.length,e))}}function kt(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(kt(e.firstChild.content,t-1,n)))}function It(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(It(e.lastChild.content,t-1,n)))}function St(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function xt(e,t,n){if(t<=0)return e;let f=e.content;return t>1&&(f=f.replaceChild(0,xt(f.firstChild,t-1,1==f.childCount?n-1:0))),t>0&&(f=e.type.contentMatch.fillBefore(f).append(f),n<=0&&(f=f.append(e.type.contentMatch.matchFragment(f).fillBefore(Y.empty,!0)))),e.copy(f)}function Nt(e,t,n,f,i){let r=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==r.childCount&&!n.compatibleContent(r.type))return null;let a=f.fillBefore(r.content,!0,o);return a&&!function(e,t,n){for(let f=n;f<t.childCount;f++)if(!e.allowsMarks(t.child(f).marks))return!0;return!1}(n,r.content,o)?a:null}function Tt(e){return e.spec.defining||e.spec.definingForContent}function Dt(e,t,n,f,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(Dt(i.content,t+1,n,f,i)))}if(t>f){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(Y.empty,!0))}return e}function At(e,t){let n=[];for(let f=Math.min(e.depth,t.depth);f>=0;f--){let i=e.start(f);if(i<e.pos-(e.depth-f)||t.end(f)>t.pos+(t.depth-f)||e.node(f).type.spec.isolating||t.node(f).type.spec.isolating)break;(i==t.start(f)||f==e.depth&&f==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&f&&t.start(f-1)==i-1)&&n.push(f)}return n}class Et extends tt{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return nt.fail("No node at attribute step's position");let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let f=t.type.create(n,null,t.marks);return nt.fromReplace(e,this.pos,this.pos+1,new F(Y.from(f),0,t.isLeaf?0:1))}getMap(){return Xe.empty}invert(e){return new Et(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Et(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new Et(t.pos,t.attr,t.value)}}tt.jsonID("attr",Et);class zt extends tt{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return nt.ok(n)}getMap(){return Xe.empty}invert(e){return new zt(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new zt(t.attr,t.value)}}tt.jsonID("docAttr",zt);let Ot=class extends Error{};Ot=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(Ot.prototype=Object.create(Error.prototype)).constructor=Ot,Ot.prototype.name="TransformError";class Pt{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new qe}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Ot(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=F.empty){let f=Ct(this.doc,e,t,n);return f&&this.step(f),this}replaceWith(e,t,n){return this.replace(e,t,new F(Y.from(n),0,0))}delete(e,t){return this.replace(e,t,F.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,f){if(!f.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),r=e.doc.resolve(n);if(vt(i,r,f))return e.step(new st(t,n,f));let o=At(i,e.doc.resolve(n));0==o[o.length-1]&&o.pop();let a=-(i.depth+1);o.unshift(a);for(let e=i.depth,t=i.pos-1;e>0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;o.indexOf(e)>-1?a=e:i.before(e)==t&&o.splice(1,0,-e)}let s=o.indexOf(a),l=[],c=f.openStart;for(let e=f.content,t=0;;t++){let n=e.firstChild;if(l.push(n),t==f.openStart)break;e=n.content}for(let e=c-1;e>=0;e--){let t=l[e],n=Tt(t.type);if(n&&!t.sameMarkup(i.node(Math.abs(a)-1)))c=e;else if(n||!t.type.isTextblock)break}for(let t=f.openStart;t>=0;t--){let a=(t+c+1)%(f.openStart+1),d=l[a];if(d)for(let t=0;t<o.length;t++){let l=o[(t+s)%o.length],c=!0;l<0&&(c=!1,l=-l);let u=i.node(l-1),h=i.index(l-1);if(u.canReplaceWith(h,h,d.type,d.marks))return e.replace(i.before(l),c?r.after(l):n,new F(Dt(f.content,0,f.openStart,a),a,f.openEnd))}}let d=e.steps.length;for(let a=o.length-1;a>=0&&(e.replace(t,n,f),!(e.steps.length>d));a--){let e=o[a];e<0||(t=i.before(e),n=r.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,f){if(!f.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=function(e,t,n){let f=e.resolve(t);if(f.parent.canReplaceWith(f.index(),f.index(),n))return t;if(0==f.parentOffset)for(let e=f.depth-1;e>=0;e--){let t=f.index(e);if(f.node(e).canReplaceWith(t,t,n))return f.before(e+1);if(t>0)return null}if(f.parentOffset==f.parent.content.size)for(let e=f.depth-1;e>=0;e--){let t=f.indexAfter(e);if(f.node(e).canReplaceWith(t,t,n))return f.after(e+1);if(t<f.node(e).childCount)return null}return null}(e.doc,t,f.type);null!=i&&(t=n=i)}e.replaceRange(t,n,new F(Y.from(f),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let f=e.doc.resolve(t),i=e.doc.resolve(n),r=At(f,i);for(let t=0;t<r.length;t++){let n=r[t],o=t==r.length-1;if(o&&0==n||f.node(n).type.contentMatch.validEnd)return e.delete(f.start(n),i.end(n));if(n>0&&(o||f.node(n-1).canReplace(f.index(n-1),i.indexAfter(n-1))))return e.delete(f.before(n),i.after(n))}for(let r=1;r<=f.depth&&r<=i.depth;r++)if(t-f.start(r)==f.depth-r&&n>f.end(r)&&i.end(r)-n!=i.depth-r&&f.start(r-1)==i.start(r-1)&&f.node(r-1).canReplace(f.index(r-1),i.index(r-1)))return e.delete(f.before(r),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:f,$to:i,depth:r}=t,o=f.before(r+1),a=i.after(r+1),s=o,l=a,c=Y.empty,d=0;for(let e=r,t=!1;e>n;e--)t||f.index(e)>0?(t=!0,c=Y.from(f.node(e).copy(c)),d++):s--;let u=Y.empty,h=0;for(let e=r,t=!1;e>n;e--)t||i.after(e+1)<i.end(e)?(t=!0,u=Y.from(i.node(e).copy(u)),h++):l++;e.step(new lt(s,l,o,a,new F(c.append(u),d,h),c.size-d,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let f=null,{linebreakReplacement:i}=e.doc.type.schema,r=e.doc.resolve(t-n),o=r.node().type;if(i&&o.inlineContent){let e="pre"==o.whitespace,t=!!o.contentMatch.matchType(i);e&&!t?f=!1:!e&&t&&(f=!0)}let a=e.steps.length;if(!1===f){let f=e.doc.resolve(t+n);wt(e,f.node(),f.before(),a)}o.inlineContent&&dt(e,t+n-1,o,r.node().contentMatchAt(r.index()),null==f);let s=e.mapping.slice(a),l=s.map(t-n);if(e.step(new st(l,s.map(t+n,-1),F.empty,!0)),!0===f){let t=e.doc.resolve(l);gt(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return function(e,t,n){let f=Y.empty;for(let e=n.length-1;e>=0;e--){if(f.size){let t=n[e].type.contentMatch.matchFragment(f);if(!t||!t.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}f=Y.from(n[e].type.create(n[e].attrs,f))}let i=t.start,r=t.end;e.step(new lt(i,r,i,r,new F(f,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,f=null){return function(e,t,n,f,i){if(!f.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let r=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{let o="function"==typeof i?i(t):i;if(t.isTextblock&&!t.hasMarkup(f,o)&&function(e,t,n){let f=e.resolve(t),i=f.index();return f.parent.canReplaceWith(i,i+1,n)}(e.doc,e.mapping.slice(r).map(n),f)){let i=null;if(f.schema.linebreakReplacement){let e="pre"==f.whitespace,t=!!f.contentMatch.matchType(f.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}!1===i&&wt(e,t,n,r),dt(e,e.mapping.slice(r).map(n,1),f,void 0,null===i);let a=e.mapping.slice(r),s=a.map(n,1),l=a.map(n+t.nodeSize,1);return e.step(new lt(s,l,s+1,l-1,new F(Y.from(f.create(o,null,t.marks)),0,0),1,!0)),!0===i&>(e,t,n,r),!1}}))}(this,e,t,n,f),this}setNodeMarkup(e,t,n=null,f){return function(e,t,n,f,i){let r=e.doc.nodeAt(t);if(!r)throw new RangeError("No node at given position");n||(n=r.type);let o=n.create(f,null,i||r.marks);if(r.isLeaf)return e.replaceWith(t,t+r.nodeSize,o);if(!n.validContent(r.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new lt(t,t+r.nodeSize,t+1,t+r.nodeSize-1,new F(Y.from(o),0,0),1,!0))}(this,e,t,n,f),this}setNodeAttribute(e,t,n){return this.step(new Et(e,t,n)),this}setDocAttribute(e,t){return this.step(new zt(e,t)),this}addNodeMark(e,t){return this.step(new ot(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t instanceof H)t.isInSet(n.marks)&&this.step(new at(e,t));else{let f,i=n.marks,r=[];for(;f=t.isInSet(i);)r.push(new at(e,f)),i=f.removeFromSet(i);for(let e=r.length-1;e>=0;e--)this.step(r[e])}return this}split(e,t=1,n){return function(e,t,n=1,f){let i=e.doc.resolve(t),r=Y.empty,o=Y.empty;for(let e=i.depth,t=i.depth-n,a=n-1;e>t;e--,a--){r=Y.from(i.node(e).copy(r));let t=f&&f[a];o=Y.from(t?t.type.create(t.attrs,o):i.node(e).copy(o))}e.step(new st(t,t,new F(r.append(o),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,f){let i,r,o=[],a=[];e.doc.nodesBetween(t,n,((e,s,l)=>{if(!e.isInline)return;let c=e.marks;if(!f.isInSet(c)&&l.type.allowsMarkType(f.type)){let l=Math.max(s,t),d=Math.min(s+e.nodeSize,n),u=f.addToSet(c);for(let e=0;e<c.length;e++)c[e].isInSet(u)||(i&&i.to==l&&i.mark.eq(c[e])?i.to=d:o.push(i=new rt(l,d,c[e])));r&&r.to==l?r.to=d:a.push(r=new it(l,d,f))}})),o.forEach((t=>e.step(t))),a.forEach((t=>e.step(t)))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,f){let i=[],r=0;e.doc.nodesBetween(t,n,((e,o)=>{if(!e.isInline)return;r++;let a=null;if(f instanceof Ne){let t,n=e.marks;for(;t=f.isInSet(n);)(a||(a=[])).push(t),n=t.removeFromSet(n)}else f?f.isInSet(e.marks)&&(a=[f]):a=e.marks;if(a&&a.length){let f=Math.min(o+e.nodeSize,n);for(let e=0;e<a.length;e++){let n,s=a[e];for(let e=0;e<i.length;e++){let t=i[e];t.step==r-1&&s.eq(i[e].style)&&(n=t)}n?(n.to=f,n.step=r):i.push({style:s,from:Math.max(o,t),to:f,step:r})}}})),i.forEach((t=>e.step(new rt(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return dt(this,e,t,n),this}}const Rt=Object.create(null);class Jt{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new Bt(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=F.empty){let n=t.content.lastChild,f=null;for(let e=0;e<t.openEnd;e++)f=n,n=n.lastChild;let i=e.steps.length,r=this.ranges;for(let o=0;o<r.length;o++){let{$from:a,$to:s}=r[o],l=e.mapping.slice(i);e.replaceRange(l.map(a.pos),l.map(s.pos),o?F.empty:t),0==o&&$t(e,i,(n?n.isInline:f&&f.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,f=this.ranges;for(let i=0;i<f.length;i++){let{$from:r,$to:o}=f[i],a=e.mapping.slice(n),s=a.map(r.pos),l=a.map(o.pos);i?e.deleteRange(s,l):(e.replaceRangeWith(s,l,t),$t(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let f=e.parent.inlineContent?new Ut(e):Vt(e.node(0),e.parent,e.pos,e.index(),t,n);if(f)return f;for(let f=e.depth-1;f>=0;f--){let i=t<0?Vt(e.node(0),e.node(f),e.before(f+1),e.index(f),t,n):Vt(e.node(0),e.node(f),e.after(f+1),e.index(f)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Wt(e.node(0))}static atStart(e){return Vt(e,e,0,0,1)||new Wt(e)}static atEnd(e){return Vt(e,e,e.content.size,e.childCount,-1)||new Wt(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=Rt[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Rt)throw new RangeError("Duplicate use of selection JSON ID "+e);return Rt[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Ut.between(this.$anchor,this.$head).getBookmark()}}Jt.prototype.visible=!0;class Bt{constructor(e,t){this.$from=e,this.$to=t}}let Qt=!1;function Yt(e){!Qt&&!e.parent.inlineContent&&(Qt=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Ut extends Jt{constructor(e,t=e){Yt(e),Yt(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return Jt.near(n);let f=e.resolve(t.map(this.anchor));return new Ut(f.parent.inlineContent?f:n,n)}replace(e,t=F.empty){if(super.replace(e,t),t==F.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof Ut&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Gt(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ut(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let f=e.resolve(t);return new this(f,n==t?f:e.resolve(n))}static between(e,t,n){let f=e.pos-t.pos;if((!n||f)&&(n=f>=0?1:-1),!t.parent.inlineContent){let e=Jt.findFrom(t,n,!0)||Jt.findFrom(t,-n,!0);if(!e)return Jt.near(t,n);t=e.$head}return e.parent.inlineContent||(0==f?e=t:(e=(Jt.findFrom(e,-n,!0)||Jt.findFrom(e,n,!0)).$anchor).pos<t.pos!=f<0&&(e=t)),new Ut(e,t)}}Jt.jsonID("text",Ut);class Gt{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Gt(e.map(this.anchor),e.map(this.head))}resolve(e){return Ut.between(e.resolve(this.anchor),e.resolve(this.head))}}class Zt extends Jt{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:f}=t.mapResult(this.anchor),i=e.resolve(f);return n?Jt.near(i):new Zt(i)}content(){return new F(Y.from(this.node),0,0)}eq(e){return e instanceof Zt&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Ht(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Zt(e.resolve(t.anchor))}static create(e,t){return new Zt(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}Zt.prototype.visible=!1,Jt.jsonID("node",Zt);class Ht{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new Gt(n,n):new Ht(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&Zt.isSelectable(n)?new Zt(t):Jt.near(t)}}class Wt extends Jt{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=F.empty){if(t==F.empty){e.delete(0,e.doc.content.size);let t=Jt.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Wt(e)}map(e){return new Wt(e)}eq(e){return e instanceof Wt}getBookmark(){return Ft}}Jt.jsonID("all",Wt);const Ft={map(){return this},resolve:e=>new Wt(e)};function Vt(e,t,n,f,i,r=!1){if(t.inlineContent)return Ut.create(e,n);for(let o=f-(i>0?0:1);i>0?o<t.childCount:o>=0;o+=i){let f=t.child(o);if(f.isAtom){if(!r&&Zt.isSelectable(f))return Zt.create(e,n-(i<0?f.nodeSize:0))}else{let t=Vt(e,f,n+i,i<0?f.childCount:0,i,r);if(t)return t}n+=f.nodeSize*i}return null}function $t(e,t,n){let f=e.steps.length-1;if(f<t)return;let i,r=e.steps[f];(r instanceof st||r instanceof lt)&&(e.mapping.maps[f].forEach(((e,t,n,f)=>{null==i&&(i=f)})),e.setSelection(Jt.near(e.doc.resolve(i),n)))}class _t extends Pt{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return H.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||H.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let f=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(f.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=n??t,!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,f.text(e,i)),this.selection.empty||this.setSelection(Jt.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function Kt(e,t){return t&&e?e.bind(t):e}class Xt{constructor(e,t,n){this.name=e,this.init=Kt(t.init,n),this.apply=Kt(t.apply,n)}}const qt=[new Xt("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new Xt("selection",{init:(e,t)=>e.selection||Jt.atStart(t.doc),apply:e=>e.selection}),new Xt("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,f)=>f.selection.$cursor?e.storedMarks:null}),new Xt("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class en{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=qt.slice(),t&&t.forEach((e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new Xt(e.key,e.spec.state,e))}))}}class tn{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),f=null;for(;;){let i=!1;for(let r=0;r<this.config.plugins.length;r++){let o=this.config.plugins[r];if(o.spec.appendTransaction){let a=f?f[r].n:0,s=f?f[r].state:this,l=a<t.length&&o.spec.appendTransaction.call(o,a?t.slice(a):t,s,n);if(l&&n.filterTransaction(l,r)){if(l.setMeta("appendedTransaction",e),!f){f=[];for(let e=0;e<this.config.plugins.length;e++)f.push(e<r?{state:n,n:t.length}:{state:this,n:0})}t.push(l),n=n.applyInner(l),i=!0}f&&(f[r]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new tn(this.config),n=this.config.fields;for(let f=0;f<n.length;f++){let i=n[f];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new _t(this)}static create(e){let t=new en(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new tn(t);for(let f=0;f<t.fields.length;f++)n[t.fields[f].name]=t.fields[f].init(e,n);return n}reconfigure(e){let t=new en(this.schema,e.plugins),n=t.fields,f=new tn(t);for(let t=0;t<n.length;t++){let i=n[t].name;f[i]=this.hasOwnProperty(i)?this[i]:n[t].init(e,f)}return f}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((e=>e.toJSON()))),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let f=e[n],i=f.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(f,this[f.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let f=new en(e.schema,e.plugins),i=new tn(f);return f.fields.forEach((f=>{if("doc"==f.name)i.doc=de.fromJSON(e.schema,t.doc);else if("selection"==f.name)i.selection=Jt.fromJSON(i.doc,t.selection);else if("storedMarks"==f.name)t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let o=n[r],a=o.spec.state;if(o.key==f.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(i[f.name]=a.fromJSON.call(o,e,t[r],i))}i[f.name]=f.init(e,i)}})),i}}function nn(e,t,n){for(let f in e){let i=e[f];i instanceof Function?i=i.bind(t):"handleDOMEvents"==f&&(i=nn(i,t,{})),n[f]=i}return n}class fn{constructor(e){this.spec=e,this.props={},e.props&&nn(e.props,this,this.props),this.key=e.key?e.key.key:on("plugin")}getState(e){return e[this.key]}}const rn=Object.create(null);function on(e){return e in rn?e+"$"+ ++rn[e]:(rn[e]=0,e+"$")}class an{constructor(e="key"){this.key=on(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const sn=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},ln=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let cn=null;const dn=function(e,t,n){let f=cn||(cn=document.createRange());return f.setEnd(e,n??e.nodeValue.length),f.setStart(e,t||0),f},un=function(e,t,n,f){return n&&(pn(e,t,n,f,-1)||pn(e,t,n,f,1))},hn=/^(img|br|input|textarea|hr)$/i;function pn(e,t,n,f,i){for(var r;;){if(e==n&&t==f)return!0;if(t==(i<0?0:mn(e))){let n=e.parentNode;if(!n||1!=n.nodeType||gn(e)||hn.test(e.nodeName)||"false"==e.contentEditable)return!1;t=sn(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;{let n=e.childNodes[t+(i<0?-1:0)];if(1==n.nodeType&&"false"==n.contentEditable){if(null===(r=n.pmViewDesc)||void 0===r||!r.ignoreForSelection)return!1;t+=i}else e=n,t=i<0?mn(e):0}}}}function mn(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function gn(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const wn=function(e){return e.focusNode&&un(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function Mn(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const bn=typeof navigator<"u"?navigator:null,yn=typeof document<"u"?document:null,Ln=bn&&bn.userAgent||"",Cn=/Edge\/(\d+)/.exec(Ln),vn=/MSIE \d/.exec(Ln),jn=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ln),kn=!!(vn||jn||Cn),In=vn?document.documentMode:jn?+jn[1]:Cn?+Cn[1]:0,Sn=!kn&&/gecko\/(\d+)/i.test(Ln);Sn&&(/Firefox\/(\d+)/.exec(Ln)||[0,0])[1];const xn=!kn&&/Chrome\/(\d+)/.exec(Ln),Nn=!!xn,Tn=xn?+xn[1]:0,Dn=!kn&&!!bn&&/Apple Computer/.test(bn.vendor),An=Dn&&(/Mobile\/\w+/.test(Ln)||!!bn&&bn.maxTouchPoints>2),En=An||!!bn&&/Mac/.test(bn.platform),zn=!!bn&&/Win/.test(bn.platform),On=/Android \d/.test(Ln),Pn=!!yn&&"webkitFontSmoothing"in yn.documentElement.style,Rn=Pn?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Jn(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Bn(e,t){return"number"==typeof e?e:e[t]}function Qn(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,f=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*f}}function Yn(e,t,n){let f=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,r=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(1!=o.nodeType){o=ln(o);continue}let e=o,n=e==r.body,a=n?Jn(r):Qn(e),s=0,l=0;if(t.top<a.top+Bn(f,"top")?l=-(a.top-t.top+Bn(i,"top")):t.bottom>a.bottom-Bn(f,"bottom")&&(l=t.bottom-t.top>a.bottom-a.top?t.top+Bn(i,"top")-a.top:t.bottom-a.bottom+Bn(i,"bottom")),t.left<a.left+Bn(f,"left")?s=-(a.left-t.left+Bn(i,"left")):t.right>a.right-Bn(f,"right")&&(s=t.right-a.right+Bn(i,"right")),s||l)if(n)r.defaultView.scrollBy(s,l);else{let n=e.scrollLeft,f=e.scrollTop;l&&(e.scrollTop+=l),s&&(e.scrollLeft+=s);let i=e.scrollLeft-n,r=e.scrollTop-f;t={left:t.left-i,top:t.top-r,right:t.right-i,bottom:t.bottom-r}}let c=n?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(c))break;o="absolute"==c?o.offsetParent:ln(o)}}function Un(e){let t=[],n=e.ownerDocument;for(let f=e;f&&(t.push({dom:f,top:f.scrollTop,left:f.scrollLeft}),e!=n);f=ln(f));return t}function Gn(e,t){for(let n=0;n<e.length;n++){let{dom:f,top:i,left:r}=e[n];f.scrollTop!=i+t&&(f.scrollTop=i+t),f.scrollLeft!=r&&(f.scrollLeft=r)}}let Zn=null;function Hn(e,t){let n,f,i,r,o=2e8,a=0,s=t.top,l=t.top;for(let c=e.firstChild,d=0;c;c=c.nextSibling,d++){let e;if(1==c.nodeType)e=c.getClientRects();else{if(3!=c.nodeType)continue;e=dn(c).getClientRects()}for(let u=0;u<e.length;u++){let h=e[u];if(h.top<=s&&h.bottom>=l){s=Math.max(h.bottom,s),l=Math.min(h.top,l);let e=h.left>t.left?h.left-t.left:h.right<t.left?t.left-h.right:0;if(e<o){n=c,o=e,f=e&&3==n.nodeType?{left:h.right<t.left?h.right:h.left,top:t.top}:t,1==c.nodeType&&e&&(a=d+(t.left>=(h.left+h.right)/2?1:0));continue}}else h.top>t.top&&!i&&h.left<=t.left&&h.right>=t.left&&(i=c,r={left:Math.max(h.left,Math.min(h.right,t.left)),top:h.top});!n&&(t.left>=h.right&&t.top>=h.top||t.left>=h.left&&t.top>=h.bottom)&&(a=d+1)}}return!n&&i&&(n=i,f=r,o=0),n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,f=document.createRange();for(let i=0;i<n;i++){f.setEnd(e,i+1),f.setStart(e,i);let n=_n(f,1);if(n.top!=n.bottom&&Wn(t,n))return{node:e,offset:i+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,f):!n||o&&1==n.nodeType?{node:e,offset:a}:Hn(n,f)}function Wn(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Fn(e,t,n){let f=e.childNodes.length;if(f&&n.top<n.bottom)for(let i=Math.max(0,Math.min(f-1,Math.floor(f*(t.top-n.top)/(n.bottom-n.top))-2)),r=i;;){let n=e.childNodes[r];if(1==n.nodeType){let e=n.getClientRects();for(let f=0;f<e.length;f++){let i=e[f];if(Wn(t,i))return Fn(n,t,i)}}if((r=(r+1)%f)==i)break}return e}function Vn(e,t){let n,f=e.dom.ownerDocument,i=0,r=function(e,t,n){if(e.caretPositionFromPoint)try{let f=e.caretPositionFromPoint(t,n);if(f)return{node:f.offsetNode,offset:Math.min(mn(f.offsetNode),f.offset)}}catch{}if(e.caretRangeFromPoint){let f=e.caretRangeFromPoint(t,n);if(f)return{node:f.startContainer,offset:Math.min(mn(f.startContainer),f.startOffset)}}}(f,t.left,t.top);r&&({node:n,offset:i}=r);let o,a=(e.root.elementFromPoint?e.root:f).elementFromPoint(t.left,t.top);if(!a||!e.dom.contains(1!=a.nodeType?a.parentNode:a)){let n=e.dom.getBoundingClientRect();if(!Wn(t,n)||(a=Fn(e.dom,t,n),!a))return null}if(Dn)for(let e=a;n&&e;e=ln(e))e.draggable&&(n=void 0);if(a=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(a,t),n){if(Sn&&1==n.nodeType&&(i=Math.min(i,n.childNodes.length),i<n.childNodes.length)){let e,f=n.childNodes[i];"IMG"==f.nodeName&&(e=f.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&i++}let f;Pn&&i&&1==n.nodeType&&1==(f=n.childNodes[i-1]).nodeType&&"false"==f.contentEditable&&f.getBoundingClientRect().top>=t.top&&i--,n==e.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?o=e.state.doc.content.size:(0==i||1!=n.nodeType||"BR"!=n.childNodes[i-1].nodeName)&&(o=function(e,t,n,f){let i=-1;for(let n=t,r=!1;n!=e.dom;){let t,o=e.docView.nearestDesc(n,!0);if(!o)return null;if(1==o.dom.nodeType&&(o.node.isBlock&&o.parent||!o.contentDOM)&&((t=o.dom.getBoundingClientRect()).width||t.height)&&(o.node.isBlock&&o.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(o.dom.nodeName)&&(!r&&t.left>f.left||t.top>f.top?i=o.posBefore:(!r&&t.right<f.left||t.bottom<f.top)&&(i=o.posAfter),r=!0),!o.contentDOM&&i<0&&!o.node.isText))return(o.node.isBlock?f.top<(t.top+t.bottom)/2:f.left<(t.left+t.right)/2)?o.posBefore:o.posAfter;n=o.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}(e,n,i,t))}null==o&&(o=function(e,t,n){let{node:f,offset:i}=Hn(t,n),r=-1;if(1==f.nodeType&&!f.firstChild){let e=f.getBoundingClientRect();r=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(f,i,r)}(e,a,t));let s=e.docView.nearestDesc(a,!0);return{pos:o,inside:s?s.posAtStart-s.border:-1}}function $n(e){return e.top<e.bottom||e.left<e.right}function _n(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if($n(e))return e}return Array.prototype.find.call(n,$n)||e.getBoundingClientRect()}const Kn=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Xn(e,t,n){let{node:f,offset:i,atom:r}=e.docView.domFromPos(t,n<0?-1:1),o=Pn||Sn;if(3==f.nodeType){if(!o||!Kn.test(f.nodeValue)&&(n<0?i:i!=f.nodeValue.length)){let e=i,t=i,r=n<0?1:-1;return n<0&&!i?(t++,r=-1):n>=0&&i==f.nodeValue.length?(e--,r=1):n<0?e--:t++,qn(_n(dn(f,e,t),r),r<0)}{let e=_n(dn(f,i,i),n);if(Sn&&i&&/\s/.test(f.nodeValue[i-1])&&i<f.nodeValue.length){let t=_n(dn(f,i-1,i-1),-1);if(t.top==e.top){let n=_n(dn(f,i,i+1),-1);if(n.top!=e.top)return qn(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(r||0)).parent.inlineContent){if(null==r&&i&&(n<0||i==mn(f))){let e=f.childNodes[i-1];if(1==e.nodeType)return ef(e.getBoundingClientRect(),!1)}if(null==r&&i<mn(f)){let e=f.childNodes[i];if(1==e.nodeType)return ef(e.getBoundingClientRect(),!0)}return ef(f.getBoundingClientRect(),n>=0)}if(null==r&&i&&(n<0||i==mn(f))){let e=f.childNodes[i-1],t=3==e.nodeType?dn(e,mn(e)-(o?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return qn(_n(t,1),!1)}if(null==r&&i<mn(f)){let e=f.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?dn(e,0,o?0:1):1==e.nodeType?e:null:null;if(t)return qn(_n(t,-1),!0)}return qn(_n(3==f.nodeType?dn(f):f,-n),n>=0)}function qn(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function ef(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function tf(e,t,n){let f=e.state,i=e.root.activeElement;f!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{f!=t&&e.updateState(f),i!=e.dom&&i&&i.focus()}}const nf=/[\u0590-\u08ac]/;let ff=null,rf=null,of=!1;function af(e,t,n){return ff==t&&rf==n?of:(ff=t,rf=n,of="up"==n||"down"==n?function(e,t,n){let f=t.selection,i="up"==n?f.$from:f.$to;return tf(e,t,(()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let f=Xn(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=dn(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&("up"==n?f.top-i.top>2*(i.bottom-f.top):i.bottom-f.bottom>2*(f.bottom-i.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:f}=t.selection;if(!f.parent.isTextblock)return!1;let i=f.parentOffset,r=!i,o=i==f.parent.content.size,a=e.domSelection();return a?nf.test(f.parent.textContent)&&a.modify?tf(e,t,(()=>{let{focusNode:t,focusOffset:i,anchorNode:r,anchorOffset:o}=e.domSelectionRange(),s=a.caretBidiLevel;a.modify("move",n,"character");let l=f.depth?e.docView.domAfterPos(f.before()):e.dom,{focusNode:c,focusOffset:d}=e.domSelectionRange(),u=c&&!l.contains(1==c.nodeType?c:c.parentNode)||t==c&&i==d;try{a.collapse(r,o),t&&(t!=r||i!=o)&&a.extend&&a.extend(t,i)}catch{}return null!=s&&(a.caretBidiLevel=s),u})):"left"==n||"backward"==n?r:o:f.pos==f.start()||f.pos==f.end()}(e,t,n))}class sf{constructor(e,t,n,f){this.parent=e,this.children=t,this.dom=n,this.contentDOM=f,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let f=this.children[t];if(f==e)return n;n+=f.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,f;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(f=n.pmViewDesc)||f.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(f)+f.size:this.posAtStart}{let n,f;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(f=n.pmViewDesc)||f.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(f):this.posAtEnd}}let f;if(e==this.dom&&this.contentDOM)f=t>sn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))f=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){f=!1;break}if(t.previousSibling)break}if(null==f&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){f=!0;break}if(t.nextSibling)break}}return f??n>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,f=e;f;f=f.parentNode){let i,r=this.getDesc(f);if(r&&(!t||r.node)){if(!n||!(i=r.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return r;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let f=e;f;f=f.parentNode){let i=this.getDesc(f);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let f=this.children[t],i=n+f.size;if(n==e&&i!=n){for(;!f.border&&f.children.length;)for(let e=0;e<f.children.length;e++){let t=f.children[e];if(t.size){f=t;break}}return f}if(e<i)return f.descAt(e-n-f.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,f=0;for(let t=0;n<this.children.length;n++){let i=this.children[n],r=t+i.size;if(r>e||i instanceof mf){f=e-t;break}t=r}if(f)return this.children[n].domFromPos(f-this.children[n].border,t);for(let e;n&&!(e=this.children[n-1]).size&&e instanceof lf&&e.side>=0;n--);if(t<=0){let e,f=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,f=!1);return e&&t&&f&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?sn(e.dom)+1:0}}{let e,f=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,f=!1);return e&&f&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?sn(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let f=-1,i=-1;for(let r=n,o=0;;o++){let n=this.children[o],a=r+n.size;if(-1==f&&e<=a){let i=r+n.border;if(e>=i&&t<=a-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=r;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){f=sn(n.dom)+1;break}e-=n.size}-1==f&&(f=0)}if(f>-1&&(a>t||o==this.children.length-1)){t=a;for(let e=o+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=sn(n.dom);break}t+=n.size}-1==i&&(i=this.contentDOM.childNodes.length);break}r=a}return{node:this.contentDOM,from:e,to:t,fromOffset:f,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,f=!1){let i=Math.min(e,t),r=Math.max(e,t);for(let o=0,a=0;o<this.children.length;o++){let s=this.children[o],l=a+s.size;if(i>a&&r<l)return s.setSelection(e-a-s.border,t-a-s.border,n,f);a=l}let o=this.domFromPos(e,e?-1:1),a=t==e?o:this.domFromPos(t,t?-1:1),s=n.root.getSelection(),l=n.domSelectionRange(),c=!1;if((Sn||Dn)&&e==t){let{node:e,offset:t}=o;if(3==e.nodeType){if(c=!(!t||"\n"!=e.nodeValue[t-1]),c&&t==e.nodeValue.length)for(let t,n=e;n;n=n.parentNode){if(t=n.nextSibling){"BR"==t.nodeName&&(o=a={node:t.parentNode,offset:sn(t)+1});break}let e=n.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];c=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(Sn&&l.focusNode&&l.focusNode!=a.node&&1==l.focusNode.nodeType){let e=l.focusNode.childNodes[l.focusOffset];e&&"false"==e.contentEditable&&(f=!0)}if(!(f||c&&Dn)&&un(o.node,o.offset,l.anchorNode,l.anchorOffset)&&un(a.node,a.offset,l.focusNode,l.focusOffset))return;let d=!1;if((s.extend||e==t)&&!c){s.collapse(o.node,o.offset);try{e!=t&&s.extend(a.node,a.offset),d=!0}catch{}}if(!d){if(e>t){let e=o;o=a,a=e}let n=document.createRange();n.setEnd(a.node,a.offset),n.setStart(o.node,o.offset),s.removeAllRanges(),s.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,f=0;f<this.children.length;f++){let i=this.children[f],r=n+i.size;if(n==r?e<=r&&t>=n:e<r&&t>n){let f=n+i.border,o=r-i.border;if(e>=f&&t<=o)return this.dirty=e==n||t==r?2:1,void(e!=f||t!=o||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-f,t-f):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=r}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class lf extends sf{constructor(e,t,n,f){let i,r=t.type.toDOM;if("function"==typeof r&&(r=r(n,(()=>i?i.parent?i.parent.posBeforeChild(i):void 0:f))),!t.type.spec.raw){if(1!=r.nodeType){let e=document.createElement("span");e.appendChild(r),r=e}r.contentEditable="false",r.classList.add("ProseMirror-widget")}super(e,[],r,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class cf extends sf{constructor(e,t,n,f){super(e,[],t,null),this.textDOM=n,this.text=f}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class df extends sf{constructor(e,t,n,f,i){super(e,[],n,f),this.mark=t,this.spec=i}static create(e,t,n,f){let i=f.nodeViews[t.type.name],r=i&&i(t,f,n);return(!r||!r.dom)&&(r=Ue.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new df(e,t,r.dom,r.contentDOM||r.dom,r)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let f=df.create(this.parent,this.mark,!0,n),i=this.children,r=this.size;t<r&&(i=xf(i,t,r,n)),e>0&&(i=xf(i,0,e,n));for(let e=0;e<i.length;e++)i[e].parent=f;return f.children=i,f}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class uf extends sf{constructor(e,t,n,f,i,r,o,a,s){super(e,[],i,r),this.node=t,this.outerDeco=n,this.innerDeco=f,this.nodeDOM=o}static create(e,t,n,f,i,r){let o,a=i.nodeViews[t.type.name],s=a&&a(t,i,(()=>o?o.parent?o.parent.posBeforeChild(o):void 0:r),n,f),l=s&&s.dom,c=s&&s.contentDOM;if(t.isText)if(l){if(3!=l.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else l=document.createTextNode(t.text);else l||({dom:l,contentDOM:c}=Ue.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs));!c&&!t.isText&&"BR"!=l.nodeName&&(l.hasAttribute("contenteditable")||(l.contentEditable="false"),t.type.spec.draggable&&(l.draggable=!0));let d=l;return l=vf(l,n,t),s?o=new gf(e,t,n,f,l,c||null,d,s,i,r+1):t.isText?new pf(e,t,n,f,l,d,i):new uf(e,t,n,f,l,c||null,d,i,r+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Y.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&jf(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,f=t,i=e.composing?this.localCompositionInfo(e,t):null,r=i&&i.pos>-1?i:null,o=i&&i.pos<0,a=new If(this,r&&r.node,e);(function(e,t,n,f){let i=t.locals(e),r=0;if(0==i.length){for(let n=0;n<e.childCount;n++){let o=e.child(n);f(o,i,t.forChild(r,o),n),r+=o.nodeSize}return}let o=0,a=[],s=null;for(let l=0;;){let c,d,u,h;for(;o<i.length&&i[o].to==r;){let e=i[o++];e.widget&&(c?(d||(d=[c])).push(e):c=e)}if(c)if(d){d.sort(Sf);for(let e=0;e<d.length;e++)n(d[e],l,!!s)}else n(c,l,!!s);if(s)h=-1,u=s,s=null;else{if(!(l<e.childCount))break;h=l,u=e.child(l++)}for(let e=0;e<a.length;e++)a[e].to<=r&&a.splice(e--,1);for(;o<i.length&&i[o].from<=r&&i[o].to>r;)a.push(i[o++]);let p=r+u.nodeSize;if(u.isText){let e=p;o<i.length&&i[o].from<e&&(e=i[o].from);for(let t=0;t<a.length;t++)a[t].to<e&&(e=a[t].to);e<p&&(s=u.cut(e-r),u=u.cut(0,e-r),p=e,h=-1)}else for(;o<i.length&&i[o].to<p;)o++;f(u,u.isInline&&!u.isLeaf?a.filter((e=>!e.inline)):a.slice(),t.forChild(r,u),h),r=p}})(this.node,this.innerDeco,((t,i,r)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!r&&a.syncToMarks(i==this.node.childCount?H.none:this.node.child(i).marks,n,e),a.placeWidget(t,e,f)}),((t,r,s,l)=>{let c;a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,r,s,l)||o&&e.state.selection.from>f&&e.state.selection.to<f+t.nodeSize&&(c=a.findIndexWithChild(i.node))>-1&&a.updateNodeAt(t,r,s,c,e)||a.updateNextNode(t,r,s,e,l,f)||a.addNode(t,r,s,e,f),f+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(r&&this.protectLocalComposition(e,r),wf(this.contentDOM,this.children,e),An&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:f}=e.state.selection;if(!(e.state.selection instanceof Ut)||n<t||f>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,r=function(e,t,n,f){for(let i=0,r=0;i<e.childCount&&r<=f;){let o=e.child(i++),a=r;if(r+=o.nodeSize,!o.isText)continue;let s=o.text;for(;i<e.childCount;){let t=e.child(i++);if(r+=t.nodeSize,!t.isText)break;s+=t.text}if(r>=n){if(r>=f&&s.slice(f-t.length-a,f-a)==t)return f-t.length;let e=a<f?s.lastIndexOf(t,f-a-1):-1;if(e>=0&&e+t.length+a>=n)return a+e;if(n==f&&s.length>=f+t.length-a&&s.slice(f-a,f-a+t.length)==t)return f}}return-1}(this.node.content,e,n-t,f-t);return r<0?null:{node:i,pos:r,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:f}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let r=new cf(this,i,t,f);e.input.compositionNodes.push(r),this.children=xf(this.children,n,n+f.length,e,r)}update(e,t,n,f){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,f),!0)}updateInner(e,t,n,f){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(f,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(jf(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=Lf(this.dom,this.nodeDOM,yf(this.outerDeco,this.node,t),yf(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function hf(e,t,n,f,i){vf(f,t,e);let r=new uf(void 0,e,t,n,f,f,f,i,0);return r.contentDOM&&r.updateChildren(i,0),r}class pf extends uf{constructor(e,t,n,f,i,r,o){super(e,t,n,f,i,null,r,o,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,f){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),(0!=this.dirty||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,f.trackWrites==this.nodeDOM&&(f.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let f=this.node.cut(e,t),i=document.createTextNode(f.text);return new pf(this.parent,f,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(0==e||t==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class mf extends sf{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class gf extends uf{constructor(e,t,n,f,i,r,o,a,s,l){super(e,t,n,f,i,r,o,s,l),this.spec=a}update(e,t,n,f){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,f),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,f)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,f){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,f)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function wf(e,t,n){let f=e.firstChild,i=!1;for(let r=0;r<t.length;r++){let o=t[r],a=o.dom;if(a.parentNode==e){for(;a!=f;)f=kf(f),i=!0;f=f.nextSibling}else i=!0,e.insertBefore(a,f);if(o instanceof df){let t=f?f.previousSibling:e.lastChild;wf(o.contentDOM,o.children,n),f=t?t.nextSibling:e.firstChild}}for(;f;)f=kf(f),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}const Mf=function(e){e&&(this.nodeName=e)};Mf.prototype=Object.create(null);const bf=[new Mf];function yf(e,t,n){if(0==e.length)return bf;let f=n?bf[0]:new Mf,i=[f];for(let r=0;r<e.length;r++){let o=e[r].type.attrs;if(o){o.nodeName&&i.push(f=new Mf(o.nodeName));for(let e in o){let r=o[e];null!=r&&(n&&1==i.length&&i.push(f=new Mf(t.isInline?"span":"div")),"class"==e?f.class=(f.class?f.class+" ":"")+r:"style"==e?f.style=(f.style?f.style+";":"")+r:"nodeName"!=e&&(f[e]=r))}}}return i}function Lf(e,t,n,f){if(n==bf&&f==bf)return t;let i=t;for(let t=0;t<f.length;t++){let r=f[t],o=n[t];if(t){let t;o&&o.nodeName==r.nodeName&&i!=e&&(t=i.parentNode)&&t.nodeName.toLowerCase()==r.nodeName||(t=document.createElement(r.nodeName),t.pmIsDeco=!0,t.appendChild(i),o=bf[0]),i=t}Cf(i,o||bf[0],r)}return i}function Cf(e,t,n){for(let f in t)"class"!=f&&"style"!=f&&"nodeName"!=f&&!(f in n)&&e.removeAttribute(f);for(let f in n)"class"!=f&&"style"!=f&&"nodeName"!=f&&n[f]!=t[f]&&e.setAttribute(f,n[f]);if(t.class!=n.class){let f=t.class?t.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<f.length;t++)-1==i.indexOf(f[t])&&e.classList.remove(f[t]);for(let t=0;t<i.length;t++)-1==f.indexOf(i[t])&&e.classList.add(i[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,f=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=f.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function vf(e,t,n){return Lf(e,e,bf,yf(t,n,1!=e.nodeType))}function jf(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function kf(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class If{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,f=n.children.length,i=e.childCount,r=new Map,o=[];e:for(;i>0;){let a;for(;;)if(f){let e=n.children[f-1];if(!(e instanceof df)){a=e,f--;break}n=e,f=e.children.length}else{if(n==t)break e;f=n.parent.children.indexOf(n),n=n.parent}let s=a.node;if(s){if(s!=e.child(i-1))break;--i,r.set(a,i),o.push(a)}}return{index:i,matched:r,matches:o.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n){let f=0,i=this.stack.length>>1,r=Math.min(i,e.length);for(;f<r&&(f==i-1?this.top:this.stack[f+1<<1]).matchesMark(e[f])&&!1!==e[f].type.spec.spanning;)f++;for(;f<i;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let f=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++){let n=this.top.children[t];if(n.matchesMark(e[i])&&!this.isLocked(n.dom)){f=t;break}}if(f>-1)f>this.index&&(this.changed=!0,this.destroyBetween(this.index,f)),this.top=this.top.children[this.index];else{let f=df.create(this.top,e[i],t,n);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,n,f){let i,r=-1;if(f>=this.preMatch.index&&(i=this.preMatch.matches[f-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))r=this.top.children.indexOf(i,this.index);else for(let f=this.index,i=Math.min(this.top.children.length,f+5);f<i;f++){let i=this.top.children[f];if(i.matchesNode(e,t,n)&&!this.preMatch.matched.has(i)){r=f;break}}return!(r<0)&&(this.destroyBetween(this.index,r),this.index++,!0)}updateNodeAt(e,t,n,f,i){let r=this.top.children[f];return 3==r.dirty&&r.dom==r.contentDOM&&(r.dirty=2),!!r.update(e,t,n,i)&&(this.destroyBetween(this.index,f),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,f,i,r){for(let o=this.index;o<this.top.children.length;o++){let a=this.top.children[o];if(a instanceof uf){let s=this.preMatch.matched.get(a);if(null!=s&&s!=i)return!1;let l,c=a.dom,d=this.isLocked(c)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&3!=a.dirty&&jf(t,a.outerDeco));if(!d&&a.update(e,t,n,f))return this.destroyBetween(this.index,o),a.dom!=c&&(this.changed=!0),this.index++,!0;if(!d&&(l=this.recreateWrapper(a,e,t,n,f,r)))return this.destroyBetween(this.index,o),this.top.children[this.index]=l,l.contentDOM&&(l.dirty=2,l.updateChildren(f,r+1),l.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,f,i,r){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!jf(n,e.outerDeco)||!f.eq(e.innerDeco))return null;let o=uf.create(this.top,t,n,f,i,r);if(o.contentDOM){o.children=e.children,e.children=[];for(let e of o.children)e.parent=o}return e.destroy(),o}addNode(e,t,n,f,i){let r=uf.create(this.top,e,t,n,f,i);r.contentDOM&&r.updateChildren(f,i+1),this.top.children.splice(this.index++,0,r),this.changed=!0}placeWidget(e,t,n){let f=this.index<this.top.children.length?this.top.children[this.index]:null;if(!f||!f.matchesWidget(e)||e!=f.widget&&f.widget.type.toDOM.parentNode){let f=new lf(this.top,e,t,n);this.top.children.splice(this.index++,0,f),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof df;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof pf)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Dn||Nn)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let f=new mf(this.top,[],n,null);t!=this.top?t.children.push(f):t.children.splice(this.index++,0,f),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function Sf(e,t){return e.type.side-t.type.side}function xf(e,t,n,f,i){let r=[];for(let o=0,a=0;o<e.length;o++){let s=e[o],l=a,c=a+=s.size;l>=n||c<=t?r.push(s):(l<t&&r.push(s.slice(0,t-l,f)),i&&(r.push(i),i=void 0),c>n&&r.push(s.slice(n-l,s.size,f)))}return r}function Nf(e,t=null){let n=e.domSelectionRange(),f=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),r=i&&0==i.size,o=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let a,s,l=f.resolve(o);if(wn(n)){for(a=o;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&Zt.isSelectable(e)&&i.parent&&(!e.isInline||!function(e,t,n){for(let f=0==t,i=t==mn(e);f||i;){if(e==n)return!0;let t=sn(e);if(!(e=e.parentNode))return!1;f=f&&0==t,i=i&&t==mn(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;s=new Zt(o==e?l:f.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=o,i=o;for(let f=0;f<n.rangeCount;f++){let r=n.getRangeAt(f);t=Math.min(t,e.docView.posFromDOM(r.startContainer,r.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(r.endContainer,r.endOffset,-1))}if(t<0)return null;[a,o]=i==e.state.selection.anchor?[i,t]:[t,i],l=f.resolve(o)}else a=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(a<0)return null}let c=f.resolve(a);if(!s){s=Jf(e,c,l,"pointer"==t||e.state.selection.head<l.pos&&!r?1:-1)}return s}function Tf(e){return e.editable?e.hasFocus():Qf(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Df(e,t=!1){let n=e.state.selection;if(Pf(e,n),Tf(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&Nn){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&un(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection(),n=document.createRange();if(!t)return;let f=e.cursorWrapper.dom,i="IMG"==f.nodeName;i?n.setStart(f.parentNode,sn(f)+1):n.setStart(f,0),n.collapse(!0),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&kn&&In<=11&&(f.disabled=!0,f.disabled=!1)}(e);else{let f,i,{anchor:r,head:o}=n;Af&&!(n instanceof Ut)&&(n.$from.parent.inlineContent||(f=Ef(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(i=Ef(e,n.to))),e.docView.setSelection(r,o,e,t),Af&&(f&&Of(f),i&&Of(i)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),f=n.anchorNode,i=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{(n.anchorNode!=f||n.anchorOffset!=i)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{(!Tf(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Af=Dn||Nn&&Tn<63;function Ef(e,t){let{node:n,offset:f}=e.docView.domFromPos(t,0),i=f<n.childNodes.length?n.childNodes[f]:null,r=f?n.childNodes[f-1]:null;if(Dn&&i&&"false"==i.contentEditable)return zf(i);if(!(i&&"false"!=i.contentEditable||r&&"false"!=r.contentEditable)){if(i)return zf(i);if(r)return zf(r)}}function zf(e){return e.contentEditable="true",Dn&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Of(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Pf(e,t){if(t instanceof Zt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Rf(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Rf(e)}function Rf(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Jf(e,t,n,f){return e.someProp("createSelectionBetween",(f=>f(e,t,n)))||Ut.between(t,n,f)}function Bf(e){return!(e.editable&&!e.hasFocus())&&Qf(e)}function Qf(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function Yf(e,t){let{$anchor:n,$head:f}=e.selection,i=t>0?n.max(f):n.min(f),r=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return r&&Jt.findFrom(r,t)}function Uf(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Gf(e,t,n){let f=e.state.selection;if(!(f instanceof Ut)){if(f instanceof Zt&&f.node.isInline)return Uf(e,new Ut(t>0?f.$to:f.$from));{let n=Yf(e.state,t);return!!n&&Uf(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=f,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let r=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return Uf(e,new Ut(f.$anchor,r))}if(!f.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=Yf(e.state,t);return!!(n&&n instanceof Zt)&&Uf(e,n)}if(!(En&&n.indexOf("m")>-1)){let n,i=f.$head,r=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!r||r.isText)return!1;let o=t<0?i.pos-r.nodeSize:i.pos;return!!(r.isAtom||(n=e.docView.descAt(o))&&!n.contentDOM)&&(Zt.isSelectable(r)?Uf(e,new Zt(t<0?e.state.doc.resolve(i.pos-r.nodeSize):i)):!!Pn&&Uf(e,new Ut(e.state.doc.resolve(t<0?o:o+r.nodeSize))))}}function Zf(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Hf(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function Wf(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,f=t.focusOffset;if(!n)return;let i,r,o=!1;for(Sn&&1==n.nodeType&&f<Zf(n)&&Hf(n.childNodes[f],-1)&&(o=!0);;)if(f>0){if(1!=n.nodeType)break;{let e=n.childNodes[f-1];if(Hf(e,-1))i=n,r=--f;else{if(3!=e.nodeType)break;n=e,f=n.nodeValue.length}}}else{if(Ff(n))break;{let t=n.previousSibling;for(;t&&Hf(t,-1);)i=n.parentNode,r=sn(t),t=t.previousSibling;if(t)n=t,f=Zf(n);else{if(n=n.parentNode,n==e.dom)break;f=0}}}o?Vf(e,n,f):i&&Vf(e,i,r)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,f=t.focusOffset;if(!n)return;let i,r,o=Zf(n);for(;;)if(f<o){if(1!=n.nodeType)break;if(!Hf(n.childNodes[f],1))break;i=n,r=++f}else{if(Ff(n))break;{let t=n.nextSibling;for(;t&&Hf(t,1);)i=t.parentNode,r=sn(t)+1,t=t.nextSibling;if(t)n=t,f=0,o=Zf(n);else{if(n=n.parentNode,n==e.dom)break;f=o=0}}}i&&Vf(e,i,r)}(e)}function Ff(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Vf(e,t,n){if(3!=t.nodeType){let e,f;(f=function(e,t){for(;e&&t==e.childNodes.length&&!gn(e);)t=sn(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=f,n=0):(e=function(e,t){for(;e&&!t&&!gn(e);)t=sn(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let f=e.domSelection();if(!f)return;if(wn(f)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),f.removeAllRanges(),f.addRange(e)}else f.extend&&f.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout((()=>{e.state==i&&Df(e)}),50)}function $f(e,t){let n=e.state.doc.resolve(t);if(!Nn&&!zn&&n.parent.inlineContent){let f=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>f.top&&i<f.bottom&&Math.abs(n.left-f.left)>1)return n.left<f.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>f.top&&i<f.bottom&&Math.abs(n.left-f.left)>1)return n.left>f.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function _f(e,t,n){let f=e.state.selection;if(f instanceof Ut&&!f.empty||n.indexOf("s")>-1||En&&n.indexOf("m")>-1)return!1;let{$from:i,$to:r}=f;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Yf(e.state,t);if(n&&n instanceof Zt)return Uf(e,n)}if(!i.parent.inlineContent){let n=t<0?i:r,o=f instanceof Wt?Jt.near(n,t):Jt.findFrom(n,t);return!!o&&Uf(e,o)}return!1}function Kf(e,t){if(!(e.state.selection instanceof Ut))return!0;let{$head:n,$anchor:f,empty:i}=e.state.selection;if(!n.sameParent(f))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let r=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(r&&!r.isText){let f=e.state.tr;return t<0?f.delete(n.pos-r.nodeSize,n.pos):f.delete(n.pos,n.pos+r.nodeSize),e.dispatch(f),!0}return!1}function Xf(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function qf(e,t){let n=t.keyCode,f=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||En&&72==n&&"c"==f)return Kf(e,-1)||Wf(e,-1);if(46==n&&!t.shiftKey||En&&68==n&&"c"==f)return Kf(e,1)||Wf(e,1);if(13==n||27==n)return!0;if(37==n||En&&66==n&&"c"==f){let t=37==n?"ltr"==$f(e,e.state.selection.from)?-1:1:-1;return Gf(e,t,f)||Wf(e,t)}if(39==n||En&&70==n&&"c"==f){let t=39==n?"ltr"==$f(e,e.state.selection.from)?1:-1:1;return Gf(e,t,f)||Wf(e,t)}return 38==n||En&&80==n&&"c"==f?_f(e,-1,f)||Wf(e,-1):40==n||En&&78==n&&"c"==f?function(e){if(!Dn||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;Xf(e,n,"true"),setTimeout((()=>Xf(e,n,"false")),20)}return!1}(e)||_f(e,1,f)||Wf(e,1):f==(En?"m":"c")&&(66==n||73==n||89==n||90==n)}function ei(e,t){e.someProp("transformCopied",(n=>{t=n(t,e)}));let n=[],{content:f,openStart:i,openEnd:r}=t;for(;i>1&&r>1&&1==f.childCount&&1==f.firstChild.childCount;){i--,r--;let e=f.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),f=e.content}let o=e.someProp("clipboardSerializer")||Ue.fromSchema(e.state.schema),a=ci(),s=a.createElement("div");s.appendChild(o.serializeFragment(f,{document:a}));let l,c=s.firstChild,d=0;for(;c&&1==c.nodeType&&(l=si[c.nodeName.toLowerCase()]);){for(let e=l.length-1;e>=0;e--){let t=a.createElement(l[e]);for(;s.firstChild;)t.appendChild(s.firstChild);s.appendChild(t),d++}c=s.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${i} ${r}${d?` -${d}`:""} ${JSON.stringify(n)}`),{dom:s,text:e.someProp("clipboardTextSerializer",(n=>n(t,e)))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function ti(e,t,n,f,i){let r,o,a=i.parent.type.spec.code;if(!n&&!t)return null;let s=t&&(f||a||!n);if(s){if(e.someProp("transformPastedText",(n=>{t=n(t,a||f,e)})),a)return t?new F(Y.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):F.empty;let n=e.someProp("clipboardTextParser",(n=>n(t,i,f,e)));if(n)o=n;else{let n=i.marks(),{schema:f}=e.state,o=Ue.fromSchema(f);r=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=r.appendChild(document.createElement("p"));e&&t.appendChild(o.serializeNode(f.text(e,n)))}))}}else e.someProp("transformPastedHTML",(t=>{n=t(n,e)})),r=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,f=ci().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);if((n=i&&si[i[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join("")),f.innerHTML=function(e){let t=window.trustedTypes;return t?(di||(di=t.defaultPolicy||t.createPolicy("ProseMirrorClipboard",{createHTML:e=>e})),di.createHTML(e)):e}(e),n)for(let e=0;e<n.length;e++)f=f.querySelector(n[e])||f;return f}(n),Pn&&function(e){let t=e.querySelectorAll(Nn?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let f=t[n];1==f.childNodes.length&&" "==f.textContent&&f.parentNode&&f.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),f)}}(r);let l=r&&r.querySelector("[data-pm-slice]"),c=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(c&&c[3])for(let e=+c[3];e>0;e--){let e=r.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;r=e}if(o||(o=(e.someProp("clipboardParser")||e.someProp("domParser")||Ae.fromSchema(e.state.schema)).parseSlice(r,{preserveWhitespace:!(!s&&!c),context:i,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||ni.test(e.parentNode.nodeName)?null:{ignore:!0}})),c)o=function(e,t){if(!e.size)return e;let n,f=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch{return e}let{content:i,openStart:r,openEnd:o}=e;for(let e=n.length-2;e>=0;e-=2){let t=f.nodes[n[e]];if(!t||t.hasRequiredAttrs())break;i=Y.from(t.create(n[e+1],i)),r++,o++}return new F(i,r,o)}(ai(o,+c[1],+c[2]),c[4]);else if(o=F.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let f,i=t.node(n).contentMatchAt(t.index(n)),r=[];if(e.forEach((e=>{if(!r)return;let t,n=i.findWrapping(e.type);if(!n)return r=null;if(t=r.length&&f.length&&ii(n,f,e,r[r.length-1],0))r[r.length-1]=t;else{r.length&&(r[r.length-1]=ri(r[r.length-1],f.length));let t=fi(e,n);r.push(t),i=i.matchType(t.type),f=n}})),r)return Y.from(r)}return e}(o.content,i),!0),o.openStart||o.openEnd){let e=0,t=0;for(let t=o.content.firstChild;e<o.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=o.content.lastChild;t<o.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);o=ai(o,e,t)}return e.someProp("transformPasted",(t=>{o=t(o,e)})),o}const ni=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function fi(e,t,n=0){for(let f=t.length-1;f>=n;f--)e=t[f].create(null,Y.from(e));return e}function ii(e,t,n,f,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let r=ii(e,t,n,f.lastChild,i+1);if(r)return f.copy(f.content.replaceChild(f.childCount-1,r));if(f.contentMatchAt(f.childCount).matchType(i==e.length-1?n.type:e[i+1]))return f.copy(f.content.append(Y.from(fi(n,e,i+1))))}}function ri(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,ri(e.lastChild,t-1)),f=e.contentMatchAt(e.childCount).fillBefore(Y.empty,!0);return e.copy(n.append(f))}function oi(e,t,n,f,i,r){let o=t<0?e.firstChild:e.lastChild,a=o.content;return e.childCount>1&&(r=0),i<f-1&&(a=oi(a,t,n,f,i+1,r)),i>=n&&(a=t<0?o.contentMatchAt(0).fillBefore(a,r<=i).append(a):a.append(o.contentMatchAt(o.childCount).fillBefore(Y.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,o.copy(a))}function ai(e,t,n){return t<e.openStart&&(e=new F(oi(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new F(oi(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const si={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let li=null;function ci(){return li||(li=document.implementation.createHTMLDocument("title"))}let di=null;const ui={},hi={},pi={touchstart:!0,touchmove:!0};class mi{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function gi(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function wi(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>Mi(e,t))}))}function Mi(e,t){return e.someProp("handleDOMEvents",(n=>{let f=n[t.type];return!!f&&(f(e,t)||t.defaultPrevented)}))}function bi(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function yi(e){return{left:e.clientX,top:e.clientY}}function Li(e,t,n,f,i){if(-1==f)return!1;let r=e.state.doc.resolve(f);for(let f=r.depth+1;f>0;f--)if(e.someProp(t,(t=>f>r.depth?t(e,n,r.nodeAfter,r.before(f),i,!0):t(e,n,r.node(f),r.before(f),i,!1))))return!0;return!1}function Ci(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let f=e.state.tr.setSelection(t);"pointer"==n&&f.setMeta("pointer",!0),e.dispatch(f)}function vi(e,t,n,f,i){return Li(e,"handleClickOn",t,n,f)||e.someProp("handleClick",(n=>n(e,t,f)))||(i?function(e,t){if(-1==t)return!1;let n,f,i=e.state.selection;i instanceof Zt&&(n=i.node);let r=e.state.doc.resolve(t);for(let e=r.depth+1;e>0;e--){let t=e>r.depth?r.nodeAfter:r.node(e);if(Zt.isSelectable(t)){f=n&&i.$from.depth>0&&e>=i.$from.depth&&r.before(i.$from.depth+1)==i.$from.pos?r.before(i.$from.depth):r.before(e);break}}return null!=f&&(Ci(e,Zt.create(e.state.doc,f),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),f=n.nodeAfter;return!!(f&&f.isAtom&&Zt.isSelectable(f))&&(Ci(e,new Zt(n),"pointer"),!0)}(e,n))}function ji(e,t,n,f){return Li(e,"handleDoubleClickOn",t,n,f)||e.someProp("handleDoubleClick",(n=>n(e,t,f)))}function ki(e,t,n,f){return Li(e,"handleTripleClickOn",t,n,f)||e.someProp("handleTripleClick",(n=>n(e,t,f)))||function(e,t,n){if(0!=n.button)return!1;let f=e.state.doc;if(-1==t)return!!f.inlineContent&&(Ci(e,Ut.create(f,0,f.content.size),"pointer"),!0);let i=f.resolve(t);for(let t=i.depth+1;t>0;t--){let n=t>i.depth?i.nodeAfter:i.node(t),r=i.before(t);if(n.inlineContent)Ci(e,Ut.create(f,r+1,r+1+n.content.size),"pointer");else{if(!Zt.isSelectable(n))continue;Ci(e,Zt.create(f,r),"pointer")}return!0}}(e,n,f)}function Ii(e){return zi(e)}hi.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!Ni(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!On||!Nn||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!An||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||qf(e,n)?n.preventDefault():gi(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},hi.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},hi.keypress=(e,t)=>{let n=t;if(Ni(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||En&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let f=e.state.selection;if(!(f instanceof Ut&&f.$from.sameParent(f.$to))){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();!/[\r\n]/.test(t)&&!e.someProp("handleTextInput",(n=>n(e,f.$from.pos,f.$to.pos,t,i)))&&e.dispatch(i()),n.preventDefault()}};const Si=En?"metaKey":"ctrlKey";ui.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let f=Ii(e),i=Date.now(),r="singleClick";i-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,f=t.y-e.clientY;return n*n+f*f<100}(n,e.input.lastClick)&&!n[Si]&&e.input.lastClick.button==n.button&&("singleClick"==e.input.lastClick.type?r="doubleClick":"doubleClick"==e.input.lastClick.type&&(r="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:r,button:n.button};let o=e.posAtCoords(yi(n));o&&("singleClick"==r?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new xi(e,o,n,!!f)):("doubleClick"==r?ji:ki)(e,o.pos,o.inside,n)?n.preventDefault():gi(e,"pointer"))};class xi{constructor(e,t,n,f){let i,r;if(this.view=e,this.pos=t,this.event=n,this.flushed=f,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[Si],this.allowDefault=n.shiftKey,t.inside>-1)i=e.state.doc.nodeAt(t.inside),r=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,r=n.depth?n.before():0}const o=f?null:n.target,a=o?e.docView.nearestDesc(o,!0):null;this.target=a&&1==a.dom.nodeType?a.dom:null;let{selection:s}=e.state;(0==n.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||s instanceof Zt&&s.from<=r&&s.to>r)&&(this.mightDrag={node:i,pos:r,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Sn||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),gi(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>Df(this.view))),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(yi(e))),this.updateAllowDefault(e),this.allowDefault||!t?gi(this.view,"pointer"):vi(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||Dn&&this.mightDrag&&!this.mightDrag.node.isAtom||Nn&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Ci(this.view,Jt.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):gi(this.view,"pointer")}move(e){this.updateAllowDefault(e),gi(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}function Ni(e,t){return!!e.composing||!!(Dn&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}ui.touchstart=e=>{e.input.lastTouch=Date.now(),Ii(e),gi(e,"pointer")},ui.touchmove=e=>{e.input.lastTouch=Date.now(),gi(e,"pointer")},ui.contextmenu=e=>Ii(e);const Ti=On?5e3:-1;function Di(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>zi(e)),t))}function Ai(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Ei(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=mn(e=e.childNodes[t-1])}else{if(!e.parentNode||gn(e))return null;t=sn(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),f=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||gn(e))return null;t=sn(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&f&&n!=f){let t=f.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||f==i)return i;if(!t||!t.isText(f.nodeValue))return f;if(e.input.compositionNode==f){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return f}}return n||f}function zi(e,t=!1){if(!(On&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Ai(e),t||e.docView&&e.docView.dirty){let n=Nf(e),f=e.state.selection;return n&&!n.eq(f)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||f.$from.node(f.$from.sharedDepth(f.to)).inlineContent?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}hi.compositionstart=hi.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof Ut&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),zi(e,!0),e.markCursor=null;else if(zi(e,!t.selection.empty),Sn&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,f=t.focusOffset;n&&1==n.nodeType&&0!=f;){let t=f<0?n.lastChild:n.childNodes[f-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,f=-1}}e.input.composing=!0}Di(e,Ti)},hi.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then((()=>e.domObserver.flush())),e.input.compositionID++,Di(e,20))};const Oi=kn&&In<15||An&&Rn<604;function Pi(e,t,n,f,i){let r=ti(e,t,n,f,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,i,r||F.empty))))return!0;if(!r)return!1;let o=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(r),a=o?e.state.tr.replaceSelectionWith(o,f):e.state.tr.replaceSelection(r);return e.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Ri(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ui.copy=hi.cut=(e,t)=>{let n=t,f=e.state.selection,i="cut"==n.type;if(f.empty)return;let r=Oi?null:n.clipboardData,o=f.content(),{dom:a,text:s}=ei(e,o);r?(n.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",s)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let f=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),f.removeAllRanges(),f.addRange(i),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,a),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},hi.paste=(e,t)=>{let n=t;if(e.composing&&!On)return;let f=Oi?null:n.clipboardData,i=e.input.shiftKey&&45!=e.input.lastKeyCode;f&&Pi(e,Ri(f),f.getData("text/html"),i,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,f=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(f.contentEditable="true"),f.style.cssText="position: fixed; left: -10000px; top: 10px",f.focus();let i=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((()=>{e.focus(),f.parentNode&&f.parentNode.removeChild(f),n?Pi(e,f.value,null,i,t):Pi(e,f.textContent,f.innerHTML,i,t)}),50)}(e,n)};class Ji{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const Bi=En?"altKey":"ctrlKey";function Qi(e,t){return e.someProp("dragCopies",(e=>!e(t)))??!t[Bi]}ui.dragstart=(e,t)=>{let n=t,f=e.input.mouseDown;if(f&&f.done(),!n.dataTransfer)return;let i,r=e.state.selection,o=r.empty?null:e.posAtCoords(yi(n));if(!(o&&o.pos>=r.from&&o.pos<=(r instanceof Zt?r.to-1:r.to)))if(f&&f.mightDrag)i=Zt.create(e.state.doc,f.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(i=Zt.create(e.state.doc,t.posBefore))}let a=(i||e.state.selection).content(),{dom:s,text:l,slice:c}=ei(e,a);(!n.dataTransfer.files.length||!Nn||Tn>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Oi?"Text":"text/html",s.innerHTML),n.dataTransfer.effectAllowed="copyMove",Oi||n.dataTransfer.setData("text/plain",l),e.dragging=new Ji(c,Qi(e,n),i)},ui.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},hi.dragover=hi.dragenter=(e,t)=>t.preventDefault(),hi.drop=(e,t)=>{let n=t,f=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let i=e.posAtCoords(yi(n));if(!i)return;let r=e.state.doc.resolve(i.pos),o=f&&f.slice;o?e.someProp("transformPasted",(t=>{o=t(o,e)})):o=ti(e,Ri(n.dataTransfer),Oi?null:n.dataTransfer.getData("text/html"),!1,r);let a=!(!f||!Qi(e,n));if(e.someProp("handleDrop",(t=>t(e,n,o||F.empty,a))))return void n.preventDefault();if(!o)return;n.preventDefault();let s=o?function(e,t,n){let f=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let e=0;e<n.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(0==n.openStart&&n.size?2:1);e++)for(let t=f.depth;t>=0;t--){let n=t==f.depth?0:f.pos<=(f.start(t+1)+f.end(t+1))/2?-1:1,r=f.index(t)+(n>0?1:0),o=f.node(t),a=!1;if(1==e)a=o.canReplace(r,r,i);else{let e=o.contentMatchAt(r).findWrapping(i.firstChild.type);a=e&&o.canReplaceWith(r,r,e[0])}if(a)return 0==n?f.pos:n<0?f.before(t+1):f.after(t+1)}return null}(e.state.doc,r.pos,o):r.pos;null==s&&(s=r.pos);let l=e.state.tr;if(a){let{node:e}=f;e?e.replace(l):l.deleteSelection()}let c=l.mapping.map(s),d=0==o.openStart&&0==o.openEnd&&1==o.content.childCount,u=l.doc;if(d?l.replaceRangeWith(c,c,o.content.firstChild):l.replaceRange(c,c,o),l.doc.eq(u))return;let h=l.doc.resolve(c);if(d&&Zt.isSelectable(o.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(o.content.firstChild))l.setSelection(new Zt(h));else{let t=l.mapping.map(s);l.mapping.maps[l.mapping.maps.length-1].forEach(((e,n,f,i)=>t=i)),l.setSelection(Jf(e,h,l.doc.resolve(t)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))},ui.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Df(e)}),20))},ui.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},ui.beforeinput=(e,t)=>{if(Nn&&On&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,Mn(8,"Backspace"))))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let e in hi)ui[e]=hi[e];function Yi(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Ui{constructor(e,t){this.toDOM=e,this.spec=t||Fi,this.side=this.spec.side||0}map(e,t,n,f){let{pos:i,deleted:r}=e.mapResult(t.from+f,this.side<0?-1:1);return r?null:new Hi(i-n,i-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Ui&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Yi(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Gi{constructor(e,t){this.attrs=e,this.spec=t||Fi}map(e,t,n,f){let i=e.map(t.from+f,this.spec.inclusiveStart?-1:1)-n,r=e.map(t.to+f,this.spec.inclusiveEnd?1:-1)-n;return i>=r?null:new Hi(i,r,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Gi&&Yi(this.attrs,e.attrs)&&Yi(this.spec,e.spec)}static is(e){return e.type instanceof Gi}destroy(){}}class Zi{constructor(e,t){this.attrs=e,this.spec=t||Fi}map(e,t,n,f){let i=e.mapResult(t.from+f,1);if(i.deleted)return null;let r=e.mapResult(t.to+f,-1);return r.deleted||r.pos<=i.pos?null:new Hi(i.pos-n,r.pos-n,this)}valid(e,t){let n,{index:f,offset:i}=e.content.findIndex(t.from);return i==t.from&&!(n=e.child(f)).isText&&i+n.nodeSize==t.to}eq(e){return this==e||e instanceof Zi&&Yi(this.attrs,e.attrs)&&Yi(this.spec,e.spec)}destroy(){}}class Hi{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Hi(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new Hi(e,e,new Ui(t,n))}static inline(e,t,n,f){return new Hi(e,t,new Gi(n,f))}static node(e,t,n,f){return new Hi(e,t,new Zi(n,f))}get spec(){return this.type.spec}get inline(){return this.type instanceof Gi}get widget(){return this.type instanceof Ui}}const Wi=[],Fi={};class Vi{constructor(e,t){this.local=e.length?e:Wi,this.children=t.length?t:Wi}static create(e,t){return t.length?er(t,e,0,Fi):$i}find(e,t,n){let f=[];return this.findInner(e??0,t??1e9,f,0,n),f}findInner(e,t,n,f,i){for(let r=0;r<this.local.length;r++){let o=this.local[r];o.from<=t&&o.to>=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+f,o.to+f))}for(let r=0;r<this.children.length;r+=3)if(this.children[r]<t&&this.children[r+1]>e){let o=this.children[r]+1;this.children[r+2].findInner(e-o,t-o,n,f+o,i)}}map(e,t,n){return this==$i||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Fi)}mapInner(e,t,n,f,i){let r;for(let o=0;o<this.local.length;o++){let a=this.local[o].map(e,n,f);a&&a.type.valid(t,a)?(r||(r=[])).push(a):i.onRemove&&i.onRemove(this.local[o].spec)}return this.children.length?function(e,t,n,f,i,r,o){let a=e.slice();for(let e=0,t=r;e<n.maps.length;e++){let f=0;n.maps[e].forEach(((e,n,i,r)=>{let o=r-i-(n-e);for(let i=0;i<a.length;i+=3){let r=a[i+1];if(r<0||e>r+t-f)continue;let s=a[i]+t-f;n>=s?a[i+1]=e<=s?-2:-1:e>=t&&o&&(a[i]+=o,a[i+1]+=o)}f+=o})),t=n.maps[e].map(t,-1)}let s=!1;for(let t=0;t<a.length;t+=3)if(a[t+1]<0){if(-2==a[t+1]){s=!0,a[t+1]=-1;continue}let l=n.map(e[t]+r),c=l-i;if(c<0||c>=f.content.size){s=!0;continue}let d=n.map(e[t+1]+r,-1)-i,{index:u,offset:h}=f.content.findIndex(c),p=f.maybeChild(u);if(p&&h==c&&h+p.nodeSize==d){let f=a[t+2].mapInner(n,p,l+1,e[t]+r+1,o);f!=$i?(a[t]=c,a[t+1]=d,a[t+2]=f):(a[t+1]=-2,s=!0)}else s=!0}if(s){let s=function(e,t,n,f,i,r,o){function a(e,t){for(let r=0;r<e.local.length;r++){let a=e.local[r].map(f,i,t);a?n.push(a):o.onRemove&&o.onRemove(e.local[r].spec)}for(let n=0;n<e.children.length;n+=3)a(e.children[n+2],e.children[n]+t+1)}for(let n=0;n<e.length;n+=3)-1==e[n+1]&&a(e[n+2],t[n]+r+1);return n}(a,e,t,n,i,r,o),l=er(s,f,0,o);t=l.local;for(let e=0;e<a.length;e+=3)a[e+1]<0&&(a.splice(e,3),e-=3);for(let e=0,t=0;e<l.children.length;e+=3){let n=l.children[e];for(;t<a.length&&a[t]<n;)t+=3;a.splice(t,0,l.children[e],l.children[e+1],l.children[e+2])}}return new Vi(t.sort(tr),a)}(this.children,r||[],e,t,n,f,i):r?new Vi(r.sort(tr),Wi):$i}add(e,t){return t.length?this==$i?Vi.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let f,i=0;e.forEach(((e,r)=>{let o,a=r+n;if(o=Xi(t,e,a)){for(f||(f=this.children.slice());i<f.length&&f[i]<r;)i+=3;f[i]==r?f[i+2]=f[i+2].addInner(e,o,a+1):f.splice(i,0,r,r+e.nodeSize,er(o,e,a+1,Fi)),i+=3}}));let r=Ki(i?qi(t):t,-n);for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||r.splice(t--,1);return new Vi(r.length?this.local.concat(r).sort(tr):this.local,f||this.children)}remove(e){return 0==e.length||this==$i?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,f=this.local;for(let f=0;f<n.length;f+=3){let i,r=n[f]+t,o=n[f+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>r&&t.to<o&&(e[n]=null,(i||(i=[])).push(t));if(!i)continue;n==this.children&&(n=this.children.slice());let a=n[f+2].removeInner(i,r+1);a!=$i?n[f+2]=a:(n.splice(f,3),f-=3)}if(f.length)for(let n,i=0;i<e.length;i++)if(n=e[i])for(let e=0;e<f.length;e++)f[e].eq(n,t)&&(f==this.local&&(f=this.local.slice()),f.splice(e--,1));return n==this.children&&f==this.local?this:f.length||n.length?new Vi(f,n):$i}forChild(e,t){if(this==$i)return this;if(t.isLeaf)return Vi.empty;let n,f;for(let t=0;t<this.children.length;t+=3)if(this.children[t]>=e){this.children[t]==e&&(n=this.children[t+2]);break}let i=e+1,r=i+t.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<r&&t.to>i&&t.type instanceof Gi){let e=Math.max(i,t.from)-i,n=Math.min(r,t.to)-i;e<n&&(f||(f=[])).push(t.copy(e,n))}}if(f){let e=new Vi(f.sort(tr),Wi);return n?new _i([e,n]):e}return n||$i}eq(e){if(this==e)return!0;if(!(e instanceof Vi)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return nr(this.localsInner(e))}localsInner(e){if(this==$i)return Wi;if(e.inlineContent||!this.local.some(Gi.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof Gi||t.push(this.local[e]);return t}forEachSet(e){e(this)}}Vi.empty=new Vi([],[]),Vi.removeOverlap=nr;const $i=Vi.empty;class _i{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,Fi)));return _i.from(n)}forChild(e,t){if(t.isLeaf)return Vi.empty;let n=[];for(let f=0;f<this.members.length;f++){let i=this.members[f].forChild(e,t);i!=$i&&(i instanceof _i?n=n.concat(i.members):n.push(i))}return _i.from(n)}eq(e){if(!(e instanceof _i)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let f=0;f<this.members.length;f++){let i=this.members[f].localsInner(e);if(i.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<i.length;e++)t.push(i[e])}else t=i}return t?nr(n?t:t.sort(tr)):Wi}static from(e){switch(e.length){case 0:return $i;case 1:return e[0];default:return new _i(e.every((e=>e instanceof Vi))?e:e.reduce(((e,t)=>e.concat(t instanceof Vi?t:t.members)),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function Ki(e,t){if(!t||!e.length)return e;let n=[];for(let f=0;f<e.length;f++){let i=e[f];n.push(new Hi(i.from+t,i.to+t,i.type))}return n}function Xi(e,t,n){if(t.isLeaf)return null;let f=n+t.nodeSize,i=null;for(let t,r=0;r<e.length;r++)(t=e[r])&&t.from>n&&t.to<f&&((i||(i=[])).push(t),e[r]=null);return i}function qi(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function er(e,t,n,f){let i=[],r=!1;t.forEach(((t,o)=>{let a=Xi(e,t,o+n);if(a){r=!0;let e=er(a,t,n+o+1,f);e!=$i&&i.push(o,o+t.nodeSize,e)}}));let o=Ki(r?qi(e):e,-n).sort(tr);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||(f.onRemove&&f.onRemove(o[e].spec),o.splice(e--,1));return o.length||i.length?new Vi(o,i):$i}function tr(e,t){return e.from-t.from||e.to-t.to}function nr(e){let t=e;for(let n=0;n<t.length-1;n++){let f=t[n];if(f.from!=f.to)for(let i=n+1;i<t.length;i++){let r=t[i];if(r.from!=f.from){r.from<f.to&&(t==e&&(t=e.slice()),t[n]=f.copy(f.from,r.from),fr(t,i,f.copy(r.from,f.to)));break}r.to!=f.to&&(t==e&&(t=e.slice()),t[i]=r.copy(r.from,f.to),fr(t,i+1,r.copy(f.to,r.to)))}}return t}function fr(e,t,n){for(;t<e.length&&tr(n,e[t])>0;)t++;e.splice(t,0,n)}function ir(e){let t=[];return e.someProp("decorations",(n=>{let f=n(e.state);f&&f!=$i&&t.push(f)})),e.cursorWrapper&&t.push(Vi.create(e.state.doc,[e.cursorWrapper.deco])),_i.from(t)}const rr={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},or=kn&&In<=11;class ar{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class sr{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new ar,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);kn&&In<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),or&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,rr)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout((()=>this.flush()),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=>this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(Bf(this.view)){if(this.suppressingSelectionUpdates)return Df(this.view);if(kn&&In<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&un(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let t=e.focusNode;t;t=ln(t))n.add(t);for(let f=e.anchorNode;f;f=ln(f))if(n.has(f)){t=f;break}let f=t&&this.view.docView.nearestDesc(t);return f&&f.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),f=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Bf(e)&&!this.ignoreSelectionChange(n),i=-1,r=-1,o=!1,a=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],a);n&&(i=i<0?n.from:Math.min(n.from,i),r=r<0?n.to:Math.max(n.to,r),n.typeOver&&(o=!0))}if(Sn&&a.length){let t=a.filter((e=>"BR"==e.nodeName));if(2==t.length){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let f of t){let t=f.parentNode;t&&"LI"==t.nodeName&&(!n||ur(e,n)!=t)&&f.remove()}}}let s=null;i<0&&f&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&wn(n)&&(s=Nf(e))&&s.eq(Jt.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Df(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||f)&&(i>-1&&(e.docView.markDirty(i,r),function(e){if(!lr.has(e)&&(lr.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace))){if(e.requiresGeckoHackNode=Sn,cr)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),cr=!0}}(e)),this.handleDOMChange(i,r,o,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Df(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style"))||!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++){let f=e.addedNodes[n];t.push(f),3==f.nodeType&&(this.lastChangedTextNode=f)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let f=e.previousSibling,i=e.nextSibling;if(kn&&In<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:r}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(f=n),(!r||Array.prototype.indexOf.call(e.addedNodes,r)<0)&&(i=r)}let r=f&&f.parentNode==e.target?sn(f)+1:0,o=n.localPosFromDOM(e.target,r,-1),a=i&&i.parentNode==e.target?sn(i):e.target.childNodes.length;return{from:o,to:n.localPosFromDOM(e.target,a,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let lr=new WeakMap,cr=!1;function dr(e,t){let n=t.startContainer,f=t.startOffset,i=t.endContainer,r=t.endOffset,o=e.domAtPos(e.state.selection.anchor);return un(o.node,o.offset,i,r)&&([n,f,i,r]=[i,r,n,f]),{anchorNode:n,anchorOffset:f,focusNode:i,focusOffset:r}}function ur(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function hr(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(Dn&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||Dn&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const pr=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function mr(e,t,n,f,i){let r=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Nf(e,t);if(n&&!e.state.selection.eq(n)){if(Nn&&On&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))))return;let f=e.state.tr.setSelection(n);"pointer"==t?f.setMeta("pointer",!0):"key"==t&&f.scrollIntoView(),r&&f.setMeta("composition",r),e.dispatch(f)}return}let o=e.state.doc.resolve(t),a=o.sharedDepth(n);t=o.before(a+1),n=e.state.doc.resolve(n).after(a+1);let s,l,c=e.state.selection,d=function(e,t,n){let f,{node:i,fromOffset:r,toOffset:o,from:a,to:s}=e.docView.parseRange(t,n),l=e.domSelectionRange(),c=l.anchorNode;if(c&&e.dom.contains(1==c.nodeType?c:c.parentNode)&&(f=[{node:c,offset:l.anchorOffset}],wn(l)||f.push({node:l.focusNode,offset:l.focusOffset})),Nn&&8===e.input.lastKeyCode)for(let e=o;e>r;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&&!n){o=e;break}if(!n||n.size)break}let d=e.state.doc,u=e.someProp("domParser")||Ae.fromSchema(e.state.schema),h=d.resolve(a),p=null,m=u.parse(i,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:r,to:o,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:f,ruleFromNode:hr,context:h});if(f&&null!=f[0].pos){let e=f[0].pos,t=f[1]&&f[1].pos;null==t&&(t=e),p={anchor:e+a,head:t+a}}return{doc:m,sel:p,from:a,to:s}}(e,t,n),u=e.state.doc,h=u.slice(d.from,d.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(s=e.state.selection.to,l="end"):(s=e.state.selection.from,l="start"),e.input.lastKeyCode=null;let p=function(e,t,n,f,i){let r=e.findDiffStart(t,n);if(null==r)return null;let{a:o,b:a}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==i){f-=o+Math.max(0,r-Math.min(o,a))-r}if(o<r&&e.size<t.size){let e=f<=r&&f>=o?r-f:0;r-=e,r&&r<t.size&&Mr(t.textBetween(r-1,r+1))&&(r+=e?1:-1),a=r+(a-o),o=r}else if(a<r){let t=f<=r&&f>=a?r-f:0;r-=t,r&&r<e.size&&Mr(e.textBetween(r-1,r+1))&&(r+=t?1:-1),o=r+(o-a),a=r}return{start:r,endA:o,endB:a}}(h.content,d.doc.content,d.from,s,l);if(p&&e.input.domChangeCount++,(An&&e.input.lastIOSEnter>Date.now()-225||On)&&i.some((e=>1==e.nodeType&&!pr.test(e.nodeName)))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!p){if(!(f&&c instanceof Ut&&!c.empty&&c.$head.sameParent(c.$anchor))||e.composing||d.sel&&d.sel.anchor!=d.sel.head){if(d.sel){let t=gr(e,e.state.doc,d.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);r&&n.setMeta("composition",r),e.dispatch(n)}}return}p={start:c.from,endA:c.to,endB:c.to}}e.state.selection.from<e.state.selection.to&&p.start==p.endB&&e.state.selection instanceof Ut&&(p.start>e.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=d.from?p.start=e.state.selection.from:p.endA<e.state.selection.to&&p.endA>=e.state.selection.to-2&&e.state.selection.to<=d.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),kn&&In<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>d.from&&" "==d.doc.textBetween(p.start-d.from-1,p.start-d.from+1)&&(p.start--,p.endA--,p.endB--);let m,g=d.doc.resolveNoCache(p.start-d.from),w=d.doc.resolveNoCache(p.endB-d.from),M=u.resolve(p.start),b=g.sameParent(w)&&g.parent.inlineContent&&M.end()>=p.endA;if((An&&e.input.lastIOSEnter>Date.now()-225&&(!b||i.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!b&&g.pos<d.doc.content.size&&(!g.sameParent(w)||!g.parent.inlineContent)&&!/\S/.test(d.doc.textBetween(g.pos,w.pos,"",""))&&(m=Jt.findFrom(d.doc.resolve(g.pos+1),1,!0))&&m.head>g.pos)&&e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>p.start&&function(e,t,n,f,i){if(n-t<=i.pos-f.pos||wr(f,!0,!1)<i.pos)return!1;let r=e.resolve(t);if(!f.parent.isTextblock){let e=r.nodeAfter;return null!=e&&n==t+e.nodeSize}if(r.parentOffset<r.parent.content.size||!r.parent.isTextblock)return!1;let o=e.resolve(wr(r,!0,!0));return!(!o.parent.isTextblock||o.pos>n||wr(o,!0,!1)<n)&&f.parent.content.cut(f.parentOffset).eq(o.parent.content)}(u,p.start,p.endA,g,w)&&e.someProp("handleKeyDown",(t=>t(e,Mn(8,"Backspace")))))return void(On&&Nn&&e.domObserver.suppressSelectionUpdates());Nn&&p.endB==p.start&&(e.input.lastChromeDelete=Date.now()),On&&!b&&g.start()!=w.start()&&0==w.parentOffset&&g.depth==w.depth&&d.sel&&d.sel.anchor==d.sel.head&&d.sel.head==p.endA&&(p.endB-=2,w=d.doc.resolveNoCache(p.endB-d.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,Mn(13,"Enter"))}))}),20));let y,L=p.start,C=p.endA,v=t=>{let n=t||e.state.tr.replace(L,C,d.doc.slice(p.start-d.from,p.endB-d.from));if(d.sel){let t=gr(e,n.doc,d.sel);t&&!(Nn&&e.composing&&t.empty&&(p.start!=p.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==L||t.head==n.mapping.map(C)-1)||kn&&t.empty&&t.head==L)&&n.setSelection(t)}return r&&n.setMeta("composition",r),n.scrollIntoView()};if(b){if(g.pos==w.pos){kn&&In<=11&&0==g.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>Df(e)),20));let t=v(e.state.tr.delete(L,C)),n=u.resolve(p.start).marksAcross(u.resolve(p.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(p.endA==p.endB&&(y=function(e,t){let n,f,i,r=e.firstChild.marks,o=t.firstChild.marks,a=r,s=o;for(let e=0;e<o.length;e++)a=o[e].removeFromSet(a);for(let e=0;e<r.length;e++)s=r[e].removeFromSet(s);if(1==a.length&&0==s.length)f=a[0],n="add",i=e=>e.mark(f.addToSet(e.marks));else{if(0!=a.length||1!=s.length)return null;f=s[0],n="remove",i=e=>e.mark(f.removeFromSet(e.marks))}let l=[];for(let e=0;e<t.childCount;e++)l.push(i(t.child(e)));if(Y.from(l).eq(e))return{mark:f,type:n}}(g.parent.content.cut(g.parentOffset,w.parentOffset),M.parent.content.cut(M.parentOffset,p.endA-M.start())))){let t=v(e.state.tr);"add"==y.type?t.addMark(L,C,y.mark):t.removeMark(L,C,y.mark),e.dispatch(t)}else if(g.parent.child(g.index()).isText&&g.index()==w.index()-(w.textOffset?0:1)){let t=g.parent.textBetween(g.parentOffset,w.parentOffset),n=()=>v(e.state.tr.insertText(t,L,C));e.someProp("handleTextInput",(f=>f(e,L,C,t,n)))||e.dispatch(n())}}else e.dispatch(v())}function gr(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Jf(e,t.resolve(n.anchor),t.resolve(n.head))}function wr(e,t,n){let f=e.depth,i=t?e.end():e.pos;for(;f>0&&(t||e.indexAfter(f)==e.node(f).childCount);)f--,i++,t=!1;if(n){let t=e.node(f).maybeChild(e.indexAfter(f));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function Mr(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}class br{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new mi,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(jr),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Cr(this),Lr(this),this.nodeViews=vr(this),this.docView=hf(this.state.doc,yr(this),ir(this),this.dom,this),this.domObserver=new sr(this,((e,t,n,f)=>mr(this,e,t,n,f))),this.domObserver.start(),function(e){for(let t in ui){let n=ui[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{bi(e,t)&&!Mi(e,t)&&(e.editable||!(t.type in hi))&&n(e,t)},pi[t]?{passive:!0}:void 0)}Dn&&e.dom.addEventListener("input",(()=>null)),wi(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&wi(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(jr),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let f=this.state,i=!1,r=!1;e.storedMarks&&this.composing&&(Ai(this),r=!0),this.state=e;let o=f.plugins!=e.plugins||this._props.plugins!=t.plugins;if(o||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=vr(this);(function(e,t){let n=0,f=0;for(let f in e){if(e[f]!=t[f])return!0;n++}for(let e in t)f++;return n!=f})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(o||t.handleDOMEvents!=this._props.handleDOMEvents)&&wi(this),this.editable=Cr(this),Lr(this);let a=ir(this),s=yr(this),l=f.plugins==e.plugins||f.doc.eq(e.doc)?e.scrollToSelection>f.scrollToSelection?"to selection":"preserve":"reset",c=i||!this.docView.matchesNode(e.doc,s,a);(c||!e.selection.eq(f.selection))&&(r=!0);let d="preserve"==l&&r&&null==this.dom.style.overflowAnchor&&function(e){let t,n,f=e.dom.getBoundingClientRect(),i=Math.max(0,f.top);for(let r=(f.left+f.right)/2,o=i+1;o<Math.min(innerHeight,f.bottom);o+=5){let f=e.root.elementFromPoint(r,o);if(!f||f==e.dom||!e.dom.contains(f))continue;let a=f.getBoundingClientRect();if(a.top>=i-20){t=f,n=a.top;break}}return{refDOM:t,refTop:n,stack:Un(e.dom)}}(this);if(r){this.domObserver.stop();let t=c&&(kn||Nn)&&!this.composing&&!f.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(f.selection,e.selection);if(c){let n=Nn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Ei(this)),(i||!this.docView.update(e.doc,s,a,this))&&(this.docView.updateOuterDeco(s),this.docView.destroy(),this.docView=hf(e.doc,s,a,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return un(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Df(this,t):(Pf(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(f),!(null===(n=this.dragging)||void 0===n)&&n.node&&!f.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,f),"reset"==l?this.dom.scrollTop=0:"to selection"==l?this.scrollToSelection():d&&function({refDOM:e,refTop:t,stack:n}){let f=e?e.getBoundingClientRect().top:0;Gn(n,0==f?0:f-t)}(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&this.dom.contains(1==e.nodeType?e:e.parentNode)&&!this.someProp("handleScrollToSelection",(e=>e(this))))if(this.state.selection instanceof Zt){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&Yn(this,t.getBoundingClientRect(),e)}else Yn(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,f=-1;if(this.state.doc.nodeAt(n.from)==n.node)f=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&this.state.doc.nodeAt(e))==n.node&&(f=e)}this.dragging=new Ji(e.slice,e.move,f<0?void 0:Zt.create(this.state.doc,f))}someProp(e,t){let n,f=this._props&&this._props[e];if(null!=f&&(n=t?t(f):f))return n;for(let f=0;f<this.directPlugins.length;f++){let i=this.directPlugins[f].props[e];if(null!=i&&(n=t?t(i):i))return n}let i=this.state.plugins;if(i)for(let f=0;f<i.length;f++){let r=i[f].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(kn){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(Zn)return e.focus(Zn);let t=Un(e);e.focus(null==Zn?{get preventScroll(){return Zn={preventScroll:!0},!0}}:void 0),Zn||(Zn=!1,Gn(t,0))}(this.dom),Df(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let e=this.dom.parentNode;e;e=e.parentNode)if(9==e.nodeType||11==e.nodeType&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e;return e||document}updateRoot(){this._root=null}posAtCoords(e){return Vn(this,e)}coordsAtPos(e,t=1){return Xn(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let f=this.docView.posFromDOM(e,t,n);if(null==f)throw new RangeError("DOM position not inside the editor");return f}endOfTextblock(e,t){return af(this,t||this.state,e)}pasteHTML(e,t){return Pi(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Pi(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return ei(this,e)}destroy(){this.docView&&(function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ir(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,cn=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){!Mi(e,t)&&ui[t.type]&&(e.editable||!(t.type in hi))&&ui[t.type](e,t)}(this,e)}domSelectionRange(){let e=this.domSelection();return e?Dn&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return dr(e,n)}let n;function f(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",f,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",f,!0),n?dr(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function yr(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:!t[e]&&"contenteditable"!=e&&"nodeName"!=e&&(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[Hi.node(0,e.state.doc.content.size,t)]}function Lr(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Hi.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Cr(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function vr(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function jr(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}br.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};for(var kr={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Ir={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Sr=typeof navigator<"u"&&/Mac/.test(navigator.platform),xr=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Nr=0;Nr<10;Nr++)kr[48+Nr]=kr[96+Nr]=String(Nr);for(Nr=1;Nr<=24;Nr++)kr[Nr+111]="F"+Nr;for(Nr=65;Nr<=90;Nr++)kr[Nr]=String.fromCharCode(Nr+32),Ir[Nr]=String.fromCharCode(Nr);for(var Tr in kr)Ir.hasOwnProperty(Tr)||(Ir[Tr]=kr[Tr]);const Dr=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),Ar=typeof navigator<"u"&&/Win/.test(navigator.platform);function Er(e){let t,n,f,i,r=e.split(/-(?!$)/),o=r[r.length-1];"Space"==o&&(o=" ");for(let e=0;e<r.length-1;e++){let o=r[e];if(/^(cmd|meta|m)$/i.test(o))i=!0;else if(/^a(lt)?$/i.test(o))t=!0;else if(/^(c|ctrl|control)$/i.test(o))n=!0;else if(/^s(hift)?$/i.test(o))f=!0;else{if(!/^mod$/i.test(o))throw new Error("Unrecognized modifier name: "+o);Dr?i=!0:n=!0}}return t&&(o="Alt-"+o),n&&(o="Ctrl-"+o),i&&(o="Meta-"+o),f&&(o="Shift-"+o),o}function zr(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function Or(e){let t=function(e){let t=Object.create(null);for(let n in e)t[Er(n)]=e[n];return t}(e);return function(e,n){let f,i=function(e){var t=!(Sr&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||xr&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Ir:kr)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(n),r=t[zr(i,n)];if(r&&r(e.state,e.dispatch,e))return!0;if(1==i.length&&" "!=i){if(n.shiftKey){let f=t[zr(i,n,!1)];if(f&&f(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(Ar&&n.ctrlKey&&n.altKey)&&(f=kr[n.keyCode])&&f!=i){let i=t[zr(f,n)];if(i&&i(e.state,e.dispatch,e))return!0}}return!1}}function Pr(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}function Rr(e,t,n){let f=t.nodeBefore,i=t.pos-1;for(;!f.isTextblock;i--){if(f.type.spec.isolating)return!1;let e=f.lastChild;if(!e)return!1;f=e}let r=t.nodeAfter,o=t.pos+1;for(;!r.isTextblock;o++){if(r.type.spec.isolating)return!1;let e=r.firstChild;if(!e)return!1;r=e}let a=Ct(e.doc,i,o,F.empty);if(!a||a.from!=i||a instanceof st&&a.slice.size>=o-i)return!1;if(n){let t=e.tr.step(a);t.setSelection(Ut.create(t.doc,i)),n(t.scrollIntoView())}return!0}function Jr(e,t,n=!1){for(let f=e;f;f="start"==t?f.firstChild:f.lastChild){if(f.isTextblock)return!0;if(n&&1!=f.childCount)return!1}return!1}function Br(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function Qr(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}function Yr(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}function Ur(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function Gr(e,t,n,f){let i,r,o=t.nodeBefore,a=t.nodeAfter,s=o.type.spec.isolating||a.type.spec.isolating;if(!s&&function(e,t,n){let f=t.nodeBefore,i=t.nodeAfter,r=t.index();return!(!(f&&i&&f.type.compatibleContent(i.type))||(!f.content.size&&t.parent.canReplace(r-1,r)?(n&&n(e.tr.delete(t.pos-f.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(r,r+1)||!i.isTextblock&&!bt(e.doc,t.pos)||(n&&n(e.tr.join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let l=!s&&t.parent.canReplace(t.index(),t.index()+1);if(l&&(i=(r=o.contentMatchAt(o.childCount)).findWrapping(a.type))&&r.matchType(i[0]||a.type).validEnd){if(n){let f=t.pos+a.nodeSize,r=Y.empty;for(let e=i.length-1;e>=0;e--)r=Y.from(i[e].create(null,r));r=Y.from(o.copy(r));let s=e.tr.step(new lt(t.pos-1,f,t.pos,f,new F(r,1,0),i.length,!0)),l=s.doc.resolve(f+2*i.length);l.nodeAfter&&l.nodeAfter.type==o.type&&bt(s.doc,l.pos)&&s.join(l.pos),n(s.scrollIntoView())}return!0}let c=a.type.spec.isolating||f>0&&s?null:Jt.findFrom(t,1),d=c&&c.$from.blockRange(c.$to),u=d&&ht(d);if(null!=u&&u>=t.depth)return n&&n(e.tr.lift(d,u).scrollIntoView()),!0;if(l&&Jr(a,"start",!0)&&Jr(o,"end")){let f=o,i=[];for(;i.push(f),!f.isTextblock;)f=f.lastChild;let r=a,s=1;for(;!r.isTextblock;r=r.firstChild)s++;if(f.canReplace(f.childCount,f.childCount,r.content)){if(n){let f=Y.empty;for(let e=i.length-1;e>=0;e--)f=Y.from(i[e].copy(f));n(e.tr.step(new lt(t.pos-i.length,t.pos+a.nodeSize,t.pos+s,t.pos+a.nodeSize-s,new F(f,i.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Zr(e){return function(t,n){let f=t.selection,i=e<0?f.$from:f.$to,r=i.depth;for(;i.node(r).isInline;){if(!r)return!1;r--}return!!i.node(r).isTextblock&&(n&&n(t.tr.setSelection(Ut.create(t.doc,e<0?i.start(r):i.end(r)))),!0)}}const Hr=Zr(-1),Wr=Zr(1);function Fr(e,t=null){return function(n,f){let i=!1;for(let f=0;f<n.selection.ranges.length&&!i;f++){let{$from:{pos:r},$to:{pos:o}}=n.selection.ranges[f];n.doc.nodesBetween(r,o,((f,r)=>{if(i)return!1;if(f.isTextblock&&!f.hasMarkup(e,t))if(f.type==e)i=!0;else{let t=n.doc.resolve(r),f=t.index();i=t.parent.canReplaceWith(f,f+1,e)}}))}if(!i)return!1;if(f){let i=n.tr;for(let f=0;f<n.selection.ranges.length;f++){let{$from:{pos:r},$to:{pos:o}}=n.selection.ranges[f];i.setBlockType(r,o,e,t)}f(i.scrollIntoView())}return!0}}function Vr(e,t=null){return function(n,f){let{$from:i,$to:r}=n.selection,o=i.blockRange(r);if(!o)return!1;let a=f?n.tr:null;return!!function(e,t,n,f=null){let i=!1,r=t,o=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&0==t.startIndex){if(0==t.$from.index(t.depth-1))return!1;let e=o.resolve(t.start-2);r=new le(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new le(t.$from,o.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let a=pt(r,n,f,t);return!!a&&(e&&function(e,t,n,f,i){let r=Y.empty;for(let e=n.length-1;e>=0;e--)r=Y.from(n[e].type.create(n[e].attrs,r));e.step(new lt(t.start-(f?2:0),t.end,t.start,t.end,new F(r,0,0),n.length,!0));let o=0;for(let e=0;e<n.length;e++)n[e].type==i&&(o=e+1);let a=n.length-o,s=t.start+n.length-(f?2:0),l=t.parent;for(let n=t.startIndex,f=t.endIndex,i=!0;n<f;n++,i=!1)!i&&Mt(e.doc,s,a)&&(e.split(s,a),s+=2*a),s+=l.child(n).nodeSize}(e,t,a,i,n),!0)}(a,o,e,t)&&(f&&f(a.scrollIntoView()),!0)}}function $r(e){return function(t,n){let{$from:f,$to:i}=t.selection,r=f.blockRange(i,(t=>t.childCount>0&&t.firstChild.type==e));return!!r&&(!n||(f.node(r.depth-1).type==e?function(e,t,n,f){let i=e.tr,r=f.end,o=f.$to.end(f.depth);r<o&&(i.step(new lt(r-1,o,r,o,new F(Y.from(n.create(null,f.parent.copy())),1,0),1,!0)),f=new le(i.doc.resolve(f.$from.pos),i.doc.resolve(o),f.depth));const a=ht(f);if(null==a)return!1;i.lift(f,a);let s=i.doc.resolve(i.mapping.map(r,-1)-1);return bt(i.doc,s.pos)&&s.nodeBefore.type==s.nodeAfter.type&&i.join(s.pos),t(i.scrollIntoView()),!0}(t,n,e,r):function(e,t,n){let f=e.tr,i=n.parent;for(let e=n.end,t=n.endIndex-1,r=n.startIndex;t>r;t--)e-=i.child(t).nodeSize,f.delete(e-1,e+1);let r=f.doc.resolve(n.start),o=r.nodeAfter;if(f.mapping.map(n.end)!=n.start+r.nodeAfter.nodeSize)return!1;let a=0==n.startIndex,s=n.endIndex==i.childCount,l=r.node(-1),c=r.index(-1);if(!l.canReplace(c+(a?0:1),c+1,o.content.append(s?Y.empty:Y.from(i))))return!1;let d=r.pos,u=d+o.nodeSize;return f.step(new lt(d-(a?1:0),u+(s?1:0),d+1,u-1,new F((a?Y.empty:Y.from(i.copy(Y.empty))).append(s?Y.empty:Y.from(i.copy(Y.empty))),a?0:1,s?0:1),a?0:1)),t(f.scrollIntoView()),!0}(t,n,r)))}}function _r(e){const{state:t,transaction:n}=e;let{selection:f}=n,{doc:i}=n,{storedMarks:r}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return r},get selection(){return f},get doc(){return i},get tr(){return f=n.selection,i=n.doc,r=n.storedMarks,n}}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform();class Kr{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:f}=t,{tr:i}=n,r=this.buildProps(i);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(r);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&f.dispatch(i),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:f,state:i}=this,{view:r}=f,o=[],a=!!e,s=e||i.tr,l={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const f=this.buildProps(s,t),i=n(...e)(f);return o.push(i),l}]))),run:()=>(!a&&t&&!s.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(s),o.every((e=>!0===e)))};return l}createCan(e){const{rawCommands:t,state:n}=this,f=e||n.tr,i=this.buildProps(f,false);return{...Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})]))),chain:()=>this.createChain(f,false)}}buildProps(e,t=!0){const{rawCommands:n,editor:f,state:i}=this,{view:r}=f,o={tr:e,editor:f,view:r,state:_r({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(o)])))}};return o}}class Xr{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];return n&&n.forEach((e=>e.apply(this,t))),this}off(e,t){const n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter((e=>e!==t)):delete this.callbacks[e]),this}once(e,t){const n=(...f)=>{this.off(e,n),t.apply(this,f)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}}function qr(e,t,n){return void 0===e.config[t]&&e.parent?qr(e.parent,t,n):"function"==typeof e.config[t]?e.config[t].bind({...n,parent:e.parent?qr(e.parent,t,n):null}):e.config[t]}function eo(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function to(e){const t=[],{nodeExtensions:n,markExtensions:f}=eo(e),i=[...n,...f],r={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=qr(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage,extensions:i});n&&n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,f])=>{t.push({type:n,name:e,attribute:{...r,...f}})}))}))}))})),i.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},f=qr(e,"addAttributes",n);if(!f)return;const i=f();Object.entries(i).forEach((([n,f])=>{const i={...r,...f};"function"==typeof(null==i?void 0:i.default)&&(i.default=i.default()),null!=i&&i.isRequired&&void 0===(null==i?void 0:i.default)&&delete i.default,t.push({type:e.name,name:n,attribute:i})}))})),t}function no(e,t){if("string"==typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function fo(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{if(n[e])if("class"===e){const f=t?String(t).split(" "):[],i=n[e]?n[e].split(" "):[],r=f.filter((e=>!i.includes(e)));n[e]=[...i,...r].join(" ")}else if("style"===e){const f=t?t.split(";").map((e=>e.trim())).filter(Boolean):[],i=n[e]?n[e].split(";").map((e=>e.trim())).filter(Boolean):[],r=new Map;i.forEach((e=>{const[t,n]=e.split(":").map((e=>e.trim()));r.set(t,n)})),f.forEach((e=>{const[t,n]=e.split(":").map((e=>e.trim()));r.set(t,n)})),n[e]=Array.from(r.entries()).map((([e,t])=>`${e}: ${t}`)).join("; ")}else n[e]=t;else n[e]=t})),n}),{})}function io(e,t){return t.filter((t=>t.type===e.type.name)).filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>fo(e,t)),{})}function ro(e){return"function"==typeof e}function oo(e,t=void 0,...n){return ro(e)?t?e.bind(t)(...n):e(...n):e}function ao(e,t){return"style"in e?e:{...e,getAttrs:n=>{const f=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===f)return!1;const i=t.reduce(((e,t)=>{const f=t.attribute.parseHTML?t.attribute.parseHTML(n):function(e){return"string"!=typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&&e}(n.getAttribute(t.name));return null==f?e:{...e,[t.name]:f}}),{});return{...f,...i}}}}function so(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>("attrs"!==e||!function(e={}){return 0===Object.keys(e).length&&e.constructor===Object}(t))&&null!=t)))}function lo(e,t){return t.nodes[e]||t.marks[e]||null}function co(e,t){return Array.isArray(t)?t.some((t=>("string"==typeof t?t:t.name)===e.name)):t}function uo(e,t){const n=Ue.fromSchema(t).serializeFragment(e),f=document.implementation.createHTMLDocument().createElement("div");return f.appendChild(n),f.innerHTML}const ho=(e,t=500)=>{let n="";const f=e.parentOffset;return e.parent.nodesBetween(Math.max(0,f-t),f,((e,t,i,r)=>{var o,a;const s=(null===(a=(o=e.type.spec).toText)||void 0===a?void 0:a.call(o,{node:e,pos:t,parent:i,index:r}))||e.textContent||"%leaf%";n+=e.isAtom&&!e.isText?s:s.slice(0,Math.max(0,f-t))})),n};function po(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class mo{constructor(e){this.find=e.find,this.handler=e.handler}}const go=(e,t)=>{if(po(t))return t.exec(e);const n=t(e);if(!n)return null;const f=[n.text];return f.index=n.index,f.input=e,f.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),f.push(n.replaceWith)),f};function wo(e){var t;const{editor:n,from:f,to:i,text:r,rules:o,plugin:a}=e,{view:s}=n;if(s.composing)return!1;const l=s.state.doc.resolve(f);if(l.parent.type.spec.code||null!==(t=l.nodeBefore||l.nodeAfter)&&void 0!==t&&t.marks.find((e=>e.type.spec.code)))return!1;let c=!1;const d=ho(l)+r;return o.forEach((e=>{if(c)return;const t=go(d,e.find);if(!t)return;const o=s.state.tr,l=_r({state:s.state,transaction:o}),u={from:f-(t[0].length-r.length),to:i},{commands:h,chain:p,can:m}=new Kr({editor:n,state:l});null===e.handler({state:l,range:u,match:t,commands:h,chain:p,can:m})||!o.steps.length||(o.setMeta(a,{transform:o,from:f,to:i,text:r}),s.dispatch(o),c=!0)})),c}function Mo(e){const{editor:t,rules:n}=e,f=new fn({state:{init:()=>null,apply(e,i,r){const o=e.getMeta(f);if(o)return o;const a=e.getMeta("applyInputRules");return!!a&&setTimeout((()=>{let{text:e}=a;"string"==typeof e||(e=uo(Y.from(e),r.schema));const{from:i}=a,o=i+e.length;wo({editor:t,from:i,to:o,text:e,rules:n,plugin:f})})),e.selectionSet||e.docChanged?null:i}},props:{handleTextInput:(e,i,r,o)=>wo({editor:t,from:i,to:r,text:o,rules:n,plugin:f}),handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:i}=e.state.selection;i&&wo({editor:t,from:i.pos,to:i.pos,text:"",rules:n,plugin:f})})),!1)},handleKeyDown(e,i){if("Enter"!==i.key)return!1;const{$cursor:r}=e.state.selection;return!!r&&wo({editor:t,from:r.pos,to:r.pos,text:"\n",rules:n,plugin:f})}},isInputRules:!0});return f}function bo(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function yo(e,t){const n={...e};return bo(e)&&bo(t)&&Object.keys(t).forEach((f=>{bo(t[f])&&bo(e[f])?n[f]=yo(e[f],t[f]):n[f]=t[f]})),n}class Lo{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=oo(qr(this,"addOptions",{name:this.name}))),this.storage=oo(qr(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Lo(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>yo(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Lo(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=oo(qr(t,"addOptions",{name:t.name})),t.storage=oo(qr(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,f=e.state.selection.$from;if(f.pos===f.end()){const i=f.marks();if(!i.find((e=>(null==e?void 0:e.type.name)===t.name)))return!1;const r=i.find((e=>(null==e?void 0:e.type.name)===t.name));return r&&n.removeStoredMark(r),n.insertText(" ",f.pos),e.view.dispatch(n),!0}return!1}}class Co{constructor(e){this.find=e.find,this.handler=e.handler}}const vo=(e,t,n)=>{if(po(t))return[...e.matchAll(t)];const f=t(e,n);return f?f.map((t=>{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n})):[]};let jo=null;function ko(e){const{editor:t,rules:n}=e;let f,i=null,r=!1,o=!1,a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null;try{f=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{f=null}const s=({state:e,from:n,to:i,rule:r,pasteEvt:o})=>{const s=e.tr,l=_r({state:e,transaction:s});if(function(e){const{editor:t,state:n,from:f,to:i,rule:r,pasteEvent:o,dropEvent:a}=e,{commands:s,chain:l,can:c}=new Kr({editor:t,state:n}),d=[];return n.doc.nodesBetween(f,i,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const u=Math.max(f,t),h=Math.min(i,t+e.content.size),p=e.textBetween(u-t,h-t,void 0,"");vo(p,r.find,o).forEach((e=>{if(void 0===e.index)return;const t=u+e.index+1,f=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(f)},h=r.handler({state:n,range:i,match:e,commands:s,chain:l,can:c,pasteEvent:o,dropEvent:a});d.push(h)}))})),d.every((e=>null!==e))}({editor:t,state:l,from:Math.max(n-1,0),to:i.b-1,rule:r,pasteEvent:o,dropEvent:f})&&s.steps.length){try{f=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{f=null}return a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,s}};return n.map((e=>new fn({view(e){const n=n=>{var f;i=null!==(f=e.dom.parentElement)&&void 0!==f&&f.contains(n.target)?e.dom.parentElement:null,i&&(jo=t)},f=()=>{jo&&(jo=null)};return window.addEventListener("dragstart",n),window.addEventListener("dragend",f),{destroy(){window.removeEventListener("dragstart",n),window.removeEventListener("dragend",f)}}},props:{handleDOMEvents:{drop:(e,t)=>{if(o=i===e.dom.parentElement,f=t,!o){const e=jo;e&&setTimeout((()=>{const t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})}),10)}return!1},paste:(e,t)=>{var n;const f=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return a=t,r=!(null==f||!f.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,f)=>{const i=t[0],l="paste"===i.getMeta("uiEvent")&&!r,c="drop"===i.getMeta("uiEvent")&&!o,d=i.getMeta("applyPasteRules"),u=!!d;if(!l&&!c&&!u)return;if(u){let{text:t}=d;"string"==typeof t||(t=uo(Y.from(t),f.schema));const{from:n}=d,i=n+t.length,r=(e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(t);return s({rule:e,state:f,from:n,to:{b:i},pasteEvt:r})}const h=n.doc.content.findDiffStart(f.doc.content),p=n.doc.content.findDiffEnd(f.doc.content);return function(e){return"number"==typeof e}(h)&&p&&h!==p.b?s({rule:e,state:f,from:h,to:p,pasteEvt:a}):void 0}})))}class Io{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=Io.resolve(e),this.schema=function(e,t){var n;const f=to(e),{nodeExtensions:i,markExtensions:r}=eo(e),o=null===(n=i.find((e=>qr(e,"topNode"))))||void 0===n?void 0:n.name,a=Object.fromEntries(i.map((n=>{const i=f.filter((e=>e.type===n.name)),r={name:n.name,options:n.options,storage:n.storage,editor:t},o=so({...e.reduce(((e,t)=>{const f=qr(t,"extendNodeSchema",r);return{...e,...f?f(n):{}}}),{}),content:oo(qr(n,"content",r)),marks:oo(qr(n,"marks",r)),group:oo(qr(n,"group",r)),inline:oo(qr(n,"inline",r)),atom:oo(qr(n,"atom",r)),selectable:oo(qr(n,"selectable",r)),draggable:oo(qr(n,"draggable",r)),code:oo(qr(n,"code",r)),whitespace:oo(qr(n,"whitespace",r)),linebreakReplacement:oo(qr(n,"linebreakReplacement",r)),defining:oo(qr(n,"defining",r)),isolating:oo(qr(n,"isolating",r)),attrs:Object.fromEntries(i.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=oo(qr(n,"parseHTML",r));a&&(o.parseDOM=a.map((e=>ao(e,i))));const s=qr(n,"renderHTML",r);s&&(o.toDOM=e=>s({node:e,HTMLAttributes:io(e,i)}));const l=qr(n,"renderText",r);return l&&(o.toText=l),[n.name,o]}))),s=Object.fromEntries(r.map((n=>{const i=f.filter((e=>e.type===n.name)),r={name:n.name,options:n.options,storage:n.storage,editor:t},o=so({...e.reduce(((e,t)=>{const f=qr(t,"extendMarkSchema",r);return{...e,...f?f(n):{}}}),{}),inclusive:oo(qr(n,"inclusive",r)),excludes:oo(qr(n,"excludes",r)),group:oo(qr(n,"group",r)),spanning:oo(qr(n,"spanning",r)),code:oo(qr(n,"code",r)),attrs:Object.fromEntries(i.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=oo(qr(n,"parseHTML",r));a&&(o.parseDOM=a.map((e=>ao(e,i))));const s=qr(n,"renderHTML",r);return s&&(o.toDOM=e=>s({mark:e,HTMLAttributes:io(e,i)})),[n.name,o]})));return new Te({topNode:o,nodes:a,marks:s})}(this.extensions,t),this.setupExtensions()}static resolve(e){const t=Io.sort(Io.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return Array.from(new Set(t))}(t.map((e=>e.name)));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=>`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=>{const t=qr(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=>{const n=qr(e,"priority")||100,f=qr(t,"priority")||100;return n>f?-1:n<f?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=qr(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:lo(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=Io.sort([...this.extensions].reverse()),n=[],f=[],i=t.map((t=>{const i={name:t.name,options:t.options,storage:t.storage,editor:e,type:lo(t.name,this.schema)},r=[],o=qr(t,"addKeyboardShortcuts",i);let a={};if("mark"===t.type&&qr(t,"exitable",i)&&(a.ArrowRight=()=>Lo.handleExit({editor:e,mark:t})),o){const t=Object.fromEntries(Object.entries(o()).map((([t,n])=>[t,()=>n({editor:e})])));a={...a,...t}}const s=new fn({props:{handleKeyDown:Or(a)}});r.push(s);const l=qr(t,"addInputRules",i);co(t,e.options.enableInputRules)&&l&&n.push(...l());const c=qr(t,"addPasteRules",i);co(t,e.options.enablePasteRules)&&c&&f.push(...c());const d=qr(t,"addProseMirrorPlugins",i);if(d){const e=d();r.push(...e)}return r})).flat();return[Mo({editor:e,rules:n}),...ko({editor:e,rules:f}),...i]}get attributes(){return to(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=eo(this.extensions);return Object.fromEntries(t.filter((e=>!!qr(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),f={name:t.name,options:t.options,storage:t.storage,editor:e,type:no(t.name,this.schema)},i=qr(t,"addNodeView",f);if(!i)return[];return[t.name,(f,r,o,a,s)=>{const l=io(f,n);return i()({node:f,view:r,getPos:o,decorations:a,innerDecorations:s,editor:e,extension:t,HTMLAttributes:l})}]})))}setupExtensions(){this.extensions.forEach((e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:lo(e.name,this.schema)};"mark"===e.type&&(null===(t=oo(qr(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name);const f=qr(e,"onBeforeCreate",n),i=qr(e,"onCreate",n),r=qr(e,"onUpdate",n),o=qr(e,"onSelectionUpdate",n),a=qr(e,"onTransaction",n),s=qr(e,"onFocus",n),l=qr(e,"onBlur",n),c=qr(e,"onDestroy",n);f&&this.editor.on("beforeCreate",f),i&&this.editor.on("create",i),r&&this.editor.on("update",r),o&&this.editor.on("selectionUpdate",o),a&&this.editor.on("transaction",a),s&&this.editor.on("focus",s),l&&this.editor.on("blur",l),c&&this.editor.on("destroy",c)}))}}class So{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=oo(qr(this,"addOptions",{name:this.name}))),this.storage=oo(qr(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new So(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>yo(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new So({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=oo(qr(t,"addOptions",{name:t.name})),t.storage=oo(qr(t,"addStorage",{name:t.name,options:t.options})),t}}function xo(e,t,n){const{from:f,to:i}=t,{blockSeparator:r="\n\n",textSerializers:o={}}=n||{};let a="";return e.nodesBetween(f,i,((e,n,s,l)=>{var c;e.isBlock&&n>f&&(a+=r);const d=null==o?void 0:o[e.type.name];if(d)return s&&(a+=d({node:e,pos:n,parent:s,index:l,range:t})),!1;e.isText&&(a+=null===(c=null==e?void 0:e.text)||void 0===c?void 0:c.slice(Math.max(f,n)-n,i-n))})),a}function No(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const To=So.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new fn({key:new an("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:f,selection:i}=t,{ranges:r}=i,o=Math.min(...r.map((e=>e.$from.pos))),a=Math.max(...r.map((e=>e.$to.pos))),s=No(n);return xo(f,{from:o,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:s})}}})]}});function Do(e,t,n={strict:!0}){const f=Object.keys(t);return!f.length||f.every((f=>n.strict?t[f]===e[f]:po(t[f])?t[f].test(e[f]):t[f]===e[f]))}function Ao(e,t,n={}){return e.find((e=>e.type===t&&Do(Object.fromEntries(Object.keys(n).map((t=>[t,e.attrs[t]]))),n)))}function Eo(e,t,n={}){return!!Ao(e,t,n)}function zo(e,t,n){var f;if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if((!i.node||!i.node.marks.some((e=>e.type===t)))&&(i=e.parent.childBefore(e.parentOffset)),!i.node||!i.node.marks.some((e=>e.type===t))||(n=n||(null===(f=i.node.marks[0])||void 0===f?void 0:f.attrs),!Ao([...i.node.marks],t,n)))return;let r=i.index,o=e.start()+i.offset,a=r+1,s=o+i.node.nodeSize;for(;r>0&&Eo([...e.parent.child(r-1).marks],t,n);)r-=1,o-=e.parent.child(r).nodeSize;for(;a<e.parent.childCount&&Eo([...e.parent.child(a).marks],t,n);)s+=e.parent.child(a).nodeSize,a+=1;return{from:o,to:s}}function Oo(e,t){if("string"==typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function Po(e){return e instanceof Ut}function Ro(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Jo(e,t=null){if(!t)return null;const n=Jt.atStart(e),f=Jt.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return f;const i=n.from,r=f.to;return"all"===t?Ut.create(e,Ro(0,i,r),Ro(e.content.size,i,r)):Ut.create(e,Ro(t,i,r),Ro(t,i,r))}function Bo(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Qo=e=>{const t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){const f=t[n];3===f.nodeType&&f.nodeValue&&/^(\n\s\s|\n)$/.test(f.nodeValue)?e.removeChild(f):1===f.nodeType&&Qo(f)}return e};function Yo(e){const t=`<body>${e}</body>`,n=(new window.DOMParser).parseFromString(t,"text/html").body;return Qo(n)}function Uo(e,t,n){if(e instanceof de||e instanceof Y)return e;n={slice:!0,parseOptions:{},...n};const f="string"==typeof e;if("object"==typeof e&&null!==e)try{if(Array.isArray(e)&&e.length>0)return Y.fromArray(e.map((e=>t.nodeFromJSON(e))));const f=t.nodeFromJSON(e);return n.errorOnInvalidContent&&f.check(),f}catch(f){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:f});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",f),Uo("",t,n)}if(f){if(n.errorOnInvalidContent){let f=!1,i="";const r=new Te({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=>(f=!0,i="string"==typeof e?e:e.outerHTML,null)}]}})});if(n.slice?Ae.fromSchema(r).parseSlice(Yo(e),n.parseOptions):Ae.fromSchema(r).parse(Yo(e),n.parseOptions),n.errorOnInvalidContent&&f)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${i}`)})}const f=Ae.fromSchema(t);return n.slice?f.parseSlice(Yo(e),n.parseOptions).content:f.parse(Yo(e),n.parseOptions)}return Uo("",t,n)}function Go(){return typeof navigator<"u"&&/Mac/.test(navigator.platform)}function Zo(e,t,n={}){const{from:f,to:i,empty:r}=e.selection,o=t?no(t,e.schema):null,a=[];e.doc.nodesBetween(f,i,((e,t)=>{if(e.isText)return;const n=Math.max(f,t),r=Math.min(i,t+e.nodeSize);a.push({node:e,from:n,to:r})}));const s=i-f,l=a.filter((e=>!o||o.name===e.node.type.name)).filter((e=>Do(e.node.attrs,n,{strict:!1})));return r?!!l.length:l.reduce(((e,t)=>e+t.to-t.from),0)>=s}function Ho(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Wo(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,f)=>(n.includes(f)||(t[f]=e[f]),t)),{})}function Fo(e,t,n={},f={}){return Uo(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:f.errorOnInvalidContent})}function Vo(e,t){const n=Oo(t,e.schema),{from:f,to:i,empty:r}=e.selection,o=[];r?(e.storedMarks&&o.push(...e.storedMarks),o.push(...e.selection.$head.marks())):e.doc.nodesBetween(f,i,(e=>{o.push(...e.marks)}));const a=o.find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}function $o(e){return t=>function(e,t){for(let n=e.depth;n>0;n-=1){const f=e.node(n);if(t(f))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:f}}}(t.$from,e)}function _o(e,t){const n=Ho("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=no(t,e.schema),{from:f,to:i}=e.selection,r=[];e.doc.nodesBetween(f,i,(e=>{r.push(e)}));const o=r.reverse().find((e=>e.type.name===n.name));return o?{...o.attrs}:{}}(e,t):"mark"===n?Vo(e,t):{}}function Ko(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=>{const f=t(e);return!Object.prototype.hasOwnProperty.call(n,f)&&(n[f]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=>!t.filter(((e,t)=>t!==n)).some((t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))))}function Xo(e,t,n){const f=[];return e===t?n.resolve(e).marks().forEach((t=>{const i=zo(n.resolve(e),t.type);i&&f.push({mark:t,...i})})):n.nodesBetween(e,t,((e,t)=>{!e||void 0===(null==e?void 0:e.nodeSize)||f.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),f}function qo(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const f=e.find((e=>e.type===t&&e.name===n));return!!f&&f.attribute.keepOnSplit})))}function ea(e,t,n={}){const{empty:f,ranges:i}=e.selection,r=t?Oo(t,e.schema):null;if(f)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!r||r.name===e.type.name)).find((e=>Do(e.attrs,n,{strict:!1})));let o=0;const a=[];if(i.forEach((({$from:t,$to:n})=>{const f=t.pos,i=n.pos;e.doc.nodesBetween(f,i,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(f,t),r=Math.min(i,t+e.nodeSize);o+=r-n,a.push(...e.marks.map((e=>({mark:e,from:n,to:r}))))}))})),0===o)return!1;const s=a.filter((e=>!r||r.name===e.mark.type.name)).filter((e=>Do(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),l=a.filter((e=>!r||e.mark.type!==r&&e.mark.type.excludes(r))).reduce(((e,t)=>e+t.to-t.from),0);return(s>0?s+l:s)>=o}function ta(e,t){const{nodeExtensions:n}=eo(t),f=n.find((t=>t.name===e));if(!f)return!1;const i=oo(qr(f,"group",{name:f.name,options:f.options,storage:f.storage}));return"string"==typeof i&&i.split(" ").includes("list")}function na(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var f;if(n){if("hardBreak"===e.type.name)return!0;if(e.isText)return/^\s*$/m.test(null!==(f=e.text)&&void 0!==f?f:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let f=!0;return e.content.forEach((e=>{!1!==f&&(na(e,{ignoreWhitespace:n,checkChildren:t})||(f=!1))})),f}return!1}function fa(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const f=n.filter((e=>null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(f)}}const ia=(e,t)=>{const n=$o((e=>e.type===t))(e.selection);if(!n)return!0;const f=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===f)return!0;const i=e.doc.nodeAt(f);return n.node.type===(null==i?void 0:i.type)&&bt(e.doc,n.pos)&&e.join(n.pos),!0},ra=(e,t)=>{const n=$o((e=>e.type===t))(e.selection);if(!n)return!0;const f=e.doc.resolve(n.start).after(n.depth);if(void 0===f)return!0;const i=e.doc.nodeAt(f);return n.node.type===(null==i?void 0:i.type)&&bt(e.doc,f)&&e.join(f),!0};var oa=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null==window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent("",e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{const{selection:f}=t,{ranges:i}=f;return n&&i.forEach((({$from:n,$to:f})=>{e.doc.nodesBetween(n.pos,f.pos,((e,n)=>{if(e.type.isText)return;const{doc:f,mapping:i}=t,r=f.resolve(i.map(n)),o=f.resolve(i.map(n+e.nodeSize)),a=r.blockRange(o);if(!a)return;const s=ht(a);if(e.type.isTextblock){const{defaultType:e}=r.parent.contentMatchAt(r.index());t.setNodeMarkup(a.start,e)}(s||0===s)&&t.lift(a,s)}))})),!0},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,{$from:f,$to:i}=n;if(n instanceof Wt||f.parent.inlineContent||i.parent.inlineContent)return!1;let r=Ur(i.parent.contentMatchAt(i.indexAfter()));if(!r||!r.isTextblock)return!1;if(t){let n=(!f.parentOffset&&i.index()<i.parent.childCount?f:i).pos,o=e.tr.insert(n,r.createAndFill());o.setSelection(Ut.create(o.doc,n+1)),t(o.scrollIntoView())}return!0})(e,t),cut:(e,t)=>({editor:n,tr:f})=>{const{state:i}=n,r=i.doc.slice(e.from,e.to);f.deleteRange(e.from,e.to);const o=f.mapping.map(t);return f.insert(o,r.content),f.setSelection(new Ut(f.doc.resolve(o-1))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,f=n.$anchor.node();if(f.content.size>0)return!1;const i=e.selection.$anchor;for(let n=i.depth;n>0;n-=1)if(i.node(n).type===f.type){if(t){const t=i.before(n),f=i.after(n);e.delete(t,f).scrollIntoView()}return!0}return!1},deleteNode:e=>({tr:t,state:n,dispatch:f})=>{const i=no(e,n.schema),r=t.selection.$anchor;for(let e=r.depth;e>0;e-=1)if(r.node(e).type===i){if(f){const n=r.before(e),f=r.after(e);t.delete(n,f).scrollIntoView()}return!0}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:f,to:i}=e;return n&&t.delete(f,i),!0},deleteSelection:()=>({state:e,dispatch:t})=>((e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0))(e,t),enter:()=>({commands:e})=>e.keyboardShortcut("Enter"),exitCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:f}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(f))return!1;let i=n.node(-1),r=n.indexAfter(-1),o=Ur(i.contentMatchAt(r));if(!o||!i.canReplaceWith(r,r,o))return!1;if(t){let f=n.after(),i=e.tr.replaceWith(f,f,o.createAndFill());i.setSelection(Jt.near(i.doc.resolve(f),1)),t(i.scrollIntoView())}return!0})(e,t),extendMarkRange:(e,t={})=>({tr:n,state:f,dispatch:i})=>{const r=Oo(e,f.schema),{doc:o,selection:a}=n,{$from:s,from:l,to:c}=a;if(i){const e=zo(s,r,t);if(e&&e.from<=l&&e.to>=c){const t=Ut.create(o,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{const n="function"==typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=>({editor:n,view:f,tr:i,dispatch:r})=>{t={scrollIntoView:!0,...t};const o=()=>{(Bo()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&f.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(f.focus(),null!=t&&t.scrollIntoView&&n.commands.scrollIntoView())}))};if(f.hasFocus()&&null===e||!1===e)return!0;if(r&&null===e&&!Po(n.state.selection))return o(),!0;const a=Jo(i.doc,e)||n.state.selection,s=n.state.selection.eq(a);return r&&(s||i.setSelection(a),s&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},forEach:(e,t)=>n=>e.every(((e,f)=>t(e,{...n,index:f}))),insertContent:(e,t)=>({tr:n,commands:f})=>f.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:f,dispatch:i,editor:r})=>{var o;if(i){let i;n={parseOptions:r.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};try{i=Uo(t,r.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(o=n.errorOnInvalidContent)&&void 0!==o?o:r.options.enableContentCheck})}catch(e){return r.emit("contentError",{editor:r,error:e,disableCollaboration:()=>{r.storage.collaboration&&(r.storage.collaboration.isDisabled=!0)}}),!1}let a,{from:s,to:l}="number"==typeof e?{from:e,to:e}:{from:e.from,to:e.to},c=!0,d=!0;if(((e=>!("type"in e))(i)?i:[i]).forEach((e=>{e.check(),c=!!c&&(e.isText&&0===e.marks.length),d=!!d&&e.isBlock})),s===l&&d){const{parent:e}=f.doc.resolve(s);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(s-=1,l+=1)}if(c){if(Array.isArray(t))a=t.map((e=>e.text||"")).join("");else if(t instanceof Y){let e="";t.forEach((t=>{t.text&&(e+=t.text)})),a=e}else a="object"==typeof t&&t&&t.text?t.text:t;f.insertText(a,s,l)}else a=i,f.replaceWith(s,l,a);n.updateSelection&&function(e,t,n){const f=e.steps.length-1;if(f<t)return;const i=e.steps[f];if(!(i instanceof st||i instanceof lt))return;const r=e.mapping.maps[f];let o=0;r.forEach(((e,t,n,f)=>{0===o&&(o=f)})),e.setSelection(Jt.near(e.doc.resolve(o),n))}(f,f.steps.length-1,-1),n.applyInputRules&&f.setMeta("applyInputRules",{from:s,text:a}),n.applyPasteRules&&f.setMeta("applyPasteRules",{from:s,text:a})}return!0},joinBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Pr(e,n);if(!f)return!1;let i=Br(f);if(!i){let n=f.blockRange(),i=n&&ht(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let r=i.nodeBefore;if(Gr(e,i,t,-1))return!0;if(0==f.parent.content.size&&(Jr(r,"end")||Zt.isSelectable(r)))for(let n=f.depth;;n--){let o=Ct(e.doc,f.before(n),f.after(n),F.empty);if(o&&o.slice.size<o.to-o.from){if(t){let n=e.tr.step(o);n.setSelection(Jr(r,"end")?Jt.findFrom(n.doc.resolve(n.mapping.map(i.pos,-1)),-1):Zt.create(n.doc,i.pos-r.nodeSize)),t(n.scrollIntoView())}return!0}if(1==n||f.node(n-1).childCount>1)break}return!(!r.isAtom||i.depth!=f.depth-1||(t&&t(e.tr.delete(i.pos-r.nodeSize,i.pos).scrollIntoView()),0))})(e,t),joinDown:()=>({state:e,dispatch:t})=>((e,t)=>{let n,f=e.selection;if(f instanceof Zt){if(f.node.isTextblock||!bt(e.doc,f.to))return!1;n=f.to}else if(n=Lt(e.doc,f.to,1),null==n)return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Qr(e,n);if(!f)return!1;let i=Yr(f);if(!i)return!1;let r=i.nodeAfter;if(Gr(e,i,t,1))return!0;if(0==f.parent.content.size&&(Jr(r,"start")||Zt.isSelectable(r))){let n=Ct(e.doc,f.before(),f.after(),F.empty);if(n&&n.slice.size<n.to-n.from){if(t){let f=e.tr.step(n);f.setSelection(Jr(r,"start")?Jt.findFrom(f.doc.resolve(f.mapping.map(i.pos)),1):Zt.create(f.doc,f.mapping.map(i.pos))),t(f.scrollIntoView())}return!0}}return!(!r.isAtom||i.depth!=f.depth-1||(t&&t(e.tr.delete(i.pos,i.pos+r.nodeSize).scrollIntoView()),0))})(e,t),joinItemBackward:()=>({state:e,dispatch:t,tr:n})=>{try{const f=Lt(e.doc,e.selection.$from.pos,-1);return null!=f&&(n.join(f,2),t&&t(n),!0)}catch{return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{const f=Lt(e.doc,e.selection.$from.pos,1);return null!=f&&(n.join(f,2),t&&t(n),!0)}catch{return!1}},joinTextblockBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Pr(e,n);if(!f)return!1;let i=Br(f);return!!i&&Rr(e,i,t)})(e,t),joinTextblockForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Qr(e,n);if(!f)return!1;let i=Yr(f);return!!i&&Rr(e,i,t)})(e,t),joinUp:()=>({state:e,dispatch:t})=>((e,t)=>{let n,f=e.selection,i=f instanceof Zt;if(i){if(f.node.isTextblock||!bt(e.doc,f.from))return!1;n=f.from}else if(n=Lt(e.doc,f.from,-1),null==n)return!1;if(t){let f=e.tr.join(n);i&&f.setSelection(Zt.create(f.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(f.scrollIntoView())}return!0})(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:f,dispatch:i})=>{const r=function(e){const t=e.split(/-(?!$)/);let n,f,i,r,o=t[t.length-1];"Space"===o&&(o=" ");for(let e=0;e<t.length-1;e+=1){const o=t[e];if(/^(cmd|meta|m)$/i.test(o))r=!0;else if(/^a(lt)?$/i.test(o))n=!0;else if(/^(c|ctrl|control)$/i.test(o))f=!0;else if(/^s(hift)?$/i.test(o))i=!0;else{if(!/^mod$/i.test(o))throw new Error(`Unrecognized modifier name: ${o}`);Bo()||Go()?r=!0:f=!0}}return n&&(o=`Alt-${o}`),f&&(o=`Ctrl-${o}`),r&&(o=`Meta-${o}`),i&&(o=`Shift-${o}`),o}(e).split(/-(?!$)/),o=r.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),a=new KeyboardEvent("keydown",{key:"Space"===o?" ":o,altKey:r.includes("Alt"),ctrlKey:r.includes("Ctrl"),metaKey:r.includes("Meta"),shiftKey:r.includes("Shift"),bubbles:!0,cancelable:!0}),s=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,a)))}));return null==s||s.steps.forEach((e=>{const t=e.map(f.mapping);t&&i&&f.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:f})=>!!Zo(n,no(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:f}=e.selection,i=n.blockRange(f),r=i&&ht(i);return null!=r&&(t&&t(e.tr.lift(i,r).scrollIntoView()),!0)})(n,f),liftEmptyBlock:()=>({state:e,dispatch:t})=>((e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let f=n.before();if(Mt(e.doc,f))return t&&t(e.tr.split(f).scrollIntoView()),!0}let f=n.blockRange(),i=f&&ht(f);return null!=i&&(t&&t(e.tr.lift(f,i).scrollIntoView()),!0)})(e,t),liftListItem:e=>({state:t,dispatch:n})=>$r(no(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:f}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(f)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))})(e,t),resetAttributes:(e,t)=>({tr:n,state:f,dispatch:i})=>{let r=null,o=null;const a=Ho("string"==typeof e?e:e.name,f.schema);return!!a&&("node"===a&&(r=no(e,f.schema)),"mark"===a&&(o=Oo(e,f.schema)),i&&n.selection.ranges.forEach((e=>{f.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,f)=>{r&&r===e.type&&n.setNodeMarkup(f,void 0,Wo(e.attrs,t)),o&&e.marks.length&&e.marks.forEach((i=>{o===i.type&&n.addMark(f,f+e.nodeSize,o.create(Wo(i.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,dispatch:t})=>{if(t){const t=new Wt(e.doc);e.setSelection(t)}return!0},selectNodeBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:f,empty:i}=e.selection,r=f;if(!i)return!1;if(f.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):f.parentOffset>0)return!1;r=Br(f)}let o=r&&r.nodeBefore;return!(!o||!Zt.isSelectable(o)||(t&&t(e.tr.setSelection(Zt.create(e.doc,r.pos-o.nodeSize)).scrollIntoView()),0))})(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:f,empty:i}=e.selection,r=f;if(!i)return!1;if(f.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):f.parentOffset<f.parent.content.size)return!1;r=Yr(f)}let o=r&&r.nodeAfter;return!(!o||!Zt.isSelectable(o)||(t&&t(e.tr.setSelection(Zt.create(e.doc,r.pos)).scrollIntoView()),0))})(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:f,to:i}=e.selection,r=f.sharedDepth(i);return 0!=r&&(n=f.before(r),t&&t(e.tr.setSelection(Zt.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>Wr(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>Hr(e,t),setContent:(e,t=!1,n={},f={})=>({editor:i,tr:r,dispatch:o,commands:a})=>{var s,l;const{doc:c}=r;if("full"!==n.preserveWhitespace){const a=Fo(e,i.schema,n,{errorOnInvalidContent:null!==(s=f.errorOnInvalidContent)&&void 0!==s?s:i.options.enableContentCheck});return o&&r.replaceWith(0,c.content.size,a).setMeta("preventUpdate",!t),!0}return o&&r.setMeta("preventUpdate",!t),a.insertContentAt({from:0,to:c.content.size},e,{parseOptions:n,errorOnInvalidContent:null!==(l=f.errorOnInvalidContent)&&void 0!==l?l:i.options.enableContentCheck})},setMark:(e,t={})=>({tr:n,state:f,dispatch:i})=>{const{selection:r}=n,{empty:o,ranges:a}=r,s=Oo(e,f.schema);if(i)if(o){const e=Vo(f,s);n.addStoredMark(s.create({...e,...t}))}else a.forEach((e=>{const i=e.$from.pos,r=e.$to.pos;f.doc.nodesBetween(i,r,((e,f)=>{const o=Math.max(f,i),a=Math.min(f+e.nodeSize,r);e.marks.find((e=>e.type===s))?e.marks.forEach((e=>{s===e.type&&n.addMark(o,a,s.create({...e.attrs,...t}))})):n.addMark(o,a,s.create(t))}))}));return function(e,t,n){var f;const{selection:i}=t;let r=null;if(Po(i)&&(r=i.$cursor),r){const t=null!==(f=e.storedMarks)&&void 0!==f?f:r.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:o}=i;return o.some((({$from:t,$to:f})=>{let i=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,f.pos,((e,t,f)=>{if(i)return!1;if(e.isInline){const t=!f||f.type.allowsMarkType(n),r=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));i=t&&r}return!i})),i}))}(f,n,s)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:f,chain:i})=>{const r=no(e,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),r.isTextblock?i().command((({commands:e})=>!!Fr(r,{...o,...t})(n)||e.clearNodes())).command((({state:e})=>Fr(r,{...o,...t})(e,f))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,f=Ro(e,0,n.content.size),i=Zt.create(n,f);t.setSelection(i)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:f,to:i}="number"==typeof e?{from:e,to:e}:e,r=Ut.atStart(n).from,o=Ut.atEnd(n).to,a=Ro(f,r,o),s=Ro(i,r,o),l=Ut.create(n,a,s);t.setSelection(l)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>function(e){return function(t,n){let{$from:f,$to:i}=t.selection,r=f.blockRange(i,(t=>t.childCount>0&&t.firstChild.type==e));if(!r)return!1;let o=r.startIndex;if(0==o)return!1;let a=r.parent,s=a.child(o-1);if(s.type!=e)return!1;if(n){let f=s.lastChild&&s.lastChild.type==a.type,i=Y.from(f?e.create():null),o=new F(Y.from(e.create(null,Y.from(a.type.create(null,i)))),f?3:1,0),l=r.start,c=r.end;n(t.tr.step(new lt(l-(f?3:1),c,l,c,o,1,!0)).scrollIntoView())}return!0}}(no(e,t.schema))(t,n),splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:f,editor:i})=>{const{selection:r,doc:o}=t,{$from:a,$to:s}=r,l=qo(i.extensionManager.attributes,a.node().type.name,a.node().attrs);if(r instanceof Zt&&r.node.isBlock)return!(!a.parentOffset||!Mt(o,a.pos))&&(f&&(e&&fa(n,i.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;const c=s.parentOffset===s.parent.content.size,d=0===a.depth?void 0:function(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(a.node(-1).contentMatchAt(a.indexAfter(-1)));let u=c&&d?[{type:d,attrs:l}]:void 0,h=Mt(t.doc,t.mapping.map(a.pos),1,u);if(!u&&!h&&Mt(t.doc,t.mapping.map(a.pos),1,d?[{type:d}]:void 0)&&(h=!0,u=d?[{type:d,attrs:l}]:void 0),f){if(h&&(r instanceof Ut&&t.deleteSelection(),t.split(t.mapping.map(a.pos),1,u),d&&!c&&!a.parentOffset&&a.parent.type!==d)){const e=t.mapping.map(a.before()),n=t.doc.resolve(e);a.node(-1).canReplaceWith(n.index(),n.index()+1,d)&&t.setNodeMarkup(t.mapping.map(a.before()),d)}e&&fa(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return h},splitListItem:(e,t={})=>({tr:n,state:f,dispatch:i,editor:r})=>{var o;const a=no(e,f.schema),{$from:s,$to:l}=f.selection,c=f.selection.node;if(c&&c.isBlock||s.depth<2||!s.sameParent(l))return!1;const d=s.node(-1);if(d.type!==a)return!1;const u=r.extensionManager.attributes;if(0===s.parent.content.size&&s.node(-1).childCount===s.indexAfter(-1)){if(2===s.depth||s.node(-3).type!==a||s.index(-2)!==s.node(-2).childCount-1)return!1;if(i){let e=Y.empty;const f=s.index(-1)?1:s.index(-2)?2:3;for(let t=s.depth-f;t>=s.depth-3;t-=1)e=Y.from(s.node(t).copy(e));const i=s.indexAfter(-1)<s.node(-2).childCount?1:s.indexAfter(-2)<s.node(-3).childCount?2:3,r={...qo(u,s.node().type.name,s.node().attrs),...t},l=(null===(o=a.contentMatch.defaultType)||void 0===o?void 0:o.createAndFill(r))||void 0;e=e.append(Y.from(a.createAndFill(null,l)||void 0));const c=s.before(s.depth-(f-1));n.replace(c,s.after(-i),new F(e,4-f,0));let d=-1;n.doc.nodesBetween(c,n.doc.content.size,((e,t)=>{if(d>-1)return!1;e.isTextblock&&0===e.content.size&&(d=t+1)})),d>-1&&n.setSelection(Ut.near(n.doc.resolve(d))),n.scrollIntoView()}return!0}const h=l.pos===s.end()?d.contentMatchAt(0).defaultType:null,p={...qo(u,d.type.name,d.attrs),...t},m={...qo(u,s.node().type.name,s.node().attrs),...t};n.delete(s.pos,l.pos);const g=h?[{type:a,attrs:p},{type:h,attrs:m}]:[{type:a,attrs:p}];if(!Mt(n.doc,s.pos,2))return!1;if(i){const{selection:e,storedMarks:t}=f,{splittableMarks:o}=r.extensionManager,a=t||e.$to.parentOffset&&e.$from.marks();if(n.split(s.pos,2,g).scrollIntoView(),!a||!i)return!0;const l=a.filter((e=>o.includes(e.type.name)));n.ensureMarks(l)}return!0},toggleList:(e,t,n,f={})=>({editor:i,tr:r,state:o,dispatch:a,chain:s,commands:l,can:c})=>{const{extensions:d,splittableMarks:u}=i.extensionManager,h=no(e,o.schema),p=no(t,o.schema),{selection:m,storedMarks:g}=o,{$from:w,$to:M}=m,b=w.blockRange(M),y=g||m.$to.parentOffset&&m.$from.marks();if(!b)return!1;const L=$o((e=>ta(e.type.name,d)))(m);if(b.depth>=1&&L&&b.depth-L.depth<=1){if(L.node.type===h)return l.liftListItem(p);if(ta(L.node.type.name,d)&&h.validContent(L.node.content)&&a)return s().command((()=>(r.setNodeMarkup(L.pos,h),!0))).command((()=>ia(r,h))).command((()=>ra(r,h))).run()}return n&&y&&a?s().command((()=>{const e=c().wrapInList(h,f),t=y.filter((e=>u.includes(e.type.name)));return r.ensureMarks(t),!!e||l.clearNodes()})).wrapInList(h,f).command((()=>ia(r,h))).command((()=>ra(r,h))).run():s().command((()=>!!c().wrapInList(h,f)||l.clearNodes())).wrapInList(h,f).command((()=>ia(r,h))).command((()=>ra(r,h))).run()},toggleMark:(e,t={},n={})=>({state:f,commands:i})=>{const{extendEmptyMarkRange:r=!1}=n,o=Oo(e,f.schema);return ea(f,o,t)?i.unsetMark(o,{extendEmptyMarkRange:r}):i.setMark(o,t)},toggleNode:(e,t,n={})=>({state:f,commands:i})=>{const r=no(e,f.schema),o=no(t,f.schema),a=Zo(f,r,n);let s;return f.selection.$anchor.sameParent(f.selection.$head)&&(s=f.selection.$anchor.parent.attrs),a?i.setNode(o,s):i.setNode(r,{...s,...n})},toggleWrap:(e,t={})=>({state:n,commands:f})=>{const i=no(e,n.schema);return Zo(n,i,t)?f.lift(i):f.wrapIn(i,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let f=0;f<n.length;f+=1){const i=n[f];let r;if(i.spec.isInputRules&&(r=i.getState(e))){if(t){const t=e.tr,n=r.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(r.text){const n=t.doc.resolve(r.from).marks();t.replaceWith(r.from,r.to,e.schema.text(r.text,n))}else t.delete(r.from,r.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:f,ranges:i}=n;return f||t&&i.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:f,dispatch:i})=>{var r;const{extendEmptyMarkRange:o=!1}=t,{selection:a}=n,s=Oo(e,f.schema),{$from:l,empty:c,ranges:d}=a;if(!i)return!0;if(c&&o){let{from:e,to:t}=a;const f=null===(r=l.marks().find((e=>e.type===s)))||void 0===r?void 0:r.attrs,i=zo(l,s,f);i&&(e=i.from,t=i.to),n.removeMark(e,t,s)}else d.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,s)}));return n.removeStoredMark(s),!0},updateAttributes:(e,t={})=>({tr:n,state:f,dispatch:i})=>{let r=null,o=null;const a=Ho("string"==typeof e?e:e.name,f.schema);return!!a&&("node"===a&&(r=no(e,f.schema)),"mark"===a&&(o=Oo(e,f.schema)),i&&n.selection.ranges.forEach((e=>{const i=e.$from.pos,a=e.$to.pos;let s,l,c,d;n.selection.empty?f.doc.nodesBetween(i,a,((e,t)=>{r&&r===e.type&&(c=Math.max(t,i),d=Math.min(t+e.nodeSize,a),s=t,l=e)})):f.doc.nodesBetween(i,a,((e,f)=>{f<i&&r&&r===e.type&&(c=Math.max(f,i),d=Math.min(f+e.nodeSize,a),s=f,l=e),f>=i&&f<=a&&(r&&r===e.type&&n.setNodeMarkup(f,void 0,{...e.attrs,...t}),o&&e.marks.length&&e.marks.forEach((r=>{if(o===r.type){const s=Math.max(f,i),l=Math.min(f+e.nodeSize,a);n.addMark(s,l,o.create({...r.attrs,...t}))}})))})),l&&(void 0!==s&&n.setNodeMarkup(s,void 0,{...l.attrs,...t}),o&&l.marks.length&&l.marks.forEach((e=>{o===e.type&&n.addMark(c,d,o.create({...e.attrs,...t}))})))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:f})=>function(e,t=null){return function(n,f){let{$from:i,$to:r}=n.selection,o=i.blockRange(r),a=o&&pt(o,e,t);return!!a&&(f&&f(n.tr.wrap(o,a).scrollIntoView()),!0)}}(no(e,n.schema),t)(n,f),wrapInList:(e,t={})=>({state:n,dispatch:f})=>Vr(no(e,n.schema),t)(n,f)});const aa=So.create({name:"commands",addCommands:()=>({...oa})}),sa=So.create({name:"drop",addProseMirrorPlugins(){return[new fn({key:new an("tiptapDrop"),props:{handleDrop:(e,t,n,f)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:f})}}})]}}),la=So.create({name:"editable",addProseMirrorPlugins(){return[new fn({key:new an("editable"),props:{editable:()=>this.editor.options.editable}})]}}),ca=new an("focusEvents"),da=So.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new fn({key:ca,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const f=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(f),!1},blur:(t,n)=>{e.isFocused=!1;const f=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(f),!1}}}})]}}),ua=So.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:f}=t,{empty:i,$anchor:r}=n,{pos:o,parent:a}=r,s=r.parent.isTextblock&&o>0?t.doc.resolve(o-1):r,l=s.parent.type.spec.isolating,c=r.pos-r.parentOffset,d=l&&1===s.parent.childCount?c===r.pos:Jt.atStart(f).from===o;return!(!i||!a.type.isTextblock||a.textContent.length||!d||d&&"paragraph"===r.parent.type.name)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},f={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Bo()||Go()?i:f},addProseMirrorPlugins(){return[new fn({key:new an("clearDocument"),appendTransaction:(e,t,n)=>{if(e.some((e=>e.getMeta("composition"))))return;const f=e.some((e=>e.docChanged))&&!t.doc.eq(n.doc),i=e.some((e=>e.getMeta("preventClearDocument")));if(!f||i)return;const{empty:r,from:o,to:a}=t.selection,s=Jt.atStart(t.doc).from,l=Jt.atEnd(t.doc).to;if(r||o!==s||a!==l||!na(n.doc))return;const c=n.tr,d=_r({state:n,transaction:c}),{commands:u}=new Kr({editor:this.editor,state:d});return u.clearNodes(),c.steps.length?c:void 0}})]}}),ha=So.create({name:"paste",addProseMirrorPlugins(){return[new fn({key:new an("tiptapPaste"),props:{handlePaste:(e,t,n)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),pa=So.create({name:"tabindex",addProseMirrorPlugins(){return[new fn({key:new an("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class ma{get name(){return this.node.type.name}constructor(e,t,n=!1,f=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=f}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!==(e=this.actualDepth)&&void 0!==e?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new ma(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new ma(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new ma(e,this.editor)}get children(){const e=[];return this.node.content.forEach(((t,n)=>{const f=t.isBlock&&!t.isTextblock,i=t.isAtom&&!t.isText,r=this.pos+n+(i?0:1),o=this.resolvedPos.doc.resolve(r);if(!f&&o.depth<=this.depth)return;const a=new ma(o,this.editor,f,f?t:null);f&&(a.actualDepth=this.depth+1),e.push(new ma(o,this.editor,f,f?t:null))})),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,f=this.parent;for(;f&&!n;){if(f.node.type.name===e)if(Object.keys(t).length>0){const e=f.node.attrs,n=Object.keys(t);for(let f=0;f<n.length;f+=1){const i=n[f];if(e[i]!==t[i])break}}else n=f;f=f.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let f=[];if(!this.children||0===this.children.length)return f;const i=Object.keys(t);return this.children.forEach((r=>{n&&f.length>0||(r.node.type.name===e&&i.every((e=>t[e]===r.node.attrs[e]))&&f.push(r),!(n&&f.length>0)&&(f=f.concat(r.querySelectorAll(e,t,n))))})),f}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}class ga extends Xr{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",(({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n))),this.on("paste",(({event:e,slice:t})=>this.options.onPaste(e,t))),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(e,t,n){const f=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==f)return f;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),i}('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 0 !important;\n height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=ro(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],f=this.state.reconfigure({plugins:n});return this.view.updateState(f),f}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let n=t;if([].concat(e).forEach((e=>{const f="string"==typeof e?`${e}$`:e.key;n=t.filter((e=>!e.key.startsWith(f)))})),t.length===n.length)return;const f=this.state.reconfigure({plugins:n});return this.view.updateState(f),f}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[la,To.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),aa,da,ua,pa,sa,ha].filter((e=>"object"!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name])):[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new Io(n,this)}createCommandManager(){this.commandManager=new Kr({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let t;try{t=Fo(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error&&["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message)))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter((e=>"collaboration"!==e.name)),this.createExtensionManager()}}),t=Fo(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const n=Jo(t,this.options.autofocus);this.view=new br(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...null===(e=this.options.editorProps)||void 0===e?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:tn.create({doc:t,selection:n||void 0})});const f=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(f),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach((e=>{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)})):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const f=e.getMeta("focus"),i=e.getMeta("blur");f&&this.emit("focus",{editor:this,event:f.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return _o(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,f="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return Zo(e,null,n)||ea(e,null,n);const f=Ho(t,e.schema);return"node"===f?Zo(e,t,n):"mark"===f&&ea(e,t,n)}(this.state,n,f)}getJSON(){return this.state.doc.toJSON()}getHTML(){return uo(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return function(e,t){return xo(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...No(this.schema),...n}})}get isEmpty(){return na(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(null!==(e=this.view)&&void 0!==e&&e.docView)}$node(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new ma(t,this)}get $doc(){return this.$pos(0)}}function wa(e){return new mo({find:e.find,handler:({state:t,range:n,match:f})=>{const i=oo(e.getAttributes,void 0,f);if(!1===i||null===i)return null;const{tr:r}=t,o=f[f.length-1],a=f[0];if(o){const f=a.search(/\S/),s=n.from+a.indexOf(o),l=s+o.length;if(Xo(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>s)).length)return null;l<n.to&&r.delete(l,n.to),s>n.from&&r.delete(n.from+f,s);const c=n.from+f+o.length;r.addMark(n.from+f,c,e.type.create(i||{})),r.removeStoredMark(e.type)}}})}function Ma(e){return new mo({find:e.find,handler:({state:t,range:n,match:f,chain:i})=>{const r=oo(e.getAttributes,void 0,f)||{},o=t.tr.delete(n.from,n.to),a=o.doc.resolve(n.from).blockRange(),s=a&&pt(a,e.type,r);if(!s)return null;if(o.wrap(a,s),e.keepMarks&&e.editor){const{selection:n,storedMarks:f}=t,{splittableMarks:i}=e.editor.extensionManager,r=f||n.$to.parentOffset&&n.$from.marks();if(r){const e=r.filter((e=>i.includes(e.type.name)));o.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";i().updateAttributes(t,r).run()}const l=o.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&bt(o.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(f,l))&&o.join(n.from-1)}})}class ba{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=oo(qr(this,"addOptions",{name:this.name}))),this.storage=oo(qr(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ba(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>yo(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new ba(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=oo(qr(t,"addOptions",{name:t.name})),t.storage=oo(qr(t,"addStorage",{name:t.name,options:t.options})),t}}function ya(e){return new Co({find:e.find,handler:({state:t,range:n,match:f,pasteEvent:i})=>{const r=oo(e.getAttributes,void 0,f,i);if(!1===r||null===r)return null;const{tr:o}=t,a=f[f.length-1],s=f[0];let l=n.to;if(a){const f=s.search(/\S/),i=n.from+s.indexOf(a),c=i+a.length;if(Xo(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>i)).length)return null;c<n.to&&o.delete(c,n.to),i>n.from&&o.delete(n.from+f,i),l=n.from+f+a.length,o.addMark(n.from+f,l,e.type.create(r||{})),o.removeStoredMark(e.type)}}})}function La(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ca,va={exports:{}},ja={};
|
|
19
|
+
*/"production"===process.env.NODE_ENV?D.exports=function(){if(T)return A;T=1;var t=e,n=Symbol.for("react.element"),f=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,r=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,f){var a,s={},l=null,c=null;for(a in void 0!==f&&(l=""+f),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,a)&&!o.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:n,type:e,key:l,ref:c,props:s,_owner:r.current}}return A.Fragment=f,A.jsx=a,A.jsxs=a,A}():D.exports=(E||(E=1,"production"!==process.env.NODE_ENV&&function(){var t=e,n=Symbol.for("react.element"),f=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",w=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),f=1;f<t;f++)n[f-1]=arguments[f];!function(e,t,n){var f=w.ReactDebugCurrentFrame,i=f.getStackAddendum();""!==i&&(t+="%s",n=n.concat([i]));var r=n.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}("error",e,n)}var b,y=!1,L=!1,C=!1,v=!1,j=!1;function k(e){return e.displayName||"Context"}function I(e){if(null==e)return null;if("number"==typeof e.tag&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case i:return"Fragment";case f:return"Portal";case o:return"Profiler";case r:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return k(e)+".Consumer";case a:return k(e._context)+".Provider";case l:return function(e,t,n){var f=e.displayName;if(f)return f;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case u:var t=e.displayName||null;return null!==t?t:I(e.type)||"Memo";case h:var n=e,p=n._payload,m=n._init;try{return I(m(p))}catch{return null}}return null}b=Symbol.for("react.module.reference");var x,S,N,T,D,A,E,O=Object.assign,P=0;function R(){}R.__reactDisabledLog=!0;var J,B=w.ReactCurrentDispatcher;function Q(e,t,n){if(void 0===J)try{throw Error()}catch(e){var f=e.stack.trim().match(/\n( *(at )?)/);J=f&&f[1]||""}return"\n"+J+e}var Y,U=!1,G="function"==typeof WeakMap?WeakMap:Map;function Z(e,t){if(!e||U)return"";var n,f=Y.get(e);if(void 0!==f)return f;U=!0;var i,r=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=B.current,B.current=null,function(){if(0===P){x=console.log,S=console.info,N=console.warn,T=console.error,D=console.group,A=console.groupCollapsed,E=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}P++}();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(o,[])}catch(e){n=e}Reflect.construct(e,[],o)}else{try{o.call()}catch(e){n=e}e.call(o.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),s=n.stack.split("\n"),l=a.length-1,c=s.length-1;l>=1&&c>=0&&a[l]!==s[c];)c--;for(;l>=1&&c>=0;l--,c--)if(a[l]!==s[c]){if(1!==l||1!==c)do{if(l--,--c<0||a[l]!==s[c]){var d="\n"+a[l].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&Y.set(e,d),d}}while(l>=1&&c>=0);break}}}finally{U=!1,B.current=i,function(){if(0==--P){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:x}),info:O({},e,{value:S}),warn:O({},e,{value:N}),error:O({},e,{value:T}),group:O({},e,{value:D}),groupCollapsed:O({},e,{value:A}),groupEnd:O({},e,{value:E})})}P<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}var u=e?e.displayName||e.name:"",h=u?Q(u):"";return"function"==typeof e&&Y.set(e,h),h}function H(e,t,n){if(null==e)return"";if("function"==typeof e)return Z(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Q(e);switch(e){case c:return Q("Suspense");case d:return Q("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return function(e,t,n){return Z(e,!1)}(e.render);case u:return H(e.type,t,n);case h:var f=e,i=f._payload,r=f._init;try{return H(r(i),t,n)}catch{}}return""}Y=new G;var W=Object.prototype.hasOwnProperty,F={},V=w.ReactDebugCurrentFrame;function $(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);V.setExtraStackFrame(n)}else V.setExtraStackFrame(null)}var _=Array.isArray;function K(e){return _(e)}function X(e){return""+e}function q(e){if(function(e){try{return X(e),!1}catch{return!0}}(e))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),X(e)}var ee,te,ne,fe=w.ReactCurrentOwner,ie={key:!0,ref:!0,__self:!0,__source:!0};ne={};var re=function(e,t,f,i,r,o,a){var s={$$typeof:n,type:e,key:t,ref:f,props:a,_owner:o,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function oe(e,t,n,f,i){var r,o={},a=null,s=null;for(r in void 0!==n&&(q(n),a=""+n),function(e){if(W.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(q(t.key),a=""+t.key),function(e){if(W.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&fe.current&&t&&fe.current.stateNode!==t){var n=I(fe.current.type);ne[n]||(M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(fe.current.type),e.ref),ne[n]=!0)}}(t,i)),t)W.call(t,r)&&!ie.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps){var l=e.defaultProps;for(r in l)void 0===o[r]&&(o[r]=l[r])}if(a||s){var c="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){ee||(ee=!0,M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,c),s&&function(e,t){var n=function(){te||(te=!0,M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,c)}return re(e,a,s,i,f,fe.current,o)}var ae,se=w.ReactCurrentOwner,le=w.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);le.setExtraStackFrame(n)}else le.setExtraStackFrame(null)}function de(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ue(){if(se.current){var e=I(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!1;var he={};function pe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ue();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!he[n]){he[n]=!0;var f="";e&&e._owner&&e._owner!==se.current&&(f=" It was passed a child from "+I(e._owner.type)+"."),ce(e),M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,f),ce(null)}}}function me(e,t){if("object"==typeof e)if(K(e))for(var n=0;n<e.length;n++){var f=e[n];de(f)&&pe(f,t)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var i=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof i&&i!==e.entries)for(var r,o=i.call(e);!(r=o.next()).done;)de(r.value)&&pe(r.value,t)}}function ge(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==l&&n.$$typeof!==u)return;t=n.propTypes}if(t){var f=I(n);!function(e,t,n,f,i){var r=Function.call.bind(W);for(var o in e)if(r(e,o)){var a=void 0;try{if("function"!=typeof e[o]){var s=Error((f||"React class")+": "+n+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[o](t,o,f,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}a&&!(a instanceof Error)&&($(i),M("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",f||"React class",n,o,typeof a),$(null)),a instanceof Error&&!(a.message in F)&&(F[a.message]=!0,$(i),M("Failed %s type: %s",n,a.message),$(null))}}(t,e.props,"prop",f,e)}else void 0===n.PropTypes||ae||(ae=!0,M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",I(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function we(e,t,f,m,g,w){var k=function(e){return!!("string"==typeof e||"function"==typeof e||e===i||e===o||j||e===r||e===c||e===d||v||e===p||y||L||C||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===b||void 0!==e.getModuleId))}(e);if(!k){var x="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var S,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);x+=N||ue(),null===e?S="null":K(e)?S="array":void 0!==e&&e.$$typeof===n?(S="<"+(I(e.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,x)}var T=oe(e,t,f,g,w);if(null==T)return T;if(k){var D=t.children;if(void 0!==D)if(m)if(K(D)){for(var A=0;A<D.length;A++)me(D[A],e);Object.freeze&&Object.freeze(D)}else M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else me(D,e)}return e===i?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var f=t[n];if("children"!==f&&"key"!==f){ce(e),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),ce(null);break}}null!==e.ref&&(ce(e),M("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(T):ge(T),T}var Me=function(e,t,n){return we(e,t,n,!1)},be=function(e,t,n){return we(e,t,n,!0)};z.Fragment=i,z.jsx=Me,z.jsxs=be}()),z);var O=D.exports;function P(e){var t,n,f="";if("string"==typeof e||"number"==typeof e)f+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=P(e[t]))&&(f&&(f+=" "),f+=n)}else for(n in e)e[n]&&(f&&(f+=" "),f+=n);return f}function R(){for(var e,t,n=0,f="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=P(e))&&(f&&(f+=" "),f+=t);return f}function J(e){this.content=e}function B(e,t,n){for(let f=0;;f++){if(f==e.childCount||f==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(f),r=t.child(f);if(i!=r){if(!i.sameMarkup(r))return n;if(i.isText&&i.text!=r.text){for(let e=0;i.text[e]==r.text[e];e++)n++;return n}if(i.content.size||r.content.size){let e=B(i.content,r.content,n+1);if(null!=e)return e}n+=i.nodeSize}else n+=i.nodeSize}}function Q(e,t,n,f){for(let i=e.childCount,r=t.childCount;;){if(0==i||0==r)return i==r?null:{a:n,b:f};let o=e.child(--i),a=t.child(--r),s=o.nodeSize;if(o!=a){if(!o.sameMarkup(a))return{a:n,b:f};if(o.isText&&o.text!=a.text){let e=0,t=Math.min(o.text.length,a.text.length);for(;e<t&&o.text[o.text.length-e-1]==a.text[a.text.length-e-1];)e++,n--,f--;return{a:n,b:f}}if(o.content.size||a.content.size){let e=Q(o.content,a.content,n-1,f-1);if(e)return e}n-=s,f-=s}else n-=s,f-=s}}J.prototype={constructor:J,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,n){var f=n&&n!=e?this.remove(n):this,i=f.find(e),r=f.content.slice();return-1==i?r.push(n||e,t):(r[i+1]=t,n&&(r[i]=n)),new J(r)},remove:function(e){var t=this.find(e);if(-1==t)return this;var n=this.content.slice();return n.splice(t,2),new J(n)},addToStart:function(e,t){return new J([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new J(n)},addBefore:function(e,t,n){var f=this.remove(t),i=f.content.slice(),r=f.find(e);return i.splice(-1==r?i.length:r,0,t,n),new J(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=J.from(e)).size?new J(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=J.from(e)).size?new J(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=J.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach((function(t,n){e[t]=n})),e},get size(){return this.content.length>>1}},J.from=function(e){if(e instanceof J)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new J(t)};class Y{constructor(e,t){if(this.content=e,this.size=t||0,null==t)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,f=0,i){for(let r=0,o=0;o<t;r++){let a=this.content[r],s=o+a.nodeSize;if(s>e&&!1!==n(a,f+o,i||null,r)&&a.content.size){let i=o+1;a.nodesBetween(Math.max(0,e-i),Math.min(a.content.size,t-i),n,f+i)}o=s}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,f){let i="",r=!0;return this.nodesBetween(e,t,((o,a)=>{let s=o.isText?o.text.slice(Math.max(e,a)-a,t-a):o.isLeaf?f?"function"==typeof f?f(o):f:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&s||o.isTextblock)&&n&&(r?r=!1:i+=n),i+=s}),0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,f=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(n)&&(f[f.length-1]=t.withText(t.text+n.text),i=1);i<e.content.length;i++)f.push(e.content[i]);return new Y(f,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],f=0;if(t>e)for(let i=0,r=0;r<t;i++){let o=this.content[i],a=r+o.nodeSize;a>e&&((r<e||a>t)&&(o=o.isText?o.cut(Math.max(0,e-r),Math.min(o.text.length,t-r)):o.cut(Math.max(0,e-r-1),Math.min(o.content.size,t-r-1))),n.push(o),f+=o.nodeSize),r=a}return new Y(n,f)}cutByIndex(e,t){return e==t?Y.empty:0==e&&t==this.content.length?this:new Y(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let f=this.content.slice(),i=this.size+t.nodeSize-n.nodeSize;return f[e]=t,new Y(f,i)}addToStart(e){return new Y([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Y(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let f=this.content[t];e(f,n,t),n+=f.nodeSize}}findDiffStart(e,t=0){return B(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return Q(this,e,t,n)}findIndex(e){if(0==e)return G(0,e);if(e==this.size)return G(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let f=n+this.child(t).nodeSize;if(f>=e)return f==e?G(t+1,f):G(t,n);n=f}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map((e=>e.toJSON())):null}static fromJSON(e,t){if(!t)return Y.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new Y(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Y.empty;let t,n=0;for(let f=0;f<e.length;f++){let i=e[f];n+=i.nodeSize,f&&i.isText&&e[f-1].sameMarkup(i)?(t||(t=e.slice(0,f)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new Y(t||e,n)}static from(e){if(!e)return Y.empty;if(e instanceof Y)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Y([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}Y.empty=new Y([],0);const U={index:0,offset:0};function G(e,t){return U.index=e,U.offset=t,U}function Z(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!Z(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!Z(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}let H=class e{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let f=0;f<e.length;f++){let i=e[f];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,f));else{if(i.type.excludes(this.type))return e;!n&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,f)),t.push(this),n=!0),t&&t.push(i)}}return t||(t=e.slice()),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Z(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let n=e.marks[t.type];if(!n)throw new RangeError(`There is no mark type ${t.type} in this schema`);let f=n.create(t.attrs);return n.checkAttrs(f.attrs),f}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&0==t.length)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort(((e,t)=>e.type.rank-t.type.rank)),n}};H.none=[];class W extends Error{}class F{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let n=$(this.content,e+this.openStart,t);return n&&new F(n,this.openStart,this.openEnd)}removeBetween(e,t){return new F(V(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return F.empty;let n=t.openStart||0,f=t.openEnd||0;if("number"!=typeof n||"number"!=typeof f)throw new RangeError("Invalid input for Slice.fromJSON");return new F(Y.fromJSON(e,t.content),n,f)}static maxOpen(e,t=!0){let n=0,f=0;for(let f=e.firstChild;f&&!f.isLeaf&&(t||!f.type.spec.isolating);f=f.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)f++;return new F(e,n,f)}}function V(e,t,n){let{index:f,offset:i}=e.findIndex(t),r=e.maybeChild(f),{index:o,offset:a}=e.findIndex(n);if(i==t||r.isText){if(a!=n&&!e.child(o).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(f!=o)throw new RangeError("Removing non-flat range");return e.replaceChild(f,r.copy(V(r.content,t-i-1,n-i-1)))}function $(e,t,n,f){let{index:i,offset:r}=e.findIndex(t),o=e.maybeChild(i);if(r==t||o.isText)return f&&!f.canReplace(i,i,n)?null:e.cut(0,t).append(n).append(e.cut(t));let a=$(o.content,t-r-1,n);return a&&e.replaceChild(i,o.copy(a))}function _(e,t,n){if(n.openStart>e.depth)throw new W("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new W("Inconsistent open depths");return K(e,t,n,0)}function K(e,t,n,f){let i=e.index(f),r=e.node(f);if(i==t.index(f)&&f<e.depth-n.openStart){let o=K(e,t,n,f+1);return r.copy(r.content.replaceChild(i,o))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=f||t.depth!=f){let{start:i,end:o}=function(e,t){let n=t.depth-e.openStart,f=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)f=t.node(e).copy(Y.from(f));return{start:f.resolveNoCache(e.openStart+n),end:f.resolveNoCache(f.content.size-e.openEnd-n)}}(n,e);return ne(r,fe(e,i,o,t,f))}{let f=e.parent,i=f.content;return ne(f,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}}return ne(r,ie(e,t,f))}function X(e,t){if(!t.type.compatibleContent(e.type))throw new W("Cannot join "+t.type.name+" onto "+e.type.name)}function q(e,t,n){let f=e.node(n);return X(f,t.node(n)),f}function ee(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function te(e,t,n,f){let i=(t||e).node(n),r=0,o=t?t.index(n):i.childCount;e&&(r=e.index(n),e.depth>n?r++:e.textOffset&&(ee(e.nodeAfter,f),r++));for(let e=r;e<o;e++)ee(i.child(e),f);t&&t.depth==n&&t.textOffset&&ee(t.nodeBefore,f)}function ne(e,t){return e.type.checkContent(t),e.copy(t)}function fe(e,t,n,f,i){let r=e.depth>i&&q(e,t,i+1),o=f.depth>i&&q(n,f,i+1),a=[];return te(null,e,i,a),r&&o&&t.index(i)==n.index(i)?(X(r,o),ee(ne(r,fe(e,t,n,f,i+1)),a)):(r&&ee(ne(r,ie(e,t,i+1)),a),te(t,n,i,a),o&&ee(ne(o,ie(n,f,i+1)),a)),te(f,null,i,a),new Y(a)}function ie(e,t,n){let f=[];if(te(null,e,n,f),e.depth>n){ee(ne(q(e,t,n+1),ie(e,t,n+1)),f)}return te(t,null,n,f),new Y(f)}F.empty=new F(Y.empty,0,0);class re{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return null==e?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[3*this.resolveDepth(e)]}index(e){return this.path[3*this.resolveDepth(e)+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)}start(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]}after(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],f=e.child(t);return n?e.child(t).cut(n):f}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[3*t],f=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)f+=n.child(t).nodeSize;return f}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return H.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),f=e.maybeChild(t);if(!n){let e=n;n=f,f=e}let i=n.marks;for(var r=0;r<i.length;r++)!1===i[r].type.spec.inclusive&&(!f||!i[r].isInSet(f.marks))&&(i=i[r--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,f=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)!1===n[i].type.spec.inclusive&&(!f||!n[i].isInSet(f.marks))&&(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new le(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let n=[],f=0,i=t;for(let t=e;;){let{index:e,offset:r}=t.content.findIndex(i),o=i-r;if(n.push(t,e,f+r),!o||(t=t.child(e),t.isText))break;i=o-1,f+=r+1}return new re(t,n,i)}static resolveCached(e,t){let n=se.get(e);if(n)for(let e=0;e<n.elts.length;e++){let f=n.elts[e];if(f.pos==t)return f}else se.set(e,n=new oe);let f=n.elts[n.i]=re.resolve(e,t);return n.i=(n.i+1)%ae,f}}class oe{constructor(){this.elts=[],this.i=0}}const ae=12,se=new WeakMap;class le{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const ce=Object.create(null);let de=class e{constructor(e,t,n,f=H.none){this.type=e,this.attrs=t,this.marks=f,this.content=n||Y.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,f=0){this.content.nodesBetween(e,t,n,f,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,f){return this.content.textBetween(e,t,n,f)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&Z(this.attrs,t||e.defaultAttrs||ce)&&H.sameSet(this.marks,n||H.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return F.empty;let f=this.resolve(e),i=this.resolve(t),r=n?0:f.sharedDepth(t),o=f.start(r),a=f.node(r).content.cut(f.pos-o,i.pos-o);return new F(a,f.depth-r,i.depth-r)}replace(e,t,n){return _(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:f}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(f==e||t.isText)return t;e-=f+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(0==e)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let f=this.content.child(t-1);return{node:f,index:t-1,offset:n-f.nodeSize}}resolve(e){return re.resolveCached(this,e)}resolveNoCache(e){return re.resolve(this,e)}rangeHasMark(e,t,n){let f=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(f=!0),!f))),f}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),he(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,n=Y.empty,f=0,i=n.childCount){let r=this.contentMatchAt(e).matchFragment(n,f,i),o=r&&r.matchFragment(this.content,t);if(!o||!o.validEnd)return!1;for(let e=f;e<i;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,f){if(f&&!this.type.allowsMarks(f))return!1;let i=this.contentMatchAt(e).matchType(n),r=i&&i.matchFragment(this.content,t);return!!r&&r.validEnd}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=H.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];n.type.checkAttrs(n.attrs),e=n.addToSet(e)}if(!H.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((e=>e.type.name))}`);this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let n;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}let f=Y.fromJSON(e,t.content),i=e.nodeType(t.type).create(t.attrs,f,n);return i.type.checkAttrs(i.attrs),i}};de.prototype.text=void 0;class ue extends de{constructor(e,t,n,f){if(super(e,t,null,f),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):he(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new ue(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new ue(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return 0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function he(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class pe{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new me(e,t);if(null==n.next)return pe.empty;let f=ge(n);n.next&&n.err("Unexpected trailing text");let i=function(e){let t=Object.create(null);return n(Ce(e,0));function n(f){let i=[];f.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let f;for(let e=0;e<i.length;e++)i[e][0]==t&&(f=i[e][1]);Ce(e,n).forEach((e=>{f||i.push([t,f=[]]),-1==f.indexOf(e)&&f.push(e)}))}))}));let r=t[f.join(",")]=new pe(f.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let f=i[e][1].sort(Le);r.next.push({type:i[e][0],next:t[f.join(",")]||n(f)})}return r}}(function(e){let t=[[]];return i(r(e,0),n()),t;function n(){return t.push([])-1}function f(e,n,f){let i={term:f,to:n};return t[e].push(i),i}function i(e,t){e.forEach((e=>e.to=t))}function r(e,t){if("choice"==e.type)return e.exprs.reduce(((e,n)=>e.concat(r(n,t))),[]);if("seq"!=e.type){if("star"==e.type){let o=n();return f(t,o),i(r(e.expr,o),o),[f(o)]}if("plus"==e.type){let o=n();return i(r(e.expr,t),o),i(r(e.expr,o),o),[f(o)]}if("opt"==e.type)return[f(t)].concat(r(e.expr,t));if("range"==e.type){let o=t;for(let t=0;t<e.min;t++){let t=n();i(r(e.expr,o),t),o=t}if(-1==e.max)i(r(e.expr,o),o);else for(let t=e.min;t<e.max;t++){let t=n();f(o,t),i(r(e.expr,o),t),o=t}return[f(o)]}if("name"==e.type)return[f(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let f=0;;f++){let o=r(e.exprs[f],t);if(f==e.exprs.length-1)return o;i(o,t=n())}}}(f));return function(e,t){for(let n=0,f=[e];n<f.length;n++){let e=f[n],i=!e.validEnd,r=[];for(let t=0;t<e.next.length;t++){let{type:n,next:o}=e.next[t];r.push(n.name),i&&!(n.isText||n.hasRequiredAttrs())&&(i=!1),-1==f.indexOf(o)&&f.push(o)}i&&t.err("Only non-generatable nodes ("+r.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(i,n),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let f=this;for(let i=t;f&&i<n;i++)f=f.matchType(e.child(i).type);return f}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let f=[this];return function i(r,o){let a=r.matchFragment(e,n);if(a&&(!t||a.validEnd))return Y.from(o.map((e=>e.createAndFill())));for(let e=0;e<r.next.length;e++){let{type:t,next:n}=r.next[e];if(!t.isText&&!t.hasRequiredAttrs()&&-1==f.indexOf(n)){f.push(n);let e=i(n,o.concat(t));if(e)return e}}return null}(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let f=n.shift(),i=f.match;if(i.matchType(e)){let e=[];for(let t=f;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:r,next:o}=i.next[e];!r.isLeaf&&!r.hasRequiredAttrs()&&!(r.name in t)&&(!f.type||o.validEnd)&&(n.push({match:r.contentMatch,type:r,via:f}),t[r.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];return function t(n){e.push(n);for(let f=0;f<n.next.length;f++)-1==e.indexOf(n.next[f].next)&&t(n.next[f].next)}(this),e.map(((t,n)=>{let f=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)f+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return f})).join("\n")}}pe.empty=new pe(!0);class me{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function ge(e){let t=[];do{t.push(we(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function we(e){let t=[];do{t.push(Me(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function Me(e){let t=function(e){if(e.eat("(")){let t=ge(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,f=n[t];if(f)return[f];let i=[];for(let e in n){let f=n[e];f.isInGroup(t)&&i.push(f)}return 0==i.length&&e.err("No node type or group '"+t+"' found"),i}(e,e.next).map((t=>(null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t})));return e.pos++,1==t.length?t[0]:{type:"choice",exprs:t}}e.err("Unexpected token '"+e.next+"'")}(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=ye(e,t)}return t}function be(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function ye(e,t){let n=be(e),f=n;return e.eat(",")&&(f="}"!=e.next?be(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:f,expr:t}}function Le(e,t){return t-e}function Ce(e,t){let n=[];return function t(f){let i=e[f];if(1==i.length&&!i[0].term)return t(i[0].to);n.push(f);for(let e=0;e<i.length;e++){let{term:f,to:r}=i[e];!f&&-1==n.indexOf(r)&&t(r)}}(t),n.sort(Le)}function ve(e){let t=Object.create(null);for(let n in e){let f=e[n];if(!f.hasDefault)return null;t[n]=f.default}return t}function je(e,t){let n=Object.create(null);for(let f in e){let i=t&&t[f];if(void 0===i){let t=e[f];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+f);i=t.default}n[f]=i}return n}function ke(e,t,n,f){for(let f in t)if(!(f in e))throw new RangeError(`Unsupported attribute ${f} for ${n} of type ${f}`);for(let n in e){let f=e[n];f.validate&&f.validate(t[n])}}function Ie(e,t){let n=Object.create(null);if(t)for(let f in t)n[f]=new Se(e,f,t[f]);return n}let xe=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=Ie(e,n.attrs),this.defaultAttrs=ve(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==pe.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:je(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new de(this,this.computeAttrs(e),Y.from(t),H.setFrom(n))}createChecked(e=null,t,n){return t=Y.from(t),this.checkContent(t),new de(this,this.computeAttrs(e),t,H.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=Y.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let f=this.contentMatch.matchFragment(t),i=f&&f.fillBefore(Y.empty,!0);return i?new de(this,e,t.append(i),H.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){ke(this.attrs,e,"node",this.name)}allowsMarkType(e){return null==this.markSet||this.markSet.indexOf(e)>-1}allowsMarks(e){if(null==this.markSet)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(null==this.markSet)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:H.none:e}static compile(t,n){let f=Object.create(null);t.forEach(((t,i)=>f[t]=new e(t,n,i)));let i=n.spec.topNode||"doc";if(!f[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!f.text)throw new RangeError("Every schema needs a 'text' type");for(let e in f.text.attrs)throw new RangeError("The text node type should not have attributes");return f}};class Se{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?function(e,t,n){let f=n.split("|");return n=>{let i=null===n?"null":typeof n;if(f.indexOf(i)<0)throw new RangeError(`Expected value of type ${f} for attribute ${t} on type ${e}, got ${i}`)}}(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}}class Ne{constructor(e,t,n,f){this.name=e,this.rank=t,this.schema=n,this.spec=f,this.attrs=Ie(e,f.attrs),this.excluded=null;let i=ve(this.attrs);this.instance=i?new H(this,i):null}create(e=null){return!e&&this.instance?this.instance:new H(this,je(this.attrs,e))}static compile(e,t){let n=Object.create(null),f=0;return e.forEach(((e,i)=>n[e]=new Ne(e,f++,t,i))),n}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}checkAttrs(e){ke(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class Te{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=J.from(e.nodes),t.marks=J.from(e.marks||{}),this.nodes=xe.compile(this.spec.nodes,this),this.marks=Ne.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw new RangeError(e+" can not be both a node and a mark");let t=this.nodes[e],f=t.spec.content||"",i=t.spec.marks;if(t.contentMatch=n[f]||(n[f]=pe.parse(f,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!t.isInline||!t.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=t}t.markSet="_"==i?null:i?De(this,i.split(" ")):""!=i&&t.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:De(this,n.split(" "))}this.nodeFromJSON=e=>de.fromJSON(this,e),this.markFromJSON=e=>H.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,f){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof xe))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,f)}text(e,t){let n=this.nodes.text;return new ue(n,n.defaultAttrs,e,H.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function De(e,t){let n=[];for(let f=0;f<t.length;f++){let i=t[f],r=e.marks[i],o=r;if(r)n.push(r);else for(let t in e.marks){let f=e.marks[t];("_"==i||f.spec.group&&f.spec.group.split(" ").indexOf(i)>-1)&&n.push(o=f)}if(!o)throw new SyntaxError("Unknown mark type: '"+t[f]+"'")}return n}class Ae{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach((e=>{if(null!=e.tag)this.tags.push(e);else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new Je(this,t,!1);return n.addAll(e,H.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Je(this,t,!0);return n.addAll(e,H.none,t.from,t.to),F.maxOpen(n.finish())}matchTag(e,t,n){for(let f=n?this.tags.indexOf(n)+1:0;f<this.tags.length;f++){let n=this.tags[f];if(Be(e,n.tag)&&(void 0===n.namespace||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(!1===t)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,f){for(let i=f?this.styles.indexOf(f)+1:0;i<this.styles.length;i++){let f=this.styles[i],r=f.style;if(!(0!=r.indexOf(e)||f.context&&!n.matchesContext(f.context)||r.length>e.length&&(61!=r.charCodeAt(e.length)||r.slice(e.length+1)!=t))){if(f.getAttrs){let e=f.getAttrs(t);if(!1===e)continue;f.attrs=e||void 0}return f}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,f=0;for(;f<t.length;f++){let e=t[f];if((null==e.priority?50:e.priority)<n)break}t.splice(f,0,e)}for(let t in e.marks){let f=e.marks[t].spec.parseDOM;f&&f.forEach((e=>{n(e=Qe(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)}))}for(let t in e.nodes){let f=e.nodes[t].spec.parseDOM;f&&f.forEach((e=>{n(e=Qe(e)),e.node||e.ignore||e.mark||(e.node=t)}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Ae(e,Ae.schemaRules(e)))}}const Ee={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ze={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Oe={ol:!0,ul:!0};function Pe(e,t,n){return null!=t?(t?1:0)|("full"===t?2:0):e&&"pre"==e.whitespace?3:-5&n}class Re{constructor(e,t,n,f,i,r){this.type=e,this.attrs=t,this.marks=n,this.solid=f,this.options=r,this.content=[],this.activeMarks=H.none,this.match=i||(4&r?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(Y.from(e));if(!t){let t,n=this.type.contentMatch;return(t=n.findWrapping(e.type))?(this.match=n,t):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)}finish(e){if(!(1&this.options)){let e,t=this.content[this.content.length-1];if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t;t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=Y.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(Y.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Ee.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Je{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let f,i=t.topNode,r=Pe(null,t.preserveWhitespace,0)|(n?4:0);f=i?new Re(i.type,i.attrs,H.none,!0,t.topMatch||i.type.contentMatch,r):new Re(n?null:e.schema.topNodeType,null,H.none,!0,null,r),this.nodes=[f],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){3==e.nodeType?this.addTextNode(e,t):1==e.nodeType&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,f=this.top,i=2&f.options?"full":this.localPreserveWS||(1&f.options)>0;if("full"===i||f.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(i)n="full"!==i?n.replace(/\r?\n|\r/g," "):n.replace(/\r\n?/g,"\n");else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=f.content[f.content.length-1],i=e.previousSibling;(!t||i&&"BR"==i.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}n&&this.insertNode(this.parser.schema.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let f=this.localPreserveWS,i=this.top;("PRE"==e.tagName||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let r,o=e.nodeName.toLowerCase();Oe.hasOwnProperty(o)&&this.parser.normalizeLists&&function(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=1==t.nodeType?t.nodeName.toLowerCase():null;e&&Oe.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):"li"==e?n=t:e&&(n=null)}}(e);let a=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(r=this.parser.matchTag(e,this,n));e:if(a?a.ignore:ze.hasOwnProperty(o))this.findInside(e),this.ignoreFallback(e,t);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(e=a.skip);let n,f=this.needsBlock;if(Ee.hasOwnProperty(o))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break e}let r=a&&a.skip?t:this.readStyles(e,t);r&&this.addAll(e,r),n&&this.sync(i),this.needsBlock=f}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,a,n,!1===a.consuming?r:void 0)}this.localPreserveWS=f}leafFallback(e,t){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"),t)}ignoreFallback(e,t){"BR"==e.nodeName&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let f=this.parser.matchedStyles[e],i=n.getPropertyValue(f);if(i)for(let e;;){let n=this.parser.matchStyle(f,i,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter((e=>!n.clearMark(e))):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1!==n.consuming)break;e=n}}return t}addElementByRule(e,t,n,f){let i,r;if(t.node)if(r=this.parser.schema.nodes[t.node],r.isLeaf)this.insertNode(r.create(t.attrs),n,"BR"==e.nodeName)||this.leafFallback(e,n);else{let e=this.enter(r,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(r&&r.isLeaf)this.findInside(e);else if(f)this.addElement(e,n,f);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e,n,!1)));else{let f=e;"string"==typeof t.contentElement?f=e.querySelector(t.contentElement):"function"==typeof t.contentElement?f=t.contentElement(e):t.contentElement&&(f=t.contentElement),this.findAround(e,f,!0),this.addAll(f,n),this.findAround(e,f,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,f){let i=n||0;for(let r=n?e.childNodes[n]:e.firstChild,o=null==f?null:e.childNodes[f];r!=o;r=r.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(r,t);this.findAtPoint(e,i)}findPlace(e,t,n){let f,i;for(let t=this.open,r=0;t>=0;t--){let o=this.nodes[t],a=o.findWrapping(e);if(a&&(!f||f.length>a.length+r)&&(f=a,i=o,!a.length))break;if(o.solid){if(n)break;r+=2}}if(!f)return null;this.sync(i);for(let e=0;e<f.length;e++)t=this.enterInner(f[e],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let f=this.findPlace(e,t,n);if(f){this.closeExtra();let t=this.top;t.match&&(t.match=t.match.matchType(e.type));let n=H.none;for(let i of f.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):Ye(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,f){let i=this.findPlace(e.create(t),n,!1);return i&&(i=this.enterInner(e,t,n,!0,f)),i}enterInner(e,t,n,f=!1,i){this.closeExtra();let r=this.top;r.match=r.match&&r.match.matchType(e);let o=Pe(e,i,r.options);4&r.options&&0==r.content.length&&(o|=4);let a=H.none;return n=n.filter((t=>!(r.type?r.type.allowsMarkType(t.type):Ye(t.type,e))||(a=t.addToSet(a),!1))),this.nodes.push(new Re(e,t,a,f,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!(!this.isOpen&&!this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=1)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let f=0;f<this.find.length;f++)null==this.find[f].pos&&1==e.nodeType&&e.contains(this.find[f].node)&&t.compareDocumentPosition(this.find[f].node)&(n?2:4)&&(this.find[f].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),n=this.options.context,f=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),i=-(n?n.depth+1:0)+(f?0:1),r=(e,o)=>{for(;e>=0;e--){let a=t[e];if(""==a){if(e==t.length-1||0==e)continue;for(;o>=i;o--)if(r(e-1,o))return!0;return!1}{let e=o>0||0==o&&f?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=a&&!e.isInGroup(a))return!1;o--}}return!0};return r(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}}function Be(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Qe(e){let t={};for(let n in e)t[n]=e[n];return t}function Ye(e,t){let n=t.schema.nodes;for(let f in n){let i=n[f];if(!i.allowsMarkType(e))continue;let r=[],o=e=>{r.push(e);for(let n=0;n<e.edgeCount;n++){let{type:f,next:i}=e.edge(n);if(f==t||r.indexOf(i)<0&&o(i))return!0}};if(o(i.contentMatch))return!0}}class Ue{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=Ze(t).createDocumentFragment());let f=n,i=[];return e.forEach((e=>{if(i.length||e.marks.length){let n=0,r=0;for(;n<i.length&&r<e.marks.length;){let t=e.marks[r];if(this.marks[t.type.name]){if(!t.eq(i[n][0])||!1===t.type.spec.spanning)break;n++,r++}else r++}for(;n<i.length;)f=i.pop()[1];for(;r<e.marks.length;){let n=e.marks[r++],o=this.serializeMark(n,e.isInline,t);o&&(i.push([n,f]),f.appendChild(o.dom),f=o.contentDOM||o.dom)}}f.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:f}=Fe(Ze(t),this.nodes[e.type.name](e),null,e.attrs);if(f){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,f)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let f=e.marks.length-1;f>=0;f--){let i=this.serializeMark(e.marks[f],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let f=this.marks[e.type.name];return f&&Fe(Ze(n),f(e,t),null,e.attrs)}static renderSpec(e,t,n=null,f){return Fe(e,t,n,f)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Ue(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Ge(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return Ge(e.marks)}}function Ge(e){let t={};for(let n in e){let f=e[n].spec.toDOM;f&&(t[n]=f)}return t}function Ze(e){return e.document||window.document}const He=new WeakMap;function We(e){let t=He.get(e);return void 0===t&&He.set(e,t=function(e){let t=null;function n(e){if(e&&"object"==typeof e)if(Array.isArray(e))if("string"==typeof e[0])t||(t=[]),t.push(e);else for(let t=0;t<e.length;t++)n(e[t]);else for(let t in e)n(e[t])}return n(e),t}(e)),t}function Fe(e,t,n,f){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;let i,r=t[0];if("string"!=typeof r)throw new RangeError("Invalid array passed to renderSpec");if(f&&(i=We(f))&&i.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=r.indexOf(" ");o>0&&(n=r.slice(0,o),r=r.slice(o+1));let a,s=n?e.createElementNS(n,r):e.createElement(r),l=t[1],c=1;if(l&&"object"==typeof l&&null==l.nodeType&&!Array.isArray(l)){c=2;for(let e in l)if(null!=l[e]){let t=e.indexOf(" ");t>0?s.setAttributeNS(e.slice(0,t),e.slice(t+1),l[e]):"style"==e&&s.style?s.style.cssText=l[e]:s.setAttribute(e,l[e])}}for(let i=c;i<t.length;i++){let r=t[i];if(0===r){if(i<t.length-1||i>c)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:t,contentDOM:i}=Fe(e,r,n,f);if(s.appendChild(t),i){if(a)throw new RangeError("Multiple content holes");a=i}}}return{dom:s,contentDOM:a}}const Ve=Math.pow(2,16);function $e(e,t){return e+t*Ve}function _e(e){return 65535&e}class Ke{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class Xe{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Xe.empty)return Xe.empty}recover(e){let t=0,n=_e(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[3*e+2]-this.ranges[3*e+1];return this.ranges[3*n]+t+((f=e)-(65535&f))/Ve;var f}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let f=0,i=this.inverted?2:1,r=this.inverted?1:2;for(let o=0;o<this.ranges.length;o+=3){let a=this.ranges[o]-(this.inverted?f:0);if(a>e)break;let s=this.ranges[o+i],l=this.ranges[o+r],c=a+s;if(e<=c){let i=a+f+((s?e==a?-1:e==c?1:t:t)<0?0:l);if(n)return i;let r=e==(t<0?a:c)?null:$e(o/3,e-a),d=e==a?2:e==c?1:4;return(t<0?e!=a:e!=c)&&(d|=8),new Ke(i,d,r)}f+=l-s}return n?e+f:new Ke(e+f,0,null)}touches(e,t){let n=0,f=_e(t),i=this.inverted?2:1,r=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let o=this.ranges[t]-(this.inverted?n:0);if(o>e)break;let a=this.ranges[t+i];if(e<=o+a&&t==3*f)return!0;n+=this.ranges[t+r]-a}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let f=0,i=0;f<this.ranges.length;f+=3){let r=this.ranges[f],o=r-(this.inverted?i:0),a=r+(this.inverted?0:i),s=this.ranges[f+t],l=this.ranges[f+n];e(o,o+s,a,a+l),i+=l-s}}invert(){return new Xe(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?Xe.empty:new Xe(e<0?[0,-e,0]:[0,0,e])}}Xe.empty=new Xe([]);class qe{constructor(e,t,n=0,f=(e?e.length:0)){this.mirror=t,this.from=n,this.to=f,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(e=0,t=this.maps.length){return new qe(this._maps,this.mirror,e,t)}appendMap(e,t){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(e),null!=t&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let f=e.getMirror(t);this.appendMap(e._maps[t],null!=f&&f<t?n+f:void 0)}}getMirror(e){if(this.mirror)for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let f=e.getMirror(t);this.appendMap(e._maps[t].invert(),null!=f&&f>t?n-f-1:void 0)}}invert(){let e=new qe;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let f=0;for(let n=this.from;n<this.to;n++){let i=this._maps[n].mapResult(e,t);if(null!=i.recover){let t=this.getMirror(n);if(null!=t&&t>n&&t<this.to){n=t,e=this._maps[t].recover(i.recover);continue}}f|=i.delInfo,e=i.pos}return n?e:new Ke(e,f,null)}}const et=Object.create(null);class tt{getMap(){return Xe.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=et[t.stepType];if(!n)throw new RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in et)throw new RangeError("Duplicate use of step JSON ID "+e);return et[e]=t,t.prototype.jsonID=e,t}}class nt{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new nt(e,null)}static fail(e){return new nt(null,e)}static fromReplace(e,t,n,f){try{return nt.ok(e.replace(t,n,f))}catch(e){if(e instanceof W)return nt.fail(e.message);throw e}}}function ft(e,t,n){let f=[];for(let i=0;i<e.childCount;i++){let r=e.child(i);r.content.size&&(r=r.copy(ft(r.content,t,r))),r.isInline&&(r=t(r,n,i)),f.push(r)}return Y.fromArray(f)}class it extends tt{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),f=n.node(n.sharedDepth(this.to)),i=new F(ft(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),f),t.openStart,t.openEnd);return nt.fromReplace(e,this.from,this.to,i)}invert(){return new rt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new it(t.pos,n.pos,this.mark)}merge(e){return e instanceof it&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new it(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new it(t.from,t.to,e.markFromJSON(t.mark))}}tt.jsonID("addMark",it);class rt extends tt{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new F(ft(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return nt.fromReplace(e,this.from,this.to,n)}invert(){return new it(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deleted&&n.deleted||t.pos>=n.pos?null:new rt(t.pos,n.pos,this.mark)}merge(e){return e instanceof rt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new rt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new rt(t.from,t.to,e.markFromJSON(t.mark))}}tt.jsonID("removeMark",rt);class ot extends tt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return nt.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return nt.fromReplace(e,this.pos,this.pos+1,new F(Y.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let e=this.mark.addToSet(t.marks);if(e.length==t.marks.length){for(let n=0;n<t.marks.length;n++)if(!t.marks[n].isInSet(e))return new ot(this.pos,t.marks[n]);return new ot(this.pos,this.mark)}}return new at(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new ot(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new ot(t.pos,e.markFromJSON(t.mark))}}tt.jsonID("addNodeMark",ot);class at extends tt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return nt.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return nt.fromReplace(e,this.pos,this.pos+1,new F(Y.from(n),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return t&&this.mark.isInSet(t.marks)?new ot(this.pos,this.mark):this}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new at(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new at(t.pos,e.markFromJSON(t.mark))}}tt.jsonID("removeNodeMark",at);class st extends tt{constructor(e,t,n,f=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=f}apply(e){return this.structure&&ct(e,this.from,this.to)?nt.fail("Structure replace would overwrite content"):nt.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Xe([this.from,this.to-this.from,this.slice.size])}invert(e){return new st(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1);return t.deletedAcross&&n.deletedAcross?null:new st(t.pos,Math.max(t.pos,n.pos),this.slice,this.structure)}merge(e){if(!(e instanceof st)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;{let t=this.slice.size+e.slice.size==0?F.empty:new F(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new st(e.from,this.to,t,this.structure)}}{let t=this.slice.size+e.slice.size==0?F.empty:new F(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new st(this.from,this.to+(e.to-e.from),t,this.structure)}}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new st(t.from,t.to,F.fromJSON(e,t.slice),!!t.structure)}}tt.jsonID("replace",st);class lt extends tt{constructor(e,t,n,f,i,r,o=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=f,this.slice=i,this.insert=r,this.structure=o}apply(e){if(this.structure&&(ct(e,this.from,this.gapFrom)||ct(e,this.gapTo,this.to)))return nt.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return nt.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?nt.fromReplace(e,this.from,this.to,n):nt.fail("Content does not fit in gap")}getMap(){return new Xe([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new lt(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),n=e.mapResult(this.to,-1),f=this.from==this.gapFrom?t.pos:e.map(this.gapFrom,-1),i=this.to==this.gapTo?n.pos:e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||f<t.pos||i>n.pos?null:new lt(t.pos,n.pos,f,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new lt(t.from,t.to,t.gapFrom,t.gapTo,F.fromJSON(e,t.slice),t.insert,!!t.structure)}}function ct(e,t,n){let f=e.resolve(t),i=n-t,r=f.depth;for(;i>0&&r>0&&f.indexAfter(r)==f.node(r).childCount;)r--,i--;if(i>0){let e=f.node(r).maybeChild(f.indexAfter(r));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function dt(e,t,n,f=n.contentMatch,i=!0){let r=e.doc.nodeAt(t),o=[],a=t+1;for(let t=0;t<r.childCount;t++){let s=r.child(t),l=a+s.nodeSize,c=f.matchType(s.type);if(c){f=c;for(let t=0;t<s.marks.length;t++)n.allowsMarkType(s.marks[t].type)||e.step(new rt(a,l,s.marks[t]));if(i&&s.isText&&"pre"!=n.whitespace){let e,t,f=/\r?\n|\r/g;for(;e=f.exec(s.text);)t||(t=new F(Y.from(n.schema.text(" ",n.allowedMarks(s.marks))),0,0)),o.push(new st(a+e.index,a+e.index+e[0].length,t))}}else o.push(new st(a,l,F.empty));a=l}if(!f.validEnd){let t=f.fillBefore(Y.empty,!0);e.replace(a,a,new F(t,0,0))}for(let t=o.length-1;t>=0;t--)e.step(o[t])}function ut(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function ht(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let f=e.$from.node(n),i=e.$from.index(n),r=e.$to.indexAfter(n);if(n<e.depth&&f.canReplace(i,r,t))return n;if(0==n||f.type.spec.isolating||!ut(f,i,r))break}return null}function pt(e,t,n=null,f=e){let i=function(e,t){let{parent:n,startIndex:f,endIndex:i}=e,r=n.contentMatchAt(f).findWrapping(t);if(!r)return null;let o=r.length?r[0]:t;return n.canReplaceWith(f,i,o)?r:null}(e,t),r=i&&function(e,t){let{parent:n,startIndex:f,endIndex:i}=e,r=n.child(f),o=t.contentMatch.findWrapping(r.type);if(!o)return null;let a=(o.length?o[o.length-1]:t).contentMatch;for(let e=f;a&&e<i;e++)a=a.matchType(n.child(e).type);return a&&a.validEnd?o:null}(f,t);return r?i.map(mt).concat({type:t,attrs:n}).concat(r.map(mt)):null}function mt(e){return{type:e,attrs:null}}function gt(e,t,n,f){t.forEach(((i,r)=>{if(i.isText){let o,a=/\r?\n|\r/g;for(;o=a.exec(i.text);){let i=e.mapping.slice(f).map(n+1+r+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}}))}function wt(e,t,n,f){t.forEach(((i,r)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(f).map(n+1+r);e.replaceWith(i,i+1,t.type.schema.text("\n"))}}))}function Mt(e,t,n=1,f){let i=e.resolve(t),r=i.depth-n,o=f&&f[f.length-1]||i.parent;if(r<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>r;e--,t--){let n=i.node(e),r=i.index(e);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(r,n.childCount),a=f&&f[t+1];a&&(o=o.replaceChild(0,a.type.create(a.attrs)));let s=f&&f[t]||n;if(!n.canReplace(r+1,n.childCount)||!s.type.validContent(o))return!1}let a=i.indexAfter(r),s=f&&f[0];return i.node(r).canReplaceWith(a,a,s?s.type:i.node(r+1).type)}function bt(e,t){let n=e.resolve(t),f=n.index();return yt(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(f,f+1)}function yt(e,t){return!(!e||!t||e.isLeaf||!function(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:f}=e.type.schema;for(let i=0;i<t.childCount;i++){let r=t.child(i),o=r.type==f?e.type.schema.nodes.text:r.type;if(n=n.matchType(o),!n||!e.type.allowsMarks(r.marks))return!1}return n.validEnd}(e,t))}function Lt(e,t,n=-1){let f=e.resolve(t);for(let e=f.depth;;e--){let i,r,o=f.index(e);if(e==f.depth?(i=f.nodeBefore,r=f.nodeAfter):n>0?(i=f.node(e+1),o++,r=f.node(e).maybeChild(o)):(i=f.node(e).maybeChild(o-1),r=f.node(e+1)),i&&!i.isTextblock&&yt(i,r)&&f.node(e).canReplace(o,o+1))return t;if(0==e)break;t=n<0?f.before(e):f.after(e)}}function Ct(e,t,n=t,f=F.empty){if(t==n&&!f.size)return null;let i=e.resolve(t),r=e.resolve(n);return vt(i,r,f)?new st(t,n,f):new jt(i,r,f).fit()}function vt(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}tt.jsonID("replaceAround",lt);class jt{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=Y.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=Y.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,f=this.close(e<0?this.$to:n.doc.resolve(e));if(!f)return null;let i=this.placed,r=n.depth,o=f.depth;for(;r&&o&&1==i.childCount;)i=i.firstChild.content,r--,o--;let a=new F(i,r,o);return e>-1?new lt(n.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||n.pos!=this.$to.pos?new st(n.pos,f.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,f=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(f=0),i.type.spec.isolating&&f<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=1==t?e:this.unplaced.openStart;n>=0;n--){let e,f=null;n?(f=xt(this.unplaced.content,n-1).firstChild,e=f.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e>=0;e--){let r,{type:o,match:a}=this.frontier[e],s=null;if(1==t&&(i?a.matchType(i.type)||(s=a.fillBefore(Y.from(i),!1)):f&&o.compatibleContent(f.type)))return{sliceDepth:n,frontierDepth:e,parent:f,inject:s};if(2==t&&i&&(r=a.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:f,wrap:r};if(f&&a.matchType(f.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,f=xt(e,t);return!(!f.childCount||f.firstChild.isLeaf)&&(this.unplaced=new F(e,t+1,Math.max(n,f.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,f=xt(e,t);if(f.childCount<=1&&t>0){let i=e.size-t<=t+f.size;this.unplaced=new F(kt(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new F(kt(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:f,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let e=0;e<i.length;e++)this.openFrontierNode(i[e]);let r=this.unplaced,o=n?n.content:r.content,a=r.openStart-e,s=0,l=[],{match:c,type:d}=this.frontier[t];if(f){for(let e=0;e<f.childCount;e++)l.push(f.child(e));c=c.matchFragment(f)}let u=o.size+e-(r.content.size-r.openEnd);for(;s<o.childCount;){let e=o.child(s),t=c.matchType(e.type);if(!t)break;s++,(s>1||0==a||e.content.size)&&(c=t,l.push(St(e.mark(d.allowedMarks(e.marks)),1==s?a:0,s==o.childCount?u:-1)))}let h=s==o.childCount;h||(u=-1),this.placed=It(this.placed,t,Y.from(l)),this.frontier[t].match=c,h&&u<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=o;e<u;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=h?0==e?F.empty:new F(kt(r.content,e-1,1),e-1,u<0?r.openEnd:e-1):new F(kt(r.content,e,s),r.openStart,r.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!Nt(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,f=this.$to.after(n);for(;n>1&&f==this.$to.end(--n);)++f;return f}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:f}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),r=Nt(e,t,f,n,i);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:f}=this.frontier[n],i=Nt(e,n,f,t,!0);if(!i||i.childCount)continue e}return{depth:t,fit:r,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=It(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),f=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,f)}return e}openFrontierNode(e,t=null,n){let f=this.frontier[this.depth];f.match=f.match.matchType(e),this.placed=It(this.placed,this.depth,Y.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(Y.empty,!0);e.childCount&&(this.placed=It(this.placed,this.frontier.length,e))}}function kt(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(kt(e.firstChild.content,t-1,n)))}function It(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(It(e.lastChild.content,t-1,n)))}function xt(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function St(e,t,n){if(t<=0)return e;let f=e.content;return t>1&&(f=f.replaceChild(0,St(f.firstChild,t-1,1==f.childCount?n-1:0))),t>0&&(f=e.type.contentMatch.fillBefore(f).append(f),n<=0&&(f=f.append(e.type.contentMatch.matchFragment(f).fillBefore(Y.empty,!0)))),e.copy(f)}function Nt(e,t,n,f,i){let r=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==r.childCount&&!n.compatibleContent(r.type))return null;let a=f.fillBefore(r.content,!0,o);return a&&!function(e,t,n){for(let f=n;f<t.childCount;f++)if(!e.allowsMarks(t.child(f).marks))return!0;return!1}(n,r.content,o)?a:null}function Tt(e){return e.spec.defining||e.spec.definingForContent}function Dt(e,t,n,f,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(Dt(i.content,t+1,n,f,i)))}if(t>f){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(Y.empty,!0))}return e}function At(e,t){let n=[];for(let f=Math.min(e.depth,t.depth);f>=0;f--){let i=e.start(f);if(i<e.pos-(e.depth-f)||t.end(f)>t.pos+(t.depth-f)||e.node(f).type.spec.isolating||t.node(f).type.spec.isolating)break;(i==t.start(f)||f==e.depth&&f==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&f&&t.start(f-1)==i-1)&&n.push(f)}return n}class Et extends tt{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return nt.fail("No node at attribute step's position");let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let f=t.type.create(n,null,t.marks);return nt.fromReplace(e,this.pos,this.pos+1,new F(Y.from(f),0,t.isLeaf?0:1))}getMap(){return Xe.empty}invert(e){return new Et(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Et(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if("number"!=typeof t.pos||"string"!=typeof t.attr)throw new RangeError("Invalid input for AttrStep.fromJSON");return new Et(t.pos,t.attr,t.value)}}tt.jsonID("attr",Et);class zt extends tt{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return nt.ok(n)}getMap(){return Xe.empty}invert(e){return new zt(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if("string"!=typeof t.attr)throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new zt(t.attr,t.value)}}tt.jsonID("docAttr",zt);let Ot=class extends Error{};Ot=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},(Ot.prototype=Object.create(Error.prototype)).constructor=Ot,Ot.prototype.name="TransformError";class Pt{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new qe}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Ot(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=F.empty){let f=Ct(this.doc,e,t,n);return f&&this.step(f),this}replaceWith(e,t,n){return this.replace(e,t,new F(Y.from(n),0,0))}delete(e,t){return this.replace(e,t,F.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,f){if(!f.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),r=e.doc.resolve(n);if(vt(i,r,f))return e.step(new st(t,n,f));let o=At(i,e.doc.resolve(n));0==o[o.length-1]&&o.pop();let a=-(i.depth+1);o.unshift(a);for(let e=i.depth,t=i.pos-1;e>0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;o.indexOf(e)>-1?a=e:i.before(e)==t&&o.splice(1,0,-e)}let s=o.indexOf(a),l=[],c=f.openStart;for(let e=f.content,t=0;;t++){let n=e.firstChild;if(l.push(n),t==f.openStart)break;e=n.content}for(let e=c-1;e>=0;e--){let t=l[e],n=Tt(t.type);if(n&&!t.sameMarkup(i.node(Math.abs(a)-1)))c=e;else if(n||!t.type.isTextblock)break}for(let t=f.openStart;t>=0;t--){let a=(t+c+1)%(f.openStart+1),d=l[a];if(d)for(let t=0;t<o.length;t++){let l=o[(t+s)%o.length],c=!0;l<0&&(c=!1,l=-l);let u=i.node(l-1),h=i.index(l-1);if(u.canReplaceWith(h,h,d.type,d.marks))return e.replace(i.before(l),c?r.after(l):n,new F(Dt(f.content,0,f.openStart,a),a,f.openEnd))}}let d=e.steps.length;for(let a=o.length-1;a>=0&&(e.replace(t,n,f),!(e.steps.length>d));a--){let e=o[a];e<0||(t=i.before(e),n=r.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,f){if(!f.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=function(e,t,n){let f=e.resolve(t);if(f.parent.canReplaceWith(f.index(),f.index(),n))return t;if(0==f.parentOffset)for(let e=f.depth-1;e>=0;e--){let t=f.index(e);if(f.node(e).canReplaceWith(t,t,n))return f.before(e+1);if(t>0)return null}if(f.parentOffset==f.parent.content.size)for(let e=f.depth-1;e>=0;e--){let t=f.indexAfter(e);if(f.node(e).canReplaceWith(t,t,n))return f.after(e+1);if(t<f.node(e).childCount)return null}return null}(e.doc,t,f.type);null!=i&&(t=n=i)}e.replaceRange(t,n,new F(Y.from(f),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let f=e.doc.resolve(t),i=e.doc.resolve(n),r=At(f,i);for(let t=0;t<r.length;t++){let n=r[t],o=t==r.length-1;if(o&&0==n||f.node(n).type.contentMatch.validEnd)return e.delete(f.start(n),i.end(n));if(n>0&&(o||f.node(n-1).canReplace(f.index(n-1),i.indexAfter(n-1))))return e.delete(f.before(n),i.after(n))}for(let r=1;r<=f.depth&&r<=i.depth;r++)if(t-f.start(r)==f.depth-r&&n>f.end(r)&&i.end(r)-n!=i.depth-r&&f.start(r-1)==i.start(r-1)&&f.node(r-1).canReplace(f.index(r-1),i.index(r-1)))return e.delete(f.before(r),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:f,$to:i,depth:r}=t,o=f.before(r+1),a=i.after(r+1),s=o,l=a,c=Y.empty,d=0;for(let e=r,t=!1;e>n;e--)t||f.index(e)>0?(t=!0,c=Y.from(f.node(e).copy(c)),d++):s--;let u=Y.empty,h=0;for(let e=r,t=!1;e>n;e--)t||i.after(e+1)<i.end(e)?(t=!0,u=Y.from(i.node(e).copy(u)),h++):l++;e.step(new lt(s,l,o,a,new F(c.append(u),d,h),c.size-d,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let f=null,{linebreakReplacement:i}=e.doc.type.schema,r=e.doc.resolve(t-n),o=r.node().type;if(i&&o.inlineContent){let e="pre"==o.whitespace,t=!!o.contentMatch.matchType(i);e&&!t?f=!1:!e&&t&&(f=!0)}let a=e.steps.length;if(!1===f){let f=e.doc.resolve(t+n);wt(e,f.node(),f.before(),a)}o.inlineContent&&dt(e,t+n-1,o,r.node().contentMatchAt(r.index()),null==f);let s=e.mapping.slice(a),l=s.map(t-n);if(e.step(new st(l,s.map(t+n,-1),F.empty,!0)),!0===f){let t=e.doc.resolve(l);gt(e,t.node(),t.before(),e.steps.length)}}(this,e,t),this}wrap(e,t){return function(e,t,n){let f=Y.empty;for(let e=n.length-1;e>=0;e--){if(f.size){let t=n[e].type.contentMatch.matchFragment(f);if(!t||!t.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}f=Y.from(n[e].type.create(n[e].attrs,f))}let i=t.start,r=t.end;e.step(new lt(i,r,i,r,new F(f,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,f=null){return function(e,t,n,f,i){if(!f.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let r=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{let o="function"==typeof i?i(t):i;if(t.isTextblock&&!t.hasMarkup(f,o)&&function(e,t,n){let f=e.resolve(t),i=f.index();return f.parent.canReplaceWith(i,i+1,n)}(e.doc,e.mapping.slice(r).map(n),f)){let i=null;if(f.schema.linebreakReplacement){let e="pre"==f.whitespace,t=!!f.contentMatch.matchType(f.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}!1===i&&wt(e,t,n,r),dt(e,e.mapping.slice(r).map(n,1),f,void 0,null===i);let a=e.mapping.slice(r),s=a.map(n,1),l=a.map(n+t.nodeSize,1);return e.step(new lt(s,l,s+1,l-1,new F(Y.from(f.create(o,null,t.marks)),0,0),1,!0)),!0===i&>(e,t,n,r),!1}}))}(this,e,t,n,f),this}setNodeMarkup(e,t,n=null,f){return function(e,t,n,f,i){let r=e.doc.nodeAt(t);if(!r)throw new RangeError("No node at given position");n||(n=r.type);let o=n.create(f,null,i||r.marks);if(r.isLeaf)return e.replaceWith(t,t+r.nodeSize,o);if(!n.validContent(r.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new lt(t,t+r.nodeSize,t+1,t+r.nodeSize-1,new F(Y.from(o),0,0),1,!0))}(this,e,t,n,f),this}setNodeAttribute(e,t,n){return this.step(new Et(e,t,n)),this}setDocAttribute(e,t){return this.step(new zt(e,t)),this}addNodeMark(e,t){return this.step(new ot(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t instanceof H)t.isInSet(n.marks)&&this.step(new at(e,t));else{let f,i=n.marks,r=[];for(;f=t.isInSet(i);)r.push(new at(e,f)),i=f.removeFromSet(i);for(let e=r.length-1;e>=0;e--)this.step(r[e])}return this}split(e,t=1,n){return function(e,t,n=1,f){let i=e.doc.resolve(t),r=Y.empty,o=Y.empty;for(let e=i.depth,t=i.depth-n,a=n-1;e>t;e--,a--){r=Y.from(i.node(e).copy(r));let t=f&&f[a];o=Y.from(t?t.type.create(t.attrs,o):i.node(e).copy(o))}e.step(new st(t,t,new F(r.append(o),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,f){let i,r,o=[],a=[];e.doc.nodesBetween(t,n,((e,s,l)=>{if(!e.isInline)return;let c=e.marks;if(!f.isInSet(c)&&l.type.allowsMarkType(f.type)){let l=Math.max(s,t),d=Math.min(s+e.nodeSize,n),u=f.addToSet(c);for(let e=0;e<c.length;e++)c[e].isInSet(u)||(i&&i.to==l&&i.mark.eq(c[e])?i.to=d:o.push(i=new rt(l,d,c[e])));r&&r.to==l?r.to=d:a.push(r=new it(l,d,f))}})),o.forEach((t=>e.step(t))),a.forEach((t=>e.step(t)))}(this,e,t,n),this}removeMark(e,t,n){return function(e,t,n,f){let i=[],r=0;e.doc.nodesBetween(t,n,((e,o)=>{if(!e.isInline)return;r++;let a=null;if(f instanceof Ne){let t,n=e.marks;for(;t=f.isInSet(n);)(a||(a=[])).push(t),n=t.removeFromSet(n)}else f?f.isInSet(e.marks)&&(a=[f]):a=e.marks;if(a&&a.length){let f=Math.min(o+e.nodeSize,n);for(let e=0;e<a.length;e++){let n,s=a[e];for(let e=0;e<i.length;e++){let t=i[e];t.step==r-1&&s.eq(i[e].style)&&(n=t)}n?(n.to=f,n.step=r):i.push({style:s,from:Math.max(o,t),to:f,step:r})}}})),i.forEach((t=>e.step(new rt(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return dt(this,e,t,n),this}}const Rt=Object.create(null);class Jt{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new Bt(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=F.empty){let n=t.content.lastChild,f=null;for(let e=0;e<t.openEnd;e++)f=n,n=n.lastChild;let i=e.steps.length,r=this.ranges;for(let o=0;o<r.length;o++){let{$from:a,$to:s}=r[o],l=e.mapping.slice(i);e.replaceRange(l.map(a.pos),l.map(s.pos),o?F.empty:t),0==o&&$t(e,i,(n?n.isInline:f&&f.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,f=this.ranges;for(let i=0;i<f.length;i++){let{$from:r,$to:o}=f[i],a=e.mapping.slice(n),s=a.map(r.pos),l=a.map(o.pos);i?e.deleteRange(s,l):(e.replaceRangeWith(s,l,t),$t(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let f=e.parent.inlineContent?new Ut(e):Vt(e.node(0),e.parent,e.pos,e.index(),t,n);if(f)return f;for(let f=e.depth-1;f>=0;f--){let i=t<0?Vt(e.node(0),e.node(f),e.before(f+1),e.index(f),t,n):Vt(e.node(0),e.node(f),e.after(f+1),e.index(f)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Wt(e.node(0))}static atStart(e){return Vt(e,e,0,0,1)||new Wt(e)}static atEnd(e){return Vt(e,e,e.content.size,e.childCount,-1)||new Wt(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=Rt[t.type];if(!n)throw new RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Rt)throw new RangeError("Duplicate use of selection JSON ID "+e);return Rt[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Ut.between(this.$anchor,this.$head).getBookmark()}}Jt.prototype.visible=!0;class Bt{constructor(e,t){this.$from=e,this.$to=t}}let Qt=!1;function Yt(e){!Qt&&!e.parent.inlineContent&&(Qt=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Ut extends Jt{constructor(e,t=e){Yt(e),Yt(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let n=e.resolve(t.map(this.head));if(!n.parent.inlineContent)return Jt.near(n);let f=e.resolve(t.map(this.anchor));return new Ut(f.parent.inlineContent?f:n,n)}replace(e,t=F.empty){if(super.replace(e,t),t==F.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof Ut&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Gt(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ut(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let f=e.resolve(t);return new this(f,n==t?f:e.resolve(n))}static between(e,t,n){let f=e.pos-t.pos;if((!n||f)&&(n=f>=0?1:-1),!t.parent.inlineContent){let e=Jt.findFrom(t,n,!0)||Jt.findFrom(t,-n,!0);if(!e)return Jt.near(t,n);t=e.$head}return e.parent.inlineContent||(0==f?e=t:(e=(Jt.findFrom(e,-n,!0)||Jt.findFrom(e,n,!0)).$anchor).pos<t.pos!=f<0&&(e=t)),new Ut(e,t)}}Jt.jsonID("text",Ut);class Gt{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Gt(e.map(this.anchor),e.map(this.head))}resolve(e){return Ut.between(e.resolve(this.anchor),e.resolve(this.head))}}class Zt extends Jt{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(e,t){let{deleted:n,pos:f}=t.mapResult(this.anchor),i=e.resolve(f);return n?Jt.near(i):new Zt(i)}content(){return new F(Y.from(this.node),0,0)}eq(e){return e instanceof Zt&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Ht(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Zt(e.resolve(t.anchor))}static create(e,t){return new Zt(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}Zt.prototype.visible=!1,Jt.jsonID("node",Zt);class Ht{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new Gt(n,n):new Ht(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&Zt.isSelectable(n)?new Zt(t):Jt.near(t)}}class Wt extends Jt{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=F.empty){if(t==F.empty){e.delete(0,e.doc.content.size);let t=Jt.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Wt(e)}map(e){return new Wt(e)}eq(e){return e instanceof Wt}getBookmark(){return Ft}}Jt.jsonID("all",Wt);const Ft={map(){return this},resolve:e=>new Wt(e)};function Vt(e,t,n,f,i,r=!1){if(t.inlineContent)return Ut.create(e,n);for(let o=f-(i>0?0:1);i>0?o<t.childCount:o>=0;o+=i){let f=t.child(o);if(f.isAtom){if(!r&&Zt.isSelectable(f))return Zt.create(e,n-(i<0?f.nodeSize:0))}else{let t=Vt(e,f,n+i,i<0?f.childCount:0,i,r);if(t)return t}n+=f.nodeSize*i}return null}function $t(e,t,n){let f=e.steps.length-1;if(f<t)return;let i,r=e.steps[f];(r instanceof st||r instanceof lt)&&(e.mapping.maps[f].forEach(((e,t,n,f)=>{null==i&&(i=f)})),e.setSelection(Jt.near(e.doc.resolve(i),n)))}class _t extends Pt{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=2,this}ensureMarks(e){return H.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(e,t){super.addStep(e,t),this.updated=-3&this.updated,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||H.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let f=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(f.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=n??t,!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,f.text(e,i)),this.selection.empty||this.setSelection(Jt.near(this.selection.$to)),this}}setMeta(e,t){return this.meta["string"==typeof e?e:e.key]=t,this}getMeta(e){return this.meta["string"==typeof e?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function Kt(e,t){return t&&e?e.bind(t):e}class Xt{constructor(e,t,n){this.name=e,this.init=Kt(t.init,n),this.apply=Kt(t.apply,n)}}const qt=[new Xt("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new Xt("selection",{init:(e,t)=>e.selection||Jt.atStart(t.doc),apply:e=>e.selection}),new Xt("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,f)=>f.selection.$cursor?e.storedMarks:null}),new Xt("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class en{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=qt.slice(),t&&t.forEach((e=>{if(this.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new Xt(e.key,e.spec.state,e))}))}}class tn{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),f=null;for(;;){let i=!1;for(let r=0;r<this.config.plugins.length;r++){let o=this.config.plugins[r];if(o.spec.appendTransaction){let a=f?f[r].n:0,s=f?f[r].state:this,l=a<t.length&&o.spec.appendTransaction.call(o,a?t.slice(a):t,s,n);if(l&&n.filterTransaction(l,r)){if(l.setMeta("appendedTransaction",e),!f){f=[];for(let e=0;e<this.config.plugins.length;e++)f.push(e<r?{state:n,n:t.length}:{state:this,n:0})}t.push(l),n=n.applyInner(l),i=!0}f&&(f[r]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new tn(this.config),n=this.config.fields;for(let f=0;f<n.length;f++){let i=n[f];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new _t(this)}static create(e){let t=new en(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new tn(t);for(let f=0;f<t.fields.length;f++)n[t.fields[f].name]=t.fields[f].init(e,n);return n}reconfigure(e){let t=new en(this.schema,e.plugins),n=t.fields,f=new tn(t);for(let t=0;t<n.length;t++){let i=n[t].name;f[i]=this.hasOwnProperty(i)?this[i]:n[t].init(e,f)}return f}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map((e=>e.toJSON()))),e&&"object"==typeof e)for(let n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");let f=e[n],i=f.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(f,this[f.key]))}return t}static fromJSON(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let f=new en(e.schema,e.plugins),i=new tn(f);return f.fields.forEach((f=>{if("doc"==f.name)i.doc=de.fromJSON(e.schema,t.doc);else if("selection"==f.name)i.selection=Jt.fromJSON(i.doc,t.selection);else if("storedMarks"==f.name)t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let o=n[r],a=o.spec.state;if(o.key==f.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(i[f.name]=a.fromJSON.call(o,e,t[r],i))}i[f.name]=f.init(e,i)}})),i}}function nn(e,t,n){for(let f in e){let i=e[f];i instanceof Function?i=i.bind(t):"handleDOMEvents"==f&&(i=nn(i,t,{})),n[f]=i}return n}class fn{constructor(e){this.spec=e,this.props={},e.props&&nn(e.props,this,this.props),this.key=e.key?e.key.key:on("plugin")}getState(e){return e[this.key]}}const rn=Object.create(null);function on(e){return e in rn?e+"$"+ ++rn[e]:(rn[e]=0,e+"$")}class an{constructor(e="key"){this.key=on(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const sn=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},ln=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let cn=null;const dn=function(e,t,n){let f=cn||(cn=document.createRange());return f.setEnd(e,n??e.nodeValue.length),f.setStart(e,t||0),f},un=function(e,t,n,f){return n&&(pn(e,t,n,f,-1)||pn(e,t,n,f,1))},hn=/^(img|br|input|textarea|hr)$/i;function pn(e,t,n,f,i){for(var r;;){if(e==n&&t==f)return!0;if(t==(i<0?0:mn(e))){let n=e.parentNode;if(!n||1!=n.nodeType||gn(e)||hn.test(e.nodeName)||"false"==e.contentEditable)return!1;t=sn(e)+(i<0?0:1),e=n}else{if(1!=e.nodeType)return!1;{let n=e.childNodes[t+(i<0?-1:0)];if(1==n.nodeType&&"false"==n.contentEditable){if(null===(r=n.pmViewDesc)||void 0===r||!r.ignoreForSelection)return!1;t+=i}else e=n,t=i<0?mn(e):0}}}}function mn(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function gn(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const wn=function(e){return e.focusNode&&un(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function Mn(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const bn=typeof navigator<"u"?navigator:null,yn=typeof document<"u"?document:null,Ln=bn&&bn.userAgent||"",Cn=/Edge\/(\d+)/.exec(Ln),vn=/MSIE \d/.exec(Ln),jn=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ln),kn=!!(vn||jn||Cn),In=vn?document.documentMode:jn?+jn[1]:Cn?+Cn[1]:0,xn=!kn&&/gecko\/(\d+)/i.test(Ln);xn&&(/Firefox\/(\d+)/.exec(Ln)||[0,0])[1];const Sn=!kn&&/Chrome\/(\d+)/.exec(Ln),Nn=!!Sn,Tn=Sn?+Sn[1]:0,Dn=!kn&&!!bn&&/Apple Computer/.test(bn.vendor),An=Dn&&(/Mobile\/\w+/.test(Ln)||!!bn&&bn.maxTouchPoints>2),En=An||!!bn&&/Mac/.test(bn.platform),zn=!!bn&&/Win/.test(bn.platform),On=/Android \d/.test(Ln),Pn=!!yn&&"webkitFontSmoothing"in yn.documentElement.style,Rn=Pn?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Jn(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Bn(e,t){return"number"==typeof e?e:e[t]}function Qn(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,f=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*f}}function Yn(e,t,n){let f=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,r=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(1!=o.nodeType){o=ln(o);continue}let e=o,n=e==r.body,a=n?Jn(r):Qn(e),s=0,l=0;if(t.top<a.top+Bn(f,"top")?l=-(a.top-t.top+Bn(i,"top")):t.bottom>a.bottom-Bn(f,"bottom")&&(l=t.bottom-t.top>a.bottom-a.top?t.top+Bn(i,"top")-a.top:t.bottom-a.bottom+Bn(i,"bottom")),t.left<a.left+Bn(f,"left")?s=-(a.left-t.left+Bn(i,"left")):t.right>a.right-Bn(f,"right")&&(s=t.right-a.right+Bn(i,"right")),s||l)if(n)r.defaultView.scrollBy(s,l);else{let n=e.scrollLeft,f=e.scrollTop;l&&(e.scrollTop+=l),s&&(e.scrollLeft+=s);let i=e.scrollLeft-n,r=e.scrollTop-f;t={left:t.left-i,top:t.top-r,right:t.right-i,bottom:t.bottom-r}}let c=n?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(c))break;o="absolute"==c?o.offsetParent:ln(o)}}function Un(e){let t=[],n=e.ownerDocument;for(let f=e;f&&(t.push({dom:f,top:f.scrollTop,left:f.scrollLeft}),e!=n);f=ln(f));return t}function Gn(e,t){for(let n=0;n<e.length;n++){let{dom:f,top:i,left:r}=e[n];f.scrollTop!=i+t&&(f.scrollTop=i+t),f.scrollLeft!=r&&(f.scrollLeft=r)}}let Zn=null;function Hn(e,t){let n,f,i,r,o=2e8,a=0,s=t.top,l=t.top;for(let c=e.firstChild,d=0;c;c=c.nextSibling,d++){let e;if(1==c.nodeType)e=c.getClientRects();else{if(3!=c.nodeType)continue;e=dn(c).getClientRects()}for(let u=0;u<e.length;u++){let h=e[u];if(h.top<=s&&h.bottom>=l){s=Math.max(h.bottom,s),l=Math.min(h.top,l);let e=h.left>t.left?h.left-t.left:h.right<t.left?t.left-h.right:0;if(e<o){n=c,o=e,f=e&&3==n.nodeType?{left:h.right<t.left?h.right:h.left,top:t.top}:t,1==c.nodeType&&e&&(a=d+(t.left>=(h.left+h.right)/2?1:0));continue}}else h.top>t.top&&!i&&h.left<=t.left&&h.right>=t.left&&(i=c,r={left:Math.max(h.left,Math.min(h.right,t.left)),top:h.top});!n&&(t.left>=h.right&&t.top>=h.top||t.left>=h.left&&t.top>=h.bottom)&&(a=d+1)}}return!n&&i&&(n=i,f=r,o=0),n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,f=document.createRange();for(let i=0;i<n;i++){f.setEnd(e,i+1),f.setStart(e,i);let n=_n(f,1);if(n.top!=n.bottom&&Wn(t,n))return{node:e,offset:i+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,f):!n||o&&1==n.nodeType?{node:e,offset:a}:Hn(n,f)}function Wn(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Fn(e,t,n){let f=e.childNodes.length;if(f&&n.top<n.bottom)for(let i=Math.max(0,Math.min(f-1,Math.floor(f*(t.top-n.top)/(n.bottom-n.top))-2)),r=i;;){let n=e.childNodes[r];if(1==n.nodeType){let e=n.getClientRects();for(let f=0;f<e.length;f++){let i=e[f];if(Wn(t,i))return Fn(n,t,i)}}if((r=(r+1)%f)==i)break}return e}function Vn(e,t){let n,f=e.dom.ownerDocument,i=0,r=function(e,t,n){if(e.caretPositionFromPoint)try{let f=e.caretPositionFromPoint(t,n);if(f)return{node:f.offsetNode,offset:Math.min(mn(f.offsetNode),f.offset)}}catch{}if(e.caretRangeFromPoint){let f=e.caretRangeFromPoint(t,n);if(f)return{node:f.startContainer,offset:Math.min(mn(f.startContainer),f.startOffset)}}}(f,t.left,t.top);r&&({node:n,offset:i}=r);let o,a=(e.root.elementFromPoint?e.root:f).elementFromPoint(t.left,t.top);if(!a||!e.dom.contains(1!=a.nodeType?a.parentNode:a)){let n=e.dom.getBoundingClientRect();if(!Wn(t,n)||(a=Fn(e.dom,t,n),!a))return null}if(Dn)for(let e=a;n&&e;e=ln(e))e.draggable&&(n=void 0);if(a=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(a,t),n){if(xn&&1==n.nodeType&&(i=Math.min(i,n.childNodes.length),i<n.childNodes.length)){let e,f=n.childNodes[i];"IMG"==f.nodeName&&(e=f.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&i++}let f;Pn&&i&&1==n.nodeType&&1==(f=n.childNodes[i-1]).nodeType&&"false"==f.contentEditable&&f.getBoundingClientRect().top>=t.top&&i--,n==e.dom&&i==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?o=e.state.doc.content.size:(0==i||1!=n.nodeType||"BR"!=n.childNodes[i-1].nodeName)&&(o=function(e,t,n,f){let i=-1;for(let n=t,r=!1;n!=e.dom;){let t,o=e.docView.nearestDesc(n,!0);if(!o)return null;if(1==o.dom.nodeType&&(o.node.isBlock&&o.parent||!o.contentDOM)&&((t=o.dom.getBoundingClientRect()).width||t.height)&&(o.node.isBlock&&o.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(o.dom.nodeName)&&(!r&&t.left>f.left||t.top>f.top?i=o.posBefore:(!r&&t.right<f.left||t.bottom<f.top)&&(i=o.posAfter),r=!0),!o.contentDOM&&i<0&&!o.node.isText))return(o.node.isBlock?f.top<(t.top+t.bottom)/2:f.left<(t.left+t.right)/2)?o.posBefore:o.posAfter;n=o.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}(e,n,i,t))}null==o&&(o=function(e,t,n){let{node:f,offset:i}=Hn(t,n),r=-1;if(1==f.nodeType&&!f.firstChild){let e=f.getBoundingClientRect();r=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(f,i,r)}(e,a,t));let s=e.docView.nearestDesc(a,!0);return{pos:o,inside:s?s.posAtStart-s.border:-1}}function $n(e){return e.top<e.bottom||e.left<e.right}function _n(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if($n(e))return e}return Array.prototype.find.call(n,$n)||e.getBoundingClientRect()}const Kn=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Xn(e,t,n){let{node:f,offset:i,atom:r}=e.docView.domFromPos(t,n<0?-1:1),o=Pn||xn;if(3==f.nodeType){if(!o||!Kn.test(f.nodeValue)&&(n<0?i:i!=f.nodeValue.length)){let e=i,t=i,r=n<0?1:-1;return n<0&&!i?(t++,r=-1):n>=0&&i==f.nodeValue.length?(e--,r=1):n<0?e--:t++,qn(_n(dn(f,e,t),r),r<0)}{let e=_n(dn(f,i,i),n);if(xn&&i&&/\s/.test(f.nodeValue[i-1])&&i<f.nodeValue.length){let t=_n(dn(f,i-1,i-1),-1);if(t.top==e.top){let n=_n(dn(f,i,i+1),-1);if(n.top!=e.top)return qn(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(r||0)).parent.inlineContent){if(null==r&&i&&(n<0||i==mn(f))){let e=f.childNodes[i-1];if(1==e.nodeType)return ef(e.getBoundingClientRect(),!1)}if(null==r&&i<mn(f)){let e=f.childNodes[i];if(1==e.nodeType)return ef(e.getBoundingClientRect(),!0)}return ef(f.getBoundingClientRect(),n>=0)}if(null==r&&i&&(n<0||i==mn(f))){let e=f.childNodes[i-1],t=3==e.nodeType?dn(e,mn(e)-(o?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return qn(_n(t,1),!1)}if(null==r&&i<mn(f)){let e=f.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?dn(e,0,o?0:1):1==e.nodeType?e:null:null;if(t)return qn(_n(t,-1),!0)}return qn(_n(3==f.nodeType?dn(f):f,-n),n>=0)}function qn(e,t){if(0==e.width)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function ef(e,t){if(0==e.height)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function tf(e,t,n){let f=e.state,i=e.root.activeElement;f!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{f!=t&&e.updateState(f),i!=e.dom&&i&&i.focus()}}const nf=/[\u0590-\u08ac]/;let ff=null,rf=null,of=!1;function af(e,t,n){return ff==t&&rf==n?of:(ff=t,rf=n,of="up"==n||"down"==n?function(e,t,n){let f=t.selection,i="up"==n?f.$from:f.$to;return tf(e,t,(()=>{let{node:t}=e.docView.domFromPos(i.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let f=Xn(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(1==e.nodeType)t=e.getClientRects();else{if(3!=e.nodeType)continue;t=dn(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&("up"==n?f.top-i.top>2*(i.bottom-f.top):i.bottom-f.bottom>2*(f.bottom-i.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:f}=t.selection;if(!f.parent.isTextblock)return!1;let i=f.parentOffset,r=!i,o=i==f.parent.content.size,a=e.domSelection();return a?nf.test(f.parent.textContent)&&a.modify?tf(e,t,(()=>{let{focusNode:t,focusOffset:i,anchorNode:r,anchorOffset:o}=e.domSelectionRange(),s=a.caretBidiLevel;a.modify("move",n,"character");let l=f.depth?e.docView.domAfterPos(f.before()):e.dom,{focusNode:c,focusOffset:d}=e.domSelectionRange(),u=c&&!l.contains(1==c.nodeType?c:c.parentNode)||t==c&&i==d;try{a.collapse(r,o),t&&(t!=r||i!=o)&&a.extend&&a.extend(t,i)}catch{}return null!=s&&(a.caretBidiLevel=s),u})):"left"==n||"backward"==n?r:o:f.pos==f.start()||f.pos==f.end()}(e,t,n))}class sf{constructor(e,t,n,f){this.parent=e,this.children=t,this.dom=n,this.contentDOM=f,this.dirty=0,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let f=this.children[t];if(f==e)return n;n+=f.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){let n,f;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(f=n.pmViewDesc)||f.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(f)+f.size:this.posAtStart}{let n,f;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(f=n.pmViewDesc)||f.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(f):this.posAtEnd}}let f;if(e==this.dom&&this.contentDOM)f=t>sn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))f=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){f=!1;break}if(t.previousSibling)break}if(null==f&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){f=!0;break}if(t.nextSibling)break}}return f??n>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,f=e;f;f=f.parentNode){let i,r=this.getDesc(f);if(r&&(!t||r.node)){if(!n||!(i=r.nodeDOM)||(1==i.nodeType?i.contains(1==e.nodeType?e:e.parentNode):i==e))return r;n=!1}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let f=e;f;f=f.parentNode){let i=this.getDesc(f);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let f=this.children[t],i=n+f.size;if(n==e&&i!=n){for(;!f.border&&f.children.length;)for(let e=0;e<f.children.length;e++){let t=f.children[e];if(t.size){f=t;break}}return f}if(e<i)return f.descAt(e-n-f.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,f=0;for(let t=0;n<this.children.length;n++){let i=this.children[n],r=t+i.size;if(r>e||i instanceof mf){f=e-t;break}t=r}if(f)return this.children[n].domFromPos(f-this.children[n].border,t);for(let e;n&&!(e=this.children[n-1]).size&&e instanceof lf&&e.side>=0;n--);if(t<=0){let e,f=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,f=!1);return e&&t&&f&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?sn(e.dom)+1:0}}{let e,f=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,f=!1);return e&&f&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?sn(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let f=-1,i=-1;for(let r=n,o=0;;o++){let n=this.children[o],a=r+n.size;if(-1==f&&e<=a){let i=r+n.border;if(e>=i&&t<=a-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=r;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){f=sn(n.dom)+1;break}e-=n.size}-1==f&&(f=0)}if(f>-1&&(a>t||o==this.children.length-1)){t=a;for(let e=o+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=sn(n.dom);break}t+=n.size}-1==i&&(i=this.contentDOM.childNodes.length);break}r=a}return{node:this.contentDOM,from:e,to:t,fromOffset:f,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(1!=t.nodeType||n==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[n]}setSelection(e,t,n,f=!1){let i=Math.min(e,t),r=Math.max(e,t);for(let o=0,a=0;o<this.children.length;o++){let s=this.children[o],l=a+s.size;if(i>a&&r<l)return s.setSelection(e-a-s.border,t-a-s.border,n,f);a=l}let o=this.domFromPos(e,e?-1:1),a=t==e?o:this.domFromPos(t,t?-1:1),s=n.root.getSelection(),l=n.domSelectionRange(),c=!1;if((xn||Dn)&&e==t){let{node:e,offset:t}=o;if(3==e.nodeType){if(c=!(!t||"\n"!=e.nodeValue[t-1]),c&&t==e.nodeValue.length)for(let t,n=e;n;n=n.parentNode){if(t=n.nextSibling){"BR"==t.nodeName&&(o=a={node:t.parentNode,offset:sn(t)+1});break}let e=n.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];c=n&&("BR"==n.nodeName||"false"==n.contentEditable)}}if(xn&&l.focusNode&&l.focusNode!=a.node&&1==l.focusNode.nodeType){let e=l.focusNode.childNodes[l.focusOffset];e&&"false"==e.contentEditable&&(f=!0)}if(!(f||c&&Dn)&&un(o.node,o.offset,l.anchorNode,l.anchorOffset)&&un(a.node,a.offset,l.focusNode,l.focusOffset))return;let d=!1;if((s.extend||e==t)&&!c){s.collapse(o.node,o.offset);try{e!=t&&s.extend(a.node,a.offset),d=!0}catch{}}if(!d){if(e>t){let e=o;o=a,a=e}let n=document.createRange();n.setEnd(a.node,a.offset),n.setStart(o.node,o.offset),s.removeAllRanges(),s.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&"selection"!=e.type}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,f=0;f<this.children.length;f++){let i=this.children[f],r=n+i.size;if(n==r?e<=r&&t>=n:e<r&&t>n){let f=n+i.border,o=r-i.border;if(e>=f&&t<=o)return this.dirty=e==n||t==r?2:1,void(e!=f||t!=o||!i.contentLost&&i.dom.parentNode==this.contentDOM?i.markDirty(e-f,t-f):i.dirty=3);i.dirty=i.dom!=i.contentDOM||i.dom.parentNode!=this.contentDOM||i.children.length?3:2}n=r}this.dirty=2}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?2:1;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}}class lf extends sf{constructor(e,t,n,f){let i,r=t.type.toDOM;if("function"==typeof r&&(r=r(n,(()=>i?i.parent?i.parent.posBeforeChild(i):void 0:f))),!t.type.spec.raw){if(1!=r.nodeType){let e=document.createElement("span");e.appendChild(r),r=e}r.contentEditable="false",r.classList.add("ProseMirror-widget")}super(e,[],r,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return 0==this.dirty&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return!!t&&t(e)}ignoreMutation(e){return"selection"!=e.type||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class cf extends sf{constructor(e,t,n,f){super(e,[],t,null),this.textDOM=n,this.text=f}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue}}class df extends sf{constructor(e,t,n,f,i){super(e,[],n,f),this.mark=t,this.spec=i}static create(e,t,n,f){let i=f.nodeViews[t.type.name],r=i&&i(t,f,n);return(!r||!r.dom)&&(r=Ue.renderSpec(document,t.type.spec.toDOM(t,n),null,t.attrs)),new df(e,t,r.dom,r.contentDOM||r.dom,r)}parseRule(){return 3&this.dirty||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return 3!=this.dirty&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),0!=this.dirty){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=0}}slice(e,t,n){let f=df.create(this.parent,this.mark,!0,n),i=this.children,r=this.size;t<r&&(i=Sf(i,t,r,n)),e>0&&(i=Sf(i,0,e,n));for(let e=0;e<i.length;e++)i[e].parent=f;return f.children=i,f}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class uf extends sf{constructor(e,t,n,f,i,r,o,a,s){super(e,[],i,r),this.node=t,this.outerDeco=n,this.innerDeco=f,this.nodeDOM=o}static create(e,t,n,f,i,r){let o,a=i.nodeViews[t.type.name],s=a&&a(t,i,(()=>o?o.parent?o.parent.posBeforeChild(o):void 0:r),n,f),l=s&&s.dom,c=s&&s.contentDOM;if(t.isText)if(l){if(3!=l.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else l=document.createTextNode(t.text);else l||({dom:l,contentDOM:c}=Ue.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs));!c&&!t.isText&&"BR"!=l.nodeName&&(l.hasAttribute("contenteditable")||(l.contentEditable="false"),t.type.spec.draggable&&(l.draggable=!0));let d=l;return l=vf(l,n,t),s?o=new gf(e,t,n,f,l,c||null,d,s,i,r+1):t.isText?new pf(e,t,n,f,l,d,i):new uf(e,t,n,f,l,c||null,d,i,r+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t];if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Y.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return 0==this.dirty&&e.eq(this.node)&&jf(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let n=this.node.inlineContent,f=t,i=e.composing?this.localCompositionInfo(e,t):null,r=i&&i.pos>-1?i:null,o=i&&i.pos<0,a=new If(this,r&&r.node,e);(function(e,t,n,f){let i=t.locals(e),r=0;if(0==i.length){for(let n=0;n<e.childCount;n++){let o=e.child(n);f(o,i,t.forChild(r,o),n),r+=o.nodeSize}return}let o=0,a=[],s=null;for(let l=0;;){let c,d,u,h;for(;o<i.length&&i[o].to==r;){let e=i[o++];e.widget&&(c?(d||(d=[c])).push(e):c=e)}if(c)if(d){d.sort(xf);for(let e=0;e<d.length;e++)n(d[e],l,!!s)}else n(c,l,!!s);if(s)h=-1,u=s,s=null;else{if(!(l<e.childCount))break;h=l,u=e.child(l++)}for(let e=0;e<a.length;e++)a[e].to<=r&&a.splice(e--,1);for(;o<i.length&&i[o].from<=r&&i[o].to>r;)a.push(i[o++]);let p=r+u.nodeSize;if(u.isText){let e=p;o<i.length&&i[o].from<e&&(e=i[o].from);for(let t=0;t<a.length;t++)a[t].to<e&&(e=a[t].to);e<p&&(s=u.cut(e-r),u=u.cut(0,e-r),p=e,h=-1)}else for(;o<i.length&&i[o].to<p;)o++;f(u,u.isInline&&!u.isLeaf?a.filter((e=>!e.inline)):a.slice(),t.forChild(r,u),h),r=p}})(this.node,this.innerDeco,((t,i,r)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!r&&a.syncToMarks(i==this.node.childCount?H.none:this.node.child(i).marks,n,e),a.placeWidget(t,e,f)}),((t,r,s,l)=>{let c;a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,r,s,l)||o&&e.state.selection.from>f&&e.state.selection.to<f+t.nodeSize&&(c=a.findIndexWithChild(i.node))>-1&&a.updateNodeAt(t,r,s,c,e)||a.updateNextNode(t,r,s,e,l,f)||a.addNode(t,r,s,e,f),f+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(r&&this.protectLocalComposition(e,r),wf(this.contentDOM,this.children,e),An&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:f}=e.state.selection;if(!(e.state.selection instanceof Ut)||n<t||f>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,r=function(e,t,n,f){for(let i=0,r=0;i<e.childCount&&r<=f;){let o=e.child(i++),a=r;if(r+=o.nodeSize,!o.isText)continue;let s=o.text;for(;i<e.childCount;){let t=e.child(i++);if(r+=t.nodeSize,!t.isText)break;s+=t.text}if(r>=n){if(r>=f&&s.slice(f-t.length-a,f-a)==t)return f-t.length;let e=a<f?s.lastIndexOf(t,f-a-1):-1;if(e>=0&&e+t.length+a>=n)return a+e;if(n==f&&s.length>=f+t.length-a&&s.slice(f-a,f-a+t.length)==t)return f}}return-1}(this.node.content,e,n-t,f-t);return r<0?null:{node:i,pos:r,text:e}}return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:f}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let r=new cf(this,i,t,f);e.input.compositionNodes.push(r),this.children=Sf(this.children,n,n+f.length,e,r)}update(e,t,n,f){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,f),!0)}updateInner(e,t,n,f){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(f,this.posAtStart),this.dirty=0}updateOuterDeco(e){if(jf(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=Lf(this.dom,this.nodeDOM,yf(this.outerDeco,this.node,t),yf(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function hf(e,t,n,f,i){vf(f,t,e);let r=new uf(void 0,e,t,n,f,f,f,i,0);return r.contentDOM&&r.updateChildren(i,0),r}class pf extends uf{constructor(e,t,n,f,i,r,o){super(e,t,n,f,i,null,r,o,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,f){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),(0!=this.dirty||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,f.trackWrites==this.nodeDOM&&(f.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let f=this.node.cut(e,t),i=document.createTextNode(f.text);return new pf(this.parent,f,this.outerDeco,this.innerDeco,i,i,n)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(0==e||t==this.nodeDOM.nodeValue.length)&&(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class mf extends sf{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class gf extends uf{constructor(e,t,n,f,i,r,o,a,s,l){super(e,t,n,f,i,r,o,s,l),this.spec=a}update(e,t,n,f){if(3==this.dirty)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,f),i}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,f)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,f){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,f)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function wf(e,t,n){let f=e.firstChild,i=!1;for(let r=0;r<t.length;r++){let o=t[r],a=o.dom;if(a.parentNode==e){for(;a!=f;)f=kf(f),i=!0;f=f.nextSibling}else i=!0,e.insertBefore(a,f);if(o instanceof df){let t=f?f.previousSibling:e.lastChild;wf(o.contentDOM,o.children,n),f=t?t.nextSibling:e.firstChild}}for(;f;)f=kf(f),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}const Mf=function(e){e&&(this.nodeName=e)};Mf.prototype=Object.create(null);const bf=[new Mf];function yf(e,t,n){if(0==e.length)return bf;let f=n?bf[0]:new Mf,i=[f];for(let r=0;r<e.length;r++){let o=e[r].type.attrs;if(o){o.nodeName&&i.push(f=new Mf(o.nodeName));for(let e in o){let r=o[e];null!=r&&(n&&1==i.length&&i.push(f=new Mf(t.isInline?"span":"div")),"class"==e?f.class=(f.class?f.class+" ":"")+r:"style"==e?f.style=(f.style?f.style+";":"")+r:"nodeName"!=e&&(f[e]=r))}}}return i}function Lf(e,t,n,f){if(n==bf&&f==bf)return t;let i=t;for(let t=0;t<f.length;t++){let r=f[t],o=n[t];if(t){let t;o&&o.nodeName==r.nodeName&&i!=e&&(t=i.parentNode)&&t.nodeName.toLowerCase()==r.nodeName||(t=document.createElement(r.nodeName),t.pmIsDeco=!0,t.appendChild(i),o=bf[0]),i=t}Cf(i,o||bf[0],r)}return i}function Cf(e,t,n){for(let f in t)"class"!=f&&"style"!=f&&"nodeName"!=f&&!(f in n)&&e.removeAttribute(f);for(let f in n)"class"!=f&&"style"!=f&&"nodeName"!=f&&n[f]!=t[f]&&e.setAttribute(f,n[f]);if(t.class!=n.class){let f=t.class?t.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<f.length;t++)-1==i.indexOf(f[t])&&e.classList.remove(f[t]);for(let t=0;t<i.length;t++)-1==f.indexOf(i[t])&&e.classList.add(i[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,f=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=f.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function vf(e,t,n){return Lf(e,e,bf,yf(t,n,1!=e.nodeType))}function jf(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function kf(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class If{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=function(e,t){let n=t,f=n.children.length,i=e.childCount,r=new Map,o=[];e:for(;i>0;){let a;for(;;)if(f){let e=n.children[f-1];if(!(e instanceof df)){a=e,f--;break}n=e,f=e.children.length}else{if(n==t)break e;f=n.parent.children.indexOf(n),n=n.parent}let s=a.node;if(s){if(s!=e.child(i-1))break;--i,r.set(a,i),o.push(a)}}return{index:i,matched:r,matches:o.reverse()}}(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n){let f=0,i=this.stack.length>>1,r=Math.min(i,e.length);for(;f<r&&(f==i-1?this.top:this.stack[f+1<<1]).matchesMark(e[f])&&!1!==e[f].type.spec.spanning;)f++;for(;f<i;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let f=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++){let n=this.top.children[t];if(n.matchesMark(e[i])&&!this.isLocked(n.dom)){f=t;break}}if(f>-1)f>this.index&&(this.changed=!0,this.destroyBetween(this.index,f)),this.top=this.top.children[this.index];else{let f=df.create(this.top,e[i],t,n);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,n,f){let i,r=-1;if(f>=this.preMatch.index&&(i=this.preMatch.matches[f-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,n))r=this.top.children.indexOf(i,this.index);else for(let f=this.index,i=Math.min(this.top.children.length,f+5);f<i;f++){let i=this.top.children[f];if(i.matchesNode(e,t,n)&&!this.preMatch.matched.has(i)){r=f;break}}return!(r<0)&&(this.destroyBetween(this.index,r),this.index++,!0)}updateNodeAt(e,t,n,f,i){let r=this.top.children[f];return 3==r.dirty&&r.dom==r.contentDOM&&(r.dirty=2),!!r.update(e,t,n,i)&&(this.destroyBetween(this.index,f),this.index++,!0)}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t)for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e;return-1}e=t}}updateNextNode(e,t,n,f,i,r){for(let o=this.index;o<this.top.children.length;o++){let a=this.top.children[o];if(a instanceof uf){let s=this.preMatch.matched.get(a);if(null!=s&&s!=i)return!1;let l,c=a.dom,d=this.isLocked(c)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&3!=a.dirty&&jf(t,a.outerDeco));if(!d&&a.update(e,t,n,f))return this.destroyBetween(this.index,o),a.dom!=c&&(this.changed=!0),this.index++,!0;if(!d&&(l=this.recreateWrapper(a,e,t,n,f,r)))return this.destroyBetween(this.index,o),this.top.children[this.index]=l,l.contentDOM&&(l.dirty=2,l.updateChildren(f,r+1),l.dirty=0),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,f,i,r){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!jf(n,e.outerDeco)||!f.eq(e.innerDeco))return null;let o=uf.create(this.top,t,n,f,i,r);if(o.contentDOM){o.children=e.children,e.children=[];for(let e of o.children)e.parent=o}return e.destroy(),o}addNode(e,t,n,f,i){let r=uf.create(this.top,e,t,n,f,i);r.contentDOM&&r.updateChildren(f,i+1),this.top.children.splice(this.index++,0,r),this.changed=!0}placeWidget(e,t,n){let f=this.index<this.top.children.length?this.top.children[this.index]:null;if(!f||!f.matchesWidget(e)||e!=f.widget&&f.widget.type.toDOM.parentNode){let f=new lf(this.top,e,t,n);this.top.children.splice(this.index++,0,f),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof df;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof pf)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Dn||Nn)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);"IMG"==e&&(n.className="ProseMirror-separator",n.alt=""),"BR"==e&&(n.className="ProseMirror-trailingBreak");let f=new mf(this.top,[],n,null);t!=this.top?t.children.push(f):t.children.splice(this.index++,0,f),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||1==e.nodeType&&e.contains(this.lock.parentNode))}}function xf(e,t){return e.type.side-t.type.side}function Sf(e,t,n,f,i){let r=[];for(let o=0,a=0;o<e.length;o++){let s=e[o],l=a,c=a+=s.size;l>=n||c<=t?r.push(s):(l<t&&r.push(s.slice(0,t-l,f)),i&&(r.push(i),i=void 0),c>n&&r.push(s.slice(n-l,s.size,f)))}return r}function Nf(e,t=null){let n=e.domSelectionRange(),f=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),r=i&&0==i.size,o=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let a,s,l=f.resolve(o);if(wn(n)){for(a=o;i&&!i.node;)i=i.parent;let e=i.node;if(i&&e.isAtom&&Zt.isSelectable(e)&&i.parent&&(!e.isInline||!function(e,t,n){for(let f=0==t,i=t==mn(e);f||i;){if(e==n)return!0;let t=sn(e);if(!(e=e.parentNode))return!1;f=f&&0==t,i=i&&t==mn(e)}}(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;s=new Zt(o==e?l:f.resolve(e))}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=o,i=o;for(let f=0;f<n.rangeCount;f++){let r=n.getRangeAt(f);t=Math.min(t,e.docView.posFromDOM(r.startContainer,r.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(r.endContainer,r.endOffset,-1))}if(t<0)return null;[a,o]=i==e.state.selection.anchor?[i,t]:[t,i],l=f.resolve(o)}else a=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(a<0)return null}let c=f.resolve(a);if(!s){s=Jf(e,c,l,"pointer"==t||e.state.selection.head<l.pos&&!r?1:-1)}return s}function Tf(e){return e.editable?e.hasFocus():Qf(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Df(e,t=!1){let n=e.state.selection;if(Pf(e,n),Tf(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&Nn){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&un(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset))return e.input.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection()}if(e.domObserver.disconnectSelection(),e.cursorWrapper)!function(e){let t=e.domSelection(),n=document.createRange();if(!t)return;let f=e.cursorWrapper.dom,i="IMG"==f.nodeName;i?n.setStart(f.parentNode,sn(f)+1):n.setStart(f,0),n.collapse(!0),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&kn&&In<=11&&(f.disabled=!0,f.disabled=!1)}(e);else{let f,i,{anchor:r,head:o}=n;Af&&!(n instanceof Ut)&&(n.$from.parent.inlineContent||(f=Ef(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(i=Ef(e,n.to))),e.docView.setSelection(r,o,e,t),Af&&(f&&Of(f),i&&Of(i)),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let n=e.domSelectionRange(),f=n.anchorNode,i=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{(n.anchorNode!=f||n.anchorOffset!=i)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{(!Tf(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Af=Dn||Nn&&Tn<63;function Ef(e,t){let{node:n,offset:f}=e.docView.domFromPos(t,0),i=f<n.childNodes.length?n.childNodes[f]:null,r=f?n.childNodes[f-1]:null;if(Dn&&i&&"false"==i.contentEditable)return zf(i);if(!(i&&"false"!=i.contentEditable||r&&"false"!=r.contentEditable)){if(i)return zf(i);if(r)return zf(r)}}function zf(e){return e.contentEditable="true",Dn&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Of(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function Pf(e,t){if(t instanceof Zt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Rf(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Rf(e)}function Rf(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function Jf(e,t,n,f){return e.someProp("createSelectionBetween",(f=>f(e,t,n)))||Ut.between(t,n,f)}function Bf(e){return!(e.editable&&!e.hasFocus())&&Qf(e)}function Qf(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function Yf(e,t){let{$anchor:n,$head:f}=e.selection,i=t>0?n.max(f):n.min(f),r=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return r&&Jt.findFrom(r,t)}function Uf(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Gf(e,t,n){let f=e.state.selection;if(!(f instanceof Ut)){if(f instanceof Zt&&f.node.isInline)return Uf(e,new Ut(t>0?f.$to:f.$from));{let n=Yf(e.state,t);return!!n&&Uf(e,n)}}if(n.indexOf("s")>-1){let{$head:n}=f,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let r=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return Uf(e,new Ut(f.$anchor,r))}if(!f.empty)return!1;if(e.endOfTextblock(t>0?"forward":"backward")){let n=Yf(e.state,t);return!!(n&&n instanceof Zt)&&Uf(e,n)}if(!(En&&n.indexOf("m")>-1)){let n,i=f.$head,r=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!r||r.isText)return!1;let o=t<0?i.pos-r.nodeSize:i.pos;return!!(r.isAtom||(n=e.docView.descAt(o))&&!n.contentDOM)&&(Zt.isSelectable(r)?Uf(e,new Zt(t<0?e.state.doc.resolve(i.pos-r.nodeSize):i)):!!Pn&&Uf(e,new Ut(e.state.doc.resolve(t<0?o:o+r.nodeSize))))}}function Zf(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Hf(e,t){let n=e.pmViewDesc;return n&&0==n.size&&(t<0||e.nextSibling||"BR"!=e.nodeName)}function Wf(e,t){return t<0?function(e){let t=e.domSelectionRange(),n=t.focusNode,f=t.focusOffset;if(!n)return;let i,r,o=!1;for(xn&&1==n.nodeType&&f<Zf(n)&&Hf(n.childNodes[f],-1)&&(o=!0);;)if(f>0){if(1!=n.nodeType)break;{let e=n.childNodes[f-1];if(Hf(e,-1))i=n,r=--f;else{if(3!=e.nodeType)break;n=e,f=n.nodeValue.length}}}else{if(Ff(n))break;{let t=n.previousSibling;for(;t&&Hf(t,-1);)i=n.parentNode,r=sn(t),t=t.previousSibling;if(t)n=t,f=Zf(n);else{if(n=n.parentNode,n==e.dom)break;f=0}}}o?Vf(e,n,f):i&&Vf(e,i,r)}(e):function(e){let t=e.domSelectionRange(),n=t.focusNode,f=t.focusOffset;if(!n)return;let i,r,o=Zf(n);for(;;)if(f<o){if(1!=n.nodeType)break;if(!Hf(n.childNodes[f],1))break;i=n,r=++f}else{if(Ff(n))break;{let t=n.nextSibling;for(;t&&Hf(t,1);)i=t.parentNode,r=sn(t)+1,t=t.nextSibling;if(t)n=t,f=0,o=Zf(n);else{if(n=n.parentNode,n==e.dom)break;f=o=0}}}i&&Vf(e,i,r)}(e)}function Ff(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Vf(e,t,n){if(3!=t.nodeType){let e,f;(f=function(e,t){for(;e&&t==e.childNodes.length&&!gn(e);)t=sn(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;e=n,t=0}}(t,n))?(t=f,n=0):(e=function(e,t){for(;e&&!t&&!gn(e);)t=sn(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(3==n.nodeType)return n;if(1==n.nodeType&&"false"==n.contentEditable)break;t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let f=e.domSelection();if(!f)return;if(wn(f)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),f.removeAllRanges(),f.addRange(e)}else f.extend&&f.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout((()=>{e.state==i&&Df(e)}),50)}function $f(e,t){let n=e.state.doc.resolve(t);if(!Nn&&!zn&&n.parent.inlineContent){let f=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>f.top&&i<f.bottom&&Math.abs(n.left-f.left)>1)return n.left<f.left?"ltr":"rtl"}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>f.top&&i<f.bottom&&Math.abs(n.left-f.left)>1)return n.left>f.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(e.dom).direction?"rtl":"ltr"}function _f(e,t,n){let f=e.state.selection;if(f instanceof Ut&&!f.empty||n.indexOf("s")>-1||En&&n.indexOf("m")>-1)return!1;let{$from:i,$to:r}=f;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Yf(e.state,t);if(n&&n instanceof Zt)return Uf(e,n)}if(!i.parent.inlineContent){let n=t<0?i:r,o=f instanceof Wt?Jt.near(n,t):Jt.findFrom(n,t);return!!o&&Uf(e,o)}return!1}function Kf(e,t){if(!(e.state.selection instanceof Ut))return!0;let{$head:n,$anchor:f,empty:i}=e.state.selection;if(!n.sameParent(f))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let r=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(r&&!r.isText){let f=e.state.tr;return t<0?f.delete(n.pos-r.nodeSize,n.pos):f.delete(n.pos,n.pos+r.nodeSize),e.dispatch(f),!0}return!1}function Xf(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function qf(e,t){let n=t.keyCode,f=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);if(8==n||En&&72==n&&"c"==f)return Kf(e,-1)||Wf(e,-1);if(46==n&&!t.shiftKey||En&&68==n&&"c"==f)return Kf(e,1)||Wf(e,1);if(13==n||27==n)return!0;if(37==n||En&&66==n&&"c"==f){let t=37==n?"ltr"==$f(e,e.state.selection.from)?-1:1:-1;return Gf(e,t,f)||Wf(e,t)}if(39==n||En&&70==n&&"c"==f){let t=39==n?"ltr"==$f(e,e.state.selection.from)?1:-1:1;return Gf(e,t,f)||Wf(e,t)}return 38==n||En&&80==n&&"c"==f?_f(e,-1,f)||Wf(e,-1):40==n||En&&78==n&&"c"==f?function(e){if(!Dn||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;Xf(e,n,"true"),setTimeout((()=>Xf(e,n,"false")),20)}return!1}(e)||_f(e,1,f)||Wf(e,1):f==(En?"m":"c")&&(66==n||73==n||89==n||90==n)}function ei(e,t){e.someProp("transformCopied",(n=>{t=n(t,e)}));let n=[],{content:f,openStart:i,openEnd:r}=t;for(;i>1&&r>1&&1==f.childCount&&1==f.firstChild.childCount;){i--,r--;let e=f.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),f=e.content}let o=e.someProp("clipboardSerializer")||Ue.fromSchema(e.state.schema),a=ci(),s=a.createElement("div");s.appendChild(o.serializeFragment(f,{document:a}));let l,c=s.firstChild,d=0;for(;c&&1==c.nodeType&&(l=si[c.nodeName.toLowerCase()]);){for(let e=l.length-1;e>=0;e--){let t=a.createElement(l[e]);for(;s.firstChild;)t.appendChild(s.firstChild);s.appendChild(t),d++}c=s.firstChild}return c&&1==c.nodeType&&c.setAttribute("data-pm-slice",`${i} ${r}${d?` -${d}`:""} ${JSON.stringify(n)}`),{dom:s,text:e.someProp("clipboardTextSerializer",(n=>n(t,e)))||t.content.textBetween(0,t.content.size,"\n\n"),slice:t}}function ti(e,t,n,f,i){let r,o,a=i.parent.type.spec.code;if(!n&&!t)return null;let s=t&&(f||a||!n);if(s){if(e.someProp("transformPastedText",(n=>{t=n(t,a||f,e)})),a)return t?new F(Y.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):F.empty;let n=e.someProp("clipboardTextParser",(n=>n(t,i,f,e)));if(n)o=n;else{let n=i.marks(),{schema:f}=e.state,o=Ue.fromSchema(f);r=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=r.appendChild(document.createElement("p"));e&&t.appendChild(o.serializeNode(f.text(e,n)))}))}}else e.someProp("transformPastedHTML",(t=>{n=t(n,e)})),r=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,f=ci().createElement("div"),i=/<([a-z][^>\s]+)/i.exec(e);if((n=i&&si[i[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join("")),f.innerHTML=function(e){let t=window.trustedTypes;return t?(di||(di=t.defaultPolicy||t.createPolicy("ProseMirrorClipboard",{createHTML:e=>e})),di.createHTML(e)):e}(e),n)for(let e=0;e<n.length;e++)f=f.querySelector(n[e])||f;return f}(n),Pn&&function(e){let t=e.querySelectorAll(Nn?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let f=t[n];1==f.childNodes.length&&" "==f.textContent&&f.parentNode&&f.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),f)}}(r);let l=r&&r.querySelector("[data-pm-slice]"),c=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(c&&c[3])for(let e=+c[3];e>0;e--){let e=r.firstChild;for(;e&&1!=e.nodeType;)e=e.nextSibling;if(!e)break;r=e}if(o||(o=(e.someProp("clipboardParser")||e.someProp("domParser")||Ae.fromSchema(e.state.schema)).parseSlice(r,{preserveWhitespace:!(!s&&!c),context:i,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||ni.test(e.parentNode.nodeName)?null:{ignore:!0}})),c)o=function(e,t){if(!e.size)return e;let n,f=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch{return e}let{content:i,openStart:r,openEnd:o}=e;for(let e=n.length-2;e>=0;e-=2){let t=f.nodes[n[e]];if(!t||t.hasRequiredAttrs())break;i=Y.from(t.create(n[e+1],i)),r++,o++}return new F(i,r,o)}(ai(o,+c[1],+c[2]),c[4]);else if(o=F.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let f,i=t.node(n).contentMatchAt(t.index(n)),r=[];if(e.forEach((e=>{if(!r)return;let t,n=i.findWrapping(e.type);if(!n)return r=null;if(t=r.length&&f.length&&ii(n,f,e,r[r.length-1],0))r[r.length-1]=t;else{r.length&&(r[r.length-1]=ri(r[r.length-1],f.length));let t=fi(e,n);r.push(t),i=i.matchType(t.type),f=n}})),r)return Y.from(r)}return e}(o.content,i),!0),o.openStart||o.openEnd){let e=0,t=0;for(let t=o.content.firstChild;e<o.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=o.content.lastChild;t<o.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);o=ai(o,e,t)}return e.someProp("transformPasted",(t=>{o=t(o,e)})),o}const ni=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function fi(e,t,n=0){for(let f=t.length-1;f>=n;f--)e=t[f].create(null,Y.from(e));return e}function ii(e,t,n,f,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let r=ii(e,t,n,f.lastChild,i+1);if(r)return f.copy(f.content.replaceChild(f.childCount-1,r));if(f.contentMatchAt(f.childCount).matchType(i==e.length-1?n.type:e[i+1]))return f.copy(f.content.append(Y.from(fi(n,e,i+1))))}}function ri(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,ri(e.lastChild,t-1)),f=e.contentMatchAt(e.childCount).fillBefore(Y.empty,!0);return e.copy(n.append(f))}function oi(e,t,n,f,i,r){let o=t<0?e.firstChild:e.lastChild,a=o.content;return e.childCount>1&&(r=0),i<f-1&&(a=oi(a,t,n,f,i+1,r)),i>=n&&(a=t<0?o.contentMatchAt(0).fillBefore(a,r<=i).append(a):a.append(o.contentMatchAt(o.childCount).fillBefore(Y.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,o.copy(a))}function ai(e,t,n){return t<e.openStart&&(e=new F(oi(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new F(oi(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const si={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let li=null;function ci(){return li||(li=document.implementation.createHTMLDocument("title"))}let di=null;const ui={},hi={},pi={touchstart:!0,touchmove:!0};class mi{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function gi(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function wi(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>Mi(e,t))}))}function Mi(e,t){return e.someProp("handleDOMEvents",(n=>{let f=n[t.type];return!!f&&(f(e,t)||t.defaultPrevented)}))}function bi(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function yi(e){return{left:e.clientX,top:e.clientY}}function Li(e,t,n,f,i){if(-1==f)return!1;let r=e.state.doc.resolve(f);for(let f=r.depth+1;f>0;f--)if(e.someProp(t,(t=>f>r.depth?t(e,n,r.nodeAfter,r.before(f),i,!0):t(e,n,r.node(f),r.before(f),i,!1))))return!0;return!1}function Ci(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let f=e.state.tr.setSelection(t);"pointer"==n&&f.setMeta("pointer",!0),e.dispatch(f)}function vi(e,t,n,f,i){return Li(e,"handleClickOn",t,n,f)||e.someProp("handleClick",(n=>n(e,t,f)))||(i?function(e,t){if(-1==t)return!1;let n,f,i=e.state.selection;i instanceof Zt&&(n=i.node);let r=e.state.doc.resolve(t);for(let e=r.depth+1;e>0;e--){let t=e>r.depth?r.nodeAfter:r.node(e);if(Zt.isSelectable(t)){f=n&&i.$from.depth>0&&e>=i.$from.depth&&r.before(i.$from.depth+1)==i.$from.pos?r.before(i.$from.depth):r.before(e);break}}return null!=f&&(Ci(e,Zt.create(e.state.doc,f),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),f=n.nodeAfter;return!!(f&&f.isAtom&&Zt.isSelectable(f))&&(Ci(e,new Zt(n),"pointer"),!0)}(e,n))}function ji(e,t,n,f){return Li(e,"handleDoubleClickOn",t,n,f)||e.someProp("handleDoubleClick",(n=>n(e,t,f)))}function ki(e,t,n,f){return Li(e,"handleTripleClickOn",t,n,f)||e.someProp("handleTripleClick",(n=>n(e,t,f)))||function(e,t,n){if(0!=n.button)return!1;let f=e.state.doc;if(-1==t)return!!f.inlineContent&&(Ci(e,Ut.create(f,0,f.content.size),"pointer"),!0);let i=f.resolve(t);for(let t=i.depth+1;t>0;t--){let n=t>i.depth?i.nodeAfter:i.node(t),r=i.before(t);if(n.inlineContent)Ci(e,Ut.create(f,r+1,r+1+n.content.size),"pointer");else{if(!Zt.isSelectable(n))continue;Ci(e,Zt.create(f,r),"pointer")}return!0}}(e,n,f)}function Ii(e){return zi(e)}hi.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!Ni(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!On||!Nn||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!An||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||qf(e,n)?n.preventDefault():gi(e,"key");else{let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{e.input.lastIOSEnter==t&&(e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},hi.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},hi.keypress=(e,t)=>{let n=t;if(Ni(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||En&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let f=e.state.selection;if(!(f instanceof Ut&&f.$from.sameParent(f.$to))){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();!/[\r\n]/.test(t)&&!e.someProp("handleTextInput",(n=>n(e,f.$from.pos,f.$to.pos,t,i)))&&e.dispatch(i()),n.preventDefault()}};const xi=En?"metaKey":"ctrlKey";ui.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let f=Ii(e),i=Date.now(),r="singleClick";i-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,f=t.y-e.clientY;return n*n+f*f<100}(n,e.input.lastClick)&&!n[xi]&&e.input.lastClick.button==n.button&&("singleClick"==e.input.lastClick.type?r="doubleClick":"doubleClick"==e.input.lastClick.type&&(r="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:r,button:n.button};let o=e.posAtCoords(yi(n));o&&("singleClick"==r?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Si(e,o,n,!!f)):("doubleClick"==r?ji:ki)(e,o.pos,o.inside,n)?n.preventDefault():gi(e,"pointer"))};class Si{constructor(e,t,n,f){let i,r;if(this.view=e,this.pos=t,this.event=n,this.flushed=f,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[xi],this.allowDefault=n.shiftKey,t.inside>-1)i=e.state.doc.nodeAt(t.inside),r=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,r=n.depth?n.before():0}const o=f?null:n.target,a=o?e.docView.nearestDesc(o,!0):null;this.target=a&&1==a.dom.nodeType?a.dom:null;let{selection:s}=e.state;(0==n.button&&i.type.spec.draggable&&!1!==i.type.spec.selectable||s instanceof Zt&&s.from<=r&&s.to>r)&&(this.mightDrag={node:i,pos:r,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!xn||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),gi(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>Df(this.view))),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(yi(e))),this.updateAllowDefault(e),this.allowDefault||!t?gi(this.view,"pointer"):vi(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||Dn&&this.mightDrag&&!this.mightDrag.node.isAtom||Nn&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Ci(this.view,Jt.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):gi(this.view,"pointer")}move(e){this.updateAllowDefault(e),gi(this.view,"pointer"),0==e.buttons&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}function Ni(e,t){return!!e.composing||!!(Dn&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}ui.touchstart=e=>{e.input.lastTouch=Date.now(),Ii(e),gi(e,"pointer")},ui.touchmove=e=>{e.input.lastTouch=Date.now(),gi(e,"pointer")},ui.contextmenu=e=>Ii(e);const Ti=On?5e3:-1;function Di(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>zi(e)),t))}function Ai(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=function(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Ei(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e;if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null;t=mn(e=e.childNodes[t-1])}else{if(!e.parentNode||gn(e))return null;t=sn(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),f=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e;if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null;e=e.childNodes[t],t=0}else{if(!e.parentNode||gn(e))return null;t=sn(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset);if(n&&f&&n!=f){let t=f.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||f==i)return i;if(!t||!t.isText(f.nodeValue))return f;if(e.input.compositionNode==f){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return f}}return n||f}function zi(e,t=!1){if(!(On&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Ai(e),t||e.docView&&e.docView.dirty){let n=Nf(e),f=e.state.selection;return n&&!n.eq(f)?e.dispatch(e.state.tr.setSelection(n)):!e.markCursor&&!t||f.$from.node(f.$from.sharedDepth(f.to)).inlineContent?e.updateState(e.state):e.dispatch(e.state.tr.deleteSelection()),!0}return!1}}hi.compositionstart=hi.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof Ut&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),zi(e,!0),e.markCursor=null;else if(zi(e,!t.selection.empty),xn&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,f=t.focusOffset;n&&1==n.nodeType&&0!=f;){let t=f<0?n.lastChild:n.childNodes[f-1];if(!t)break;if(3==t.nodeType){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,f=-1}}e.input.composing=!0}Di(e,Ti)},hi.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then((()=>e.domObserver.flush())),e.input.compositionID++,Di(e,20))};const Oi=kn&&In<15||An&&Rn<604;function Pi(e,t,n,f,i){let r=ti(e,t,n,f,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,i,r||F.empty))))return!0;if(!r)return!1;let o=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(r),a=o?e.state.tr.replaceSelectionWith(o,f):e.state.tr.replaceSelection(r);return e.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Ri(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}ui.copy=hi.cut=(e,t)=>{let n=t,f=e.state.selection,i="cut"==n.type;if(f.empty)return;let r=Oi?null:n.clipboardData,o=f.content(),{dom:a,text:s}=ei(e,o);r?(n.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",s)):function(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let f=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),f.removeAllRanges(),f.addRange(i),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,a),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},hi.paste=(e,t)=>{let n=t;if(e.composing&&!On)return;let f=Oi?null:n.clipboardData,i=e.input.shiftKey&&45!=e.input.lastKeyCode;f&&Pi(e,Ri(f),f.getData("text/html"),i,n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,f=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(f.contentEditable="true"),f.style.cssText="position: fixed; left: -10000px; top: 10px",f.focus();let i=e.input.shiftKey&&45!=e.input.lastKeyCode;setTimeout((()=>{e.focus(),f.parentNode&&f.parentNode.removeChild(f),n?Pi(e,f.value,null,i,t):Pi(e,f.textContent,f.innerHTML,i,t)}),50)}(e,n)};class Ji{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}}const Bi=En?"altKey":"ctrlKey";function Qi(e,t){return e.someProp("dragCopies",(e=>!e(t)))??!t[Bi]}ui.dragstart=(e,t)=>{let n=t,f=e.input.mouseDown;if(f&&f.done(),!n.dataTransfer)return;let i,r=e.state.selection,o=r.empty?null:e.posAtCoords(yi(n));if(!(o&&o.pos>=r.from&&o.pos<=(r instanceof Zt?r.to-1:r.to)))if(f&&f.mightDrag)i=Zt.create(e.state.doc,f.mightDrag.pos);else if(n.target&&1==n.target.nodeType){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(i=Zt.create(e.state.doc,t.posBefore))}let a=(i||e.state.selection).content(),{dom:s,text:l,slice:c}=ei(e,a);(!n.dataTransfer.files.length||!Nn||Tn>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Oi?"Text":"text/html",s.innerHTML),n.dataTransfer.effectAllowed="copyMove",Oi||n.dataTransfer.setData("text/plain",l),e.dragging=new Ji(c,Qi(e,n),i)},ui.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},hi.dragover=hi.dragenter=(e,t)=>t.preventDefault(),hi.drop=(e,t)=>{let n=t,f=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let i=e.posAtCoords(yi(n));if(!i)return;let r=e.state.doc.resolve(i.pos),o=f&&f.slice;o?e.someProp("transformPasted",(t=>{o=t(o,e)})):o=ti(e,Ri(n.dataTransfer),Oi?null:n.dataTransfer.getData("text/html"),!1,r);let a=!(!f||!Qi(e,n));if(e.someProp("handleDrop",(t=>t(e,n,o||F.empty,a))))return void n.preventDefault();if(!o)return;n.preventDefault();let s=o?function(e,t,n){let f=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let e=0;e<n.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(0==n.openStart&&n.size?2:1);e++)for(let t=f.depth;t>=0;t--){let n=t==f.depth?0:f.pos<=(f.start(t+1)+f.end(t+1))/2?-1:1,r=f.index(t)+(n>0?1:0),o=f.node(t),a=!1;if(1==e)a=o.canReplace(r,r,i);else{let e=o.contentMatchAt(r).findWrapping(i.firstChild.type);a=e&&o.canReplaceWith(r,r,e[0])}if(a)return 0==n?f.pos:n<0?f.before(t+1):f.after(t+1)}return null}(e.state.doc,r.pos,o):r.pos;null==s&&(s=r.pos);let l=e.state.tr;if(a){let{node:e}=f;e?e.replace(l):l.deleteSelection()}let c=l.mapping.map(s),d=0==o.openStart&&0==o.openEnd&&1==o.content.childCount,u=l.doc;if(d?l.replaceRangeWith(c,c,o.content.firstChild):l.replaceRange(c,c,o),l.doc.eq(u))return;let h=l.doc.resolve(c);if(d&&Zt.isSelectable(o.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(o.content.firstChild))l.setSelection(new Zt(h));else{let t=l.mapping.map(s);l.mapping.maps[l.mapping.maps.length-1].forEach(((e,n,f,i)=>t=i)),l.setSelection(Jf(e,h,l.doc.resolve(t)))}e.focus(),e.dispatch(l.setMeta("uiEvent","drop"))},ui.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout((()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Df(e)}),20))},ui.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)},ui.beforeinput=(e,t)=>{if(Nn&&On&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,Mn(8,"Backspace"))))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())}),50)}};for(let e in hi)ui[e]=hi[e];function Yi(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Ui{constructor(e,t){this.toDOM=e,this.spec=t||Fi,this.side=this.spec.side||0}map(e,t,n,f){let{pos:i,deleted:r}=e.mapResult(t.from+f,this.side<0?-1:1);return r?null:new Hi(i-n,i-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Ui&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Yi(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Gi{constructor(e,t){this.attrs=e,this.spec=t||Fi}map(e,t,n,f){let i=e.map(t.from+f,this.spec.inclusiveStart?-1:1)-n,r=e.map(t.to+f,this.spec.inclusiveEnd?1:-1)-n;return i>=r?null:new Hi(i,r,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Gi&&Yi(this.attrs,e.attrs)&&Yi(this.spec,e.spec)}static is(e){return e.type instanceof Gi}destroy(){}}class Zi{constructor(e,t){this.attrs=e,this.spec=t||Fi}map(e,t,n,f){let i=e.mapResult(t.from+f,1);if(i.deleted)return null;let r=e.mapResult(t.to+f,-1);return r.deleted||r.pos<=i.pos?null:new Hi(i.pos-n,r.pos-n,this)}valid(e,t){let n,{index:f,offset:i}=e.content.findIndex(t.from);return i==t.from&&!(n=e.child(f)).isText&&i+n.nodeSize==t.to}eq(e){return this==e||e instanceof Zi&&Yi(this.attrs,e.attrs)&&Yi(this.spec,e.spec)}destroy(){}}class Hi{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Hi(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(e,t,n){return new Hi(e,e,new Ui(t,n))}static inline(e,t,n,f){return new Hi(e,t,new Gi(n,f))}static node(e,t,n,f){return new Hi(e,t,new Zi(n,f))}get spec(){return this.type.spec}get inline(){return this.type instanceof Gi}get widget(){return this.type instanceof Ui}}const Wi=[],Fi={};class Vi{constructor(e,t){this.local=e.length?e:Wi,this.children=t.length?t:Wi}static create(e,t){return t.length?er(t,e,0,Fi):$i}find(e,t,n){let f=[];return this.findInner(e??0,t??1e9,f,0,n),f}findInner(e,t,n,f,i){for(let r=0;r<this.local.length;r++){let o=this.local[r];o.from<=t&&o.to>=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+f,o.to+f))}for(let r=0;r<this.children.length;r+=3)if(this.children[r]<t&&this.children[r+1]>e){let o=this.children[r]+1;this.children[r+2].findInner(e-o,t-o,n,f+o,i)}}map(e,t,n){return this==$i||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Fi)}mapInner(e,t,n,f,i){let r;for(let o=0;o<this.local.length;o++){let a=this.local[o].map(e,n,f);a&&a.type.valid(t,a)?(r||(r=[])).push(a):i.onRemove&&i.onRemove(this.local[o].spec)}return this.children.length?function(e,t,n,f,i,r,o){let a=e.slice();for(let e=0,t=r;e<n.maps.length;e++){let f=0;n.maps[e].forEach(((e,n,i,r)=>{let o=r-i-(n-e);for(let i=0;i<a.length;i+=3){let r=a[i+1];if(r<0||e>r+t-f)continue;let s=a[i]+t-f;n>=s?a[i+1]=e<=s?-2:-1:e>=t&&o&&(a[i]+=o,a[i+1]+=o)}f+=o})),t=n.maps[e].map(t,-1)}let s=!1;for(let t=0;t<a.length;t+=3)if(a[t+1]<0){if(-2==a[t+1]){s=!0,a[t+1]=-1;continue}let l=n.map(e[t]+r),c=l-i;if(c<0||c>=f.content.size){s=!0;continue}let d=n.map(e[t+1]+r,-1)-i,{index:u,offset:h}=f.content.findIndex(c),p=f.maybeChild(u);if(p&&h==c&&h+p.nodeSize==d){let f=a[t+2].mapInner(n,p,l+1,e[t]+r+1,o);f!=$i?(a[t]=c,a[t+1]=d,a[t+2]=f):(a[t+1]=-2,s=!0)}else s=!0}if(s){let s=function(e,t,n,f,i,r,o){function a(e,t){for(let r=0;r<e.local.length;r++){let a=e.local[r].map(f,i,t);a?n.push(a):o.onRemove&&o.onRemove(e.local[r].spec)}for(let n=0;n<e.children.length;n+=3)a(e.children[n+2],e.children[n]+t+1)}for(let n=0;n<e.length;n+=3)-1==e[n+1]&&a(e[n+2],t[n]+r+1);return n}(a,e,t,n,i,r,o),l=er(s,f,0,o);t=l.local;for(let e=0;e<a.length;e+=3)a[e+1]<0&&(a.splice(e,3),e-=3);for(let e=0,t=0;e<l.children.length;e+=3){let n=l.children[e];for(;t<a.length&&a[t]<n;)t+=3;a.splice(t,0,l.children[e],l.children[e+1],l.children[e+2])}}return new Vi(t.sort(tr),a)}(this.children,r||[],e,t,n,f,i):r?new Vi(r.sort(tr),Wi):$i}add(e,t){return t.length?this==$i?Vi.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let f,i=0;e.forEach(((e,r)=>{let o,a=r+n;if(o=Xi(t,e,a)){for(f||(f=this.children.slice());i<f.length&&f[i]<r;)i+=3;f[i]==r?f[i+2]=f[i+2].addInner(e,o,a+1):f.splice(i,0,r,r+e.nodeSize,er(o,e,a+1,Fi)),i+=3}}));let r=Ki(i?qi(t):t,-n);for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||r.splice(t--,1);return new Vi(r.length?this.local.concat(r).sort(tr):this.local,f||this.children)}remove(e){return 0==e.length||this==$i?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,f=this.local;for(let f=0;f<n.length;f+=3){let i,r=n[f]+t,o=n[f+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>r&&t.to<o&&(e[n]=null,(i||(i=[])).push(t));if(!i)continue;n==this.children&&(n=this.children.slice());let a=n[f+2].removeInner(i,r+1);a!=$i?n[f+2]=a:(n.splice(f,3),f-=3)}if(f.length)for(let n,i=0;i<e.length;i++)if(n=e[i])for(let e=0;e<f.length;e++)f[e].eq(n,t)&&(f==this.local&&(f=this.local.slice()),f.splice(e--,1));return n==this.children&&f==this.local?this:f.length||n.length?new Vi(f,n):$i}forChild(e,t){if(this==$i)return this;if(t.isLeaf)return Vi.empty;let n,f;for(let t=0;t<this.children.length;t+=3)if(this.children[t]>=e){this.children[t]==e&&(n=this.children[t+2]);break}let i=e+1,r=i+t.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<r&&t.to>i&&t.type instanceof Gi){let e=Math.max(i,t.from)-i,n=Math.min(r,t.to)-i;e<n&&(f||(f=[])).push(t.copy(e,n))}}if(f){let e=new Vi(f.sort(tr),Wi);return n?new _i([e,n]):e}return n||$i}eq(e){if(this==e)return!0;if(!(e instanceof Vi)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return nr(this.localsInner(e))}localsInner(e){if(this==$i)return Wi;if(e.inlineContent||!this.local.some(Gi.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof Gi||t.push(this.local[e]);return t}forEachSet(e){e(this)}}Vi.empty=new Vi([],[]),Vi.removeOverlap=nr;const $i=Vi.empty;class _i{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,Fi)));return _i.from(n)}forChild(e,t){if(t.isLeaf)return Vi.empty;let n=[];for(let f=0;f<this.members.length;f++){let i=this.members[f].forChild(e,t);i!=$i&&(i instanceof _i?n=n.concat(i.members):n.push(i))}return _i.from(n)}eq(e){if(!(e instanceof _i)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,n=!0;for(let f=0;f<this.members.length;f++){let i=this.members[f].localsInner(e);if(i.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<i.length;e++)t.push(i[e])}else t=i}return t?nr(n?t:t.sort(tr)):Wi}static from(e){switch(e.length){case 0:return $i;case 1:return e[0];default:return new _i(e.every((e=>e instanceof Vi))?e:e.reduce(((e,t)=>e.concat(t instanceof Vi?t:t.members)),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}}function Ki(e,t){if(!t||!e.length)return e;let n=[];for(let f=0;f<e.length;f++){let i=e[f];n.push(new Hi(i.from+t,i.to+t,i.type))}return n}function Xi(e,t,n){if(t.isLeaf)return null;let f=n+t.nodeSize,i=null;for(let t,r=0;r<e.length;r++)(t=e[r])&&t.from>n&&t.to<f&&((i||(i=[])).push(t),e[r]=null);return i}function qi(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function er(e,t,n,f){let i=[],r=!1;t.forEach(((t,o)=>{let a=Xi(e,t,o+n);if(a){r=!0;let e=er(a,t,n+o+1,f);e!=$i&&i.push(o,o+t.nodeSize,e)}}));let o=Ki(r?qi(e):e,-n).sort(tr);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||(f.onRemove&&f.onRemove(o[e].spec),o.splice(e--,1));return o.length||i.length?new Vi(o,i):$i}function tr(e,t){return e.from-t.from||e.to-t.to}function nr(e){let t=e;for(let n=0;n<t.length-1;n++){let f=t[n];if(f.from!=f.to)for(let i=n+1;i<t.length;i++){let r=t[i];if(r.from!=f.from){r.from<f.to&&(t==e&&(t=e.slice()),t[n]=f.copy(f.from,r.from),fr(t,i,f.copy(r.from,f.to)));break}r.to!=f.to&&(t==e&&(t=e.slice()),t[i]=r.copy(r.from,f.to),fr(t,i+1,r.copy(f.to,r.to)))}}return t}function fr(e,t,n){for(;t<e.length&&tr(n,e[t])>0;)t++;e.splice(t,0,n)}function ir(e){let t=[];return e.someProp("decorations",(n=>{let f=n(e.state);f&&f!=$i&&t.push(f)})),e.cursorWrapper&&t.push(Vi.create(e.state.doc,[e.cursorWrapper.deco])),_i.from(t)}const rr={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},or=kn&&In<=11;class ar{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class sr{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new ar,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);kn&&In<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),or&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,rr)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout((()=>this.flush()),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout((()=>this.suppressingSelectionUpdates=!1),50)}onSelectionChange(){if(Bf(this.view)){if(this.suppressingSelectionUpdates)return Df(this.view);if(kn&&In<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&un(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t,n=new Set;for(let t=e.focusNode;t;t=ln(t))n.add(t);for(let f=e.anchorNode;f;f=ln(f))if(n.has(f)){t=f;break}let f=t&&this.view.docView.nearestDesc(t);return f&&f.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),f=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Bf(e)&&!this.ignoreSelectionChange(n),i=-1,r=-1,o=!1,a=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],a);n&&(i=i<0?n.from:Math.min(n.from,i),r=r<0?n.to:Math.max(n.to,r),n.typeOver&&(o=!0))}if(xn&&a.length){let t=a.filter((e=>"BR"==e.nodeName));if(2==t.length){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let f of t){let t=f.parentNode;t&&"LI"==t.nodeName&&(!n||ur(e,n)!=t)&&f.remove()}}}let s=null;i<0&&f&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&wn(n)&&(s=Nf(e))&&s.eq(Jt.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Df(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||f)&&(i>-1&&(e.docView.markDirty(i,r),function(e){if(!lr.has(e)&&(lr.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace))){if(e.requiresGeckoHackNode=xn,cr)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),cr=!0}}(e)),this.handleDOMChange(i,r,o,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Df(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(n==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style"))||!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++){let f=e.addedNodes[n];t.push(f),3==f.nodeType&&(this.lastChangedTextNode=f)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let f=e.previousSibling,i=e.nextSibling;if(kn&&In<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:r}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(f=n),(!r||Array.prototype.indexOf.call(e.addedNodes,r)<0)&&(i=r)}let r=f&&f.parentNode==e.target?sn(f)+1:0,o=n.localPosFromDOM(e.target,r,-1),a=i&&i.parentNode==e.target?sn(i):e.target.childNodes.length;return{from:o,to:n.localPosFromDOM(e.target,a,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let lr=new WeakMap,cr=!1;function dr(e,t){let n=t.startContainer,f=t.startOffset,i=t.endContainer,r=t.endOffset,o=e.domAtPos(e.state.selection.anchor);return un(o.node,o.offset,i,r)&&([n,f,i,r]=[i,r,n,f]),{anchorNode:n,anchorOffset:f,focusNode:i,focusOffset:r}}function ur(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function hr(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(Dn&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}if(e.parentNode.lastChild==e||Dn&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const pr=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function mr(e,t,n,f,i){let r=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Nf(e,t);if(n&&!e.state.selection.eq(n)){if(Nn&&On&&13===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))))return;let f=e.state.tr.setSelection(n);"pointer"==t?f.setMeta("pointer",!0):"key"==t&&f.scrollIntoView(),r&&f.setMeta("composition",r),e.dispatch(f)}return}let o=e.state.doc.resolve(t),a=o.sharedDepth(n);t=o.before(a+1),n=e.state.doc.resolve(n).after(a+1);let s,l,c=e.state.selection,d=function(e,t,n){let f,{node:i,fromOffset:r,toOffset:o,from:a,to:s}=e.docView.parseRange(t,n),l=e.domSelectionRange(),c=l.anchorNode;if(c&&e.dom.contains(1==c.nodeType?c:c.parentNode)&&(f=[{node:c,offset:l.anchorOffset}],wn(l)||f.push({node:l.focusNode,offset:l.focusOffset})),Nn&&8===e.input.lastKeyCode)for(let e=o;e>r;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&&!n){o=e;break}if(!n||n.size)break}let d=e.state.doc,u=e.someProp("domParser")||Ae.fromSchema(e.state.schema),h=d.resolve(a),p=null,m=u.parse(i,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:r,to:o,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:f,ruleFromNode:hr,context:h});if(f&&null!=f[0].pos){let e=f[0].pos,t=f[1]&&f[1].pos;null==t&&(t=e),p={anchor:e+a,head:t+a}}return{doc:m,sel:p,from:a,to:s}}(e,t,n),u=e.state.doc,h=u.slice(d.from,d.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(s=e.state.selection.to,l="end"):(s=e.state.selection.from,l="start"),e.input.lastKeyCode=null;let p=function(e,t,n,f,i){let r=e.findDiffStart(t,n);if(null==r)return null;let{a:o,b:a}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==i){f-=o+Math.max(0,r-Math.min(o,a))-r}if(o<r&&e.size<t.size){let e=f<=r&&f>=o?r-f:0;r-=e,r&&r<t.size&&Mr(t.textBetween(r-1,r+1))&&(r+=e?1:-1),a=r+(a-o),o=r}else if(a<r){let t=f<=r&&f>=a?r-f:0;r-=t,r&&r<e.size&&Mr(e.textBetween(r-1,r+1))&&(r+=t?1:-1),o=r+(o-a),a=r}return{start:r,endA:o,endB:a}}(h.content,d.doc.content,d.from,s,l);if(p&&e.input.domChangeCount++,(An&&e.input.lastIOSEnter>Date.now()-225||On)&&i.some((e=>1==e.nodeType&&!pr.test(e.nodeName)))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!p){if(!(f&&c instanceof Ut&&!c.empty&&c.$head.sameParent(c.$anchor))||e.composing||d.sel&&d.sel.anchor!=d.sel.head){if(d.sel){let t=gr(e,e.state.doc,d.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);r&&n.setMeta("composition",r),e.dispatch(n)}}return}p={start:c.from,endA:c.to,endB:c.to}}e.state.selection.from<e.state.selection.to&&p.start==p.endB&&e.state.selection instanceof Ut&&(p.start>e.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=d.from?p.start=e.state.selection.from:p.endA<e.state.selection.to&&p.endA>=e.state.selection.to-2&&e.state.selection.to<=d.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),kn&&In<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>d.from&&" "==d.doc.textBetween(p.start-d.from-1,p.start-d.from+1)&&(p.start--,p.endA--,p.endB--);let m,g=d.doc.resolveNoCache(p.start-d.from),w=d.doc.resolveNoCache(p.endB-d.from),M=u.resolve(p.start),b=g.sameParent(w)&&g.parent.inlineContent&&M.end()>=p.endA;if((An&&e.input.lastIOSEnter>Date.now()-225&&(!b||i.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!b&&g.pos<d.doc.content.size&&(!g.sameParent(w)||!g.parent.inlineContent)&&!/\S/.test(d.doc.textBetween(g.pos,w.pos,"",""))&&(m=Jt.findFrom(d.doc.resolve(g.pos+1),1,!0))&&m.head>g.pos)&&e.someProp("handleKeyDown",(t=>t(e,Mn(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>p.start&&function(e,t,n,f,i){if(n-t<=i.pos-f.pos||wr(f,!0,!1)<i.pos)return!1;let r=e.resolve(t);if(!f.parent.isTextblock){let e=r.nodeAfter;return null!=e&&n==t+e.nodeSize}if(r.parentOffset<r.parent.content.size||!r.parent.isTextblock)return!1;let o=e.resolve(wr(r,!0,!0));return!(!o.parent.isTextblock||o.pos>n||wr(o,!0,!1)<n)&&f.parent.content.cut(f.parentOffset).eq(o.parent.content)}(u,p.start,p.endA,g,w)&&e.someProp("handleKeyDown",(t=>t(e,Mn(8,"Backspace")))))return void(On&&Nn&&e.domObserver.suppressSelectionUpdates());Nn&&p.endB==p.start&&(e.input.lastChromeDelete=Date.now()),On&&!b&&g.start()!=w.start()&&0==w.parentOffset&&g.depth==w.depth&&d.sel&&d.sel.anchor==d.sel.head&&d.sel.head==p.endA&&(p.endB-=2,w=d.doc.resolveNoCache(p.endB-d.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,Mn(13,"Enter"))}))}),20));let y,L=p.start,C=p.endA,v=t=>{let n=t||e.state.tr.replace(L,C,d.doc.slice(p.start-d.from,p.endB-d.from));if(d.sel){let t=gr(e,n.doc,d.sel);t&&!(Nn&&e.composing&&t.empty&&(p.start!=p.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==L||t.head==n.mapping.map(C)-1)||kn&&t.empty&&t.head==L)&&n.setSelection(t)}return r&&n.setMeta("composition",r),n.scrollIntoView()};if(b){if(g.pos==w.pos){kn&&In<=11&&0==g.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>Df(e)),20));let t=v(e.state.tr.delete(L,C)),n=u.resolve(p.start).marksAcross(u.resolve(p.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(p.endA==p.endB&&(y=function(e,t){let n,f,i,r=e.firstChild.marks,o=t.firstChild.marks,a=r,s=o;for(let e=0;e<o.length;e++)a=o[e].removeFromSet(a);for(let e=0;e<r.length;e++)s=r[e].removeFromSet(s);if(1==a.length&&0==s.length)f=a[0],n="add",i=e=>e.mark(f.addToSet(e.marks));else{if(0!=a.length||1!=s.length)return null;f=s[0],n="remove",i=e=>e.mark(f.removeFromSet(e.marks))}let l=[];for(let e=0;e<t.childCount;e++)l.push(i(t.child(e)));if(Y.from(l).eq(e))return{mark:f,type:n}}(g.parent.content.cut(g.parentOffset,w.parentOffset),M.parent.content.cut(M.parentOffset,p.endA-M.start())))){let t=v(e.state.tr);"add"==y.type?t.addMark(L,C,y.mark):t.removeMark(L,C,y.mark),e.dispatch(t)}else if(g.parent.child(g.index()).isText&&g.index()==w.index()-(w.textOffset?0:1)){let t=g.parent.textBetween(g.parentOffset,w.parentOffset),n=()=>v(e.state.tr.insertText(t,L,C));e.someProp("handleTextInput",(f=>f(e,L,C,t,n)))||e.dispatch(n())}}else e.dispatch(v())}function gr(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Jf(e,t.resolve(n.anchor),t.resolve(n.head))}function wr(e,t,n){let f=e.depth,i=t?e.end():e.pos;for(;f>0&&(t||e.indexAfter(f)==e.node(f).childCount);)f--,i++,t=!1;if(n){let t=e.node(f).maybeChild(e.indexAfter(f));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function Mr(e){if(2!=e.length)return!1;let t=e.charCodeAt(0),n=e.charCodeAt(1);return t>=56320&&t<=57343&&n>=55296&&n<=56319}class br{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new mi,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(jr),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Cr(this),Lr(this),this.nodeViews=vr(this),this.docView=hf(this.state.doc,yr(this),ir(this),this.dom,this),this.domObserver=new sr(this,((e,t,n,f)=>mr(this,e,t,n,f))),this.domObserver.start(),function(e){for(let t in ui){let n=ui[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{bi(e,t)&&!Mi(e,t)&&(e.editable||!(t.type in hi))&&n(e,t)},pi[t]?{passive:!0}:void 0)}Dn&&e.dom.addEventListener("input",(()=>null)),wi(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&wi(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(jr),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var n;let f=this.state,i=!1,r=!1;e.storedMarks&&this.composing&&(Ai(this),r=!0),this.state=e;let o=f.plugins!=e.plugins||this._props.plugins!=t.plugins;if(o||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=vr(this);(function(e,t){let n=0,f=0;for(let f in e){if(e[f]!=t[f])return!0;n++}for(let e in t)f++;return n!=f})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(o||t.handleDOMEvents!=this._props.handleDOMEvents)&&wi(this),this.editable=Cr(this),Lr(this);let a=ir(this),s=yr(this),l=f.plugins==e.plugins||f.doc.eq(e.doc)?e.scrollToSelection>f.scrollToSelection?"to selection":"preserve":"reset",c=i||!this.docView.matchesNode(e.doc,s,a);(c||!e.selection.eq(f.selection))&&(r=!0);let d="preserve"==l&&r&&null==this.dom.style.overflowAnchor&&function(e){let t,n,f=e.dom.getBoundingClientRect(),i=Math.max(0,f.top);for(let r=(f.left+f.right)/2,o=i+1;o<Math.min(innerHeight,f.bottom);o+=5){let f=e.root.elementFromPoint(r,o);if(!f||f==e.dom||!e.dom.contains(f))continue;let a=f.getBoundingClientRect();if(a.top>=i-20){t=f,n=a.top;break}}return{refDOM:t,refTop:n,stack:Un(e.dom)}}(this);if(r){this.domObserver.stop();let t=c&&(kn||Nn)&&!this.composing&&!f.selection.empty&&!e.selection.empty&&function(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}(f.selection,e.selection);if(c){let n=Nn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Ei(this)),(i||!this.docView.update(e.doc,s,a,this))&&(this.docView.updateOuterDeco(s),this.docView.destroy(),this.docView=hf(e.doc,s,a,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return un(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Df(this,t):(Pf(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(f),!(null===(n=this.dragging)||void 0===n)&&n.node&&!f.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,f),"reset"==l?this.dom.scrollTop=0:"to selection"==l?this.scrollToSelection():d&&function({refDOM:e,refTop:t,stack:n}){let f=e?e.getBoundingClientRect().top:0;Gn(n,0==f?0:f-t)}(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&this.dom.contains(1==e.nodeType?e:e.parentNode)&&!this.someProp("handleScrollToSelection",(e=>e(this))))if(this.state.selection instanceof Zt){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&Yn(this,t.getBoundingClientRect(),e)}else Yn(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(e&&e.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}}updateDraggedNode(e,t){let n=e.node,f=-1;if(this.state.doc.nodeAt(n.from)==n.node)f=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&this.state.doc.nodeAt(e))==n.node&&(f=e)}this.dragging=new Ji(e.slice,e.move,f<0?void 0:Zt.create(this.state.doc,f))}someProp(e,t){let n,f=this._props&&this._props[e];if(null!=f&&(n=t?t(f):f))return n;for(let f=0;f<this.directPlugins.length;f++){let i=this.directPlugins[f].props[e];if(null!=i&&(n=t?t(i):i))return n}let i=this.state.plugins;if(i)for(let f=0;f<i.length;f++){let r=i[f].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(kn){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if("false"==e.contentEditable)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(Zn)return e.focus(Zn);let t=Un(e);e.focus(null==Zn?{get preventScroll(){return Zn={preventScroll:!0},!0}}:void 0),Zn||(Zn=!1,Gn(t,0))}(this.dom),Df(this),this.domObserver.start()}get root(){let e=this._root;if(null==e)for(let e=this.dom.parentNode;e;e=e.parentNode)if(9==e.nodeType||11==e.nodeType&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e;return e||document}updateRoot(){this._root=null}posAtCoords(e){return Vn(this,e)}coordsAtPos(e,t=1){return Xn(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let f=this.docView.posFromDOM(e,t,n);if(null==f)throw new RangeError("DOM position not inside the editor");return f}endOfTextblock(e,t){return af(this,t||this.state,e)}pasteHTML(e,t){return Pi(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Pi(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return ei(this,e)}destroy(){this.docView&&(function(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ir(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,cn=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){!Mi(e,t)&&ui[t.type]&&(e.editable||!(t.type in hi))&&ui[t.type](e,t)}(this,e)}domSelectionRange(){let e=this.domSelection();return e?Dn&&11===this.root.nodeType&&function(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return dr(e,n)}let n;function f(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",f,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",f,!0),n?dr(e,n):null}(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function yr(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:!t[e]&&"contenteditable"!=e&&"nodeName"!=e&&(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[Hi.node(0,e.state.doc.content.size,t)]}function Lr(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Hi.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Cr(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function vr(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function jr(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}br.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};for(var kr={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Ir={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},xr=typeof navigator<"u"&&/Mac/.test(navigator.platform),Sr=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Nr=0;Nr<10;Nr++)kr[48+Nr]=kr[96+Nr]=String(Nr);for(Nr=1;Nr<=24;Nr++)kr[Nr+111]="F"+Nr;for(Nr=65;Nr<=90;Nr++)kr[Nr]=String.fromCharCode(Nr+32),Ir[Nr]=String.fromCharCode(Nr);for(var Tr in kr)Ir.hasOwnProperty(Tr)||(Ir[Tr]=kr[Tr]);const Dr=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),Ar=typeof navigator<"u"&&/Win/.test(navigator.platform);function Er(e){let t,n,f,i,r=e.split(/-(?!$)/),o=r[r.length-1];"Space"==o&&(o=" ");for(let e=0;e<r.length-1;e++){let o=r[e];if(/^(cmd|meta|m)$/i.test(o))i=!0;else if(/^a(lt)?$/i.test(o))t=!0;else if(/^(c|ctrl|control)$/i.test(o))n=!0;else if(/^s(hift)?$/i.test(o))f=!0;else{if(!/^mod$/i.test(o))throw new Error("Unrecognized modifier name: "+o);Dr?i=!0:n=!0}}return t&&(o="Alt-"+o),n&&(o="Ctrl-"+o),i&&(o="Meta-"+o),f&&(o="Shift-"+o),o}function zr(e,t,n=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),n&&t.shiftKey&&(e="Shift-"+e),e}function Or(e){let t=function(e){let t=Object.create(null);for(let n in e)t[Er(n)]=e[n];return t}(e);return function(e,n){let f,i=function(e){var t=!(xr&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Sr&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Ir:kr)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(n),r=t[zr(i,n)];if(r&&r(e.state,e.dispatch,e))return!0;if(1==i.length&&" "!=i){if(n.shiftKey){let f=t[zr(i,n,!1)];if(f&&f(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(Ar&&n.ctrlKey&&n.altKey)&&(f=kr[n.keyCode])&&f!=i){let i=t[zr(f,n)];if(i&&i(e.state,e.dispatch,e))return!0}}return!1}}function Pr(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}function Rr(e,t,n){let f=t.nodeBefore,i=t.pos-1;for(;!f.isTextblock;i--){if(f.type.spec.isolating)return!1;let e=f.lastChild;if(!e)return!1;f=e}let r=t.nodeAfter,o=t.pos+1;for(;!r.isTextblock;o++){if(r.type.spec.isolating)return!1;let e=r.firstChild;if(!e)return!1;r=e}let a=Ct(e.doc,i,o,F.empty);if(!a||a.from!=i||a instanceof st&&a.slice.size>=o-i)return!1;if(n){let t=e.tr.step(a);t.setSelection(Ut.create(t.doc,i)),n(t.scrollIntoView())}return!0}function Jr(e,t,n=!1){for(let f=e;f;f="start"==t?f.firstChild:f.lastChild){if(f.isTextblock)return!0;if(n&&1!=f.childCount)return!1}return!1}function Br(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function Qr(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size)?null:n}function Yr(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}function Ur(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function Gr(e,t,n,f){let i,r,o=t.nodeBefore,a=t.nodeAfter,s=o.type.spec.isolating||a.type.spec.isolating;if(!s&&function(e,t,n){let f=t.nodeBefore,i=t.nodeAfter,r=t.index();return!(!(f&&i&&f.type.compatibleContent(i.type))||(!f.content.size&&t.parent.canReplace(r-1,r)?(n&&n(e.tr.delete(t.pos-f.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(r,r+1)||!i.isTextblock&&!bt(e.doc,t.pos)||(n&&n(e.tr.join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let l=!s&&t.parent.canReplace(t.index(),t.index()+1);if(l&&(i=(r=o.contentMatchAt(o.childCount)).findWrapping(a.type))&&r.matchType(i[0]||a.type).validEnd){if(n){let f=t.pos+a.nodeSize,r=Y.empty;for(let e=i.length-1;e>=0;e--)r=Y.from(i[e].create(null,r));r=Y.from(o.copy(r));let s=e.tr.step(new lt(t.pos-1,f,t.pos,f,new F(r,1,0),i.length,!0)),l=s.doc.resolve(f+2*i.length);l.nodeAfter&&l.nodeAfter.type==o.type&&bt(s.doc,l.pos)&&s.join(l.pos),n(s.scrollIntoView())}return!0}let c=a.type.spec.isolating||f>0&&s?null:Jt.findFrom(t,1),d=c&&c.$from.blockRange(c.$to),u=d&&ht(d);if(null!=u&&u>=t.depth)return n&&n(e.tr.lift(d,u).scrollIntoView()),!0;if(l&&Jr(a,"start",!0)&&Jr(o,"end")){let f=o,i=[];for(;i.push(f),!f.isTextblock;)f=f.lastChild;let r=a,s=1;for(;!r.isTextblock;r=r.firstChild)s++;if(f.canReplace(f.childCount,f.childCount,r.content)){if(n){let f=Y.empty;for(let e=i.length-1;e>=0;e--)f=Y.from(i[e].copy(f));n(e.tr.step(new lt(t.pos-i.length,t.pos+a.nodeSize,t.pos+s,t.pos+a.nodeSize-s,new F(f,i.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Zr(e){return function(t,n){let f=t.selection,i=e<0?f.$from:f.$to,r=i.depth;for(;i.node(r).isInline;){if(!r)return!1;r--}return!!i.node(r).isTextblock&&(n&&n(t.tr.setSelection(Ut.create(t.doc,e<0?i.start(r):i.end(r)))),!0)}}const Hr=Zr(-1),Wr=Zr(1);function Fr(e,t=null){return function(n,f){let i=!1;for(let f=0;f<n.selection.ranges.length&&!i;f++){let{$from:{pos:r},$to:{pos:o}}=n.selection.ranges[f];n.doc.nodesBetween(r,o,((f,r)=>{if(i)return!1;if(f.isTextblock&&!f.hasMarkup(e,t))if(f.type==e)i=!0;else{let t=n.doc.resolve(r),f=t.index();i=t.parent.canReplaceWith(f,f+1,e)}}))}if(!i)return!1;if(f){let i=n.tr;for(let f=0;f<n.selection.ranges.length;f++){let{$from:{pos:r},$to:{pos:o}}=n.selection.ranges[f];i.setBlockType(r,o,e,t)}f(i.scrollIntoView())}return!0}}function Vr(e,t=null){return function(n,f){let{$from:i,$to:r}=n.selection,o=i.blockRange(r);if(!o)return!1;let a=f?n.tr:null;return!!function(e,t,n,f=null){let i=!1,r=t,o=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&0==t.startIndex){if(0==t.$from.index(t.depth-1))return!1;let e=o.resolve(t.start-2);r=new le(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new le(t.$from,o.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let a=pt(r,n,f,t);return!!a&&(e&&function(e,t,n,f,i){let r=Y.empty;for(let e=n.length-1;e>=0;e--)r=Y.from(n[e].type.create(n[e].attrs,r));e.step(new lt(t.start-(f?2:0),t.end,t.start,t.end,new F(r,0,0),n.length,!0));let o=0;for(let e=0;e<n.length;e++)n[e].type==i&&(o=e+1);let a=n.length-o,s=t.start+n.length-(f?2:0),l=t.parent;for(let n=t.startIndex,f=t.endIndex,i=!0;n<f;n++,i=!1)!i&&Mt(e.doc,s,a)&&(e.split(s,a),s+=2*a),s+=l.child(n).nodeSize}(e,t,a,i,n),!0)}(a,o,e,t)&&(f&&f(a.scrollIntoView()),!0)}}function $r(e){return function(t,n){let{$from:f,$to:i}=t.selection,r=f.blockRange(i,(t=>t.childCount>0&&t.firstChild.type==e));return!!r&&(!n||(f.node(r.depth-1).type==e?function(e,t,n,f){let i=e.tr,r=f.end,o=f.$to.end(f.depth);r<o&&(i.step(new lt(r-1,o,r,o,new F(Y.from(n.create(null,f.parent.copy())),1,0),1,!0)),f=new le(i.doc.resolve(f.$from.pos),i.doc.resolve(o),f.depth));const a=ht(f);if(null==a)return!1;i.lift(f,a);let s=i.doc.resolve(i.mapping.map(r,-1)-1);return bt(i.doc,s.pos)&&s.nodeBefore.type==s.nodeAfter.type&&i.join(s.pos),t(i.scrollIntoView()),!0}(t,n,e,r):function(e,t,n){let f=e.tr,i=n.parent;for(let e=n.end,t=n.endIndex-1,r=n.startIndex;t>r;t--)e-=i.child(t).nodeSize,f.delete(e-1,e+1);let r=f.doc.resolve(n.start),o=r.nodeAfter;if(f.mapping.map(n.end)!=n.start+r.nodeAfter.nodeSize)return!1;let a=0==n.startIndex,s=n.endIndex==i.childCount,l=r.node(-1),c=r.index(-1);if(!l.canReplace(c+(a?0:1),c+1,o.content.append(s?Y.empty:Y.from(i))))return!1;let d=r.pos,u=d+o.nodeSize;return f.step(new lt(d-(a?1:0),u+(s?1:0),d+1,u-1,new F((a?Y.empty:Y.from(i.copy(Y.empty))).append(s?Y.empty:Y.from(i.copy(Y.empty))),a?0:1,s?0:1),a?0:1)),t(f.scrollIntoView()),!0}(t,n,r)))}}function _r(e){const{state:t,transaction:n}=e;let{selection:f}=n,{doc:i}=n,{storedMarks:r}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return r},get selection(){return f},get doc(){return i},get tr(){return f=n.selection,i=n.doc,r=n.storedMarks,n}}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform();class Kr{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:n}=this,{view:f}=t,{tr:i}=n,r=this.buildProps(i);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(r);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&f.dispatch(i),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:f,state:i}=this,{view:r}=f,o=[],a=!!e,s=e||i.tr,l={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const f=this.buildProps(s,t),i=n(...e)(f);return o.push(i),l}]))),run:()=>(!a&&t&&!s.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(s),o.every((e=>!0===e)))};return l}createCan(e){const{rawCommands:t,state:n}=this,f=e||n.tr,i=this.buildProps(f,false);return{...Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})]))),chain:()=>this.createChain(f,false)}}buildProps(e,t=!0){const{rawCommands:n,editor:f,state:i}=this,{view:r}=f,o={tr:e,editor:f,view:r,state:_r({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(o)])))}};return o}}class Xr{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const n=this.callbacks[e];return n&&n.forEach((e=>e.apply(this,t))),this}off(e,t){const n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter((e=>e!==t)):delete this.callbacks[e]),this}once(e,t){const n=(...f)=>{this.off(e,n),t.apply(this,f)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}}function qr(e,t,n){return void 0===e.config[t]&&e.parent?qr(e.parent,t,n):"function"==typeof e.config[t]?e.config[t].bind({...n,parent:e.parent?qr(e.parent,t,n):null}):e.config[t]}function eo(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function to(e){const t=[],{nodeExtensions:n,markExtensions:f}=eo(e),i=[...n,...f],r={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=qr(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage,extensions:i});n&&n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,f])=>{t.push({type:n,name:e,attribute:{...r,...f}})}))}))}))})),i.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},f=qr(e,"addAttributes",n);if(!f)return;const i=f();Object.entries(i).forEach((([n,f])=>{const i={...r,...f};"function"==typeof(null==i?void 0:i.default)&&(i.default=i.default()),null!=i&&i.isRequired&&void 0===(null==i?void 0:i.default)&&delete i.default,t.push({type:e.name,name:n,attribute:i})}))})),t}function no(e,t){if("string"==typeof e){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function fo(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{if(n[e])if("class"===e){const f=t?String(t).split(" "):[],i=n[e]?n[e].split(" "):[],r=f.filter((e=>!i.includes(e)));n[e]=[...i,...r].join(" ")}else if("style"===e){const f=t?t.split(";").map((e=>e.trim())).filter(Boolean):[],i=n[e]?n[e].split(";").map((e=>e.trim())).filter(Boolean):[],r=new Map;i.forEach((e=>{const[t,n]=e.split(":").map((e=>e.trim()));r.set(t,n)})),f.forEach((e=>{const[t,n]=e.split(":").map((e=>e.trim()));r.set(t,n)})),n[e]=Array.from(r.entries()).map((([e,t])=>`${e}: ${t}`)).join("; ")}else n[e]=t;else n[e]=t})),n}),{})}function io(e,t){return t.filter((t=>t.type===e.type.name)).filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>fo(e,t)),{})}function ro(e){return"function"==typeof e}function oo(e,t=void 0,...n){return ro(e)?t?e.bind(t)(...n):e(...n):e}function ao(e,t){return"style"in e?e:{...e,getAttrs:n=>{const f=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===f)return!1;const i=t.reduce(((e,t)=>{const f=t.attribute.parseHTML?t.attribute.parseHTML(n):function(e){return"string"!=typeof e?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):"true"===e||"false"!==e&&e}(n.getAttribute(t.name));return null==f?e:{...e,[t.name]:f}}),{});return{...f,...i}}}}function so(e){return Object.fromEntries(Object.entries(e).filter((([e,t])=>("attrs"!==e||!function(e={}){return 0===Object.keys(e).length&&e.constructor===Object}(t))&&null!=t)))}function lo(e,t){return t.nodes[e]||t.marks[e]||null}function co(e,t){return Array.isArray(t)?t.some((t=>("string"==typeof t?t:t.name)===e.name)):t}function uo(e,t){const n=Ue.fromSchema(t).serializeFragment(e),f=document.implementation.createHTMLDocument().createElement("div");return f.appendChild(n),f.innerHTML}const ho=(e,t=500)=>{let n="";const f=e.parentOffset;return e.parent.nodesBetween(Math.max(0,f-t),f,((e,t,i,r)=>{var o,a;const s=(null===(a=(o=e.type.spec).toText)||void 0===a?void 0:a.call(o,{node:e,pos:t,parent:i,index:r}))||e.textContent||"%leaf%";n+=e.isAtom&&!e.isText?s:s.slice(0,Math.max(0,f-t))})),n};function po(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class mo{constructor(e){this.find=e.find,this.handler=e.handler}}const go=(e,t)=>{if(po(t))return t.exec(e);const n=t(e);if(!n)return null;const f=[n.text];return f.index=n.index,f.input=e,f.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),f.push(n.replaceWith)),f};function wo(e){var t;const{editor:n,from:f,to:i,text:r,rules:o,plugin:a}=e,{view:s}=n;if(s.composing)return!1;const l=s.state.doc.resolve(f);if(l.parent.type.spec.code||null!==(t=l.nodeBefore||l.nodeAfter)&&void 0!==t&&t.marks.find((e=>e.type.spec.code)))return!1;let c=!1;const d=ho(l)+r;return o.forEach((e=>{if(c)return;const t=go(d,e.find);if(!t)return;const o=s.state.tr,l=_r({state:s.state,transaction:o}),u={from:f-(t[0].length-r.length),to:i},{commands:h,chain:p,can:m}=new Kr({editor:n,state:l});null===e.handler({state:l,range:u,match:t,commands:h,chain:p,can:m})||!o.steps.length||(o.setMeta(a,{transform:o,from:f,to:i,text:r}),s.dispatch(o),c=!0)})),c}function Mo(e){const{editor:t,rules:n}=e,f=new fn({state:{init:()=>null,apply(e,i,r){const o=e.getMeta(f);if(o)return o;const a=e.getMeta("applyInputRules");return!!a&&setTimeout((()=>{let{text:e}=a;"string"==typeof e||(e=uo(Y.from(e),r.schema));const{from:i}=a,o=i+e.length;wo({editor:t,from:i,to:o,text:e,rules:n,plugin:f})})),e.selectionSet||e.docChanged?null:i}},props:{handleTextInput:(e,i,r,o)=>wo({editor:t,from:i,to:r,text:o,rules:n,plugin:f}),handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:i}=e.state.selection;i&&wo({editor:t,from:i.pos,to:i.pos,text:"",rules:n,plugin:f})})),!1)},handleKeyDown(e,i){if("Enter"!==i.key)return!1;const{$cursor:r}=e.state.selection;return!!r&&wo({editor:t,from:r.pos,to:r.pos,text:"\n",rules:n,plugin:f})}},isInputRules:!0});return f}function bo(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function yo(e,t){const n={...e};return bo(e)&&bo(t)&&Object.keys(t).forEach((f=>{bo(t[f])&&bo(e[f])?n[f]=yo(e[f],t[f]):n[f]=t[f]})),n}class Lo{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=oo(qr(this,"addOptions",{name:this.name}))),this.storage=oo(qr(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Lo(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>yo(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new Lo(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=oo(qr(t,"addOptions",{name:t.name})),t.storage=oo(qr(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,f=e.state.selection.$from;if(f.pos===f.end()){const i=f.marks();if(!i.find((e=>(null==e?void 0:e.type.name)===t.name)))return!1;const r=i.find((e=>(null==e?void 0:e.type.name)===t.name));return r&&n.removeStoredMark(r),n.insertText(" ",f.pos),e.view.dispatch(n),!0}return!1}}class Co{constructor(e){this.find=e.find,this.handler=e.handler}}const vo=(e,t,n)=>{if(po(t))return[...e.matchAll(t)];const f=t(e,n);return f?f.map((t=>{const n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),n.push(t.replaceWith)),n})):[]};let jo=null;function ko(e){const{editor:t,rules:n}=e;let f,i=null,r=!1,o=!1,a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null;try{f=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{f=null}const s=({state:e,from:n,to:i,rule:r,pasteEvt:o})=>{const s=e.tr,l=_r({state:e,transaction:s});if(function(e){const{editor:t,state:n,from:f,to:i,rule:r,pasteEvent:o,dropEvent:a}=e,{commands:s,chain:l,can:c}=new Kr({editor:t,state:n}),d=[];return n.doc.nodesBetween(f,i,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const u=Math.max(f,t),h=Math.min(i,t+e.content.size),p=e.textBetween(u-t,h-t,void 0,"");vo(p,r.find,o).forEach((e=>{if(void 0===e.index)return;const t=u+e.index+1,f=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(f)},h=r.handler({state:n,range:i,match:e,commands:s,chain:l,can:c,pasteEvent:o,dropEvent:a});d.push(h)}))})),d.every((e=>null!==e))}({editor:t,state:l,from:Math.max(n-1,0),to:i.b-1,rule:r,pasteEvent:o,dropEvent:f})&&s.steps.length){try{f=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{f=null}return a=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,s}};return n.map((e=>new fn({view(e){const n=n=>{var f;i=null!==(f=e.dom.parentElement)&&void 0!==f&&f.contains(n.target)?e.dom.parentElement:null,i&&(jo=t)},f=()=>{jo&&(jo=null)};return window.addEventListener("dragstart",n),window.addEventListener("dragend",f),{destroy(){window.removeEventListener("dragstart",n),window.removeEventListener("dragend",f)}}},props:{handleDOMEvents:{drop:(e,t)=>{if(o=i===e.dom.parentElement,f=t,!o){const e=jo;e&&setTimeout((()=>{const t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})}),10)}return!1},paste:(e,t)=>{var n;const f=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return a=t,r=!(null==f||!f.includes("data-pm-slice")),!1}}},appendTransaction:(t,n,f)=>{const i=t[0],l="paste"===i.getMeta("uiEvent")&&!r,c="drop"===i.getMeta("uiEvent")&&!o,d=i.getMeta("applyPasteRules"),u=!!d;if(!l&&!c&&!u)return;if(u){let{text:t}=d;"string"==typeof t||(t=uo(Y.from(t),f.schema));const{from:n}=d,i=n+t.length,r=(e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(t);return s({rule:e,state:f,from:n,to:{b:i},pasteEvt:r})}const h=n.doc.content.findDiffStart(f.doc.content),p=n.doc.content.findDiffEnd(f.doc.content);return function(e){return"number"==typeof e}(h)&&p&&h!==p.b?s({rule:e,state:f,from:h,to:p,pasteEvt:a}):void 0}})))}class Io{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=Io.resolve(e),this.schema=function(e,t){var n;const f=to(e),{nodeExtensions:i,markExtensions:r}=eo(e),o=null===(n=i.find((e=>qr(e,"topNode"))))||void 0===n?void 0:n.name,a=Object.fromEntries(i.map((n=>{const i=f.filter((e=>e.type===n.name)),r={name:n.name,options:n.options,storage:n.storage,editor:t},o=so({...e.reduce(((e,t)=>{const f=qr(t,"extendNodeSchema",r);return{...e,...f?f(n):{}}}),{}),content:oo(qr(n,"content",r)),marks:oo(qr(n,"marks",r)),group:oo(qr(n,"group",r)),inline:oo(qr(n,"inline",r)),atom:oo(qr(n,"atom",r)),selectable:oo(qr(n,"selectable",r)),draggable:oo(qr(n,"draggable",r)),code:oo(qr(n,"code",r)),whitespace:oo(qr(n,"whitespace",r)),linebreakReplacement:oo(qr(n,"linebreakReplacement",r)),defining:oo(qr(n,"defining",r)),isolating:oo(qr(n,"isolating",r)),attrs:Object.fromEntries(i.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=oo(qr(n,"parseHTML",r));a&&(o.parseDOM=a.map((e=>ao(e,i))));const s=qr(n,"renderHTML",r);s&&(o.toDOM=e=>s({node:e,HTMLAttributes:io(e,i)}));const l=qr(n,"renderText",r);return l&&(o.toText=l),[n.name,o]}))),s=Object.fromEntries(r.map((n=>{const i=f.filter((e=>e.type===n.name)),r={name:n.name,options:n.options,storage:n.storage,editor:t},o=so({...e.reduce(((e,t)=>{const f=qr(t,"extendMarkSchema",r);return{...e,...f?f(n):{}}}),{}),inclusive:oo(qr(n,"inclusive",r)),excludes:oo(qr(n,"excludes",r)),group:oo(qr(n,"group",r)),spanning:oo(qr(n,"spanning",r)),code:oo(qr(n,"code",r)),attrs:Object.fromEntries(i.map((e=>{var t;return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=oo(qr(n,"parseHTML",r));a&&(o.parseDOM=a.map((e=>ao(e,i))));const s=qr(n,"renderHTML",r);return s&&(o.toDOM=e=>s({mark:e,HTMLAttributes:io(e,i)})),[n.name,o]})));return new Te({topNode:o,nodes:a,marks:s})}(this.extensions,t),this.setupExtensions()}static resolve(e){const t=Io.sort(Io.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return Array.from(new Set(t))}(t.map((e=>e.name)));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=>`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=>{const t=qr(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=>{const n=qr(e,"priority")||100,f=qr(t,"priority")||100;return n>f?-1:n<f?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=qr(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:lo(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=Io.sort([...this.extensions].reverse()),n=[],f=[],i=t.map((t=>{const i={name:t.name,options:t.options,storage:t.storage,editor:e,type:lo(t.name,this.schema)},r=[],o=qr(t,"addKeyboardShortcuts",i);let a={};if("mark"===t.type&&qr(t,"exitable",i)&&(a.ArrowRight=()=>Lo.handleExit({editor:e,mark:t})),o){const t=Object.fromEntries(Object.entries(o()).map((([t,n])=>[t,()=>n({editor:e})])));a={...a,...t}}const s=new fn({props:{handleKeyDown:Or(a)}});r.push(s);const l=qr(t,"addInputRules",i);co(t,e.options.enableInputRules)&&l&&n.push(...l());const c=qr(t,"addPasteRules",i);co(t,e.options.enablePasteRules)&&c&&f.push(...c());const d=qr(t,"addProseMirrorPlugins",i);if(d){const e=d();r.push(...e)}return r})).flat();return[Mo({editor:e,rules:n}),...ko({editor:e,rules:f}),...i]}get attributes(){return to(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=eo(this.extensions);return Object.fromEntries(t.filter((e=>!!qr(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),f={name:t.name,options:t.options,storage:t.storage,editor:e,type:no(t.name,this.schema)},i=qr(t,"addNodeView",f);if(!i)return[];return[t.name,(f,r,o,a,s)=>{const l=io(f,n);return i()({node:f,view:r,getPos:o,decorations:a,innerDecorations:s,editor:e,extension:t,HTMLAttributes:l})}]})))}setupExtensions(){this.extensions.forEach((e=>{var t;this.editor.extensionStorage[e.name]=e.storage;const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:lo(e.name,this.schema)};"mark"===e.type&&(null===(t=oo(qr(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name);const f=qr(e,"onBeforeCreate",n),i=qr(e,"onCreate",n),r=qr(e,"onUpdate",n),o=qr(e,"onSelectionUpdate",n),a=qr(e,"onTransaction",n),s=qr(e,"onFocus",n),l=qr(e,"onBlur",n),c=qr(e,"onDestroy",n);f&&this.editor.on("beforeCreate",f),i&&this.editor.on("create",i),r&&this.editor.on("update",r),o&&this.editor.on("selectionUpdate",o),a&&this.editor.on("transaction",a),s&&this.editor.on("focus",s),l&&this.editor.on("blur",l),c&&this.editor.on("destroy",c)}))}}class xo{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=oo(qr(this,"addOptions",{name:this.name}))),this.storage=oo(qr(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new xo(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>yo(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new xo({...this.config,...e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=oo(qr(t,"addOptions",{name:t.name})),t.storage=oo(qr(t,"addStorage",{name:t.name,options:t.options})),t}}function So(e,t,n){const{from:f,to:i}=t,{blockSeparator:r="\n\n",textSerializers:o={}}=n||{};let a="";return e.nodesBetween(f,i,((e,n,s,l)=>{var c;e.isBlock&&n>f&&(a+=r);const d=null==o?void 0:o[e.type.name];if(d)return s&&(a+=d({node:e,pos:n,parent:s,index:l,range:t})),!1;e.isText&&(a+=null===(c=null==e?void 0:e.text)||void 0===c?void 0:c.slice(Math.max(f,n)-n,i-n))})),a}function No(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const To=xo.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new fn({key:new an("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:f,selection:i}=t,{ranges:r}=i,o=Math.min(...r.map((e=>e.$from.pos))),a=Math.max(...r.map((e=>e.$to.pos))),s=No(n);return So(f,{from:o,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:s})}}})]}});function Do(e,t,n={strict:!0}){const f=Object.keys(t);return!f.length||f.every((f=>n.strict?t[f]===e[f]:po(t[f])?t[f].test(e[f]):t[f]===e[f]))}function Ao(e,t,n={}){return e.find((e=>e.type===t&&Do(Object.fromEntries(Object.keys(n).map((t=>[t,e.attrs[t]]))),n)))}function Eo(e,t,n={}){return!!Ao(e,t,n)}function zo(e,t,n){var f;if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if((!i.node||!i.node.marks.some((e=>e.type===t)))&&(i=e.parent.childBefore(e.parentOffset)),!i.node||!i.node.marks.some((e=>e.type===t))||(n=n||(null===(f=i.node.marks[0])||void 0===f?void 0:f.attrs),!Ao([...i.node.marks],t,n)))return;let r=i.index,o=e.start()+i.offset,a=r+1,s=o+i.node.nodeSize;for(;r>0&&Eo([...e.parent.child(r-1).marks],t,n);)r-=1,o-=e.parent.child(r).nodeSize;for(;a<e.parent.childCount&&Eo([...e.parent.child(a).marks],t,n);)s+=e.parent.child(a).nodeSize,a+=1;return{from:o,to:s}}function Oo(e,t){if("string"==typeof e){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}function Po(e){return e instanceof Ut}function Ro(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Jo(e,t=null){if(!t)return null;const n=Jt.atStart(e),f=Jt.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return f;const i=n.from,r=f.to;return"all"===t?Ut.create(e,Ro(0,i,r),Ro(e.content.size,i,r)):Ut.create(e,Ro(t,i,r),Ro(t,i,r))}function Bo(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Qo=e=>{const t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){const f=t[n];3===f.nodeType&&f.nodeValue&&/^(\n\s\s|\n)$/.test(f.nodeValue)?e.removeChild(f):1===f.nodeType&&Qo(f)}return e};function Yo(e){const t=`<body>${e}</body>`,n=(new window.DOMParser).parseFromString(t,"text/html").body;return Qo(n)}function Uo(e,t,n){if(e instanceof de||e instanceof Y)return e;n={slice:!0,parseOptions:{},...n};const f="string"==typeof e;if("object"==typeof e&&null!==e)try{if(Array.isArray(e)&&e.length>0)return Y.fromArray(e.map((e=>t.nodeFromJSON(e))));const f=t.nodeFromJSON(e);return n.errorOnInvalidContent&&f.check(),f}catch(f){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:f});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",f),Uo("",t,n)}if(f){if(n.errorOnInvalidContent){let f=!1,i="";const r=new Te({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:e=>(f=!0,i="string"==typeof e?e:e.outerHTML,null)}]}})});if(n.slice?Ae.fromSchema(r).parseSlice(Yo(e),n.parseOptions):Ae.fromSchema(r).parse(Yo(e),n.parseOptions),n.errorOnInvalidContent&&f)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${i}`)})}const f=Ae.fromSchema(t);return n.slice?f.parseSlice(Yo(e),n.parseOptions).content:f.parse(Yo(e),n.parseOptions)}return Uo("",t,n)}function Go(){return typeof navigator<"u"&&/Mac/.test(navigator.platform)}function Zo(e,t,n={}){const{from:f,to:i,empty:r}=e.selection,o=t?no(t,e.schema):null,a=[];e.doc.nodesBetween(f,i,((e,t)=>{if(e.isText)return;const n=Math.max(f,t),r=Math.min(i,t+e.nodeSize);a.push({node:e,from:n,to:r})}));const s=i-f,l=a.filter((e=>!o||o.name===e.node.type.name)).filter((e=>Do(e.node.attrs,n,{strict:!1})));return r?!!l.length:l.reduce(((e,t)=>e+t.to-t.from),0)>=s}function Ho(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Wo(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,f)=>(n.includes(f)||(t[f]=e[f]),t)),{})}function Fo(e,t,n={},f={}){return Uo(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:f.errorOnInvalidContent})}function Vo(e,t){const n=Oo(t,e.schema),{from:f,to:i,empty:r}=e.selection,o=[];r?(e.storedMarks&&o.push(...e.storedMarks),o.push(...e.selection.$head.marks())):e.doc.nodesBetween(f,i,(e=>{o.push(...e.marks)}));const a=o.find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}function $o(e){return t=>function(e,t){for(let n=e.depth;n>0;n-=1){const f=e.node(n);if(t(f))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:f}}}(t.$from,e)}function _o(e,t){const n=Ho("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=no(t,e.schema),{from:f,to:i}=e.selection,r=[];e.doc.nodesBetween(f,i,(e=>{r.push(e)}));const o=r.reverse().find((e=>e.type.name===n.name));return o?{...o.attrs}:{}}(e,t):"mark"===n?Vo(e,t):{}}function Ko(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=>{const f=t(e);return!Object.prototype.hasOwnProperty.call(n,f)&&(n[f]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=>!t.filter(((e,t)=>t!==n)).some((t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))))}function Xo(e,t,n){const f=[];return e===t?n.resolve(e).marks().forEach((t=>{const i=zo(n.resolve(e),t.type);i&&f.push({mark:t,...i})})):n.nodesBetween(e,t,((e,t)=>{!e||void 0===(null==e?void 0:e.nodeSize)||f.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),f}function qo(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const f=e.find((e=>e.type===t&&e.name===n));return!!f&&f.attribute.keepOnSplit})))}function ea(e,t,n={}){const{empty:f,ranges:i}=e.selection,r=t?Oo(t,e.schema):null;if(f)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!r||r.name===e.type.name)).find((e=>Do(e.attrs,n,{strict:!1})));let o=0;const a=[];if(i.forEach((({$from:t,$to:n})=>{const f=t.pos,i=n.pos;e.doc.nodesBetween(f,i,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(f,t),r=Math.min(i,t+e.nodeSize);o+=r-n,a.push(...e.marks.map((e=>({mark:e,from:n,to:r}))))}))})),0===o)return!1;const s=a.filter((e=>!r||r.name===e.mark.type.name)).filter((e=>Do(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),l=a.filter((e=>!r||e.mark.type!==r&&e.mark.type.excludes(r))).reduce(((e,t)=>e+t.to-t.from),0);return(s>0?s+l:s)>=o}function ta(e,t){const{nodeExtensions:n}=eo(t),f=n.find((t=>t.name===e));if(!f)return!1;const i=oo(qr(f,"group",{name:f.name,options:f.options,storage:f.storage}));return"string"==typeof i&&i.split(" ").includes("list")}function na(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var f;if(n){if("hardBreak"===e.type.name)return!0;if(e.isText)return/^\s*$/m.test(null!==(f=e.text)&&void 0!==f?f:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let f=!0;return e.content.forEach((e=>{!1!==f&&(na(e,{ignoreWhitespace:n,checkChildren:t})||(f=!1))})),f}return!1}function fa(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const f=n.filter((e=>null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(f)}}const ia=(e,t)=>{const n=$o((e=>e.type===t))(e.selection);if(!n)return!0;const f=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===f)return!0;const i=e.doc.nodeAt(f);return n.node.type===(null==i?void 0:i.type)&&bt(e.doc,n.pos)&&e.join(n.pos),!0},ra=(e,t)=>{const n=$o((e=>e.type===t))(e.selection);if(!n)return!0;const f=e.doc.resolve(n.start).after(n.depth);if(void 0===f)return!0;const i=e.doc.nodeAt(f);return n.node.type===(null==i?void 0:i.type)&&bt(e.doc,f)&&e.join(f),!0};var oa=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null==window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent("",e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{const{selection:f}=t,{ranges:i}=f;return n&&i.forEach((({$from:n,$to:f})=>{e.doc.nodesBetween(n.pos,f.pos,((e,n)=>{if(e.type.isText)return;const{doc:f,mapping:i}=t,r=f.resolve(i.map(n)),o=f.resolve(i.map(n+e.nodeSize)),a=r.blockRange(o);if(!a)return;const s=ht(a);if(e.type.isTextblock){const{defaultType:e}=r.parent.contentMatchAt(r.index());t.setNodeMarkup(a.start,e)}(s||0===s)&&t.lift(a,s)}))})),!0},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,{$from:f,$to:i}=n;if(n instanceof Wt||f.parent.inlineContent||i.parent.inlineContent)return!1;let r=Ur(i.parent.contentMatchAt(i.indexAfter()));if(!r||!r.isTextblock)return!1;if(t){let n=(!f.parentOffset&&i.index()<i.parent.childCount?f:i).pos,o=e.tr.insert(n,r.createAndFill());o.setSelection(Ut.create(o.doc,n+1)),t(o.scrollIntoView())}return!0})(e,t),cut:(e,t)=>({editor:n,tr:f})=>{const{state:i}=n,r=i.doc.slice(e.from,e.to);f.deleteRange(e.from,e.to);const o=f.mapping.map(t);return f.insert(o,r.content),f.setSelection(new Ut(f.doc.resolve(o-1))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,f=n.$anchor.node();if(f.content.size>0)return!1;const i=e.selection.$anchor;for(let n=i.depth;n>0;n-=1)if(i.node(n).type===f.type){if(t){const t=i.before(n),f=i.after(n);e.delete(t,f).scrollIntoView()}return!0}return!1},deleteNode:e=>({tr:t,state:n,dispatch:f})=>{const i=no(e,n.schema),r=t.selection.$anchor;for(let e=r.depth;e>0;e-=1)if(r.node(e).type===i){if(f){const n=r.before(e),f=r.after(e);t.delete(n,f).scrollIntoView()}return!0}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:f,to:i}=e;return n&&t.delete(f,i),!0},deleteSelection:()=>({state:e,dispatch:t})=>((e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0))(e,t),enter:()=>({commands:e})=>e.keyboardShortcut("Enter"),exitCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:f}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(f))return!1;let i=n.node(-1),r=n.indexAfter(-1),o=Ur(i.contentMatchAt(r));if(!o||!i.canReplaceWith(r,r,o))return!1;if(t){let f=n.after(),i=e.tr.replaceWith(f,f,o.createAndFill());i.setSelection(Jt.near(i.doc.resolve(f),1)),t(i.scrollIntoView())}return!0})(e,t),extendMarkRange:(e,t={})=>({tr:n,state:f,dispatch:i})=>{const r=Oo(e,f.schema),{doc:o,selection:a}=n,{$from:s,from:l,to:c}=a;if(i){const e=zo(s,r,t);if(e&&e.from<=l&&e.to>=c){const t=Ut.create(o,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{const n="function"==typeof e?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1},focus:(e=null,t={})=>({editor:n,view:f,tr:i,dispatch:r})=>{t={scrollIntoView:!0,...t};const o=()=>{(Bo()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&f.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(f.focus(),null!=t&&t.scrollIntoView&&n.commands.scrollIntoView())}))};if(f.hasFocus()&&null===e||!1===e)return!0;if(r&&null===e&&!Po(n.state.selection))return o(),!0;const a=Jo(i.doc,e)||n.state.selection,s=n.state.selection.eq(a);return r&&(s||i.setSelection(a),s&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},forEach:(e,t)=>n=>e.every(((e,f)=>t(e,{...n,index:f}))),insertContent:(e,t)=>({tr:n,commands:f})=>f.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:f,dispatch:i,editor:r})=>{var o;if(i){let i;n={parseOptions:r.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};try{i=Uo(t,r.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(o=n.errorOnInvalidContent)&&void 0!==o?o:r.options.enableContentCheck})}catch(e){return r.emit("contentError",{editor:r,error:e,disableCollaboration:()=>{r.storage.collaboration&&(r.storage.collaboration.isDisabled=!0)}}),!1}let a,{from:s,to:l}="number"==typeof e?{from:e,to:e}:{from:e.from,to:e.to},c=!0,d=!0;if(((e=>!("type"in e))(i)?i:[i]).forEach((e=>{e.check(),c=!!c&&(e.isText&&0===e.marks.length),d=!!d&&e.isBlock})),s===l&&d){const{parent:e}=f.doc.resolve(s);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(s-=1,l+=1)}if(c){if(Array.isArray(t))a=t.map((e=>e.text||"")).join("");else if(t instanceof Y){let e="";t.forEach((t=>{t.text&&(e+=t.text)})),a=e}else a="object"==typeof t&&t&&t.text?t.text:t;f.insertText(a,s,l)}else a=i,f.replaceWith(s,l,a);n.updateSelection&&function(e,t,n){const f=e.steps.length-1;if(f<t)return;const i=e.steps[f];if(!(i instanceof st||i instanceof lt))return;const r=e.mapping.maps[f];let o=0;r.forEach(((e,t,n,f)=>{0===o&&(o=f)})),e.setSelection(Jt.near(e.doc.resolve(o),n))}(f,f.steps.length-1,-1),n.applyInputRules&&f.setMeta("applyInputRules",{from:s,text:a}),n.applyPasteRules&&f.setMeta("applyPasteRules",{from:s,text:a})}return!0},joinBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Pr(e,n);if(!f)return!1;let i=Br(f);if(!i){let n=f.blockRange(),i=n&&ht(n);return null!=i&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let r=i.nodeBefore;if(Gr(e,i,t,-1))return!0;if(0==f.parent.content.size&&(Jr(r,"end")||Zt.isSelectable(r)))for(let n=f.depth;;n--){let o=Ct(e.doc,f.before(n),f.after(n),F.empty);if(o&&o.slice.size<o.to-o.from){if(t){let n=e.tr.step(o);n.setSelection(Jr(r,"end")?Jt.findFrom(n.doc.resolve(n.mapping.map(i.pos,-1)),-1):Zt.create(n.doc,i.pos-r.nodeSize)),t(n.scrollIntoView())}return!0}if(1==n||f.node(n-1).childCount>1)break}return!(!r.isAtom||i.depth!=f.depth-1||(t&&t(e.tr.delete(i.pos-r.nodeSize,i.pos).scrollIntoView()),0))})(e,t),joinDown:()=>({state:e,dispatch:t})=>((e,t)=>{let n,f=e.selection;if(f instanceof Zt){if(f.node.isTextblock||!bt(e.doc,f.to))return!1;n=f.to}else if(n=Lt(e.doc,f.to,1),null==n)return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Qr(e,n);if(!f)return!1;let i=Yr(f);if(!i)return!1;let r=i.nodeAfter;if(Gr(e,i,t,1))return!0;if(0==f.parent.content.size&&(Jr(r,"start")||Zt.isSelectable(r))){let n=Ct(e.doc,f.before(),f.after(),F.empty);if(n&&n.slice.size<n.to-n.from){if(t){let f=e.tr.step(n);f.setSelection(Jr(r,"start")?Jt.findFrom(f.doc.resolve(f.mapping.map(i.pos)),1):Zt.create(f.doc,f.mapping.map(i.pos))),t(f.scrollIntoView())}return!0}}return!(!r.isAtom||i.depth!=f.depth-1||(t&&t(e.tr.delete(i.pos,i.pos+r.nodeSize).scrollIntoView()),0))})(e,t),joinItemBackward:()=>({state:e,dispatch:t,tr:n})=>{try{const f=Lt(e.doc,e.selection.$from.pos,-1);return null!=f&&(n.join(f,2),t&&t(n),!0)}catch{return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{const f=Lt(e.doc,e.selection.$from.pos,1);return null!=f&&(n.join(f,2),t&&t(n),!0)}catch{return!1}},joinTextblockBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Pr(e,n);if(!f)return!1;let i=Br(f);return!!i&&Rr(e,i,t)})(e,t),joinTextblockForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let f=Qr(e,n);if(!f)return!1;let i=Yr(f);return!!i&&Rr(e,i,t)})(e,t),joinUp:()=>({state:e,dispatch:t})=>((e,t)=>{let n,f=e.selection,i=f instanceof Zt;if(i){if(f.node.isTextblock||!bt(e.doc,f.from))return!1;n=f.from}else if(n=Lt(e.doc,f.from,-1),null==n)return!1;if(t){let f=e.tr.join(n);i&&f.setSelection(Zt.create(f.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(f.scrollIntoView())}return!0})(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:f,dispatch:i})=>{const r=function(e){const t=e.split(/-(?!$)/);let n,f,i,r,o=t[t.length-1];"Space"===o&&(o=" ");for(let e=0;e<t.length-1;e+=1){const o=t[e];if(/^(cmd|meta|m)$/i.test(o))r=!0;else if(/^a(lt)?$/i.test(o))n=!0;else if(/^(c|ctrl|control)$/i.test(o))f=!0;else if(/^s(hift)?$/i.test(o))i=!0;else{if(!/^mod$/i.test(o))throw new Error(`Unrecognized modifier name: ${o}`);Bo()||Go()?r=!0:f=!0}}return n&&(o=`Alt-${o}`),f&&(o=`Ctrl-${o}`),r&&(o=`Meta-${o}`),i&&(o=`Shift-${o}`),o}(e).split(/-(?!$)/),o=r.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),a=new KeyboardEvent("keydown",{key:"Space"===o?" ":o,altKey:r.includes("Alt"),ctrlKey:r.includes("Ctrl"),metaKey:r.includes("Meta"),shiftKey:r.includes("Shift"),bubbles:!0,cancelable:!0}),s=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,a)))}));return null==s||s.steps.forEach((e=>{const t=e.map(f.mapping);t&&i&&f.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:f})=>!!Zo(n,no(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:f}=e.selection,i=n.blockRange(f),r=i&&ht(i);return null!=r&&(t&&t(e.tr.lift(i,r).scrollIntoView()),!0)})(n,f),liftEmptyBlock:()=>({state:e,dispatch:t})=>((e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let f=n.before();if(Mt(e.doc,f))return t&&t(e.tr.split(f).scrollIntoView()),!0}let f=n.blockRange(),i=f&&ht(f);return null!=i&&(t&&t(e.tr.lift(f,i).scrollIntoView()),!0)})(e,t),liftListItem:e=>({state:t,dispatch:n})=>$r(no(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:f}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(f)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))})(e,t),resetAttributes:(e,t)=>({tr:n,state:f,dispatch:i})=>{let r=null,o=null;const a=Ho("string"==typeof e?e:e.name,f.schema);return!!a&&("node"===a&&(r=no(e,f.schema)),"mark"===a&&(o=Oo(e,f.schema)),i&&n.selection.ranges.forEach((e=>{f.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,f)=>{r&&r===e.type&&n.setNodeMarkup(f,void 0,Wo(e.attrs,t)),o&&e.marks.length&&e.marks.forEach((i=>{o===i.type&&n.addMark(f,f+e.nodeSize,o.create(Wo(i.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,dispatch:t})=>{if(t){const t=new Wt(e.doc);e.setSelection(t)}return!0},selectNodeBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:f,empty:i}=e.selection,r=f;if(!i)return!1;if(f.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):f.parentOffset>0)return!1;r=Br(f)}let o=r&&r.nodeBefore;return!(!o||!Zt.isSelectable(o)||(t&&t(e.tr.setSelection(Zt.create(e.doc,r.pos-o.nodeSize)).scrollIntoView()),0))})(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:f,empty:i}=e.selection,r=f;if(!i)return!1;if(f.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):f.parentOffset<f.parent.content.size)return!1;r=Yr(f)}let o=r&&r.nodeAfter;return!(!o||!Zt.isSelectable(o)||(t&&t(e.tr.setSelection(Zt.create(e.doc,r.pos)).scrollIntoView()),0))})(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:f,to:i}=e.selection,r=f.sharedDepth(i);return 0!=r&&(n=f.before(r),t&&t(e.tr.setSelection(Zt.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>Wr(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>Hr(e,t),setContent:(e,t=!1,n={},f={})=>({editor:i,tr:r,dispatch:o,commands:a})=>{var s,l;const{doc:c}=r;if("full"!==n.preserveWhitespace){const a=Fo(e,i.schema,n,{errorOnInvalidContent:null!==(s=f.errorOnInvalidContent)&&void 0!==s?s:i.options.enableContentCheck});return o&&r.replaceWith(0,c.content.size,a).setMeta("preventUpdate",!t),!0}return o&&r.setMeta("preventUpdate",!t),a.insertContentAt({from:0,to:c.content.size},e,{parseOptions:n,errorOnInvalidContent:null!==(l=f.errorOnInvalidContent)&&void 0!==l?l:i.options.enableContentCheck})},setMark:(e,t={})=>({tr:n,state:f,dispatch:i})=>{const{selection:r}=n,{empty:o,ranges:a}=r,s=Oo(e,f.schema);if(i)if(o){const e=Vo(f,s);n.addStoredMark(s.create({...e,...t}))}else a.forEach((e=>{const i=e.$from.pos,r=e.$to.pos;f.doc.nodesBetween(i,r,((e,f)=>{const o=Math.max(f,i),a=Math.min(f+e.nodeSize,r);e.marks.find((e=>e.type===s))?e.marks.forEach((e=>{s===e.type&&n.addMark(o,a,s.create({...e.attrs,...t}))})):n.addMark(o,a,s.create(t))}))}));return function(e,t,n){var f;const{selection:i}=t;let r=null;if(Po(i)&&(r=i.$cursor),r){const t=null!==(f=e.storedMarks)&&void 0!==f?f:r.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:o}=i;return o.some((({$from:t,$to:f})=>{let i=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,f.pos,((e,t,f)=>{if(i)return!1;if(e.isInline){const t=!f||f.type.allowsMarkType(n),r=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));i=t&&r}return!i})),i}))}(f,n,s)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:f,chain:i})=>{const r=no(e,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),r.isTextblock?i().command((({commands:e})=>!!Fr(r,{...o,...t})(n)||e.clearNodes())).command((({state:e})=>Fr(r,{...o,...t})(e,f))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,f=Ro(e,0,n.content.size),i=Zt.create(n,f);t.setSelection(i)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:f,to:i}="number"==typeof e?{from:e,to:e}:e,r=Ut.atStart(n).from,o=Ut.atEnd(n).to,a=Ro(f,r,o),s=Ro(i,r,o),l=Ut.create(n,a,s);t.setSelection(l)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>function(e){return function(t,n){let{$from:f,$to:i}=t.selection,r=f.blockRange(i,(t=>t.childCount>0&&t.firstChild.type==e));if(!r)return!1;let o=r.startIndex;if(0==o)return!1;let a=r.parent,s=a.child(o-1);if(s.type!=e)return!1;if(n){let f=s.lastChild&&s.lastChild.type==a.type,i=Y.from(f?e.create():null),o=new F(Y.from(e.create(null,Y.from(a.type.create(null,i)))),f?3:1,0),l=r.start,c=r.end;n(t.tr.step(new lt(l-(f?3:1),c,l,c,o,1,!0)).scrollIntoView())}return!0}}(no(e,t.schema))(t,n),splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:f,editor:i})=>{const{selection:r,doc:o}=t,{$from:a,$to:s}=r,l=qo(i.extensionManager.attributes,a.node().type.name,a.node().attrs);if(r instanceof Zt&&r.node.isBlock)return!(!a.parentOffset||!Mt(o,a.pos))&&(f&&(e&&fa(n,i.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;const c=s.parentOffset===s.parent.content.size,d=0===a.depth?void 0:function(e){for(let t=0;t<e.edgeCount;t+=1){const{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(a.node(-1).contentMatchAt(a.indexAfter(-1)));let u=c&&d?[{type:d,attrs:l}]:void 0,h=Mt(t.doc,t.mapping.map(a.pos),1,u);if(!u&&!h&&Mt(t.doc,t.mapping.map(a.pos),1,d?[{type:d}]:void 0)&&(h=!0,u=d?[{type:d,attrs:l}]:void 0),f){if(h&&(r instanceof Ut&&t.deleteSelection(),t.split(t.mapping.map(a.pos),1,u),d&&!c&&!a.parentOffset&&a.parent.type!==d)){const e=t.mapping.map(a.before()),n=t.doc.resolve(e);a.node(-1).canReplaceWith(n.index(),n.index()+1,d)&&t.setNodeMarkup(t.mapping.map(a.before()),d)}e&&fa(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return h},splitListItem:(e,t={})=>({tr:n,state:f,dispatch:i,editor:r})=>{var o;const a=no(e,f.schema),{$from:s,$to:l}=f.selection,c=f.selection.node;if(c&&c.isBlock||s.depth<2||!s.sameParent(l))return!1;const d=s.node(-1);if(d.type!==a)return!1;const u=r.extensionManager.attributes;if(0===s.parent.content.size&&s.node(-1).childCount===s.indexAfter(-1)){if(2===s.depth||s.node(-3).type!==a||s.index(-2)!==s.node(-2).childCount-1)return!1;if(i){let e=Y.empty;const f=s.index(-1)?1:s.index(-2)?2:3;for(let t=s.depth-f;t>=s.depth-3;t-=1)e=Y.from(s.node(t).copy(e));const i=s.indexAfter(-1)<s.node(-2).childCount?1:s.indexAfter(-2)<s.node(-3).childCount?2:3,r={...qo(u,s.node().type.name,s.node().attrs),...t},l=(null===(o=a.contentMatch.defaultType)||void 0===o?void 0:o.createAndFill(r))||void 0;e=e.append(Y.from(a.createAndFill(null,l)||void 0));const c=s.before(s.depth-(f-1));n.replace(c,s.after(-i),new F(e,4-f,0));let d=-1;n.doc.nodesBetween(c,n.doc.content.size,((e,t)=>{if(d>-1)return!1;e.isTextblock&&0===e.content.size&&(d=t+1)})),d>-1&&n.setSelection(Ut.near(n.doc.resolve(d))),n.scrollIntoView()}return!0}const h=l.pos===s.end()?d.contentMatchAt(0).defaultType:null,p={...qo(u,d.type.name,d.attrs),...t},m={...qo(u,s.node().type.name,s.node().attrs),...t};n.delete(s.pos,l.pos);const g=h?[{type:a,attrs:p},{type:h,attrs:m}]:[{type:a,attrs:p}];if(!Mt(n.doc,s.pos,2))return!1;if(i){const{selection:e,storedMarks:t}=f,{splittableMarks:o}=r.extensionManager,a=t||e.$to.parentOffset&&e.$from.marks();if(n.split(s.pos,2,g).scrollIntoView(),!a||!i)return!0;const l=a.filter((e=>o.includes(e.type.name)));n.ensureMarks(l)}return!0},toggleList:(e,t,n,f={})=>({editor:i,tr:r,state:o,dispatch:a,chain:s,commands:l,can:c})=>{const{extensions:d,splittableMarks:u}=i.extensionManager,h=no(e,o.schema),p=no(t,o.schema),{selection:m,storedMarks:g}=o,{$from:w,$to:M}=m,b=w.blockRange(M),y=g||m.$to.parentOffset&&m.$from.marks();if(!b)return!1;const L=$o((e=>ta(e.type.name,d)))(m);if(b.depth>=1&&L&&b.depth-L.depth<=1){if(L.node.type===h)return l.liftListItem(p);if(ta(L.node.type.name,d)&&h.validContent(L.node.content)&&a)return s().command((()=>(r.setNodeMarkup(L.pos,h),!0))).command((()=>ia(r,h))).command((()=>ra(r,h))).run()}return n&&y&&a?s().command((()=>{const e=c().wrapInList(h,f),t=y.filter((e=>u.includes(e.type.name)));return r.ensureMarks(t),!!e||l.clearNodes()})).wrapInList(h,f).command((()=>ia(r,h))).command((()=>ra(r,h))).run():s().command((()=>!!c().wrapInList(h,f)||l.clearNodes())).wrapInList(h,f).command((()=>ia(r,h))).command((()=>ra(r,h))).run()},toggleMark:(e,t={},n={})=>({state:f,commands:i})=>{const{extendEmptyMarkRange:r=!1}=n,o=Oo(e,f.schema);return ea(f,o,t)?i.unsetMark(o,{extendEmptyMarkRange:r}):i.setMark(o,t)},toggleNode:(e,t,n={})=>({state:f,commands:i})=>{const r=no(e,f.schema),o=no(t,f.schema),a=Zo(f,r,n);let s;return f.selection.$anchor.sameParent(f.selection.$head)&&(s=f.selection.$anchor.parent.attrs),a?i.setNode(o,s):i.setNode(r,{...s,...n})},toggleWrap:(e,t={})=>({state:n,commands:f})=>{const i=no(e,n.schema);return Zo(n,i,t)?f.lift(i):f.wrapIn(i,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let f=0;f<n.length;f+=1){const i=n[f];let r;if(i.spec.isInputRules&&(r=i.getState(e))){if(t){const t=e.tr,n=r.transform;for(let e=n.steps.length-1;e>=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(r.text){const n=t.doc.resolve(r.from).marks();t.replaceWith(r.from,r.to,e.schema.text(r.text,n))}else t.delete(r.from,r.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{const{selection:n}=e,{empty:f,ranges:i}=n;return f||t&&i.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:f,dispatch:i})=>{var r;const{extendEmptyMarkRange:o=!1}=t,{selection:a}=n,s=Oo(e,f.schema),{$from:l,empty:c,ranges:d}=a;if(!i)return!0;if(c&&o){let{from:e,to:t}=a;const f=null===(r=l.marks().find((e=>e.type===s)))||void 0===r?void 0:r.attrs,i=zo(l,s,f);i&&(e=i.from,t=i.to),n.removeMark(e,t,s)}else d.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,s)}));return n.removeStoredMark(s),!0},updateAttributes:(e,t={})=>({tr:n,state:f,dispatch:i})=>{let r=null,o=null;const a=Ho("string"==typeof e?e:e.name,f.schema);return!!a&&("node"===a&&(r=no(e,f.schema)),"mark"===a&&(o=Oo(e,f.schema)),i&&n.selection.ranges.forEach((e=>{const i=e.$from.pos,a=e.$to.pos;let s,l,c,d;n.selection.empty?f.doc.nodesBetween(i,a,((e,t)=>{r&&r===e.type&&(c=Math.max(t,i),d=Math.min(t+e.nodeSize,a),s=t,l=e)})):f.doc.nodesBetween(i,a,((e,f)=>{f<i&&r&&r===e.type&&(c=Math.max(f,i),d=Math.min(f+e.nodeSize,a),s=f,l=e),f>=i&&f<=a&&(r&&r===e.type&&n.setNodeMarkup(f,void 0,{...e.attrs,...t}),o&&e.marks.length&&e.marks.forEach((r=>{if(o===r.type){const s=Math.max(f,i),l=Math.min(f+e.nodeSize,a);n.addMark(s,l,o.create({...r.attrs,...t}))}})))})),l&&(void 0!==s&&n.setNodeMarkup(s,void 0,{...l.attrs,...t}),o&&l.marks.length&&l.marks.forEach((e=>{o===e.type&&n.addMark(c,d,o.create({...e.attrs,...t}))})))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:f})=>function(e,t=null){return function(n,f){let{$from:i,$to:r}=n.selection,o=i.blockRange(r),a=o&&pt(o,e,t);return!!a&&(f&&f(n.tr.wrap(o,a).scrollIntoView()),!0)}}(no(e,n.schema),t)(n,f),wrapInList:(e,t={})=>({state:n,dispatch:f})=>Vr(no(e,n.schema),t)(n,f)});const aa=xo.create({name:"commands",addCommands:()=>({...oa})}),sa=xo.create({name:"drop",addProseMirrorPlugins(){return[new fn({key:new an("tiptapDrop"),props:{handleDrop:(e,t,n,f)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:n,moved:f})}}})]}}),la=xo.create({name:"editable",addProseMirrorPlugins(){return[new fn({key:new an("editable"),props:{editable:()=>this.editor.options.editable}})]}}),ca=new an("focusEvents"),da=xo.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new fn({key:ca,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const f=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(f),!1},blur:(t,n)=>{e.isFocused=!1;const f=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(f),!1}}}})]}}),ua=xo.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:f}=t,{empty:i,$anchor:r}=n,{pos:o,parent:a}=r,s=r.parent.isTextblock&&o>0?t.doc.resolve(o-1):r,l=s.parent.type.spec.isolating,c=r.pos-r.parentOffset,d=l&&1===s.parent.childCount?c===r.pos:Jt.atStart(f).from===o;return!(!i||!a.type.isTextblock||a.textContent.length||!d||d&&"paragraph"===r.parent.type.name)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},f={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Bo()||Go()?i:f},addProseMirrorPlugins(){return[new fn({key:new an("clearDocument"),appendTransaction:(e,t,n)=>{if(e.some((e=>e.getMeta("composition"))))return;const f=e.some((e=>e.docChanged))&&!t.doc.eq(n.doc),i=e.some((e=>e.getMeta("preventClearDocument")));if(!f||i)return;const{empty:r,from:o,to:a}=t.selection,s=Jt.atStart(t.doc).from,l=Jt.atEnd(t.doc).to;if(r||o!==s||a!==l||!na(n.doc))return;const c=n.tr,d=_r({state:n,transaction:c}),{commands:u}=new Kr({editor:this.editor,state:d});return u.clearNodes(),c.steps.length?c:void 0}})]}}),ha=xo.create({name:"paste",addProseMirrorPlugins(){return[new fn({key:new an("tiptapPaste"),props:{handlePaste:(e,t,n)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:n})}}})]}}),pa=xo.create({name:"tabindex",addProseMirrorPlugins(){return[new fn({key:new an("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class ma{get name(){return this.node.type.name}constructor(e,t,n=!1,f=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=f}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!==(e=this.actualDepth)&&void 0!==e?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(0===this.depth)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new ma(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new ma(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new ma(e,this.editor)}get children(){const e=[];return this.node.content.forEach(((t,n)=>{const f=t.isBlock&&!t.isTextblock,i=t.isAtom&&!t.isText,r=this.pos+n+(i?0:1),o=this.resolvedPos.doc.resolve(r);if(!f&&o.depth<=this.depth)return;const a=new ma(o,this.editor,f,f?t:null);f&&(a.actualDepth=this.depth+1),e.push(new ma(o,this.editor,f,f?t:null))})),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,f=this.parent;for(;f&&!n;){if(f.node.type.name===e)if(Object.keys(t).length>0){const e=f.node.attrs,n=Object.keys(t);for(let f=0;f<n.length;f+=1){const i=n[f];if(e[i]!==t[i])break}}else n=f;f=f.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let f=[];if(!this.children||0===this.children.length)return f;const i=Object.keys(t);return this.children.forEach((r=>{n&&f.length>0||(r.node.type.name===e&&i.every((e=>t[e]===r.node.attrs[e]))&&f.push(r),!(n&&f.length>0)&&(f=f.concat(r.querySelectorAll(e,t,n))))})),f}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}}class ga extends Xr{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",(({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n))),this.on("paste",(({event:e,slice:t})=>this.options.onPaste(e,t))),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(e,t,n){const f=document.querySelector(`style[data-tiptap-style${n?`-${n}`:""}]`);if(null!==f)return f;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style"+(n?`-${n}`:""),""),i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),i}('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 0 !important;\n height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const n=ro(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],f=this.state.reconfigure({plugins:n});return this.view.updateState(f),f}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let n=t;if([].concat(e).forEach((e=>{const f="string"==typeof e?`${e}$`:e.key;n=t.filter((e=>!e.key.startsWith(f)))})),t.length===n.length)return;const f=this.state.reconfigure({plugins:n});return this.view.updateState(f),f}createExtensionManager(){var e,t;const n=[...this.options.enableCoreExtensions?[la,To.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),aa,da,ua,pa,sa,ha].filter((e=>"object"!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name])):[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new Io(n,this)}createCommandManager(){this.commandManager=new Kr({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let t;try{t=Fo(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error&&["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message)))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter((e=>"collaboration"!==e.name)),this.createExtensionManager()}}),t=Fo(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const n=Jo(t,this.options.autofocus);this.view=new br(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...null===(e=this.options.editorProps)||void 0===e?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:tn.create({doc:t,selection:n||void 0})});const f=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(f),this.createNodeViews(),this.prependClass();this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction)return this.capturedTransaction?void e.steps.forEach((e=>{var t;return null===(t=this.capturedTransaction)||void 0===t?void 0:t.step(e)})):void(this.capturedTransaction=e);const t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const f=e.getMeta("focus"),i=e.getMeta("blur");f&&this.emit("focus",{editor:this,event:f.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return _o(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,f="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return Zo(e,null,n)||ea(e,null,n);const f=Ho(t,e.schema);return"node"===f?Zo(e,t,n):"mark"===f&&ea(e,t,n)}(this.state,n,f)}getJSON(){return this.state.doc.toJSON()}getHTML(){return uo(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return function(e,t){return So(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...No(this.schema),...n}})}get isEmpty(){return na(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(null!==(e=this.view)&&void 0!==e&&e.docView)}$node(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new ma(t,this)}get $doc(){return this.$pos(0)}}function wa(e){return new mo({find:e.find,handler:({state:t,range:n,match:f})=>{const i=oo(e.getAttributes,void 0,f);if(!1===i||null===i)return null;const{tr:r}=t,o=f[f.length-1],a=f[0];if(o){const f=a.search(/\S/),s=n.from+a.indexOf(o),l=s+o.length;if(Xo(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>s)).length)return null;l<n.to&&r.delete(l,n.to),s>n.from&&r.delete(n.from+f,s);const c=n.from+f+o.length;r.addMark(n.from+f,c,e.type.create(i||{})),r.removeStoredMark(e.type)}}})}function Ma(e){return new mo({find:e.find,handler:({state:t,range:n,match:f,chain:i})=>{const r=oo(e.getAttributes,void 0,f)||{},o=t.tr.delete(n.from,n.to),a=o.doc.resolve(n.from).blockRange(),s=a&&pt(a,e.type,r);if(!s)return null;if(o.wrap(a,s),e.keepMarks&&e.editor){const{selection:n,storedMarks:f}=t,{splittableMarks:i}=e.editor.extensionManager,r=f||n.$to.parentOffset&&n.$from.marks();if(r){const e=r.filter((e=>i.includes(e.type.name)));o.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList";i().updateAttributes(t,r).run()}const l=o.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&bt(o.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(f,l))&&o.join(n.from-1)}})}class ba{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=oo(qr(this,"addOptions",{name:this.name}))),this.storage=oo(qr(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ba(e)}configure(e={}){const t=this.extend({...this.config,addOptions:()=>yo(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){const t=new ba(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=oo(qr(t,"addOptions",{name:t.name})),t.storage=oo(qr(t,"addStorage",{name:t.name,options:t.options})),t}}function ya(e){return new Co({find:e.find,handler:({state:t,range:n,match:f,pasteEvent:i})=>{const r=oo(e.getAttributes,void 0,f,i);if(!1===r||null===r)return null;const{tr:o}=t,a=f[f.length-1],s=f[0];let l=n.to;if(a){const f=s.search(/\S/),i=n.from+s.indexOf(a),c=i+a.length;if(Xo(n.from,n.to,t.doc).filter((t=>t.mark.type.excluded.find((n=>n===e.type&&n!==t.mark.type)))).filter((e=>e.to>i)).length)return null;c<n.to&&o.delete(c,n.to),i>n.from&&o.delete(n.from+f,i),l=n.from+f+a.length,o.addMark(n.from+f,l,e.type.create(r||{})),o.removeStoredMark(e.type)}}})}function La(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ca,va={exports:{}},ja={};
|
|
20
20
|
/**
|
|
21
21
|
* @license React
|
|
22
22
|
* use-sync-external-store-shim.production.min.js
|
|
@@ -34,7 +34,7 @@ import e,{forwardRef as t,useRef as n,useState as f,useDebugValue as i,useEffect
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/"production"===process.env.NODE_ENV?va.exports=function(){if(Ca)return ja;Ca=1;var t=e,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},f=t.useState,i=t.useEffect,r=t.useLayoutEffect,o=t.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var f=t();return!n(e,f)}catch{return!0}}var s=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?function(e,t){return t()}:function(e,t){var n=t(),s=f({inst:{value:n,getSnapshot:t}}),l=s[0].inst,c=s[1];return r((function(){l.value=n,l.getSnapshot=t,a(l)&&c({inst:l})}),[e,n,t]),i((function(){return a(l)&&c({inst:l}),e((function(){a(l)&&c({inst:l})}))}),[e]),o(n),n};return ja.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:s,ja}():va.exports=(ka||(ka=1,"production"!==process.env.NODE_ENV&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=e,n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){for(var t=arguments.length,f=new Array(t>1?t-1:0),i=1;i<t;i++)f[i-1]=arguments[i];!function(e,t,f){var i=n.ReactDebugCurrentFrame,r=i.getStackAddendum();""!==r&&(t+="%s",f=f.concat([r]));var o=f.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,f)}var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,o=t.useEffect,a=t.useLayoutEffect,s=t.useDebugValue,l=!1,c=!1;function d(e){var t=e.getSnapshot,n=e.value;try{var f=t();return!i(n,f)}catch{return!0}}var u=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?function(e,n,u){l||void 0!==t.startTransition&&(l=!0,f("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=n();if(!c){var p=n();i(h,p)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var m=r({inst:{value:h,getSnapshot:n}}),g=m[0].inst,w=m[1];return a((function(){g.value=h,g.getSnapshot=n,d(g)&&w({inst:g})}),[e,h,n]),o((function(){return d(g)&&w({inst:g}),e((function(){d(g)&&w({inst:g})}))}),[e]),s(h),h}:function(e,t,n){return t()},h=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u;Ia.useSyncExternalStore=h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ia);var
|
|
37
|
+
*/"production"===process.env.NODE_ENV?va.exports=function(){if(Ca)return ja;Ca=1;var t=e,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},f=t.useState,i=t.useEffect,r=t.useLayoutEffect,o=t.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var f=t();return!n(e,f)}catch{return!0}}var s=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?function(e,t){return t()}:function(e,t){var n=t(),s=f({inst:{value:n,getSnapshot:t}}),l=s[0].inst,c=s[1];return r((function(){l.value=n,l.getSnapshot=t,a(l)&&c({inst:l})}),[e,n,t]),i((function(){return a(l)&&c({inst:l}),e((function(){a(l)&&c({inst:l})}))}),[e]),o(n),n};return ja.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:s,ja}():va.exports=(ka||(ka=1,"production"!==process.env.NODE_ENV&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=e,n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){for(var t=arguments.length,f=new Array(t>1?t-1:0),i=1;i<t;i++)f[i-1]=arguments[i];!function(e,t,f){var i=n.ReactDebugCurrentFrame,r=i.getStackAddendum();""!==r&&(t+="%s",f=f.concat([r]));var o=f.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,f)}var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,o=t.useEffect,a=t.useLayoutEffect,s=t.useDebugValue,l=!1,c=!1;function d(e){var t=e.getSnapshot,n=e.value;try{var f=t();return!i(n,f)}catch{return!0}}var u=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?function(e,n,u){l||void 0!==t.startTransition&&(l=!0,f("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=n();if(!c){var p=n();i(h,p)||(f("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var m=r({inst:{value:h,getSnapshot:n}}),g=m[0].inst,w=m[1];return a((function(){g.value=h,g.getSnapshot=n,d(g)&&w({inst:g})}),[e,h,n]),o((function(){return d(g)&&w({inst:g}),e((function(){d(g)&&w({inst:g})}))}),[e]),s(h),h}:function(e,t,n){return t()},h=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u;Ia.useSyncExternalStore=h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ia);var xa=va.exports;const Sa=(...e)=>t=>{e.forEach((e=>{"function"==typeof e?e(t):e&&(e.current=t)}))},Na=({contentComponent:t})=>{const n=xa.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return e.createElement(e.Fragment,null,Object.values(n))};class Ta extends e.Component{constructor(t){var n;super(t),this.editorContentRef=e.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!(null===(n=t.editor)||void 0===n||!n.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const e=this.props.editor;if(e&&!e.isDestroyed&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=function(){const e=new Set;let t={};return{subscribe:t=>(e.add(t),()=>{e.delete(t)}),getSnapshot:()=>t,getServerSnapshot:()=>t,setRenderer(n,f){t={...t,[n]:M.createPortal(f.reactElement,f.element,n)},e.forEach((e=>e()))},removeRenderer(n){const f={...t};delete f[n],t=f,e.forEach((e=>e()))}}}(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe((()=>{this.setState((e=>e.hasContentComponentInitialized?e:{hasContentComponentInitialized:!0})),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()}))),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){const e=this.props.editor;if(!e||(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null,!e.options.element.firstChild))return;const t=document.createElement("div");t.append(...e.options.element.childNodes),e.setOptions({element:t})}render(){const{editor:t,innerRef:n,...f}=this.props;return e.createElement(e.Fragment,null,e.createElement("div",{ref:Sa(n,this.editorContentRef),...f}),(null==t?void 0:t.contentComponent)&&e.createElement(Na,{contentComponent:t.contentComponent}))}}const Da=t(((t,n)=>{const f=e.useMemo((()=>Math.floor(4294967295*Math.random()).toString()),[t.editor]);return e.createElement(Ta,{key:f,innerRef:n,...t})})),Aa=e.memo(Da);var Ea,za=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var f,i,r;if(Array.isArray(t)){if((f=t.length)!=n.length)return!1;for(i=f;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((f=t.length)!=n.length)return!1;for(i=f;0!=i--;)if(t[i]!==n[i])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((f=(r=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=f;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,r[i]))return!1;for(i=f;0!=i--;){var o=r[i];if(!("_owner"===o&&t.$$typeof||e(t[o],n[o])))return!1}return!0}return t!=t&&n!=n},Oa=La(za),Pa={exports:{}},Ra={};
|
|
38
38
|
/**
|
|
39
39
|
* @license React
|
|
40
40
|
* use-sync-external-store-shim/with-selector.production.min.js
|
|
@@ -52,4 +52,4 @@ import e,{forwardRef as t,useRef as n,useState as f,useDebugValue as i,useEffect
|
|
|
52
52
|
*
|
|
53
53
|
* This source code is licensed under the MIT license found in the
|
|
54
54
|
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/"production"===process.env.NODE_ENV?Pa.exports=function(){if(Ea)return Ra;Ea=1;var t=e,n=Sa,f="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useSyncExternalStore,r=t.useRef,o=t.useEffect,a=t.useMemo,s=t.useDebugValue;return Ra.useSyncExternalStoreWithSelector=function(e,t,n,l,c){var d=r(null);if(null===d.current){var u={hasValue:!1,value:null};d.current=u}else u=d.current;d=a((function(){function e(e){if(!o){if(o=!0,i=e,e=l(e),void 0!==c&&u.hasValue){var t=u.value;if(c(t,e))return r=t}return r=e}if(t=r,f(i,e))return t;var n=l(e);return void 0!==c&&c(t,n)?t:(i=e,r=n)}var i,r,o=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]}),[t,n,l,c]);var h=i(e,d[0],d[1]);return o((function(){u.hasValue=!0,u.value=h}),[h]),s(h),h},Ra}():Pa.exports=(Ja||(Ja=1,"production"!==process.env.NODE_ENV&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=e,n=Sa,f="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useSyncExternalStore,r=t.useRef,o=t.useEffect,a=t.useMemo,s=t.useDebugValue;Ba.useSyncExternalStoreWithSelector=function(e,t,n,l,c){var d,u=r(null);null===u.current?(d={hasValue:!1,value:null},u.current=d):d=u.current;var h=a((function(){var e,i,r=!1,o=function(t){if(!r){r=!0,e=t;var n=l(t);if(void 0!==c&&d.hasValue){var o=d.value;if(c(o,n))return i=o,o}return i=n,n}var a=i;if(f(e,t))return a;var s=l(t);return void 0!==c&&c(a,s)?a:(e=t,i=s,s)},a=void 0===n?null:n;return[function(){return o(t())},null===a?void 0:function(){return o(a())}]}),[t,n,l,c]),p=h[0],m=h[1],g=i(e,p,m);return o((function(){d.hasValue=!0,d.value=g}),[g]),s(g),g},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ba);var Qa=Pa.exports;const Ya=typeof window<"u"?s:r;class Ua{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach((e=>e()))},t=this.editor;return t.on("transaction",e),()=>{t.off("transaction",e)}}}}const Ga="production"!==process.env.NODE_ENV,Za=typeof window>"u",Ha=Za||!!(typeof window<"u"&&window.next);class Wa{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach((e=>e()))}getInitialEditor(){if(void 0===this.options.current.immediatelyRender)return Za||Ha?(Ga&&console.warn("Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches."),null):this.createEditor();if(this.options.current.immediatelyRender&&Za&&Ga)throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");return this.options.current.immediatelyRender?this.createEditor():null}createEditor(){const e={...this.options.current,onBeforeCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBeforeCreate)||void 0===n?void 0:n.call(t,...e)},onBlur:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBlur)||void 0===n?void 0:n.call(t,...e)},onCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onCreate)||void 0===n?void 0:n.call(t,...e)},onDestroy:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDestroy)||void 0===n?void 0:n.call(t,...e)},onFocus:(...e)=>{var t,n;return null===(n=(t=this.options.current).onFocus)||void 0===n?void 0:n.call(t,...e)},onSelectionUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onSelectionUpdate)||void 0===n?void 0:n.call(t,...e)},onTransaction:(...e)=>{var t,n;return null===(n=(t=this.options.current).onTransaction)||void 0===n?void 0:n.call(t,...e)},onUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onUpdate)||void 0===n?void 0:n.call(t,...e)},onContentError:(...e)=>{var t,n;return null===(n=(t=this.options.current).onContentError)||void 0===n?void 0:n.call(t,...e)},onDrop:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDrop)||void 0===n?void 0:n.call(t,...e)},onPaste:(...e)=>{var t,n;return null===(n=(t=this.options.current).onPaste)||void 0===n?void 0:n.call(t,...e)}};return new ga(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every((n=>!!["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(n)||("extensions"===n&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every(((e,n)=>{var f;return e===(null===(f=t.extensions)||void 0===f?void 0:f[n])})):e[n]===t[n])))}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===e.length?Wa.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps)return void(this.previousDeps=e);if(this.previousDeps.length===e.length&&this.previousDeps.every(((t,n)=>t===e[n])))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout((()=>{this.isComponentMounted&&this.instanceId===e?t&&t.setOptions(this.options.current):t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))}),1)}}function Fa(e={},t=[]){const o=n(e);o.current=e;const[a]=f((()=>new Wa(o))),s=Sa.useSyncExternalStore(a.subscribe,a.getEditor,a.getServerSnapshot);return i(s),r(a.onRender(t)),function(e){var t;const[n]=f((()=>new Ua(e.editor))),r=Qa.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,null!==(t=e.equalityFn)&&void 0!==t?t:Oa);Ya((()=>n.watch(e.editor)),[e.editor,n]),i(r)}({editor:s,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),s}o({editor:null}).Consumer;const Va=o({onDragStart:void 0});e.forwardRef(((t,n)=>{const{onDragStart:f}=a(Va),i=t.as||"div";return e.createElement(i,{...t,ref:n,"data-node-view-wrapper":"",onDragStart:f,style:{whiteSpace:"normal",...t.style}})}));const $a=Object.freeze({left:0,top:0,width:16,height:16}),_a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ka=Object.freeze({...$a,..._a}),Xa=Object.freeze({...Ka,body:"",hidden:!1});function qa(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const f=((e.rotate||0)+(t.rotate||0))%4;return f&&(n.rotate=f),n}(e,t);for(const f in Xa)f in _a?f in e&&!(f in n)&&(n[f]=_a[f]):f in t?n[f]=t[f]:f in e&&(n[f]=e[f]);return n}function es(e,t,n){const f=e.icons,i=e.aliases||Object.create(null);let r={};function o(e){r=qa(f[e]||i[e],r)}return o(t),n.forEach(o),qa(e,r)}function ts(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const f=function(e,t){const n=e.icons,f=e.aliases||Object.create(null),i=Object.create(null);return(t||Object.keys(n).concat(Object.keys(f))).forEach((function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;const n=f[t]&&f[t].parent,r=n&&e(n);r&&(i[t]=[n].concat(r))}return i[t]})),i}(e);for(const i in f){const r=f[i];r&&(t(i,es(e,i,r)),n.push(i))}return n}const ns=/^[a-z0-9]+(-[a-z0-9]+)*$/,fs=(e,t,n,f="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;f=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),r={provider:i.length>0?i[0]:f,prefix:n,name:e};return t&&!is(r)?null:r}const r=i[0],o=r.split("-");if(o.length>1){const e={provider:f,prefix:o.shift(),name:o.join("-")};return t&&!is(e)?null:e}if(n&&""===f){const e={provider:f,prefix:"",name:r};return t&&!is(e,n)?null:e}return null},is=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(ns)||!(t&&""===e.prefix||e.prefix.match(ns))||!e.name.match(ns)),rs={provider:"",aliases:{},not_found:{},...$a};function as(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ss(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!as(e,rs))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(ns)||"string"!=typeof t.body||!as(t,Xa))return null}const f=t.aliases||Object.create(null);for(const e in f){const t=f[e],i=t.parent;if(!e.match(ns)||"string"!=typeof i||!n[i]&&!f[i]||!as(t,Xa))return null}return t}const ls=Object.create(null);function cs(e,t){const n=ls[e]||(ls[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function ds(e,t){return ss(t)?ts(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let us=!1;function hs(e){return"boolean"==typeof e&&(us=e),us}function ps(e){const t="string"==typeof e?fs(e,!0,us):e;if(t){const e=cs(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function ms(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),us&&!t&&!e.prefix){let t=!1;return ss(e)&&(e.prefix="",ts(e,((e,n)=>{n&&function(e,t){const n=fs(e,!0,us);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(cs(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!is({provider:t,prefix:n,name:"a"}))return!1;return!!ds(cs(t,n),e)}const gs=Object.freeze({width:null,height:null}),ws=Object.freeze({...gs,..._a}),Ms=/(-?[0-9.]*[0-9]+[0-9.]*)/g,bs=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ys(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const f=e.split(Ms);if(null===f||!f.length)return e;const i=[];let r=f.shift(),o=bs.test(r);for(;;){if(o){const e=parseFloat(r);isNaN(e)?i.push(r):i.push(Math.ceil(e*t*n)/n)}else i.push(r);if(r=f.shift(),void 0===r)return i.join("");o=!o}}const Ls=/\sid="(\S+)"/g,Cs="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let vs=0;function js(e,t=Cs){const n=[];let f;for(;f=Ls.exec(e);)n.push(f[1]);if(!n.length)return e;const i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const f="function"==typeof t?t(n):t+(vs++).toString(),r=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+f+i+"$3")})),e=e.replace(new RegExp(i,"g"),"")}const ks=Object.create(null);function Is(e){return ks[e]||ks[""]}function Ss(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const xs=Object.create(null),Ns=["https://api.simplesvg.com","https://api.unisvg.com"],Ts=[];for(;Ns.length>0;)1===Ns.length||Math.random()>.5?Ts.push(Ns.shift()):Ts.push(Ns.pop());function Ds(e,t){const n=Ss(t);return null!==n&&(xs[e]=n,!0)}function As(e){return xs[e]}xs[""]=Ss({resources:["https://api.iconify.design"].concat(Ts)});let Es=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const zs={prepare:(e,t,n)=>{const f=[],i=function(e,t){const n=As(e);if(!n)return 0;let f;if(n.maxURL){let e=0;n.resources.forEach((t=>{e=Math.max(e,t.length)}));const i=t+".json?icons=";f=n.maxURL-e-n.path.length-i.length}else f=0;return f}(e,t),r="icons";let o={type:r,provider:e,prefix:t,icons:[]},a=0;return n.forEach(((n,s)=>{a+=n.length+1,a>=i&&s>0&&(f.push(o),o={type:r,provider:e,prefix:t,icons:[]},a=n.length),o.icons.push(n)})),f.push(o),f},send:(e,t,n)=>{if(!Es)return void n("abort",424);let f=function(e){if("string"==typeof e){const t=As(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");f+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;f+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let i=503;Es(e+f).then((e=>{const t=e.status;if(200===t)return i=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",i)}))})).catch((()=>{n("next",i)}))}};function Os(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let Ps=0;var Rs={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Js(e,t,n,f){const i=e.resources.length,r=e.random?Math.floor(Math.random()*i):e.index;let o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){const e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(r).concat(e.resources.slice(0,r));const a=Date.now();let s,l="pending",c=0,d=null,u=[],h=[];function p(){d&&(clearTimeout(d),d=null)}function m(){"pending"===l&&(l="aborted"),p(),u.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),u=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function w(){l="failed",h.forEach((e=>{e(void 0,s)}))}function M(){u.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),u=[]}function b(){if("pending"!==l)return;p();const f=o.shift();if(void 0===f)return u.length?void(d=setTimeout((()=>{p(),"pending"===l&&(M(),w())}),e.timeout)):void w();const i={status:"pending",resource:f,callback:(t,n)=>{!function(t,n,f){const i="success"!==n;switch(u=u.filter((e=>e!==t)),l){case"pending":break;case"failed":if(i||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return s=f,void w();if(i)return s=f,void(u.length||(o.length?b():w()));if(p(),M(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",h.forEach((e=>{e(f)}))}(i,t,n)}};u.push(i),c++,d=setTimeout(b,e.rotate),n(f,t,i.callback)}return"function"==typeof f&&h.push(f),setTimeout(b),function(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:u.length,subscribe:g,abort:m}}}function Bs(e){const t={...Rs,...e};let n=[];function f(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,i,r){const o=Js(t,e,i,((e,t)=>{f(),r&&r(e,t)}));return n.push(o),o},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:f}}function Qs(){}const Ys=Object.create(null);function Us(e,t,n){let f,i;if("string"==typeof e){const t=Is(e);if(!t)return n(void 0,424),Qs;i=t.send;const r=function(e){if(!Ys[e]){const t=As(e);if(!t)return;const n={config:t,redundancy:Bs(t)};Ys[e]=n}return Ys[e]}(e);r&&(f=r.redundancy)}else{const t=Ss(e);if(t){f=Bs(t);const n=Is(e.resources?e.resources[0]:"");n&&(i=n.send)}}return f&&i?f.query(t,i,n)().abort:(n(void 0,424),Qs)}const Gs="iconify2",Zs="iconify",Hs=Zs+"-count",Ws=Zs+"-version",Fs=36e5,Vs=168,$s=50;function _s(e,t){try{return e.getItem(t)}catch{}}function Ks(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Xs(e,t){try{e.removeItem(t)}catch{}}function qs(e,t){return Ks(e,Hs,t.toString())}function el(e){return parseInt(_s(e,Hs))||0}const tl={local:!0,session:!0},nl={local:new Set,session:new Set};let fl=!1;let il=typeof window>"u"?{}:window;function rl(e){const t=e+"Storage";try{if(il&&il[t]&&"number"==typeof il[t].length)return il[t]}catch{}tl[e]=!1}function ol(e,t){const n=rl(e);if(!n)return;const f=_s(n,Ws);if(f!==Gs){if(f){const e=el(n);for(let t=0;t<e;t++)Xs(n,Zs+t.toString())}return Ks(n,Ws,Gs),void qs(n,0)}const i=Math.floor(Date.now()/Fs)-Vs,r=e=>{const f=Zs+e.toString(),r=_s(n,f);if("string"==typeof r){try{const n=JSON.parse(r);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>i&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch{}Xs(n,f)}};let o=el(n);for(let t=o-1;t>=0;t--)r(t)||(t===o-1?(o--,qs(n,o)):nl[e].add(t))}function al(){if(!fl){fl=!0;for(const e in tl)ol(e,(e=>{const t=e.data,n=cs(e.provider,t.prefix);if(!ds(n,t).length)return!1;const f=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,f):f,!0}))}}function sl(e,t){function n(n){let f;if(!tl[n]||!(f=rl(n)))return;const i=nl[n];let r;if(i.size)i.delete(r=Array.from(i).shift());else if(r=el(f),r>=$s||!qs(f,r+1))return;const o={cached:Math.floor(Date.now()/Fs),provider:e.provider,data:t};return Ks(f,Zs+r.toString(),JSON.stringify(o))}fl||al(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in tl)ol(n,(n=>{const f=n.data;return n.provider!==e.provider||f.prefix!==e.prefix||f.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function ll(){}function cl(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const f=e.provider,i=e.prefix;t.forEach((t=>{const r=t.icons,o=r.pending.length;r.pending=r.pending.filter((t=>{if(t.prefix!==i)return!0;const o=t.name;if(e.icons[o])r.loaded.push({provider:f,prefix:i,name:o});else{if(!e.missing.has(o))return n=!0,!0;r.missing.push({provider:f,prefix:i,name:o})}return!1})),r.pending.length!==o&&(n||Os([e],t.id),t.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),t.abort))}))})))}(e)})))}const dl=(e,t)=>{const n=function(e,t=!0,n=!1){const f=[];return e.forEach((e=>{const i="string"==typeof e?fs(e,t,n):e;i&&f.push(i)})),f}(e,!0,hs()),f=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let f={provider:"",prefix:"",name:""};return e.forEach((e=>{if(f.name===e.name&&f.prefix===e.prefix&&f.provider===e.provider)return;f=e;const i=e.provider,r=e.prefix,o=e.name,a=n[i]||(n[i]=Object.create(null)),s=a[r]||(a[r]=cs(i,r));let l;l=o in s.icons?t.loaded:""===r||s.missing.has(o)?t.missing:t.pending;const c={provider:i,prefix:r,name:o};l.push(c)})),t}(n);if(!f.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(f.loaded,f.missing,f.pending,ll)})),()=>{e=!1}}const i=Object.create(null),r=[];let o,a;return f.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===a&&t===o)return;o=t,a=n,r.push(cs(t,n));const f=i[t]||(i[t]=Object.create(null));f[n]||(f[n]=[])})),f.pending.forEach((e=>{const{provider:t,prefix:n,name:f}=e,r=cs(t,n),o=r.pendingIcons||(r.pendingIcons=new Set);o.has(f)||(o.add(f),i[t][n].push(f))})),r.forEach((e=>{const{provider:t,prefix:n}=e;i[t][n].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,f=e.iconsToLoad;let i;delete e.iconsToLoad,f&&(i=Is(t))&&i.prepare(t,n,f).forEach((n=>{Us(t,n,(t=>{if("object"!=typeof t)n.icons.forEach((t=>{e.missing.add(t)}));else try{const n=ds(e,t);if(!n.length)return;const f=e.pendingIcons;f&&n.forEach((e=>{f.delete(e)})),sl(e,t)}catch(e){console.error(e)}cl(e)}))}))})))}(e,i[t][n])})),t?function(e,t,n){const f=Ps++,i=Os.bind(null,n,f);if(!t.pending.length)return i;const r={id:f,icons:t,callback:e,abort:i};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(r)})),i}(t,f,r):ll};const ul=/[\s,]+/;function hl(e,t){t.split(ul).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function pl(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function f(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:f(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?f(i):0)}}return t}function ml(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let gl;function wl(e){return void 0===gl&&function(){try{gl=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{gl=null}}(),gl?gl.createHTML(e):e}const Ml={...ws,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},yl={display:"inline-block"},Ll={backgroundColor:"currentColor"},Cl={backgroundColor:"transparent"},vl={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jl={WebkitMask:Ll,mask:Ll,background:Cl};for(const e in jl){const t=jl[e];for(const n in vl)t[e+n]=vl[n]}const kl={...Ml,inline:!0};function Il(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Sl=(e,t,n)=>{const f=t.inline?kl:Ml,i=function(e,t){const n={...e};for(const e in t){const f=t[e],i=typeof f;e in gs?(null===f||f&&("string"===i||"number"===i))&&(n[e]=f):i===typeof n[e]&&(n[e]="rotate"===e?f%4:f)}return n}(f,t),r=t.mode||"svg",o={},a=t.style||{},s={..."svg"===r?bl:{}};if(n){const e=fs(n,!1,!0);if(e){const t=["iconify"],n=["provider","prefix"];for(const f of n)e[f]&&t.push("iconify--"+e[f]);s.className=t.join(" ")}}for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":break;case"_ref":s.ref=n;break;case"className":s[e]=(s[e]?s[e]+" ":"")+n;break;case"inline":case"hFlip":case"vFlip":i[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&hl(i,n);break;case"color":o.color=n;break;case"rotate":"string"==typeof n?i[e]=pl(n):"number"==typeof n&&(i[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete s["aria-hidden"];break;default:void 0===f[e]&&(s[e]=n)}}const c=function(e,t){const n={...Ka,...e},f={...ws,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,f].forEach((e=>{const t=[],n=e.hFlip,f=e.vFlip;let o,a=e.rotate;switch(n?f?a+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):f&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:o=i.height/2+i.top,t.unshift("rotate(90 "+o.toString()+" "+o.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:o=i.width/2+i.left,t.unshift("rotate(-90 "+o.toString()+" "+o.toString()+")")}a%2==1&&(i.left!==i.top&&(o=i.left,i.left=i.top,i.top=o),i.width!==i.height&&(o=i.width,i.width=i.height,i.height=o)),t.length&&(r=function(e,t,n){const f=function(e,t="defs"){let n="";const f=e.indexOf("<"+t);for(;f>=0;){const i=e.indexOf(">",f),r=e.indexOf("</"+t);if(-1===i||-1===r)break;const o=e.indexOf(">",r);if(-1===o)break;n+=e.slice(i+1,r).trim(),e=e.slice(0,f).trim()+e.slice(o+1)}return{defs:n,content:e}}(e);return function(e,t){return e?"<defs>"+e+"</defs>"+t:t}(f.defs,t+f.content+n)}(r,'<g transform="'+t.join(" ")+'">',"</g>"))}));const o=f.width,a=f.height,s=i.width,l=i.height;let c,d;null===o?(d=null===a?"1em":"auto"===a?l:a,c=ys(d,s/l)):(c="auto"===o?s:o,d=null===a?ys(c,l/s):"auto"===a?l:a);const u={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(u[e]=t.toString())};h("width",c),h("height",d);const p=[i.left,i.top,s,l];return u.viewBox=p.join(" "),{attributes:u,viewBox:p,body:r}}(e,i),d=c.attributes;if(i.inline&&(o.verticalAlign="-0.125em"),"svg"===r){s.style={...o,...a},Object.assign(s,d);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),s.dangerouslySetInnerHTML={__html:wl(js(c.body,n?()=>n+"ID"+e++:"iconifyReact"))},l("svg",s)}const{body:u,width:h,height:p}=e,m="mask"===r||"bg"!==r&&-1!==u.indexOf("currentColor"),g=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(u,{...d,width:h+"",height:p+""});return s.style={...o,"--svg":ml(g),width:Il(d.width),height:Il(d.height),...yl,...m?Ll:Cl,...a},l("span",s)};var xl;if(hs(!0),xl=zs,ks[""]=xl,typeof document<"u"&&typeof window<"u"){al();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!ms(e))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const f=t[e];if("object"!=typeof f||!f||void 0===f.resources)continue;Ds(e,f)||console.error(n)}catch{console.error(n)}}}}function Nl(e){const[t,n]=f(!!e.ssr),[i,o]=f({});const[a,s]=f(function(t){if(t){const t=e.icon;if("object"==typeof t)return{name:"",data:t};const n=ps(t);if(n)return{name:t,data:n}}return{name:""}}(!!e.ssr));function c(){const e=i.callback;e&&(e(),o({}))}function d(e){if(JSON.stringify(a)!==JSON.stringify(e))return c(),s(e),!0}function u(){var t;const n=e.icon;if("object"==typeof n)return void d({name:"",data:n});const f=ps(n);if(d({name:n,data:f}))if(void 0===f){const e=dl([n],u);o({callback:e})}else f&&(null===(t=e.onLoad)||void 0===t||t.call(e,n))}r((()=>(n(!0),c)),[]),r((()=>{t&&u()}),[e.icon,t]);const{name:h,data:p}=a;return p?Sl({...Ka,...p},e,h):e.children?e.children:l("span",{})}const Tl=t(((e,t)=>Nl({...e,_ref:t})));t(((e,t)=>Nl({inline:!0,...e,_ref:t})));const Dl=()=>{const[e,t]=f(null),n=!!e,i=c((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:c((()=>{t(null)}),[]),handleOpen:i,anchorEl:e}},Al=e=>O.jsx(b,{...e,sx:{"&.MuiMenuItem-root":{color:"var(--colors-delta-700)",fontSize:"14px",lineHeight:"20px"}},children:e.children}),El={en:{emojis:"Emojis",heading1:"Heading 1",heading2:"Heading 2",bold:"Bold",italic:"Italic",link:"Link",more:"More",close:"Close",ordered_list:"Ordered list",bullet_list:"Bullet list",font_size:"Font size"},no:{emojis:"Emojier",heading1:"Overskrift 1",heading2:"Overskrift 2",bold:"Fet",italic:"Kursiv",link:"Lenke",more:"Mer",close:"Lukk",ordered_list:"Nummerert liste",bullet_list:"Punktliste",font_size:"Skriftstørrelse"}};function zl(e="en"){return d((()=>El[e]??El.en),[e])}const Ol={small:"10px",normal:"16px",large:"24px",huge:"32px"},Pl=e=>{const{editor:t,isNorsk:n,locale:i}=e,[r,o]=f("normal"),a=e=>{t.chain().focus().setMark("textStyle",{fontSize:Ol[e]}).run(),o(e)},{anchorEl:l,open:c,handleClose:d,handleOpen:u}=Dl();s((()=>{const{from:e,to:n}=t.state.selection;t.state.doc.nodesBetween(e-1,n,(e=>{if(e.marks){const t=e.marks.find((e=>"textStyle"===e.type.name)),n=null==t?void 0:t.attrs.fontSize,f=Object.keys(Ol).find((e=>Ol[e]===n))||"normal";o(f)}}))}),[t.state.selection,t.state.doc]);const h=zl(i);return O.jsxs(O.Fragment,{children:[O.jsx(y,{title:h.font_size,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{size:"small",dataTest:"richeditor-more-menu-button",variant:"textGray",onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),u(e)},className:"font-normal capitalize",onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},endIcon:O.jsx(Tl,{icon:"tabler:caret-up-down-filled",fontSize:20}),children:r})})}),O.jsxs(C,{disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:c,anchorEl:l,onClose:d,onMouseDown:e=>{e.preventDefault(),d()},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:[O.jsx(Al,{value:"small",selected:"small"===r,onMouseDown:e=>{e.preventDefault(),a("small")},children:n?"Liten":"Small"}),O.jsx(Al,{value:"normal",selected:"normal"===r,onMouseDown:e=>{e.preventDefault(),a("normal")},children:"Normal"}),O.jsx(Al,{value:"large",selected:"large"===r,onMouseDown:e=>{e.preventDefault(),a("large")},children:n?"Stor":"Large"}),O.jsx(Al,{value:"huge",selected:"huge"===r,onMouseDown:e=>{e.preventDefault(),a("huge")},children:n?"Enorm":"Huge"})]})]})},Rl=({editor:e,onClose:t,error:i,focused:r,openLinkDialog:o,openEmojiPicker:a,locale:l,emojiButtonRef:c})=>{const[u,h]=f(0),p=n(null),m=zl(l),g=d((()=>"no"===l),[l]),[w,M]=f(!1),[k,I]=f([]);s((()=>{const t=new ResizeObserver((()=>{var t;if(p.current){const n=p.current.clientWidth;M(n<(g?416:420));const f=null==(t=[{width:g?296:300,buttons:3},{width:g?340:342,buttons:4},{width:g?374:378,buttons:5},{width:g?416:420,buttons:6},{width:g?416:420,buttons:7},{width:1/0,buttons:9}].find((e=>n<e.width)))?void 0:t.buttons;h(void 0!==f?f:8);const i=[];Number(f)<8&&i.push(O.jsx(y,{title:m.link,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:e=>{e.preventDefault(),o()},selected:e.isActive("link"),children:O.jsx(v,{})},"link")})},"link")),Number(f)<7&&i.push(O.jsx(y,{title:m.italic,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleItalic().run()},selected:e.isActive("italic"),children:O.jsx(Tl,{icon:"material-symbols:format-italic",height:20})},"italic")})},"italic")),Number(f)<6&&i.push(O.jsx(y,{title:m.bold,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBold().run()},selected:e.isActive("bold"),children:O.jsx(Tl,{icon:"ooui:bold-b"})},"bold")})},"bold")),Number(f)<5&&i.push(O.jsx(y,{title:m.ordered_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleOrderedList().run()},selected:e.isActive("orderedList"),children:O.jsx(Tl,{icon:"mdi:format-list-numbered",fontSize:20})},"ordered")})},"ordered")),Number(f)<4&&i.push(O.jsx(y,{title:m.bullet_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBulletList().run()},selected:e.isActive("bulletList"),children:O.jsx(Tl,{icon:"mdi:format-list-bulleted",fontSize:20})},"bullet")})},"bullet")),I(i)}}));return p.current&&t.observe(p.current),()=>t.disconnect()}),[e,o,g]);const{anchorEl:S,open:x,handleClose:N,handleOpen:T}=Dl();return O.jsx(O.Fragment,{children:O.jsxs("div",{className:R("toolbar",{"toolbar-error":i,"toolbar-focused":r}),ref:p,children:[O.jsxs("div",{className:"flex flex-row items-center gap-1",children:[u>=1&&O.jsx(y,{arrow:!0,title:m.emojis,placement:"top",children:O.jsx("span",{ref:c,children:O.jsx(L,{dataTest:"richeditor-emoji-button",size:"large",variant:"textGray",onMouseDown:e=>{e.preventDefault(),a()},style:{minWidth:40,maxWidth:40},startIcon:O.jsx(Tl,{icon:"mdi:emoticon-outline",width:24,height:24})})})}),u>=2&&O.jsx(y,{title:m.heading1,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-h1-button",className:"text-delta-700 text-sm font-semibold",size:"large",variant:e.isActive("heading",{level:1})?"text":"textGray",style:{minWidth:40,maxWidth:40,padding:0},onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:1}).run()},children:"H1"})})}),u>=3&&O.jsx(y,{title:m.heading2,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-h2-button",className:"text-delta-700 text-sm font-semibold",size:"large",variant:e.isActive("heading",{level:2})?"text":"textGray",style:{minWidth:40,maxWidth:40,padding:0},onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:2}).run()},children:"H2"})})}),u>=4&&O.jsx(Pl,{editor:e,isNorsk:g,locale:l}),u>=5&&O.jsx(y,{title:m.bullet_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-bullet-list-button",size:"large",variant:e.isActive("bulletList")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBulletList().run()},startIcon:O.jsx(Tl,{icon:"mdi:format-list-bulleted",width:24,height:24})})})}),u>=6&&O.jsx(y,{title:m.ordered_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-ordered-list-button",size:"large",variant:e.isActive("orderedList")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleOrderedList().run()},startIcon:O.jsx(Tl,{icon:"mdi:format-list-numbered",width:24,height:24})})})}),u>=7&&O.jsx(y,{title:m.bold,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-bold-button",size:"large",variant:e.isActive("bold")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBold().run()},startIcon:O.jsx(Tl,{icon:"ooui:bold-b",width:16,height:16})})})}),u>=8&&O.jsx(y,{title:m.italic,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-italic-button",size:"large",variant:e.isActive("italic")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleItalic().run()},startIcon:O.jsx(Tl,{icon:"material-symbols:format-italic",width:24,height:24})})})}),u>=9&&O.jsx(y,{title:m.link,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-link-button",size:"large",variant:e.isActive("link")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:e=>{e.preventDefault(),o()},startIcon:O.jsx(v,{width:24,height:24})})})}),w&&O.jsxs(O.Fragment,{children:[O.jsx(y,{title:m.more,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{size:"large",dataTest:"richeditor-more-menu-button",variant:"text",onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),T(e)},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},children:O.jsx(j,{className:"text-delta-800",width:20,height:20})})})}),O.jsx(C,{disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:x,anchorEl:S,onClose:N,onMouseDown:e=>{e.preventDefault(),N()},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:k})]})]}),O.jsx(L,{dataTest:"richeditor-close-toolbar-button",size:"large",variant:"text",onMouseDown:e=>{e.preventDefault(),t()},children:m.close})]})})},Jl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Bl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Ql=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Yl=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Ul=Lo.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[wa({find:Jl,type:this.type}),wa({find:Ql,type:this.type})]},addPasteRules(){return[ya({find:Bl,type:this.type}),ya({find:Yl,type:this.type})]}}),Gl="textStyle",Zl=/^\s*([-+*])\s$/,Hl=ba.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(Gl)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=Ma({find:Zl,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Ma({find:Zl,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Gl),editor:this.editor})),[e]}}),Wl=ba.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map((e=>({tag:`h${e}`,attrs:{level:e}})))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,fo(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce(((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})})),{})},addInputRules(){return this.options.levels.map((e=>function(e){return new mo({find:e.find,handler:({state:t,range:n,match:f})=>{const i=t.doc.resolve(n.from),r=oo(e.getAttributes,void 0,f)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,r)}})}({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}})))}}),Fl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Vl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,$l=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,_l=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Kl=Lo.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[wa({find:Fl,type:this.type}),wa({find:$l,type:this.type})]},addPasteRules(){return[ya({find:Vl,type:this.type}),ya({find:_l,type:this.type})]}}),Xl="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",ql="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",ec=(e,t)=>{for(const n in t)e[n]=t[n];return e},tc="numeric",nc="ascii",fc="alpha",ic="asciinumeric",rc="alphanumeric",oc="domain",ac="emoji",sc="scheme",lc="slashscheme",cc="whitespace";function dc(e,t){return e in t||(t[e]=[]),t[e]}function uc(e,t,n){t[tc]&&(t[ic]=!0,t[rc]=!0),t[nc]&&(t[ic]=!0,t[fc]=!0),t[ic]&&(t[rc]=!0),t[fc]&&(t[rc]=!0),t[rc]&&(t[oc]=!0),t[ac]&&(t[oc]=!0);for(const f in t){const t=dc(f,n);t.indexOf(e)<0&&t.push(e)}}function hc(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}hc.groups={},hc.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const f=t.jr[n][0],i=t.jr[n][1];if(i&&f.test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,f){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,f)},tr(e,t,n,f){let i;return f=f||hc.groups,t&&t.j?i=t:(i=new hc(t),n&&f&&uc(t,n,f)),this.jr.push([e,i]),i},ts(e,t,n,f){let i=this;const r=e.length;if(!r)return i;for(let t=0;t<r-1;t++)i=i.tt(e[t]);return i.tt(e[r-1],t,n,f)},tt(e,t,n,f){f=f||hc.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const r=t;let o,a=i.go(e);if(a?(o=new hc,ec(o.j,a.j),o.jr.push.apply(o.jr,a.jr),o.jd=a.jd,o.t=a.t):o=new hc,r){if(f)if(o.t&&"string"==typeof o.t){const e=ec(function(e,t){const n={};for(const f in t)t[f].indexOf(e)>=0&&(n[f]=!0);return n}(o.t,f),n);uc(r,e,f)}else n&&uc(r,n,f);o.t=r}return i.j[e]=o,o}};const pc=(e,t,n,f,i)=>e.ta(t,n,f,i),mc=(e,t,n,f,i)=>e.tr(t,n,f,i),gc=(e,t,n,f,i)=>e.ts(t,n,f,i),wc=(e,t,n,f,i)=>e.tt(t,n,f,i),Mc="WORD",bc="UWORD",yc="ASCIINUMERICAL",Lc="ALPHANUMERICAL",Cc="LOCALHOST",vc="TLD",jc="UTLD",kc="SCHEME",Ic="SLASH_SCHEME",Sc="NUM",xc="WS",Nc="NL",Tc="OPENBRACE",Dc="CLOSEBRACE",Ac="OPENBRACKET",Ec="CLOSEBRACKET",zc="OPENPAREN",Oc="CLOSEPAREN",Pc="OPENANGLEBRACKET",Rc="CLOSEANGLEBRACKET",Jc="FULLWIDTHLEFTPAREN",Bc="FULLWIDTHRIGHTPAREN",Qc="LEFTCORNERBRACKET",Yc="RIGHTCORNERBRACKET",Uc="LEFTWHITECORNERBRACKET",Gc="RIGHTWHITECORNERBRACKET",Zc="FULLWIDTHLESSTHAN",Hc="FULLWIDTHGREATERTHAN",Wc="AMPERSAND",Fc="APOSTROPHE",Vc="ASTERISK",$c="AT",_c="BACKSLASH",Kc="BACKTICK",Xc="CARET",qc="COLON",ed="COMMA",td="DOLLAR",nd="DOT",fd="EQUALS",id="EXCLAMATION",rd="HYPHEN",od="PERCENT",ad="PIPE",sd="PLUS",ld="POUND",cd="QUERY",dd="QUOTE",ud="FULLWIDTHMIDDLEDOT",hd="SEMI",pd="SLASH",md="TILDE",gd="UNDERSCORE",wd="EMOJI",Md="SYM";var bd=Object.freeze({__proto__:null,WORD:Mc,UWORD:bc,ASCIINUMERICAL:yc,ALPHANUMERICAL:Lc,LOCALHOST:Cc,TLD:vc,UTLD:jc,SCHEME:kc,SLASH_SCHEME:Ic,NUM:Sc,WS:xc,NL:Nc,OPENBRACE:Tc,CLOSEBRACE:Dc,OPENBRACKET:Ac,CLOSEBRACKET:Ec,OPENPAREN:zc,CLOSEPAREN:Oc,OPENANGLEBRACKET:Pc,CLOSEANGLEBRACKET:Rc,FULLWIDTHLEFTPAREN:Jc,FULLWIDTHRIGHTPAREN:Bc,LEFTCORNERBRACKET:Qc,RIGHTCORNERBRACKET:Yc,LEFTWHITECORNERBRACKET:Uc,RIGHTWHITECORNERBRACKET:Gc,FULLWIDTHLESSTHAN:Zc,FULLWIDTHGREATERTHAN:Hc,AMPERSAND:Wc,APOSTROPHE:Fc,ASTERISK:Vc,AT:$c,BACKSLASH:_c,BACKTICK:Kc,CARET:Xc,COLON:qc,COMMA:ed,DOLLAR:td,DOT:nd,EQUALS:fd,EXCLAMATION:id,HYPHEN:rd,PERCENT:od,PIPE:ad,PLUS:sd,POUND:ld,QUERY:cd,QUOTE:dd,FULLWIDTHMIDDLEDOT:ud,SEMI:hd,SLASH:pd,TILDE:md,UNDERSCORE:gd,EMOJI:wd,SYM:Md});const yd=/[a-z]/,Ld=/\p{L}/u,Cd=/\p{Emoji}/u,vd=/\d/,jd=/\s/,kd="\r",Id="\n",Sd="️",xd="",Nd="";let Td=null,Dd=null;function Ad(e,t){const n=function(e){const t=[],n=e.length;let f=0;for(;f<n;){let i,r=e.charCodeAt(f),o=r<55296||r>56319||f+1===n||(i=e.charCodeAt(f+1))<56320||i>57343?e[f]:e.slice(f,f+2);t.push(o),f+=o.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),f=n.length,i=[];let r=0,o=0;for(;o<f;){let a=e,s=null,l=0,c=null,d=-1,u=-1;for(;o<f&&(s=a.go(n[o]));)a=s,a.accepts()?(d=0,u=0,c=a):d>=0&&(d+=n[o].length,u++),l+=n[o].length,r+=n[o].length,o++;r-=d,o-=u,l-=d,i.push({t:c.t,v:t.slice(r-l,r),s:r-l,e:r})}return i}function Ed(e,t,n,f,i){let r;const o=t.length;for(let n=0;n<o-1;n++){const o=t[n];e.j[o]?r=e.j[o]:(r=new hc(f),r.jr=i.slice(),e.j[o]=r),e=r}return r=new hc(n),r.jr=i.slice(),e.j[t[o-1]]=r,r}function zd(e){const t=[],n=[];let f=0;for(;f<e.length;){let i=0;for(;"0123456789".indexOf(e[f+i])>=0;)i++;if(i>0){t.push(n.join(""));for(let t=parseInt(e.substring(f,f+i),10);t>0;t--)n.pop();f+=i}else n.push(e[f]),f++}return t}const Od={defaultProtocol:"http",events:null,format:Rd,formatHref:Rd,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Pd(e,t=null){let n=ec({},Od);e&&(n=ec(n,e instanceof Pd?e.o:e));const f=n.ignoreTags,i=[];for(let e=0;e<f.length;e++)i.push(f[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}function Rd(e){return e}function Jd(e,t){this.t="token",this.v=e,this.tk=t}function Bd(e,t){class n extends Jd{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Pd.prototype={o:Od,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const f=null!=t;let i=this.o[e];return i&&("object"==typeof i?(i=n.t in i?i[n.t]:Od[e],"function"==typeof i&&f&&(i=i(t,n))):"function"==typeof i&&f&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let f=this.o[e];return"function"==typeof f&&null!=t&&(f=f(t,n.t,n)),f},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},Jd.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),f=e.get("format",t,this);return n&&f.length>n?f.substring(0,n)+"…":f},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Od.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),f=e.get("formatHref",n,this),i=e.get("tagName",n,t),r=this.toFormattedString(e),o={},a=e.get("className",n,t),s=e.get("target",n,t),l=e.get("rel",n,t),c=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return o.href=f,a&&(o.class=a),s&&(o.target=s),l&&(o.rel=l),c&&ec(o,c),{tagName:i,attributes:o,content:r,eventListeners:d}}};const Qd=Bd("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Yd=Bd("text"),Ud=Bd("nl"),Gd=Bd("url",{isLink:!0,toHref(e=Od.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Cc&&e[1].t===qc}}),Zd=e=>new hc(e);function Hd(e,t,n){const f=n[0].s,i=n[n.length-1].e;return new e(t.slice(f,i),n)}const Wd=typeof console<"u"&&console&&console.warn||(()=>{}),Fd={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Vd(e,t=!1){if(Fd.initialized&&Wd(`linkifyjs: already initialized - will not register custom scheme "${e}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');Fd.customSchemes.push([e,t])}function $d(){Fd.scanner=function(e=[]){const t={};hc.groups=t;const n=new hc;null==Td&&(Td=zd(Xl)),null==Dd&&(Dd=zd(ql)),wc(n,"'",Fc),wc(n,"{",Tc),wc(n,"}",Dc),wc(n,"[",Ac),wc(n,"]",Ec),wc(n,"(",zc),wc(n,")",Oc),wc(n,"<",Pc),wc(n,">",Rc),wc(n,"(",Jc),wc(n,")",Bc),wc(n,"「",Qc),wc(n,"」",Yc),wc(n,"『",Uc),wc(n,"』",Gc),wc(n,"<",Zc),wc(n,">",Hc),wc(n,"&",Wc),wc(n,"*",Vc),wc(n,"@",$c),wc(n,"`",Kc),wc(n,"^",Xc),wc(n,":",qc),wc(n,",",ed),wc(n,"$",td),wc(n,".",nd),wc(n,"=",fd),wc(n,"!",id),wc(n,"-",rd),wc(n,"%",od),wc(n,"|",ad),wc(n,"+",sd),wc(n,"#",ld),wc(n,"?",cd),wc(n,'"',dd),wc(n,"/",pd),wc(n,";",hd),wc(n,"~",md),wc(n,"_",gd),wc(n,"\\",_c),wc(n,"・",ud);const f=mc(n,vd,Sc,{[tc]:!0});mc(f,vd,f);const i=mc(f,yd,yc,{[ic]:!0}),r=mc(f,Ld,Lc,{[rc]:!0}),o=mc(n,yd,Mc,{[nc]:!0});mc(o,vd,i),mc(o,yd,o),mc(i,vd,i),mc(i,yd,i);const a=mc(n,Ld,bc,{[fc]:!0});mc(a,yd),mc(a,vd,r),mc(a,Ld,a),mc(r,vd,r),mc(r,yd),mc(r,Ld,r);const s=wc(n,Id,Nc,{[cc]:!0}),l=wc(n,kd,xc,{[cc]:!0}),c=mc(n,jd,xc,{[cc]:!0});wc(n,Nd,c),wc(l,Id,s),wc(l,Nd,c),mc(l,jd,c),wc(c,kd),wc(c,Id),mc(c,jd,c),wc(c,Nd,c);const d=mc(n,Cd,wd,{[ac]:!0});wc(d,"#"),mc(d,Cd,d),wc(d,Sd,d);const u=wc(d,xd);wc(u,"#"),mc(u,Cd,d);const h=[[yd,o],[vd,i]],p=[[yd,null],[Ld,a],[vd,r]];for(let e=0;e<Td.length;e++)Ed(n,Td[e],vc,Mc,h);for(let e=0;e<Dd.length;e++)Ed(n,Dd[e],jc,bc,p);uc(vc,{tld:!0,ascii:!0},t),uc(jc,{utld:!0,alpha:!0},t),Ed(n,"file",kc,Mc,h),Ed(n,"mailto",kc,Mc,h),Ed(n,"http",Ic,Mc,h),Ed(n,"https",Ic,Mc,h),Ed(n,"ftp",Ic,Mc,h),Ed(n,"ftps",Ic,Mc,h),uc(kc,{scheme:!0,ascii:!0},t),uc(Ic,{slashscheme:!0,ascii:!0},t),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const f=e[t][0],i=e[t][1]?{[sc]:!0}:{[lc]:!0};f.indexOf("-")>=0?i[oc]=!0:yd.test(f)?vd.test(f)?i[ic]=!0:i[nc]=!0:i[tc]=!0,gc(n,f,f,i)}return gc(n,"localhost",Cc,{ascii:!0}),n.jd=new hc(Md),{start:n,tokens:ec({groups:t},bd)}}(Fd.customSchemes);for(let e=0;e<Fd.tokenQueue.length;e++)Fd.tokenQueue[e][1]({scanner:Fd.scanner});Fd.parser=function({groups:e}){const t=e.domain.concat([Wc,Vc,$c,_c,Kc,Xc,td,fd,rd,Sc,od,ad,sd,ld,pd,Md,md,gd]),n=[qc,ed,nd,id,od,cd,dd,hd,Pc,Rc,Tc,Dc,Ec,Ac,zc,Oc,Jc,Bc,Qc,Yc,Uc,Gc,Zc,Hc],f=[Wc,Fc,Vc,_c,Kc,Xc,td,fd,rd,Tc,Dc,od,ad,sd,ld,cd,pd,Md,md,gd],i=Zd(),r=wc(i,md);pc(r,f,r),pc(r,e.domain,r);const o=Zd(),a=Zd(),s=Zd();pc(i,e.domain,o),pc(i,e.scheme,a),pc(i,e.slashscheme,s),pc(o,f,r),pc(o,e.domain,o);const l=wc(o,$c);wc(r,$c,l),wc(a,$c,l),wc(s,$c,l);const c=wc(r,nd);pc(c,f,r),pc(c,e.domain,r);const d=Zd();pc(l,e.domain,d),pc(d,e.domain,d);const u=wc(d,nd);pc(u,e.domain,d);const h=Zd(Qd);pc(u,e.tld,h),pc(u,e.utld,h),wc(l,Cc,h);const p=wc(d,rd);wc(p,rd,p),pc(p,e.domain,d),pc(h,e.domain,d),wc(h,nd,u),wc(h,rd,p);const m=wc(h,qc);pc(m,e.numeric,Qd);const g=wc(o,rd),w=wc(o,nd);wc(g,rd,g),pc(g,e.domain,o),pc(w,f,r),pc(w,e.domain,o);const M=Zd(Gd);pc(w,e.tld,M),pc(w,e.utld,M),pc(M,e.domain,o),pc(M,f,r),wc(M,nd,w),wc(M,rd,g),wc(M,$c,l);const b=wc(M,qc),y=Zd(Gd);pc(b,e.numeric,y);const L=Zd(Gd),C=Zd();pc(L,t,L),pc(L,n,C),pc(C,t,L),pc(C,n,C),wc(M,pd,L),wc(y,pd,L);const v=wc(a,qc),j=wc(s,qc),k=wc(j,pd),I=wc(k,pd);pc(a,e.domain,o),wc(a,nd,w),wc(a,rd,g),pc(s,e.domain,o),wc(s,nd,w),wc(s,rd,g),pc(v,e.domain,L),wc(v,pd,L),wc(v,cd,L),pc(I,e.domain,L),pc(I,t,L),wc(I,pd,L);const S=[[Tc,Dc],[Ac,Ec],[zc,Oc],[Pc,Rc],[Jc,Bc],[Qc,Yc],[Uc,Gc],[Zc,Hc]];for(let e=0;e<S.length;e++){const[f,i]=S[e],r=wc(L,f);wc(C,f,r),wc(r,i,L);const o=Zd(Gd);pc(r,t,o);const a=Zd();pc(r,n),pc(o,t,o),pc(o,n,a),pc(a,t,o),pc(a,n,a),wc(o,i,L),wc(a,i,L)}return wc(i,Cc,M),wc(i,Nc,Ud),{start:i,tokens:bd}}(Fd.scanner.tokens);for(let e=0;e<Fd.pluginQueue.length;e++)Fd.pluginQueue[e][1]({scanner:Fd.scanner,parser:Fd.parser});return Fd.initialized=!0,Fd}function _d(e){return Fd.initialized||$d(),function(e,t,n){let f=n.length,i=0,r=[],o=[];for(;i<f;){let a=e,s=null,l=null,c=0,d=null,u=-1;for(;i<f&&!(s=a.go(n[i].t));)o.push(n[i++]);for(;i<f&&(l=s||a.go(n[i].t));)s=null,a=l,a.accepts()?(u=0,d=a):u>=0&&u++,i++,c++;if(u<0)i-=c,i<f&&(o.push(n[i]),i++);else{o.length>0&&(r.push(Hd(Yd,t,o)),o=[]),i-=u,c-=u;const e=d.t,f=n.slice(i-c,i);r.push(Hd(e,t,f))}}return o.length>0&&r.push(Hd(Yd,t,o)),r}(Fd.parser.start,e,Ad(Fd.scanner.start,e))}function Kd(e,t=null,n=null){if(t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const f=new Pd(n),i=_d(e),r=[];for(let e=0;e<i.length;e++){const n=i[e];n.isLink&&(!t||n.t===t)&&f.check(n)&&r.push(n.toFormattedObject(f))}return r}function Xd(e){return new fn({key:new an("autolink"),appendTransaction:(t,n,f)=>{const i=t.some((e=>e.docChanged))&&!n.doc.eq(f.doc),r=t.some((e=>e.getMeta("preventAutolink")));if(!i||r)return;const{tr:o}=f,a=function(e,t){const n=new Pt(e);return t.forEach((e=>{e.steps.forEach((e=>{n.step(e)}))})),n}(n.doc,[...t]);return function(e){const{mapping:t,steps:n}=e,f=[];return t.maps.forEach(((e,i)=>{const r=[];if(e.ranges.length)e.forEach(((e,t)=>{r.push({from:e,to:t})}));else{const{from:e,to:t}=n[i];if(void 0===e||void 0===t)return;r.push({from:e,to:t})}r.forEach((({from:e,to:n})=>{const r=t.slice(i).map(e,-1),o=t.slice(i).map(n),a=t.invert().map(r,-1),s=t.invert().map(o);f.push({oldRange:{from:a,to:s},newRange:{from:r,to:o}})}))})),Ko(f)}(a).forEach((({newRange:t})=>{const n=function(e,t,n){const f=[];return e.nodesBetween(t.from,t.to,((e,t)=>{n(e)&&f.push({node:e,pos:t})})),f}(f.doc,t,(e=>e.isTextblock));let i,r;if(n.length>1?(i=n[0],r=f.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0," ")):n.length&&f.doc.textBetween(t.from,t.to," "," ").endsWith(" ")&&(i=n[0],r=f.doc.textBetween(i.pos,t.to,void 0," ")),i&&r){const t=r.split(" ").filter((e=>""!==e));if(t.length<=0)return!1;const n=t[t.length-1],a=i.pos+r.lastIndexOf(n);if(!n)return!1;const s=_d(n).map((t=>t.toObject(e.defaultProtocol)));if(!function(e){return 1===e.length?e[0].isLink:!(3!==e.length||!e[1].isLink)&&["()","[]"].includes(e[0].value+e[2].value)}(s))return!1;s.filter((e=>e.isLink)).map((e=>({...e,from:a+e.start+1,to:a+e.end+1}))).filter((e=>!f.schema.marks.code||!f.doc.rangeHasMark(e.from,e.to,f.schema.marks.code))).filter((t=>e.validate(t.value))).filter((t=>e.shouldAutoLink(t.value))).forEach((t=>{Xo(t.from,t.to,f.doc).some((t=>t.mark.type===e.type))||o.addMark(t.from,t.to,e.type.create({href:t.href}))}))}})),o.steps.length?o:void 0}})}_d.scan=Ad;const qd=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function eu(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach((e=>{const t="string"==typeof e?e:e.scheme;t&&n.push(t)})),!e||e.replace(qd,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const tu=Lo.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach((e=>{"string"!=typeof e?Vd(e.scheme,e.optionalSlashes):Vd(e)}))},onDestroy(){hc.groups={},Fd.scanner=null,Fd.parser=null,Fd.tokenQueue=[],Fd.pluginQueue=[],Fd.customSchemes=[],Fd.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!eu(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}),addAttributes(){return{href:{default:null,parseHTML:e=>e.getAttribute("href")},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!(!t||!this.options.isAllowedUri(t,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",fo(this.options.HTMLAttributes,e),0]:["a",fo(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().setMark(this.name,e).setMeta("preventAutolink",!0).run()},toggleLink:e=>({chain:t})=>{const{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[ya({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:f}=this.options,i=Kd(e).filter((e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!eu(e,n),protocols:n,defaultProtocol:f})));i.length&&i.forEach((e=>t.push({text:e.value,data:{href:e.href},index:e.start})))}return t},type:this.type,getAttributes:e=>{var t;return{href:null===(t=e.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(Xd({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!eu(e,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),!0===this.options.openOnClick&&e.push(function(e){return new fn({key:new an("handleClickLink"),props:{handleClick:(t,n,f)=>{var i,r;if(0!==f.button||!t.editable)return!1;let o=f.target;const a=[];for(;"DIV"!==o.nodeName;)a.push(o),o=o.parentNode;if(!a.find((e=>"A"===e.nodeName)))return!1;const s=_o(t.state,e.type.name),l=f.target,c=null!==(i=null==l?void 0:l.href)&&void 0!==i?i:s.href,d=null!==(r=null==l?void 0:l.target)&&void 0!==r?r:s.target;return!(!l||!c||(window.open(c,d),0))}}})}({type:this.type})),this.options.linkOnPaste&&e.push(function(e){return new fn({key:new an("handlePasteLink"),props:{handlePaste:(t,n,f)=>{const{state:i}=t,{selection:r}=i,{empty:o}=r;if(o)return!1;let a="";f.content.forEach((e=>{a+=e.textContent}));const s=Kd(a,{defaultProtocol:e.defaultProtocol}).find((e=>e.isLink&&e.value===a));return!(!a||!s)&&e.editor.commands.setMark(e.type,{href:s.href})}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),nu=ba.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",fo(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),fu="textStyle",iu=/^(\d+)\.\s$/,ru=ba.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return 1===t?["ol",fo(this.options.HTMLAttributes,n),0]:["ol",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(fu)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=Ma({find:iu,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Ma({find:iu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(fu)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),ou=ba.create({name:"doc",topNode:!0,content:"block+"}),au=ba.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),su=ba.create({name:"text",group:"inline"}),lu=Lo.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!1}),parseHTML(){return[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&(e=>{if(!e.children.length)return;const t=e.querySelectorAll("span");t&&t.forEach((e=>{var t,n;const f=e.getAttribute("style"),i=null===(n=null===(t=e.parentElement)||void 0===t?void 0:t.closest("span"))||void 0===n?void 0:n.getAttribute("style");e.setAttribute("style",`${i};${f}`)}))})(e),{})}]},renderHTML({HTMLAttributes:e}){return["span",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:e})=>{const{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,((t,n)=>{if(t.isTextblock)return!0;t.marks.filter((e=>e.type===this.type)).some((e=>Object.values(e.attrs).some((e=>!!e))))||e.removeMark(n,n+t.nodeSize,this.type)})),!0}}}});var cu=So.create({name:"fontSize",addOptions:function(){return{types:["textStyle"]}},addGlobalAttributes:function(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:function(e){return e.style.fontSize.replace(/['"]+/g,"")},renderHTML:function(e){return e.fontSize?{style:"font-size: "+e.fontSize}:{}}}}}]},addCommands:function(){return{setFontSize:function(e){return function(t){return(0,t.chain)().setMark("textStyle",{fontSize:e}).run()}},unsetFontSize:function(){return function(e){return(0,e.chain)().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}}});const du=[ou,au,su,lu],uu=[Wl.configure({levels:[1,2]}),nu,Hl,ru,tu,Ul,Kl,cu],hu="_link-dialog-container_jjs9w_1",pu=({open:e,setOpen:t,editor:n,locale:i})=>{const[r,o]=f(""),a=d((()=>"no"===i),[i]);s((()=>{if(e){const{from:e,to:t}=n.state.selection;let f=null;n.state.doc.nodesBetween(e-1,t,(e=>{if(e.marks){const t=e.marks.find((e=>"link"===e.type.name));t&&(f=t.attrs.href)}})),o(f||"");const i=document.querySelector('[data-test="link-input-field"]');null==i||i.focus()}}),[e,n]);return O.jsx(k,{open:e,dataTest:"link-modal-rte",onClose:()=>t(!1),className:"z-[99]",dialogTitle:O.jsx("div",{className:"text-gray-700",children:a?"Legg til lenke":"Add link"}),children:O.jsxs("div",{className:hu,children:[O.jsx("div",{className:"link-input-field",children:O.jsx(I,{autoFocus:!0,multiline:!0,className:"w-full",dataTest:"link-input-field",size:"small",sx:{"& .MuiInputBase-root":{minHeight:64,alignItems:"start"}},value:r,onChange:e=>o(e.target.value)})}),O.jsxs("div",{className:"flex gap-2 p-0 w-full justify-end",children:[O.jsx(L,{dataTest:"delete-customer-reject-button",size:"medium",variant:"outlined",onClick:()=>{t(!1),o("")},children:a?"Avbryt":"Cancel"}),O.jsx(L,{dataTest:"delete-customer-confirm-button",size:"medium",variant:"contained",onClick:()=>{n.chain().focus().setLink({href:r}).run(),t(!1),o("")},children:a?"Legg til lenke":"Add link"})]})]})})},mu=So.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new fn({key:new an("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:f}=t,i=[];if(!n)return null;const r=this.editor.isEmpty;return e.descendants(((e,t)=>{const n=f>=t&&f<=t+e.nodeSize,o=!e.isLeaf&&na(e);if((n||!this.options.showOnlyCurrent)&&o){const f=[this.options.emptyNodeClass];r&&f.push(this.options.emptyEditorClass);const o=Hi.node(t,t+e.nodeSize,{class:f.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});i.push(o)}return this.options.includeChildren})),Vi.create(e,i)}}})]}});function gu(e){return[].concat(e)}function wu(e){return e.startsWith(":")}function Mu(e){return Cu(e)&&("*"===e||e.length>1&&":>~.+*".includes(e.slice(0,1))||vu(e))}function bu(e,t){return(Cu(t)||"number"==typeof t)&&!Lu(e)&&!wu(e)&&!yu(e)}function yu(e){return e.startsWith("@media")}function Lu(e){return"--"===e}function Cu(e){return e+""===e}function vu(e){return Cu(e)&&(e.startsWith("&")||wu(e))}function ju(e,t=""){return e.filter(Boolean).join(t)}function ku(e,t){let n=0;if(0===t.length)return n.toString();for(let e=0;e<t.length;e++){n=(n<<5)-n+t.charCodeAt(e),n&=n}return`${e??"cl"}_${n.toString(36)}`}function Iu(e,t){return`${e}:${t}`}function Su(e){return e?`.${e}`:""}var xu=class e{constructor(e,t,n,f){this.sheet=e,this.property=t,this.value=n,this.selector=f,this.property=t,this.value=n,this.joined=Iu(t,n);const i=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:ku(this.sheet.name,this.joined),this.key=ju([this.joined,i,this.hash])}toString(){let t=Nu(this.selector.preconditions,{right:this.hash});return t=Nu(this.selector.postconditions,{left:t}),`${t} {${e.genRule(this.property,this.value)}}`}static genRule(e,t){const n=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}(e);return Iu(n,function(e,t){return"content"===e?`"${t}"`:t}(e,t))+";"}};function Nu(e,{left:t="",right:n=""}={}){const f=e.reduce(((e,t)=>wu(t)?e+t:vu(t)?e+t.slice(1):ju([e,t]," ")),t);return ju([f,Su(n)]," ")}var Tu;function Du(e,t){for(const n in e)t(n.trim(),e[n])}function Au(...e){return ju(e.reduce(((e,t)=>(t instanceof Set?e.push(...t):"string"==typeof t?e.push(t):Array.isArray(t)?e.push(Au(...t)):"object"==typeof t&&Object.entries(t).forEach((([t,n])=>{n&&e.push(t)})),e)),[])," ").trim()}function Eu(e,t){const n=new class{constructor(e,t){this.name=e,this.rootNode=t,this.storedStyles={},this.storedClasses={},this.style="",this.count=0,this.id=`flairup-${e}`,this.styleTag=this.createStyleTag()}getStyle(){return this.style}append(e){this.style=function(e,t){return e?`${e}\n${t}`:t}(this.style,e)}apply(){this.count++,this.styleTag&&(this.styleTag.innerHTML=this.style)}isApplied(){return!!this.styleTag}createStyleTag(){if(typeof document>"u"||this.isApplied()||null===this.rootNode)return this.styleTag;const e=document.createElement("style");return e.type="text/css",e.id=this.id,(this.rootNode??document.head).appendChild(e),e}addRule(e){const t=this.storedClasses[e.key];return Cu(t)?t:(this.storedClasses[e.key]=e.hash,this.storedStyles[e.hash]=[e.property,e.value],this.append(e.toString()),e.hash)}}(e,t);return{create:function(e){const t={};return zu(n,e,new class e{constructor(e,t=null,{preconditions:n,postconditions:f}={}){this.sheet=e,this.preconditions=[],this.scopeClassName=null,this.scopeName=null,this.postconditions=[],this.preconditions=n?gu(n):[],this.postconditions=f?gu(f):[],this.setScope(t)}setScope(e){return e?(this.scopeClassName||(this.scopeName=e,this.scopeClassName=ku(this.sheet.name,e+this.sheet.count)),this):this}get hasConditions(){return this.preconditions.length>0||this.postconditions.length>0}addScope(t){return new e(this.sheet,t,{preconditions:this.preconditions,postconditions:this.postconditions})}addPrecondition(t){return new e(this.sheet,this.scopeClassName,{postconditions:this.postconditions,preconditions:this.preconditions.concat(t)})}addPostcondition(t){return new e(this.sheet,this.scopeClassName,{preconditions:this.preconditions,postconditions:this.postconditions.concat(t)})}createRule(e,t){return new xu(this.sheet,e,t,this)}}(n)).forEach((([e,f,i])=>{Ou(n,f,i).forEach((n=>{!function(e,n){t[e]=t[e]??new Set,t[e].add(n)}(e,n)}))})),n.apply(),t},getStyle:n.getStyle.bind(n),isApplied:n.isApplied.bind(n)}}function zu(e,t,n){const f=[];return Du(t,((i,r)=>{if(Mu(i))return zu(e,r,n.addPrecondition(i)).forEach((e=>f.push(e)));f.push([i,t[i],n.addScope(i)])})),f}function Ou(e,t,n){const f=new Set;return Du(t,((t,i)=>{let r=[];if(Mu(t))r=Ou(e,i,n.addPostcondition(t));else if(function(e){return"."===e}(t))r=gu(i);else if(yu(t))r=function(e,t,n,f){e.append(n+" {");const i=Ou(e,t,f);return e.append("}"),i}(e,i,t,n);else if(Lu(t))r=function(e,t,n){const f=new Set,i=[];if(Du(t,((t,r)=>{if(bu(t,r))return void i.push(xu.genRule(t,r));Pu(Ou(e,r??{},n),f)})),!n.scopeClassName)return f;if(i.length){const t=i.join(" ");e.append(`${Nu(n.preconditions,{right:n.scopeClassName})} {${t}}`)}return f.add(n.scopeClassName),f}(e,i,n);else if(bu(t,i)){const r=n.createRule(t,i);e.addRule(r),f.add(r.hash)}return Pu(r,f)})),f}function Pu(e,t){return e.forEach((e=>t.add(e))),t}function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var f in n)Object.prototype.hasOwnProperty.call(n,f)&&(e[f]=n[f])}return e},Ru.apply(this,arguments)}function Ju(e,t){return(Ju=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bu(e,t){if(null==e)return{};var n,f,i={},r=Object.keys(e);for(f=0;f<r.length;f++)n=r[f],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}function Qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,f=new Array(t);n<t;n++)f[n]=e[n];return f}function Yu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(e,t)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var f=0;return function(){return f>=e.length?{done:!0}:{done:!1,value:e[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Uu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e){return"."+e})).join("")}!function(e){e.hiddenOnSearch="epr-hidden-on-search",e.searchActive="epr-search-active",e.hidden="epr-hidden",e.visible="epr-visible",e.active="epr-active",e.emoji="epr-emoji",e.category="epr-emoji-category",e.label="epr-emoji-category-label",e.categoryContent="epr-emoji-category-content",e.emojiHasVariations="epr-emoji-has-variations",e.scrollBody="epr-body",e.emojiList="epr-emoji-list",e.external="__EmojiPicker__",e.emojiPicker="EmojiPickerReact",e.open="epr-open",e.vertical="epr-vertical",e.horizontal="epr-horizontal",e.variationPicker="epr-emoji-variation-picker",e.darkTheme="epr-dark-theme",e.autoTheme="epr-auto-theme"}(Tu||(Tu={}));var Gu=Eu("epr",null),Zu={display:"none",opacity:"0",pointerEvents:"none",visibility:"hidden",overflow:"hidden"},Hu=Gu.create({hidden:Ru({".":Tu.hidden},Zu)}),Wu=u((function(){return l("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Gu.getStyle()}})})),Fu=Gu.create({".epr-main":{":has(input:not(:placeholder-shown))":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},hiddenOnSearch:Ru({".":Tu.hiddenOnSearch},Zu)},":has(input:placeholder-shown)":{visibleOnSearchOnly:Zu}},hiddenOnReactions:{transition:"all 0.5s ease-in-out"},".epr-reactions":{hiddenOnReactions:{height:"0px",width:"0px",opacity:"0",pointerEvents:"none",overflow:"hidden"}},".EmojiPickerReact:not(.epr-search-active)":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"},"&.epr-active":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},visibleOnSearchOnly:Ru({".":"epr-visible-on-search-only"},Zu)}});function Vu(e,t){var n,f;return{".epr-dark-theme":(n={},n[e]=t,n),".epr-auto-theme":(f={},f[e]={"@media (prefers-color-scheme: dark)":t},f)}}function $u(e,t){var n,f,i=null!=(n=e.customEmojis)?n:[],r=null!=(f=t.customEmojis)?f:[];return e.open===t.open&&e.emojiVersion===t.emojiVersion&&e.reactionsDefaultOpen===t.reactionsDefaultOpen&&e.searchPlaceHolder===t.searchPlaceHolder&&e.searchPlaceholder===t.searchPlaceholder&&e.defaultSkinTone===t.defaultSkinTone&&e.skinTonesDisabled===t.skinTonesDisabled&&e.autoFocusSearch===t.autoFocusSearch&&e.emojiStyle===t.emojiStyle&&e.theme===t.theme&&e.suggestedEmojisMode===t.suggestedEmojisMode&&e.lazyLoadEmojis===t.lazyLoadEmojis&&e.className===t.className&&e.height===t.height&&e.width===t.width&&e.style===t.style&&e.searchDisabled===t.searchDisabled&&e.skinTonePickerLocation===t.skinTonePickerLocation&&i.length===r.length}var _u,Ku,Xu,qu,eh,th,nh=["1f44d","2764-fe0f","1f603","1f622","1f64f","1f44e","1f621"];!function(e){e.RECENT="recent",e.FREQUENT="frequent"}(_u||(_u={})),function(e){e.NATIVE="native",e.APPLE="apple",e.TWITTER="twitter",e.GOOGLE="google",e.FACEBOOK="facebook"}(Ku||(Ku={})),function(e){e.DARK="dark",e.LIGHT="light",e.AUTO="auto"}(Xu||(Xu={})),function(e){e.NEUTRAL="neutral",e.LIGHT="1f3fb",e.MEDIUM_LIGHT="1f3fc",e.MEDIUM="1f3fd",e.MEDIUM_DARK="1f3fe",e.DARK="1f3ff"}(qu||(qu={})),function(e){e.SUGGESTED="suggested",e.CUSTOM="custom",e.SMILEYS_PEOPLE="smileys_people",e.ANIMALS_NATURE="animals_nature",e.FOOD_DRINK="food_drink",e.TRAVEL_PLACES="travel_places",e.ACTIVITIES="activities",e.OBJECTS="objects",e.SYMBOLS="symbols",e.FLAGS="flags"}(eh||(eh={})),function(e){e.SEARCH="SEARCH",e.PREVIEW="PREVIEW"}(th||(th={}));var fh,ih=[eh.SUGGESTED,eh.CUSTOM,eh.SMILEYS_PEOPLE,eh.ANIMALS_NATURE,eh.FOOD_DRINK,eh.TRAVEL_PLACES,eh.ACTIVITIES,eh.OBJECTS,eh.SYMBOLS,eh.FLAGS],rh={name:"Recently Used",category:eh.SUGGESTED},oh=((fh={})[eh.SUGGESTED]={category:eh.SUGGESTED,name:"Frequently Used"},fh[eh.CUSTOM]={category:eh.CUSTOM,name:"Custom Emojis"},fh[eh.SMILEYS_PEOPLE]={category:eh.SMILEYS_PEOPLE,name:"Smileys & People"},fh[eh.ANIMALS_NATURE]={category:eh.ANIMALS_NATURE,name:"Animals & Nature"},fh[eh.FOOD_DRINK]={category:eh.FOOD_DRINK,name:"Food & Drink"},fh[eh.TRAVEL_PLACES]={category:eh.TRAVEL_PLACES,name:"Travel & Places"},fh[eh.ACTIVITIES]={category:eh.ACTIVITIES,name:"Activities"},fh[eh.OBJECTS]={category:eh.OBJECTS,name:"Objects"},fh[eh.SYMBOLS]={category:eh.SYMBOLS,name:"Symbols"},fh[eh.FLAGS]={category:eh.FLAGS,name:"Flags"},fh);function ah(e){return ih.map((function(t){return Ru({},oh[t],e&&e[t]&&e[t])}))}function sh(e){return e.category}function lh(e){return e.name}function ch(e,t){return void 0===t&&(t={}),Object.assign(oh[e],t)}var dh="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",uh="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",hh="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",ph="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";var mh,gh={custom:[],smileys_people:[{n:["grinning","grinning face"],u:"1f600",a:"1.0"},{n:["smiley","smiling face with open mouth"],u:"1f603",a:"0.6"},{n:["smile","smiling face with open mouth and smiling eyes"],u:"1f604",a:"0.6"},{n:["grin","grinning face with smiling eyes"],u:"1f601",a:"0.6"},{n:["laughing","satisfied","smiling face with open mouth and tightly-closed eyes"],u:"1f606",a:"0.6"},{n:["sweat smile","smiling face with open mouth and cold sweat"],u:"1f605",a:"0.6"},{n:["rolling on the floor laughing"],u:"1f923",a:"3.0"},{n:["joy","face with tears of joy"],u:"1f602",a:"0.6"},{n:["slightly smiling face"],u:"1f642",a:"1.0"},{n:["upside-down face","upside down face"],u:"1f643",a:"1.0"},{n:["melting face"],u:"1fae0",a:"14.0"},{n:["wink","winking face"],u:"1f609",a:"0.6"},{n:["blush","smiling face with smiling eyes"],u:"1f60a",a:"0.6"},{n:["innocent","smiling face with halo"],u:"1f607",a:"1.0"},{n:["smiling face with 3 hearts","smiling face with smiling eyes and three hearts"],u:"1f970",a:"11.0"},{n:["heart eyes","smiling face with heart-shaped eyes"],u:"1f60d",a:"0.6"},{n:["star-struck","grinning face with star eyes"],u:"1f929",a:"5.0"},{n:["kissing heart","face throwing a kiss"],u:"1f618",a:"0.6"},{n:["kissing","kissing face"],u:"1f617",a:"1.0"},{n:["relaxed","white smiling face"],u:"263a-fe0f",a:"0.6"},{n:["kissing closed eyes","kissing face with closed eyes"],u:"1f61a",a:"0.6"},{n:["kissing smiling eyes","kissing face with smiling eyes"],u:"1f619",a:"1.0"},{n:["smiling face with tear"],u:"1f972",a:"13.0"},{n:["yum","face savouring delicious food"],u:"1f60b",a:"0.6"},{n:["stuck out tongue","face with stuck-out tongue"],u:"1f61b",a:"1.0"},{n:["stuck out tongue winking eye","face with stuck-out tongue and winking eye"],u:"1f61c",a:"0.6"},{n:["zany face","grinning face with one large and one small eye"],u:"1f92a",a:"5.0"},{n:["stuck out tongue closed eyes","face with stuck-out tongue and tightly-closed eyes"],u:"1f61d",a:"0.6"},{n:["money-mouth face","money mouth face"],u:"1f911",a:"1.0"},{n:["hugging face"],u:"1f917",a:"1.0"},{n:["face with hand over mouth","smiling face with smiling eyes and hand covering mouth"],u:"1f92d",a:"5.0"},{n:["face with open eyes and hand over mouth"],u:"1fae2",a:"14.0"},{n:["face with peeking eye"],u:"1fae3",a:"14.0"},{n:["shushing face","face with finger covering closed lips"],u:"1f92b",a:"5.0"},{n:["thinking face"],u:"1f914",a:"1.0"},{n:["saluting face"],u:"1fae1",a:"14.0"},{n:["zipper-mouth face","zipper mouth face"],u:"1f910",a:"1.0"},{n:["face with raised eyebrow","face with one eyebrow raised"],u:"1f928",a:"5.0"},{n:["neutral face"],u:"1f610",a:"0.7"},{n:["expressionless","expressionless face"],u:"1f611",a:"1.0"},{n:["no mouth","face without mouth"],u:"1f636",a:"1.0"},{n:["dotted line face"],u:"1fae5",a:"14.0"},{n:["face in clouds"],u:"1f636-200d-1f32b-fe0f",a:"13.1"},{n:["smirk","smirking face"],u:"1f60f",a:"0.6"},{n:["unamused","unamused face"],u:"1f612",a:"0.6"},{n:["face with rolling eyes"],u:"1f644",a:"1.0"},{n:["grimacing","grimacing face"],u:"1f62c",a:"1.0"},{n:["face exhaling"],u:"1f62e-200d-1f4a8",a:"13.1"},{n:["lying face"],u:"1f925",a:"3.0"},{n:["shaking face"],u:"1fae8",a:"15.0"},{n:["head shaking horizontally"],u:"1f642-200d-2194-fe0f",a:"15.1"},{n:["head shaking vertically"],u:"1f642-200d-2195-fe0f",a:"15.1"},{n:["relieved","relieved face"],u:"1f60c",a:"0.6"},{n:["pensive","pensive face"],u:"1f614",a:"0.6"},{n:["sleepy","sleepy face"],u:"1f62a",a:"0.6"},{n:["drooling face"],u:"1f924",a:"3.0"},{n:["sleeping","sleeping face"],u:"1f634",a:"1.0"},{n:["mask","face with medical mask"],u:"1f637",a:"0.6"},{n:["face with thermometer"],u:"1f912",a:"1.0"},{n:["face with head-bandage","face with head bandage"],u:"1f915",a:"1.0"},{n:["nauseated face"],u:"1f922",a:"3.0"},{n:["face vomiting","face with open mouth vomiting"],u:"1f92e",a:"5.0"},{n:["sneezing face"],u:"1f927",a:"3.0"},{n:["hot face","overheated face"],u:"1f975",a:"11.0"},{n:["cold face","freezing face"],u:"1f976",a:"11.0"},{n:["woozy face","face with uneven eyes and wavy mouth"],u:"1f974",a:"11.0"},{n:["dizzy face"],u:"1f635",a:"0.6"},{n:["face with spiral eyes"],u:"1f635-200d-1f4ab",a:"13.1"},{n:["exploding head","shocked face with exploding head"],u:"1f92f",a:"5.0"},{n:["face with cowboy hat"],u:"1f920",a:"3.0"},{n:["partying face","face with party horn and party hat"],u:"1f973",a:"11.0"},{n:["disguised face"],u:"1f978",a:"13.0"},{n:["sunglasses","smiling face with sunglasses"],u:"1f60e",a:"1.0"},{n:["nerd face"],u:"1f913",a:"1.0"},{n:["face with monocle"],u:"1f9d0",a:"5.0"},{n:["confused","confused face"],u:"1f615",a:"1.0"},{n:["face with diagonal mouth"],u:"1fae4",a:"14.0"},{n:["worried","worried face"],u:"1f61f",a:"1.0"},{n:["slightly frowning face"],u:"1f641",a:"1.0"},{n:["frowning face","white frowning face"],u:"2639-fe0f",a:"0.7"},{n:["open mouth","face with open mouth"],u:"1f62e",a:"1.0"},{n:["hushed","hushed face"],u:"1f62f",a:"1.0"},{n:["astonished","astonished face"],u:"1f632",a:"0.6"},{n:["flushed","flushed face"],u:"1f633",a:"0.6"},{n:["pleading face","face with pleading eyes"],u:"1f97a",a:"11.0"},{n:["face holding back tears"],u:"1f979",a:"14.0"},{n:["frowning","frowning face with open mouth"],u:"1f626",a:"1.0"},{n:["anguished","anguished face"],u:"1f627",a:"1.0"},{n:["fearful","fearful face"],u:"1f628",a:"0.6"},{n:["cold sweat","face with open mouth and cold sweat"],u:"1f630",a:"0.6"},{n:["disappointed relieved","disappointed but relieved face"],u:"1f625",a:"0.6"},{n:["cry","crying face"],u:"1f622",a:"0.6"},{n:["sob","loudly crying face"],u:"1f62d",a:"0.6"},{n:["scream","face screaming in fear"],u:"1f631",a:"0.6"},{n:["confounded","confounded face"],u:"1f616",a:"0.6"},{n:["persevere","persevering face"],u:"1f623",a:"0.6"},{n:["disappointed","disappointed face"],u:"1f61e",a:"0.6"},{n:["sweat","face with cold sweat"],u:"1f613",a:"0.6"},{n:["weary","weary face"],u:"1f629",a:"0.6"},{n:["tired face"],u:"1f62b",a:"0.6"},{n:["yawning face"],u:"1f971",a:"12.0"},{n:["triumph","face with look of triumph"],u:"1f624",a:"0.6"},{n:["rage","pouting face"],u:"1f621",a:"0.6"},{n:["angry","angry face"],u:"1f620",a:"0.6"},{n:["face with symbols on mouth","serious face with symbols covering mouth"],u:"1f92c",a:"5.0"},{n:["smiling imp","smiling face with horns"],u:"1f608",a:"1.0"},{n:["imp"],u:"1f47f",a:"0.6"},{n:["skull"],u:"1f480",a:"0.6"},{n:["skull and crossbones"],u:"2620-fe0f",a:"1.0"},{n:["poop","shit","hankey","pile of poo"],u:"1f4a9",a:"0.6"},{n:["clown face"],u:"1f921",a:"3.0"},{n:["japanese ogre"],u:"1f479",a:"0.6"},{n:["japanese goblin"],u:"1f47a",a:"0.6"},{n:["ghost"],u:"1f47b",a:"0.6"},{n:["alien","extraterrestrial alien"],u:"1f47d",a:"0.6"},{n:["alien monster","space invader"],u:"1f47e",a:"0.6"},{n:["robot face"],u:"1f916",a:"1.0"},{n:["smiley cat","smiling cat face with open mouth"],u:"1f63a",a:"0.6"},{n:["smile cat","grinning cat face with smiling eyes"],u:"1f638",a:"0.6"},{n:["joy cat","cat face with tears of joy"],u:"1f639",a:"0.6"},{n:["heart eyes cat","smiling cat face with heart-shaped eyes"],u:"1f63b",a:"0.6"},{n:["smirk cat","cat face with wry smile"],u:"1f63c",a:"0.6"},{n:["kissing cat","kissing cat face with closed eyes"],u:"1f63d",a:"0.6"},{n:["scream cat","weary cat face"],u:"1f640",a:"0.6"},{n:["crying cat face"],u:"1f63f",a:"0.6"},{n:["pouting cat","pouting cat face"],u:"1f63e",a:"0.6"},{n:["see no evil","see-no-evil monkey"],u:"1f648",a:"0.6"},{n:["hear no evil","hear-no-evil monkey"],u:"1f649",a:"0.6"},{n:["speak no evil","speak-no-evil monkey"],u:"1f64a",a:"0.6"},{n:["love letter"],u:"1f48c",a:"0.6"},{n:["cupid","heart with arrow"],u:"1f498",a:"0.6"},{n:["gift heart","heart with ribbon"],u:"1f49d",a:"0.6"},{n:["sparkling heart"],u:"1f496",a:"0.6"},{n:["heartpulse","growing heart"],u:"1f497",a:"0.6"},{n:["heartbeat","beating heart"],u:"1f493",a:"0.6"},{n:["revolving hearts"],u:"1f49e",a:"0.6"},{n:["two hearts"],u:"1f495",a:"0.6"},{n:["heart decoration"],u:"1f49f",a:"0.6"},{n:["heart exclamation","heavy heart exclamation mark ornament"],u:"2763-fe0f",a:"1.0"},{n:["broken heart"],u:"1f494",a:"0.6"},{n:["heart on fire"],u:"2764-fe0f-200d-1f525",a:"13.1"},{n:["mending heart"],u:"2764-fe0f-200d-1fa79",a:"13.1"},{n:["heart","heavy black heart"],u:"2764-fe0f",a:"0.6"},{n:["pink heart"],u:"1fa77",a:"15.0"},{n:["orange heart"],u:"1f9e1",a:"5.0"},{n:["yellow heart"],u:"1f49b",a:"0.6"},{n:["green heart"],u:"1f49a",a:"0.6"},{n:["blue heart"],u:"1f499",a:"0.6"},{n:["light blue heart"],u:"1fa75",a:"15.0"},{n:["purple heart"],u:"1f49c",a:"0.6"},{n:["brown heart"],u:"1f90e",a:"12.0"},{n:["black heart"],u:"1f5a4",a:"3.0"},{n:["grey heart"],u:"1fa76",a:"15.0"},{n:["white heart"],u:"1f90d",a:"12.0"},{n:["kiss","kiss mark"],u:"1f48b",a:"0.6"},{n:["100","hundred points symbol"],u:"1f4af",a:"0.6"},{n:["anger","anger symbol"],u:"1f4a2",a:"0.6"},{n:["boom","collision","collision symbol"],u:"1f4a5",a:"0.6"},{n:["dizzy","dizzy symbol"],u:"1f4ab",a:"0.6"},{n:["sweat drops","splashing sweat symbol"],u:"1f4a6",a:"0.6"},{n:["dash","dash symbol"],u:"1f4a8",a:"0.6"},{n:["hole"],u:"1f573-fe0f",a:"0.7"},{n:["speech balloon"],u:"1f4ac",a:"0.6"},{n:["eye in speech bubble","eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f",a:"2.0"},{n:["left speech bubble"],u:"1f5e8-fe0f",a:"2.0"},{n:["right anger bubble"],u:"1f5ef-fe0f",a:"0.7"},{n:["thought balloon"],u:"1f4ad",a:"1.0"},{n:["zzz","sleeping symbol"],u:"1f4a4",a:"0.6"},{n:["wave","waving hand sign"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"],a:"0.6"},{n:["raised back of hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"],a:"3.0"},{n:["hand with fingers splayed","raised hand with fingers splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"],a:"0.7"},{n:["hand","raised hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"],a:"0.6"},{n:["spock-hand","raised hand with part between middle and ring fingers"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"],a:"1.0"},{n:["rightwards hand"],u:"1faf1",v:["1faf1-1f3fb","1faf1-1f3fc","1faf1-1f3fd","1faf1-1f3fe","1faf1-1f3ff"],a:"14.0"},{n:["leftwards hand"],u:"1faf2",v:["1faf2-1f3fb","1faf2-1f3fc","1faf2-1f3fd","1faf2-1f3fe","1faf2-1f3ff"],a:"14.0"},{n:["palm down hand"],u:"1faf3",v:["1faf3-1f3fb","1faf3-1f3fc","1faf3-1f3fd","1faf3-1f3fe","1faf3-1f3ff"],a:"14.0"},{n:["palm up hand"],u:"1faf4",v:["1faf4-1f3fb","1faf4-1f3fc","1faf4-1f3fd","1faf4-1f3fe","1faf4-1f3ff"],a:"14.0"},{n:["leftwards pushing hand"],u:"1faf7",v:["1faf7-1f3fb","1faf7-1f3fc","1faf7-1f3fd","1faf7-1f3fe","1faf7-1f3ff"],a:"15.0"},{n:["rightwards pushing hand"],u:"1faf8",v:["1faf8-1f3fb","1faf8-1f3fc","1faf8-1f3fd","1faf8-1f3fe","1faf8-1f3ff"],a:"15.0"},{n:["ok hand","ok hand sign"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"],a:"0.6"},{n:["pinched fingers"],u:"1f90c",v:["1f90c-1f3fb","1f90c-1f3fc","1f90c-1f3fd","1f90c-1f3fe","1f90c-1f3ff"],a:"13.0"},{n:["pinching hand"],u:"1f90f",v:["1f90f-1f3fb","1f90f-1f3fc","1f90f-1f3fd","1f90f-1f3fe","1f90f-1f3ff"],a:"12.0"},{n:["v","victory hand"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"],a:"0.6"},{n:["crossed fingers","hand with index and middle fingers crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"],a:"3.0"},{n:["hand with index finger and thumb crossed"],u:"1faf0",v:["1faf0-1f3fb","1faf0-1f3fc","1faf0-1f3fd","1faf0-1f3fe","1faf0-1f3ff"],a:"14.0"},{n:["i love you hand sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"],a:"5.0"},{n:["the horns","sign of the horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"],a:"1.0"},{n:["call me hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"],a:"3.0"},{n:["point left","white left pointing backhand index"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"],a:"0.6"},{n:["point right","white right pointing backhand index"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"],a:"0.6"},{n:["point up 2","white up pointing backhand index"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"],a:"0.6"},{n:["middle finger","reversed hand with middle finger extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"],a:"1.0"},{n:["point down","white down pointing backhand index"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"],a:"0.6"},{n:["point up","white up pointing index"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"],a:"0.6"},{n:["index pointing at the viewer"],u:"1faf5",v:["1faf5-1f3fb","1faf5-1f3fc","1faf5-1f3fd","1faf5-1f3fe","1faf5-1f3ff"],a:"14.0"},{n:["+1","thumbsup","thumbs up sign"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"],a:"0.6"},{n:["-1","thumbsdown","thumbs down sign"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"],a:"0.6"},{n:["fist","raised fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"],a:"0.6"},{n:["punch","facepunch","fisted hand sign"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"],a:"0.6"},{n:["left-facing fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"],a:"3.0"},{n:["right-facing fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"],a:"3.0"},{n:["clap","clapping hands sign"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"],a:"0.6"},{n:["raised hands","person raising both hands in celebration"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"],a:"0.6"},{n:["heart hands"],u:"1faf6",v:["1faf6-1f3fb","1faf6-1f3fc","1faf6-1f3fd","1faf6-1f3fe","1faf6-1f3ff"],a:"14.0"},{n:["open hands","open hands sign"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"],a:"0.6"},{n:["palms up together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"],a:"5.0"},{n:["handshake"],u:"1f91d",v:["1f91d-1f3fb","1f91d-1f3fc","1f91d-1f3fd","1f91d-1f3fe","1f91d-1f3ff","1faf1-1f3fb-200d-1faf2-1f3fc","1faf1-1f3fb-200d-1faf2-1f3fd","1faf1-1f3fb-200d-1faf2-1f3fe","1faf1-1f3fb-200d-1faf2-1f3ff","1faf1-1f3fc-200d-1faf2-1f3fb","1faf1-1f3fc-200d-1faf2-1f3fd","1faf1-1f3fc-200d-1faf2-1f3fe","1faf1-1f3fc-200d-1faf2-1f3ff","1faf1-1f3fd-200d-1faf2-1f3fb","1faf1-1f3fd-200d-1faf2-1f3fc","1faf1-1f3fd-200d-1faf2-1f3fe","1faf1-1f3fd-200d-1faf2-1f3ff","1faf1-1f3fe-200d-1faf2-1f3fb","1faf1-1f3fe-200d-1faf2-1f3fc","1faf1-1f3fe-200d-1faf2-1f3fd","1faf1-1f3fe-200d-1faf2-1f3ff","1faf1-1f3ff-200d-1faf2-1f3fb","1faf1-1f3ff-200d-1faf2-1f3fc","1faf1-1f3ff-200d-1faf2-1f3fd","1faf1-1f3ff-200d-1faf2-1f3fe"],a:"3.0"},{n:["pray","person with folded hands"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"],a:"0.6"},{n:["writing hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"],a:"0.7"},{n:["nail care","nail polish"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"],a:"0.6"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"],a:"3.0"},{n:["muscle","flexed biceps"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"],a:"0.6"},{n:["mechanical arm"],u:"1f9be",a:"12.0"},{n:["mechanical leg"],u:"1f9bf",a:"12.0"},{n:["leg"],u:"1f9b5",v:["1f9b5-1f3fb","1f9b5-1f3fc","1f9b5-1f3fd","1f9b5-1f3fe","1f9b5-1f3ff"],a:"11.0"},{n:["foot"],u:"1f9b6",v:["1f9b6-1f3fb","1f9b6-1f3fc","1f9b6-1f3fd","1f9b6-1f3fe","1f9b6-1f3ff"],a:"11.0"},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"],a:"0.6"},{n:["ear with hearing aid"],u:"1f9bb",v:["1f9bb-1f3fb","1f9bb-1f3fc","1f9bb-1f3fd","1f9bb-1f3fe","1f9bb-1f3ff"],a:"12.0"},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"],a:"0.6"},{n:["brain"],u:"1f9e0",a:"5.0"},{n:["anatomical heart"],u:"1fac0",a:"13.0"},{n:["lungs"],u:"1fac1",a:"13.0"},{n:["tooth"],u:"1f9b7",a:"11.0"},{n:["bone"],u:"1f9b4",a:"11.0"},{n:["eyes"],u:"1f440",a:"0.6"},{n:["eye"],u:"1f441-fe0f",a:"0.7"},{n:["tongue"],u:"1f445",a:"0.6"},{n:["lips","mouth"],u:"1f444",a:"0.6"},{n:["biting lip"],u:"1fae6",a:"14.0"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"],a:"0.6"},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"],a:"5.0"},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"],a:"0.6"},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"],a:"0.6"},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"],a:"5.0"},{n:["person with blond hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"],a:"0.6"},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"],a:"0.6"},{n:["bearded person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"],a:"5.0"},{n:["man: beard","man with beard"],u:"1f9d4-200d-2642-fe0f",v:["1f9d4-1f3fb-200d-2642-fe0f","1f9d4-1f3fc-200d-2642-fe0f","1f9d4-1f3fd-200d-2642-fe0f","1f9d4-1f3fe-200d-2642-fe0f","1f9d4-1f3ff-200d-2642-fe0f"],a:"13.1"},{n:["woman: beard","woman with beard"],u:"1f9d4-200d-2640-fe0f",v:["1f9d4-1f3fb-200d-2640-fe0f","1f9d4-1f3fc-200d-2640-fe0f","1f9d4-1f3fd-200d-2640-fe0f","1f9d4-1f3fe-200d-2640-fe0f","1f9d4-1f3ff-200d-2640-fe0f"],a:"13.1"},{n:["man: red hair","red haired man"],u:"1f468-200d-1f9b0",v:["1f468-1f3fb-200d-1f9b0","1f468-1f3fc-200d-1f9b0","1f468-1f3fd-200d-1f9b0","1f468-1f3fe-200d-1f9b0","1f468-1f3ff-200d-1f9b0"],a:"11.0"},{n:["man: curly hair","curly haired man"],u:"1f468-200d-1f9b1",v:["1f468-1f3fb-200d-1f9b1","1f468-1f3fc-200d-1f9b1","1f468-1f3fd-200d-1f9b1","1f468-1f3fe-200d-1f9b1","1f468-1f3ff-200d-1f9b1"],a:"11.0"},{n:["man: white hair","white haired man"],u:"1f468-200d-1f9b3",v:["1f468-1f3fb-200d-1f9b3","1f468-1f3fc-200d-1f9b3","1f468-1f3fd-200d-1f9b3","1f468-1f3fe-200d-1f9b3","1f468-1f3ff-200d-1f9b3"],a:"11.0"},{n:["bald man","man: bald"],u:"1f468-200d-1f9b2",v:["1f468-1f3fb-200d-1f9b2","1f468-1f3fc-200d-1f9b2","1f468-1f3fd-200d-1f9b2","1f468-1f3fe-200d-1f9b2","1f468-1f3ff-200d-1f9b2"],a:"11.0"},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"],a:"0.6"},{n:["woman: red hair","red haired woman"],u:"1f469-200d-1f9b0",v:["1f469-1f3fb-200d-1f9b0","1f469-1f3fc-200d-1f9b0","1f469-1f3fd-200d-1f9b0","1f469-1f3fe-200d-1f9b0","1f469-1f3ff-200d-1f9b0"],a:"11.0"},{n:["person: red hair","red haired person"],u:"1f9d1-200d-1f9b0",v:["1f9d1-1f3fb-200d-1f9b0","1f9d1-1f3fc-200d-1f9b0","1f9d1-1f3fd-200d-1f9b0","1f9d1-1f3fe-200d-1f9b0","1f9d1-1f3ff-200d-1f9b0"],a:"12.1"},{n:["woman: curly hair","curly haired woman"],u:"1f469-200d-1f9b1",v:["1f469-1f3fb-200d-1f9b1","1f469-1f3fc-200d-1f9b1","1f469-1f3fd-200d-1f9b1","1f469-1f3fe-200d-1f9b1","1f469-1f3ff-200d-1f9b1"],a:"11.0"},{n:["person: curly hair","curly haired person"],u:"1f9d1-200d-1f9b1",v:["1f9d1-1f3fb-200d-1f9b1","1f9d1-1f3fc-200d-1f9b1","1f9d1-1f3fd-200d-1f9b1","1f9d1-1f3fe-200d-1f9b1","1f9d1-1f3ff-200d-1f9b1"],a:"12.1"},{n:["woman: white hair","white haired woman"],u:"1f469-200d-1f9b3",v:["1f469-1f3fb-200d-1f9b3","1f469-1f3fc-200d-1f9b3","1f469-1f3fd-200d-1f9b3","1f469-1f3fe-200d-1f9b3","1f469-1f3ff-200d-1f9b3"],a:"11.0"},{n:["person: white hair","white haired person"],u:"1f9d1-200d-1f9b3",v:["1f9d1-1f3fb-200d-1f9b3","1f9d1-1f3fc-200d-1f9b3","1f9d1-1f3fd-200d-1f9b3","1f9d1-1f3fe-200d-1f9b3","1f9d1-1f3ff-200d-1f9b3"],a:"12.1"},{n:["bald woman","woman: bald"],u:"1f469-200d-1f9b2",v:["1f469-1f3fb-200d-1f9b2","1f469-1f3fc-200d-1f9b2","1f469-1f3fd-200d-1f9b2","1f469-1f3fe-200d-1f9b2","1f469-1f3ff-200d-1f9b2"],a:"11.0"},{n:["bald person","person: bald"],u:"1f9d1-200d-1f9b2",v:["1f9d1-1f3fb-200d-1f9b2","1f9d1-1f3fc-200d-1f9b2","1f9d1-1f3fd-200d-1f9b2","1f9d1-1f3fe-200d-1f9b2","1f9d1-1f3ff-200d-1f9b2"],a:"12.1"},{n:["woman: blond hair","blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man: blond hair","blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["older adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"],a:"5.0"},{n:["older man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"],a:"0.6"},{n:["older woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"],a:"0.6"},{n:["person frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"],a:"0.6"},{n:["man frowning","man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman frowning","woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with pouting face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"],a:"0.6"},{n:["man pouting","man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman pouting","woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["no good","face with no good gesture"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"],a:"0.6"},{n:["man gesturing no","man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing no","woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ok woman","face with ok gesture"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"],a:"0.6"},{n:["man gesturing ok","man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing ok","woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["information desk person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"],a:"0.6"},{n:["man tipping hand","man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman tipping hand","woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["raising hand","happy person raising one hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"],a:"0.6"},{n:["man raising hand","man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman raising hand","woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["deaf person"],u:"1f9cf",v:["1f9cf-1f3fb","1f9cf-1f3fc","1f9cf-1f3fd","1f9cf-1f3fe","1f9cf-1f3ff"],a:"12.0"},{n:["deaf man"],u:"1f9cf-200d-2642-fe0f",v:["1f9cf-1f3fb-200d-2642-fe0f","1f9cf-1f3fc-200d-2642-fe0f","1f9cf-1f3fd-200d-2642-fe0f","1f9cf-1f3fe-200d-2642-fe0f","1f9cf-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["deaf woman"],u:"1f9cf-200d-2640-fe0f",v:["1f9cf-1f3fb-200d-2640-fe0f","1f9cf-1f3fc-200d-2640-fe0f","1f9cf-1f3fd-200d-2640-fe0f","1f9cf-1f3fe-200d-2640-fe0f","1f9cf-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["bow","person bowing deeply"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"],a:"0.6"},{n:["man bowing","man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bowing","woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["face palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"],a:"3.0"},{n:["man facepalming","man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman facepalming","woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"],a:"3.0"},{n:["man shrugging","man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman shrugging","woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["health worker"],u:"1f9d1-200d-2695-fe0f",v:["1f9d1-1f3fb-200d-2695-fe0f","1f9d1-1f3fc-200d-2695-fe0f","1f9d1-1f3fd-200d-2695-fe0f","1f9d1-1f3fe-200d-2695-fe0f","1f9d1-1f3ff-200d-2695-fe0f"],a:"12.1"},{n:["male-doctor","man health worker"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["female-doctor","woman health worker"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["student"],u:"1f9d1-200d-1f393",v:["1f9d1-1f3fb-200d-1f393","1f9d1-1f3fc-200d-1f393","1f9d1-1f3fd-200d-1f393","1f9d1-1f3fe-200d-1f393","1f9d1-1f3ff-200d-1f393"],a:"12.1"},{n:["man student","male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"],a:"4.0"},{n:["woman student","female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"],a:"4.0"},{n:["teacher"],u:"1f9d1-200d-1f3eb",v:["1f9d1-1f3fb-200d-1f3eb","1f9d1-1f3fc-200d-1f3eb","1f9d1-1f3fd-200d-1f3eb","1f9d1-1f3fe-200d-1f3eb","1f9d1-1f3ff-200d-1f3eb"],a:"12.1"},{n:["man teacher","male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"],a:"4.0"},{n:["woman teacher","female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"],a:"4.0"},{n:["judge"],u:"1f9d1-200d-2696-fe0f",v:["1f9d1-1f3fb-200d-2696-fe0f","1f9d1-1f3fc-200d-2696-fe0f","1f9d1-1f3fd-200d-2696-fe0f","1f9d1-1f3fe-200d-2696-fe0f","1f9d1-1f3ff-200d-2696-fe0f"],a:"12.1"},{n:["man judge","male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["woman judge","female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["farmer"],u:"1f9d1-200d-1f33e",v:["1f9d1-1f3fb-200d-1f33e","1f9d1-1f3fc-200d-1f33e","1f9d1-1f3fd-200d-1f33e","1f9d1-1f3fe-200d-1f33e","1f9d1-1f3ff-200d-1f33e"],a:"12.1"},{n:["man farmer","male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"],a:"4.0"},{n:["woman farmer","female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"],a:"4.0"},{n:["cook"],u:"1f9d1-200d-1f373",v:["1f9d1-1f3fb-200d-1f373","1f9d1-1f3fc-200d-1f373","1f9d1-1f3fd-200d-1f373","1f9d1-1f3fe-200d-1f373","1f9d1-1f3ff-200d-1f373"],a:"12.1"},{n:["man cook","male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"],a:"4.0"},{n:["woman cook","female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"],a:"4.0"},{n:["mechanic"],u:"1f9d1-200d-1f527",v:["1f9d1-1f3fb-200d-1f527","1f9d1-1f3fc-200d-1f527","1f9d1-1f3fd-200d-1f527","1f9d1-1f3fe-200d-1f527","1f9d1-1f3ff-200d-1f527"],a:"12.1"},{n:["man mechanic","male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"],a:"4.0"},{n:["woman mechanic","female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"],a:"4.0"},{n:["factory worker"],u:"1f9d1-200d-1f3ed",v:["1f9d1-1f3fb-200d-1f3ed","1f9d1-1f3fc-200d-1f3ed","1f9d1-1f3fd-200d-1f3ed","1f9d1-1f3fe-200d-1f3ed","1f9d1-1f3ff-200d-1f3ed"],a:"12.1"},{n:["man factory worker","male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"],a:"4.0"},{n:["woman factory worker","female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"],a:"4.0"},{n:["office worker"],u:"1f9d1-200d-1f4bc",v:["1f9d1-1f3fb-200d-1f4bc","1f9d1-1f3fc-200d-1f4bc","1f9d1-1f3fd-200d-1f4bc","1f9d1-1f3fe-200d-1f4bc","1f9d1-1f3ff-200d-1f4bc"],a:"12.1"},{n:["man office worker","male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"],a:"4.0"},{n:["woman office worker","female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"],a:"4.0"},{n:["scientist"],u:"1f9d1-200d-1f52c",v:["1f9d1-1f3fb-200d-1f52c","1f9d1-1f3fc-200d-1f52c","1f9d1-1f3fd-200d-1f52c","1f9d1-1f3fe-200d-1f52c","1f9d1-1f3ff-200d-1f52c"],a:"12.1"},{n:["man scientist","male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"],a:"4.0"},{n:["woman scientist","female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"],a:"4.0"},{n:["technologist"],u:"1f9d1-200d-1f4bb",v:["1f9d1-1f3fb-200d-1f4bb","1f9d1-1f3fc-200d-1f4bb","1f9d1-1f3fd-200d-1f4bb","1f9d1-1f3fe-200d-1f4bb","1f9d1-1f3ff-200d-1f4bb"],a:"12.1"},{n:["man technologist","male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"],a:"4.0"},{n:["woman technologist","female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"],a:"4.0"},{n:["singer"],u:"1f9d1-200d-1f3a4",v:["1f9d1-1f3fb-200d-1f3a4","1f9d1-1f3fc-200d-1f3a4","1f9d1-1f3fd-200d-1f3a4","1f9d1-1f3fe-200d-1f3a4","1f9d1-1f3ff-200d-1f3a4"],a:"12.1"},{n:["man singer","male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"],a:"4.0"},{n:["woman singer","female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"],a:"4.0"},{n:["artist"],u:"1f9d1-200d-1f3a8",v:["1f9d1-1f3fb-200d-1f3a8","1f9d1-1f3fc-200d-1f3a8","1f9d1-1f3fd-200d-1f3a8","1f9d1-1f3fe-200d-1f3a8","1f9d1-1f3ff-200d-1f3a8"],a:"12.1"},{n:["man artist","male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"],a:"4.0"},{n:["woman artist","female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"],a:"4.0"},{n:["pilot"],u:"1f9d1-200d-2708-fe0f",v:["1f9d1-1f3fb-200d-2708-fe0f","1f9d1-1f3fc-200d-2708-fe0f","1f9d1-1f3fd-200d-2708-fe0f","1f9d1-1f3fe-200d-2708-fe0f","1f9d1-1f3ff-200d-2708-fe0f"],a:"12.1"},{n:["man pilot","male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["woman pilot","female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["astronaut"],u:"1f9d1-200d-1f680",v:["1f9d1-1f3fb-200d-1f680","1f9d1-1f3fc-200d-1f680","1f9d1-1f3fd-200d-1f680","1f9d1-1f3fe-200d-1f680","1f9d1-1f3ff-200d-1f680"],a:"12.1"},{n:["man astronaut","male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"],a:"4.0"},{n:["woman astronaut","female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"],a:"4.0"},{n:["firefighter"],u:"1f9d1-200d-1f692",v:["1f9d1-1f3fb-200d-1f692","1f9d1-1f3fc-200d-1f692","1f9d1-1f3fd-200d-1f692","1f9d1-1f3fe-200d-1f692","1f9d1-1f3ff-200d-1f692"],a:"12.1"},{n:["man firefighter","male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"],a:"4.0"},{n:["woman firefighter","female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"],a:"4.0"},{n:["cop","police officer"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"],a:"0.6"},{n:["man police officer","male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman police officer","female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["detective","sleuth or spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"],a:"0.7"},{n:["man detective","male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman detective","female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"],a:"0.6"},{n:["man guard","male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman guard","female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ninja"],u:"1f977",v:["1f977-1f3fb","1f977-1f3fc","1f977-1f3fd","1f977-1f3fe","1f977-1f3ff"],a:"13.0"},{n:["construction worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"],a:"0.6"},{n:["man construction worker","male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman construction worker","female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with crown"],u:"1fac5",v:["1fac5-1f3fb","1fac5-1f3fc","1fac5-1f3fd","1fac5-1f3fe","1fac5-1f3ff"],a:"14.0"},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"],a:"3.0"},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"],a:"0.6"},{n:["man with turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"],a:"0.6"},{n:["man wearing turban","man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman wearing turban","woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man with gua pi mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"],a:"0.6"},{n:["person with headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"],a:"5.0"},{n:["man in tuxedo","person in tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"],a:"3.0"},{n:["man in tuxedo"],u:"1f935-200d-2642-fe0f",v:["1f935-1f3fb-200d-2642-fe0f","1f935-1f3fc-200d-2642-fe0f","1f935-1f3fd-200d-2642-fe0f","1f935-1f3fe-200d-2642-fe0f","1f935-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman in tuxedo"],u:"1f935-200d-2640-fe0f",v:["1f935-1f3fb-200d-2640-fe0f","1f935-1f3fc-200d-2640-fe0f","1f935-1f3fd-200d-2640-fe0f","1f935-1f3fe-200d-2640-fe0f","1f935-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["bride with veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"],a:"0.6"},{n:["man with veil"],u:"1f470-200d-2642-fe0f",v:["1f470-1f3fb-200d-2642-fe0f","1f470-1f3fc-200d-2642-fe0f","1f470-1f3fd-200d-2642-fe0f","1f470-1f3fe-200d-2642-fe0f","1f470-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman with veil"],u:"1f470-200d-2640-fe0f",v:["1f470-1f3fb-200d-2640-fe0f","1f470-1f3fc-200d-2640-fe0f","1f470-1f3fd-200d-2640-fe0f","1f470-1f3fe-200d-2640-fe0f","1f470-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["pregnant woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"],a:"3.0"},{n:["pregnant man"],u:"1fac3",v:["1fac3-1f3fb","1fac3-1f3fc","1fac3-1f3fd","1fac3-1f3fe","1fac3-1f3ff"],a:"14.0"},{n:["pregnant person"],u:"1fac4",v:["1fac4-1f3fb","1fac4-1f3fc","1fac4-1f3fd","1fac4-1f3fe","1fac4-1f3ff"],a:"14.0"},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"],a:"5.0"},{n:["woman feeding baby"],u:"1f469-200d-1f37c",v:["1f469-1f3fb-200d-1f37c","1f469-1f3fc-200d-1f37c","1f469-1f3fd-200d-1f37c","1f469-1f3fe-200d-1f37c","1f469-1f3ff-200d-1f37c"],a:"13.0"},{n:["man feeding baby"],u:"1f468-200d-1f37c",v:["1f468-1f3fb-200d-1f37c","1f468-1f3fc-200d-1f37c","1f468-1f3fd-200d-1f37c","1f468-1f3fe-200d-1f37c","1f468-1f3ff-200d-1f37c"],a:"13.0"},{n:["person feeding baby"],u:"1f9d1-200d-1f37c",v:["1f9d1-1f3fb-200d-1f37c","1f9d1-1f3fc-200d-1f37c","1f9d1-1f3fd-200d-1f37c","1f9d1-1f3fe-200d-1f37c","1f9d1-1f3ff-200d-1f37c"],a:"13.0"},{n:["angel","baby angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"],a:"0.6"},{n:["santa","father christmas"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"],a:"0.6"},{n:["mrs claus","mother christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"],a:"3.0"},{n:["mx claus"],u:"1f9d1-200d-1f384",v:["1f9d1-1f3fb-200d-1f384","1f9d1-1f3fc-200d-1f384","1f9d1-1f3fd-200d-1f384","1f9d1-1f3fe-200d-1f384","1f9d1-1f3ff-200d-1f384"],a:"13.0"},{n:["superhero"],u:"1f9b8",v:["1f9b8-1f3fb","1f9b8-1f3fc","1f9b8-1f3fd","1f9b8-1f3fe","1f9b8-1f3ff"],a:"11.0"},{n:["man superhero","male superhero"],u:"1f9b8-200d-2642-fe0f",v:["1f9b8-1f3fb-200d-2642-fe0f","1f9b8-1f3fc-200d-2642-fe0f","1f9b8-1f3fd-200d-2642-fe0f","1f9b8-1f3fe-200d-2642-fe0f","1f9b8-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman superhero","female superhero"],u:"1f9b8-200d-2640-fe0f",v:["1f9b8-1f3fb-200d-2640-fe0f","1f9b8-1f3fc-200d-2640-fe0f","1f9b8-1f3fd-200d-2640-fe0f","1f9b8-1f3fe-200d-2640-fe0f","1f9b8-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["supervillain"],u:"1f9b9",v:["1f9b9-1f3fb","1f9b9-1f3fc","1f9b9-1f3fd","1f9b9-1f3fe","1f9b9-1f3ff"],a:"11.0"},{n:["man supervillain","male supervillain"],u:"1f9b9-200d-2642-fe0f",v:["1f9b9-1f3fb-200d-2642-fe0f","1f9b9-1f3fc-200d-2642-fe0f","1f9b9-1f3fd-200d-2642-fe0f","1f9b9-1f3fe-200d-2642-fe0f","1f9b9-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman supervillain","female supervillain"],u:"1f9b9-200d-2640-fe0f",v:["1f9b9-1f3fb-200d-2640-fe0f","1f9b9-1f3fc-200d-2640-fe0f","1f9b9-1f3fd-200d-2640-fe0f","1f9b9-1f3fe-200d-2640-fe0f","1f9b9-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"],a:"5.0"},{n:["man mage","male mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman mage","female mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"],a:"5.0"},{n:["man fairy","male fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman fairy","female fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"],a:"5.0"},{n:["man vampire","male vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman vampire","female vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"],a:"5.0"},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"],a:"5.0"},{n:["man elf","male elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman elf","female elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["genie"],u:"1f9de",a:"5.0"},{n:["man genie","male genie"],u:"1f9de-200d-2642-fe0f",a:"5.0"},{n:["woman genie","female genie"],u:"1f9de-200d-2640-fe0f",a:"5.0"},{n:["zombie"],u:"1f9df",a:"5.0"},{n:["man zombie","male zombie"],u:"1f9df-200d-2642-fe0f",a:"5.0"},{n:["woman zombie","female zombie"],u:"1f9df-200d-2640-fe0f",a:"5.0"},{n:["troll"],u:"1f9cc",a:"14.0"},{n:["massage","face massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"],a:"0.6"},{n:["man getting massage","man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting massage","woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"],a:"0.6"},{n:["man getting haircut","man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting haircut","woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["walking","pedestrian"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"],a:"0.6"},{n:["man walking","man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman walking","woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person walking facing right"],u:"1f6b6-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-27a1-fe0f","1f6b6-1f3fc-200d-27a1-fe0f","1f6b6-1f3fd-200d-27a1-fe0f","1f6b6-1f3fe-200d-27a1-fe0f","1f6b6-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman walking facing right"],u:"1f6b6-200d-2640-fe0f-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man walking facing right"],u:"1f6b6-200d-2642-fe0f-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["standing person"],u:"1f9cd",v:["1f9cd-1f3fb","1f9cd-1f3fc","1f9cd-1f3fd","1f9cd-1f3fe","1f9cd-1f3ff"],a:"12.0"},{n:["man standing"],u:"1f9cd-200d-2642-fe0f",v:["1f9cd-1f3fb-200d-2642-fe0f","1f9cd-1f3fc-200d-2642-fe0f","1f9cd-1f3fd-200d-2642-fe0f","1f9cd-1f3fe-200d-2642-fe0f","1f9cd-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman standing"],u:"1f9cd-200d-2640-fe0f",v:["1f9cd-1f3fb-200d-2640-fe0f","1f9cd-1f3fc-200d-2640-fe0f","1f9cd-1f3fd-200d-2640-fe0f","1f9cd-1f3fe-200d-2640-fe0f","1f9cd-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["kneeling person"],u:"1f9ce",v:["1f9ce-1f3fb","1f9ce-1f3fc","1f9ce-1f3fd","1f9ce-1f3fe","1f9ce-1f3ff"],a:"12.0"},{n:["man kneeling"],u:"1f9ce-200d-2642-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f","1f9ce-1f3fc-200d-2642-fe0f","1f9ce-1f3fd-200d-2642-fe0f","1f9ce-1f3fe-200d-2642-fe0f","1f9ce-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman kneeling"],u:"1f9ce-200d-2640-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f","1f9ce-1f3fc-200d-2640-fe0f","1f9ce-1f3fd-200d-2640-fe0f","1f9ce-1f3fe-200d-2640-fe0f","1f9ce-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["person kneeling facing right"],u:"1f9ce-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-27a1-fe0f","1f9ce-1f3fc-200d-27a1-fe0f","1f9ce-1f3fd-200d-27a1-fe0f","1f9ce-1f3fe-200d-27a1-fe0f","1f9ce-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman kneeling facing right"],u:"1f9ce-200d-2640-fe0f-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man kneeling facing right"],u:"1f9ce-200d-2642-fe0f-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["person with white cane","person with probing cane"],u:"1f9d1-200d-1f9af",v:["1f9d1-1f3fb-200d-1f9af","1f9d1-1f3fc-200d-1f9af","1f9d1-1f3fd-200d-1f9af","1f9d1-1f3fe-200d-1f9af","1f9d1-1f3ff-200d-1f9af"],a:"12.1"},{n:["person with white cane facing right"],u:"1f9d1-200d-1f9af-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["man with white cane","man with probing cane"],u:"1f468-200d-1f9af",v:["1f468-1f3fb-200d-1f9af","1f468-1f3fc-200d-1f9af","1f468-1f3fd-200d-1f9af","1f468-1f3fe-200d-1f9af","1f468-1f3ff-200d-1f9af"],a:"12.0"},{n:["man with white cane facing right"],u:"1f468-200d-1f9af-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9af-200d-27a1-fe0f","1f468-1f3fc-200d-1f9af-200d-27a1-fe0f","1f468-1f3fd-200d-1f9af-200d-27a1-fe0f","1f468-1f3fe-200d-1f9af-200d-27a1-fe0f","1f468-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["woman with white cane","woman with probing cane"],u:"1f469-200d-1f9af",v:["1f469-1f3fb-200d-1f9af","1f469-1f3fc-200d-1f9af","1f469-1f3fd-200d-1f9af","1f469-1f3fe-200d-1f9af","1f469-1f3ff-200d-1f9af"],a:"12.0"},{n:["woman with white cane facing right"],u:"1f469-200d-1f9af-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9af-200d-27a1-fe0f","1f469-1f3fc-200d-1f9af-200d-27a1-fe0f","1f469-1f3fd-200d-1f9af-200d-27a1-fe0f","1f469-1f3fe-200d-1f9af-200d-27a1-fe0f","1f469-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["person in motorized wheelchair"],u:"1f9d1-200d-1f9bc",v:["1f9d1-1f3fb-200d-1f9bc","1f9d1-1f3fc-200d-1f9bc","1f9d1-1f3fd-200d-1f9bc","1f9d1-1f3fe-200d-1f9bc","1f9d1-1f3ff-200d-1f9bc"],a:"12.1"},{n:["person in motorized wheelchair facing right"],u:"1f9d1-200d-1f9bc-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["man in motorized wheelchair"],u:"1f468-200d-1f9bc",v:["1f468-1f3fb-200d-1f9bc","1f468-1f3fc-200d-1f9bc","1f468-1f3fd-200d-1f9bc","1f468-1f3fe-200d-1f9bc","1f468-1f3ff-200d-1f9bc"],a:"12.0"},{n:["man in motorized wheelchair facing right"],u:"1f468-200d-1f9bc-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f468-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["woman in motorized wheelchair"],u:"1f469-200d-1f9bc",v:["1f469-1f3fb-200d-1f9bc","1f469-1f3fc-200d-1f9bc","1f469-1f3fd-200d-1f9bc","1f469-1f3fe-200d-1f9bc","1f469-1f3ff-200d-1f9bc"],a:"12.0"},{n:["woman in motorized wheelchair facing right"],u:"1f469-200d-1f9bc-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f469-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["person in manual wheelchair"],u:"1f9d1-200d-1f9bd",v:["1f9d1-1f3fb-200d-1f9bd","1f9d1-1f3fc-200d-1f9bd","1f9d1-1f3fd-200d-1f9bd","1f9d1-1f3fe-200d-1f9bd","1f9d1-1f3ff-200d-1f9bd"],a:"12.1"},{n:["person in manual wheelchair facing right"],u:"1f9d1-200d-1f9bd-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["man in manual wheelchair"],u:"1f468-200d-1f9bd",v:["1f468-1f3fb-200d-1f9bd","1f468-1f3fc-200d-1f9bd","1f468-1f3fd-200d-1f9bd","1f468-1f3fe-200d-1f9bd","1f468-1f3ff-200d-1f9bd"],a:"12.0"},{n:["man in manual wheelchair facing right"],u:"1f468-200d-1f9bd-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f468-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["woman in manual wheelchair"],u:"1f469-200d-1f9bd",v:["1f469-1f3fb-200d-1f9bd","1f469-1f3fc-200d-1f9bd","1f469-1f3fd-200d-1f9bd","1f469-1f3fe-200d-1f9bd","1f469-1f3ff-200d-1f9bd"],a:"12.0"},{n:["woman in manual wheelchair facing right"],u:"1f469-200d-1f9bd-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f469-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"],a:"0.6"},{n:["man running","man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman running","woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person running facing right"],u:"1f3c3-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-27a1-fe0f","1f3c3-1f3fc-200d-27a1-fe0f","1f3c3-1f3fd-200d-27a1-fe0f","1f3c3-1f3fe-200d-27a1-fe0f","1f3c3-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman running facing right"],u:"1f3c3-200d-2640-fe0f-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man running facing right"],u:"1f3c3-200d-2642-fe0f-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"],a:"0.6"},{n:["man dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"],a:"3.0"},{n:["person in suit levitating","man in business suit levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"],a:"0.7"},{n:["dancers","woman with bunny ears"],u:"1f46f",a:"0.6"},{n:["men with bunny ears","men-with-bunny-ears-partying","man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f",a:"4.0"},{n:["women with bunny ears","women-with-bunny-ears-partying","woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f",a:"4.0"},{n:["person in steamy room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"],a:"5.0"},{n:["man in steamy room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in steamy room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["person climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"],a:"5.0"},{n:["man climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fencer"],u:"1f93a",a:"3.0"},{n:["horse racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"],a:"1.0"},{n:["skier"],u:"26f7-fe0f",a:"0.7"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"],a:"0.6"},{n:["golfer","person golfing"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"],a:"0.7"},{n:["man golfing","man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman golfing","woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"],a:"0.6"},{n:["man surfing","man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman surfing","woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"],a:"1.0"},{n:["man rowing boat","man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman rowing boat","woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"],a:"0.6"},{n:["man swimming","man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman swimming","woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with ball","person bouncing ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"],a:"0.7"},{n:["man bouncing ball","man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bouncing ball","woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["weight lifter","person lifting weights"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"],a:"0.7"},{n:["man lifting weights","man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman lifting weights","woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"],a:"1.0"},{n:["man biking","man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman biking","woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["mountain bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"],a:"1.0"},{n:["man mountain biking","man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman mountain biking","woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person doing cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"],a:"3.0"},{n:["man cartwheeling","man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman cartwheeling","woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["wrestlers"],u:"1f93c",a:"3.0"},{n:["men wrestling","man-wrestling"],u:"1f93c-200d-2642-fe0f",a:"4.0"},{n:["women wrestling","woman-wrestling"],u:"1f93c-200d-2640-fe0f",a:"4.0"},{n:["water polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"],a:"3.0"},{n:["man playing water polo","man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing water polo","woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"],a:"3.0"},{n:["man playing handball","man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing handball","woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"],a:"3.0"},{n:["man juggling","man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman juggling","woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person in lotus position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"],a:"5.0"},{n:["man in lotus position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in lotus position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"],a:"0.6"},{n:["sleeping accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"],a:"1.0"},{n:["people holding hands"],u:"1f9d1-200d-1f91d-200d-1f9d1",v:["1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff"],a:"12.0"},{n:["women holding hands","two women holding hands"],u:"1f46d",v:["1f46d-1f3fb","1f46d-1f3fc","1f46d-1f3fd","1f46d-1f3fe","1f46d-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe"],a:"1.0"},{n:["couple","man and woman holding hands","woman and man holding hands"],u:"1f46b",v:["1f46b-1f3fb","1f46b-1f3fc","1f46b-1f3fd","1f46b-1f3fe","1f46b-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"0.6"},{n:["men holding hands","two men holding hands"],u:"1f46c",v:["1f46c-1f3fb","1f46c-1f3fc","1f46c-1f3fd","1f46c-1f3fe","1f46c-1f3ff","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"1.0"},{n:["kiss","couplekiss"],u:"1f48f",v:["1f48f-1f3fb","1f48f-1f3fc","1f48f-1f3fd","1f48f-1f3fe","1f48f-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-kiss-man","kiss: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["man-kiss-man","kiss: man, man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-kiss-woman","kiss: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"],a:"2.0"},{n:["couple with heart"],u:"1f491",v:["1f491-1f3fb","1f491-1f3fc","1f491-1f3fd","1f491-1f3fe","1f491-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-heart-man","couple with heart: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["man-heart-man","couple with heart: man, man"],u:"1f468-200d-2764-fe0f-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-heart-woman","couple with heart: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"],a:"2.0"},{n:["man-woman-boy","family: man, woman, boy"],u:"1f468-200d-1f469-200d-1f466",a:"2.0"},{n:["man-woman-girl","family: man, woman, girl"],u:"1f468-200d-1f469-200d-1f467",a:"2.0"},{n:["man-woman-girl-boy","family: man, woman, girl, boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["man-woman-boy-boy","family: man, woman, boy, boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["man-woman-girl-girl","family: man, woman, girl, girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-man-boy","family: man, man, boy"],u:"1f468-200d-1f468-200d-1f466",a:"2.0"},{n:["man-man-girl","family: man, man, girl"],u:"1f468-200d-1f468-200d-1f467",a:"2.0"},{n:["man-man-girl-boy","family: man, man, girl, boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466",a:"2.0"},{n:["man-man-boy-boy","family: man, man, boy, boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466",a:"2.0"},{n:["man-man-girl-girl","family: man, man, girl, girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467",a:"2.0"},{n:["woman-woman-boy","family: woman, woman, boy"],u:"1f469-200d-1f469-200d-1f466",a:"2.0"},{n:["woman-woman-girl","family: woman, woman, girl"],u:"1f469-200d-1f469-200d-1f467",a:"2.0"},{n:["woman-woman-girl-boy","family: woman, woman, girl, boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["woman-woman-boy-boy","family: woman, woman, boy, boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["woman-woman-girl-girl","family: woman, woman, girl, girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-boy","family: man, boy"],u:"1f468-200d-1f466",a:"4.0"},{n:["man-boy-boy","family: man, boy, boy"],u:"1f468-200d-1f466-200d-1f466",a:"4.0"},{n:["man-girl","family: man, girl"],u:"1f468-200d-1f467",a:"4.0"},{n:["man-girl-boy","family: man, girl, boy"],u:"1f468-200d-1f467-200d-1f466",a:"4.0"},{n:["man-girl-girl","family: man, girl, girl"],u:"1f468-200d-1f467-200d-1f467",a:"4.0"},{n:["woman-boy","family: woman, boy"],u:"1f469-200d-1f466",a:"4.0"},{n:["woman-boy-boy","family: woman, boy, boy"],u:"1f469-200d-1f466-200d-1f466",a:"4.0"},{n:["woman-girl","family: woman, girl"],u:"1f469-200d-1f467",a:"4.0"},{n:["woman-girl-boy","family: woman, girl, boy"],u:"1f469-200d-1f467-200d-1f466",a:"4.0"},{n:["woman-girl-girl","family: woman, girl, girl"],u:"1f469-200d-1f467-200d-1f467",a:"4.0"},{n:["speaking head","speaking head in silhouette"],u:"1f5e3-fe0f",a:"0.7"},{n:["bust in silhouette"],u:"1f464",a:"0.6"},{n:["busts in silhouette"],u:"1f465",a:"1.0"},{n:["people hugging"],u:"1fac2",a:"13.0"},{n:["family"],u:"1f46a",a:"0.6"},{n:["family adult adult child","family: adult, adult, child"],u:"1f9d1-200d-1f9d1-200d-1f9d2",a:"15.1"},{n:["family adult adult child child","family: adult, adult, child, child"],u:"1f9d1-200d-1f9d1-200d-1f9d2-200d-1f9d2",a:"15.1"},{n:["family adult child","family: adult, child"],u:"1f9d1-200d-1f9d2",a:"15.1"},{n:["family adult child child","family: adult, child, child"],u:"1f9d1-200d-1f9d2-200d-1f9d2",a:"15.1"},{n:["footprints"],u:"1f463",a:"0.6"}],animals_nature:[{n:["monkey face"],u:"1f435",a:"0.6"},{n:["monkey"],u:"1f412",a:"0.6"},{n:["gorilla"],u:"1f98d",a:"3.0"},{n:["orangutan"],u:"1f9a7",a:"12.0"},{n:["dog","dog face"],u:"1f436",a:"0.6"},{n:["dog","dog2"],u:"1f415",a:"0.7"},{n:["guide dog"],u:"1f9ae",a:"12.0"},{n:["service dog"],u:"1f415-200d-1f9ba",a:"12.0"},{n:["poodle"],u:"1f429",a:"0.6"},{n:["wolf","wolf face"],u:"1f43a",a:"0.6"},{n:["fox face"],u:"1f98a",a:"3.0"},{n:["raccoon"],u:"1f99d",a:"11.0"},{n:["cat","cat face"],u:"1f431",a:"0.6"},{n:["cat","cat2"],u:"1f408",a:"0.7"},{n:["black cat"],u:"1f408-200d-2b1b",a:"13.0"},{n:["lion face"],u:"1f981",a:"1.0"},{n:["tiger","tiger face"],u:"1f42f",a:"0.6"},{n:["tiger","tiger2"],u:"1f405",a:"1.0"},{n:["leopard"],u:"1f406",a:"1.0"},{n:["horse","horse face"],u:"1f434",a:"0.6"},{n:["moose"],u:"1face",a:"15.0"},{n:["donkey"],u:"1facf",a:"15.0"},{n:["horse","racehorse"],u:"1f40e",a:"0.6"},{n:["unicorn face"],u:"1f984",a:"1.0"},{n:["zebra face"],u:"1f993",a:"5.0"},{n:["deer"],u:"1f98c",a:"3.0"},{n:["bison"],u:"1f9ac",a:"13.0"},{n:["cow","cow face"],u:"1f42e",a:"0.6"},{n:["ox"],u:"1f402",a:"1.0"},{n:["water buffalo"],u:"1f403",a:"1.0"},{n:["cow","cow2"],u:"1f404",a:"1.0"},{n:["pig","pig face"],u:"1f437",a:"0.6"},{n:["pig","pig2"],u:"1f416",a:"1.0"},{n:["boar"],u:"1f417",a:"0.6"},{n:["pig nose"],u:"1f43d",a:"0.6"},{n:["ram"],u:"1f40f",a:"1.0"},{n:["sheep"],u:"1f411",a:"0.6"},{n:["goat"],u:"1f410",a:"1.0"},{n:["dromedary camel"],u:"1f42a",a:"1.0"},{n:["camel","bactrian camel"],u:"1f42b",a:"0.6"},{n:["llama"],u:"1f999",a:"11.0"},{n:["giraffe face"],u:"1f992",a:"5.0"},{n:["elephant"],u:"1f418",a:"0.6"},{n:["mammoth"],u:"1f9a3",a:"13.0"},{n:["rhinoceros"],u:"1f98f",a:"3.0"},{n:["hippopotamus"],u:"1f99b",a:"11.0"},{n:["mouse","mouse face"],u:"1f42d",a:"0.6"},{n:["mouse","mouse2"],u:"1f401",a:"1.0"},{n:["rat"],u:"1f400",a:"1.0"},{n:["hamster","hamster face"],u:"1f439",a:"0.6"},{n:["rabbit","rabbit face"],u:"1f430",a:"0.6"},{n:["rabbit","rabbit2"],u:"1f407",a:"1.0"},{n:["chipmunk"],u:"1f43f-fe0f",a:"0.7"},{n:["beaver"],u:"1f9ab",a:"13.0"},{n:["hedgehog"],u:"1f994",a:"5.0"},{n:["bat"],u:"1f987",a:"3.0"},{n:["bear","bear face"],u:"1f43b",a:"0.6"},{n:["polar bear"],u:"1f43b-200d-2744-fe0f",a:"13.0"},{n:["koala"],u:"1f428",a:"0.6"},{n:["panda face"],u:"1f43c",a:"0.6"},{n:["sloth"],u:"1f9a5",a:"12.0"},{n:["otter"],u:"1f9a6",a:"12.0"},{n:["skunk"],u:"1f9a8",a:"12.0"},{n:["kangaroo"],u:"1f998",a:"11.0"},{n:["badger"],u:"1f9a1",a:"11.0"},{n:["feet","paw prints"],u:"1f43e",a:"0.6"},{n:["turkey"],u:"1f983",a:"1.0"},{n:["chicken"],u:"1f414",a:"0.6"},{n:["rooster"],u:"1f413",a:"1.0"},{n:["hatching chick"],u:"1f423",a:"0.6"},{n:["baby chick"],u:"1f424",a:"0.6"},{n:["hatched chick","front-facing baby chick"],u:"1f425",a:"0.6"},{n:["bird"],u:"1f426",a:"0.6"},{n:["penguin"],u:"1f427",a:"0.6"},{n:["dove","dove of peace"],u:"1f54a-fe0f",a:"0.7"},{n:["eagle"],u:"1f985",a:"3.0"},{n:["duck"],u:"1f986",a:"3.0"},{n:["swan"],u:"1f9a2",a:"11.0"},{n:["owl"],u:"1f989",a:"3.0"},{n:["dodo"],u:"1f9a4",a:"13.0"},{n:["feather"],u:"1fab6",a:"13.0"},{n:["flamingo"],u:"1f9a9",a:"12.0"},{n:["peacock"],u:"1f99a",a:"11.0"},{n:["parrot"],u:"1f99c",a:"11.0"},{n:["wing"],u:"1fabd",a:"15.0"},{n:["black bird"],u:"1f426-200d-2b1b",a:"15.0"},{n:["goose"],u:"1fabf",a:"15.0"},{n:["phoenix"],u:"1f426-200d-1f525",a:"15.1"},{n:["frog","frog face"],u:"1f438",a:"0.6"},{n:["crocodile"],u:"1f40a",a:"1.0"},{n:["turtle"],u:"1f422",a:"0.6"},{n:["lizard"],u:"1f98e",a:"3.0"},{n:["snake"],u:"1f40d",a:"0.6"},{n:["dragon face"],u:"1f432",a:"0.6"},{n:["dragon"],u:"1f409",a:"1.0"},{n:["sauropod"],u:"1f995",a:"5.0"},{n:["t-rex"],u:"1f996",a:"5.0"},{n:["whale","spouting whale"],u:"1f433",a:"0.6"},{n:["whale","whale2"],u:"1f40b",a:"1.0"},{n:["dolphin","flipper"],u:"1f42c",a:"0.6"},{n:["seal"],u:"1f9ad",a:"13.0"},{n:["fish"],u:"1f41f",a:"0.6"},{n:["tropical fish"],u:"1f420",a:"0.6"},{n:["blowfish"],u:"1f421",a:"0.6"},{n:["shark"],u:"1f988",a:"3.0"},{n:["octopus"],u:"1f419",a:"0.6"},{n:["shell","spiral shell"],u:"1f41a",a:"0.6"},{n:["coral"],u:"1fab8",a:"14.0"},{n:["jellyfish"],u:"1fabc",a:"15.0"},{n:["snail"],u:"1f40c",a:"0.6"},{n:["butterfly"],u:"1f98b",a:"3.0"},{n:["bug"],u:"1f41b",a:"0.6"},{n:["ant"],u:"1f41c",a:"0.6"},{n:["bee","honeybee"],u:"1f41d",a:"0.6"},{n:["beetle"],u:"1fab2",a:"13.0"},{n:["ladybug","lady beetle"],u:"1f41e",a:"0.6"},{n:["cricket"],u:"1f997",a:"5.0"},{n:["cockroach"],u:"1fab3",a:"13.0"},{n:["spider"],u:"1f577-fe0f",a:"0.7"},{n:["spider web"],u:"1f578-fe0f",a:"0.7"},{n:["scorpion"],u:"1f982",a:"1.0"},{n:["mosquito"],u:"1f99f",a:"11.0"},{n:["fly"],u:"1fab0",a:"13.0"},{n:["worm"],u:"1fab1",a:"13.0"},{n:["microbe"],u:"1f9a0",a:"11.0"},{n:["bouquet"],u:"1f490",a:"0.6"},{n:["cherry blossom"],u:"1f338",a:"0.6"},{n:["white flower"],u:"1f4ae",a:"0.6"},{n:["lotus"],u:"1fab7",a:"14.0"},{n:["rosette"],u:"1f3f5-fe0f",a:"0.7"},{n:["rose"],u:"1f339",a:"0.6"},{n:["wilted flower"],u:"1f940",a:"3.0"},{n:["hibiscus"],u:"1f33a",a:"0.6"},{n:["sunflower"],u:"1f33b",a:"0.6"},{n:["blossom"],u:"1f33c",a:"0.6"},{n:["tulip"],u:"1f337",a:"0.6"},{n:["hyacinth"],u:"1fabb",a:"15.0"},{n:["seedling"],u:"1f331",a:"0.6"},{n:["potted plant"],u:"1fab4",a:"13.0"},{n:["evergreen tree"],u:"1f332",a:"1.0"},{n:["deciduous tree"],u:"1f333",a:"1.0"},{n:["palm tree"],u:"1f334",a:"0.6"},{n:["cactus"],u:"1f335",a:"0.6"},{n:["ear of rice"],u:"1f33e",a:"0.6"},{n:["herb"],u:"1f33f",a:"0.6"},{n:["shamrock"],u:"2618-fe0f",a:"1.0"},{n:["four leaf clover"],u:"1f340",a:"0.6"},{n:["maple leaf"],u:"1f341",a:"0.6"},{n:["fallen leaf"],u:"1f342",a:"0.6"},{n:["leaves","leaf fluttering in wind"],u:"1f343",a:"0.6"},{n:["empty nest"],u:"1fab9",a:"14.0"},{n:["nest with eggs"],u:"1faba",a:"14.0"},{n:["mushroom"],u:"1f344",a:"0.6"}],food_drink:[{n:["grapes"],u:"1f347",a:"0.6"},{n:["melon"],u:"1f348",a:"0.6"},{n:["watermelon"],u:"1f349",a:"0.6"},{n:["tangerine"],u:"1f34a",a:"0.6"},{n:["lemon"],u:"1f34b",a:"1.0"},{n:["lime"],u:"1f34b-200d-1f7e9",a:"15.1"},{n:["banana"],u:"1f34c",a:"0.6"},{n:["pineapple"],u:"1f34d",a:"0.6"},{n:["mango"],u:"1f96d",a:"11.0"},{n:["apple","red apple"],u:"1f34e",a:"0.6"},{n:["green apple"],u:"1f34f",a:"0.6"},{n:["pear"],u:"1f350",a:"1.0"},{n:["peach"],u:"1f351",a:"0.6"},{n:["cherries"],u:"1f352",a:"0.6"},{n:["strawberry"],u:"1f353",a:"0.6"},{n:["blueberries"],u:"1fad0",a:"13.0"},{n:["kiwifruit"],u:"1f95d",a:"3.0"},{n:["tomato"],u:"1f345",a:"0.6"},{n:["olive"],u:"1fad2",a:"13.0"},{n:["coconut"],u:"1f965",a:"5.0"},{n:["avocado"],u:"1f951",a:"3.0"},{n:["eggplant","aubergine"],u:"1f346",a:"0.6"},{n:["potato"],u:"1f954",a:"3.0"},{n:["carrot"],u:"1f955",a:"3.0"},{n:["corn","ear of maize"],u:"1f33d",a:"0.6"},{n:["hot pepper"],u:"1f336-fe0f",a:"0.7"},{n:["bell pepper"],u:"1fad1",a:"13.0"},{n:["cucumber"],u:"1f952",a:"3.0"},{n:["leafy green"],u:"1f96c",a:"11.0"},{n:["broccoli"],u:"1f966",a:"5.0"},{n:["garlic"],u:"1f9c4",a:"12.0"},{n:["onion"],u:"1f9c5",a:"12.0"},{n:["peanuts"],u:"1f95c",a:"3.0"},{n:["beans"],u:"1fad8",a:"14.0"},{n:["chestnut"],u:"1f330",a:"0.6"},{n:["ginger root"],u:"1fada",a:"15.0"},{n:["pea pod"],u:"1fadb",a:"15.0"},{n:["brown mushroom"],u:"1f344-200d-1f7eb",a:"15.1"},{n:["bread"],u:"1f35e",a:"0.6"},{n:["croissant"],u:"1f950",a:"3.0"},{n:["baguette bread"],u:"1f956",a:"3.0"},{n:["flatbread"],u:"1fad3",a:"13.0"},{n:["pretzel"],u:"1f968",a:"5.0"},{n:["bagel"],u:"1f96f",a:"11.0"},{n:["pancakes"],u:"1f95e",a:"3.0"},{n:["waffle"],u:"1f9c7",a:"12.0"},{n:["cheese wedge"],u:"1f9c0",a:"1.0"},{n:["meat on bone"],u:"1f356",a:"0.6"},{n:["poultry leg"],u:"1f357",a:"0.6"},{n:["cut of meat"],u:"1f969",a:"5.0"},{n:["bacon"],u:"1f953",a:"3.0"},{n:["hamburger"],u:"1f354",a:"0.6"},{n:["fries","french fries"],u:"1f35f",a:"0.6"},{n:["pizza","slice of pizza"],u:"1f355",a:"0.6"},{n:["hotdog","hot dog"],u:"1f32d",a:"1.0"},{n:["sandwich"],u:"1f96a",a:"5.0"},{n:["taco"],u:"1f32e",a:"1.0"},{n:["burrito"],u:"1f32f",a:"1.0"},{n:["tamale"],u:"1fad4",a:"13.0"},{n:["stuffed flatbread"],u:"1f959",a:"3.0"},{n:["falafel"],u:"1f9c6",a:"12.0"},{n:["egg"],u:"1f95a",a:"3.0"},{n:["cooking","fried egg"],u:"1f373",a:"0.6"},{n:["shallow pan of food"],u:"1f958",a:"3.0"},{n:["stew","pot of food"],u:"1f372",a:"0.6"},{n:["fondue"],u:"1fad5",a:"13.0"},{n:["bowl with spoon"],u:"1f963",a:"5.0"},{n:["green salad"],u:"1f957",a:"3.0"},{n:["popcorn"],u:"1f37f",a:"1.0"},{n:["butter"],u:"1f9c8",a:"12.0"},{n:["salt","salt shaker"],u:"1f9c2",a:"11.0"},{n:["canned food"],u:"1f96b",a:"5.0"},{n:["bento","bento box"],u:"1f371",a:"0.6"},{n:["rice cracker"],u:"1f358",a:"0.6"},{n:["rice ball"],u:"1f359",a:"0.6"},{n:["rice","cooked rice"],u:"1f35a",a:"0.6"},{n:["curry","curry and rice"],u:"1f35b",a:"0.6"},{n:["ramen","steaming bowl"],u:"1f35c",a:"0.6"},{n:["spaghetti"],u:"1f35d",a:"0.6"},{n:["sweet potato","roasted sweet potato"],u:"1f360",a:"0.6"},{n:["oden"],u:"1f362",a:"0.6"},{n:["sushi"],u:"1f363",a:"0.6"},{n:["fried shrimp"],u:"1f364",a:"0.6"},{n:["fish cake","fish cake with swirl design"],u:"1f365",a:"0.6"},{n:["moon cake"],u:"1f96e",a:"11.0"},{n:["dango"],u:"1f361",a:"0.6"},{n:["dumpling"],u:"1f95f",a:"5.0"},{n:["fortune cookie"],u:"1f960",a:"5.0"},{n:["takeout box"],u:"1f961",a:"5.0"},{n:["crab"],u:"1f980",a:"1.0"},{n:["lobster"],u:"1f99e",a:"11.0"},{n:["shrimp"],u:"1f990",a:"3.0"},{n:["squid"],u:"1f991",a:"3.0"},{n:["oyster"],u:"1f9aa",a:"12.0"},{n:["icecream","soft ice cream"],u:"1f366",a:"0.6"},{n:["shaved ice"],u:"1f367",a:"0.6"},{n:["ice cream"],u:"1f368",a:"0.6"},{n:["doughnut"],u:"1f369",a:"0.6"},{n:["cookie"],u:"1f36a",a:"0.6"},{n:["birthday","birthday cake"],u:"1f382",a:"0.6"},{n:["cake","shortcake"],u:"1f370",a:"0.6"},{n:["cupcake"],u:"1f9c1",a:"11.0"},{n:["pie"],u:"1f967",a:"5.0"},{n:["chocolate bar"],u:"1f36b",a:"0.6"},{n:["candy"],u:"1f36c",a:"0.6"},{n:["lollipop"],u:"1f36d",a:"0.6"},{n:["custard"],u:"1f36e",a:"0.6"},{n:["honey pot"],u:"1f36f",a:"0.6"},{n:["baby bottle"],u:"1f37c",a:"1.0"},{n:["glass of milk"],u:"1f95b",a:"3.0"},{n:["coffee","hot beverage"],u:"2615",a:"0.6"},{n:["teapot"],u:"1fad6",a:"13.0"},{n:["tea","teacup without handle"],u:"1f375",a:"0.6"},{n:["sake","sake bottle and cup"],u:"1f376",a:"0.6"},{n:["champagne","bottle with popping cork"],u:"1f37e",a:"1.0"},{n:["wine glass"],u:"1f377",a:"0.6"},{n:["cocktail","cocktail glass"],u:"1f378",a:"0.6"},{n:["tropical drink"],u:"1f379",a:"0.6"},{n:["beer","beer mug"],u:"1f37a",a:"0.6"},{n:["beers","clinking beer mugs"],u:"1f37b",a:"0.6"},{n:["clinking glasses"],u:"1f942",a:"3.0"},{n:["tumbler glass"],u:"1f943",a:"3.0"},{n:["pouring liquid"],u:"1fad7",a:"14.0"},{n:["cup with straw"],u:"1f964",a:"5.0"},{n:["bubble tea"],u:"1f9cb",a:"13.0"},{n:["beverage box"],u:"1f9c3",a:"12.0"},{n:["mate drink"],u:"1f9c9",a:"12.0"},{n:["ice cube"],u:"1f9ca",a:"12.0"},{n:["chopsticks"],u:"1f962",a:"5.0"},{n:["knife fork plate","fork and knife with plate"],u:"1f37d-fe0f",a:"0.7"},{n:["fork and knife"],u:"1f374",a:"0.6"},{n:["spoon"],u:"1f944",a:"3.0"},{n:["hocho","knife"],u:"1f52a",a:"0.6"},{n:["jar"],u:"1fad9",a:"14.0"},{n:["amphora"],u:"1f3fa",a:"1.0"}],travel_places:[{n:["earth africa","earth globe europe-africa"],u:"1f30d",a:"0.7"},{n:["earth americas","earth globe americas"],u:"1f30e",a:"0.7"},{n:["earth asia","earth globe asia-australia"],u:"1f30f",a:"0.6"},{n:["globe with meridians"],u:"1f310",a:"1.0"},{n:["world map"],u:"1f5fa-fe0f",a:"0.7"},{n:["japan","silhouette of japan"],u:"1f5fe",a:"0.6"},{n:["compass"],u:"1f9ed",a:"11.0"},{n:["snow-capped mountain","snow capped mountain"],u:"1f3d4-fe0f",a:"0.7"},{n:["mountain"],u:"26f0-fe0f",a:"0.7"},{n:["volcano"],u:"1f30b",a:"0.6"},{n:["mount fuji"],u:"1f5fb",a:"0.6"},{n:["camping"],u:"1f3d5-fe0f",a:"0.7"},{n:["beach with umbrella"],u:"1f3d6-fe0f",a:"0.7"},{n:["desert"],u:"1f3dc-fe0f",a:"0.7"},{n:["desert island"],u:"1f3dd-fe0f",a:"0.7"},{n:["national park"],u:"1f3de-fe0f",a:"0.7"},{n:["stadium"],u:"1f3df-fe0f",a:"0.7"},{n:["classical building"],u:"1f3db-fe0f",a:"0.7"},{n:["building construction"],u:"1f3d7-fe0f",a:"0.7"},{n:["brick","bricks"],u:"1f9f1",a:"11.0"},{n:["rock"],u:"1faa8",a:"13.0"},{n:["wood"],u:"1fab5",a:"13.0"},{n:["hut"],u:"1f6d6",a:"13.0"},{n:["houses","house buildings"],u:"1f3d8-fe0f",a:"0.7"},{n:["derelict house","derelict house building"],u:"1f3da-fe0f",a:"0.7"},{n:["house","house building"],u:"1f3e0",a:"0.6"},{n:["house with garden"],u:"1f3e1",a:"0.6"},{n:["office","office building"],u:"1f3e2",a:"0.6"},{n:["post office","japanese post office"],u:"1f3e3",a:"0.6"},{n:["european post office"],u:"1f3e4",a:"1.0"},{n:["hospital"],u:"1f3e5",a:"0.6"},{n:["bank"],u:"1f3e6",a:"0.6"},{n:["hotel"],u:"1f3e8",a:"0.6"},{n:["love hotel"],u:"1f3e9",a:"0.6"},{n:["convenience store"],u:"1f3ea",a:"0.6"},{n:["school"],u:"1f3eb",a:"0.6"},{n:["department store"],u:"1f3ec",a:"0.6"},{n:["factory"],u:"1f3ed",a:"0.6"},{n:["japanese castle"],u:"1f3ef",a:"0.6"},{n:["european castle"],u:"1f3f0",a:"0.6"},{n:["wedding"],u:"1f492",a:"0.6"},{n:["tokyo tower"],u:"1f5fc",a:"0.6"},{n:["statue of liberty"],u:"1f5fd",a:"0.6"},{n:["church"],u:"26ea",a:"0.6"},{n:["mosque"],u:"1f54c",a:"1.0"},{n:["hindu temple"],u:"1f6d5",a:"12.0"},{n:["synagogue"],u:"1f54d",a:"1.0"},{n:["shinto shrine"],u:"26e9-fe0f",a:"0.7"},{n:["kaaba"],u:"1f54b",a:"1.0"},{n:["fountain"],u:"26f2",a:"0.6"},{n:["tent"],u:"26fa",a:"0.6"},{n:["foggy"],u:"1f301",a:"0.6"},{n:["night with stars"],u:"1f303",a:"0.6"},{n:["cityscape"],u:"1f3d9-fe0f",a:"0.7"},{n:["sunrise over mountains"],u:"1f304",a:"0.6"},{n:["sunrise"],u:"1f305",a:"0.6"},{n:["city sunset","cityscape at dusk"],u:"1f306",a:"0.6"},{n:["city sunrise","sunset over buildings"],u:"1f307",a:"0.6"},{n:["bridge at night"],u:"1f309",a:"0.6"},{n:["hotsprings","hot springs"],u:"2668-fe0f",a:"0.6"},{n:["carousel horse"],u:"1f3a0",a:"0.6"},{n:["playground slide"],u:"1f6dd",a:"14.0"},{n:["ferris wheel"],u:"1f3a1",a:"0.6"},{n:["roller coaster"],u:"1f3a2",a:"0.6"},{n:["barber","barber pole"],u:"1f488",a:"0.6"},{n:["circus tent"],u:"1f3aa",a:"0.6"},{n:["steam locomotive"],u:"1f682",a:"1.0"},{n:["railway car"],u:"1f683",a:"0.6"},{n:["high-speed train","bullettrain side"],u:"1f684",a:"0.6"},{n:["bullettrain front","high-speed train with bullet nose"],u:"1f685",a:"0.6"},{n:["train","train2"],u:"1f686",a:"1.0"},{n:["metro"],u:"1f687",a:"0.6"},{n:["light rail"],u:"1f688",a:"1.0"},{n:["station"],u:"1f689",a:"0.6"},{n:["tram"],u:"1f68a",a:"1.0"},{n:["monorail"],u:"1f69d",a:"1.0"},{n:["mountain railway"],u:"1f69e",a:"1.0"},{n:["train","tram car"],u:"1f68b",a:"1.0"},{n:["bus"],u:"1f68c",a:"0.6"},{n:["oncoming bus"],u:"1f68d",a:"0.7"},{n:["trolleybus"],u:"1f68e",a:"1.0"},{n:["minibus"],u:"1f690",a:"1.0"},{n:["ambulance"],u:"1f691",a:"0.6"},{n:["fire engine"],u:"1f692",a:"0.6"},{n:["police car"],u:"1f693",a:"0.6"},{n:["oncoming police car"],u:"1f694",a:"0.7"},{n:["taxi"],u:"1f695",a:"0.6"},{n:["oncoming taxi"],u:"1f696",a:"1.0"},{n:["car","red car","automobile"],u:"1f697",a:"0.6"},{n:["oncoming automobile"],u:"1f698",a:"0.7"},{n:["blue car","recreational vehicle"],u:"1f699",a:"0.6"},{n:["pickup truck"],u:"1f6fb",a:"13.0"},{n:["truck","delivery truck"],u:"1f69a",a:"0.6"},{n:["articulated lorry"],u:"1f69b",a:"1.0"},{n:["tractor"],u:"1f69c",a:"1.0"},{n:["racing car"],u:"1f3ce-fe0f",a:"0.7"},{n:["motorcycle","racing motorcycle"],u:"1f3cd-fe0f",a:"0.7"},{n:["motor scooter"],u:"1f6f5",a:"3.0"},{n:["manual wheelchair"],u:"1f9bd",a:"12.0"},{n:["motorized wheelchair"],u:"1f9bc",a:"12.0"},{n:["auto rickshaw"],u:"1f6fa",a:"12.0"},{n:["bike","bicycle"],u:"1f6b2",a:"0.6"},{n:["scooter"],u:"1f6f4",a:"3.0"},{n:["skateboard"],u:"1f6f9",a:"11.0"},{n:["roller skate"],u:"1f6fc",a:"13.0"},{n:["busstop","bus stop"],u:"1f68f",a:"0.6"},{n:["motorway"],u:"1f6e3-fe0f",a:"0.7"},{n:["railway track"],u:"1f6e4-fe0f",a:"0.7"},{n:["oil drum"],u:"1f6e2-fe0f",a:"0.7"},{n:["fuelpump","fuel pump"],u:"26fd",a:"0.6"},{n:["wheel"],u:"1f6de",a:"14.0"},{n:["rotating light","police cars revolving light"],u:"1f6a8",a:"0.6"},{n:["traffic light","horizontal traffic light"],u:"1f6a5",a:"0.6"},{n:["vertical traffic light"],u:"1f6a6",a:"1.0"},{n:["octagonal sign"],u:"1f6d1",a:"3.0"},{n:["construction","construction sign"],u:"1f6a7",a:"0.6"},{n:["anchor"],u:"2693",a:"0.6"},{n:["ring buoy"],u:"1f6df",a:"14.0"},{n:["boat","sailboat"],u:"26f5",a:"0.6"},{n:["canoe"],u:"1f6f6",a:"3.0"},{n:["speedboat"],u:"1f6a4",a:"0.6"},{n:["passenger ship"],u:"1f6f3-fe0f",a:"0.7"},{n:["ferry"],u:"26f4-fe0f",a:"0.7"},{n:["motor boat"],u:"1f6e5-fe0f",a:"0.7"},{n:["ship"],u:"1f6a2",a:"0.6"},{n:["airplane"],u:"2708-fe0f",a:"0.6"},{n:["small airplane"],u:"1f6e9-fe0f",a:"0.7"},{n:["airplane departure"],u:"1f6eb",a:"1.0"},{n:["airplane arriving"],u:"1f6ec",a:"1.0"},{n:["parachute"],u:"1fa82",a:"12.0"},{n:["seat"],u:"1f4ba",a:"0.6"},{n:["helicopter"],u:"1f681",a:"1.0"},{n:["suspension railway"],u:"1f69f",a:"1.0"},{n:["mountain cableway"],u:"1f6a0",a:"1.0"},{n:["aerial tramway"],u:"1f6a1",a:"1.0"},{n:["satellite"],u:"1f6f0-fe0f",a:"0.7"},{n:["rocket"],u:"1f680",a:"0.6"},{n:["flying saucer"],u:"1f6f8",a:"5.0"},{n:["bellhop bell"],u:"1f6ce-fe0f",a:"0.7"},{n:["luggage"],u:"1f9f3",a:"11.0"},{n:["hourglass"],u:"231b",a:"0.6"},{n:["hourglass flowing sand","hourglass with flowing sand"],u:"23f3",a:"0.6"},{n:["watch"],u:"231a",a:"0.6"},{n:["alarm clock"],u:"23f0",a:"0.6"},{n:["stopwatch"],u:"23f1-fe0f",a:"1.0"},{n:["timer clock"],u:"23f2-fe0f",a:"1.0"},{n:["mantelpiece clock"],u:"1f570-fe0f",a:"0.7"},{n:["clock12","clock face twelve oclock"],u:"1f55b",a:"0.6"},{n:["clock1230","clock face twelve-thirty"],u:"1f567",a:"0.7"},{n:["clock1","clock face one oclock"],u:"1f550",a:"0.6"},{n:["clock130","clock face one-thirty"],u:"1f55c",a:"0.7"},{n:["clock2","clock face two oclock"],u:"1f551",a:"0.6"},{n:["clock230","clock face two-thirty"],u:"1f55d",a:"0.7"},{n:["clock3","clock face three oclock"],u:"1f552",a:"0.6"},{n:["clock330","clock face three-thirty"],u:"1f55e",a:"0.7"},{n:["clock4","clock face four oclock"],u:"1f553",a:"0.6"},{n:["clock430","clock face four-thirty"],u:"1f55f",a:"0.7"},{n:["clock5","clock face five oclock"],u:"1f554",a:"0.6"},{n:["clock530","clock face five-thirty"],u:"1f560",a:"0.7"},{n:["clock6","clock face six oclock"],u:"1f555",a:"0.6"},{n:["clock630","clock face six-thirty"],u:"1f561",a:"0.7"},{n:["clock7","clock face seven oclock"],u:"1f556",a:"0.6"},{n:["clock730","clock face seven-thirty"],u:"1f562",a:"0.7"},{n:["clock8","clock face eight oclock"],u:"1f557",a:"0.6"},{n:["clock830","clock face eight-thirty"],u:"1f563",a:"0.7"},{n:["clock9","clock face nine oclock"],u:"1f558",a:"0.6"},{n:["clock930","clock face nine-thirty"],u:"1f564",a:"0.7"},{n:["clock10","clock face ten oclock"],u:"1f559",a:"0.6"},{n:["clock1030","clock face ten-thirty"],u:"1f565",a:"0.7"},{n:["clock11","clock face eleven oclock"],u:"1f55a",a:"0.6"},{n:["clock1130","clock face eleven-thirty"],u:"1f566",a:"0.7"},{n:["new moon","new moon symbol"],u:"1f311",a:"0.6"},{n:["waxing crescent moon","waxing crescent moon symbol"],u:"1f312",a:"1.0"},{n:["first quarter moon","first quarter moon symbol"],u:"1f313",a:"0.6"},{n:["moon","waxing gibbous moon","waxing gibbous moon symbol"],u:"1f314",a:"0.6"},{n:["full moon","full moon symbol"],u:"1f315",a:"0.6"},{n:["waning gibbous moon","waning gibbous moon symbol"],u:"1f316",a:"1.0"},{n:["last quarter moon","last quarter moon symbol"],u:"1f317",a:"1.0"},{n:["waning crescent moon","waning crescent moon symbol"],u:"1f318",a:"1.0"},{n:["crescent moon"],u:"1f319",a:"0.6"},{n:["new moon with face"],u:"1f31a",a:"1.0"},{n:["first quarter moon with face"],u:"1f31b",a:"0.6"},{n:["last quarter moon with face"],u:"1f31c",a:"0.7"},{n:["thermometer"],u:"1f321-fe0f",a:"0.7"},{n:["sunny","black sun with rays"],u:"2600-fe0f",a:"0.6"},{n:["full moon with face"],u:"1f31d",a:"1.0"},{n:["sun with face"],u:"1f31e",a:"1.0"},{n:["ringed planet"],u:"1fa90",a:"12.0"},{n:["star","white medium star"],u:"2b50",a:"0.6"},{n:["star2","glowing star"],u:"1f31f",a:"0.6"},{n:["stars","shooting star"],u:"1f320",a:"0.6"},{n:["milky way"],u:"1f30c",a:"0.6"},{n:["cloud"],u:"2601-fe0f",a:"0.6"},{n:["partly sunny","sun behind cloud"],u:"26c5",a:"0.6"},{n:["thunder cloud and rain","cloud with lightning and rain"],u:"26c8-fe0f",a:"0.7"},{n:["mostly sunny","sun small cloud","sun behind small cloud"],u:"1f324-fe0f",a:"0.7"},{n:["barely sunny","sun behind cloud","sun behind large cloud"],u:"1f325-fe0f",a:"0.7"},{n:["partly sunny rain","sun behind rain cloud"],u:"1f326-fe0f",a:"0.7"},{n:["rain cloud","cloud with rain"],u:"1f327-fe0f",a:"0.7"},{n:["snow cloud","cloud with snow"],u:"1f328-fe0f",a:"0.7"},{n:["lightning","lightning cloud","cloud with lightning"],u:"1f329-fe0f",a:"0.7"},{n:["tornado","tornado cloud"],u:"1f32a-fe0f",a:"0.7"},{n:["fog"],u:"1f32b-fe0f",a:"0.7"},{n:["wind face","wind blowing face"],u:"1f32c-fe0f",a:"0.7"},{n:["cyclone"],u:"1f300",a:"0.6"},{n:["rainbow"],u:"1f308",a:"0.6"},{n:["closed umbrella"],u:"1f302",a:"0.6"},{n:["umbrella"],u:"2602-fe0f",a:"0.7"},{n:["umbrella with rain drops"],u:"2614",a:"0.6"},{n:["umbrella on ground"],u:"26f1-fe0f",a:"0.7"},{n:["zap","high voltage sign"],u:"26a1",a:"0.6"},{n:["snowflake"],u:"2744-fe0f",a:"0.6"},{n:["snowman"],u:"2603-fe0f",a:"0.7"},{n:["snowman without snow"],u:"26c4",a:"0.6"},{n:["comet"],u:"2604-fe0f",a:"1.0"},{n:["fire"],u:"1f525",a:"0.6"},{n:["droplet"],u:"1f4a7",a:"0.6"},{n:["ocean","water wave"],u:"1f30a",a:"0.6"}],activities:[{n:["jack-o-lantern","jack o lantern"],u:"1f383",a:"0.6"},{n:["christmas tree"],u:"1f384",a:"0.6"},{n:["fireworks"],u:"1f386",a:"0.6"},{n:["sparkler","firework sparkler"],u:"1f387",a:"0.6"},{n:["firecracker"],u:"1f9e8",a:"11.0"},{n:["sparkles"],u:"2728",a:"0.6"},{n:["balloon"],u:"1f388",a:"0.6"},{n:["tada","party popper"],u:"1f389",a:"0.6"},{n:["confetti ball"],u:"1f38a",a:"0.6"},{n:["tanabata tree"],u:"1f38b",a:"0.6"},{n:["bamboo","pine decoration"],u:"1f38d",a:"0.6"},{n:["dolls","japanese dolls"],u:"1f38e",a:"0.6"},{n:["flags","carp streamer"],u:"1f38f",a:"0.6"},{n:["wind chime"],u:"1f390",a:"0.6"},{n:["rice scene","moon viewing ceremony"],u:"1f391",a:"0.6"},{n:["red envelope","red gift envelope"],u:"1f9e7",a:"11.0"},{n:["ribbon"],u:"1f380",a:"0.6"},{n:["gift","wrapped present"],u:"1f381",a:"0.6"},{n:["reminder ribbon"],u:"1f397-fe0f",a:"0.7"},{n:["admission tickets"],u:"1f39f-fe0f",a:"0.7"},{n:["ticket"],u:"1f3ab",a:"0.6"},{n:["medal","military medal"],u:"1f396-fe0f",a:"0.7"},{n:["trophy"],u:"1f3c6",a:"0.6"},{n:["sports medal"],u:"1f3c5",a:"1.0"},{n:["first place medal"],u:"1f947",a:"3.0"},{n:["second place medal"],u:"1f948",a:"3.0"},{n:["third place medal"],u:"1f949",a:"3.0"},{n:["soccer","soccer ball"],u:"26bd",a:"0.6"},{n:["baseball"],u:"26be",a:"0.6"},{n:["softball"],u:"1f94e",a:"11.0"},{n:["basketball","basketball and hoop"],u:"1f3c0",a:"0.6"},{n:["volleyball"],u:"1f3d0",a:"1.0"},{n:["football","american football"],u:"1f3c8",a:"0.6"},{n:["rugby football"],u:"1f3c9",a:"1.0"},{n:["tennis","tennis racquet and ball"],u:"1f3be",a:"0.6"},{n:["flying disc"],u:"1f94f",a:"11.0"},{n:["bowling"],u:"1f3b3",a:"0.6"},{n:["cricket bat and ball"],u:"1f3cf",a:"1.0"},{n:["field hockey stick and ball"],u:"1f3d1",a:"1.0"},{n:["ice hockey stick and puck"],u:"1f3d2",a:"1.0"},{n:["lacrosse","lacrosse stick and ball"],u:"1f94d",a:"11.0"},{n:["table tennis paddle and ball"],u:"1f3d3",a:"1.0"},{n:["badminton racquet and shuttlecock"],u:"1f3f8",a:"1.0"},{n:["boxing glove"],u:"1f94a",a:"3.0"},{n:["martial arts uniform"],u:"1f94b",a:"3.0"},{n:["goal net"],u:"1f945",a:"3.0"},{n:["golf","flag in hole"],u:"26f3",a:"0.6"},{n:["ice skate"],u:"26f8-fe0f",a:"0.7"},{n:["fishing pole and fish"],u:"1f3a3",a:"0.6"},{n:["diving mask"],u:"1f93f",a:"12.0"},{n:["running shirt with sash"],u:"1f3bd",a:"0.6"},{n:["ski","ski and ski boot"],u:"1f3bf",a:"0.6"},{n:["sled"],u:"1f6f7",a:"5.0"},{n:["curling stone"],u:"1f94c",a:"5.0"},{n:["dart","direct hit"],u:"1f3af",a:"0.6"},{n:["yo-yo"],u:"1fa80",a:"12.0"},{n:["kite"],u:"1fa81",a:"12.0"},{n:["gun","pistol"],u:"1f52b",a:"0.6"},{n:["8ball","billiards"],u:"1f3b1",a:"0.6"},{n:["crystal ball"],u:"1f52e",a:"0.6"},{n:["magic wand"],u:"1fa84",a:"13.0"},{n:["video game"],u:"1f3ae",a:"0.6"},{n:["joystick"],u:"1f579-fe0f",a:"0.7"},{n:["slot machine"],u:"1f3b0",a:"0.6"},{n:["game die"],u:"1f3b2",a:"0.6"},{n:["jigsaw","jigsaw puzzle piece"],u:"1f9e9",a:"11.0"},{n:["teddy bear"],u:"1f9f8",a:"11.0"},{n:["pinata"],u:"1fa85",a:"13.0"},{n:["mirror ball"],u:"1faa9",a:"14.0"},{n:["nesting dolls"],u:"1fa86",a:"13.0"},{n:["spades","black spade suit"],u:"2660-fe0f",a:"0.6"},{n:["hearts","black heart suit"],u:"2665-fe0f",a:"0.6"},{n:["diamonds","black diamond suit"],u:"2666-fe0f",a:"0.6"},{n:["clubs","black club suit"],u:"2663-fe0f",a:"0.6"},{n:["chess pawn"],u:"265f-fe0f",a:"11.0"},{n:["black joker","playing card black joker"],u:"1f0cf",a:"0.6"},{n:["mahjong","mahjong tile red dragon"],u:"1f004",a:"0.6"},{n:["flower playing cards"],u:"1f3b4",a:"0.6"},{n:["performing arts"],u:"1f3ad",a:"0.6"},{n:["framed picture","frame with picture"],u:"1f5bc-fe0f",a:"0.7"},{n:["art","artist palette"],u:"1f3a8",a:"0.6"},{n:["thread","spool of thread"],u:"1f9f5",a:"11.0"},{n:["sewing needle"],u:"1faa1",a:"13.0"},{n:["yarn","ball of yarn"],u:"1f9f6",a:"11.0"},{n:["knot"],u:"1faa2",a:"13.0"}],objects:[{n:["eyeglasses"],u:"1f453",a:"0.6"},{n:["sunglasses","dark sunglasses"],u:"1f576-fe0f",a:"0.7"},{n:["goggles"],u:"1f97d",a:"11.0"},{n:["lab coat"],u:"1f97c",a:"11.0"},{n:["safety vest"],u:"1f9ba",a:"12.0"},{n:["necktie"],u:"1f454",a:"0.6"},{n:["shirt","tshirt","t-shirt"],u:"1f455",a:"0.6"},{n:["jeans"],u:"1f456",a:"0.6"},{n:["scarf"],u:"1f9e3",a:"5.0"},{n:["gloves"],u:"1f9e4",a:"5.0"},{n:["coat"],u:"1f9e5",a:"5.0"},{n:["socks"],u:"1f9e6",a:"5.0"},{n:["dress"],u:"1f457",a:"0.6"},{n:["kimono"],u:"1f458",a:"0.6"},{n:["sari"],u:"1f97b",a:"12.0"},{n:["one-piece swimsuit"],u:"1fa71",a:"12.0"},{n:["briefs"],u:"1fa72",a:"12.0"},{n:["shorts"],u:"1fa73",a:"12.0"},{n:["bikini"],u:"1f459",a:"0.6"},{n:["womans clothes"],u:"1f45a",a:"0.6"},{n:["folding hand fan"],u:"1faad",a:"15.0"},{n:["purse"],u:"1f45b",a:"0.6"},{n:["handbag"],u:"1f45c",a:"0.6"},{n:["pouch"],u:"1f45d",a:"0.6"},{n:["shopping bags"],u:"1f6cd-fe0f",a:"0.7"},{n:["school satchel"],u:"1f392",a:"0.6"},{n:["thong sandal"],u:"1fa74",a:"13.0"},{n:["shoe","mans shoe"],u:"1f45e",a:"0.6"},{n:["athletic shoe"],u:"1f45f",a:"0.6"},{n:["hiking boot"],u:"1f97e",a:"11.0"},{n:["flat shoe","womans flat shoe"],u:"1f97f",a:"11.0"},{n:["high heel","high-heeled shoe"],u:"1f460",a:"0.6"},{n:["sandal","womans sandal"],u:"1f461",a:"0.6"},{n:["ballet shoes"],u:"1fa70",a:"12.0"},{n:["boot","womans boots"],u:"1f462",a:"0.6"},{n:["hair pick"],u:"1faae",a:"15.0"},{n:["crown"],u:"1f451",a:"0.6"},{n:["womans hat"],u:"1f452",a:"0.6"},{n:["tophat","top hat"],u:"1f3a9",a:"0.6"},{n:["mortar board","graduation cap"],u:"1f393",a:"0.6"},{n:["billed cap"],u:"1f9e2",a:"5.0"},{n:["military helmet"],u:"1fa96",a:"13.0"},{n:["rescue worker’s helmet","helmet with white cross"],u:"26d1-fe0f",a:"0.7"},{n:["prayer beads"],u:"1f4ff",a:"1.0"},{n:["lipstick"],u:"1f484",a:"0.6"},{n:["ring"],u:"1f48d",a:"0.6"},{n:["gem","gem stone"],u:"1f48e",a:"0.6"},{n:["mute","speaker with cancellation stroke"],u:"1f507",a:"1.0"},{n:["speaker"],u:"1f508",a:"0.7"},{n:["sound","speaker with one sound wave"],u:"1f509",a:"1.0"},{n:["loud sound","speaker with three sound waves"],u:"1f50a",a:"0.6"},{n:["loudspeaker","public address loudspeaker"],u:"1f4e2",a:"0.6"},{n:["mega","cheering megaphone"],u:"1f4e3",a:"0.6"},{n:["postal horn"],u:"1f4ef",a:"1.0"},{n:["bell"],u:"1f514",a:"0.6"},{n:["no bell","bell with cancellation stroke"],u:"1f515",a:"1.0"},{n:["musical score"],u:"1f3bc",a:"0.6"},{n:["musical note"],u:"1f3b5",a:"0.6"},{n:["notes","multiple musical notes"],u:"1f3b6",a:"0.6"},{n:["studio microphone"],u:"1f399-fe0f",a:"0.7"},{n:["level slider"],u:"1f39a-fe0f",a:"0.7"},{n:["control knobs"],u:"1f39b-fe0f",a:"0.7"},{n:["microphone"],u:"1f3a4",a:"0.6"},{n:["headphone","headphones"],u:"1f3a7",a:"0.6"},{n:["radio"],u:"1f4fb",a:"0.6"},{n:["saxophone"],u:"1f3b7",a:"0.6"},{n:["accordion"],u:"1fa97",a:"13.0"},{n:["guitar"],u:"1f3b8",a:"0.6"},{n:["musical keyboard"],u:"1f3b9",a:"0.6"},{n:["trumpet"],u:"1f3ba",a:"0.6"},{n:["violin"],u:"1f3bb",a:"0.6"},{n:["banjo"],u:"1fa95",a:"12.0"},{n:["drum with drumsticks"],u:"1f941",a:"3.0"},{n:["long drum"],u:"1fa98",a:"13.0"},{n:["maracas"],u:"1fa87",a:"15.0"},{n:["flute"],u:"1fa88",a:"15.0"},{n:["iphone","mobile phone"],u:"1f4f1",a:"0.6"},{n:["calling","mobile phone with rightwards arrow at left"],u:"1f4f2",a:"0.6"},{n:["phone","telephone","black telephone"],u:"260e-fe0f",a:"0.6"},{n:["telephone receiver"],u:"1f4de",a:"0.6"},{n:["pager"],u:"1f4df",a:"0.6"},{n:["fax","fax machine"],u:"1f4e0",a:"0.6"},{n:["battery"],u:"1f50b",a:"0.6"},{n:["low battery"],u:"1faab",a:"14.0"},{n:["electric plug"],u:"1f50c",a:"0.6"},{n:["computer","personal computer"],u:"1f4bb",a:"0.6"},{n:["desktop computer"],u:"1f5a5-fe0f",a:"0.7"},{n:["printer"],u:"1f5a8-fe0f",a:"0.7"},{n:["keyboard"],u:"2328-fe0f",a:"1.0"},{n:["computer mouse","three button mouse"],u:"1f5b1-fe0f",a:"0.7"},{n:["trackball"],u:"1f5b2-fe0f",a:"0.7"},{n:["minidisc"],u:"1f4bd",a:"0.6"},{n:["floppy disk"],u:"1f4be",a:"0.6"},{n:["cd","optical disc"],u:"1f4bf",a:"0.6"},{n:["dvd"],u:"1f4c0",a:"0.6"},{n:["abacus"],u:"1f9ee",a:"11.0"},{n:["movie camera"],u:"1f3a5",a:"0.6"},{n:["film frames"],u:"1f39e-fe0f",a:"0.7"},{n:["film projector"],u:"1f4fd-fe0f",a:"0.7"},{n:["clapper","clapper board"],u:"1f3ac",a:"0.6"},{n:["tv","television"],u:"1f4fa",a:"0.6"},{n:["camera"],u:"1f4f7",a:"0.6"},{n:["camera with flash"],u:"1f4f8",a:"1.0"},{n:["video camera"],u:"1f4f9",a:"0.6"},{n:["vhs","videocassette"],u:"1f4fc",a:"0.6"},{n:["mag","left-pointing magnifying glass"],u:"1f50d",a:"0.6"},{n:["mag right","right-pointing magnifying glass"],u:"1f50e",a:"0.6"},{n:["candle"],u:"1f56f-fe0f",a:"0.7"},{n:["bulb","electric light bulb"],u:"1f4a1",a:"0.6"},{n:["flashlight","electric torch"],u:"1f526",a:"0.6"},{n:["lantern","izakaya lantern"],u:"1f3ee",a:"0.6"},{n:["diya lamp"],u:"1fa94",a:"12.0"},{n:["notebook with decorative cover"],u:"1f4d4",a:"0.6"},{n:["closed book"],u:"1f4d5",a:"0.6"},{n:["book","open book"],u:"1f4d6",a:"0.6"},{n:["green book"],u:"1f4d7",a:"0.6"},{n:["blue book"],u:"1f4d8",a:"0.6"},{n:["orange book"],u:"1f4d9",a:"0.6"},{n:["books"],u:"1f4da",a:"0.6"},{n:["notebook"],u:"1f4d3",a:"0.6"},{n:["ledger"],u:"1f4d2",a:"0.6"},{n:["page with curl"],u:"1f4c3",a:"0.6"},{n:["scroll"],u:"1f4dc",a:"0.6"},{n:["page facing up"],u:"1f4c4",a:"0.6"},{n:["newspaper"],u:"1f4f0",a:"0.6"},{n:["rolled-up newspaper","rolled up newspaper"],u:"1f5de-fe0f",a:"0.7"},{n:["bookmark tabs"],u:"1f4d1",a:"0.6"},{n:["bookmark"],u:"1f516",a:"0.6"},{n:["label"],u:"1f3f7-fe0f",a:"0.7"},{n:["moneybag","money bag"],u:"1f4b0",a:"0.6"},{n:["coin"],u:"1fa99",a:"13.0"},{n:["yen","banknote with yen sign"],u:"1f4b4",a:"0.6"},{n:["dollar","banknote with dollar sign"],u:"1f4b5",a:"0.6"},{n:["euro","banknote with euro sign"],u:"1f4b6",a:"1.0"},{n:["pound","banknote with pound sign"],u:"1f4b7",a:"1.0"},{n:["money with wings"],u:"1f4b8",a:"0.6"},{n:["credit card"],u:"1f4b3",a:"0.6"},{n:["receipt"],u:"1f9fe",a:"11.0"},{n:["chart","chart with upwards trend and yen sign"],u:"1f4b9",a:"0.6"},{n:["email","envelope"],u:"2709-fe0f",a:"0.6"},{n:["e-mail","e-mail symbol"],u:"1f4e7",a:"0.6"},{n:["incoming envelope"],u:"1f4e8",a:"0.6"},{n:["envelope with arrow","envelope with downwards arrow above"],u:"1f4e9",a:"0.6"},{n:["outbox tray"],u:"1f4e4",a:"0.6"},{n:["inbox tray"],u:"1f4e5",a:"0.6"},{n:["package"],u:"1f4e6",a:"0.6"},{n:["mailbox","closed mailbox with raised flag"],u:"1f4eb",a:"0.6"},{n:["mailbox closed","closed mailbox with lowered flag"],u:"1f4ea",a:"0.6"},{n:["mailbox with mail","open mailbox with raised flag"],u:"1f4ec",a:"0.7"},{n:["mailbox with no mail","open mailbox with lowered flag"],u:"1f4ed",a:"0.7"},{n:["postbox"],u:"1f4ee",a:"0.6"},{n:["ballot box with ballot"],u:"1f5f3-fe0f",a:"0.7"},{n:["pencil","pencil2"],u:"270f-fe0f",a:"0.6"},{n:["black nib"],u:"2712-fe0f",a:"0.6"},{n:["fountain pen","lower left fountain pen"],u:"1f58b-fe0f",a:"0.7"},{n:["pen","lower left ballpoint pen"],u:"1f58a-fe0f",a:"0.7"},{n:["paintbrush","lower left paintbrush"],u:"1f58c-fe0f",a:"0.7"},{n:["crayon","lower left crayon"],u:"1f58d-fe0f",a:"0.7"},{n:["memo","pencil"],u:"1f4dd",a:"0.6"},{n:["briefcase"],u:"1f4bc",a:"0.6"},{n:["file folder"],u:"1f4c1",a:"0.6"},{n:["open file folder"],u:"1f4c2",a:"0.6"},{n:["card index dividers"],u:"1f5c2-fe0f",a:"0.7"},{n:["date","calendar"],u:"1f4c5",a:"0.6"},{n:["calendar","tear-off calendar"],u:"1f4c6",a:"0.6"},{n:["spiral notepad","spiral note pad"],u:"1f5d2-fe0f",a:"0.7"},{n:["spiral calendar","spiral calendar pad"],u:"1f5d3-fe0f",a:"0.7"},{n:["card index"],u:"1f4c7",a:"0.6"},{n:["chart with upwards trend"],u:"1f4c8",a:"0.6"},{n:["chart with downwards trend"],u:"1f4c9",a:"0.6"},{n:["bar chart"],u:"1f4ca",a:"0.6"},{n:["clipboard"],u:"1f4cb",a:"0.6"},{n:["pushpin"],u:"1f4cc",a:"0.6"},{n:["round pushpin"],u:"1f4cd",a:"0.6"},{n:["paperclip"],u:"1f4ce",a:"0.6"},{n:["linked paperclips"],u:"1f587-fe0f",a:"0.7"},{n:["straight ruler"],u:"1f4cf",a:"0.6"},{n:["triangular ruler"],u:"1f4d0",a:"0.6"},{n:["scissors","black scissors"],u:"2702-fe0f",a:"0.6"},{n:["card file box"],u:"1f5c3-fe0f",a:"0.7"},{n:["file cabinet"],u:"1f5c4-fe0f",a:"0.7"},{n:["wastebasket"],u:"1f5d1-fe0f",a:"0.7"},{n:["lock"],u:"1f512",a:"0.6"},{n:["unlock","open lock"],u:"1f513",a:"0.6"},{n:["lock with ink pen"],u:"1f50f",a:"0.6"},{n:["closed lock with key"],u:"1f510",a:"0.6"},{n:["key"],u:"1f511",a:"0.6"},{n:["old key"],u:"1f5dd-fe0f",a:"0.7"},{n:["hammer"],u:"1f528",a:"0.6"},{n:["axe"],u:"1fa93",a:"12.0"},{n:["pick"],u:"26cf-fe0f",a:"0.7"},{n:["hammer and pick"],u:"2692-fe0f",a:"1.0"},{n:["hammer and wrench"],u:"1f6e0-fe0f",a:"0.7"},{n:["dagger","dagger knife"],u:"1f5e1-fe0f",a:"0.7"},{n:["crossed swords"],u:"2694-fe0f",a:"1.0"},{n:["bomb"],u:"1f4a3",a:"0.6"},{n:["boomerang"],u:"1fa83",a:"13.0"},{n:["bow and arrow"],u:"1f3f9",a:"1.0"},{n:["shield"],u:"1f6e1-fe0f",a:"0.7"},{n:["carpentry saw"],u:"1fa9a",a:"13.0"},{n:["wrench"],u:"1f527",a:"0.6"},{n:["screwdriver"],u:"1fa9b",a:"13.0"},{n:["nut and bolt"],u:"1f529",a:"0.6"},{n:["gear"],u:"2699-fe0f",a:"1.0"},{n:["clamp","compression"],u:"1f5dc-fe0f",a:"0.7"},{n:["scales","balance scale"],u:"2696-fe0f",a:"1.0"},{n:["probing cane"],u:"1f9af",a:"12.0"},{n:["link","link symbol"],u:"1f517",a:"0.6"},{n:["broken chain"],u:"26d3-fe0f-200d-1f4a5",a:"15.1"},{n:["chains"],u:"26d3-fe0f",a:"0.7"},{n:["hook"],u:"1fa9d",a:"13.0"},{n:["toolbox"],u:"1f9f0",a:"11.0"},{n:["magnet"],u:"1f9f2",a:"11.0"},{n:["ladder"],u:"1fa9c",a:"13.0"},{n:["alembic"],u:"2697-fe0f",a:"1.0"},{n:["test tube"],u:"1f9ea",a:"11.0"},{n:["petri dish"],u:"1f9eb",a:"11.0"},{n:["dna","dna double helix"],u:"1f9ec",a:"11.0"},{n:["microscope"],u:"1f52c",a:"1.0"},{n:["telescope"],u:"1f52d",a:"1.0"},{n:["satellite antenna"],u:"1f4e1",a:"0.6"},{n:["syringe"],u:"1f489",a:"0.6"},{n:["drop of blood"],u:"1fa78",a:"12.0"},{n:["pill"],u:"1f48a",a:"0.6"},{n:["adhesive bandage"],u:"1fa79",a:"12.0"},{n:["crutch"],u:"1fa7c",a:"14.0"},{n:["stethoscope"],u:"1fa7a",a:"12.0"},{n:["x-ray"],u:"1fa7b",a:"14.0"},{n:["door"],u:"1f6aa",a:"0.6"},{n:["elevator"],u:"1f6d7",a:"13.0"},{n:["mirror"],u:"1fa9e",a:"13.0"},{n:["window"],u:"1fa9f",a:"13.0"},{n:["bed"],u:"1f6cf-fe0f",a:"0.7"},{n:["couch and lamp"],u:"1f6cb-fe0f",a:"0.7"},{n:["chair"],u:"1fa91",a:"12.0"},{n:["toilet"],u:"1f6bd",a:"0.6"},{n:["plunger"],u:"1faa0",a:"13.0"},{n:["shower"],u:"1f6bf",a:"1.0"},{n:["bathtub"],u:"1f6c1",a:"1.0"},{n:["mouse trap"],u:"1faa4",a:"13.0"},{n:["razor"],u:"1fa92",a:"12.0"},{n:["lotion bottle"],u:"1f9f4",a:"11.0"},{n:["safety pin"],u:"1f9f7",a:"11.0"},{n:["broom"],u:"1f9f9",a:"11.0"},{n:["basket"],u:"1f9fa",a:"11.0"},{n:["roll of paper"],u:"1f9fb",a:"11.0"},{n:["bucket"],u:"1faa3",a:"13.0"},{n:["soap","bar of soap"],u:"1f9fc",a:"11.0"},{n:["bubbles"],u:"1fae7",a:"14.0"},{n:["toothbrush"],u:"1faa5",a:"13.0"},{n:["sponge"],u:"1f9fd",a:"11.0"},{n:["fire extinguisher"],u:"1f9ef",a:"11.0"},{n:["shopping trolley"],u:"1f6d2",a:"3.0"},{n:["smoking","smoking symbol"],u:"1f6ac",a:"0.6"},{n:["coffin"],u:"26b0-fe0f",a:"1.0"},{n:["headstone"],u:"1faa6",a:"13.0"},{n:["funeral urn"],u:"26b1-fe0f",a:"1.0"},{n:["nazar amulet"],u:"1f9ff",a:"11.0"},{n:["hamsa"],u:"1faac",a:"14.0"},{n:["moyai"],u:"1f5ff",a:"0.6"},{n:["placard"],u:"1faa7",a:"13.0"},{n:["identification card"],u:"1faaa",a:"14.0"}],symbols:[{n:["atm","automated teller machine"],u:"1f3e7",a:"0.6"},{n:["put litter in its place","put litter in its place symbol"],u:"1f6ae",a:"1.0"},{n:["potable water","potable water symbol"],u:"1f6b0",a:"1.0"},{n:["wheelchair","wheelchair symbol"],u:"267f",a:"0.6"},{n:["mens","mens symbol"],u:"1f6b9",a:"0.6"},{n:["womens","womens symbol"],u:"1f6ba",a:"0.6"},{n:["restroom"],u:"1f6bb",a:"0.6"},{n:["baby symbol"],u:"1f6bc",a:"0.6"},{n:["wc","water closet"],u:"1f6be",a:"0.6"},{n:["passport control"],u:"1f6c2",a:"1.0"},{n:["customs"],u:"1f6c3",a:"1.0"},{n:["baggage claim"],u:"1f6c4",a:"1.0"},{n:["left luggage"],u:"1f6c5",a:"1.0"},{n:["warning","warning sign"],u:"26a0-fe0f",a:"0.6"},{n:["children crossing"],u:"1f6b8",a:"1.0"},{n:["no entry"],u:"26d4",a:"0.6"},{n:["no entry sign"],u:"1f6ab",a:"0.6"},{n:["no bicycles"],u:"1f6b3",a:"1.0"},{n:["no smoking","no smoking symbol"],u:"1f6ad",a:"0.6"},{n:["do not litter","do not litter symbol"],u:"1f6af",a:"1.0"},{n:["non-potable water","non-potable water symbol"],u:"1f6b1",a:"1.0"},{n:["no pedestrians"],u:"1f6b7",a:"1.0"},{n:["no mobile phones"],u:"1f4f5",a:"1.0"},{n:["underage","no one under eighteen symbol"],u:"1f51e",a:"0.6"},{n:["radioactive","radioactive sign"],u:"2622-fe0f",a:"1.0"},{n:["biohazard","biohazard sign"],u:"2623-fe0f",a:"1.0"},{n:["arrow up","upwards black arrow"],u:"2b06-fe0f",a:"0.6"},{n:["north east arrow","arrow upper right"],u:"2197-fe0f",a:"0.6"},{n:["arrow right","black rightwards arrow"],u:"27a1-fe0f",a:"0.6"},{n:["south east arrow","arrow lower right"],u:"2198-fe0f",a:"0.6"},{n:["arrow down","downwards black arrow"],u:"2b07-fe0f",a:"0.6"},{n:["south west arrow","arrow lower left"],u:"2199-fe0f",a:"0.6"},{n:["arrow left","leftwards black arrow"],u:"2b05-fe0f",a:"0.6"},{n:["north west arrow","arrow upper left"],u:"2196-fe0f",a:"0.6"},{n:["up down arrow","arrow up down"],u:"2195-fe0f",a:"0.6"},{n:["left right arrow"],u:"2194-fe0f",a:"0.6"},{n:["leftwards arrow with hook"],u:"21a9-fe0f",a:"0.6"},{n:["arrow right hook","rightwards arrow with hook"],u:"21aa-fe0f",a:"0.6"},{n:["arrow heading up","arrow pointing rightwards then curving upwards"],u:"2934-fe0f",a:"0.6"},{n:["arrow heading down","arrow pointing rightwards then curving downwards"],u:"2935-fe0f",a:"0.6"},{n:["arrows clockwise","clockwise downwards and upwards open circle arrows"],u:"1f503",a:"0.6"},{n:["arrows counterclockwise","anticlockwise downwards and upwards open circle arrows"],u:"1f504",a:"1.0"},{n:["back","back with leftwards arrow above"],u:"1f519",a:"0.6"},{n:["end","end with leftwards arrow above"],u:"1f51a",a:"0.6"},{n:["on","on with exclamation mark with left right arrow above"],u:"1f51b",a:"0.6"},{n:["soon","soon with rightwards arrow above"],u:"1f51c",a:"0.6"},{n:["top","top with upwards arrow above"],u:"1f51d",a:"0.6"},{n:["place of worship"],u:"1f6d0",a:"1.0"},{n:["atom symbol"],u:"269b-fe0f",a:"1.0"},{n:["om","om symbol"],u:"1f549-fe0f",a:"0.7"},{n:["star of david"],u:"2721-fe0f",a:"0.7"},{n:["wheel of dharma"],u:"2638-fe0f",a:"0.7"},{n:["yin yang"],u:"262f-fe0f",a:"0.7"},{n:["latin cross"],u:"271d-fe0f",a:"0.7"},{n:["orthodox cross"],u:"2626-fe0f",a:"1.0"},{n:["star and crescent"],u:"262a-fe0f",a:"0.7"},{n:["peace symbol"],u:"262e-fe0f",a:"1.0"},{n:["menorah with nine branches"],u:"1f54e",a:"1.0"},{n:["six pointed star","six pointed star with middle dot"],u:"1f52f",a:"0.6"},{n:["khanda"],u:"1faaf",a:"15.0"},{n:["aries"],u:"2648",a:"0.6"},{n:["taurus"],u:"2649",a:"0.6"},{n:["gemini"],u:"264a",a:"0.6"},{n:["cancer"],u:"264b",a:"0.6"},{n:["leo"],u:"264c",a:"0.6"},{n:["virgo"],u:"264d",a:"0.6"},{n:["libra"],u:"264e",a:"0.6"},{n:["scorpius"],u:"264f",a:"0.6"},{n:["sagittarius"],u:"2650",a:"0.6"},{n:["capricorn"],u:"2651",a:"0.6"},{n:["aquarius"],u:"2652",a:"0.6"},{n:["pisces"],u:"2653",a:"0.6"},{n:["ophiuchus"],u:"26ce",a:"0.6"},{n:["twisted rightwards arrows"],u:"1f500",a:"1.0"},{n:["repeat","clockwise rightwards and leftwards open circle arrows"],u:"1f501",a:"1.0"},{n:["repeat one","clockwise rightwards and leftwards open circle arrows with circled one overlay"],u:"1f502",a:"1.0"},{n:["arrow forward","black right-pointing triangle"],u:"25b6-fe0f",a:"0.6"},{n:["fast forward","black right-pointing double triangle"],u:"23e9",a:"0.6"},{n:["next track button","black right pointing double triangle with vertical bar"],u:"23ed-fe0f",a:"0.7"},{n:["play or pause button","black right pointing triangle with double vertical bar"],u:"23ef-fe0f",a:"1.0"},{n:["arrow backward","black left-pointing triangle"],u:"25c0-fe0f",a:"0.6"},{n:["rewind","black left-pointing double triangle"],u:"23ea",a:"0.6"},{n:["last track button","black left pointing double triangle with vertical bar"],u:"23ee-fe0f",a:"0.7"},{n:["arrow up small","up-pointing small red triangle"],u:"1f53c",a:"0.6"},{n:["arrow double up","black up-pointing double triangle"],u:"23eb",a:"0.6"},{n:["arrow down small","down-pointing small red triangle"],u:"1f53d",a:"0.6"},{n:["arrow double down","black down-pointing double triangle"],u:"23ec",a:"0.6"},{n:["pause button","double vertical bar"],u:"23f8-fe0f",a:"0.7"},{n:["stop button","black square for stop"],u:"23f9-fe0f",a:"0.7"},{n:["record button","black circle for record"],u:"23fa-fe0f",a:"0.7"},{n:["eject","eject button"],u:"23cf-fe0f",a:"1.0"},{n:["cinema"],u:"1f3a6",a:"0.6"},{n:["low brightness","low brightness symbol"],u:"1f505",a:"1.0"},{n:["high brightness","high brightness symbol"],u:"1f506",a:"1.0"},{n:["signal strength","antenna with bars"],u:"1f4f6",a:"0.6"},{n:["wireless"],u:"1f6dc",a:"15.0"},{n:["vibration mode"],u:"1f4f3",a:"0.6"},{n:["mobile phone off"],u:"1f4f4",a:"0.6"},{n:["female sign"],u:"2640-fe0f",a:"4.0"},{n:["male sign"],u:"2642-fe0f",a:"4.0"},{n:["transgender symbol"],u:"26a7-fe0f",a:"13.0"},{n:["heavy multiplication x"],u:"2716-fe0f",a:"0.6"},{n:["heavy plus sign"],u:"2795",a:"0.6"},{n:["heavy minus sign"],u:"2796",a:"0.6"},{n:["heavy division sign"],u:"2797",a:"0.6"},{n:["heavy equals sign"],u:"1f7f0",a:"14.0"},{n:["infinity"],u:"267e-fe0f",a:"11.0"},{n:["bangbang","double exclamation mark"],u:"203c-fe0f",a:"0.6"},{n:["interrobang","exclamation question mark"],u:"2049-fe0f",a:"0.6"},{n:["question","black question mark ornament"],u:"2753",a:"0.6"},{n:["grey question","white question mark ornament"],u:"2754",a:"0.6"},{n:["grey exclamation","white exclamation mark ornament"],u:"2755",a:"0.6"},{n:["exclamation","heavy exclamation mark","heavy exclamation mark symbol"],u:"2757",a:"0.6"},{n:["wavy dash"],u:"3030-fe0f",a:"0.6"},{n:["currency exchange"],u:"1f4b1",a:"0.6"},{n:["heavy dollar sign"],u:"1f4b2",a:"0.6"},{n:["medical symbol","staff of aesculapius"],u:"2695-fe0f",a:"4.0"},{n:["recycle","black universal recycling symbol"],u:"267b-fe0f",a:"0.6"},{n:["fleur-de-lis","fleur de lis"],u:"269c-fe0f",a:"1.0"},{n:["trident","trident emblem"],u:"1f531",a:"0.6"},{n:["name badge"],u:"1f4db",a:"0.6"},{n:["beginner","japanese symbol for beginner"],u:"1f530",a:"0.6"},{n:["o","heavy large circle"],u:"2b55",a:"0.6"},{n:["white check mark","white heavy check mark"],u:"2705",a:"0.6"},{n:["ballot box with check"],u:"2611-fe0f",a:"0.6"},{n:["heavy check mark"],u:"2714-fe0f",a:"0.6"},{n:["x","cross mark"],u:"274c",a:"0.6"},{n:["negative squared cross mark"],u:"274e",a:"0.6"},{n:["curly loop"],u:"27b0",a:"0.6"},{n:["loop","double curly loop"],u:"27bf",a:"1.0"},{n:["part alternation mark"],u:"303d-fe0f",a:"0.6"},{n:["eight spoked asterisk"],u:"2733-fe0f",a:"0.6"},{n:["eight pointed black star"],u:"2734-fe0f",a:"0.6"},{n:["sparkle"],u:"2747-fe0f",a:"0.6"},{n:["copyright","copyright sign"],u:"00a9-fe0f",a:"0.6"},{n:["registered","registered sign"],u:"00ae-fe0f",a:"0.6"},{n:["tm","trade mark sign"],u:"2122-fe0f",a:"0.6"},{n:["hash","hash key"],u:"0023-fe0f-20e3",a:"0.6"},{n:["keycap: *","keycap star"],u:"002a-fe0f-20e3",a:"2.0"},{n:["zero","keycap 0"],u:"0030-fe0f-20e3",a:"0.6"},{n:["one","keycap 1"],u:"0031-fe0f-20e3",a:"0.6"},{n:["two","keycap 2"],u:"0032-fe0f-20e3",a:"0.6"},{n:["three","keycap 3"],u:"0033-fe0f-20e3",a:"0.6"},{n:["four","keycap 4"],u:"0034-fe0f-20e3",a:"0.6"},{n:["five","keycap 5"],u:"0035-fe0f-20e3",a:"0.6"},{n:["six","keycap 6"],u:"0036-fe0f-20e3",a:"0.6"},{n:["seven","keycap 7"],u:"0037-fe0f-20e3",a:"0.6"},{n:["eight","keycap 8"],u:"0038-fe0f-20e3",a:"0.6"},{n:["nine","keycap 9"],u:"0039-fe0f-20e3",a:"0.6"},{n:["keycap ten"],u:"1f51f",a:"0.6"},{n:["capital abcd","input symbol for latin capital letters"],u:"1f520",a:"0.6"},{n:["abcd","input symbol for latin small letters"],u:"1f521",a:"0.6"},{n:["1234","input symbol for numbers"],u:"1f522",a:"0.6"},{n:["symbols","input symbol for symbols"],u:"1f523",a:"0.6"},{n:["abc","input symbol for latin letters"],u:"1f524",a:"0.6"},{n:["a","negative squared latin capital letter a"],u:"1f170-fe0f",a:"0.6"},{n:["ab","negative squared ab"],u:"1f18e",a:"0.6"},{n:["b","negative squared latin capital letter b"],u:"1f171-fe0f",a:"0.6"},{n:["cl","squared cl"],u:"1f191",a:"0.6"},{n:["cool","squared cool"],u:"1f192",a:"0.6"},{n:["free","squared free"],u:"1f193",a:"0.6"},{n:["information source"],u:"2139-fe0f",a:"0.6"},{n:["id","squared id"],u:"1f194",a:"0.6"},{n:["m","circled latin capital letter m"],u:"24c2-fe0f",a:"0.6"},{n:["new","squared new"],u:"1f195",a:"0.6"},{n:["ng","squared ng"],u:"1f196",a:"0.6"},{n:["o2","negative squared latin capital letter o"],u:"1f17e-fe0f",a:"0.6"},{n:["ok","squared ok"],u:"1f197",a:"0.6"},{n:["parking","negative squared latin capital letter p"],u:"1f17f-fe0f",a:"0.6"},{n:["sos","squared sos"],u:"1f198",a:"0.6"},{n:["up","squared up with exclamation mark"],u:"1f199",a:"0.6"},{n:["vs","squared vs"],u:"1f19a",a:"0.6"},{n:["koko","squared katakana koko"],u:"1f201",a:"0.6"},{n:["sa","squared katakana sa"],u:"1f202-fe0f",a:"0.6"},{n:["u6708","squared cjk unified ideograph-6708"],u:"1f237-fe0f",a:"0.6"},{n:["u6709","squared cjk unified ideograph-6709"],u:"1f236",a:"0.6"},{n:["u6307","squared cjk unified ideograph-6307"],u:"1f22f",a:"0.6"},{n:["ideograph advantage","circled ideograph advantage"],u:"1f250",a:"0.6"},{n:["u5272","squared cjk unified ideograph-5272"],u:"1f239",a:"0.6"},{n:["u7121","squared cjk unified ideograph-7121"],u:"1f21a",a:"0.6"},{n:["u7981","squared cjk unified ideograph-7981"],u:"1f232",a:"0.6"},{n:["accept","circled ideograph accept"],u:"1f251",a:"0.6"},{n:["u7533","squared cjk unified ideograph-7533"],u:"1f238",a:"0.6"},{n:["u5408","squared cjk unified ideograph-5408"],u:"1f234",a:"0.6"},{n:["u7a7a","squared cjk unified ideograph-7a7a"],u:"1f233",a:"0.6"},{n:["congratulations","circled ideograph congratulation"],u:"3297-fe0f",a:"0.6"},{n:["secret","circled ideograph secret"],u:"3299-fe0f",a:"0.6"},{n:["u55b6","squared cjk unified ideograph-55b6"],u:"1f23a",a:"0.6"},{n:["u6e80","squared cjk unified ideograph-6e80"],u:"1f235",a:"0.6"},{n:["red circle","large red circle"],u:"1f534",a:"0.6"},{n:["large orange circle"],u:"1f7e0",a:"12.0"},{n:["large yellow circle"],u:"1f7e1",a:"12.0"},{n:["large green circle"],u:"1f7e2",a:"12.0"},{n:["large blue circle"],u:"1f535",a:"0.6"},{n:["large purple circle"],u:"1f7e3",a:"12.0"},{n:["large brown circle"],u:"1f7e4",a:"12.0"},{n:["black circle","medium black circle"],u:"26ab",a:"0.6"},{n:["white circle","medium white circle"],u:"26aa",a:"0.6"},{n:["large red square"],u:"1f7e5",a:"12.0"},{n:["large orange square"],u:"1f7e7",a:"12.0"},{n:["large yellow square"],u:"1f7e8",a:"12.0"},{n:["large green square"],u:"1f7e9",a:"12.0"},{n:["large blue square"],u:"1f7e6",a:"12.0"},{n:["large purple square"],u:"1f7ea",a:"12.0"},{n:["large brown square"],u:"1f7eb",a:"12.0"},{n:["black large square"],u:"2b1b",a:"0.6"},{n:["white large square"],u:"2b1c",a:"0.6"},{n:["black medium square"],u:"25fc-fe0f",a:"0.6"},{n:["white medium square"],u:"25fb-fe0f",a:"0.6"},{n:["black medium small square"],u:"25fe",a:"0.6"},{n:["white medium small square"],u:"25fd",a:"0.6"},{n:["black small square"],u:"25aa-fe0f",a:"0.6"},{n:["white small square"],u:"25ab-fe0f",a:"0.6"},{n:["large orange diamond"],u:"1f536",a:"0.6"},{n:["large blue diamond"],u:"1f537",a:"0.6"},{n:["small orange diamond"],u:"1f538",a:"0.6"},{n:["small blue diamond"],u:"1f539",a:"0.6"},{n:["small red triangle","up-pointing red triangle"],u:"1f53a",a:"0.6"},{n:["small red triangle down","down-pointing red triangle"],u:"1f53b",a:"0.6"},{n:["diamond shape with a dot inside"],u:"1f4a0",a:"0.6"},{n:["radio button"],u:"1f518",a:"0.6"},{n:["white square button"],u:"1f533",a:"0.6"},{n:["black square button"],u:"1f532",a:"0.6"}],flags:[{n:["chequered flag","checkered flag"],u:"1f3c1",a:"0.6"},{n:["triangular flag on post"],u:"1f6a9",a:"0.6"},{n:["crossed flags"],u:"1f38c",a:"0.6"},{n:["waving black flag"],u:"1f3f4",a:"1.0"},{n:["white flag","waving white flag"],u:"1f3f3-fe0f",a:"0.7"},{n:["rainbow flag","rainbow-flag"],u:"1f3f3-fe0f-200d-1f308",a:"4.0"},{n:["transgender flag"],u:"1f3f3-fe0f-200d-26a7-fe0f",a:"13.0"},{n:["pirate flag"],u:"1f3f4-200d-2620-fe0f",a:"11.0"},{n:["flag-ac","ascension island flag"],u:"1f1e6-1f1e8",a:"2.0"},{n:["flag-ad","andorra flag"],u:"1f1e6-1f1e9",a:"2.0"},{n:["flag-ae","united arab emirates flag"],u:"1f1e6-1f1ea",a:"2.0"},{n:["flag-af","afghanistan flag"],u:"1f1e6-1f1eb",a:"2.0"},{n:["flag-ag","antigua & barbuda flag"],u:"1f1e6-1f1ec",a:"2.0"},{n:["flag-ai","anguilla flag"],u:"1f1e6-1f1ee",a:"2.0"},{n:["flag-al","albania flag"],u:"1f1e6-1f1f1",a:"2.0"},{n:["flag-am","armenia flag"],u:"1f1e6-1f1f2",a:"2.0"},{n:["flag-ao","angola flag"],u:"1f1e6-1f1f4",a:"2.0"},{n:["flag-aq","antarctica flag"],u:"1f1e6-1f1f6",a:"2.0"},{n:["flag-ar","argentina flag"],u:"1f1e6-1f1f7",a:"2.0"},{n:["flag-as","american samoa flag"],u:"1f1e6-1f1f8",a:"2.0"},{n:["flag-at","austria flag"],u:"1f1e6-1f1f9",a:"2.0"},{n:["flag-au","australia flag"],u:"1f1e6-1f1fa",a:"2.0"},{n:["flag-aw","aruba flag"],u:"1f1e6-1f1fc",a:"2.0"},{n:["flag-ax","åland islands flag"],u:"1f1e6-1f1fd",a:"2.0"},{n:["flag-az","azerbaijan flag"],u:"1f1e6-1f1ff",a:"2.0"},{n:["flag-ba","bosnia & herzegovina flag"],u:"1f1e7-1f1e6",a:"2.0"},{n:["flag-bb","barbados flag"],u:"1f1e7-1f1e7",a:"2.0"},{n:["flag-bd","bangladesh flag"],u:"1f1e7-1f1e9",a:"2.0"},{n:["flag-be","belgium flag"],u:"1f1e7-1f1ea",a:"2.0"},{n:["flag-bf","burkina faso flag"],u:"1f1e7-1f1eb",a:"2.0"},{n:["flag-bg","bulgaria flag"],u:"1f1e7-1f1ec",a:"2.0"},{n:["flag-bh","bahrain flag"],u:"1f1e7-1f1ed",a:"2.0"},{n:["flag-bi","burundi flag"],u:"1f1e7-1f1ee",a:"2.0"},{n:["flag-bj","benin flag"],u:"1f1e7-1f1ef",a:"2.0"},{n:["flag-bl","st. barthélemy flag"],u:"1f1e7-1f1f1",a:"2.0"},{n:["flag-bm","bermuda flag"],u:"1f1e7-1f1f2",a:"2.0"},{n:["flag-bn","brunei flag"],u:"1f1e7-1f1f3",a:"2.0"},{n:["flag-bo","bolivia flag"],u:"1f1e7-1f1f4",a:"2.0"},{n:["flag-bq","caribbean netherlands flag"],u:"1f1e7-1f1f6",a:"2.0"},{n:["flag-br","brazil flag"],u:"1f1e7-1f1f7",a:"2.0"},{n:["flag-bs","bahamas flag"],u:"1f1e7-1f1f8",a:"2.0"},{n:["flag-bt","bhutan flag"],u:"1f1e7-1f1f9",a:"2.0"},{n:["flag-bv","bouvet island flag"],u:"1f1e7-1f1fb",a:"2.0"},{n:["flag-bw","botswana flag"],u:"1f1e7-1f1fc",a:"2.0"},{n:["flag-by","belarus flag"],u:"1f1e7-1f1fe",a:"2.0"},{n:["flag-bz","belize flag"],u:"1f1e7-1f1ff",a:"2.0"},{n:["flag-ca","canada flag"],u:"1f1e8-1f1e6",a:"2.0"},{n:["flag-cc","cocos (keeling) islands flag"],u:"1f1e8-1f1e8",a:"2.0"},{n:["flag-cd","congo - kinshasa flag"],u:"1f1e8-1f1e9",a:"2.0"},{n:["flag-cf","central african republic flag"],u:"1f1e8-1f1eb",a:"2.0"},{n:["flag-cg","congo - brazzaville flag"],u:"1f1e8-1f1ec",a:"2.0"},{n:["flag-ch","switzerland flag"],u:"1f1e8-1f1ed",a:"2.0"},{n:["flag-ci","côte d’ivoire flag"],u:"1f1e8-1f1ee",a:"2.0"},{n:["flag-ck","cook islands flag"],u:"1f1e8-1f1f0",a:"2.0"},{n:["flag-cl","chile flag"],u:"1f1e8-1f1f1",a:"2.0"},{n:["flag-cm","cameroon flag"],u:"1f1e8-1f1f2",a:"2.0"},{n:["cn","flag-cn","china flag"],u:"1f1e8-1f1f3",a:"0.6"},{n:["flag-co","colombia flag"],u:"1f1e8-1f1f4",a:"2.0"},{n:["flag-cp","clipperton island flag"],u:"1f1e8-1f1f5",a:"2.0"},{n:["flag-cr","costa rica flag"],u:"1f1e8-1f1f7",a:"2.0"},{n:["flag-cu","cuba flag"],u:"1f1e8-1f1fa",a:"2.0"},{n:["flag-cv","cape verde flag"],u:"1f1e8-1f1fb",a:"2.0"},{n:["flag-cw","curaçao flag"],u:"1f1e8-1f1fc",a:"2.0"},{n:["flag-cx","christmas island flag"],u:"1f1e8-1f1fd",a:"2.0"},{n:["flag-cy","cyprus flag"],u:"1f1e8-1f1fe",a:"2.0"},{n:["flag-cz","czechia flag"],u:"1f1e8-1f1ff",a:"2.0"},{n:["de","flag-de","germany flag"],u:"1f1e9-1f1ea",a:"0.6"},{n:["flag-dg","diego garcia flag"],u:"1f1e9-1f1ec",a:"2.0"},{n:["flag-dj","djibouti flag"],u:"1f1e9-1f1ef",a:"2.0"},{n:["flag-dk","denmark flag"],u:"1f1e9-1f1f0",a:"2.0"},{n:["flag-dm","dominica flag"],u:"1f1e9-1f1f2",a:"2.0"},{n:["flag-do","dominican republic flag"],u:"1f1e9-1f1f4",a:"2.0"},{n:["flag-dz","algeria flag"],u:"1f1e9-1f1ff",a:"2.0"},{n:["flag-ea","ceuta & melilla flag"],u:"1f1ea-1f1e6",a:"2.0"},{n:["flag-ec","ecuador flag"],u:"1f1ea-1f1e8",a:"2.0"},{n:["flag-ee","estonia flag"],u:"1f1ea-1f1ea",a:"2.0"},{n:["flag-eg","egypt flag"],u:"1f1ea-1f1ec",a:"2.0"},{n:["flag-eh","western sahara flag"],u:"1f1ea-1f1ed",a:"2.0"},{n:["flag-er","eritrea flag"],u:"1f1ea-1f1f7",a:"2.0"},{n:["es","flag-es","spain flag"],u:"1f1ea-1f1f8",a:"0.6"},{n:["flag-et","ethiopia flag"],u:"1f1ea-1f1f9",a:"2.0"},{n:["flag-eu","european union flag"],u:"1f1ea-1f1fa",a:"2.0"},{n:["flag-fi","finland flag"],u:"1f1eb-1f1ee",a:"2.0"},{n:["flag-fj","fiji flag"],u:"1f1eb-1f1ef",a:"2.0"},{n:["flag-fk","falkland islands flag"],u:"1f1eb-1f1f0",a:"2.0"},{n:["flag-fm","micronesia flag"],u:"1f1eb-1f1f2",a:"2.0"},{n:["flag-fo","faroe islands flag"],u:"1f1eb-1f1f4",a:"2.0"},{n:["fr","flag-fr","france flag"],u:"1f1eb-1f1f7",a:"0.6"},{n:["flag-ga","gabon flag"],u:"1f1ec-1f1e6",a:"2.0"},{n:["gb","uk","flag-gb","united kingdom flag"],u:"1f1ec-1f1e7",a:"0.6"},{n:["flag-gd","grenada flag"],u:"1f1ec-1f1e9",a:"2.0"},{n:["flag-ge","georgia flag"],u:"1f1ec-1f1ea",a:"2.0"},{n:["flag-gf","french guiana flag"],u:"1f1ec-1f1eb",a:"2.0"},{n:["flag-gg","guernsey flag"],u:"1f1ec-1f1ec",a:"2.0"},{n:["flag-gh","ghana flag"],u:"1f1ec-1f1ed",a:"2.0"},{n:["flag-gi","gibraltar flag"],u:"1f1ec-1f1ee",a:"2.0"},{n:["flag-gl","greenland flag"],u:"1f1ec-1f1f1",a:"2.0"},{n:["flag-gm","gambia flag"],u:"1f1ec-1f1f2",a:"2.0"},{n:["flag-gn","guinea flag"],u:"1f1ec-1f1f3",a:"2.0"},{n:["flag-gp","guadeloupe flag"],u:"1f1ec-1f1f5",a:"2.0"},{n:["flag-gq","equatorial guinea flag"],u:"1f1ec-1f1f6",a:"2.0"},{n:["flag-gr","greece flag"],u:"1f1ec-1f1f7",a:"2.0"},{n:["flag-gs","south georgia & south sandwich islands flag"],u:"1f1ec-1f1f8",a:"2.0"},{n:["flag-gt","guatemala flag"],u:"1f1ec-1f1f9",a:"2.0"},{n:["flag-gu","guam flag"],u:"1f1ec-1f1fa",a:"2.0"},{n:["flag-gw","guinea-bissau flag"],u:"1f1ec-1f1fc",a:"2.0"},{n:["flag-gy","guyana flag"],u:"1f1ec-1f1fe",a:"2.0"},{n:["flag-hk","hong kong sar china flag"],u:"1f1ed-1f1f0",a:"2.0"},{n:["flag-hm","heard & mcdonald islands flag"],u:"1f1ed-1f1f2",a:"2.0"},{n:["flag-hn","honduras flag"],u:"1f1ed-1f1f3",a:"2.0"},{n:["flag-hr","croatia flag"],u:"1f1ed-1f1f7",a:"2.0"},{n:["flag-ht","haiti flag"],u:"1f1ed-1f1f9",a:"2.0"},{n:["flag-hu","hungary flag"],u:"1f1ed-1f1fa",a:"2.0"},{n:["flag-ic","canary islands flag"],u:"1f1ee-1f1e8",a:"2.0"},{n:["flag-id","indonesia flag"],u:"1f1ee-1f1e9",a:"2.0"},{n:["flag-ie","ireland flag"],u:"1f1ee-1f1ea",a:"2.0"},{n:["flag-il","israel flag"],u:"1f1ee-1f1f1",a:"2.0"},{n:["flag-im","isle of man flag"],u:"1f1ee-1f1f2",a:"2.0"},{n:["flag-in","india flag"],u:"1f1ee-1f1f3",a:"2.0"},{n:["flag-io","british indian ocean territory flag"],u:"1f1ee-1f1f4",a:"2.0"},{n:["flag-iq","iraq flag"],u:"1f1ee-1f1f6",a:"2.0"},{n:["flag-ir","iran flag"],u:"1f1ee-1f1f7",a:"2.0"},{n:["flag-is","iceland flag"],u:"1f1ee-1f1f8",a:"2.0"},{n:["it","flag-it","italy flag"],u:"1f1ee-1f1f9",a:"0.6"},{n:["flag-je","jersey flag"],u:"1f1ef-1f1ea",a:"2.0"},{n:["flag-jm","jamaica flag"],u:"1f1ef-1f1f2",a:"2.0"},{n:["flag-jo","jordan flag"],u:"1f1ef-1f1f4",a:"2.0"},{n:["jp","flag-jp","japan flag"],u:"1f1ef-1f1f5",a:"0.6"},{n:["flag-ke","kenya flag"],u:"1f1f0-1f1ea",a:"2.0"},{n:["flag-kg","kyrgyzstan flag"],u:"1f1f0-1f1ec",a:"2.0"},{n:["flag-kh","cambodia flag"],u:"1f1f0-1f1ed",a:"2.0"},{n:["flag-ki","kiribati flag"],u:"1f1f0-1f1ee",a:"2.0"},{n:["flag-km","comoros flag"],u:"1f1f0-1f1f2",a:"2.0"},{n:["flag-kn","st. kitts & nevis flag"],u:"1f1f0-1f1f3",a:"2.0"},{n:["flag-kp","north korea flag"],u:"1f1f0-1f1f5",a:"2.0"},{n:["kr","flag-kr","south korea flag"],u:"1f1f0-1f1f7",a:"0.6"},{n:["flag-kw","kuwait flag"],u:"1f1f0-1f1fc",a:"2.0"},{n:["flag-ky","cayman islands flag"],u:"1f1f0-1f1fe",a:"2.0"},{n:["flag-kz","kazakhstan flag"],u:"1f1f0-1f1ff",a:"2.0"},{n:["flag-la","laos flag"],u:"1f1f1-1f1e6",a:"2.0"},{n:["flag-lb","lebanon flag"],u:"1f1f1-1f1e7",a:"2.0"},{n:["flag-lc","st. lucia flag"],u:"1f1f1-1f1e8",a:"2.0"},{n:["flag-li","liechtenstein flag"],u:"1f1f1-1f1ee",a:"2.0"},{n:["flag-lk","sri lanka flag"],u:"1f1f1-1f1f0",a:"2.0"},{n:["flag-lr","liberia flag"],u:"1f1f1-1f1f7",a:"2.0"},{n:["flag-ls","lesotho flag"],u:"1f1f1-1f1f8",a:"2.0"},{n:["flag-lt","lithuania flag"],u:"1f1f1-1f1f9",a:"2.0"},{n:["flag-lu","luxembourg flag"],u:"1f1f1-1f1fa",a:"2.0"},{n:["flag-lv","latvia flag"],u:"1f1f1-1f1fb",a:"2.0"},{n:["flag-ly","libya flag"],u:"1f1f1-1f1fe",a:"2.0"},{n:["flag-ma","morocco flag"],u:"1f1f2-1f1e6",a:"2.0"},{n:["flag-mc","monaco flag"],u:"1f1f2-1f1e8",a:"2.0"},{n:["flag-md","moldova flag"],u:"1f1f2-1f1e9",a:"2.0"},{n:["flag-me","montenegro flag"],u:"1f1f2-1f1ea",a:"2.0"},{n:["flag-mf","st. martin flag"],u:"1f1f2-1f1eb",a:"2.0"},{n:["flag-mg","madagascar flag"],u:"1f1f2-1f1ec",a:"2.0"},{n:["flag-mh","marshall islands flag"],u:"1f1f2-1f1ed",a:"2.0"},{n:["flag-mk","north macedonia flag"],u:"1f1f2-1f1f0",a:"2.0"},{n:["flag-ml","mali flag"],u:"1f1f2-1f1f1",a:"2.0"},{n:["flag-mm","myanmar (burma) flag"],u:"1f1f2-1f1f2",a:"2.0"},{n:["flag-mn","mongolia flag"],u:"1f1f2-1f1f3",a:"2.0"},{n:["flag-mo","macao sar china flag"],u:"1f1f2-1f1f4",a:"2.0"},{n:["flag-mp","northern mariana islands flag"],u:"1f1f2-1f1f5",a:"2.0"},{n:["flag-mq","martinique flag"],u:"1f1f2-1f1f6",a:"2.0"},{n:["flag-mr","mauritania flag"],u:"1f1f2-1f1f7",a:"2.0"},{n:["flag-ms","montserrat flag"],u:"1f1f2-1f1f8",a:"2.0"},{n:["flag-mt","malta flag"],u:"1f1f2-1f1f9",a:"2.0"},{n:["flag-mu","mauritius flag"],u:"1f1f2-1f1fa",a:"2.0"},{n:["flag-mv","maldives flag"],u:"1f1f2-1f1fb",a:"2.0"},{n:["flag-mw","malawi flag"],u:"1f1f2-1f1fc",a:"2.0"},{n:["flag-mx","mexico flag"],u:"1f1f2-1f1fd",a:"2.0"},{n:["flag-my","malaysia flag"],u:"1f1f2-1f1fe",a:"2.0"},{n:["flag-mz","mozambique flag"],u:"1f1f2-1f1ff",a:"2.0"},{n:["flag-na","namibia flag"],u:"1f1f3-1f1e6",a:"2.0"},{n:["flag-nc","new caledonia flag"],u:"1f1f3-1f1e8",a:"2.0"},{n:["flag-ne","niger flag"],u:"1f1f3-1f1ea",a:"2.0"},{n:["flag-nf","norfolk island flag"],u:"1f1f3-1f1eb",a:"2.0"},{n:["flag-ng","nigeria flag"],u:"1f1f3-1f1ec",a:"2.0"},{n:["flag-ni","nicaragua flag"],u:"1f1f3-1f1ee",a:"2.0"},{n:["flag-nl","netherlands flag"],u:"1f1f3-1f1f1",a:"2.0"},{n:["flag-no","norway flag"],u:"1f1f3-1f1f4",a:"2.0"},{n:["flag-np","nepal flag"],u:"1f1f3-1f1f5",a:"2.0"},{n:["flag-nr","nauru flag"],u:"1f1f3-1f1f7",a:"2.0"},{n:["flag-nu","niue flag"],u:"1f1f3-1f1fa",a:"2.0"},{n:["flag-nz","new zealand flag"],u:"1f1f3-1f1ff",a:"2.0"},{n:["flag-om","oman flag"],u:"1f1f4-1f1f2",a:"2.0"},{n:["flag-pa","panama flag"],u:"1f1f5-1f1e6",a:"2.0"},{n:["flag-pe","peru flag"],u:"1f1f5-1f1ea",a:"2.0"},{n:["flag-pf","french polynesia flag"],u:"1f1f5-1f1eb",a:"2.0"},{n:["flag-pg","papua new guinea flag"],u:"1f1f5-1f1ec",a:"2.0"},{n:["flag-ph","philippines flag"],u:"1f1f5-1f1ed",a:"2.0"},{n:["flag-pk","pakistan flag"],u:"1f1f5-1f1f0",a:"2.0"},{n:["flag-pl","poland flag"],u:"1f1f5-1f1f1",a:"2.0"},{n:["flag-pm","st. pierre & miquelon flag"],u:"1f1f5-1f1f2",a:"2.0"},{n:["flag-pn","pitcairn islands flag"],u:"1f1f5-1f1f3",a:"2.0"},{n:["flag-pr","puerto rico flag"],u:"1f1f5-1f1f7",a:"2.0"},{n:["flag-ps","palestinian territories flag"],u:"1f1f5-1f1f8",a:"2.0"},{n:["flag-pt","portugal flag"],u:"1f1f5-1f1f9",a:"2.0"},{n:["flag-pw","palau flag"],u:"1f1f5-1f1fc",a:"2.0"},{n:["flag-py","paraguay flag"],u:"1f1f5-1f1fe",a:"2.0"},{n:["flag-qa","qatar flag"],u:"1f1f6-1f1e6",a:"2.0"},{n:["flag-re","réunion flag"],u:"1f1f7-1f1ea",a:"2.0"},{n:["flag-ro","romania flag"],u:"1f1f7-1f1f4",a:"2.0"},{n:["flag-rs","serbia flag"],u:"1f1f7-1f1f8",a:"2.0"},{n:["ru","flag-ru","russia flag"],u:"1f1f7-1f1fa",a:"0.6"},{n:["flag-rw","rwanda flag"],u:"1f1f7-1f1fc",a:"2.0"},{n:["flag-sa","saudi arabia flag"],u:"1f1f8-1f1e6",a:"2.0"},{n:["flag-sb","solomon islands flag"],u:"1f1f8-1f1e7",a:"2.0"},{n:["flag-sc","seychelles flag"],u:"1f1f8-1f1e8",a:"2.0"},{n:["flag-sd","sudan flag"],u:"1f1f8-1f1e9",a:"2.0"},{n:["flag-se","sweden flag"],u:"1f1f8-1f1ea",a:"2.0"},{n:["flag-sg","singapore flag"],u:"1f1f8-1f1ec",a:"2.0"},{n:["flag-sh","st. helena flag"],u:"1f1f8-1f1ed",a:"2.0"},{n:["flag-si","slovenia flag"],u:"1f1f8-1f1ee",a:"2.0"},{n:["flag-sj","svalbard & jan mayen flag"],u:"1f1f8-1f1ef",a:"2.0"},{n:["flag-sk","slovakia flag"],u:"1f1f8-1f1f0",a:"2.0"},{n:["flag-sl","sierra leone flag"],u:"1f1f8-1f1f1",a:"2.0"},{n:["flag-sm","san marino flag"],u:"1f1f8-1f1f2",a:"2.0"},{n:["flag-sn","senegal flag"],u:"1f1f8-1f1f3",a:"2.0"},{n:["flag-so","somalia flag"],u:"1f1f8-1f1f4",a:"2.0"},{n:["flag-sr","suriname flag"],u:"1f1f8-1f1f7",a:"2.0"},{n:["flag-ss","south sudan flag"],u:"1f1f8-1f1f8",a:"2.0"},{n:["flag-st","são tomé & príncipe flag"],u:"1f1f8-1f1f9",a:"2.0"},{n:["flag-sv","el salvador flag"],u:"1f1f8-1f1fb",a:"2.0"},{n:["flag-sx","sint maarten flag"],u:"1f1f8-1f1fd",a:"2.0"},{n:["flag-sy","syria flag"],u:"1f1f8-1f1fe",a:"2.0"},{n:["flag-sz","eswatini flag"],u:"1f1f8-1f1ff",a:"2.0"},{n:["flag-ta","tristan da cunha flag"],u:"1f1f9-1f1e6",a:"2.0"},{n:["flag-tc","turks & caicos islands flag"],u:"1f1f9-1f1e8",a:"2.0"},{n:["flag-td","chad flag"],u:"1f1f9-1f1e9",a:"2.0"},{n:["flag-tf","french southern territories flag"],u:"1f1f9-1f1eb",a:"2.0"},{n:["flag-tg","togo flag"],u:"1f1f9-1f1ec",a:"2.0"},{n:["flag-th","thailand flag"],u:"1f1f9-1f1ed",a:"2.0"},{n:["flag-tj","tajikistan flag"],u:"1f1f9-1f1ef",a:"2.0"},{n:["flag-tk","tokelau flag"],u:"1f1f9-1f1f0",a:"2.0"},{n:["flag-tl","timor-leste flag"],u:"1f1f9-1f1f1",a:"2.0"},{n:["flag-tm","turkmenistan flag"],u:"1f1f9-1f1f2",a:"2.0"},{n:["flag-tn","tunisia flag"],u:"1f1f9-1f1f3",a:"2.0"},{n:["flag-to","tonga flag"],u:"1f1f9-1f1f4",a:"2.0"},{n:["flag-tr","türkiye flag"],u:"1f1f9-1f1f7",a:"2.0"},{n:["flag-tt","trinidad & tobago flag"],u:"1f1f9-1f1f9",a:"2.0"},{n:["flag-tv","tuvalu flag"],u:"1f1f9-1f1fb",a:"2.0"},{n:["flag-tw","taiwan flag"],u:"1f1f9-1f1fc",a:"2.0"},{n:["flag-tz","tanzania flag"],u:"1f1f9-1f1ff",a:"2.0"},{n:["flag-ua","ukraine flag"],u:"1f1fa-1f1e6",a:"2.0"},{n:["flag-ug","uganda flag"],u:"1f1fa-1f1ec",a:"2.0"},{n:["flag-um","u.s. outlying islands flag"],u:"1f1fa-1f1f2",a:"2.0"},{n:["flag-un","united nations flag"],u:"1f1fa-1f1f3",a:"4.0"},{n:["us","flag-us","united states flag"],u:"1f1fa-1f1f8",a:"0.6"},{n:["flag-uy","uruguay flag"],u:"1f1fa-1f1fe",a:"2.0"},{n:["flag-uz","uzbekistan flag"],u:"1f1fa-1f1ff",a:"2.0"},{n:["flag-va","vatican city flag"],u:"1f1fb-1f1e6",a:"2.0"},{n:["flag-vc","st. vincent & grenadines flag"],u:"1f1fb-1f1e8",a:"2.0"},{n:["flag-ve","venezuela flag"],u:"1f1fb-1f1ea",a:"2.0"},{n:["flag-vg","british virgin islands flag"],u:"1f1fb-1f1ec",a:"2.0"},{n:["flag-vi","u.s. virgin islands flag"],u:"1f1fb-1f1ee",a:"2.0"},{n:["flag-vn","vietnam flag"],u:"1f1fb-1f1f3",a:"2.0"},{n:["flag-vu","vanuatu flag"],u:"1f1fb-1f1fa",a:"2.0"},{n:["flag-wf","wallis & futuna flag"],u:"1f1fc-1f1eb",a:"2.0"},{n:["flag-ws","samoa flag"],u:"1f1fc-1f1f8",a:"2.0"},{n:["flag-xk","kosovo flag"],u:"1f1fd-1f1f0",a:"2.0"},{n:["flag-ye","yemen flag"],u:"1f1fe-1f1ea",a:"2.0"},{n:["flag-yt","mayotte flag"],u:"1f1fe-1f1f9",a:"2.0"},{n:["flag-za","south africa flag"],u:"1f1ff-1f1e6",a:"2.0"},{n:["flag-zm","zambia flag"],u:"1f1ff-1f1f2",a:"2.0"},{n:["flag-zw","zimbabwe flag"],u:"1f1ff-1f1fc",a:"2.0"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",a:"5.0"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",a:"5.0"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",a:"5.0"}]},wh=[qu.NEUTRAL,qu.LIGHT,qu.MEDIUM_LIGHT,qu.MEDIUM,qu.MEDIUM_DARK,qu.DARK],Mh=Object.entries(qu).reduce((function(e,t){var n=t[0];return e[t[1]]=n,e}),{}),bh=wh.reduce((function(e,t){var n;return Object.assign(e,((n={})[t]=t,n))}),{});!function(e){e.name="n",e.unified="u",e.variations="v",e.added_in="a",e.imgUrl="imgUrl"}(mh||(mh={}));var yh={};function Lh(e){Ch(e).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("").forEach((function(t){var n;yh[t]=null!=(n=yh[t])?n:{},yh[t][kh(e)]=e}))}function Ch(e){var t;return null!=(t=e[mh.name])?t:[]}function vh(e){return e?Ch(e)[0]:""}function jh(e){var t=e.split("-"),n=t.splice(1,1)[0];return bh[n]?t.join("-"):e}function kh(e,t){var n,f=e[mh.unified];return t&&xh(e)&&null!=(n=function(e,t){return t?Sh(e).find((function(e){return e.includes(t)})):kh(e)}(e,t))?n:f}function Ih(e,t){return""+function(e){switch(e){case Ku.TWITTER:return hh;case Ku.GOOGLE:return ph;case Ku.FACEBOOK:return uh;case Ku.APPLE:default:return dh}}(t)+e+".png"}function Sh(e){var t;return null!=(t=e[mh.variations])?t:[]}function xh(e){return Sh(e).length>0}function Nh(e){if(e){if(Ah[e])return Ah[e];var t=jh(e);return Ah[t]}}setTimeout((function(){Th.reduce((function(e,t){return Lh(t),e}),yh)}));var Th=Object.values(gh).flat();function Dh(e){gh[eh.CUSTOM].length=0,e.forEach((function(e){var t=function(e){var t;return t={},t[mh.name]=e.names.map((function(e){return e.toLowerCase()})),t[mh.unified]=e.id.toLowerCase(),t[mh.added_in]="0",t[mh.imgUrl]=e.imgUrl,t}(e);gh[eh.CUSTOM].push(t),!Ah[t[mh.unified]]&&(Th.push(t),Ah[t[mh.unified]]=t,Lh(t))}))}var Ah={};setTimeout((function(){Th.reduce((function(e,t){return e[kh(t)]=t,xh(t)&&Sh(t).forEach((function(n){e[n]=t})),e}),Ah)}));var Eh=["2640-fe0f","2642-fe0f","2695-fe0f"],zh="Search",Oh="No results found",Ph=" found. Use up and down arrow keys to navigate.",Rh="1 result"+Ph,Jh="%n results"+Ph;function Bh(e){var t,n;void 0===e&&(e={});var f=Qh(),i=Object.assign(f.previewConfig,null!=(t=e.previewConfig)?t:{}),r=Object.assign(f,e),o=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t={});var f={};t.suggestionMode===_u.RECENT&&(f[eh.SUGGESTED]=rh);var i=ah(f);return null!=(n=e)&&n.length?e.map((function(e){return"string"==typeof e?ch(e,f[e]):Ru({},ch(e.category,f[e.category]),e)})):i}(e.categories,{suggestionMode:r.suggestedEmojisMode});r.hiddenEmojis.forEach((function(e){r.unicodeToHide.add(e)})),Dh(null!=(n=r.customEmojis)?n:[]);var a=r.searchDisabled?th.PREVIEW:r.skinTonePickerLocation;return Ru({},r,{categories:o,previewConfig:i,skinTonePickerLocation:a})}function Qh(){return{autoFocusSearch:!0,categories:ah(),className:"",customEmojis:[],defaultSkinTone:qu.NEUTRAL,emojiStyle:Ku.APPLE,emojiVersion:null,getEmojiUrl:Ih,height:450,lazyLoadEmojis:!1,previewConfig:Ru({},Yh),searchDisabled:!1,searchPlaceHolder:zh,searchPlaceholder:zh,skinTonePickerLocation:th.SEARCH,skinTonesDisabled:!1,style:{},suggestedEmojisMode:_u.FREQUENT,theme:Xu.LIGHT,unicodeToHide:new Set(Eh),width:350,reactionsDefaultOpen:!1,reactions:nh,open:!0,allowExpandReactions:!0,hiddenEmojis:[]}}var Yh={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},Uh=["children"],Gh=o(Qh());function Zh(e){var t=e.children,n=function(e){var t,n=f((function(){return Bh(e)})),i=n[0],o=n[1];return r((function(){$u(i,e)||o(Bh(e))}),[null==(t=e.customEmojis)?void 0:t.length,e.open,e.emojiVersion,e.reactionsDefaultOpen,e.searchPlaceHolder,e.searchPlaceholder,e.defaultSkinTone,e.skinTonesDisabled,e.autoFocusSearch,e.emojiStyle,e.theme,e.suggestedEmojisMode,e.lazyLoadEmojis,e.className,e.height,e.width,e.searchDisabled,e.skinTonePickerLocation,e.allowExpandReactions]),i}(Bu(e,Uh));return l(Gh.Provider,{value:n},t)}function Hh(){return a(Gh)}function Wh(e,t){void 0===t&&(t=0);var i=f(e),r=i[0],o=i[1],a=n(null);return[r,function(e){return new Promise((function(n){var f;a.current&&clearTimeout(a.current),a.current=null==(f=window)?void 0:f.setTimeout((function(){o(e),n(e)}),t)}))}]}function Fh(){var e=function(){var e=Hh(),t=e.unicodeToHide;return t}();return function(t){return e.has(t)}}function Vh(){var e=n({}),t=function(){var e=Hh(),t=e.emojiVersion;return t}();return d((function(){var n=parseFloat(""+t);return!t||Number.isNaN(n)?e.current:Th.reduce((function(e,t){return function(e,t){return function(e){return parseFloat(e[mh.added_in])}(e)>t}(t,n)&&(e[kh(t)]=!0),e}),e.current)}),[t])}function $h(){var e=Vh(),t=Fh();return function(n){var f=jh(kh(n));return!(!e[f]&&!t(f))}}function _h(e){var t=e.children,i=Vh(),o=function(){var e=Hh(),t=e.defaultSkinTone;return t}(),a=function(){var e=Hh(),t=e.reactionsDefaultOpen;return t}(),s=n(yh),c=n(!1),d=n(!1),u=n(i),h=Wh(Date.now(),200),p=Wh("",100),m=f(!1),g=f(o),w=f(null),M=f(new Set),b=f(null),y=f(a),L=f(!1),C=L[0];return function(e){r((function(){e(!0)}),[e])}(L[1]),l(Kh.Provider,{value:{activeCategoryState:w,activeSkinTone:g,disallowClickRef:c,disallowMouseRef:d,disallowedEmojisRef:u,emojiVariationPickerState:b,emojisThatFailedToLoadState:M,filterRef:s,isPastInitialLoad:C,searchTerm:p,skinToneFanOpenState:m,suggestedUpdateState:h,reactionsModeState:y}},t)}var Kh=o({activeCategoryState:[null,function(){}],activeSkinTone:[qu.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise((function(){}))}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}],reactionsModeState:[!1,function(){}]});function Xh(){return a(Kh).filterRef}function qh(){return a(Kh).disallowMouseRef}function ep(){return a(Kh).reactionsModeState}function tp(){return a(Kh).searchTerm}function np(){return a(Kh).activeSkinTone}function fp(){return a(Kh).emojisThatFailedToLoadState}function ip(){return a(Kh).emojiVariationPickerState}function rp(){return a(Kh).skinToneFanOpenState}function op(){var e=a(Kh).suggestedUpdateState,t=e[0],n=e[1];return[t,function(){n(Date.now())}]}var ap,sp=e.createContext({});function lp(){return e.useContext(sp)}function cp(){}function dp(){return Hh().allowExpandReactions}function up(){return Hh().skinTonesDisabled}function hp(){return Hh().emojiStyle}function pp(){return Hh().categories}function mp(){return Hh().previewConfig}function gp(){return Hh().searchDisabled}function wp(){return Hh().skinTonePickerLocation}function Mp(){return Hh().getEmojiUrl}function bp(e){return"number"==typeof e?e+"px":e}function yp(){return!!tp()[0]}function Lp(e){e&&requestAnimationFrame((function(){e.focus()}))}function Cp(e){e&&Lp(e.previousElementSibling)}function vp(e){e&&Lp(e.nextElementSibling)}function jp(e){e&&Lp(e.firstElementChild)}function kp(){return document.activeElement}function Ip(e){var t=e.children,f=n(null),i=n(null),r=n(null),o=n(null),a=n(null),s=n(null),c=n(null),d=n(null);return l(xp.Provider,{value:{AnchoredEmojiRef:i,BodyRef:r,CategoryNavigationRef:s,PickerMainRef:f,SearchInputRef:o,SkinTonePickerRef:a,VariationPickerRef:c,ReactionsRef:d}},t)}!function(e){e.REACTIONS="reactions",e.PICKER="picker"}(ap||(ap={}));var Sp,xp=o({AnchoredEmojiRef:m(),BodyRef:m(),CategoryNavigationRef:m(),PickerMainRef:m(),SearchInputRef:m(),SkinTonePickerRef:m(),VariationPickerRef:m(),ReactionsRef:m()});function Np(){return a(xp)}function Tp(){return Np().PickerMainRef}function Dp(){return Np().AnchoredEmojiRef}function Ap(){var e=Dp();return function(t){null===t&&null!==e.current&&Lp(e.current),e.current=t}}function Ep(){return Np().BodyRef}function zp(){return Np().SearchInputRef}function Op(){return Np().SkinTonePickerRef}function Pp(){return Np().CategoryNavigationRef}function Rp(e,t){void 0===t&&(t=0);var n=Tm(e);n&&requestAnimationFrame((function(){n.scrollTop=t}))}function Jp(e){if(e&&function(e){return!!e&&Dm(e)<Nm(Fm(e))}(e)&&!e.closest(Uu(Tu.variationPicker))){var t=Am(e),n=Dm(e);!function(e,t){var n=Tm(e);n&&requestAnimationFrame((function(){n.scrollTop=n.scrollTop+t}))}(t,-(Nm(Fm(e))-n))}}function Bp(e){var t=Zm(e);Lp(t),Jp(t)}function Qp(e){if(e){var t=Um(e);if(!t)return Bp(Wm(e));Lp(t),Jp(t)}}function Yp(e){if(e){var t=Gm(e);if(!t)return function(e){Lp(Ym(e))}(Hm(e));Lp(t),Jp(t)}}function Up(e,t){if(e){var n=function(e){if(!e)return null;var t=Vm(e),n=Fm(t),f=Mm(t,e),i=bm(t,e),r=wm(t,e);if(0===i){var o=Hm(n);return o?Lm(Qm(o),-1,r,f):null}return function(e,t,n,f){var i=ym(e,t-1,n);return i[f]||i[i.length-1]||null}(Qm(t),i,r,f)}(e);if(!n)return t();Lp(n),Jp(n)}}function Gp(e){if(e){var t=function(e){if(!e)return null;var t=Vm(e),n=Fm(t),f=Mm(t,e),i=bm(t,e),r=wm(t,e);if(!function(e,t){if(!e||!t)return!1;var n=t.getBoundingClientRect().height,f=t.getBoundingClientRect().top,i=e.getBoundingClientRect().top,r=e.getBoundingClientRect().height;return Math.round(f-i+n)<r}(t,e)){var o=Wm(n);return o?Lm(Qm(o),0,r,f):null}var a=function(e,t,n,f){var i=function(e,t,n){var f=t+1;return f*n>e.length?[]:ym(e,f,n)}(e,t,n);return i[f]||i[i.length-1]||null}(Qm(t),i,r,f);return a}(e);return Lp(t)}}function Zp(){var e=ip(),t=e[0],n=e[1],f=rp(),i=f[0],r=f[1];return c((function(){t&&n(null),i&&r(!1)}),[t,i,n,r])}function Hp(){var e=ip()[0],t=rp()[0];return function(){return!!e||t}}function Wp(){var e=qh();return function(){e.current=!1}}function Fp(){var e=qh();return function(){return e.current}}function Vp(){var e=zp();return c((function(){Lp(e.current)}),[e])}function $p(){var e=Pp();return c((function(){e.current&&jp(e.current)}),[e])}function _p(){var e=Xp(),t=zp(),n=Vp();return function(){t.current&&(t.current.value=""),e(""),n()}}function Kp(){var e=zp(),t=Xh(),n=function(){var e=Xh();return function t(n){if("function"==typeof n)return t(n(e.current));e.current=n}}(),f=Xp(),i=tp()[0],r=function(e,t){var n;if(null==e||!e[t])return"";var f=(null==(n=Object.entries(null==e?void 0:e[t]))?void 0:n.length)||0;return function(e){return e>0?e>1?Jh.replace("%n",e.toString()):Rh:Oh}(f)}(t.current,i);return{onChange:function(e){var i=t.current,r=e.toLowerCase();if(null!=i&&i[r]||r.length<=1)return f(r);var o=function(e,t){if(!t)return null;if(t[e])return t[e];var n=Object.keys(t).sort((function(e,t){return t.length-e.length})).find((function(t){return e.includes(t)}));return n?t[n]:null}(r,i);if(!o)return f(r);n((function(e){var t;return Object.assign(e,((t={})[r]=function(e,t){var n={};for(var f in e){var i=e[f];qp(i,t)&&(n[f]=i)}return n}(o,r),t))})),f(r)},searchTerm:i,SearchInputRef:e,statusSearchResults:r}}function Xp(){var e=tp()[1],t=Tp();return function(n){requestAnimationFrame((function(){e(n&&(null==n?void 0:n.toLowerCase())).then((function(){Rp(t.current,0)}))}))}}function qp(e,t){return Ch(e).some((function(e){return e.includes(t)}))}function em(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function tm(){var e=Ap(),t=ip()[1];return function(n){var f=Im(n)[0];f&&(e(n),t(f))}}function nm(){return wp()===th.SEARCH}function fm(){return wp()===th.PREVIEW}function im(){(function(){var e=Tp(),t=_p(),n=function(){var e=Ep();return c((function(t){requestAnimationFrame((function(){e.current&&(e.current.scrollTop=t)}))}),[e])}(),f=zp(),i=Vp(),o=Hp(),a=function(){var e=qh();return function(){e.current=!0}}(),s=Zp(),l=d((function(){return function(e){var f=e.key;if(a(),f===Sp.Escape){if(e.preventDefault(),o())return void s();t(),n(0),i()}}}),[n,t,s,i,o,a]);r((function(){var t=e.current;if(t)return t.addEventListener("keydown",l),function(){t.removeEventListener("keydown",l)}}),[e,f,n,l])})(),function(){var e=function(){var e=Op();return c((function(){e.current&&jp(e.current)}),[e])}(),t=Tp(),n=Ep(),f=zp(),i=rp()[1],o=rm(),a=nm(),s=d((function(){return function(t){switch(t.key){case Sp.ArrowRight:if(!a)return;t.preventDefault(),i(!0),e();break;case Sp.ArrowDown:t.preventDefault(),o();break;case Sp.Enter:t.preventDefault(),function(e){var t=Zm(e);Lp(t),null==t||t.click()}(n.current)}}}),[e,o,i,n,a]);r((function(){var e=f.current;if(e)return e.addEventListener("keydown",s),function(){e.removeEventListener("keydown",s)}}),[t,f,s])}(),function(){var e=Op(),t=Vp(),n=zp(),f=rm(),i=rp(),o=i[0],a=i[1],s=fm(),l=nm(),c=sm(),u=d((function(){return function(e){var n=e.key;if(l)switch(n){case Sp.ArrowLeft:if(e.preventDefault(),!o)return t();om(t);break;case Sp.ArrowRight:if(e.preventDefault(),!o)return t();am();break;case Sp.ArrowDown:e.preventDefault(),o&&a(!1),f();break;default:c(e)}if(s)switch(n){case Sp.ArrowUp:if(e.preventDefault(),!o)return t();om(t);break;case Sp.ArrowDown:if(e.preventDefault(),!o)return t();am();break;default:c(e)}}}),[o,t,a,f,c,s,l]);r((function(){var t=e.current;if(t)return t.addEventListener("keydown",u),function(){t.removeEventListener("keydown",u)}}),[e,n,o,u])}(),function(){var e=Vp(),t=Pp(),n=Ep(),f=sm(),i=d((function(){return function(t){switch(t.key){case Sp.ArrowUp:t.preventDefault(),e();break;case Sp.ArrowRight:t.preventDefault(),vp(kp());break;case Sp.ArrowLeft:t.preventDefault(),Cp(kp());break;case Sp.ArrowDown:t.preventDefault(),Bp(n.current);break;default:f(t)}}}),[n,e,f]);r((function(){var e=t.current;if(e)return e.addEventListener("keydown",i),function(){e.removeEventListener("keydown",i)}}),[t,n,i])}(),function(){var e=Ep(),t=function(){var e=Vp(),t=$p(),n=yp();return c((function(){return n?e():t()}),[e,n,t])}(),n=tm(),f=Hp(),i=Zp(),o=sm(),a=d((function(){return function(e){var r=e.key,a=km(kp());switch(r){case Sp.ArrowRight:e.preventDefault(),Qp(a);break;case Sp.ArrowLeft:e.preventDefault(),Yp(a);break;case Sp.ArrowDown:if(e.preventDefault(),f()){i();break}Gp(a);break;case Sp.ArrowUp:if(e.preventDefault(),f()){i();break}Up(a,t);break;case Sp.Space:e.preventDefault(),n(e.target);break;default:o(e)}}}),[t,o,n,f,i]);r((function(){var t=e.current;if(t)return t.addEventListener("keydown",a),function(){t.removeEventListener("keydown",a)}}),[e,a])}()}function rm(){var e=$p(),t=yp(),n=Ep();return c((function(){return t?Bp(n.current):e()}),[n,e,t])}function om(e){var t=kp();t&&(function(e){return!!e.nextElementSibling}(t)||e(),vp(t))}function am(){var e=kp();e&&Cp(e)}function sm(){var e=function(){var e=zp(),t=Xp();return function(n){e.current?(e.current.value=""+e.current.value+n,t(em(e.current.value))):t(em(n))}}(),t=Vp(),n=gp(),f=Zp();return function(i){var r=i.key;(function(e){var t=e.metaKey,n=e.ctrlKey,f=e.altKey;return t||n||f})(i)||n||r.match(/(^[a-zA-Z0-9]$){1}/)&&(i.preventDefault(),f(),t(),e(r))}}function lm(e,t,n){if(t&&n!==Ku.NATIVE){var f=kh(t);cm.has(f)||(Sh(t).forEach((function(t){!function(e){var t=new Image;t.src=e}(e(t,n))})),cm.add(f))}}!function(e){e.ArrowDown="ArrowDown",e.ArrowUp="ArrowUp",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.Escape="Escape",e.Enter="Enter",e.Space=" "}(Sp||(Sp={}));var cm=new Set;var dm=["width","height"],um=40;function hm(e){var t=e.children;return l(_h,null,l(pm,null,t))}function pm(e){var t,n=e.children,f=ep()[0],i=Hh().theme,o=yp(),a=Tp(),s=Hh().className,c=function(){var e=Hh(),t=e.height,n=e.width,f=e.style;return Ru({height:bp(t),width:bp(n)},f)}();im(),function(){var e=Ep(),t=hp(),n=Mp();r((function(){if(t!==Ku.NATIVE){var f=e.current;return null==f||f.addEventListener("focusin",i),function(){null==f||f.removeEventListener("focusin",i)}}function i(e){var f=km(e.target);if(f){var i=Im(f)[0];i&&xh(i)&&lm(n,i,t)}}}),[e,t,n])}();var d=c||{},u=d.width,h=d.height,p=Bu(d,dm);return l("aside",{className:Au(gm.main,gm.baseVariables,i===Xu.DARK&&gm.darkTheme,i===Xu.AUTO&&gm.autoThemeDark,(t={},t[Tu.searchActive]=o,t),f&&gm.reactionsMenu,s),ref:a,style:Ru({},p,!f&&{height:h,width:u})},n)}var mm={"--epr-emoji-variation-picker-bg-color":"var(--epr-dark-emoji-variation-picker-bg-color)","--epr-hover-bg-color-reduced-opacity":"var(--epr-dark-hover-bg-color-reduced-opacity)","--epr-highlight-color":"var(--epr-dark-highlight-color)","--epr-text-color":"var(--epr-dark-text-color)","--epr-hover-bg-color":"var(--epr-dark-hover-bg-color)","--epr-focus-bg-color":"var(--epr-dark-focus-bg-color)","--epr-search-input-bg-color":"var(--epr-dark-search-input-bg-color)","--epr-category-label-bg-color":"var(--epr-dark-category-label-bg-color)","--epr-picker-border-color":"var(--epr-dark-picker-border-color)","--epr-bg-color":"var(--epr-dark-bg-color)","--epr-reactions-bg-color":"var(--epr-dark-reactions-bg-color)","--epr-search-input-bg-color-active":"var(--epr-dark-search-input-bg-color-active)","--epr-emoji-variation-indicator-color":"var(--epr-dark-emoji-variation-indicator-color)","--epr-category-icon-active-color":"var(--epr-dark-category-icon-active-color)","--epr-skin-tone-picker-menu-color":"var(--epr-dark-skin-tone-picker-menu-color)","--epr-skin-tone-outer-border-color":"var(--epr-dark-skin-tone-outer-border-color)","--epr-skin-tone-inner-border-color":"var(--epr-dark-skin-tone-inner-border-color)"},gm=Gu.create({main:{".":["epr-main",Tu.emojiPicker],position:"relative",display:"flex",flexDirection:"column",borderWidth:"1px",borderStyle:"solid",borderRadius:"var(--epr-picker-border-radius)",borderColor:"var(--epr-picker-border-color)",backgroundColor:"var(--epr-bg-color)",overflow:"hidden",transition:"all 0.3s ease-in-out, background-color 0.1s ease-in-out","*":{boxSizing:"border-box",fontFamily:"sans-serif"}},baseVariables:{"--":{"--epr-highlight-color":"#007aeb","--epr-hover-bg-color":"#e5f0fa","--epr-hover-bg-color-reduced-opacity":"#e5f0fa80","--epr-focus-bg-color":"#e0f0ff","--epr-text-color":"#858585","--epr-search-input-bg-color":"#f6f6f6","--epr-picker-border-color":"#e7e7e7","--epr-bg-color":"#fff","--epr-reactions-bg-color":"#ffffff90","--epr-category-icon-active-color":"#6aa8de","--epr-skin-tone-picker-menu-color":"#ffffff95","--epr-skin-tone-outer-border-color":"#555555","--epr-skin-tone-inner-border-color":"var(--epr-bg-color)","--epr-horizontal-padding":"10px","--epr-picker-border-radius":"8px","--epr-search-border-color":"var(--epr-highlight-color)","--epr-header-padding":"15px var(--epr-horizontal-padding)","--epr-active-skin-tone-indicator-border-color":"var(--epr-highlight-color)","--epr-active-skin-hover-color":"var(--epr-hover-bg-color)","--epr-search-input-bg-color-active":"var(--epr-search-input-bg-color)","--epr-search-input-padding":"0 30px","--epr-search-input-border-radius":"8px","--epr-search-input-height":"40px","--epr-search-input-text-color":"var(--epr-text-color)","--epr-search-input-placeholder-color":"var(--epr-text-color)","--epr-search-bar-inner-padding":"var(--epr-horizontal-padding)","--epr-category-navigation-button-size":"30px","--epr-emoji-variation-picker-height":"45px","--epr-emoji-variation-picker-bg-color":"var(--epr-bg-color)","--epr-preview-height":"70px","--epr-preview-text-size":"14px","--epr-preview-text-padding":"0 var(--epr-horizontal-padding)","--epr-preview-border-color":"var(--epr-picker-border-color)","--epr-preview-text-color":"var(--epr-text-color)","--epr-category-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-bg-color":"#ffffffe6","--epr-category-label-text-color":"var(--epr-text-color)","--epr-category-label-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-height":um+"px","--epr-emoji-size":"30px","--epr-emoji-padding":"5px","--epr-emoji-fullsize":"calc(var(--epr-emoji-size) + var(--epr-emoji-padding) * 2)","--epr-emoji-hover-color":"var(--epr-hover-bg-color)","--epr-emoji-variation-indicator-color":"var(--epr-picker-border-color)","--epr-emoji-variation-indicator-color-hover":"var(--epr-text-color)","--epr-header-overlay-z-index":"3","--epr-emoji-variations-indictator-z-index":"1","--epr-category-label-z-index":"2","--epr-skin-variation-picker-z-index":"5","--epr-preview-z-index":"6","--epr-dark":"#000","--epr-dark-emoji-variation-picker-bg-color":"var(--epr-dark)","--epr-dark-highlight-color":"#c0c0c0","--epr-dark-text-color":"var(--epr-highlight-color)","--epr-dark-hover-bg-color":"#363636f6","--epr-dark-hover-bg-color-reduced-opacity":"#36363680","--epr-dark-focus-bg-color":"#474747","--epr-dark-search-input-bg-color":"#333333","--epr-dark-category-label-bg-color":"#222222e6","--epr-dark-picker-border-color":"#151617","--epr-dark-bg-color":"#222222","--epr-dark-reactions-bg-color":"#22222290","--epr-dark-search-input-bg-color-active":"var(--epr-dark)","--epr-dark-emoji-variation-indicator-color":"#444","--epr-dark-category-icon-active-color":"#3271b7","--epr-dark-skin-tone-picker-menu-color":"#22222295","--epr-dark-skin-tone-outer-border-color":"var(--epr-dark-picker-border-color)","--epr-dark-skin-tone-inner-border-color":"#00000000"}},autoThemeDark:{".":Tu.autoTheme,"@media (prefers-color-scheme: dark)":{"--":mm}},darkTheme:{".":Tu.darkTheme,"--":mm},reactionsMenu:{".":"epr-reactions",height:"50px",display:"inline-flex",backgroundColor:"var(--epr-reactions-bg-color)",backdropFilter:"blur(8px)","--":{"--epr-picker-border-radius":"50px"}}});function wm(e,t){if(!e||!t)return 0;var n=e.getBoundingClientRect().width,f=t.getBoundingClientRect().width;return Math.floor(n/f)}function Mm(e,t){if(!e||!t)return 0;var n=t.getBoundingClientRect().width,f=t.getBoundingClientRect().left,i=e.getBoundingClientRect().left;return Math.floor((f-i)/n)}function bm(e,t){if(!e||!t)return 0;var n=t.getBoundingClientRect().height,f=t.getBoundingClientRect().top,i=e.getBoundingClientRect().top;return Math.round((f-i)/n)}function ym(e,t,n){if(-1===t){var f=Math.floor((e.length-1)/n)*n,i=e.length-1;return e.slice(f,i+1)}return e.slice(t*n,(t+1)*n)}function Lm(e,t,n,f){var i=ym(e,t,n);return i[f]||i[i.length-1]||null}function Cm(e,t,n){if(void 0===n&&(n=0),!e||!t.length)return null;var f=e.getBoundingClientRect().top,i=e.getBoundingClientRect().bottom,r=f+function(e){for(var t=Array.from(e.querySelectorAll(Uu(Tu.label))),n=0,f=t;n<f.length;n++){var i=f[n].getBoundingClientRect().height;if(i>0)return i}return um}(e);return t.find((function(e){var t=e.getBoundingClientRect().top,o=e.getBoundingClientRect().bottom,a=e.clientHeight*n,s=t+a,l=o-a;return!(s<r)&&(s>=f&&s<=i||l>=f&&l<=i)}))||null}var vm="button"+Uu(Tu.emoji),jm=[vm,Uu(Tu.visible),":not("+Uu(Tu.hidden)+")"].join("");function km(e){var t;return null!=(t=null==e?void 0:e.closest(vm))?t:null}function Im(e){var t=Pm(e),n=Om(e);if(!t)return[];var f=Nh(n??t);return f?[f,n]:[]}function Sm(e){var t;return null!=(t=null==e?void 0:e.clientHeight)?t:0}function xm(e){if(!e)return 0;var t=km(e),n=Fm(t),f=Nm(n);return Em(t)+Em(n)+f}function Nm(e){var t,n;if(!e)return 0;var f=e.querySelector(Uu(Tu.categoryContent));return(null!=(t=null==e?void 0:e.clientHeight)?t:0)-(null!=(n=null==f?void 0:f.clientHeight)?n:0)}function Tm(e){return e?e.matches(Uu(Tu.scrollBody))?e:e.querySelector(Uu(Tu.scrollBody)):null}function Dm(e){var t,n;return e?xm(e)-(null!=(t=null==(n=Am(e))?void 0:n.scrollTop)?t:0):0}function Am(e){var t;return e&&null!=(t=e.closest(Uu(Tu.scrollBody)))?t:null}function Em(e){var t;return null!=(t=null==e?void 0:e.offsetTop)?t:0}function zm(e){var t;return null!=(t=null==e?void 0:e.offsetLeft)?t:0}function Om(e){var t;return null!=(t=function(e,t){var n;return null!=(n=function(e){var t;return null!=(t=null==e?void 0:e.dataset)?t:{}}(e)[t])?n:null}(km(e),"unified"))?t:null}function Pm(e){var t=Om(e);return t?jh(t):null}function Rm(e){return e?{unified:Om(e),originalUnified:Pm(e)}:{unified:null,originalUnified:null}}function Jm(e){return e.classList.contains(Tu.visible)}function Bm(e){return!e||e.classList.contains(Tu.hidden)}function Qm(e){return e?Array.from(e.querySelectorAll(jm)):[]}function Ym(e){if(!e)return null;var t=Qm(e).slice(-1)[0];return t?Jm(t)?t:Gm(t):null}function Um(e){var t=e.nextElementSibling;return t?Jm(t)?t:Um(t):Zm(Wm(e))}function Gm(e){var t=e.previousElementSibling;return t?Jm(t)?t:Gm(t):Ym(Hm(e))}function Zm(e){return e?Cm(e,Qm(e),.1):null}function Hm(e){var t=Fm(e);if(!t)return null;var n=t.previousElementSibling;return n?Bm(n)?Hm(n):n:null}function Wm(e){var t=Fm(e);if(!t)return null;var n=t.nextElementSibling;return n?Bm(n)?Wm(n):n:null}function Fm(e){return e?e.closest(Uu(Tu.category)):null}function Vm(e){return e?e.closest(Uu(Tu.categoryContent)):null}function $m(e){return e.split("-").map((function(e){return String.fromCodePoint(parseInt(e,16))})).join("")}var _m="epr_suggested";function Km(e){try{var t,n,f;if(null==(t=window)||!t.localStorage)return[];var i=JSON.parse(null!=(n=null==(f=window)?void 0:f.localStorage.getItem(_m))?n:"[]");return e===_u.FREQUENT?i.sort((function(e,t){return t.count-e.count})):i}catch{return[]}}function Xm(e){return void 0!==e.imgUrl}function qm(e,t){var f=n(),i=tm(),o=a(Kh).disallowClickRef,s=ip()[1],l=Zp(),d=np()[0],u=function(e){var t=lp().current,n=ep()[1],f=t.onEmojiClick||function(){},i=t.onReactionClick;return e===ap.REACTIONS&&i?function(){for(var e=arguments.length,t=new Array(e),f=0;f<e;f++)t[f]=arguments[f];return i.apply(void 0,t.concat([{collapseToReactions:function(){n((function(e){return e}))}}]))}:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];f.apply(void 0,t.concat([{collapseToReactions:function(){n(!0)}}]))}}(t),h=op()[1],p=Mp(),m=hp(),g=c((function(e){if(!o.current){l();var t=eg(e),n=t[0],f=t[1];if(n&&f){var i=function(e){var t=e.split("-")[1];return wh.includes(t)?t:null}(f)||d;h(),function(e,t){var n,f=Km(),i=kh(e,t),r=kh(e),o=f.find((function(e){return e.unified===i}));n=o?[o].concat(f.filter((function(e){return e!==o}))):[o={unified:i,original:r,count:0}].concat(f),o.count++,n.length=Math.min(n.length,14);try{var a;null==(a=window)||a.localStorage.setItem(_m,JSON.stringify(n))}catch{}}(n,i),u(function(e,t,n,f){var i=Ch(e);if(Xm(e)){var r=kh(e);return{activeSkinTone:t,emoji:r,getImageUrl:function(){return e.imgUrl},imageUrl:e.imgUrl,isCustom:!0,names:i,unified:r,unifiedWithoutSkinTone:r}}var o=kh(e,t);return{activeSkinTone:t,emoji:$m(o),getImageUrl:function(e){return void 0===e&&(e=n??Ku.APPLE),f(o,e)},imageUrl:f(o,n??Ku.APPLE),isCustom:!1,names:i,unified:o,unifiedWithoutSkinTone:kh(e)}}(n,i,m,p),e)}}}),[d,l,o,u,h,p,m]),w=c((function(e){var t;f.current&&clearTimeout(f.current);var n=eg(e)[0];!n||!xh(n)||(f.current=null==(t=window)?void 0:t.setTimeout((function(){o.current=!0,f.current=void 0,l(),i(e.target),s(n)}),500))}),[o,l,i,s]),M=c((function(){f.current?(clearTimeout(f.current),f.current=void 0):o.current&&requestAnimationFrame((function(){o.current=!1}))}),[o]);r((function(){if(e.current){var t=e.current;return t.addEventListener("click",g,{passive:!0}),t.addEventListener("mousedown",w,{passive:!0}),t.addEventListener("mouseup",M,{passive:!0}),function(){null==t||t.removeEventListener("click",g),null==t||t.removeEventListener("mousedown",w),null==t||t.removeEventListener("mouseup",M)}}}),[e,g,w,M])}function eg(e){var t=null==e?void 0:e.target;return function(e){var t;return!!(null!=e&&e.matches(vm)||null!=e&&null!=(t=e.parentElement)&&t.matches(vm))}(t)?Im(t):[]}function tg(e){return l("button",Object.assign({type:"button"},e,{className:Au(ng.button,e.className)}),e.children)}var ng=Gu.create({button:{".":"epr-btn",cursor:"pointer",border:"0",background:"none",outline:"none"}});function fg(e){var t,n=e.emojiNames,f=e.unified,i=e.hidden,r=e.hiddenOnSearch,o=e.showVariations,a=void 0===o||o,s=e.hasVariations,c=e.children,d=e.className,u=e.noBackground,h=void 0!==u&&u;return l(tg,{className:Au(rg.emoji,i&&Hu.hidden,r&&Fu.hiddenOnSearch,(t={},t[Tu.visible]=!i&&!r,t),!(!s||!a)&&rg.hasVariations,h&&rg.noBackground,d),"data-unified":f,"aria-label":ig(n),"data-full-name":n},c)}function ig(e){var t;return e[0].match("flag-")&&null!=(t=e[1])?t:e[0]}var rg=Gu.create({emoji:{".":Tu.emoji,position:"relative",width:"var(--epr-emoji-fullsize)",height:"var(--epr-emoji-fullsize)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:"var(--epr-emoji-fullsize)",maxHeight:"var(--epr-emoji-fullsize)",borderRadius:"8px",overflow:"hidden",transition:"background-color 0.2s",":hover":{backgroundColor:"var(--epr-emoji-hover-color)"},":focus":{backgroundColor:"var(--epr-focus-bg-color)"}},noBackground:{background:"none",":hover":{backgroundColor:"transparent",background:"none"},":focus":{backgroundColor:"transparent",background:"none"}},hasVariations:{".":Tu.emojiHasVariations,":after":{content:"",display:"block",width:"0",height:"0",right:"0px",bottom:"1px",position:"absolute",borderLeft:"4px solid transparent",borderRight:"4px solid transparent",transform:"rotate(135deg)",borderBottom:"4px solid var(--epr-emoji-variation-indicator-color)",zIndex:"var(--epr-emoji-variations-indictator-z-index)"},":hover:after":{borderBottom:"4px solid var(--epr-emoji-variation-indicator-color-hover)"}}}),og=Gu.create({external:{".":Tu.external,fontSize:"0"},common:{alignSelf:"center",justifySelf:"center",display:"block"}});function ag(e){var t=e.emojiName,n=e.style,f=e.lazyLoad,i=void 0!==f&&f,r=e.imgUrl,o=e.onError,a=e.className;return l("img",{src:r,alt:t,className:Au(sg.emojiImag,og.external,og.common,a),loading:i?"lazy":"eager",onError:o,style:n})}var sg=Gu.create({emojiImag:{".":"epr-emoji-img",maxWidth:"var(--epr-emoji-fullsize)",maxHeight:"var(--epr-emoji-fullsize)",minWidth:"var(--epr-emoji-fullsize)",minHeight:"var(--epr-emoji-fullsize)",padding:"var(--epr-emoji-padding)"}});function lg(e){var t=e.unified,n=e.style,f=e.className;return l("span",{className:Au(cg.nativeEmoji,og.common,og.external,f),"data-unified":t,style:n},$m(t))}var cg=Gu.create({nativeEmoji:{".":"epr-emoji-native",fontFamily:'"Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji"!important',position:"relative",lineHeight:"100%",fontSize:"var(--epr-emoji-size)",textAlign:"center",alignSelf:"center",justifySelf:"center",letterSpacing:"0",padding:"var(--epr-emoji-padding)"}});function dg(e){var t=e.emoji,n=e.unified,f=e.emojiStyle,i=e.size,r=e.lazyLoad,o=e.getEmojiUrl,a=void 0===o?Ih:o,s=e.className,c=fp()[1],d={};i&&(d.width=d.height=d.fontSize=i+"px");var u=t||Nh(n);return u?Xm(u)?l(ag,{style:d,emojiName:n,emojiStyle:Ku.NATIVE,lazyLoad:r,imgUrl:u.imgUrl,onError:p,className:s}):l(h,null,f===Ku.NATIVE?l(lg,{unified:n,style:d,className:s}):l(ag,{style:d,emojiName:vh(u),emojiStyle:f,lazyLoad:r,imgUrl:a(n,f),onError:p,className:s})):null;function p(){c((function(e){return new Set(e).add(n)}))}}function ug(e){var t=e.emoji,n=e.unified,f=e.hidden,i=e.hiddenOnSearch,r=e.emojiStyle,o=e.showVariations,a=void 0===o||o,s=e.size,c=e.lazyLoad,d=e.getEmojiUrl,u=e.className,h=e.noBackground,p=void 0!==h&&h,m=xh(t);return l(fg,{hasVariations:m,showVariations:a,hidden:f,hiddenOnSearch:i,emojiNames:Ch(t),unified:n,noBackground:p},l(dg,{unified:n,emoji:t,size:s,emojiStyle:r,lazyLoad:c,getEmojiUrl:d,className:u}))}function hg(){var e=ep()[1];return l(tg,{"aria-label":"Show all Emojis",title:"Show all Emojis",tabIndex:0,className:Au(pg.plusSign),onClick:function(){return e(!1)}})}var pg=Gu.create(Ru({plusSign:{fontSize:"20px",padding:"17px",color:"var(--epr-text-color)",borderRadius:"50%",textAlign:"center",lineHeight:"100%",width:"20px",height:"20px",display:"flex",justifyContent:"center",alignItems:"center",transition:"background-color 0.2s ease-in-out",":after":{content:"",minWidth:"20px",minHeight:"20px",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNS43LDEwLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40QzYsMTAuOSw2LjEsMTEsNi4zLDEx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jRMNS43LDUwLjR6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik01LjcsNzAuNGMwLDAuMSwwLjEsMC4zLDAuMiwwLjRTNi4xLDcxLDYuMyw3MWgzLjR2My40YzAsMC4xLDAuMSwwLjMsMC4yLDAuNGMwLjEsMC4xLDAuMiwwLjIsMC40LDAuMgoJYzAuMywwLDAuNS0wLjIsMC41LTAuNXYtMy40aDMuNGMwLjMsMCwwLjUtMC4yLDAuNS0wLjVzLTAuMi0wLjUtMC41LTAuNWgtMy40di0zLjRjMC0wLjMtMC4yLTAuNS0wLjUtMC41cy0wLjUsMC4yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=)",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",backgroundPositionY:"0"},":hover":{color:"var(--epr-highlight-color)",backgroundColor:"var(--epr-hover-bg-color-reduced-opacity)",":after":{backgroundPositionY:"-20px"}},":focus":{color:"var(--epr-highlight-color)",backgroundColor:"var(--epr-hover-bg-color-reduced-opacity)",":after":{backgroundPositionY:"-40px"}}}},Vu("plusSign",{":after":{backgroundPositionY:"-40px"},":hover:after":{backgroundPositionY:"-60px"}})));function mg(){var e=ep()[0],t=Np().ReactionsRef,n=Hh().reactions;qm(t,ap.REACTIONS);var f=hp(),i=dp(),r=Mp();return e?l("ul",{className:Au(gg.list,!e&&Hu.hidden),ref:t},n.map((function(e){return l("li",{key:e},l(ug,{emoji:Nh(e),emojiStyle:f,unified:e,showVariations:!1,className:Au(gg.emojiButton),noBackground:!0,getEmojiUrl:r}))})),i?l("li",null,l(hg,null)):null):null}var gg=Gu.create({list:{listStyle:"none",margin:"0",padding:"0 5px",display:"flex",justifyContent:"space-between",alignItems:"center",height:"100%"},emojiButton:{":hover":{transform:"scale(1.2)"},":focus":{transform:"scale(1.2)"},":active":{transform:"scale(1.1)"},transition:"transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.5)"}});function wg(){var e=fp()[0],t=function(){var e=Xh().current,t=tp()[0];return function(n){return function(e,t,n){var f;return!(!t||!n||null!=(f=t[n])&&f[e])}(n,e,t)}}();return function(n){var f=kh(n),i=e.has(f),r=t(f);return{failedToLoad:i,filteredOut:r,hidden:i||r}}}function Mg(e){var t=e.categoryConfig,n=e.children,f=e.hidden,i=e.hiddenOnSearch,r=sh(t),o=lh(t);return l("li",{className:Au(bg.category,f&&Hu.hidden,i&&Fu.hiddenOnSearch),"data-name":r,"aria-label":o},l("h2",{className:Au(bg.label)},o),l("div",{className:Au(bg.categoryContent)},n))}var bg=Gu.create({category:{".":Tu.category,":not(:has(.epr-visible))":{display:"none"}},categoryContent:{".":Tu.categoryContent,display:"grid",gridGap:"0",gridTemplateColumns:"repeat(auto-fill, var(--epr-emoji-fullsize))",justifyContent:"space-between",margin:"var(--epr-category-padding)",position:"relative"},label:{".":Tu.label,alignItems:"center",backdropFilter:"blur(3px)",backgroundColor:"var(--epr-category-label-bg-color)",color:"var(--epr-category-label-text-color)",display:"flex",fontSize:"16px",fontWeight:"bold",height:"var(--epr-category-label-height)",margin:"0",padding:"var(--epr-category-label-padding)",position:"sticky",textTransform:"capitalize",top:"0",width:"100%",zIndex:"var(--epr-category-label-z-index)"}}),yg=!1;function Lg(e){var t=e.categoryConfig,n=op()[0],i=function(){var e=f(yg),t=e[0],n=e[1];return r((function(){n(!0),yg=!0}),[]),t||yg}(),o=Hh().suggestedEmojisMode,a=Mp(),s=d((function(){var e;return null!=(e=Km(o))?e:[]}),[n,o]),c=hp(),u=$h();return i?l(Mg,{categoryConfig:t,hiddenOnSearch:!0,hidden:0===s.length},s.map((function(e){var t=Nh(e.original);return!t||u(t)?null:l(ug,{showVariations:!1,unified:e.unified,emojiStyle:c,emoji:t,key:e.unified,getEmojiUrl:a})}))):null}function Cg(){var e=pp(),t=n(0);return l("ul",{className:Au(kg.emojiList)},e.map((function(e){var n=sh(e);return n===eh.SUGGESTED?l(Lg,{key:n,categoryConfig:e}):l(g,{key:n},l(vg,{category:n,categoryConfig:e,renderdCategoriesCountRef:t}))})))}function vg(e){var t=e.category,n=e.categoryConfig,f=e.renderdCategoriesCountRef,i=wg(),r=Hh().lazyLoadEmojis,o=hp(),s=a(Kh).isPastInitialLoad,c=np()[0],d=$h(),u=Mp(),h=!up(),p=!s&&f.current>0?[]:function(e){var t;return null!=(t=null==gh?void 0:gh[e])?t:[]}(t);p.length>0&&f.current++;var m=0,g=p.map((function(e){var t=kh(e,c),n=i(e),f=n.failedToLoad,a=n.filteredOut,s=n.hidden,p=d(e);return(s||p)&&m++,p?null:l(ug,{showVariations:h,key:t,emoji:e,unified:t,hidden:f,hiddenOnSearch:a,emojiStyle:o,lazyLoad:r,getEmojiUrl:u})}));return l(Mg,{categoryConfig:n,hidden:m===g.length},g)}var jg,kg=Gu.create({emojiList:{".":Tu.emojiList,listStyle:"none",margin:"0",padding:"0"}});function Ig(){var e,t,n=Dp(),f=Np().VariationPickerRef,i=ip()[0],o=hp(),a=function(e){var t=Dp(),n=Ep(),f=jg.Up;return{getMenuDirection:i,getTop:r};function i(){return f}function r(){f=jg.Up;var i=0;if(!e.current)return 0;var r=Sm(e.current);if(t.current){var o,a=n.current,s=km(t.current),l=Sm(s);i=xm(s),(null!=(o=null==a?void 0:a.scrollTop)?o:0)>i-r&&(f=jg.Down,i+=l+r)}return i-r}}(f),s=a.getTop,c=a.getMenuDirection,d=Ap(),u=function(e){var t=Dp();return function(){var n={};if(!e.current)return n;if(t.current){var f=km(t.current),i=function(e){var t=km(e),n=Fm(t);return zm(t)+zm(n)}(f);if(!f)return n;n.left=i+(null==f?void 0:f.clientWidth)/2}return n}}(f),h=Mp(),p=km(n.current),m=!!(i&&p&&xh(i)&&p.classList.contains(Tu.emojiHasVariations));return r((function(){m&&Bp(f.current)}),[f,m,n]),!m&&n.current?d(null):(e=s(),t=u()),l("div",{ref:f,className:Au(Sg.variationPicker,c()===jg.Down&&Sg.pointingUp,m&&Sg.visible),style:{top:e}},m&&i?[kh(i)].concat(Sh(i)).slice(0,6).map((function(e){return l(ug,{key:e,emoji:i,unified:e,emojiStyle:o,showVariations:!1,getEmojiUrl:h})})):null,l("div",{className:Au(Sg.pointer),style:t}))}!function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(jg||(jg={}));var Sg=Gu.create(Ru({variationPicker:{".":Tu.variationPicker,position:"absolute",right:"15px",left:"15px",padding:"5px",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.2)",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"space-around",opacity:"0",visibility:"hidden",pointerEvents:"none",top:"-100%",border:"1px solid var(--epr-picker-border-color)",height:"var(--epr-emoji-variation-picker-height)",zIndex:"var(--epr-skin-variation-picker-z-index)",background:"var(--epr-emoji-variation-picker-bg-color)",transform:"scale(0.9)",transition:"transform 0.1s ease-out, opacity 0.2s ease-out"},visible:{opacity:"1",visibility:"visible",pointerEvents:"all",transform:"scale(1)"},pointingUp:{".":"pointing-up",transformOrigin:"center 0%",transform:"scale(0.9)"},".pointing-up":{pointer:{top:"0",transform:"rotate(180deg) translateY(100%) translateX(18px)"}},pointer:{".":"epr-emoji-pointer",content:"",position:"absolute",width:"25px",height:"15px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"50px 15px",top:"100%",transform:"translateX(-18px)",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI1MHB4IgoJIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDUwIDE1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MCAxNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSJMYXllcl8xIj4KPC9nPgo8ZyBpZD0iTGF5ZXJfMiI+Cgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBzdHJva2U9IiNFOEU3RTciIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KCTxwYXRoIGZpbGw9IiMwMTAyMDIiIHN0cm9rZT0iIzE1MTYxNyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMjYuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KPC9nPgo8L3N2Zz4=)"}},Vu("pointer",{backgroundPosition:"-25px 0"})));function xg(){var e=Ep();return function(e){var t=Zp();r((function(){var n=e.current;if(n)return n.addEventListener("scroll",f,{passive:!0}),function(){null==n||n.removeEventListener("scroll",f)};function f(){t()}}),[e,t])}(e),qm(e,ap.PICKER),function(){var e=Ep(),t=Wp(),n=Fp();r((function(){var f=e.current;function i(){n()&&t()}return null==f||f.addEventListener("mousemove",i,{passive:!0}),function(){null==f||f.removeEventListener("mousemove",i)}}),[e,t,n])}(),l("div",{className:Au(Dg.body,Fu.hiddenOnReactions),ref:e},l(Ig,null),l(Cg,null))}var Ng,Tg,Dg=Gu.create({body:{".":Tu.scrollBody,flex:"1",overflowY:"scroll",overflowX:"hidden",position:"relative"}});function Ag(e,t){var n=Ep(),f=Fp(),i=Wp();r((function(){if(e){var i=n.current;return null==i||i.addEventListener("keydown",a,{passive:!0}),null==i||i.addEventListener("mouseover",s,!0),null==i||i.addEventListener("focus",r,!0),null==i||i.addEventListener("mouseout",o,{passive:!0}),null==i||i.addEventListener("blur",o,!0),function(){null==i||i.removeEventListener("mouseover",s),null==i||i.removeEventListener("mouseout",o),null==i||i.removeEventListener("focus",r,!0),null==i||i.removeEventListener("blur",o,!0),null==i||i.removeEventListener("keydown",a)}}function r(e){var n=km(e.target);if(!n)return o();var f=Rm(n),i=f.unified,r=f.originalUnified;if(!i||!r)return o();t({unified:i,originalUnified:r})}function o(e){if(e&&!km(e.relatedTarget))return t(null);t(null)}function a(e){"Escape"===e.key&&t(null)}function s(e){if(!f()){var n=km(e.target);if(n){var r=function(e,t){if(!e||!t)return 0;var n=e.getBoundingClientRect(),f=t.getBoundingClientRect();return f.height-(n.y-f.y)}(n,i);if(r<n.getBoundingClientRect().height)return function(e,t){var n,f=Rm(e),i=f.unified,r=f.originalUnified;!i||!r||(null==(n=document.activeElement)||null==n.blur||n.blur(),t({unified:i,originalUnified:r}))}(n,t);Lp(n)}}}}),[n,e,t,f,i])}function Eg(e){var t=e.children,n=e.className,f=e.style,i=void 0===f?{}:f,r=e.direction,o=void 0===r?Tg.ROW:r;return l("div",{style:Ru({},i),className:Au(zg.flex,n,zg[o])},t)}!function(e){e.ROW="FlexRow",e.COLUMN="FlexColumn"}(Tg||(Tg={}));var zg=Gu.create(((Ng={flex:{display:"flex"}})[Tg.ROW]={flexDirection:"row"},Ng[Tg.COLUMN]={flexDirection:"column"},Ng));function Og(e){var t=e.className,n=e.style;return l("div",{style:Ru({flex:1},void 0===n?{}:n),className:Au(t)})}function Pg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:Ru({},f,{position:"absolute"}),className:n},t)}function Rg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:Ru({},f,{position:"relative"}),className:n},t)}function Jg(e){var t=e.isOpen,n=e.onClick,f=e.isActive,i=e.skinToneVariation,r=e.style;return l(tg,{style:r,onClick:n,className:Au("epr-tone-"+i,Qg.tone,!t&&Qg.closedTone,f&&Qg.active),"aria-pressed":f,"aria-label":"Skin tone "+Mh[i]})}var Bg,Qg=Gu.create({closedTone:{opacity:"0",zIndex:"0"},active:{".":"epr-active",zIndex:"1",opacity:"1"},tone:{".":"epr-tone",width:"var(--epr-skin-tone-size)",display:"block",cursor:"pointer",borderRadius:"4px",height:"var(--epr-skin-tone-size)",position:"absolute",right:"0",transition:"transform 0.3s ease-in-out, opacity 0.35s ease-in-out",zIndex:"0",border:"1px solid var(--epr-skin-tone-outer-border-color)",boxShadow:"inset 0px 0px 0 1px var(--epr-skin-tone-inner-border-color)",":hover":{boxShadow:"0 0 0 3px var(--epr-active-skin-hover-color), inset 0px 0px 0 1px var(--epr-skin-tone-inner-border-color)"},":focus":{boxShadow:"0 0 0 3px var(--epr-focus-bg-color)"},"&.epr-tone-neutral":{backgroundColor:"#ffd225"},"&.epr-tone-1f3fb":{backgroundColor:"#ffdfbd"},"&.epr-tone-1f3fc":{backgroundColor:"#e9c197"},"&.epr-tone-1f3fd":{backgroundColor:"#c88e62"},"&.epr-tone-1f3fe":{backgroundColor:"#a86637"},"&.epr-tone-1f3ff":{backgroundColor:"#60463a"}}}),Yg=28;function Ug(){return l(Rg,{style:{height:Yg}},l(Pg,{style:{bottom:0,right:0}},l(Gg,{direction:Bg.VERTICAL})))}function Gg(e){var t=e.direction,n=void 0===t?Bg.HORIZONTAL:t,f=Op(),i=up(),r=rp(),o=r[0],a=r[1],s=np(),c=s[0],d=s[1],u=lp().current.onSkinToneChange||function(){},h=Zp(),p=Vp();if(i)return null;var m=Yg*wh.length+"px",g=o?m:Yg+"px",w=n===Bg.VERTICAL;return l(Rg,{className:Au(Zg.skinTones,w&&Zg.vertical,o&&Zg.open,w&&o&&Zg.verticalShadow),style:w?{flexBasis:g,height:g}:{flexBasis:g}},l("div",{className:Au(Zg.select),ref:f},wh.map((function(e,t){var n=e===c;return l(Jg,{key:e,skinToneVariation:e,isOpen:o,style:{transform:Au(w?"translateY(-"+t*(o?Yg:0)+"px)":"translateX(-"+t*(o?Yg:0)+"px)",o&&n&&"scale(1.3)")},isActive:n,onClick:function(){o?(d(e),u(e),p()):a(!0),h()}})}))))}!function(e){e.VERTICAL="epr-vertical",e.HORIZONTAL="epr-horizontal"}(Bg||(Bg={}));var Zg=Gu.create({skinTones:{".":"epr-skin-tones","--":{"--epr-skin-tone-size":"15px"},display:"flex",alignItems:"center",justifyContent:"flex-end",transition:"all 0.3s ease-in-out",padding:"10px 0"},vertical:{padding:"9px",alignItems:"flex-end",flexDirection:"column",borderRadius:"6px",border:"1px solid var(--epr-bg-color)"},verticalShadow:{boxShadow:"0px 0 7px var(--epr-picker-border-color)"},open:{backdropFilter:"blur(5px)",background:"var(--epr-skin-tone-picker-menu-color)",".epr-active":{border:"1px solid var(--epr-active-skin-tone-indicator-border-color)"}},select:{".":"epr-skin-tone-select",position:"relative",width:"var(--epr-skin-tone-size)",height:"var(--epr-skin-tone-size)"}});function Hg(){var e=mp(),t=fm(),n=ep()[0];return e.showPreview?l(Eg,{className:Au(Fg.preview,Fu.hiddenOnReactions,n&&Fg.hideOnReactions)},l(Wg,null),l(Og,null),t?l(Ug,null):null):null}function Wg(){var e,t=mp(),n=f(null),i=n[0],r=n[1],o=hp(),a=ip()[0],s=Mp();Ag(t.showPreview,r);var c=Nh(null!=(e=null==i?void 0:i.unified)?e:null==i?void 0:i.originalUnified),d=null!=c&&null!=i;return l((function(){var e=a??Nh(t.defaultEmoji);if(!e)return null;var n=a?vh(a):t.defaultCaption;return l(h,null,l("div",null,d?l(dg,{unified:null==i?void 0:i.unified,emoji:c,emojiStyle:o,size:45,getEmojiUrl:s,className:Au(Fg.emoji)}):e?l(dg,{unified:kh(e),emoji:e,emojiStyle:o,size:45,getEmojiUrl:s,className:Au(Fg.emoji)}):null),l("div",{className:Au(Fg.label)},d?vh(c):n))}),null)}var Fg=Gu.create({preview:{alignItems:"center",borderTop:"1px solid var(--epr-preview-border-color)",height:"var(--epr-preview-height)",padding:"0 var(--epr-horizontal-padding)",position:"relative",zIndex:"var(--epr-preview-z-index)"},label:{color:"var(--epr-preview-text-color)",fontSize:"var(--epr-preview-text-size)",padding:"var(--epr-preview-text-padding)",textTransform:"capitalize"},emoji:{padding:"0"},hideOnReactions:{opacity:"0",transition:"opacity 0.5s ease-in-out"}});function Vg(e){var t;return null!=(t=null==e?void 0:e.getAttribute("data-name"))?t:null}function $g(){var e=Hh().customEmojis;return!!e&&0===e.length}function _g(e){var t,n=e.isActiveCategory,f=e.category,i=e.allowNavigation,r=e.categoryConfig,o=e.onClick;return l(tg,{tabIndex:i?0:-1,className:Au(ew.catBtn,Fu.categoryBtn,"epr-icn-"+f,(t={},t[Tu.active]=n,t)),onClick:o,"aria-label":lh(r),"aria-selected":n,role:"tab","aria-controls":"epr-category-nav-id"})}var Kg={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 3)"},Xg={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 2)"},qg={":not(.epr-search-active)":{catBtn:{":hover":Kg,"&.epr-active":Kg}}},ew=Gu.create(Ru({catBtn:{".":"epr-cat-btn",display:"inline-block",transition:"opacity 0.2s ease-in-out",position:"relative",height:"var(--epr-category-navigation-button-size)",width:"var(--epr-category-navigation-button-size)",backgroundSize:"calc(var(--epr-category-navigation-button-size) * 10)",outline:"none",backgroundPosition:"0 0",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjB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yIgcng9IjAuNyIgcnk9IjAuNyIvPgoJCTxlbGxpcHNlIGZpbGw9IiM4Njg2ODYiIGN4PSIzMi40IiBjeT0iOS43IiByeD0iMC43IiByeT0iMC43Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+)",":focus:before":{content:"",position:"absolute",top:"-2px",left:"-2px",right:"-2px",bottom:"-2px",border:"2px solid var(--epr-category-icon-active-color)",borderRadius:"50%"},"&.epr-icn-suggested":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -8)"},"&.epr-icn-custom":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -9)"},"&.epr-icn-activities":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -4)"},"&.epr-icn-animals_nature":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -1)"},"&.epr-icn-flags":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -7)"},"&.epr-icn-food_drink":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -2)"},"&.epr-icn-objects":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -5)"},"&.epr-icn-smileys_people":{backgroundPositionX:"0px"},"&.epr-icn-symbols":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -6)"},"&.epr-icn-travel_places":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -3)"}}},Vu("catBtn",Xg),{".epr-dark-theme":Ru({},qg),".epr-auto-theme":Ru({},qg)}));function tw(){var e=f(null),t=e[0],n=e[1],i=function(){var e=Ep(),t=Tp();return function(n){var f;if(e.current){var i=null==(f=e.current)?void 0:f.querySelector('[data-name="'+n+'"]');if(i){var r=i.offsetTop||0;Rp(t.current,r)}}}}();!function(e){var t=Ep();r((function(){var n=new Map,f=t.current,i=new IntersectionObserver((function(t){if(f){for(var i,r=Yu(t);!(i=r()).done;){var o=i.value,a=Vg(o.target);n.set(a,o.intersectionRatio)}var s=Array.from(n),l=s[s.length-1];if(1==l[1])return e(l[0]);for(var c=0,d=s;c<d.length;c++){var u=d[c],h=u[0];if(u[1]){e(h);break}}}}),{threshold:[0,1]});null==f||f.querySelectorAll(Uu(Tu.category)).forEach((function(e){i.observe(e)}))}),[t,e])}(n);var o=yp(),a=pp(),s=Pp(),c=$g();return l("div",{className:Au(nw.nav),role:"tablist","aria-label":"Category navigation",id:"epr-category-nav-id",ref:s},a.map((function(e){var f=sh(e),r=f===t;return function(e){return e.category===eh.CUSTOM}(e)&&c?null:l(_g,{key:f,category:f,isActiveCategory:r,allowNavigation:!o&&!r,categoryConfig:e,onClick:function(){i(f),setTimeout((function(){n(f)}),10)}})})))}var nw=Gu.create({nav:{".":"epr-category-nav",display:"flex",flexDirection:"row",justifyContent:"space-around",padding:"var(--epr-header-padding)"},".epr-search-active":{nav:{opacity:"0.3",cursor:"default",pointerEvents:"none"}},".epr-main:has(input:not(:placeholder-shown))":{nav:{opacity:"0.3",cursor:"default",pointerEvents:"none"}}}),fw="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNi45OCwxMy41OWMwLjEsMC4xLDAu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QzYuNzcsNzMuMDUsNi43Nyw3My4zOSw2Ljk4LDczLjU5TDYuOTgsNzMuNTl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik0xMC4xNSw3OC40M2M0LjQxLDAsOC0zLjU5LDgtOGMwLTQuNDEtMy41OS04LTgtOGMtNC40MSwwLTgsMy41OS04LDhDMi4xNSw3NC44NCw1Ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";function iw(){var e=_p();return l(tg,{className:Au(ow.btnClearSearch,Fu.visibleOnSearchOnly),onClick:e,"aria-label":"Clear",title:"Clear"},l("div",{className:Au(ow.icnClearnSearch)}))}var rw={":hover":{"> .epr-icn-clear-search":{backgroundPositionY:"-60px"}}},ow=Gu.create(Ru({btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+fw+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Vu("icnClearnSearch",{backgroundPositionY:"-40px"}),Vu("btnClearSearch",rw))),aw=Uu(Tu.emojiPicker)+" "+Uu(Tu.emojiList),sw=["button",Uu(Tu.emoji)].join(""),lw=Uu(Tu.category);function cw(e){var t=e.value;if(!t)return null;var n=function(e){return[sw,'[data-full-name*="',em(e),'"]'].join("")}(t);return l("style",null,"\n "+aw+" "+sw+" {\n display: none;\n }\n\n\n "+aw+" "+n+" {\n display: flex;\n }\n\n "+aw+" "+lw+":not(:has("+n+")) {\n display: none;\n }\n ")}function dw(){return l("div",{className:Au(uw.icnSearch)})}var uw=Gu.create(Ru({icnSearch:{".":"epr-icn-search",content:"",position:"absolute",top:"50%",left:"var(--epr-search-bar-inner-padding)",transform:"translateY(-50%)",width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"20px",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCAyMCA0MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzg2ODY4NiIgZD0iTTEyLDguODFjMCwyLjA4LTEuNjgsMy43Ni0zLjc2LDMuNzZjLTIuMDgsMC0zLjc2LTEuNjgtMy43Ni0zLjc2CgljMC0yLjA4LDEuNjgtMy43NiwzLjc2LTMuNzZDMTAuMzIsNS4wNSwxMiw2LjczLDEyLDguODF6IE0xMS4yMywxMi43MmMtMC44MywwLjY0LTEuODcsMS4wMS0yLjk5LDEuMDFjLTIuNzIsMC00LjkyLTIuMi00LjkyLTQuOTIKCWMwLTIuNzIsMi4yLTQuOTIsNC45Mi00LjkyYzIuNzIsMCw0LjkyLDIuMiw0LjkyLDQuOTJjMCwxLjEzLTAuMzgsMi4xNi0xLjAxLDIuOTlsMy45NCwzLjkzYzAuMjUsMC4yNSwwLjI1LDAuNjYsMCwwLjkyCgljLTAuMjUsMC4yNS0wLjY2LDAuMjUtMC45MiwwTDExLjIzLDEyLjcyeiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0MwQzBCRiIgZD0iTTEyLDI4LjgxYzAsMi4wOC0xLjY4LDMuNzYtMy43NiwzLjc2Yy0yLjA4LDAtMy43Ni0xLjY4LTMuNzYtMy43NgoJYzAtMi4wOCwxLjY4LTMuNzYsMy43Ni0zLjc2QzEwLjMyLDI1LjA1LDEyLDI2LjczLDEyLDI4LjgxeiBNMTEuMjMsMzIuNzJjLTAuODMsMC42NC0xLjg3LDEuMDEtMi45OSwxLjAxCgljLTIuNzIsMC00LjkyLTIuMi00LjkyLTQuOTJjMC0yLjcyLDIuMi00LjkyLDQuOTItNC45MmMyLjcyLDAsNC45MiwyLjIsNC45Miw0LjkyYzAsMS4xMy0wLjM4LDIuMTYtMS4wMSwyLjk5bDMuOTQsMy45MwoJYzAuMjUsMC4yNSwwLjI1LDAuNjYsMCwwLjkyYy0wLjI1LDAuMjUtMC42NiwwLjI1LTAuOTIsMEwxMS4yMywzMi43MnoiLz4KPC9zdmc+)"}},Vu("icnSearch",{backgroundPositionY:"-20px"})));function hw(){var e=gp(),t=nm();return e?null:l(Eg,{className:Au(mw.overlay)},l(pw,null),t?l(Gg,null):null)}function pw(){var e=f(0),t=e[0],n=e[1],i=Zp(),r=zp(),o=function(){var e,t=Hh();return null!=(e=[t.searchPlaceHolder,t.searchPlaceholder].find((function(e){return e!==zh})))?e:zh}(),a=Hh().autoFocusSearch,s=Kp(),c=s.statusSearchResults,d=s.searchTerm,u=s.onChange,h=null==r?void 0:r.current,p=null==h?void 0:h.value;return l(Rg,{className:Au(mw.searchContainer)},l(cw,{value:p}),l("input",{autoFocus:a,"aria-label":"Type to search for an emoji",onFocus:i,className:Au(mw.search),type:"text","aria-controls":"epr-search-id",placeholder:o,onChange:function(e){n(t+1),setTimeout((function(){var t,n;u(null!=(t=null==e||null==(n=e.target)?void 0:n.value)?t:p)}))},ref:r}),d?l("div",{role:"status",className:Au("epr-status-search-results",mw.visuallyHidden),"aria-live":"polite",id:"epr-search-id","aria-atomic":"true"},c):null,l(dw,null),l(iw,null))}var mw=Gu.create(Ru({overlay:{padding:"var(--epr-header-padding)",zIndex:"var(--epr-header-overlay-z-index)"},searchContainer:{".":"epr-search-container",flex:"1",display:"block",minWidth:"0"},visuallyHidden:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"},search:{outline:"none",transition:"all 0.2s ease-in-out",color:"var(--epr-search-input-text-color)",borderRadius:"var(--epr-search-input-border-radius)",padding:"var(--epr-search-input-padding)",height:"var(--epr-search-input-height)",backgroundColor:"var(--epr-search-input-bg-color)",border:"1px solid var(--epr-search-input-bg-color)",width:"100%",":focus":{backgroundColor:"var(--epr-search-input-bg-color-active)",border:"1px solid var(--epr-search-border-color)"},"::placeholder":{color:"var(--epr-search-input-placeholder-color)"}},btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+fw+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Vu("icnClearnSearch",{backgroundPositionY:"-40px"}),Vu("btnClearSearch",{":hover > .epr-icn-clear-search":{backgroundPositionY:"-60px"}})));function gw(){return l(Rg,{className:Au("epr-header",Fu.hiddenOnReactions)},l(hw,null),l(tw,null))}function ww(e){return l(Ip,null,l(Wu,null),l(Zh,Object.assign({},e),l(Mw,null)))}function Mw(){var e=ep()[0],t=dp(),n=f(!e),i=n[0],o=n[1],a=Hh().open;return r((function(){e&&!t||i||o(!0)}),[i,t,e]),a?l(hm,null,l(mg,null),l(bw,{renderAll:i})):null}function bw(e){return e.renderAll?l(h,null,l(gw,null),l(xg,null),l(Hg,null)):null}var yw=u(ww,$u),Lw=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={hasError:!1},n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ju(e,t)}(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}};var n=t.prototype;return n.componentDidCatch=function(e,t){console.error("Emoji Picker React failed to render:",e,t)},n.render=function(){return this.state.hasError?null:this.props.children},t}(p);function Cw(t){var n=function(t){var n=e.useRef({onEmojiClick:t.onEmojiClick||cp,onReactionClick:t.onReactionClick||t.onEmojiClick,onSkinToneChange:t.onSkinToneChange||cp});return e.useEffect((function(){n.current.onEmojiClick=t.onEmojiClick||cp,n.current.onReactionClick=t.onReactionClick||t.onEmojiClick}),[t.onEmojiClick,t.onReactionClick]),e.useEffect((function(){n.current.onSkinToneChange=t.onSkinToneChange||cp}),[t.onSkinToneChange]),n}({onEmojiClick:t.onEmojiClick,onReactionClick:t.onReactionClick,onSkinToneChange:t.onSkinToneChange});return l(Lw,null,l(sp.Provider,{value:n},l(yw,Object.assign({},t))))}const vw=({dataTest:e,attachmentsMenu:t,id:i,inputRef:o,className:a,editorClassName:l,disabled:d,readOnly:u,error:h,locale:p,title:m,placeholder:g,helperText:M,maxScrollableHeight:b,toolbarDefaultVisible:y,hideToolbar:C,noDefaultStyles:v,attachments:j,replyModeComponent:I,...T})=>{var D;const A=n(),E=n(null),z=n(null),P=n(null),J=n(null),[B,Q]=f(!1),Y=Fa({...T,extensions:[mu.configure({placeholder:g}),...du,...uu,...T.extensions||[]],parseOptions:{preserveWhitespace:!0,...T.parseOptions},shouldRerenderOnTransaction:T.shouldRerenderOnTransaction||!1,immediatelyRender:T.immediatelyRender||!0,editable:T.editable||!d&&!u,onSelectionUpdate:e=>{var t;null==(t=T.onSelectionUpdate)||t.call(T,e),A.current=e.editor.state.selection.anchor,e.editor.commands.focus()},onUpdate:e=>{var t;null==(t=T.onUpdate)||t.call(T,e),G()}},[T.shouldRerenderOnTransaction,T.immediatelyRender,g]),U=c((()=>{if(!Y||!E.current||!z.current)return;const e=Y.view.dom,t=z.current,n=E.current.parentElement??E.current,f=Math.max(0,n.clientWidth-80);t.className=e.className;const i=window.getComputedStyle(e);Object.assign(t.style,{width:`${f}px`,position:"absolute",left:"-99999px",top:"0",visibility:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word",overflowWrap:"anywhere",boxSizing:"border-box",font:i.font,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,padding:i.padding}),null==J.current&&(t.innerHTML="<p><br /></p>",J.current=t.scrollHeight),t.innerHTML=e.innerHTML||"<p><br /></p>";const r=t.scrollHeight>(J.current??0)+2;Q((e=>e===r?e:r))}),[Y]),G=c((()=>{P.current&&cancelAnimationFrame(P.current),P.current=requestAnimationFrame((()=>{P.current=requestAnimationFrame(U)}))}),[U]);s((()=>{if(!Y)return;G();const e=new ResizeObserver((()=>{G()}));return E.current&&e.observe(E.current),()=>{e.disconnect(),P.current&&cancelAnimationFrame(P.current)}}),[Y,G]),r((()=>{Y&&T.content!==Y.getHTML()&&Y.commands.setContent(T.content||"",!1)}),[T.content,Y]),r((()=>{null==Y||Y.setEditable(T.editable||!d&&!u)}),[u,d,T.editable,Y]),r((()=>{void 0!==A.current&&(null==Y||Y.commands.setTextSelection(A.current))}),[null==(D=T.content)?void 0:D.length,Y]);const[Z,H]=f(y),[W,F]=f(!1);w(o,(()=>Y));const[V,$]=f(!1),[_,K]=f(!1);r((()=>{const e=()=>$(!0),t=()=>$(!1);return null==Y||Y.on("blur",t),()=>{null==Y||Y.off("focus",e),null==Y||Y.off("blur",t)}}),[Y]);const X=null==Y?void 0:Y.isEmpty,q=!u&&h&&X;if(!Y)return null;const ee=!Z||B;return O.jsxs(S,{className:a,children:[m&&O.jsx("p",{className:"font-semibold text-base text-delta-700 mb-2",children:m}),O.jsxs("div",{ref:E,className:R(!v&&"rte-wrapper","outlined"===u&&"readonly-outlined","plain"===u&&"readonly-plain",!u&&q&&(V?"error-focused-state":"error-state"),!u&&!q&&V&&"focused-state"),children:[I,O.jsx("div",{ref:z,"aria-hidden":!0,className:"pointer-events-none invisible absolute left-[-99999px] top-0"}),O.jsxs("div",{className:"flex gap-2",children:[O.jsx("div",{className:"flex-1 min-w-0",children:O.jsx(Aa,{"data-test":e,id:i,className:R(!v&&"core-ui-rte",!C&&!d&&!u&&!Z&&"displace-text",!v&&!d&&!u&&"edit-mode",l,Z&&"displace-text"),editor:Y,onClick:()=>null==Y?void 0:Y.chain().focus().run(),style:{"--max-scrollable-height":`${b||100}px`}})}),!C&&!d&&!u&&O.jsxs("div",{className:R("flex shrink-0 items-center justify-end",B?"flex-col w-10":"w-20"),children:[t,ee&&O.jsx(L,{dataTest:"richeditor-format-button",className:R(B?"order-last":"order-first"),size:"large",variant:"textGray",onClick:()=>H(!Z),startIcon:O.jsx(Tl,{className:"cursor-pointer text-delta-700 h-6 w-6 min-w-6",icon:"material-symbols:format-color-text"})})]})]}),!(null==j||!j.length)&&O.jsx("div",{className:"p-2 flex flex-wrap items-center gap-2",children:j.map((e=>O.jsx(x,{...e})))}),!C&&!d&&!u&&Z&&O.jsx(Rl,{editor:Y,onClose:()=>H(!1),error:h,focused:V,openLinkDialog:()=>F(!0),openEmojiPicker:()=>K(!0),locale:p})]}),M&&O.jsxs("div",{className:R("text-sm mt-1",q?"flex items-center gap-1 text-red-600":"mx-[14px] text-gray-500"),children:[q&&O.jsx(N,{width:20,height:20,className:"min-w-5"}),M]}),O.jsx(pu,{open:W,setOpen:F,editor:Y,locale:p}),O.jsx(k,{dataTest:"emoji-picker-dialog",open:_,onClose:()=>K(!1),dialogTitle:O.jsx("span",{className:"pb-4",children:"Emoji"}),children:O.jsx(Cw,{open:_,onEmojiClick:({emoji:e})=>{null==Y||Y.chain().focus().insertContent(e).run(),K(!1)},allowExpandReactions:!1,autoFocusSearch:!1,className:"w-full min-w-[350px]",previewConfig:{showPreview:!1}})})]})};export{vw as RichInput};
|
|
55
|
+
*/"production"===process.env.NODE_ENV?Pa.exports=function(){if(Ea)return Ra;Ea=1;var t=e,n=xa,f="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useSyncExternalStore,r=t.useRef,o=t.useEffect,a=t.useMemo,s=t.useDebugValue;return Ra.useSyncExternalStoreWithSelector=function(e,t,n,l,c){var d=r(null);if(null===d.current){var u={hasValue:!1,value:null};d.current=u}else u=d.current;d=a((function(){function e(e){if(!o){if(o=!0,i=e,e=l(e),void 0!==c&&u.hasValue){var t=u.value;if(c(t,e))return r=t}return r=e}if(t=r,f(i,e))return t;var n=l(e);return void 0!==c&&c(t,n)?t:(i=e,r=n)}var i,r,o=!1,a=void 0===n?null:n;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]}),[t,n,l,c]);var h=i(e,d[0],d[1]);return o((function(){u.hasValue=!0,u.value=h}),[h]),s(h),h},Ra}():Pa.exports=(Ja||(Ja=1,"production"!==process.env.NODE_ENV&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=e,n=xa,f="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useSyncExternalStore,r=t.useRef,o=t.useEffect,a=t.useMemo,s=t.useDebugValue;Ba.useSyncExternalStoreWithSelector=function(e,t,n,l,c){var d,u=r(null);null===u.current?(d={hasValue:!1,value:null},u.current=d):d=u.current;var h=a((function(){var e,i,r=!1,o=function(t){if(!r){r=!0,e=t;var n=l(t);if(void 0!==c&&d.hasValue){var o=d.value;if(c(o,n))return i=o,o}return i=n,n}var a=i;if(f(e,t))return a;var s=l(t);return void 0!==c&&c(a,s)?a:(e=t,i=s,s)},a=void 0===n?null:n;return[function(){return o(t())},null===a?void 0:function(){return o(a())}]}),[t,n,l,c]),p=h[0],m=h[1],g=i(e,p,m);return o((function(){d.hasValue=!0,d.value=g}),[g]),s(g),g},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ba);var Qa=Pa.exports;const Ya=typeof window<"u"?s:r;class Ua{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach((e=>e()))},t=this.editor;return t.on("transaction",e),()=>{t.off("transaction",e)}}}}const Ga="production"!==process.env.NODE_ENV,Za=typeof window>"u",Ha=Za||!!(typeof window<"u"&&window.next);class Wa{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach((e=>e()))}getInitialEditor(){if(void 0===this.options.current.immediatelyRender)return Za||Ha?(Ga&&console.warn("Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches."),null):this.createEditor();if(this.options.current.immediatelyRender&&Za&&Ga)throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");return this.options.current.immediatelyRender?this.createEditor():null}createEditor(){const e={...this.options.current,onBeforeCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBeforeCreate)||void 0===n?void 0:n.call(t,...e)},onBlur:(...e)=>{var t,n;return null===(n=(t=this.options.current).onBlur)||void 0===n?void 0:n.call(t,...e)},onCreate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onCreate)||void 0===n?void 0:n.call(t,...e)},onDestroy:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDestroy)||void 0===n?void 0:n.call(t,...e)},onFocus:(...e)=>{var t,n;return null===(n=(t=this.options.current).onFocus)||void 0===n?void 0:n.call(t,...e)},onSelectionUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onSelectionUpdate)||void 0===n?void 0:n.call(t,...e)},onTransaction:(...e)=>{var t,n;return null===(n=(t=this.options.current).onTransaction)||void 0===n?void 0:n.call(t,...e)},onUpdate:(...e)=>{var t,n;return null===(n=(t=this.options.current).onUpdate)||void 0===n?void 0:n.call(t,...e)},onContentError:(...e)=>{var t,n;return null===(n=(t=this.options.current).onContentError)||void 0===n?void 0:n.call(t,...e)},onDrop:(...e)=>{var t,n;return null===(n=(t=this.options.current).onDrop)||void 0===n?void 0:n.call(t,...e)},onPaste:(...e)=>{var t,n;return null===(n=(t=this.options.current).onPaste)||void 0===n?void 0:n.call(t,...e)}};return new ga(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every((n=>!!["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(n)||("extensions"===n&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every(((e,n)=>{var f;return e===(null===(f=t.extensions)||void 0===f?void 0:f[n])})):e[n]===t[n])))}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===e.length?Wa.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps)return void(this.previousDeps=e);if(this.previousDeps.length===e.length&&this.previousDeps.every(((t,n)=>t===e[n])))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout((()=>{this.isComponentMounted&&this.instanceId===e?t&&t.setOptions(this.options.current):t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))}),1)}}function Fa(e={},t=[]){const o=n(e);o.current=e;const[a]=f((()=>new Wa(o))),s=xa.useSyncExternalStore(a.subscribe,a.getEditor,a.getServerSnapshot);return i(s),r(a.onRender(t)),function(e){var t;const[n]=f((()=>new Ua(e.editor))),r=Qa.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,null!==(t=e.equalityFn)&&void 0!==t?t:Oa);Ya((()=>n.watch(e.editor)),[e.editor,n]),i(r)}({editor:s,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),s}o({editor:null}).Consumer;const Va=o({onDragStart:void 0});e.forwardRef(((t,n)=>{const{onDragStart:f}=a(Va),i=t.as||"div";return e.createElement(i,{...t,ref:n,"data-node-view-wrapper":"",onDragStart:f,style:{whiteSpace:"normal",...t.style}})}));const $a=Object.freeze({left:0,top:0,width:16,height:16}),_a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ka=Object.freeze({...$a,..._a}),Xa=Object.freeze({...Ka,body:"",hidden:!1});function qa(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const f=((e.rotate||0)+(t.rotate||0))%4;return f&&(n.rotate=f),n}(e,t);for(const f in Xa)f in _a?f in e&&!(f in n)&&(n[f]=_a[f]):f in t?n[f]=t[f]:f in e&&(n[f]=e[f]);return n}function es(e,t,n){const f=e.icons,i=e.aliases||Object.create(null);let r={};function o(e){r=qa(f[e]||i[e],r)}return o(t),n.forEach(o),qa(e,r)}function ts(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const f=function(e,t){const n=e.icons,f=e.aliases||Object.create(null),i=Object.create(null);return(t||Object.keys(n).concat(Object.keys(f))).forEach((function e(t){if(n[t])return i[t]=[];if(!(t in i)){i[t]=null;const n=f[t]&&f[t].parent,r=n&&e(n);r&&(i[t]=[n].concat(r))}return i[t]})),i}(e);for(const i in f){const r=f[i];r&&(t(i,es(e,i,r)),n.push(i))}return n}const ns=/^[a-z0-9]+(-[a-z0-9]+)*$/,fs=(e,t,n,f="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;f=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),r={provider:i.length>0?i[0]:f,prefix:n,name:e};return t&&!is(r)?null:r}const r=i[0],o=r.split("-");if(o.length>1){const e={provider:f,prefix:o.shift(),name:o.join("-")};return t&&!is(e)?null:e}if(n&&""===f){const e={provider:f,prefix:"",name:r};return t&&!is(e,n)?null:e}return null},is=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(ns)||!(t&&""===e.prefix||e.prefix.match(ns))||!e.name.match(ns)),rs={provider:"",aliases:{},not_found:{},...$a};function as(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ss(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!as(e,rs))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(ns)||"string"!=typeof t.body||!as(t,Xa))return null}const f=t.aliases||Object.create(null);for(const e in f){const t=f[e],i=t.parent;if(!e.match(ns)||"string"!=typeof i||!n[i]&&!f[i]||!as(t,Xa))return null}return t}const ls=Object.create(null);function cs(e,t){const n=ls[e]||(ls[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function ds(e,t){return ss(t)?ts(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let us=!1;function hs(e){return"boolean"==typeof e&&(us=e),us}function ps(e){const t="string"==typeof e?fs(e,!0,us):e;if(t){const e=cs(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function ms(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),us&&!t&&!e.prefix){let t=!1;return ss(e)&&(e.prefix="",ts(e,((e,n)=>{n&&function(e,t){const n=fs(e,!0,us);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(cs(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!is({provider:t,prefix:n,name:"a"}))return!1;return!!ds(cs(t,n),e)}const gs=Object.freeze({width:null,height:null}),ws=Object.freeze({...gs,..._a}),Ms=/(-?[0-9.]*[0-9]+[0-9.]*)/g,bs=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ys(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const f=e.split(Ms);if(null===f||!f.length)return e;const i=[];let r=f.shift(),o=bs.test(r);for(;;){if(o){const e=parseFloat(r);isNaN(e)?i.push(r):i.push(Math.ceil(e*t*n)/n)}else i.push(r);if(r=f.shift(),void 0===r)return i.join("");o=!o}}const Ls=/\sid="(\S+)"/g,Cs="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let vs=0;function js(e,t=Cs){const n=[];let f;for(;f=Ls.exec(e);)n.push(f[1]);if(!n.length)return e;const i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const f="function"==typeof t?t(n):t+(vs++).toString(),r=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+f+i+"$3")})),e=e.replace(new RegExp(i,"g"),"")}const ks=Object.create(null);function Is(e){return ks[e]||ks[""]}function xs(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Ss=Object.create(null),Ns=["https://api.simplesvg.com","https://api.unisvg.com"],Ts=[];for(;Ns.length>0;)1===Ns.length||Math.random()>.5?Ts.push(Ns.shift()):Ts.push(Ns.pop());function Ds(e,t){const n=xs(t);return null!==n&&(Ss[e]=n,!0)}function As(e){return Ss[e]}Ss[""]=xs({resources:["https://api.iconify.design"].concat(Ts)});let Es=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const zs={prepare:(e,t,n)=>{const f=[],i=function(e,t){const n=As(e);if(!n)return 0;let f;if(n.maxURL){let e=0;n.resources.forEach((t=>{e=Math.max(e,t.length)}));const i=t+".json?icons=";f=n.maxURL-e-n.path.length-i.length}else f=0;return f}(e,t),r="icons";let o={type:r,provider:e,prefix:t,icons:[]},a=0;return n.forEach(((n,s)=>{a+=n.length+1,a>=i&&s>0&&(f.push(o),o={type:r,provider:e,prefix:t,icons:[]},a=n.length),o.icons.push(n)})),f.push(o),f},send:(e,t,n)=>{if(!Es)return void n("abort",424);let f=function(e){if("string"==typeof e){const t=As(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");f+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;f+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let i=503;Es(e+f).then((e=>{const t=e.status;if(200===t)return i=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",i)}))})).catch((()=>{n("next",i)}))}};function Os(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let Ps=0;var Rs={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Js(e,t,n,f){const i=e.resources.length,r=e.random?Math.floor(Math.random()*i):e.index;let o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){const e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(r).concat(e.resources.slice(0,r));const a=Date.now();let s,l="pending",c=0,d=null,u=[],h=[];function p(){d&&(clearTimeout(d),d=null)}function m(){"pending"===l&&(l="aborted"),p(),u.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),u=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function w(){l="failed",h.forEach((e=>{e(void 0,s)}))}function M(){u.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),u=[]}function b(){if("pending"!==l)return;p();const f=o.shift();if(void 0===f)return u.length?void(d=setTimeout((()=>{p(),"pending"===l&&(M(),w())}),e.timeout)):void w();const i={status:"pending",resource:f,callback:(t,n)=>{!function(t,n,f){const i="success"!==n;switch(u=u.filter((e=>e!==t)),l){case"pending":break;case"failed":if(i||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return s=f,void w();if(i)return s=f,void(u.length||(o.length?b():w()));if(p(),M(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",h.forEach((e=>{e(f)}))}(i,t,n)}};u.push(i),c++,d=setTimeout(b,e.rotate),n(f,t,i.callback)}return"function"==typeof f&&h.push(f),setTimeout(b),function(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:u.length,subscribe:g,abort:m}}}function Bs(e){const t={...Rs,...e};let n=[];function f(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,i,r){const o=Js(t,e,i,((e,t)=>{f(),r&&r(e,t)}));return n.push(o),o},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:f}}function Qs(){}const Ys=Object.create(null);function Us(e,t,n){let f,i;if("string"==typeof e){const t=Is(e);if(!t)return n(void 0,424),Qs;i=t.send;const r=function(e){if(!Ys[e]){const t=As(e);if(!t)return;const n={config:t,redundancy:Bs(t)};Ys[e]=n}return Ys[e]}(e);r&&(f=r.redundancy)}else{const t=xs(e);if(t){f=Bs(t);const n=Is(e.resources?e.resources[0]:"");n&&(i=n.send)}}return f&&i?f.query(t,i,n)().abort:(n(void 0,424),Qs)}const Gs="iconify2",Zs="iconify",Hs=Zs+"-count",Ws=Zs+"-version",Fs=36e5,Vs=168,$s=50;function _s(e,t){try{return e.getItem(t)}catch{}}function Ks(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Xs(e,t){try{e.removeItem(t)}catch{}}function qs(e,t){return Ks(e,Hs,t.toString())}function el(e){return parseInt(_s(e,Hs))||0}const tl={local:!0,session:!0},nl={local:new Set,session:new Set};let fl=!1;let il=typeof window>"u"?{}:window;function rl(e){const t=e+"Storage";try{if(il&&il[t]&&"number"==typeof il[t].length)return il[t]}catch{}tl[e]=!1}function ol(e,t){const n=rl(e);if(!n)return;const f=_s(n,Ws);if(f!==Gs){if(f){const e=el(n);for(let t=0;t<e;t++)Xs(n,Zs+t.toString())}return Ks(n,Ws,Gs),void qs(n,0)}const i=Math.floor(Date.now()/Fs)-Vs,r=e=>{const f=Zs+e.toString(),r=_s(n,f);if("string"==typeof r){try{const n=JSON.parse(r);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>i&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch{}Xs(n,f)}};let o=el(n);for(let t=o-1;t>=0;t--)r(t)||(t===o-1?(o--,qs(n,o)):nl[e].add(t))}function al(){if(!fl){fl=!0;for(const e in tl)ol(e,(e=>{const t=e.data,n=cs(e.provider,t.prefix);if(!ds(n,t).length)return!1;const f=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,f):f,!0}))}}function sl(e,t){function n(n){let f;if(!tl[n]||!(f=rl(n)))return;const i=nl[n];let r;if(i.size)i.delete(r=Array.from(i).shift());else if(r=el(f),r>=$s||!qs(f,r+1))return;const o={cached:Math.floor(Date.now()/Fs),provider:e.provider,data:t};return Ks(f,Zs+r.toString(),JSON.stringify(o))}fl||al(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in tl)ol(n,(n=>{const f=n.data;return n.provider!==e.provider||f.prefix!==e.prefix||f.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function ll(){}function cl(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const f=e.provider,i=e.prefix;t.forEach((t=>{const r=t.icons,o=r.pending.length;r.pending=r.pending.filter((t=>{if(t.prefix!==i)return!0;const o=t.name;if(e.icons[o])r.loaded.push({provider:f,prefix:i,name:o});else{if(!e.missing.has(o))return n=!0,!0;r.missing.push({provider:f,prefix:i,name:o})}return!1})),r.pending.length!==o&&(n||Os([e],t.id),t.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),t.abort))}))})))}(e)})))}const dl=(e,t)=>{const n=function(e,t=!0,n=!1){const f=[];return e.forEach((e=>{const i="string"==typeof e?fs(e,t,n):e;i&&f.push(i)})),f}(e,!0,hs()),f=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let f={provider:"",prefix:"",name:""};return e.forEach((e=>{if(f.name===e.name&&f.prefix===e.prefix&&f.provider===e.provider)return;f=e;const i=e.provider,r=e.prefix,o=e.name,a=n[i]||(n[i]=Object.create(null)),s=a[r]||(a[r]=cs(i,r));let l;l=o in s.icons?t.loaded:""===r||s.missing.has(o)?t.missing:t.pending;const c={provider:i,prefix:r,name:o};l.push(c)})),t}(n);if(!f.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(f.loaded,f.missing,f.pending,ll)})),()=>{e=!1}}const i=Object.create(null),r=[];let o,a;return f.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===a&&t===o)return;o=t,a=n,r.push(cs(t,n));const f=i[t]||(i[t]=Object.create(null));f[n]||(f[n]=[])})),f.pending.forEach((e=>{const{provider:t,prefix:n,name:f}=e,r=cs(t,n),o=r.pendingIcons||(r.pendingIcons=new Set);o.has(f)||(o.add(f),i[t][n].push(f))})),r.forEach((e=>{const{provider:t,prefix:n}=e;i[t][n].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,f=e.iconsToLoad;let i;delete e.iconsToLoad,f&&(i=Is(t))&&i.prepare(t,n,f).forEach((n=>{Us(t,n,(t=>{if("object"!=typeof t)n.icons.forEach((t=>{e.missing.add(t)}));else try{const n=ds(e,t);if(!n.length)return;const f=e.pendingIcons;f&&n.forEach((e=>{f.delete(e)})),sl(e,t)}catch(e){console.error(e)}cl(e)}))}))})))}(e,i[t][n])})),t?function(e,t,n){const f=Ps++,i=Os.bind(null,n,f);if(!t.pending.length)return i;const r={id:f,icons:t,callback:e,abort:i};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(r)})),i}(t,f,r):ll};const ul=/[\s,]+/;function hl(e,t){t.split(ul).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function pl(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function f(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:f(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?f(i):0)}}return t}function ml(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let gl;function wl(e){return void 0===gl&&function(){try{gl=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{gl=null}}(),gl?gl.createHTML(e):e}const Ml={...ws,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},yl={display:"inline-block"},Ll={backgroundColor:"currentColor"},Cl={backgroundColor:"transparent"},vl={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jl={WebkitMask:Ll,mask:Ll,background:Cl};for(const e in jl){const t=jl[e];for(const n in vl)t[e+n]=vl[n]}const kl={...Ml,inline:!0};function Il(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const xl=(e,t,n)=>{const f=t.inline?kl:Ml,i=function(e,t){const n={...e};for(const e in t){const f=t[e],i=typeof f;e in gs?(null===f||f&&("string"===i||"number"===i))&&(n[e]=f):i===typeof n[e]&&(n[e]="rotate"===e?f%4:f)}return n}(f,t),r=t.mode||"svg",o={},a=t.style||{},s={..."svg"===r?bl:{}};if(n){const e=fs(n,!1,!0);if(e){const t=["iconify"],n=["provider","prefix"];for(const f of n)e[f]&&t.push("iconify--"+e[f]);s.className=t.join(" ")}}for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":break;case"_ref":s.ref=n;break;case"className":s[e]=(s[e]?s[e]+" ":"")+n;break;case"inline":case"hFlip":case"vFlip":i[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&hl(i,n);break;case"color":o.color=n;break;case"rotate":"string"==typeof n?i[e]=pl(n):"number"==typeof n&&(i[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete s["aria-hidden"];break;default:void 0===f[e]&&(s[e]=n)}}const c=function(e,t){const n={...Ka,...e},f={...ws,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,f].forEach((e=>{const t=[],n=e.hFlip,f=e.vFlip;let o,a=e.rotate;switch(n?f?a+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):f&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4,a){case 1:o=i.height/2+i.top,t.unshift("rotate(90 "+o.toString()+" "+o.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:o=i.width/2+i.left,t.unshift("rotate(-90 "+o.toString()+" "+o.toString()+")")}a%2==1&&(i.left!==i.top&&(o=i.left,i.left=i.top,i.top=o),i.width!==i.height&&(o=i.width,i.width=i.height,i.height=o)),t.length&&(r=function(e,t,n){const f=function(e,t="defs"){let n="";const f=e.indexOf("<"+t);for(;f>=0;){const i=e.indexOf(">",f),r=e.indexOf("</"+t);if(-1===i||-1===r)break;const o=e.indexOf(">",r);if(-1===o)break;n+=e.slice(i+1,r).trim(),e=e.slice(0,f).trim()+e.slice(o+1)}return{defs:n,content:e}}(e);return function(e,t){return e?"<defs>"+e+"</defs>"+t:t}(f.defs,t+f.content+n)}(r,'<g transform="'+t.join(" ")+'">',"</g>"))}));const o=f.width,a=f.height,s=i.width,l=i.height;let c,d;null===o?(d=null===a?"1em":"auto"===a?l:a,c=ys(d,s/l)):(c="auto"===o?s:o,d=null===a?ys(c,l/s):"auto"===a?l:a);const u={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(u[e]=t.toString())};h("width",c),h("height",d);const p=[i.left,i.top,s,l];return u.viewBox=p.join(" "),{attributes:u,viewBox:p,body:r}}(e,i),d=c.attributes;if(i.inline&&(o.verticalAlign="-0.125em"),"svg"===r){s.style={...o,...a},Object.assign(s,d);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),s.dangerouslySetInnerHTML={__html:wl(js(c.body,n?()=>n+"ID"+e++:"iconifyReact"))},l("svg",s)}const{body:u,width:h,height:p}=e,m="mask"===r||"bg"!==r&&-1!==u.indexOf("currentColor"),g=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(u,{...d,width:h+"",height:p+""});return s.style={...o,"--svg":ml(g),width:Il(d.width),height:Il(d.height),...yl,...m?Ll:Cl,...a},l("span",s)};var Sl;if(hs(!0),Sl=zs,ks[""]=Sl,typeof document<"u"&&typeof window<"u"){al();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!ms(e))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const f=t[e];if("object"!=typeof f||!f||void 0===f.resources)continue;Ds(e,f)||console.error(n)}catch{console.error(n)}}}}function Nl(e){const[t,n]=f(!!e.ssr),[i,o]=f({});const[a,s]=f(function(t){if(t){const t=e.icon;if("object"==typeof t)return{name:"",data:t};const n=ps(t);if(n)return{name:t,data:n}}return{name:""}}(!!e.ssr));function c(){const e=i.callback;e&&(e(),o({}))}function d(e){if(JSON.stringify(a)!==JSON.stringify(e))return c(),s(e),!0}function u(){var t;const n=e.icon;if("object"==typeof n)return void d({name:"",data:n});const f=ps(n);if(d({name:n,data:f}))if(void 0===f){const e=dl([n],u);o({callback:e})}else f&&(null===(t=e.onLoad)||void 0===t||t.call(e,n))}r((()=>(n(!0),c)),[]),r((()=>{t&&u()}),[e.icon,t]);const{name:h,data:p}=a;return p?xl({...Ka,...p},e,h):e.children?e.children:l("span",{})}const Tl=t(((e,t)=>Nl({...e,_ref:t})));t(((e,t)=>Nl({inline:!0,...e,_ref:t})));const Dl=()=>{const[e,t]=f(null),n=!!e,i=c((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:c((()=>{t(null)}),[]),handleOpen:i,anchorEl:e}},Al=e=>O.jsx(b,{...e,sx:{"&.MuiMenuItem-root":{color:"var(--colors-delta-700)",fontSize:"14px",lineHeight:"20px"}},children:e.children}),El={en:{emojis:"Emojis",heading1:"Heading 1",heading2:"Heading 2",bold:"Bold",italic:"Italic",link:"Link",more:"More",close:"Close",ordered_list:"Ordered list",bullet_list:"Bullet list",font_size:"Font size"},no:{emojis:"Emojier",heading1:"Overskrift 1",heading2:"Overskrift 2",bold:"Fet",italic:"Kursiv",link:"Lenke",more:"Mer",close:"Lukk",ordered_list:"Nummerert liste",bullet_list:"Punktliste",font_size:"Skriftstørrelse"}};function zl(e="en"){return d((()=>El[e]??El.en),[e])}const Ol={small:"10px",normal:"16px",large:"24px",huge:"32px"},Pl=e=>{const{editor:t,isNorsk:n,locale:i}=e,[r,o]=f("normal"),a=e=>{t.chain().focus().setMark("textStyle",{fontSize:Ol[e]}).run(),o(e)},{anchorEl:l,open:c,handleClose:d,handleOpen:u}=Dl();s((()=>{const{from:e,to:n}=t.state.selection;t.state.doc.nodesBetween(e-1,n,(e=>{if(e.marks){const t=e.marks.find((e=>"textStyle"===e.type.name)),n=null==t?void 0:t.attrs.fontSize,f=Object.keys(Ol).find((e=>Ol[e]===n))||"normal";o(f)}}))}),[t.state.selection,t.state.doc]);const h=zl(i);return O.jsxs(O.Fragment,{children:[O.jsx(y,{title:h.font_size,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{size:"small",dataTest:"richeditor-more-menu-button",variant:"textGray",onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),u(e)},className:"font-normal capitalize",onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},endIcon:O.jsx(Tl,{icon:"tabler:caret-up-down-filled",fontSize:20}),children:r})})}),O.jsxs(C,{disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:c,anchorEl:l,onClose:d,onMouseDown:e=>{e.preventDefault(),d()},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:[O.jsx(Al,{value:"small",selected:"small"===r,onMouseDown:e=>{e.preventDefault(),a("small")},children:n?"Liten":"Small"}),O.jsx(Al,{value:"normal",selected:"normal"===r,onMouseDown:e=>{e.preventDefault(),a("normal")},children:"Normal"}),O.jsx(Al,{value:"large",selected:"large"===r,onMouseDown:e=>{e.preventDefault(),a("large")},children:n?"Stor":"Large"}),O.jsx(Al,{value:"huge",selected:"huge"===r,onMouseDown:e=>{e.preventDefault(),a("huge")},children:n?"Enorm":"Huge"})]})]})},Rl=({editor:e,onClose:t,error:i,focused:r,openLinkDialog:o,openEmojiPicker:a,locale:l,emojiButtonRef:c})=>{const[u,h]=f(0),p=n(null),m=zl(l),g=d((()=>"no"===l),[l]),[w,M]=f(!1),[k,I]=f([]);s((()=>{const t=new ResizeObserver((()=>{var t;if(p.current){const n=p.current.clientWidth;M(n<(g?416:420));const f=null==(t=[{width:g?296:300,buttons:3},{width:g?340:342,buttons:4},{width:g?374:378,buttons:5},{width:g?416:420,buttons:6},{width:g?416:420,buttons:7},{width:1/0,buttons:9}].find((e=>n<e.width)))?void 0:t.buttons;h(void 0!==f?f:8);const i=[];Number(f)<8&&i.push(O.jsx(y,{title:m.link,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:e=>{e.preventDefault(),o()},selected:e.isActive("link"),children:O.jsx(v,{})},"link")})},"link")),Number(f)<7&&i.push(O.jsx(y,{title:m.italic,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleItalic().run()},selected:e.isActive("italic"),children:O.jsx(Tl,{icon:"material-symbols:format-italic",height:20})},"italic")})},"italic")),Number(f)<6&&i.push(O.jsx(y,{title:m.bold,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBold().run()},selected:e.isActive("bold"),children:O.jsx(Tl,{icon:"ooui:bold-b"})},"bold")})},"bold")),Number(f)<5&&i.push(O.jsx(y,{title:m.ordered_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleOrderedList().run()},selected:e.isActive("orderedList"),children:O.jsx(Tl,{icon:"mdi:format-list-numbered",fontSize:20})},"ordered")})},"ordered")),Number(f)<4&&i.push(O.jsx(y,{title:m.bullet_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(b,{className:"flex items-center justify-center",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBulletList().run()},selected:e.isActive("bulletList"),children:O.jsx(Tl,{icon:"mdi:format-list-bulleted",fontSize:20})},"bullet")})},"bullet")),I(i)}}));return p.current&&t.observe(p.current),()=>t.disconnect()}),[e,o,g]);const{anchorEl:x,open:S,handleClose:N,handleOpen:T}=Dl();return O.jsx(O.Fragment,{children:O.jsxs("div",{className:R("toolbar",{"toolbar-error":i,"toolbar-focused":r}),ref:p,children:[O.jsxs("div",{className:"flex flex-row items-center gap-1",children:[u>=1&&O.jsx(y,{arrow:!0,title:m.emojis,placement:"top",children:O.jsx("span",{ref:c,children:O.jsx(L,{dataTest:"richeditor-emoji-button",size:"large",variant:"textGray",onMouseDown:e=>{e.preventDefault(),a()},style:{minWidth:40,maxWidth:40},startIcon:O.jsx(Tl,{icon:"mdi:emoticon-outline",width:24,height:24})})})}),u>=2&&O.jsx(y,{title:m.heading1,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-h1-button",className:"text-delta-700 text-sm font-semibold",size:"large",variant:e.isActive("heading",{level:1})?"text":"textGray",style:{minWidth:40,maxWidth:40,padding:0},onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:1}).run()},children:"H1"})})}),u>=3&&O.jsx(y,{title:m.heading2,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-h2-button",className:"text-delta-700 text-sm font-semibold",size:"large",variant:e.isActive("heading",{level:2})?"text":"textGray",style:{minWidth:40,maxWidth:40,padding:0},onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:2}).run()},children:"H2"})})}),u>=4&&O.jsx(Pl,{editor:e,isNorsk:g,locale:l}),u>=5&&O.jsx(y,{title:m.bullet_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-bullet-list-button",size:"large",variant:e.isActive("bulletList")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBulletList().run()},startIcon:O.jsx(Tl,{icon:"mdi:format-list-bulleted",width:24,height:24})})})}),u>=6&&O.jsx(y,{title:m.ordered_list,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-ordered-list-button",size:"large",variant:e.isActive("orderedList")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleOrderedList().run()},startIcon:O.jsx(Tl,{icon:"mdi:format-list-numbered",width:24,height:24})})})}),u>=7&&O.jsx(y,{title:m.bold,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-bold-button",size:"large",variant:e.isActive("bold")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBold().run()},startIcon:O.jsx(Tl,{icon:"ooui:bold-b",width:16,height:16})})})}),u>=8&&O.jsx(y,{title:m.italic,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-italic-button",size:"large",variant:e.isActive("italic")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleItalic().run()},startIcon:O.jsx(Tl,{icon:"material-symbols:format-italic",width:24,height:24})})})}),u>=9&&O.jsx(y,{title:m.link,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-link-button",size:"large",variant:e.isActive("link")?"text":"textGray",style:{minWidth:40,maxWidth:40},onMouseDown:e=>{e.preventDefault(),o()},startIcon:O.jsx(v,{width:24,height:24})})})}),w&&O.jsxs(O.Fragment,{children:[O.jsx(y,{title:m.more,placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{size:"large",dataTest:"richeditor-more-menu-button",variant:"text",style:{minWidth:40,maxWidth:40},onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),T(e)},onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},startIcon:O.jsx(j,{className:"text-delta-800",width:20,height:20})})})}),O.jsx(C,{disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:S,anchorEl:x,onClose:N,onMouseDown:e=>{e.preventDefault(),N()},children:k})]})]}),O.jsx(L,{dataTest:"richeditor-close-toolbar-button",size:"large",variant:"text",onMouseDown:e=>{e.preventDefault(),t()},children:m.close})]})})},Jl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Bl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Ql=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Yl=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Ul=Lo.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[wa({find:Jl,type:this.type}),wa({find:Ql,type:this.type})]},addPasteRules(){return[ya({find:Bl,type:this.type}),ya({find:Yl,type:this.type})]}}),Gl="textStyle",Zl=/^\s*([-+*])\s$/,Hl=ba.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(Gl)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=Ma({find:Zl,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Ma({find:Zl,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Gl),editor:this.editor})),[e]}}),Wl=ba.create({name:"heading",addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:"inline*",group:"block",defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map((e=>({tag:`h${e}`,attrs:{level:e}})))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,fo(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return this.options.levels.reduce(((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})})),{})},addInputRules(){return this.options.levels.map((e=>function(e){return new mo({find:e.find,handler:({state:t,range:n,match:f})=>{const i=t.doc.resolve(n.from),r=oo(e.getAttributes,void 0,f)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,r)}})}({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}})))}}),Fl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Vl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,$l=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,_l=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Kl=Lo.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>"normal"!==e.style.fontStyle&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[wa({find:Fl,type:this.type}),wa({find:$l,type:this.type})]},addPasteRules(){return[ya({find:Vl,type:this.type}),ya({find:_l,type:this.type})]}}),Xl="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",ql="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",ec=(e,t)=>{for(const n in t)e[n]=t[n];return e},tc="numeric",nc="ascii",fc="alpha",ic="asciinumeric",rc="alphanumeric",oc="domain",ac="emoji",sc="scheme",lc="slashscheme",cc="whitespace";function dc(e,t){return e in t||(t[e]=[]),t[e]}function uc(e,t,n){t[tc]&&(t[ic]=!0,t[rc]=!0),t[nc]&&(t[ic]=!0,t[fc]=!0),t[ic]&&(t[rc]=!0),t[fc]&&(t[rc]=!0),t[rc]&&(t[oc]=!0),t[ac]&&(t[oc]=!0);for(const f in t){const t=dc(f,n);t.indexOf(e)<0&&t.push(e)}}function hc(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}hc.groups={},hc.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n<t.jr.length;n++){const f=t.jr[n][0],i=t.jr[n][1];if(i&&f.test(e))return i}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,f){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,f)},tr(e,t,n,f){let i;return f=f||hc.groups,t&&t.j?i=t:(i=new hc(t),n&&f&&uc(t,n,f)),this.jr.push([e,i]),i},ts(e,t,n,f){let i=this;const r=e.length;if(!r)return i;for(let t=0;t<r-1;t++)i=i.tt(e[t]);return i.tt(e[r-1],t,n,f)},tt(e,t,n,f){f=f||hc.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const r=t;let o,a=i.go(e);if(a?(o=new hc,ec(o.j,a.j),o.jr.push.apply(o.jr,a.jr),o.jd=a.jd,o.t=a.t):o=new hc,r){if(f)if(o.t&&"string"==typeof o.t){const e=ec(function(e,t){const n={};for(const f in t)t[f].indexOf(e)>=0&&(n[f]=!0);return n}(o.t,f),n);uc(r,e,f)}else n&&uc(r,n,f);o.t=r}return i.j[e]=o,o}};const pc=(e,t,n,f,i)=>e.ta(t,n,f,i),mc=(e,t,n,f,i)=>e.tr(t,n,f,i),gc=(e,t,n,f,i)=>e.ts(t,n,f,i),wc=(e,t,n,f,i)=>e.tt(t,n,f,i),Mc="WORD",bc="UWORD",yc="ASCIINUMERICAL",Lc="ALPHANUMERICAL",Cc="LOCALHOST",vc="TLD",jc="UTLD",kc="SCHEME",Ic="SLASH_SCHEME",xc="NUM",Sc="WS",Nc="NL",Tc="OPENBRACE",Dc="CLOSEBRACE",Ac="OPENBRACKET",Ec="CLOSEBRACKET",zc="OPENPAREN",Oc="CLOSEPAREN",Pc="OPENANGLEBRACKET",Rc="CLOSEANGLEBRACKET",Jc="FULLWIDTHLEFTPAREN",Bc="FULLWIDTHRIGHTPAREN",Qc="LEFTCORNERBRACKET",Yc="RIGHTCORNERBRACKET",Uc="LEFTWHITECORNERBRACKET",Gc="RIGHTWHITECORNERBRACKET",Zc="FULLWIDTHLESSTHAN",Hc="FULLWIDTHGREATERTHAN",Wc="AMPERSAND",Fc="APOSTROPHE",Vc="ASTERISK",$c="AT",_c="BACKSLASH",Kc="BACKTICK",Xc="CARET",qc="COLON",ed="COMMA",td="DOLLAR",nd="DOT",fd="EQUALS",id="EXCLAMATION",rd="HYPHEN",od="PERCENT",ad="PIPE",sd="PLUS",ld="POUND",cd="QUERY",dd="QUOTE",ud="FULLWIDTHMIDDLEDOT",hd="SEMI",pd="SLASH",md="TILDE",gd="UNDERSCORE",wd="EMOJI",Md="SYM";var bd=Object.freeze({__proto__:null,WORD:Mc,UWORD:bc,ASCIINUMERICAL:yc,ALPHANUMERICAL:Lc,LOCALHOST:Cc,TLD:vc,UTLD:jc,SCHEME:kc,SLASH_SCHEME:Ic,NUM:xc,WS:Sc,NL:Nc,OPENBRACE:Tc,CLOSEBRACE:Dc,OPENBRACKET:Ac,CLOSEBRACKET:Ec,OPENPAREN:zc,CLOSEPAREN:Oc,OPENANGLEBRACKET:Pc,CLOSEANGLEBRACKET:Rc,FULLWIDTHLEFTPAREN:Jc,FULLWIDTHRIGHTPAREN:Bc,LEFTCORNERBRACKET:Qc,RIGHTCORNERBRACKET:Yc,LEFTWHITECORNERBRACKET:Uc,RIGHTWHITECORNERBRACKET:Gc,FULLWIDTHLESSTHAN:Zc,FULLWIDTHGREATERTHAN:Hc,AMPERSAND:Wc,APOSTROPHE:Fc,ASTERISK:Vc,AT:$c,BACKSLASH:_c,BACKTICK:Kc,CARET:Xc,COLON:qc,COMMA:ed,DOLLAR:td,DOT:nd,EQUALS:fd,EXCLAMATION:id,HYPHEN:rd,PERCENT:od,PIPE:ad,PLUS:sd,POUND:ld,QUERY:cd,QUOTE:dd,FULLWIDTHMIDDLEDOT:ud,SEMI:hd,SLASH:pd,TILDE:md,UNDERSCORE:gd,EMOJI:wd,SYM:Md});const yd=/[a-z]/,Ld=/\p{L}/u,Cd=/\p{Emoji}/u,vd=/\d/,jd=/\s/,kd="\r",Id="\n",xd="️",Sd="",Nd="";let Td=null,Dd=null;function Ad(e,t){const n=function(e){const t=[],n=e.length;let f=0;for(;f<n;){let i,r=e.charCodeAt(f),o=r<55296||r>56319||f+1===n||(i=e.charCodeAt(f+1))<56320||i>57343?e[f]:e.slice(f,f+2);t.push(o),f+=o.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),f=n.length,i=[];let r=0,o=0;for(;o<f;){let a=e,s=null,l=0,c=null,d=-1,u=-1;for(;o<f&&(s=a.go(n[o]));)a=s,a.accepts()?(d=0,u=0,c=a):d>=0&&(d+=n[o].length,u++),l+=n[o].length,r+=n[o].length,o++;r-=d,o-=u,l-=d,i.push({t:c.t,v:t.slice(r-l,r),s:r-l,e:r})}return i}function Ed(e,t,n,f,i){let r;const o=t.length;for(let n=0;n<o-1;n++){const o=t[n];e.j[o]?r=e.j[o]:(r=new hc(f),r.jr=i.slice(),e.j[o]=r),e=r}return r=new hc(n),r.jr=i.slice(),e.j[t[o-1]]=r,r}function zd(e){const t=[],n=[];let f=0;for(;f<e.length;){let i=0;for(;"0123456789".indexOf(e[f+i])>=0;)i++;if(i>0){t.push(n.join(""));for(let t=parseInt(e.substring(f,f+i),10);t>0;t--)n.pop();f+=i}else n.push(e[f]),f++}return t}const Od={defaultProtocol:"http",events:null,format:Rd,formatHref:Rd,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Pd(e,t=null){let n=ec({},Od);e&&(n=ec(n,e instanceof Pd?e.o:e));const f=n.ignoreTags,i=[];for(let e=0;e<f.length;e++)i.push(f[e].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}function Rd(e){return e}function Jd(e,t){this.t="token",this.v=e,this.tk=t}function Bd(e,t){class n extends Jd{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Pd.prototype={o:Od,ignoreTags:[],defaultRender:e=>e,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const f=null!=t;let i=this.o[e];return i&&("object"==typeof i?(i=n.t in i?i[n.t]:Od[e],"function"==typeof i&&f&&(i=i(t,n))):"function"==typeof i&&f&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let f=this.o[e];return"function"==typeof f&&null!=t&&(f=f(t,n.t,n)),f},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},Jd.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),f=e.get("format",t,this);return n&&f.length>n?f.substring(0,n)+"…":f},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Od.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),f=e.get("formatHref",n,this),i=e.get("tagName",n,t),r=this.toFormattedString(e),o={},a=e.get("className",n,t),s=e.get("target",n,t),l=e.get("rel",n,t),c=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return o.href=f,a&&(o.class=a),s&&(o.target=s),l&&(o.rel=l),c&&ec(o,c),{tagName:i,attributes:o,content:r,eventListeners:d}}};const Qd=Bd("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Yd=Bd("text"),Ud=Bd("nl"),Gd=Bd("url",{isLink:!0,toHref(e=Od.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Cc&&e[1].t===qc}}),Zd=e=>new hc(e);function Hd(e,t,n){const f=n[0].s,i=n[n.length-1].e;return new e(t.slice(f,i),n)}const Wd=typeof console<"u"&&console&&console.warn||(()=>{}),Fd={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Vd(e,t=!1){if(Fd.initialized&&Wd(`linkifyjs: already initialized - will not register custom scheme "${e}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat');Fd.customSchemes.push([e,t])}function $d(){Fd.scanner=function(e=[]){const t={};hc.groups=t;const n=new hc;null==Td&&(Td=zd(Xl)),null==Dd&&(Dd=zd(ql)),wc(n,"'",Fc),wc(n,"{",Tc),wc(n,"}",Dc),wc(n,"[",Ac),wc(n,"]",Ec),wc(n,"(",zc),wc(n,")",Oc),wc(n,"<",Pc),wc(n,">",Rc),wc(n,"(",Jc),wc(n,")",Bc),wc(n,"「",Qc),wc(n,"」",Yc),wc(n,"『",Uc),wc(n,"』",Gc),wc(n,"<",Zc),wc(n,">",Hc),wc(n,"&",Wc),wc(n,"*",Vc),wc(n,"@",$c),wc(n,"`",Kc),wc(n,"^",Xc),wc(n,":",qc),wc(n,",",ed),wc(n,"$",td),wc(n,".",nd),wc(n,"=",fd),wc(n,"!",id),wc(n,"-",rd),wc(n,"%",od),wc(n,"|",ad),wc(n,"+",sd),wc(n,"#",ld),wc(n,"?",cd),wc(n,'"',dd),wc(n,"/",pd),wc(n,";",hd),wc(n,"~",md),wc(n,"_",gd),wc(n,"\\",_c),wc(n,"・",ud);const f=mc(n,vd,xc,{[tc]:!0});mc(f,vd,f);const i=mc(f,yd,yc,{[ic]:!0}),r=mc(f,Ld,Lc,{[rc]:!0}),o=mc(n,yd,Mc,{[nc]:!0});mc(o,vd,i),mc(o,yd,o),mc(i,vd,i),mc(i,yd,i);const a=mc(n,Ld,bc,{[fc]:!0});mc(a,yd),mc(a,vd,r),mc(a,Ld,a),mc(r,vd,r),mc(r,yd),mc(r,Ld,r);const s=wc(n,Id,Nc,{[cc]:!0}),l=wc(n,kd,Sc,{[cc]:!0}),c=mc(n,jd,Sc,{[cc]:!0});wc(n,Nd,c),wc(l,Id,s),wc(l,Nd,c),mc(l,jd,c),wc(c,kd),wc(c,Id),mc(c,jd,c),wc(c,Nd,c);const d=mc(n,Cd,wd,{[ac]:!0});wc(d,"#"),mc(d,Cd,d),wc(d,xd,d);const u=wc(d,Sd);wc(u,"#"),mc(u,Cd,d);const h=[[yd,o],[vd,i]],p=[[yd,null],[Ld,a],[vd,r]];for(let e=0;e<Td.length;e++)Ed(n,Td[e],vc,Mc,h);for(let e=0;e<Dd.length;e++)Ed(n,Dd[e],jc,bc,p);uc(vc,{tld:!0,ascii:!0},t),uc(jc,{utld:!0,alpha:!0},t),Ed(n,"file",kc,Mc,h),Ed(n,"mailto",kc,Mc,h),Ed(n,"http",Ic,Mc,h),Ed(n,"https",Ic,Mc,h),Ed(n,"ftp",Ic,Mc,h),Ed(n,"ftps",Ic,Mc,h),uc(kc,{scheme:!0,ascii:!0},t),uc(Ic,{slashscheme:!0,ascii:!0},t),e=e.sort(((e,t)=>e[0]>t[0]?1:-1));for(let t=0;t<e.length;t++){const f=e[t][0],i=e[t][1]?{[sc]:!0}:{[lc]:!0};f.indexOf("-")>=0?i[oc]=!0:yd.test(f)?vd.test(f)?i[ic]=!0:i[nc]=!0:i[tc]=!0,gc(n,f,f,i)}return gc(n,"localhost",Cc,{ascii:!0}),n.jd=new hc(Md),{start:n,tokens:ec({groups:t},bd)}}(Fd.customSchemes);for(let e=0;e<Fd.tokenQueue.length;e++)Fd.tokenQueue[e][1]({scanner:Fd.scanner});Fd.parser=function({groups:e}){const t=e.domain.concat([Wc,Vc,$c,_c,Kc,Xc,td,fd,rd,xc,od,ad,sd,ld,pd,Md,md,gd]),n=[qc,ed,nd,id,od,cd,dd,hd,Pc,Rc,Tc,Dc,Ec,Ac,zc,Oc,Jc,Bc,Qc,Yc,Uc,Gc,Zc,Hc],f=[Wc,Fc,Vc,_c,Kc,Xc,td,fd,rd,Tc,Dc,od,ad,sd,ld,cd,pd,Md,md,gd],i=Zd(),r=wc(i,md);pc(r,f,r),pc(r,e.domain,r);const o=Zd(),a=Zd(),s=Zd();pc(i,e.domain,o),pc(i,e.scheme,a),pc(i,e.slashscheme,s),pc(o,f,r),pc(o,e.domain,o);const l=wc(o,$c);wc(r,$c,l),wc(a,$c,l),wc(s,$c,l);const c=wc(r,nd);pc(c,f,r),pc(c,e.domain,r);const d=Zd();pc(l,e.domain,d),pc(d,e.domain,d);const u=wc(d,nd);pc(u,e.domain,d);const h=Zd(Qd);pc(u,e.tld,h),pc(u,e.utld,h),wc(l,Cc,h);const p=wc(d,rd);wc(p,rd,p),pc(p,e.domain,d),pc(h,e.domain,d),wc(h,nd,u),wc(h,rd,p);const m=wc(h,qc);pc(m,e.numeric,Qd);const g=wc(o,rd),w=wc(o,nd);wc(g,rd,g),pc(g,e.domain,o),pc(w,f,r),pc(w,e.domain,o);const M=Zd(Gd);pc(w,e.tld,M),pc(w,e.utld,M),pc(M,e.domain,o),pc(M,f,r),wc(M,nd,w),wc(M,rd,g),wc(M,$c,l);const b=wc(M,qc),y=Zd(Gd);pc(b,e.numeric,y);const L=Zd(Gd),C=Zd();pc(L,t,L),pc(L,n,C),pc(C,t,L),pc(C,n,C),wc(M,pd,L),wc(y,pd,L);const v=wc(a,qc),j=wc(s,qc),k=wc(j,pd),I=wc(k,pd);pc(a,e.domain,o),wc(a,nd,w),wc(a,rd,g),pc(s,e.domain,o),wc(s,nd,w),wc(s,rd,g),pc(v,e.domain,L),wc(v,pd,L),wc(v,cd,L),pc(I,e.domain,L),pc(I,t,L),wc(I,pd,L);const x=[[Tc,Dc],[Ac,Ec],[zc,Oc],[Pc,Rc],[Jc,Bc],[Qc,Yc],[Uc,Gc],[Zc,Hc]];for(let e=0;e<x.length;e++){const[f,i]=x[e],r=wc(L,f);wc(C,f,r),wc(r,i,L);const o=Zd(Gd);pc(r,t,o);const a=Zd();pc(r,n),pc(o,t,o),pc(o,n,a),pc(a,t,o),pc(a,n,a),wc(o,i,L),wc(a,i,L)}return wc(i,Cc,M),wc(i,Nc,Ud),{start:i,tokens:bd}}(Fd.scanner.tokens);for(let e=0;e<Fd.pluginQueue.length;e++)Fd.pluginQueue[e][1]({scanner:Fd.scanner,parser:Fd.parser});return Fd.initialized=!0,Fd}function _d(e){return Fd.initialized||$d(),function(e,t,n){let f=n.length,i=0,r=[],o=[];for(;i<f;){let a=e,s=null,l=null,c=0,d=null,u=-1;for(;i<f&&!(s=a.go(n[i].t));)o.push(n[i++]);for(;i<f&&(l=s||a.go(n[i].t));)s=null,a=l,a.accepts()?(u=0,d=a):u>=0&&u++,i++,c++;if(u<0)i-=c,i<f&&(o.push(n[i]),i++);else{o.length>0&&(r.push(Hd(Yd,t,o)),o=[]),i-=u,c-=u;const e=d.t,f=n.slice(i-c,i);r.push(Hd(e,t,f))}}return o.length>0&&r.push(Hd(Yd,t,o)),r}(Fd.parser.start,e,Ad(Fd.scanner.start,e))}function Kd(e,t=null,n=null){if(t&&"object"==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const f=new Pd(n),i=_d(e),r=[];for(let e=0;e<i.length;e++){const n=i[e];n.isLink&&(!t||n.t===t)&&f.check(n)&&r.push(n.toFormattedObject(f))}return r}function Xd(e){return new fn({key:new an("autolink"),appendTransaction:(t,n,f)=>{const i=t.some((e=>e.docChanged))&&!n.doc.eq(f.doc),r=t.some((e=>e.getMeta("preventAutolink")));if(!i||r)return;const{tr:o}=f,a=function(e,t){const n=new Pt(e);return t.forEach((e=>{e.steps.forEach((e=>{n.step(e)}))})),n}(n.doc,[...t]);return function(e){const{mapping:t,steps:n}=e,f=[];return t.maps.forEach(((e,i)=>{const r=[];if(e.ranges.length)e.forEach(((e,t)=>{r.push({from:e,to:t})}));else{const{from:e,to:t}=n[i];if(void 0===e||void 0===t)return;r.push({from:e,to:t})}r.forEach((({from:e,to:n})=>{const r=t.slice(i).map(e,-1),o=t.slice(i).map(n),a=t.invert().map(r,-1),s=t.invert().map(o);f.push({oldRange:{from:a,to:s},newRange:{from:r,to:o}})}))})),Ko(f)}(a).forEach((({newRange:t})=>{const n=function(e,t,n){const f=[];return e.nodesBetween(t.from,t.to,((e,t)=>{n(e)&&f.push({node:e,pos:t})})),f}(f.doc,t,(e=>e.isTextblock));let i,r;if(n.length>1?(i=n[0],r=f.doc.textBetween(i.pos,i.pos+i.node.nodeSize,void 0," ")):n.length&&f.doc.textBetween(t.from,t.to," "," ").endsWith(" ")&&(i=n[0],r=f.doc.textBetween(i.pos,t.to,void 0," ")),i&&r){const t=r.split(" ").filter((e=>""!==e));if(t.length<=0)return!1;const n=t[t.length-1],a=i.pos+r.lastIndexOf(n);if(!n)return!1;const s=_d(n).map((t=>t.toObject(e.defaultProtocol)));if(!function(e){return 1===e.length?e[0].isLink:!(3!==e.length||!e[1].isLink)&&["()","[]"].includes(e[0].value+e[2].value)}(s))return!1;s.filter((e=>e.isLink)).map((e=>({...e,from:a+e.start+1,to:a+e.end+1}))).filter((e=>!f.schema.marks.code||!f.doc.rangeHasMark(e.from,e.to,f.schema.marks.code))).filter((t=>e.validate(t.value))).filter((t=>e.shouldAutoLink(t.value))).forEach((t=>{Xo(t.from,t.to,f.doc).some((t=>t.mark.type===e.type))||o.addMark(t.from,t.to,e.type.create({href:t.href}))}))}})),o.steps.length?o:void 0}})}_d.scan=Ad;const qd=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function eu(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach((e=>{const t="string"==typeof e?e:e.scheme;t&&n.push(t)})),!e||e.replace(qd,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const tu=Lo.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach((e=>{"string"!=typeof e?Vd(e.scheme,e.optionalSlashes):Vd(e)}))},onDestroy(){hc.groups={},Fd.scanner=null,Fd.parser=null,Fd.tokenQueue=[],Fd.pluginQueue=[],Fd.customSchemes=[],Fd.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!eu(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}),addAttributes(){return{href:{default:null,parseHTML:e=>e.getAttribute("href")},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!(!t||!this.options.isAllowedUri(t,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",fo(this.options.HTMLAttributes,e),0]:["a",fo(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().setMark(this.name,e).setMeta("preventAutolink",!0).run()},toggleLink:e=>({chain:t})=>{const{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!eu(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[ya({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:f}=this.options,i=Kd(e).filter((e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!eu(e,n),protocols:n,defaultProtocol:f})));i.length&&i.forEach((e=>t.push({text:e.value,data:{href:e.href},index:e.start})))}return t},type:this.type,getAttributes:e=>{var t;return{href:null===(t=e.data)||void 0===t?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(Xd({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!eu(e,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),!0===this.options.openOnClick&&e.push(function(e){return new fn({key:new an("handleClickLink"),props:{handleClick:(t,n,f)=>{var i,r;if(0!==f.button||!t.editable)return!1;let o=f.target;const a=[];for(;"DIV"!==o.nodeName;)a.push(o),o=o.parentNode;if(!a.find((e=>"A"===e.nodeName)))return!1;const s=_o(t.state,e.type.name),l=f.target,c=null!==(i=null==l?void 0:l.href)&&void 0!==i?i:s.href,d=null!==(r=null==l?void 0:l.target)&&void 0!==r?r:s.target;return!(!l||!c||(window.open(c,d),0))}}})}({type:this.type})),this.options.linkOnPaste&&e.push(function(e){return new fn({key:new an("handlePasteLink"),props:{handlePaste:(t,n,f)=>{const{state:i}=t,{selection:r}=i,{empty:o}=r;if(o)return!1;let a="";f.content.forEach((e=>{a+=e.textContent}));const s=Kd(a,{defaultProtocol:e.defaultProtocol}).find((e=>e.isLink&&e.value===a));return!(!a||!s)&&e.editor.commands.setMark(e.type,{href:s.href})}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),nu=ba.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",fo(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),fu="textStyle",iu=/^(\d+)\.\s$/,ru=ba.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return 1===t?["ol",fo(this.options.HTMLAttributes,n),0]:["ol",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(fu)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=Ma({find:iu,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Ma({find:iu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(fu)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),ou=ba.create({name:"doc",topNode:!0,content:"block+"}),au=ba.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:e}){return["p",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),su=ba.create({name:"text",group:"inline"}),lu=Lo.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!1}),parseHTML(){return[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&(e=>{if(!e.children.length)return;const t=e.querySelectorAll("span");t&&t.forEach((e=>{var t,n;const f=e.getAttribute("style"),i=null===(n=null===(t=e.parentElement)||void 0===t?void 0:t.closest("span"))||void 0===n?void 0:n.getAttribute("style");e.setAttribute("style",`${i};${f}`)}))})(e),{})}]},renderHTML({HTMLAttributes:e}){return["span",fo(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:e})=>{const{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,((t,n)=>{if(t.isTextblock)return!0;t.marks.filter((e=>e.type===this.type)).some((e=>Object.values(e.attrs).some((e=>!!e))))||e.removeMark(n,n+t.nodeSize,this.type)})),!0}}}});var cu=xo.create({name:"fontSize",addOptions:function(){return{types:["textStyle"]}},addGlobalAttributes:function(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:function(e){return e.style.fontSize.replace(/['"]+/g,"")},renderHTML:function(e){return e.fontSize?{style:"font-size: "+e.fontSize}:{}}}}}]},addCommands:function(){return{setFontSize:function(e){return function(t){return(0,t.chain)().setMark("textStyle",{fontSize:e}).run()}},unsetFontSize:function(){return function(e){return(0,e.chain)().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}}});const du=[ou,au,su,lu],uu=[Wl.configure({levels:[1,2]}),nu,Hl,ru,tu,Ul,Kl,cu],hu="_link-dialog-container_jjs9w_1",pu=({open:e,setOpen:t,editor:n,locale:i})=>{const[r,o]=f(""),a=d((()=>"no"===i),[i]);s((()=>{if(e){const{from:e,to:t}=n.state.selection;let f=null;n.state.doc.nodesBetween(e-1,t,(e=>{if(e.marks){const t=e.marks.find((e=>"link"===e.type.name));t&&(f=t.attrs.href)}})),o(f||"");const i=document.querySelector('[data-test="link-input-field"]');null==i||i.focus()}}),[e,n]);return O.jsx(k,{open:e,dataTest:"link-modal-rte",onClose:()=>t(!1),className:"z-[99]",dialogTitle:O.jsx("div",{className:"text-gray-700",children:a?"Legg til lenke":"Add link"}),children:O.jsxs("div",{className:hu,children:[O.jsx("div",{className:"link-input-field",children:O.jsx(I,{autoFocus:!0,multiline:!0,className:"w-full",dataTest:"link-input-field",size:"small",sx:{"& .MuiInputBase-root":{minHeight:64,alignItems:"start"}},value:r,onChange:e=>o(e.target.value)})}),O.jsxs("div",{className:"flex gap-2 p-0 w-full justify-end",children:[O.jsx(L,{dataTest:"delete-customer-reject-button",size:"medium",variant:"outlined",onClick:()=>{t(!1),o("")},children:a?"Avbryt":"Cancel"}),O.jsx(L,{dataTest:"delete-customer-confirm-button",size:"medium",variant:"contained",onClick:()=>{n.chain().focus().setLink({href:r}).run(),t(!1),o("")},children:a?"Legg til lenke":"Add link"})]})]})})},mu=xo.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new fn({key:new an("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:f}=t,i=[];if(!n)return null;const r=this.editor.isEmpty;return e.descendants(((e,t)=>{const n=f>=t&&f<=t+e.nodeSize,o=!e.isLeaf&&na(e);if((n||!this.options.showOnlyCurrent)&&o){const f=[this.options.emptyNodeClass];r&&f.push(this.options.emptyEditorClass);const o=Hi.node(t,t+e.nodeSize,{class:f.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:e,pos:t,hasAnchor:n}):this.options.placeholder});i.push(o)}return this.options.includeChildren})),Vi.create(e,i)}}})]}});function gu(e){return[].concat(e)}function wu(e){return e.startsWith(":")}function Mu(e){return Cu(e)&&("*"===e||e.length>1&&":>~.+*".includes(e.slice(0,1))||vu(e))}function bu(e,t){return(Cu(t)||"number"==typeof t)&&!Lu(e)&&!wu(e)&&!yu(e)}function yu(e){return e.startsWith("@media")}function Lu(e){return"--"===e}function Cu(e){return e+""===e}function vu(e){return Cu(e)&&(e.startsWith("&")||wu(e))}function ju(e,t=""){return e.filter(Boolean).join(t)}function ku(e,t){let n=0;if(0===t.length)return n.toString();for(let e=0;e<t.length;e++){n=(n<<5)-n+t.charCodeAt(e),n&=n}return`${e??"cl"}_${n.toString(36)}`}function Iu(e,t){return`${e}:${t}`}function xu(e){return e?`.${e}`:""}var Su=class e{constructor(e,t,n,f){this.sheet=e,this.property=t,this.value=n,this.selector=f,this.property=t,this.value=n,this.joined=Iu(t,n);const i=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:ku(this.sheet.name,this.joined),this.key=ju([this.joined,i,this.hash])}toString(){let t=Nu(this.selector.preconditions,{right:this.hash});return t=Nu(this.selector.postconditions,{left:t}),`${t} {${e.genRule(this.property,this.value)}}`}static genRule(e,t){const n=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}(e);return Iu(n,function(e,t){return"content"===e?`"${t}"`:t}(e,t))+";"}};function Nu(e,{left:t="",right:n=""}={}){const f=e.reduce(((e,t)=>wu(t)?e+t:vu(t)?e+t.slice(1):ju([e,t]," ")),t);return ju([f,xu(n)]," ")}var Tu;function Du(e,t){for(const n in e)t(n.trim(),e[n])}function Au(...e){return ju(e.reduce(((e,t)=>(t instanceof Set?e.push(...t):"string"==typeof t?e.push(t):Array.isArray(t)?e.push(Au(...t)):"object"==typeof t&&Object.entries(t).forEach((([t,n])=>{n&&e.push(t)})),e)),[])," ").trim()}function Eu(e,t){const n=new class{constructor(e,t){this.name=e,this.rootNode=t,this.storedStyles={},this.storedClasses={},this.style="",this.count=0,this.id=`flairup-${e}`,this.styleTag=this.createStyleTag()}getStyle(){return this.style}append(e){this.style=function(e,t){return e?`${e}\n${t}`:t}(this.style,e)}apply(){this.count++,this.styleTag&&(this.styleTag.innerHTML=this.style)}isApplied(){return!!this.styleTag}createStyleTag(){if(typeof document>"u"||this.isApplied()||null===this.rootNode)return this.styleTag;const e=document.createElement("style");return e.type="text/css",e.id=this.id,(this.rootNode??document.head).appendChild(e),e}addRule(e){const t=this.storedClasses[e.key];return Cu(t)?t:(this.storedClasses[e.key]=e.hash,this.storedStyles[e.hash]=[e.property,e.value],this.append(e.toString()),e.hash)}}(e,t);return{create:function(e){const t={};return zu(n,e,new class e{constructor(e,t=null,{preconditions:n,postconditions:f}={}){this.sheet=e,this.preconditions=[],this.scopeClassName=null,this.scopeName=null,this.postconditions=[],this.preconditions=n?gu(n):[],this.postconditions=f?gu(f):[],this.setScope(t)}setScope(e){return e?(this.scopeClassName||(this.scopeName=e,this.scopeClassName=ku(this.sheet.name,e+this.sheet.count)),this):this}get hasConditions(){return this.preconditions.length>0||this.postconditions.length>0}addScope(t){return new e(this.sheet,t,{preconditions:this.preconditions,postconditions:this.postconditions})}addPrecondition(t){return new e(this.sheet,this.scopeClassName,{postconditions:this.postconditions,preconditions:this.preconditions.concat(t)})}addPostcondition(t){return new e(this.sheet,this.scopeClassName,{preconditions:this.preconditions,postconditions:this.postconditions.concat(t)})}createRule(e,t){return new Su(this.sheet,e,t,this)}}(n)).forEach((([e,f,i])=>{Ou(n,f,i).forEach((n=>{!function(e,n){t[e]=t[e]??new Set,t[e].add(n)}(e,n)}))})),n.apply(),t},getStyle:n.getStyle.bind(n),isApplied:n.isApplied.bind(n)}}function zu(e,t,n){const f=[];return Du(t,((i,r)=>{if(Mu(i))return zu(e,r,n.addPrecondition(i)).forEach((e=>f.push(e)));f.push([i,t[i],n.addScope(i)])})),f}function Ou(e,t,n){const f=new Set;return Du(t,((t,i)=>{let r=[];if(Mu(t))r=Ou(e,i,n.addPostcondition(t));else if(function(e){return"."===e}(t))r=gu(i);else if(yu(t))r=function(e,t,n,f){e.append(n+" {");const i=Ou(e,t,f);return e.append("}"),i}(e,i,t,n);else if(Lu(t))r=function(e,t,n){const f=new Set,i=[];if(Du(t,((t,r)=>{if(bu(t,r))return void i.push(Su.genRule(t,r));Pu(Ou(e,r??{},n),f)})),!n.scopeClassName)return f;if(i.length){const t=i.join(" ");e.append(`${Nu(n.preconditions,{right:n.scopeClassName})} {${t}}`)}return f.add(n.scopeClassName),f}(e,i,n);else if(bu(t,i)){const r=n.createRule(t,i);e.addRule(r),f.add(r.hash)}return Pu(r,f)})),f}function Pu(e,t){return e.forEach((e=>t.add(e))),t}function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var f in n)Object.prototype.hasOwnProperty.call(n,f)&&(e[f]=n[f])}return e},Ru.apply(this,arguments)}function Ju(e,t){return(Ju=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Bu(e,t){if(null==e)return{};var n,f,i={},r=Object.keys(e);for(f=0;f<r.length;f++)n=r[f],!(t.indexOf(n)>=0)&&(i[n]=e[n]);return i}function Qu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,f=new Array(t);n<t;n++)f[n]=e[n];return f}function Yu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(e,t)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var f=0;return function(){return f>=e.length?{done:!0}:{done:!1,value:e[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Uu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e){return"."+e})).join("")}!function(e){e.hiddenOnSearch="epr-hidden-on-search",e.searchActive="epr-search-active",e.hidden="epr-hidden",e.visible="epr-visible",e.active="epr-active",e.emoji="epr-emoji",e.category="epr-emoji-category",e.label="epr-emoji-category-label",e.categoryContent="epr-emoji-category-content",e.emojiHasVariations="epr-emoji-has-variations",e.scrollBody="epr-body",e.emojiList="epr-emoji-list",e.external="__EmojiPicker__",e.emojiPicker="EmojiPickerReact",e.open="epr-open",e.vertical="epr-vertical",e.horizontal="epr-horizontal",e.variationPicker="epr-emoji-variation-picker",e.darkTheme="epr-dark-theme",e.autoTheme="epr-auto-theme"}(Tu||(Tu={}));var Gu=Eu("epr",null),Zu={display:"none",opacity:"0",pointerEvents:"none",visibility:"hidden",overflow:"hidden"},Hu=Gu.create({hidden:Ru({".":Tu.hidden},Zu)}),Wu=u((function(){return l("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Gu.getStyle()}})})),Fu=Gu.create({".epr-main":{":has(input:not(:placeholder-shown))":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},hiddenOnSearch:Ru({".":Tu.hiddenOnSearch},Zu)},":has(input:placeholder-shown)":{visibleOnSearchOnly:Zu}},hiddenOnReactions:{transition:"all 0.5s ease-in-out"},".epr-reactions":{hiddenOnReactions:{height:"0px",width:"0px",opacity:"0",pointerEvents:"none",overflow:"hidden"}},".EmojiPickerReact:not(.epr-search-active)":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"},"&.epr-active":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},visibleOnSearchOnly:Ru({".":"epr-visible-on-search-only"},Zu)}});function Vu(e,t){var n,f;return{".epr-dark-theme":(n={},n[e]=t,n),".epr-auto-theme":(f={},f[e]={"@media (prefers-color-scheme: dark)":t},f)}}function $u(e,t){var n,f,i=null!=(n=e.customEmojis)?n:[],r=null!=(f=t.customEmojis)?f:[];return e.open===t.open&&e.emojiVersion===t.emojiVersion&&e.reactionsDefaultOpen===t.reactionsDefaultOpen&&e.searchPlaceHolder===t.searchPlaceHolder&&e.searchPlaceholder===t.searchPlaceholder&&e.defaultSkinTone===t.defaultSkinTone&&e.skinTonesDisabled===t.skinTonesDisabled&&e.autoFocusSearch===t.autoFocusSearch&&e.emojiStyle===t.emojiStyle&&e.theme===t.theme&&e.suggestedEmojisMode===t.suggestedEmojisMode&&e.lazyLoadEmojis===t.lazyLoadEmojis&&e.className===t.className&&e.height===t.height&&e.width===t.width&&e.style===t.style&&e.searchDisabled===t.searchDisabled&&e.skinTonePickerLocation===t.skinTonePickerLocation&&i.length===r.length}var _u,Ku,Xu,qu,eh,th,nh=["1f44d","2764-fe0f","1f603","1f622","1f64f","1f44e","1f621"];!function(e){e.RECENT="recent",e.FREQUENT="frequent"}(_u||(_u={})),function(e){e.NATIVE="native",e.APPLE="apple",e.TWITTER="twitter",e.GOOGLE="google",e.FACEBOOK="facebook"}(Ku||(Ku={})),function(e){e.DARK="dark",e.LIGHT="light",e.AUTO="auto"}(Xu||(Xu={})),function(e){e.NEUTRAL="neutral",e.LIGHT="1f3fb",e.MEDIUM_LIGHT="1f3fc",e.MEDIUM="1f3fd",e.MEDIUM_DARK="1f3fe",e.DARK="1f3ff"}(qu||(qu={})),function(e){e.SUGGESTED="suggested",e.CUSTOM="custom",e.SMILEYS_PEOPLE="smileys_people",e.ANIMALS_NATURE="animals_nature",e.FOOD_DRINK="food_drink",e.TRAVEL_PLACES="travel_places",e.ACTIVITIES="activities",e.OBJECTS="objects",e.SYMBOLS="symbols",e.FLAGS="flags"}(eh||(eh={})),function(e){e.SEARCH="SEARCH",e.PREVIEW="PREVIEW"}(th||(th={}));var fh,ih=[eh.SUGGESTED,eh.CUSTOM,eh.SMILEYS_PEOPLE,eh.ANIMALS_NATURE,eh.FOOD_DRINK,eh.TRAVEL_PLACES,eh.ACTIVITIES,eh.OBJECTS,eh.SYMBOLS,eh.FLAGS],rh={name:"Recently Used",category:eh.SUGGESTED},oh=((fh={})[eh.SUGGESTED]={category:eh.SUGGESTED,name:"Frequently Used"},fh[eh.CUSTOM]={category:eh.CUSTOM,name:"Custom Emojis"},fh[eh.SMILEYS_PEOPLE]={category:eh.SMILEYS_PEOPLE,name:"Smileys & People"},fh[eh.ANIMALS_NATURE]={category:eh.ANIMALS_NATURE,name:"Animals & Nature"},fh[eh.FOOD_DRINK]={category:eh.FOOD_DRINK,name:"Food & Drink"},fh[eh.TRAVEL_PLACES]={category:eh.TRAVEL_PLACES,name:"Travel & Places"},fh[eh.ACTIVITIES]={category:eh.ACTIVITIES,name:"Activities"},fh[eh.OBJECTS]={category:eh.OBJECTS,name:"Objects"},fh[eh.SYMBOLS]={category:eh.SYMBOLS,name:"Symbols"},fh[eh.FLAGS]={category:eh.FLAGS,name:"Flags"},fh);function ah(e){return ih.map((function(t){return Ru({},oh[t],e&&e[t]&&e[t])}))}function sh(e){return e.category}function lh(e){return e.name}function ch(e,t){return void 0===t&&(t={}),Object.assign(oh[e],t)}var dh="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",uh="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",hh="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",ph="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";var mh,gh={custom:[],smileys_people:[{n:["grinning","grinning face"],u:"1f600",a:"1.0"},{n:["smiley","smiling face with open mouth"],u:"1f603",a:"0.6"},{n:["smile","smiling face with open mouth and smiling eyes"],u:"1f604",a:"0.6"},{n:["grin","grinning face with smiling eyes"],u:"1f601",a:"0.6"},{n:["laughing","satisfied","smiling face with open mouth and tightly-closed eyes"],u:"1f606",a:"0.6"},{n:["sweat smile","smiling face with open mouth and cold sweat"],u:"1f605",a:"0.6"},{n:["rolling on the floor laughing"],u:"1f923",a:"3.0"},{n:["joy","face with tears of joy"],u:"1f602",a:"0.6"},{n:["slightly smiling face"],u:"1f642",a:"1.0"},{n:["upside-down face","upside down face"],u:"1f643",a:"1.0"},{n:["melting face"],u:"1fae0",a:"14.0"},{n:["wink","winking face"],u:"1f609",a:"0.6"},{n:["blush","smiling face with smiling eyes"],u:"1f60a",a:"0.6"},{n:["innocent","smiling face with halo"],u:"1f607",a:"1.0"},{n:["smiling face with 3 hearts","smiling face with smiling eyes and three hearts"],u:"1f970",a:"11.0"},{n:["heart eyes","smiling face with heart-shaped eyes"],u:"1f60d",a:"0.6"},{n:["star-struck","grinning face with star eyes"],u:"1f929",a:"5.0"},{n:["kissing heart","face throwing a kiss"],u:"1f618",a:"0.6"},{n:["kissing","kissing face"],u:"1f617",a:"1.0"},{n:["relaxed","white smiling face"],u:"263a-fe0f",a:"0.6"},{n:["kissing closed eyes","kissing face with closed eyes"],u:"1f61a",a:"0.6"},{n:["kissing smiling eyes","kissing face with smiling eyes"],u:"1f619",a:"1.0"},{n:["smiling face with tear"],u:"1f972",a:"13.0"},{n:["yum","face savouring delicious food"],u:"1f60b",a:"0.6"},{n:["stuck out tongue","face with stuck-out tongue"],u:"1f61b",a:"1.0"},{n:["stuck out tongue winking eye","face with stuck-out tongue and winking eye"],u:"1f61c",a:"0.6"},{n:["zany face","grinning face with one large and one small eye"],u:"1f92a",a:"5.0"},{n:["stuck out tongue closed eyes","face with stuck-out tongue and tightly-closed eyes"],u:"1f61d",a:"0.6"},{n:["money-mouth face","money mouth face"],u:"1f911",a:"1.0"},{n:["hugging face"],u:"1f917",a:"1.0"},{n:["face with hand over mouth","smiling face with smiling eyes and hand covering mouth"],u:"1f92d",a:"5.0"},{n:["face with open eyes and hand over mouth"],u:"1fae2",a:"14.0"},{n:["face with peeking eye"],u:"1fae3",a:"14.0"},{n:["shushing face","face with finger covering closed lips"],u:"1f92b",a:"5.0"},{n:["thinking face"],u:"1f914",a:"1.0"},{n:["saluting face"],u:"1fae1",a:"14.0"},{n:["zipper-mouth face","zipper mouth face"],u:"1f910",a:"1.0"},{n:["face with raised eyebrow","face with one eyebrow raised"],u:"1f928",a:"5.0"},{n:["neutral face"],u:"1f610",a:"0.7"},{n:["expressionless","expressionless face"],u:"1f611",a:"1.0"},{n:["no mouth","face without mouth"],u:"1f636",a:"1.0"},{n:["dotted line face"],u:"1fae5",a:"14.0"},{n:["face in clouds"],u:"1f636-200d-1f32b-fe0f",a:"13.1"},{n:["smirk","smirking face"],u:"1f60f",a:"0.6"},{n:["unamused","unamused face"],u:"1f612",a:"0.6"},{n:["face with rolling eyes"],u:"1f644",a:"1.0"},{n:["grimacing","grimacing face"],u:"1f62c",a:"1.0"},{n:["face exhaling"],u:"1f62e-200d-1f4a8",a:"13.1"},{n:["lying face"],u:"1f925",a:"3.0"},{n:["shaking face"],u:"1fae8",a:"15.0"},{n:["head shaking horizontally"],u:"1f642-200d-2194-fe0f",a:"15.1"},{n:["head shaking vertically"],u:"1f642-200d-2195-fe0f",a:"15.1"},{n:["relieved","relieved face"],u:"1f60c",a:"0.6"},{n:["pensive","pensive face"],u:"1f614",a:"0.6"},{n:["sleepy","sleepy face"],u:"1f62a",a:"0.6"},{n:["drooling face"],u:"1f924",a:"3.0"},{n:["sleeping","sleeping face"],u:"1f634",a:"1.0"},{n:["mask","face with medical mask"],u:"1f637",a:"0.6"},{n:["face with thermometer"],u:"1f912",a:"1.0"},{n:["face with head-bandage","face with head bandage"],u:"1f915",a:"1.0"},{n:["nauseated face"],u:"1f922",a:"3.0"},{n:["face vomiting","face with open mouth vomiting"],u:"1f92e",a:"5.0"},{n:["sneezing face"],u:"1f927",a:"3.0"},{n:["hot face","overheated face"],u:"1f975",a:"11.0"},{n:["cold face","freezing face"],u:"1f976",a:"11.0"},{n:["woozy face","face with uneven eyes and wavy mouth"],u:"1f974",a:"11.0"},{n:["dizzy face"],u:"1f635",a:"0.6"},{n:["face with spiral eyes"],u:"1f635-200d-1f4ab",a:"13.1"},{n:["exploding head","shocked face with exploding head"],u:"1f92f",a:"5.0"},{n:["face with cowboy hat"],u:"1f920",a:"3.0"},{n:["partying face","face with party horn and party hat"],u:"1f973",a:"11.0"},{n:["disguised face"],u:"1f978",a:"13.0"},{n:["sunglasses","smiling face with sunglasses"],u:"1f60e",a:"1.0"},{n:["nerd face"],u:"1f913",a:"1.0"},{n:["face with monocle"],u:"1f9d0",a:"5.0"},{n:["confused","confused face"],u:"1f615",a:"1.0"},{n:["face with diagonal mouth"],u:"1fae4",a:"14.0"},{n:["worried","worried face"],u:"1f61f",a:"1.0"},{n:["slightly frowning face"],u:"1f641",a:"1.0"},{n:["frowning face","white frowning face"],u:"2639-fe0f",a:"0.7"},{n:["open mouth","face with open mouth"],u:"1f62e",a:"1.0"},{n:["hushed","hushed face"],u:"1f62f",a:"1.0"},{n:["astonished","astonished face"],u:"1f632",a:"0.6"},{n:["flushed","flushed face"],u:"1f633",a:"0.6"},{n:["pleading face","face with pleading eyes"],u:"1f97a",a:"11.0"},{n:["face holding back tears"],u:"1f979",a:"14.0"},{n:["frowning","frowning face with open mouth"],u:"1f626",a:"1.0"},{n:["anguished","anguished face"],u:"1f627",a:"1.0"},{n:["fearful","fearful face"],u:"1f628",a:"0.6"},{n:["cold sweat","face with open mouth and cold sweat"],u:"1f630",a:"0.6"},{n:["disappointed relieved","disappointed but relieved face"],u:"1f625",a:"0.6"},{n:["cry","crying face"],u:"1f622",a:"0.6"},{n:["sob","loudly crying face"],u:"1f62d",a:"0.6"},{n:["scream","face screaming in fear"],u:"1f631",a:"0.6"},{n:["confounded","confounded face"],u:"1f616",a:"0.6"},{n:["persevere","persevering face"],u:"1f623",a:"0.6"},{n:["disappointed","disappointed face"],u:"1f61e",a:"0.6"},{n:["sweat","face with cold sweat"],u:"1f613",a:"0.6"},{n:["weary","weary face"],u:"1f629",a:"0.6"},{n:["tired face"],u:"1f62b",a:"0.6"},{n:["yawning face"],u:"1f971",a:"12.0"},{n:["triumph","face with look of triumph"],u:"1f624",a:"0.6"},{n:["rage","pouting face"],u:"1f621",a:"0.6"},{n:["angry","angry face"],u:"1f620",a:"0.6"},{n:["face with symbols on mouth","serious face with symbols covering mouth"],u:"1f92c",a:"5.0"},{n:["smiling imp","smiling face with horns"],u:"1f608",a:"1.0"},{n:["imp"],u:"1f47f",a:"0.6"},{n:["skull"],u:"1f480",a:"0.6"},{n:["skull and crossbones"],u:"2620-fe0f",a:"1.0"},{n:["poop","shit","hankey","pile of poo"],u:"1f4a9",a:"0.6"},{n:["clown face"],u:"1f921",a:"3.0"},{n:["japanese ogre"],u:"1f479",a:"0.6"},{n:["japanese goblin"],u:"1f47a",a:"0.6"},{n:["ghost"],u:"1f47b",a:"0.6"},{n:["alien","extraterrestrial alien"],u:"1f47d",a:"0.6"},{n:["alien monster","space invader"],u:"1f47e",a:"0.6"},{n:["robot face"],u:"1f916",a:"1.0"},{n:["smiley cat","smiling cat face with open mouth"],u:"1f63a",a:"0.6"},{n:["smile cat","grinning cat face with smiling eyes"],u:"1f638",a:"0.6"},{n:["joy cat","cat face with tears of joy"],u:"1f639",a:"0.6"},{n:["heart eyes cat","smiling cat face with heart-shaped eyes"],u:"1f63b",a:"0.6"},{n:["smirk cat","cat face with wry smile"],u:"1f63c",a:"0.6"},{n:["kissing cat","kissing cat face with closed eyes"],u:"1f63d",a:"0.6"},{n:["scream cat","weary cat face"],u:"1f640",a:"0.6"},{n:["crying cat face"],u:"1f63f",a:"0.6"},{n:["pouting cat","pouting cat face"],u:"1f63e",a:"0.6"},{n:["see no evil","see-no-evil monkey"],u:"1f648",a:"0.6"},{n:["hear no evil","hear-no-evil monkey"],u:"1f649",a:"0.6"},{n:["speak no evil","speak-no-evil monkey"],u:"1f64a",a:"0.6"},{n:["love letter"],u:"1f48c",a:"0.6"},{n:["cupid","heart with arrow"],u:"1f498",a:"0.6"},{n:["gift heart","heart with ribbon"],u:"1f49d",a:"0.6"},{n:["sparkling heart"],u:"1f496",a:"0.6"},{n:["heartpulse","growing heart"],u:"1f497",a:"0.6"},{n:["heartbeat","beating heart"],u:"1f493",a:"0.6"},{n:["revolving hearts"],u:"1f49e",a:"0.6"},{n:["two hearts"],u:"1f495",a:"0.6"},{n:["heart decoration"],u:"1f49f",a:"0.6"},{n:["heart exclamation","heavy heart exclamation mark ornament"],u:"2763-fe0f",a:"1.0"},{n:["broken heart"],u:"1f494",a:"0.6"},{n:["heart on fire"],u:"2764-fe0f-200d-1f525",a:"13.1"},{n:["mending heart"],u:"2764-fe0f-200d-1fa79",a:"13.1"},{n:["heart","heavy black heart"],u:"2764-fe0f",a:"0.6"},{n:["pink heart"],u:"1fa77",a:"15.0"},{n:["orange heart"],u:"1f9e1",a:"5.0"},{n:["yellow heart"],u:"1f49b",a:"0.6"},{n:["green heart"],u:"1f49a",a:"0.6"},{n:["blue heart"],u:"1f499",a:"0.6"},{n:["light blue heart"],u:"1fa75",a:"15.0"},{n:["purple heart"],u:"1f49c",a:"0.6"},{n:["brown heart"],u:"1f90e",a:"12.0"},{n:["black heart"],u:"1f5a4",a:"3.0"},{n:["grey heart"],u:"1fa76",a:"15.0"},{n:["white heart"],u:"1f90d",a:"12.0"},{n:["kiss","kiss mark"],u:"1f48b",a:"0.6"},{n:["100","hundred points symbol"],u:"1f4af",a:"0.6"},{n:["anger","anger symbol"],u:"1f4a2",a:"0.6"},{n:["boom","collision","collision symbol"],u:"1f4a5",a:"0.6"},{n:["dizzy","dizzy symbol"],u:"1f4ab",a:"0.6"},{n:["sweat drops","splashing sweat symbol"],u:"1f4a6",a:"0.6"},{n:["dash","dash symbol"],u:"1f4a8",a:"0.6"},{n:["hole"],u:"1f573-fe0f",a:"0.7"},{n:["speech balloon"],u:"1f4ac",a:"0.6"},{n:["eye in speech bubble","eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f",a:"2.0"},{n:["left speech bubble"],u:"1f5e8-fe0f",a:"2.0"},{n:["right anger bubble"],u:"1f5ef-fe0f",a:"0.7"},{n:["thought balloon"],u:"1f4ad",a:"1.0"},{n:["zzz","sleeping symbol"],u:"1f4a4",a:"0.6"},{n:["wave","waving hand sign"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"],a:"0.6"},{n:["raised back of hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"],a:"3.0"},{n:["hand with fingers splayed","raised hand with fingers splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"],a:"0.7"},{n:["hand","raised hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"],a:"0.6"},{n:["spock-hand","raised hand with part between middle and ring fingers"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"],a:"1.0"},{n:["rightwards hand"],u:"1faf1",v:["1faf1-1f3fb","1faf1-1f3fc","1faf1-1f3fd","1faf1-1f3fe","1faf1-1f3ff"],a:"14.0"},{n:["leftwards hand"],u:"1faf2",v:["1faf2-1f3fb","1faf2-1f3fc","1faf2-1f3fd","1faf2-1f3fe","1faf2-1f3ff"],a:"14.0"},{n:["palm down hand"],u:"1faf3",v:["1faf3-1f3fb","1faf3-1f3fc","1faf3-1f3fd","1faf3-1f3fe","1faf3-1f3ff"],a:"14.0"},{n:["palm up hand"],u:"1faf4",v:["1faf4-1f3fb","1faf4-1f3fc","1faf4-1f3fd","1faf4-1f3fe","1faf4-1f3ff"],a:"14.0"},{n:["leftwards pushing hand"],u:"1faf7",v:["1faf7-1f3fb","1faf7-1f3fc","1faf7-1f3fd","1faf7-1f3fe","1faf7-1f3ff"],a:"15.0"},{n:["rightwards pushing hand"],u:"1faf8",v:["1faf8-1f3fb","1faf8-1f3fc","1faf8-1f3fd","1faf8-1f3fe","1faf8-1f3ff"],a:"15.0"},{n:["ok hand","ok hand sign"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"],a:"0.6"},{n:["pinched fingers"],u:"1f90c",v:["1f90c-1f3fb","1f90c-1f3fc","1f90c-1f3fd","1f90c-1f3fe","1f90c-1f3ff"],a:"13.0"},{n:["pinching hand"],u:"1f90f",v:["1f90f-1f3fb","1f90f-1f3fc","1f90f-1f3fd","1f90f-1f3fe","1f90f-1f3ff"],a:"12.0"},{n:["v","victory hand"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"],a:"0.6"},{n:["crossed fingers","hand with index and middle fingers crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"],a:"3.0"},{n:["hand with index finger and thumb crossed"],u:"1faf0",v:["1faf0-1f3fb","1faf0-1f3fc","1faf0-1f3fd","1faf0-1f3fe","1faf0-1f3ff"],a:"14.0"},{n:["i love you hand sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"],a:"5.0"},{n:["the horns","sign of the horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"],a:"1.0"},{n:["call me hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"],a:"3.0"},{n:["point left","white left pointing backhand index"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"],a:"0.6"},{n:["point right","white right pointing backhand index"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"],a:"0.6"},{n:["point up 2","white up pointing backhand index"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"],a:"0.6"},{n:["middle finger","reversed hand with middle finger extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"],a:"1.0"},{n:["point down","white down pointing backhand index"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"],a:"0.6"},{n:["point up","white up pointing index"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"],a:"0.6"},{n:["index pointing at the viewer"],u:"1faf5",v:["1faf5-1f3fb","1faf5-1f3fc","1faf5-1f3fd","1faf5-1f3fe","1faf5-1f3ff"],a:"14.0"},{n:["+1","thumbsup","thumbs up sign"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"],a:"0.6"},{n:["-1","thumbsdown","thumbs down sign"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"],a:"0.6"},{n:["fist","raised fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"],a:"0.6"},{n:["punch","facepunch","fisted hand sign"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"],a:"0.6"},{n:["left-facing fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"],a:"3.0"},{n:["right-facing fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"],a:"3.0"},{n:["clap","clapping hands sign"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"],a:"0.6"},{n:["raised hands","person raising both hands in celebration"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"],a:"0.6"},{n:["heart hands"],u:"1faf6",v:["1faf6-1f3fb","1faf6-1f3fc","1faf6-1f3fd","1faf6-1f3fe","1faf6-1f3ff"],a:"14.0"},{n:["open hands","open hands sign"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"],a:"0.6"},{n:["palms up together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"],a:"5.0"},{n:["handshake"],u:"1f91d",v:["1f91d-1f3fb","1f91d-1f3fc","1f91d-1f3fd","1f91d-1f3fe","1f91d-1f3ff","1faf1-1f3fb-200d-1faf2-1f3fc","1faf1-1f3fb-200d-1faf2-1f3fd","1faf1-1f3fb-200d-1faf2-1f3fe","1faf1-1f3fb-200d-1faf2-1f3ff","1faf1-1f3fc-200d-1faf2-1f3fb","1faf1-1f3fc-200d-1faf2-1f3fd","1faf1-1f3fc-200d-1faf2-1f3fe","1faf1-1f3fc-200d-1faf2-1f3ff","1faf1-1f3fd-200d-1faf2-1f3fb","1faf1-1f3fd-200d-1faf2-1f3fc","1faf1-1f3fd-200d-1faf2-1f3fe","1faf1-1f3fd-200d-1faf2-1f3ff","1faf1-1f3fe-200d-1faf2-1f3fb","1faf1-1f3fe-200d-1faf2-1f3fc","1faf1-1f3fe-200d-1faf2-1f3fd","1faf1-1f3fe-200d-1faf2-1f3ff","1faf1-1f3ff-200d-1faf2-1f3fb","1faf1-1f3ff-200d-1faf2-1f3fc","1faf1-1f3ff-200d-1faf2-1f3fd","1faf1-1f3ff-200d-1faf2-1f3fe"],a:"3.0"},{n:["pray","person with folded hands"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"],a:"0.6"},{n:["writing hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"],a:"0.7"},{n:["nail care","nail polish"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"],a:"0.6"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"],a:"3.0"},{n:["muscle","flexed biceps"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"],a:"0.6"},{n:["mechanical arm"],u:"1f9be",a:"12.0"},{n:["mechanical leg"],u:"1f9bf",a:"12.0"},{n:["leg"],u:"1f9b5",v:["1f9b5-1f3fb","1f9b5-1f3fc","1f9b5-1f3fd","1f9b5-1f3fe","1f9b5-1f3ff"],a:"11.0"},{n:["foot"],u:"1f9b6",v:["1f9b6-1f3fb","1f9b6-1f3fc","1f9b6-1f3fd","1f9b6-1f3fe","1f9b6-1f3ff"],a:"11.0"},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"],a:"0.6"},{n:["ear with hearing aid"],u:"1f9bb",v:["1f9bb-1f3fb","1f9bb-1f3fc","1f9bb-1f3fd","1f9bb-1f3fe","1f9bb-1f3ff"],a:"12.0"},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"],a:"0.6"},{n:["brain"],u:"1f9e0",a:"5.0"},{n:["anatomical heart"],u:"1fac0",a:"13.0"},{n:["lungs"],u:"1fac1",a:"13.0"},{n:["tooth"],u:"1f9b7",a:"11.0"},{n:["bone"],u:"1f9b4",a:"11.0"},{n:["eyes"],u:"1f440",a:"0.6"},{n:["eye"],u:"1f441-fe0f",a:"0.7"},{n:["tongue"],u:"1f445",a:"0.6"},{n:["lips","mouth"],u:"1f444",a:"0.6"},{n:["biting lip"],u:"1fae6",a:"14.0"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"],a:"0.6"},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"],a:"5.0"},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"],a:"0.6"},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"],a:"0.6"},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"],a:"5.0"},{n:["person with blond hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"],a:"0.6"},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"],a:"0.6"},{n:["bearded person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"],a:"5.0"},{n:["man: beard","man with beard"],u:"1f9d4-200d-2642-fe0f",v:["1f9d4-1f3fb-200d-2642-fe0f","1f9d4-1f3fc-200d-2642-fe0f","1f9d4-1f3fd-200d-2642-fe0f","1f9d4-1f3fe-200d-2642-fe0f","1f9d4-1f3ff-200d-2642-fe0f"],a:"13.1"},{n:["woman: beard","woman with beard"],u:"1f9d4-200d-2640-fe0f",v:["1f9d4-1f3fb-200d-2640-fe0f","1f9d4-1f3fc-200d-2640-fe0f","1f9d4-1f3fd-200d-2640-fe0f","1f9d4-1f3fe-200d-2640-fe0f","1f9d4-1f3ff-200d-2640-fe0f"],a:"13.1"},{n:["man: red hair","red haired man"],u:"1f468-200d-1f9b0",v:["1f468-1f3fb-200d-1f9b0","1f468-1f3fc-200d-1f9b0","1f468-1f3fd-200d-1f9b0","1f468-1f3fe-200d-1f9b0","1f468-1f3ff-200d-1f9b0"],a:"11.0"},{n:["man: curly hair","curly haired man"],u:"1f468-200d-1f9b1",v:["1f468-1f3fb-200d-1f9b1","1f468-1f3fc-200d-1f9b1","1f468-1f3fd-200d-1f9b1","1f468-1f3fe-200d-1f9b1","1f468-1f3ff-200d-1f9b1"],a:"11.0"},{n:["man: white hair","white haired man"],u:"1f468-200d-1f9b3",v:["1f468-1f3fb-200d-1f9b3","1f468-1f3fc-200d-1f9b3","1f468-1f3fd-200d-1f9b3","1f468-1f3fe-200d-1f9b3","1f468-1f3ff-200d-1f9b3"],a:"11.0"},{n:["bald man","man: bald"],u:"1f468-200d-1f9b2",v:["1f468-1f3fb-200d-1f9b2","1f468-1f3fc-200d-1f9b2","1f468-1f3fd-200d-1f9b2","1f468-1f3fe-200d-1f9b2","1f468-1f3ff-200d-1f9b2"],a:"11.0"},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"],a:"0.6"},{n:["woman: red hair","red haired woman"],u:"1f469-200d-1f9b0",v:["1f469-1f3fb-200d-1f9b0","1f469-1f3fc-200d-1f9b0","1f469-1f3fd-200d-1f9b0","1f469-1f3fe-200d-1f9b0","1f469-1f3ff-200d-1f9b0"],a:"11.0"},{n:["person: red hair","red haired person"],u:"1f9d1-200d-1f9b0",v:["1f9d1-1f3fb-200d-1f9b0","1f9d1-1f3fc-200d-1f9b0","1f9d1-1f3fd-200d-1f9b0","1f9d1-1f3fe-200d-1f9b0","1f9d1-1f3ff-200d-1f9b0"],a:"12.1"},{n:["woman: curly hair","curly haired woman"],u:"1f469-200d-1f9b1",v:["1f469-1f3fb-200d-1f9b1","1f469-1f3fc-200d-1f9b1","1f469-1f3fd-200d-1f9b1","1f469-1f3fe-200d-1f9b1","1f469-1f3ff-200d-1f9b1"],a:"11.0"},{n:["person: curly hair","curly haired person"],u:"1f9d1-200d-1f9b1",v:["1f9d1-1f3fb-200d-1f9b1","1f9d1-1f3fc-200d-1f9b1","1f9d1-1f3fd-200d-1f9b1","1f9d1-1f3fe-200d-1f9b1","1f9d1-1f3ff-200d-1f9b1"],a:"12.1"},{n:["woman: white hair","white haired woman"],u:"1f469-200d-1f9b3",v:["1f469-1f3fb-200d-1f9b3","1f469-1f3fc-200d-1f9b3","1f469-1f3fd-200d-1f9b3","1f469-1f3fe-200d-1f9b3","1f469-1f3ff-200d-1f9b3"],a:"11.0"},{n:["person: white hair","white haired person"],u:"1f9d1-200d-1f9b3",v:["1f9d1-1f3fb-200d-1f9b3","1f9d1-1f3fc-200d-1f9b3","1f9d1-1f3fd-200d-1f9b3","1f9d1-1f3fe-200d-1f9b3","1f9d1-1f3ff-200d-1f9b3"],a:"12.1"},{n:["bald woman","woman: bald"],u:"1f469-200d-1f9b2",v:["1f469-1f3fb-200d-1f9b2","1f469-1f3fc-200d-1f9b2","1f469-1f3fd-200d-1f9b2","1f469-1f3fe-200d-1f9b2","1f469-1f3ff-200d-1f9b2"],a:"11.0"},{n:["bald person","person: bald"],u:"1f9d1-200d-1f9b2",v:["1f9d1-1f3fb-200d-1f9b2","1f9d1-1f3fc-200d-1f9b2","1f9d1-1f3fd-200d-1f9b2","1f9d1-1f3fe-200d-1f9b2","1f9d1-1f3ff-200d-1f9b2"],a:"12.1"},{n:["woman: blond hair","blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man: blond hair","blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["older adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"],a:"5.0"},{n:["older man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"],a:"0.6"},{n:["older woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"],a:"0.6"},{n:["person frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"],a:"0.6"},{n:["man frowning","man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman frowning","woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with pouting face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"],a:"0.6"},{n:["man pouting","man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman pouting","woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["no good","face with no good gesture"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"],a:"0.6"},{n:["man gesturing no","man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing no","woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ok woman","face with ok gesture"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"],a:"0.6"},{n:["man gesturing ok","man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing ok","woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["information desk person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"],a:"0.6"},{n:["man tipping hand","man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman tipping hand","woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["raising hand","happy person raising one hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"],a:"0.6"},{n:["man raising hand","man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman raising hand","woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["deaf person"],u:"1f9cf",v:["1f9cf-1f3fb","1f9cf-1f3fc","1f9cf-1f3fd","1f9cf-1f3fe","1f9cf-1f3ff"],a:"12.0"},{n:["deaf man"],u:"1f9cf-200d-2642-fe0f",v:["1f9cf-1f3fb-200d-2642-fe0f","1f9cf-1f3fc-200d-2642-fe0f","1f9cf-1f3fd-200d-2642-fe0f","1f9cf-1f3fe-200d-2642-fe0f","1f9cf-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["deaf woman"],u:"1f9cf-200d-2640-fe0f",v:["1f9cf-1f3fb-200d-2640-fe0f","1f9cf-1f3fc-200d-2640-fe0f","1f9cf-1f3fd-200d-2640-fe0f","1f9cf-1f3fe-200d-2640-fe0f","1f9cf-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["bow","person bowing deeply"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"],a:"0.6"},{n:["man bowing","man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bowing","woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["face palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"],a:"3.0"},{n:["man facepalming","man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman facepalming","woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"],a:"3.0"},{n:["man shrugging","man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman shrugging","woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["health worker"],u:"1f9d1-200d-2695-fe0f",v:["1f9d1-1f3fb-200d-2695-fe0f","1f9d1-1f3fc-200d-2695-fe0f","1f9d1-1f3fd-200d-2695-fe0f","1f9d1-1f3fe-200d-2695-fe0f","1f9d1-1f3ff-200d-2695-fe0f"],a:"12.1"},{n:["male-doctor","man health worker"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["female-doctor","woman health worker"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["student"],u:"1f9d1-200d-1f393",v:["1f9d1-1f3fb-200d-1f393","1f9d1-1f3fc-200d-1f393","1f9d1-1f3fd-200d-1f393","1f9d1-1f3fe-200d-1f393","1f9d1-1f3ff-200d-1f393"],a:"12.1"},{n:["man student","male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"],a:"4.0"},{n:["woman student","female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"],a:"4.0"},{n:["teacher"],u:"1f9d1-200d-1f3eb",v:["1f9d1-1f3fb-200d-1f3eb","1f9d1-1f3fc-200d-1f3eb","1f9d1-1f3fd-200d-1f3eb","1f9d1-1f3fe-200d-1f3eb","1f9d1-1f3ff-200d-1f3eb"],a:"12.1"},{n:["man teacher","male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"],a:"4.0"},{n:["woman teacher","female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"],a:"4.0"},{n:["judge"],u:"1f9d1-200d-2696-fe0f",v:["1f9d1-1f3fb-200d-2696-fe0f","1f9d1-1f3fc-200d-2696-fe0f","1f9d1-1f3fd-200d-2696-fe0f","1f9d1-1f3fe-200d-2696-fe0f","1f9d1-1f3ff-200d-2696-fe0f"],a:"12.1"},{n:["man judge","male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["woman judge","female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["farmer"],u:"1f9d1-200d-1f33e",v:["1f9d1-1f3fb-200d-1f33e","1f9d1-1f3fc-200d-1f33e","1f9d1-1f3fd-200d-1f33e","1f9d1-1f3fe-200d-1f33e","1f9d1-1f3ff-200d-1f33e"],a:"12.1"},{n:["man farmer","male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"],a:"4.0"},{n:["woman farmer","female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"],a:"4.0"},{n:["cook"],u:"1f9d1-200d-1f373",v:["1f9d1-1f3fb-200d-1f373","1f9d1-1f3fc-200d-1f373","1f9d1-1f3fd-200d-1f373","1f9d1-1f3fe-200d-1f373","1f9d1-1f3ff-200d-1f373"],a:"12.1"},{n:["man cook","male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"],a:"4.0"},{n:["woman cook","female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"],a:"4.0"},{n:["mechanic"],u:"1f9d1-200d-1f527",v:["1f9d1-1f3fb-200d-1f527","1f9d1-1f3fc-200d-1f527","1f9d1-1f3fd-200d-1f527","1f9d1-1f3fe-200d-1f527","1f9d1-1f3ff-200d-1f527"],a:"12.1"},{n:["man mechanic","male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"],a:"4.0"},{n:["woman mechanic","female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"],a:"4.0"},{n:["factory worker"],u:"1f9d1-200d-1f3ed",v:["1f9d1-1f3fb-200d-1f3ed","1f9d1-1f3fc-200d-1f3ed","1f9d1-1f3fd-200d-1f3ed","1f9d1-1f3fe-200d-1f3ed","1f9d1-1f3ff-200d-1f3ed"],a:"12.1"},{n:["man factory worker","male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"],a:"4.0"},{n:["woman factory worker","female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"],a:"4.0"},{n:["office worker"],u:"1f9d1-200d-1f4bc",v:["1f9d1-1f3fb-200d-1f4bc","1f9d1-1f3fc-200d-1f4bc","1f9d1-1f3fd-200d-1f4bc","1f9d1-1f3fe-200d-1f4bc","1f9d1-1f3ff-200d-1f4bc"],a:"12.1"},{n:["man office worker","male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"],a:"4.0"},{n:["woman office worker","female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"],a:"4.0"},{n:["scientist"],u:"1f9d1-200d-1f52c",v:["1f9d1-1f3fb-200d-1f52c","1f9d1-1f3fc-200d-1f52c","1f9d1-1f3fd-200d-1f52c","1f9d1-1f3fe-200d-1f52c","1f9d1-1f3ff-200d-1f52c"],a:"12.1"},{n:["man scientist","male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"],a:"4.0"},{n:["woman scientist","female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"],a:"4.0"},{n:["technologist"],u:"1f9d1-200d-1f4bb",v:["1f9d1-1f3fb-200d-1f4bb","1f9d1-1f3fc-200d-1f4bb","1f9d1-1f3fd-200d-1f4bb","1f9d1-1f3fe-200d-1f4bb","1f9d1-1f3ff-200d-1f4bb"],a:"12.1"},{n:["man technologist","male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"],a:"4.0"},{n:["woman technologist","female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"],a:"4.0"},{n:["singer"],u:"1f9d1-200d-1f3a4",v:["1f9d1-1f3fb-200d-1f3a4","1f9d1-1f3fc-200d-1f3a4","1f9d1-1f3fd-200d-1f3a4","1f9d1-1f3fe-200d-1f3a4","1f9d1-1f3ff-200d-1f3a4"],a:"12.1"},{n:["man singer","male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"],a:"4.0"},{n:["woman singer","female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"],a:"4.0"},{n:["artist"],u:"1f9d1-200d-1f3a8",v:["1f9d1-1f3fb-200d-1f3a8","1f9d1-1f3fc-200d-1f3a8","1f9d1-1f3fd-200d-1f3a8","1f9d1-1f3fe-200d-1f3a8","1f9d1-1f3ff-200d-1f3a8"],a:"12.1"},{n:["man artist","male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"],a:"4.0"},{n:["woman artist","female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"],a:"4.0"},{n:["pilot"],u:"1f9d1-200d-2708-fe0f",v:["1f9d1-1f3fb-200d-2708-fe0f","1f9d1-1f3fc-200d-2708-fe0f","1f9d1-1f3fd-200d-2708-fe0f","1f9d1-1f3fe-200d-2708-fe0f","1f9d1-1f3ff-200d-2708-fe0f"],a:"12.1"},{n:["man pilot","male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["woman pilot","female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["astronaut"],u:"1f9d1-200d-1f680",v:["1f9d1-1f3fb-200d-1f680","1f9d1-1f3fc-200d-1f680","1f9d1-1f3fd-200d-1f680","1f9d1-1f3fe-200d-1f680","1f9d1-1f3ff-200d-1f680"],a:"12.1"},{n:["man astronaut","male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"],a:"4.0"},{n:["woman astronaut","female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"],a:"4.0"},{n:["firefighter"],u:"1f9d1-200d-1f692",v:["1f9d1-1f3fb-200d-1f692","1f9d1-1f3fc-200d-1f692","1f9d1-1f3fd-200d-1f692","1f9d1-1f3fe-200d-1f692","1f9d1-1f3ff-200d-1f692"],a:"12.1"},{n:["man firefighter","male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"],a:"4.0"},{n:["woman firefighter","female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"],a:"4.0"},{n:["cop","police officer"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"],a:"0.6"},{n:["man police officer","male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman police officer","female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["detective","sleuth or spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"],a:"0.7"},{n:["man detective","male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman detective","female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"],a:"0.6"},{n:["man guard","male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman guard","female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ninja"],u:"1f977",v:["1f977-1f3fb","1f977-1f3fc","1f977-1f3fd","1f977-1f3fe","1f977-1f3ff"],a:"13.0"},{n:["construction worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"],a:"0.6"},{n:["man construction worker","male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman construction worker","female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with crown"],u:"1fac5",v:["1fac5-1f3fb","1fac5-1f3fc","1fac5-1f3fd","1fac5-1f3fe","1fac5-1f3ff"],a:"14.0"},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"],a:"3.0"},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"],a:"0.6"},{n:["man with turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"],a:"0.6"},{n:["man wearing turban","man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman wearing turban","woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man with gua pi mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"],a:"0.6"},{n:["person with headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"],a:"5.0"},{n:["man in tuxedo","person in tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"],a:"3.0"},{n:["man in tuxedo"],u:"1f935-200d-2642-fe0f",v:["1f935-1f3fb-200d-2642-fe0f","1f935-1f3fc-200d-2642-fe0f","1f935-1f3fd-200d-2642-fe0f","1f935-1f3fe-200d-2642-fe0f","1f935-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman in tuxedo"],u:"1f935-200d-2640-fe0f",v:["1f935-1f3fb-200d-2640-fe0f","1f935-1f3fc-200d-2640-fe0f","1f935-1f3fd-200d-2640-fe0f","1f935-1f3fe-200d-2640-fe0f","1f935-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["bride with veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"],a:"0.6"},{n:["man with veil"],u:"1f470-200d-2642-fe0f",v:["1f470-1f3fb-200d-2642-fe0f","1f470-1f3fc-200d-2642-fe0f","1f470-1f3fd-200d-2642-fe0f","1f470-1f3fe-200d-2642-fe0f","1f470-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman with veil"],u:"1f470-200d-2640-fe0f",v:["1f470-1f3fb-200d-2640-fe0f","1f470-1f3fc-200d-2640-fe0f","1f470-1f3fd-200d-2640-fe0f","1f470-1f3fe-200d-2640-fe0f","1f470-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["pregnant woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"],a:"3.0"},{n:["pregnant man"],u:"1fac3",v:["1fac3-1f3fb","1fac3-1f3fc","1fac3-1f3fd","1fac3-1f3fe","1fac3-1f3ff"],a:"14.0"},{n:["pregnant person"],u:"1fac4",v:["1fac4-1f3fb","1fac4-1f3fc","1fac4-1f3fd","1fac4-1f3fe","1fac4-1f3ff"],a:"14.0"},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"],a:"5.0"},{n:["woman feeding baby"],u:"1f469-200d-1f37c",v:["1f469-1f3fb-200d-1f37c","1f469-1f3fc-200d-1f37c","1f469-1f3fd-200d-1f37c","1f469-1f3fe-200d-1f37c","1f469-1f3ff-200d-1f37c"],a:"13.0"},{n:["man feeding baby"],u:"1f468-200d-1f37c",v:["1f468-1f3fb-200d-1f37c","1f468-1f3fc-200d-1f37c","1f468-1f3fd-200d-1f37c","1f468-1f3fe-200d-1f37c","1f468-1f3ff-200d-1f37c"],a:"13.0"},{n:["person feeding baby"],u:"1f9d1-200d-1f37c",v:["1f9d1-1f3fb-200d-1f37c","1f9d1-1f3fc-200d-1f37c","1f9d1-1f3fd-200d-1f37c","1f9d1-1f3fe-200d-1f37c","1f9d1-1f3ff-200d-1f37c"],a:"13.0"},{n:["angel","baby angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"],a:"0.6"},{n:["santa","father christmas"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"],a:"0.6"},{n:["mrs claus","mother christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"],a:"3.0"},{n:["mx claus"],u:"1f9d1-200d-1f384",v:["1f9d1-1f3fb-200d-1f384","1f9d1-1f3fc-200d-1f384","1f9d1-1f3fd-200d-1f384","1f9d1-1f3fe-200d-1f384","1f9d1-1f3ff-200d-1f384"],a:"13.0"},{n:["superhero"],u:"1f9b8",v:["1f9b8-1f3fb","1f9b8-1f3fc","1f9b8-1f3fd","1f9b8-1f3fe","1f9b8-1f3ff"],a:"11.0"},{n:["man superhero","male superhero"],u:"1f9b8-200d-2642-fe0f",v:["1f9b8-1f3fb-200d-2642-fe0f","1f9b8-1f3fc-200d-2642-fe0f","1f9b8-1f3fd-200d-2642-fe0f","1f9b8-1f3fe-200d-2642-fe0f","1f9b8-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman superhero","female superhero"],u:"1f9b8-200d-2640-fe0f",v:["1f9b8-1f3fb-200d-2640-fe0f","1f9b8-1f3fc-200d-2640-fe0f","1f9b8-1f3fd-200d-2640-fe0f","1f9b8-1f3fe-200d-2640-fe0f","1f9b8-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["supervillain"],u:"1f9b9",v:["1f9b9-1f3fb","1f9b9-1f3fc","1f9b9-1f3fd","1f9b9-1f3fe","1f9b9-1f3ff"],a:"11.0"},{n:["man supervillain","male supervillain"],u:"1f9b9-200d-2642-fe0f",v:["1f9b9-1f3fb-200d-2642-fe0f","1f9b9-1f3fc-200d-2642-fe0f","1f9b9-1f3fd-200d-2642-fe0f","1f9b9-1f3fe-200d-2642-fe0f","1f9b9-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman supervillain","female supervillain"],u:"1f9b9-200d-2640-fe0f",v:["1f9b9-1f3fb-200d-2640-fe0f","1f9b9-1f3fc-200d-2640-fe0f","1f9b9-1f3fd-200d-2640-fe0f","1f9b9-1f3fe-200d-2640-fe0f","1f9b9-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"],a:"5.0"},{n:["man mage","male mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman mage","female mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"],a:"5.0"},{n:["man fairy","male fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman fairy","female fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"],a:"5.0"},{n:["man vampire","male vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman vampire","female vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"],a:"5.0"},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"],a:"5.0"},{n:["man elf","male elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman elf","female elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["genie"],u:"1f9de",a:"5.0"},{n:["man genie","male genie"],u:"1f9de-200d-2642-fe0f",a:"5.0"},{n:["woman genie","female genie"],u:"1f9de-200d-2640-fe0f",a:"5.0"},{n:["zombie"],u:"1f9df",a:"5.0"},{n:["man zombie","male zombie"],u:"1f9df-200d-2642-fe0f",a:"5.0"},{n:["woman zombie","female zombie"],u:"1f9df-200d-2640-fe0f",a:"5.0"},{n:["troll"],u:"1f9cc",a:"14.0"},{n:["massage","face massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"],a:"0.6"},{n:["man getting massage","man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting massage","woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"],a:"0.6"},{n:["man getting haircut","man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting haircut","woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["walking","pedestrian"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"],a:"0.6"},{n:["man walking","man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman walking","woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person walking facing right"],u:"1f6b6-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-27a1-fe0f","1f6b6-1f3fc-200d-27a1-fe0f","1f6b6-1f3fd-200d-27a1-fe0f","1f6b6-1f3fe-200d-27a1-fe0f","1f6b6-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman walking facing right"],u:"1f6b6-200d-2640-fe0f-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f6b6-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man walking facing right"],u:"1f6b6-200d-2642-fe0f-200d-27a1-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f6b6-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["standing person"],u:"1f9cd",v:["1f9cd-1f3fb","1f9cd-1f3fc","1f9cd-1f3fd","1f9cd-1f3fe","1f9cd-1f3ff"],a:"12.0"},{n:["man standing"],u:"1f9cd-200d-2642-fe0f",v:["1f9cd-1f3fb-200d-2642-fe0f","1f9cd-1f3fc-200d-2642-fe0f","1f9cd-1f3fd-200d-2642-fe0f","1f9cd-1f3fe-200d-2642-fe0f","1f9cd-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman standing"],u:"1f9cd-200d-2640-fe0f",v:["1f9cd-1f3fb-200d-2640-fe0f","1f9cd-1f3fc-200d-2640-fe0f","1f9cd-1f3fd-200d-2640-fe0f","1f9cd-1f3fe-200d-2640-fe0f","1f9cd-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["kneeling person"],u:"1f9ce",v:["1f9ce-1f3fb","1f9ce-1f3fc","1f9ce-1f3fd","1f9ce-1f3fe","1f9ce-1f3ff"],a:"12.0"},{n:["man kneeling"],u:"1f9ce-200d-2642-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f","1f9ce-1f3fc-200d-2642-fe0f","1f9ce-1f3fd-200d-2642-fe0f","1f9ce-1f3fe-200d-2642-fe0f","1f9ce-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman kneeling"],u:"1f9ce-200d-2640-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f","1f9ce-1f3fc-200d-2640-fe0f","1f9ce-1f3fd-200d-2640-fe0f","1f9ce-1f3fe-200d-2640-fe0f","1f9ce-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["person kneeling facing right"],u:"1f9ce-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-27a1-fe0f","1f9ce-1f3fc-200d-27a1-fe0f","1f9ce-1f3fd-200d-27a1-fe0f","1f9ce-1f3fe-200d-27a1-fe0f","1f9ce-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman kneeling facing right"],u:"1f9ce-200d-2640-fe0f-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f9ce-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man kneeling facing right"],u:"1f9ce-200d-2642-fe0f-200d-27a1-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f9ce-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["person with white cane","person with probing cane"],u:"1f9d1-200d-1f9af",v:["1f9d1-1f3fb-200d-1f9af","1f9d1-1f3fc-200d-1f9af","1f9d1-1f3fd-200d-1f9af","1f9d1-1f3fe-200d-1f9af","1f9d1-1f3ff-200d-1f9af"],a:"12.1"},{n:["person with white cane facing right"],u:"1f9d1-200d-1f9af-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9af-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["man with white cane","man with probing cane"],u:"1f468-200d-1f9af",v:["1f468-1f3fb-200d-1f9af","1f468-1f3fc-200d-1f9af","1f468-1f3fd-200d-1f9af","1f468-1f3fe-200d-1f9af","1f468-1f3ff-200d-1f9af"],a:"12.0"},{n:["man with white cane facing right"],u:"1f468-200d-1f9af-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9af-200d-27a1-fe0f","1f468-1f3fc-200d-1f9af-200d-27a1-fe0f","1f468-1f3fd-200d-1f9af-200d-27a1-fe0f","1f468-1f3fe-200d-1f9af-200d-27a1-fe0f","1f468-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["woman with white cane","woman with probing cane"],u:"1f469-200d-1f9af",v:["1f469-1f3fb-200d-1f9af","1f469-1f3fc-200d-1f9af","1f469-1f3fd-200d-1f9af","1f469-1f3fe-200d-1f9af","1f469-1f3ff-200d-1f9af"],a:"12.0"},{n:["woman with white cane facing right"],u:"1f469-200d-1f9af-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9af-200d-27a1-fe0f","1f469-1f3fc-200d-1f9af-200d-27a1-fe0f","1f469-1f3fd-200d-1f9af-200d-27a1-fe0f","1f469-1f3fe-200d-1f9af-200d-27a1-fe0f","1f469-1f3ff-200d-1f9af-200d-27a1-fe0f"],a:"15.1"},{n:["person in motorized wheelchair"],u:"1f9d1-200d-1f9bc",v:["1f9d1-1f3fb-200d-1f9bc","1f9d1-1f3fc-200d-1f9bc","1f9d1-1f3fd-200d-1f9bc","1f9d1-1f3fe-200d-1f9bc","1f9d1-1f3ff-200d-1f9bc"],a:"12.1"},{n:["person in motorized wheelchair facing right"],u:"1f9d1-200d-1f9bc-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["man in motorized wheelchair"],u:"1f468-200d-1f9bc",v:["1f468-1f3fb-200d-1f9bc","1f468-1f3fc-200d-1f9bc","1f468-1f3fd-200d-1f9bc","1f468-1f3fe-200d-1f9bc","1f468-1f3ff-200d-1f9bc"],a:"12.0"},{n:["man in motorized wheelchair facing right"],u:"1f468-200d-1f9bc-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f468-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f468-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["woman in motorized wheelchair"],u:"1f469-200d-1f9bc",v:["1f469-1f3fb-200d-1f9bc","1f469-1f3fc-200d-1f9bc","1f469-1f3fd-200d-1f9bc","1f469-1f3fe-200d-1f9bc","1f469-1f3ff-200d-1f9bc"],a:"12.0"},{n:["woman in motorized wheelchair facing right"],u:"1f469-200d-1f9bc-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fc-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fd-200d-1f9bc-200d-27a1-fe0f","1f469-1f3fe-200d-1f9bc-200d-27a1-fe0f","1f469-1f3ff-200d-1f9bc-200d-27a1-fe0f"],a:"15.1"},{n:["person in manual wheelchair"],u:"1f9d1-200d-1f9bd",v:["1f9d1-1f3fb-200d-1f9bd","1f9d1-1f3fc-200d-1f9bd","1f9d1-1f3fd-200d-1f9bd","1f9d1-1f3fe-200d-1f9bd","1f9d1-1f3ff-200d-1f9bd"],a:"12.1"},{n:["person in manual wheelchair facing right"],u:"1f9d1-200d-1f9bd-200d-27a1-fe0f",v:["1f9d1-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f9d1-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["man in manual wheelchair"],u:"1f468-200d-1f9bd",v:["1f468-1f3fb-200d-1f9bd","1f468-1f3fc-200d-1f9bd","1f468-1f3fd-200d-1f9bd","1f468-1f3fe-200d-1f9bd","1f468-1f3ff-200d-1f9bd"],a:"12.0"},{n:["man in manual wheelchair facing right"],u:"1f468-200d-1f9bd-200d-27a1-fe0f",v:["1f468-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f468-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f468-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["woman in manual wheelchair"],u:"1f469-200d-1f9bd",v:["1f469-1f3fb-200d-1f9bd","1f469-1f3fc-200d-1f9bd","1f469-1f3fd-200d-1f9bd","1f469-1f3fe-200d-1f9bd","1f469-1f3ff-200d-1f9bd"],a:"12.0"},{n:["woman in manual wheelchair facing right"],u:"1f469-200d-1f9bd-200d-27a1-fe0f",v:["1f469-1f3fb-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fc-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fd-200d-1f9bd-200d-27a1-fe0f","1f469-1f3fe-200d-1f9bd-200d-27a1-fe0f","1f469-1f3ff-200d-1f9bd-200d-27a1-fe0f"],a:"15.1"},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"],a:"0.6"},{n:["man running","man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman running","woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person running facing right"],u:"1f3c3-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-27a1-fe0f","1f3c3-1f3fc-200d-27a1-fe0f","1f3c3-1f3fd-200d-27a1-fe0f","1f3c3-1f3fe-200d-27a1-fe0f","1f3c3-1f3ff-200d-27a1-fe0f"],a:"15.1"},{n:["woman running facing right"],u:"1f3c3-200d-2640-fe0f-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fc-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fd-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3fe-200d-2640-fe0f-200d-27a1-fe0f","1f3c3-1f3ff-200d-2640-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["man running facing right"],u:"1f3c3-200d-2642-fe0f-200d-27a1-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fc-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fd-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3fe-200d-2642-fe0f-200d-27a1-fe0f","1f3c3-1f3ff-200d-2642-fe0f-200d-27a1-fe0f"],a:"15.1"},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"],a:"0.6"},{n:["man dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"],a:"3.0"},{n:["person in suit levitating","man in business suit levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"],a:"0.7"},{n:["dancers","woman with bunny ears"],u:"1f46f",a:"0.6"},{n:["men with bunny ears","men-with-bunny-ears-partying","man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f",a:"4.0"},{n:["women with bunny ears","women-with-bunny-ears-partying","woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f",a:"4.0"},{n:["person in steamy room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"],a:"5.0"},{n:["man in steamy room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in steamy room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["person climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"],a:"5.0"},{n:["man climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fencer"],u:"1f93a",a:"3.0"},{n:["horse racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"],a:"1.0"},{n:["skier"],u:"26f7-fe0f",a:"0.7"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"],a:"0.6"},{n:["golfer","person golfing"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"],a:"0.7"},{n:["man golfing","man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman golfing","woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"],a:"0.6"},{n:["man surfing","man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman surfing","woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"],a:"1.0"},{n:["man rowing boat","man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman rowing boat","woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"],a:"0.6"},{n:["man swimming","man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman swimming","woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with ball","person bouncing ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"],a:"0.7"},{n:["man bouncing ball","man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bouncing ball","woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["weight lifter","person lifting weights"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"],a:"0.7"},{n:["man lifting weights","man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman lifting weights","woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"],a:"1.0"},{n:["man biking","man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman biking","woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["mountain bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"],a:"1.0"},{n:["man mountain biking","man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman mountain biking","woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person doing cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"],a:"3.0"},{n:["man cartwheeling","man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman cartwheeling","woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["wrestlers"],u:"1f93c",a:"3.0"},{n:["men wrestling","man-wrestling"],u:"1f93c-200d-2642-fe0f",a:"4.0"},{n:["women wrestling","woman-wrestling"],u:"1f93c-200d-2640-fe0f",a:"4.0"},{n:["water polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"],a:"3.0"},{n:["man playing water polo","man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing water polo","woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"],a:"3.0"},{n:["man playing handball","man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing handball","woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"],a:"3.0"},{n:["man juggling","man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman juggling","woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person in lotus position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"],a:"5.0"},{n:["man in lotus position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in lotus position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"],a:"0.6"},{n:["sleeping accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"],a:"1.0"},{n:["people holding hands"],u:"1f9d1-200d-1f91d-200d-1f9d1",v:["1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff"],a:"12.0"},{n:["women holding hands","two women holding hands"],u:"1f46d",v:["1f46d-1f3fb","1f46d-1f3fc","1f46d-1f3fd","1f46d-1f3fe","1f46d-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe"],a:"1.0"},{n:["couple","man and woman holding hands","woman and man holding hands"],u:"1f46b",v:["1f46b-1f3fb","1f46b-1f3fc","1f46b-1f3fd","1f46b-1f3fe","1f46b-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"0.6"},{n:["men holding hands","two men holding hands"],u:"1f46c",v:["1f46c-1f3fb","1f46c-1f3fc","1f46c-1f3fd","1f46c-1f3fe","1f46c-1f3ff","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"1.0"},{n:["kiss","couplekiss"],u:"1f48f",v:["1f48f-1f3fb","1f48f-1f3fc","1f48f-1f3fd","1f48f-1f3fe","1f48f-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-kiss-man","kiss: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["man-kiss-man","kiss: man, man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-kiss-woman","kiss: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"],a:"2.0"},{n:["couple with heart"],u:"1f491",v:["1f491-1f3fb","1f491-1f3fc","1f491-1f3fd","1f491-1f3fe","1f491-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-heart-man","couple with heart: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["man-heart-man","couple with heart: man, man"],u:"1f468-200d-2764-fe0f-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-heart-woman","couple with heart: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"],a:"2.0"},{n:["man-woman-boy","family: man, woman, boy"],u:"1f468-200d-1f469-200d-1f466",a:"2.0"},{n:["man-woman-girl","family: man, woman, girl"],u:"1f468-200d-1f469-200d-1f467",a:"2.0"},{n:["man-woman-girl-boy","family: man, woman, girl, boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["man-woman-boy-boy","family: man, woman, boy, boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["man-woman-girl-girl","family: man, woman, girl, girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-man-boy","family: man, man, boy"],u:"1f468-200d-1f468-200d-1f466",a:"2.0"},{n:["man-man-girl","family: man, man, girl"],u:"1f468-200d-1f468-200d-1f467",a:"2.0"},{n:["man-man-girl-boy","family: man, man, girl, boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466",a:"2.0"},{n:["man-man-boy-boy","family: man, man, boy, boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466",a:"2.0"},{n:["man-man-girl-girl","family: man, man, girl, girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467",a:"2.0"},{n:["woman-woman-boy","family: woman, woman, boy"],u:"1f469-200d-1f469-200d-1f466",a:"2.0"},{n:["woman-woman-girl","family: woman, woman, girl"],u:"1f469-200d-1f469-200d-1f467",a:"2.0"},{n:["woman-woman-girl-boy","family: woman, woman, girl, boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["woman-woman-boy-boy","family: woman, woman, boy, boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["woman-woman-girl-girl","family: woman, woman, girl, girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-boy","family: man, boy"],u:"1f468-200d-1f466",a:"4.0"},{n:["man-boy-boy","family: man, boy, boy"],u:"1f468-200d-1f466-200d-1f466",a:"4.0"},{n:["man-girl","family: man, girl"],u:"1f468-200d-1f467",a:"4.0"},{n:["man-girl-boy","family: man, girl, boy"],u:"1f468-200d-1f467-200d-1f466",a:"4.0"},{n:["man-girl-girl","family: man, girl, girl"],u:"1f468-200d-1f467-200d-1f467",a:"4.0"},{n:["woman-boy","family: woman, boy"],u:"1f469-200d-1f466",a:"4.0"},{n:["woman-boy-boy","family: woman, boy, boy"],u:"1f469-200d-1f466-200d-1f466",a:"4.0"},{n:["woman-girl","family: woman, girl"],u:"1f469-200d-1f467",a:"4.0"},{n:["woman-girl-boy","family: woman, girl, boy"],u:"1f469-200d-1f467-200d-1f466",a:"4.0"},{n:["woman-girl-girl","family: woman, girl, girl"],u:"1f469-200d-1f467-200d-1f467",a:"4.0"},{n:["speaking head","speaking head in silhouette"],u:"1f5e3-fe0f",a:"0.7"},{n:["bust in silhouette"],u:"1f464",a:"0.6"},{n:["busts in silhouette"],u:"1f465",a:"1.0"},{n:["people hugging"],u:"1fac2",a:"13.0"},{n:["family"],u:"1f46a",a:"0.6"},{n:["family adult adult child","family: adult, adult, child"],u:"1f9d1-200d-1f9d1-200d-1f9d2",a:"15.1"},{n:["family adult adult child child","family: adult, adult, child, child"],u:"1f9d1-200d-1f9d1-200d-1f9d2-200d-1f9d2",a:"15.1"},{n:["family adult child","family: adult, child"],u:"1f9d1-200d-1f9d2",a:"15.1"},{n:["family adult child child","family: adult, child, child"],u:"1f9d1-200d-1f9d2-200d-1f9d2",a:"15.1"},{n:["footprints"],u:"1f463",a:"0.6"}],animals_nature:[{n:["monkey face"],u:"1f435",a:"0.6"},{n:["monkey"],u:"1f412",a:"0.6"},{n:["gorilla"],u:"1f98d",a:"3.0"},{n:["orangutan"],u:"1f9a7",a:"12.0"},{n:["dog","dog face"],u:"1f436",a:"0.6"},{n:["dog","dog2"],u:"1f415",a:"0.7"},{n:["guide dog"],u:"1f9ae",a:"12.0"},{n:["service dog"],u:"1f415-200d-1f9ba",a:"12.0"},{n:["poodle"],u:"1f429",a:"0.6"},{n:["wolf","wolf face"],u:"1f43a",a:"0.6"},{n:["fox face"],u:"1f98a",a:"3.0"},{n:["raccoon"],u:"1f99d",a:"11.0"},{n:["cat","cat face"],u:"1f431",a:"0.6"},{n:["cat","cat2"],u:"1f408",a:"0.7"},{n:["black cat"],u:"1f408-200d-2b1b",a:"13.0"},{n:["lion face"],u:"1f981",a:"1.0"},{n:["tiger","tiger face"],u:"1f42f",a:"0.6"},{n:["tiger","tiger2"],u:"1f405",a:"1.0"},{n:["leopard"],u:"1f406",a:"1.0"},{n:["horse","horse face"],u:"1f434",a:"0.6"},{n:["moose"],u:"1face",a:"15.0"},{n:["donkey"],u:"1facf",a:"15.0"},{n:["horse","racehorse"],u:"1f40e",a:"0.6"},{n:["unicorn face"],u:"1f984",a:"1.0"},{n:["zebra face"],u:"1f993",a:"5.0"},{n:["deer"],u:"1f98c",a:"3.0"},{n:["bison"],u:"1f9ac",a:"13.0"},{n:["cow","cow face"],u:"1f42e",a:"0.6"},{n:["ox"],u:"1f402",a:"1.0"},{n:["water buffalo"],u:"1f403",a:"1.0"},{n:["cow","cow2"],u:"1f404",a:"1.0"},{n:["pig","pig face"],u:"1f437",a:"0.6"},{n:["pig","pig2"],u:"1f416",a:"1.0"},{n:["boar"],u:"1f417",a:"0.6"},{n:["pig nose"],u:"1f43d",a:"0.6"},{n:["ram"],u:"1f40f",a:"1.0"},{n:["sheep"],u:"1f411",a:"0.6"},{n:["goat"],u:"1f410",a:"1.0"},{n:["dromedary camel"],u:"1f42a",a:"1.0"},{n:["camel","bactrian camel"],u:"1f42b",a:"0.6"},{n:["llama"],u:"1f999",a:"11.0"},{n:["giraffe face"],u:"1f992",a:"5.0"},{n:["elephant"],u:"1f418",a:"0.6"},{n:["mammoth"],u:"1f9a3",a:"13.0"},{n:["rhinoceros"],u:"1f98f",a:"3.0"},{n:["hippopotamus"],u:"1f99b",a:"11.0"},{n:["mouse","mouse face"],u:"1f42d",a:"0.6"},{n:["mouse","mouse2"],u:"1f401",a:"1.0"},{n:["rat"],u:"1f400",a:"1.0"},{n:["hamster","hamster face"],u:"1f439",a:"0.6"},{n:["rabbit","rabbit face"],u:"1f430",a:"0.6"},{n:["rabbit","rabbit2"],u:"1f407",a:"1.0"},{n:["chipmunk"],u:"1f43f-fe0f",a:"0.7"},{n:["beaver"],u:"1f9ab",a:"13.0"},{n:["hedgehog"],u:"1f994",a:"5.0"},{n:["bat"],u:"1f987",a:"3.0"},{n:["bear","bear face"],u:"1f43b",a:"0.6"},{n:["polar bear"],u:"1f43b-200d-2744-fe0f",a:"13.0"},{n:["koala"],u:"1f428",a:"0.6"},{n:["panda face"],u:"1f43c",a:"0.6"},{n:["sloth"],u:"1f9a5",a:"12.0"},{n:["otter"],u:"1f9a6",a:"12.0"},{n:["skunk"],u:"1f9a8",a:"12.0"},{n:["kangaroo"],u:"1f998",a:"11.0"},{n:["badger"],u:"1f9a1",a:"11.0"},{n:["feet","paw prints"],u:"1f43e",a:"0.6"},{n:["turkey"],u:"1f983",a:"1.0"},{n:["chicken"],u:"1f414",a:"0.6"},{n:["rooster"],u:"1f413",a:"1.0"},{n:["hatching chick"],u:"1f423",a:"0.6"},{n:["baby chick"],u:"1f424",a:"0.6"},{n:["hatched chick","front-facing baby chick"],u:"1f425",a:"0.6"},{n:["bird"],u:"1f426",a:"0.6"},{n:["penguin"],u:"1f427",a:"0.6"},{n:["dove","dove of peace"],u:"1f54a-fe0f",a:"0.7"},{n:["eagle"],u:"1f985",a:"3.0"},{n:["duck"],u:"1f986",a:"3.0"},{n:["swan"],u:"1f9a2",a:"11.0"},{n:["owl"],u:"1f989",a:"3.0"},{n:["dodo"],u:"1f9a4",a:"13.0"},{n:["feather"],u:"1fab6",a:"13.0"},{n:["flamingo"],u:"1f9a9",a:"12.0"},{n:["peacock"],u:"1f99a",a:"11.0"},{n:["parrot"],u:"1f99c",a:"11.0"},{n:["wing"],u:"1fabd",a:"15.0"},{n:["black bird"],u:"1f426-200d-2b1b",a:"15.0"},{n:["goose"],u:"1fabf",a:"15.0"},{n:["phoenix"],u:"1f426-200d-1f525",a:"15.1"},{n:["frog","frog face"],u:"1f438",a:"0.6"},{n:["crocodile"],u:"1f40a",a:"1.0"},{n:["turtle"],u:"1f422",a:"0.6"},{n:["lizard"],u:"1f98e",a:"3.0"},{n:["snake"],u:"1f40d",a:"0.6"},{n:["dragon face"],u:"1f432",a:"0.6"},{n:["dragon"],u:"1f409",a:"1.0"},{n:["sauropod"],u:"1f995",a:"5.0"},{n:["t-rex"],u:"1f996",a:"5.0"},{n:["whale","spouting whale"],u:"1f433",a:"0.6"},{n:["whale","whale2"],u:"1f40b",a:"1.0"},{n:["dolphin","flipper"],u:"1f42c",a:"0.6"},{n:["seal"],u:"1f9ad",a:"13.0"},{n:["fish"],u:"1f41f",a:"0.6"},{n:["tropical fish"],u:"1f420",a:"0.6"},{n:["blowfish"],u:"1f421",a:"0.6"},{n:["shark"],u:"1f988",a:"3.0"},{n:["octopus"],u:"1f419",a:"0.6"},{n:["shell","spiral shell"],u:"1f41a",a:"0.6"},{n:["coral"],u:"1fab8",a:"14.0"},{n:["jellyfish"],u:"1fabc",a:"15.0"},{n:["snail"],u:"1f40c",a:"0.6"},{n:["butterfly"],u:"1f98b",a:"3.0"},{n:["bug"],u:"1f41b",a:"0.6"},{n:["ant"],u:"1f41c",a:"0.6"},{n:["bee","honeybee"],u:"1f41d",a:"0.6"},{n:["beetle"],u:"1fab2",a:"13.0"},{n:["ladybug","lady beetle"],u:"1f41e",a:"0.6"},{n:["cricket"],u:"1f997",a:"5.0"},{n:["cockroach"],u:"1fab3",a:"13.0"},{n:["spider"],u:"1f577-fe0f",a:"0.7"},{n:["spider web"],u:"1f578-fe0f",a:"0.7"},{n:["scorpion"],u:"1f982",a:"1.0"},{n:["mosquito"],u:"1f99f",a:"11.0"},{n:["fly"],u:"1fab0",a:"13.0"},{n:["worm"],u:"1fab1",a:"13.0"},{n:["microbe"],u:"1f9a0",a:"11.0"},{n:["bouquet"],u:"1f490",a:"0.6"},{n:["cherry blossom"],u:"1f338",a:"0.6"},{n:["white flower"],u:"1f4ae",a:"0.6"},{n:["lotus"],u:"1fab7",a:"14.0"},{n:["rosette"],u:"1f3f5-fe0f",a:"0.7"},{n:["rose"],u:"1f339",a:"0.6"},{n:["wilted flower"],u:"1f940",a:"3.0"},{n:["hibiscus"],u:"1f33a",a:"0.6"},{n:["sunflower"],u:"1f33b",a:"0.6"},{n:["blossom"],u:"1f33c",a:"0.6"},{n:["tulip"],u:"1f337",a:"0.6"},{n:["hyacinth"],u:"1fabb",a:"15.0"},{n:["seedling"],u:"1f331",a:"0.6"},{n:["potted plant"],u:"1fab4",a:"13.0"},{n:["evergreen tree"],u:"1f332",a:"1.0"},{n:["deciduous tree"],u:"1f333",a:"1.0"},{n:["palm tree"],u:"1f334",a:"0.6"},{n:["cactus"],u:"1f335",a:"0.6"},{n:["ear of rice"],u:"1f33e",a:"0.6"},{n:["herb"],u:"1f33f",a:"0.6"},{n:["shamrock"],u:"2618-fe0f",a:"1.0"},{n:["four leaf clover"],u:"1f340",a:"0.6"},{n:["maple leaf"],u:"1f341",a:"0.6"},{n:["fallen leaf"],u:"1f342",a:"0.6"},{n:["leaves","leaf fluttering in wind"],u:"1f343",a:"0.6"},{n:["empty nest"],u:"1fab9",a:"14.0"},{n:["nest with eggs"],u:"1faba",a:"14.0"},{n:["mushroom"],u:"1f344",a:"0.6"}],food_drink:[{n:["grapes"],u:"1f347",a:"0.6"},{n:["melon"],u:"1f348",a:"0.6"},{n:["watermelon"],u:"1f349",a:"0.6"},{n:["tangerine"],u:"1f34a",a:"0.6"},{n:["lemon"],u:"1f34b",a:"1.0"},{n:["lime"],u:"1f34b-200d-1f7e9",a:"15.1"},{n:["banana"],u:"1f34c",a:"0.6"},{n:["pineapple"],u:"1f34d",a:"0.6"},{n:["mango"],u:"1f96d",a:"11.0"},{n:["apple","red apple"],u:"1f34e",a:"0.6"},{n:["green apple"],u:"1f34f",a:"0.6"},{n:["pear"],u:"1f350",a:"1.0"},{n:["peach"],u:"1f351",a:"0.6"},{n:["cherries"],u:"1f352",a:"0.6"},{n:["strawberry"],u:"1f353",a:"0.6"},{n:["blueberries"],u:"1fad0",a:"13.0"},{n:["kiwifruit"],u:"1f95d",a:"3.0"},{n:["tomato"],u:"1f345",a:"0.6"},{n:["olive"],u:"1fad2",a:"13.0"},{n:["coconut"],u:"1f965",a:"5.0"},{n:["avocado"],u:"1f951",a:"3.0"},{n:["eggplant","aubergine"],u:"1f346",a:"0.6"},{n:["potato"],u:"1f954",a:"3.0"},{n:["carrot"],u:"1f955",a:"3.0"},{n:["corn","ear of maize"],u:"1f33d",a:"0.6"},{n:["hot pepper"],u:"1f336-fe0f",a:"0.7"},{n:["bell pepper"],u:"1fad1",a:"13.0"},{n:["cucumber"],u:"1f952",a:"3.0"},{n:["leafy green"],u:"1f96c",a:"11.0"},{n:["broccoli"],u:"1f966",a:"5.0"},{n:["garlic"],u:"1f9c4",a:"12.0"},{n:["onion"],u:"1f9c5",a:"12.0"},{n:["peanuts"],u:"1f95c",a:"3.0"},{n:["beans"],u:"1fad8",a:"14.0"},{n:["chestnut"],u:"1f330",a:"0.6"},{n:["ginger root"],u:"1fada",a:"15.0"},{n:["pea pod"],u:"1fadb",a:"15.0"},{n:["brown mushroom"],u:"1f344-200d-1f7eb",a:"15.1"},{n:["bread"],u:"1f35e",a:"0.6"},{n:["croissant"],u:"1f950",a:"3.0"},{n:["baguette bread"],u:"1f956",a:"3.0"},{n:["flatbread"],u:"1fad3",a:"13.0"},{n:["pretzel"],u:"1f968",a:"5.0"},{n:["bagel"],u:"1f96f",a:"11.0"},{n:["pancakes"],u:"1f95e",a:"3.0"},{n:["waffle"],u:"1f9c7",a:"12.0"},{n:["cheese wedge"],u:"1f9c0",a:"1.0"},{n:["meat on bone"],u:"1f356",a:"0.6"},{n:["poultry leg"],u:"1f357",a:"0.6"},{n:["cut of meat"],u:"1f969",a:"5.0"},{n:["bacon"],u:"1f953",a:"3.0"},{n:["hamburger"],u:"1f354",a:"0.6"},{n:["fries","french fries"],u:"1f35f",a:"0.6"},{n:["pizza","slice of pizza"],u:"1f355",a:"0.6"},{n:["hotdog","hot dog"],u:"1f32d",a:"1.0"},{n:["sandwich"],u:"1f96a",a:"5.0"},{n:["taco"],u:"1f32e",a:"1.0"},{n:["burrito"],u:"1f32f",a:"1.0"},{n:["tamale"],u:"1fad4",a:"13.0"},{n:["stuffed flatbread"],u:"1f959",a:"3.0"},{n:["falafel"],u:"1f9c6",a:"12.0"},{n:["egg"],u:"1f95a",a:"3.0"},{n:["cooking","fried egg"],u:"1f373",a:"0.6"},{n:["shallow pan of food"],u:"1f958",a:"3.0"},{n:["stew","pot of food"],u:"1f372",a:"0.6"},{n:["fondue"],u:"1fad5",a:"13.0"},{n:["bowl with spoon"],u:"1f963",a:"5.0"},{n:["green salad"],u:"1f957",a:"3.0"},{n:["popcorn"],u:"1f37f",a:"1.0"},{n:["butter"],u:"1f9c8",a:"12.0"},{n:["salt","salt shaker"],u:"1f9c2",a:"11.0"},{n:["canned food"],u:"1f96b",a:"5.0"},{n:["bento","bento box"],u:"1f371",a:"0.6"},{n:["rice cracker"],u:"1f358",a:"0.6"},{n:["rice ball"],u:"1f359",a:"0.6"},{n:["rice","cooked rice"],u:"1f35a",a:"0.6"},{n:["curry","curry and rice"],u:"1f35b",a:"0.6"},{n:["ramen","steaming bowl"],u:"1f35c",a:"0.6"},{n:["spaghetti"],u:"1f35d",a:"0.6"},{n:["sweet potato","roasted sweet potato"],u:"1f360",a:"0.6"},{n:["oden"],u:"1f362",a:"0.6"},{n:["sushi"],u:"1f363",a:"0.6"},{n:["fried shrimp"],u:"1f364",a:"0.6"},{n:["fish cake","fish cake with swirl design"],u:"1f365",a:"0.6"},{n:["moon cake"],u:"1f96e",a:"11.0"},{n:["dango"],u:"1f361",a:"0.6"},{n:["dumpling"],u:"1f95f",a:"5.0"},{n:["fortune cookie"],u:"1f960",a:"5.0"},{n:["takeout box"],u:"1f961",a:"5.0"},{n:["crab"],u:"1f980",a:"1.0"},{n:["lobster"],u:"1f99e",a:"11.0"},{n:["shrimp"],u:"1f990",a:"3.0"},{n:["squid"],u:"1f991",a:"3.0"},{n:["oyster"],u:"1f9aa",a:"12.0"},{n:["icecream","soft ice cream"],u:"1f366",a:"0.6"},{n:["shaved ice"],u:"1f367",a:"0.6"},{n:["ice cream"],u:"1f368",a:"0.6"},{n:["doughnut"],u:"1f369",a:"0.6"},{n:["cookie"],u:"1f36a",a:"0.6"},{n:["birthday","birthday cake"],u:"1f382",a:"0.6"},{n:["cake","shortcake"],u:"1f370",a:"0.6"},{n:["cupcake"],u:"1f9c1",a:"11.0"},{n:["pie"],u:"1f967",a:"5.0"},{n:["chocolate bar"],u:"1f36b",a:"0.6"},{n:["candy"],u:"1f36c",a:"0.6"},{n:["lollipop"],u:"1f36d",a:"0.6"},{n:["custard"],u:"1f36e",a:"0.6"},{n:["honey pot"],u:"1f36f",a:"0.6"},{n:["baby bottle"],u:"1f37c",a:"1.0"},{n:["glass of milk"],u:"1f95b",a:"3.0"},{n:["coffee","hot beverage"],u:"2615",a:"0.6"},{n:["teapot"],u:"1fad6",a:"13.0"},{n:["tea","teacup without handle"],u:"1f375",a:"0.6"},{n:["sake","sake bottle and cup"],u:"1f376",a:"0.6"},{n:["champagne","bottle with popping cork"],u:"1f37e",a:"1.0"},{n:["wine glass"],u:"1f377",a:"0.6"},{n:["cocktail","cocktail glass"],u:"1f378",a:"0.6"},{n:["tropical drink"],u:"1f379",a:"0.6"},{n:["beer","beer mug"],u:"1f37a",a:"0.6"},{n:["beers","clinking beer mugs"],u:"1f37b",a:"0.6"},{n:["clinking glasses"],u:"1f942",a:"3.0"},{n:["tumbler glass"],u:"1f943",a:"3.0"},{n:["pouring liquid"],u:"1fad7",a:"14.0"},{n:["cup with straw"],u:"1f964",a:"5.0"},{n:["bubble tea"],u:"1f9cb",a:"13.0"},{n:["beverage box"],u:"1f9c3",a:"12.0"},{n:["mate drink"],u:"1f9c9",a:"12.0"},{n:["ice cube"],u:"1f9ca",a:"12.0"},{n:["chopsticks"],u:"1f962",a:"5.0"},{n:["knife fork plate","fork and knife with plate"],u:"1f37d-fe0f",a:"0.7"},{n:["fork and knife"],u:"1f374",a:"0.6"},{n:["spoon"],u:"1f944",a:"3.0"},{n:["hocho","knife"],u:"1f52a",a:"0.6"},{n:["jar"],u:"1fad9",a:"14.0"},{n:["amphora"],u:"1f3fa",a:"1.0"}],travel_places:[{n:["earth africa","earth globe europe-africa"],u:"1f30d",a:"0.7"},{n:["earth americas","earth globe americas"],u:"1f30e",a:"0.7"},{n:["earth asia","earth globe asia-australia"],u:"1f30f",a:"0.6"},{n:["globe with meridians"],u:"1f310",a:"1.0"},{n:["world map"],u:"1f5fa-fe0f",a:"0.7"},{n:["japan","silhouette of japan"],u:"1f5fe",a:"0.6"},{n:["compass"],u:"1f9ed",a:"11.0"},{n:["snow-capped mountain","snow capped mountain"],u:"1f3d4-fe0f",a:"0.7"},{n:["mountain"],u:"26f0-fe0f",a:"0.7"},{n:["volcano"],u:"1f30b",a:"0.6"},{n:["mount fuji"],u:"1f5fb",a:"0.6"},{n:["camping"],u:"1f3d5-fe0f",a:"0.7"},{n:["beach with umbrella"],u:"1f3d6-fe0f",a:"0.7"},{n:["desert"],u:"1f3dc-fe0f",a:"0.7"},{n:["desert island"],u:"1f3dd-fe0f",a:"0.7"},{n:["national park"],u:"1f3de-fe0f",a:"0.7"},{n:["stadium"],u:"1f3df-fe0f",a:"0.7"},{n:["classical building"],u:"1f3db-fe0f",a:"0.7"},{n:["building construction"],u:"1f3d7-fe0f",a:"0.7"},{n:["brick","bricks"],u:"1f9f1",a:"11.0"},{n:["rock"],u:"1faa8",a:"13.0"},{n:["wood"],u:"1fab5",a:"13.0"},{n:["hut"],u:"1f6d6",a:"13.0"},{n:["houses","house buildings"],u:"1f3d8-fe0f",a:"0.7"},{n:["derelict house","derelict house building"],u:"1f3da-fe0f",a:"0.7"},{n:["house","house building"],u:"1f3e0",a:"0.6"},{n:["house with garden"],u:"1f3e1",a:"0.6"},{n:["office","office building"],u:"1f3e2",a:"0.6"},{n:["post office","japanese post office"],u:"1f3e3",a:"0.6"},{n:["european post office"],u:"1f3e4",a:"1.0"},{n:["hospital"],u:"1f3e5",a:"0.6"},{n:["bank"],u:"1f3e6",a:"0.6"},{n:["hotel"],u:"1f3e8",a:"0.6"},{n:["love hotel"],u:"1f3e9",a:"0.6"},{n:["convenience store"],u:"1f3ea",a:"0.6"},{n:["school"],u:"1f3eb",a:"0.6"},{n:["department store"],u:"1f3ec",a:"0.6"},{n:["factory"],u:"1f3ed",a:"0.6"},{n:["japanese castle"],u:"1f3ef",a:"0.6"},{n:["european castle"],u:"1f3f0",a:"0.6"},{n:["wedding"],u:"1f492",a:"0.6"},{n:["tokyo tower"],u:"1f5fc",a:"0.6"},{n:["statue of liberty"],u:"1f5fd",a:"0.6"},{n:["church"],u:"26ea",a:"0.6"},{n:["mosque"],u:"1f54c",a:"1.0"},{n:["hindu temple"],u:"1f6d5",a:"12.0"},{n:["synagogue"],u:"1f54d",a:"1.0"},{n:["shinto shrine"],u:"26e9-fe0f",a:"0.7"},{n:["kaaba"],u:"1f54b",a:"1.0"},{n:["fountain"],u:"26f2",a:"0.6"},{n:["tent"],u:"26fa",a:"0.6"},{n:["foggy"],u:"1f301",a:"0.6"},{n:["night with stars"],u:"1f303",a:"0.6"},{n:["cityscape"],u:"1f3d9-fe0f",a:"0.7"},{n:["sunrise over mountains"],u:"1f304",a:"0.6"},{n:["sunrise"],u:"1f305",a:"0.6"},{n:["city sunset","cityscape at dusk"],u:"1f306",a:"0.6"},{n:["city sunrise","sunset over buildings"],u:"1f307",a:"0.6"},{n:["bridge at night"],u:"1f309",a:"0.6"},{n:["hotsprings","hot springs"],u:"2668-fe0f",a:"0.6"},{n:["carousel horse"],u:"1f3a0",a:"0.6"},{n:["playground slide"],u:"1f6dd",a:"14.0"},{n:["ferris wheel"],u:"1f3a1",a:"0.6"},{n:["roller coaster"],u:"1f3a2",a:"0.6"},{n:["barber","barber pole"],u:"1f488",a:"0.6"},{n:["circus tent"],u:"1f3aa",a:"0.6"},{n:["steam locomotive"],u:"1f682",a:"1.0"},{n:["railway car"],u:"1f683",a:"0.6"},{n:["high-speed train","bullettrain side"],u:"1f684",a:"0.6"},{n:["bullettrain front","high-speed train with bullet nose"],u:"1f685",a:"0.6"},{n:["train","train2"],u:"1f686",a:"1.0"},{n:["metro"],u:"1f687",a:"0.6"},{n:["light rail"],u:"1f688",a:"1.0"},{n:["station"],u:"1f689",a:"0.6"},{n:["tram"],u:"1f68a",a:"1.0"},{n:["monorail"],u:"1f69d",a:"1.0"},{n:["mountain railway"],u:"1f69e",a:"1.0"},{n:["train","tram car"],u:"1f68b",a:"1.0"},{n:["bus"],u:"1f68c",a:"0.6"},{n:["oncoming bus"],u:"1f68d",a:"0.7"},{n:["trolleybus"],u:"1f68e",a:"1.0"},{n:["minibus"],u:"1f690",a:"1.0"},{n:["ambulance"],u:"1f691",a:"0.6"},{n:["fire engine"],u:"1f692",a:"0.6"},{n:["police car"],u:"1f693",a:"0.6"},{n:["oncoming police car"],u:"1f694",a:"0.7"},{n:["taxi"],u:"1f695",a:"0.6"},{n:["oncoming taxi"],u:"1f696",a:"1.0"},{n:["car","red car","automobile"],u:"1f697",a:"0.6"},{n:["oncoming automobile"],u:"1f698",a:"0.7"},{n:["blue car","recreational vehicle"],u:"1f699",a:"0.6"},{n:["pickup truck"],u:"1f6fb",a:"13.0"},{n:["truck","delivery truck"],u:"1f69a",a:"0.6"},{n:["articulated lorry"],u:"1f69b",a:"1.0"},{n:["tractor"],u:"1f69c",a:"1.0"},{n:["racing car"],u:"1f3ce-fe0f",a:"0.7"},{n:["motorcycle","racing motorcycle"],u:"1f3cd-fe0f",a:"0.7"},{n:["motor scooter"],u:"1f6f5",a:"3.0"},{n:["manual wheelchair"],u:"1f9bd",a:"12.0"},{n:["motorized wheelchair"],u:"1f9bc",a:"12.0"},{n:["auto rickshaw"],u:"1f6fa",a:"12.0"},{n:["bike","bicycle"],u:"1f6b2",a:"0.6"},{n:["scooter"],u:"1f6f4",a:"3.0"},{n:["skateboard"],u:"1f6f9",a:"11.0"},{n:["roller skate"],u:"1f6fc",a:"13.0"},{n:["busstop","bus stop"],u:"1f68f",a:"0.6"},{n:["motorway"],u:"1f6e3-fe0f",a:"0.7"},{n:["railway track"],u:"1f6e4-fe0f",a:"0.7"},{n:["oil drum"],u:"1f6e2-fe0f",a:"0.7"},{n:["fuelpump","fuel pump"],u:"26fd",a:"0.6"},{n:["wheel"],u:"1f6de",a:"14.0"},{n:["rotating light","police cars revolving light"],u:"1f6a8",a:"0.6"},{n:["traffic light","horizontal traffic light"],u:"1f6a5",a:"0.6"},{n:["vertical traffic light"],u:"1f6a6",a:"1.0"},{n:["octagonal sign"],u:"1f6d1",a:"3.0"},{n:["construction","construction sign"],u:"1f6a7",a:"0.6"},{n:["anchor"],u:"2693",a:"0.6"},{n:["ring buoy"],u:"1f6df",a:"14.0"},{n:["boat","sailboat"],u:"26f5",a:"0.6"},{n:["canoe"],u:"1f6f6",a:"3.0"},{n:["speedboat"],u:"1f6a4",a:"0.6"},{n:["passenger ship"],u:"1f6f3-fe0f",a:"0.7"},{n:["ferry"],u:"26f4-fe0f",a:"0.7"},{n:["motor boat"],u:"1f6e5-fe0f",a:"0.7"},{n:["ship"],u:"1f6a2",a:"0.6"},{n:["airplane"],u:"2708-fe0f",a:"0.6"},{n:["small airplane"],u:"1f6e9-fe0f",a:"0.7"},{n:["airplane departure"],u:"1f6eb",a:"1.0"},{n:["airplane arriving"],u:"1f6ec",a:"1.0"},{n:["parachute"],u:"1fa82",a:"12.0"},{n:["seat"],u:"1f4ba",a:"0.6"},{n:["helicopter"],u:"1f681",a:"1.0"},{n:["suspension railway"],u:"1f69f",a:"1.0"},{n:["mountain cableway"],u:"1f6a0",a:"1.0"},{n:["aerial tramway"],u:"1f6a1",a:"1.0"},{n:["satellite"],u:"1f6f0-fe0f",a:"0.7"},{n:["rocket"],u:"1f680",a:"0.6"},{n:["flying saucer"],u:"1f6f8",a:"5.0"},{n:["bellhop bell"],u:"1f6ce-fe0f",a:"0.7"},{n:["luggage"],u:"1f9f3",a:"11.0"},{n:["hourglass"],u:"231b",a:"0.6"},{n:["hourglass flowing sand","hourglass with flowing sand"],u:"23f3",a:"0.6"},{n:["watch"],u:"231a",a:"0.6"},{n:["alarm clock"],u:"23f0",a:"0.6"},{n:["stopwatch"],u:"23f1-fe0f",a:"1.0"},{n:["timer clock"],u:"23f2-fe0f",a:"1.0"},{n:["mantelpiece clock"],u:"1f570-fe0f",a:"0.7"},{n:["clock12","clock face twelve oclock"],u:"1f55b",a:"0.6"},{n:["clock1230","clock face twelve-thirty"],u:"1f567",a:"0.7"},{n:["clock1","clock face one oclock"],u:"1f550",a:"0.6"},{n:["clock130","clock face one-thirty"],u:"1f55c",a:"0.7"},{n:["clock2","clock face two oclock"],u:"1f551",a:"0.6"},{n:["clock230","clock face two-thirty"],u:"1f55d",a:"0.7"},{n:["clock3","clock face three oclock"],u:"1f552",a:"0.6"},{n:["clock330","clock face three-thirty"],u:"1f55e",a:"0.7"},{n:["clock4","clock face four oclock"],u:"1f553",a:"0.6"},{n:["clock430","clock face four-thirty"],u:"1f55f",a:"0.7"},{n:["clock5","clock face five oclock"],u:"1f554",a:"0.6"},{n:["clock530","clock face five-thirty"],u:"1f560",a:"0.7"},{n:["clock6","clock face six oclock"],u:"1f555",a:"0.6"},{n:["clock630","clock face six-thirty"],u:"1f561",a:"0.7"},{n:["clock7","clock face seven oclock"],u:"1f556",a:"0.6"},{n:["clock730","clock face seven-thirty"],u:"1f562",a:"0.7"},{n:["clock8","clock face eight oclock"],u:"1f557",a:"0.6"},{n:["clock830","clock face eight-thirty"],u:"1f563",a:"0.7"},{n:["clock9","clock face nine oclock"],u:"1f558",a:"0.6"},{n:["clock930","clock face nine-thirty"],u:"1f564",a:"0.7"},{n:["clock10","clock face ten oclock"],u:"1f559",a:"0.6"},{n:["clock1030","clock face ten-thirty"],u:"1f565",a:"0.7"},{n:["clock11","clock face eleven oclock"],u:"1f55a",a:"0.6"},{n:["clock1130","clock face eleven-thirty"],u:"1f566",a:"0.7"},{n:["new moon","new moon symbol"],u:"1f311",a:"0.6"},{n:["waxing crescent moon","waxing crescent moon symbol"],u:"1f312",a:"1.0"},{n:["first quarter moon","first quarter moon symbol"],u:"1f313",a:"0.6"},{n:["moon","waxing gibbous moon","waxing gibbous moon symbol"],u:"1f314",a:"0.6"},{n:["full moon","full moon symbol"],u:"1f315",a:"0.6"},{n:["waning gibbous moon","waning gibbous moon symbol"],u:"1f316",a:"1.0"},{n:["last quarter moon","last quarter moon symbol"],u:"1f317",a:"1.0"},{n:["waning crescent moon","waning crescent moon symbol"],u:"1f318",a:"1.0"},{n:["crescent moon"],u:"1f319",a:"0.6"},{n:["new moon with face"],u:"1f31a",a:"1.0"},{n:["first quarter moon with face"],u:"1f31b",a:"0.6"},{n:["last quarter moon with face"],u:"1f31c",a:"0.7"},{n:["thermometer"],u:"1f321-fe0f",a:"0.7"},{n:["sunny","black sun with rays"],u:"2600-fe0f",a:"0.6"},{n:["full moon with face"],u:"1f31d",a:"1.0"},{n:["sun with face"],u:"1f31e",a:"1.0"},{n:["ringed planet"],u:"1fa90",a:"12.0"},{n:["star","white medium star"],u:"2b50",a:"0.6"},{n:["star2","glowing star"],u:"1f31f",a:"0.6"},{n:["stars","shooting star"],u:"1f320",a:"0.6"},{n:["milky way"],u:"1f30c",a:"0.6"},{n:["cloud"],u:"2601-fe0f",a:"0.6"},{n:["partly sunny","sun behind cloud"],u:"26c5",a:"0.6"},{n:["thunder cloud and rain","cloud with lightning and rain"],u:"26c8-fe0f",a:"0.7"},{n:["mostly sunny","sun small cloud","sun behind small cloud"],u:"1f324-fe0f",a:"0.7"},{n:["barely sunny","sun behind cloud","sun behind large cloud"],u:"1f325-fe0f",a:"0.7"},{n:["partly sunny rain","sun behind rain cloud"],u:"1f326-fe0f",a:"0.7"},{n:["rain cloud","cloud with rain"],u:"1f327-fe0f",a:"0.7"},{n:["snow cloud","cloud with snow"],u:"1f328-fe0f",a:"0.7"},{n:["lightning","lightning cloud","cloud with lightning"],u:"1f329-fe0f",a:"0.7"},{n:["tornado","tornado cloud"],u:"1f32a-fe0f",a:"0.7"},{n:["fog"],u:"1f32b-fe0f",a:"0.7"},{n:["wind face","wind blowing face"],u:"1f32c-fe0f",a:"0.7"},{n:["cyclone"],u:"1f300",a:"0.6"},{n:["rainbow"],u:"1f308",a:"0.6"},{n:["closed umbrella"],u:"1f302",a:"0.6"},{n:["umbrella"],u:"2602-fe0f",a:"0.7"},{n:["umbrella with rain drops"],u:"2614",a:"0.6"},{n:["umbrella on ground"],u:"26f1-fe0f",a:"0.7"},{n:["zap","high voltage sign"],u:"26a1",a:"0.6"},{n:["snowflake"],u:"2744-fe0f",a:"0.6"},{n:["snowman"],u:"2603-fe0f",a:"0.7"},{n:["snowman without snow"],u:"26c4",a:"0.6"},{n:["comet"],u:"2604-fe0f",a:"1.0"},{n:["fire"],u:"1f525",a:"0.6"},{n:["droplet"],u:"1f4a7",a:"0.6"},{n:["ocean","water wave"],u:"1f30a",a:"0.6"}],activities:[{n:["jack-o-lantern","jack o lantern"],u:"1f383",a:"0.6"},{n:["christmas tree"],u:"1f384",a:"0.6"},{n:["fireworks"],u:"1f386",a:"0.6"},{n:["sparkler","firework sparkler"],u:"1f387",a:"0.6"},{n:["firecracker"],u:"1f9e8",a:"11.0"},{n:["sparkles"],u:"2728",a:"0.6"},{n:["balloon"],u:"1f388",a:"0.6"},{n:["tada","party popper"],u:"1f389",a:"0.6"},{n:["confetti ball"],u:"1f38a",a:"0.6"},{n:["tanabata tree"],u:"1f38b",a:"0.6"},{n:["bamboo","pine decoration"],u:"1f38d",a:"0.6"},{n:["dolls","japanese dolls"],u:"1f38e",a:"0.6"},{n:["flags","carp streamer"],u:"1f38f",a:"0.6"},{n:["wind chime"],u:"1f390",a:"0.6"},{n:["rice scene","moon viewing ceremony"],u:"1f391",a:"0.6"},{n:["red envelope","red gift envelope"],u:"1f9e7",a:"11.0"},{n:["ribbon"],u:"1f380",a:"0.6"},{n:["gift","wrapped present"],u:"1f381",a:"0.6"},{n:["reminder ribbon"],u:"1f397-fe0f",a:"0.7"},{n:["admission tickets"],u:"1f39f-fe0f",a:"0.7"},{n:["ticket"],u:"1f3ab",a:"0.6"},{n:["medal","military medal"],u:"1f396-fe0f",a:"0.7"},{n:["trophy"],u:"1f3c6",a:"0.6"},{n:["sports medal"],u:"1f3c5",a:"1.0"},{n:["first place medal"],u:"1f947",a:"3.0"},{n:["second place medal"],u:"1f948",a:"3.0"},{n:["third place medal"],u:"1f949",a:"3.0"},{n:["soccer","soccer ball"],u:"26bd",a:"0.6"},{n:["baseball"],u:"26be",a:"0.6"},{n:["softball"],u:"1f94e",a:"11.0"},{n:["basketball","basketball and hoop"],u:"1f3c0",a:"0.6"},{n:["volleyball"],u:"1f3d0",a:"1.0"},{n:["football","american football"],u:"1f3c8",a:"0.6"},{n:["rugby football"],u:"1f3c9",a:"1.0"},{n:["tennis","tennis racquet and ball"],u:"1f3be",a:"0.6"},{n:["flying disc"],u:"1f94f",a:"11.0"},{n:["bowling"],u:"1f3b3",a:"0.6"},{n:["cricket bat and ball"],u:"1f3cf",a:"1.0"},{n:["field hockey stick and ball"],u:"1f3d1",a:"1.0"},{n:["ice hockey stick and puck"],u:"1f3d2",a:"1.0"},{n:["lacrosse","lacrosse stick and ball"],u:"1f94d",a:"11.0"},{n:["table tennis paddle and ball"],u:"1f3d3",a:"1.0"},{n:["badminton racquet and shuttlecock"],u:"1f3f8",a:"1.0"},{n:["boxing glove"],u:"1f94a",a:"3.0"},{n:["martial arts uniform"],u:"1f94b",a:"3.0"},{n:["goal net"],u:"1f945",a:"3.0"},{n:["golf","flag in hole"],u:"26f3",a:"0.6"},{n:["ice skate"],u:"26f8-fe0f",a:"0.7"},{n:["fishing pole and fish"],u:"1f3a3",a:"0.6"},{n:["diving mask"],u:"1f93f",a:"12.0"},{n:["running shirt with sash"],u:"1f3bd",a:"0.6"},{n:["ski","ski and ski boot"],u:"1f3bf",a:"0.6"},{n:["sled"],u:"1f6f7",a:"5.0"},{n:["curling stone"],u:"1f94c",a:"5.0"},{n:["dart","direct hit"],u:"1f3af",a:"0.6"},{n:["yo-yo"],u:"1fa80",a:"12.0"},{n:["kite"],u:"1fa81",a:"12.0"},{n:["gun","pistol"],u:"1f52b",a:"0.6"},{n:["8ball","billiards"],u:"1f3b1",a:"0.6"},{n:["crystal ball"],u:"1f52e",a:"0.6"},{n:["magic wand"],u:"1fa84",a:"13.0"},{n:["video game"],u:"1f3ae",a:"0.6"},{n:["joystick"],u:"1f579-fe0f",a:"0.7"},{n:["slot machine"],u:"1f3b0",a:"0.6"},{n:["game die"],u:"1f3b2",a:"0.6"},{n:["jigsaw","jigsaw puzzle piece"],u:"1f9e9",a:"11.0"},{n:["teddy bear"],u:"1f9f8",a:"11.0"},{n:["pinata"],u:"1fa85",a:"13.0"},{n:["mirror ball"],u:"1faa9",a:"14.0"},{n:["nesting dolls"],u:"1fa86",a:"13.0"},{n:["spades","black spade suit"],u:"2660-fe0f",a:"0.6"},{n:["hearts","black heart suit"],u:"2665-fe0f",a:"0.6"},{n:["diamonds","black diamond suit"],u:"2666-fe0f",a:"0.6"},{n:["clubs","black club suit"],u:"2663-fe0f",a:"0.6"},{n:["chess pawn"],u:"265f-fe0f",a:"11.0"},{n:["black joker","playing card black joker"],u:"1f0cf",a:"0.6"},{n:["mahjong","mahjong tile red dragon"],u:"1f004",a:"0.6"},{n:["flower playing cards"],u:"1f3b4",a:"0.6"},{n:["performing arts"],u:"1f3ad",a:"0.6"},{n:["framed picture","frame with picture"],u:"1f5bc-fe0f",a:"0.7"},{n:["art","artist palette"],u:"1f3a8",a:"0.6"},{n:["thread","spool of thread"],u:"1f9f5",a:"11.0"},{n:["sewing needle"],u:"1faa1",a:"13.0"},{n:["yarn","ball of yarn"],u:"1f9f6",a:"11.0"},{n:["knot"],u:"1faa2",a:"13.0"}],objects:[{n:["eyeglasses"],u:"1f453",a:"0.6"},{n:["sunglasses","dark sunglasses"],u:"1f576-fe0f",a:"0.7"},{n:["goggles"],u:"1f97d",a:"11.0"},{n:["lab coat"],u:"1f97c",a:"11.0"},{n:["safety vest"],u:"1f9ba",a:"12.0"},{n:["necktie"],u:"1f454",a:"0.6"},{n:["shirt","tshirt","t-shirt"],u:"1f455",a:"0.6"},{n:["jeans"],u:"1f456",a:"0.6"},{n:["scarf"],u:"1f9e3",a:"5.0"},{n:["gloves"],u:"1f9e4",a:"5.0"},{n:["coat"],u:"1f9e5",a:"5.0"},{n:["socks"],u:"1f9e6",a:"5.0"},{n:["dress"],u:"1f457",a:"0.6"},{n:["kimono"],u:"1f458",a:"0.6"},{n:["sari"],u:"1f97b",a:"12.0"},{n:["one-piece swimsuit"],u:"1fa71",a:"12.0"},{n:["briefs"],u:"1fa72",a:"12.0"},{n:["shorts"],u:"1fa73",a:"12.0"},{n:["bikini"],u:"1f459",a:"0.6"},{n:["womans clothes"],u:"1f45a",a:"0.6"},{n:["folding hand fan"],u:"1faad",a:"15.0"},{n:["purse"],u:"1f45b",a:"0.6"},{n:["handbag"],u:"1f45c",a:"0.6"},{n:["pouch"],u:"1f45d",a:"0.6"},{n:["shopping bags"],u:"1f6cd-fe0f",a:"0.7"},{n:["school satchel"],u:"1f392",a:"0.6"},{n:["thong sandal"],u:"1fa74",a:"13.0"},{n:["shoe","mans shoe"],u:"1f45e",a:"0.6"},{n:["athletic shoe"],u:"1f45f",a:"0.6"},{n:["hiking boot"],u:"1f97e",a:"11.0"},{n:["flat shoe","womans flat shoe"],u:"1f97f",a:"11.0"},{n:["high heel","high-heeled shoe"],u:"1f460",a:"0.6"},{n:["sandal","womans sandal"],u:"1f461",a:"0.6"},{n:["ballet shoes"],u:"1fa70",a:"12.0"},{n:["boot","womans boots"],u:"1f462",a:"0.6"},{n:["hair pick"],u:"1faae",a:"15.0"},{n:["crown"],u:"1f451",a:"0.6"},{n:["womans hat"],u:"1f452",a:"0.6"},{n:["tophat","top hat"],u:"1f3a9",a:"0.6"},{n:["mortar board","graduation cap"],u:"1f393",a:"0.6"},{n:["billed cap"],u:"1f9e2",a:"5.0"},{n:["military helmet"],u:"1fa96",a:"13.0"},{n:["rescue worker’s helmet","helmet with white cross"],u:"26d1-fe0f",a:"0.7"},{n:["prayer beads"],u:"1f4ff",a:"1.0"},{n:["lipstick"],u:"1f484",a:"0.6"},{n:["ring"],u:"1f48d",a:"0.6"},{n:["gem","gem stone"],u:"1f48e",a:"0.6"},{n:["mute","speaker with cancellation stroke"],u:"1f507",a:"1.0"},{n:["speaker"],u:"1f508",a:"0.7"},{n:["sound","speaker with one sound wave"],u:"1f509",a:"1.0"},{n:["loud sound","speaker with three sound waves"],u:"1f50a",a:"0.6"},{n:["loudspeaker","public address loudspeaker"],u:"1f4e2",a:"0.6"},{n:["mega","cheering megaphone"],u:"1f4e3",a:"0.6"},{n:["postal horn"],u:"1f4ef",a:"1.0"},{n:["bell"],u:"1f514",a:"0.6"},{n:["no bell","bell with cancellation stroke"],u:"1f515",a:"1.0"},{n:["musical score"],u:"1f3bc",a:"0.6"},{n:["musical note"],u:"1f3b5",a:"0.6"},{n:["notes","multiple musical notes"],u:"1f3b6",a:"0.6"},{n:["studio microphone"],u:"1f399-fe0f",a:"0.7"},{n:["level slider"],u:"1f39a-fe0f",a:"0.7"},{n:["control knobs"],u:"1f39b-fe0f",a:"0.7"},{n:["microphone"],u:"1f3a4",a:"0.6"},{n:["headphone","headphones"],u:"1f3a7",a:"0.6"},{n:["radio"],u:"1f4fb",a:"0.6"},{n:["saxophone"],u:"1f3b7",a:"0.6"},{n:["accordion"],u:"1fa97",a:"13.0"},{n:["guitar"],u:"1f3b8",a:"0.6"},{n:["musical keyboard"],u:"1f3b9",a:"0.6"},{n:["trumpet"],u:"1f3ba",a:"0.6"},{n:["violin"],u:"1f3bb",a:"0.6"},{n:["banjo"],u:"1fa95",a:"12.0"},{n:["drum with drumsticks"],u:"1f941",a:"3.0"},{n:["long drum"],u:"1fa98",a:"13.0"},{n:["maracas"],u:"1fa87",a:"15.0"},{n:["flute"],u:"1fa88",a:"15.0"},{n:["iphone","mobile phone"],u:"1f4f1",a:"0.6"},{n:["calling","mobile phone with rightwards arrow at left"],u:"1f4f2",a:"0.6"},{n:["phone","telephone","black telephone"],u:"260e-fe0f",a:"0.6"},{n:["telephone receiver"],u:"1f4de",a:"0.6"},{n:["pager"],u:"1f4df",a:"0.6"},{n:["fax","fax machine"],u:"1f4e0",a:"0.6"},{n:["battery"],u:"1f50b",a:"0.6"},{n:["low battery"],u:"1faab",a:"14.0"},{n:["electric plug"],u:"1f50c",a:"0.6"},{n:["computer","personal computer"],u:"1f4bb",a:"0.6"},{n:["desktop computer"],u:"1f5a5-fe0f",a:"0.7"},{n:["printer"],u:"1f5a8-fe0f",a:"0.7"},{n:["keyboard"],u:"2328-fe0f",a:"1.0"},{n:["computer mouse","three button mouse"],u:"1f5b1-fe0f",a:"0.7"},{n:["trackball"],u:"1f5b2-fe0f",a:"0.7"},{n:["minidisc"],u:"1f4bd",a:"0.6"},{n:["floppy disk"],u:"1f4be",a:"0.6"},{n:["cd","optical disc"],u:"1f4bf",a:"0.6"},{n:["dvd"],u:"1f4c0",a:"0.6"},{n:["abacus"],u:"1f9ee",a:"11.0"},{n:["movie camera"],u:"1f3a5",a:"0.6"},{n:["film frames"],u:"1f39e-fe0f",a:"0.7"},{n:["film projector"],u:"1f4fd-fe0f",a:"0.7"},{n:["clapper","clapper board"],u:"1f3ac",a:"0.6"},{n:["tv","television"],u:"1f4fa",a:"0.6"},{n:["camera"],u:"1f4f7",a:"0.6"},{n:["camera with flash"],u:"1f4f8",a:"1.0"},{n:["video camera"],u:"1f4f9",a:"0.6"},{n:["vhs","videocassette"],u:"1f4fc",a:"0.6"},{n:["mag","left-pointing magnifying glass"],u:"1f50d",a:"0.6"},{n:["mag right","right-pointing magnifying glass"],u:"1f50e",a:"0.6"},{n:["candle"],u:"1f56f-fe0f",a:"0.7"},{n:["bulb","electric light bulb"],u:"1f4a1",a:"0.6"},{n:["flashlight","electric torch"],u:"1f526",a:"0.6"},{n:["lantern","izakaya lantern"],u:"1f3ee",a:"0.6"},{n:["diya lamp"],u:"1fa94",a:"12.0"},{n:["notebook with decorative cover"],u:"1f4d4",a:"0.6"},{n:["closed book"],u:"1f4d5",a:"0.6"},{n:["book","open book"],u:"1f4d6",a:"0.6"},{n:["green book"],u:"1f4d7",a:"0.6"},{n:["blue book"],u:"1f4d8",a:"0.6"},{n:["orange book"],u:"1f4d9",a:"0.6"},{n:["books"],u:"1f4da",a:"0.6"},{n:["notebook"],u:"1f4d3",a:"0.6"},{n:["ledger"],u:"1f4d2",a:"0.6"},{n:["page with curl"],u:"1f4c3",a:"0.6"},{n:["scroll"],u:"1f4dc",a:"0.6"},{n:["page facing up"],u:"1f4c4",a:"0.6"},{n:["newspaper"],u:"1f4f0",a:"0.6"},{n:["rolled-up newspaper","rolled up newspaper"],u:"1f5de-fe0f",a:"0.7"},{n:["bookmark tabs"],u:"1f4d1",a:"0.6"},{n:["bookmark"],u:"1f516",a:"0.6"},{n:["label"],u:"1f3f7-fe0f",a:"0.7"},{n:["moneybag","money bag"],u:"1f4b0",a:"0.6"},{n:["coin"],u:"1fa99",a:"13.0"},{n:["yen","banknote with yen sign"],u:"1f4b4",a:"0.6"},{n:["dollar","banknote with dollar sign"],u:"1f4b5",a:"0.6"},{n:["euro","banknote with euro sign"],u:"1f4b6",a:"1.0"},{n:["pound","banknote with pound sign"],u:"1f4b7",a:"1.0"},{n:["money with wings"],u:"1f4b8",a:"0.6"},{n:["credit card"],u:"1f4b3",a:"0.6"},{n:["receipt"],u:"1f9fe",a:"11.0"},{n:["chart","chart with upwards trend and yen sign"],u:"1f4b9",a:"0.6"},{n:["email","envelope"],u:"2709-fe0f",a:"0.6"},{n:["e-mail","e-mail symbol"],u:"1f4e7",a:"0.6"},{n:["incoming envelope"],u:"1f4e8",a:"0.6"},{n:["envelope with arrow","envelope with downwards arrow above"],u:"1f4e9",a:"0.6"},{n:["outbox tray"],u:"1f4e4",a:"0.6"},{n:["inbox tray"],u:"1f4e5",a:"0.6"},{n:["package"],u:"1f4e6",a:"0.6"},{n:["mailbox","closed mailbox with raised flag"],u:"1f4eb",a:"0.6"},{n:["mailbox closed","closed mailbox with lowered flag"],u:"1f4ea",a:"0.6"},{n:["mailbox with mail","open mailbox with raised flag"],u:"1f4ec",a:"0.7"},{n:["mailbox with no mail","open mailbox with lowered flag"],u:"1f4ed",a:"0.7"},{n:["postbox"],u:"1f4ee",a:"0.6"},{n:["ballot box with ballot"],u:"1f5f3-fe0f",a:"0.7"},{n:["pencil","pencil2"],u:"270f-fe0f",a:"0.6"},{n:["black nib"],u:"2712-fe0f",a:"0.6"},{n:["fountain pen","lower left fountain pen"],u:"1f58b-fe0f",a:"0.7"},{n:["pen","lower left ballpoint pen"],u:"1f58a-fe0f",a:"0.7"},{n:["paintbrush","lower left paintbrush"],u:"1f58c-fe0f",a:"0.7"},{n:["crayon","lower left crayon"],u:"1f58d-fe0f",a:"0.7"},{n:["memo","pencil"],u:"1f4dd",a:"0.6"},{n:["briefcase"],u:"1f4bc",a:"0.6"},{n:["file folder"],u:"1f4c1",a:"0.6"},{n:["open file folder"],u:"1f4c2",a:"0.6"},{n:["card index dividers"],u:"1f5c2-fe0f",a:"0.7"},{n:["date","calendar"],u:"1f4c5",a:"0.6"},{n:["calendar","tear-off calendar"],u:"1f4c6",a:"0.6"},{n:["spiral notepad","spiral note pad"],u:"1f5d2-fe0f",a:"0.7"},{n:["spiral calendar","spiral calendar pad"],u:"1f5d3-fe0f",a:"0.7"},{n:["card index"],u:"1f4c7",a:"0.6"},{n:["chart with upwards trend"],u:"1f4c8",a:"0.6"},{n:["chart with downwards trend"],u:"1f4c9",a:"0.6"},{n:["bar chart"],u:"1f4ca",a:"0.6"},{n:["clipboard"],u:"1f4cb",a:"0.6"},{n:["pushpin"],u:"1f4cc",a:"0.6"},{n:["round pushpin"],u:"1f4cd",a:"0.6"},{n:["paperclip"],u:"1f4ce",a:"0.6"},{n:["linked paperclips"],u:"1f587-fe0f",a:"0.7"},{n:["straight ruler"],u:"1f4cf",a:"0.6"},{n:["triangular ruler"],u:"1f4d0",a:"0.6"},{n:["scissors","black scissors"],u:"2702-fe0f",a:"0.6"},{n:["card file box"],u:"1f5c3-fe0f",a:"0.7"},{n:["file cabinet"],u:"1f5c4-fe0f",a:"0.7"},{n:["wastebasket"],u:"1f5d1-fe0f",a:"0.7"},{n:["lock"],u:"1f512",a:"0.6"},{n:["unlock","open lock"],u:"1f513",a:"0.6"},{n:["lock with ink pen"],u:"1f50f",a:"0.6"},{n:["closed lock with key"],u:"1f510",a:"0.6"},{n:["key"],u:"1f511",a:"0.6"},{n:["old key"],u:"1f5dd-fe0f",a:"0.7"},{n:["hammer"],u:"1f528",a:"0.6"},{n:["axe"],u:"1fa93",a:"12.0"},{n:["pick"],u:"26cf-fe0f",a:"0.7"},{n:["hammer and pick"],u:"2692-fe0f",a:"1.0"},{n:["hammer and wrench"],u:"1f6e0-fe0f",a:"0.7"},{n:["dagger","dagger knife"],u:"1f5e1-fe0f",a:"0.7"},{n:["crossed swords"],u:"2694-fe0f",a:"1.0"},{n:["bomb"],u:"1f4a3",a:"0.6"},{n:["boomerang"],u:"1fa83",a:"13.0"},{n:["bow and arrow"],u:"1f3f9",a:"1.0"},{n:["shield"],u:"1f6e1-fe0f",a:"0.7"},{n:["carpentry saw"],u:"1fa9a",a:"13.0"},{n:["wrench"],u:"1f527",a:"0.6"},{n:["screwdriver"],u:"1fa9b",a:"13.0"},{n:["nut and bolt"],u:"1f529",a:"0.6"},{n:["gear"],u:"2699-fe0f",a:"1.0"},{n:["clamp","compression"],u:"1f5dc-fe0f",a:"0.7"},{n:["scales","balance scale"],u:"2696-fe0f",a:"1.0"},{n:["probing cane"],u:"1f9af",a:"12.0"},{n:["link","link symbol"],u:"1f517",a:"0.6"},{n:["broken chain"],u:"26d3-fe0f-200d-1f4a5",a:"15.1"},{n:["chains"],u:"26d3-fe0f",a:"0.7"},{n:["hook"],u:"1fa9d",a:"13.0"},{n:["toolbox"],u:"1f9f0",a:"11.0"},{n:["magnet"],u:"1f9f2",a:"11.0"},{n:["ladder"],u:"1fa9c",a:"13.0"},{n:["alembic"],u:"2697-fe0f",a:"1.0"},{n:["test tube"],u:"1f9ea",a:"11.0"},{n:["petri dish"],u:"1f9eb",a:"11.0"},{n:["dna","dna double helix"],u:"1f9ec",a:"11.0"},{n:["microscope"],u:"1f52c",a:"1.0"},{n:["telescope"],u:"1f52d",a:"1.0"},{n:["satellite antenna"],u:"1f4e1",a:"0.6"},{n:["syringe"],u:"1f489",a:"0.6"},{n:["drop of blood"],u:"1fa78",a:"12.0"},{n:["pill"],u:"1f48a",a:"0.6"},{n:["adhesive bandage"],u:"1fa79",a:"12.0"},{n:["crutch"],u:"1fa7c",a:"14.0"},{n:["stethoscope"],u:"1fa7a",a:"12.0"},{n:["x-ray"],u:"1fa7b",a:"14.0"},{n:["door"],u:"1f6aa",a:"0.6"},{n:["elevator"],u:"1f6d7",a:"13.0"},{n:["mirror"],u:"1fa9e",a:"13.0"},{n:["window"],u:"1fa9f",a:"13.0"},{n:["bed"],u:"1f6cf-fe0f",a:"0.7"},{n:["couch and lamp"],u:"1f6cb-fe0f",a:"0.7"},{n:["chair"],u:"1fa91",a:"12.0"},{n:["toilet"],u:"1f6bd",a:"0.6"},{n:["plunger"],u:"1faa0",a:"13.0"},{n:["shower"],u:"1f6bf",a:"1.0"},{n:["bathtub"],u:"1f6c1",a:"1.0"},{n:["mouse trap"],u:"1faa4",a:"13.0"},{n:["razor"],u:"1fa92",a:"12.0"},{n:["lotion bottle"],u:"1f9f4",a:"11.0"},{n:["safety pin"],u:"1f9f7",a:"11.0"},{n:["broom"],u:"1f9f9",a:"11.0"},{n:["basket"],u:"1f9fa",a:"11.0"},{n:["roll of paper"],u:"1f9fb",a:"11.0"},{n:["bucket"],u:"1faa3",a:"13.0"},{n:["soap","bar of soap"],u:"1f9fc",a:"11.0"},{n:["bubbles"],u:"1fae7",a:"14.0"},{n:["toothbrush"],u:"1faa5",a:"13.0"},{n:["sponge"],u:"1f9fd",a:"11.0"},{n:["fire extinguisher"],u:"1f9ef",a:"11.0"},{n:["shopping trolley"],u:"1f6d2",a:"3.0"},{n:["smoking","smoking symbol"],u:"1f6ac",a:"0.6"},{n:["coffin"],u:"26b0-fe0f",a:"1.0"},{n:["headstone"],u:"1faa6",a:"13.0"},{n:["funeral urn"],u:"26b1-fe0f",a:"1.0"},{n:["nazar amulet"],u:"1f9ff",a:"11.0"},{n:["hamsa"],u:"1faac",a:"14.0"},{n:["moyai"],u:"1f5ff",a:"0.6"},{n:["placard"],u:"1faa7",a:"13.0"},{n:["identification card"],u:"1faaa",a:"14.0"}],symbols:[{n:["atm","automated teller machine"],u:"1f3e7",a:"0.6"},{n:["put litter in its place","put litter in its place symbol"],u:"1f6ae",a:"1.0"},{n:["potable water","potable water symbol"],u:"1f6b0",a:"1.0"},{n:["wheelchair","wheelchair symbol"],u:"267f",a:"0.6"},{n:["mens","mens symbol"],u:"1f6b9",a:"0.6"},{n:["womens","womens symbol"],u:"1f6ba",a:"0.6"},{n:["restroom"],u:"1f6bb",a:"0.6"},{n:["baby symbol"],u:"1f6bc",a:"0.6"},{n:["wc","water closet"],u:"1f6be",a:"0.6"},{n:["passport control"],u:"1f6c2",a:"1.0"},{n:["customs"],u:"1f6c3",a:"1.0"},{n:["baggage claim"],u:"1f6c4",a:"1.0"},{n:["left luggage"],u:"1f6c5",a:"1.0"},{n:["warning","warning sign"],u:"26a0-fe0f",a:"0.6"},{n:["children crossing"],u:"1f6b8",a:"1.0"},{n:["no entry"],u:"26d4",a:"0.6"},{n:["no entry sign"],u:"1f6ab",a:"0.6"},{n:["no bicycles"],u:"1f6b3",a:"1.0"},{n:["no smoking","no smoking symbol"],u:"1f6ad",a:"0.6"},{n:["do not litter","do not litter symbol"],u:"1f6af",a:"1.0"},{n:["non-potable water","non-potable water symbol"],u:"1f6b1",a:"1.0"},{n:["no pedestrians"],u:"1f6b7",a:"1.0"},{n:["no mobile phones"],u:"1f4f5",a:"1.0"},{n:["underage","no one under eighteen symbol"],u:"1f51e",a:"0.6"},{n:["radioactive","radioactive sign"],u:"2622-fe0f",a:"1.0"},{n:["biohazard","biohazard sign"],u:"2623-fe0f",a:"1.0"},{n:["arrow up","upwards black arrow"],u:"2b06-fe0f",a:"0.6"},{n:["north east arrow","arrow upper right"],u:"2197-fe0f",a:"0.6"},{n:["arrow right","black rightwards arrow"],u:"27a1-fe0f",a:"0.6"},{n:["south east arrow","arrow lower right"],u:"2198-fe0f",a:"0.6"},{n:["arrow down","downwards black arrow"],u:"2b07-fe0f",a:"0.6"},{n:["south west arrow","arrow lower left"],u:"2199-fe0f",a:"0.6"},{n:["arrow left","leftwards black arrow"],u:"2b05-fe0f",a:"0.6"},{n:["north west arrow","arrow upper left"],u:"2196-fe0f",a:"0.6"},{n:["up down arrow","arrow up down"],u:"2195-fe0f",a:"0.6"},{n:["left right arrow"],u:"2194-fe0f",a:"0.6"},{n:["leftwards arrow with hook"],u:"21a9-fe0f",a:"0.6"},{n:["arrow right hook","rightwards arrow with hook"],u:"21aa-fe0f",a:"0.6"},{n:["arrow heading up","arrow pointing rightwards then curving upwards"],u:"2934-fe0f",a:"0.6"},{n:["arrow heading down","arrow pointing rightwards then curving downwards"],u:"2935-fe0f",a:"0.6"},{n:["arrows clockwise","clockwise downwards and upwards open circle arrows"],u:"1f503",a:"0.6"},{n:["arrows counterclockwise","anticlockwise downwards and upwards open circle arrows"],u:"1f504",a:"1.0"},{n:["back","back with leftwards arrow above"],u:"1f519",a:"0.6"},{n:["end","end with leftwards arrow above"],u:"1f51a",a:"0.6"},{n:["on","on with exclamation mark with left right arrow above"],u:"1f51b",a:"0.6"},{n:["soon","soon with rightwards arrow above"],u:"1f51c",a:"0.6"},{n:["top","top with upwards arrow above"],u:"1f51d",a:"0.6"},{n:["place of worship"],u:"1f6d0",a:"1.0"},{n:["atom symbol"],u:"269b-fe0f",a:"1.0"},{n:["om","om symbol"],u:"1f549-fe0f",a:"0.7"},{n:["star of david"],u:"2721-fe0f",a:"0.7"},{n:["wheel of dharma"],u:"2638-fe0f",a:"0.7"},{n:["yin yang"],u:"262f-fe0f",a:"0.7"},{n:["latin cross"],u:"271d-fe0f",a:"0.7"},{n:["orthodox cross"],u:"2626-fe0f",a:"1.0"},{n:["star and crescent"],u:"262a-fe0f",a:"0.7"},{n:["peace symbol"],u:"262e-fe0f",a:"1.0"},{n:["menorah with nine branches"],u:"1f54e",a:"1.0"},{n:["six pointed star","six pointed star with middle dot"],u:"1f52f",a:"0.6"},{n:["khanda"],u:"1faaf",a:"15.0"},{n:["aries"],u:"2648",a:"0.6"},{n:["taurus"],u:"2649",a:"0.6"},{n:["gemini"],u:"264a",a:"0.6"},{n:["cancer"],u:"264b",a:"0.6"},{n:["leo"],u:"264c",a:"0.6"},{n:["virgo"],u:"264d",a:"0.6"},{n:["libra"],u:"264e",a:"0.6"},{n:["scorpius"],u:"264f",a:"0.6"},{n:["sagittarius"],u:"2650",a:"0.6"},{n:["capricorn"],u:"2651",a:"0.6"},{n:["aquarius"],u:"2652",a:"0.6"},{n:["pisces"],u:"2653",a:"0.6"},{n:["ophiuchus"],u:"26ce",a:"0.6"},{n:["twisted rightwards arrows"],u:"1f500",a:"1.0"},{n:["repeat","clockwise rightwards and leftwards open circle arrows"],u:"1f501",a:"1.0"},{n:["repeat one","clockwise rightwards and leftwards open circle arrows with circled one overlay"],u:"1f502",a:"1.0"},{n:["arrow forward","black right-pointing triangle"],u:"25b6-fe0f",a:"0.6"},{n:["fast forward","black right-pointing double triangle"],u:"23e9",a:"0.6"},{n:["next track button","black right pointing double triangle with vertical bar"],u:"23ed-fe0f",a:"0.7"},{n:["play or pause button","black right pointing triangle with double vertical bar"],u:"23ef-fe0f",a:"1.0"},{n:["arrow backward","black left-pointing triangle"],u:"25c0-fe0f",a:"0.6"},{n:["rewind","black left-pointing double triangle"],u:"23ea",a:"0.6"},{n:["last track button","black left pointing double triangle with vertical bar"],u:"23ee-fe0f",a:"0.7"},{n:["arrow up small","up-pointing small red triangle"],u:"1f53c",a:"0.6"},{n:["arrow double up","black up-pointing double triangle"],u:"23eb",a:"0.6"},{n:["arrow down small","down-pointing small red triangle"],u:"1f53d",a:"0.6"},{n:["arrow double down","black down-pointing double triangle"],u:"23ec",a:"0.6"},{n:["pause button","double vertical bar"],u:"23f8-fe0f",a:"0.7"},{n:["stop button","black square for stop"],u:"23f9-fe0f",a:"0.7"},{n:["record button","black circle for record"],u:"23fa-fe0f",a:"0.7"},{n:["eject","eject button"],u:"23cf-fe0f",a:"1.0"},{n:["cinema"],u:"1f3a6",a:"0.6"},{n:["low brightness","low brightness symbol"],u:"1f505",a:"1.0"},{n:["high brightness","high brightness symbol"],u:"1f506",a:"1.0"},{n:["signal strength","antenna with bars"],u:"1f4f6",a:"0.6"},{n:["wireless"],u:"1f6dc",a:"15.0"},{n:["vibration mode"],u:"1f4f3",a:"0.6"},{n:["mobile phone off"],u:"1f4f4",a:"0.6"},{n:["female sign"],u:"2640-fe0f",a:"4.0"},{n:["male sign"],u:"2642-fe0f",a:"4.0"},{n:["transgender symbol"],u:"26a7-fe0f",a:"13.0"},{n:["heavy multiplication x"],u:"2716-fe0f",a:"0.6"},{n:["heavy plus sign"],u:"2795",a:"0.6"},{n:["heavy minus sign"],u:"2796",a:"0.6"},{n:["heavy division sign"],u:"2797",a:"0.6"},{n:["heavy equals sign"],u:"1f7f0",a:"14.0"},{n:["infinity"],u:"267e-fe0f",a:"11.0"},{n:["bangbang","double exclamation mark"],u:"203c-fe0f",a:"0.6"},{n:["interrobang","exclamation question mark"],u:"2049-fe0f",a:"0.6"},{n:["question","black question mark ornament"],u:"2753",a:"0.6"},{n:["grey question","white question mark ornament"],u:"2754",a:"0.6"},{n:["grey exclamation","white exclamation mark ornament"],u:"2755",a:"0.6"},{n:["exclamation","heavy exclamation mark","heavy exclamation mark symbol"],u:"2757",a:"0.6"},{n:["wavy dash"],u:"3030-fe0f",a:"0.6"},{n:["currency exchange"],u:"1f4b1",a:"0.6"},{n:["heavy dollar sign"],u:"1f4b2",a:"0.6"},{n:["medical symbol","staff of aesculapius"],u:"2695-fe0f",a:"4.0"},{n:["recycle","black universal recycling symbol"],u:"267b-fe0f",a:"0.6"},{n:["fleur-de-lis","fleur de lis"],u:"269c-fe0f",a:"1.0"},{n:["trident","trident emblem"],u:"1f531",a:"0.6"},{n:["name badge"],u:"1f4db",a:"0.6"},{n:["beginner","japanese symbol for beginner"],u:"1f530",a:"0.6"},{n:["o","heavy large circle"],u:"2b55",a:"0.6"},{n:["white check mark","white heavy check mark"],u:"2705",a:"0.6"},{n:["ballot box with check"],u:"2611-fe0f",a:"0.6"},{n:["heavy check mark"],u:"2714-fe0f",a:"0.6"},{n:["x","cross mark"],u:"274c",a:"0.6"},{n:["negative squared cross mark"],u:"274e",a:"0.6"},{n:["curly loop"],u:"27b0",a:"0.6"},{n:["loop","double curly loop"],u:"27bf",a:"1.0"},{n:["part alternation mark"],u:"303d-fe0f",a:"0.6"},{n:["eight spoked asterisk"],u:"2733-fe0f",a:"0.6"},{n:["eight pointed black star"],u:"2734-fe0f",a:"0.6"},{n:["sparkle"],u:"2747-fe0f",a:"0.6"},{n:["copyright","copyright sign"],u:"00a9-fe0f",a:"0.6"},{n:["registered","registered sign"],u:"00ae-fe0f",a:"0.6"},{n:["tm","trade mark sign"],u:"2122-fe0f",a:"0.6"},{n:["hash","hash key"],u:"0023-fe0f-20e3",a:"0.6"},{n:["keycap: *","keycap star"],u:"002a-fe0f-20e3",a:"2.0"},{n:["zero","keycap 0"],u:"0030-fe0f-20e3",a:"0.6"},{n:["one","keycap 1"],u:"0031-fe0f-20e3",a:"0.6"},{n:["two","keycap 2"],u:"0032-fe0f-20e3",a:"0.6"},{n:["three","keycap 3"],u:"0033-fe0f-20e3",a:"0.6"},{n:["four","keycap 4"],u:"0034-fe0f-20e3",a:"0.6"},{n:["five","keycap 5"],u:"0035-fe0f-20e3",a:"0.6"},{n:["six","keycap 6"],u:"0036-fe0f-20e3",a:"0.6"},{n:["seven","keycap 7"],u:"0037-fe0f-20e3",a:"0.6"},{n:["eight","keycap 8"],u:"0038-fe0f-20e3",a:"0.6"},{n:["nine","keycap 9"],u:"0039-fe0f-20e3",a:"0.6"},{n:["keycap ten"],u:"1f51f",a:"0.6"},{n:["capital abcd","input symbol for latin capital letters"],u:"1f520",a:"0.6"},{n:["abcd","input symbol for latin small letters"],u:"1f521",a:"0.6"},{n:["1234","input symbol for numbers"],u:"1f522",a:"0.6"},{n:["symbols","input symbol for symbols"],u:"1f523",a:"0.6"},{n:["abc","input symbol for latin letters"],u:"1f524",a:"0.6"},{n:["a","negative squared latin capital letter a"],u:"1f170-fe0f",a:"0.6"},{n:["ab","negative squared ab"],u:"1f18e",a:"0.6"},{n:["b","negative squared latin capital letter b"],u:"1f171-fe0f",a:"0.6"},{n:["cl","squared cl"],u:"1f191",a:"0.6"},{n:["cool","squared cool"],u:"1f192",a:"0.6"},{n:["free","squared free"],u:"1f193",a:"0.6"},{n:["information source"],u:"2139-fe0f",a:"0.6"},{n:["id","squared id"],u:"1f194",a:"0.6"},{n:["m","circled latin capital letter m"],u:"24c2-fe0f",a:"0.6"},{n:["new","squared new"],u:"1f195",a:"0.6"},{n:["ng","squared ng"],u:"1f196",a:"0.6"},{n:["o2","negative squared latin capital letter o"],u:"1f17e-fe0f",a:"0.6"},{n:["ok","squared ok"],u:"1f197",a:"0.6"},{n:["parking","negative squared latin capital letter p"],u:"1f17f-fe0f",a:"0.6"},{n:["sos","squared sos"],u:"1f198",a:"0.6"},{n:["up","squared up with exclamation mark"],u:"1f199",a:"0.6"},{n:["vs","squared vs"],u:"1f19a",a:"0.6"},{n:["koko","squared katakana koko"],u:"1f201",a:"0.6"},{n:["sa","squared katakana sa"],u:"1f202-fe0f",a:"0.6"},{n:["u6708","squared cjk unified ideograph-6708"],u:"1f237-fe0f",a:"0.6"},{n:["u6709","squared cjk unified ideograph-6709"],u:"1f236",a:"0.6"},{n:["u6307","squared cjk unified ideograph-6307"],u:"1f22f",a:"0.6"},{n:["ideograph advantage","circled ideograph advantage"],u:"1f250",a:"0.6"},{n:["u5272","squared cjk unified ideograph-5272"],u:"1f239",a:"0.6"},{n:["u7121","squared cjk unified ideograph-7121"],u:"1f21a",a:"0.6"},{n:["u7981","squared cjk unified ideograph-7981"],u:"1f232",a:"0.6"},{n:["accept","circled ideograph accept"],u:"1f251",a:"0.6"},{n:["u7533","squared cjk unified ideograph-7533"],u:"1f238",a:"0.6"},{n:["u5408","squared cjk unified ideograph-5408"],u:"1f234",a:"0.6"},{n:["u7a7a","squared cjk unified ideograph-7a7a"],u:"1f233",a:"0.6"},{n:["congratulations","circled ideograph congratulation"],u:"3297-fe0f",a:"0.6"},{n:["secret","circled ideograph secret"],u:"3299-fe0f",a:"0.6"},{n:["u55b6","squared cjk unified ideograph-55b6"],u:"1f23a",a:"0.6"},{n:["u6e80","squared cjk unified ideograph-6e80"],u:"1f235",a:"0.6"},{n:["red circle","large red circle"],u:"1f534",a:"0.6"},{n:["large orange circle"],u:"1f7e0",a:"12.0"},{n:["large yellow circle"],u:"1f7e1",a:"12.0"},{n:["large green circle"],u:"1f7e2",a:"12.0"},{n:["large blue circle"],u:"1f535",a:"0.6"},{n:["large purple circle"],u:"1f7e3",a:"12.0"},{n:["large brown circle"],u:"1f7e4",a:"12.0"},{n:["black circle","medium black circle"],u:"26ab",a:"0.6"},{n:["white circle","medium white circle"],u:"26aa",a:"0.6"},{n:["large red square"],u:"1f7e5",a:"12.0"},{n:["large orange square"],u:"1f7e7",a:"12.0"},{n:["large yellow square"],u:"1f7e8",a:"12.0"},{n:["large green square"],u:"1f7e9",a:"12.0"},{n:["large blue square"],u:"1f7e6",a:"12.0"},{n:["large purple square"],u:"1f7ea",a:"12.0"},{n:["large brown square"],u:"1f7eb",a:"12.0"},{n:["black large square"],u:"2b1b",a:"0.6"},{n:["white large square"],u:"2b1c",a:"0.6"},{n:["black medium square"],u:"25fc-fe0f",a:"0.6"},{n:["white medium square"],u:"25fb-fe0f",a:"0.6"},{n:["black medium small square"],u:"25fe",a:"0.6"},{n:["white medium small square"],u:"25fd",a:"0.6"},{n:["black small square"],u:"25aa-fe0f",a:"0.6"},{n:["white small square"],u:"25ab-fe0f",a:"0.6"},{n:["large orange diamond"],u:"1f536",a:"0.6"},{n:["large blue diamond"],u:"1f537",a:"0.6"},{n:["small orange diamond"],u:"1f538",a:"0.6"},{n:["small blue diamond"],u:"1f539",a:"0.6"},{n:["small red triangle","up-pointing red triangle"],u:"1f53a",a:"0.6"},{n:["small red triangle down","down-pointing red triangle"],u:"1f53b",a:"0.6"},{n:["diamond shape with a dot inside"],u:"1f4a0",a:"0.6"},{n:["radio button"],u:"1f518",a:"0.6"},{n:["white square button"],u:"1f533",a:"0.6"},{n:["black square button"],u:"1f532",a:"0.6"}],flags:[{n:["chequered flag","checkered flag"],u:"1f3c1",a:"0.6"},{n:["triangular flag on post"],u:"1f6a9",a:"0.6"},{n:["crossed flags"],u:"1f38c",a:"0.6"},{n:["waving black flag"],u:"1f3f4",a:"1.0"},{n:["white flag","waving white flag"],u:"1f3f3-fe0f",a:"0.7"},{n:["rainbow flag","rainbow-flag"],u:"1f3f3-fe0f-200d-1f308",a:"4.0"},{n:["transgender flag"],u:"1f3f3-fe0f-200d-26a7-fe0f",a:"13.0"},{n:["pirate flag"],u:"1f3f4-200d-2620-fe0f",a:"11.0"},{n:["flag-ac","ascension island flag"],u:"1f1e6-1f1e8",a:"2.0"},{n:["flag-ad","andorra flag"],u:"1f1e6-1f1e9",a:"2.0"},{n:["flag-ae","united arab emirates flag"],u:"1f1e6-1f1ea",a:"2.0"},{n:["flag-af","afghanistan flag"],u:"1f1e6-1f1eb",a:"2.0"},{n:["flag-ag","antigua & barbuda flag"],u:"1f1e6-1f1ec",a:"2.0"},{n:["flag-ai","anguilla flag"],u:"1f1e6-1f1ee",a:"2.0"},{n:["flag-al","albania flag"],u:"1f1e6-1f1f1",a:"2.0"},{n:["flag-am","armenia flag"],u:"1f1e6-1f1f2",a:"2.0"},{n:["flag-ao","angola flag"],u:"1f1e6-1f1f4",a:"2.0"},{n:["flag-aq","antarctica flag"],u:"1f1e6-1f1f6",a:"2.0"},{n:["flag-ar","argentina flag"],u:"1f1e6-1f1f7",a:"2.0"},{n:["flag-as","american samoa flag"],u:"1f1e6-1f1f8",a:"2.0"},{n:["flag-at","austria flag"],u:"1f1e6-1f1f9",a:"2.0"},{n:["flag-au","australia flag"],u:"1f1e6-1f1fa",a:"2.0"},{n:["flag-aw","aruba flag"],u:"1f1e6-1f1fc",a:"2.0"},{n:["flag-ax","åland islands flag"],u:"1f1e6-1f1fd",a:"2.0"},{n:["flag-az","azerbaijan flag"],u:"1f1e6-1f1ff",a:"2.0"},{n:["flag-ba","bosnia & herzegovina flag"],u:"1f1e7-1f1e6",a:"2.0"},{n:["flag-bb","barbados flag"],u:"1f1e7-1f1e7",a:"2.0"},{n:["flag-bd","bangladesh flag"],u:"1f1e7-1f1e9",a:"2.0"},{n:["flag-be","belgium flag"],u:"1f1e7-1f1ea",a:"2.0"},{n:["flag-bf","burkina faso flag"],u:"1f1e7-1f1eb",a:"2.0"},{n:["flag-bg","bulgaria flag"],u:"1f1e7-1f1ec",a:"2.0"},{n:["flag-bh","bahrain flag"],u:"1f1e7-1f1ed",a:"2.0"},{n:["flag-bi","burundi flag"],u:"1f1e7-1f1ee",a:"2.0"},{n:["flag-bj","benin flag"],u:"1f1e7-1f1ef",a:"2.0"},{n:["flag-bl","st. barthélemy flag"],u:"1f1e7-1f1f1",a:"2.0"},{n:["flag-bm","bermuda flag"],u:"1f1e7-1f1f2",a:"2.0"},{n:["flag-bn","brunei flag"],u:"1f1e7-1f1f3",a:"2.0"},{n:["flag-bo","bolivia flag"],u:"1f1e7-1f1f4",a:"2.0"},{n:["flag-bq","caribbean netherlands flag"],u:"1f1e7-1f1f6",a:"2.0"},{n:["flag-br","brazil flag"],u:"1f1e7-1f1f7",a:"2.0"},{n:["flag-bs","bahamas flag"],u:"1f1e7-1f1f8",a:"2.0"},{n:["flag-bt","bhutan flag"],u:"1f1e7-1f1f9",a:"2.0"},{n:["flag-bv","bouvet island flag"],u:"1f1e7-1f1fb",a:"2.0"},{n:["flag-bw","botswana flag"],u:"1f1e7-1f1fc",a:"2.0"},{n:["flag-by","belarus flag"],u:"1f1e7-1f1fe",a:"2.0"},{n:["flag-bz","belize flag"],u:"1f1e7-1f1ff",a:"2.0"},{n:["flag-ca","canada flag"],u:"1f1e8-1f1e6",a:"2.0"},{n:["flag-cc","cocos (keeling) islands flag"],u:"1f1e8-1f1e8",a:"2.0"},{n:["flag-cd","congo - kinshasa flag"],u:"1f1e8-1f1e9",a:"2.0"},{n:["flag-cf","central african republic flag"],u:"1f1e8-1f1eb",a:"2.0"},{n:["flag-cg","congo - brazzaville flag"],u:"1f1e8-1f1ec",a:"2.0"},{n:["flag-ch","switzerland flag"],u:"1f1e8-1f1ed",a:"2.0"},{n:["flag-ci","côte d’ivoire flag"],u:"1f1e8-1f1ee",a:"2.0"},{n:["flag-ck","cook islands flag"],u:"1f1e8-1f1f0",a:"2.0"},{n:["flag-cl","chile flag"],u:"1f1e8-1f1f1",a:"2.0"},{n:["flag-cm","cameroon flag"],u:"1f1e8-1f1f2",a:"2.0"},{n:["cn","flag-cn","china flag"],u:"1f1e8-1f1f3",a:"0.6"},{n:["flag-co","colombia flag"],u:"1f1e8-1f1f4",a:"2.0"},{n:["flag-cp","clipperton island flag"],u:"1f1e8-1f1f5",a:"2.0"},{n:["flag-cr","costa rica flag"],u:"1f1e8-1f1f7",a:"2.0"},{n:["flag-cu","cuba flag"],u:"1f1e8-1f1fa",a:"2.0"},{n:["flag-cv","cape verde flag"],u:"1f1e8-1f1fb",a:"2.0"},{n:["flag-cw","curaçao flag"],u:"1f1e8-1f1fc",a:"2.0"},{n:["flag-cx","christmas island flag"],u:"1f1e8-1f1fd",a:"2.0"},{n:["flag-cy","cyprus flag"],u:"1f1e8-1f1fe",a:"2.0"},{n:["flag-cz","czechia flag"],u:"1f1e8-1f1ff",a:"2.0"},{n:["de","flag-de","germany flag"],u:"1f1e9-1f1ea",a:"0.6"},{n:["flag-dg","diego garcia flag"],u:"1f1e9-1f1ec",a:"2.0"},{n:["flag-dj","djibouti flag"],u:"1f1e9-1f1ef",a:"2.0"},{n:["flag-dk","denmark flag"],u:"1f1e9-1f1f0",a:"2.0"},{n:["flag-dm","dominica flag"],u:"1f1e9-1f1f2",a:"2.0"},{n:["flag-do","dominican republic flag"],u:"1f1e9-1f1f4",a:"2.0"},{n:["flag-dz","algeria flag"],u:"1f1e9-1f1ff",a:"2.0"},{n:["flag-ea","ceuta & melilla flag"],u:"1f1ea-1f1e6",a:"2.0"},{n:["flag-ec","ecuador flag"],u:"1f1ea-1f1e8",a:"2.0"},{n:["flag-ee","estonia flag"],u:"1f1ea-1f1ea",a:"2.0"},{n:["flag-eg","egypt flag"],u:"1f1ea-1f1ec",a:"2.0"},{n:["flag-eh","western sahara flag"],u:"1f1ea-1f1ed",a:"2.0"},{n:["flag-er","eritrea flag"],u:"1f1ea-1f1f7",a:"2.0"},{n:["es","flag-es","spain flag"],u:"1f1ea-1f1f8",a:"0.6"},{n:["flag-et","ethiopia flag"],u:"1f1ea-1f1f9",a:"2.0"},{n:["flag-eu","european union flag"],u:"1f1ea-1f1fa",a:"2.0"},{n:["flag-fi","finland flag"],u:"1f1eb-1f1ee",a:"2.0"},{n:["flag-fj","fiji flag"],u:"1f1eb-1f1ef",a:"2.0"},{n:["flag-fk","falkland islands flag"],u:"1f1eb-1f1f0",a:"2.0"},{n:["flag-fm","micronesia flag"],u:"1f1eb-1f1f2",a:"2.0"},{n:["flag-fo","faroe islands flag"],u:"1f1eb-1f1f4",a:"2.0"},{n:["fr","flag-fr","france flag"],u:"1f1eb-1f1f7",a:"0.6"},{n:["flag-ga","gabon flag"],u:"1f1ec-1f1e6",a:"2.0"},{n:["gb","uk","flag-gb","united kingdom flag"],u:"1f1ec-1f1e7",a:"0.6"},{n:["flag-gd","grenada flag"],u:"1f1ec-1f1e9",a:"2.0"},{n:["flag-ge","georgia flag"],u:"1f1ec-1f1ea",a:"2.0"},{n:["flag-gf","french guiana flag"],u:"1f1ec-1f1eb",a:"2.0"},{n:["flag-gg","guernsey flag"],u:"1f1ec-1f1ec",a:"2.0"},{n:["flag-gh","ghana flag"],u:"1f1ec-1f1ed",a:"2.0"},{n:["flag-gi","gibraltar flag"],u:"1f1ec-1f1ee",a:"2.0"},{n:["flag-gl","greenland flag"],u:"1f1ec-1f1f1",a:"2.0"},{n:["flag-gm","gambia flag"],u:"1f1ec-1f1f2",a:"2.0"},{n:["flag-gn","guinea flag"],u:"1f1ec-1f1f3",a:"2.0"},{n:["flag-gp","guadeloupe flag"],u:"1f1ec-1f1f5",a:"2.0"},{n:["flag-gq","equatorial guinea flag"],u:"1f1ec-1f1f6",a:"2.0"},{n:["flag-gr","greece flag"],u:"1f1ec-1f1f7",a:"2.0"},{n:["flag-gs","south georgia & south sandwich islands flag"],u:"1f1ec-1f1f8",a:"2.0"},{n:["flag-gt","guatemala flag"],u:"1f1ec-1f1f9",a:"2.0"},{n:["flag-gu","guam flag"],u:"1f1ec-1f1fa",a:"2.0"},{n:["flag-gw","guinea-bissau flag"],u:"1f1ec-1f1fc",a:"2.0"},{n:["flag-gy","guyana flag"],u:"1f1ec-1f1fe",a:"2.0"},{n:["flag-hk","hong kong sar china flag"],u:"1f1ed-1f1f0",a:"2.0"},{n:["flag-hm","heard & mcdonald islands flag"],u:"1f1ed-1f1f2",a:"2.0"},{n:["flag-hn","honduras flag"],u:"1f1ed-1f1f3",a:"2.0"},{n:["flag-hr","croatia flag"],u:"1f1ed-1f1f7",a:"2.0"},{n:["flag-ht","haiti flag"],u:"1f1ed-1f1f9",a:"2.0"},{n:["flag-hu","hungary flag"],u:"1f1ed-1f1fa",a:"2.0"},{n:["flag-ic","canary islands flag"],u:"1f1ee-1f1e8",a:"2.0"},{n:["flag-id","indonesia flag"],u:"1f1ee-1f1e9",a:"2.0"},{n:["flag-ie","ireland flag"],u:"1f1ee-1f1ea",a:"2.0"},{n:["flag-il","israel flag"],u:"1f1ee-1f1f1",a:"2.0"},{n:["flag-im","isle of man flag"],u:"1f1ee-1f1f2",a:"2.0"},{n:["flag-in","india flag"],u:"1f1ee-1f1f3",a:"2.0"},{n:["flag-io","british indian ocean territory flag"],u:"1f1ee-1f1f4",a:"2.0"},{n:["flag-iq","iraq flag"],u:"1f1ee-1f1f6",a:"2.0"},{n:["flag-ir","iran flag"],u:"1f1ee-1f1f7",a:"2.0"},{n:["flag-is","iceland flag"],u:"1f1ee-1f1f8",a:"2.0"},{n:["it","flag-it","italy flag"],u:"1f1ee-1f1f9",a:"0.6"},{n:["flag-je","jersey flag"],u:"1f1ef-1f1ea",a:"2.0"},{n:["flag-jm","jamaica flag"],u:"1f1ef-1f1f2",a:"2.0"},{n:["flag-jo","jordan flag"],u:"1f1ef-1f1f4",a:"2.0"},{n:["jp","flag-jp","japan flag"],u:"1f1ef-1f1f5",a:"0.6"},{n:["flag-ke","kenya flag"],u:"1f1f0-1f1ea",a:"2.0"},{n:["flag-kg","kyrgyzstan flag"],u:"1f1f0-1f1ec",a:"2.0"},{n:["flag-kh","cambodia flag"],u:"1f1f0-1f1ed",a:"2.0"},{n:["flag-ki","kiribati flag"],u:"1f1f0-1f1ee",a:"2.0"},{n:["flag-km","comoros flag"],u:"1f1f0-1f1f2",a:"2.0"},{n:["flag-kn","st. kitts & nevis flag"],u:"1f1f0-1f1f3",a:"2.0"},{n:["flag-kp","north korea flag"],u:"1f1f0-1f1f5",a:"2.0"},{n:["kr","flag-kr","south korea flag"],u:"1f1f0-1f1f7",a:"0.6"},{n:["flag-kw","kuwait flag"],u:"1f1f0-1f1fc",a:"2.0"},{n:["flag-ky","cayman islands flag"],u:"1f1f0-1f1fe",a:"2.0"},{n:["flag-kz","kazakhstan flag"],u:"1f1f0-1f1ff",a:"2.0"},{n:["flag-la","laos flag"],u:"1f1f1-1f1e6",a:"2.0"},{n:["flag-lb","lebanon flag"],u:"1f1f1-1f1e7",a:"2.0"},{n:["flag-lc","st. lucia flag"],u:"1f1f1-1f1e8",a:"2.0"},{n:["flag-li","liechtenstein flag"],u:"1f1f1-1f1ee",a:"2.0"},{n:["flag-lk","sri lanka flag"],u:"1f1f1-1f1f0",a:"2.0"},{n:["flag-lr","liberia flag"],u:"1f1f1-1f1f7",a:"2.0"},{n:["flag-ls","lesotho flag"],u:"1f1f1-1f1f8",a:"2.0"},{n:["flag-lt","lithuania flag"],u:"1f1f1-1f1f9",a:"2.0"},{n:["flag-lu","luxembourg flag"],u:"1f1f1-1f1fa",a:"2.0"},{n:["flag-lv","latvia flag"],u:"1f1f1-1f1fb",a:"2.0"},{n:["flag-ly","libya flag"],u:"1f1f1-1f1fe",a:"2.0"},{n:["flag-ma","morocco flag"],u:"1f1f2-1f1e6",a:"2.0"},{n:["flag-mc","monaco flag"],u:"1f1f2-1f1e8",a:"2.0"},{n:["flag-md","moldova flag"],u:"1f1f2-1f1e9",a:"2.0"},{n:["flag-me","montenegro flag"],u:"1f1f2-1f1ea",a:"2.0"},{n:["flag-mf","st. martin flag"],u:"1f1f2-1f1eb",a:"2.0"},{n:["flag-mg","madagascar flag"],u:"1f1f2-1f1ec",a:"2.0"},{n:["flag-mh","marshall islands flag"],u:"1f1f2-1f1ed",a:"2.0"},{n:["flag-mk","north macedonia flag"],u:"1f1f2-1f1f0",a:"2.0"},{n:["flag-ml","mali flag"],u:"1f1f2-1f1f1",a:"2.0"},{n:["flag-mm","myanmar (burma) flag"],u:"1f1f2-1f1f2",a:"2.0"},{n:["flag-mn","mongolia flag"],u:"1f1f2-1f1f3",a:"2.0"},{n:["flag-mo","macao sar china flag"],u:"1f1f2-1f1f4",a:"2.0"},{n:["flag-mp","northern mariana islands flag"],u:"1f1f2-1f1f5",a:"2.0"},{n:["flag-mq","martinique flag"],u:"1f1f2-1f1f6",a:"2.0"},{n:["flag-mr","mauritania flag"],u:"1f1f2-1f1f7",a:"2.0"},{n:["flag-ms","montserrat flag"],u:"1f1f2-1f1f8",a:"2.0"},{n:["flag-mt","malta flag"],u:"1f1f2-1f1f9",a:"2.0"},{n:["flag-mu","mauritius flag"],u:"1f1f2-1f1fa",a:"2.0"},{n:["flag-mv","maldives flag"],u:"1f1f2-1f1fb",a:"2.0"},{n:["flag-mw","malawi flag"],u:"1f1f2-1f1fc",a:"2.0"},{n:["flag-mx","mexico flag"],u:"1f1f2-1f1fd",a:"2.0"},{n:["flag-my","malaysia flag"],u:"1f1f2-1f1fe",a:"2.0"},{n:["flag-mz","mozambique flag"],u:"1f1f2-1f1ff",a:"2.0"},{n:["flag-na","namibia flag"],u:"1f1f3-1f1e6",a:"2.0"},{n:["flag-nc","new caledonia flag"],u:"1f1f3-1f1e8",a:"2.0"},{n:["flag-ne","niger flag"],u:"1f1f3-1f1ea",a:"2.0"},{n:["flag-nf","norfolk island flag"],u:"1f1f3-1f1eb",a:"2.0"},{n:["flag-ng","nigeria flag"],u:"1f1f3-1f1ec",a:"2.0"},{n:["flag-ni","nicaragua flag"],u:"1f1f3-1f1ee",a:"2.0"},{n:["flag-nl","netherlands flag"],u:"1f1f3-1f1f1",a:"2.0"},{n:["flag-no","norway flag"],u:"1f1f3-1f1f4",a:"2.0"},{n:["flag-np","nepal flag"],u:"1f1f3-1f1f5",a:"2.0"},{n:["flag-nr","nauru flag"],u:"1f1f3-1f1f7",a:"2.0"},{n:["flag-nu","niue flag"],u:"1f1f3-1f1fa",a:"2.0"},{n:["flag-nz","new zealand flag"],u:"1f1f3-1f1ff",a:"2.0"},{n:["flag-om","oman flag"],u:"1f1f4-1f1f2",a:"2.0"},{n:["flag-pa","panama flag"],u:"1f1f5-1f1e6",a:"2.0"},{n:["flag-pe","peru flag"],u:"1f1f5-1f1ea",a:"2.0"},{n:["flag-pf","french polynesia flag"],u:"1f1f5-1f1eb",a:"2.0"},{n:["flag-pg","papua new guinea flag"],u:"1f1f5-1f1ec",a:"2.0"},{n:["flag-ph","philippines flag"],u:"1f1f5-1f1ed",a:"2.0"},{n:["flag-pk","pakistan flag"],u:"1f1f5-1f1f0",a:"2.0"},{n:["flag-pl","poland flag"],u:"1f1f5-1f1f1",a:"2.0"},{n:["flag-pm","st. pierre & miquelon flag"],u:"1f1f5-1f1f2",a:"2.0"},{n:["flag-pn","pitcairn islands flag"],u:"1f1f5-1f1f3",a:"2.0"},{n:["flag-pr","puerto rico flag"],u:"1f1f5-1f1f7",a:"2.0"},{n:["flag-ps","palestinian territories flag"],u:"1f1f5-1f1f8",a:"2.0"},{n:["flag-pt","portugal flag"],u:"1f1f5-1f1f9",a:"2.0"},{n:["flag-pw","palau flag"],u:"1f1f5-1f1fc",a:"2.0"},{n:["flag-py","paraguay flag"],u:"1f1f5-1f1fe",a:"2.0"},{n:["flag-qa","qatar flag"],u:"1f1f6-1f1e6",a:"2.0"},{n:["flag-re","réunion flag"],u:"1f1f7-1f1ea",a:"2.0"},{n:["flag-ro","romania flag"],u:"1f1f7-1f1f4",a:"2.0"},{n:["flag-rs","serbia flag"],u:"1f1f7-1f1f8",a:"2.0"},{n:["ru","flag-ru","russia flag"],u:"1f1f7-1f1fa",a:"0.6"},{n:["flag-rw","rwanda flag"],u:"1f1f7-1f1fc",a:"2.0"},{n:["flag-sa","saudi arabia flag"],u:"1f1f8-1f1e6",a:"2.0"},{n:["flag-sb","solomon islands flag"],u:"1f1f8-1f1e7",a:"2.0"},{n:["flag-sc","seychelles flag"],u:"1f1f8-1f1e8",a:"2.0"},{n:["flag-sd","sudan flag"],u:"1f1f8-1f1e9",a:"2.0"},{n:["flag-se","sweden flag"],u:"1f1f8-1f1ea",a:"2.0"},{n:["flag-sg","singapore flag"],u:"1f1f8-1f1ec",a:"2.0"},{n:["flag-sh","st. helena flag"],u:"1f1f8-1f1ed",a:"2.0"},{n:["flag-si","slovenia flag"],u:"1f1f8-1f1ee",a:"2.0"},{n:["flag-sj","svalbard & jan mayen flag"],u:"1f1f8-1f1ef",a:"2.0"},{n:["flag-sk","slovakia flag"],u:"1f1f8-1f1f0",a:"2.0"},{n:["flag-sl","sierra leone flag"],u:"1f1f8-1f1f1",a:"2.0"},{n:["flag-sm","san marino flag"],u:"1f1f8-1f1f2",a:"2.0"},{n:["flag-sn","senegal flag"],u:"1f1f8-1f1f3",a:"2.0"},{n:["flag-so","somalia flag"],u:"1f1f8-1f1f4",a:"2.0"},{n:["flag-sr","suriname flag"],u:"1f1f8-1f1f7",a:"2.0"},{n:["flag-ss","south sudan flag"],u:"1f1f8-1f1f8",a:"2.0"},{n:["flag-st","são tomé & príncipe flag"],u:"1f1f8-1f1f9",a:"2.0"},{n:["flag-sv","el salvador flag"],u:"1f1f8-1f1fb",a:"2.0"},{n:["flag-sx","sint maarten flag"],u:"1f1f8-1f1fd",a:"2.0"},{n:["flag-sy","syria flag"],u:"1f1f8-1f1fe",a:"2.0"},{n:["flag-sz","eswatini flag"],u:"1f1f8-1f1ff",a:"2.0"},{n:["flag-ta","tristan da cunha flag"],u:"1f1f9-1f1e6",a:"2.0"},{n:["flag-tc","turks & caicos islands flag"],u:"1f1f9-1f1e8",a:"2.0"},{n:["flag-td","chad flag"],u:"1f1f9-1f1e9",a:"2.0"},{n:["flag-tf","french southern territories flag"],u:"1f1f9-1f1eb",a:"2.0"},{n:["flag-tg","togo flag"],u:"1f1f9-1f1ec",a:"2.0"},{n:["flag-th","thailand flag"],u:"1f1f9-1f1ed",a:"2.0"},{n:["flag-tj","tajikistan flag"],u:"1f1f9-1f1ef",a:"2.0"},{n:["flag-tk","tokelau flag"],u:"1f1f9-1f1f0",a:"2.0"},{n:["flag-tl","timor-leste flag"],u:"1f1f9-1f1f1",a:"2.0"},{n:["flag-tm","turkmenistan flag"],u:"1f1f9-1f1f2",a:"2.0"},{n:["flag-tn","tunisia flag"],u:"1f1f9-1f1f3",a:"2.0"},{n:["flag-to","tonga flag"],u:"1f1f9-1f1f4",a:"2.0"},{n:["flag-tr","türkiye flag"],u:"1f1f9-1f1f7",a:"2.0"},{n:["flag-tt","trinidad & tobago flag"],u:"1f1f9-1f1f9",a:"2.0"},{n:["flag-tv","tuvalu flag"],u:"1f1f9-1f1fb",a:"2.0"},{n:["flag-tw","taiwan flag"],u:"1f1f9-1f1fc",a:"2.0"},{n:["flag-tz","tanzania flag"],u:"1f1f9-1f1ff",a:"2.0"},{n:["flag-ua","ukraine flag"],u:"1f1fa-1f1e6",a:"2.0"},{n:["flag-ug","uganda flag"],u:"1f1fa-1f1ec",a:"2.0"},{n:["flag-um","u.s. outlying islands flag"],u:"1f1fa-1f1f2",a:"2.0"},{n:["flag-un","united nations flag"],u:"1f1fa-1f1f3",a:"4.0"},{n:["us","flag-us","united states flag"],u:"1f1fa-1f1f8",a:"0.6"},{n:["flag-uy","uruguay flag"],u:"1f1fa-1f1fe",a:"2.0"},{n:["flag-uz","uzbekistan flag"],u:"1f1fa-1f1ff",a:"2.0"},{n:["flag-va","vatican city flag"],u:"1f1fb-1f1e6",a:"2.0"},{n:["flag-vc","st. vincent & grenadines flag"],u:"1f1fb-1f1e8",a:"2.0"},{n:["flag-ve","venezuela flag"],u:"1f1fb-1f1ea",a:"2.0"},{n:["flag-vg","british virgin islands flag"],u:"1f1fb-1f1ec",a:"2.0"},{n:["flag-vi","u.s. virgin islands flag"],u:"1f1fb-1f1ee",a:"2.0"},{n:["flag-vn","vietnam flag"],u:"1f1fb-1f1f3",a:"2.0"},{n:["flag-vu","vanuatu flag"],u:"1f1fb-1f1fa",a:"2.0"},{n:["flag-wf","wallis & futuna flag"],u:"1f1fc-1f1eb",a:"2.0"},{n:["flag-ws","samoa flag"],u:"1f1fc-1f1f8",a:"2.0"},{n:["flag-xk","kosovo flag"],u:"1f1fd-1f1f0",a:"2.0"},{n:["flag-ye","yemen flag"],u:"1f1fe-1f1ea",a:"2.0"},{n:["flag-yt","mayotte flag"],u:"1f1fe-1f1f9",a:"2.0"},{n:["flag-za","south africa flag"],u:"1f1ff-1f1e6",a:"2.0"},{n:["flag-zm","zambia flag"],u:"1f1ff-1f1f2",a:"2.0"},{n:["flag-zw","zimbabwe flag"],u:"1f1ff-1f1fc",a:"2.0"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",a:"5.0"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",a:"5.0"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",a:"5.0"}]},wh=[qu.NEUTRAL,qu.LIGHT,qu.MEDIUM_LIGHT,qu.MEDIUM,qu.MEDIUM_DARK,qu.DARK],Mh=Object.entries(qu).reduce((function(e,t){var n=t[0];return e[t[1]]=n,e}),{}),bh=wh.reduce((function(e,t){var n;return Object.assign(e,((n={})[t]=t,n))}),{});!function(e){e.name="n",e.unified="u",e.variations="v",e.added_in="a",e.imgUrl="imgUrl"}(mh||(mh={}));var yh={};function Lh(e){Ch(e).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("").forEach((function(t){var n;yh[t]=null!=(n=yh[t])?n:{},yh[t][kh(e)]=e}))}function Ch(e){var t;return null!=(t=e[mh.name])?t:[]}function vh(e){return e?Ch(e)[0]:""}function jh(e){var t=e.split("-"),n=t.splice(1,1)[0];return bh[n]?t.join("-"):e}function kh(e,t){var n,f=e[mh.unified];return t&&Sh(e)&&null!=(n=function(e,t){return t?xh(e).find((function(e){return e.includes(t)})):kh(e)}(e,t))?n:f}function Ih(e,t){return""+function(e){switch(e){case Ku.TWITTER:return hh;case Ku.GOOGLE:return ph;case Ku.FACEBOOK:return uh;case Ku.APPLE:default:return dh}}(t)+e+".png"}function xh(e){var t;return null!=(t=e[mh.variations])?t:[]}function Sh(e){return xh(e).length>0}function Nh(e){if(e){if(Ah[e])return Ah[e];var t=jh(e);return Ah[t]}}setTimeout((function(){Th.reduce((function(e,t){return Lh(t),e}),yh)}));var Th=Object.values(gh).flat();function Dh(e){gh[eh.CUSTOM].length=0,e.forEach((function(e){var t=function(e){var t;return t={},t[mh.name]=e.names.map((function(e){return e.toLowerCase()})),t[mh.unified]=e.id.toLowerCase(),t[mh.added_in]="0",t[mh.imgUrl]=e.imgUrl,t}(e);gh[eh.CUSTOM].push(t),!Ah[t[mh.unified]]&&(Th.push(t),Ah[t[mh.unified]]=t,Lh(t))}))}var Ah={};setTimeout((function(){Th.reduce((function(e,t){return e[kh(t)]=t,Sh(t)&&xh(t).forEach((function(n){e[n]=t})),e}),Ah)}));var Eh=["2640-fe0f","2642-fe0f","2695-fe0f"],zh="Search",Oh="No results found",Ph=" found. Use up and down arrow keys to navigate.",Rh="1 result"+Ph,Jh="%n results"+Ph;function Bh(e){var t,n;void 0===e&&(e={});var f=Qh(),i=Object.assign(f.previewConfig,null!=(t=e.previewConfig)?t:{}),r=Object.assign(f,e),o=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t={});var f={};t.suggestionMode===_u.RECENT&&(f[eh.SUGGESTED]=rh);var i=ah(f);return null!=(n=e)&&n.length?e.map((function(e){return"string"==typeof e?ch(e,f[e]):Ru({},ch(e.category,f[e.category]),e)})):i}(e.categories,{suggestionMode:r.suggestedEmojisMode});r.hiddenEmojis.forEach((function(e){r.unicodeToHide.add(e)})),Dh(null!=(n=r.customEmojis)?n:[]);var a=r.searchDisabled?th.PREVIEW:r.skinTonePickerLocation;return Ru({},r,{categories:o,previewConfig:i,skinTonePickerLocation:a})}function Qh(){return{autoFocusSearch:!0,categories:ah(),className:"",customEmojis:[],defaultSkinTone:qu.NEUTRAL,emojiStyle:Ku.APPLE,emojiVersion:null,getEmojiUrl:Ih,height:450,lazyLoadEmojis:!1,previewConfig:Ru({},Yh),searchDisabled:!1,searchPlaceHolder:zh,searchPlaceholder:zh,skinTonePickerLocation:th.SEARCH,skinTonesDisabled:!1,style:{},suggestedEmojisMode:_u.FREQUENT,theme:Xu.LIGHT,unicodeToHide:new Set(Eh),width:350,reactionsDefaultOpen:!1,reactions:nh,open:!0,allowExpandReactions:!0,hiddenEmojis:[]}}var Yh={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},Uh=["children"],Gh=o(Qh());function Zh(e){var t=e.children,n=function(e){var t,n=f((function(){return Bh(e)})),i=n[0],o=n[1];return r((function(){$u(i,e)||o(Bh(e))}),[null==(t=e.customEmojis)?void 0:t.length,e.open,e.emojiVersion,e.reactionsDefaultOpen,e.searchPlaceHolder,e.searchPlaceholder,e.defaultSkinTone,e.skinTonesDisabled,e.autoFocusSearch,e.emojiStyle,e.theme,e.suggestedEmojisMode,e.lazyLoadEmojis,e.className,e.height,e.width,e.searchDisabled,e.skinTonePickerLocation,e.allowExpandReactions]),i}(Bu(e,Uh));return l(Gh.Provider,{value:n},t)}function Hh(){return a(Gh)}function Wh(e,t){void 0===t&&(t=0);var i=f(e),r=i[0],o=i[1],a=n(null);return[r,function(e){return new Promise((function(n){var f;a.current&&clearTimeout(a.current),a.current=null==(f=window)?void 0:f.setTimeout((function(){o(e),n(e)}),t)}))}]}function Fh(){var e=function(){var e=Hh(),t=e.unicodeToHide;return t}();return function(t){return e.has(t)}}function Vh(){var e=n({}),t=function(){var e=Hh(),t=e.emojiVersion;return t}();return d((function(){var n=parseFloat(""+t);return!t||Number.isNaN(n)?e.current:Th.reduce((function(e,t){return function(e,t){return function(e){return parseFloat(e[mh.added_in])}(e)>t}(t,n)&&(e[kh(t)]=!0),e}),e.current)}),[t])}function $h(){var e=Vh(),t=Fh();return function(n){var f=jh(kh(n));return!(!e[f]&&!t(f))}}function _h(e){var t=e.children,i=Vh(),o=function(){var e=Hh(),t=e.defaultSkinTone;return t}(),a=function(){var e=Hh(),t=e.reactionsDefaultOpen;return t}(),s=n(yh),c=n(!1),d=n(!1),u=n(i),h=Wh(Date.now(),200),p=Wh("",100),m=f(!1),g=f(o),w=f(null),M=f(new Set),b=f(null),y=f(a),L=f(!1),C=L[0];return function(e){r((function(){e(!0)}),[e])}(L[1]),l(Kh.Provider,{value:{activeCategoryState:w,activeSkinTone:g,disallowClickRef:c,disallowMouseRef:d,disallowedEmojisRef:u,emojiVariationPickerState:b,emojisThatFailedToLoadState:M,filterRef:s,isPastInitialLoad:C,searchTerm:p,skinToneFanOpenState:m,suggestedUpdateState:h,reactionsModeState:y}},t)}var Kh=o({activeCategoryState:[null,function(){}],activeSkinTone:[qu.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise((function(){}))}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}],reactionsModeState:[!1,function(){}]});function Xh(){return a(Kh).filterRef}function qh(){return a(Kh).disallowMouseRef}function ep(){return a(Kh).reactionsModeState}function tp(){return a(Kh).searchTerm}function np(){return a(Kh).activeSkinTone}function fp(){return a(Kh).emojisThatFailedToLoadState}function ip(){return a(Kh).emojiVariationPickerState}function rp(){return a(Kh).skinToneFanOpenState}function op(){var e=a(Kh).suggestedUpdateState,t=e[0],n=e[1];return[t,function(){n(Date.now())}]}var ap,sp=e.createContext({});function lp(){return e.useContext(sp)}function cp(){}function dp(){return Hh().allowExpandReactions}function up(){return Hh().skinTonesDisabled}function hp(){return Hh().emojiStyle}function pp(){return Hh().categories}function mp(){return Hh().previewConfig}function gp(){return Hh().searchDisabled}function wp(){return Hh().skinTonePickerLocation}function Mp(){return Hh().getEmojiUrl}function bp(e){return"number"==typeof e?e+"px":e}function yp(){return!!tp()[0]}function Lp(e){e&&requestAnimationFrame((function(){e.focus()}))}function Cp(e){e&&Lp(e.previousElementSibling)}function vp(e){e&&Lp(e.nextElementSibling)}function jp(e){e&&Lp(e.firstElementChild)}function kp(){return document.activeElement}function Ip(e){var t=e.children,f=n(null),i=n(null),r=n(null),o=n(null),a=n(null),s=n(null),c=n(null),d=n(null);return l(Sp.Provider,{value:{AnchoredEmojiRef:i,BodyRef:r,CategoryNavigationRef:s,PickerMainRef:f,SearchInputRef:o,SkinTonePickerRef:a,VariationPickerRef:c,ReactionsRef:d}},t)}!function(e){e.REACTIONS="reactions",e.PICKER="picker"}(ap||(ap={}));var xp,Sp=o({AnchoredEmojiRef:m(),BodyRef:m(),CategoryNavigationRef:m(),PickerMainRef:m(),SearchInputRef:m(),SkinTonePickerRef:m(),VariationPickerRef:m(),ReactionsRef:m()});function Np(){return a(Sp)}function Tp(){return Np().PickerMainRef}function Dp(){return Np().AnchoredEmojiRef}function Ap(){var e=Dp();return function(t){null===t&&null!==e.current&&Lp(e.current),e.current=t}}function Ep(){return Np().BodyRef}function zp(){return Np().SearchInputRef}function Op(){return Np().SkinTonePickerRef}function Pp(){return Np().CategoryNavigationRef}function Rp(e,t){void 0===t&&(t=0);var n=Tm(e);n&&requestAnimationFrame((function(){n.scrollTop=t}))}function Jp(e){if(e&&function(e){return!!e&&Dm(e)<Nm(Fm(e))}(e)&&!e.closest(Uu(Tu.variationPicker))){var t=Am(e),n=Dm(e);!function(e,t){var n=Tm(e);n&&requestAnimationFrame((function(){n.scrollTop=n.scrollTop+t}))}(t,-(Nm(Fm(e))-n))}}function Bp(e){var t=Zm(e);Lp(t),Jp(t)}function Qp(e){if(e){var t=Um(e);if(!t)return Bp(Wm(e));Lp(t),Jp(t)}}function Yp(e){if(e){var t=Gm(e);if(!t)return function(e){Lp(Ym(e))}(Hm(e));Lp(t),Jp(t)}}function Up(e,t){if(e){var n=function(e){if(!e)return null;var t=Vm(e),n=Fm(t),f=Mm(t,e),i=bm(t,e),r=wm(t,e);if(0===i){var o=Hm(n);return o?Lm(Qm(o),-1,r,f):null}return function(e,t,n,f){var i=ym(e,t-1,n);return i[f]||i[i.length-1]||null}(Qm(t),i,r,f)}(e);if(!n)return t();Lp(n),Jp(n)}}function Gp(e){if(e){var t=function(e){if(!e)return null;var t=Vm(e),n=Fm(t),f=Mm(t,e),i=bm(t,e),r=wm(t,e);if(!function(e,t){if(!e||!t)return!1;var n=t.getBoundingClientRect().height,f=t.getBoundingClientRect().top,i=e.getBoundingClientRect().top,r=e.getBoundingClientRect().height;return Math.round(f-i+n)<r}(t,e)){var o=Wm(n);return o?Lm(Qm(o),0,r,f):null}var a=function(e,t,n,f){var i=function(e,t,n){var f=t+1;return f*n>e.length?[]:ym(e,f,n)}(e,t,n);return i[f]||i[i.length-1]||null}(Qm(t),i,r,f);return a}(e);return Lp(t)}}function Zp(){var e=ip(),t=e[0],n=e[1],f=rp(),i=f[0],r=f[1];return c((function(){t&&n(null),i&&r(!1)}),[t,i,n,r])}function Hp(){var e=ip()[0],t=rp()[0];return function(){return!!e||t}}function Wp(){var e=qh();return function(){e.current=!1}}function Fp(){var e=qh();return function(){return e.current}}function Vp(){var e=zp();return c((function(){Lp(e.current)}),[e])}function $p(){var e=Pp();return c((function(){e.current&&jp(e.current)}),[e])}function _p(){var e=Xp(),t=zp(),n=Vp();return function(){t.current&&(t.current.value=""),e(""),n()}}function Kp(){var e=zp(),t=Xh(),n=function(){var e=Xh();return function t(n){if("function"==typeof n)return t(n(e.current));e.current=n}}(),f=Xp(),i=tp()[0],r=function(e,t){var n;if(null==e||!e[t])return"";var f=(null==(n=Object.entries(null==e?void 0:e[t]))?void 0:n.length)||0;return function(e){return e>0?e>1?Jh.replace("%n",e.toString()):Rh:Oh}(f)}(t.current,i);return{onChange:function(e){var i=t.current,r=e.toLowerCase();if(null!=i&&i[r]||r.length<=1)return f(r);var o=function(e,t){if(!t)return null;if(t[e])return t[e];var n=Object.keys(t).sort((function(e,t){return t.length-e.length})).find((function(t){return e.includes(t)}));return n?t[n]:null}(r,i);if(!o)return f(r);n((function(e){var t;return Object.assign(e,((t={})[r]=function(e,t){var n={};for(var f in e){var i=e[f];qp(i,t)&&(n[f]=i)}return n}(o,r),t))})),f(r)},searchTerm:i,SearchInputRef:e,statusSearchResults:r}}function Xp(){var e=tp()[1],t=Tp();return function(n){requestAnimationFrame((function(){e(n&&(null==n?void 0:n.toLowerCase())).then((function(){Rp(t.current,0)}))}))}}function qp(e,t){return Ch(e).some((function(e){return e.includes(t)}))}function em(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function tm(){var e=Ap(),t=ip()[1];return function(n){var f=Im(n)[0];f&&(e(n),t(f))}}function nm(){return wp()===th.SEARCH}function fm(){return wp()===th.PREVIEW}function im(){(function(){var e=Tp(),t=_p(),n=function(){var e=Ep();return c((function(t){requestAnimationFrame((function(){e.current&&(e.current.scrollTop=t)}))}),[e])}(),f=zp(),i=Vp(),o=Hp(),a=function(){var e=qh();return function(){e.current=!0}}(),s=Zp(),l=d((function(){return function(e){var f=e.key;if(a(),f===xp.Escape){if(e.preventDefault(),o())return void s();t(),n(0),i()}}}),[n,t,s,i,o,a]);r((function(){var t=e.current;if(t)return t.addEventListener("keydown",l),function(){t.removeEventListener("keydown",l)}}),[e,f,n,l])})(),function(){var e=function(){var e=Op();return c((function(){e.current&&jp(e.current)}),[e])}(),t=Tp(),n=Ep(),f=zp(),i=rp()[1],o=rm(),a=nm(),s=d((function(){return function(t){switch(t.key){case xp.ArrowRight:if(!a)return;t.preventDefault(),i(!0),e();break;case xp.ArrowDown:t.preventDefault(),o();break;case xp.Enter:t.preventDefault(),function(e){var t=Zm(e);Lp(t),null==t||t.click()}(n.current)}}}),[e,o,i,n,a]);r((function(){var e=f.current;if(e)return e.addEventListener("keydown",s),function(){e.removeEventListener("keydown",s)}}),[t,f,s])}(),function(){var e=Op(),t=Vp(),n=zp(),f=rm(),i=rp(),o=i[0],a=i[1],s=fm(),l=nm(),c=sm(),u=d((function(){return function(e){var n=e.key;if(l)switch(n){case xp.ArrowLeft:if(e.preventDefault(),!o)return t();om(t);break;case xp.ArrowRight:if(e.preventDefault(),!o)return t();am();break;case xp.ArrowDown:e.preventDefault(),o&&a(!1),f();break;default:c(e)}if(s)switch(n){case xp.ArrowUp:if(e.preventDefault(),!o)return t();om(t);break;case xp.ArrowDown:if(e.preventDefault(),!o)return t();am();break;default:c(e)}}}),[o,t,a,f,c,s,l]);r((function(){var t=e.current;if(t)return t.addEventListener("keydown",u),function(){t.removeEventListener("keydown",u)}}),[e,n,o,u])}(),function(){var e=Vp(),t=Pp(),n=Ep(),f=sm(),i=d((function(){return function(t){switch(t.key){case xp.ArrowUp:t.preventDefault(),e();break;case xp.ArrowRight:t.preventDefault(),vp(kp());break;case xp.ArrowLeft:t.preventDefault(),Cp(kp());break;case xp.ArrowDown:t.preventDefault(),Bp(n.current);break;default:f(t)}}}),[n,e,f]);r((function(){var e=t.current;if(e)return e.addEventListener("keydown",i),function(){e.removeEventListener("keydown",i)}}),[t,n,i])}(),function(){var e=Ep(),t=function(){var e=Vp(),t=$p(),n=yp();return c((function(){return n?e():t()}),[e,n,t])}(),n=tm(),f=Hp(),i=Zp(),o=sm(),a=d((function(){return function(e){var r=e.key,a=km(kp());switch(r){case xp.ArrowRight:e.preventDefault(),Qp(a);break;case xp.ArrowLeft:e.preventDefault(),Yp(a);break;case xp.ArrowDown:if(e.preventDefault(),f()){i();break}Gp(a);break;case xp.ArrowUp:if(e.preventDefault(),f()){i();break}Up(a,t);break;case xp.Space:e.preventDefault(),n(e.target);break;default:o(e)}}}),[t,o,n,f,i]);r((function(){var t=e.current;if(t)return t.addEventListener("keydown",a),function(){t.removeEventListener("keydown",a)}}),[e,a])}()}function rm(){var e=$p(),t=yp(),n=Ep();return c((function(){return t?Bp(n.current):e()}),[n,e,t])}function om(e){var t=kp();t&&(function(e){return!!e.nextElementSibling}(t)||e(),vp(t))}function am(){var e=kp();e&&Cp(e)}function sm(){var e=function(){var e=zp(),t=Xp();return function(n){e.current?(e.current.value=""+e.current.value+n,t(em(e.current.value))):t(em(n))}}(),t=Vp(),n=gp(),f=Zp();return function(i){var r=i.key;(function(e){var t=e.metaKey,n=e.ctrlKey,f=e.altKey;return t||n||f})(i)||n||r.match(/(^[a-zA-Z0-9]$){1}/)&&(i.preventDefault(),f(),t(),e(r))}}function lm(e,t,n){if(t&&n!==Ku.NATIVE){var f=kh(t);cm.has(f)||(xh(t).forEach((function(t){!function(e){var t=new Image;t.src=e}(e(t,n))})),cm.add(f))}}!function(e){e.ArrowDown="ArrowDown",e.ArrowUp="ArrowUp",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.Escape="Escape",e.Enter="Enter",e.Space=" "}(xp||(xp={}));var cm=new Set;var dm=["width","height"],um=40;function hm(e){var t=e.children;return l(_h,null,l(pm,null,t))}function pm(e){var t,n=e.children,f=ep()[0],i=Hh().theme,o=yp(),a=Tp(),s=Hh().className,c=function(){var e=Hh(),t=e.height,n=e.width,f=e.style;return Ru({height:bp(t),width:bp(n)},f)}();im(),function(){var e=Ep(),t=hp(),n=Mp();r((function(){if(t!==Ku.NATIVE){var f=e.current;return null==f||f.addEventListener("focusin",i),function(){null==f||f.removeEventListener("focusin",i)}}function i(e){var f=km(e.target);if(f){var i=Im(f)[0];i&&Sh(i)&&lm(n,i,t)}}}),[e,t,n])}();var d=c||{},u=d.width,h=d.height,p=Bu(d,dm);return l("aside",{className:Au(gm.main,gm.baseVariables,i===Xu.DARK&&gm.darkTheme,i===Xu.AUTO&&gm.autoThemeDark,(t={},t[Tu.searchActive]=o,t),f&&gm.reactionsMenu,s),ref:a,style:Ru({},p,!f&&{height:h,width:u})},n)}var mm={"--epr-emoji-variation-picker-bg-color":"var(--epr-dark-emoji-variation-picker-bg-color)","--epr-hover-bg-color-reduced-opacity":"var(--epr-dark-hover-bg-color-reduced-opacity)","--epr-highlight-color":"var(--epr-dark-highlight-color)","--epr-text-color":"var(--epr-dark-text-color)","--epr-hover-bg-color":"var(--epr-dark-hover-bg-color)","--epr-focus-bg-color":"var(--epr-dark-focus-bg-color)","--epr-search-input-bg-color":"var(--epr-dark-search-input-bg-color)","--epr-category-label-bg-color":"var(--epr-dark-category-label-bg-color)","--epr-picker-border-color":"var(--epr-dark-picker-border-color)","--epr-bg-color":"var(--epr-dark-bg-color)","--epr-reactions-bg-color":"var(--epr-dark-reactions-bg-color)","--epr-search-input-bg-color-active":"var(--epr-dark-search-input-bg-color-active)","--epr-emoji-variation-indicator-color":"var(--epr-dark-emoji-variation-indicator-color)","--epr-category-icon-active-color":"var(--epr-dark-category-icon-active-color)","--epr-skin-tone-picker-menu-color":"var(--epr-dark-skin-tone-picker-menu-color)","--epr-skin-tone-outer-border-color":"var(--epr-dark-skin-tone-outer-border-color)","--epr-skin-tone-inner-border-color":"var(--epr-dark-skin-tone-inner-border-color)"},gm=Gu.create({main:{".":["epr-main",Tu.emojiPicker],position:"relative",display:"flex",flexDirection:"column",borderWidth:"1px",borderStyle:"solid",borderRadius:"var(--epr-picker-border-radius)",borderColor:"var(--epr-picker-border-color)",backgroundColor:"var(--epr-bg-color)",overflow:"hidden",transition:"all 0.3s ease-in-out, background-color 0.1s ease-in-out","*":{boxSizing:"border-box",fontFamily:"sans-serif"}},baseVariables:{"--":{"--epr-highlight-color":"#007aeb","--epr-hover-bg-color":"#e5f0fa","--epr-hover-bg-color-reduced-opacity":"#e5f0fa80","--epr-focus-bg-color":"#e0f0ff","--epr-text-color":"#858585","--epr-search-input-bg-color":"#f6f6f6","--epr-picker-border-color":"#e7e7e7","--epr-bg-color":"#fff","--epr-reactions-bg-color":"#ffffff90","--epr-category-icon-active-color":"#6aa8de","--epr-skin-tone-picker-menu-color":"#ffffff95","--epr-skin-tone-outer-border-color":"#555555","--epr-skin-tone-inner-border-color":"var(--epr-bg-color)","--epr-horizontal-padding":"10px","--epr-picker-border-radius":"8px","--epr-search-border-color":"var(--epr-highlight-color)","--epr-header-padding":"15px var(--epr-horizontal-padding)","--epr-active-skin-tone-indicator-border-color":"var(--epr-highlight-color)","--epr-active-skin-hover-color":"var(--epr-hover-bg-color)","--epr-search-input-bg-color-active":"var(--epr-search-input-bg-color)","--epr-search-input-padding":"0 30px","--epr-search-input-border-radius":"8px","--epr-search-input-height":"40px","--epr-search-input-text-color":"var(--epr-text-color)","--epr-search-input-placeholder-color":"var(--epr-text-color)","--epr-search-bar-inner-padding":"var(--epr-horizontal-padding)","--epr-category-navigation-button-size":"30px","--epr-emoji-variation-picker-height":"45px","--epr-emoji-variation-picker-bg-color":"var(--epr-bg-color)","--epr-preview-height":"70px","--epr-preview-text-size":"14px","--epr-preview-text-padding":"0 var(--epr-horizontal-padding)","--epr-preview-border-color":"var(--epr-picker-border-color)","--epr-preview-text-color":"var(--epr-text-color)","--epr-category-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-bg-color":"#ffffffe6","--epr-category-label-text-color":"var(--epr-text-color)","--epr-category-label-padding":"0 var(--epr-horizontal-padding)","--epr-category-label-height":um+"px","--epr-emoji-size":"30px","--epr-emoji-padding":"5px","--epr-emoji-fullsize":"calc(var(--epr-emoji-size) + var(--epr-emoji-padding) * 2)","--epr-emoji-hover-color":"var(--epr-hover-bg-color)","--epr-emoji-variation-indicator-color":"var(--epr-picker-border-color)","--epr-emoji-variation-indicator-color-hover":"var(--epr-text-color)","--epr-header-overlay-z-index":"3","--epr-emoji-variations-indictator-z-index":"1","--epr-category-label-z-index":"2","--epr-skin-variation-picker-z-index":"5","--epr-preview-z-index":"6","--epr-dark":"#000","--epr-dark-emoji-variation-picker-bg-color":"var(--epr-dark)","--epr-dark-highlight-color":"#c0c0c0","--epr-dark-text-color":"var(--epr-highlight-color)","--epr-dark-hover-bg-color":"#363636f6","--epr-dark-hover-bg-color-reduced-opacity":"#36363680","--epr-dark-focus-bg-color":"#474747","--epr-dark-search-input-bg-color":"#333333","--epr-dark-category-label-bg-color":"#222222e6","--epr-dark-picker-border-color":"#151617","--epr-dark-bg-color":"#222222","--epr-dark-reactions-bg-color":"#22222290","--epr-dark-search-input-bg-color-active":"var(--epr-dark)","--epr-dark-emoji-variation-indicator-color":"#444","--epr-dark-category-icon-active-color":"#3271b7","--epr-dark-skin-tone-picker-menu-color":"#22222295","--epr-dark-skin-tone-outer-border-color":"var(--epr-dark-picker-border-color)","--epr-dark-skin-tone-inner-border-color":"#00000000"}},autoThemeDark:{".":Tu.autoTheme,"@media (prefers-color-scheme: dark)":{"--":mm}},darkTheme:{".":Tu.darkTheme,"--":mm},reactionsMenu:{".":"epr-reactions",height:"50px",display:"inline-flex",backgroundColor:"var(--epr-reactions-bg-color)",backdropFilter:"blur(8px)","--":{"--epr-picker-border-radius":"50px"}}});function wm(e,t){if(!e||!t)return 0;var n=e.getBoundingClientRect().width,f=t.getBoundingClientRect().width;return Math.floor(n/f)}function Mm(e,t){if(!e||!t)return 0;var n=t.getBoundingClientRect().width,f=t.getBoundingClientRect().left,i=e.getBoundingClientRect().left;return Math.floor((f-i)/n)}function bm(e,t){if(!e||!t)return 0;var n=t.getBoundingClientRect().height,f=t.getBoundingClientRect().top,i=e.getBoundingClientRect().top;return Math.round((f-i)/n)}function ym(e,t,n){if(-1===t){var f=Math.floor((e.length-1)/n)*n,i=e.length-1;return e.slice(f,i+1)}return e.slice(t*n,(t+1)*n)}function Lm(e,t,n,f){var i=ym(e,t,n);return i[f]||i[i.length-1]||null}function Cm(e,t,n){if(void 0===n&&(n=0),!e||!t.length)return null;var f=e.getBoundingClientRect().top,i=e.getBoundingClientRect().bottom,r=f+function(e){for(var t=Array.from(e.querySelectorAll(Uu(Tu.label))),n=0,f=t;n<f.length;n++){var i=f[n].getBoundingClientRect().height;if(i>0)return i}return um}(e);return t.find((function(e){var t=e.getBoundingClientRect().top,o=e.getBoundingClientRect().bottom,a=e.clientHeight*n,s=t+a,l=o-a;return!(s<r)&&(s>=f&&s<=i||l>=f&&l<=i)}))||null}var vm="button"+Uu(Tu.emoji),jm=[vm,Uu(Tu.visible),":not("+Uu(Tu.hidden)+")"].join("");function km(e){var t;return null!=(t=null==e?void 0:e.closest(vm))?t:null}function Im(e){var t=Pm(e),n=Om(e);if(!t)return[];var f=Nh(n??t);return f?[f,n]:[]}function xm(e){var t;return null!=(t=null==e?void 0:e.clientHeight)?t:0}function Sm(e){if(!e)return 0;var t=km(e),n=Fm(t),f=Nm(n);return Em(t)+Em(n)+f}function Nm(e){var t,n;if(!e)return 0;var f=e.querySelector(Uu(Tu.categoryContent));return(null!=(t=null==e?void 0:e.clientHeight)?t:0)-(null!=(n=null==f?void 0:f.clientHeight)?n:0)}function Tm(e){return e?e.matches(Uu(Tu.scrollBody))?e:e.querySelector(Uu(Tu.scrollBody)):null}function Dm(e){var t,n;return e?Sm(e)-(null!=(t=null==(n=Am(e))?void 0:n.scrollTop)?t:0):0}function Am(e){var t;return e&&null!=(t=e.closest(Uu(Tu.scrollBody)))?t:null}function Em(e){var t;return null!=(t=null==e?void 0:e.offsetTop)?t:0}function zm(e){var t;return null!=(t=null==e?void 0:e.offsetLeft)?t:0}function Om(e){var t;return null!=(t=function(e,t){var n;return null!=(n=function(e){var t;return null!=(t=null==e?void 0:e.dataset)?t:{}}(e)[t])?n:null}(km(e),"unified"))?t:null}function Pm(e){var t=Om(e);return t?jh(t):null}function Rm(e){return e?{unified:Om(e),originalUnified:Pm(e)}:{unified:null,originalUnified:null}}function Jm(e){return e.classList.contains(Tu.visible)}function Bm(e){return!e||e.classList.contains(Tu.hidden)}function Qm(e){return e?Array.from(e.querySelectorAll(jm)):[]}function Ym(e){if(!e)return null;var t=Qm(e).slice(-1)[0];return t?Jm(t)?t:Gm(t):null}function Um(e){var t=e.nextElementSibling;return t?Jm(t)?t:Um(t):Zm(Wm(e))}function Gm(e){var t=e.previousElementSibling;return t?Jm(t)?t:Gm(t):Ym(Hm(e))}function Zm(e){return e?Cm(e,Qm(e),.1):null}function Hm(e){var t=Fm(e);if(!t)return null;var n=t.previousElementSibling;return n?Bm(n)?Hm(n):n:null}function Wm(e){var t=Fm(e);if(!t)return null;var n=t.nextElementSibling;return n?Bm(n)?Wm(n):n:null}function Fm(e){return e?e.closest(Uu(Tu.category)):null}function Vm(e){return e?e.closest(Uu(Tu.categoryContent)):null}function $m(e){return e.split("-").map((function(e){return String.fromCodePoint(parseInt(e,16))})).join("")}var _m="epr_suggested";function Km(e){try{var t,n,f;if(null==(t=window)||!t.localStorage)return[];var i=JSON.parse(null!=(n=null==(f=window)?void 0:f.localStorage.getItem(_m))?n:"[]");return e===_u.FREQUENT?i.sort((function(e,t){return t.count-e.count})):i}catch{return[]}}function Xm(e){return void 0!==e.imgUrl}function qm(e,t){var f=n(),i=tm(),o=a(Kh).disallowClickRef,s=ip()[1],l=Zp(),d=np()[0],u=function(e){var t=lp().current,n=ep()[1],f=t.onEmojiClick||function(){},i=t.onReactionClick;return e===ap.REACTIONS&&i?function(){for(var e=arguments.length,t=new Array(e),f=0;f<e;f++)t[f]=arguments[f];return i.apply(void 0,t.concat([{collapseToReactions:function(){n((function(e){return e}))}}]))}:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];f.apply(void 0,t.concat([{collapseToReactions:function(){n(!0)}}]))}}(t),h=op()[1],p=Mp(),m=hp(),g=c((function(e){if(!o.current){l();var t=eg(e),n=t[0],f=t[1];if(n&&f){var i=function(e){var t=e.split("-")[1];return wh.includes(t)?t:null}(f)||d;h(),function(e,t){var n,f=Km(),i=kh(e,t),r=kh(e),o=f.find((function(e){return e.unified===i}));n=o?[o].concat(f.filter((function(e){return e!==o}))):[o={unified:i,original:r,count:0}].concat(f),o.count++,n.length=Math.min(n.length,14);try{var a;null==(a=window)||a.localStorage.setItem(_m,JSON.stringify(n))}catch{}}(n,i),u(function(e,t,n,f){var i=Ch(e);if(Xm(e)){var r=kh(e);return{activeSkinTone:t,emoji:r,getImageUrl:function(){return e.imgUrl},imageUrl:e.imgUrl,isCustom:!0,names:i,unified:r,unifiedWithoutSkinTone:r}}var o=kh(e,t);return{activeSkinTone:t,emoji:$m(o),getImageUrl:function(e){return void 0===e&&(e=n??Ku.APPLE),f(o,e)},imageUrl:f(o,n??Ku.APPLE),isCustom:!1,names:i,unified:o,unifiedWithoutSkinTone:kh(e)}}(n,i,m,p),e)}}}),[d,l,o,u,h,p,m]),w=c((function(e){var t;f.current&&clearTimeout(f.current);var n=eg(e)[0];!n||!Sh(n)||(f.current=null==(t=window)?void 0:t.setTimeout((function(){o.current=!0,f.current=void 0,l(),i(e.target),s(n)}),500))}),[o,l,i,s]),M=c((function(){f.current?(clearTimeout(f.current),f.current=void 0):o.current&&requestAnimationFrame((function(){o.current=!1}))}),[o]);r((function(){if(e.current){var t=e.current;return t.addEventListener("click",g,{passive:!0}),t.addEventListener("mousedown",w,{passive:!0}),t.addEventListener("mouseup",M,{passive:!0}),function(){null==t||t.removeEventListener("click",g),null==t||t.removeEventListener("mousedown",w),null==t||t.removeEventListener("mouseup",M)}}}),[e,g,w,M])}function eg(e){var t=null==e?void 0:e.target;return function(e){var t;return!!(null!=e&&e.matches(vm)||null!=e&&null!=(t=e.parentElement)&&t.matches(vm))}(t)?Im(t):[]}function tg(e){return l("button",Object.assign({type:"button"},e,{className:Au(ng.button,e.className)}),e.children)}var ng=Gu.create({button:{".":"epr-btn",cursor:"pointer",border:"0",background:"none",outline:"none"}});function fg(e){var t,n=e.emojiNames,f=e.unified,i=e.hidden,r=e.hiddenOnSearch,o=e.showVariations,a=void 0===o||o,s=e.hasVariations,c=e.children,d=e.className,u=e.noBackground,h=void 0!==u&&u;return l(tg,{className:Au(rg.emoji,i&&Hu.hidden,r&&Fu.hiddenOnSearch,(t={},t[Tu.visible]=!i&&!r,t),!(!s||!a)&&rg.hasVariations,h&&rg.noBackground,d),"data-unified":f,"aria-label":ig(n),"data-full-name":n},c)}function ig(e){var t;return e[0].match("flag-")&&null!=(t=e[1])?t:e[0]}var rg=Gu.create({emoji:{".":Tu.emoji,position:"relative",width:"var(--epr-emoji-fullsize)",height:"var(--epr-emoji-fullsize)",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:"var(--epr-emoji-fullsize)",maxHeight:"var(--epr-emoji-fullsize)",borderRadius:"8px",overflow:"hidden",transition:"background-color 0.2s",":hover":{backgroundColor:"var(--epr-emoji-hover-color)"},":focus":{backgroundColor:"var(--epr-focus-bg-color)"}},noBackground:{background:"none",":hover":{backgroundColor:"transparent",background:"none"},":focus":{backgroundColor:"transparent",background:"none"}},hasVariations:{".":Tu.emojiHasVariations,":after":{content:"",display:"block",width:"0",height:"0",right:"0px",bottom:"1px",position:"absolute",borderLeft:"4px solid transparent",borderRight:"4px solid transparent",transform:"rotate(135deg)",borderBottom:"4px solid var(--epr-emoji-variation-indicator-color)",zIndex:"var(--epr-emoji-variations-indictator-z-index)"},":hover:after":{borderBottom:"4px solid var(--epr-emoji-variation-indicator-color-hover)"}}}),og=Gu.create({external:{".":Tu.external,fontSize:"0"},common:{alignSelf:"center",justifySelf:"center",display:"block"}});function ag(e){var t=e.emojiName,n=e.style,f=e.lazyLoad,i=void 0!==f&&f,r=e.imgUrl,o=e.onError,a=e.className;return l("img",{src:r,alt:t,className:Au(sg.emojiImag,og.external,og.common,a),loading:i?"lazy":"eager",onError:o,style:n})}var sg=Gu.create({emojiImag:{".":"epr-emoji-img",maxWidth:"var(--epr-emoji-fullsize)",maxHeight:"var(--epr-emoji-fullsize)",minWidth:"var(--epr-emoji-fullsize)",minHeight:"var(--epr-emoji-fullsize)",padding:"var(--epr-emoji-padding)"}});function lg(e){var t=e.unified,n=e.style,f=e.className;return l("span",{className:Au(cg.nativeEmoji,og.common,og.external,f),"data-unified":t,style:n},$m(t))}var cg=Gu.create({nativeEmoji:{".":"epr-emoji-native",fontFamily:'"Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji"!important',position:"relative",lineHeight:"100%",fontSize:"var(--epr-emoji-size)",textAlign:"center",alignSelf:"center",justifySelf:"center",letterSpacing:"0",padding:"var(--epr-emoji-padding)"}});function dg(e){var t=e.emoji,n=e.unified,f=e.emojiStyle,i=e.size,r=e.lazyLoad,o=e.getEmojiUrl,a=void 0===o?Ih:o,s=e.className,c=fp()[1],d={};i&&(d.width=d.height=d.fontSize=i+"px");var u=t||Nh(n);return u?Xm(u)?l(ag,{style:d,emojiName:n,emojiStyle:Ku.NATIVE,lazyLoad:r,imgUrl:u.imgUrl,onError:p,className:s}):l(h,null,f===Ku.NATIVE?l(lg,{unified:n,style:d,className:s}):l(ag,{style:d,emojiName:vh(u),emojiStyle:f,lazyLoad:r,imgUrl:a(n,f),onError:p,className:s})):null;function p(){c((function(e){return new Set(e).add(n)}))}}function ug(e){var t=e.emoji,n=e.unified,f=e.hidden,i=e.hiddenOnSearch,r=e.emojiStyle,o=e.showVariations,a=void 0===o||o,s=e.size,c=e.lazyLoad,d=e.getEmojiUrl,u=e.className,h=e.noBackground,p=void 0!==h&&h,m=Sh(t);return l(fg,{hasVariations:m,showVariations:a,hidden:f,hiddenOnSearch:i,emojiNames:Ch(t),unified:n,noBackground:p},l(dg,{unified:n,emoji:t,size:s,emojiStyle:r,lazyLoad:c,getEmojiUrl:d,className:u}))}function hg(){var e=ep()[1];return l(tg,{"aria-label":"Show all Emojis",title:"Show all Emojis",tabIndex:0,className:Au(pg.plusSign),onClick:function(){return e(!1)}})}var pg=Gu.create(Ru({plusSign:{fontSize:"20px",padding:"17px",color:"var(--epr-text-color)",borderRadius:"50%",textAlign:"center",lineHeight:"100%",width:"20px",height:"20px",display:"flex",justifyContent:"center",alignItems:"center",transition:"background-color 0.2s ease-in-out",":after":{content:"",minWidth:"20px",minHeight:"20px",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFj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wLjUtMC41aC0zLjR2LTMuNGMwLTAuMy0wLjItMC41LTAuNS0wLjUKCXMtMC41LDAuMi0wLjUsMC41djMuNEg2LjJDNS45LDQ5LjksNS43LDUwLjEsNS43LDUwLjRMNS43LDUwLjR6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik01LjcsNzAuNGMwLDAuMSwwLjEsMC4zLDAuMiwwLjRTNi4xLDcxLDYuMyw3MWgzLjR2My40YzAsMC4xLDAuMSwwLjMsMC4yLDAuNGMwLjEsMC4xLDAuMiwwLjIsMC40LDAuMgoJYzAuMywwLDAuNS0wLjIsMC41LTAuNXYtMy40aDMuNGMwLjMsMCwwLjUtMC4yLDAuNS0wLjVzLTAuMi0wLjUtMC41LTAuNWgtMy40di0zLjRjMC0wLjMtMC4yLTAuNS0wLjUtMC41cy0wLjUsMC4yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=)",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",backgroundPositionY:"0"},":hover":{color:"var(--epr-highlight-color)",backgroundColor:"var(--epr-hover-bg-color-reduced-opacity)",":after":{backgroundPositionY:"-20px"}},":focus":{color:"var(--epr-highlight-color)",backgroundColor:"var(--epr-hover-bg-color-reduced-opacity)",":after":{backgroundPositionY:"-40px"}}}},Vu("plusSign",{":after":{backgroundPositionY:"-40px"},":hover:after":{backgroundPositionY:"-60px"}})));function mg(){var e=ep()[0],t=Np().ReactionsRef,n=Hh().reactions;qm(t,ap.REACTIONS);var f=hp(),i=dp(),r=Mp();return e?l("ul",{className:Au(gg.list,!e&&Hu.hidden),ref:t},n.map((function(e){return l("li",{key:e},l(ug,{emoji:Nh(e),emojiStyle:f,unified:e,showVariations:!1,className:Au(gg.emojiButton),noBackground:!0,getEmojiUrl:r}))})),i?l("li",null,l(hg,null)):null):null}var gg=Gu.create({list:{listStyle:"none",margin:"0",padding:"0 5px",display:"flex",justifyContent:"space-between",alignItems:"center",height:"100%"},emojiButton:{":hover":{transform:"scale(1.2)"},":focus":{transform:"scale(1.2)"},":active":{transform:"scale(1.1)"},transition:"transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.5)"}});function wg(){var e=fp()[0],t=function(){var e=Xh().current,t=tp()[0];return function(n){return function(e,t,n){var f;return!(!t||!n||null!=(f=t[n])&&f[e])}(n,e,t)}}();return function(n){var f=kh(n),i=e.has(f),r=t(f);return{failedToLoad:i,filteredOut:r,hidden:i||r}}}function Mg(e){var t=e.categoryConfig,n=e.children,f=e.hidden,i=e.hiddenOnSearch,r=sh(t),o=lh(t);return l("li",{className:Au(bg.category,f&&Hu.hidden,i&&Fu.hiddenOnSearch),"data-name":r,"aria-label":o},l("h2",{className:Au(bg.label)},o),l("div",{className:Au(bg.categoryContent)},n))}var bg=Gu.create({category:{".":Tu.category,":not(:has(.epr-visible))":{display:"none"}},categoryContent:{".":Tu.categoryContent,display:"grid",gridGap:"0",gridTemplateColumns:"repeat(auto-fill, var(--epr-emoji-fullsize))",justifyContent:"space-between",margin:"var(--epr-category-padding)",position:"relative"},label:{".":Tu.label,alignItems:"center",backdropFilter:"blur(3px)",backgroundColor:"var(--epr-category-label-bg-color)",color:"var(--epr-category-label-text-color)",display:"flex",fontSize:"16px",fontWeight:"bold",height:"var(--epr-category-label-height)",margin:"0",padding:"var(--epr-category-label-padding)",position:"sticky",textTransform:"capitalize",top:"0",width:"100%",zIndex:"var(--epr-category-label-z-index)"}}),yg=!1;function Lg(e){var t=e.categoryConfig,n=op()[0],i=function(){var e=f(yg),t=e[0],n=e[1];return r((function(){n(!0),yg=!0}),[]),t||yg}(),o=Hh().suggestedEmojisMode,a=Mp(),s=d((function(){var e;return null!=(e=Km(o))?e:[]}),[n,o]),c=hp(),u=$h();return i?l(Mg,{categoryConfig:t,hiddenOnSearch:!0,hidden:0===s.length},s.map((function(e){var t=Nh(e.original);return!t||u(t)?null:l(ug,{showVariations:!1,unified:e.unified,emojiStyle:c,emoji:t,key:e.unified,getEmojiUrl:a})}))):null}function Cg(){var e=pp(),t=n(0);return l("ul",{className:Au(kg.emojiList)},e.map((function(e){var n=sh(e);return n===eh.SUGGESTED?l(Lg,{key:n,categoryConfig:e}):l(g,{key:n},l(vg,{category:n,categoryConfig:e,renderdCategoriesCountRef:t}))})))}function vg(e){var t=e.category,n=e.categoryConfig,f=e.renderdCategoriesCountRef,i=wg(),r=Hh().lazyLoadEmojis,o=hp(),s=a(Kh).isPastInitialLoad,c=np()[0],d=$h(),u=Mp(),h=!up(),p=!s&&f.current>0?[]:function(e){var t;return null!=(t=null==gh?void 0:gh[e])?t:[]}(t);p.length>0&&f.current++;var m=0,g=p.map((function(e){var t=kh(e,c),n=i(e),f=n.failedToLoad,a=n.filteredOut,s=n.hidden,p=d(e);return(s||p)&&m++,p?null:l(ug,{showVariations:h,key:t,emoji:e,unified:t,hidden:f,hiddenOnSearch:a,emojiStyle:o,lazyLoad:r,getEmojiUrl:u})}));return l(Mg,{categoryConfig:n,hidden:m===g.length},g)}var jg,kg=Gu.create({emojiList:{".":Tu.emojiList,listStyle:"none",margin:"0",padding:"0"}});function Ig(){var e,t,n=Dp(),f=Np().VariationPickerRef,i=ip()[0],o=hp(),a=function(e){var t=Dp(),n=Ep(),f=jg.Up;return{getMenuDirection:i,getTop:r};function i(){return f}function r(){f=jg.Up;var i=0;if(!e.current)return 0;var r=xm(e.current);if(t.current){var o,a=n.current,s=km(t.current),l=xm(s);i=Sm(s),(null!=(o=null==a?void 0:a.scrollTop)?o:0)>i-r&&(f=jg.Down,i+=l+r)}return i-r}}(f),s=a.getTop,c=a.getMenuDirection,d=Ap(),u=function(e){var t=Dp();return function(){var n={};if(!e.current)return n;if(t.current){var f=km(t.current),i=function(e){var t=km(e),n=Fm(t);return zm(t)+zm(n)}(f);if(!f)return n;n.left=i+(null==f?void 0:f.clientWidth)/2}return n}}(f),h=Mp(),p=km(n.current),m=!!(i&&p&&Sh(i)&&p.classList.contains(Tu.emojiHasVariations));return r((function(){m&&Bp(f.current)}),[f,m,n]),!m&&n.current?d(null):(e=s(),t=u()),l("div",{ref:f,className:Au(xg.variationPicker,c()===jg.Down&&xg.pointingUp,m&&xg.visible),style:{top:e}},m&&i?[kh(i)].concat(xh(i)).slice(0,6).map((function(e){return l(ug,{key:e,emoji:i,unified:e,emojiStyle:o,showVariations:!1,getEmojiUrl:h})})):null,l("div",{className:Au(xg.pointer),style:t}))}!function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(jg||(jg={}));var xg=Gu.create(Ru({variationPicker:{".":Tu.variationPicker,position:"absolute",right:"15px",left:"15px",padding:"5px",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.2)",borderRadius:"3px",display:"flex",alignItems:"center",justifyContent:"space-around",opacity:"0",visibility:"hidden",pointerEvents:"none",top:"-100%",border:"1px solid var(--epr-picker-border-color)",height:"var(--epr-emoji-variation-picker-height)",zIndex:"var(--epr-skin-variation-picker-z-index)",background:"var(--epr-emoji-variation-picker-bg-color)",transform:"scale(0.9)",transition:"transform 0.1s ease-out, opacity 0.2s ease-out"},visible:{opacity:"1",visibility:"visible",pointerEvents:"all",transform:"scale(1)"},pointingUp:{".":"pointing-up",transformOrigin:"center 0%",transform:"scale(0.9)"},".pointing-up":{pointer:{top:"0",transform:"rotate(180deg) translateY(100%) translateX(18px)"}},pointer:{".":"epr-emoji-pointer",content:"",position:"absolute",width:"25px",height:"15px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"50px 15px",top:"100%",transform:"translateX(-18px)",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI1MHB4IgoJIGhlaWdodD0iMTVweCIgdmlld0JveD0iMCAwIDUwIDE1IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MCAxNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnIGlkPSJMYXllcl8xIj4KPC9nPgo8ZyBpZD0iTGF5ZXJfMiI+Cgk8cGF0aCBmaWxsPSIjRkZGRkZGIiBzdHJva2U9IiNFOEU3RTciIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KCTxwYXRoIGZpbGw9IiMwMTAyMDIiIHN0cm9rZT0iIzE1MTYxNyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMjYuODYtMC40M2w5LjgzLDExLjUzYzAuNTksMC42OSwxLjU2LDAuNjksMi4xNCwwbDkuODMtMTEuNTMiLz4KPC9nPgo8L3N2Zz4=)"}},Vu("pointer",{backgroundPosition:"-25px 0"})));function Sg(){var e=Ep();return function(e){var t=Zp();r((function(){var n=e.current;if(n)return n.addEventListener("scroll",f,{passive:!0}),function(){null==n||n.removeEventListener("scroll",f)};function f(){t()}}),[e,t])}(e),qm(e,ap.PICKER),function(){var e=Ep(),t=Wp(),n=Fp();r((function(){var f=e.current;function i(){n()&&t()}return null==f||f.addEventListener("mousemove",i,{passive:!0}),function(){null==f||f.removeEventListener("mousemove",i)}}),[e,t,n])}(),l("div",{className:Au(Dg.body,Fu.hiddenOnReactions),ref:e},l(Ig,null),l(Cg,null))}var Ng,Tg,Dg=Gu.create({body:{".":Tu.scrollBody,flex:"1",overflowY:"scroll",overflowX:"hidden",position:"relative"}});function Ag(e,t){var n=Ep(),f=Fp(),i=Wp();r((function(){if(e){var i=n.current;return null==i||i.addEventListener("keydown",a,{passive:!0}),null==i||i.addEventListener("mouseover",s,!0),null==i||i.addEventListener("focus",r,!0),null==i||i.addEventListener("mouseout",o,{passive:!0}),null==i||i.addEventListener("blur",o,!0),function(){null==i||i.removeEventListener("mouseover",s),null==i||i.removeEventListener("mouseout",o),null==i||i.removeEventListener("focus",r,!0),null==i||i.removeEventListener("blur",o,!0),null==i||i.removeEventListener("keydown",a)}}function r(e){var n=km(e.target);if(!n)return o();var f=Rm(n),i=f.unified,r=f.originalUnified;if(!i||!r)return o();t({unified:i,originalUnified:r})}function o(e){if(e&&!km(e.relatedTarget))return t(null);t(null)}function a(e){"Escape"===e.key&&t(null)}function s(e){if(!f()){var n=km(e.target);if(n){var r=function(e,t){if(!e||!t)return 0;var n=e.getBoundingClientRect(),f=t.getBoundingClientRect();return f.height-(n.y-f.y)}(n,i);if(r<n.getBoundingClientRect().height)return function(e,t){var n,f=Rm(e),i=f.unified,r=f.originalUnified;!i||!r||(null==(n=document.activeElement)||null==n.blur||n.blur(),t({unified:i,originalUnified:r}))}(n,t);Lp(n)}}}}),[n,e,t,f,i])}function Eg(e){var t=e.children,n=e.className,f=e.style,i=void 0===f?{}:f,r=e.direction,o=void 0===r?Tg.ROW:r;return l("div",{style:Ru({},i),className:Au(zg.flex,n,zg[o])},t)}!function(e){e.ROW="FlexRow",e.COLUMN="FlexColumn"}(Tg||(Tg={}));var zg=Gu.create(((Ng={flex:{display:"flex"}})[Tg.ROW]={flexDirection:"row"},Ng[Tg.COLUMN]={flexDirection:"column"},Ng));function Og(e){var t=e.className,n=e.style;return l("div",{style:Ru({flex:1},void 0===n?{}:n),className:Au(t)})}function Pg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:Ru({},f,{position:"absolute"}),className:n},t)}function Rg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:Ru({},f,{position:"relative"}),className:n},t)}function Jg(e){var t=e.isOpen,n=e.onClick,f=e.isActive,i=e.skinToneVariation,r=e.style;return l(tg,{style:r,onClick:n,className:Au("epr-tone-"+i,Qg.tone,!t&&Qg.closedTone,f&&Qg.active),"aria-pressed":f,"aria-label":"Skin tone "+Mh[i]})}var Bg,Qg=Gu.create({closedTone:{opacity:"0",zIndex:"0"},active:{".":"epr-active",zIndex:"1",opacity:"1"},tone:{".":"epr-tone",width:"var(--epr-skin-tone-size)",display:"block",cursor:"pointer",borderRadius:"4px",height:"var(--epr-skin-tone-size)",position:"absolute",right:"0",transition:"transform 0.3s ease-in-out, opacity 0.35s ease-in-out",zIndex:"0",border:"1px solid var(--epr-skin-tone-outer-border-color)",boxShadow:"inset 0px 0px 0 1px var(--epr-skin-tone-inner-border-color)",":hover":{boxShadow:"0 0 0 3px var(--epr-active-skin-hover-color), inset 0px 0px 0 1px var(--epr-skin-tone-inner-border-color)"},":focus":{boxShadow:"0 0 0 3px var(--epr-focus-bg-color)"},"&.epr-tone-neutral":{backgroundColor:"#ffd225"},"&.epr-tone-1f3fb":{backgroundColor:"#ffdfbd"},"&.epr-tone-1f3fc":{backgroundColor:"#e9c197"},"&.epr-tone-1f3fd":{backgroundColor:"#c88e62"},"&.epr-tone-1f3fe":{backgroundColor:"#a86637"},"&.epr-tone-1f3ff":{backgroundColor:"#60463a"}}}),Yg=28;function Ug(){return l(Rg,{style:{height:Yg}},l(Pg,{style:{bottom:0,right:0}},l(Gg,{direction:Bg.VERTICAL})))}function Gg(e){var t=e.direction,n=void 0===t?Bg.HORIZONTAL:t,f=Op(),i=up(),r=rp(),o=r[0],a=r[1],s=np(),c=s[0],d=s[1],u=lp().current.onSkinToneChange||function(){},h=Zp(),p=Vp();if(i)return null;var m=Yg*wh.length+"px",g=o?m:Yg+"px",w=n===Bg.VERTICAL;return l(Rg,{className:Au(Zg.skinTones,w&&Zg.vertical,o&&Zg.open,w&&o&&Zg.verticalShadow),style:w?{flexBasis:g,height:g}:{flexBasis:g}},l("div",{className:Au(Zg.select),ref:f},wh.map((function(e,t){var n=e===c;return l(Jg,{key:e,skinToneVariation:e,isOpen:o,style:{transform:Au(w?"translateY(-"+t*(o?Yg:0)+"px)":"translateX(-"+t*(o?Yg:0)+"px)",o&&n&&"scale(1.3)")},isActive:n,onClick:function(){o?(d(e),u(e),p()):a(!0),h()}})}))))}!function(e){e.VERTICAL="epr-vertical",e.HORIZONTAL="epr-horizontal"}(Bg||(Bg={}));var Zg=Gu.create({skinTones:{".":"epr-skin-tones","--":{"--epr-skin-tone-size":"15px"},display:"flex",alignItems:"center",justifyContent:"flex-end",transition:"all 0.3s ease-in-out",padding:"10px 0"},vertical:{padding:"9px",alignItems:"flex-end",flexDirection:"column",borderRadius:"6px",border:"1px solid var(--epr-bg-color)"},verticalShadow:{boxShadow:"0px 0 7px var(--epr-picker-border-color)"},open:{backdropFilter:"blur(5px)",background:"var(--epr-skin-tone-picker-menu-color)",".epr-active":{border:"1px solid var(--epr-active-skin-tone-indicator-border-color)"}},select:{".":"epr-skin-tone-select",position:"relative",width:"var(--epr-skin-tone-size)",height:"var(--epr-skin-tone-size)"}});function Hg(){var e=mp(),t=fm(),n=ep()[0];return e.showPreview?l(Eg,{className:Au(Fg.preview,Fu.hiddenOnReactions,n&&Fg.hideOnReactions)},l(Wg,null),l(Og,null),t?l(Ug,null):null):null}function Wg(){var e,t=mp(),n=f(null),i=n[0],r=n[1],o=hp(),a=ip()[0],s=Mp();Ag(t.showPreview,r);var c=Nh(null!=(e=null==i?void 0:i.unified)?e:null==i?void 0:i.originalUnified),d=null!=c&&null!=i;return l((function(){var e=a??Nh(t.defaultEmoji);if(!e)return null;var n=a?vh(a):t.defaultCaption;return l(h,null,l("div",null,d?l(dg,{unified:null==i?void 0:i.unified,emoji:c,emojiStyle:o,size:45,getEmojiUrl:s,className:Au(Fg.emoji)}):e?l(dg,{unified:kh(e),emoji:e,emojiStyle:o,size:45,getEmojiUrl:s,className:Au(Fg.emoji)}):null),l("div",{className:Au(Fg.label)},d?vh(c):n))}),null)}var Fg=Gu.create({preview:{alignItems:"center",borderTop:"1px solid var(--epr-preview-border-color)",height:"var(--epr-preview-height)",padding:"0 var(--epr-horizontal-padding)",position:"relative",zIndex:"var(--epr-preview-z-index)"},label:{color:"var(--epr-preview-text-color)",fontSize:"var(--epr-preview-text-size)",padding:"var(--epr-preview-text-padding)",textTransform:"capitalize"},emoji:{padding:"0"},hideOnReactions:{opacity:"0",transition:"opacity 0.5s ease-in-out"}});function Vg(e){var t;return null!=(t=null==e?void 0:e.getAttribute("data-name"))?t:null}function $g(){var e=Hh().customEmojis;return!!e&&0===e.length}function _g(e){var t,n=e.isActiveCategory,f=e.category,i=e.allowNavigation,r=e.categoryConfig,o=e.onClick;return l(tg,{tabIndex:i?0:-1,className:Au(ew.catBtn,Fu.categoryBtn,"epr-icn-"+f,(t={},t[Tu.active]=n,t)),onClick:o,"aria-label":lh(r),"aria-selected":n,role:"tab","aria-controls":"epr-category-nav-id"})}var Kg={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 3)"},Xg={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 2)"},qg={":not(.epr-search-active)":{catBtn:{":hover":Kg,"&.epr-active":Kg}}},ew=Gu.create(Ru({catBtn:{".":"epr-cat-btn",display:"inline-block",transition:"opacity 0.2s ease-in-out",position:"relative",height:"var(--epr-category-navigation-button-size)",width:"var(--epr-category-navigation-button-size)",backgroundSize:"calc(var(--epr-category-navigation-button-size) * 10)",outline:"none",backgroundPosition:"0 0",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXz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Mi4xbC0wLjEsMC4yYy0wLjQsMS0xLjgsMS4xLTIuMywwLjIiLz4KCQk8ZWxsaXBzZSBmaWxsPSIjODY4Njg2IiBjeD0iMjcuNiIgY3k9IjkuNyIgcng9IjAuNyIgcnk9IjAuNyIvPgoJCTxlbGxpcHNlIGZpbGw9IiM4Njg2ODYiIGN4PSIzMi40IiBjeT0iOS43IiByeD0iMC43IiByeT0iMC43Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+)",":focus:before":{content:"",position:"absolute",top:"-2px",left:"-2px",right:"-2px",bottom:"-2px",border:"2px solid var(--epr-category-icon-active-color)",borderRadius:"50%"},"&.epr-icn-suggested":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -8)"},"&.epr-icn-custom":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -9)"},"&.epr-icn-activities":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -4)"},"&.epr-icn-animals_nature":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -1)"},"&.epr-icn-flags":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -7)"},"&.epr-icn-food_drink":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -2)"},"&.epr-icn-objects":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -5)"},"&.epr-icn-smileys_people":{backgroundPositionX:"0px"},"&.epr-icn-symbols":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -6)"},"&.epr-icn-travel_places":{backgroundPositionX:"calc(var(--epr-category-navigation-button-size) * -3)"}}},Vu("catBtn",Xg),{".epr-dark-theme":Ru({},qg),".epr-auto-theme":Ru({},qg)}));function tw(){var e=f(null),t=e[0],n=e[1],i=function(){var e=Ep(),t=Tp();return function(n){var f;if(e.current){var i=null==(f=e.current)?void 0:f.querySelector('[data-name="'+n+'"]');if(i){var r=i.offsetTop||0;Rp(t.current,r)}}}}();!function(e){var t=Ep();r((function(){var n=new Map,f=t.current,i=new IntersectionObserver((function(t){if(f){for(var i,r=Yu(t);!(i=r()).done;){var o=i.value,a=Vg(o.target);n.set(a,o.intersectionRatio)}var s=Array.from(n),l=s[s.length-1];if(1==l[1])return e(l[0]);for(var c=0,d=s;c<d.length;c++){var u=d[c],h=u[0];if(u[1]){e(h);break}}}}),{threshold:[0,1]});null==f||f.querySelectorAll(Uu(Tu.category)).forEach((function(e){i.observe(e)}))}),[t,e])}(n);var o=yp(),a=pp(),s=Pp(),c=$g();return l("div",{className:Au(nw.nav),role:"tablist","aria-label":"Category navigation",id:"epr-category-nav-id",ref:s},a.map((function(e){var f=sh(e),r=f===t;return function(e){return e.category===eh.CUSTOM}(e)&&c?null:l(_g,{key:f,category:f,isActiveCategory:r,allowNavigation:!o&&!r,categoryConfig:e,onClick:function(){i(f),setTimeout((function(){n(f)}),10)}})})))}var nw=Gu.create({nav:{".":"epr-category-nav",display:"flex",flexDirection:"row",justifyContent:"space-around",padding:"var(--epr-header-padding)"},".epr-search-active":{nav:{opacity:"0.3",cursor:"default",pointerEvents:"none"}},".epr-main:has(input:not(:placeholder-shown))":{nav:{opacity:"0.3",cursor:"default",pointerEvents:"none"}}}),fw="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ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LTIuNDFjLTAuMjEtMC4yMS0wLjU0LTAuMjEtMC43NSwwCgljLTAuMjEsMC4yMS0wLjIxLDAuNTQsMCwwLjc1bDIuNDEsMi40MWwtMi40MiwyLjQyQzYuNzcsNzMuMDUsNi43Nyw3My4zOSw2Ljk4LDczLjU5TDYuOTgsNzMuNTl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik0xMC4xNSw3OC40M2M0LjQxLDAsOC0zLjU5LDgtOGMwLTQuNDEtMy41OS04LTgtOGMtNC40MSwwLTgsMy41OS04LDhDMi4xNSw3NC44NCw1Ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";function iw(){var e=_p();return l(tg,{className:Au(ow.btnClearSearch,Fu.visibleOnSearchOnly),onClick:e,"aria-label":"Clear",title:"Clear"},l("div",{className:Au(ow.icnClearnSearch)}))}var rw={":hover":{"> .epr-icn-clear-search":{backgroundPositionY:"-60px"}}},ow=Gu.create(Ru({btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+fw+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Vu("icnClearnSearch",{backgroundPositionY:"-40px"}),Vu("btnClearSearch",rw))),aw=Uu(Tu.emojiPicker)+" "+Uu(Tu.emojiList),sw=["button",Uu(Tu.emoji)].join(""),lw=Uu(Tu.category);function cw(e){var t=e.value;if(!t)return null;var n=function(e){return[sw,'[data-full-name*="',em(e),'"]'].join("")}(t);return l("style",null,"\n "+aw+" "+sw+" {\n display: none;\n }\n\n\n "+aw+" "+n+" {\n display: flex;\n }\n\n "+aw+" "+lw+":not(:has("+n+")) {\n display: none;\n }\n ")}function dw(){return l("div",{className:Au(uw.icnSearch)})}var uw=Gu.create(Ru({icnSearch:{".":"epr-icn-search",content:"",position:"absolute",top:"50%",left:"var(--epr-search-bar-inner-padding)",transform:"translateY(-50%)",width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"0 0",backgroundSize:"20px",backgroundImage:"url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCAyMCA0MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgNDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzg2ODY4NiIgZD0iTTEyLDguODFjMCwyLjA4LTEuNjgsMy43Ni0zLjc2LD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?null:l(Eg,{className:Au(mw.overlay)},l(pw,null),t?l(Gg,null):null)}function pw(){var e=f(0),t=e[0],n=e[1],i=Zp(),r=zp(),o=function(){var e,t=Hh();return null!=(e=[t.searchPlaceHolder,t.searchPlaceholder].find((function(e){return e!==zh})))?e:zh}(),a=Hh().autoFocusSearch,s=Kp(),c=s.statusSearchResults,d=s.searchTerm,u=s.onChange,h=null==r?void 0:r.current,p=null==h?void 0:h.value;return l(Rg,{className:Au(mw.searchContainer)},l(cw,{value:p}),l("input",{autoFocus:a,"aria-label":"Type to search for an emoji",onFocus:i,className:Au(mw.search),type:"text","aria-controls":"epr-search-id",placeholder:o,onChange:function(e){n(t+1),setTimeout((function(){var t,n;u(null!=(t=null==e||null==(n=e.target)?void 0:n.value)?t:p)}))},ref:r}),d?l("div",{role:"status",className:Au("epr-status-search-results",mw.visuallyHidden),"aria-live":"polite",id:"epr-search-id","aria-atomic":"true"},c):null,l(dw,null),l(iw,null))}var mw=Gu.create(Ru({overlay:{padding:"var(--epr-header-padding)",zIndex:"var(--epr-header-overlay-z-index)"},searchContainer:{".":"epr-search-container",flex:"1",display:"block",minWidth:"0"},visuallyHidden:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"},search:{outline:"none",transition:"all 0.2s ease-in-out",color:"var(--epr-search-input-text-color)",borderRadius:"var(--epr-search-input-border-radius)",padding:"var(--epr-search-input-padding)",height:"var(--epr-search-input-height)",backgroundColor:"var(--epr-search-input-bg-color)",border:"1px solid var(--epr-search-input-bg-color)",width:"100%",":focus":{backgroundColor:"var(--epr-search-input-bg-color-active)",border:"1px solid var(--epr-search-border-color)"},"::placeholder":{color:"var(--epr-search-input-placeholder-color)"}},btnClearSearch:{".":"epr-btn-clear-search",position:"absolute",right:"var(--epr-search-bar-inner-padding)",height:"30px",width:"30px",display:"flex",alignItems:"center",justifyContent:"center",top:"50%",transform:"translateY(-50%)",padding:"0",borderRadius:"50%",":hover":{background:"var(--epr-hover-bg-color)"},":focus":{background:"var(--epr-hover-bg-color)"}},icnClearnSearch:{".":"epr-icn-clear-search",backgroundColor:"transparent",backgroundRepeat:"no-repeat",backgroundSize:"20px",height:"20px",width:"20px",backgroundImage:"url("+fw+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Vu("icnClearnSearch",{backgroundPositionY:"-40px"}),Vu("btnClearSearch",{":hover > .epr-icn-clear-search":{backgroundPositionY:"-60px"}})));function gw(){return l(Rg,{className:Au("epr-header",Fu.hiddenOnReactions)},l(hw,null),l(tw,null))}function ww(e){return l(Ip,null,l(Wu,null),l(Zh,Object.assign({},e),l(Mw,null)))}function Mw(){var e=ep()[0],t=dp(),n=f(!e),i=n[0],o=n[1],a=Hh().open;return r((function(){e&&!t||i||o(!0)}),[i,t,e]),a?l(hm,null,l(mg,null),l(bw,{renderAll:i})):null}function bw(e){return e.renderAll?l(h,null,l(gw,null),l(Sg,null),l(Hg,null)):null}var yw=u(ww,$u),Lw=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={hasError:!1},n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ju(e,t)}(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}};var n=t.prototype;return n.componentDidCatch=function(e,t){console.error("Emoji Picker React failed to render:",e,t)},n.render=function(){return this.state.hasError?null:this.props.children},t}(p);function Cw(t){var n=function(t){var n=e.useRef({onEmojiClick:t.onEmojiClick||cp,onReactionClick:t.onReactionClick||t.onEmojiClick,onSkinToneChange:t.onSkinToneChange||cp});return e.useEffect((function(){n.current.onEmojiClick=t.onEmojiClick||cp,n.current.onReactionClick=t.onReactionClick||t.onEmojiClick}),[t.onEmojiClick,t.onReactionClick]),e.useEffect((function(){n.current.onSkinToneChange=t.onSkinToneChange||cp}),[t.onSkinToneChange]),n}({onEmojiClick:t.onEmojiClick,onReactionClick:t.onReactionClick,onSkinToneChange:t.onSkinToneChange});return l(Lw,null,l(sp.Provider,{value:n},l(yw,Object.assign({},t))))}const vw=({dataTest:e,attachmentsMenu:t,id:i,inputRef:o,className:a,editorClassName:l,disabled:d,readOnly:u,error:h,locale:p,title:m,placeholder:g,placeholderCallback:M,helperText:b,maxScrollableHeight:y,toolbarDefaultVisible:C,hideToolbar:v,noDefaultStyles:j,attachments:I,replyModeComponent:T,...D})=>{var A;const E=n(),z=n(null),P=n(null),J=n(null),B=n(null),[Q,Y]=f(!1),U=Fa({...D,extensions:[mu.configure({placeholder:M||g}),...du,...uu,...D.extensions||[]],parseOptions:{preserveWhitespace:!0,...D.parseOptions},shouldRerenderOnTransaction:D.shouldRerenderOnTransaction||!1,immediatelyRender:D.immediatelyRender||!0,editable:D.editable||!d&&!u,onBlur:e=>{var t;null==(t=D.onBlur)||t.call(D,e),_(!1)},onFocus:e=>{var t;null==(t=D.onFocus)||t.call(D,e),_(!0)},onSelectionUpdate:e=>{var t;null==(t=D.onSelectionUpdate)||t.call(D,e),E.current=e.editor.state.selection.anchor,e.editor.commands.focus()},onUpdate:e=>{var t;null==(t=D.onUpdate)||t.call(D,e),Z()}},[D.shouldRerenderOnTransaction,D.immediatelyRender]),G=c((()=>{if(!U||!z.current||!P.current)return;const e=U.view.dom,t=P.current,n=z.current.parentElement??z.current,f=Math.max(0,n.clientWidth-80);t.className=e.className;const i=window.getComputedStyle(e);Object.assign(t.style,{width:`${f}px`,position:"absolute",left:"-99999px",top:"0",visibility:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word",overflowWrap:"anywhere",boxSizing:"border-box",font:i.font,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,padding:i.padding}),null==B.current&&(t.innerHTML="<p><br /></p>",B.current=t.scrollHeight),t.innerHTML=e.innerHTML||"<p><br /></p>";const r=t.scrollHeight>(B.current??0)+2;Y((e=>e===r?e:r))}),[U]),Z=c((()=>{J.current&&cancelAnimationFrame(J.current),J.current=requestAnimationFrame((()=>{J.current=requestAnimationFrame(G)}))}),[G]);s((()=>{if(!U)return;Z();const e=new ResizeObserver((()=>{Z()}));return z.current&&e.observe(z.current),()=>{e.disconnect(),J.current&&cancelAnimationFrame(J.current)}}),[U,Z]),r((()=>{U&&D.content!==U.getHTML()&&U.commands.setContent(D.content||"",!1)}),[D.content,U]),r((()=>{null==U||U.setEditable(D.editable||!d&&!u)}),[u,d,D.editable,U]),r((()=>{void 0!==E.current&&(null==U||U.commands.setTextSelection(E.current))}),[null==(A=D.content)?void 0:A.length,U]);const[H,W]=f(C),[F,V]=f(!1);w(o,(()=>U));const[$,_]=f(!1),[K,X]=f(!1),q=null==U?void 0:U.isEmpty,ee=!u&&h&&q;if(!U)return null;const te=!H||Q;return O.jsxs(x,{className:a,children:[m&&O.jsx("p",{className:"font-semibold text-base text-delta-700 mb-2",children:m}),O.jsxs("div",{ref:z,className:R(!j&&"rte-wrapper","outlined"===u&&"readonly-outlined","plain"===u&&"readonly-plain",!u&&ee&&($?"error-focused-state":"error-state"),!u&&!ee&&$&&"focused-state"),children:[T,O.jsx("div",{ref:P,"aria-hidden":!0,className:"pointer-events-none invisible absolute left-[-99999px] top-0"}),O.jsxs("div",{className:"flex gap-2",children:[O.jsx("div",{className:"flex-1 min-w-0",children:O.jsx(Aa,{"data-test":e,id:i,className:R(!j&&"core-ui-rte",!v&&!d&&!u&&!H&&"displace-text",!j&&!d&&!u&&"edit-mode",l,H&&"displace-text"),editor:U,onClick:()=>null==U?void 0:U.chain().focus().run(),style:{"--max-scrollable-height":`${y||100}px`}})}),!v&&!d&&!u&&O.jsxs("div",{className:R("flex shrink-0 items-center justify-end",Q?"flex-col w-10":"w-20"),children:[t,te&&O.jsx(L,{dataTest:"richeditor-format-button",className:R(Q?"order-last":"order-first"),size:"large",variant:"textGray",onClick:()=>W(!H),startIcon:O.jsx(Tl,{className:"cursor-pointer text-delta-700 h-6 w-6 min-w-6",icon:"material-symbols:format-color-text"})})]})]}),!(null==I||!I.length)&&O.jsx("div",{className:"p-2 flex flex-wrap items-center gap-2",children:I.map((e=>O.jsx(S,{...e})))}),!v&&!d&&!u&&H&&O.jsx(Rl,{editor:U,onClose:()=>W(!1),error:h,focused:$,openLinkDialog:()=>V(!0),openEmojiPicker:()=>X(!0),locale:p})]}),b&&O.jsxs("div",{className:R("text-sm mt-1",ee?"flex items-center gap-1 text-red-600":"mx-[14px] text-gray-500"),children:[ee&&O.jsx(N,{width:20,height:20,className:"min-w-5"}),b]}),O.jsx(pu,{open:F,setOpen:V,editor:U,locale:p}),O.jsx(k,{dataTest:"emoji-picker-dialog",open:K,onClose:()=>X(!1),dialogTitle:O.jsx("span",{className:"pb-4",children:"Emoji"}),children:O.jsx(Cw,{open:K,onEmojiClick:({emoji:e})=>{null==U||U.chain().focus().insertContent(e).run(),X(!1)},allowExpandReactions:!1,autoFocusSearch:!1,className:"w-full min-w-[350px]",previewConfig:{showPreview:!1}})})]})};export{vw as RichInput};
|