asma-ui-richeditor 0.1.19 → 0.1.20

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,StyledInputField as y,StyledTooltip as L,LinkOutlineIcon as C,StyledButton as v,DotsVerticalIcon as j,StyledPopover as k,StyledDialog as I,StyledFormControl as S,StyledChip as N,StyledFormHelperText as x}from"asma-core-ui";var T,D={exports:{}},A={};
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 S,StyledChip as N,StyledFormHelperText as x}from"asma-core-ui";var D,T={exports:{}},E={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,7 +7,7 @@ import e,{forwardRef as t,useRef as n,useState as f,useDebugValue as i,useEffect
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var E,z={};
10
+ */var A,z={};
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.development.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,N,x,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,N=console.info,x=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:N}),warn:O({},e,{value:x}),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 N,x=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);S+=x||ue(),null===e?N="null":K(e)?N="array":void 0!==e&&e.$$typeof===n?(N="<"+(I(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):N=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",N,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 Ne(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 Ne{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 xe{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 xe(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=xe.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(Nt(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||!xt(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=xt(e,t,f,n,i);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:f}=this.frontier[n],i=xt(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 Nt(e,t,n){if(t<=0)return e;let f=e.content;return t>1&&(f=f.replaceChild(0,Nt(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 xt(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&&gt(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 xe){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 Nn=!kn&&/Chrome\/(\d+)/.exec(Ln),xn=!!Nn,Tn=Nn?+Nn[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=Nf(i,t,r,n)),e>0&&(i=Nf(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=Nf(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||xn)&&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 Nf(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 xf(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&&xn){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||xn&&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(!xn&&!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(xn?"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,!xi(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!On||!xn||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(xi(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 Ni(e,o,n,!!f)):("doubleClick"==r?ji:ki)(e,o.pos,o.inside,n)?n.preventDefault():gi(e,"pointer"))};class Ni{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||xn&&!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 xi(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=xf(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||!xn||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(xn&&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=xf(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=xf(e,t);if(n&&!e.state.selection.eq(n)){if(xn&&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})),xn&&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&&xn&&e.domObserver.suppressSelectionUpdates());xn&&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&&!(xn&&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||xn)&&!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=xn?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),Nr=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),xr=0;xr<10;xr++)kr[48+xr]=kr[96+xr]=String(xr);for(xr=1;xr<=24;xr++)kr[xr+111]="F"+xr;for(xr=65;xr<=90;xr++)kr[xr]=String.fromCharCode(xr+32),Ir[xr]=String.fromCharCode(xr);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||Nr&&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 No(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 xo(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=xo(n);return No(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 No(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...xo(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?T.exports=function(){if(D)return E;D=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 E.Fragment=f,E.jsx=a,E.jsxs=a,E}():T.exports=(A||(A=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,N,x,D,T,E,A,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,N=console.info,x=console.warn,D=console.error,T=console.group,E=console.groupCollapsed,A=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:N}),warn:O({},e,{value:x}),error:O({},e,{value:D}),group:O({},e,{value:T}),groupCollapsed:O({},e,{value:E}),groupEnd:O({},e,{value:A})})}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 N,x=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);S+=x||ue(),null===e?N="null":K(e)?N="array":void 0!==e&&e.$$typeof===n?(N="<"+(I(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):N=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",N,S)}var D=oe(e,t,f,g,w);if(null==D)return D;if(k){var T=t.children;if(void 0!==T)if(m)if(K(T)){for(var E=0;E<T.length;E++)me(T[E],e);Object.freeze&&Object.freeze(T)}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(T,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))}(D):ge(D),D}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=T.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 Ne(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 Ne{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 xe{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 xe(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 De{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=xe.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?Te(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?[]:Te(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 Te(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 Ee{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 Ee(e,Ee.schemaRules(e)))}}const Ae={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&&!Ae.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(Ae.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(Nt(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||!xt(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=xt(e,t,f,n,i);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:f}=this.frontier[n],i=xt(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 Nt(e,t,n){if(t<=0)return e;let f=e.content;return t>1&&(f=f.replaceChild(0,Nt(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 xt(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 Dt(e){return e.spec.defining||e.spec.definingForContent}function Tt(e,t,n,f,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(Tt(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 Et(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 At 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 At(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 At(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 At(t.pos,t.attr,t.value)}}tt.jsonID("attr",At);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=Et(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=Dt(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(Tt(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=Et(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&&gt(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 At(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 xe){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 Nn=!kn&&/Chrome\/(\d+)/.exec(Ln),xn=!!Nn,Dn=Nn?+Nn[1]:0,Tn=!kn&&!!bn&&/Apple Computer/.test(bn.vendor),En=Tn&&(/Mobile\/\w+/.test(Ln)||!!bn&&bn.maxTouchPoints>2),An=En||!!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(Tn)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||Tn)&&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&&Tn)&&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=Nf(i,t,r,n)),e>0&&(i=Nf(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),En&&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=Nf(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))&&((Tn||xn)&&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 Nf(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 xf(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 Df(e){return e.editable?e.hasFocus():Qf(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Tf(e,t=!1){let n=e.state.selection;if(Pf(e,n),Df(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&xn){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;Ef&&!(n instanceof Ut)&&(n.$from.parent.inlineContent||(f=Af(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(i=Af(e,n.to))),e.docView.setSelection(r,o,e,t),Ef&&(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((()=>{(!Df(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Ef=Tn||xn&&Dn<63;function Af(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(Tn&&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",Tn&&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(!(An&&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&&Tf(e)}),50)}function $f(e,t){let n=e.state.doc.resolve(t);if(!xn&&!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||An&&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||An&&72==n&&"c"==f)return Kf(e,-1)||Wf(e,-1);if(46==n&&!t.shiftKey||An&&68==n&&"c"==f)return Kf(e,1)||Wf(e,1);if(13==n||27==n)return!0;if(37==n||An&&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||An&&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||An&&80==n&&"c"==f?_f(e,-1,f)||Wf(e,-1):40==n||An&&78==n&&"c"==f?function(e){if(!Tn||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==(An?"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(xn?"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")||Ee.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,!xi(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!On||!xn||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!En||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(xi(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||An&&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=An?"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 Ni(e,o,n,!!f)):("doubleClick"==r?ji:ki)(e,o.pos,o.inside,n)?n.preventDefault():gi(e,"pointer"))};class Ni{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((()=>Tf(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||Tn&&this.mightDrag&&!this.mightDrag.node.isAtom||xn&&!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 xi(e,t){return!!e.composing||!!(Tn&&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 Di=On?5e3:-1;function Ti(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>zi(e)),t))}function Ei(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 Ai(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(),Ei(e),t||e.docView&&e.docView.dirty){let n=xf(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}Ti(e,Di)},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++,Ti(e,20))};const Oi=kn&&In<15||En&&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=An?"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||!xn||Dn>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())&&Tf(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(xn&&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 Tf(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=xf(e))&&s.eq(Jt.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Tf(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)||Tf(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(Tn&&/^(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||Tn&&/^(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=xf(e,t);if(n&&!e.state.selection.eq(n)){if(xn&&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})),xn&&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")||Ee.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++,(En&&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((En&&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&&xn&&e.domObserver.suppressSelectionUpdates());xn&&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&&!(xn&&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((()=>Tf(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)}Tn&&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&&(Ei(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||xn)&&!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=xn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Ai(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))?Tf(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),Tf(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?Tn&&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),Nr=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),xr=0;xr<10;xr++)kr[48+xr]=kr[96+xr]=String(xr);for(xr=1;xr<=24;xr++)kr[xr+111]="F"+xr;for(xr=65;xr<=90;xr++)kr[xr]=String.fromCharCode(xr+32),Ir[xr]=String.fromCharCode(xr);for(var Dr in kr)Ir.hasOwnProperty(Dr)||(Ir[Dr]=kr[Dr]);const Tr=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),Er=typeof navigator<"u"&&/Win/.test(navigator.platform);function Ar(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);Tr?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[Ar(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||Nr&&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)&&!(Er&&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 De({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 No(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 xo(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const Do=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=xo(n);return No(f,{from:o,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:s})}}})]}});function To(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 Eo(e,t,n={}){return e.find((e=>e.type===t&&To(Object.fromEntries(Object.keys(n).map((t=>[t,e.attrs[t]]))),n)))}function Ao(e,t,n={}){return!!Eo(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),!Eo([...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&&Ao([...e.parent.child(r-1).marks],t,n);)r-=1,o-=e.parent.child(r).nodeSize;for(;a<e.parent.childCount&&Ao([...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 De({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?Ee.fromSchema(r).parseSlice(Yo(e),n.parseOptions):Ee.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=Ee.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=>To(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=>To(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=>To(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,Do.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 No(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...xo(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 Sa=va.exports;const Na=(...e)=>t=>{e.forEach((e=>{"function"==typeof e?e(t):e&&(e.current=t)}))},xa=({contentComponent:t})=>{const n=Sa.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:Na(n,this.editorContentRef),...f}),(null==t?void 0:t.contentComponent)&&e.createElement(xa,{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={};
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 Sa=va.exports;const Na=(...e)=>t=>{e.forEach((e=>{"function"==typeof e?e(t):e&&(e.current=t)}))},xa=({contentComponent:t})=>{const n=Sa.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return e.createElement(e.Fragment,null,Object.values(n))};class Da 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:Na(n,this.editorContentRef),...f}),(null==t?void 0:t.contentComponent)&&e.createElement(xa,{contentComponent:t.contentComponent}))}}const Ta=t(((t,n)=>{const f=e.useMemo((()=>Math.floor(4294967295*Math.random()).toString()),[t.editor]);return e.createElement(Da,{key:f,innerRef:n,...t})})),Ea=e.memo(Ta);var Aa,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 Ns=Object.create(null),xs=["https://api.simplesvg.com","https://api.unisvg.com"],Ts=[];for(;xs.length>0;)1===xs.length||Math.random()>.5?Ts.push(xs.shift()):Ts.push(xs.pop());function Ds(e,t){const n=Ss(t);return null!==n&&(Ns[e]=n,!0)}function As(e){return Ns[e]}Ns[""]=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 Nl;if(hs(!0),Nl=zs,ks[""]=Nl,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 xl(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)=>xl({...e,_ref:t})));t(((e,t)=>xl({inline:!0,...e,_ref:t})));const Dl=e=>O.jsx(b,{...e,sx:{"&.MuiMenuItem-root":{color:"var(--colors-delta-700)",fontSize:"14px",lineHeight:"20px"}},children:e.children}),Al={small:"10px",normal:"16px",large:"24px",huge:"32px"},El=e=>{const{editor:t}=e,[n,i]=f("normal");return 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(Al).find((e=>Al[e]===n))||"normal";i(f)}}))}),[t.state.selection,t.state.doc]),O.jsx(y,{...e,select:!0,size:"small",dataTest:"font-size-select",onChange:e=>{const n=e.target.value;t.chain().focus().setMark("textStyle",{fontSize:Al[n]}).run(),i(n)},value:n,SelectProps:{IconComponent:()=>null},InputProps:{endAdornment:O.jsx(Tl,{icon:"tabler:caret-up-down-filled",className:"chevron-icon"})},sx:{".MuiSelect-select":{border:"none",padding:0,overflow:"hidden",display:"flex",alignItems:"center",color:"var(--colors-delta-700)",fontSize:"14px",lineHeight:"20px"},".MuiOutlinedInput-root":{height:"32px",width:"75px","& .MuiOutlinedInput-notchedOutline":{border:"none"}}},children:e.children})},zl=({editor:e,onClose:t,error:i,focused:r,openLinkDialog:o,openEmojiPicker:a,locale:l,emojiButtonRef:u})=>{const[h,p]=f(0),m=n(null),g=d((()=>"no"===l),[l]),[w,M]=f(!1),[y,I]=f([]);s((()=>{const t=new ResizeObserver((()=>{var t;if(m.current){const n=m.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;p(void 0!==f?f:8);const i=[];Number(f)<8&&i.push(O.jsx(L,{title:"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(C,{})},"link")})},"link")),Number(f)<7&&i.push(O.jsx(L,{title:"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(L,{title:"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(L,{title:"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(L,{title:"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 m.current&&t.observe(m.current),()=>t.disconnect()}),[e,o,g]);const{anchorEl:S,open:N,handleClose:x,handleOpen:T}=(()=>{const[e,t]=f(null),n=!!e,i=c((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:c((()=>{t(null)}),[]),handleOpen:i,anchorEl:e}})();return O.jsx(O.Fragment,{children:O.jsxs("div",{className:R("toolbar",{"toolbar-error":i,"toolbar-focused":r}),ref:m,children:[O.jsxs("div",{className:"flex flex-row items-center gap-1",children:[h>=1&&O.jsx(L,{arrow:!0,title:"Emojis",placement:"top",children:O.jsx("span",{ref:u,children:O.jsx(v,{dataTest:"richeditor-emoji-button",size:"small",variant:"textGray",onMouseDown:e=>{e.preventDefault(),a()},style:{minWidth:32,padding:0},children:O.jsx(Tl,{icon:"mdi:emoticon-outline",fontSize:20})})})}),h>=2&&O.jsx(L,{title:"Heading 1",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-h1-button",size:"small",variant:e.isActive("heading",{level:1})?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:1}).run()},children:O.jsx(Tl,{icon:"bi:type-h1"})})})}),h>=3&&O.jsx(L,{title:"Heading 2",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-h2-button",size:"small",variant:e.isActive("heading",{level:2})?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:2}).run()},children:O.jsx(Tl,{icon:"bi:type-h2"})})})}),h>=4&&O.jsx(L,{title:"Font size",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsxs(El,{editor:e,children:[O.jsx(Dl,{value:"small",children:g?"Liten":"Small"}),O.jsx(Dl,{value:"normal",children:"Normal"}),O.jsx(Dl,{value:"large",children:g?"Stor":"Large"}),O.jsx(Dl,{value:"huge",children:g?"Enorm":"Huge"})]})})}),h>=5&&O.jsx(L,{title:"Bullet list",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-bullet-list-button",size:"small",variant:e.isActive("bulletList")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBulletList().run()},children:O.jsx(Tl,{icon:"mdi:format-list-bulleted",fontSize:20})})})}),h>=6&&O.jsx(L,{title:"Ordered list",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-ordered-list-button",size:"small",variant:e.isActive("orderedList")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleOrderedList().run()},children:O.jsx(Tl,{icon:"mdi:format-list-numbered",fontSize:20})})})}),h>=7&&O.jsx(L,{title:"Bold",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-bold-button",size:"small",variant:e.isActive("bold")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBold().run()},children:O.jsx(Tl,{icon:"ooui:bold-b"})})})}),h>=8&&O.jsx(L,{title:"Italic",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-italic-button",size:"small",variant:e.isActive("italic")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleItalic().run()},children:O.jsx(Tl,{icon:"material-symbols:format-italic",height:20})})})}),h>=9&&O.jsx(L,{title:"Link",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{dataTest:"richeditor-link-button",size:"small",variant:e.isActive("link")?"text":"textGray",onMouseDown:e=>{e.preventDefault(),o()},children:O.jsx(C,{})})})}),w&&O.jsxs(O.Fragment,{children:[O.jsx(L,{title:"More",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(v,{size:"small",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(k,{disablePortal:!0,disableEnforceFocus:!0,open:N,anchorEl:S,onClose:x,onMouseDown:e=>{e.preventDefault(),x()},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:y})]})]}),O.jsx(v,{dataTest:"richeditor-close-toolbar-button",size:"small",variant:"text",onMouseDown:e=>{e.preventDefault(),t()},children:g?"Lukk":"Close"})]})})},Ol=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Pl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Rl=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Jl=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Bl=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:Ol,type:this.type}),wa({find:Rl,type:this.type})]},addPasteRules(){return[ya({find:Pl,type:this.type}),ya({find:Jl,type:this.type})]}}),Ql="textStyle",Yl=/^\s*([-+*])\s$/,Ul=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(Ql)).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:Yl,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Ma({find:Yl,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Ql),editor:this.editor})),[e]}}),Gl=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}})))}}),Zl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Hl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,Wl=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,Fl=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Vl=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:Zl,type:this.type}),wa({find:Wl,type:this.type})]},addPasteRules(){return[ya({find:Hl,type:this.type}),ya({find:Fl,type:this.type})]}}),$l="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",_l="ελ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",Kl=(e,t)=>{for(const n in t)e[n]=t[n];return e},Xl="numeric",ql="ascii",ec="alpha",tc="asciinumeric",nc="alphanumeric",fc="domain",ic="emoji",rc="scheme",oc="slashscheme",ac="whitespace";function sc(e,t){return e in t||(t[e]=[]),t[e]}function lc(e,t,n){t[Xl]&&(t[tc]=!0,t[nc]=!0),t[ql]&&(t[tc]=!0,t[ec]=!0),t[tc]&&(t[nc]=!0),t[ec]&&(t[nc]=!0),t[nc]&&(t[fc]=!0),t[ic]&&(t[fc]=!0);for(const f in t){const t=sc(f,n);t.indexOf(e)<0&&t.push(e)}}function cc(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}cc.groups={},cc.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||cc.groups,t&&t.j?i=t:(i=new cc(t),n&&f&&lc(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||cc.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 cc,Kl(o.j,a.j),o.jr.push.apply(o.jr,a.jr),o.jd=a.jd,o.t=a.t):o=new cc,r){if(f)if(o.t&&"string"==typeof o.t){const e=Kl(function(e,t){const n={};for(const f in t)t[f].indexOf(e)>=0&&(n[f]=!0);return n}(o.t,f),n);lc(r,e,f)}else n&&lc(r,n,f);o.t=r}return i.j[e]=o,o}};const dc=(e,t,n,f,i)=>e.ta(t,n,f,i),uc=(e,t,n,f,i)=>e.tr(t,n,f,i),hc=(e,t,n,f,i)=>e.ts(t,n,f,i),pc=(e,t,n,f,i)=>e.tt(t,n,f,i),mc="WORD",gc="UWORD",wc="ASCIINUMERICAL",Mc="ALPHANUMERICAL",bc="LOCALHOST",yc="TLD",Lc="UTLD",Cc="SCHEME",vc="SLASH_SCHEME",jc="NUM",kc="WS",Ic="NL",Sc="OPENBRACE",Nc="CLOSEBRACE",xc="OPENBRACKET",Tc="CLOSEBRACKET",Dc="OPENPAREN",Ac="CLOSEPAREN",Ec="OPENANGLEBRACKET",zc="CLOSEANGLEBRACKET",Oc="FULLWIDTHLEFTPAREN",Pc="FULLWIDTHRIGHTPAREN",Rc="LEFTCORNERBRACKET",Jc="RIGHTCORNERBRACKET",Bc="LEFTWHITECORNERBRACKET",Qc="RIGHTWHITECORNERBRACKET",Yc="FULLWIDTHLESSTHAN",Uc="FULLWIDTHGREATERTHAN",Gc="AMPERSAND",Zc="APOSTROPHE",Hc="ASTERISK",Wc="AT",Fc="BACKSLASH",Vc="BACKTICK",$c="CARET",_c="COLON",Kc="COMMA",Xc="DOLLAR",qc="DOT",ed="EQUALS",td="EXCLAMATION",nd="HYPHEN",fd="PERCENT",id="PIPE",rd="PLUS",od="POUND",ad="QUERY",sd="QUOTE",ld="FULLWIDTHMIDDLEDOT",cd="SEMI",dd="SLASH",ud="TILDE",hd="UNDERSCORE",pd="EMOJI",md="SYM";var gd=Object.freeze({__proto__:null,WORD:mc,UWORD:gc,ASCIINUMERICAL:wc,ALPHANUMERICAL:Mc,LOCALHOST:bc,TLD:yc,UTLD:Lc,SCHEME:Cc,SLASH_SCHEME:vc,NUM:jc,WS:kc,NL:Ic,OPENBRACE:Sc,CLOSEBRACE:Nc,OPENBRACKET:xc,CLOSEBRACKET:Tc,OPENPAREN:Dc,CLOSEPAREN:Ac,OPENANGLEBRACKET:Ec,CLOSEANGLEBRACKET:zc,FULLWIDTHLEFTPAREN:Oc,FULLWIDTHRIGHTPAREN:Pc,LEFTCORNERBRACKET:Rc,RIGHTCORNERBRACKET:Jc,LEFTWHITECORNERBRACKET:Bc,RIGHTWHITECORNERBRACKET:Qc,FULLWIDTHLESSTHAN:Yc,FULLWIDTHGREATERTHAN:Uc,AMPERSAND:Gc,APOSTROPHE:Zc,ASTERISK:Hc,AT:Wc,BACKSLASH:Fc,BACKTICK:Vc,CARET:$c,COLON:_c,COMMA:Kc,DOLLAR:Xc,DOT:qc,EQUALS:ed,EXCLAMATION:td,HYPHEN:nd,PERCENT:fd,PIPE:id,PLUS:rd,POUND:od,QUERY:ad,QUOTE:sd,FULLWIDTHMIDDLEDOT:ld,SEMI:cd,SLASH:dd,TILDE:ud,UNDERSCORE:hd,EMOJI:pd,SYM:md});const wd=/[a-z]/,Md=/\p{L}/u,bd=/\p{Emoji}/u,yd=/\d/,Ld=/\s/,Cd="\r",vd="\n",jd="️",kd="‍",Id="";let Sd=null,Nd=null;function xd(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 Td(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 cc(f),r.jr=i.slice(),e.j[o]=r),e=r}return r=new cc(n),r.jr=i.slice(),e.j[t[o-1]]=r,r}function Dd(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 Ad={defaultProtocol:"http",events:null,format:zd,formatHref:zd,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Ed(e,t=null){let n=Kl({},Ad);e&&(n=Kl(n,e instanceof Ed?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 zd(e){return e}function Od(e,t){this.t="token",this.v=e,this.tk=t}function Pd(e,t){class n extends Od{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Ed.prototype={o:Ad,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]:Ad[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)}},Od.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=Ad.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&&Kl(o,c),{tagName:i,attributes:o,content:r,eventListeners:d}}};const Rd=Pd("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Jd=Pd("text"),Bd=Pd("nl"),Qd=Pd("url",{isLink:!0,toHref(e=Ad.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==bc&&e[1].t===_c}}),Yd=e=>new cc(e);function Ud(e,t,n){const f=n[0].s,i=n[n.length-1].e;return new e(t.slice(f,i),n)}const Gd=typeof console<"u"&&console&&console.warn||(()=>{}),Zd={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Hd(e,t=!1){if(Zd.initialized&&Gd(`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');Zd.customSchemes.push([e,t])}function Wd(){Zd.scanner=function(e=[]){const t={};cc.groups=t;const n=new cc;null==Sd&&(Sd=Dd($l)),null==Nd&&(Nd=Dd(_l)),pc(n,"'",Zc),pc(n,"{",Sc),pc(n,"}",Nc),pc(n,"[",xc),pc(n,"]",Tc),pc(n,"(",Dc),pc(n,")",Ac),pc(n,"<",Ec),pc(n,">",zc),pc(n,"(",Oc),pc(n,")",Pc),pc(n,"「",Rc),pc(n,"」",Jc),pc(n,"『",Bc),pc(n,"』",Qc),pc(n,"<",Yc),pc(n,">",Uc),pc(n,"&",Gc),pc(n,"*",Hc),pc(n,"@",Wc),pc(n,"`",Vc),pc(n,"^",$c),pc(n,":",_c),pc(n,",",Kc),pc(n,"$",Xc),pc(n,".",qc),pc(n,"=",ed),pc(n,"!",td),pc(n,"-",nd),pc(n,"%",fd),pc(n,"|",id),pc(n,"+",rd),pc(n,"#",od),pc(n,"?",ad),pc(n,'"',sd),pc(n,"/",dd),pc(n,";",cd),pc(n,"~",ud),pc(n,"_",hd),pc(n,"\\",Fc),pc(n,"・",ld);const f=uc(n,yd,jc,{[Xl]:!0});uc(f,yd,f);const i=uc(f,wd,wc,{[tc]:!0}),r=uc(f,Md,Mc,{[nc]:!0}),o=uc(n,wd,mc,{[ql]:!0});uc(o,yd,i),uc(o,wd,o),uc(i,yd,i),uc(i,wd,i);const a=uc(n,Md,gc,{[ec]:!0});uc(a,wd),uc(a,yd,r),uc(a,Md,a),uc(r,yd,r),uc(r,wd),uc(r,Md,r);const s=pc(n,vd,Ic,{[ac]:!0}),l=pc(n,Cd,kc,{[ac]:!0}),c=uc(n,Ld,kc,{[ac]:!0});pc(n,Id,c),pc(l,vd,s),pc(l,Id,c),uc(l,Ld,c),pc(c,Cd),pc(c,vd),uc(c,Ld,c),pc(c,Id,c);const d=uc(n,bd,pd,{[ic]:!0});pc(d,"#"),uc(d,bd,d),pc(d,jd,d);const u=pc(d,kd);pc(u,"#"),uc(u,bd,d);const h=[[wd,o],[yd,i]],p=[[wd,null],[Md,a],[yd,r]];for(let e=0;e<Sd.length;e++)Td(n,Sd[e],yc,mc,h);for(let e=0;e<Nd.length;e++)Td(n,Nd[e],Lc,gc,p);lc(yc,{tld:!0,ascii:!0},t),lc(Lc,{utld:!0,alpha:!0},t),Td(n,"file",Cc,mc,h),Td(n,"mailto",Cc,mc,h),Td(n,"http",vc,mc,h),Td(n,"https",vc,mc,h),Td(n,"ftp",vc,mc,h),Td(n,"ftps",vc,mc,h),lc(Cc,{scheme:!0,ascii:!0},t),lc(vc,{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]?{[rc]:!0}:{[oc]:!0};f.indexOf("-")>=0?i[fc]=!0:wd.test(f)?yd.test(f)?i[tc]=!0:i[ql]=!0:i[Xl]=!0,hc(n,f,f,i)}return hc(n,"localhost",bc,{ascii:!0}),n.jd=new cc(md),{start:n,tokens:Kl({groups:t},gd)}}(Zd.customSchemes);for(let e=0;e<Zd.tokenQueue.length;e++)Zd.tokenQueue[e][1]({scanner:Zd.scanner});Zd.parser=function({groups:e}){const t=e.domain.concat([Gc,Hc,Wc,Fc,Vc,$c,Xc,ed,nd,jc,fd,id,rd,od,dd,md,ud,hd]),n=[_c,Kc,qc,td,fd,ad,sd,cd,Ec,zc,Sc,Nc,Tc,xc,Dc,Ac,Oc,Pc,Rc,Jc,Bc,Qc,Yc,Uc],f=[Gc,Zc,Hc,Fc,Vc,$c,Xc,ed,nd,Sc,Nc,fd,id,rd,od,ad,dd,md,ud,hd],i=Yd(),r=pc(i,ud);dc(r,f,r),dc(r,e.domain,r);const o=Yd(),a=Yd(),s=Yd();dc(i,e.domain,o),dc(i,e.scheme,a),dc(i,e.slashscheme,s),dc(o,f,r),dc(o,e.domain,o);const l=pc(o,Wc);pc(r,Wc,l),pc(a,Wc,l),pc(s,Wc,l);const c=pc(r,qc);dc(c,f,r),dc(c,e.domain,r);const d=Yd();dc(l,e.domain,d),dc(d,e.domain,d);const u=pc(d,qc);dc(u,e.domain,d);const h=Yd(Rd);dc(u,e.tld,h),dc(u,e.utld,h),pc(l,bc,h);const p=pc(d,nd);pc(p,nd,p),dc(p,e.domain,d),dc(h,e.domain,d),pc(h,qc,u),pc(h,nd,p);const m=pc(h,_c);dc(m,e.numeric,Rd);const g=pc(o,nd),w=pc(o,qc);pc(g,nd,g),dc(g,e.domain,o),dc(w,f,r),dc(w,e.domain,o);const M=Yd(Qd);dc(w,e.tld,M),dc(w,e.utld,M),dc(M,e.domain,o),dc(M,f,r),pc(M,qc,w),pc(M,nd,g),pc(M,Wc,l);const b=pc(M,_c),y=Yd(Qd);dc(b,e.numeric,y);const L=Yd(Qd),C=Yd();dc(L,t,L),dc(L,n,C),dc(C,t,L),dc(C,n,C),pc(M,dd,L),pc(y,dd,L);const v=pc(a,_c),j=pc(s,_c),k=pc(j,dd),I=pc(k,dd);dc(a,e.domain,o),pc(a,qc,w),pc(a,nd,g),dc(s,e.domain,o),pc(s,qc,w),pc(s,nd,g),dc(v,e.domain,L),pc(v,dd,L),pc(v,ad,L),dc(I,e.domain,L),dc(I,t,L),pc(I,dd,L);const S=[[Sc,Nc],[xc,Tc],[Dc,Ac],[Ec,zc],[Oc,Pc],[Rc,Jc],[Bc,Qc],[Yc,Uc]];for(let e=0;e<S.length;e++){const[f,i]=S[e],r=pc(L,f);pc(C,f,r),pc(r,i,L);const o=Yd(Qd);dc(r,t,o);const a=Yd();dc(r,n),dc(o,t,o),dc(o,n,a),dc(a,t,o),dc(a,n,a),pc(o,i,L),pc(a,i,L)}return pc(i,bc,M),pc(i,Ic,Bd),{start:i,tokens:gd}}(Zd.scanner.tokens);for(let e=0;e<Zd.pluginQueue.length;e++)Zd.pluginQueue[e][1]({scanner:Zd.scanner,parser:Zd.parser});return Zd.initialized=!0,Zd}function Fd(e){return Zd.initialized||Wd(),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(Ud(Jd,t,o)),o=[]),i-=u,c-=u;const e=d.t,f=n.slice(i-c,i);r.push(Ud(e,t,f))}}return o.length>0&&r.push(Ud(Jd,t,o)),r}(Zd.parser.start,e,xd(Zd.scanner.start,e))}function Vd(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 Ed(n),i=Fd(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 $d(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=Fd(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}})}Fd.scan=xd;const _d=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function Kd(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(_d,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const Xd=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?Hd(e.scheme,e.optionalSlashes):Hd(e)}))},onDestroy(){cc.groups={},Zd.scanner=null,Zd.parser=null,Zd.tokenQueue=[],Zd.pluginQueue=[],Zd.customSchemes=[],Zd.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)=>!!Kd(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=>!!Kd(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!Kd(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=>!!Kd(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=>!!Kd(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=Vd(e).filter((e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!Kd(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($d({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!Kd(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=Vd(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}}),qd=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)}}}),eu="textStyle",tu=/^(\d+)\.\s$/,nu=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(eu)).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:tu,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:tu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(eu)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),fu=ba.create({name:"doc",topNode:!0,content:"block+"}),iu=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()}}}),ru=ba.create({name:"text",group:"inline"}),ou=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 au=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 su=[fu,iu,ru,ou],lu=[Gl.configure({levels:[1,2]}),qd,Ul,nu,Xd,Bl,Vl,au],cu="_link-dialog-container_jjs9w_1",du=({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(I,{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:cu,children:[O.jsx("div",{className:"link-input-field",children:O.jsx(y,{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(v,{dataTest:"delete-customer-reject-button",size:"medium",variant:"outlined",onClick:()=>{t(!1),o("")},children:a?"Avbryt":"Cancel"}),O.jsx(v,{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"})]})]})})},uu=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 hu(e){return[].concat(e)}function pu(e){return e.startsWith(":")}function mu(e){return bu(e)&&("*"===e||e.length>1&&":>~.+*".includes(e.slice(0,1))||yu(e))}function gu(e,t){return(bu(t)||"number"==typeof t)&&!Mu(e)&&!pu(e)&&!wu(e)}function wu(e){return e.startsWith("@media")}function Mu(e){return"--"===e}function bu(e){return e+""===e}function yu(e){return bu(e)&&(e.startsWith("&")||pu(e))}function Lu(e,t=""){return e.filter(Boolean).join(t)}function Cu(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 vu(e,t){return`${e}:${t}`}function ju(e){return e?`.${e}`:""}var ku=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=vu(t,n);const i=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:Cu(this.sheet.name,this.joined),this.key=Lu([this.joined,i,this.hash])}toString(){let t=Iu(this.selector.preconditions,{right:this.hash});return t=Iu(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 vu(n,function(e,t){return"content"===e?`"${t}"`:t}(e,t))+";"}};function Iu(e,{left:t="",right:n=""}={}){const f=e.reduce(((e,t)=>pu(t)?e+t:yu(t)?e+t.slice(1):Lu([e,t]," ")),t);return Lu([f,ju(n)]," ")}var Su;function Nu(e,t){for(const n in e)t(n.trim(),e[n])}function xu(...e){return Lu(e.reduce(((e,t)=>(t instanceof Set?e.push(...t):"string"==typeof t?e.push(t):Array.isArray(t)?e.push(xu(...t)):"object"==typeof t&&Object.entries(t).forEach((([t,n])=>{n&&e.push(t)})),e)),[])," ").trim()}function Tu(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 bu(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 Du(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?hu(n):[],this.postconditions=f?hu(f):[],this.setScope(t)}setScope(e){return e?(this.scopeClassName||(this.scopeName=e,this.scopeClassName=Cu(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 ku(this.sheet,e,t,this)}}(n)).forEach((([e,f,i])=>{Au(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 Du(e,t,n){const f=[];return Nu(t,((i,r)=>{if(mu(i))return Du(e,r,n.addPrecondition(i)).forEach((e=>f.push(e)));f.push([i,t[i],n.addScope(i)])})),f}function Au(e,t,n){const f=new Set;return Nu(t,((t,i)=>{let r=[];if(mu(t))r=Au(e,i,n.addPostcondition(t));else if(function(e){return"."===e}(t))r=hu(i);else if(wu(t))r=function(e,t,n,f){e.append(n+" {");const i=Au(e,t,f);return e.append("}"),i}(e,i,t,n);else if(Mu(t))r=function(e,t,n){const f=new Set,i=[];if(Nu(t,((t,r)=>{if(gu(t,r))return void i.push(ku.genRule(t,r));Eu(Au(e,r??{},n),f)})),!n.scopeClassName)return f;if(i.length){const t=i.join(" ");e.append(`${Iu(n.preconditions,{right:n.scopeClassName})} {${t}}`)}return f.add(n.scopeClassName),f}(e,i,n);else if(gu(t,i)){const r=n.createRule(t,i);e.addRule(r),f.add(r.hash)}return Eu(r,f)})),f}function Eu(e,t){return e.forEach((e=>t.add(e))),t}function zu(){return zu=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},zu.apply(this,arguments)}function Ou(e,t){return(Ou=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pu(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 Ru(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 Ju(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 Ru(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 Ru(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 Bu(){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"}(Su||(Su={}));var Qu=Tu("epr",null),Yu={display:"none",opacity:"0",pointerEvents:"none",visibility:"hidden",overflow:"hidden"},Uu=Qu.create({hidden:zu({".":Su.hidden},Yu)}),Gu=u((function(){return l("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Qu.getStyle()}})})),Zu=Qu.create({".epr-main":{":has(input:not(:placeholder-shown))":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},hiddenOnSearch:zu({".":Su.hiddenOnSearch},Yu)},":has(input:placeholder-shown)":{visibleOnSearchOnly:Yu}},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:zu({".":"epr-visible-on-search-only"},Yu)}});function Hu(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 Wu(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 Fu,Vu,$u,_u,Ku,Xu,qu=["1f44d","2764-fe0f","1f603","1f622","1f64f","1f44e","1f621"];!function(e){e.RECENT="recent",e.FREQUENT="frequent"}(Fu||(Fu={})),function(e){e.NATIVE="native",e.APPLE="apple",e.TWITTER="twitter",e.GOOGLE="google",e.FACEBOOK="facebook"}(Vu||(Vu={})),function(e){e.DARK="dark",e.LIGHT="light",e.AUTO="auto"}($u||($u={})),function(e){e.NEUTRAL="neutral",e.LIGHT="1f3fb",e.MEDIUM_LIGHT="1f3fc",e.MEDIUM="1f3fd",e.MEDIUM_DARK="1f3fe",e.DARK="1f3ff"}(_u||(_u={})),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"}(Ku||(Ku={})),function(e){e.SEARCH="SEARCH",e.PREVIEW="PREVIEW"}(Xu||(Xu={}));var eh,th=[Ku.SUGGESTED,Ku.CUSTOM,Ku.SMILEYS_PEOPLE,Ku.ANIMALS_NATURE,Ku.FOOD_DRINK,Ku.TRAVEL_PLACES,Ku.ACTIVITIES,Ku.OBJECTS,Ku.SYMBOLS,Ku.FLAGS],nh={name:"Recently Used",category:Ku.SUGGESTED},fh=((eh={})[Ku.SUGGESTED]={category:Ku.SUGGESTED,name:"Frequently Used"},eh[Ku.CUSTOM]={category:Ku.CUSTOM,name:"Custom Emojis"},eh[Ku.SMILEYS_PEOPLE]={category:Ku.SMILEYS_PEOPLE,name:"Smileys & People"},eh[Ku.ANIMALS_NATURE]={category:Ku.ANIMALS_NATURE,name:"Animals & Nature"},eh[Ku.FOOD_DRINK]={category:Ku.FOOD_DRINK,name:"Food & Drink"},eh[Ku.TRAVEL_PLACES]={category:Ku.TRAVEL_PLACES,name:"Travel & Places"},eh[Ku.ACTIVITIES]={category:Ku.ACTIVITIES,name:"Activities"},eh[Ku.OBJECTS]={category:Ku.OBJECTS,name:"Objects"},eh[Ku.SYMBOLS]={category:Ku.SYMBOLS,name:"Symbols"},eh[Ku.FLAGS]={category:Ku.FLAGS,name:"Flags"},eh);function ih(e){return th.map((function(t){return zu({},fh[t],e&&e[t]&&e[t])}))}function rh(e){return e.category}function oh(e){return e.name}function ah(e,t){return void 0===t&&(t={}),Object.assign(fh[e],t)}var sh="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",lh="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",ch="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",dh="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";var uh,hh={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"}]},ph=[_u.NEUTRAL,_u.LIGHT,_u.MEDIUM_LIGHT,_u.MEDIUM,_u.MEDIUM_DARK,_u.DARK],mh=Object.entries(_u).reduce((function(e,t){var n=t[0];return e[t[1]]=n,e}),{}),gh=ph.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"}(uh||(uh={}));var wh={};function Mh(e){bh(e).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("").forEach((function(t){var n;wh[t]=null!=(n=wh[t])?n:{},wh[t][Ch(e)]=e}))}function bh(e){var t;return null!=(t=e[uh.name])?t:[]}function yh(e){return e?bh(e)[0]:""}function Lh(e){var t=e.split("-"),n=t.splice(1,1)[0];return gh[n]?t.join("-"):e}function Ch(e,t){var n,f=e[uh.unified];return t&&kh(e)&&null!=(n=function(e,t){return t?jh(e).find((function(e){return e.includes(t)})):Ch(e)}(e,t))?n:f}function vh(e,t){return""+function(e){switch(e){case Vu.TWITTER:return ch;case Vu.GOOGLE:return dh;case Vu.FACEBOOK:return lh;case Vu.APPLE:default:return sh}}(t)+e+".png"}function jh(e){var t;return null!=(t=e[uh.variations])?t:[]}function kh(e){return jh(e).length>0}function Ih(e){if(e){if(xh[e])return xh[e];var t=Lh(e);return xh[t]}}setTimeout((function(){Sh.reduce((function(e,t){return Mh(t),e}),wh)}));var Sh=Object.values(hh).flat();function Nh(e){hh[Ku.CUSTOM].length=0,e.forEach((function(e){var t=function(e){var t;return t={},t[uh.name]=e.names.map((function(e){return e.toLowerCase()})),t[uh.unified]=e.id.toLowerCase(),t[uh.added_in]="0",t[uh.imgUrl]=e.imgUrl,t}(e);hh[Ku.CUSTOM].push(t),!xh[t[uh.unified]]&&(Sh.push(t),xh[t[uh.unified]]=t,Mh(t))}))}var xh={};setTimeout((function(){Sh.reduce((function(e,t){return e[Ch(t)]=t,kh(t)&&jh(t).forEach((function(n){e[n]=t})),e}),xh)}));var Th=["2640-fe0f","2642-fe0f","2695-fe0f"],Dh="Search",Ah="No results found",Eh=" found. Use up and down arrow keys to navigate.",zh="1 result"+Eh,Oh="%n results"+Eh;function Ph(e){var t,n;void 0===e&&(e={});var f=Rh(),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===Fu.RECENT&&(f[Ku.SUGGESTED]=nh);var i=ih(f);return null!=(n=e)&&n.length?e.map((function(e){return"string"==typeof e?ah(e,f[e]):zu({},ah(e.category,f[e.category]),e)})):i}(e.categories,{suggestionMode:r.suggestedEmojisMode});r.hiddenEmojis.forEach((function(e){r.unicodeToHide.add(e)})),Nh(null!=(n=r.customEmojis)?n:[]);var a=r.searchDisabled?Xu.PREVIEW:r.skinTonePickerLocation;return zu({},r,{categories:o,previewConfig:i,skinTonePickerLocation:a})}function Rh(){return{autoFocusSearch:!0,categories:ih(),className:"",customEmojis:[],defaultSkinTone:_u.NEUTRAL,emojiStyle:Vu.APPLE,emojiVersion:null,getEmojiUrl:vh,height:450,lazyLoadEmojis:!1,previewConfig:zu({},Jh),searchDisabled:!1,searchPlaceHolder:Dh,searchPlaceholder:Dh,skinTonePickerLocation:Xu.SEARCH,skinTonesDisabled:!1,style:{},suggestedEmojisMode:Fu.FREQUENT,theme:$u.LIGHT,unicodeToHide:new Set(Th),width:350,reactionsDefaultOpen:!1,reactions:qu,open:!0,allowExpandReactions:!0,hiddenEmojis:[]}}var Jh={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},Bh=["children"],Qh=o(Rh());function Yh(e){var t=e.children,n=function(e){var t,n=f((function(){return Ph(e)})),i=n[0],o=n[1];return r((function(){Wu(i,e)||o(Ph(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}(Pu(e,Bh));return l(Qh.Provider,{value:n},t)}function Uh(){return a(Qh)}function Gh(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 Zh(){var e=function(){var e=Uh(),t=e.unicodeToHide;return t}();return function(t){return e.has(t)}}function Hh(){var e=n({}),t=function(){var e=Uh(),t=e.emojiVersion;return t}();return d((function(){var n=parseFloat(""+t);return!t||Number.isNaN(n)?e.current:Sh.reduce((function(e,t){return function(e,t){return function(e){return parseFloat(e[uh.added_in])}(e)>t}(t,n)&&(e[Ch(t)]=!0),e}),e.current)}),[t])}function Wh(){var e=Hh(),t=Zh();return function(n){var f=Lh(Ch(n));return!(!e[f]&&!t(f))}}function Fh(e){var t=e.children,i=Hh(),o=function(){var e=Uh(),t=e.defaultSkinTone;return t}(),a=function(){var e=Uh(),t=e.reactionsDefaultOpen;return t}(),s=n(wh),c=n(!1),d=n(!1),u=n(i),h=Gh(Date.now(),200),p=Gh("",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(Vh.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 Vh=o({activeCategoryState:[null,function(){}],activeSkinTone:[_u.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 $h(){return a(Vh).filterRef}function _h(){return a(Vh).disallowMouseRef}function Kh(){return a(Vh).reactionsModeState}function Xh(){return a(Vh).searchTerm}function qh(){return a(Vh).activeSkinTone}function ep(){return a(Vh).emojisThatFailedToLoadState}function tp(){return a(Vh).emojiVariationPickerState}function np(){return a(Vh).skinToneFanOpenState}function fp(){var e=a(Vh).suggestedUpdateState,t=e[0],n=e[1];return[t,function(){n(Date.now())}]}var ip,rp=e.createContext({});function op(){return e.useContext(rp)}function ap(){}function sp(){return Uh().allowExpandReactions}function lp(){return Uh().skinTonesDisabled}function cp(){return Uh().emojiStyle}function dp(){return Uh().categories}function up(){return Uh().previewConfig}function hp(){return Uh().searchDisabled}function pp(){return Uh().skinTonePickerLocation}function mp(){return Uh().getEmojiUrl}function gp(e){return"number"==typeof e?e+"px":e}function wp(){return!!Xh()[0]}function Mp(e){e&&requestAnimationFrame((function(){e.focus()}))}function bp(e){e&&Mp(e.previousElementSibling)}function yp(e){e&&Mp(e.nextElementSibling)}function Lp(e){e&&Mp(e.firstElementChild)}function Cp(){return document.activeElement}function vp(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(kp.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"}(ip||(ip={}));var jp,kp=o({AnchoredEmojiRef:m(),BodyRef:m(),CategoryNavigationRef:m(),PickerMainRef:m(),SearchInputRef:m(),SkinTonePickerRef:m(),VariationPickerRef:m(),ReactionsRef:m()});function Ip(){return a(kp)}function Sp(){return Ip().PickerMainRef}function Np(){return Ip().AnchoredEmojiRef}function xp(){var e=Np();return function(t){null===t&&null!==e.current&&Mp(e.current),e.current=t}}function Tp(){return Ip().BodyRef}function Dp(){return Ip().SearchInputRef}function Ap(){return Ip().SkinTonePickerRef}function Ep(){return Ip().CategoryNavigationRef}function zp(e,t){void 0===t&&(t=0);var n=Sm(e);n&&requestAnimationFrame((function(){n.scrollTop=t}))}function Op(e){if(e&&function(e){return!!e&&Nm(e)<Im(Zm(e))}(e)&&!e.closest(Bu(Su.variationPicker))){var t=xm(e),n=Nm(e);!function(e,t){var n=Sm(e);n&&requestAnimationFrame((function(){n.scrollTop=n.scrollTop+t}))}(t,-(Im(Zm(e))-n))}}function Pp(e){var t=Ym(e);Mp(t),Op(t)}function Rp(e){if(e){var t=Bm(e);if(!t)return Pp(Gm(e));Mp(t),Op(t)}}function Jp(e){if(e){var t=Qm(e);if(!t)return function(e){Mp(Jm(e))}(Um(e));Mp(t),Op(t)}}function Bp(e,t){if(e){var n=function(e){if(!e)return null;var t=Hm(e),n=Zm(t),f=mm(t,e),i=gm(t,e),r=pm(t,e);if(0===i){var o=Um(n);return o?Mm(Rm(o),-1,r,f):null}return function(e,t,n,f){var i=wm(e,t-1,n);return i[f]||i[i.length-1]||null}(Rm(t),i,r,f)}(e);if(!n)return t();Mp(n),Op(n)}}function Qp(e){if(e){var t=function(e){if(!e)return null;var t=Hm(e),n=Zm(t),f=mm(t,e),i=gm(t,e),r=pm(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=Gm(n);return o?Mm(Rm(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?[]:wm(e,f,n)}(e,t,n);return i[f]||i[i.length-1]||null}(Rm(t),i,r,f);return a}(e);return Mp(t)}}function Yp(){var e=tp(),t=e[0],n=e[1],f=np(),i=f[0],r=f[1];return c((function(){t&&n(null),i&&r(!1)}),[t,i,n,r])}function Up(){var e=tp()[0],t=np()[0];return function(){return!!e||t}}function Gp(){var e=_h();return function(){e.current=!1}}function Zp(){var e=_h();return function(){return e.current}}function Hp(){var e=Dp();return c((function(){Mp(e.current)}),[e])}function Wp(){var e=Ep();return c((function(){e.current&&Lp(e.current)}),[e])}function Fp(){var e=$p(),t=Dp(),n=Hp();return function(){t.current&&(t.current.value=""),e(""),n()}}function Vp(){var e=Dp(),t=$h(),n=function(){var e=$h();return function t(n){if("function"==typeof n)return t(n(e.current));e.current=n}}(),f=$p(),i=Xh()[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?Oh.replace("%n",e.toString()):zh:Ah}(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];_p(i,t)&&(n[f]=i)}return n}(o,r),t))})),f(r)},searchTerm:i,SearchInputRef:e,statusSearchResults:r}}function $p(){var e=Xh()[1],t=Sp();return function(n){requestAnimationFrame((function(){e(n&&(null==n?void 0:n.toLowerCase())).then((function(){zp(t.current,0)}))}))}}function _p(e,t){return bh(e).some((function(e){return e.includes(t)}))}function Kp(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function Xp(){var e=xp(),t=tp()[1];return function(n){var f=vm(n)[0];f&&(e(n),t(f))}}function qp(){return pp()===Xu.SEARCH}function em(){return pp()===Xu.PREVIEW}function tm(){(function(){var e=Sp(),t=Fp(),n=function(){var e=Tp();return c((function(t){requestAnimationFrame((function(){e.current&&(e.current.scrollTop=t)}))}),[e])}(),f=Dp(),i=Hp(),o=Up(),a=function(){var e=_h();return function(){e.current=!0}}(),s=Yp(),l=d((function(){return function(e){var f=e.key;if(a(),f===jp.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=Ap();return c((function(){e.current&&Lp(e.current)}),[e])}(),t=Sp(),n=Tp(),f=Dp(),i=np()[1],o=nm(),a=qp(),s=d((function(){return function(t){switch(t.key){case jp.ArrowRight:if(!a)return;t.preventDefault(),i(!0),e();break;case jp.ArrowDown:t.preventDefault(),o();break;case jp.Enter:t.preventDefault(),function(e){var t=Ym(e);Mp(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=Ap(),t=Hp(),n=Dp(),f=nm(),i=np(),o=i[0],a=i[1],s=em(),l=qp(),c=rm(),u=d((function(){return function(e){var n=e.key;if(l)switch(n){case jp.ArrowLeft:if(e.preventDefault(),!o)return t();fm(t);break;case jp.ArrowRight:if(e.preventDefault(),!o)return t();im();break;case jp.ArrowDown:e.preventDefault(),o&&a(!1),f();break;default:c(e)}if(s)switch(n){case jp.ArrowUp:if(e.preventDefault(),!o)return t();fm(t);break;case jp.ArrowDown:if(e.preventDefault(),!o)return t();im();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=Hp(),t=Ep(),n=Tp(),f=rm(),i=d((function(){return function(t){switch(t.key){case jp.ArrowUp:t.preventDefault(),e();break;case jp.ArrowRight:t.preventDefault(),yp(Cp());break;case jp.ArrowLeft:t.preventDefault(),bp(Cp());break;case jp.ArrowDown:t.preventDefault(),Pp(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=Tp(),t=function(){var e=Hp(),t=Wp(),n=wp();return c((function(){return n?e():t()}),[e,n,t])}(),n=Xp(),f=Up(),i=Yp(),o=rm(),a=d((function(){return function(e){var r=e.key,a=Cm(Cp());switch(r){case jp.ArrowRight:e.preventDefault(),Rp(a);break;case jp.ArrowLeft:e.preventDefault(),Jp(a);break;case jp.ArrowDown:if(e.preventDefault(),f()){i();break}Qp(a);break;case jp.ArrowUp:if(e.preventDefault(),f()){i();break}Bp(a,t);break;case jp.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 nm(){var e=Wp(),t=wp(),n=Tp();return c((function(){return t?Pp(n.current):e()}),[n,e,t])}function fm(e){var t=Cp();t&&(function(e){return!!e.nextElementSibling}(t)||e(),yp(t))}function im(){var e=Cp();e&&bp(e)}function rm(){var e=function(){var e=Dp(),t=$p();return function(n){e.current?(e.current.value=""+e.current.value+n,t(Kp(e.current.value))):t(Kp(n))}}(),t=Hp(),n=hp(),f=Yp();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 om(e,t,n){if(t&&n!==Vu.NATIVE){var f=Ch(t);am.has(f)||(jh(t).forEach((function(t){!function(e){var t=new Image;t.src=e}(e(t,n))})),am.add(f))}}!function(e){e.ArrowDown="ArrowDown",e.ArrowUp="ArrowUp",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.Escape="Escape",e.Enter="Enter",e.Space=" "}(jp||(jp={}));var am=new Set;var sm=["width","height"],lm=40;function cm(e){var t=e.children;return l(Fh,null,l(dm,null,t))}function dm(e){var t,n=e.children,f=Kh()[0],i=Uh().theme,o=wp(),a=Sp(),s=Uh().className,c=function(){var e=Uh(),t=e.height,n=e.width,f=e.style;return zu({height:gp(t),width:gp(n)},f)}();tm(),function(){var e=Tp(),t=cp(),n=mp();r((function(){if(t!==Vu.NATIVE){var f=e.current;return null==f||f.addEventListener("focusin",i),function(){null==f||f.removeEventListener("focusin",i)}}function i(e){var f=Cm(e.target);if(f){var i=vm(f)[0];i&&kh(i)&&om(n,i,t)}}}),[e,t,n])}();var d=c||{},u=d.width,h=d.height,p=Pu(d,sm);return l("aside",{className:xu(hm.main,hm.baseVariables,i===$u.DARK&&hm.darkTheme,i===$u.AUTO&&hm.autoThemeDark,(t={},t[Su.searchActive]=o,t),f&&hm.reactionsMenu,s),ref:a,style:zu({},p,!f&&{height:h,width:u})},n)}var um={"--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)"},hm=Qu.create({main:{".":["epr-main",Su.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":lm+"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:{".":Su.autoTheme,"@media (prefers-color-scheme: dark)":{"--":um}},darkTheme:{".":Su.darkTheme,"--":um},reactionsMenu:{".":"epr-reactions",height:"50px",display:"inline-flex",backgroundColor:"var(--epr-reactions-bg-color)",backdropFilter:"blur(8px)","--":{"--epr-picker-border-radius":"50px"}}});function pm(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 gm(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 wm(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 Mm(e,t,n,f){var i=wm(e,t,n);return i[f]||i[i.length-1]||null}function bm(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(Bu(Su.label))),n=0,f=t;n<f.length;n++){var i=f[n].getBoundingClientRect().height;if(i>0)return i}return lm}(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 ym="button"+Bu(Su.emoji),Lm=[ym,Bu(Su.visible),":not("+Bu(Su.hidden)+")"].join("");function Cm(e){var t;return null!=(t=null==e?void 0:e.closest(ym))?t:null}function vm(e){var t=Em(e),n=Am(e);if(!t)return[];var f=Ih(n??t);return f?[f,n]:[]}function jm(e){var t;return null!=(t=null==e?void 0:e.clientHeight)?t:0}function km(e){if(!e)return 0;var t=Cm(e),n=Zm(t),f=Im(n);return Tm(t)+Tm(n)+f}function Im(e){var t,n;if(!e)return 0;var f=e.querySelector(Bu(Su.categoryContent));return(null!=(t=null==e?void 0:e.clientHeight)?t:0)-(null!=(n=null==f?void 0:f.clientHeight)?n:0)}function Sm(e){return e?e.matches(Bu(Su.scrollBody))?e:e.querySelector(Bu(Su.scrollBody)):null}function Nm(e){var t,n;return e?km(e)-(null!=(t=null==(n=xm(e))?void 0:n.scrollTop)?t:0):0}function xm(e){var t;return e&&null!=(t=e.closest(Bu(Su.scrollBody)))?t:null}function Tm(e){var t;return null!=(t=null==e?void 0:e.offsetTop)?t:0}function Dm(e){var t;return null!=(t=null==e?void 0:e.offsetLeft)?t:0}function Am(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}(Cm(e),"unified"))?t:null}function Em(e){var t=Am(e);return t?Lh(t):null}function zm(e){return e?{unified:Am(e),originalUnified:Em(e)}:{unified:null,originalUnified:null}}function Om(e){return e.classList.contains(Su.visible)}function Pm(e){return!e||e.classList.contains(Su.hidden)}function Rm(e){return e?Array.from(e.querySelectorAll(Lm)):[]}function Jm(e){if(!e)return null;var t=Rm(e).slice(-1)[0];return t?Om(t)?t:Qm(t):null}function Bm(e){var t=e.nextElementSibling;return t?Om(t)?t:Bm(t):Ym(Gm(e))}function Qm(e){var t=e.previousElementSibling;return t?Om(t)?t:Qm(t):Jm(Um(e))}function Ym(e){return e?bm(e,Rm(e),.1):null}function Um(e){var t=Zm(e);if(!t)return null;var n=t.previousElementSibling;return n?Pm(n)?Um(n):n:null}function Gm(e){var t=Zm(e);if(!t)return null;var n=t.nextElementSibling;return n?Pm(n)?Gm(n):n:null}function Zm(e){return e?e.closest(Bu(Su.category)):null}function Hm(e){return e?e.closest(Bu(Su.categoryContent)):null}function Wm(e){return e.split("-").map((function(e){return String.fromCodePoint(parseInt(e,16))})).join("")}var Fm="epr_suggested";function Vm(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(Fm))?n:"[]");return e===Fu.FREQUENT?i.sort((function(e,t){return t.count-e.count})):i}catch{return[]}}function $m(e){return void 0!==e.imgUrl}function _m(e,t){var f=n(),i=Xp(),o=a(Vh).disallowClickRef,s=tp()[1],l=Yp(),d=qh()[0],u=function(e){var t=op().current,n=Kh()[1],f=t.onEmojiClick||function(){},i=t.onReactionClick;return e===ip.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=fp()[1],p=mp(),m=cp(),g=c((function(e){if(!o.current){l();var t=Km(e),n=t[0],f=t[1];if(n&&f){var i=function(e){var t=e.split("-")[1];return ph.includes(t)?t:null}(f)||d;h(),function(e,t){var n,f=Vm(),i=Ch(e,t),r=Ch(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(Fm,JSON.stringify(n))}catch{}}(n,i),u(function(e,t,n,f){var i=bh(e);if($m(e)){var r=Ch(e);return{activeSkinTone:t,emoji:r,getImageUrl:function(){return e.imgUrl},imageUrl:e.imgUrl,isCustom:!0,names:i,unified:r,unifiedWithoutSkinTone:r}}var o=Ch(e,t);return{activeSkinTone:t,emoji:Wm(o),getImageUrl:function(e){return void 0===e&&(e=n??Vu.APPLE),f(o,e)},imageUrl:f(o,n??Vu.APPLE),isCustom:!1,names:i,unified:o,unifiedWithoutSkinTone:Ch(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=Km(e)[0];!n||!kh(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 Km(e){var t=null==e?void 0:e.target;return function(e){var t;return!!(null!=e&&e.matches(ym)||null!=e&&null!=(t=e.parentElement)&&t.matches(ym))}(t)?vm(t):[]}function Xm(e){return l("button",Object.assign({type:"button"},e,{className:xu(qm.button,e.className)}),e.children)}var qm=Qu.create({button:{".":"epr-btn",cursor:"pointer",border:"0",background:"none",outline:"none"}});function eg(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(Xm,{className:xu(ng.emoji,i&&Uu.hidden,r&&Zu.hiddenOnSearch,(t={},t[Su.visible]=!i&&!r,t),!(!s||!a)&&ng.hasVariations,h&&ng.noBackground,d),"data-unified":f,"aria-label":tg(n),"data-full-name":n},c)}function tg(e){var t;return e[0].match("flag-")&&null!=(t=e[1])?t:e[0]}var ng=Qu.create({emoji:{".":Su.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:{".":Su.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)"}}}),fg=Qu.create({external:{".":Su.external,fontSize:"0"},common:{alignSelf:"center",justifySelf:"center",display:"block"}});function ig(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:xu(rg.emojiImag,fg.external,fg.common,a),loading:i?"lazy":"eager",onError:o,style:n})}var rg=Qu.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 og(e){var t=e.unified,n=e.style,f=e.className;return l("span",{className:xu(ag.nativeEmoji,fg.common,fg.external,f),"data-unified":t,style:n},Wm(t))}var ag=Qu.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 sg(e){var t=e.emoji,n=e.unified,f=e.emojiStyle,i=e.size,r=e.lazyLoad,o=e.getEmojiUrl,a=void 0===o?vh:o,s=e.className,c=ep()[1],d={};i&&(d.width=d.height=d.fontSize=i+"px");var u=t||Ih(n);return u?$m(u)?l(ig,{style:d,emojiName:n,emojiStyle:Vu.NATIVE,lazyLoad:r,imgUrl:u.imgUrl,onError:p,className:s}):l(h,null,f===Vu.NATIVE?l(og,{unified:n,style:d,className:s}):l(ig,{style:d,emojiName:yh(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 lg(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=kh(t);return l(eg,{hasVariations:m,showVariations:a,hidden:f,hiddenOnSearch:i,emojiNames:bh(t),unified:n,noBackground:p},l(sg,{unified:n,emoji:t,size:s,emojiStyle:r,lazyLoad:c,getEmojiUrl:d,className:u}))}function cg(){var e=Kh()[1];return l(Xm,{"aria-label":"Show all Emojis",title:"Show all Emojis",tabIndex:0,className:xu(dg.plusSign),onClick:function(){return e(!1)}})}var dg=Qu.create(zu({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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNS43LDEwLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40QzYsMTAuOSw2LjEsMTEsNi4zLDExaDMuNHYzLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40CgljMC4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QiIGQ9Ik01LjcsNzAuNGMwLDAuMSwwLjEsMC4zLDAuMiwwLjRTNi4xLDcxLDYuMyw3MWgzLjR2My40YzAsMC4xLDAuMSwwLjMsMC4yLDAuNGMwLjEsMC4xLDAuMiwwLjIsMC40LDAuMgoJYzAuMywwLDAuNS0wLjIsMC41LTAuNXYtMy40aDMuNGMwLjMsMCwwLjUtMC4yLDAuNS0wLjVzLTAuMi0wLjUtMC41LTAuNWgtMy40di0zLjRjMC0wLjMtMC4yLTAuNS0wLjUtMC41cy0wLjUsMC4yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=)",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"}}}},Hu("plusSign",{":after":{backgroundPositionY:"-40px"},":hover:after":{backgroundPositionY:"-60px"}})));function ug(){var e=Kh()[0],t=Ip().ReactionsRef,n=Uh().reactions;_m(t,ip.REACTIONS);var f=cp(),i=sp(),r=mp();return e?l("ul",{className:xu(hg.list,!e&&Uu.hidden),ref:t},n.map((function(e){return l("li",{key:e},l(lg,{emoji:Ih(e),emojiStyle:f,unified:e,showVariations:!1,className:xu(hg.emojiButton),noBackground:!0,getEmojiUrl:r}))})),i?l("li",null,l(cg,null)):null):null}var hg=Qu.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 pg(){var e=ep()[0],t=function(){var e=$h().current,t=Xh()[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=Ch(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=rh(t),o=oh(t);return l("li",{className:xu(gg.category,f&&Uu.hidden,i&&Zu.hiddenOnSearch),"data-name":r,"aria-label":o},l("h2",{className:xu(gg.label)},o),l("div",{className:xu(gg.categoryContent)},n))}var gg=Qu.create({category:{".":Su.category,":not(:has(.epr-visible))":{display:"none"}},categoryContent:{".":Su.categoryContent,display:"grid",gridGap:"0",gridTemplateColumns:"repeat(auto-fill, var(--epr-emoji-fullsize))",justifyContent:"space-between",margin:"var(--epr-category-padding)",position:"relative"},label:{".":Su.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)"}}),wg=!1;function Mg(e){var t=e.categoryConfig,n=fp()[0],i=function(){var e=f(wg),t=e[0],n=e[1];return r((function(){n(!0),wg=!0}),[]),t||wg}(),o=Uh().suggestedEmojisMode,a=mp(),s=d((function(){var e;return null!=(e=Vm(o))?e:[]}),[n,o]),c=cp(),u=Wh();return i?l(mg,{categoryConfig:t,hiddenOnSearch:!0,hidden:0===s.length},s.map((function(e){var t=Ih(e.original);return!t||u(t)?null:l(lg,{showVariations:!1,unified:e.unified,emojiStyle:c,emoji:t,key:e.unified,getEmojiUrl:a})}))):null}function bg(){var e=dp(),t=n(0);return l("ul",{className:xu(Cg.emojiList)},e.map((function(e){var n=rh(e);return n===Ku.SUGGESTED?l(Mg,{key:n,categoryConfig:e}):l(g,{key:n},l(yg,{category:n,categoryConfig:e,renderdCategoriesCountRef:t}))})))}function yg(e){var t=e.category,n=e.categoryConfig,f=e.renderdCategoriesCountRef,i=pg(),r=Uh().lazyLoadEmojis,o=cp(),s=a(Vh).isPastInitialLoad,c=qh()[0],d=Wh(),u=mp(),h=!lp(),p=!s&&f.current>0?[]:function(e){var t;return null!=(t=null==hh?void 0:hh[e])?t:[]}(t);p.length>0&&f.current++;var m=0,g=p.map((function(e){var t=Ch(e,c),n=i(e),f=n.failedToLoad,a=n.filteredOut,s=n.hidden,p=d(e);return(s||p)&&m++,p?null:l(lg,{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 Lg,Cg=Qu.create({emojiList:{".":Su.emojiList,listStyle:"none",margin:"0",padding:"0"}});function vg(){var e,t,n=Np(),f=Ip().VariationPickerRef,i=tp()[0],o=cp(),a=function(e){var t=Np(),n=Tp(),f=Lg.Up;return{getMenuDirection:i,getTop:r};function i(){return f}function r(){f=Lg.Up;var i=0;if(!e.current)return 0;var r=jm(e.current);if(t.current){var o,a=n.current,s=Cm(t.current),l=jm(s);i=km(s),(null!=(o=null==a?void 0:a.scrollTop)?o:0)>i-r&&(f=Lg.Down,i+=l+r)}return i-r}}(f),s=a.getTop,c=a.getMenuDirection,d=xp(),u=function(e){var t=Np();return function(){var n={};if(!e.current)return n;if(t.current){var f=Cm(t.current),i=function(e){var t=Cm(e),n=Zm(t);return Dm(t)+Dm(n)}(f);if(!f)return n;n.left=i+(null==f?void 0:f.clientWidth)/2}return n}}(f),h=mp(),p=Cm(n.current),m=!!(i&&p&&kh(i)&&p.classList.contains(Su.emojiHasVariations));return r((function(){m&&Pp(f.current)}),[f,m,n]),!m&&n.current?d(null):(e=s(),t=u()),l("div",{ref:f,className:xu(jg.variationPicker,c()===Lg.Down&&jg.pointingUp,m&&jg.visible),style:{top:e}},m&&i?[Ch(i)].concat(jh(i)).slice(0,6).map((function(e){return l(lg,{key:e,emoji:i,unified:e,emojiStyle:o,showVariations:!1,getEmojiUrl:h})})):null,l("div",{className:xu(jg.pointer),style:t}))}!function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(Lg||(Lg={}));var jg=Qu.create(zu({variationPicker:{".":Su.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=)"}},Hu("pointer",{backgroundPosition:"-25px 0"})));function kg(){var e=Tp();return function(e){var t=Yp();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),_m(e,ip.PICKER),function(){var e=Tp(),t=Gp(),n=Zp();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:xu(Ng.body,Zu.hiddenOnReactions),ref:e},l(vg,null),l(bg,null))}var Ig,Sg,Ng=Qu.create({body:{".":Su.scrollBody,flex:"1",overflowY:"scroll",overflowX:"hidden",position:"relative"}});function xg(e,t){var n=Tp(),f=Zp(),i=Gp();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=Cm(e.target);if(!n)return o();var f=zm(n),i=f.unified,r=f.originalUnified;if(!i||!r)return o();t({unified:i,originalUnified:r})}function o(e){if(e&&!Cm(e.relatedTarget))return t(null);t(null)}function a(e){"Escape"===e.key&&t(null)}function s(e){if(!f()){var n=Cm(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=zm(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);Mp(n)}}}}),[n,e,t,f,i])}function Tg(e){var t=e.children,n=e.className,f=e.style,i=void 0===f?{}:f,r=e.direction,o=void 0===r?Sg.ROW:r;return l("div",{style:zu({},i),className:xu(Dg.flex,n,Dg[o])},t)}!function(e){e.ROW="FlexRow",e.COLUMN="FlexColumn"}(Sg||(Sg={}));var Dg=Qu.create(((Ig={flex:{display:"flex"}})[Sg.ROW]={flexDirection:"row"},Ig[Sg.COLUMN]={flexDirection:"column"},Ig));function Ag(e){var t=e.className,n=e.style;return l("div",{style:zu({flex:1},void 0===n?{}:n),className:xu(t)})}function Eg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:zu({},f,{position:"absolute"}),className:n},t)}function zg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:zu({},f,{position:"relative"}),className:n},t)}function Og(e){var t=e.isOpen,n=e.onClick,f=e.isActive,i=e.skinToneVariation,r=e.style;return l(Xm,{style:r,onClick:n,className:xu("epr-tone-"+i,Rg.tone,!t&&Rg.closedTone,f&&Rg.active),"aria-pressed":f,"aria-label":"Skin tone "+mh[i]})}var Pg,Rg=Qu.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"}}}),Jg=28;function Bg(){return l(zg,{style:{height:Jg}},l(Eg,{style:{bottom:0,right:0}},l(Qg,{direction:Pg.VERTICAL})))}function Qg(e){var t=e.direction,n=void 0===t?Pg.HORIZONTAL:t,f=Ap(),i=lp(),r=np(),o=r[0],a=r[1],s=qh(),c=s[0],d=s[1],u=op().current.onSkinToneChange||function(){},h=Yp(),p=Hp();if(i)return null;var m=Jg*ph.length+"px",g=o?m:Jg+"px",w=n===Pg.VERTICAL;return l(zg,{className:xu(Yg.skinTones,w&&Yg.vertical,o&&Yg.open,w&&o&&Yg.verticalShadow),style:w?{flexBasis:g,height:g}:{flexBasis:g}},l("div",{className:xu(Yg.select),ref:f},ph.map((function(e,t){var n=e===c;return l(Og,{key:e,skinToneVariation:e,isOpen:o,style:{transform:xu(w?"translateY(-"+t*(o?Jg:0)+"px)":"translateX(-"+t*(o?Jg: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"}(Pg||(Pg={}));var Yg=Qu.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 Ug(){var e=up(),t=em(),n=Kh()[0];return e.showPreview?l(Tg,{className:xu(Zg.preview,Zu.hiddenOnReactions,n&&Zg.hideOnReactions)},l(Gg,null),l(Ag,null),t?l(Bg,null):null):null}function Gg(){var e,t=up(),n=f(null),i=n[0],r=n[1],o=cp(),a=tp()[0],s=mp();xg(t.showPreview,r);var c=Ih(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??Ih(t.defaultEmoji);if(!e)return null;var n=a?yh(a):t.defaultCaption;return l(h,null,l("div",null,d?l(sg,{unified:null==i?void 0:i.unified,emoji:c,emojiStyle:o,size:45,getEmojiUrl:s,className:xu(Zg.emoji)}):e?l(sg,{unified:Ch(e),emoji:e,emojiStyle:o,size:45,getEmojiUrl:s,className:xu(Zg.emoji)}):null),l("div",{className:xu(Zg.label)},d?yh(c):n))}),null)}var Zg=Qu.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 Hg(e){var t;return null!=(t=null==e?void 0:e.getAttribute("data-name"))?t:null}function Wg(){var e=Uh().customEmojis;return!!e&&0===e.length}function Fg(e){var t,n=e.isActiveCategory,f=e.category,i=e.allowNavigation,r=e.categoryConfig,o=e.onClick;return l(Xm,{tabIndex:i?0:-1,className:xu(Kg.catBtn,Zu.categoryBtn,"epr-icn-"+f,(t={},t[Su.active]=n,t)),onClick:o,"aria-label":oh(r),"aria-selected":n,role:"tab","aria-controls":"epr-category-nav-id"})}var Vg={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 3)"},$g={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 2)"},_g={":not(.epr-search-active)":{catBtn:{":hover":Vg,"&.epr-active":Vg}}},Kg=Qu.create(zu({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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMDBweCIgaGVpZ2h0P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pbGw9IiM4Njg2ODYiIGN4PSIzMi40IiBjeT0iOS43IiByeD0iMC43IiByeT0iMC43Ii8+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)"}}},Hu("catBtn",$g),{".epr-dark-theme":zu({},_g),".epr-auto-theme":zu({},_g)}));function Xg(){var e=f(null),t=e[0],n=e[1],i=function(){var e=Tp(),t=Sp();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;zp(t.current,r)}}}}();!function(e){var t=Tp();r((function(){var n=new Map,f=t.current,i=new IntersectionObserver((function(t){if(f){for(var i,r=Ju(t);!(i=r()).done;){var o=i.value,a=Hg(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(Bu(Su.category)).forEach((function(e){i.observe(e)}))}),[t,e])}(n);var o=wp(),a=dp(),s=Ep(),c=Wg();return l("div",{className:xu(qg.nav),role:"tablist","aria-label":"Category navigation",id:"epr-category-nav-id",ref:s},a.map((function(e){var f=rh(e),r=f===t;return function(e){return e.category===Ku.CUSTOM}(e)&&c?null:l(Fg,{key:f,category:f,isActiveCategory:r,allowNavigation:!o&&!r,categoryConfig:e,onClick:function(){i(f),setTimeout((function(){n(f)}),10)}})})))}var qg=Qu.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"}}}),ew="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNi45OCwxMy41OWMwLjEsMC4xLDAuMjQsMC4xNSwwLjM3LDAuMTVzMC4yNy0wLjA1LDAuMzctMC4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uOTgsNzMuNTl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik0xMC4xNSw3OC40M2M0LjQxLDAsOC0zLjU5LDgtOGMwLTQuNDEtMy41OS04LTgtOGMtNC40MSwwLTgsMy41OS04LDhDMi4xNSw3NC44NCw1Ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";function tw(){var e=Fp();return l(Xm,{className:xu(fw.btnClearSearch,Zu.visibleOnSearchOnly),onClick:e,"aria-label":"Clear",title:"Clear"},l("div",{className:xu(fw.icnClearnSearch)}))}var nw={":hover":{"> .epr-icn-clear-search":{backgroundPositionY:"-60px"}}},fw=Qu.create(zu({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("+ew+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Hu("icnClearnSearch",{backgroundPositionY:"-40px"}),Hu("btnClearSearch",nw))),iw=Bu(Su.emojiPicker)+" "+Bu(Su.emojiList),rw=["button",Bu(Su.emoji)].join(""),ow=Bu(Su.category);function aw(e){var t=e.value;if(!t)return null;var n=function(e){return[rw,'[data-full-name*="',Kp(e),'"]'].join("")}(t);return l("style",null,"\n "+iw+" "+rw+" {\n display: none;\n }\n\n\n "+iw+" "+n+" {\n display: flex;\n }\n\n "+iw+" "+ow+":not(:has("+n+")) {\n display: none;\n }\n ")}function sw(){return l("div",{className:xu(lw.icnSearch)})}var lw=Qu.create(zu({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+)"}},Hu("icnSearch",{backgroundPositionY:"-20px"})));function cw(){var e=hp(),t=qp();return e?null:l(Tg,{className:xu(uw.overlay)},l(dw,null),t?l(Qg,null):null)}function dw(){var e=f(0),t=e[0],n=e[1],i=Yp(),r=Dp(),o=function(){var e,t=Uh();return null!=(e=[t.searchPlaceHolder,t.searchPlaceholder].find((function(e){return e!==Dh})))?e:Dh}(),a=Uh().autoFocusSearch,s=Vp(),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(zg,{className:xu(uw.searchContainer)},l(aw,{value:p}),l("input",{autoFocus:a,"aria-label":"Type to search for an emoji",onFocus:i,className:xu(uw.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:xu("epr-status-search-results",uw.visuallyHidden),"aria-live":"polite",id:"epr-search-id","aria-atomic":"true"},c):null,l(sw,null),l(tw,null))}var uw=Qu.create(zu({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("+ew+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Hu("icnClearnSearch",{backgroundPositionY:"-40px"}),Hu("btnClearSearch",{":hover > .epr-icn-clear-search":{backgroundPositionY:"-60px"}})));function hw(){return l(zg,{className:xu("epr-header",Zu.hiddenOnReactions)},l(cw,null),l(Xg,null))}function pw(e){return l(vp,null,l(Gu,null),l(Yh,Object.assign({},e),l(mw,null)))}function mw(){var e=Kh()[0],t=sp(),n=f(!e),i=n[0],o=n[1],a=Uh().open;return r((function(){e&&!t||i||o(!0)}),[i,t,e]),a?l(cm,null,l(ug,null),l(gw,{renderAll:i})):null}function gw(e){return e.renderAll?l(h,null,l(hw,null),l(kg,null),l(Ug,null)):null}var ww=u(pw,Wu),Mw=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,Ou(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 bw(t){var n=function(t){var n=e.useRef({onEmojiClick:t.onEmojiClick||ap,onReactionClick:t.onReactionClick||t.onEmojiClick,onSkinToneChange:t.onSkinToneChange||ap});return e.useEffect((function(){n.current.onEmojiClick=t.onEmojiClick||ap,n.current.onReactionClick=t.onReactionClick||t.onEmojiClick}),[t.onEmojiClick,t.onReactionClick]),e.useEffect((function(){n.current.onSkinToneChange=t.onSkinToneChange||ap}),[t.onSkinToneChange]),n}({onEmojiClick:t.onEmojiClick,onReactionClick:t.onReactionClick,onSkinToneChange:t.onSkinToneChange});return l(Mw,null,l(rp.Provider,{value:n},l(ww,Object.assign({},t))))}const yw=({dataTest:e,attachmentsMenu:t,id:i,inputRef:o,className:a,editorClassName:s,disabled:l,readOnly:c,error:d,locale:u,title:h,placeholder:p,helperText:m,required:g,maxScrollableHeight:M,toolbarDefaultVisible:b,hideToolbar:y,noDefaultStyles:L,attachments:C,replyModeComponent:v,...j})=>{var k;const T=n(),D=Fa({...j,extensions:[uu.configure({placeholder:p}),...su,...lu,...j.extensions||[]],parseOptions:{preserveWhitespace:!0,...j.parseOptions},shouldRerenderOnTransaction:j.shouldRerenderOnTransaction||!1,immediatelyRender:j.immediatelyRender||!0,editable:j.editable||!l&&!c,onSelectionUpdate:e=>{var t;null==(t=j.onSelectionUpdate)||t.call(j,e),T.current=e.editor.state.selection.anchor,e.editor.commands.focus()}},[j.shouldRerenderOnTransaction,j.immediatelyRender,p]);r((()=>{null==D||D.setEditable(j.editable||!l&&!c)}),[c,l,j.editable,D]),r((()=>{void 0!==T.current&&(null==D||D.commands.setTextSelection(T.current))}),[null==(k=j.content)?void 0:k.length,D]);const[A,E]=f(b),[z,P]=f(!1);w(o,(()=>D));const[J,B]=f(!1),[Q,Y]=f(!1);r((()=>{const e=()=>B(!0),t=()=>B(!1);return null==D||D.on("focus",e),null==D||D.on("blur",t),()=>{null==D||D.off("focus",e),null==D||D.off("blur",t)}}),[D]);const U=null==D?void 0:D.isEmpty,G=!c&&d&&U;return D?O.jsxs(S,{className:a,children:[h&&O.jsx("p",{className:"font-semibold text-base text-delta-700 mb-2",children:h}),O.jsxs("div",{className:R(!L&&"rte-wrapper","outlined"===c&&"readonly-outlined","plain"===c&&"readonly-plain",!c&&G&&(J?"error-focused-state":"error-state"),!c&&!G&&J&&"focused-state"),children:[v,O.jsxs("div",{className:"flex justify-between",children:[O.jsx(Aa,{"data-test":e,id:i,className:R(!L&&"core-ui-rte",!y&&!l&&!c&&!A&&"displace-text",!L&&!l&&!c&&"edit-mode",s,A&&"displace-text"),editor:D,onClick:()=>null==D?void 0:D.chain().focus().run(),style:{"--max-scrollable-height":`${M||100}px`}}),!y&&!l&&!c&&O.jsxs("div",{className:"flex flex-col items-end justify-end gap-2 m-1",children:[t,!A&&O.jsx(Tl,{onMouseDown:e=>{e.preventDefault(),E(!0)},className:"cursor-pointer text-delta-700 h-6 w-6 min-w-6 m-1",icon:"material-symbols:format-color-text"})]})]}),!(null==C||!C.length)&&O.jsx("div",{className:"p-2 flex flex-wrap items-center gap-2",children:C.map((e=>O.jsx(N,{...e})))}),!y&&!l&&!c&&A&&O.jsx(zl,{editor:D,onClose:()=>E(!1),error:d,focused:J,openLinkDialog:()=>P(!0),openEmojiPicker:()=>Y(!0),locale:u})]}),G&&m&&O.jsx(x,{error:!0,"data-test":`error-${e}`,children:m}),O.jsx(du,{open:z,setOpen:P,editor:D,locale:u}),O.jsx(I,{dataTest:"emoji-picker-dialog",open:Q,onClose:()=>Y(!1),dialogTitle:O.jsx("span",{className:"pb-4",children:"Emoji"}),children:O.jsx(bw,{open:Q,onEmojiClick:({emoji:e})=>{null==D||D.chain().focus().insertContent(e).run(),Y(!1)},allowExpandReactions:!1,autoFocusSearch:!1,className:"w-full min-w-[350px]",previewConfig:{showPreview:!1}})})]}):null};export{yw as RichInput};
55
+ */"production"===process.env.NODE_ENV?Pa.exports=function(){if(Aa)return Ra;Aa=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 Ns=Object.create(null),xs=["https://api.simplesvg.com","https://api.unisvg.com"],Ds=[];for(;xs.length>0;)1===xs.length||Math.random()>.5?Ds.push(xs.shift()):Ds.push(xs.pop());function Ts(e,t){const n=Ss(t);return null!==n&&(Ns[e]=n,!0)}function Es(e){return Ns[e]}Ns[""]=Ss({resources:["https://api.iconify.design"].concat(Ds)});let As=(()=>{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=Es(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(!As)return void n("abort",424);let f=function(e){if("string"==typeof e){const t=Es(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;As(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=Es(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 Nl;if(hs(!0),Nl=zs,ks[""]=Nl,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;Ts(e,f)||console.error(n)}catch{console.error(n)}}}}function xl(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 Dl=t(((e,t)=>xl({...e,_ref:t})));t(((e,t)=>xl({inline:!0,...e,_ref:t})));const Tl=()=>{const[e,t]=f(null),n=!!e,i=c((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:c((()=>{t(null)}),[]),handleOpen:i,anchorEl:e}},El=e=>O.jsx(b,{...e,sx:{"&.MuiMenuItem-root":{color:"var(--colors-delta-700)",fontSize:"14px",lineHeight:"20px"}},children:e.children}),Al={small:"10px",normal:"16px",large:"24px",huge:"32px"},zl=e=>{const{editor:t,isNorsk:n}=e,[i,r]=f("normal"),o=e=>{t.chain().focus().setMark("textStyle",{fontSize:Al[e]}).run(),r(e)},{anchorEl:a,open:l,handleClose:c,handleOpen:d}=Tl();return 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(Al).find((e=>Al[e]===n))||"normal";r(f)}}))}),[t.state.selection,t.state.doc]),O.jsxs(O.Fragment,{children:[O.jsx(y,{title:"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(),d(e)},className:"font-normal capitalize",onMouseUp:e=>{e.stopPropagation(),e.preventDefault()},endIcon:O.jsx(Dl,{icon:"tabler:caret-up-down-filled",fontSize:20}),children:i})})}),O.jsxs(C,{disablePortal:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:l,anchorEl:a,onClose:c,onMouseDown:e=>{e.preventDefault(),c()},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:[O.jsx(El,{value:"small",selected:"small"===i,onMouseDown:e=>{e.preventDefault(),o("small")},children:n?"Liten":"Small"}),O.jsx(El,{value:"normal",selected:"normal"===i,onMouseDown:e=>{e.preventDefault(),o("normal")},children:"Normal"}),O.jsx(El,{value:"large",selected:"large"===i,onMouseDown:e=>{e.preventDefault(),o("large")},children:n?"Stor":"Large"}),O.jsx(El,{value:"huge",selected:"huge"===i,onMouseDown:e=>{e.preventDefault(),o("huge")},children:n?"Enorm":"Huge"})]})]})},Ol=({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=d((()=>"no"===l),[l]),[g,w]=f(!1),[M,k]=f([]);s((()=>{const t=new ResizeObserver((()=>{var t;if(p.current){const n=p.current.clientWidth;w(n<(m?416:420));const f=null==(t=[{width:m?296:300,buttons:3},{width:m?340:342,buttons:4},{width:m?374:378,buttons:5},{width:m?416:420,buttons:6},{width:m?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:"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:"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(Dl,{icon:"material-symbols:format-italic",height:20})},"italic")})},"italic")),Number(f)<6&&i.push(O.jsx(y,{title:"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(Dl,{icon:"ooui:bold-b"})},"bold")})},"bold")),Number(f)<5&&i.push(O.jsx(y,{title:"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(Dl,{icon:"mdi:format-list-numbered",fontSize:20})},"ordered")})},"ordered")),Number(f)<4&&i.push(O.jsx(y,{title:"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(Dl,{icon:"mdi:format-list-bulleted",fontSize:20})},"bullet")})},"bullet")),k(i)}}));return p.current&&t.observe(p.current),()=>t.disconnect()}),[e,o,m]);const{anchorEl:I,open:S,handleClose:N,handleOpen:x}=Tl();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:"Emojis",placement:"top",children:O.jsx("span",{ref:c,children:O.jsx(L,{dataTest:"richeditor-emoji-button",size:"small",variant:"textGray",onMouseDown:e=>{e.preventDefault(),a()},style:{minWidth:32,padding:0},children:O.jsx(Dl,{icon:"mdi:emoticon-outline",fontSize:20})})})}),u>=2&&O.jsx(y,{title:"Heading 1",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-h1-button",size:"small",variant:e.isActive("heading",{level:1})?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:1}).run()},children:O.jsx(Dl,{icon:"bi:type-h1"})})})}),u>=3&&O.jsx(y,{title:"Heading 2",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-h2-button",size:"small",variant:e.isActive("heading",{level:2})?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().setMark("textStyle",{fontSize:void 0}).run(),e.chain().focus().toggleHeading({level:2}).run()},children:O.jsx(Dl,{icon:"bi:type-h2"})})})}),u>=4&&O.jsx(zl,{editor:e,isNorsk:m}),u>=5&&O.jsx(y,{title:"Bullet list",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-bullet-list-button",size:"small",variant:e.isActive("bulletList")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBulletList().run()},children:O.jsx(Dl,{icon:"mdi:format-list-bulleted",fontSize:20})})})}),u>=6&&O.jsx(y,{title:"Ordered list",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-ordered-list-button",size:"small",variant:e.isActive("orderedList")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleOrderedList().run()},children:O.jsx(Dl,{icon:"mdi:format-list-numbered",fontSize:20})})})}),u>=7&&O.jsx(y,{title:"Bold",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-bold-button",size:"small",variant:e.isActive("bold")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleBold().run()},children:O.jsx(Dl,{icon:"ooui:bold-b"})})})}),u>=8&&O.jsx(y,{title:"Italic",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-italic-button",size:"small",variant:e.isActive("italic")?"text":"textGray",onMouseDown:t=>{t.preventDefault(),e.chain().focus().toggleItalic().run()},children:O.jsx(Dl,{icon:"material-symbols:format-italic",height:20})})})}),u>=9&&O.jsx(y,{title:"Link",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{dataTest:"richeditor-link-button",size:"small",variant:e.isActive("link")?"text":"textGray",onMouseDown:e=>{e.preventDefault(),o()},children:O.jsx(v,{})})})}),g&&O.jsxs(O.Fragment,{children:[O.jsx(y,{title:"More",placement:"top",arrow:!0,children:O.jsx("span",{children:O.jsx(L,{size:"small",dataTest:"richeditor-more-menu-button",variant:"text",onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),x(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:S,anchorEl:I,onClose:N,onMouseDown:e=>{e.preventDefault(),N()},anchorOrigin:{horizontal:"center",vertical:"bottom"},transformOrigin:{vertical:"top",horizontal:"right"},children:M})]})]}),O.jsx(L,{dataTest:"richeditor-close-toolbar-button",size:"small",variant:"text",onMouseDown:e=>{e.preventDefault(),t()},children:m?"Lukk":"Close"})]})})},Pl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Rl=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Jl=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,Bl=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Ql=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:Pl,type:this.type}),wa({find:Jl,type:this.type})]},addPasteRules(){return[ya({find:Rl,type:this.type}),ya({find:Bl,type:this.type})]}}),Yl="textStyle",Ul=/^\s*([-+*])\s$/,Gl=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(Yl)).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:Ul,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=Ma({find:Ul,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Yl),editor:this.editor})),[e]}}),Zl=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}})))}}),Hl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Wl=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,Fl=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,Vl=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,$l=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:Hl,type:this.type}),wa({find:Fl,type:this.type})]},addPasteRules(){return[ya({find:Wl,type:this.type}),ya({find:Vl,type:this.type})]}}),_l="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Kl="ελ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",Xl=(e,t)=>{for(const n in t)e[n]=t[n];return e},ql="numeric",ec="ascii",tc="alpha",nc="asciinumeric",fc="alphanumeric",ic="domain",rc="emoji",oc="scheme",ac="slashscheme",sc="whitespace";function lc(e,t){return e in t||(t[e]=[]),t[e]}function cc(e,t,n){t[ql]&&(t[nc]=!0,t[fc]=!0),t[ec]&&(t[nc]=!0,t[tc]=!0),t[nc]&&(t[fc]=!0),t[tc]&&(t[fc]=!0),t[fc]&&(t[ic]=!0),t[rc]&&(t[ic]=!0);for(const f in t){const t=lc(f,n);t.indexOf(e)<0&&t.push(e)}}function dc(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}dc.groups={},dc.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||dc.groups,t&&t.j?i=t:(i=new dc(t),n&&f&&cc(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||dc.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 dc,Xl(o.j,a.j),o.jr.push.apply(o.jr,a.jr),o.jd=a.jd,o.t=a.t):o=new dc,r){if(f)if(o.t&&"string"==typeof o.t){const e=Xl(function(e,t){const n={};for(const f in t)t[f].indexOf(e)>=0&&(n[f]=!0);return n}(o.t,f),n);cc(r,e,f)}else n&&cc(r,n,f);o.t=r}return i.j[e]=o,o}};const uc=(e,t,n,f,i)=>e.ta(t,n,f,i),hc=(e,t,n,f,i)=>e.tr(t,n,f,i),pc=(e,t,n,f,i)=>e.ts(t,n,f,i),mc=(e,t,n,f,i)=>e.tt(t,n,f,i),gc="WORD",wc="UWORD",Mc="ASCIINUMERICAL",bc="ALPHANUMERICAL",yc="LOCALHOST",Lc="TLD",Cc="UTLD",vc="SCHEME",jc="SLASH_SCHEME",kc="NUM",Ic="WS",Sc="NL",Nc="OPENBRACE",xc="CLOSEBRACE",Dc="OPENBRACKET",Tc="CLOSEBRACKET",Ec="OPENPAREN",Ac="CLOSEPAREN",zc="OPENANGLEBRACKET",Oc="CLOSEANGLEBRACKET",Pc="FULLWIDTHLEFTPAREN",Rc="FULLWIDTHRIGHTPAREN",Jc="LEFTCORNERBRACKET",Bc="RIGHTCORNERBRACKET",Qc="LEFTWHITECORNERBRACKET",Yc="RIGHTWHITECORNERBRACKET",Uc="FULLWIDTHLESSTHAN",Gc="FULLWIDTHGREATERTHAN",Zc="AMPERSAND",Hc="APOSTROPHE",Wc="ASTERISK",Fc="AT",Vc="BACKSLASH",$c="BACKTICK",_c="CARET",Kc="COLON",Xc="COMMA",qc="DOLLAR",ed="DOT",td="EQUALS",nd="EXCLAMATION",fd="HYPHEN",id="PERCENT",rd="PIPE",od="PLUS",ad="POUND",sd="QUERY",ld="QUOTE",cd="FULLWIDTHMIDDLEDOT",dd="SEMI",ud="SLASH",hd="TILDE",pd="UNDERSCORE",md="EMOJI",gd="SYM";var wd=Object.freeze({__proto__:null,WORD:gc,UWORD:wc,ASCIINUMERICAL:Mc,ALPHANUMERICAL:bc,LOCALHOST:yc,TLD:Lc,UTLD:Cc,SCHEME:vc,SLASH_SCHEME:jc,NUM:kc,WS:Ic,NL:Sc,OPENBRACE:Nc,CLOSEBRACE:xc,OPENBRACKET:Dc,CLOSEBRACKET:Tc,OPENPAREN:Ec,CLOSEPAREN:Ac,OPENANGLEBRACKET:zc,CLOSEANGLEBRACKET:Oc,FULLWIDTHLEFTPAREN:Pc,FULLWIDTHRIGHTPAREN:Rc,LEFTCORNERBRACKET:Jc,RIGHTCORNERBRACKET:Bc,LEFTWHITECORNERBRACKET:Qc,RIGHTWHITECORNERBRACKET:Yc,FULLWIDTHLESSTHAN:Uc,FULLWIDTHGREATERTHAN:Gc,AMPERSAND:Zc,APOSTROPHE:Hc,ASTERISK:Wc,AT:Fc,BACKSLASH:Vc,BACKTICK:$c,CARET:_c,COLON:Kc,COMMA:Xc,DOLLAR:qc,DOT:ed,EQUALS:td,EXCLAMATION:nd,HYPHEN:fd,PERCENT:id,PIPE:rd,PLUS:od,POUND:ad,QUERY:sd,QUOTE:ld,FULLWIDTHMIDDLEDOT:cd,SEMI:dd,SLASH:ud,TILDE:hd,UNDERSCORE:pd,EMOJI:md,SYM:gd});const Md=/[a-z]/,bd=/\p{L}/u,yd=/\p{Emoji}/u,Ld=/\d/,Cd=/\s/,vd="\r",jd="\n",kd="️",Id="‍",Sd="";let Nd=null,xd=null;function Dd(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 Td(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 dc(f),r.jr=i.slice(),e.j[o]=r),e=r}return r=new dc(n),r.jr=i.slice(),e.j[t[o-1]]=r,r}function Ed(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 Ad={defaultProtocol:"http",events:null,format:Od,formatHref:Od,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function zd(e,t=null){let n=Xl({},Ad);e&&(n=Xl(n,e instanceof zd?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 Od(e){return e}function Pd(e,t){this.t="token",this.v=e,this.tk=t}function Rd(e,t){class n extends Pd{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}zd.prototype={o:Ad,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]:Ad[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)}},Pd.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=Ad.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&&Xl(o,c),{tagName:i,attributes:o,content:r,eventListeners:d}}};const Jd=Rd("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Bd=Rd("text"),Qd=Rd("nl"),Yd=Rd("url",{isLink:!0,toHref(e=Ad.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==yc&&e[1].t===Kc}}),Ud=e=>new dc(e);function Gd(e,t,n){const f=n[0].s,i=n[n.length-1].e;return new e(t.slice(f,i),n)}const Zd=typeof console<"u"&&console&&console.warn||(()=>{}),Hd={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Wd(e,t=!1){if(Hd.initialized&&Zd(`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');Hd.customSchemes.push([e,t])}function Fd(){Hd.scanner=function(e=[]){const t={};dc.groups=t;const n=new dc;null==Nd&&(Nd=Ed(_l)),null==xd&&(xd=Ed(Kl)),mc(n,"'",Hc),mc(n,"{",Nc),mc(n,"}",xc),mc(n,"[",Dc),mc(n,"]",Tc),mc(n,"(",Ec),mc(n,")",Ac),mc(n,"<",zc),mc(n,">",Oc),mc(n,"(",Pc),mc(n,")",Rc),mc(n,"「",Jc),mc(n,"」",Bc),mc(n,"『",Qc),mc(n,"』",Yc),mc(n,"<",Uc),mc(n,">",Gc),mc(n,"&",Zc),mc(n,"*",Wc),mc(n,"@",Fc),mc(n,"`",$c),mc(n,"^",_c),mc(n,":",Kc),mc(n,",",Xc),mc(n,"$",qc),mc(n,".",ed),mc(n,"=",td),mc(n,"!",nd),mc(n,"-",fd),mc(n,"%",id),mc(n,"|",rd),mc(n,"+",od),mc(n,"#",ad),mc(n,"?",sd),mc(n,'"',ld),mc(n,"/",ud),mc(n,";",dd),mc(n,"~",hd),mc(n,"_",pd),mc(n,"\\",Vc),mc(n,"・",cd);const f=hc(n,Ld,kc,{[ql]:!0});hc(f,Ld,f);const i=hc(f,Md,Mc,{[nc]:!0}),r=hc(f,bd,bc,{[fc]:!0}),o=hc(n,Md,gc,{[ec]:!0});hc(o,Ld,i),hc(o,Md,o),hc(i,Ld,i),hc(i,Md,i);const a=hc(n,bd,wc,{[tc]:!0});hc(a,Md),hc(a,Ld,r),hc(a,bd,a),hc(r,Ld,r),hc(r,Md),hc(r,bd,r);const s=mc(n,jd,Sc,{[sc]:!0}),l=mc(n,vd,Ic,{[sc]:!0}),c=hc(n,Cd,Ic,{[sc]:!0});mc(n,Sd,c),mc(l,jd,s),mc(l,Sd,c),hc(l,Cd,c),mc(c,vd),mc(c,jd),hc(c,Cd,c),mc(c,Sd,c);const d=hc(n,yd,md,{[rc]:!0});mc(d,"#"),hc(d,yd,d),mc(d,kd,d);const u=mc(d,Id);mc(u,"#"),hc(u,yd,d);const h=[[Md,o],[Ld,i]],p=[[Md,null],[bd,a],[Ld,r]];for(let e=0;e<Nd.length;e++)Td(n,Nd[e],Lc,gc,h);for(let e=0;e<xd.length;e++)Td(n,xd[e],Cc,wc,p);cc(Lc,{tld:!0,ascii:!0},t),cc(Cc,{utld:!0,alpha:!0},t),Td(n,"file",vc,gc,h),Td(n,"mailto",vc,gc,h),Td(n,"http",jc,gc,h),Td(n,"https",jc,gc,h),Td(n,"ftp",jc,gc,h),Td(n,"ftps",jc,gc,h),cc(vc,{scheme:!0,ascii:!0},t),cc(jc,{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]?{[oc]:!0}:{[ac]:!0};f.indexOf("-")>=0?i[ic]=!0:Md.test(f)?Ld.test(f)?i[nc]=!0:i[ec]=!0:i[ql]=!0,pc(n,f,f,i)}return pc(n,"localhost",yc,{ascii:!0}),n.jd=new dc(gd),{start:n,tokens:Xl({groups:t},wd)}}(Hd.customSchemes);for(let e=0;e<Hd.tokenQueue.length;e++)Hd.tokenQueue[e][1]({scanner:Hd.scanner});Hd.parser=function({groups:e}){const t=e.domain.concat([Zc,Wc,Fc,Vc,$c,_c,qc,td,fd,kc,id,rd,od,ad,ud,gd,hd,pd]),n=[Kc,Xc,ed,nd,id,sd,ld,dd,zc,Oc,Nc,xc,Tc,Dc,Ec,Ac,Pc,Rc,Jc,Bc,Qc,Yc,Uc,Gc],f=[Zc,Hc,Wc,Vc,$c,_c,qc,td,fd,Nc,xc,id,rd,od,ad,sd,ud,gd,hd,pd],i=Ud(),r=mc(i,hd);uc(r,f,r),uc(r,e.domain,r);const o=Ud(),a=Ud(),s=Ud();uc(i,e.domain,o),uc(i,e.scheme,a),uc(i,e.slashscheme,s),uc(o,f,r),uc(o,e.domain,o);const l=mc(o,Fc);mc(r,Fc,l),mc(a,Fc,l),mc(s,Fc,l);const c=mc(r,ed);uc(c,f,r),uc(c,e.domain,r);const d=Ud();uc(l,e.domain,d),uc(d,e.domain,d);const u=mc(d,ed);uc(u,e.domain,d);const h=Ud(Jd);uc(u,e.tld,h),uc(u,e.utld,h),mc(l,yc,h);const p=mc(d,fd);mc(p,fd,p),uc(p,e.domain,d),uc(h,e.domain,d),mc(h,ed,u),mc(h,fd,p);const m=mc(h,Kc);uc(m,e.numeric,Jd);const g=mc(o,fd),w=mc(o,ed);mc(g,fd,g),uc(g,e.domain,o),uc(w,f,r),uc(w,e.domain,o);const M=Ud(Yd);uc(w,e.tld,M),uc(w,e.utld,M),uc(M,e.domain,o),uc(M,f,r),mc(M,ed,w),mc(M,fd,g),mc(M,Fc,l);const b=mc(M,Kc),y=Ud(Yd);uc(b,e.numeric,y);const L=Ud(Yd),C=Ud();uc(L,t,L),uc(L,n,C),uc(C,t,L),uc(C,n,C),mc(M,ud,L),mc(y,ud,L);const v=mc(a,Kc),j=mc(s,Kc),k=mc(j,ud),I=mc(k,ud);uc(a,e.domain,o),mc(a,ed,w),mc(a,fd,g),uc(s,e.domain,o),mc(s,ed,w),mc(s,fd,g),uc(v,e.domain,L),mc(v,ud,L),mc(v,sd,L),uc(I,e.domain,L),uc(I,t,L),mc(I,ud,L);const S=[[Nc,xc],[Dc,Tc],[Ec,Ac],[zc,Oc],[Pc,Rc],[Jc,Bc],[Qc,Yc],[Uc,Gc]];for(let e=0;e<S.length;e++){const[f,i]=S[e],r=mc(L,f);mc(C,f,r),mc(r,i,L);const o=Ud(Yd);uc(r,t,o);const a=Ud();uc(r,n),uc(o,t,o),uc(o,n,a),uc(a,t,o),uc(a,n,a),mc(o,i,L),mc(a,i,L)}return mc(i,yc,M),mc(i,Sc,Qd),{start:i,tokens:wd}}(Hd.scanner.tokens);for(let e=0;e<Hd.pluginQueue.length;e++)Hd.pluginQueue[e][1]({scanner:Hd.scanner,parser:Hd.parser});return Hd.initialized=!0,Hd}function Vd(e){return Hd.initialized||Fd(),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(Gd(Bd,t,o)),o=[]),i-=u,c-=u;const e=d.t,f=n.slice(i-c,i);r.push(Gd(e,t,f))}}return o.length>0&&r.push(Gd(Bd,t,o)),r}(Hd.parser.start,e,Dd(Hd.scanner.start,e))}function $d(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 zd(n),i=Vd(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 _d(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=Vd(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}})}Vd.scan=Dd;const Kd=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function Xd(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(Kd,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const qd=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?Wd(e.scheme,e.optionalSlashes):Wd(e)}))},onDestroy(){dc.groups={},Hd.scanner=null,Hd.parser=null,Hd.tokenQueue=[],Hd.pluginQueue=[],Hd.customSchemes=[],Hd.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)=>!!Xd(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=>!!Xd(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!Xd(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=>!!Xd(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=>!!Xd(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=$d(e).filter((e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!Xd(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(_d({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!Xd(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=$d(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}}),eu=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)}}}),tu="textStyle",nu=/^(\d+)\.\s$/,fu=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(tu)).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:nu,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:nu,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(tu)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),iu=ba.create({name:"doc",topNode:!0,content:"block+"}),ru=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()}}}),ou=ba.create({name:"text",group:"inline"}),au=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 su=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 lu=[iu,ru,ou,au],cu=[Zl.configure({levels:[1,2]}),eu,Gl,fu,qd,Ql,$l,su],du="_link-dialog-container_jjs9w_1",uu=({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:du,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"})]})]})})},hu=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 pu(e){return[].concat(e)}function mu(e){return e.startsWith(":")}function gu(e){return yu(e)&&("*"===e||e.length>1&&":>~.+*".includes(e.slice(0,1))||Lu(e))}function wu(e,t){return(yu(t)||"number"==typeof t)&&!bu(e)&&!mu(e)&&!Mu(e)}function Mu(e){return e.startsWith("@media")}function bu(e){return"--"===e}function yu(e){return e+""===e}function Lu(e){return yu(e)&&(e.startsWith("&")||mu(e))}function Cu(e,t=""){return e.filter(Boolean).join(t)}function vu(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 ju(e,t){return`${e}:${t}`}function ku(e){return e?`.${e}`:""}var Iu=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=ju(t,n);const i=this.selector.preconditions.concat(this.selector.postconditions);this.hash=this.selector.hasConditions?this.selector.scopeClassName:vu(this.sheet.name,this.joined),this.key=Cu([this.joined,i,this.hash])}toString(){let t=Su(this.selector.preconditions,{right:this.hash});return t=Su(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 ju(n,function(e,t){return"content"===e?`"${t}"`:t}(e,t))+";"}};function Su(e,{left:t="",right:n=""}={}){const f=e.reduce(((e,t)=>mu(t)?e+t:Lu(t)?e+t.slice(1):Cu([e,t]," ")),t);return Cu([f,ku(n)]," ")}var Nu;function xu(e,t){for(const n in e)t(n.trim(),e[n])}function Du(...e){return Cu(e.reduce(((e,t)=>(t instanceof Set?e.push(...t):"string"==typeof t?e.push(t):Array.isArray(t)?e.push(Du(...t)):"object"==typeof t&&Object.entries(t).forEach((([t,n])=>{n&&e.push(t)})),e)),[])," ").trim()}function Tu(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 yu(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 Eu(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?pu(n):[],this.postconditions=f?pu(f):[],this.setScope(t)}setScope(e){return e?(this.scopeClassName||(this.scopeName=e,this.scopeClassName=vu(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 Iu(this.sheet,e,t,this)}}(n)).forEach((([e,f,i])=>{Au(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 Eu(e,t,n){const f=[];return xu(t,((i,r)=>{if(gu(i))return Eu(e,r,n.addPrecondition(i)).forEach((e=>f.push(e)));f.push([i,t[i],n.addScope(i)])})),f}function Au(e,t,n){const f=new Set;return xu(t,((t,i)=>{let r=[];if(gu(t))r=Au(e,i,n.addPostcondition(t));else if(function(e){return"."===e}(t))r=pu(i);else if(Mu(t))r=function(e,t,n,f){e.append(n+" {");const i=Au(e,t,f);return e.append("}"),i}(e,i,t,n);else if(bu(t))r=function(e,t,n){const f=new Set,i=[];if(xu(t,((t,r)=>{if(wu(t,r))return void i.push(Iu.genRule(t,r));zu(Au(e,r??{},n),f)})),!n.scopeClassName)return f;if(i.length){const t=i.join(" ");e.append(`${Su(n.preconditions,{right:n.scopeClassName})} {${t}}`)}return f.add(n.scopeClassName),f}(e,i,n);else if(wu(t,i)){const r=n.createRule(t,i);e.addRule(r),f.add(r.hash)}return zu(r,f)})),f}function zu(e,t){return e.forEach((e=>t.add(e))),t}function Ou(){return Ou=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},Ou.apply(this,arguments)}function Pu(e,t){return(Pu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ru(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 Ju(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 Bu(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 Ju(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 Ju(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 Qu(){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"}(Nu||(Nu={}));var Yu=Tu("epr",null),Uu={display:"none",opacity:"0",pointerEvents:"none",visibility:"hidden",overflow:"hidden"},Gu=Yu.create({hidden:Ou({".":Nu.hidden},Uu)}),Zu=u((function(){return l("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Yu.getStyle()}})})),Hu=Yu.create({".epr-main":{":has(input:not(:placeholder-shown))":{categoryBtn:{":hover":{opacity:"1",backgroundPositionY:"var(--epr-category-navigation-button-size)"}},hiddenOnSearch:Ou({".":Nu.hiddenOnSearch},Uu)},":has(input:placeholder-shown)":{visibleOnSearchOnly:Uu}},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:Ou({".":"epr-visible-on-search-only"},Uu)}});function Wu(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 Fu(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 Vu,$u,_u,Ku,Xu,qu,eh=["1f44d","2764-fe0f","1f603","1f622","1f64f","1f44e","1f621"];!function(e){e.RECENT="recent",e.FREQUENT="frequent"}(Vu||(Vu={})),function(e){e.NATIVE="native",e.APPLE="apple",e.TWITTER="twitter",e.GOOGLE="google",e.FACEBOOK="facebook"}($u||($u={})),function(e){e.DARK="dark",e.LIGHT="light",e.AUTO="auto"}(_u||(_u={})),function(e){e.NEUTRAL="neutral",e.LIGHT="1f3fb",e.MEDIUM_LIGHT="1f3fc",e.MEDIUM="1f3fd",e.MEDIUM_DARK="1f3fe",e.DARK="1f3ff"}(Ku||(Ku={})),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"}(Xu||(Xu={})),function(e){e.SEARCH="SEARCH",e.PREVIEW="PREVIEW"}(qu||(qu={}));var th,nh=[Xu.SUGGESTED,Xu.CUSTOM,Xu.SMILEYS_PEOPLE,Xu.ANIMALS_NATURE,Xu.FOOD_DRINK,Xu.TRAVEL_PLACES,Xu.ACTIVITIES,Xu.OBJECTS,Xu.SYMBOLS,Xu.FLAGS],fh={name:"Recently Used",category:Xu.SUGGESTED},ih=((th={})[Xu.SUGGESTED]={category:Xu.SUGGESTED,name:"Frequently Used"},th[Xu.CUSTOM]={category:Xu.CUSTOM,name:"Custom Emojis"},th[Xu.SMILEYS_PEOPLE]={category:Xu.SMILEYS_PEOPLE,name:"Smileys & People"},th[Xu.ANIMALS_NATURE]={category:Xu.ANIMALS_NATURE,name:"Animals & Nature"},th[Xu.FOOD_DRINK]={category:Xu.FOOD_DRINK,name:"Food & Drink"},th[Xu.TRAVEL_PLACES]={category:Xu.TRAVEL_PLACES,name:"Travel & Places"},th[Xu.ACTIVITIES]={category:Xu.ACTIVITIES,name:"Activities"},th[Xu.OBJECTS]={category:Xu.OBJECTS,name:"Objects"},th[Xu.SYMBOLS]={category:Xu.SYMBOLS,name:"Symbols"},th[Xu.FLAGS]={category:Xu.FLAGS,name:"Flags"},th);function rh(e){return nh.map((function(t){return Ou({},ih[t],e&&e[t]&&e[t])}))}function oh(e){return e.category}function ah(e){return e.name}function sh(e,t){return void 0===t&&(t={}),Object.assign(ih[e],t)}var lh="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",ch="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",dh="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",uh="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";var hh,ph={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"}]},mh=[Ku.NEUTRAL,Ku.LIGHT,Ku.MEDIUM_LIGHT,Ku.MEDIUM,Ku.MEDIUM_DARK,Ku.DARK],gh=Object.entries(Ku).reduce((function(e,t){var n=t[0];return e[t[1]]=n,e}),{}),wh=mh.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"}(hh||(hh={}));var Mh={};function bh(e){yh(e).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("").forEach((function(t){var n;Mh[t]=null!=(n=Mh[t])?n:{},Mh[t][vh(e)]=e}))}function yh(e){var t;return null!=(t=e[hh.name])?t:[]}function Lh(e){return e?yh(e)[0]:""}function Ch(e){var t=e.split("-"),n=t.splice(1,1)[0];return wh[n]?t.join("-"):e}function vh(e,t){var n,f=e[hh.unified];return t&&Ih(e)&&null!=(n=function(e,t){return t?kh(e).find((function(e){return e.includes(t)})):vh(e)}(e,t))?n:f}function jh(e,t){return""+function(e){switch(e){case $u.TWITTER:return dh;case $u.GOOGLE:return uh;case $u.FACEBOOK:return ch;case $u.APPLE:default:return lh}}(t)+e+".png"}function kh(e){var t;return null!=(t=e[hh.variations])?t:[]}function Ih(e){return kh(e).length>0}function Sh(e){if(e){if(Dh[e])return Dh[e];var t=Ch(e);return Dh[t]}}setTimeout((function(){Nh.reduce((function(e,t){return bh(t),e}),Mh)}));var Nh=Object.values(ph).flat();function xh(e){ph[Xu.CUSTOM].length=0,e.forEach((function(e){var t=function(e){var t;return t={},t[hh.name]=e.names.map((function(e){return e.toLowerCase()})),t[hh.unified]=e.id.toLowerCase(),t[hh.added_in]="0",t[hh.imgUrl]=e.imgUrl,t}(e);ph[Xu.CUSTOM].push(t),!Dh[t[hh.unified]]&&(Nh.push(t),Dh[t[hh.unified]]=t,bh(t))}))}var Dh={};setTimeout((function(){Nh.reduce((function(e,t){return e[vh(t)]=t,Ih(t)&&kh(t).forEach((function(n){e[n]=t})),e}),Dh)}));var Th=["2640-fe0f","2642-fe0f","2695-fe0f"],Eh="Search",Ah="No results found",zh=" found. Use up and down arrow keys to navigate.",Oh="1 result"+zh,Ph="%n results"+zh;function Rh(e){var t,n;void 0===e&&(e={});var f=Jh(),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===Vu.RECENT&&(f[Xu.SUGGESTED]=fh);var i=rh(f);return null!=(n=e)&&n.length?e.map((function(e){return"string"==typeof e?sh(e,f[e]):Ou({},sh(e.category,f[e.category]),e)})):i}(e.categories,{suggestionMode:r.suggestedEmojisMode});r.hiddenEmojis.forEach((function(e){r.unicodeToHide.add(e)})),xh(null!=(n=r.customEmojis)?n:[]);var a=r.searchDisabled?qu.PREVIEW:r.skinTonePickerLocation;return Ou({},r,{categories:o,previewConfig:i,skinTonePickerLocation:a})}function Jh(){return{autoFocusSearch:!0,categories:rh(),className:"",customEmojis:[],defaultSkinTone:Ku.NEUTRAL,emojiStyle:$u.APPLE,emojiVersion:null,getEmojiUrl:jh,height:450,lazyLoadEmojis:!1,previewConfig:Ou({},Bh),searchDisabled:!1,searchPlaceHolder:Eh,searchPlaceholder:Eh,skinTonePickerLocation:qu.SEARCH,skinTonesDisabled:!1,style:{},suggestedEmojisMode:Vu.FREQUENT,theme:_u.LIGHT,unicodeToHide:new Set(Th),width:350,reactionsDefaultOpen:!1,reactions:eh,open:!0,allowExpandReactions:!0,hiddenEmojis:[]}}var Bh={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},Qh=["children"],Yh=o(Jh());function Uh(e){var t=e.children,n=function(e){var t,n=f((function(){return Rh(e)})),i=n[0],o=n[1];return r((function(){Fu(i,e)||o(Rh(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}(Ru(e,Qh));return l(Yh.Provider,{value:n},t)}function Gh(){return a(Yh)}function Zh(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 Hh(){var e=function(){var e=Gh(),t=e.unicodeToHide;return t}();return function(t){return e.has(t)}}function Wh(){var e=n({}),t=function(){var e=Gh(),t=e.emojiVersion;return t}();return d((function(){var n=parseFloat(""+t);return!t||Number.isNaN(n)?e.current:Nh.reduce((function(e,t){return function(e,t){return function(e){return parseFloat(e[hh.added_in])}(e)>t}(t,n)&&(e[vh(t)]=!0),e}),e.current)}),[t])}function Fh(){var e=Wh(),t=Hh();return function(n){var f=Ch(vh(n));return!(!e[f]&&!t(f))}}function Vh(e){var t=e.children,i=Wh(),o=function(){var e=Gh(),t=e.defaultSkinTone;return t}(),a=function(){var e=Gh(),t=e.reactionsDefaultOpen;return t}(),s=n(Mh),c=n(!1),d=n(!1),u=n(i),h=Zh(Date.now(),200),p=Zh("",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($h.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 $h=o({activeCategoryState:[null,function(){}],activeSkinTone:[Ku.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 _h(){return a($h).filterRef}function Kh(){return a($h).disallowMouseRef}function Xh(){return a($h).reactionsModeState}function qh(){return a($h).searchTerm}function ep(){return a($h).activeSkinTone}function tp(){return a($h).emojisThatFailedToLoadState}function np(){return a($h).emojiVariationPickerState}function fp(){return a($h).skinToneFanOpenState}function ip(){var e=a($h).suggestedUpdateState,t=e[0],n=e[1];return[t,function(){n(Date.now())}]}var rp,op=e.createContext({});function ap(){return e.useContext(op)}function sp(){}function lp(){return Gh().allowExpandReactions}function cp(){return Gh().skinTonesDisabled}function dp(){return Gh().emojiStyle}function up(){return Gh().categories}function hp(){return Gh().previewConfig}function pp(){return Gh().searchDisabled}function mp(){return Gh().skinTonePickerLocation}function gp(){return Gh().getEmojiUrl}function wp(e){return"number"==typeof e?e+"px":e}function Mp(){return!!qh()[0]}function bp(e){e&&requestAnimationFrame((function(){e.focus()}))}function yp(e){e&&bp(e.previousElementSibling)}function Lp(e){e&&bp(e.nextElementSibling)}function Cp(e){e&&bp(e.firstElementChild)}function vp(){return document.activeElement}function jp(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(Ip.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"}(rp||(rp={}));var kp,Ip=o({AnchoredEmojiRef:m(),BodyRef:m(),CategoryNavigationRef:m(),PickerMainRef:m(),SearchInputRef:m(),SkinTonePickerRef:m(),VariationPickerRef:m(),ReactionsRef:m()});function Sp(){return a(Ip)}function Np(){return Sp().PickerMainRef}function xp(){return Sp().AnchoredEmojiRef}function Dp(){var e=xp();return function(t){null===t&&null!==e.current&&bp(e.current),e.current=t}}function Tp(){return Sp().BodyRef}function Ep(){return Sp().SearchInputRef}function Ap(){return Sp().SkinTonePickerRef}function zp(){return Sp().CategoryNavigationRef}function Op(e,t){void 0===t&&(t=0);var n=Nm(e);n&&requestAnimationFrame((function(){n.scrollTop=t}))}function Pp(e){if(e&&function(e){return!!e&&xm(e)<Sm(Hm(e))}(e)&&!e.closest(Qu(Nu.variationPicker))){var t=Dm(e),n=xm(e);!function(e,t){var n=Nm(e);n&&requestAnimationFrame((function(){n.scrollTop=n.scrollTop+t}))}(t,-(Sm(Hm(e))-n))}}function Rp(e){var t=Um(e);bp(t),Pp(t)}function Jp(e){if(e){var t=Qm(e);if(!t)return Rp(Zm(e));bp(t),Pp(t)}}function Bp(e){if(e){var t=Ym(e);if(!t)return function(e){bp(Bm(e))}(Gm(e));bp(t),Pp(t)}}function Qp(e,t){if(e){var n=function(e){if(!e)return null;var t=Wm(e),n=Hm(t),f=gm(t,e),i=wm(t,e),r=mm(t,e);if(0===i){var o=Gm(n);return o?bm(Jm(o),-1,r,f):null}return function(e,t,n,f){var i=Mm(e,t-1,n);return i[f]||i[i.length-1]||null}(Jm(t),i,r,f)}(e);if(!n)return t();bp(n),Pp(n)}}function Yp(e){if(e){var t=function(e){if(!e)return null;var t=Wm(e),n=Hm(t),f=gm(t,e),i=wm(t,e),r=mm(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=Zm(n);return o?bm(Jm(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?[]:Mm(e,f,n)}(e,t,n);return i[f]||i[i.length-1]||null}(Jm(t),i,r,f);return a}(e);return bp(t)}}function Up(){var e=np(),t=e[0],n=e[1],f=fp(),i=f[0],r=f[1];return c((function(){t&&n(null),i&&r(!1)}),[t,i,n,r])}function Gp(){var e=np()[0],t=fp()[0];return function(){return!!e||t}}function Zp(){var e=Kh();return function(){e.current=!1}}function Hp(){var e=Kh();return function(){return e.current}}function Wp(){var e=Ep();return c((function(){bp(e.current)}),[e])}function Fp(){var e=zp();return c((function(){e.current&&Cp(e.current)}),[e])}function Vp(){var e=_p(),t=Ep(),n=Wp();return function(){t.current&&(t.current.value=""),e(""),n()}}function $p(){var e=Ep(),t=_h(),n=function(){var e=_h();return function t(n){if("function"==typeof n)return t(n(e.current));e.current=n}}(),f=_p(),i=qh()[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?Ph.replace("%n",e.toString()):Oh:Ah}(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];Kp(i,t)&&(n[f]=i)}return n}(o,r),t))})),f(r)},searchTerm:i,SearchInputRef:e,statusSearchResults:r}}function _p(){var e=qh()[1],t=Np();return function(n){requestAnimationFrame((function(){e(n&&(null==n?void 0:n.toLowerCase())).then((function(){Op(t.current,0)}))}))}}function Kp(e,t){return yh(e).some((function(e){return e.includes(t)}))}function Xp(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function qp(){var e=Dp(),t=np()[1];return function(n){var f=jm(n)[0];f&&(e(n),t(f))}}function em(){return mp()===qu.SEARCH}function tm(){return mp()===qu.PREVIEW}function nm(){(function(){var e=Np(),t=Vp(),n=function(){var e=Tp();return c((function(t){requestAnimationFrame((function(){e.current&&(e.current.scrollTop=t)}))}),[e])}(),f=Ep(),i=Wp(),o=Gp(),a=function(){var e=Kh();return function(){e.current=!0}}(),s=Up(),l=d((function(){return function(e){var f=e.key;if(a(),f===kp.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=Ap();return c((function(){e.current&&Cp(e.current)}),[e])}(),t=Np(),n=Tp(),f=Ep(),i=fp()[1],o=fm(),a=em(),s=d((function(){return function(t){switch(t.key){case kp.ArrowRight:if(!a)return;t.preventDefault(),i(!0),e();break;case kp.ArrowDown:t.preventDefault(),o();break;case kp.Enter:t.preventDefault(),function(e){var t=Um(e);bp(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=Ap(),t=Wp(),n=Ep(),f=fm(),i=fp(),o=i[0],a=i[1],s=tm(),l=em(),c=om(),u=d((function(){return function(e){var n=e.key;if(l)switch(n){case kp.ArrowLeft:if(e.preventDefault(),!o)return t();im(t);break;case kp.ArrowRight:if(e.preventDefault(),!o)return t();rm();break;case kp.ArrowDown:e.preventDefault(),o&&a(!1),f();break;default:c(e)}if(s)switch(n){case kp.ArrowUp:if(e.preventDefault(),!o)return t();im(t);break;case kp.ArrowDown:if(e.preventDefault(),!o)return t();rm();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=Wp(),t=zp(),n=Tp(),f=om(),i=d((function(){return function(t){switch(t.key){case kp.ArrowUp:t.preventDefault(),e();break;case kp.ArrowRight:t.preventDefault(),Lp(vp());break;case kp.ArrowLeft:t.preventDefault(),yp(vp());break;case kp.ArrowDown:t.preventDefault(),Rp(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=Tp(),t=function(){var e=Wp(),t=Fp(),n=Mp();return c((function(){return n?e():t()}),[e,n,t])}(),n=qp(),f=Gp(),i=Up(),o=om(),a=d((function(){return function(e){var r=e.key,a=vm(vp());switch(r){case kp.ArrowRight:e.preventDefault(),Jp(a);break;case kp.ArrowLeft:e.preventDefault(),Bp(a);break;case kp.ArrowDown:if(e.preventDefault(),f()){i();break}Yp(a);break;case kp.ArrowUp:if(e.preventDefault(),f()){i();break}Qp(a,t);break;case kp.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 fm(){var e=Fp(),t=Mp(),n=Tp();return c((function(){return t?Rp(n.current):e()}),[n,e,t])}function im(e){var t=vp();t&&(function(e){return!!e.nextElementSibling}(t)||e(),Lp(t))}function rm(){var e=vp();e&&yp(e)}function om(){var e=function(){var e=Ep(),t=_p();return function(n){e.current?(e.current.value=""+e.current.value+n,t(Xp(e.current.value))):t(Xp(n))}}(),t=Wp(),n=pp(),f=Up();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 am(e,t,n){if(t&&n!==$u.NATIVE){var f=vh(t);sm.has(f)||(kh(t).forEach((function(t){!function(e){var t=new Image;t.src=e}(e(t,n))})),sm.add(f))}}!function(e){e.ArrowDown="ArrowDown",e.ArrowUp="ArrowUp",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.Escape="Escape",e.Enter="Enter",e.Space=" "}(kp||(kp={}));var sm=new Set;var lm=["width","height"],cm=40;function dm(e){var t=e.children;return l(Vh,null,l(um,null,t))}function um(e){var t,n=e.children,f=Xh()[0],i=Gh().theme,o=Mp(),a=Np(),s=Gh().className,c=function(){var e=Gh(),t=e.height,n=e.width,f=e.style;return Ou({height:wp(t),width:wp(n)},f)}();nm(),function(){var e=Tp(),t=dp(),n=gp();r((function(){if(t!==$u.NATIVE){var f=e.current;return null==f||f.addEventListener("focusin",i),function(){null==f||f.removeEventListener("focusin",i)}}function i(e){var f=vm(e.target);if(f){var i=jm(f)[0];i&&Ih(i)&&am(n,i,t)}}}),[e,t,n])}();var d=c||{},u=d.width,h=d.height,p=Ru(d,lm);return l("aside",{className:Du(pm.main,pm.baseVariables,i===_u.DARK&&pm.darkTheme,i===_u.AUTO&&pm.autoThemeDark,(t={},t[Nu.searchActive]=o,t),f&&pm.reactionsMenu,s),ref:a,style:Ou({},p,!f&&{height:h,width:u})},n)}var hm={"--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)"},pm=Yu.create({main:{".":["epr-main",Nu.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":cm+"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:{".":Nu.autoTheme,"@media (prefers-color-scheme: dark)":{"--":hm}},darkTheme:{".":Nu.darkTheme,"--":hm},reactionsMenu:{".":"epr-reactions",height:"50px",display:"inline-flex",backgroundColor:"var(--epr-reactions-bg-color)",backdropFilter:"blur(8px)","--":{"--epr-picker-border-radius":"50px"}}});function mm(e,t){if(!e||!t)return 0;var n=e.getBoundingClientRect().width,f=t.getBoundingClientRect().width;return Math.floor(n/f)}function gm(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 wm(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 Mm(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 bm(e,t,n,f){var i=Mm(e,t,n);return i[f]||i[i.length-1]||null}function ym(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(Qu(Nu.label))),n=0,f=t;n<f.length;n++){var i=f[n].getBoundingClientRect().height;if(i>0)return i}return cm}(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 Lm="button"+Qu(Nu.emoji),Cm=[Lm,Qu(Nu.visible),":not("+Qu(Nu.hidden)+")"].join("");function vm(e){var t;return null!=(t=null==e?void 0:e.closest(Lm))?t:null}function jm(e){var t=zm(e),n=Am(e);if(!t)return[];var f=Sh(n??t);return f?[f,n]:[]}function km(e){var t;return null!=(t=null==e?void 0:e.clientHeight)?t:0}function Im(e){if(!e)return 0;var t=vm(e),n=Hm(t),f=Sm(n);return Tm(t)+Tm(n)+f}function Sm(e){var t,n;if(!e)return 0;var f=e.querySelector(Qu(Nu.categoryContent));return(null!=(t=null==e?void 0:e.clientHeight)?t:0)-(null!=(n=null==f?void 0:f.clientHeight)?n:0)}function Nm(e){return e?e.matches(Qu(Nu.scrollBody))?e:e.querySelector(Qu(Nu.scrollBody)):null}function xm(e){var t,n;return e?Im(e)-(null!=(t=null==(n=Dm(e))?void 0:n.scrollTop)?t:0):0}function Dm(e){var t;return e&&null!=(t=e.closest(Qu(Nu.scrollBody)))?t:null}function Tm(e){var t;return null!=(t=null==e?void 0:e.offsetTop)?t:0}function Em(e){var t;return null!=(t=null==e?void 0:e.offsetLeft)?t:0}function Am(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}(vm(e),"unified"))?t:null}function zm(e){var t=Am(e);return t?Ch(t):null}function Om(e){return e?{unified:Am(e),originalUnified:zm(e)}:{unified:null,originalUnified:null}}function Pm(e){return e.classList.contains(Nu.visible)}function Rm(e){return!e||e.classList.contains(Nu.hidden)}function Jm(e){return e?Array.from(e.querySelectorAll(Cm)):[]}function Bm(e){if(!e)return null;var t=Jm(e).slice(-1)[0];return t?Pm(t)?t:Ym(t):null}function Qm(e){var t=e.nextElementSibling;return t?Pm(t)?t:Qm(t):Um(Zm(e))}function Ym(e){var t=e.previousElementSibling;return t?Pm(t)?t:Ym(t):Bm(Gm(e))}function Um(e){return e?ym(e,Jm(e),.1):null}function Gm(e){var t=Hm(e);if(!t)return null;var n=t.previousElementSibling;return n?Rm(n)?Gm(n):n:null}function Zm(e){var t=Hm(e);if(!t)return null;var n=t.nextElementSibling;return n?Rm(n)?Zm(n):n:null}function Hm(e){return e?e.closest(Qu(Nu.category)):null}function Wm(e){return e?e.closest(Qu(Nu.categoryContent)):null}function Fm(e){return e.split("-").map((function(e){return String.fromCodePoint(parseInt(e,16))})).join("")}var Vm="epr_suggested";function $m(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(Vm))?n:"[]");return e===Vu.FREQUENT?i.sort((function(e,t){return t.count-e.count})):i}catch{return[]}}function _m(e){return void 0!==e.imgUrl}function Km(e,t){var f=n(),i=qp(),o=a($h).disallowClickRef,s=np()[1],l=Up(),d=ep()[0],u=function(e){var t=ap().current,n=Xh()[1],f=t.onEmojiClick||function(){},i=t.onReactionClick;return e===rp.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=ip()[1],p=gp(),m=dp(),g=c((function(e){if(!o.current){l();var t=Xm(e),n=t[0],f=t[1];if(n&&f){var i=function(e){var t=e.split("-")[1];return mh.includes(t)?t:null}(f)||d;h(),function(e,t){var n,f=$m(),i=vh(e,t),r=vh(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(Vm,JSON.stringify(n))}catch{}}(n,i),u(function(e,t,n,f){var i=yh(e);if(_m(e)){var r=vh(e);return{activeSkinTone:t,emoji:r,getImageUrl:function(){return e.imgUrl},imageUrl:e.imgUrl,isCustom:!0,names:i,unified:r,unifiedWithoutSkinTone:r}}var o=vh(e,t);return{activeSkinTone:t,emoji:Fm(o),getImageUrl:function(e){return void 0===e&&(e=n??$u.APPLE),f(o,e)},imageUrl:f(o,n??$u.APPLE),isCustom:!1,names:i,unified:o,unifiedWithoutSkinTone:vh(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=Xm(e)[0];!n||!Ih(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 Xm(e){var t=null==e?void 0:e.target;return function(e){var t;return!!(null!=e&&e.matches(Lm)||null!=e&&null!=(t=e.parentElement)&&t.matches(Lm))}(t)?jm(t):[]}function qm(e){return l("button",Object.assign({type:"button"},e,{className:Du(eg.button,e.className)}),e.children)}var eg=Yu.create({button:{".":"epr-btn",cursor:"pointer",border:"0",background:"none",outline:"none"}});function tg(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(qm,{className:Du(fg.emoji,i&&Gu.hidden,r&&Hu.hiddenOnSearch,(t={},t[Nu.visible]=!i&&!r,t),!(!s||!a)&&fg.hasVariations,h&&fg.noBackground,d),"data-unified":f,"aria-label":ng(n),"data-full-name":n},c)}function ng(e){var t;return e[0].match("flag-")&&null!=(t=e[1])?t:e[0]}var fg=Yu.create({emoji:{".":Nu.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:{".":Nu.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)"}}}),ig=Yu.create({external:{".":Nu.external,fontSize:"0"},common:{alignSelf:"center",justifySelf:"center",display:"block"}});function rg(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:Du(og.emojiImag,ig.external,ig.common,a),loading:i?"lazy":"eager",onError:o,style:n})}var og=Yu.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 ag(e){var t=e.unified,n=e.style,f=e.className;return l("span",{className:Du(sg.nativeEmoji,ig.common,ig.external,f),"data-unified":t,style:n},Fm(t))}var sg=Yu.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 lg(e){var t=e.emoji,n=e.unified,f=e.emojiStyle,i=e.size,r=e.lazyLoad,o=e.getEmojiUrl,a=void 0===o?jh:o,s=e.className,c=tp()[1],d={};i&&(d.width=d.height=d.fontSize=i+"px");var u=t||Sh(n);return u?_m(u)?l(rg,{style:d,emojiName:n,emojiStyle:$u.NATIVE,lazyLoad:r,imgUrl:u.imgUrl,onError:p,className:s}):l(h,null,f===$u.NATIVE?l(ag,{unified:n,style:d,className:s}):l(rg,{style:d,emojiName:Lh(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 cg(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=Ih(t);return l(tg,{hasVariations:m,showVariations:a,hidden:f,hiddenOnSearch:i,emojiNames:yh(t),unified:n,noBackground:p},l(lg,{unified:n,emoji:t,size:s,emojiStyle:r,lazyLoad:c,getEmojiUrl:d,className:u}))}function dg(){var e=Xh()[1];return l(qm,{"aria-label":"Show all Emojis",title:"Show all Emojis",tabIndex:0,className:Du(ug.plusSign),onClick:function(){return e(!1)}})}var ug=Yu.create(Ou({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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNS43LDEwLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40QzYsMTAuOSw2LjEsMTEsNi4zLDExaDMuNHYzLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40CgljMC4xLDAuMSwwLjIsMC4yLDAuNCwwLjJjMC4zLDAsMC41LTAuMiwwLjUtMC41di0zLjRoMy40YzAuMywwLDAuNS0wLjIsMC41LTAuNXMtMC4yLTAuNS0wLjUtMC41aC0zLjRWNi43YzAtMC4zLTAuMi0wLjUtMC41LTAuNQ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wLjIsMC41LTAuNXYtMy40aDMuNGMwLjMsMCwwLjUtMC4yLDAuNS0wLjVzLTAuMi0wLjUtMC41LTAuNWgtMy40di0zLjRjMC0wLjMtMC4yLTAuNS0wLjUtMC41cy0wLjUsMC4yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=)",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"}}}},Wu("plusSign",{":after":{backgroundPositionY:"-40px"},":hover:after":{backgroundPositionY:"-60px"}})));function hg(){var e=Xh()[0],t=Sp().ReactionsRef,n=Gh().reactions;Km(t,rp.REACTIONS);var f=dp(),i=lp(),r=gp();return e?l("ul",{className:Du(pg.list,!e&&Gu.hidden),ref:t},n.map((function(e){return l("li",{key:e},l(cg,{emoji:Sh(e),emojiStyle:f,unified:e,showVariations:!1,className:Du(pg.emojiButton),noBackground:!0,getEmojiUrl:r}))})),i?l("li",null,l(dg,null)):null):null}var pg=Yu.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 mg(){var e=tp()[0],t=function(){var e=_h().current,t=qh()[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=vh(n),i=e.has(f),r=t(f);return{failedToLoad:i,filteredOut:r,hidden:i||r}}}function gg(e){var t=e.categoryConfig,n=e.children,f=e.hidden,i=e.hiddenOnSearch,r=oh(t),o=ah(t);return l("li",{className:Du(wg.category,f&&Gu.hidden,i&&Hu.hiddenOnSearch),"data-name":r,"aria-label":o},l("h2",{className:Du(wg.label)},o),l("div",{className:Du(wg.categoryContent)},n))}var wg=Yu.create({category:{".":Nu.category,":not(:has(.epr-visible))":{display:"none"}},categoryContent:{".":Nu.categoryContent,display:"grid",gridGap:"0",gridTemplateColumns:"repeat(auto-fill, var(--epr-emoji-fullsize))",justifyContent:"space-between",margin:"var(--epr-category-padding)",position:"relative"},label:{".":Nu.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)"}}),Mg=!1;function bg(e){var t=e.categoryConfig,n=ip()[0],i=function(){var e=f(Mg),t=e[0],n=e[1];return r((function(){n(!0),Mg=!0}),[]),t||Mg}(),o=Gh().suggestedEmojisMode,a=gp(),s=d((function(){var e;return null!=(e=$m(o))?e:[]}),[n,o]),c=dp(),u=Fh();return i?l(gg,{categoryConfig:t,hiddenOnSearch:!0,hidden:0===s.length},s.map((function(e){var t=Sh(e.original);return!t||u(t)?null:l(cg,{showVariations:!1,unified:e.unified,emojiStyle:c,emoji:t,key:e.unified,getEmojiUrl:a})}))):null}function yg(){var e=up(),t=n(0);return l("ul",{className:Du(vg.emojiList)},e.map((function(e){var n=oh(e);return n===Xu.SUGGESTED?l(bg,{key:n,categoryConfig:e}):l(g,{key:n},l(Lg,{category:n,categoryConfig:e,renderdCategoriesCountRef:t}))})))}function Lg(e){var t=e.category,n=e.categoryConfig,f=e.renderdCategoriesCountRef,i=mg(),r=Gh().lazyLoadEmojis,o=dp(),s=a($h).isPastInitialLoad,c=ep()[0],d=Fh(),u=gp(),h=!cp(),p=!s&&f.current>0?[]:function(e){var t;return null!=(t=null==ph?void 0:ph[e])?t:[]}(t);p.length>0&&f.current++;var m=0,g=p.map((function(e){var t=vh(e,c),n=i(e),f=n.failedToLoad,a=n.filteredOut,s=n.hidden,p=d(e);return(s||p)&&m++,p?null:l(cg,{showVariations:h,key:t,emoji:e,unified:t,hidden:f,hiddenOnSearch:a,emojiStyle:o,lazyLoad:r,getEmojiUrl:u})}));return l(gg,{categoryConfig:n,hidden:m===g.length},g)}var Cg,vg=Yu.create({emojiList:{".":Nu.emojiList,listStyle:"none",margin:"0",padding:"0"}});function jg(){var e,t,n=xp(),f=Sp().VariationPickerRef,i=np()[0],o=dp(),a=function(e){var t=xp(),n=Tp(),f=Cg.Up;return{getMenuDirection:i,getTop:r};function i(){return f}function r(){f=Cg.Up;var i=0;if(!e.current)return 0;var r=km(e.current);if(t.current){var o,a=n.current,s=vm(t.current),l=km(s);i=Im(s),(null!=(o=null==a?void 0:a.scrollTop)?o:0)>i-r&&(f=Cg.Down,i+=l+r)}return i-r}}(f),s=a.getTop,c=a.getMenuDirection,d=Dp(),u=function(e){var t=xp();return function(){var n={};if(!e.current)return n;if(t.current){var f=vm(t.current),i=function(e){var t=vm(e),n=Hm(t);return Em(t)+Em(n)}(f);if(!f)return n;n.left=i+(null==f?void 0:f.clientWidth)/2}return n}}(f),h=gp(),p=vm(n.current),m=!!(i&&p&&Ih(i)&&p.classList.contains(Nu.emojiHasVariations));return r((function(){m&&Rp(f.current)}),[f,m,n]),!m&&n.current?d(null):(e=s(),t=u()),l("div",{ref:f,className:Du(kg.variationPicker,c()===Cg.Down&&kg.pointingUp,m&&kg.visible),style:{top:e}},m&&i?[vh(i)].concat(kh(i)).slice(0,6).map((function(e){return l(cg,{key:e,emoji:i,unified:e,emojiStyle:o,showVariations:!1,getEmojiUrl:h})})):null,l("div",{className:Du(kg.pointer),style:t}))}!function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(Cg||(Cg={}));var kg=Yu.create(Ou({variationPicker:{".":Nu.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=)"}},Wu("pointer",{backgroundPosition:"-25px 0"})));function Ig(){var e=Tp();return function(e){var t=Up();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),Km(e,rp.PICKER),function(){var e=Tp(),t=Zp(),n=Hp();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:Du(xg.body,Hu.hiddenOnReactions),ref:e},l(jg,null),l(yg,null))}var Sg,Ng,xg=Yu.create({body:{".":Nu.scrollBody,flex:"1",overflowY:"scroll",overflowX:"hidden",position:"relative"}});function Dg(e,t){var n=Tp(),f=Hp(),i=Zp();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=vm(e.target);if(!n)return o();var f=Om(n),i=f.unified,r=f.originalUnified;if(!i||!r)return o();t({unified:i,originalUnified:r})}function o(e){if(e&&!vm(e.relatedTarget))return t(null);t(null)}function a(e){"Escape"===e.key&&t(null)}function s(e){if(!f()){var n=vm(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=Om(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);bp(n)}}}}),[n,e,t,f,i])}function Tg(e){var t=e.children,n=e.className,f=e.style,i=void 0===f?{}:f,r=e.direction,o=void 0===r?Ng.ROW:r;return l("div",{style:Ou({},i),className:Du(Eg.flex,n,Eg[o])},t)}!function(e){e.ROW="FlexRow",e.COLUMN="FlexColumn"}(Ng||(Ng={}));var Eg=Yu.create(((Sg={flex:{display:"flex"}})[Ng.ROW]={flexDirection:"row"},Sg[Ng.COLUMN]={flexDirection:"column"},Sg));function Ag(e){var t=e.className,n=e.style;return l("div",{style:Ou({flex:1},void 0===n?{}:n),className:Du(t)})}function zg(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:Ou({},f,{position:"absolute"}),className:n},t)}function Og(e){var t=e.children,n=e.className,f=e.style;return l("div",{style:Ou({},f,{position:"relative"}),className:n},t)}function Pg(e){var t=e.isOpen,n=e.onClick,f=e.isActive,i=e.skinToneVariation,r=e.style;return l(qm,{style:r,onClick:n,className:Du("epr-tone-"+i,Jg.tone,!t&&Jg.closedTone,f&&Jg.active),"aria-pressed":f,"aria-label":"Skin tone "+gh[i]})}var Rg,Jg=Yu.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"}}}),Bg=28;function Qg(){return l(Og,{style:{height:Bg}},l(zg,{style:{bottom:0,right:0}},l(Yg,{direction:Rg.VERTICAL})))}function Yg(e){var t=e.direction,n=void 0===t?Rg.HORIZONTAL:t,f=Ap(),i=cp(),r=fp(),o=r[0],a=r[1],s=ep(),c=s[0],d=s[1],u=ap().current.onSkinToneChange||function(){},h=Up(),p=Wp();if(i)return null;var m=Bg*mh.length+"px",g=o?m:Bg+"px",w=n===Rg.VERTICAL;return l(Og,{className:Du(Ug.skinTones,w&&Ug.vertical,o&&Ug.open,w&&o&&Ug.verticalShadow),style:w?{flexBasis:g,height:g}:{flexBasis:g}},l("div",{className:Du(Ug.select),ref:f},mh.map((function(e,t){var n=e===c;return l(Pg,{key:e,skinToneVariation:e,isOpen:o,style:{transform:Du(w?"translateY(-"+t*(o?Bg:0)+"px)":"translateX(-"+t*(o?Bg: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"}(Rg||(Rg={}));var Ug=Yu.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 Gg(){var e=hp(),t=tm(),n=Xh()[0];return e.showPreview?l(Tg,{className:Du(Hg.preview,Hu.hiddenOnReactions,n&&Hg.hideOnReactions)},l(Zg,null),l(Ag,null),t?l(Qg,null):null):null}function Zg(){var e,t=hp(),n=f(null),i=n[0],r=n[1],o=dp(),a=np()[0],s=gp();Dg(t.showPreview,r);var c=Sh(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??Sh(t.defaultEmoji);if(!e)return null;var n=a?Lh(a):t.defaultCaption;return l(h,null,l("div",null,d?l(lg,{unified:null==i?void 0:i.unified,emoji:c,emojiStyle:o,size:45,getEmojiUrl:s,className:Du(Hg.emoji)}):e?l(lg,{unified:vh(e),emoji:e,emojiStyle:o,size:45,getEmojiUrl:s,className:Du(Hg.emoji)}):null),l("div",{className:Du(Hg.label)},d?Lh(c):n))}),null)}var Hg=Yu.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 Wg(e){var t;return null!=(t=null==e?void 0:e.getAttribute("data-name"))?t:null}function Fg(){var e=Gh().customEmojis;return!!e&&0===e.length}function Vg(e){var t,n=e.isActiveCategory,f=e.category,i=e.allowNavigation,r=e.categoryConfig,o=e.onClick;return l(qm,{tabIndex:i?0:-1,className:Du(Xg.catBtn,Hu.categoryBtn,"epr-icn-"+f,(t={},t[Nu.active]=n,t)),onClick:o,"aria-label":ah(r),"aria-selected":n,role:"tab","aria-controls":"epr-category-nav-id"})}var $g={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 3)"},_g={backgroundPositionY:"calc(var(--epr-category-navigation-button-size) * 2)"},Kg={":not(.epr-search-active)":{catBtn:{":hover":$g,"&.epr-active":$g}}},Xg=Yu.create(Ou({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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMDBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgMjAwIDgwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMDAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZyBpZD0iTGF5ZXJfMTEiPgoJPGc+CgkJPHBhdGggZmlsb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-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)"}}},Wu("catBtn",_g),{".epr-dark-theme":Ou({},Kg),".epr-auto-theme":Ou({},Kg)}));function qg(){var e=f(null),t=e[0],n=e[1],i=function(){var e=Tp(),t=Np();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;Op(t.current,r)}}}}();!function(e){var t=Tp();r((function(){var n=new Map,f=t.current,i=new IntersectionObserver((function(t){if(f){for(var i,r=Bu(t);!(i=r()).done;){var o=i.value,a=Wg(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(Qu(Nu.category)).forEach((function(e){i.observe(e)}))}),[t,e])}(n);var o=Mp(),a=up(),s=zp(),c=Fg();return l("div",{className:Du(ew.nav),role:"tablist","aria-label":"Category navigation",id:"epr-category-nav-id",ref:s},a.map((function(e){var f=oh(e),r=f===t;return function(e){return e.category===Xu.CUSTOM}(e)&&c?null:l(Vg,{key:f,category:f,isActiveCategory:r,allowNavigation:!o&&!r,categoryConfig:e,onClick:function(){i(f),setTimeout((function(){n(f)}),10)}})})))}var ew=Yu.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"}}}),tw="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNi45OCwxMy41OWMwLjEsMC4xLDAuMjQsMC4xNSwwLjM3LDAuMTVzMC4yNy0wLjA1LDAuMzctMC4xNWwyLjQyLTIuNDJsMi40MywyLjQzCgljMC4xLDAuMSwwLjI0LDAuMTUsMC4zNywwLjE1YzAuMTQsMCwwLjI3LTAuMDUsMC4zNy0wLjE1YzAuMjEtMC4yMSwwLjIxLTAuNTQsMC0wLjc1bC0yLjQzLTIuNDNMM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ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";function nw(){var e=Vp();return l(qm,{className:Du(iw.btnClearSearch,Hu.visibleOnSearchOnly),onClick:e,"aria-label":"Clear",title:"Clear"},l("div",{className:Du(iw.icnClearnSearch)}))}var fw={":hover":{"> .epr-icn-clear-search":{backgroundPositionY:"-60px"}}},iw=Yu.create(Ou({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("+tw+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Wu("icnClearnSearch",{backgroundPositionY:"-40px"}),Wu("btnClearSearch",fw))),rw=Qu(Nu.emojiPicker)+" "+Qu(Nu.emojiList),ow=["button",Qu(Nu.emoji)].join(""),aw=Qu(Nu.category);function sw(e){var t=e.value;if(!t)return null;var n=function(e){return[ow,'[data-full-name*="',Xp(e),'"]'].join("")}(t);return l("style",null,"\n "+rw+" "+ow+" {\n display: none;\n }\n\n\n "+rw+" "+n+" {\n display: flex;\n }\n\n "+rw+" "+aw+":not(:has("+n+")) {\n display: none;\n }\n ")}function lw(){return l("div",{className:Du(cw.icnSearch)})}var cw=Yu.create(Ou({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+)"}},Wu("icnSearch",{backgroundPositionY:"-20px"})));function dw(){var e=pp(),t=em();return e?null:l(Tg,{className:Du(hw.overlay)},l(uw,null),t?l(Yg,null):null)}function uw(){var e=f(0),t=e[0],n=e[1],i=Up(),r=Ep(),o=function(){var e,t=Gh();return null!=(e=[t.searchPlaceHolder,t.searchPlaceholder].find((function(e){return e!==Eh})))?e:Eh}(),a=Gh().autoFocusSearch,s=$p(),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(Og,{className:Du(hw.searchContainer)},l(sw,{value:p}),l("input",{autoFocus:a,"aria-label":"Type to search for an emoji",onFocus:i,className:Du(hw.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:Du("epr-status-search-results",hw.visuallyHidden),"aria-live":"polite",id:"epr-search-id","aria-atomic":"true"},c):null,l(lw,null),l(nw,null))}var hw=Yu.create(Ou({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("+tw+")",":hover":{backgroundPositionY:"-20px"},":focus":{backgroundPositionY:"-20px"}}},Wu("icnClearnSearch",{backgroundPositionY:"-40px"}),Wu("btnClearSearch",{":hover > .epr-icn-clear-search":{backgroundPositionY:"-60px"}})));function pw(){return l(Og,{className:Du("epr-header",Hu.hiddenOnReactions)},l(dw,null),l(qg,null))}function mw(e){return l(jp,null,l(Zu,null),l(Uh,Object.assign({},e),l(gw,null)))}function gw(){var e=Xh()[0],t=lp(),n=f(!e),i=n[0],o=n[1],a=Gh().open;return r((function(){e&&!t||i||o(!0)}),[i,t,e]),a?l(dm,null,l(hg,null),l(ww,{renderAll:i})):null}function ww(e){return e.renderAll?l(h,null,l(pw,null),l(Ig,null),l(Gg,null)):null}var Mw=u(mw,Fu),bw=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,Pu(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 yw(t){var n=function(t){var n=e.useRef({onEmojiClick:t.onEmojiClick||sp,onReactionClick:t.onReactionClick||t.onEmojiClick,onSkinToneChange:t.onSkinToneChange||sp});return e.useEffect((function(){n.current.onEmojiClick=t.onEmojiClick||sp,n.current.onReactionClick=t.onReactionClick||t.onEmojiClick}),[t.onEmojiClick,t.onReactionClick]),e.useEffect((function(){n.current.onSkinToneChange=t.onSkinToneChange||sp}),[t.onSkinToneChange]),n}({onEmojiClick:t.onEmojiClick,onReactionClick:t.onReactionClick,onSkinToneChange:t.onSkinToneChange});return l(bw,null,l(op.Provider,{value:n},l(Mw,Object.assign({},t))))}const Lw=({dataTest:e,attachmentsMenu:t,id:i,inputRef:o,className:a,editorClassName:s,disabled:l,readOnly:c,error:d,locale:u,title:h,placeholder:p,helperText:m,required:g,maxScrollableHeight:M,toolbarDefaultVisible:b,hideToolbar:y,noDefaultStyles:L,attachments:C,replyModeComponent:v,...j})=>{var I;const D=n(),T=Fa({...j,extensions:[hu.configure({placeholder:p}),...lu,...cu,...j.extensions||[]],parseOptions:{preserveWhitespace:!0,...j.parseOptions},shouldRerenderOnTransaction:j.shouldRerenderOnTransaction||!1,immediatelyRender:j.immediatelyRender||!0,editable:j.editable||!l&&!c,onSelectionUpdate:e=>{var t;null==(t=j.onSelectionUpdate)||t.call(j,e),D.current=e.editor.state.selection.anchor,e.editor.commands.focus()}},[j.shouldRerenderOnTransaction,j.immediatelyRender,p]);r((()=>{null==T||T.setEditable(j.editable||!l&&!c)}),[c,l,j.editable,T]),r((()=>{void 0!==D.current&&(null==T||T.commands.setTextSelection(D.current))}),[null==(I=j.content)?void 0:I.length,T]);const[E,A]=f(b),[z,P]=f(!1);w(o,(()=>T));const[J,B]=f(!1),[Q,Y]=f(!1);r((()=>{const e=()=>B(!0),t=()=>B(!1);return null==T||T.on("focus",e),null==T||T.on("blur",t),()=>{null==T||T.off("focus",e),null==T||T.off("blur",t)}}),[T]);const U=null==T?void 0:T.isEmpty,G=!c&&d&&U;return T?O.jsxs(S,{className:a,children:[h&&O.jsx("p",{className:"font-semibold text-base text-delta-700 mb-2",children:h}),O.jsxs("div",{className:R(!L&&"rte-wrapper","outlined"===c&&"readonly-outlined","plain"===c&&"readonly-plain",!c&&G&&(J?"error-focused-state":"error-state"),!c&&!G&&J&&"focused-state"),children:[v,O.jsxs("div",{className:"flex justify-between",children:[O.jsx(Ea,{"data-test":e,id:i,className:R(!L&&"core-ui-rte",!y&&!l&&!c&&!E&&"displace-text",!L&&!l&&!c&&"edit-mode",s,E&&"displace-text"),editor:T,onClick:()=>null==T?void 0:T.chain().focus().run(),style:{"--max-scrollable-height":`${M||100}px`}}),!y&&!l&&!c&&O.jsxs("div",{className:"flex flex-col items-end justify-end gap-2 m-1",children:[t,!E&&O.jsx(Dl,{onMouseDown:e=>{e.preventDefault(),A(!0)},className:"cursor-pointer text-delta-700 h-6 w-6 min-w-6 m-1",icon:"material-symbols:format-color-text"})]})]}),!(null==C||!C.length)&&O.jsx("div",{className:"p-2 flex flex-wrap items-center gap-2",children:C.map((e=>O.jsx(N,{...e})))}),!y&&!l&&!c&&E&&O.jsx(Ol,{editor:T,onClose:()=>A(!1),error:d,focused:J,openLinkDialog:()=>P(!0),openEmojiPicker:()=>Y(!0),locale:u})]}),G&&m&&O.jsx(x,{error:!0,"data-test":`error-${e}`,children:m}),O.jsx(uu,{open:z,setOpen:P,editor:T,locale:u}),O.jsx(k,{dataTest:"emoji-picker-dialog",open:Q,onClose:()=>Y(!1),dialogTitle:O.jsx("span",{className:"pb-4",children:"Emoji"}),children:O.jsx(yw,{open:Q,onEmojiClick:({emoji:e})=>{null==T||T.chain().focus().insertContent(e).run(),Y(!1)},allowExpandReactions:!1,autoFocusSearch:!1,className:"w-full min-w-[350px]",previewConfig:{showPreview:!1}})})]}):null};export{Lw as RichInput};