@bigbinary/neeto-editor 0.12.9 → 0.12.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/README.md +1 -1
- package/build/index.js +2 -2
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{createContext as n,useContext as i,useState as o,useEffect as r,useRef as s,useCallback as a,Children as l,isValidElement as c,cloneElement as p,forwardRef as u,useLayoutEffect as d}from"react";import h,{flushSync as m,createPortal as f}from"react-dom";import g from"http";import b from"https";import v from"url";import y from"stream";import x from"assert";import w from"tty";import k from"util";import E from"os";import _ from"zlib";import M from"path";import C from"fs";import{renderToString as D}from"react-dom/server";var O=[],T=[];function N(e,t){if(e&&"undefined"!=typeof document){var n,i=!0===t.prepend?"prepend":"append",o=!0===t.singleTag,r="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(o){var s=O.indexOf(r);-1===s&&(s=O.push(r)-1,T[s]={}),n=T[s]&&T[s][i]?T[s][i]:T[s][i]=a()}else n=a();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function a(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),o=0;o<n.length;o++)e.setAttribute(n[o],t.attributes[n[o]]);var s="prepend"===i?"afterbegin":"beforeend";return r.insertAdjacentElement(s,e),e}}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},S.apply(this,arguments)}function A(e){this.content=e}function j(e,t,n){for(let i=0;;i++){if(i==e.childCount||i==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(i),r=t.child(i);if(o!=r){if(!o.sameMarkup(r))return n;if(o.isText&&o.text!=r.text){for(let e=0;o.text[e]==r.text[e];e++)n++;return n}if(o.content.size||r.content.size){let e=j(o.content,r.content,n+1);if(null!=e)return e}n+=o.nodeSize}else n+=o.nodeSize}}function I(e,t,n,i){for(let o=e.childCount,r=t.childCount;;){if(0==o||0==r)return o==r?null:{a:n,b:i};let s=e.child(--o),a=t.child(--r),l=s.nodeSize;if(s!=a){if(!s.sameMarkup(a))return{a:n,b:i};if(s.isText&&s.text!=a.text){let e=0,t=Math.min(s.text.length,a.text.length);for(;e<t&&s.text[s.text.length-e-1]==a.text[a.text.length-e-1];)e++,n--,i--;return{a:n,b:i}}if(s.content.size||a.content.size){let e=I(s.content,a.content,n-1,i-1);if(e)return e}n-=l,i-=l}else n-=l,i-=l}}N('@charset "UTF-8";\n@import url("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css");\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\naudio,\ncanvas,\nembed,\niframe,\nimg,\nobject,\nsvg,\nvideo {\n display: block;\n}\nbutton {\n background-color: transparent;\n background-image: none;\n border: none;\n}\nfieldset,\nol,\nul {\n margin: 0;\n padding: 0;\n}\nblockquote,\ndd,\ndl,\nfigure,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n[type=checkbox],\n[type=radio] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n padding: 0;\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n display: inline-block;\n vertical-align: middle;\n background-origin: border-box;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n flex-shrink: 0;\n height: 1rem;\n width: 1rem;\n color: #2563eb;\n background-color: rgb(var(--neeto-ui-white));\n border-color: #6b7280;\n border-width: 1px;\n}\n[type=checkbox]:checked,\n[type=radio]:checked {\n border-color: transparent;\n background-color: currentColor;\n background-size: auto;\n background-position: center;\n background-repeat: no-repeat;\n}\n[type=radio]:checked {\n background-image: url("data:image/svg+xml,%3Csvg width=\'6\' height=\'6\' viewBox=\'0 0 6 6\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Ccircle cx=\'3\' cy=\'3\' r=\'3\' fill=\'white\'/%3E%3C/svg%3E%0A");\n}\n[type=checkbox]:checked {\n background-image: url("data:image/svg+xml,%3Csvg width=\'11\' height=\'8\' viewBox=\'0 0 11 8\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M9.66671 1L4.00004 6.66667L1.33337 4\' stroke=\'white\' stroke-width=\'1.5\' stroke-linecap=\'round\' stroke-linejoin=\'round\'/%3E%3C/svg%3E%0A");\n}\n[type=radio] {\n border-radius: 100%;\n}\nbody {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;\n font-size: 14px;\n font-weight: 400;\n line-height: 1.3;\n color: #222;\n}\nbody *,\nbody *::after,\nbody *::before {\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\nbody {\n color: rgb(var(--neeto-ui-gray-800));\n}\nh1 {\n font-size: var(--neeto-ui-text-3xl);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh2 {\n font-size: var(--neeto-ui-text-2xl);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh3 {\n font-size: var(--neeto-ui-text-xl);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh4 {\n font-size: var(--neeto-ui-text-base);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh5 {\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh6 {\n font-size: var(--neeto-ui-text-xs);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\np {\n font-size: var(--neeto-ui-text-sm);\n line-height: var(--neeto-ui-leading-normal);\n}\n:root {\n --neeto-ui-black: 27, 31, 35;\n --neeto-ui-white: 255, 255, 255;\n --neeto-ui-gray-800: 47, 57, 65;\n --neeto-ui-gray-700: 73, 84, 92;\n --neeto-ui-gray-600: 104, 115, 125;\n --neeto-ui-gray-500: 135, 146, 157;\n --neeto-ui-gray-400: 194, 200, 204;\n --neeto-ui-gray-300: 216, 220, 222;\n --neeto-ui-gray-200: 233, 235, 237;\n --neeto-ui-gray-100: 248, 249, 249;\n --neeto-ui-primary-800: 45, 54, 212;\n --neeto-ui-primary-600: 54, 66, 223;\n --neeto-ui-primary-500: 69, 88, 249;\n --neeto-ui-primary-100: 235, 236, 254;\n --neeto-ui-error-800: 187, 18, 26;\n --neeto-ui-error-600: 201, 37, 45;\n --neeto-ui-error-500: 215, 55, 63;\n --neeto-ui-error-100: 254, 236, 240;\n --neeto-ui-success-800: 16, 113, 84;\n --neeto-ui-success-600: 18, 128, 92;\n --neeto-ui-success-500: 38, 142, 108;\n --neeto-ui-success-100: 225, 243, 238;\n --neeto-ui-warning-800: 189, 100, 13;\n --neeto-ui-warning-600: 203, 111, 16;\n --neeto-ui-warning-500: 218, 123, 17;\n --neeto-ui-warning-100: 251, 242, 225;\n --neeto-ui-info-800: 9, 90, 186;\n --neeto-ui-info-600: 13, 102, 208;\n --neeto-ui-info-500: 20, 115, 230;\n --neeto-ui-info-100: 226, 242, 255;\n --neeto-ui-pastel-silver: 232, 233, 237;\n --neeto-ui-pastel-red: 255, 229, 229;\n --neeto-ui-pastel-yellow: 254, 243, 197;\n --neeto-ui-pastel-green: 211, 249, 232;\n --neeto-ui-pastel-blue: 236, 244, 255;\n --neeto-ui-pastel-purple: 238, 235, 255;\n --neeto-ui-pastel-pink: 253, 226, 241;\n --neeto-ui-pastel-silver: 232, 233, 237;\n --neeto-ui-pastel-red: 255, 229, 229;\n --neeto-ui-pastel-yellow: 254, 243, 197;\n --neeto-ui-pastel-green: 211, 249, 232;\n --neeto-ui-pastel-blue: 236, 244, 255;\n --neeto-ui-pastel-purple: 238, 235, 255;\n --neeto-ui-pastel-pink: 253, 226, 241;\n --neeto-ui-surface-bg: 255, 255, 255;\n --neeto-ui-shadow-xs: 0px 1px 4px -1px rgba(28, 48, 74, 0.12);\n --neeto-ui-shadow-s: 0px 3px 12px -1px rgba(28, 52, 84, 0.12), 0px 2px 4px -1px rgba(28, 55, 90, 0.08);\n --neeto-ui-shadow-m: 0px 8px 24px -4px rgba(28, 50, 79, 0.12), 0px 2px 6px -1px rgba(28, 55, 90, 0.08);\n --neeto-ui-shadow-l: 0px 12px 48px -6px rgba(28, 50, 79, 0.12), 0px 3px 18px -2px rgba(28, 55, 90, 0.08);\n --neeto-ui-text-h1: 32px;\n --neeto-ui-text-h2: 24px;\n --neeto-ui-text-h3: 20px;\n --neeto-ui-text-h4: 16px;\n --neeto-ui-text-h5: 14px;\n --neeto-ui-text-h6: 12px;\n --neeto-ui-text-body1: 16px;\n --neeto-ui-text-body2: 14px;\n --neeto-ui-text-body3: 12px;\n --neeto-ui-text-nano: 10px;\n --neeto-ui-text-xxs: 10px;\n --neeto-ui-text-xs: 12px;\n --neeto-ui-text-sm: 14px;\n --neeto-ui-text-base: 16px;\n --neeto-ui-text-lg: 18px;\n --neeto-ui-text-xl: 20px;\n --neeto-ui-text-2xl: 24px;\n --neeto-ui-text-3xl: 32px;\n --neeto-ui-text-4xl: 48px;\n --neeto-ui-font-thin: 100;\n --neeto-ui-font-extralight: 200;\n --neeto-ui-font-light: 300;\n --neeto-ui-font-normal: 400;\n --neeto-ui-font-medium: 500;\n --neeto-ui-font-semibold: 600;\n --neeto-ui-font-bold: 700;\n --neeto-ui-font-extrabold: 800;\n --neeto-ui-font-black: 900;\n --neeto-ui-leading-none: 1;\n --neeto-ui-leading-tight: 1.25;\n --neeto-ui-leading-snug: 1.375;\n --neeto-ui-leading-normal: 1.5;\n --neeto-ui-leading-relaxed: 1.625;\n --neeto-ui-leading-loose: 2;\n --neeto-ui-text-transform-none: none;\n --neeto-ui-text-transform-capitalize: capitalize;\n --neeto-ui-text-transform-uppercase: uppercase;\n --neeto-ui-text-transform-lowercase: lowercase;\n --neeto-ui-text-transform-full-width: full-width;\n --neeto-ui-text-transform-inherit: inherit;\n --neeto-ui-text-transform-initial: initial;\n --neeto-ui-text-transform-revert: revert;\n --neeto-ui-text-transform-unset: unset;\n --neeto-ui-rounded-none: 0;\n --neeto-ui-rounded-sm: 3px;\n --neeto-ui-rounded: 5px;\n --neeto-ui-rounded-md: 6px;\n --neeto-ui-rounded-lg: 8px;\n --neeto-ui-rounded-xl: 12px;\n --neeto-ui-rounded-full: 999px;\n --neeto-ui-transition: all 0.3s linear;\n --neeto-ui-modal-z-index: 99999;\n}\n.neeto-ui-theme--dark {\n --neeto-ui-surface-bg: 18, 18, 18;\n background-color: rgb(18, 18, 18);\n --neeto-ui-white: 18, 18, 18;\n --neeto-ui-black: 224, 224, 224;\n --neeto-ui-gray-100: 30, 30, 30;\n --neeto-ui-gray-200: 44, 44, 44;\n --neeto-ui-gray-300: 57, 57, 57;\n --neeto-ui-gray-400: 73, 73, 73;\n --neeto-ui-gray-500: 92, 92, 92;\n --neeto-ui-gray-600: 124, 124, 124;\n --neeto-ui-gray-700: 162, 162, 162;\n --neeto-ui-gray-800: 200, 200, 200;\n --neeto-ui-primary-800: 209, 213, 254;\n --neeto-ui-primary-600: 181, 188, 253;\n --neeto-ui-primary-500: 125, 137, 251;\n --neeto-ui-primary-100: 27, 28, 37;\n --neeto-ui-error-800: 247, 109, 116;\n --neeto-ui-error-600: 236, 91, 98;\n --neeto-ui-error-500: 227, 72, 80;\n --neeto-ui-error-100: 129, 33, 38;\n --neeto-ui-success-800: 57, 185, 144;\n --neeto-ui-success-600: 51, 171, 132;\n --neeto-ui-success-500: 45, 157, 120;\n --neeto-ui-success-100: 23, 85, 65;\n --neeto-ui-warning-800: 249, 164, 63;\n --neeto-ui-warning-600: 242, 148, 35;\n --neeto-ui-warning-500: 230, 134, 25;\n --neeto-ui-warning-100: 131, 74, 11;\n --neeto-ui-info-800: 75, 156, 245;\n --neeto-ui-info-600: 55, 142, 240;\n --neeto-ui-info-500: 38, 128, 235;\n --neeto-ui-info-100: 11, 69, 137;\n --neeto-ui-pastel-silver: 167, 168, 170;\n --neeto-ui-pastel-red: 183, 164, 165;\n --neeto-ui-pastel-yellow: 182, 175, 143;\n --neeto-ui-pastel-green: 152, 179, 167;\n --neeto-ui-pastel-blue: 170, 175, 183;\n --neeto-ui-pastel-purple: 171, 169, 183;\n --neeto-ui-pastel-pink: 181, 162, 174;\n}\n@keyframes shake {\n 0% {\n transform: translateX(0);\n }\n 10% {\n transform: translateX(-4px);\n }\n 20% {\n transform: translateX(4px);\n }\n 30% {\n transform: translateX(-4px);\n }\n 40% {\n transform: translateX(4px);\n }\n 50% {\n transform: translateX(-4px);\n }\n 60% {\n transform: translateX(4px);\n }\n 70% {\n transform: translateX(-4px);\n }\n 80% {\n transform: translateX(4px);\n }\n 90% {\n transform: translateX(-4px);\n }\n 100% {\n transform: translateX(0);\n }\n}\n@keyframes fade-in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.ne-dropdown {\n margin: 6px 0;\n box-shadow: var(--neeto-ui-shadow-xs) !important;\n border-radius: var(--neeto-ui-rounded) !important;\n border: 1px solid rgb(var(--neeto-ui-gray-400));\n}\n.ne-dropdown .tippy-content {\n position: relative;\n padding: 0;\n z-index: 1;\n}\n.ne-dropdown__popup {\n width: auto;\n min-width: 168px;\n max-height: 360px;\n overflow-y: auto;\n background-color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded);\n z-index: 99999;\n}\n.ne-dropdown__popup.ne-dropdown__popup--auto-width {\n min-width: auto;\n}\n.ne-dropdown__popup li,\n.ne-dropdown__popup .ne-dropdown--item {\n display: flex;\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n transition: var(--neeto-ui-transition);\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-normal);\n color: rgb(var(--neeto-ui-gray-800));\n padding: 6px 40px 6px 12px;\n text-decoration: none;\n outline-color: transparent;\n}\n.ne-dropdown__popup li.disabled,\n.ne-dropdown__popup .ne-dropdown--item.disabled {\n cursor: not-allowed;\n color: rgb(var(--neeto-ui-gray-500));\n}\n.ne-dropdown__popup li:hover, .ne-dropdown__popup li:focus,\n.ne-dropdown__popup .ne-dropdown--item:hover,\n.ne-dropdown__popup .ne-dropdown--item:focus {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-dropdown__popup li.loading:not(.active):after,\n.ne-dropdown__popup .ne-dropdown--item.loading:not(.active):after {\n content: "";\n position: absolute;\n right: 16px;\n top: 0;\n bottom: 0;\n margin: auto;\n width: 16px;\n height: 16px;\n display: block;\n border-radius: 50%;\n border: solid 2px rgb(var(--neeto-ui-gray-200));\n border-top-color: rgb(var(--neeto-ui-black));\n border-left-color: rgb(var(--neeto-ui-black));\n animation: theme("animation.spin");\n}\n.ne-dropdown__popup li.active,\n.ne-dropdown__popup .ne-dropdown--item.active {\n background-color: rgb(var(--neeto-ui-gray-800));\n color: rgb(var(--neeto-ui-white));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu {\n padding: 4px 0;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item {\n all: unset;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn {\n width: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: relative;\n white-space: nowrap;\n line-height: 1.143;\n transition: var(--neeto-ui-transition);\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-normal);\n color: rgb(var(--neeto-ui-gray-800));\n padding: 6px 12px;\n min-height: 32px;\n gap: 8px;\n text-decoration: none;\n outline-color: transparent;\n border-radius: 0;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn.disabled {\n cursor: not-allowed;\n color: rgb(var(--neeto-ui-gray-500));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn:hover, .ne-dropdown__popup .ne-dropdown__popup-menu-item-btn:focus {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn.active {\n background-color: rgb(var(--neeto-ui-gray-800));\n color: rgb(var(--neeto-ui-white));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn--style-danger {\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-dropdown__popup .ne-dropdown__popup-divider {\n all: unset;\n width: 100%;\n display: flex;\n height: 1px;\n background-color: rgb(var(--neeto-ui-gray-200));\n margin: 4px 0;\n pointer-events: none;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn__suffix {\n margin-left: auto;\n}\n.ne-avatar--container {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--neeto-ui-rounded);\n position: relative;\n}\n.ne-avatar--container.ne-avatar--container-round {\n border-radius: var(--neeto-ui-rounded-full);\n}\n.ne-avatar--container .ne-avatar__text {\n font-weight: var(--neeto-ui-font-semibold);\n text-align: center;\n text-transform: capitalize;\n font-size: var(--neeto-ui-text-xxs);\n color: rgb(47, 57, 65);\n line-height: 1;\n}\n.ne-avatar--container .ne-avatar__text.ne-avatar__text-medium {\n font-size: var(--neeto-ui-text-xs);\n}\n.ne-avatar--container .ne-avatar__text.ne-avatar__text-large {\n font-size: var(--neeto-ui-text-sm);\n}\n.ne-avatar--container .ne-avatar__text.ne-avatar__text-xlarge {\n font-size: var(--neeto-ui-text-2xl);\n}\n.ne-avatar--container .ne-avatar__status {\n position: absolute;\n right: 0;\n top: 0;\n width: 0.4rem;\n height: 0.4rem;\n background-color: white;\n border: 0.5px solid white;\n border-radius: var(--neeto-ui-rounded-full);\n transform: translateX(-40%);\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-medium {\n width: 0.465rem;\n height: 0.465rem;\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-large {\n width: 0.563rem;\n height: 0.563rem;\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-xlarge {\n width: 0.75rem;\n height: 0.75rem;\n transform: translateX(-65%);\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-square {\n transform: translate(25%, -25%);\n}\n.ne-avatar--container .ne-avatar__status.online {\n background-color: rgb(var(--neeto-ui-success-500));\n}\n.ne-avatar--container .ne-avatar__status.idle {\n background-color: rgb(var(--neeto-ui-warning-500));\n}\n.ne-avatar--container .ne-avatar__status.offline {\n background-color: rgb(var(--neeto-ui-gray-300));\n}\n.ne-avatar--container .ne-avatar {\n display: inline-block;\n border-radius: var(--neeto-ui-rounded-sm);\n height: 1.5rem;\n width: 1.5rem;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.ne-avatar--container .ne-avatar.hidden {\n display: none;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--medium {\n height: 2rem;\n width: 2rem;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--large {\n height: 2.5rem;\n width: 2.5rem;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--xlarge {\n height: 4rem;\n width: 4rem;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--round {\n border-radius: var(--neeto-ui-rounded-full);\n}\n.ne-avatar--container-bg-1 {\n background-color: rgb(var(--neeto-ui-pastel-silver));\n}\n.ne-avatar--container-bg-2 {\n background-color: rgb(var(--neeto-ui-pastel-red));\n}\n.ne-avatar--container-bg-3 {\n background-color: rgb(var(--neeto-ui-pastel-yellow));\n}\n.ne-avatar--container-bg-4 {\n background-color: rgb(var(--neeto-ui-pastel-green));\n}\n.ne-avatar--container-bg-5 {\n background-color: rgb(var(--neeto-ui-pastel-blue));\n}\n.ne-avatar--container-bg-6 {\n background-color: rgb(var(--neeto-ui-pastel-purple));\n}\n.ne-avatar--container-bg-7 {\n background-color: rgb(var(--neeto-ui-pastel-pink));\n}\n.ne-tab__wrapper {\n width: 100%;\n display: flex;\n border-bottom: 2px solid rgb(var(--neeto-ui-gray-300));\n}\n.ne-tab__wrapper--size-large .ne-tab {\n font-size: var(--neeto-ui-text-xl);\n padding-left: 12px;\n padding-right: 12px;\n}\n.ne-tab__wrapper--underline-none {\n border-bottom: none;\n}\n.ne-tab__wrapper--underline-none .ne-tab::before {\n display: none;\n}\n.ne-tab {\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: rgb(var(--neeto-ui-gray-500));\n font-weight: var(--neeto-ui-font-semibold);\n font-size: var(--neeto-ui-text-sm);\n line-height: 1;\n padding: 12px 8px;\n transition: var(--neeto-ui-transition);\n position: relative;\n cursor: pointer;\n text-decoration: none;\n outline: none;\n}\n.ne-tab:hover, .ne-tab:focus, .ne-tab:focus-visible, .ne-tab:active {\n text-decoration: none;\n outline: none;\n}\n.ne-tab:focus, .ne-tab:focus-visible {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-tab__icon {\n margin-right: 12px;\n}\n.ne-tab svg {\n width: 16px;\n height: 16px;\n}\n.ne-tab:hover {\n color: rgb(var(--neeto-ui-gray-600));\n}\n.ne-tab:before {\n content: "";\n position: absolute;\n width: 100%;\n height: 2px;\n background-color: transparent;\n left: 0;\n right: 0;\n bottom: -2px;\n transition: var(--neeto-ui-transition);\n}\n.ne-tab.active {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-tab.active:before {\n background-color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-btn {\n position: relative;\n display: inline-flex !important;\n align-items: center;\n padding: 6px 8px;\n gap: 4px;\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-medium);\n line-height: 16px;\n transition: var(--neeto-ui-transition);\n border-radius: var(--neeto-ui-rounded);\n border: none;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n min-width: 0;\n cursor: pointer;\n}\n.ne-btn.ne-btn--icon-only {\n padding: 6px;\n}\n.ne-btn.ne-btn--icon-only .ne-btn__icon,\n.ne-btn.ne-btn--icon-only .ne-btn__spinner svg {\n width: 16px !important;\n height: 16px !important;\n}\n.ne-btn--size-medium {\n font-size: var(--neeto-ui-text-sm);\n padding: 8px 16px;\n gap: 8px;\n}\n.ne-btn--size-medium.ne-btn--icon-only .ne-btn__icon,\n.ne-btn--size-medium.ne-btn--icon-only .ne-btn__spinner svg {\n width: 20px !important;\n height: 20px !important;\n}\n.ne-btn--size-large {\n font-size: var(--neeto-ui-text-base);\n padding: 12px 20px;\n gap: 10px;\n}\n.ne-btn--size-large.ne-btn--icon-only {\n padding: 8px;\n}\n.ne-btn--size-large.ne-btn--icon-only .ne-btn__icon,\n.ne-btn--size-large.ne-btn--icon-only .ne-btn__spinner svg {\n width: 24px !important;\n height: 24px !important;\n}\n.ne-btn:focus, .ne-btn:focus-visible {\n outline: none;\n}\n.ne-btn:hover {\n text-decoration: none;\n}\n.ne-btn.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.ne-btn--icon-left {\n flex-direction: row-reverse;\n}\n.ne-btn__icon,\n.ne-btn__spinner,\n.ne-btn__spinner-wrapper {\n color: inherit;\n}\n.ne-btn__icon svg,\n.ne-btn__spinner svg,\n.ne-btn__spinner-wrapper svg {\n color: inherit !important;\n}\n.ne-btn--width-full {\n width: 100% !important;\n justify-content: center;\n}\n.ne-btn--style-primary {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-primary:hover:not(:disabled), .ne-btn--style-primary:active {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-primary-600));\n}\n.ne-btn--style-primary:focus {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-primary-500), 15%);\n}\n.ne-btn--style-primary:focus-visible {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-primary-500), 15%);\n}\n.ne-btn--style-secondary {\n color: rgb(var(--neeto-ui-gray-800));\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-btn--style-secondary:hover:not(:disabled), .ne-btn--style-secondary:active {\n color: rgb(var(--neeto-ui-gray-800));\n background-color: rgb(var(--neeto-ui-gray-300));\n}\n.ne-btn--style-secondary:focus {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 25%);\n}\n.ne-btn--style-secondary:focus-visible {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 25%);\n}\n.ne-btn--style-text {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-btn--style-text:hover:not(:disabled), .ne-btn--style-text:active {\n color: rgb(var(--neeto-ui-gray-800));\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-btn--style-text:focus {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 15%);\n}\n.ne-btn--style-text:focus-visible {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 15%);\n}\n.ne-btn--style-link {\n color: rgb(var(--neeto-ui-primary-500));\n padding: 0;\n}\n.ne-btn--style-link:hover:not(:disabled), .ne-btn--style-link:active, .ne-btn--style-link:focus {\n opacity: 0.8;\n color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-link:focus {\n opacity: 0.8;\n color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-link:focus-visible {\n opacity: 0.8;\n color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-danger {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-error-500));\n}\n.ne-btn--style-danger:hover:not(:disabled), .ne-btn--style-danger:active {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-error-600));\n}\n.ne-btn--style-danger:focus {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.ne-btn--style-danger:focus-visible {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.ne-btn--style-danger-text {\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-btn--style-danger-text:hover:not(:disabled), .ne-btn--style-danger-text:active {\n color: rgb(var(--neeto-ui-error-800));\n background-color: rgb(var(--neeto-ui-error-100));\n}\n.ne-btn--style-danger-text:focus {\n color: rgb(var(--neeto-ui-error-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.ne-btn--style-danger-text:focus-visible {\n color: rgb(var(--neeto-ui-error-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0;\n}\n[data-tippy-root] {\n max-width: calc(100vw - 10px);\n}\n.tippy-box {\n position: relative;\n background-color: rgb(var(--neeto-ui-gray-800));\n color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded);\n font-size: var(--neeto-ui-text-xs);\n line-height: 1.4;\n outline: 0;\n transition-property: transform, visibility, opacity;\n}\n.tippy-box[data-placement^=top] > .tippy-arrow {\n bottom: 0;\n}\n.tippy-box[data-placement^=top] > .tippy-arrow:before {\n bottom: -7px;\n left: 0;\n border-width: 8px 8px 0;\n border-top-color: initial;\n transform-origin: center top;\n}\n.tippy-box[data-placement^=bottom] > .tippy-arrow {\n top: 0;\n}\n.tippy-box[data-placement^=bottom] > .tippy-arrow:before {\n top: -7px;\n left: 0;\n border-width: 0 8px 8px;\n border-bottom-color: initial;\n transform-origin: center bottom;\n}\n.tippy-box[data-placement^=left] > .tippy-arrow {\n right: 0;\n}\n.tippy-box[data-placement^=left] > .tippy-arrow:before {\n border-width: 8px 0 8px 8px;\n border-left-color: initial;\n right: -7px;\n transform-origin: center left;\n}\n.tippy-box[data-placement^=right] > .tippy-arrow {\n left: 0;\n}\n.tippy-box[data-placement^=right] > .tippy-arrow:before {\n left: -7px;\n border-width: 8px 8px 8px 0;\n border-right-color: initial;\n transform-origin: center right;\n}\n.tippy-box[data-inertia][data-state=visible] {\n transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);\n}\n.tippy-arrow {\n width: 16px;\n height: 16px;\n color: rgb(var(--neeto-ui-gray-800));\n}\n.tippy-arrow:before {\n content: "";\n position: absolute;\n border-color: transparent;\n border-style: solid;\n}\n.tippy-content {\n position: relative;\n padding: 4px 8px;\n z-index: 1;\n}\n[data-theme=neeto-editor-slash-menu] .tippy-content,\n[data-theme=neeto-editor-bubble-menu] .tippy-content {\n padding: 0 !important;\n}\n.tippy-box[data-placement^=top] > .tippy-svg-arrow {\n bottom: 0;\n}\n.tippy-box[data-placement^=top] > .tippy-svg-arrow:after,\n.tippy-box[data-placement^=top] > .tippy-svg-arrow > svg {\n top: 16px;\n transform: rotate(180deg);\n}\n.tippy-box[data-placement^=bottom] > .tippy-svg-arrow {\n top: 0;\n}\n.tippy-box[data-placement^=bottom] > .tippy-svg-arrow > svg {\n bottom: 16px;\n}\n.tippy-box[data-placement^=left] > .tippy-svg-arrow {\n right: 0;\n}\n.tippy-box[data-placement^=left] > .tippy-svg-arrow:after,\n.tippy-box[data-placement^=left] > .tippy-svg-arrow > svg {\n transform: rotate(90deg);\n top: calc(50% - 3px);\n left: 13px;\n}\n.tippy-box[data-placement^=right] > .tippy-svg-arrow {\n left: 0;\n}\n.tippy-box[data-placement^=right] > .tippy-svg-arrow:after,\n.tippy-box[data-placement^=right] > .tippy-svg-arrow > svg {\n transform: rotate(-90deg);\n top: calc(50% - 3px);\n right: 13px;\n}\n.tippy-svg-arrow {\n width: 16px;\n height: 16px;\n fill: rgb(var(--neeto-ui-gray-800));\n text-align: initial;\n}\n.tippy-svg-arrow,\n.tippy-svg-arrow > svg {\n position: absolute;\n}\n.tippy-svg-arrow > svg > path {\n fill: rgb(var(--neeto-ui-gray-800));\n}\n.tippy-box[data-theme~=light] .tippy-svg-arrow > svg > path {\n fill: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light] {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: var(--neeto-ui-shadow-s);\n background-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=top] > .tippy-arrow:before {\n border-top-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=bottom] > .tippy-arrow:before {\n border-bottom-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=left] > .tippy-arrow:before {\n border-left-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=right] > .tippy-arrow:before {\n border-right-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light] > .tippy-backdrop {\n background-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light] > .tippy-svg-arrow {\n fill: rgb(var(--neeto-ui-white));\n}\n.ne-input__wrapper {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n flex-grow: 1;\n}\n.ne-input__wrapper .ne-input__label-wrapper {\n display: flex;\n gap: 8px;\n justify-content: space-between;\n width: 100%;\n}\n.ne-input__wrapper .ne-input__label-wrapper .ne-label {\n flex-grow: 1;\n overflow-wrap: break-word;\n}\n.ne-input__wrapper .ne-input__label-wrapper .ne-input__max-length {\n color: rgb(var(--neeto-ui-gray-700));\n line-height: 1;\n margin-bottom: 8px;\n margin-left: auto;\n}\n.ne-input__wrapper .ne-input__label-wrapper .ne-input__max-length.ne-input__max-length--error {\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-input__wrapper .ne-label {\n margin-bottom: 8px;\n}\n.ne-input__wrapper .ne-input {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n font-size: var(--neeto-ui-text-sm);\n transition: var(--neeto-ui-transition);\n border-radius: var(--neeto-ui-rounded);\n border: thin solid rgb(var(--neeto-ui-gray-400));\n background-color: rgb(var(--neeto-ui-white));\n color: rgb(var(--neeto-ui-gray-800));\n overflow: hidden;\n}\n.ne-input__wrapper .ne-input input,\n.ne-input__wrapper .ne-input textarea {\n width: 100%;\n background-color: transparent;\n color: inherit;\n border: none;\n font-size: inherit;\n box-shadow: none;\n outline: none;\n}\n.ne-input__wrapper .ne-input input::-moz-placeholder, .ne-input__wrapper .ne-input textarea::-moz-placeholder {\n color: rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__wrapper .ne-input input::placeholder,\n.ne-input__wrapper .ne-input textarea::placeholder {\n color: rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__wrapper .ne-input input:focus,\n.ne-input__wrapper .ne-input textarea:focus {\n outline-color: transparent;\n}\n.ne-input__wrapper .ne-input input {\n line-height: 1.2;\n}\n.ne-input__wrapper .ne-input textarea {\n padding: 0;\n max-height: 224px;\n overflow-y: auto;\n line-height: 1.5;\n}\n.ne-input__wrapper .ne-input:hover:not(.ne-input--naked, .ne-input--error, .ne-input--disabled) {\n border-color: rgb(var(--neeto-ui-gray-700));\n}\n.ne-input__wrapper .ne-input:focus-within:not(.ne-input--naked, .ne-input--error) {\n border-color: rgb(var(--neeto-ui-primary-500));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-primary-500), 15%);\n}\n.ne-input__wrapper .ne-input:focus-within:not(.ne-input--naked, .ne-input--error) .ne-input__prefix,\n.ne-input__wrapper .ne-input:focus-within:not(.ne-input--naked, .ne-input--error) .ne-input__suffix {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-input__wrapper .ne-input.ne-input--error {\n border-color: rgb(var(--neeto-ui-error-500));\n}\n.ne-input__wrapper .ne-input.ne-input--error:focus-within:not(.ne-input--naked) {\n box-shadow: 0 0 0 3px rgb(var(--neeto-ui-error-100));\n}\n.ne-input__wrapper .ne-input.ne-input--error textarea {\n resize: none;\n}\n.ne-input__wrapper .ne-input.ne-input--disabled {\n background-color: rgb(var(--neeto-ui-gray-100));\n cursor: not-allowed;\n}\n.ne-input__wrapper .ne-input.ne-input--disabled input {\n cursor: not-allowed;\n}\n.ne-input__wrapper .ne-input.ne-input--disabled textarea {\n cursor: not-allowed;\n}\n.ne-input__wrapper .ne-input.ne-input--small input {\n padding: 4px 8px;\n min-height: 26px;\n}\n.ne-input__wrapper .ne-input.ne-input--small .ne-input__prefix {\n margin-left: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--small .ne-input__suffix {\n margin-right: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--small.ne-input--textarea {\n padding: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium input {\n padding: 5px 8px;\n min-height: 30px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium .ne-input__prefix {\n margin-left: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium .ne-input__suffix {\n margin-right: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium.ne-input--textarea {\n padding: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--large input {\n padding: 8px 12px;\n min-height: 38px;\n}\n.ne-input__wrapper .ne-input.ne-input--large .ne-input__prefix {\n margin-left: 12px;\n}\n.ne-input__wrapper .ne-input.ne-input--large .ne-input__suffix {\n margin-right: 12px;\n}\n.ne-input__wrapper .ne-input.ne-input--large.ne-input--textarea {\n padding: 12px;\n}\n.ne-input__wrapper .ne-input.ne-input--naked {\n border: none;\n box-shadow: none;\n padding-left: 0;\n padding-right: 0;\n}\n.ne-input__wrapper .ne-input.ne-input--naked input {\n padding-left: 0;\n padding-right: 0;\n}\n.ne-input__wrapper .ne-input.ne-input--naked .ne-input__prefix {\n margin-left: 0;\n}\n.ne-input__wrapper .ne-input.ne-input--naked .ne-input__suffix {\n margin-right: 0;\n}\n.ne-input__wrapper .ne-input__prefix,\n.ne-input__wrapper .ne-input__suffix {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n font-size: 14px;\n color: rgb(var(--neeto-ui-gray-700));\n}\n.ne-input__wrapper .ne-input__prefix svg,\n.ne-input__wrapper .ne-input__suffix svg {\n width: 16px;\n height: 16px;\n}\n.ne-input__wrapper .ne-input--block-add-on .ne-input__prefix,\n.ne-input__wrapper .ne-input--block-add-on .ne-input__suffix {\n margin: 0;\n padding: 8px 12px;\n background-color: rgb(var(--neeto-ui-gray-100));\n}\n.ne-input__wrapper .ne-input--block-add-on .ne-input__prefix {\n border-right: thin solid rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__wrapper .ne-input--block-add-on .ne-input__suffix {\n border-left: thin solid rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__help-text {\n margin-top: 8px;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-600));\n line-height: 1.1;\n}\n.ne-input__error {\n margin-top: 8px;\n line-height: 1.1;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-label {\n display: flex;\n align-items: center;\n}\n:root {\n --neeto-ui-modal-spacing: 24px;\n}\n.ne-modal__backdrop {\n position: fixed;\n z-index: var(--neeto-ui-modal-z-index);\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n overflow-y: auto;\n overflow-x: hidden;\n display: grid;\n justify-content: center;\n align-items: center;\n transition: all 0.3s;\n background-color: rgba(27, 31, 35, 0.8666666667);\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal__backdrop .ne-modal__wrapper {\n width: 50%;\n max-width: 100%;\n position: relative;\n background-color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded-xl);\n opacity: 0;\n transform: scale(1.1);\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n animation: showModalWrapper 0.3s forwards;\n}\n@keyframes showModalWrapper {\n 0% {\n opacity: 0;\n transform: scale(1.1);\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__close {\n position: absolute;\n top: var(--neeto-ui-modal-spacing);\n right: var(--neeto-ui-modal-spacing);\n}\n.ne-modal__backdrop .ne-modal__wrapper.ne-modal__wrapper--small {\n width: 320px;\n}\n.ne-modal__backdrop .ne-modal__wrapper.ne-modal__wrapper--medium {\n width: 480px;\n}\n.ne-modal__backdrop .ne-modal__wrapper.ne-modal__wrapper--large {\n width: 720px;\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__header {\n padding: var(--neeto-ui-modal-spacing) 64px 16px var(--neeto-ui-modal-spacing);\n overflow-wrap: break-word;\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__header-desc {\n margin-top: 8px;\n color: rgb(var(--neeto-ui-gray-700));\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__body {\n padding: 0 var(--neeto-ui-modal-spacing);\n font-size: var(--neeto-ui-text-sm);\n line-height: 1.5;\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__footer {\n padding: var(--neeto-ui-modal-spacing);\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-alert__footer {\n padding: var(--neeto-ui-modal-spacing);\n display: flex;\n}\n.ne-modal__backdrop .ne-icon__wrapper {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n margin-bottom: var(--neeto-ui-modal-spacing);\n padding: 10px 0 0 2px;\n}\n.ne-modal-enter.ne-modal__backdrop {\n opacity: 0;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal-enter-active.ne-modal__backdrop,\n.ne-modal-enter-done.ne-modal__backdrop {\n opacity: 1;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal-exit.ne-modal__backdrop {\n opacity: 1;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal-exit-active.ne-modal__backdrop {\n opacity: 0;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.neeto-editor-loader {\n width: 100%;\n height: 32px;\n display: flex;\n align-items: center;\n text-align: center;\n}\n.neeto-editor-loader__spinner-icon {\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: var(--neeto-ui-rounded-full);\n border: solid 2px var(--neeto-ui-gray-200);\n border-top-color: var(--neeto-ui-gray-800);\n border-left-color: var(--neeto-ui-gray-800);\n animation: spin 600ms linear infinite;\n margin: 1px auto;\n}\n.neeto-editor-slash-commands__wrapper {\n padding: 12px;\n overflow-y: auto;\n max-height: 384px;\n width: 256px;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 4px;\n}\n.neeto-editor-slash-commands__wrapper::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-slash-commands__wrapper::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-slash-commands__wrapper::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n padding: 8px 12px;\n gap: 12px;\n border-radius: var(--neeto-ui-rounded);\n transition: var(--neeto-ui-transition);\n cursor: pointer;\n color: rgb(var(--neeto-ui-white));\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover, .neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active {\n background-color: rgb(var(--neeto-ui-gray-700));\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5 {\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-normal);\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-300));\n}\n.neeto-editor-mentions__wrapper {\n padding: 8px;\n width: 208px;\n max-height: 256px;\n overflow-y: auto;\n}\n.neeto-editor-mentions__wrapper::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-mentions__wrapper::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-mentions__wrapper::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n padding: 8px;\n transition: var(--neeto-ui-transition);\n cursor: pointer;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item .ne-avatar--container {\n margin-right: 8px;\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item:hover, .neeto-editor-mentions__wrapper .neeto-editor-mentions__item.active {\n background-color: rgb(var(--neeto-ui-gray-700));\n}\n.ProseMirror.slash-active p.is-empty:last-child::before {\n content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkwIiBoZWlnaHQ9IjIzIiB2aWV3Qm94PSIwIDAgMTkwIDIz IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmci Pgo8cmVjdCB4PSIzNCIgeT0iNCIgd2lkdGg9IjE5IiBoZWlnaHQ9IjE5IiByeD0i NCIgZmlsbD0iI0YzRjRGNiIvPgo8cGF0aCBkPSJNNDEuNTA3OCAxOS45NzY2SDQw LjAxNTZMNDQuNDkyMiA3LjYyNUg0NS45ODQ0TDQxLjUwNzggMTkuOTc2NloiIGZp bGw9IiM2QjcyODAiLz4KPHBhdGggZD0iTTguMDMyMjMgOS4xMjY5NUg0LjgzMzAx VjE4SDMuNTI3MzRWOS4xMjY5NUgwLjMzNDk2MVY4LjA0Njg4SDguMDMyMjNWOS4x MjY5NVpNMTEuMjM4MyAxNi4xNDc1TDEyLjk2MDkgMTAuNjAzNUgxNC4zMTQ1TDEx LjM0MDggMTkuMTQxNkMxMC44ODA1IDIwLjM3MjEgMTAuMTQ5MSAyMC45ODczIDku MTQ2NDggMjAuOTg3M0w4LjkwNzIzIDIwLjk2NjhMOC40MzU1NSAyMC44Nzc5VjE5 Ljg1MjVMOC43NzczNCAxOS44Nzk5QzkuMjA1NzMgMTkuODc5OSA5LjUzODQxIDE5 Ljc5MzMgOS43NzUzOSAxOS42MjAxQzEwLjAxNjkgMTkuNDQ2OSAxMC4yMTUyIDE5 LjEzMDIgMTAuMzcwMSAxOC42Njk5TDEwLjY1MDQgMTcuOTE4TDguMDExNzIgMTAu NjAzNUg5LjM5MjU4TDExLjIzODMgMTYuMTQ3NVpNMjEuNjk3MyAxNC4zODM4QzIx LjY5NzMgMTUuNTA5NCAyMS40Mzk4IDE2LjQxNjMgMjAuOTI0OCAxNy4xMDQ1QzIw LjQwOTggMTcuNzkyNiAxOS43MTI2IDE4LjEzNjcgMTguODMzIDE4LjEzNjdDMTcu OTM1MiAxOC4xMzY3IDE3LjIyODggMTcuODUxOSAxNi43MTM5IDE3LjI4MjJWMjAu ODQzOEgxNS40NDkyVjEwLjYwMzVIMTYuNjA0NUwxNi42NjYgMTEuNDIzOEMxNy4x ODEgMTAuNzg1OCAxNy44OTY1IDEwLjQ2NjggMTguODEyNSAxMC40NjY4QzE5Ljcw MTIgMTAuNDY2OCAyMC40MDMgMTAuODAxOCAyMC45MTggMTEuNDcxN0MyMS40Mzc1 IDEyLjE0MTYgMjEuNjk3MyAxMy4wNzM2IDIxLjY5NzMgMTQuMjY3NlYxNC4zODM4 Wk0yMC40MzI2IDE0LjI0MDJDMjAuNDMyNiAxMy40MDYyIDIwLjI1NDkgMTIuNzQ3 NyAxOS44OTk0IDEyLjI2NDZDMTkuNTQzOSAxMS43ODE2IDE5LjA1NjMgMTEuNTQg MTguNDM2NSAxMS41NEMxNy42NzA5IDExLjU0IDE3LjA5NjcgMTEuODc5NiAxNi43 MTM5IDEyLjU1ODZWMTYuMDkyOEMxNy4wOTIxIDE2Ljc2NzMgMTcuNjcwOSAxNy4x MDQ1IDE4LjQ1MDIgMTcuMTA0NUMxOS4wNTYzIDE3LjEwNDUgMTkuNTM3MSAxNi44 NjUyIDE5Ljg5MjYgMTYuMzg2N0MyMC4yNTI2IDE1LjkwMzYgMjAuNDMyNiAxNS4x ODgyIDIwLjQzMjYgMTQuMjQwMlpNMjYuMzc5OSAxOC4xMzY3QzI1LjM3NzMgMTgu MTM2NyAyNC41NjE1IDE3LjgwODYgMjMuOTMyNiAxNy4xNTIzQzIzLjMwMzcgMTYu NDkxNSAyMi45ODkzIDE1LjYwOTcgMjIuOTg5MyAxNC41MDY4VjE0LjI3NDRDMjIu OTg5MyAxMy41NDA3IDIzLjEyODMgMTIuODg2NyAyMy40MDYyIDEyLjMxMjVDMjMu Njg4OCAxMS43MzM3IDI0LjA4MDcgMTEuMjgyNiAyNC41ODIgMTAuOTU5QzI1LjA4 NzkgMTAuNjMwOSAyNS42MzQ4IDEwLjQ2NjggMjYuMjIyNyAxMC40NjY4QzI3LjE4 NDIgMTAuNDY2OCAyNy45MzE2IDEwLjc4MzUgMjguNDY0OCAxMS40MTdDMjguOTk4 IDEyLjA1MDUgMjkuMjY0NiAxMi45NTc0IDI5LjI2NDYgMTQuMTM3N1YxNC42NjQx SDI0LjI1MzlDMjQuMjcyMSAxNS4zOTMyIDI0LjQ4NCAxNS45ODM0IDI0Ljg4OTYg MTYuNDM0NkMyNS4yOTk4IDE2Ljg4MTIgMjUuODE5MyAxNy4xMDQ1IDI2LjQ0ODIg MTcuMTA0NUMyNi44OTQ5IDE3LjEwNDUgMjcuMjczMSAxNy4wMTMzIDI3LjU4MyAx Ni44MzExQzI3Ljg5MjkgMTYuNjQ4OCAyOC4xNjQxIDE2LjQwNzIgMjguMzk2NSAx Ni4xMDY0TDI5LjE2ODkgMTYuNzA4QzI4LjU0OTIgMTcuNjYwNSAyNy42MTk1IDE4 LjEzNjcgMjYuMzc5OSAxOC4xMzY3Wk0yNi4yMjI3IDExLjUwNTlDMjUuNzEyMiAx MS41MDU5IDI1LjI4MzkgMTEuNjkyNyAyNC45Mzc1IDEyLjA2NjRDMjQuNTkxMSAx Mi40MzU1IDI0LjM3NyAxMi45NTUxIDI0LjI5NDkgMTMuNjI1SDI4VjEzLjUyOTND MjcuOTYzNSAxMi44ODY3IDI3Ljc5MDQgMTIuMzkgMjcuNDgwNSAxMi4wMzkxQzI3 LjE3MDYgMTEuNjgzNiAyNi43NTEzIDExLjUwNTkgMjYuMjIyNyAxMS41MDU5WiIg ZmlsbD0iIzZCNzI4MCIvPgo8cGF0aCBkPSJNNTkuNjcyOSA4LjgxMjVWMTAuNjAz NUg2MS4wNTM3VjExLjU4MTFINTkuNjcyOVYxNi4xNjhDNTkuNjcyOSAxNi40NjQy IDU5LjczNDQgMTYuNjg3NSA1OS44NTc0IDE2LjgzNzlDNTkuOTgwNSAxNi45ODM3 IDYwLjE5MDEgMTcuMDU2NiA2MC40ODYzIDE3LjA1NjZDNjAuNjMyMiAxNy4wNTY2 IDYwLjgzMjcgMTcuMDI5MyA2MS4wODc5IDE2Ljk3NDZWMThDNjAuNzU1MiAxOC4w OTExIDYwLjQzMTYgMTguMTM2NyA2MC4xMTcyIDE4LjEzNjdDNTkuNTUyMSAxOC4x MzY3IDU5LjEyNiAxNy45NjU4IDU4LjgzODkgMTcuNjI0QzU4LjU1MTggMTcuMjgy MiA1OC40MDgyIDE2Ljc5NjkgNTguNDA4MiAxNi4xNjhWMTEuNTgxMUg1Ny4wNjE1 VjEwLjYwMzVINTguNDA4MlY4LjgxMjVINTkuNjcyOVpNNjIuMDY1NCAxNC4yMzM0 QzYyLjA2NTQgMTMuNTA4OCA2Mi4yMDY3IDEyLjg1NzEgNjIuNDg5MyAxMi4yNzgz QzYyLjc3NjQgMTEuNjk5NSA2My4xNzI5IDExLjI1MjkgNjMuNjc4NyAxMC45Mzg1 QzY0LjE4OTEgMTAuNjI0IDY0Ljc3MDIgMTAuNDY2OCA2NS40MjE5IDEwLjQ2NjhD NjYuNDI5IDEwLjQ2NjggNjcuMjQyNSAxMC44MTU0IDY3Ljg2MjMgMTEuNTEyN0M2 OC40ODY3IDEyLjIxIDY4Ljc5ODggMTMuMTM3NCA2OC43OTg4IDE0LjI5NDlWMTQu MzgzOEM2OC43OTg4IDE1LjEwMzggNjguNjU5OCAxNS43NTEgNjguMzgxOCAxNi4z MjUyQzY4LjEwODQgMTYuODk0OSA2Ny43MTQyIDE3LjMzOTIgNjcuMTk5MiAxNy42 NTgyQzY2LjY4ODggMTcuOTc3MiA2Ni4xMDA5IDE4LjEzNjcgNjUuNDM1NSAxOC4x MzY3QzY0LjQzMjkgMTguMTM2NyA2My42MTk1IDE3Ljc4ODEgNjIuOTk1MSAxNy4w OTA4QzYyLjM3NTMgMTYuMzkzNiA2Mi4wNjU0IDE1LjQ3MDcgNjIuMDY1NCAxNC4z MjIzVjE0LjIzMzRaTTYzLjMzNjkgMTQuMzgzOEM2My4zMzY5IDE1LjIwNDEgNjMu NTI2IDE1Ljg2MjYgNjMuOTA0MyAxNi4zNTk0QzY0LjI4NzEgMTYuODU2MSA2NC43 OTc1IDE3LjEwNDUgNjUuNDM1NSAxNy4xMDQ1QzY2LjA3ODEgMTcuMTA0NSA2Ni41 ODg1IDE2Ljg1MzggNjYuOTY2OCAxNi4zNTI1QzY3LjM0NTEgMTUuODQ2NyA2Ny41 MzQyIDE1LjE0MDMgNjcuNTM0MiAxNC4yMzM0QzY3LjUzNDIgMTMuNDIyMiA2Ny4z NDA1IDEyLjc2NiA2Ni45NTMxIDEyLjI2NDZDNjYuNTcwMyAxMS43NTg4IDY2LjA1 OTkgMTEuNTA1OSA2NS40MjE5IDExLjUwNTlDNjQuNzk3NSAxMS41MDU5IDY0LjI5 MzkgMTEuNzU0MiA2My45MTExIDEyLjI1MUM2My41MjgzIDEyLjc0NzcgNjMuMzM2 OSAxMy40NTg3IDYzLjMzNjkgMTQuMzgzOFpNNzYuODI0MiAxNy4xMDQ1Qzc3LjI3 NTQgMTcuMTA0NSA3Ny42Njk2IDE2Ljk2NzggNzguMDA2OCAxNi42OTQzQzc4LjM0 NDEgMTYuNDIwOSA3OC41MzA5IDE2LjA3OTEgNzguNTY3NCAxNS42Njg5SDc5Ljc2 MzdDNzkuNzQwOSAxNi4wOTI4IDc5LjU5NTEgMTYuNDk2MSA3OS4zMjYyIDE2Ljg3 ODlDNzkuMDU3MyAxNy4yNjE3IDc4LjY5NzMgMTcuNTY3MSA3OC4yNDYxIDE3Ljc5 NDlDNzcuNzk5NSAxOC4wMjI4IDc3LjMyNTUgMTguMTM2NyA3Ni44MjQyIDE4LjEz NjdDNzUuODE3MSAxOC4xMzY3IDc1LjAxNSAxNy44MDE4IDc0LjQxOCAxNy4xMzE4 QzczLjgyNTUgMTYuNDU3NCA3My41MjkzIDE1LjUzNjggNzMuNTI5MyAxNC4zNzAx VjE0LjE1ODJDNzMuNTI5MyAxMy40MzgyIDczLjY2MTUgMTIuNzk3OSA3My45MjU4 IDEyLjIzNzNDNzQuMTkwMSAxMS42NzY4IDc0LjU2ODQgMTEuMjQxNSA3NS4wNjA1 IDEwLjkzMTZDNzUuNTU3MyAxMC42MjE3IDc2LjE0MjkgMTAuNDY2OCA3Ni44MTc0 IDEwLjQ2NjhDNzcuNjQ2OCAxMC40NjY4IDc4LjMzNSAxMC43MTUyIDc4Ljg4MTgg MTEuMjExOUM3OS40MzMzIDExLjcwODcgNzkuNzI3MiAxMi4zNTM1IDc5Ljc2Mzcg MTMuMTQ2NUg3OC41Njc0Qzc4LjUzMDkgMTIuNjY4IDc4LjM0ODYgMTIuMjc2IDc4 LjAyMDUgMTEuOTcwN0M3Ny42OTY5IDExLjY2MDggNzcuMjk1OSAxMS41MDU5IDc2 LjgxNzQgMTEuNTA1OUM3Ni4xNzQ4IDExLjUwNTkgNzUuNjc1OCAxMS43MzgzIDc1 LjMyMDMgMTIuMjAzMUM3NC45Njk0IDEyLjY2MzQgNzQuNzkzOSAxMy4zMzExIDc0 Ljc5MzkgMTQuMjA2MVYxNC40NDUzQzc0Ljc5MzkgMTUuMjk3NSA3NC45Njk0IDE1 Ljk1MzggNzUuMzIwMyAxNi40MTQxQzc1LjY3MTIgMTYuODc0MyA3Ni4xNzI1IDE3 LjEwNDUgNzYuODI0MiAxNy4xMDQ1Wk04Mi40NTAyIDExLjQ5OUM4My4wMTA3IDEw LjgxMDkgODMuNzM5OSAxMC40NjY4IDg0LjYzNzcgMTAuNDY2OEM4Ni4yMDA4IDEw LjQ2NjggODYuOTg5MyAxMS4zNDg2IDg3LjAwMjkgMTMuMTEyM1YxOEg4NS43Mzgz VjEzLjEwNTVDODUuNzMzNyAxMi41NzIzIDg1LjYxMDcgMTIuMTc4MSA4NS4zNjkx IDExLjkyMjlDODUuMTMyMiAxMS42Njc2IDg0Ljc2MDcgMTEuNTQgODQuMjU0OSAx MS41NEM4My44NDQ3IDExLjU0IDgzLjQ4NDcgMTEuNjQ5NCA4My4xNzQ4IDExLjg2 ODJDODIuODY0OSAxMi4wODY5IDgyLjYyMzQgMTIuMzc0IDgyLjQ1MDIgMTIuNzI5 NVYxOEg4MS4xODU1VjcuNUg4Mi40NTAyVjExLjQ5OVpNOTMuNDYyOSAxOEM5My4z OSAxNy44NTQyIDkzLjMzMDcgMTcuNTk0NCA5My4yODUyIDE3LjIyMDdDOTIuNjk3 MyAxNy44MzE0IDkxLjk5NTQgMTguMTM2NyA5MS4xNzk3IDE4LjEzNjdDOTAuNDUw NSAxOC4xMzY3IDg5Ljg1MTIgMTcuOTMxNiA4OS4zODE4IDE3LjUyMTVDODguOTE3 IDE3LjEwNjggODguNjg0NiAxNi41ODI3IDg4LjY4NDYgMTUuOTQ5MkM4OC42ODQ2 IDE1LjE3OSA4OC45NzYyIDE0LjU4MiA4OS41NTk2IDE0LjE1ODJDOTAuMTQ3NSAx My43Mjk4IDkwLjk3MjMgMTMuNTE1NiA5Mi4wMzQyIDEzLjUxNTZIOTMuMjY0NlYx Mi45MzQ2QzkzLjI2NDYgMTIuNDkyNSA5My4xMzI1IDEyLjE0MTYgOTIuODY4MiAx MS44ODE4QzkyLjYwMzggMTEuNjE3NSA5Mi4yMTQyIDExLjQ4NTQgOTEuNjk5MiAx MS40ODU0QzkxLjI0OCAxMS40ODU0IDkwLjg2OTggMTEuNTk5MyA5MC41NjQ1IDEx LjgyNzFDOTAuMjU5MSAxMi4wNTUgOTAuMTA2NCAxMi4zMzA3IDkwLjEwNjQgMTIu NjU0M0g4OC44MzVDODguODM1IDEyLjI4NTIgODguOTY0OCAxMS45Mjk3IDg5LjIy NDYgMTEuNTg3OUM4OS40ODg5IDExLjI0MTUgODkuODQ0NCAxMC45NjgxIDkwLjI5 MSAxMC43Njc2QzkwLjc0MjIgMTAuNTY3MSA5MS4yMzY3IDEwLjQ2NjggOTEuNzc0 NCAxMC40NjY4QzkyLjYyNjYgMTAuNDY2OCA5My4yOTQzIDEwLjY4MSA5My43Nzcz IDExLjEwOTRDOTQuMjYwNCAxMS41MzMyIDk0LjUxMTEgMTIuMTE4OCA5NC41Mjkz IDEyLjg2NjJWMTYuMjcwNUM5NC41MjkzIDE2Ljk0OTUgOTQuNjE1OSAxNy40ODk2 IDk0Ljc4OTEgMTcuODkwNlYxOEg5My40NjI5Wk05MS4zNjQzIDE3LjAzNjFDOTEu NzYwNyAxNy4wMzYxIDkyLjEzNjcgMTYuOTMzNiA5Mi40OTIyIDE2LjcyODVDOTIu ODQ3NyAxNi41MjM0IDkzLjEwNTEgMTYuMjU2OCA5My4yNjQ2IDE1LjkyODdWMTQu NDExMUg5Mi4yNzM0QzkwLjcyNCAxNC40MTExIDg5Ljk0OTIgMTQuODY0NiA4OS45 NDkyIDE1Ljc3MTVDODkuOTQ5MiAxNi4xNjggOTAuMDgxNCAxNi40Nzc5IDkwLjM0 NTcgMTYuNzAxMkM5MC42MSAxNi45MjQ1IDkwLjk0OTUgMTcuMDM2MSA5MS4zNjQz IDE3LjAzNjFaTTk3LjcwOCAxMC42MDM1TDk3Ljc0OSAxMS41MzMyQzk4LjMxNDEg MTAuODIyMyA5OS4wNTI0IDEwLjQ2NjggOTkuOTYzOSAxMC40NjY4QzEwMS41Mjcg MTAuNDY2OCAxMDIuMzE1IDExLjM0ODYgMTAyLjMyOSAxMy4xMTIzVjE4SDEwMS4w NjRWMTMuMTA1NUMxMDEuMDYgMTIuNTcyMyAxMDAuOTM3IDEyLjE3ODEgMTAwLjY5 NSAxMS45MjI5QzEwMC40NTggMTEuNjY3NiAxMDAuMDg3IDExLjU0IDk5LjU4MTEg MTEuNTRDOTkuMTcwOSAxMS41NCA5OC44MTA5IDExLjY0OTQgOTguNTAxIDExLjg2 ODJDOTguMTkxMSAxMi4wODY5IDk3Ljk0OTUgMTIuMzc0IDk3Ljc3NjQgMTIuNzI5 NVYxOEg5Ni41MTE3VjEwLjYwMzVIOTcuNzA4Wk0xMDMuOTM2IDE0LjI0MDJDMTAz LjkzNiAxMy4wODcyIDEwNC4yMDIgMTIuMTcxMiAxMDQuNzM1IDExLjQ5MjJDMTA1 LjI2OSAxMC44MDg2IDEwNS45NzUgMTAuNDY2OCAxMDYuODU0IDEwLjQ2NjhDMTA3 Ljc1NyAxMC40NjY4IDEwOC40NjEgMTAuNzg1OCAxMDguOTY3IDExLjQyMzhMMTA5 LjAyOCAxMC42MDM1SDExMC4xODRWMTcuODIyM0MxMTAuMTg0IDE4Ljc3OTMgMTA5 Ljg5OSAxOS41MzM1IDEwOS4zMjkgMjAuMDg1QzEwOC43NjQgMjAuNjM2NCAxMDgu MDAzIDIwLjkxMjEgMTA3LjA0NiAyMC45MTIxQzEwNi41MTMgMjAuOTEyMSAxMDUu OTkxIDIwLjc5ODIgMTA1LjQ4IDIwLjU3MDNDMTA0Ljk3IDIwLjM0MjQgMTA0LjU4 IDIwLjAzMDMgMTA0LjMxMiAxOS42MzM4TDEwNC45NjggMTguODc1QzEwNS41MSAx OS41NDQ5IDEwNi4xNzMgMTkuODc5OSAxMDYuOTU3IDE5Ljg3OTlDMTA3LjU3MiAx OS44Nzk5IDEwOC4wNTEgMTkuNzA2NyAxMDguMzkzIDE5LjM2MDRDMTA4LjczOSAx OS4wMTQgMTA4LjkxMiAxOC41MjY0IDEwOC45MTIgMTcuODk3NVYxNy4yNjE3QzEw OC40MDYgMTcuODQ1MSAxMDcuNzE2IDE4LjEzNjcgMTA2Ljg0MSAxOC4xMzY3QzEw NS45NzUgMTguMTM2NyAxMDUuMjczIDE3Ljc4ODEgMTA0LjczNSAxNy4wOTA4QzEw NC4yMDIgMTYuMzkzNiAxMDMuOTM2IDE1LjQ0MzQgMTAzLjkzNiAxNC4yNDAyWk0x MDUuMjA3IDE0LjM4MzhDMTA1LjIwNyAxNS4yMTc4IDEwNS4zNzggMTUuODc0IDEw NS43MiAxNi4zNTI1QzEwNi4wNjIgMTYuODI2NSAxMDYuNTQgMTcuMDYzNSAxMDcu MTU1IDE3LjA2MzVDMTA3Ljk1MyAxNy4wNjM1IDEwOC41MzggMTYuNzAxMiAxMDgu OTEyIDE1Ljk3NjZWMTIuNTk5NkMxMDguNTI1IDExLjg5MzIgMTA3Ljk0NCAxMS41 NCAxMDcuMTY5IDExLjU0QzEwNi41NTQgMTEuNTQgMTA2LjA3MyAxMS43NzkzIDEw NS43MjcgMTIuMjU3OEMxMDUuMzggMTIuNzM2MyAxMDUuMjA3IDEzLjQ0NSAxMDUu MjA3IDE0LjM4MzhaTTExNS4xNjcgMTguMTM2N0MxMTQuMTY0IDE4LjEzNjcgMTEz LjM0OSAxNy44MDg2IDExMi43MiAxNy4xNTIzQzExMi4wOTEgMTYuNDkxNSAxMTEu Nzc2IDE1LjYwOTcgMTExLjc3NiAxNC41MDY4VjE0LjI3NDRDMTExLjc3NiAxMy41 NDA3IDExMS45MTUgMTIuODg2NyAxMTIuMTkzIDEyLjMxMjVDMTEyLjQ3NiAxMS43 MzM3IDExMi44NjggMTEuMjgyNiAxMTMuMzY5IDEwLjk1OUMxMTMuODc1IDEwLjYz MDkgMTE0LjQyMiAxMC40NjY4IDExNS4wMSAxMC40NjY4QzExNS45NzEgMTAuNDY2 OCAxMTYuNzE5IDEwLjc4MzUgMTE3LjI1MiAxMS40MTdDMTE3Ljc4NSAxMi4wNTA1 IDExOC4wNTIgMTIuOTU3NCAxMTguMDUyIDE0LjEzNzdWMTQuNjY0MUgxMTMuMDQx QzExMy4wNTkgMTUuMzkzMiAxMTMuMjcxIDE1Ljk4MzQgMTEzLjY3NyAxNi40MzQ2 QzExNC4wODcgMTYuODgxMiAxMTQuNjA2IDE3LjEwNDUgMTE1LjIzNSAxNy4xMDQ1 QzExNS42ODIgMTcuMTA0NSAxMTYuMDYgMTcuMDEzMyAxMTYuMzcgMTYuODMxMUMx MTYuNjggMTYuNjQ4OCAxMTYuOTUxIDE2LjQwNzIgMTE3LjE4NCAxNi4xMDY0TDEx Ny45NTYgMTYuNzA4QzExNy4zMzYgMTcuNjYwNSAxMTYuNDA3IDE4LjEzNjcgMTE1 LjE2NyAxOC4xMzY3Wk0xMTUuMDEgMTEuNTA1OUMxMTQuNDk5IDExLjUwNTkgMTE0 LjA3MSAxMS42OTI3IDExMy43MjUgMTIuMDY2NEMxMTMuMzc4IDEyLjQzNTUgMTEz LjE2NCAxMi45NTUxIDExMy4wODIgMTMuNjI1SDExNi43ODdWMTMuNTI5M0MxMTYu NzUxIDEyLjg4NjcgMTE2LjU3NyAxMi4zOSAxMTYuMjY4IDEyLjAzOTFDMTE1Ljk1 OCAxMS42ODM2IDExNS41MzggMTEuNTA1OSAxMTUuMDEgMTEuNTA1OVpNMTI5LjI1 NiAxNC4zODM4QzEyOS4yNTYgMTUuNTE0IDEyOC45OTYgMTYuNDIzMiAxMjguNDc3 IDE3LjExMTNDMTI3Ljk1NyAxNy43OTQ5IDEyNy4yNiAxOC4xMzY3IDEyNi4zODUg MTguMTM2N0MxMjUuNDUxIDE4LjEzNjcgMTI0LjcyOCAxNy44MDYzIDEyNC4yMTgg MTcuMTQ1NUwxMjQuMTU2IDE4SDEyMi45OTRWNy41SDEyNC4yNTlWMTEuNDE3QzEy NC43NjkgMTAuNzgzNSAxMjUuNDczIDEwLjQ2NjggMTI2LjM3MSAxMC40NjY4QzEy Ny4yNjkgMTAuNDY2OCAxMjcuOTczIDEwLjgwNjMgMTI4LjQ4MyAxMS40ODU0QzEy OC45OTggMTIuMTY0NCAxMjkuMjU2IDEzLjA5NDEgMTI5LjI1NiAxNC4yNzQ0VjE0 LjM4MzhaTTEyNy45OTEgMTQuMjQwMkMxMjcuOTkxIDEzLjM3ODkgMTI3LjgyNSAx Mi43MTM1IDEyNy40OTIgMTIuMjQ0MUMxMjcuMTYgMTEuNzc0NyAxMjYuNjgxIDEx LjU0IDEyNi4wNTcgMTEuNTRDMTI1LjIyMyAxMS41NCAxMjQuNjIzIDExLjkyNzQg MTI0LjI1OSAxMi43MDIxVjE1LjkwMTRDMTI0LjY0NiAxNi42NzYxIDEyNS4yNSAx Ny4wNjM1IDEyNi4wNyAxNy4wNjM1QzEyNi42NzYgMTcuMDYzNSAxMjcuMTQ4IDE2 LjgyODggMTI3LjQ4NSAxNi4zNTk0QzEyNy44MjMgMTUuODkgMTI3Ljk5MSAxNS4x ODM2IDEyNy45OTEgMTQuMjQwMlpNMTMyLjIyOSAxOEgxMzAuOTY1VjcuNUgxMzIu MjI5VjE4Wk0xMzMuOTI1IDE0LjIzMzRDMTMzLjkyNSAxMy41MDg4IDEzNC4wNjYg MTIuODU3MSAxMzQuMzQ5IDEyLjI3ODNDMTM0LjYzNiAxMS42OTk1IDEzNS4wMzIg MTEuMjUyOSAxMzUuNTM4IDEwLjkzODVDMTM2LjA0OSAxMC42MjQgMTM2LjYzIDEw LjQ2NjggMTM3LjI4MSAxMC40NjY4QzEzOC4yODggMTAuNDY2OCAxMzkuMTAyIDEw LjgxNTQgMTM5LjcyMiAxMS41MTI3QzE0MC4zNDYgMTIuMjEgMTQwLjY1OCAxMy4x Mzc0IDE0MC42NTggMTQuMjk0OVYxNC4zODM4QzE0MC42NTggMTUuMTAzOCAxNDAu NTE5IDE1Ljc1MSAxNDAuMjQxIDE2LjMyNTJDMTM5Ljk2OCAxNi44OTQ5IDEzOS41 NzQgMTcuMzM5MiAxMzkuMDU5IDE3LjY1ODJDMTM4LjU0OCAxNy45NzcyIDEzNy45 NiAxOC4xMzY3IDEzNy4yOTUgMTguMTM2N0MxMzYuMjkyIDE4LjEzNjcgMTM1LjQ3 OSAxNy43ODgxIDEzNC44NTQgMTcuMDkwOEMxMzQuMjM1IDE2LjM5MzYgMTMzLjky NSAxNS40NzA3IDEzMy45MjUgMTQuMzIyM1YxNC4yMzM0Wk0xMzUuMTk2IDE0LjM4 MzhDMTM1LjE5NiAxNS4yMDQxIDEzNS4zODUgMTUuODYyNiAxMzUuNzY0IDE2LjM1 OTRDMTM2LjE0NiAxNi44NTYxIDEzNi42NTcgMTcuMTA0NSAxMzcuMjk1IDE3LjEw NDVDMTM3LjkzOCAxNy4xMDQ1IDEzOC40NDggMTYuODUzOCAxMzguODI2IDE2LjM1 MjVDMTM5LjIwNCAxNS44NDY3IDEzOS4zOTQgMTUuMTQwMyAxMzkuMzk0IDE0LjIz MzRDMTM5LjM5NCAxMy40MjIyIDEzOS4yIDEyLjc2NiAxMzguODEyIDEyLjI2NDZD MTM4LjQzIDExLjc1ODggMTM3LjkxOSAxMS41MDU5IDEzNy4yODEgMTEuNTA1OUMx MzYuNjU3IDExLjUwNTkgMTM2LjE1MyAxMS43NTQyIDEzNS43NzEgMTIuMjUxQzEz NS4zODggMTIuNzQ3NyAxMzUuMTk2IDEzLjQ1ODcgMTM1LjE5NiAxNC4zODM4Wk0x NDUuMjExIDE3LjEwNDVDMTQ1LjY2MiAxNy4xMDQ1IDE0Ni4wNTYgMTYuOTY3OCAx NDYuMzk0IDE2LjY5NDNDMTQ2LjczMSAxNi40MjA5IDE0Ni45MTggMTYuMDc5MSAx NDYuOTU0IDE1LjY2ODlIMTQ4LjE1QzE0OC4xMjggMTYuMDkyOCAxNDcuOTgyIDE2 LjQ5NjEgMTQ3LjcxMyAxNi44Nzg5QzE0Ny40NDQgMTcuMjYxNyAxNDcuMDg0IDE3 LjU2NzEgMTQ2LjYzMyAxNy43OTQ5QzE0Ni4xODYgMTguMDIyOCAxNDUuNzEyIDE4 LjEzNjcgMTQ1LjIxMSAxOC4xMzY3QzE0NC4yMDQgMTguMTM2NyAxNDMuNDAyIDE3 LjgwMTggMTQyLjgwNSAxNy4xMzE4QzE0Mi4yMTIgMTYuNDU3NCAxNDEuOTE2IDE1 LjUzNjggMTQxLjkxNiAxNC4zNzAxVjE0LjE1ODJDMTQxLjkxNiAxMy40MzgyIDE0 Mi4wNDggMTIuNzk3OSAxNDIuMzEyIDEyLjIzNzNDMTQyLjU3NyAxMS42NzY4IDE0 Mi45NTUgMTEuMjQxNSAxNDMuNDQ3IDEwLjkzMTZDMTQzLjk0NCAxMC42MjE3IDE0 NC41MyAxMC40NjY4IDE0NS4yMDQgMTAuNDY2OEMxNDYuMDM0IDEwLjQ2NjggMTQ2 LjcyMiAxMC43MTUyIDE0Ny4yNjkgMTEuMjExOUMxNDcuODIgMTEuNzA4NyAxNDgu MTE0IDEyLjM1MzUgMTQ4LjE1IDEzLjE0NjVIMTQ2Ljk1NEMxNDYuOTE4IDEyLjY2 OCAxNDYuNzM1IDEyLjI3NiAxNDYuNDA3IDExLjk3MDdDMTQ2LjA4NCAxMS42NjA4 IDE0NS42ODMgMTEuNTA1OSAxNDUuMjA0IDExLjUwNTlDMTQ0LjU2MiAxMS41MDU5 IDE0NC4wNjIgMTEuNzM4MyAxNDMuNzA3IDEyLjIwMzFDMTQzLjM1NiAxMi42NjM0 IDE0My4xODEgMTMuMzMxMSAxNDMuMTgxIDE0LjIwNjFWMTQuNDQ1M0MxNDMuMTgx IDE1LjI5NzUgMTQzLjM1NiAxNS45NTM4IDE0My43MDcgMTYuNDE0MUMxNDQuMDU4 IDE2Ljg3NDMgMTQ0LjU1OSAxNy4xMDQ1IDE0NS4yMTEgMTcuMTA0NVpNMTUxLjYz NyAxNC41NzUyTDE1MC44NDQgMTUuNDAyM1YxOEgxNDkuNTc5VjcuNUgxNTAuODQ0 VjEzLjg1MDZMMTUxLjUyMSAxMy4wMzcxTDE1My44MjQgMTAuNjAzNUgxNTUuMzYy TDE1Mi40ODQgMTMuNjkzNEwxNTUuNjk3IDE4SDE1NC4yMTRMMTUxLjYzNyAxNC41 NzUyWk0xNjEuODU2IDguODEyNVYxMC42MDM1SDE2My4yMzdWMTEuNTgxMUgxNjEu ODU2VjE2LjE2OEMxNjEuODU2IDE2LjQ2NDIgMTYxLjkxOCAxNi42ODc1IDE2Mi4w NDEgMTYuODM3OUMxNjIuMTY0IDE2Ljk4MzcgMTYyLjM3NCAxNy4wNTY2IDE2Mi42 NyAxNy4wNTY2QzE2Mi44MTYgMTcuMDU2NiAxNjMuMDE2IDE3LjAyOTMgMTYzLjI3 MSAxNi45NzQ2VjE4QzE2Mi45MzkgMTguMDkxMSAxNjIuNjE1IDE4LjEzNjcgMTYy LjMwMSAxOC4xMzY3QzE2MS43MzYgMTguMTM2NyAxNjEuMzEgMTcuOTY1OCAxNjEu MDIyIDE3LjYyNEMxNjAuNzM1IDE3LjI4MjIgMTYwLjU5MiAxNi43OTY5IDE2MC41 OTIgMTYuMTY4VjExLjU4MTFIMTU5LjI0NVYxMC42MDM1SDE2MC41OTJWOC44MTI1 SDE2MS44NTZaTTE2Ny4xNDEgMTYuMTQ3NUwxNjguODYzIDEwLjYwMzVIMTcwLjIx N0wxNjcuMjQzIDE5LjE0MTZDMTY2Ljc4MyAyMC4zNzIxIDE2Ni4wNTEgMjAuOTg3 MyAxNjUuMDQ5IDIwLjk4NzNMMTY0LjgxIDIwLjk2NjhMMTY0LjMzOCAyMC44Nzc5 VjE5Ljg1MjVMMTY0LjY4IDE5Ljg3OTlDMTY1LjEwOCAxOS44Nzk5IDE2NS40NDEg MTkuNzkzMyAxNjUuNjc4IDE5LjYyMDFDMTY1LjkxOSAxOS40NDY5IDE2Ni4xMTgg MTkuMTMwMiAxNjYuMjcyIDE4LjY2OTlMMTY2LjU1MyAxNy45MThMMTYzLjkxNCAx MC42MDM1SDE2NS4yOTVMMTY3LjE0MSAxNi4xNDc1Wk0xNzcuNiAxNC4zODM4QzE3 Ny42IDE1LjUwOTQgMTc3LjM0MiAxNi40MTYzIDE3Ni44MjcgMTcuMTA0NUMxNzYu MzEyIDE3Ljc5MjYgMTc1LjYxNSAxOC4xMzY3IDE3NC43MzUgMTguMTM2N0MxNzMu ODM4IDE4LjEzNjcgMTczLjEzMSAxNy44NTE5IDE3Mi42MTYgMTcuMjgyMlYyMC44 NDM4SDE3MS4zNTJWMTAuNjAzNUgxNzIuNTA3TDE3Mi41NjggMTEuNDIzOEMxNzMu MDgzIDEwLjc4NTggMTczLjc5OSAxMC40NjY4IDE3NC43MTUgMTAuNDY2OEMxNzUu NjA0IDEwLjQ2NjggMTc2LjMwNSAxMC44MDE4IDE3Ni44MiAxMS40NzE3QzE3Ny4z NCAxMi4xNDE2IDE3Ny42IDEzLjA3MzYgMTc3LjYgMTQuMjY3NlYxNC4zODM4Wk0x NzYuMzM1IDE0LjI0MDJDMTc2LjMzNSAxMy40MDYyIDE3Ni4xNTcgMTIuNzQ3NyAx NzUuODAyIDEyLjI2NDZDMTc1LjQ0NiAxMS43ODE2IDE3NC45NTkgMTEuNTQgMTc0 LjMzOSAxMS41NEMxNzMuNTczIDExLjU0IDE3Mi45OTkgMTEuODc5NiAxNzIuNjE2 IDEyLjU1ODZWMTYuMDkyOEMxNzIuOTk0IDE2Ljc2NzMgMTczLjU3MyAxNy4xMDQ1 IDE3NC4zNTMgMTcuMTA0NUMxNzQuOTU5IDE3LjEwNDUgMTc1LjQzOSAxNi44NjUy IDE3NS43OTUgMTYuMzg2N0MxNzYuMTU1IDE1LjkwMzYgMTc2LjMzNSAxNS4xODgy IDE3Ni4zMzUgMTQuMjQwMlpNMTgyLjI4MiAxOC4xMzY3QzE4MS4yOCAxOC4xMzY3 IDE4MC40NjQgMTcuODA4NiAxNzkuODM1IDE3LjE1MjNDMTc5LjIwNiAxNi40OTE1 IDE3OC44OTIgMTUuNjA5NyAxNzguODkyIDE0LjUwNjhWMTQuMjc0NEMxNzguODky IDEzLjU0MDcgMTc5LjAzMSAxMi44ODY3IDE3OS4zMDkgMTIuMzEyNUMxNzkuNTkx IDExLjczMzcgMTc5Ljk4MyAxMS4yODI2IDE4MC40ODQgMTAuOTU5QzE4MC45OSAx MC42MzA5IDE4MS41MzcgMTAuNDY2OCAxODIuMTI1IDEwLjQ2NjhDMTgzLjA4NyAx MC40NjY4IDE4My44MzQgMTAuNzgzNSAxODQuMzY3IDExLjQxN0MxODQuOSAxMi4w NTA1IDE4NS4xNjcgMTIuOTU3NCAxODUuMTY3IDE0LjEzNzdWMTQuNjY0MUgxODAu MTU2QzE4MC4xNzQgMTUuMzkzMiAxODAuMzg2IDE1Ljk4MzQgMTgwLjc5MiAxNi40 MzQ2QzE4MS4yMDIgMTYuODgxMiAxODEuNzIyIDE3LjEwNDUgMTgyLjM1MSAxNy4x MDQ1QzE4Mi43OTcgMTcuMTA0NSAxODMuMTc1IDE3LjAxMzMgMTgzLjQ4NSAxNi44 MzExQzE4My43OTUgMTYuNjQ4OCAxODQuMDY2IDE2LjQwNzIgMTg0LjI5OSAxNi4x MDY0TDE4NS4wNzEgMTYuNzA4QzE4NC40NTEgMTcuNjYwNSAxODMuNTIyIDE4LjEz NjcgMTgyLjI4MiAxOC4xMzY3Wk0xODIuMTI1IDExLjUwNTlDMTgxLjYxNSAxMS41 MDU5IDE4MS4xODYgMTEuNjkyNyAxODAuODQgMTIuMDY2NEMxODAuNDkzIDEyLjQz NTUgMTgwLjI3OSAxMi45NTUxIDE4MC4xOTcgMTMuNjI1SDE4My45MDJWMTMuNTI5 M0MxODMuODY2IDEyLjg4NjcgMTgzLjY5MyAxMi4zOSAxODMuMzgzIDEyLjAzOTFD MTgzLjA3MyAxMS42ODM2IDE4Mi42NTQgMTEuNTA1OSAxODIuMTI1IDExLjUwNTla IiBmaWxsPSIjNkI3MjgwIi8+Cjwvc3ZnPgo=");\n position: absolute;\n top: -2px;\n height: 0;\n pointer-events: none;\n}\n.neeto-editor {\n max-width: 100% !important;\n border-radius: var(--neeto-ui-rounded);\n white-space: pre-wrap;\n padding: 12px;\n color: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor:focus {\n outline: none;\n}\n.neeto-editor a {\n pointer-events: none;\n}\n.neeto-editor mark {\n background: rgb(var(--neeto-ui-pastel-green));\n border-radius: var(--neeto-ui-rounded-sm);\n padding: 0px 4px;\n color: inherit;\n}\n.neeto-editor [data-variable] {\n display: inline-flex;\n color: rgb(var(--neeto-ui-gray-700));\n background-color: rgb(var(--neeto-ui-gray-200));\n border-radius: var(--neeto-ui-rounded-sm);\n line-height: 1;\n padding: 4px 6px;\n}\n.neeto-editor .ProseMirror-separator {\n display: none;\n}\n.neeto-editor.fixed-menu-active {\n border: thin solid rgb(var(--neeto-ui-gray-300));\n border-radius: 0px 0px var(--neeto-ui-rounded) var(--neeto-ui-rounded);\n}\n.neeto-editor .is-empty {\n position: relative;\n}\n.neeto-editor.placeholder-active:not(.force-title) .is-editor-empty:first-child::before {\n content: attr(data-placeholder);\n float: left;\n color: #ced4da;\n pointer-events: none;\n height: 0;\n}\n.neeto-editor.force-title h1:first-child {\n position: relative;\n margin-bottom: 20px;\n}\n.neeto-editor.force-title .is-empty:first-child::before {\n content: attr(data-placeholder);\n float: left;\n color: #ced4da;\n pointer-events: none;\n height: 0;\n}\n.neeto-editor.force-title.placeholder-active .is-empty:nth-child(2):last-child:before {\n content: attr(data-placeholder);\n float: left;\n color: #ced4da;\n pointer-events: none;\n height: 0;\n}\n.neeto-editor.force-title.force-title--error .is-empty:first-child::after {\n position: absolute;\n content: "Title can\'t be blank";\n left: 0;\n bottom: -12px;\n color: rgb(var(--neeto-ui-error));\n pointer-events: none;\n font-size: 12px;\n}\n.neeto-editor hr {\n margin: 8px 0;\n}\n.neeto-editor .ProseMirror-selectednode {\n outline: 3px solid rgb(var(--neeto-ui-pastel-blue));\n}\n.neeto-editor .has-focus {\n background: var(--focus-background-color);\n transition: background-color 200ms ease;\n}\n.neeto-editor-character-count {\n padding: 4px;\n color: rgb(var(--neeto-ui-gray-600));\n font-size: 12px;\n text-align: right;\n}\n.neeto-editor-error {\n color: rgb(var(--neeto-ui-error-500));\n border-width: 1px;\n border-color: rgb(var(--neeto-ui-error-500));\n border-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-error:focus-within {\n border-color: rgb(var(--neeto-ui-error-600));\n}\n.neeto-editor-content, .neeto-editor {\n white-space: pre-wrap;\n word-break: break-word;\n}\n.neeto-editor-content h1, .neeto-editor h1,\n.neeto-editor-content h2,\n.neeto-editor h2,\n.neeto-editor-content h3,\n.neeto-editor h3,\n.neeto-editor-content h4,\n.neeto-editor h4,\n.neeto-editor-content h5,\n.neeto-editor h5,\n.neeto-editor-content h6,\n.neeto-editor h6 {\n font-size: revert;\n margin: 16px 0;\n}\n.neeto-editor-content p, .neeto-editor p {\n line-height: var(--neeto-ui-leading-normal);\n color: rgb(var(--neeto-ui-gray-700));\n margin-bottom: 8px;\n}\n.neeto-editor-content p:empty::after, .neeto-editor p:empty::after {\n content: " ";\n}\n.neeto-editor-content p:last-child, .neeto-editor p:last-child {\n margin-bottom: 0;\n}\n.neeto-editor-content code, .neeto-editor code {\n padding: 0.2em 0.4em;\n font-size: 85%;\n border-radius: 6px;\n background-color: rgba(175, 184, 193, 0.2);\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n}\n.neeto-editor-content pre, .neeto-editor pre {\n background-color: #f6f8fa;\n overflow-x: auto;\n font-size: 14px;\n line-height: 20px;\n margin-top: 8px;\n margin-bottom: 8px;\n border-radius: var(--neeto-ui-rounded-sm);\n padding: 16px;\n}\n.neeto-editor-content pre > code, .neeto-editor pre > code {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: 400;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n.neeto-editor-content blockquote, .neeto-editor blockquote {\n font-weight: var(--neeto-ui-font-medium);\n color: rgb(var(--neeto-ui-black));\n border-left-width: 4px;\n border-left-color: #e5e7eb;\n quotes: "“" "”" "‘" "’";\n margin: 8px 0;\n padding-left: 12px;\n}\n.neeto-editor-content blockquote > p::before, .neeto-editor blockquote > p::before {\n content: "" !important;\n}\n.neeto-editor-content blockquote > p::after, .neeto-editor blockquote > p::after {\n content: "" !important;\n}\n.neeto-editor-content ul, .neeto-editor ul,\n.neeto-editor-content ol,\n.neeto-editor ol {\n list-style: revert;\n margin: revert;\n padding: revert;\n}\n.neeto-editor-content ul > li > p, .neeto-editor ul > li > p,\n.neeto-editor-content ol > li > p,\n.neeto-editor ol > li > p {\n margin-top: 0 !important;\n margin-bottom: 0.375rem !important;\n}\n.neeto-editor-content ul li::before, .neeto-editor ul li::before,\n.neeto-editor-content ol li::before,\n.neeto-editor ol li::before {\n background-color: rgb(var(--neeto-ui-black));\n}\n.neeto-editor-content a[href], .neeto-editor a[href] {\n color: rgb(var(--neeto-ui-primary-800));\n font-weight: 500;\n}\n.neeto-editor-content .video-wrapper, .neeto-editor .video-wrapper {\n width: 560px;\n height: 315px;\n margin: auto;\n}\n.neeto-editor-content mark, .neeto-editor mark {\n background: rgb(var(--neeto-ui-pastel-green));\n border-radius: var(--neeto-ui-rounded-sm);\n padding: 0px 4px;\n color: inherit;\n}\n.neeto-editor-content [data-variable], .neeto-editor [data-variable] {\n display: inline-flex;\n color: rgb(var(--neeto-ui-gray-700));\n background-color: rgb(var(--neeto-ui-gray-200));\n border-radius: var(--neeto-ui-rounded-sm);\n line-height: 1;\n padding: 4px 6px;\n}\n.neeto-editor-content [data-type=mention], .neeto-editor [data-type=mention] {\n color: rgb(var(--neeto-ui-primary-800));\n}\n.neeto-editor-content--hidden {\n display: none;\n}\n.neeto-editor__image {\n display: inline-block;\n border: 1.5px solid rgb(var(--neeto-ui-pastel-blue));\n margin: 0 12px;\n}\n.neeto-editor__image figure {\n margin: 16px 12px;\n outline: none;\n}\n.neeto-editor__image figure img {\n height: 100%;\n width: 100%;\n -webkit-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.neeto-editor__image figure figcaption {\n color: rgb(var(--neeto-ui-gray-700));\n text-align: center;\n}\n.neeto-editor__image-defaults {\n width: -moz-fit-content;\n width: fit-content;\n}\n.neeto-editor__image--none {\n display: flex;\n justify-content: center;\n}\n.neeto-editor__image--left {\n float: left;\n margin-left: 0;\n}\n.neeto-editor__image--right {\n float: right;\n margin-right: 0;\n}\n.neeto-editor__image--center {\n margin: 0 auto;\n}\n.neeto-editor-fixed-menu {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n overflow-x: auto;\n border: thin solid rgb(var(--neeto-ui-gray-300));\n border-bottom: none;\n border-radius: var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0px 0px;\n background-color: rgb(var(--neeto-ui-gray-100));\n}\n.neeto-editor-fixed-menu::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-fixed-menu::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-fixed-menu::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__item {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 10px;\n cursor: pointer;\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__item:hover, .neeto-editor-fixed-menu .neeto-editor-fixed-menu__item.active {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__item input[type=color] {\n visibility: hidden;\n height: 0;\n width: 0;\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu-addons {\n display: flex;\n align-items: center;\n margin-left: auto;\n}\n.neeto-editor-variables-suggestion {\n padding: 4px 0;\n}\n.neeto-editor-variables-list {\n padding: 4px 8px;\n min-width: 184px;\n max-width: 360px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block:not(:last-child) {\n margin-bottom: 12px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block h6 {\n font-size: var(--neeto-ui-text-xs);\n font-weight: var(--neeto-ui-font-medium);\n color: rgb(var(--neeto-ui-gray-600));\n margin-bottom: 4px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block .neeto-editor-variables-row {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block .neeto-editor-variables-row .neeto-editor-variable {\n padding: 4px 6px;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-700));\n line-height: 1;\n background-color: rgb(var(--neeto-ui-pastel-blue));\n border-radius: var(--neeto-ui-rounded-sm);\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-variables-list .neeto-editor-variables-block .neeto-editor-variables-row .neeto-editor-variable:hover {\n background-color: rgb(var(--neeto-ui-info-100));\n}\n.neeto-editor-link-wrapper .ne-dropdown__popup {\n padding: 8px;\n width: 100%;\n max-width: 400px;\n}\n.neeto-editor-link-wrapper .ne-dropdown__popup .neeto-editor-link__item {\n display: flex !important;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 8px;\n}\n.neeto-editor-font-size-wrapper .ne-dropdown__popup-menu {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n padding: 4px;\n}\n.neeto-editor-bubble-menu {\n position: relative;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n border-radius: var(--neeto-ui-rounded);\n background: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item {\n padding: 8px;\n cursor: pointer;\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:hover, .neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:active, .neeto-editor-bubble-menu .neeto-editor-bubble-menu__item.active {\n background-color: rgb(var(--neeto-ui-gray-700));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:first-child {\n border-top-left-radius: var(--neeto-ui-rounded);\n border-bottom-left-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:last-child {\n border-top-right-radius: var(--neeto-ui-rounded);\n border-bottom-right-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link {\n display: flex;\n align-items: center;\n padding: 8px;\n gap: 8px;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input {\n background-color: transparent;\n outline: none;\n line-height: 20px;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder {\n color: rgba(var(--neeto-ui-white, 0.4));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder {\n color: rgba(var(--neeto-ui-white, 0.4));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only {\n padding: 0;\n min-height: 0;\n opacity: 0.8;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover {\n opacity: 1;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target {\n display: flex;\n align-items: center;\n gap: 4px;\n white-space: nowrap;\n font-size: var(--neeto-ui-text-sm);\n line-height: var(--neeto-ui-leading-normal);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item {\n width: 100%;\n text-align: left;\n padding: 8px 12px;\n font-size: var(--neeto-ui-text-xs);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child {\n border-top-left-radius: var(--neeto-ui-rounded);\n border-top-right-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child {\n border-bottom-left-radius: var(--neeto-ui-rounded);\n border-bottom-right-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu-animate-shake {\n animation: 1s linear infinite alternate both shake;\n}\n.neeto-editor-image-uploader {\n display: flex;\n flex-direction: column;\n min-height: 184px;\n}\n.neeto-editor-image-uploader .ne-tab__wrapper .ne-tab {\n min-width: 88px;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__content {\n flex-grow: 1;\n display: flex;\n padding: 16px;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__progress {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n text-align: center;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__progress-title, .neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-label {\n color: rgb(var(--neeto-ui-gray-700));\n font-size: var(--neeto-ui-text-sm);\n margin-bottom: 4px;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__progress-file, .neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-note {\n color: rgb(var(--neeto-ui-gray-400));\n font-size: var(--neeto-ui-text-xs);\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n border: 1px dashed rgb(var(--neeto-ui-gray-400));\n box-sizing: border-box;\n border-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-Root {\n width: 100%;\n height: 100%;\n background-color: rgb(var(--neeto-ui-white));\n cursor: pointer;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-Root::-moz-focus-inner {\n border: 0;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 1.4;\n text-align: center;\n font-weight: var(--neeto-ui-font-normal);\n margin: 0;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-arrow {\n visibility: hidden;\n display: none;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop--isDraggingOver {\n background-color: rgb(var(--neeto-ui-gray-200));\n border: 2px dashed rgb(var(--neeto-ui-secondary-indigo));\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-browse {\n color: rgb(var(--neeto-ui-secondary-indigo));\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-semibold);\n cursor: pointer;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd--error {\n color: rgb(var(--neeto-ui-error));\n font-size: var(--neeto-ui-text-xs);\n margin-top: 12px;\n text-align: center;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper {\n width: 100%;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .ne-input__wrapper {\n width: 100%;\n flex-grow: 0;\n margin-bottom: 16px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container {\n max-height: 50vh;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery {\n width: 100%;\n right: -8px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item {\n width: 33.3%;\n padding-right: 16px;\n padding-bottom: 16px;\n float: left;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder {\n width: 100%;\n position: relative;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: rgb(var(--neeto-ui-gray-100));\n border-radius: var(--neeto-ui-rounded-sm);\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img {\n height: 100%;\n width: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n animation: fade-in 1.2s 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;\n border-radius: var(--neeto-ui-rounded);\n position: relative;\n cursor: pointer;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a {\n opacity: 0;\n position: absolute;\n left: 8px;\n bottom: 8px;\n margin: auto;\n color: rgb(var(--neeto-ui-white));\n font-size: 12px;\n font-weight: var(--neeto-ui-font-normal);\n line-height: 1;\n text-transform: capitalize;\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover {\n text-decoration: underline;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a {\n opacity: 1;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-800));\n text-align: center;\n margin-top: 12px;\n}\n.neeto-editor-progress-bar__wrapper {\n width: 100%;\n max-width: 256px;\n margin-top: 10px;\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__percent {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__percent p {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__indicator {\n position: relative;\n width: 100%;\n height: 6px;\n border-radius: var(--neeto-ui-rounded-full);\n overflow: hidden;\n background-color: rgba(var(--neeto-ui-secondary-indigo, 0.2));\n margin-top: 4px;\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__indicator-inner {\n height: 100%;\n background-color: rgb(var(--neeto-ui-secondary-indigo));\n}\n.neeto-editor-url-form__wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n padding: 0 24px;\n}\n.neeto-editor-url-form__wrapper .ne-input__wrapper {\n width: 100%;\n flex-grow: 0;\n margin-bottom: 16px;\n}\n.neeto-editor-emoji {\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;\n}\n.emoji-mart.emoji-mart-light {\n font-size: 14px;\n color: rgb(var(--neeto-ui-gray-800));\n border: none;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor {\n color: rgb(var(--neeto-ui-gray-500));\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg {\n margin: auto;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar {\n background-color: rgb(var(--neeto-ui-gray-800)) !important;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected {\n color: rgb(var(--neeto-ui-gray-800)) !important;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-search input {\n border-radius: var(--neeto-ui-rounded-sm);\n}\n.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span {\n padding-top: 8px;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span {\n cursor: pointer;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover::before {\n background-color: rgb(var(--neeto-ui-gray-200));\n border-radius: var(--neeto-ui-rounded-sm);\n}\n.emoji-mart.emoji-mart-light .emoji-mart-scroll {\n height: 264px;\n padding-bottom: 0px;\n}\n.neeto-editor-emoji-suggestion {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n padding: 4px;\n gap: 2px;\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;\n}\n.neeto-editor-emoji-suggestion p {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item {\n padding: 6px;\n font-size: var(--neeto-ui-text-2xl);\n transition: var(--neeto-ui-transition);\n border-radius: var(--neeto-ui-rounded-sm);\n line-height: 1;\n cursor: pointer;\n}\n.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.neeto-editor-image-editor {\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 1.25rem;\n}\n.neeto-editor-image-editor figure {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-height: 208px;\n max-height: 400px;\n height: -moz-fit-content;\n height: fit-content;\n}\n.neeto-editor-image-editor figure img {\n height: 100%;\n width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.neeto-editor-image-editor__error {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n min-height: 288px;\n max-height: 400px;\n width: 100%;\n padding: 24px;\n background: rgb(var(--neeto-ui-gray-100));\n border-radius: var(--neeto-ui-rounded-sm);\n gap: 8px;\n}\n.neeto-editor-image-editor__error h2 {\n font-size: var(--neeto-ui-text-lg);\n font-weight: var(--neeto-ui-font-medium);\n}\n.neeto-editor-image-editor .ne-input__wrapper {\n width: 100%;\n}\n.neeto-editor-image-editor .neeto-editor-image-editor__footer {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 0.5rem;\n}\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;\n}\n.ProseMirror {\n overflow-y: auto;\n height: 100%;\n white-space: break-spaces;\n}\n.ProseMirror::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.ProseMirror::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.ProseMirror::-webkit-scrollbar-track {\n background: "transparent";\n}\n.ProseMirror:focus {\n outline: none;\n}',{}),A.prototype={constructor:A,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 i=n&&n!=e?this.remove(n):this,o=i.find(e),r=i.content.slice();return-1==o?r.push(n||e,t):(r[o+1]=t,n&&(r[o]=n)),new A(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 A(n)},addToStart:function(e,t){return new A([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new A(n)},addBefore:function(e,t,n){var i=this.remove(t),o=i.content.slice(),r=i.find(e);return o.splice(-1==r?o.length:r,0,t,n),new A(o)},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=A.from(e)).size?new A(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=A.from(e)).size?new A(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=A.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}},A.from=function(e){if(e instanceof A)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new A(t)};class z{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,i=0,o){for(let r=0,s=0;s<t;r++){let a=this.content[r],l=s+a.nodeSize;if(l>e&&!1!==n(a,i+s,o||null,r)&&a.content.size){let o=s+1;a.nodesBetween(Math.max(0,e-o),Math.min(a.content.size,t-o),n,i+o)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,i){let o="",r=!0;return this.nodesBetween(e,t,((s,a)=>{s.isText?(o+=s.text.slice(Math.max(e,a)-a,t-a),r=!n):s.isLeaf?(i?o+="function"==typeof i?i(s):i:s.type.spec.leafText&&(o+=s.type.spec.leafText(s)),r=!n):!r&&s.isBlock&&(o+=n,r=!0)}),0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,i=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(n)&&(i[i.length-1]=t.withText(t.text+n.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new z(i,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],i=0;if(t>e)for(let o=0,r=0;r<t;o++){let s=this.content[o],a=r+s.nodeSize;a>e&&((r<e||a>t)&&(s=s.isText?s.cut(Math.max(0,e-r),Math.min(s.text.length,t-r)):s.cut(Math.max(0,e-r-1),Math.min(s.content.size,t-r-1))),n.push(s),i+=s.nodeSize),r=a}return new z(n,i)}cutByIndex(e,t){return e==t?z.empty:0==e&&t==this.content.length?this:new z(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let i=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return i[e]=t,new z(i,o)}addToStart(e){return new z([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new z(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 i=this.content[t];e(i,n,t),n+=i.nodeSize}}findDiffStart(e,t=0){return j(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return I(this,e,t,n)}findIndex(e,t=-1){if(0==e)return R(0,e);if(e==this.size)return R(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,i=0;;n++){let o=i+this.child(n).nodeSize;if(o>=e)return o==e||t>0?R(n+1,o):R(n,i);i=o}}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 z.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new z(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return z.empty;let t,n=0;for(let i=0;i<e.length;i++){let o=e[i];n+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(t||(t=e.slice(0,i)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new z(t||e,n)}static from(e){if(!e)return z.empty;if(e instanceof z)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new z([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}z.empty=new z([],0);const L={index:0,offset:0};function R(e,t){return L.index=e,L.offset=t,L}function F(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(!F(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!F(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class P{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,i)),t.push(this),n=!0),t&&t.push(o)}}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&&F(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`);return n.create(t.attrs)}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(e){if(!e||Array.isArray(e)&&0==e.length)return P.none;if(e instanceof P)return[e];let t=e.slice();return t.sort(((e,t)=>e.type.rank-t.type.rank)),t}}P.none=[];class B extends Error{}class U{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=H(this.content,e+this.openStart,t);return n&&new U(n,this.openStart,this.openEnd)}removeBetween(e,t){return new U($(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 U.empty;let n=t.openStart||0,i=t.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw new RangeError("Invalid input for Slice.fromJSON");return new U(z.fromJSON(e,t.content),n,i)}static maxOpen(e,t=!0){let n=0,i=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)i++;return new U(e,n,i)}}function $(e,t,n){let{index:i,offset:o}=e.findIndex(t),r=e.maybeChild(i),{index:s,offset:a}=e.findIndex(n);if(o==t||r.isText){if(a!=n&&!e.child(s).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(i!=s)throw new RangeError("Removing non-flat range");return e.replaceChild(i,r.copy($(r.content,t-o-1,n-o-1)))}function H(e,t,n,i){let{index:o,offset:r}=e.findIndex(t),s=e.maybeChild(o);if(r==t||s.isText)return i&&!i.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let a=H(s.content,t-r-1,n);return a&&e.replaceChild(o,s.copy(a))}function q(e,t,n){if(n.openStart>e.depth)throw new B("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new B("Inconsistent open depths");return V(e,t,n,0)}function V(e,t,n,i){let o=e.index(i),r=e.node(i);if(o==t.index(i)&&i<e.depth-n.openStart){let s=V(e,t,n,i+1);return r.copy(r.content.replaceChild(o,s))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=i||t.depth!=i){let{start:o,end:s}=function(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)i=t.node(e).copy(z.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}(n,e);return G(r,J(e,o,s,t,i))}{let i=e.parent,o=i.content;return G(i,o.cut(0,e.parentOffset).append(n.content).append(o.cut(t.parentOffset)))}}return G(r,Z(e,t,i))}function W(e,t){if(!t.type.compatibleContent(e.type))throw new B("Cannot join "+t.type.name+" onto "+e.type.name)}function K(e,t,n){let i=e.node(n);return W(i,t.node(n)),i}function Y(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 Q(e,t,n,i){let o=(t||e).node(n),r=0,s=t?t.index(n):o.childCount;e&&(r=e.index(n),e.depth>n?r++:e.textOffset&&(Y(e.nodeAfter,i),r++));for(let e=r;e<s;e++)Y(o.child(e),i);t&&t.depth==n&&t.textOffset&&Y(t.nodeBefore,i)}function G(e,t){if(!e.type.validContent(t))throw new B("Invalid content for node "+e.type.name);return e.copy(t)}function J(e,t,n,i,o){let r=e.depth>o&&K(e,t,o+1),s=i.depth>o&&K(n,i,o+1),a=[];return Q(null,e,o,a),r&&s&&t.index(o)==n.index(o)?(W(r,s),Y(G(r,J(e,t,n,i,o+1)),a)):(r&&Y(G(r,Z(e,t,o+1)),a),Q(t,n,o,a),s&&Y(G(s,Z(n,i,o+1)),a)),Q(i,null,o,a),new z(a)}function Z(e,t,n){let i=[];if(Q(null,e,n,i),e.depth>n){Y(G(K(e,t,n+1),Z(e,t,n+1)),i)}return Q(t,null,n,i),new z(i)}U.empty=new U(z.empty,0,0);class X{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],i=e.child(t);return n?e.child(t).cut(n):i}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],i=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)i+=n.child(t).nodeSize;return i}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return P.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),i=e.maybeChild(t);if(!n){let e=n;n=i,i=e}let o=n.marks;for(var r=0;r<o.length;r++)!1!==o[r].type.spec.inclusive||i&&o[r].isInSet(i.marks)||(o=o[r--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||i&&n[o].isInSet(i.marks)||(n=n[o--].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 ie(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=[],i=0,o=t;for(let t=e;;){let{index:e,offset:r}=t.content.findIndex(o),s=o-r;if(n.push(t,e,i+r),!s)break;if(t=t.child(e),t.isText)break;o=s-1,i+=r+1}return new X(t,n,o)}static resolveCached(e,t){for(let n=0;n<ee.length;n++){let i=ee[n];if(i.pos==t&&i.doc==e)return i}let n=ee[te]=X.resolve(e,t);return te=(te+1)%ne,n}}let ee=[],te=0,ne=12;class ie{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 oe=Object.create(null);class re{constructor(e,t,n,i=P.none){this.type=e,this.attrs=t,this.marks=i,this.content=n||z.empty}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,i=0){this.content.nodesBetween(e,t,n,i,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,i){return this.content.textBetween(e,t,n,i)}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&&F(this.attrs,t||e.defaultAttrs||oe)&&P.sameSet(this.marks,n||P.none)}copy(e=null){return e==this.content?this:new re(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new re(this.type,this.attrs,this.content,e)}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 U.empty;let i=this.resolve(e),o=this.resolve(t),r=n?0:i.sharedDepth(t),s=i.start(r),a=i.node(r).content.cut(i.pos-s,o.pos-s);return new U(a,i.depth-r,o.depth-r)}replace(e,t,n){return q(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:i}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(i==e||t.isText)return t;e-=i+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 i=this.content.child(t-1);return{node:i,index:t-1,offset:n-i.nodeSize}}resolve(e){return X.resolveCached(this,e)}resolveNoCache(e){return X.resolve(this,e)}rangeHasMark(e,t,n){let i=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(i=!0),!i))),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),ae(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=z.empty,i=0,o=n.childCount){let r=this.contentMatchAt(e).matchFragment(n,i,o),s=r&&r.matchFragment(this.content,t);if(!s||!s.validEnd)return!1;for(let e=i;e<o;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(n),r=o&&o.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(){if(!this.type.validContent(this.content))throw new RangeError(`Invalid content for node ${this.type.name}: ${this.content.toString().slice(0,50)}`);let e=P.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!P.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=null;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 i=z.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,i,n)}}re.prototype.text=void 0;class se extends re{constructor(e,t,n,i){if(super(e,t,null,i),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):ae(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 se(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new se(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 ae(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class le{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new ce(e,t);if(null==n.next)return le.empty;let i=pe(n);n.next&&n.err("Unexpected trailing text");let o=function(e){let t=Object.create(null);return n(ge(e,0));function n(i){let o=[];i.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let i;for(let e=0;e<o.length;e++)o[e][0]==t&&(i=o[e][1]);ge(e,n).forEach((e=>{i||o.push([t,i=[]]),-1==i.indexOf(e)&&i.push(e)}))}))}));let r=t[i.join(",")]=new le(i.indexOf(e.length-1)>-1);for(let e=0;e<o.length;e++){let i=o[e][1].sort(fe);r.next.push({type:o[e][0],next:t[i.join(",")]||n(i)})}return r}}(function(e){let t=[[]];return o(r(e,0),n()),t;function n(){return t.push([])-1}function i(e,n,i){let o={term:i,to:n};return t[e].push(o),o}function o(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 s=n();return i(t,s),o(r(e.expr,s),s),[i(s)]}if("plus"==e.type){let s=n();return o(r(e.expr,t),s),o(r(e.expr,s),s),[i(s)]}if("opt"==e.type)return[i(t)].concat(r(e.expr,t));if("range"==e.type){let s=t;for(let t=0;t<e.min;t++){let t=n();o(r(e.expr,s),t),s=t}if(-1==e.max)o(r(e.expr,s),s);else for(let t=e.min;t<e.max;t++){let t=n();i(s,t),o(r(e.expr,s),t),s=t}return[i(s)]}if("name"==e.type)return[i(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let i=0;;i++){let s=r(e.exprs[i],t);if(i==e.exprs.length-1)return s;o(s,t=n())}}}(i));return function(e,t){for(let n=0,i=[e];n<i.length;n++){let e=i[n],o=!e.validEnd,r=[];for(let t=0;t<e.next.length;t++){let{type:n,next:s}=e.next[t];r.push(n.name),!o||n.isText||n.hasRequiredAttrs()||(o=!1),-1==i.indexOf(s)&&i.push(s)}o&&t.err("Only non-generatable nodes ("+r.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(o,n),o}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 i=this;for(let o=t;i&&o<n;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return 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 i=[this];return function o(r,s){let a=r.matchFragment(e,n);if(a&&(!t||a.validEnd))return z.from(s.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==i.indexOf(n)){i.push(n);let e=o(n,s.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 i=n.shift(),o=i.match;if(o.matchType(e)){let e=[];for(let t=i;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<o.next.length;e++){let{type:r,next:s}=o.next[e];r.isLeaf||r.hasRequiredAttrs()||r.name in t||i.type&&!s.validEnd||(n.push({match:r.contentMatch,type:r,via:i}),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 i=0;i<n.next.length;i++)-1==e.indexOf(n.next[i].next)&&t(n.next[i].next)}(this),e.map(((t,n)=>{let i=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)i+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return i})).join("\n")}}le.empty=new le(!0);class ce{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 pe(e){let t=[];do{t.push(ue(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function ue(e){let t=[];do{t.push(de(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function de(e){let t=function(e){if(e.eat("(")){let t=pe(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,i=n[t];if(i)return[i];let o=[];for(let e in n){let i=n[e];i.groups.indexOf(t)>-1&&o.push(i)}0==o.length&&e.err("No node type or group '"+t+"' found");return o}(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=me(e,t)}return t}function he(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function me(e,t){let n=he(e),i=n;return e.eat(",")&&(i="}"!=e.next?he(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:t}}function fe(e,t){return t-e}function ge(e,t){let n=[];return function t(i){let o=e[i];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(i);for(let e=0;e<o.length;e++){let{term:i,to:r}=o[e];i||-1!=n.indexOf(r)||t(r)}}(t),n.sort(fe)}function be(e){let t=Object.create(null);for(let n in e){let i=e[n];if(!i.hasDefault)return null;t[n]=i.default}return t}function ve(e,t){let n=Object.create(null);for(let i in e){let o=t&&t[i];if(void 0===o){let t=e[i];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+i);o=t.default}n[i]=o}return n}function ye(e){let t=Object.create(null);if(e)for(let n in e)t[n]=new we(e[n]);return t}class xe{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=ye(n.attrs),this.defaultAttrs=be(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==le.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}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:ve(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new re(this,this.computeAttrs(e),z.from(t),P.setFrom(n))}createChecked(e=null,t,n){if(t=z.from(t),!this.validContent(t))throw new RangeError("Invalid content for node "+this.name);return new re(this,this.computeAttrs(e),t,P.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=z.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let i=this.contentMatch.matchFragment(t),o=i&&i.fillBefore(z.empty,!0);return o?new re(this,e,t.append(o),P.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}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:P.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,i)=>n[e]=new xe(e,t,i)));let i=t.spec.topNode||"doc";if(!n[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let e in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class we{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class ke{constructor(e,t,n,i){this.name=e,this.rank=t,this.schema=n,this.spec=i,this.attrs=ye(i.attrs),this.excluded=null;let o=be(this.attrs);this.instance=o?new P(this,o):null}create(e=null){return!e&&this.instance?this.instance:new P(this,ve(this.attrs,e))}static compile(e,t){let n=Object.create(null),i=0;return e.forEach(((e,o)=>n[e]=new ke(e,i++,t,o))),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]}excludes(e){return this.excluded.indexOf(e)>-1}}class Ee{constructor(e){this.cached=Object.create(null),this.spec={nodes:A.from(e.nodes),marks:A.from(e.marks||{}),topNode:e.topNode},this.nodes=xe.compile(this.spec.nodes,this),this.marks=ke.compile(this.spec.marks,this);let t=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 n=this.nodes[e],i=n.spec.content||"",o=n.spec.marks;n.contentMatch=t[i]||(t[i]=le.parse(i,this.nodes)),n.inlineContent=n.contentMatch.inlineContent,n.markSet="_"==o?null:o?_e(this,o.split(" ")):""!=o&&n.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:_e(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,i){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof xe))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,i)}text(e,t){let n=this.nodes.text;return new se(n,n.defaultAttrs,e,P.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return re.fromJSON(this,e)}markFromJSON(e){return P.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function _e(e,t){let n=[];for(let i=0;i<t.length;i++){let o=t[i],r=e.marks[o],s=r;if(r)n.push(r);else for(let t in e.marks){let i=e.marks[t];("_"==o||i.spec.group&&i.spec.group.split(" ").indexOf(o)>-1)&&n.push(s=i)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}class Me{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach((e=>{e.tag?this.tags.push(e):e.style&&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 Ie(this,t,!1);return n.addAll(e,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Ie(this,t,!0);return n.addAll(e,t.from,t.to),U.maxOpen(n.finish())}matchTag(e,t,n){for(let i=n?this.tags.indexOf(n)+1:0;i<this.tags.length;i++){let n=this.tags[i];if(ze(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,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let i=this.styles[o],r=i.style;if(!(0!=r.indexOf(e)||i.context&&!n.matchesContext(i.context)||r.length>e.length&&(61!=r.charCodeAt(e.length)||r.slice(e.length+1)!=t))){if(i.getAttrs){let e=i.getAttrs(t);if(!1===e)continue;i.attrs=e||void 0}return i}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,i=0;for(;i<t.length;i++){let e=t[i];if((null==e.priority?50:e.priority)<n)break}t.splice(i,0,e)}for(let t in e.marks){let i=e.marks[t].spec.parseDOM;i&&i.forEach((e=>{n(e=Le(e)),e.mark=t}))}for(let t in e.nodes){let i=e.nodes[t].spec.parseDOM;i&&i.forEach((e=>{n(e=Le(e)),e.node=t}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Me(e,Me.schemaRules(e)))}}const Ce={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},De={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Oe={ol:!0,ul:!0},Te=1,Ne=2,Se=4;function Ae(e,t,n){return null!=t?(t?Te:0)|("full"===t?Ne:0):e&&"pre"==e.whitespace?Te|Ne:n&~Se}class je{constructor(e,t,n,i,o,r,s){this.type=e,this.attrs=t,this.marks=n,this.pendingMarks=i,this.solid=o,this.options=s,this.content=[],this.activeMarks=P.none,this.stashMarks=[],this.match=r||(s&Se?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(z.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(!(this.options&Te)){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=z.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(z.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,n=this.pendingMarks;t<n.length;t++){let i=n[t];(this.type?this.type.allowsMarkType(i.type):Re(i.type,e))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Ce.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Ie{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0;let i,o=t.topNode,r=Ae(null,t.preserveWhitespace,0)|(n?Se:0);i=o?new je(o.type,o.attrs,P.none,P.none,!0,t.topMatch||o.type.contentMatch,r):new je(n?null:e.schema.topNodeType,null,P.none,P.none,!0,null,r),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){if(3==e.nodeType)this.addTextNode(e);else if(1==e.nodeType){let t=e.getAttribute("style"),n=t?this.readStyles(function(e){let t,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,i=[];for(;t=n.exec(e);)i.push(t[1],t[2].trim());return i}(t)):null,i=this.top;if(null!=n)for(let e=0;e<n.length;e++)this.addPendingMark(n[e]);if(this.addElement(e),null!=n)for(let e=0;e<n.length;e++)this.removePendingMark(n[e],i)}}addTextNode(e){let t=e.nodeValue,n=this.top;if(n.options&Ne||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(n.options&Te)t=n.options&Ne?t.replace(/\r\n?/g,"\n"):t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let i=n.content[n.content.length-1],o=e.previousSibling;(!i||o&&"BR"==o.nodeName||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let n,i=e.nodeName.toLowerCase();Oe.hasOwnProperty(i)&&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 o=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,t));if(o?o.ignore:De.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(e=o.skip);let t,n=this.top,r=this.needsBlock;if(Ce.hasOwnProperty(i))t=!0,n.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);this.addAll(e),t&&this.sync(n),this.needsBlock=r}else this.addElementByRule(e,o,!1===o.consuming?n:void 0)}leafFallback(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}ignoreFallback(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=P.none;e:for(let n=0;n<e.length;n+=2)for(let i;;){let o=this.parser.matchStyle(e[n],e[n+1],this,i);if(!o)continue e;if(o.ignore)return null;if(t=this.parser.schema.marks[o.mark].create(o.attrs).addToSet(t),!1!==o.consuming)break;i=o}return t}addElementByRule(e,t,n){let i,o,r;if(t.node)o=this.parser.schema.nodes[t.node],o.isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):i=this.enter(o,t.attrs||null,t.preserveWhitespace);else{r=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(r)}let s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e)));else{let n=e;"string"==typeof t.contentElement?n=e.querySelector(t.contentElement):"function"==typeof t.contentElement?n=t.contentElement(e):t.contentElement&&(n=t.contentElement),this.findAround(e,n,!0),this.addAll(n)}i&&this.sync(s)&&this.open--,r&&this.removePendingMark(r,s)}addAll(e,t,n){let i=t||0;for(let o=t?e.childNodes[t]:e.firstChild,r=null==n?null:e.childNodes[n];o!=r;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o);this.findAtPoint(e,i)}findPlace(e){let t,n;for(let i=this.open;i>=0;i--){let o=this.nodes[i],r=o.findWrapping(e);if(r&&(!t||t.length>r.length)&&(t=r,n=o,!r.length))break;if(o.solid)break}if(!t)return!1;this.sync(n);for(let e=0;e<t.length;e++)this.enterInner(t[e],null,!1);return!0}insertNode(e){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&this.enterInner(e)}if(this.findPlace(e)){this.closeExtra();let t=this.top;t.applyPending(e.type),t.match&&(t.match=t.match.matchType(e.type));let n=t.activeMarks;for(let i=0;i<e.marks.length;i++)t.type&&!t.type.allowsMarkType(e.marks[i].type)||(n=e.marks[i].addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n){let i=this.findPlace(e.create(t));return i&&this.enterInner(e,t,!0,n),i}enterInner(e,t=null,n=!1,i){this.closeExtra();let o=this.top;o.applyPending(e),o.match=o.match&&o.match.matchType(e);let r=Ae(e,i,o.options);o.options&Se&&0==o.content.length&&(r|=Se),this.nodes.push(new je(e,t,o.activeMarks,o.pendingMarks,n,null,r)),this.open++}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;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 i=0;i<this.find.length;i++)if(null==this.find[i].pos&&1==e.nodeType&&e.contains(this.find[i].node)){t.compareDocumentPosition(this.find[i].node)&(n?2:4)&&(this.find[i].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,i=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),o=-(n?n.depth+1:0)+(i?0:1),r=(e,s)=>{for(;e>=0;e--){let a=t[e];if(""==a){if(e==t.length-1||0==e)continue;for(;s>=o;s--)if(r(e-1,s))return!0;return!1}{let e=s>0||0==s&&i?this.nodes[s].type:n&&s>=o?n.node(s-o).type:null;if(!e||e.name!=a&&-1==e.groups.indexOf(a))return!1;s--}}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}}addPendingMark(e){let t=function(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let n=this.open;n>=0;n--){let i=this.nodes[n];if(i.pendingMarks.lastIndexOf(e)>-1)i.pendingMarks=e.removeFromSet(i.pendingMarks);else{i.activeMarks=e.removeFromSet(i.activeMarks);let t=i.popFromStashMark(e);t&&i.type&&i.type.allowsMarkType(t.type)&&(i.activeMarks=t.addToSet(i.activeMarks))}if(i==t)break}}}function ze(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Le(e){let t={};for(let n in e)t[n]=e[n];return t}function Re(e,t){let n=t.schema.nodes;for(let i in n){let o=n[i];if(!o.allowsMarkType(e))continue;let r=[],s=e=>{r.push(e);for(let n=0;n<e.edgeCount;n++){let{type:i,next:o}=e.edge(n);if(i==t)return!0;if(r.indexOf(o)<0&&s(o))return!0}};if(s(o.contentMatch))return!0}}class Fe{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=Be(t).createDocumentFragment());let i=n,o=[];return e.forEach((e=>{if(o.length||e.marks.length){let n=0,r=0;for(;n<o.length&&r<e.marks.length;){let t=e.marks[r];if(this.marks[t.type.name]){if(!t.eq(o[n][0])||!1===t.type.spec.spanning)break;n++,r++}else r++}for(;n<o.length;)i=o.pop()[1];for(;r<e.marks.length;){let n=e.marks[r++],s=this.serializeMark(n,e.isInline,t);s&&(o.push([n,i]),i.appendChild(s.dom),i=s.contentDOM||s.dom)}}i.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:i}=Fe.renderSpec(Be(t),this.nodes[e.type.name](e));if(i){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,i)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let i=e.marks.length-1;i>=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}serializeMark(e,t,n={}){let i=this.marks[e.type.name];return i&&Fe.renderSpec(Be(n),i(e,t))}static renderSpec(e,t,n=null){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,o=t[0],r=o.indexOf(" ");r>0&&(n=o.slice(0,r),o=o.slice(r+1));let s=n?e.createElementNS(n,o):e.createElement(o),a=t[1],l=1;if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a)){l=2;for(let e in a)if(null!=a[e]){let t=e.indexOf(" ");t>0?s.setAttributeNS(e.slice(0,t),e.slice(t+1),a[e]):s.setAttribute(e,a[e])}}for(let o=l;o<t.length;o++){let r=t[o];if(0===r){if(o<t.length-1||o>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:t,contentDOM:o}=Fe.renderSpec(e,r,n);if(s.appendChild(t),o){if(i)throw new RangeError("Multiple content holes");i=o}}}return{dom:s,contentDOM:i}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Fe(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Pe(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return Pe(e.marks)}}function Pe(e){let t={};for(let n in e){let i=e[n].spec.toDOM;i&&(t[n]=i)}return t}function Be(e){return e.document||window.document}const Ue=65535,$e=Math.pow(2,16);function He(e,t){return e+t*$e}function qe(e){return e&Ue}const Ve=1,We=2,Ke=4,Ye=8;class Qe{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(this.delInfo&Ye)>0}get deletedBefore(){return(this.delInfo&(Ve|Ke))>0}get deletedAfter(){return(this.delInfo&(We|Ke))>0}get deletedAcross(){return(this.delInfo&Ke)>0}}class Ge{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Ge.empty)return Ge.empty}recover(e){let t=0,n=qe(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+function(e){return(e-(e&Ue))/$e}(e)}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 i=0,o=this.inverted?2:1,r=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let a=this.ranges[s]-(this.inverted?i:0);if(a>e)break;let l=this.ranges[s+o],c=this.ranges[s+r],p=a+l;if(e<=p){let o=a+i+((l?e==a?-1:e==p?1:t:t)<0?0:c);if(n)return o;let r=e==(t<0?a:p)?null:He(s/3,e-a),u=e==a?We:e==p?Ve:Ke;return(t<0?e!=a:e!=p)&&(u|=Ye),new Qe(o,u,r)}i+=c-l}return n?e+i:new Qe(e+i,0,null)}touches(e,t){let n=0,i=qe(t),o=this.inverted?2:1,r=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let s=this.ranges[t]-(this.inverted?n:0);if(s>e)break;let a=this.ranges[t+o];if(e<=s+a&&t==3*i)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 i=0,o=0;i<this.ranges.length;i+=3){let r=this.ranges[i],s=r-(this.inverted?o:0),a=r+(this.inverted?0:o),l=this.ranges[i+t],c=this.ranges[i+n];e(s,s+l,a,a+c),o+=c-l}}invert(){return new Ge(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?Ge.empty:new Ge(e<0?[0,-e,0]:[0,0,e])}}Ge.empty=new Ge([]);class Je{constructor(e=[],t,n=0,i=e.length){this.maps=e,this.mirror=t,this.from=n,this.to=i}slice(e=0,t=this.maps.length){return new Je(this.maps,this.mirror,e,t)}copy(){return new Je(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){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 i=e.getMirror(t);this.appendMap(e.maps[t],null!=i&&i<t?n+i: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 i=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=i&&i>t?n-i-1:void 0)}}invert(){let e=new Je;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 i=0;for(let n=this.from;n<this.to;n++){let o=this.maps[n].mapResult(e,t);if(null!=o.recover){let t=this.getMirror(n);if(null!=t&&t>n&&t<this.to){n=t,e=this.maps[t].recover(o.recover);continue}}i|=o.delInfo,e=o.pos}return n?e:new Qe(e,i,null)}}const Ze=Object.create(null);class Xe{getMap(){return Ge.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=Ze[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 Ze)throw new RangeError("Duplicate use of step JSON ID "+e);return Ze[e]=t,t.prototype.jsonID=e,t}}class et{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new et(e,null)}static fail(e){return new et(null,e)}static fromReplace(e,t,n,i){try{return et.ok(e.replace(t,n,i))}catch(e){if(e instanceof B)return et.fail(e.message);throw e}}}function tt(e,t,n){let i=[];for(let o=0;o<e.childCount;o++){let r=e.child(o);r.content.size&&(r=r.copy(tt(r.content,t,r))),r.isInline&&(r=t(r,n,o)),i.push(r)}return z.fromArray(i)}class nt extends Xe{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),i=n.node(n.sharedDepth(this.to)),o=new U(tt(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),i),t.openStart,t.openEnd);return et.fromReplace(e,this.from,this.to,o)}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 nt(t.pos,n.pos,this.mark)}merge(e){return e instanceof nt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new nt(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 nt(t.from,t.to,e.markFromJSON(t.mark))}}Xe.jsonID("addMark",nt);class it extends Xe{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 U(tt(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return et.fromReplace(e,this.from,this.to,n)}invert(){return new nt(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:"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 it(t.from,t.to,e.markFromJSON(t.mark))}}Xe.jsonID("removeMark",it);class ot extends Xe{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return et.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return et.fromReplace(e,this.pos,this.pos+1,new U(z.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 rt(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))}}Xe.jsonID("addNodeMark",ot);class rt extends Xe{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return et.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return et.fromReplace(e,this.pos,this.pos+1,new U(z.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 rt(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 rt(t.pos,e.markFromJSON(t.mark))}}Xe.jsonID("removeNodeMark",rt);class st extends Xe{constructor(e,t,n,i=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=i}apply(e){return this.structure&<(e,this.from,this.to)?et.fail("Structure replace would overwrite content"):et.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Ge([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)}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?U.empty:new U(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?U.empty:new U(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,U.fromJSON(e,t.slice),!!t.structure)}}Xe.jsonID("replace",st);class at extends Xe{constructor(e,t,n,i,o,r,s=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=i,this.slice=o,this.insert=r,this.structure=s}apply(e){if(this.structure&&(lt(e,this.from,this.gapFrom)||lt(e,this.gapTo,this.to)))return et.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return et.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?et.fromReplace(e,this.from,this.to,n):et.fail("Content does not fit in gap")}getMap(){return new Ge([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 at(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),i=e.map(this.gapFrom,-1),o=e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||i<t.pos||o>n.pos?null:new at(t.pos,n.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,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 at(t.from,t.to,t.gapFrom,t.gapTo,U.fromJSON(e,t.slice),t.insert,!!t.structure)}}function lt(e,t,n){let i=e.resolve(t),o=n-t,r=i.depth;for(;o>0&&r>0&&i.indexAfter(r)==i.node(r).childCount;)r--,o--;if(o>0){let e=i.node(r).maybeChild(i.indexAfter(r));for(;o>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}function ct(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function pt(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let i=e.$from.node(n),o=e.$from.index(n),r=e.$to.indexAfter(n);if(n<e.depth&&i.canReplace(o,r,t))return n;if(0==n||i.type.spec.isolating||!ct(i,o,r))break}return null}function ut(e,t,n=null,i=e){let o=function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,r=n.contentMatchAt(i).findWrapping(t);if(!r)return null;let s=r.length?r[0]:t;return n.canReplaceWith(i,o,s)?r:null}(e,t),r=o&&function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,r=n.child(i),s=t.contentMatch.findWrapping(r.type);if(!s)return null;let a=(s.length?s[s.length-1]:t).contentMatch;for(let e=i;a&&e<o;e++)a=a.matchType(n.child(e).type);return a&&a.validEnd?s:null}(i,t);return r?o.map(dt).concat({type:t,attrs:n}).concat(r.map(dt)):null}function dt(e){return{type:e,attrs:null}}function ht(e,t,n=1,i){let o=e.resolve(t),r=o.depth-n,s=i&&i[i.length-1]||o.parent;if(r<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let e=o.depth-1,t=n-2;e>r;e--,t--){let n=o.node(e),r=o.index(e);if(n.type.spec.isolating)return!1;let s=n.content.cutByIndex(r,n.childCount),a=i&&i[t]||n;if(a!=n&&(s=s.replaceChild(0,a.type.create(a.attrs))),!n.canReplace(r+1,n.childCount)||!a.type.validContent(s))return!1}let a=o.indexAfter(r),l=i&&i[0];return o.node(r).canReplaceWith(a,a,l?l.type:o.node(r+1).type)}function mt(e,t){let n=e.resolve(t),i=n.index();return function(e,t){return!(!e||!t||e.isLeaf||!e.canAppend(t))}(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function ft(e,t,n){let i=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let e=0;e<n.openStart;e++)o=o.firstChild.content;for(let e=1;e<=(0==n.openStart&&n.size?2:1);e++)for(let t=i.depth;t>=0;t--){let n=t==i.depth?0:i.pos<=(i.start(t+1)+i.end(t+1))/2?-1:1,r=i.index(t)+(n>0?1:0),s=i.node(t),a=!1;if(1==e)a=s.canReplace(r,r,o);else{let e=s.contentMatchAt(r).findWrapping(o.firstChild.type);a=e&&s.canReplaceWith(r,r,e[0])}if(a)return 0==n?i.pos:n<0?i.before(t+1):i.after(t+1)}return null}function gt(e,t,n=t,i=U.empty){if(t==n&&!i.size)return null;let o=e.resolve(t),r=e.resolve(n);return bt(o,r,i)?new st(t,n,i):new vt(o,r,i).fit()}function bt(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}Xe.jsonID("replaceAround",at);class vt{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=z.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=z.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,i=this.close(e<0?this.$to:n.doc.resolve(e));if(!i)return null;let o=this.placed,r=n.depth,s=i.depth;for(;r&&s&&1==o.childCount;)o=o.firstChild.content,r--,s--;let a=new U(o,r,s);return e>-1?new at(n.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||n.pos!=this.$to.pos?new st(n.pos,i.pos,a):null}findFittable(){for(let e=1;e<=2;e++)for(let t=this.unplaced.openStart;t>=0;t--){let n,i=null;t?(i=wt(this.unplaced.content,t-1).firstChild,n=i.content):n=this.unplaced.content;let o=n.firstChild;for(let n=this.depth;n>=0;n--){let r,{type:s,match:a}=this.frontier[n],l=null;if(1==e&&(o?a.matchType(o.type)||(l=a.fillBefore(z.from(o),!1)):i&&s.compatibleContent(i.type)))return{sliceDepth:t,frontierDepth:n,parent:i,inject:l};if(2==e&&o&&(r=a.findWrapping(o.type)))return{sliceDepth:t,frontierDepth:n,parent:i,wrap:r};if(i&&a.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,i=wt(e,t);return!(!i.childCount||i.firstChild.isLeaf)&&(this.unplaced=new U(e,t+1,Math.max(n,i.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,i=wt(e,t);if(i.childCount<=1&&t>0){let o=e.size-t<=t+i.size;this.unplaced=new U(yt(e,t-1,1),t-1,o?t-1:n)}else this.unplaced=new U(yt(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:i,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let e=0;e<o.length;e++)this.openFrontierNode(o[e]);let r=this.unplaced,s=n?n.content:r.content,a=r.openStart-e,l=0,c=[],{match:p,type:u}=this.frontier[t];if(i){for(let e=0;e<i.childCount;e++)c.push(i.child(e));p=p.matchFragment(i)}let d=s.size+e-(r.content.size-r.openEnd);for(;l<s.childCount;){let e=s.child(l),t=p.matchType(e.type);if(!t)break;l++,(l>1||0==a||e.content.size)&&(p=t,c.push(kt(e.mark(u.allowedMarks(e.marks)),1==l?a:0,l==s.childCount?d:-1)))}let h=l==s.childCount;h||(d=-1),this.placed=xt(this.placed,t,z.from(c)),this.frontier[t].match=p,h&&d<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=s;e<d;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=h?0==e?U.empty:new U(yt(r.content,e-1,1),e-1,d<0?r.openEnd:e-1):new U(yt(r.content,e,l),r.openStart,r.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!Et(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,i=this.$to.after(n);for(;n>1&&i==this.$to.end(--n);)++i;return i}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:i}=this.frontier[t],o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),r=Et(e,t,i,n,o);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:i}=this.frontier[n],o=Et(e,n,i,t,!0);if(!o||o.childCount)continue e}return{depth:t,fit:r,move:o?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=xt(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),i=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,i)}return e}openFrontierNode(e,t=null,n){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=xt(this.placed,this.depth,z.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(z.empty,!0);e.childCount&&(this.placed=xt(this.placed,this.frontier.length,e))}}function yt(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(yt(e.firstChild.content,t-1,n)))}function xt(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(xt(e.lastChild.content,t-1,n)))}function wt(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function kt(e,t,n){if(t<=0)return e;let i=e.content;return t>1&&(i=i.replaceChild(0,kt(i.firstChild,t-1,1==i.childCount?n-1:0))),t>0&&(i=e.type.contentMatch.fillBefore(i).append(i),n<=0&&(i=i.append(e.type.contentMatch.matchFragment(i).fillBefore(z.empty,!0)))),e.copy(i)}function Et(e,t,n,i,o){let r=e.node(t),s=o?e.indexAfter(t):e.index(t);if(s==r.childCount&&!n.compatibleContent(r.type))return null;let a=i.fillBefore(r.content,!0,s);return a&&!function(e,t,n){for(let i=n;i<t.childCount;i++)if(!e.allowsMarks(t.child(i).marks))return!0;return!1}(n,r.content,s)?a:null}function _t(e){return e.spec.defining||e.spec.definingForContent}function Mt(e,t,n,i,o){if(t<n){let o=e.firstChild;e=e.replaceChild(0,o.copy(Mt(o.content,t+1,n,i,o)))}if(t>i){let t=o.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(z.empty,!0))}return e}function Ct(e,t){let n=[];for(let i=Math.min(e.depth,t.depth);i>=0;i--){let o=e.start(i);if(o<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(o==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==o-1)&&n.push(i)}return n}class Dt extends Xe{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 et.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 i=t.type.create(n,null,t.marks);return et.fromReplace(e,this.pos,this.pos+1,new U(z.from(i),0,t.isLeaf?0:1))}getMap(){return Ge.empty}invert(e){return new Dt(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 Dt(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 Dt(t.pos,t.attr,t.value)}}Xe.jsonID("attr",Dt);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 Tt{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Je}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=U.empty){let i=gt(this.doc,e,t,n);return i&&this.step(i),this}replaceWith(e,t,n){return this.replace(e,t,new U(z.from(n),0,0))}delete(e,t){return this.replace(e,t,U.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,i){if(!i.size)return e.deleteRange(t,n);let o=e.doc.resolve(t),r=e.doc.resolve(n);if(bt(o,r,i))return e.step(new st(t,n,i));let s=Ct(o,e.doc.resolve(n));0==s[s.length-1]&&s.pop();let a=-(o.depth+1);s.unshift(a);for(let e=o.depth,t=o.pos-1;e>0;e--,t--){let n=o.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;s.indexOf(e)>-1?a=e:o.before(e)==t&&s.splice(1,0,-e)}let l=s.indexOf(a),c=[],p=i.openStart;for(let e=i.content,t=0;;t++){let n=e.firstChild;if(c.push(n),t==i.openStart)break;e=n.content}for(let e=p-1;e>=0;e--){let t=c[e].type,n=_t(t);if(n&&o.node(l).type!=t)p=e;else if(n||!t.isTextblock)break}for(let t=i.openStart;t>=0;t--){let a=(t+p+1)%(i.openStart+1),u=c[a];if(u)for(let t=0;t<s.length;t++){let c=s[(t+l)%s.length],p=!0;c<0&&(p=!1,c=-c);let d=o.node(c-1),h=o.index(c-1);if(d.canReplaceWith(h,h,u.type,u.marks))return e.replace(o.before(c),p?r.after(c):n,new U(Mt(i.content,0,i.openStart,a),a,i.openEnd))}}let u=e.steps.length;for(let a=s.length-1;a>=0&&(e.replace(t,n,i),!(e.steps.length>u));a--){let e=s[a];e<0||(t=o.before(e),n=r.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,i){if(!i.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=function(e,t,n){let i=e.resolve(t);if(i.parent.canReplaceWith(i.index(),i.index(),n))return t;if(0==i.parentOffset)for(let e=i.depth-1;e>=0;e--){let t=i.index(e);if(i.node(e).canReplaceWith(t,t,n))return i.before(e+1);if(t>0)return null}if(i.parentOffset==i.parent.content.size)for(let e=i.depth-1;e>=0;e--){let t=i.indexAfter(e);if(i.node(e).canReplaceWith(t,t,n))return i.after(e+1);if(t<i.node(e).childCount)return null}return null}(e.doc,t,i.type);null!=o&&(t=n=o)}e.replaceRange(t,n,new U(z.from(i),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let i=e.doc.resolve(t),o=e.doc.resolve(n),r=Ct(i,o);for(let t=0;t<r.length;t++){let n=r[t],s=t==r.length-1;if(s&&0==n||i.node(n).type.contentMatch.validEnd)return e.delete(i.start(n),o.end(n));if(n>0&&(s||i.node(n-1).canReplace(i.index(n-1),o.indexAfter(n-1))))return e.delete(i.before(n),o.after(n))}for(let r=1;r<=i.depth&&r<=o.depth;r++)if(t-i.start(r)==i.depth-r&&n>i.end(r)&&o.end(r)-n!=o.depth-r)return e.delete(i.before(r),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:i,$to:o,depth:r}=t,s=i.before(r+1),a=o.after(r+1),l=s,c=a,p=z.empty,u=0;for(let e=r,t=!1;e>n;e--)t||i.index(e)>0?(t=!0,p=z.from(i.node(e).copy(p)),u++):l--;let d=z.empty,h=0;for(let e=r,t=!1;e>n;e--)t||o.after(e+1)<o.end(e)?(t=!0,d=z.from(o.node(e).copy(d)),h++):c++;e.step(new at(l,c,s,a,new U(p.append(d),u,h),p.size-u,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let i=new st(t-n,t+n,U.empty,!0);e.step(i)}(this,e,t),this}wrap(e,t){return function(e,t,n){let i=z.empty;for(let e=n.length-1;e>=0;e--){if(i.size){let t=n[e].type.contentMatch.matchFragment(i);if(!t||!t.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=z.from(n[e].type.create(n[e].attrs,i))}let o=t.start,r=t.end;e.step(new at(o,r,o,r,new U(i,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,i=null){return function(e,t,n,i,o){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let r=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{if(t.isTextblock&&!t.hasMarkup(i,o)&&function(e,t,n){let i=e.resolve(t),o=i.index();return i.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(r).map(n),i)){e.clearIncompatible(e.mapping.slice(r).map(n,1),i);let s=e.mapping.slice(r),a=s.map(n,1),l=s.map(n+t.nodeSize,1);return e.step(new at(a,l,a+1,l-1,new U(z.from(i.create(o,null,t.marks)),0,0),1,!0)),!1}}))}(this,e,t,n,i),this}setNodeMarkup(e,t,n=null,i=[]){return function(e,t,n,i,o){let r=e.doc.nodeAt(t);if(!r)throw new RangeError("No node at given position");n||(n=r.type);let s=n.create(i,null,o||r.marks);if(r.isLeaf)return e.replaceWith(t,t+r.nodeSize,s);if(!n.validContent(r.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new at(t,t+r.nodeSize,t+1,t+r.nodeSize-1,new U(z.from(s),0,0),1,!0))}(this,e,t,n,i),this}setNodeAttribute(e,t,n){return this.step(new Dt(e,t,n)),this}addNodeMark(e,t){return this.step(new ot(e,t)),this}removeNodeMark(e,t){if(!(t instanceof P)){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t=t.isInSet(n.marks),!t)return this}return this.step(new rt(e,t)),this}split(e,t=1,n){return function(e,t,n=1,i){let o=e.doc.resolve(t),r=z.empty,s=z.empty;for(let e=o.depth,t=o.depth-n,a=n-1;e>t;e--,a--){r=z.from(o.node(e).copy(r));let t=i&&i[a];s=z.from(t?t.type.create(t.attrs,s):o.node(e).copy(s))}e.step(new st(t,t,new U(r.append(s),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,i){let o,r,s=[],a=[];e.doc.nodesBetween(t,n,((e,l,c)=>{if(!e.isInline)return;let p=e.marks;if(!i.isInSet(p)&&c.type.allowsMarkType(i.type)){let c=Math.max(l,t),u=Math.min(l+e.nodeSize,n),d=i.addToSet(p);for(let e=0;e<p.length;e++)p[e].isInSet(d)||(o&&o.to==c&&o.mark.eq(p[e])?o.to=u:s.push(o=new it(c,u,p[e])));r&&r.to==c?r.to=u:a.push(r=new nt(c,u,i))}})),s.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,i){let o=[],r=0;e.doc.nodesBetween(t,n,((e,s)=>{if(!e.isInline)return;r++;let a=null;if(i instanceof ke){let t,n=e.marks;for(;t=i.isInSet(n);)(a||(a=[])).push(t),n=t.removeFromSet(n)}else i?i.isInSet(e.marks)&&(a=[i]):a=e.marks;if(a&&a.length){let i=Math.min(s+e.nodeSize,n);for(let e=0;e<a.length;e++){let n,l=a[e];for(let e=0;e<o.length;e++){let t=o[e];t.step==r-1&&l.eq(o[e].style)&&(n=t)}n?(n.to=i,n.step=r):o.push({style:l,from:Math.max(s,t),to:i,step:r})}}})),o.forEach((t=>e.step(new it(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return function(e,t,n,i=n.contentMatch){let o=e.doc.nodeAt(t),r=[],s=t+1;for(let t=0;t<o.childCount;t++){let a=o.child(t),l=s+a.nodeSize,c=i.matchType(a.type);if(c){i=c;for(let t=0;t<a.marks.length;t++)n.allowsMarkType(a.marks[t].type)||e.step(new it(s,l,a.marks[t]))}else r.push(new st(s,l,U.empty));s=l}if(!i.validEnd){let t=i.fillBefore(z.empty,!0);e.replace(s,s,new U(t,0,0))}for(let t=r.length-1;t>=0;t--)e.step(r[t])}(this,e,t,n),this}}const Nt=Object.create(null);class St{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new At(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=U.empty){let n=t.content.lastChild,i=null;for(let e=0;e<t.openEnd;e++)i=n,n=n.lastChild;let o=e.steps.length,r=this.ranges;for(let s=0;s<r.length;s++){let{$from:a,$to:l}=r[s],c=e.mapping.slice(o);e.replaceRange(c.map(a.pos),c.map(l.pos),s?U.empty:t),0==s&&$t(e,o,(n?n.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,i=this.ranges;for(let o=0;o<i.length;o++){let{$from:r,$to:s}=i[o],a=e.mapping.slice(n),l=a.map(r.pos),c=a.map(s.pos);o?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),$t(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let i=e.parent.inlineContent?new zt(e):Ut(e.node(0),e.parent,e.pos,e.index(),t,n);if(i)return i;for(let i=e.depth-1;i>=0;i--){let o=t<0?Ut(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):Ut(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(o)return o}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Pt(e.node(0))}static atStart(e){return Ut(e,e,0,0,1)||new Pt(e)}static atEnd(e){return Ut(e,e,e.content.size,e.childCount,-1)||new Pt(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=Nt[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 Nt)throw new RangeError("Duplicate use of selection JSON ID "+e);return Nt[e]=t,t.prototype.jsonID=e,t}getBookmark(){return zt.between(this.$anchor,this.$head).getBookmark()}}St.prototype.visible=!0;class At{constructor(e,t){this.$from=e,this.$to=t}}let jt=!1;function It(e){jt||e.parent.inlineContent||(jt=!0,console["warn"]("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class zt extends St{constructor(e,t=e){It(e),It(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 St.near(n);let i=e.resolve(t.map(this.anchor));return new zt(i.parent.inlineContent?i:n,n)}replace(e,t=U.empty){if(super.replace(e,t),t==U.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof zt&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Lt(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 zt(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let i=e.resolve(t);return new this(i,n==t?i:e.resolve(n))}static between(e,t,n){let i=e.pos-t.pos;if(n&&!i||(n=i>=0?1:-1),!t.parent.inlineContent){let e=St.findFrom(t,n,!0)||St.findFrom(t,-n,!0);if(!e)return St.near(t,n);t=e.$head}return e.parent.inlineContent||(0==i||(e=(St.findFrom(e,-n,!0)||St.findFrom(e,n,!0)).$anchor).pos<t.pos!=i<0)&&(e=t),new zt(e,t)}}St.jsonID("text",zt);class Lt{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Lt(e.map(this.anchor),e.map(this.head))}resolve(e){return zt.between(e.resolve(this.anchor),e.resolve(this.head))}}class Rt extends St{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:i}=t.mapResult(this.anchor),o=e.resolve(i);return n?St.near(o):new Rt(o)}content(){return new U(z.from(this.node),0,0)}eq(e){return e instanceof Rt&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Ft(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Rt(e.resolve(t.anchor))}static create(e,t){return new Rt(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}Rt.prototype.visible=!1,St.jsonID("node",Rt);class Ft{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new Lt(n,n):new Ft(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&Rt.isSelectable(n)?new Rt(t):St.near(t)}}class Pt extends St{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=U.empty){if(t==U.empty){e.delete(0,e.doc.content.size);let t=St.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Pt(e)}map(e){return new Pt(e)}eq(e){return e instanceof Pt}getBookmark(){return Bt}}St.jsonID("all",Pt);const Bt={map(){return this},resolve:e=>new Pt(e)};function Ut(e,t,n,i,o,r=!1){if(t.inlineContent)return zt.create(e,n);for(let s=i-(o>0?0:1);o>0?s<t.childCount:s>=0;s+=o){let i=t.child(s);if(i.isAtom){if(!r&&Rt.isSelectable(i))return Rt.create(e,n-(o<0?i.nodeSize:0))}else{let t=Ut(e,i,n+o,o<0?i.childCount:0,o,r);if(t)return t}n+=i.nodeSize*o}return null}function $t(e,t,n){let i=e.steps.length-1;if(i<t)return;let o,r=e.steps[i];(r instanceof st||r instanceof at)&&(e.mapping.maps[i].forEach(((e,t,n,i)=>{null==o&&(o=i)})),e.setSelection(St.near(e.doc.resolve(o),n)))}const Ht=1,qt=2,Vt=4;class Wt extends Tt{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=(this.updated|Ht)&~qt,this.storedMarks=null,this}get selectionSet(){return(this.updated&Ht)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=qt,this}ensureMarks(e){return P.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&qt)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~qt,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)||P.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let i=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);let o=this.storedMarks;if(!o){let e=this.doc.resolve(t);o=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,i.text(e,o)),this.selection.empty||this.setSelection(St.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|=Vt,this}get scrolledIntoView(){return(this.updated&Vt)>0}}function Kt(e,t){return t&&e?e.bind(t):e}class Yt{constructor(e,t,n){this.name=e,this.init=Kt(t.init,n),this.apply=Kt(t.apply,n)}}const Qt=[new Yt("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new Yt("selection",{init:(e,t)=>e.selection||St.atStart(t.doc),apply:e=>e.selection}),new Yt("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,i)=>i.selection.$cursor?e.storedMarks:null}),new Yt("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class Gt{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 Yt(e.key,e.spec.state,e))}))}}class Jt{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),i=null;for(;;){let o=!1;for(let r=0;r<this.config.plugins.length;r++){let s=this.config.plugins[r];if(s.spec.appendTransaction){let a=i?i[r].n:0,l=i?i[r].state:this,c=a<t.length&&s.spec.appendTransaction.call(s,a?t.slice(a):t,l,n);if(c&&n.filterTransaction(c,r)){if(c.setMeta("appendedTransaction",e),!i){i=[];for(let e=0;e<this.config.plugins.length;e++)i.push(e<r?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}i&&(i[r]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Jt(this.config),n=this.config.fields;for(let i=0;i<n.length;i++){let o=n[i];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new Wt(this)}static create(e){let t=new Gt(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new Jt(t);for(let i=0;i<t.fields.length;i++)n[t.fields[i].name]=t.fields[i].init(e,n);return n}reconfigure(e){let t=new Gt(this.schema,e.plugins),n=t.fields,i=new Jt(t);for(let t=0;t<n.length;t++){let o=n[t].name;i[o]=this.hasOwnProperty(o)?this[o]:n[t].init(e,i)}return i}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 i=e[n],o=i.spec.state;o&&o.toJSON&&(t[n]=o.toJSON.call(i,this[i.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 i=new Gt(e.schema,e.plugins),o=new Jt(i);return i.fields.forEach((i=>{if("doc"==i.name)o.doc=re.fromJSON(e.schema,t.doc);else if("selection"==i.name)o.selection=St.fromJSON(o.doc,t.selection);else if("storedMarks"==i.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let s=n[r],a=s.spec.state;if(s.key==i.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(o[i.name]=a.fromJSON.call(s,e,t[r],o))}o[i.name]=i.init(e,o)}})),o}}function Zt(e,t,n){for(let i in e){let o=e[i];o instanceof Function?o=o.bind(t):"handleDOMEvents"==i&&(o=Zt(o,t,{})),n[i]=o}return n}class Xt{constructor(e){this.spec=e,this.props={},e.props&&Zt(e.props,this,this.props),this.key=e.key?e.key.key:tn("plugin")}getState(e){return e[this.key]}}const en=Object.create(null);function tn(e){return e in en?e+"$"+ ++en[e]:(en[e]=0,e+"$")}class nn{constructor(e="key"){this.key=tn(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const on="undefined"!=typeof navigator?navigator:null,rn="undefined"!=typeof document?document:null,sn=on&&on.userAgent||"",an=/Edge\/(\d+)/.exec(sn),ln=/MSIE \d/.exec(sn),cn=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(sn),pn=!!(ln||cn||an),un=ln?document.documentMode:cn?+cn[1]:an?+an[1]:0,dn=!pn&&/gecko\/(\d+)/i.test(sn);dn&&(/Firefox\/(\d+)/.exec(sn)||[0,0])[1];const hn=!pn&&/Chrome\/(\d+)/.exec(sn),mn=!!hn,fn=hn?+hn[1]:0,gn=!pn&&!!on&&/Apple Computer/.test(on.vendor),bn=gn&&(/Mobile\/\w+/.test(sn)||!!on&&on.maxTouchPoints>2),vn=bn||!!on&&/Mac/.test(on.platform),yn=/Android \d/.test(sn),xn=!!rn&&"webkitFontSmoothing"in rn.documentElement.style,wn=xn?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,kn=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},En=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let _n=null;const Mn=function(e,t,n){let i=_n||(_n=document.createRange());return i.setEnd(e,null==n?e.nodeValue.length:n),i.setStart(e,t||0),i},Cn=function(e,t,n,i){return n&&(On(e,t,n,i,-1)||On(e,t,n,i,1))},Dn=/^(img|br|input|textarea|hr)$/i;function On(e,t,n,i,o){for(;;){if(e==n&&t==i)return!0;if(t==(o<0?0:Tn(e))){let n=e.parentNode;if(!n||1!=n.nodeType||Nn(e)||Dn.test(e.nodeName)||"false"==e.contentEditable)return!1;t=kn(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?Tn(e):0}}}function Tn(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Nn(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 Sn=function(e){let t=e.isCollapsed;return t&&mn&&e.rangeCount&&!e.getRangeAt(0).collapsed&&(t=!1),t};function An(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function jn(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function In(e,t){return"number"==typeof e?e:e[t]}function zn(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,i=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*i}}function Ln(e,t,n){let i=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,r=e.dom.ownerDocument;for(let s=n||e.dom;s;s=En(s)){if(1!=s.nodeType)continue;let e=s,n=e==r.body,a=n?jn(r):zn(e),l=0,c=0;if(t.top<a.top+In(i,"top")?c=-(a.top-t.top+In(o,"top")):t.bottom>a.bottom-In(i,"bottom")&&(c=t.bottom-a.bottom+In(o,"bottom")),t.left<a.left+In(i,"left")?l=-(a.left-t.left+In(o,"left")):t.right>a.right-In(i,"right")&&(l=t.right-a.right+In(o,"right")),l||c)if(n)r.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,i=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let o=e.scrollLeft-n,r=e.scrollTop-i;t={left:t.left-o,top:t.top-r,right:t.right-o,bottom:t.bottom-r}}if(n)break}}function Rn(e){let t=[],n=e.ownerDocument;for(let i=e;i&&(t.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),e!=n);i=En(i));return t}function Fn(e,t){for(let n=0;n<e.length;n++){let{dom:i,top:o,left:r}=e[n];i.scrollTop!=o+t&&(i.scrollTop=o+t),i.scrollLeft!=r&&(i.scrollLeft=r)}}let Pn=null;function Bn(e,t){let n,i,o=2e8,r=0,s=t.top,a=t.top;for(let l=e.firstChild,c=0;l;l=l.nextSibling,c++){let e;if(1==l.nodeType)e=l.getClientRects();else{if(3!=l.nodeType)continue;e=Mn(l).getClientRects()}for(let p=0;p<e.length;p++){let u=e[p];if(u.top<=s&&u.bottom>=a){s=Math.max(u.bottom,s),a=Math.min(u.top,a);let e=u.left>t.left?u.left-t.left:u.right<t.left?t.left-u.right:0;if(e<o){n=l,o=e,i=e&&3==n.nodeType?{left:u.right<t.left?u.right:u.left,top:t.top}:t,1==l.nodeType&&e&&(r=c+(t.left>=(u.left+u.right)/2?1:0));continue}}!n&&(t.left>=u.right&&t.top>=u.top||t.left>=u.left&&t.top>=u.bottom)&&(r=c+1)}}return n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,i=document.createRange();for(let o=0;o<n;o++){i.setEnd(e,o+1),i.setStart(e,o);let n=qn(i,1);if(n.top!=n.bottom&&Un(t,n))return{node:e,offset:o+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,i):!n||o&&1==n.nodeType?{node:e,offset:r}:Bn(n,i)}function Un(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function $n(e,t,n){let i=e.childNodes.length;if(i&&n.top<n.bottom)for(let o=Math.max(0,Math.min(i-1,Math.floor(i*(t.top-n.top)/(n.bottom-n.top))-2)),r=o;;){let n=e.childNodes[r];if(1==n.nodeType){let e=n.getClientRects();for(let i=0;i<e.length;i++){let o=e[i];if(Un(t,o))return $n(n,t,o)}}if((r=(r+1)%i)==o)break}return e}function Hn(e,t){let n,i=e.dom.ownerDocument,o=0;if(i.caretPositionFromPoint)try{let e=i.caretPositionFromPoint(t.left,t.top);e&&({offsetNode:n,offset:o}=e)}catch(e){}if(!n&&i.caretRangeFromPoint){let e=i.caretRangeFromPoint(t.left,t.top);e&&({startContainer:n,startOffset:o}=e)}let r,s=(e.root.elementFromPoint?e.root:i).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){let n=e.dom.getBoundingClientRect();if(!Un(t,n))return null;if(s=$n(e.dom,t,n),!s)return null}if(gn)for(let e=s;n&&e;e=En(e))e.draggable&&(n=void 0);if(s=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(dn&&1==n.nodeType&&(o=Math.min(o,n.childNodes.length),o<n.childNodes.length)){let e,i=n.childNodes[o];"IMG"==i.nodeName&&(e=i.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&o++}n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?r=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(r=function(e,t,n,i){let o=-1;for(let n=t;n!=e.dom;){let t=e.docView.nearestDesc(n,!0);if(!t)return null;if(t.node.isBlock&&t.parent){let e=t.dom.getBoundingClientRect();if(e.left>i.left||e.top>i.top)o=t.posBefore;else{if(!(e.right<i.left||e.bottom<i.top))break;o=t.posAfter}}n=t.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,1)}(e,n,o,t))}null==r&&(r=function(e,t,n){let{node:i,offset:o}=Bn(t,n),r=-1;if(1==i.nodeType&&!i.firstChild){let e=i.getBoundingClientRect();r=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(i,o,r)}(e,s,t));let a=e.docView.nearestDesc(s,!0);return{pos:r,inside:a?a.posAtStart-a.border:-1}}function qn(e,t){let n=e.getClientRects();return n.length?n[t<0?0:n.length-1]:e.getBoundingClientRect()}const Vn=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Wn(e,t,n){let{node:i,offset:o,atom:r}=e.docView.domFromPos(t,n<0?-1:1),s=xn||dn;if(3==i.nodeType){if(!s||!Vn.test(i.nodeValue)&&(n<0?o:o!=i.nodeValue.length)){let e=o,t=o,r=n<0?1:-1;return n<0&&!o?(t++,r=-1):n>=0&&o==i.nodeValue.length?(e--,r=1):n<0?e--:t++,Kn(qn(Mn(i,e,t),1),r<0)}{let e=qn(Mn(i,o,o),n);if(dn&&o&&/\s/.test(i.nodeValue[o-1])&&o<i.nodeValue.length){let t=qn(Mn(i,o-1,o-1),-1);if(t.top==e.top){let n=qn(Mn(i,o,o+1),-1);if(n.top!=e.top)return Kn(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(r||0)).parent.inlineContent){if(null==r&&o&&(n<0||o==Tn(i))){let e=i.childNodes[o-1];if(1==e.nodeType)return Yn(e.getBoundingClientRect(),!1)}if(null==r&&o<Tn(i)){let e=i.childNodes[o];if(1==e.nodeType)return Yn(e.getBoundingClientRect(),!0)}return Yn(i.getBoundingClientRect(),n>=0)}if(null==r&&o&&(n<0||o==Tn(i))){let e=i.childNodes[o-1],t=3==e.nodeType?Mn(e,Tn(e)-(s?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return Kn(qn(t,1),!1)}if(null==r&&o<Tn(i)){let e=i.childNodes[o];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?Mn(e,0,s?0:1):1==e.nodeType?e:null:null;if(t)return Kn(qn(t,-1),!0)}return Kn(qn(3==i.nodeType?Mn(i):i,-n),n>=0)}function Kn(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 Yn(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 Qn(e,t,n){let i=e.state,o=e.root.activeElement;i!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{i!=t&&e.updateState(i),o!=e.dom&&o&&o.focus()}}const Gn=/[\u0590-\u08ac]/;let Jn=null,Zn=null,Xn=!1;function ei(e,t,n){return Jn==t&&Zn==n?Xn:(Jn=t,Zn=n,Xn="up"==n||"down"==n?function(e,t,n){let i=t.selection,o="up"==n?i.$from:i.$to;return Qn(e,t,(()=>{let{node:t}=e.docView.domFromPos(o.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.dom;break}t=n.dom.parentNode}let i=Wn(e,o.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=Mn(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let o=t[e];if(o.bottom>o.top+1&&("up"==n?i.top-o.top>2*(o.bottom-i.top):o.bottom-i.bottom>2*(i.bottom-o.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:i}=t.selection;if(!i.parent.isTextblock)return!1;let o=i.parentOffset,r=!o,s=o==i.parent.content.size,a=e.domSelection();return Gn.test(i.parent.textContent)&&a.modify?Qn(e,t,(()=>{let t=a.getRangeAt(0),o=a.focusNode,r=a.focusOffset,s=a.caretBidiLevel;a.modify("move",n,"character");let l=!(i.depth?e.docView.domAfterPos(i.before()):e.dom).contains(1==a.focusNode.nodeType?a.focusNode:a.focusNode.parentNode)||o==a.focusNode&&r==a.focusOffset;return a.removeAllRanges(),a.addRange(t),null!=s&&(a.caretBidiLevel=s),l})):"left"==n||"backward"==n?r:s}(e,t,n))}const ti=0,ni=1,ii=2,oi=3;class ri{constructor(e,t,n,i){this.parent=e,this.children=t,this.dom=n,this.contentDOM=i,this.dirty=ti,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 i=this.children[t];if(i==e)return n;n+=i.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,i;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(i=n.pmViewDesc)||i.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(i)+i.size:this.posAtStart}{let n,i;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(i=n.pmViewDesc)||i.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(i):this.posAtEnd}}let i;if(e==this.dom&&this.contentDOM)i=t>kn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){i=!1;break}if(t.previousSibling)break}if(null==i&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){i=!0;break}if(t.nextSibling)break}}return(null==i?n>0:i)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,i=e;i;i=i.parentNode){let o,r=this.getDesc(i);if(r&&(!t||r.node)){if(!n||!(o=r.nodeDOM)||(1==o.nodeType?o.contains(1==e.nodeType?e:e.parentNode):o==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 i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let i=this.children[t],o=n+i.size;if(n==e&&o!=n){for(;!i.border&&i.children.length;)i=i.children[0];return i}if(e<o)return i.descAt(e-n-i.border);n=o}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n,i=0,o=0;for(let t=0;i<this.children.length;i++){let n=this.children[i],r=t+n.size;if(r>e||n instanceof di){o=e-t;break}t=r}if(o)return this.children[i].domFromPos(o-this.children[i].border,t);for(;i&&!(n=this.children[i-1]).size&&n instanceof si&&n.side>=0;i--);if(t<=0){let e,n=!0;for(;e=i?this.children[i-1]:null,e&&e.dom.parentNode!=this.contentDOM;i--,n=!1);return e&&t&&n&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?kn(e.dom)+1:0}}{let e,n=!0;for(;e=i<this.children.length?this.children[i]:null,e&&e.dom.parentNode!=this.contentDOM;i++,n=!1);return e&&n&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?kn(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 i=-1,o=-1;for(let r=n,s=0;;s++){let n=this.children[s],a=r+n.size;if(-1==i&&e<=a){let o=r+n.border;if(e>=o&&t<=a-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,o);e=r;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){i=kn(n.dom)+1;break}e-=n.size}-1==i&&(i=0)}if(i>-1&&(a>t||s==this.children.length-1)){t=a;for(let e=s+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){o=kn(n.dom);break}t+=n.size}-1==o&&(o=this.contentDOM.childNodes.length);break}r=a}return{node:this.contentDOM,from:e,to:t,fromOffset:i,toOffset:o}}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,i=!1){let o=Math.min(e,t),r=Math.max(e,t);for(let s=0,a=0;s<this.children.length;s++){let l=this.children[s],c=a+l.size;if(o>a&&r<c)return l.setSelection(e-a-l.border,t-a-l.border,n,i);a=c}let s=this.domFromPos(e,e?-1:1),a=t==e?s:this.domFromPos(t,t?-1:1),l=n.getSelection(),c=!1;if((dn||gn)&&e==t){let{node:e,offset:t}=s;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&&(s=a={node:t.parentNode,offset:kn(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(dn&&l.focusNode&&l.focusNode!=a.node&&1==l.focusNode.nodeType){let e=l.focusNode.childNodes[l.focusOffset];e&&"false"==e.contentEditable&&(i=!0)}if(!(i||c&&gn)&&Cn(s.node,s.offset,l.anchorNode,l.anchorOffset)&&Cn(a.node,a.offset,l.focusNode,l.focusOffset))return;let p=!1;if((l.extend||e==t)&&!c){l.collapse(s.node,s.offset);try{if(e!=t)try{l.extend(a.node,a.offset)}catch(e){}p=!0}catch(e){if(!(e instanceof DOMException))throw e}}if(!p){if(e>t){let e=s;s=a,a=e}let n=document.createRange();n.setEnd(a.node,a.offset),n.setStart(s.node,s.offset),l.removeAllRanges(),l.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,i=0;i<this.children.length;i++){let o=this.children[i],r=n+o.size;if(n==r?e<=r&&t>=n:e<r&&t>n){let i=n+o.border,s=r-o.border;if(e>=i&&t<=s)return this.dirty=e==n||t==r?ii:ni,void(e!=i||t!=s||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-i,t-i):o.dirty=oi);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?oi:ii}n=r}this.dirty=ii}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?ii:ni;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class si extends ri{constructor(e,t,n,i){let o,r=t.type.toDOM;if("function"==typeof r&&(r=r(n,(()=>o?o.parent?o.parent.posBeforeChild(o):void 0:i))),!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,o=this}matchesWidget(e){return this.dirty==ti&&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 side(){return this.widget.type.side}}class ai extends ri{constructor(e,t,n,i){super(e,[],t,null),this.textDOM=n,this.text=i}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 li extends ri{constructor(e,t,n,i){super(e,[],n,i),this.mark=t}static create(e,t,n,i){let o=i.nodeViews[t.type.name],r=o&&o(t,i,n);return r&&r.dom||(r=Fe.renderSpec(document,t.type.spec.toDOM(t,n))),new li(e,t,r.dom,r.contentDOM||r.dom)}parseRule(){return this.dirty&oi||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(e){return this.dirty!=oi&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=ti){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=ti}}slice(e,t,n){let i=li.create(this.parent,this.mark,!0,n),o=this.children,r=this.size;t<r&&(o=Mi(o,t,r,n)),e>0&&(o=Mi(o,0,e,n));for(let e=0;e<o.length;e++)o[e].parent=i;return i.children=o,i}}class ci extends ri{constructor(e,t,n,i,o,r,s,a,l){super(e,[],o,r),this.node=t,this.outerDeco=n,this.innerDeco=i,this.nodeDOM=s,r&&this.updateChildren(a,l)}static create(e,t,n,i,o,r){let s,a=o.nodeViews[t.type.name],l=a&&a(t,o,(()=>s?s.parent?s.parent.posBeforeChild(s):void 0:r),n,i),c=l&&l.dom,p=l&&l.contentDOM;if(t.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(t.text);else c||({dom:c,contentDOM:p}=Fe.renderSpec(document,t.type.spec.toDOM(t)));p||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0));let u=c;return c=xi(c,n,t),l?s=new hi(e,t,n,i,c,p||null,u,l,o,r+1):t.isText?new ui(e,t,n,i,c,u,o):new ci(e,t,n,i,c,p||null,u,o,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=()=>z.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return this.dirty==ti&&e.eq(this.node)&&wi(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,i=t,o=e.composing?this.localCompositionInfo(e,t):null,r=o&&o.pos>-1?o:null,s=o&&o.pos<0,a=new Ei(this,r&&r.node,e);!function(e,t,n,i){let o=t.locals(e),r=0;if(0==o.length){for(let n=0;n<e.childCount;n++){let s=e.child(n);i(s,o,t.forChild(r,s),n),r+=s.nodeSize}return}let s=0,a=[],l=null;for(let c=0;;){if(s<o.length&&o[s].to==r){let e,t=o[s++];for(;s<o.length&&o[s].to==r;)(e||(e=[t])).push(o[s++]);if(e){e.sort(_i);for(let t=0;t<e.length;t++)n(e[t],c,!!l)}else n(t,c,!!l)}let p,u;if(l)u=-1,p=l,l=null;else{if(!(c<e.childCount))break;u=c,p=e.child(c++)}for(let e=0;e<a.length;e++)a[e].to<=r&&a.splice(e--,1);for(;s<o.length&&o[s].from<=r&&o[s].to>r;)a.push(o[s++]);let d=r+p.nodeSize;if(p.isText){let e=d;s<o.length&&o[s].from<e&&(e=o[s].from);for(let t=0;t<a.length;t++)a[t].to<e&&(e=a[t].to);e<d&&(l=p.cut(e-r),p=p.cut(0,e-r),d=e,u=-1)}let h=p.isInline&&!p.isLeaf?a.filter((e=>!e.inline)):a.slice();i(p,h,t.forChild(r,p),u),r=d}}(this.node,this.innerDeco,((t,o,r)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!r&&a.syncToMarks(o==this.node.childCount?P.none:this.node.child(o).marks,n,e),a.placeWidget(t,e,i)}),((t,r,l,c)=>{let p;a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,r,l,c)||s&&e.state.selection.from>i&&e.state.selection.to<i+t.nodeSize&&(p=a.findIndexWithChild(o.node))>-1&&a.updateNodeAt(t,r,l,p,e)||a.updateNextNode(t,r,l,e,c)||a.addNode(t,r,l,e,i),i+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==ii)&&(r&&this.protectLocalComposition(e,r),mi(this.contentDOM,this.children,e),bn&&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:i}=e.state.selection;if(!(e.state.selection instanceof zt)||n<t||i>t+this.node.content.size)return null;let o=e.domSelection(),r=function(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];t=Tn(e=e.childNodes[t-1])}else{if(!(1==e.nodeType&&t<e.childNodes.length))return null;e=e.childNodes[t],t=0}}}(o.focusNode,o.focusOffset);if(!r||!this.dom.contains(r.parentNode))return null;if(this.node.inlineContent){let e=r.nodeValue,o=function(e,t,n,i){for(let o=0,r=0;o<e.childCount&&r<=i;){let s=e.child(o++),a=r;if(r+=s.nodeSize,!s.isText)continue;let l=s.text;for(;o<e.childCount;){let t=e.child(o++);if(r+=t.nodeSize,!t.isText)break;l+=t.text}if(r>=n){let e=a<i?l.lastIndexOf(t,i-a-1):-1;if(e>=0&&e+t.length+a>=n)return a+e;if(n==i&&l.length>=i+t.length-a&&l.slice(i-a,i-a+t.length)==t)return i}}return-1}(this.node.content,e,n-t,i-t);return o<0?null:{node:r,pos:o,text:e}}return{node:r,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:i}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let r=new ai(this,o,t,i);e.input.compositionNodes.push(r),this.children=Mi(this.children,n,n+i.length,e,r)}update(e,t,n,i){return!(this.dirty==oi||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,i),!0)}updateInner(e,t,n,i){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=ti}updateOuterDeco(e){if(wi(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=vi(this.dom,this.nodeDOM,bi(this.outerDeco,this.node,t),bi(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 pi(e,t,n,i,o){return xi(i,t,e),new ci(void 0,e,t,n,i,i,i,o,0)}class ui extends ci{constructor(e,t,n,i,o,r,s){super(e,t,n,i,o,null,r,s,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,i){return!(this.dirty==oi||this.dirty!=ti&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),this.dirty==ti&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=ti,!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 i=this.node.cut(e,t),o=document.createTextNode(i.text);return new ui(this.parent,i,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=oi)}get domAtom(){return!1}}class di extends ri{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==ti&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class hi extends ci{constructor(e,t,n,i,o,r,s,a,l,c){super(e,t,n,i,o,r,s,l,c),this.spec=a}update(e,t,n,i){if(this.dirty==oi)return!1;if(this.spec.update){let o=this.spec.update(e,t,n);return o&&this.updateInner(e,t,n,i),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,i){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,i)}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 mi(e,t,n){let i=e.firstChild,o=!1;for(let r=0;r<t.length;r++){let s=t[r],a=s.dom;if(a.parentNode==e){for(;a!=i;)i=ki(i),o=!0;i=i.nextSibling}else o=!0,e.insertBefore(a,i);if(s instanceof li){let t=i?i.previousSibling:e.lastChild;mi(s.contentDOM,s.children,n),i=t?t.nextSibling:e.firstChild}}for(;i;)i=ki(i),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}const fi=function(e){e&&(this.nodeName=e)};fi.prototype=Object.create(null);const gi=[new fi];function bi(e,t,n){if(0==e.length)return gi;let i=n?gi[0]:new fi,o=[i];for(let r=0;r<e.length;r++){let s=e[r].type.attrs;if(s){s.nodeName&&o.push(i=new fi(s.nodeName));for(let e in s){let r=s[e];null!=r&&(n&&1==o.length&&o.push(i=new fi(t.isInline?"span":"div")),"class"==e?i.class=(i.class?i.class+" ":"")+r:"style"==e?i.style=(i.style?i.style+";":"")+r:"nodeName"!=e&&(i[e]=r))}}}return o}function vi(e,t,n,i){if(n==gi&&i==gi)return t;let o=t;for(let t=0;t<i.length;t++){let r=i[t],s=n[t];if(t){let t;s&&s.nodeName==r.nodeName&&o!=e&&(t=o.parentNode)&&t.nodeName.toLowerCase()==r.nodeName||(t=document.createElement(r.nodeName),t.pmIsDeco=!0,t.appendChild(o),s=gi[0]),o=t}yi(o,s||gi[0],r)}return o}function yi(e,t,n){for(let i in t)"class"==i||"style"==i||"nodeName"==i||i in n||e.removeAttribute(i);for(let i in n)"class"!=i&&"style"!=i&&"nodeName"!=i&&n[i]!=t[i]&&e.setAttribute(i,n[i]);if(t.class!=n.class){let i=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<i.length;t++)-1==o.indexOf(i[t])&&e.classList.remove(i[t]);for(let t=0;t<o.length;t++)-1==i.indexOf(o[t])&&e.classList.add(o[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,i=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=i.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function xi(e,t,n){return vi(e,e,gi,bi(t,n,1!=e.nodeType))}function wi(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 ki(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class Ei{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,i=n.children.length,o=e.childCount,r=new Map,s=[];e:for(;o>0;){let a;for(;;)if(i){let e=n.children[i-1];if(!(e instanceof li)){a=e,i--;break}n=e,i=e.children.length}else{if(n==t)break e;i=n.parent.children.indexOf(n),n=n.parent}let l=a.node;if(l){if(l!=e.child(o-1))break;--o,r.set(a,o),s.push(a)}}return{index:o,matched:r,matches:s.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 i=0,o=this.stack.length>>1,r=Math.min(o,e.length);for(;i<r&&(i==o-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&!1!==e[i].type.spec.spanning;)i++;for(;i<o;)this.destroyRest(),this.top.dirty=ti,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let i=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++)if(this.top.children[t].matchesMark(e[o])){i=t;break}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let i=li.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,i),this.top=i,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,i){let o,r=-1;if(i>=this.preMatch.index&&(o=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,n))r=this.top.children.indexOf(o,this.index);else for(let i=this.index,o=Math.min(this.top.children.length,i+5);i<o;i++){let o=this.top.children[i];if(o.matchesNode(e,t,n)&&!this.preMatch.matched.has(o)){r=i;break}}return!(r<0)&&(this.destroyBetween(this.index,r),this.index++,!0)}updateNodeAt(e,t,n,i,o){let r=this.top.children[i];return r.dirty==oi&&r.dom==r.contentDOM&&(r.dirty=ii),!!r.update(e,t,n,o)&&(this.destroyBetween(this.index,i),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,i,o){for(let r=this.index;r<this.top.children.length;r++){let s=this.top.children[r];if(s instanceof ci){let a=this.preMatch.matched.get(s);if(null!=a&&a!=o)return!1;let l=s.dom;if(!(this.lock&&(l==this.lock||1==l.nodeType&&l.contains(this.lock.parentNode))&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&s.dirty!=oi&&wi(t,s.outerDeco)))&&s.update(e,t,n,i))return this.destroyBetween(this.index,r),s.dom!=l&&(this.changed=!0),this.index++,!0;break}}return!1}addNode(e,t,n,i,o){this.top.children.splice(this.index++,0,ci.create(this.top,e,t,n,i,o)),this.changed=!0}placeWidget(e,t,n){let i=this.index<this.top.children.length?this.top.children[this.index]:null;if(!i||!i.matchesWidget(e)||e!=i.widget&&i.widget.type.toDOM.parentNode){let i=new si(this.top,e,t,n);this.top.children.splice(this.index++,0,i),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof li;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof ui)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((gn||mn)&&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 i=new di(this.top,[],n,null);t!=this.top?t.children.push(i):t.children.splice(this.index++,0,i),this.changed=!0}}}function _i(e,t){return e.type.side-t.type.side}function Mi(e,t,n,i,o){let r=[];for(let s=0,a=0;s<e.length;s++){let l=e[s],c=a,p=a+=l.size;c>=n||p<=t?r.push(l):(c<t&&r.push(l.slice(0,t-c,i)),o&&(r.push(o),o=void 0),p>n&&r.push(l.slice(n-c,l.size,i)))}return r}function Ci(e,t=null){let n=e.domSelection(),i=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),r=o&&0==o.size,s=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(s<0)return null;let a,l,c=i.resolve(s);if(Sn(n)){for(a=c;o&&!o.node;)o=o.parent;let e=o.node;if(o&&e.isAtom&&Rt.isSelectable(e)&&o.parent&&(!e.isInline||!function(e,t,n){for(let i=0==t,o=t==Tn(e);i||o;){if(e==n)return!0;let t=kn(e);if(!(e=e.parentNode))return!1;i=i&&0==t,o=o&&t==Tn(e)}}(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore;l=new Rt(s==e?c:i.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(t<0)return null;a=i.resolve(t)}if(!l){l=zi(e,a,c,"pointer"==t||e.state.selection.head<c.pos&&!r?1:-1)}return l}function Di(e){return e.editable?e.hasFocus():Ri(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Oi(e,t=!1){let n=e.state.selection;if(ji(e,n),Di(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&mn){let t=e.domSelection(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&Cn(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(),i=e.cursorWrapper.dom,o="IMG"==i.nodeName;o?n.setEnd(i.parentNode,kn(i)+1):n.setEnd(i,0);n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&pn&&un<=11&&(i.disabled=!0,i.disabled=!1)}(e);else{let i,o,{anchor:r,head:s}=n;!Ti||n instanceof zt||(n.$from.parent.inlineContent||(i=Ni(e,n.from)),n.empty||n.$from.parent.inlineContent||(o=Ni(e,n.to))),e.docView.setSelection(r,s,e.root,t),Ti&&(i&&Ai(i),o&&Ai(o)),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.domSelection(),i=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==i&&n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{Di(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Ti=gn||mn&&fn<63;function Ni(e,t){let{node:n,offset:i}=e.docView.domFromPos(t,0),o=i<n.childNodes.length?n.childNodes[i]:null,r=i?n.childNodes[i-1]:null;if(gn&&o&&"false"==o.contentEditable)return Si(o);if(!(o&&"false"!=o.contentEditable||r&&"false"!=r.contentEditable)){if(o)return Si(o);if(r)return Si(r)}}function Si(e){return e.contentEditable="true",gn&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Ai(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function ji(e,t){if(t instanceof Rt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ii(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ii(e)}function Ii(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function zi(e,t,n,i){return e.someProp("createSelectionBetween",(i=>i(e,t,n)))||zt.between(t,n,i)}function Li(e){return!(e.editable&&!e.hasFocus())&&Ri(e)}function Ri(e){let t=e.domSelection();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(e){return!1}}function Fi(e,t){let{$anchor:n,$head:i}=e.selection,o=t>0?n.max(i):n.min(i),r=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return r&&St.findFrom(r,t)}function Pi(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Bi(e,t,n){let i=e.state.selection;if(!(i instanceof zt)){if(i instanceof Rt&&i.node.isInline)return Pi(e,new zt(t>0?i.$to:i.$from));{let n=Fi(e.state,t);return!!n&&Pi(e,n)}}if(!i.empty||n.indexOf("s")>-1)return!1;if(e.endOfTextblock(t>0?"right":"left")){let n=Fi(e.state,t);return!!(n&&n instanceof Rt)&&Pi(e,n)}if(!(vn&&n.indexOf("m")>-1)){let n,o=i.$head,r=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!r||r.isText)return!1;let s=t<0?o.pos-r.nodeSize:o.pos;return!!(r.isAtom||(n=e.docView.descAt(s))&&!n.contentDOM)&&(Rt.isSelectable(r)?Pi(e,new Rt(t<0?e.state.doc.resolve(o.pos-r.nodeSize):o)):!!xn&&Pi(e,new zt(e.state.doc.resolve(t<0?s:s+r.nodeSize))))}}function Ui(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function $i(e){let t=e.pmViewDesc;return t&&0==t.size&&(e.nextSibling||"BR"!=e.nodeName)}function Hi(e){let t=e.domSelection(),n=t.focusNode,i=t.focusOffset;if(!n)return;let o,r,s=!1;for(dn&&1==n.nodeType&&i<Ui(n)&&$i(n.childNodes[i])&&(s=!0);;)if(i>0){if(1!=n.nodeType)break;{let e=n.childNodes[i-1];if($i(e))o=n,r=--i;else{if(3!=e.nodeType)break;n=e,i=n.nodeValue.length}}}else{if(Vi(n))break;{let t=n.previousSibling;for(;t&&$i(t);)o=n.parentNode,r=kn(t),t=t.previousSibling;if(t)n=t,i=Ui(n);else{if(n=n.parentNode,n==e.dom)break;i=0}}}s?Wi(e,t,n,i):o&&Wi(e,t,o,r)}function qi(e){let t=e.domSelection(),n=t.focusNode,i=t.focusOffset;if(!n)return;let o,r,s=Ui(n);for(;;)if(i<s){if(1!=n.nodeType)break;if(!$i(n.childNodes[i]))break;o=n,r=++i}else{if(Vi(n))break;{let t=n.nextSibling;for(;t&&$i(t);)o=t.parentNode,r=kn(t)+1,t=t.nextSibling;if(t)n=t,i=0,s=Ui(n);else{if(n=n.parentNode,n==e.dom)break;i=s=0}}}o&&Wi(e,t,o,r)}function Vi(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Wi(e,t,n,i){if(Sn(t)){let e=document.createRange();e.setEnd(n,i),e.setStart(n,i),t.removeAllRanges(),t.addRange(e)}else t.extend&&t.extend(n,i);e.domObserver.setCurSelection();let{state:o}=e;setTimeout((()=>{e.state==o&&Oi(e)}),50)}function Ki(e,t,n){let i=e.state.selection;if(i instanceof zt&&!i.empty||n.indexOf("s")>-1)return!1;if(vn&&n.indexOf("m")>-1)return!1;let{$from:o,$to:r}=i;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Fi(e.state,t);if(n&&n instanceof Rt)return Pi(e,n)}if(!o.parent.inlineContent){let n=t<0?o:r,s=i instanceof Pt?St.near(n,t):St.findFrom(n,t);return!!s&&Pi(e,s)}return!1}function Yi(e,t){if(!(e.state.selection instanceof zt))return!0;let{$head:n,$anchor:i,empty:o}=e.state.selection;if(!n.sameParent(i))return!0;if(!o)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 i=e.state.tr;return t<0?i.delete(n.pos-r.nodeSize,n.pos):i.delete(n.pos,n.pos+r.nodeSize),e.dispatch(i),!0}return!1}function Qi(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Gi(e,t){let n=t.keyCode,i=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);return 8==n||vn&&72==n&&"c"==i?Yi(e,-1)||Hi(e):46==n||vn&&68==n&&"c"==i?Yi(e,1)||qi(e):13==n||27==n||(37==n||vn&&66==n&&"c"==i?Bi(e,-1,i)||Hi(e):39==n||vn&&70==n&&"c"==i?Bi(e,1,i)||qi(e):38==n||vn&&80==n&&"c"==i?Ki(e,-1,i)||Hi(e):40==n||vn&&78==n&&"c"==i?function(e){if(!gn||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelection();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;Qi(e,n,"true"),setTimeout((()=>Qi(e,n,"false")),20)}return!1}(e)||Ki(e,1,i)||qi(e):i==(vn?"m":"c")&&(66==n||73==n||89==n||90==n))}function Ji(e,t){e.someProp("transformCopied",(e=>{t=e(t)}));let n=[],{content:i,openStart:o,openEnd:r}=t;for(;o>1&&r>1&&1==i.childCount&&1==i.firstChild.childCount;){o--,r--;let e=i.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),i=e.content}let s=e.someProp("clipboardSerializer")||Fe.fromSchema(e.state.schema),a=ao(),l=a.createElement("div");l.appendChild(s.serializeFragment(i,{document:a}));let c,p=l.firstChild,u=0;for(;p&&1==p.nodeType&&(c=ro[p.nodeName.toLowerCase()]);){for(let e=c.length-1;e>=0;e--){let t=a.createElement(c[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),u++}p=l.firstChild}p&&1==p.nodeType&&p.setAttribute("data-pm-slice",`${o} ${r}${u?` -${u}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",(e=>e(t)))||t.content.textBetween(0,t.content.size,"\n\n");return{dom:l,text:d}}function Zi(e,t,n,i,o){let r,s,a=o.parent.type.spec.code;if(!n&&!t)return null;let l=t&&(i||a||!n);if(l){if(e.someProp("transformPastedText",(e=>{t=e(t,a||i)})),a)return t?new U(z.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):U.empty;let n=e.someProp("clipboardTextParser",(e=>e(t,o,i)));if(n)s=n;else{let n=o.marks(),{schema:i}=e.state,s=Fe.fromSchema(i);r=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=r.appendChild(document.createElement("p"));e&&t.appendChild(s.serializeNode(i.text(e,n)))}))}}else e.someProp("transformPastedHTML",(e=>{n=e(n)})),r=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,i=ao().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e);(n=o&&ro[o[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join(""));if(i.innerHTML=e,n)for(let e=0;e<n.length;e++)i=i.querySelector(n[e])||i;return i}(n),xn&&function(e){let t=e.querySelectorAll(mn?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let i=t[n];1==i.childNodes.length&&" "==i.textContent&&i.parentNode&&i.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),i)}}(r);let c=r&&r.querySelector("[data-pm-slice]"),p=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let e=+p[3];e>0&&r.firstChild;e--)r=r.firstChild;if(!s){let t=e.someProp("clipboardParser")||e.someProp("domParser")||Me.fromSchema(e.state.schema);s=t.parseSlice(r,{preserveWhitespace:!(!l&&!p),context:o,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||Xi.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(p)s=function(e,t){if(!e.size)return e;let n,i=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}let{content:o,openStart:r,openEnd:s}=e;for(let e=n.length-2;e>=0;e-=2){let t=i.nodes[n[e]];if(!t||t.hasRequiredAttrs())break;o=z.from(t.create(n[e+1],o)),r++,s++}return new U(o,r,s)}(oo(s,+p[1],+p[2]),p[4]);else if(s=U.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i,o=t.node(n).contentMatchAt(t.index(n)),r=[];if(e.forEach((e=>{if(!r)return;let t,n=o.findWrapping(e.type);if(!n)return r=null;if(t=r.length&&i.length&&to(n,i,e,r[r.length-1],0))r[r.length-1]=t;else{r.length&&(r[r.length-1]=no(r[r.length-1],i.length));let t=eo(e,n);r.push(t),o=o.matchType(t.type),i=n}})),r)return z.from(r)}return e}(s.content,o),!0),s.openStart||s.openEnd){let e=0,t=0;for(let t=s.content.firstChild;e<s.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=s.content.lastChild;t<s.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);s=oo(s,e,t)}return e.someProp("transformPasted",(e=>{s=e(s)})),s}const Xi=/^(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 eo(e,t,n=0){for(let i=t.length-1;i>=n;i--)e=t[i].create(null,z.from(e));return e}function to(e,t,n,i,o){if(o<e.length&&o<t.length&&e[o]==t[o]){let r=to(e,t,n,i.lastChild,o+1);if(r)return i.copy(i.content.replaceChild(i.childCount-1,r));if(i.contentMatchAt(i.childCount).matchType(o==e.length-1?n.type:e[o+1]))return i.copy(i.content.append(z.from(eo(n,e,o+1))))}}function no(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,no(e.lastChild,t-1)),i=e.contentMatchAt(e.childCount).fillBefore(z.empty,!0);return e.copy(n.append(i))}function io(e,t,n,i,o,r){let s=t<0?e.firstChild:e.lastChild,a=s.content;return o<i-1&&(a=io(a,t,n,i,o+1,r)),o>=n&&(a=t<0?s.contentMatchAt(0).fillBefore(a,e.childCount>1||r<=o).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(z.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(a))}function oo(e,t,n){return t<e.openStart&&(e=new U(io(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new U(io(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const ro={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 so=null;function ao(){return so||(so=document.implementation.createHTMLDocument("title"))}const lo={},co={},po={touchstart:!0,touchmove:!0};class uo{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function ho(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function mo(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>fo(e,t))}))}function fo(e,t){return e.someProp("handleDOMEvents",(n=>{let i=n[t.type];return!!i&&(i(e,t)||t.defaultPrevented)}))}function go(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 bo(e){return{left:e.clientX,top:e.clientY}}function vo(e,t,n,i,o){if(-1==i)return!1;let r=e.state.doc.resolve(i);for(let i=r.depth+1;i>0;i--)if(e.someProp(t,(t=>i>r.depth?t(e,n,r.nodeAfter,r.before(i),o,!0):t(e,n,r.node(i),r.before(i),o,!1))))return!0;return!1}function yo(e,t,n){e.focused||e.focus();let i=e.state.tr.setSelection(t);"pointer"==n&&i.setMeta("pointer",!0),e.dispatch(i)}function xo(e,t,n,i,o){return vo(e,"handleClickOn",t,n,i)||e.someProp("handleClick",(n=>n(e,t,i)))||(o?function(e,t){if(-1==t)return!1;let n,i,o=e.state.selection;o instanceof Rt&&(n=o.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(Rt.isSelectable(t)){i=n&&o.$from.depth>0&&e>=o.$from.depth&&r.before(o.$from.depth+1)==o.$from.pos?r.before(o.$from.depth):r.before(e);break}}return null!=i&&(yo(e,Rt.create(e.state.doc,i),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),i=n.nodeAfter;return!!(i&&i.isAtom&&Rt.isSelectable(i))&&(yo(e,new Rt(n),"pointer"),!0)}(e,n))}function wo(e,t,n,i){return vo(e,"handleDoubleClickOn",t,n,i)||e.someProp("handleDoubleClick",(n=>n(e,t,i)))}function ko(e,t,n,i){return vo(e,"handleTripleClickOn",t,n,i)||e.someProp("handleTripleClick",(n=>n(e,t,i)))||function(e,t,n){if(0!=n.button)return!1;let i=e.state.doc;if(-1==t)return!!i.inlineContent&&(yo(e,zt.create(i,0,i.content.size),"pointer"),!0);let o=i.resolve(t);for(let t=o.depth+1;t>0;t--){let n=t>o.depth?o.nodeAfter:o.node(t),r=o.before(t);if(n.inlineContent)yo(e,zt.create(i,r+1,r+1+n.content.size),"pointer");else{if(!Rt.isSelectable(n))continue;yo(e,Rt.create(i,r),"pointer")}return!0}}(e,n,i)}function Eo(e){return No(e)}co.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!Co(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!yn||!mn||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!bn||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||Gi(e,n)?n.preventDefault():ho(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,An(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},co.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},co.keypress=(e,t)=>{let n=t;if(Co(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||vn&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let i=e.state.selection;if(!(i instanceof zt&&i.$from.sameParent(i.$to))){let t=String.fromCharCode(n.charCode);e.someProp("handleTextInput",(n=>n(e,i.$from.pos,i.$to.pos,t)))||e.dispatch(e.state.tr.insertText(t).scrollIntoView()),n.preventDefault()}};const _o=vn?"metaKey":"ctrlKey";lo.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let i=Eo(e),o=Date.now(),r="singleClick";o-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,i=t.y-e.clientY;return n*n+i*i<100}(n,e.input.lastClick)&&!n[_o]&&("singleClick"==e.input.lastClick.type?r="doubleClick":"doubleClick"==e.input.lastClick.type&&(r="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:r};let s=e.posAtCoords(bo(n));s&&("singleClick"==r?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Mo(e,s,n,!!i)):("doubleClick"==r?wo:ko)(e,s.pos,s.inside,n)?n.preventDefault():ho(e,"pointer"))};class Mo{constructor(e,t,n,i){let o,r;if(this.view=e,this.pos=t,this.event=n,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[_o],this.allowDefault=n.shiftKey,t.inside>-1)o=e.state.doc.nodeAt(t.inside),r=t.inside;else{let n=e.state.doc.resolve(t.pos);o=n.parent,r=n.depth?n.before():0}const s=i?null:n.target,a=s?e.docView.nearestDesc(s,!0):null;this.target=a?a.dom:null;let{selection:l}=e.state;(0==n.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||l instanceof Rt&&l.from<=r&&l.to>r)&&(this.mightDrag={node:o,pos:r,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!dn||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)),ho(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((()=>Oi(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(bo(e))),this.updateAllowDefault(e),this.allowDefault||!t?ho(this.view,"pointer"):xo(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||gn&&this.mightDrag&&!this.mightDrag.node.isAtom||mn&&!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)?(yo(this.view,St.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ho(this.view,"pointer")}move(e){this.updateAllowDefault(e),ho(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 Co(e,t){return!!e.composing||!!(gn&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}lo.touchstart=e=>{e.input.lastTouch=Date.now(),Eo(e),ho(e,"pointer")},lo.touchmove=e=>{e.input.lastTouch=Date.now(),ho(e,"pointer")},lo.contextmenu=e=>Eo(e);const Do=yn?5e3:-1;function Oo(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>No(e)),t))}function To(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 No(e,t=!1){if(!(yn&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),To(e),t||e.docView&&e.docView.dirty){let t=Ci(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}}co.compositionstart=co.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),No(e,!0),e.markCursor=null;else if(No(e),dn&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelection();for(let e=t.focusNode,n=t.focusOffset;e&&1==e.nodeType&&0!=n;){let i=n<0?e.lastChild:e.childNodes[n-1];if(!i)break;if(3==i.nodeType){t.collapse(i,i.nodeValue.length);break}e=i,n=-1}}e.input.composing=!0}Oo(e,Do)},co.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,Oo(e,20))};const So=pn&&un<15||bn&&wn<604;function Ao(e,t,n,i){let o=Zi(e,t,n,e.input.shiftKey,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,i,o||U.empty))))return!0;if(!o)return!1;let r=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(o),s=r?e.state.tr.replaceSelectionWith(r,e.input.shiftKey):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}lo.copy=co.cut=(e,t)=>{let n=t,i=e.state.selection,o="cut"==n.type;if(i.empty)return;let r=So?null:n.clipboardData,s=i.content(),{dom:a,text:l}=Ji(e,s);r?(n.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",l)):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 i=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),i.removeAllRanges(),i.addRange(o),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,a),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},co.paste=(e,t)=>{let n=t;if(e.composing&&!yn)return;let i=So?null:n.clipboardData;i&&Ao(e,i.getData("text/plain"),i.getData("text/html"),n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,i=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout((()=>{e.focus(),i.parentNode&&i.parentNode.removeChild(i),n?Ao(e,i.value,null,t):Ao(e,i.textContent,i.innerHTML,t)}),50)}(e,n)};class jo{constructor(e,t){this.slice=e,this.move=t}}const Io=vn?"altKey":"ctrlKey";lo.dragstart=(e,t)=>{let n=t,i=e.input.mouseDown;if(i&&i.done(),!n.dataTransfer)return;let o=e.state.selection,r=o.empty?null:e.posAtCoords(bo(n));if(r&&r.pos>=o.from&&r.pos<=(o instanceof Rt?o.to-1:o.to));else if(i&&i.mightDrag)e.dispatch(e.state.tr.setSelection(Rt.create(e.state.doc,i.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&&e.dispatch(e.state.tr.setSelection(Rt.create(e.state.doc,t.posBefore)))}let s=e.state.selection.content(),{dom:a,text:l}=Ji(e,s);n.dataTransfer.clearData(),n.dataTransfer.setData(So?"Text":"text/html",a.innerHTML),n.dataTransfer.effectAllowed="copyMove",So||n.dataTransfer.setData("text/plain",l),e.dragging=new jo(s,!n[Io])},lo.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},co.dragover=co.dragenter=(e,t)=>t.preventDefault(),co.drop=(e,t)=>{let n=t,i=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(bo(n));if(!o)return;let r=e.state.doc.resolve(o.pos),s=i&&i.slice;s?e.someProp("transformPasted",(e=>{s=e(s)})):s=Zi(e,n.dataTransfer.getData(So?"Text":"text/plain"),So?null:n.dataTransfer.getData("text/html"),!1,r);let a=!(!i||n[Io]);if(e.someProp("handleDrop",(t=>t(e,n,s||U.empty,a))))return void n.preventDefault();if(!s)return;n.preventDefault();let l=s?ft(e.state.doc,r.pos,s):r.pos;null==l&&(l=r.pos);let c=e.state.tr;a&&c.deleteSelection();let p=c.mapping.map(l),u=0==s.openStart&&0==s.openEnd&&1==s.content.childCount,d=c.doc;if(u?c.replaceRangeWith(p,p,s.content.firstChild):c.replaceRange(p,p,s),c.doc.eq(d))return;let h=c.doc.resolve(p);if(u&&Rt.isSelectable(s.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new Rt(h));else{let t=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach(((e,n,i,o)=>t=o)),c.setSelection(zi(e,h,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))},lo.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.domSelection())&&Oi(e)}),20))},lo.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)},lo.beforeinput=(e,t)=>{if(mn&&yn&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,An(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 co)lo[e]=co[e];function zo(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 Lo{constructor(e,t){this.toDOM=e,this.spec=t||Uo,this.side=this.spec.side||0}map(e,t,n,i){let{pos:o,deleted:r}=e.mapResult(t.from+i,this.side<0?-1:1);return r?null:new Po(o-n,o-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Lo&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&zo(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ro{constructor(e,t){this.attrs=e,this.spec=t||Uo}map(e,t,n,i){let o=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-n,r=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-n;return o>=r?null:new Po(o,r,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Ro&&zo(this.attrs,e.attrs)&&zo(this.spec,e.spec)}static is(e){return e.type instanceof Ro}destroy(){}}class Fo{constructor(e,t){this.attrs=e,this.spec=t||Uo}map(e,t,n,i){let o=e.mapResult(t.from+i,1);if(o.deleted)return null;let r=e.mapResult(t.to+i,-1);return r.deleted||r.pos<=o.pos?null:new Po(o.pos-n,r.pos-n,this)}valid(e,t){let n,{index:i,offset:o}=e.content.findIndex(t.from);return o==t.from&&!(n=e.child(i)).isText&&o+n.nodeSize==t.to}eq(e){return this==e||e instanceof Fo&&zo(this.attrs,e.attrs)&&zo(this.spec,e.spec)}destroy(){}}class Po{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Po(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 Po(e,e,new Lo(t,n))}static inline(e,t,n,i){return new Po(e,t,new Ro(n,i))}static node(e,t,n,i){return new Po(e,t,new Fo(n,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Ro}}const Bo=[],Uo={};class $o{constructor(e,t){this.local=e.length?e:Bo,this.children=t.length?t:Bo}static create(e,t){return t.length?Yo(t,e,0,Uo):Ho}find(e,t,n){let i=[];return this.findInner(null==e?0:e,null==t?1e9:t,i,0,n),i}findInner(e,t,n,i,o){for(let r=0;r<this.local.length;r++){let s=this.local[r];s.from<=t&&s.to>=e&&(!o||o(s.spec))&&n.push(s.copy(s.from+i,s.to+i))}for(let r=0;r<this.children.length;r+=3)if(this.children[r]<t&&this.children[r+1]>e){let s=this.children[r]+1;this.children[r+2].findInner(e-s,t-s,n,i+s,o)}}map(e,t,n){return this==Ho||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Uo)}mapInner(e,t,n,i,o){let r;for(let s=0;s<this.local.length;s++){let a=this.local[s].map(e,n,i);a&&a.type.valid(t,a)?(r||(r=[])).push(a):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?function(e,t,n,i,o,r,s){let a=e.slice();for(let e=0,t=r;e<n.maps.length;e++){let i=0;n.maps[e].forEach(((e,n,r,s)=>{let l=s-r-(n-e);for(let s=0;s<a.length;s+=3){let c=a[s+1];if(c<0||e>c+t-i)continue;let p=a[s]+t-i;n>=p?a[s+1]=e<=p?-2:-1:r>=o&&l&&(a[s]+=l,a[s+1]+=l)}i+=l})),t=n.maps[e].map(t,-1)}let l=!1;for(let t=0;t<a.length;t+=3)if(a[t+1]<0){if(-2==a[t+1]){l=!0,a[t+1]=-1;continue}let c=n.map(e[t]+r),p=c-o;if(p<0||p>=i.content.size){l=!0;continue}let u=n.map(e[t+1]+r,-1)-o,{index:d,offset:h}=i.content.findIndex(p),m=i.maybeChild(d);if(m&&h==p&&h+m.nodeSize==u){let i=a[t+2].mapInner(n,m,c+1,e[t]+r+1,s);i!=Ho?(a[t]=p,a[t+1]=u,a[t+2]=i):(a[t+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,i,o,r,s){function a(e,t){for(let r=0;r<e.local.length;r++){let a=e.local[r].map(i,o,t);a?n.push(a):s.onRemove&&s.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,o,r,s),c=Yo(l,i,0,s);t=c.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<c.children.length;e+=3){let n=c.children[e];for(;t<a.length&&a[t]<n;)t+=3;a.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new $o(t.sort(Qo),a)}(this.children,r||[],e,t,n,i,o):r?new $o(r.sort(Qo),Bo):Ho}add(e,t){return t.length?this==Ho?$o.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let i,o=0;e.forEach(((e,r)=>{let s,a=r+n;if(s=Wo(t,e,a)){for(i||(i=this.children.slice());o<i.length&&i[o]<r;)o+=3;i[o]==r?i[o+2]=i[o+2].addInner(e,s,a+1):i.splice(o,0,r,r+e.nodeSize,Yo(s,e,a+1,Uo)),o+=3}}));let r=Vo(o?Ko(t):t,-n);for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||r.splice(t--,1);return new $o(r.length?this.local.concat(r).sort(Qo):this.local,i||this.children)}remove(e){return 0==e.length||this==Ho?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,i=this.local;for(let i=0;i<n.length;i+=3){let o,r=n[i]+t,s=n[i+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>r&&t.to<s&&(e[n]=null,(o||(o=[])).push(t));if(!o)continue;n==this.children&&(n=this.children.slice());let a=n[i+2].removeInner(o,r+1);a!=Ho?n[i+2]=a:(n.splice(i,3),i-=3)}if(i.length)for(let n,o=0;o<e.length;o++)if(n=e[o])for(let e=0;e<i.length;e++)i[e].eq(n,t)&&(i==this.local&&(i=this.local.slice()),i.splice(e--,1));return n==this.children&&i==this.local?this:i.length||n.length?new $o(i,n):Ho}forChild(e,t){if(this==Ho)return this;if(t.isLeaf)return $o.empty;let n,i;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 o=e+1,r=o+t.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<r&&t.to>o&&t.type instanceof Ro){let e=Math.max(o,t.from)-o,n=Math.min(r,t.to)-o;e<n&&(i||(i=[])).push(t.copy(e,n))}}if(i){let e=new $o(i.sort(Qo),Bo);return n?new qo([e,n]):e}return n||Ho}eq(e){if(this==e)return!0;if(!(e instanceof $o)||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 Go(this.localsInner(e))}localsInner(e){if(this==Ho)return Bo;if(e.inlineContent||!this.local.some(Ro.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof Ro||t.push(this.local[e]);return t}}$o.empty=new $o([],[]),$o.removeOverlap=Go;const Ho=$o.empty;class qo{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,Uo)));return qo.from(n)}forChild(e,t){if(t.isLeaf)return $o.empty;let n=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,t);o!=Ho&&(o instanceof qo?n=n.concat(o.members):n.push(o))}return qo.from(n)}eq(e){if(!(e instanceof qo)||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 i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<o.length;e++)t.push(o[e])}else t=o}return t?Go(n?t:t.sort(Qo)):Bo}static from(e){switch(e.length){case 0:return Ho;case 1:return e[0];default:return new qo(e)}}}function Vo(e,t){if(!t||!e.length)return e;let n=[];for(let i=0;i<e.length;i++){let o=e[i];n.push(new Po(o.from+t,o.to+t,o.type))}return n}function Wo(e,t,n){if(t.isLeaf)return null;let i=n+t.nodeSize,o=null;for(let t,r=0;r<e.length;r++)(t=e[r])&&t.from>n&&t.to<i&&((o||(o=[])).push(t),e[r]=null);return o}function Ko(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function Yo(e,t,n,i){let o=[],r=!1;t.forEach(((t,s)=>{let a=Wo(e,t,s+n);if(a){r=!0;let e=Yo(a,t,n+s+1,i);e!=Ho&&o.push(s,s+t.nodeSize,e)}}));let s=Vo(r?Ko(e):e,-n).sort(Qo);for(let e=0;e<s.length;e++)s[e].type.valid(t,s[e])||(i.onRemove&&i.onRemove(s[e].spec),s.splice(e--,1));return s.length||o.length?new $o(s,o):Ho}function Qo(e,t){return e.from-t.from||e.to-t.to}function Go(e){let t=e;for(let n=0;n<t.length-1;n++){let i=t[n];if(i.from!=i.to)for(let o=n+1;o<t.length;o++){let r=t[o];if(r.from!=i.from){r.from<i.to&&(t==e&&(t=e.slice()),t[n]=i.copy(i.from,r.from),Jo(t,o,i.copy(r.from,i.to)));break}r.to!=i.to&&(t==e&&(t=e.slice()),t[o]=r.copy(r.from,i.to),Jo(t,o+1,r.copy(i.to,r.to)))}}return t}function Jo(e,t,n){for(;t<e.length&&Qo(n,e[t])>0;)t++;e.splice(t,0,n)}function Zo(e){let t=[];return e.someProp("decorations",(n=>{let i=n(e.state);i&&i!=Ho&&t.push(i)})),e.cursorWrapper&&t.push($o.create(e.state.doc,[e.cursorWrapper.deco])),qo.from(t)}const Xo={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},er=pn&&un<=11;class tr{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 nr{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new tr,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);pn&&un<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),er&&(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,Xo)),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(Li(this.view)){if(this.suppressingSelectionUpdates)return Oi(this.view);if(pn&&un<=11&&!this.view.state.selection.empty){let e=this.view.domSelection();if(e.focusNode&&Cn(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelection())}ignoreSelectionChange(e){if(0==e.rangeCount)return!0;let t=e.getRangeAt(0).commonAncestorContainer,n=this.view.docView.nearestDesc(t);return n&&n.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.observer?this.observer.takeRecords():[];this.queue.length&&(t=this.queue.concat(t),this.queue.length=0);let n=e.domSelection(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Li(e)&&!this.ignoreSelectionChange(n),o=-1,r=-1,s=!1,a=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],a);n&&(o=o<0?n.from:Math.min(n.from,o),r=r<0?n.to:Math.max(n.to,r),n.typeOver&&(s=!0))}if(dn&&a.length>1){let e=a.filter((e=>"BR"==e.nodeName));if(2==e.length){let t=e[0],n=e[1];t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}let l=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&e.input.lastTouch<Date.now()-300&&Sn(n)&&(l=Ci(e))&&l.eq(St.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Oi(e),this.currentSelection.set(n),e.scrollToSelection()):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,r),function(e){if(ir.has(e))return;if(ir.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=dn,or)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."),or=!0}}(e)),this.handleDOMChange(o,r,s,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Oi(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")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++)t.push(e.addedNodes[n]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let i=e.previousSibling,o=e.nextSibling;if(pn&&un<=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)&&(i=n),(!r||Array.prototype.indexOf.call(e.addedNodes,r)<0)&&(o=r)}let r=i&&i.parentNode==e.target?kn(i)+1:0,s=n.localPosFromDOM(e.target,r,-1),a=o&&o.parentNode==e.target?kn(o):e.target.childNodes.length;return{from:s,to:n.localPosFromDOM(e.target,a,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}let ir=new WeakMap,or=!1;function rr(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(gn&&/^(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||gn&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}function sr(e,t,n,i,o){if(t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Ci(e,t);if(n&&!e.state.selection.eq(n)){let i=e.state.tr.setSelection(n);"pointer"==t?i.setMeta("pointer",!0):"key"==t&&i.scrollIntoView(),e.dispatch(i)}return}let r=e.state.doc.resolve(t),s=r.sharedDepth(n);t=r.before(s+1),n=e.state.doc.resolve(n).after(s+1);let a,l,c=e.state.selection,p=function(e,t,n){let i,{node:o,fromOffset:r,toOffset:s,from:a,to:l}=e.docView.parseRange(t,n),c=e.domSelection(),p=c.anchorNode;if(p&&e.dom.contains(1==p.nodeType?p:p.parentNode)&&(i=[{node:p,offset:c.anchorOffset}],Sn(c)||i.push({node:c.focusNode,offset:c.focusOffset})),mn&&8===e.input.lastKeyCode)for(let e=s;e>r;e--){let t=o.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&&!n){s=e;break}if(!n||n.size)break}let u=e.state.doc,d=e.someProp("domParser")||Me.fromSchema(e.state.schema),h=u.resolve(a),m=null,f=d.parse(o,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:r,to:s,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:i,ruleFromNode:rr,context:h});if(i&&null!=i[0].pos){let e=i[0].pos,t=i[1]&&i[1].pos;null==t&&(t=e),m={anchor:e+a,head:t+a}}return{doc:f,sel:m,from:a,to:l}}(e,t,n),u=e.state.doc,d=u.slice(p.from,p.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(a=e.state.selection.to,l="end"):(a=e.state.selection.from,l="start"),e.input.lastKeyCode=null;let h=function(e,t,n,i,o){let r=e.findDiffStart(t,n);if(null==r)return null;let{a:s,b:a}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==o){i-=s+Math.max(0,r-Math.min(s,a))-r}if(s<r&&e.size<t.size){r-=i<=r&&i>=s?r-i:0,a=r+(a-s),s=r}else if(a<r){r-=i<=r&&i>=a?r-i:0,s=r+(s-a),a=r}return{start:r,endA:s,endB:a}}(d.content,p.doc.content,p.from,a,l);if((bn&&e.input.lastIOSEnter>Date.now()-225||yn)&&o.some((e=>"DIV"==e.nodeName||"P"==e.nodeName))&&(!h||h.endA>=h.endB)&&e.someProp("handleKeyDown",(t=>t(e,An(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!h){if(!(i&&c instanceof zt&&!c.empty&&c.$head.sameParent(c.$anchor))||e.composing||p.sel&&p.sel.anchor!=p.sel.head){if(p.sel){let t=ar(e,e.state.doc,p.sel);t&&!t.eq(e.state.selection)&&e.dispatch(e.state.tr.setSelection(t))}return}h={start:c.from,endA:c.to,endB:c.to}}if(mn&&e.cursorWrapper&&p.sel&&p.sel.anchor==e.cursorWrapper.deco.from&&p.sel.head==p.sel.anchor){let e=h.endB-h.start;p.sel={anchor:p.sel.anchor+e,head:p.sel.anchor+e}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&h.start==h.endB&&e.state.selection instanceof zt&&(h.start>e.state.selection.from&&h.start<=e.state.selection.from+2&&e.state.selection.from>=p.from?h.start=e.state.selection.from:h.endA<e.state.selection.to&&h.endA>=e.state.selection.to-2&&e.state.selection.to<=p.to&&(h.endB+=e.state.selection.to-h.endA,h.endA=e.state.selection.to)),pn&&un<=11&&h.endB==h.start+1&&h.endA==h.start&&h.start>p.from&&" "==p.doc.textBetween(h.start-p.from-1,h.start-p.from+1)&&(h.start--,h.endA--,h.endB--);let m,f=p.doc.resolveNoCache(h.start-p.from),g=p.doc.resolveNoCache(h.endB-p.from),b=u.resolve(h.start),v=f.sameParent(g)&&f.parent.inlineContent&&b.end()>=h.endA;if((bn&&e.input.lastIOSEnter>Date.now()-225&&(!v||o.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!v&&f.pos<p.doc.content.size&&(m=St.findFrom(p.doc.resolve(f.pos+1),1,!0))&&m.head==g.pos)&&e.someProp("handleKeyDown",(t=>t(e,An(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>h.start&&function(e,t,n,i,o){if(!i.parent.isTextblock||n-t<=o.pos-i.pos||lr(i,!0,!1)<o.pos)return!1;let r=e.resolve(t);if(r.parentOffset<r.parent.content.size||!r.parent.isTextblock)return!1;let s=e.resolve(lr(r,!0,!0));return!(!s.parent.isTextblock||s.pos>n||lr(s,!0,!1)<n)&&i.parent.content.cut(i.parentOffset).eq(s.parent.content)}(u,h.start,h.endA,f,g)&&e.someProp("handleKeyDown",(t=>t(e,An(8,"Backspace")))))return void(yn&&mn&&e.domObserver.suppressSelectionUpdates());mn&&yn&&h.endB==h.start&&(e.input.lastAndroidDelete=Date.now()),yn&&!v&&f.start()!=g.start()&&0==g.parentOffset&&f.depth==g.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==h.endA&&(h.endB-=2,g=p.doc.resolveNoCache(h.endB-p.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,An(13,"Enter"))}))}),20));let y,x,w,k=h.start,E=h.endA;if(v)if(f.pos==g.pos)pn&&un<=11&&0==f.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>Oi(e)),20)),y=e.state.tr.delete(k,E),x=u.resolve(h.start).marksAcross(u.resolve(h.endA));else if(h.endA==h.endB&&(w=function(e,t){let n,i,o,r=e.firstChild.marks,s=t.firstChild.marks,a=r,l=s;for(let e=0;e<s.length;e++)a=s[e].removeFromSet(a);for(let e=0;e<r.length;e++)l=r[e].removeFromSet(l);if(1==a.length&&0==l.length)i=a[0],n="add",o=e=>e.mark(i.addToSet(e.marks));else{if(0!=a.length||1!=l.length)return null;i=l[0],n="remove",o=e=>e.mark(i.removeFromSet(e.marks))}let c=[];for(let e=0;e<t.childCount;e++)c.push(o(t.child(e)));if(z.from(c).eq(e))return{mark:i,type:n}}(f.parent.content.cut(f.parentOffset,g.parentOffset),b.parent.content.cut(b.parentOffset,h.endA-b.start()))))y=e.state.tr,"add"==w.type?y.addMark(k,E,w.mark):y.removeMark(k,E,w.mark);else if(f.parent.child(f.index()).isText&&f.index()==g.index()-(g.textOffset?0:1)){let t=f.parent.textBetween(f.parentOffset,g.parentOffset);if(e.someProp("handleTextInput",(n=>n(e,k,E,t))))return;y=e.state.tr.insertText(t,k,E)}if(y||(y=e.state.tr.replace(k,E,p.doc.slice(h.start-p.from,h.endB-p.from))),p.sel){let t=ar(e,y.doc,p.sel);t&&!(mn&&yn&&e.composing&&t.empty&&(h.start!=h.endB||e.input.lastAndroidDelete<Date.now()-100)&&(t.head==k||t.head==y.mapping.map(E)-1)||pn&&t.empty&&t.head==k)&&y.setSelection(t)}x&&y.ensureMarks(x),e.dispatch(y.scrollIntoView())}function ar(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:zi(e,t.resolve(n.anchor),t.resolve(n.head))}function lr(e,t,n){let i=e.depth,o=t?e.end():e.pos;for(;i>0&&(t||e.indexAfter(i)==e.node(i).childCount);)i--,o++,t=!1;if(n){let t=e.node(i).maybeChild(e.indexAfter(i));for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}class cr{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 uo,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(mr),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=dr(this),ur(this),this.nodeViews=hr(this),this.docView=pi(this.state.doc,pr(this),Zo(this),this.dom,this),this.domObserver=new nr(this,((e,t,n,i)=>sr(this,e,t,n,i))),this.domObserver.start(),function(e){for(let t in lo){let n=lo[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!go(e,t)||fo(e,t)||!e.editable&&t.type in co||n(e,t)},po[t]?{passive:!0}:void 0)}gn&&e.dom.addEventListener("input",(()=>null)),mo(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&&mo(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(mr),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){let n=this.state,i=!1,o=!1;e.storedMarks&&this.composing&&(To(this),o=!0),this.state=e;let r=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(r||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=hr(this);(function(e,t){let n=0,i=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let e in t)i++;return n!=i})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(r||t.handleDOMEvents!=this._props.handleDOMEvents)&&mo(this),this.editable=dr(this),ur(this);let s=Zo(this),a=pr(this),l=n.plugins==e.plugins||n.doc.eq(e.doc)?e.scrollToSelection>n.scrollToSelection?"to selection":"preserve":"reset",c=i||!this.docView.matchesNode(e.doc,a,s);!c&&e.selection.eq(n.selection)||(o=!0);let p="preserve"==l&&o&&null==this.dom.style.overflowAnchor&&function(e){let t,n,i=e.dom.getBoundingClientRect(),o=Math.max(0,i.top);for(let r=(i.left+i.right)/2,s=o+1;s<Math.min(innerHeight,i.bottom);s+=5){let i=e.root.elementFromPoint(r,s);if(!i||i==e.dom||!e.dom.contains(i))continue;let a=i.getBoundingClientRect();if(a.top>=o-20){t=i,n=a.top;break}}return{refDOM:t,refTop:n,stack:Rn(e.dom)}}(this);if(o){this.domObserver.stop();let t=c&&(pn||mn)&&!this.composing&&!n.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)}(n.selection,e.selection);if(c){let n=mn?this.trackWrites=this.domSelection().focusNode:null;!i&&this.docView.update(e.doc,a,s,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=pi(e.doc,a,s,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelection())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelection();return Cn(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Oi(this,t):(ji(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),"reset"==l?this.dom.scrollTop=0:"to selection"==l?this.scrollToSelection():p&&function({refDOM:e,refTop:t,stack:n}){let i=e?e.getBoundingClientRect().top:0;Fn(n,0==i?0:i-t)}(p)}scrollToSelection(){let e=this.domSelection().focusNode;if(this.someProp("handleScrollToSelection",(e=>e(this))));else if(this.state.selection instanceof Rt){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&Ln(this,t.getBoundingClientRect(),e)}else Ln(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))}}}someProp(e,t){let n,i=this._props&&this._props[e];if(null!=i&&(n=t?t(i):i))return n;for(let i=0;i<this.directPlugins.length;i++){let o=this.directPlugins[i].props[e];if(null!=o&&(n=t?t(o):o))return n}let o=this.state.plugins;if(o)for(let i=0;i<o.length;i++){let r=o[i].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(pn){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(Pn)return e.focus(Pn);let t=Rn(e);e.focus(null==Pn?{get preventScroll(){return Pn={preventScroll:!0},!0}}:void 0),Pn||(Pn=!1,Fn(t,0))}(this.dom),Oi(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}posAtCoords(e){return Hn(this,e)}coordsAtPos(e,t=1){return Wn(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 i=this.docView.posFromDOM(e,t,n);if(null==i)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return ei(this,t||this.state,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,[],Zo(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){fo(e,t)||!lo[t.type]||!e.editable&&t.type in co||lo[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelection(){return this.root.getSelection()}}function pr(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),t.translate="no",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]))})),[Po.node(0,e.state.doc.content.size,t)]}function ur(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:Po.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function dr(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function hr(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 mr(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")}var fr={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:"'"},gr={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},br="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var vr="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),yr="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),xr=vr||br&&+br[1]<57,wr=0;wr<10;wr++)fr[48+wr]=fr[96+wr]=String(wr);for(wr=1;wr<=24;wr++)fr[wr+111]="F"+wr;for(wr=65;wr<=90;wr++)fr[wr]=String.fromCharCode(wr+32),gr[wr]=String.fromCharCode(wr);for(var kr in fr)gr.hasOwnProperty(kr)||(gr[kr]=fr[kr]);const Er="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function _r(e){let t,n,i,o,r=e.split(/-(?!$)/),s=r[r.length-1];"Space"==s&&(s=" ");for(let e=0;e<r.length-1;e++){let s=r[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))i=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);Er?o=!0:n=!0}}return t&&(s="Alt-"+s),n&&(s="Ctrl-"+s),o&&(s="Meta-"+s),i&&(s="Shift-"+s),s}function Mr(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}function Cr(e){let t=function(e){let t=Object.create(null);for(let n in e)t[_r(n)]=e[n];return t}(e);return function(e,n){let i,o=function(e){var t=!(xr&&(e.ctrlKey||e.altKey||e.metaKey)||yr&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?gr:fr)[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=1==o.length&&" "!=o,s=t[Mr(o,n,!r)];if(s&&s(e.state,e.dispatch,e))return!0;if(r&&(n.shiftKey||n.altKey||n.metaKey||o.charCodeAt(0)>127)&&(i=fr[n.keyCode])&&i!=o){let o=t[Mr(i,n,!0)];if(o&&o(e.state,e.dispatch,e))return!0}else if(r&&n.shiftKey){let i=t[Mr(o,n,!0)];if(i&&i(e.state,e.dispatch,e))return!0}return!1}}function Dr(e,t,n=!1){for(let i=e;i;i="start"==t?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(n&&1!=i.childCount)return!1}return!1}function Or(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 Tr(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 Nr(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 Sr(e,t,n){let i,o,r=t.nodeBefore,s=t.nodeAfter;if(r.type.spec.isolating||s.type.spec.isolating)return!1;if(function(e,t,n){let i=t.nodeBefore,o=t.nodeAfter,r=t.index();return!(!(i&&o&&i.type.compatibleContent(o.type))||(!i.content.size&&t.parent.canReplace(r-1,r)?(n&&n(e.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(r,r+1)||!o.isTextblock&&!mt(e.doc,t.pos)||(n&&n(e.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let a=t.parent.canReplace(t.index(),t.index()+1);if(a&&(i=(o=r.contentMatchAt(r.childCount)).findWrapping(s.type))&&o.matchType(i[0]||s.type).validEnd){if(n){let o=t.pos+s.nodeSize,a=z.empty;for(let e=i.length-1;e>=0;e--)a=z.from(i[e].create(null,a));a=z.from(r.copy(a));let l=e.tr.step(new at(t.pos-1,o,t.pos,o,new U(a,1,0),i.length,!0)),c=o+2*i.length;mt(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let l=St.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),p=c&&pt(c);if(null!=p&&p>=t.depth)return n&&n(e.tr.lift(c,p).scrollIntoView()),!0;if(a&&Dr(s,"start",!0)&&Dr(r,"end")){let i=r,o=[];for(;o.push(i),!i.isTextblock;)i=i.lastChild;let a=s,l=1;for(;!a.isTextblock;a=a.firstChild)l++;if(i.canReplace(i.childCount,i.childCount,a.content)){if(n){let i=z.empty;for(let e=o.length-1;e>=0;e--)i=z.from(o[e].copy(i));n(e.tr.step(new at(t.pos-o.length,t.pos+s.nodeSize,t.pos+l,t.pos+s.nodeSize-l,new U(i,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Ar(e){return function(t,n){let i=t.selection,o=e<0?i.$from:i.$to,r=o.depth;for(;o.node(r).isInline;){if(!r)return!1;r--}return!!o.node(r).isTextblock&&(n&&n(t.tr.setSelection(zt.create(t.doc,e<0?o.start(r):o.end(r)))),!0)}}const jr=Ar(-1),Ir=Ar(1);function zr(e,t=null){return function(n,i){let{from:o,to:r}=n.selection,s=!1;return n.doc.nodesBetween(o,r,((i,o)=>{if(s)return!1;if(i.isTextblock&&!i.hasMarkup(e,t))if(i.type==e)s=!0;else{let t=n.doc.resolve(o),i=t.index();s=t.parent.canReplaceWith(i,i+1,e)}})),!!s&&(i&&i(n.tr.setBlockType(o,r,e,t).scrollIntoView()),!0)}}function Lr(e,t=null){return function(n,i){let{$from:o,$to:r}=n.selection,s=o.blockRange(r),a=!1,l=s;if(!s)return!1;if(s.depth>=2&&o.node(s.depth-1).type.compatibleContent(e)&&0==s.startIndex){if(0==o.index(s.depth-1))return!1;let e=n.doc.resolve(s.start-2);l=new ie(e,e,s.depth),s.endIndex<s.parent.childCount&&(s=new ie(o,n.doc.resolve(r.end(s.depth)),s.depth)),a=!0}let c=ut(l,e,t,s);return!!c&&(i&&i(function(e,t,n,i,o){let r=z.empty;for(let e=n.length-1;e>=0;e--)r=z.from(n[e].type.create(n[e].attrs,r));e.step(new at(t.start-(i?2:0),t.end,t.start,t.end,new U(r,0,0),n.length,!0));let s=0;for(let e=0;e<n.length;e++)n[e].type==o&&(s=e+1);let a=n.length-s,l=t.start+n.length-(i?2:0),c=t.parent;for(let n=t.startIndex,i=t.endIndex,o=!0;n<i;n++,o=!1)!o&&ht(e.doc,l,a)&&(e.split(l,a),l+=2*a),l+=c.child(n).nodeSize;return e}(n.tr,s,c,a,e).scrollIntoView()),!0)}}function Rr(e){return function(t,n){let{$from:i,$to:o}=t.selection,r=i.blockRange(o,(t=>t.childCount>0&&t.firstChild.type==e));return!!r&&(!n||(i.node(r.depth-1).type==e?function(e,t,n,i){let o=e.tr,r=i.end,s=i.$to.end(i.depth);r<s&&(o.step(new at(r-1,s,r,s,new U(z.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new ie(o.doc.resolve(i.$from.pos),o.doc.resolve(s),i.depth));const a=pt(i);if(null==a)return!1;o.lift(i,a);let l=o.mapping.map(r,-1)-1;mt(o.doc,l)&&o.join(l);return t(o.scrollIntoView()),!0}(t,n,e,r):function(e,t,n){let i=e.tr,o=n.parent;for(let e=n.end,t=n.endIndex-1,r=n.startIndex;t>r;t--)e-=o.child(t).nodeSize,i.delete(e-1,e+1);let r=i.doc.resolve(n.start),s=r.nodeAfter;if(i.mapping.map(n.end)!=n.start+r.nodeAfter.nodeSize)return!1;let a=0==n.startIndex,l=n.endIndex==o.childCount,c=r.node(-1),p=r.index(-1);if(!c.canReplace(p+(a?0:1),p+1,s.content.append(l?z.empty:z.from(o))))return!1;let u=r.pos,d=u+s.nodeSize;return i.step(new at(u-(a?1:0),d+(l?1:0),u+1,d-1,new U((a?z.empty:z.from(o.copy(z.empty))).append(l?z.empty:z.from(o.copy(z.empty))),a?0:1,l?0:1),a?0:1)),t(i.scrollIntoView()),!0}(t,n,r)))}}function Fr(e){const{state:t,transaction:n}=e;let{selection:i}=n,{doc:o}=n,{storedMarks:r}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),filterTransaction:t.filterTransaction,plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return r},get selection(){return i},get doc(){return o},get tr(){return i=n.selection,o=n.doc,r=n.storedMarks,n}}}"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform();class Pr{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:i}=t,{tr:o}=n,r=this.buildProps(o);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(r);return o.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(o),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:i,state:o}=this,{view:r}=i,s=[],a=!!e,l=e||o.tr,c={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const i=this.buildProps(l,t),o=n(...e)(i);return s.push(o),c}]))),run:()=>(a||!t||l.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(l),s.every((e=>!0===e)))};return c}createCan(e){const{rawCommands:t,state:n}=this,i=!1,o=e||n.tr,r=this.buildProps(o,i),s=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...r,dispatch:void 0})])));return{...s,chain:()=>this.createChain(o,i)}}buildProps(e,t=!0){const{rawCommands:n,editor:i,state:o}=this,{view:r}=i;o.storedMarks&&e.setStoredMarks(o.storedMarks);const s={tr:e,editor:i,view:r,state:Fr({state:o,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(s)])))}};return s}}function Br(e,t,n){if(void 0===e.config[t]&&e.parent)return Br(e.parent,t,n);if("function"==typeof e.config[t]){return e.config[t].bind({...n,parent:e.parent?Br(e.parent,t,n):null})}return e.config[t]}function Ur(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function $r(e){const t=[],{nodeExtensions:n,markExtensions:i}=Ur(e),o=[...n,...i],r={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=Br(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage});if(!n)return;n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,i])=>{t.push({type:n,name:e,attribute:{...r,...i}})}))}))}))})),o.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},i=Br(e,"addAttributes",n);if(!i)return;const o=i();Object.entries(o).forEach((([n,i])=>{const o={...r,...i};(null==i?void 0:i.isRequired)&&void 0===(null==i?void 0:i.default)&&delete o.default,t.push({type:e.name,name:n,attribute:o})}))})),t}function Hr(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 qr(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{n[e]?n[e]="class"===e?[n[e],t].join(" "):"style"===e?[n[e],t].join("; "):t:n[e]=t})),n}),{})}function Vr(e,t){return t.filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>qr(e,t)),{})}function Wr(e){return"function"==typeof e}function Kr(e,t=void 0,...n){return Wr(e)?t?e.bind(t)(...n):e(...n):e}function Yr(e,t){return e.style?e:{...e,getAttrs:n=>{const i=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===i)return!1;const o=t.reduce(((e,t)=>{const i=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==i?e:{...e,[t.name]:i}}),{});return{...i,...o}}}}function Qr(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 Gr(e,t){return t.nodes[e]||t.marks[e]||null}function Jr(e,t){return Array.isArray(t)?t.some((t=>("string"==typeof t?t:t.name)===e.name)):t}function Zr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class Xr{constructor(e){this.find=e.find,this.handler=e.handler}}function es(e){var t;const{editor:n,from:i,to:o,text:r,rules:s,plugin:a}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(i);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find((e=>e.type.spec.code))))return!1;let p=!1;const u=((e,t=500)=>{let n="";const i=e.parentOffset;return e.parent.nodesBetween(Math.max(0,i-t),i,((e,t,o,r)=>{var s,a;const l=(null===(a=(s=e.type.spec).toText)||void 0===a?void 0:a.call(s,{node:e,pos:t,parent:o,index:r}))||e.textContent||"%leaf%";n+=l.slice(0,Math.max(0,i-t))})),n})(c)+r;return s.forEach((e=>{if(p)return;const t=((e,t)=>{if(Zr(t))return t.exec(e);const n=t(e);if(!n)return null;const i=[];return i.push(n.text),i.index=n.index,i.input=e,i.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(n.replaceWith)),i})(u,e.find);if(!t)return;const s=l.state.tr,c=Fr({state:l.state,transaction:s}),d={from:i-(t[0].length-r.length),to:o},{commands:h,chain:m,can:f}=new Pr({editor:n,state:c});null!==e.handler({state:c,range:d,match:t,commands:h,chain:m,can:f})&&s.steps.length&&(s.setMeta(a,{transform:s,from:i,to:o,text:r}),l.dispatch(s),p=!0)})),p}function ts(e){const{editor:t,rules:n}=e,i=new Xt({state:{init:()=>null,apply(e,t){const n=e.getMeta(i);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(e,o,r,s)=>es({editor:t,from:o,to:r,text:s,rules:n,plugin:i}),handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:o}=e.state.selection;o&&es({editor:t,from:o.pos,to:o.pos,text:"",rules:n,plugin:i})})),!1)},handleKeyDown(e,o){if("Enter"!==o.key)return!1;const{$cursor:r}=e.state.selection;return!!r&&es({editor:t,from:r.pos,to:r.pos,text:"\n",rules:n,plugin:i})}},isInputRules:!0});return i}class ns{constructor(e){this.find=e.find,this.handler=e.handler}}function is(e){const{editor:t,state:n,from:i,to:o,rule:r}=e,{commands:s,chain:a,can:l}=new Pr({editor:t,state:n}),c=[];n.doc.nodesBetween(i,o,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const p=Math.max(i,t),u=Math.min(o,t+e.content.size),d=((e,t)=>{if(Zr(t))return[...e.matchAll(t)];const n=t(e);return n?n.map((t=>{const n=[];return n.push(t.text),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})):[]})(e.textBetween(p-t,u-t,void 0,""),r.find);d.forEach((e=>{if(void 0===e.index)return;const t=p+e.index+1,i=t+e[0].length,o={from:n.tr.mapping.map(t),to:n.tr.mapping.map(i)},u=r.handler({state:n,range:o,match:e,commands:s,chain:a,can:l});c.push(u)}))}));return c.every((e=>null!==e))}function rs(e){const{editor:t,rules:n}=e;let i=null,o=!1,r=!1;const s=n.map((e=>new Xt({view(e){const t=t=>{var n;i=(null===(n=e.dom.parentElement)||void 0===n?void 0:n.contains(t.target))?e.dom.parentElement:null};return window.addEventListener("dragstart",t),{destroy(){window.removeEventListener("dragstart",t)}}},props:{handleDOMEvents:{drop:e=>(r=i===e.dom.parentElement,!1),paste:(e,t)=>{var n;const i=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return o=!!(null==i?void 0:i.includes("data-pm-slice")),!1}}},appendTransaction:(n,i,s)=>{const a=n[0],l="paste"===a.getMeta("uiEvent")&&!o,c="drop"===a.getMeta("uiEvent")&&!r;if(!l&&!c)return;const p=i.doc.content.findDiffStart(s.doc.content),u=i.doc.content.findDiffEnd(s.doc.content);if("number"!=typeof p||!u||p===u.b)return;const d=s.tr,h=Fr({state:s,transaction:d});return is({editor:t,state:h,from:Math.max(p-1,0),to:u.b-1,rule:e})&&d.steps.length?d:void 0}})));return s}class ss{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=ss.resolve(e),this.schema=function(e){var t;const n=$r(e),{nodeExtensions:i,markExtensions:o}=Ur(e),r=null===(t=i.find((e=>Br(e,"topNode"))))||void 0===t?void 0:t.name,s=Object.fromEntries(i.map((t=>{const i=n.filter((e=>e.type===t.name)),o={name:t.name,options:t.options,storage:t.storage},r=e.reduce(((e,n)=>{const i=Br(n,"extendNodeSchema",o);return{...e,...i?i(t):{}}}),{}),s=Qr({...r,content:Kr(Br(t,"content",o)),marks:Kr(Br(t,"marks",o)),group:Kr(Br(t,"group",o)),inline:Kr(Br(t,"inline",o)),atom:Kr(Br(t,"atom",o)),selectable:Kr(Br(t,"selectable",o)),draggable:Kr(Br(t,"draggable",o)),code:Kr(Br(t,"code",o)),defining:Kr(Br(t,"defining",o)),isolating:Kr(Br(t,"isolating",o)),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=Kr(Br(t,"parseHTML",o));a&&(s.parseDOM=a.map((e=>Yr(e,i))));const l=Br(t,"renderHTML",o);l&&(s.toDOM=e=>l({node:e,HTMLAttributes:Vr(e,i)}));const c=Br(t,"renderText",o);return c&&(s.toText=c),[t.name,s]}))),a=Object.fromEntries(o.map((t=>{const i=n.filter((e=>e.type===t.name)),o={name:t.name,options:t.options,storage:t.storage},r=e.reduce(((e,n)=>{const i=Br(n,"extendMarkSchema",o);return{...e,...i?i(t):{}}}),{}),s=Qr({...r,inclusive:Kr(Br(t,"inclusive",o)),excludes:Kr(Br(t,"excludes",o)),group:Kr(Br(t,"group",o)),spanning:Kr(Br(t,"spanning",o)),code:Kr(Br(t,"code",o)),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=Kr(Br(t,"parseHTML",o));a&&(s.parseDOM=a.map((e=>Yr(e,i))));const l=Br(t,"renderHTML",o);return l&&(s.toDOM=e=>l({mark:e,HTMLAttributes:Vr(e,i)})),[t.name,s]})));return new Ee({topNode:r,nodes:s,marks:a})}(this.extensions),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:Gr(e.name,this.schema)};if("mark"===e.type){(null===(t=Kr(Br(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const i=Br(e,"onBeforeCreate",n);i&&this.editor.on("beforeCreate",i);const o=Br(e,"onCreate",n);o&&this.editor.on("create",o);const r=Br(e,"onUpdate",n);r&&this.editor.on("update",r);const s=Br(e,"onSelectionUpdate",n);s&&this.editor.on("selectionUpdate",s);const a=Br(e,"onTransaction",n);a&&this.editor.on("transaction",a);const l=Br(e,"onFocus",n);l&&this.editor.on("focus",l);const c=Br(e,"onBlur",n);c&&this.editor.on("blur",c);const p=Br(e,"onDestroy",n);p&&this.editor.on("destroy",p)}))}static resolve(e){const t=ss.sort(ss.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return[...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=Br(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){const t=100;return e.sort(((e,n)=>{const i=Br(e,"priority")||t,o=Br(n,"priority")||t;return i>o?-1:i<o?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=Br(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:Gr(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=ss.sort([...this.extensions].reverse()),n=[],i=[],o=t.map((t=>{const o={name:t.name,options:t.options,storage:t.storage,editor:e,type:Gr(t.name,this.schema)},r=[],s=Br(t,"addKeyboardShortcuts",o);let a={};if("mark"===t.type&&t.config.exitable&&(a.ArrowRight=()=>ta.handleExit({editor:e,mark:t})),s){const t=Object.fromEntries(Object.entries(s()).map((([t,n])=>[t,()=>n({editor:e})])));a={...a,...t}}const l=new Xt({props:{handleKeyDown:Cr(a)}});r.push(l);const c=Br(t,"addInputRules",o);Jr(t,e.options.enableInputRules)&&c&&n.push(...c());const p=Br(t,"addPasteRules",o);Jr(t,e.options.enablePasteRules)&&p&&i.push(...p());const u=Br(t,"addProseMirrorPlugins",o);if(u){const e=u();r.push(...e)}return r})).flat();return[ts({editor:e,rules:n}),...rs({editor:e,rules:i}),...o]}get attributes(){return $r(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=Ur(this.extensions);return Object.fromEntries(t.filter((e=>!!Br(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),i={name:t.name,options:t.options,storage:t.storage,editor:e,type:Hr(t.name,this.schema)},o=Br(t,"addNodeView",i);if(!o)return[];return[t.name,(i,r,s,a)=>{const l=Vr(i,n);return o()({editor:e,node:i,getPos:s,decorations:a,HTMLAttributes:l,extension:t})}]})))}}function as(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function ls(e,t){const n={...e};return as(e)&&as(t)&&Object.keys(t).forEach((i=>{as(t[i])?i in e?n[i]=ls(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})})),n}class cs{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&&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=Kr(Br(this,"addOptions",{name:this.name}))),this.storage=Kr(Br(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new cs(e)}configure(e={}){const t=this.extend();return t.options=ls(this.options,e),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new cs(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Kr(Br(t,"addOptions",{name:t.name})),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}}function ps(e,t,n){const{from:i,to:o}=t,{blockSeparator:r="\n\n",textSerializers:s={}}=n||{};let a="",l=!0;return e.nodesBetween(i,o,((e,n,c,p)=>{var u;const d=null==s?void 0:s[e.type.name];d?(e.isBlock&&!l&&(a+=r,l=!0),c&&(a+=d({node:e,pos:n,parent:c,index:p,range:t}))):e.isText?(a+=null===(u=null==e?void 0:e.text)||void 0===u?void 0:u.slice(Math.max(i,n)-n,o-n),l=!1):e.isBlock&&!l&&(a+=r,l=!0)})),a}function us(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const ds=cs.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new Xt({key:new nn("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:i,selection:o}=t,{ranges:r}=o,s=Math.min(...r.map((e=>e.$from.pos))),a=Math.max(...r.map((e=>e.$to.pos)));return ps(i,{from:s,to:a},{textSerializers:us(n)})}}})]}});function hs(e,t,n={strict:!0}){const i=Object.keys(t);return!i.length||i.every((i=>n.strict?t[i]===e[i]:Zr(t[i])?t[i].test(e[i]):t[i]===e[i]))}function ms(e,t,n={}){return e.find((e=>e.type===t&&hs(e.attrs,n)))}function fs(e,t,n={}){return!!ms(e,t,n)}function gs(e,t,n={}){if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if(e.parentOffset===i.offset&&0!==i.offset&&(i=e.parent.childBefore(e.parentOffset)),!i.node)return;const o=ms([...i.node.marks],t,n);if(!o)return;let r=i.index,s=e.start()+i.offset,a=r+1,l=s+i.node.nodeSize;for(ms([...i.node.marks],t,n);r>0&&o.isInSet(e.parent.child(r-1).marks);)r-=1,s-=e.parent.child(r).nodeSize;for(;a<e.parent.childCount&&fs([...e.parent.child(a).marks],t,n);)l+=e.parent.child(a).nodeSize,a+=1;return{from:s,to:l}}function bs(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 vs(e){return e instanceof zt}function ys(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function xs(e,t=null){if(!t)return null;const n=St.atStart(e),i=St.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return i;const o=n.from,r=i.to;return"all"===t?zt.create(e,ys(0,o,r),ys(e.content.size,o,r)):zt.create(e,ys(t,o,r),ys(t,o,r))}function ws(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function ks(e){const t=`<body>${e}</body>`;return(new window.DOMParser).parseFromString(t,"text/html").body}function Es(e,t,n){if(n={slice:!0,parseOptions:{},...n},"object"==typeof e&&null!==e)try{return Array.isArray(e)?z.fromArray(e.map((e=>t.nodeFromJSON(e)))):t.nodeFromJSON(e)}catch(i){return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",i),Es("",t,n)}if("string"==typeof e){const i=Me.fromSchema(t);return n.slice?i.parseSlice(ks(e),n.parseOptions).content:i.parse(ks(e),n.parseOptions)}return Es("",t,n)}function _s(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function Ms(e,t,n={}){const{from:i,to:o,empty:r}=e.selection,s=t?Hr(t,e.schema):null,a=[];e.doc.nodesBetween(i,o,((e,t)=>{if(e.isText)return;const n=Math.max(i,t),r=Math.min(o,t+e.nodeSize);a.push({node:e,from:n,to:r})}));const l=o-i,c=a.filter((e=>!s||s.name===e.node.type.name)).filter((e=>hs(e.node.attrs,n,{strict:!1})));if(r)return!!c.length;return c.reduce(((e,t)=>e+t.to-t.from),0)>=l}function Cs(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Ds(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,i)=>(n.includes(i)||(t[i]=e[i]),t)),{})}function Os(e,t,n={}){return Es(e,t,{slice:!1,parseOptions:n})}function Ts(e,t){const n=[];return e.descendants(((e,i)=>{t(e)&&n.push({node:e,pos:i})})),n}function Ns(e){return t=>function(e,t){for(let n=e.depth;n>0;n-=1){const i=e.node(n);if(t(i))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:i}}}(t.$from,e)}function Ss(e,t){const n=bs(t,e.schema),{from:i,to:o,empty:r}=e.selection,s=[];r?(e.storedMarks&&s.push(...e.storedMarks),s.push(...e.selection.$head.marks())):e.doc.nodesBetween(i,o,(e=>{s.push(...e.marks)}));const a=s.find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}function As(e,t){const n=Cs("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=Hr(t,e.schema),{from:i,to:o}=e.selection,r=[];e.doc.nodesBetween(i,o,(e=>{r.push(e)}));const s=r.reverse().find((e=>e.type.name===n.name));return s?{...s.attrs}:{}}(e,t):"mark"===n?Ss(e,t):{}}function js(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=>{const i=t(e);return!Object.prototype.hasOwnProperty.call(n,i)&&(n[i]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=>{const i=t.filter(((e,t)=>t!==n));return!i.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 Is(e,t,n){const i=[];return e===t?n.resolve(e).marks().forEach((t=>{const o=gs(n.resolve(e-1),t.type);o&&i.push({mark:t,...o})})):n.nodesBetween(e,t,((e,t)=>{i.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),i}function zs(e,t,n={}){const{empty:i,ranges:o}=e.selection,r=t?bs(t,e.schema):null;if(i)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!r||r.name===e.type.name)).find((e=>hs(e.attrs,n,{strict:!1})));let s=0;const a=[];if(o.forEach((({$from:t,$to:n})=>{const i=t.pos,o=n.pos;e.doc.nodesBetween(i,o,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(i,t),r=Math.min(o,t+e.nodeSize);s+=r-n,a.push(...e.marks.map((e=>({mark:e,from:n,to:r}))))}))})),0===s)return!1;const l=a.filter((e=>!r||r.name===e.mark.type.name)).filter((e=>hs(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),c=a.filter((e=>!r||e.mark.type!==r&&e.mark.type.excludes(r))).reduce(((e,t)=>e+t.to-t.from),0);return(l>0?l+c:l)>=s}function Ls(e,t){const{nodeExtensions:n}=Ur(t),i=n.find((t=>t.name===e));if(!i)return!1;const o=Kr(Br(i,"group",{name:i.name,options:i.options,storage:i.storage}));return"string"==typeof o&&o.split(" ").includes("list")}function Rs(e,t,n){const i=0,o=e.state.doc.content.size,r=ys(t,i,o),s=ys(n,i,o),a=e.coordsAtPos(r),l=e.coordsAtPos(s,-1),c=Math.min(a.top,l.top),p=Math.max(a.bottom,l.bottom),u=Math.min(a.left,l.left),d=Math.max(a.right,l.right),h={top:c,bottom:p,left:u,right:d,width:d-u,height:p-c,x:u,y:c};return{...h,toJSON:()=>h}}function Fs(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const i=e.find((e=>e.type===t&&e.name===n));return!!i&&i.attribute.keepOnSplit})))}function Ps(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const i=n.filter((e=>null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(i)}}const Bs=(e,t)=>{const n=Ns((e=>e.type===t))(e.selection);if(!n)return!0;const i=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===i)return!0;const o=e.doc.nodeAt(i);return n.node.type!==(null==o?void 0:o.type)||!mt(e.doc,n.pos)||(e.join(n.pos),!0)},Us=(e,t)=>{const n=Ns((e=>e.type===t))(e.selection);if(!n)return!0;const i=e.doc.resolve(n.start).after(n.depth);if(void 0===i)return!0;const o=e.doc.nodeAt(i);return n.node.type!==(null==o?void 0:o.type)||!mt(e.doc,i)||(e.join(i),!0)};var $s=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===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:i}=t,{ranges:o}=i;return!n||(o.forEach((({$from:n,$to:i})=>{e.doc.nodesBetween(n.pos,i.pos,((e,n)=>{if(e.type.isText)return;const{doc:i,mapping:o}=t,r=i.resolve(o.map(n)),s=i.resolve(o.map(n+e.nodeSize)),a=r.blockRange(s);if(!a)return;const l=pt(a);if(e.type.isTextblock){const{defaultType:e}=r.parent.contentMatchAt(r.index());t.setNodeMarkup(a.start,e)}(l||0===l)&&t.lift(a,l)}))})),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,{$from:i,$to:o}=n;if(n instanceof Pt||i.parent.inlineContent||o.parent.inlineContent)return!1;let r=Nr(o.parent.contentMatchAt(o.indexAfter()));if(!r||!r.isTextblock)return!1;if(t){let n=(!i.parentOffset&&o.index()<o.parent.childCount?i:o).pos,s=e.tr.insert(n,r.createAndFill());s.setSelection(zt.create(s.doc,n+1)),t(s.scrollIntoView())}return!0})(e,t),deleteNode:e=>({tr:t,state:n,dispatch:i})=>{const o=Hr(e,n.schema),r=t.selection.$anchor;for(let e=r.depth;e>0;e-=1){if(r.node(e).type===o){if(i){const n=r.before(e),i=r.after(e);t.delete(n,i).scrollIntoView()}return!0}}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:i,to:o}=e;return n&&t.delete(i,o),!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:i}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let o=n.node(-1),r=n.indexAfter(-1),s=Nr(o.contentMatchAt(r));if(!s||!o.canReplaceWith(r,r,s))return!1;if(t){let i=n.after(),o=e.tr.replaceWith(i,i,s.createAndFill());o.setSelection(St.near(o.doc.resolve(i),1)),t(o.scrollIntoView())}return!0})(e,t),extendMarkRange:(e,t={})=>({tr:n,state:i,dispatch:o})=>{const r=bs(e,i.schema),{doc:s,selection:a}=n,{$from:l,from:c,to:p}=a;if(o){const e=gs(l,r,t);if(e&&e.from<=c&&e.to>=p){const t=zt.create(s,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:i,tr:o,dispatch:r})=>{t={scrollIntoView:!0,...t};const s=()=>{ws()&&i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null==t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())}))};if(i.hasFocus()&&null===e||!1===e)return!0;if(r&&null===e&&!vs(n.state.selection))return s(),!0;const a=xs(o.doc,e)||n.state.selection,l=n.state.selection.eq(a);return r&&(l||o.setSelection(a),l&&o.storedMarks&&o.setStoredMarks(o.storedMarks),s()),!0},forEach:(e,t)=>n=>e.every(((e,i)=>t(e,{...n,index:i}))),insertContent:(e,t)=>({tr:n,commands:i})=>i.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:i,dispatch:o,editor:r})=>{if(o){n={parseOptions:{},updateSelection:!0,...n};const o=Es(t,r.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions}});if("<>"===o.toString())return!0;let{from:s,to:a}="number"==typeof e?{from:e,to:e}:e,l=!0,c=!0;if((o.toString().startsWith("<")?o:[o]).forEach((e=>{e.check(),l=!!l&&(e.isText&&0===e.marks.length),c=!!c&&e.isBlock})),s===a&&c){const{parent:e}=i.doc.resolve(s);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(s-=1,a+=1)}l?i.insertText(t,s,a):i.replaceWith(s,a,o),n.updateSelection&&function(e,t,n){const i=e.steps.length-1;if(i<t)return;const o=e.steps[i];if(!(o instanceof st||o instanceof at))return;const r=e.mapping.maps[i];let s=0;r.forEach(((e,t,n,i)=>{0===s&&(s=i)})),e.setSelection(St.near(e.doc.resolve(s),n))}(i,i.steps.length-1,-1)}return!0},joinBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$cursor:i}=e.selection;if(!i||(n?!n.endOfTextblock("backward",e):i.parentOffset>0))return!1;let o=Or(i);if(!o){let n=i.blockRange(),o=n&&pt(n);return null!=o&&(t&&t(e.tr.lift(n,o).scrollIntoView()),!0)}let r=o.nodeBefore;if(!r.type.spec.isolating&&Sr(e,o,t))return!0;if(0==i.parent.content.size&&(Dr(r,"end")||Rt.isSelectable(r))){let n=gt(e.doc,i.before(),i.after(),U.empty);if(n&&n.slice.size<n.to-n.from){if(t){let i=e.tr.step(n);i.setSelection(Dr(r,"end")?St.findFrom(i.doc.resolve(i.mapping.map(o.pos,-1)),-1):Rt.create(i.doc,o.pos-r.nodeSize)),t(i.scrollIntoView())}return!0}}return!(!r.isAtom||o.depth!=i.depth-1||(t&&t(e.tr.delete(o.pos-r.nodeSize,o.pos).scrollIntoView()),0))})(e,t),joinForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$cursor:i}=e.selection;if(!i||(n?!n.endOfTextblock("forward",e):i.parentOffset<i.parent.content.size))return!1;let o=Tr(i);if(!o)return!1;let r=o.nodeAfter;if(Sr(e,o,t))return!0;if(0==i.parent.content.size&&(Dr(r,"start")||Rt.isSelectable(r))){let n=gt(e.doc,i.before(),i.after(),U.empty);if(n&&n.slice.size<n.to-n.from){if(t){let i=e.tr.step(n);i.setSelection(Dr(r,"start")?St.findFrom(i.doc.resolve(i.mapping.map(o.pos)),1):Rt.create(i.doc,i.mapping.map(o.pos))),t(i.scrollIntoView())}return!0}}return!(!r.isAtom||o.depth!=i.depth-1||(t&&t(e.tr.delete(o.pos,o.pos+r.nodeSize).scrollIntoView()),0))})(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:i,dispatch:o})=>{const r=function(e){const t=e.split(/-(?!$)/);let n,i,o,r,s=t[t.length-1];"Space"===s&&(s=" ");for(let e=0;e<t.length-1;e+=1){const s=t[e];if(/^(cmd|meta|m)$/i.test(s))r=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))i=!0;else if(/^s(hift)?$/i.test(s))o=!0;else{if(!/^mod$/i.test(s))throw new Error(`Unrecognized modifier name: ${s}`);ws()||_s()?r=!0:i=!0}}return n&&(s=`Alt-${s}`),i&&(s=`Ctrl-${s}`),r&&(s=`Meta-${s}`),o&&(s=`Shift-${s}`),s}(e).split(/-(?!$)/),s=r.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),a=new KeyboardEvent("keydown",{key:"Space"===s?" ":s,altKey:r.includes("Alt"),ctrlKey:r.includes("Ctrl"),metaKey:r.includes("Meta"),shiftKey:r.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,a)))}));return null==l||l.steps.forEach((e=>{const t=e.map(i.mapping);t&&o&&i.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:i})=>!!Ms(n,Hr(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:i}=e.selection,o=n.blockRange(i),r=o&&pt(o);return null!=r&&(t&&t(e.tr.lift(o,r).scrollIntoView()),!0)})(n,i),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 i=n.before();if(ht(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&pt(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)})(e,t),liftListItem:e=>({state:t,dispatch:n})=>Rr(Hr(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:i}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(i)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))})(e,t),resetAttributes:(e,t)=>({tr:n,state:i,dispatch:o})=>{let r=null,s=null;const a=Cs("string"==typeof e?e:e.name,i.schema);return!!a&&("node"===a&&(r=Hr(e,i.schema)),"mark"===a&&(s=bs(e,i.schema)),o&&n.selection.ranges.forEach((e=>{i.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,i)=>{r&&r===e.type&&n.setNodeMarkup(i,void 0,Ds(e.attrs,t)),s&&e.marks.length&&e.marks.forEach((o=>{s===o.type&&n.addMark(i,i+e.nodeSize,s.create(Ds(o.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),selectNodeBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:i,empty:o}=e.selection,r=i;if(!o)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):i.parentOffset>0)return!1;r=Or(i)}let s=r&&r.nodeBefore;return!(!s||!Rt.isSelectable(s)||(t&&t(e.tr.setSelection(Rt.create(e.doc,r.pos-s.nodeSize)).scrollIntoView()),0))})(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:i,empty:o}=e.selection,r=i;if(!o)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):i.parentOffset<i.parent.content.size)return!1;r=Tr(i)}let s=r&&r.nodeAfter;return!(!s||!Rt.isSelectable(s)||(t&&t(e.tr.setSelection(Rt.create(e.doc,r.pos)).scrollIntoView()),0))})(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:i,to:o}=e.selection,r=i.sharedDepth(o);return 0!=r&&(n=i.before(r),t&&t(e.tr.setSelection(Rt.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>Ir(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>jr(e,t),setContent:(e,t=!1,n={})=>({tr:i,editor:o,dispatch:r})=>{const{doc:s}=i,a=Os(e,o.schema,n);return r&&i.replaceWith(0,s.content.size,a).setMeta("preventUpdate",!t),!0},setMark:(e,t={})=>({tr:n,state:i,dispatch:o})=>{const{selection:r}=n,{empty:s,ranges:a}=r,l=bs(e,i.schema);if(o)if(s){const e=Ss(i,l);n.addStoredMark(l.create({...e,...t}))}else a.forEach((e=>{const o=e.$from.pos,r=e.$to.pos;i.doc.nodesBetween(o,r,((e,i)=>{const s=Math.max(i,o),a=Math.min(i+e.nodeSize,r);e.marks.find((e=>e.type===l))?e.marks.forEach((e=>{l===e.type&&n.addMark(s,a,l.create({...e.attrs,...t}))})):n.addMark(s,a,l.create(t))}))}));return function(e,t,n){var i;const{selection:o}=t;let r=null;if(vs(o)&&(r=o.$cursor),r){const t=null!==(i=e.storedMarks)&&void 0!==i?i:r.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:s}=o;return s.some((({$from:t,$to:i})=>{let o=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,i.pos,((e,t,i)=>{if(o)return!1;if(e.isInline){const t=!i||i.type.allowsMarkType(n),r=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));o=t&&r}return!o})),o}))}(i,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:i,chain:o})=>{const r=Hr(e,n.schema);return r.isTextblock?o().command((({commands:e})=>!!zr(r,t)(n)||e.clearNodes())).command((({state:e})=>zr(r,t)(e,i))).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,i=ys(e,0,n.content.size),o=Rt.create(n,i);t.setSelection(o)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:i,to:o}="number"==typeof e?{from:e,to:e}:e,r=zt.atStart(n).from,s=zt.atEnd(n).to,a=ys(i,r,s),l=ys(o,r,s),c=zt.create(n,a,l);t.setSelection(c)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{const i=Hr(e,t.schema);return(o=i,function(e,t){let{$from:n,$to:i}=e.selection,r=n.blockRange(i,(e=>e.childCount>0&&e.firstChild.type==o));if(!r)return!1;let s=r.startIndex;if(0==s)return!1;let a=r.parent,l=a.child(s-1);if(l.type!=o)return!1;if(t){let n=l.lastChild&&l.lastChild.type==a.type,i=z.from(n?o.create():null),s=new U(z.from(o.create(null,z.from(a.type.create(null,i)))),n?3:1,0),c=r.start,p=r.end;t(e.tr.step(new at(c-(n?3:1),p,c,p,s,1,!0)).scrollIntoView())}return!0})(t,n);var o},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:i,editor:o})=>{const{selection:r,doc:s}=t,{$from:a,$to:l}=r,c=Fs(o.extensionManager.attributes,a.node().type.name,a.node().attrs);if(r instanceof Rt&&r.node.isBlock)return!(!a.parentOffset||!ht(s,a.pos))&&(i&&(e&&Ps(n,o.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;if(i){const i=l.parentOffset===l.parent.content.size;r instanceof zt&&t.deleteSelection();const s=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 p=i&&s?[{type:s,attrs:c}]:void 0,u=ht(t.doc,t.mapping.map(a.pos),1,p);if(p||u||!ht(t.doc,t.mapping.map(a.pos),1,s?[{type:s}]:void 0)||(u=!0,p=s?[{type:s,attrs:c}]:void 0),u&&(t.split(t.mapping.map(a.pos),1,p),s&&!i&&!a.parentOffset&&a.parent.type!==s)){const e=t.mapping.map(a.before()),n=t.doc.resolve(e);a.node(-1).canReplaceWith(n.index(),n.index()+1,s)&&t.setNodeMarkup(t.mapping.map(a.before()),s)}e&&Ps(n,o.extensionManager.splittableMarks),t.scrollIntoView()}return!0},splitListItem:e=>({tr:t,state:n,dispatch:i,editor:o})=>{var r;const s=Hr(e,n.schema),{$from:a,$to:l}=n.selection,c=n.selection.node;if(c&&c.isBlock||a.depth<2||!a.sameParent(l))return!1;const p=a.node(-1);if(p.type!==s)return!1;const u=o.extensionManager.attributes;if(0===a.parent.content.size&&a.node(-1).childCount===a.indexAfter(-1)){if(2===a.depth||a.node(-3).type!==s||a.index(-2)!==a.node(-2).childCount-1)return!1;if(i){let e=z.empty;const n=a.index(-1)?1:a.index(-2)?2:3;for(let t=a.depth-n;t>=a.depth-3;t-=1)e=z.from(a.node(t).copy(e));const i=a.indexAfter(-1)<a.node(-2).childCount?1:a.indexAfter(-2)<a.node(-3).childCount?2:3,o=Fs(u,a.node().type.name,a.node().attrs),l=(null===(r=s.contentMatch.defaultType)||void 0===r?void 0:r.createAndFill(o))||void 0;e=e.append(z.from(s.createAndFill(null,l)||void 0));const c=a.before(a.depth-(n-1));t.replace(c,a.after(-i),new U(e,4-n,0));let p=-1;t.doc.nodesBetween(c,t.doc.content.size,((e,t)=>{if(p>-1)return!1;e.isTextblock&&0===e.content.size&&(p=t+1)})),p>-1&&t.setSelection(zt.near(t.doc.resolve(p))),t.scrollIntoView()}return!0}const d=l.pos===a.end()?p.contentMatchAt(0).defaultType:null,h=Fs(u,p.type.name,p.attrs),m=Fs(u,a.node().type.name,a.node().attrs);t.delete(a.pos,l.pos);const f=d?[{type:s,attrs:h},{type:d,attrs:m}]:[{type:s,attrs:h}];return!!ht(t.doc,a.pos,2)&&(i&&t.split(a.pos,2,f).scrollIntoView(),!0)},toggleList:(e,t)=>({editor:n,tr:i,state:o,dispatch:r,chain:s,commands:a,can:l})=>{const{extensions:c}=n.extensionManager,p=Hr(e,o.schema),u=Hr(t,o.schema),{selection:d}=o,{$from:h,$to:m}=d,f=h.blockRange(m);if(!f)return!1;const g=Ns((e=>Ls(e.type.name,c)))(d);if(f.depth>=1&&g&&f.depth-g.depth<=1){if(g.node.type===p)return a.liftListItem(u);if(Ls(g.node.type.name,c)&&p.validContent(g.node.content)&&r)return s().command((()=>(i.setNodeMarkup(g.pos,p),!0))).command((()=>Bs(i,p))).command((()=>Us(i,p))).run()}return s().command((()=>!!l().wrapInList(p)||a.clearNodes())).wrapInList(p).command((()=>Bs(i,p))).command((()=>Us(i,p))).run()},toggleMark:(e,t={},n={})=>({state:i,commands:o})=>{const{extendEmptyMarkRange:r=!1}=n,s=bs(e,i.schema);return zs(i,s,t)?o.unsetMark(s,{extendEmptyMarkRange:r}):o.setMark(s,t)},toggleNode:(e,t,n={})=>({state:i,commands:o})=>{const r=Hr(e,i.schema),s=Hr(t,i.schema);return Ms(i,r,n)?o.setNode(s):o.setNode(r,n)},toggleWrap:(e,t={})=>({state:n,commands:i})=>{const o=Hr(e,n.schema);return Ms(n,o,t)?i.lift(o):i.wrapIn(o,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let i=0;i<n.length;i+=1){const o=n[i];let r;if(o.spec.isInputRules&&(r=o.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:i,ranges:o}=n;return i||t&&o.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:i,dispatch:o})=>{var r;const{extendEmptyMarkRange:s=!1}=t,{selection:a}=n,l=bs(e,i.schema),{$from:c,empty:p,ranges:u}=a;if(!o)return!0;if(p&&s){let{from:e,to:t}=a;const i=null===(r=c.marks().find((e=>e.type===l)))||void 0===r?void 0:r.attrs,o=gs(c,l,i);o&&(e=o.from,t=o.to),n.removeMark(e,t,l)}else u.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:i,dispatch:o})=>{let r=null,s=null;const a=Cs("string"==typeof e?e:e.name,i.schema);return!!a&&("node"===a&&(r=Hr(e,i.schema)),"mark"===a&&(s=bs(e,i.schema)),o&&n.selection.ranges.forEach((e=>{const o=e.$from.pos,a=e.$to.pos;i.doc.nodesBetween(o,a,((e,i)=>{r&&r===e.type&&n.setNodeMarkup(i,void 0,{...e.attrs,...t}),s&&e.marks.length&&e.marks.forEach((r=>{if(s===r.type){const l=Math.max(i,o),c=Math.min(i+e.nodeSize,a);n.addMark(l,c,s.create({...r.attrs,...t}))}}))}))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:i})=>function(e,t=null){return function(n,i){let{$from:o,$to:r}=n.selection,s=o.blockRange(r),a=s&&ut(s,e,t);return!!a&&(i&&i(n.tr.wrap(s,a).scrollIntoView()),!0)}}(Hr(e,n.schema),t)(n,i),wrapInList:(e,t={})=>({state:n,dispatch:i})=>Lr(Hr(e,n.schema),t)(n,i)});const Hs=cs.create({name:"commands",addCommands:()=>({...$s})}),qs=cs.create({name:"editable",addProseMirrorPlugins(){return[new Xt({key:new nn("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Vs=cs.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new Xt({key:new nn("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const i=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(i),!1},blur:(t,n)=>{e.isFocused=!1;const i=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(i),!1}}}})]}}),Ws=cs.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:i}=t,{empty:o,$anchor:r}=n,{pos:s,parent:a}=r,l=St.atStart(i).from===s;return!(!(o&&l&&a.type.isTextblock)||a.textContent.length)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>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()},i={...n},o={...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 ws()||_s()?o:i},addProseMirrorPlugins(){return[new Xt({key:new nn("clearDocument"),appendTransaction:(e,t,n)=>{if(!(e.some((e=>e.docChanged))&&!t.doc.eq(n.doc)))return;const{empty:i,from:o,to:r}=t.selection,s=St.atStart(t.doc).from,a=St.atEnd(t.doc).to,l=o===s&&r===a,c=0===n.doc.textBetween(0,n.doc.content.size," "," ").length;if(i||!l||!c)return;const p=n.tr,u=Fr({state:n,transaction:p}),{commands:d}=new Pr({editor:this.editor,state:u});return d.clearNodes(),p.steps.length?p:void 0}})]}}),Ks=cs.create({name:"tabindex",addProseMirrorPlugins(){return[new Xt({key:new nn("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var Ys=Object.freeze({__proto__:null,ClipboardTextSerializer:ds,Commands:Hs,Editable:qs,FocusEvents:Vs,Keymap:Ws,Tabindex:Ks});const Qs=`.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: 1px !important;\n height: 1px !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}`;function Gs(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i);if(!1===o||null===o)return null;const{tr:r}=t,s=i[i.length-1],a=i[0];let l=n.to;if(s){const i=a.search(/\S/),c=n.from+a.indexOf(s),p=c+s.length,u=Is(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>c));if(u.length)return null;p<n.to&&r.delete(p,n.to),c>n.from&&r.delete(n.from+i,c),l=n.from+i+s.length,r.addMark(n.from+i,l,e.type.create(o||{})),r.removeStoredMark(e.type)}}})}function Js(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i)||{},{tr:r}=t,s=n.from;let a=n.to;if(i[1]){let t=s+i[0].lastIndexOf(i[1]);t>a?t=a:a=t+i[1].length;const n=i[0][i[0].length-1];r.insertText(n,s+i[0].length-1),r.replaceWith(t,a,e.type.create(o))}else i[0]&&r.replaceWith(s,a,e.type.create(o))}})}function Zs(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=t.doc.resolve(n.from),r=Kr(e.getAttributes,void 0,i)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,r)}})}function Xs(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{let o=e.replace,r=n.from;const s=n.to;if(i[1]){const e=i[0].lastIndexOf(i[1]);o+=i[0].slice(e+i[1].length),r+=e;const t=r-s;t>0&&(o=i[0].slice(e-t,e)+o,r=s)}t.tr.insertText(o,r,s)}})}function ea(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i)||{},r=t.tr.delete(n.from,n.to),s=r.doc.resolve(n.from).blockRange(),a=s&&ut(s,e.type,o);if(!a)return null;r.wrap(s,a);const l=r.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&mt(r.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(i,l))&&r.join(n.from-1)}})}class ta{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&&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=Kr(Br(this,"addOptions",{name:this.name}))),this.storage=Kr(Br(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ta(e)}configure(e={}){const t=this.extend();return t.options=ls(this.options,e),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new ta(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Kr(Br(t,"addOptions",{name:t.name})),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,i=e.state.selection.$from;if(i.pos===i.end()){const o=i.marks(),r=!!o.find((e=>(null==e?void 0:e.type.name)===t.name));if(!r)return!1;const s=o.find((e=>(null==e?void 0:e.type.name)===t.name));return s&&n.removeStoredMark(s),n.insertText(" ",i.pos),e.view.dispatch(n),!0}return!1}}class na{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&&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=Kr(Br(this,"addOptions",{name:this.name}))),this.storage=Kr(Br(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new na(e)}configure(e={}){const t=this.extend();return t.options=ls(this.options,e),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new na(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Kr(Br(t,"addOptions",{name:t.name})),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}}function ia(e){return new ns({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i);if(!1===o||null===o)return null;const{tr:r}=t,s=i[i.length-1],a=i[0];let l=n.to;if(s){const i=a.search(/\S/),c=n.from+a.indexOf(s),p=c+s.length,u=Is(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>c));if(u.length)return null;p<n.to&&r.delete(p,n.to),c>n.from&&r.delete(n.from+i,c),l=n.from+i+s.length,r.addMark(n.from+i,l,e.type.create(o||{})),r.removeStoredMark(e.type)}}})}function oa(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var ra="top",sa="bottom",aa="right",la="left",ca="auto",pa=[ra,sa,aa,la],ua="start",da="end",ha="clippingParents",ma="viewport",fa="popper",ga="reference",ba=pa.reduce((function(e,t){return e.concat([t+"-"+ua,t+"-"+da])}),[]),va=[].concat(pa,[ca]).reduce((function(e,t){return e.concat([t,t+"-"+ua,t+"-"+da])}),[]),ya=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function xa(e){return e?(e.nodeName||"").toLowerCase():null}function wa(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ka(e){return e instanceof wa(e).Element||e instanceof Element}function Ea(e){return e instanceof wa(e).HTMLElement||e instanceof HTMLElement}function _a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof wa(e).ShadowRoot||e instanceof ShadowRoot)}var Ma={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];Ea(o)&&xa(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ea(i)&&xa(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ca(e){return e.split("-")[0]}var Da=Math.max,Oa=Math.min,Ta=Math.round;function Na(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Sa(){return!/^((?!chrome|android).)*safari/i.test(Na())}function Aa(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&Ea(e)&&(o=e.offsetWidth>0&&Ta(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ta(i.height)/e.offsetHeight||1);var s=(ka(e)?wa(e):window).visualViewport,a=!Sa()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,p=i.width/o,u=i.height/r;return{width:p,height:u,top:c,right:l+p,bottom:c+u,left:l,x:l,y:c}}function ja(e){var t=Aa(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ia(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_a(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function za(e){return wa(e).getComputedStyle(e)}function La(e){return["table","td","th"].indexOf(xa(e))>=0}function Ra(e){return((ka(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fa(e){return"html"===xa(e)?e:e.assignedSlot||e.parentNode||(_a(e)?e.host:null)||Ra(e)}function Pa(e){return Ea(e)&&"fixed"!==za(e).position?e.offsetParent:null}function Ba(e){for(var t=wa(e),n=Pa(e);n&&La(n)&&"static"===za(n).position;)n=Pa(n);return n&&("html"===xa(n)||"body"===xa(n)&&"static"===za(n).position)?t:n||function(e){var t=/firefox/i.test(Na());if(/Trident/i.test(Na())&&Ea(e)&&"fixed"===za(e).position)return null;var n=Fa(e);for(_a(n)&&(n=n.host);Ea(n)&&["html","body"].indexOf(xa(n))<0;){var i=za(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Ua(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $a(e,t,n){return Da(e,Oa(t,n))}function Ha(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function qa(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Va={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ca(n.placement),l=Ua(a),c=[la,aa].indexOf(a)>=0?"height":"width";if(r&&s){var p=function(e,t){return Ha("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:qa(e,pa))}(o.padding,n),u=ja(r),d="y"===l?ra:la,h="y"===l?sa:aa,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],f=s[l]-n.rects.reference[l],g=Ba(r),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=m/2-f/2,y=p[d],x=b-u[c]-p[h],w=b/2-u[c]/2+v,k=$a(y,w,x),E=l;n.modifiersData[i]=((t={})[E]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ia(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wa(e){return e.split("-")[1]}var Ka={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ya(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,u=e.isFixed,d=s.x,h=void 0===d?0:d,m=s.y,f=void 0===m?0:m,g="function"==typeof p?p({x:h,y:f}):{x:h,y:f};h=g.x,f=g.y;var b=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=la,x=ra,w=window;if(c){var k=Ba(n),E="clientHeight",_="clientWidth";if(k===wa(n)&&"static"!==za(k=Ra(n)).position&&"absolute"===a&&(E="scrollHeight",_="scrollWidth"),o===ra||(o===la||o===aa)&&r===da)x=sa,f-=(u&&k===w&&w.visualViewport?w.visualViewport.height:k[E])-i.height,f*=l?1:-1;if(o===la||(o===ra||o===sa)&&r===da)y=aa,h-=(u&&k===w&&w.visualViewport?w.visualViewport.width:k[_])-i.width,h*=l?1:-1}var M,C=Object.assign({position:a},c&&Ka),D=!0===p?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:Ta(t*i)/i||0,y:Ta(n*i)/i||0}}({x:h,y:f}):{x:h,y:f};return h=D.x,f=D.y,l?Object.assign({},C,((M={})[x]=v?"0":"",M[y]=b?"0":"",M.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",M)):Object.assign({},C,((t={})[x]=v?f+"px":"",t[y]=b?h+"px":"",t.transform="",t))}var Qa={passive:!0};var Ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=wa(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,Qa)})),a&&l.addEventListener("resize",n.update,Qa),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Qa)})),a&&l.removeEventListener("resize",n.update,Qa)}},data:{}},Ja={left:"right",right:"left",bottom:"top",top:"bottom"};function Za(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ja[e]}))}var Xa={start:"end",end:"start"};function el(e){return e.replace(/start|end/g,(function(e){return Xa[e]}))}function tl(e){var t=wa(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function nl(e){return Aa(Ra(e)).left+tl(e).scrollLeft}function il(e){var t=za(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function ol(e){return["html","body","#document"].indexOf(xa(e))>=0?e.ownerDocument.body:Ea(e)&&il(e)?e:ol(Fa(e))}function rl(e,t){var n;void 0===t&&(t=[]);var i=ol(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=wa(i),s=o?[r].concat(r.visualViewport||[],il(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(rl(Fa(s)))}function sl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function al(e,t,n){return t===ma?sl(function(e,t){var n=wa(e),i=Ra(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=Sa();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+nl(e),y:l}}(e,n)):ka(t)?function(e,t){var n=Aa(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):sl(function(e){var t,n=Ra(e),i=tl(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=Da(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Da(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+nl(e),l=-i.scrollTop;return"rtl"===za(o||n).direction&&(a+=Da(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(Ra(e)))}function ll(e,t,n,i){var o="clippingParents"===t?function(e){var t=rl(Fa(e)),n=["absolute","fixed"].indexOf(za(e).position)>=0&&Ea(e)?Ba(e):e;return ka(n)?t.filter((function(e){return ka(e)&&Ia(e,n)&&"body"!==xa(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(t,n){var o=al(e,n,i);return t.top=Da(o.top,t.top),t.right=Oa(o.right,t.right),t.bottom=Oa(o.bottom,t.bottom),t.left=Da(o.left,t.left),t}),al(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function cl(e){var t,n=e.reference,i=e.element,o=e.placement,r=o?Ca(o):null,s=o?Wa(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case ra:t={x:a,y:n.y-i.height};break;case sa:t={x:a,y:n.y+n.height};break;case aa:t={x:n.x+n.width,y:l};break;case la:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Ua(r):null;if(null!=c){var p="y"===c?"height":"width";switch(s){case ua:t[c]=t[c]-(n[p]/2-i[p]/2);break;case da:t[c]=t[c]+(n[p]/2-i[p]/2)}}return t}function pl(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,l=void 0===a?ha:a,c=n.rootBoundary,p=void 0===c?ma:c,u=n.elementContext,d=void 0===u?fa:u,h=n.altBoundary,m=void 0!==h&&h,f=n.padding,g=void 0===f?0:f,b=Ha("number"!=typeof g?g:qa(g,pa)),v=d===fa?ga:fa,y=e.rects.popper,x=e.elements[m?v:d],w=ll(ka(x)?x:x.contextElement||Ra(e.elements.popper),l,p,s),k=Aa(e.elements.reference),E=cl({reference:k,element:y,strategy:"absolute",placement:o}),_=sl(Object.assign({},y,E)),M=d===fa?_:k,C={top:w.top-M.top+b.top,bottom:M.bottom-w.bottom+b.bottom,left:w.left-M.left+b.left,right:M.right-w.right+b.right},D=e.modifiersData.offset;if(d===fa&&D){var O=D[o];Object.keys(C).forEach((function(e){var t=[aa,sa].indexOf(e)>=0?1:-1,n=[ra,sa].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}function ul(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?va:l,p=Wa(i),u=p?a?ba:ba.filter((function(e){return Wa(e)===p})):pa,d=u.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=u);var h=d.reduce((function(t,n){return t[n]=pl(e,{placement:n,boundary:o,rootBoundary:r,padding:s})[Ca(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}var dl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=void 0===h||h,f=n.allowedAutoPlacements,g=t.options.placement,b=Ca(g),v=l||(b===g||!m?[Za(g)]:function(e){if(Ca(e)===ca)return[];var t=Za(e);return[el(e),t,el(t)]}(g)),y=[g].concat(v).reduce((function(e,n){return e.concat(Ca(n)===ca?ul(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:f}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,E=!0,_=y[0],M=0;M<y.length;M++){var C=y[M],D=Ca(C),O=Wa(C)===ua,T=[ra,sa].indexOf(D)>=0,N=T?"width":"height",S=pl(t,{placement:C,boundary:p,rootBoundary:u,altBoundary:d,padding:c}),A=T?O?aa:la:O?sa:ra;x[N]>w[N]&&(A=Za(A));var j=Za(A),I=[];if(r&&I.push(S[D]<=0),a&&I.push(S[A]<=0,S[j]<=0),I.every((function(e){return e}))){_=C,E=!1;break}k.set(C,I)}if(E)for(var z=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},L=m?3:1;L>0;L--){if("break"===z(L))break}t.placement!==_&&(t.modifiersData[i]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function hl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ml(e){return[ra,aa,sa,la].some((function(t){return e[t]>=0}))}var fl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=pl(t,{elementContext:"reference"}),a=pl(t,{altBoundary:!0}),l=hl(s,i),c=hl(a,o,r),p=ml(l),u=ml(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}};var gl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=void 0===o?[0,0]:o,s=va.reduce((function(e,n){return e[n]=function(e,t,n){var i=Ca(e),o=[la,ra].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[la,aa].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var bl={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=cl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var vl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,p=n.altBoundary,u=n.padding,d=n.tether,h=void 0===d||d,m=n.tetherOffset,f=void 0===m?0:m,g=pl(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:p}),b=Ca(t.placement),v=Wa(t.placement),y=!v,x=Ua(b),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,E=t.rects.reference,_=t.rects.popper,M="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(k){if(r){var T,N="y"===x?ra:la,S="y"===x?sa:aa,A="y"===x?"height":"width",j=k[x],I=j+g[N],z=j-g[S],L=h?-_[A]/2:0,R=v===ua?E[A]:_[A],F=v===ua?-_[A]:-E[A],P=t.elements.arrow,B=h&&P?ja(P):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=U[N],H=U[S],q=$a(0,E[A],B[A]),V=y?E[A]/2-L-q-$-C.mainAxis:R-q-$-C.mainAxis,W=y?-E[A]/2+L+q+H+C.mainAxis:F+q+H+C.mainAxis,K=t.elements.arrow&&Ba(t.elements.arrow),Y=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,Q=null!=(T=null==D?void 0:D[x])?T:0,G=j+W-Q,J=$a(h?Oa(I,j+V-Q-Y):I,j,h?Da(z,G):z);k[x]=J,O[x]=J-j}if(a){var Z,X="x"===x?ra:la,ee="x"===x?sa:aa,te=k[w],ne="y"===w?"height":"width",ie=te+g[X],oe=te-g[ee],re=-1!==[ra,la].indexOf(b),se=null!=(Z=null==D?void 0:D[w])?Z:0,ae=re?ie:te-E[ne]-_[ne]-se+C.altAxis,le=re?te+E[ne]+_[ne]-se-C.altAxis:oe,ce=h&&re?function(e,t,n){var i=$a(e,t,n);return i>n?n:i}(ae,te,le):$a(h?ae:ie,te,h?le:oe);k[w]=ce,O[w]=ce-te}t.modifiersData[i]=O}},requiresIfExists:["offset"]};function yl(e,t,n){void 0===n&&(n=!1);var i=Ea(t),o=Ea(t)&&function(e){var t=e.getBoundingClientRect(),n=Ta(t.width)/e.offsetWidth||1,i=Ta(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),r=Ra(t),s=Aa(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==xa(t)||il(r))&&(a=function(e){return e!==wa(e)&&Ea(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:tl(e);var t}(t)),Ea(t)?((l=Aa(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=nl(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function xl(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var wl={placement:"bottom",modifiers:[],strategy:"absolute"};function kl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function El(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?wl:o;return function(e,t,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},wl,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,p={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:ka(e)?rl(e):e.contextElement?rl(e.contextElement):[],popper:rl(t)};var s=function(e){var t=xl(e);return ya.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:a,name:t,instance:p,options:i}),s=function(){};l.push(r||s)}})),p.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(kl(t,n)){a.rects={reference:yl(t,Ba(n),"fixed"===a.options.strategy),popper:ja(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,l=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:l,name:u,instance:p})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){u(),c=!0}};if(!kl(e,t))return p;function u(){l.forEach((function(e){return e()})),l=[]}return p.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var _l=El({defaultModifiers:[Ga,bl,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:Ca(t.placement),variation:Wa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ya(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ya(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ma,gl,dl,vl,Va,fl]}),Ml='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',Cl="tippy-box",Dl="tippy-content",Ol="tippy-backdrop",Tl="tippy-arrow",Nl="tippy-svg-arrow",Sl={passive:!0,capture:!0},Al=function(){return document.body};function jl(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function Il(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function zl(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ll(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function Rl(e){return[].concat(e)}function Fl(e,t){-1===e.indexOf(t)&&e.push(t)}function Pl(e){return[].slice.call(e)}function Bl(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ul(){return document.createElement("div")}function $l(e){return["Element","Fragment"].some((function(t){return Il(e,t)}))}function Hl(e){return Il(e,"MouseEvent")}function ql(e){return $l(e)?[e]:function(e){return Il(e,"NodeList")}(e)?Pl(e):Array.isArray(e)?e:Pl(document.querySelectorAll(e))}function Vl(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Wl(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Kl(e){var t,n=Rl(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Yl(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}function Ql(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var Gl={isTouch:!1},Jl=0;function Zl(){Gl.isTouch||(Gl.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xl))}function Xl(){var e=performance.now();e-Jl<20&&(Gl.isTouch=!1,document.removeEventListener("mousemove",Xl)),Jl=e}function ec(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var tc=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,nc=Object.assign({appendTo:Al,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ic=Object.keys(nc);function oc(e){var t=(e.plugins||[]).reduce((function(t,n){var i,o=n.name,r=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(i=nc[o])?i:r);return t}),{});return Object.assign({},e,t)}function rc(e,t){var n=Object.assign({},t,{content:zl(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(oc(Object.assign({},nc,{plugins:t}))):ic).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},nc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function sc(e,t){e["innerHTML"]=t}function ac(e){var t=Ul();return!0===e?t.className=Tl:(t.className=Nl,$l(e)?t.appendChild(e):sc(t,e)),t}function lc(e,t){$l(t.content)?(sc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?sc(e,t.content):e.textContent=t.content)}function cc(e){var t=e.firstElementChild,n=Pl(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Dl)})),arrow:n.find((function(e){return e.classList.contains(Tl)||e.classList.contains(Nl)})),backdrop:n.find((function(e){return e.classList.contains(Ol)}))}}function pc(e){var t=Ul(),n=Ul();n.className=Cl,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Ul();function o(n,i){var o=cc(t),r=o.box,s=o.content,a=o.arrow;i.theme?r.setAttribute("data-theme",i.theme):r.removeAttribute("data-theme"),"string"==typeof i.animation?r.setAttribute("data-animation",i.animation):r.removeAttribute("data-animation"),i.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?r.setAttribute("role",i.role):r.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||lc(s,e.props),i.arrow?a?n.arrow!==i.arrow&&(r.removeChild(a),r.appendChild(ac(i.arrow))):r.appendChild(ac(i.arrow)):a&&r.removeChild(a)}return i.className=Dl,i.setAttribute("data-state","hidden"),lc(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props),{popper:t,onUpdate:o}}pc.$$tippy=!0;var uc=1,dc=[],hc=[];function mc(e,t){var n,i,o,r,s,a,l,c,p=rc(e,Object.assign({},nc,oc(Bl(t)))),u=!1,d=!1,h=!1,m=!1,f=[],g=Ll(K,p.interactiveDebounce),b=uc++,v=(c=p.plugins).filter((function(e,t){return c.indexOf(e)===t})),y={id:b,reference:e,popper:Ul(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(o)},setProps:function(t){if(y.state.isDestroyed)return;j("onBeforeUpdate",[y,t]),V();var n=y.props,i=rc(e,Object.assign({},n,Bl(t),{ignoreAttributes:!0}));y.props=i,q(),n.interactiveDebounce!==i.interactiveDebounce&&(L(),g=Ll(K,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?Rl(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");z(),A(),k&&k(n,i);y.popperInstance&&(J(),X().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));j("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,i=Gl.isTouch&&!y.props.touch,o=jl(y.props.duration,0,nc.duration);if(e||t||n||i)return;if(O().hasAttribute("disabled"))return;if(j("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,D()&&(w.style.visibility="visible");A(),B(),y.state.isMounted||(w.style.transition="none");if(D()){var r=N(),s=r.box,l=r.content;Vl([s,l],0)}a=function(){var e;if(y.state.isVisible&&!m){if(m=!0,w.offsetHeight,w.style.transition=y.props.moveTransition,D()&&y.props.animation){var t=N(),n=t.box,i=t.content;Vl([n,i],o),Wl([n,i],"visible")}I(),z(),Fl(hc,y),null==(e=y.popperInstance)||e.forceUpdate(),j("onMount",[y]),y.props.animation&&D()&&function(e,t){$(e,t)}(o,(function(){y.state.isShown=!0,j("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=O();e=y.props.interactive&&t===Al||"parent"===t?n.parentNode:zl(t,[n]);e.contains(w)||e.appendChild(w);y.state.isMounted=!0,J()}()},hide:function(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,i=jl(y.props.duration,1,nc.duration);if(e||t||n)return;if(j("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,m=!1,u=!1,D()&&(w.style.visibility="hidden");if(L(),U(),A(!0),D()){var o=N(),r=o.box,s=o.content;y.props.animation&&(Vl([r,s],i),Wl([r,s],"hidden"))}I(),z(),y.props.animation?D()&&function(e,t){$(e,(function(){!y.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(i,y.unmount):y.unmount()},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),Fl(dc,g),g(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){y.state.isVisible&&y.hide();if(!y.state.isMounted)return;Z(),X().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);hc=hc.filter((function(e){return e!==y})),y.state.isMounted=!1,j("onHidden",[y])},destroy:function(){if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),V(),delete e._tippy,y.state.isDestroyed=!0,j("onDestroy",[y])}};if(!p.render)return y;var x=p.render(y),w=x.popper,k=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+y.id,y.popper=w,e._tippy=y,w._tippy=y;var E=v.map((function(e){return e.fn(y)})),_=e.hasAttribute("aria-expanded");return q(),z(),A(),j("onCreate",[y]),p.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)})),y;function M(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===M()[0]}function D(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function O(){return l||e}function T(){var e=O().parentNode;return e?Kl(e):document}function N(){return cc(w)}function S(e){return y.state.isMounted&&!y.state.isVisible||Gl.isTouch||r&&"focus"===r.type?0:jl(y.props.delay,e?0:1,nc.delay)}function A(e){void 0===e&&(e=!1),w.style.pointerEvents=y.props.interactive&&!e?"":"none",w.style.zIndex=""+y.props.zIndex}function j(e,t,n){var i;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(i=y.props)[e].apply(i,t)}function I(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,i=w.id;Rl(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var o=t&&t.replace(i,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function z(){!_&&y.props.aria.expanded&&Rl(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===O()?"true":"false"):e.removeAttribute("aria-expanded")}))}function L(){T().removeEventListener("mousemove",g),dc=dc.filter((function(e){return e!==g}))}function R(t){if(!Gl.isTouch||!h&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Ql(w,n)){if(Rl(y.props.triggerTarget||e).some((function(e){return Ql(e,n)}))){if(Gl.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),d=!0,setTimeout((function(){d=!1})),y.state.isMounted||U())}}}function F(){h=!0}function P(){h=!1}function B(){var e=T();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,Sl),e.addEventListener("touchstart",P,Sl),e.addEventListener("touchmove",F,Sl)}function U(){var e=T();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,Sl),e.removeEventListener("touchstart",P,Sl),e.removeEventListener("touchmove",F,Sl)}function $(e,t){var n=N().box;function i(e){e.target===n&&(Yl(n,"remove",i),t())}if(0===e)return t();Yl(n,"remove",s),Yl(n,"add",i),s=i}function H(t,n,i){void 0===i&&(i=!1),Rl(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),f.push({node:e,eventType:t,handler:n,options:i})}))}function q(){var e;C()&&(H("touchstart",W,{passive:!0}),H("touchend",Y,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(H(e,W),e){case"mouseenter":H("mouseleave",Y);break;case"focus":H(tc?"focusout":"blur",Q);break;case"focusin":H("focusout",Q)}}))}function V(){f.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,o=e.options;t.removeEventListener(n,i,o)})),f=[]}function W(e){var t,n=!1;if(y.state.isEnabled&&!G(e)&&!d){var i="focus"===(null==(t=r)?void 0:t.type);r=e,l=e.currentTarget,z(),!y.state.isVisible&&Hl(e)&&dc.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||u)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(u=!n),n&&!i&&te(e)}}function K(e){var t=e.target,n=O().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var i=X().concat(w).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,r=e.props.interactiveBorder,s=o.placement.split("-")[0],a=o.modifiersData.offset;if(!a)return!0;var l="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,p="right"===s?a.left.x:0,u="left"===s?a.right.x:0,d=t.top-i+l>r,h=i-t.bottom-c>r,m=t.left-n+p>r,f=n-t.right-u>r;return d||h||m||f}))})(i,e)&&(L(),te(e))}}function Y(e){G(e)||y.props.trigger.indexOf("click")>=0&&u||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function Q(e){y.props.trigger.indexOf("focusin")<0&&e.target!==O()||y.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function G(e){return!!Gl.isTouch&&C()!==e.type.indexOf("touch")>=0}function J(){Z();var t=y.props,n=t.popperOptions,i=t.placement,o=t.offset,r=t.getReferenceClientRect,s=t.moveTransition,l=D()?cc(w).arrow:null,c=r?{getBoundingClientRect:r,contextElement:r.contextElement||O()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=N().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},u=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},p];D()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),y.popperInstance=_l(c,w,Object.assign({},n,{placement:i,onFirstUpdate:a,modifiers:u}))}function Z(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function X(){return Pl(w.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&j("onTrigger",[y,e]),B();var t=S(!0),i=M(),o=i[0],r=i[1];Gl.isTouch&&"hold"===o&&r&&(t=r),t?n=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),j("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=S(!1);t?i=setTimeout((function(){y.state.isVisible&&y.hide()}),t):o=requestAnimationFrame((function(){y.hide()}))}}else U()}}function fc(e,t){void 0===t&&(t={});var n=nc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Zl,Sl),window.addEventListener("blur",ec);var i=Object.assign({},t,{plugins:n}),o=ql(e).reduce((function(e,t){var n=t&&mc(t,i);return n&&e.push(n),e}),[]);return $l(e)?o[0]:o}fc.defaultProps=nc,fc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){nc[t]=e[t]}))},fc.currentInput=Gl,Object.assign({},Ma,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var gc={clientX:0,clientY:0},bc=[];function vc(e){var t=e.clientX,n=e.clientY;gc={clientX:t,clientY:n}}var yc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Kl(e.props.triggerTarget||t),i=!1,o=!1,r=!0,s=e.props;function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){n.addEventListener("mousemove",u)}function c(){n.removeEventListener("mousemove",u)}function p(){i=!0,e.setProps({getReferenceClientRect:null}),i=!1}function u(n){var i=!n.target||t.contains(n.target),o=e.props.followCursor,r=n.clientX,s=n.clientY,a=t.getBoundingClientRect(),l=r-a.left,c=s-a.top;!i&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=r,i=s;"initial"===o&&(n=e.left+l,i=e.top+c);var a="horizontal"===o?e.top:i,p="vertical"===o?e.right:n,u="horizontal"===o?e.bottom:i,d="vertical"===o?e.left:n;return{width:p-d,height:u-a,top:a,right:p,bottom:u,left:d}}})}function d(){e.props.followCursor&&(bc.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",vc)}(n))}function h(){bc=bc.filter((function(t){return t.instance!==e})),0===bc.filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",vc)}(n)}return{onCreate:d,onDestroy:h,onBeforeUpdate:function(){s=e.props},onAfterUpdate:function(t,n){var r=n.followCursor;i||void 0!==r&&s.followCursor!==r&&(h(),r?(d(),!e.state.isMounted||o||a()||l()):(c(),p()))},onMount:function(){e.props.followCursor&&!o&&(r&&(u(gc),r=!1),a()||l())},onTrigger:function(e,t){Hl(t)&&(gc={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),r=!0)}}}};fc.setDefaultProps({render:pc});class xc{constructor({editor:e,element:t,view:n,tippyOptions:i={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:i})=>{const{doc:o,selection:r}=t,{empty:s}=r,a=!o.textBetween(n,i).length&&vs(t.selection),l=this.element.contains(document.activeElement);return!(!e.hasFocus()&&!l||s||a||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.editor=e,this.element=t,this.view=n,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=fc(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",(e=>{this.blurHandler({event:e})})))}update(e,t){var n,i,o;const{state:r,composing:s}=e,{doc:a,selection:l}=r,c=t&&t.doc.eq(a)&&t.selection.eq(l);if(s||c)return;this.createTooltip();const{ranges:p}=l,u=Math.min(...p.map((e=>e.$from.pos))),d=Math.max(...p.map((e=>e.$to.pos)));(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:r,oldState:t,from:u,to:d}))?(null===(i=this.tippy)||void 0===i||i.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>{if(r.selection instanceof Rt){const t=e.nodeDOM(u);if(t)return t.getBoundingClientRect()}return Rs(e,u,d)})}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e;null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const wc=e=>new Xt({key:"string"==typeof e.pluginKey?new nn(e.pluginKey):e.pluginKey,view:t=>new xc({view:t,...e})});cs.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[wc({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});class kc{constructor({editor:e,element:t,view:n,tippyOptions:i={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t})=>{const{selection:n}=t,{$anchor:i,empty:o}=n,r=1===i.depth,s=i.parent.isTextblock&&!i.parent.type.spec.code&&!i.parent.textContent;return!!(e.hasFocus()&&o&&r&&s&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.editor=e,this.element=t,this.view=n,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=fc(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",(e=>{this.blurHandler({event:e})})))}update(e,t){var n,i,o;const{state:r}=e,{doc:s,selection:a}=r,{from:l,to:c}=a;if(t&&t.doc.eq(s)&&t.selection.eq(a))return;this.createTooltip();(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:r,oldState:t}))?(null===(i=this.tippy)||void 0===i||i.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>Rs(e,l,c))}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e;null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}cs.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[(e={pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow},new Xt({key:"string"==typeof e.pluginKey?new nn(e.pluginKey):e.pluginKey,view:t=>new kc({view:t,...e})}))]:[];var e}});const Ec=e=>{const[n,i]=o(null);return r((()=>{if(!n)return;if(e.editor.isDestroyed)return;const{pluginKey:t="bubbleMenu",editor:i,tippyOptions:o={},shouldShow:r=null}=e,s=wc({pluginKey:t,editor:i,element:n,tippyOptions:o,shouldShow:r});return i.registerPlugin(s),()=>i.unregisterPlugin(t)}),[e.editor,n]),t.createElement("div",{ref:i,className:e.className,style:{visibility:"hidden"}},e.children)};class _c extends class extends class{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}removeAllListeners(){this.callbacks={}}}{constructor(e={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>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.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),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))}),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){const n=document.querySelector("style[data-tiptap-style]");if(null!==n)return n;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style",""),i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),i}(Qs,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){this.setOptions({editable:e}),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=Wr(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],i=this.state.reconfigure({plugins:n});this.view.updateState(i)}unregisterPlugin(e){if(this.isDestroyed)return;const t="string"==typeof e?`${e}$`:e.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((e=>!e.key.startsWith(t)))});this.view.updateState(n)}createExtensionManager(){const e=[...this.options.enableCoreExtensions?Object.values(Ys):[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new ss(e,this)}createCommandManager(){this.commandManager=new Pr({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const e=Os(this.options.content,this.schema,this.options.parseOptions),t=xs(e,this.options.autofocus);this.view=new cr(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Jt.create({doc:e,selection:t||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews();this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){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.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const i=e.getMeta("focus"),o=e.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:e}),o&&this.emit("blur",{editor:this,event:o.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return As(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,i="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return Ms(e,null,n)||zs(e,null,n);const i=Cs(t,e.schema);return"node"===i?Ms(e,t,n):"mark"===i&&zs(e,t,n)}(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function(e,t){const n=Fe.fromSchema(t).serializeFragment(e),i=document.implementation.createHTMLDocument().createElement("div");return i.appendChild(n),i.innerHTML}(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return function(e,t){return ps(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...n,...us(this.schema)}})}get isEmpty(){return function(e){var t;const n=null===(t=e.type.createAndFill())||void 0===t?void 0:t.toJSON(),i=e.toJSON();return JSON.stringify(n)===JSON.stringify(i)}(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(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}}{constructor(){super(...arguments),this.contentComponent=null}}const Mc=({renderers:e})=>t.createElement(t.Fragment,null,Array.from(e).map((([e,t])=>h.createPortal(t.reactElement,t.element,e))));class Cc extends t.Component{constructor(e){super(e),this.editorContentRef=t.createRef(),this.state={renderers:new Map}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const{editor:e}=this.props;if(e&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=this,e.createNodeViews()}}componentWillUnmount(){const{editor:e}=this.props;if(!e)return;if(e.isDestroyed||e.view.setProps({nodeViews:{}}),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:e,...n}=this.props;return t.createElement(t.Fragment,null,t.createElement("div",{ref:this.editorContentRef,...n}),t.createElement(Mc,{renderers:this.state.renderers}))}}const Dc=t.memo(Cc),Oc=n({onDragStart:void 0}),Tc=()=>i(Oc),Nc=e=>{const n=e.as||"div",{nodeViewContentRef:i}=Tc();return t.createElement(n,{...e,ref:i,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})},Sc=t.forwardRef(((e,n)=>{const{onDragStart:i}=Tc(),o=e.as||"div";return t.createElement(o,{...e,ref:n,"data-node-view-wrapper":"",onDragStart:i,style:{whiteSpace:"normal",...e.style}})}));class Ac{constructor(e,{editor:t,props:n={},as:i="div",className:o=""}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(i),this.element.classList.add("react-renderer"),o&&this.element.classList.add(...o.split(" ")),this.render()}render(){const e=this.component,n=this.props;(function(e){return!("function"!=typeof e||!e.prototype||!e.prototype.isReactComponent)}(e)||function(e){var t;return!("object"!=typeof e||"Symbol(react.forward_ref)"!==(null===(t=e.$$typeof)||void 0===t?void 0:t.toString()))}(e))&&(n.ref=e=>{this.ref=e}),this.reactElement=t.createElement(e,{...n}),m((()=>{var e;(null===(e=this.editor)||void 0===e?void 0:e.contentComponent)&&this.editor.contentComponent.setState({renderers:this.editor.contentComponent.state.renderers.set(this.id,this)})}))}updateProps(e={}){this.props={...this.props,...e},this.render()}destroy(){m((()=>{var e;if(null===(e=this.editor)||void 0===e?void 0:e.contentComponent){const{renderers:e}=this.editor.contentComponent.state;e.delete(this.id),this.editor.contentComponent.setState({renderers:e})}}))}}class jc extends class{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,i,o,r,s,a;const{view:l}=this.editor,c=e.target,p=3===c.nodeType?null===(t=c.parentElement)||void 0===t?void 0:t.closest("[data-drag-handle]"):c.closest("[data-drag-handle]");if(!this.dom||(null===(n=this.contentDOM)||void 0===n?void 0:n.contains(c))||!p)return;let u=0,d=0;if(this.dom!==p){const t=this.dom.getBoundingClientRect(),n=p.getBoundingClientRect(),a=null!==(i=e.offsetX)&&void 0!==i?i:null===(o=e.nativeEvent)||void 0===o?void 0:o.offsetX,l=null!==(r=e.offsetY)&&void 0!==r?r:null===(s=e.nativeEvent)||void 0===s?void 0:s.offsetY;u=n.x-t.x+a,d=n.y-t.y+l}null===(a=e.dataTransfer)||void 0===a||a.setDragImage(this.dom,u,d);const h=Rt.create(l.state.doc,this.getPos()),m=l.state.tr.setSelection(h);l.dispatch(m)}stopEvent(e){var t;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:e});const n=e.target;if(!(this.dom.contains(n)&&!(null===(t=this.contentDOM)||void 0===t?void 0:t.contains(n))))return!1;const i="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!i)return!0;const{isEditable:o}=this.editor,{isDragging:r}=this,s=!!this.node.type.spec.draggable,a=Rt.isSelectable(this.node),l="copy"===e.type,c="paste"===e.type,p="cut"===e.type,u="mousedown"===e.type,d=e.type.startsWith("drag");if(!s&&a&&d&&e.preventDefault(),s&&d&&!r)return e.preventDefault(),!1;if(s&&o&&!r&&u){const e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("mouseup",(()=>{this.isDragging=!1}),{once:!0}))}return!(r||i||l||c||p||u&&a)}ignoreMutation(e){if(!this.dom||!this.contentDOM)return!0;if("function"==typeof this.options.ignoreMutation)return this.options.ignoreMutation({mutation:e});if(this.node.isLeaf||this.node.isAtom)return!0;if("selection"===e.type)return!1;if(this.dom.contains(e.target)&&"childList"===e.type&&ws()&&this.editor.isFocused){if([...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every((e=>e.isContentEditable)))return!1}return this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)}updateAttributes(e){this.editor.commands.command((({tr:t})=>{const n=this.getPos();return t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0}))}deleteNode(){const e=this.getPos(),t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}}{mount(){const e={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){const e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}const n=e=>{const n=this.component,i=this.onDragStart.bind(this);return t.createElement(Oc.Provider,{value:{onDragStart:i,nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)}}},t.createElement(n,{...e}))};n.displayName="ReactNodeView",this.contentDOMElement=this.node.isLeaf?null:document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let i=this.node.isInline?"span":"div";this.options.as&&(i=this.options.as);const{className:o=""}=this.options;this.renderer=new Ac(n,{editor:this.editor,props:e,as:i,className:`node-${this.node.type.name} ${o}`.trim()})}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}update(e,t){const n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){const i=this.node,o=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:i,oldDecorations:o,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t})),!0}selectNode(){this.renderer.updateProps({selected:!0})}deselectNode(){this.renderer.updateProps({selected:!1})}destroy(){this.renderer.destroy(),this.contentDOMElement=null}}function Ic(e,t){return n=>n.editor.contentComponent?new jc(e,n,t):{}}const zc=(e={},t=[])=>{const[n,i]=o(null),s=function(){const[,e]=o(0);return()=>e((e=>e+1))}();return r((()=>{let t=!0;const n=new _c(e);return i(n),n.on("transaction",(()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t&&s()}))}))})),()=>{n.destroy(),t=!1}}),t),n};var Lc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Rc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function Fc(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})})),n}var Pc,Bc={exports:{}};
|
|
1
|
+
import*as e from"react";import t,{createContext as n,useContext as i,useState as o,useEffect as r,useRef as s,useCallback as a,Children as l,isValidElement as c,cloneElement as p,forwardRef as u,useLayoutEffect as d}from"react";import h,{flushSync as m,createPortal as f}from"react-dom";import g from"http";import b from"https";import v from"url";import y from"stream";import x from"assert";import w from"tty";import k from"util";import E from"os";import _ from"zlib";import M from"path";import C from"fs";import{renderToString as D}from"react-dom/server";var O=[],T=[];function N(e,t){if(e&&"undefined"!=typeof document){var n,i=!0===t.prepend?"prepend":"append",o=!0===t.singleTag,r="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(o){var s=O.indexOf(r);-1===s&&(s=O.push(r)-1,T[s]={}),n=T[s]&&T[s][i]?T[s][i]:T[s][i]=a()}else n=a();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function a(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),o=0;o<n.length;o++)e.setAttribute(n[o],t.attributes[n[o]]);var s="prepend"===i?"afterbegin":"beforeend";return r.insertAdjacentElement(s,e),e}}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},S.apply(this,arguments)}function A(e){this.content=e}function j(e,t,n){for(let i=0;;i++){if(i==e.childCount||i==t.childCount)return e.childCount==t.childCount?null:n;let o=e.child(i),r=t.child(i);if(o!=r){if(!o.sameMarkup(r))return n;if(o.isText&&o.text!=r.text){for(let e=0;o.text[e]==r.text[e];e++)n++;return n}if(o.content.size||r.content.size){let e=j(o.content,r.content,n+1);if(null!=e)return e}n+=o.nodeSize}else n+=o.nodeSize}}function I(e,t,n,i){for(let o=e.childCount,r=t.childCount;;){if(0==o||0==r)return o==r?null:{a:n,b:i};let s=e.child(--o),a=t.child(--r),l=s.nodeSize;if(s!=a){if(!s.sameMarkup(a))return{a:n,b:i};if(s.isText&&s.text!=a.text){let e=0,t=Math.min(s.text.length,a.text.length);for(;e<t&&s.text[s.text.length-e-1]==a.text[a.text.length-e-1];)e++,n--,i--;return{a:n,b:i}}if(s.content.size||a.content.size){let e=I(s.content,a.content,n-1,i-1);if(e)return e}n-=l,i-=l}else n-=l,i-=l}}N('@charset "UTF-8";\n@import url("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/styles/github.min.css");\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\naudio,\ncanvas,\nembed,\niframe,\nimg,\nobject,\nsvg,\nvideo {\n display: block;\n}\nbutton {\n background-color: transparent;\n background-image: none;\n border: none;\n}\nfieldset,\nol,\nul {\n margin: 0;\n padding: 0;\n}\nblockquote,\ndd,\ndl,\nfigure,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n[type=checkbox],\n[type=radio] {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n padding: 0;\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n display: inline-block;\n vertical-align: middle;\n background-origin: border-box;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n flex-shrink: 0;\n height: 1rem;\n width: 1rem;\n color: #2563eb;\n background-color: rgb(var(--neeto-ui-white));\n border-color: #6b7280;\n border-width: 1px;\n}\n[type=checkbox]:checked,\n[type=radio]:checked {\n border-color: transparent;\n background-color: currentColor;\n background-size: auto;\n background-position: center;\n background-repeat: no-repeat;\n}\n[type=radio]:checked {\n background-image: url("data:image/svg+xml,%3Csvg width=\'6\' height=\'6\' viewBox=\'0 0 6 6\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Ccircle cx=\'3\' cy=\'3\' r=\'3\' fill=\'white\'/%3E%3C/svg%3E%0A");\n}\n[type=checkbox]:checked {\n background-image: url("data:image/svg+xml,%3Csvg width=\'11\' height=\'8\' viewBox=\'0 0 11 8\' fill=\'none\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M9.66671 1L4.00004 6.66667L1.33337 4\' stroke=\'white\' stroke-width=\'1.5\' stroke-linecap=\'round\' stroke-linejoin=\'round\'/%3E%3C/svg%3E%0A");\n}\n[type=radio] {\n border-radius: 100%;\n}\nbody {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;\n font-size: 14px;\n font-weight: 400;\n line-height: 1.3;\n color: #222;\n}\nbody *,\nbody *::after,\nbody *::before {\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\nbody {\n color: rgb(var(--neeto-ui-gray-800));\n}\nh1 {\n font-size: var(--neeto-ui-text-3xl);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh2 {\n font-size: var(--neeto-ui-text-2xl);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh3 {\n font-size: var(--neeto-ui-text-xl);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh4 {\n font-size: var(--neeto-ui-text-base);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh5 {\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\nh6 {\n font-size: var(--neeto-ui-text-xs);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-tight);\n}\np {\n font-size: var(--neeto-ui-text-sm);\n line-height: var(--neeto-ui-leading-normal);\n}\n:root {\n --neeto-ui-black: 27, 31, 35;\n --neeto-ui-white: 255, 255, 255;\n --neeto-ui-gray-800: 47, 57, 65;\n --neeto-ui-gray-700: 73, 84, 92;\n --neeto-ui-gray-600: 104, 115, 125;\n --neeto-ui-gray-500: 135, 146, 157;\n --neeto-ui-gray-400: 194, 200, 204;\n --neeto-ui-gray-300: 216, 220, 222;\n --neeto-ui-gray-200: 233, 235, 237;\n --neeto-ui-gray-100: 248, 249, 249;\n --neeto-ui-primary-800: 45, 54, 212;\n --neeto-ui-primary-600: 54, 66, 223;\n --neeto-ui-primary-500: 69, 88, 249;\n --neeto-ui-primary-100: 235, 236, 254;\n --neeto-ui-error-800: 187, 18, 26;\n --neeto-ui-error-600: 201, 37, 45;\n --neeto-ui-error-500: 215, 55, 63;\n --neeto-ui-error-100: 254, 236, 240;\n --neeto-ui-success-800: 16, 113, 84;\n --neeto-ui-success-600: 18, 128, 92;\n --neeto-ui-success-500: 38, 142, 108;\n --neeto-ui-success-100: 225, 243, 238;\n --neeto-ui-warning-800: 189, 100, 13;\n --neeto-ui-warning-600: 203, 111, 16;\n --neeto-ui-warning-500: 218, 123, 17;\n --neeto-ui-warning-100: 251, 242, 225;\n --neeto-ui-info-800: 9, 90, 186;\n --neeto-ui-info-600: 13, 102, 208;\n --neeto-ui-info-500: 20, 115, 230;\n --neeto-ui-info-100: 226, 242, 255;\n --neeto-ui-pastel-silver: 232, 233, 237;\n --neeto-ui-pastel-red: 255, 229, 229;\n --neeto-ui-pastel-yellow: 254, 243, 197;\n --neeto-ui-pastel-green: 211, 249, 232;\n --neeto-ui-pastel-blue: 236, 244, 255;\n --neeto-ui-pastel-purple: 238, 235, 255;\n --neeto-ui-pastel-pink: 253, 226, 241;\n --neeto-ui-pastel-silver: 232, 233, 237;\n --neeto-ui-pastel-red: 255, 229, 229;\n --neeto-ui-pastel-yellow: 254, 243, 197;\n --neeto-ui-pastel-green: 211, 249, 232;\n --neeto-ui-pastel-blue: 236, 244, 255;\n --neeto-ui-pastel-purple: 238, 235, 255;\n --neeto-ui-pastel-pink: 253, 226, 241;\n --neeto-ui-surface-bg: 255, 255, 255;\n --neeto-ui-shadow-xs: 0px 1px 4px -1px rgba(28, 48, 74, 0.12);\n --neeto-ui-shadow-s: 0px 3px 12px -1px rgba(28, 52, 84, 0.12), 0px 2px 4px -1px rgba(28, 55, 90, 0.08);\n --neeto-ui-shadow-m: 0px 8px 24px -4px rgba(28, 50, 79, 0.12), 0px 2px 6px -1px rgba(28, 55, 90, 0.08);\n --neeto-ui-shadow-l: 0px 12px 48px -6px rgba(28, 50, 79, 0.12), 0px 3px 18px -2px rgba(28, 55, 90, 0.08);\n --neeto-ui-text-h1: 32px;\n --neeto-ui-text-h2: 24px;\n --neeto-ui-text-h3: 20px;\n --neeto-ui-text-h4: 16px;\n --neeto-ui-text-h5: 14px;\n --neeto-ui-text-h6: 12px;\n --neeto-ui-text-body1: 16px;\n --neeto-ui-text-body2: 14px;\n --neeto-ui-text-body3: 12px;\n --neeto-ui-text-nano: 10px;\n --neeto-ui-text-xxs: 10px;\n --neeto-ui-text-xs: 12px;\n --neeto-ui-text-sm: 14px;\n --neeto-ui-text-base: 16px;\n --neeto-ui-text-lg: 18px;\n --neeto-ui-text-xl: 20px;\n --neeto-ui-text-2xl: 24px;\n --neeto-ui-text-3xl: 32px;\n --neeto-ui-text-4xl: 48px;\n --neeto-ui-font-thin: 100;\n --neeto-ui-font-extralight: 200;\n --neeto-ui-font-light: 300;\n --neeto-ui-font-normal: 400;\n --neeto-ui-font-medium: 500;\n --neeto-ui-font-semibold: 600;\n --neeto-ui-font-bold: 700;\n --neeto-ui-font-extrabold: 800;\n --neeto-ui-font-black: 900;\n --neeto-ui-leading-none: 1;\n --neeto-ui-leading-tight: 1.25;\n --neeto-ui-leading-snug: 1.375;\n --neeto-ui-leading-normal: 1.5;\n --neeto-ui-leading-relaxed: 1.625;\n --neeto-ui-leading-loose: 2;\n --neeto-ui-text-transform-none: none;\n --neeto-ui-text-transform-capitalize: capitalize;\n --neeto-ui-text-transform-uppercase: uppercase;\n --neeto-ui-text-transform-lowercase: lowercase;\n --neeto-ui-text-transform-full-width: full-width;\n --neeto-ui-text-transform-inherit: inherit;\n --neeto-ui-text-transform-initial: initial;\n --neeto-ui-text-transform-revert: revert;\n --neeto-ui-text-transform-unset: unset;\n --neeto-ui-rounded-none: 0;\n --neeto-ui-rounded-sm: 3px;\n --neeto-ui-rounded: 5px;\n --neeto-ui-rounded-md: 6px;\n --neeto-ui-rounded-lg: 8px;\n --neeto-ui-rounded-xl: 12px;\n --neeto-ui-rounded-full: 999px;\n --neeto-ui-transition: all 0.3s linear;\n --neeto-ui-modal-z-index: 99999;\n}\n.neeto-ui-theme--dark {\n --neeto-ui-surface-bg: 18, 18, 18;\n background-color: rgb(18, 18, 18);\n --neeto-ui-white: 18, 18, 18;\n --neeto-ui-black: 224, 224, 224;\n --neeto-ui-gray-100: 30, 30, 30;\n --neeto-ui-gray-200: 44, 44, 44;\n --neeto-ui-gray-300: 57, 57, 57;\n --neeto-ui-gray-400: 73, 73, 73;\n --neeto-ui-gray-500: 92, 92, 92;\n --neeto-ui-gray-600: 124, 124, 124;\n --neeto-ui-gray-700: 162, 162, 162;\n --neeto-ui-gray-800: 200, 200, 200;\n --neeto-ui-primary-800: 209, 213, 254;\n --neeto-ui-primary-600: 181, 188, 253;\n --neeto-ui-primary-500: 125, 137, 251;\n --neeto-ui-primary-100: 27, 28, 37;\n --neeto-ui-error-800: 247, 109, 116;\n --neeto-ui-error-600: 236, 91, 98;\n --neeto-ui-error-500: 227, 72, 80;\n --neeto-ui-error-100: 129, 33, 38;\n --neeto-ui-success-800: 57, 185, 144;\n --neeto-ui-success-600: 51, 171, 132;\n --neeto-ui-success-500: 45, 157, 120;\n --neeto-ui-success-100: 23, 85, 65;\n --neeto-ui-warning-800: 249, 164, 63;\n --neeto-ui-warning-600: 242, 148, 35;\n --neeto-ui-warning-500: 230, 134, 25;\n --neeto-ui-warning-100: 131, 74, 11;\n --neeto-ui-info-800: 75, 156, 245;\n --neeto-ui-info-600: 55, 142, 240;\n --neeto-ui-info-500: 38, 128, 235;\n --neeto-ui-info-100: 11, 69, 137;\n --neeto-ui-pastel-silver: 167, 168, 170;\n --neeto-ui-pastel-red: 183, 164, 165;\n --neeto-ui-pastel-yellow: 182, 175, 143;\n --neeto-ui-pastel-green: 152, 179, 167;\n --neeto-ui-pastel-blue: 170, 175, 183;\n --neeto-ui-pastel-purple: 171, 169, 183;\n --neeto-ui-pastel-pink: 181, 162, 174;\n}\n@keyframes shake {\n 0% {\n transform: translateX(0);\n }\n 10% {\n transform: translateX(-4px);\n }\n 20% {\n transform: translateX(4px);\n }\n 30% {\n transform: translateX(-4px);\n }\n 40% {\n transform: translateX(4px);\n }\n 50% {\n transform: translateX(-4px);\n }\n 60% {\n transform: translateX(4px);\n }\n 70% {\n transform: translateX(-4px);\n }\n 80% {\n transform: translateX(4px);\n }\n 90% {\n transform: translateX(-4px);\n }\n 100% {\n transform: translateX(0);\n }\n}\n@keyframes fade-in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.ne-dropdown {\n margin: 6px 0;\n box-shadow: var(--neeto-ui-shadow-xs) !important;\n border-radius: var(--neeto-ui-rounded) !important;\n border: 1px solid rgb(var(--neeto-ui-gray-400));\n}\n.ne-dropdown .tippy-content {\n position: relative;\n padding: 0;\n z-index: 1;\n}\n.ne-dropdown__popup {\n width: auto;\n min-width: 168px;\n max-height: 360px;\n overflow-y: auto;\n background-color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded);\n z-index: 99999;\n}\n.ne-dropdown__popup.ne-dropdown__popup--auto-width {\n min-width: auto;\n}\n.ne-dropdown__popup li,\n.ne-dropdown__popup .ne-dropdown--item {\n display: flex;\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n transition: var(--neeto-ui-transition);\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-normal);\n color: rgb(var(--neeto-ui-gray-800));\n padding: 6px 40px 6px 12px;\n text-decoration: none;\n outline-color: transparent;\n}\n.ne-dropdown__popup li.disabled,\n.ne-dropdown__popup .ne-dropdown--item.disabled {\n cursor: not-allowed;\n color: rgb(var(--neeto-ui-gray-500));\n}\n.ne-dropdown__popup li:hover, .ne-dropdown__popup li:focus,\n.ne-dropdown__popup .ne-dropdown--item:hover,\n.ne-dropdown__popup .ne-dropdown--item:focus {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-dropdown__popup li.loading:not(.active):after,\n.ne-dropdown__popup .ne-dropdown--item.loading:not(.active):after {\n content: "";\n position: absolute;\n right: 16px;\n top: 0;\n bottom: 0;\n margin: auto;\n width: 16px;\n height: 16px;\n display: block;\n border-radius: 50%;\n border: solid 2px rgb(var(--neeto-ui-gray-200));\n border-top-color: rgb(var(--neeto-ui-black));\n border-left-color: rgb(var(--neeto-ui-black));\n animation: theme("animation.spin");\n}\n.ne-dropdown__popup li.active,\n.ne-dropdown__popup .ne-dropdown--item.active {\n background-color: rgb(var(--neeto-ui-gray-800));\n color: rgb(var(--neeto-ui-white));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu {\n padding: 4px 0;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item {\n all: unset;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn {\n width: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: relative;\n white-space: nowrap;\n line-height: 1.143;\n transition: var(--neeto-ui-transition);\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-normal);\n color: rgb(var(--neeto-ui-gray-800));\n padding: 6px 12px;\n min-height: 32px;\n gap: 8px;\n text-decoration: none;\n outline-color: transparent;\n border-radius: 0;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn.disabled {\n cursor: not-allowed;\n color: rgb(var(--neeto-ui-gray-500));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn:hover, .ne-dropdown__popup .ne-dropdown__popup-menu-item-btn:focus {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn.active {\n background-color: rgb(var(--neeto-ui-gray-800));\n color: rgb(var(--neeto-ui-white));\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn--style-danger {\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-dropdown__popup .ne-dropdown__popup-divider {\n all: unset;\n width: 100%;\n display: flex;\n height: 1px;\n background-color: rgb(var(--neeto-ui-gray-200));\n margin: 4px 0;\n pointer-events: none;\n}\n.ne-dropdown__popup .ne-dropdown__popup-menu-item-btn__suffix {\n margin-left: auto;\n}\n.ne-avatar--container {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--neeto-ui-rounded);\n position: relative;\n}\n.ne-avatar--container.ne-avatar--container-round {\n border-radius: var(--neeto-ui-rounded-full);\n}\n.ne-avatar--container .ne-avatar__text {\n font-weight: var(--neeto-ui-font-semibold);\n text-align: center;\n text-transform: capitalize;\n font-size: var(--neeto-ui-text-xxs);\n color: rgb(47, 57, 65);\n line-height: 1;\n}\n.ne-avatar--container .ne-avatar__text.ne-avatar__text-medium {\n font-size: var(--neeto-ui-text-xs);\n}\n.ne-avatar--container .ne-avatar__text.ne-avatar__text-large {\n font-size: var(--neeto-ui-text-sm);\n}\n.ne-avatar--container .ne-avatar__text.ne-avatar__text-xlarge {\n font-size: var(--neeto-ui-text-2xl);\n}\n.ne-avatar--container .ne-avatar__status {\n position: absolute;\n right: 0;\n top: 0;\n width: 0.4rem;\n height: 0.4rem;\n background-color: white;\n border: 0.5px solid white;\n border-radius: var(--neeto-ui-rounded-full);\n transform: translateX(-40%);\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-medium {\n width: 0.465rem;\n height: 0.465rem;\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-large {\n width: 0.563rem;\n height: 0.563rem;\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-xlarge {\n width: 0.75rem;\n height: 0.75rem;\n transform: translateX(-65%);\n}\n.ne-avatar--container .ne-avatar__status.ne-avatar__status-square {\n transform: translate(25%, -25%);\n}\n.ne-avatar--container .ne-avatar__status.online {\n background-color: rgb(var(--neeto-ui-success-500));\n}\n.ne-avatar--container .ne-avatar__status.idle {\n background-color: rgb(var(--neeto-ui-warning-500));\n}\n.ne-avatar--container .ne-avatar__status.offline {\n background-color: rgb(var(--neeto-ui-gray-300));\n}\n.ne-avatar--container .ne-avatar {\n display: inline-block;\n border-radius: var(--neeto-ui-rounded-sm);\n height: 1.5rem;\n width: 1.5rem;\n -o-object-fit: cover;\n object-fit: cover;\n}\n.ne-avatar--container .ne-avatar.hidden {\n display: none;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--medium {\n height: 2rem;\n width: 2rem;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--large {\n height: 2.5rem;\n width: 2.5rem;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--xlarge {\n height: 4rem;\n width: 4rem;\n}\n.ne-avatar--container .ne-avatar.ne-avatar--round {\n border-radius: var(--neeto-ui-rounded-full);\n}\n.ne-avatar--container-bg-1 {\n background-color: rgb(var(--neeto-ui-pastel-silver));\n}\n.ne-avatar--container-bg-2 {\n background-color: rgb(var(--neeto-ui-pastel-red));\n}\n.ne-avatar--container-bg-3 {\n background-color: rgb(var(--neeto-ui-pastel-yellow));\n}\n.ne-avatar--container-bg-4 {\n background-color: rgb(var(--neeto-ui-pastel-green));\n}\n.ne-avatar--container-bg-5 {\n background-color: rgb(var(--neeto-ui-pastel-blue));\n}\n.ne-avatar--container-bg-6 {\n background-color: rgb(var(--neeto-ui-pastel-purple));\n}\n.ne-avatar--container-bg-7 {\n background-color: rgb(var(--neeto-ui-pastel-pink));\n}\n.ne-tab__wrapper {\n width: 100%;\n display: flex;\n border-bottom: 2px solid rgb(var(--neeto-ui-gray-300));\n}\n.ne-tab__wrapper--size-large .ne-tab {\n font-size: var(--neeto-ui-text-xl);\n padding-left: 12px;\n padding-right: 12px;\n}\n.ne-tab__wrapper--underline-none {\n border-bottom: none;\n}\n.ne-tab__wrapper--underline-none .ne-tab::before {\n display: none;\n}\n.ne-tab {\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n color: rgb(var(--neeto-ui-gray-500));\n font-weight: var(--neeto-ui-font-semibold);\n font-size: var(--neeto-ui-text-sm);\n line-height: 1;\n padding: 12px 8px;\n transition: var(--neeto-ui-transition);\n position: relative;\n cursor: pointer;\n text-decoration: none;\n outline: none;\n}\n.ne-tab:hover, .ne-tab:focus, .ne-tab:focus-visible, .ne-tab:active {\n text-decoration: none;\n outline: none;\n}\n.ne-tab:focus, .ne-tab:focus-visible {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-tab__icon {\n margin-right: 12px;\n}\n.ne-tab svg {\n width: 16px;\n height: 16px;\n}\n.ne-tab:hover {\n color: rgb(var(--neeto-ui-gray-600));\n}\n.ne-tab:before {\n content: "";\n position: absolute;\n width: 100%;\n height: 2px;\n background-color: transparent;\n left: 0;\n right: 0;\n bottom: -2px;\n transition: var(--neeto-ui-transition);\n}\n.ne-tab.active {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-tab.active:before {\n background-color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-btn {\n position: relative;\n display: inline-flex !important;\n align-items: center;\n padding: 6px 8px;\n gap: 4px;\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-medium);\n line-height: 16px;\n transition: var(--neeto-ui-transition);\n border-radius: var(--neeto-ui-rounded);\n border: none;\n outline: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n min-width: 0;\n cursor: pointer;\n}\n.ne-btn.ne-btn--icon-only {\n padding: 6px;\n}\n.ne-btn.ne-btn--icon-only .ne-btn__icon,\n.ne-btn.ne-btn--icon-only .ne-btn__spinner svg {\n width: 16px !important;\n height: 16px !important;\n}\n.ne-btn--size-medium {\n font-size: var(--neeto-ui-text-sm);\n padding: 8px 16px;\n gap: 8px;\n}\n.ne-btn--size-medium.ne-btn--icon-only .ne-btn__icon,\n.ne-btn--size-medium.ne-btn--icon-only .ne-btn__spinner svg {\n width: 20px !important;\n height: 20px !important;\n}\n.ne-btn--size-large {\n font-size: var(--neeto-ui-text-base);\n padding: 12px 20px;\n gap: 10px;\n}\n.ne-btn--size-large.ne-btn--icon-only {\n padding: 8px;\n}\n.ne-btn--size-large.ne-btn--icon-only .ne-btn__icon,\n.ne-btn--size-large.ne-btn--icon-only .ne-btn__spinner svg {\n width: 24px !important;\n height: 24px !important;\n}\n.ne-btn:focus, .ne-btn:focus-visible {\n outline: none;\n}\n.ne-btn:hover {\n text-decoration: none;\n}\n.ne-btn.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.ne-btn--icon-left {\n flex-direction: row-reverse;\n}\n.ne-btn__icon,\n.ne-btn__spinner,\n.ne-btn__spinner-wrapper {\n color: inherit;\n}\n.ne-btn__icon svg,\n.ne-btn__spinner svg,\n.ne-btn__spinner-wrapper svg {\n color: inherit !important;\n}\n.ne-btn--width-full {\n width: 100% !important;\n justify-content: center;\n}\n.ne-btn--style-primary {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-primary:hover:not(:disabled), .ne-btn--style-primary:active {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-primary-600));\n}\n.ne-btn--style-primary:focus {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-primary-500), 15%);\n}\n.ne-btn--style-primary:focus-visible {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-primary-500), 15%);\n}\n.ne-btn--style-secondary {\n color: rgb(var(--neeto-ui-gray-800));\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-btn--style-secondary:hover:not(:disabled), .ne-btn--style-secondary:active {\n color: rgb(var(--neeto-ui-gray-800));\n background-color: rgb(var(--neeto-ui-gray-300));\n}\n.ne-btn--style-secondary:focus {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 25%);\n}\n.ne-btn--style-secondary:focus-visible {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 25%);\n}\n.ne-btn--style-text {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-btn--style-text:hover:not(:disabled), .ne-btn--style-text:active {\n color: rgb(var(--neeto-ui-gray-800));\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.ne-btn--style-text:focus {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 15%);\n}\n.ne-btn--style-text:focus-visible {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-gray-800), 15%);\n}\n.ne-btn--style-link {\n color: rgb(var(--neeto-ui-primary-500));\n padding: 0;\n}\n.ne-btn--style-link:hover:not(:disabled), .ne-btn--style-link:active, .ne-btn--style-link:focus {\n opacity: 0.8;\n color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-link:focus {\n opacity: 0.8;\n color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-link:focus-visible {\n opacity: 0.8;\n color: rgb(var(--neeto-ui-primary-500));\n}\n.ne-btn--style-danger {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-error-500));\n}\n.ne-btn--style-danger:hover:not(:disabled), .ne-btn--style-danger:active {\n color: rgb(var(--neeto-ui-white));\n background-color: rgb(var(--neeto-ui-error-600));\n}\n.ne-btn--style-danger:focus {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.ne-btn--style-danger:focus-visible {\n color: rgb(var(--neeto-ui-white));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.ne-btn--style-danger-text {\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-btn--style-danger-text:hover:not(:disabled), .ne-btn--style-danger-text:active {\n color: rgb(var(--neeto-ui-error-800));\n background-color: rgb(var(--neeto-ui-error-100));\n}\n.ne-btn--style-danger-text:focus {\n color: rgb(var(--neeto-ui-error-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.ne-btn--style-danger-text:focus-visible {\n color: rgb(var(--neeto-ui-error-800));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-error-500), 15%);\n}\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0;\n}\n[data-tippy-root] {\n max-width: calc(100vw - 10px);\n}\n.tippy-box {\n position: relative;\n background-color: rgb(var(--neeto-ui-gray-800));\n color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded);\n font-size: var(--neeto-ui-text-xs);\n line-height: 1.4;\n outline: 0;\n transition-property: transform, visibility, opacity;\n}\n.tippy-box[data-placement^=top] > .tippy-arrow {\n bottom: 0;\n}\n.tippy-box[data-placement^=top] > .tippy-arrow:before {\n bottom: -7px;\n left: 0;\n border-width: 8px 8px 0;\n border-top-color: initial;\n transform-origin: center top;\n}\n.tippy-box[data-placement^=bottom] > .tippy-arrow {\n top: 0;\n}\n.tippy-box[data-placement^=bottom] > .tippy-arrow:before {\n top: -7px;\n left: 0;\n border-width: 0 8px 8px;\n border-bottom-color: initial;\n transform-origin: center bottom;\n}\n.tippy-box[data-placement^=left] > .tippy-arrow {\n right: 0;\n}\n.tippy-box[data-placement^=left] > .tippy-arrow:before {\n border-width: 8px 0 8px 8px;\n border-left-color: initial;\n right: -7px;\n transform-origin: center left;\n}\n.tippy-box[data-placement^=right] > .tippy-arrow {\n left: 0;\n}\n.tippy-box[data-placement^=right] > .tippy-arrow:before {\n left: -7px;\n border-width: 8px 8px 8px 0;\n border-right-color: initial;\n transform-origin: center right;\n}\n.tippy-box[data-inertia][data-state=visible] {\n transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);\n}\n.tippy-arrow {\n width: 16px;\n height: 16px;\n color: rgb(var(--neeto-ui-gray-800));\n}\n.tippy-arrow:before {\n content: "";\n position: absolute;\n border-color: transparent;\n border-style: solid;\n}\n.tippy-content {\n position: relative;\n padding: 4px 8px;\n z-index: 1;\n}\n[data-theme=neeto-editor-slash-menu] .tippy-content,\n[data-theme=neeto-editor-bubble-menu] .tippy-content {\n padding: 0 !important;\n}\n.tippy-box[data-placement^=top] > .tippy-svg-arrow {\n bottom: 0;\n}\n.tippy-box[data-placement^=top] > .tippy-svg-arrow:after,\n.tippy-box[data-placement^=top] > .tippy-svg-arrow > svg {\n top: 16px;\n transform: rotate(180deg);\n}\n.tippy-box[data-placement^=bottom] > .tippy-svg-arrow {\n top: 0;\n}\n.tippy-box[data-placement^=bottom] > .tippy-svg-arrow > svg {\n bottom: 16px;\n}\n.tippy-box[data-placement^=left] > .tippy-svg-arrow {\n right: 0;\n}\n.tippy-box[data-placement^=left] > .tippy-svg-arrow:after,\n.tippy-box[data-placement^=left] > .tippy-svg-arrow > svg {\n transform: rotate(90deg);\n top: calc(50% - 3px);\n left: 13px;\n}\n.tippy-box[data-placement^=right] > .tippy-svg-arrow {\n left: 0;\n}\n.tippy-box[data-placement^=right] > .tippy-svg-arrow:after,\n.tippy-box[data-placement^=right] > .tippy-svg-arrow > svg {\n transform: rotate(-90deg);\n top: calc(50% - 3px);\n right: 13px;\n}\n.tippy-svg-arrow {\n width: 16px;\n height: 16px;\n fill: rgb(var(--neeto-ui-gray-800));\n text-align: initial;\n}\n.tippy-svg-arrow,\n.tippy-svg-arrow > svg {\n position: absolute;\n}\n.tippy-svg-arrow > svg > path {\n fill: rgb(var(--neeto-ui-gray-800));\n}\n.tippy-box[data-theme~=light] .tippy-svg-arrow > svg > path {\n fill: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light] {\n color: rgb(var(--neeto-ui-gray-800));\n box-shadow: var(--neeto-ui-shadow-s);\n background-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=top] > .tippy-arrow:before {\n border-top-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=bottom] > .tippy-arrow:before {\n border-bottom-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=left] > .tippy-arrow:before {\n border-left-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light][data-placement^=right] > .tippy-arrow:before {\n border-right-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light] > .tippy-backdrop {\n background-color: rgb(var(--neeto-ui-white));\n}\n.tippy-box[data-theme~=light] > .tippy-svg-arrow {\n fill: rgb(var(--neeto-ui-white));\n}\n.ne-input__wrapper {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n flex-grow: 1;\n}\n.ne-input__wrapper .ne-input__label-wrapper {\n display: flex;\n gap: 8px;\n justify-content: space-between;\n width: 100%;\n}\n.ne-input__wrapper .ne-input__label-wrapper .ne-label {\n flex-grow: 1;\n overflow-wrap: break-word;\n}\n.ne-input__wrapper .ne-input__label-wrapper .ne-input__max-length {\n color: rgb(var(--neeto-ui-gray-700));\n line-height: 1;\n margin-bottom: 8px;\n margin-left: auto;\n}\n.ne-input__wrapper .ne-input__label-wrapper .ne-input__max-length.ne-input__max-length--error {\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-input__wrapper .ne-label {\n margin-bottom: 8px;\n}\n.ne-input__wrapper .ne-input {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n font-size: var(--neeto-ui-text-sm);\n transition: var(--neeto-ui-transition);\n border-radius: var(--neeto-ui-rounded);\n border: thin solid rgb(var(--neeto-ui-gray-400));\n background-color: rgb(var(--neeto-ui-white));\n color: rgb(var(--neeto-ui-gray-800));\n overflow: hidden;\n}\n.ne-input__wrapper .ne-input input,\n.ne-input__wrapper .ne-input textarea {\n width: 100%;\n background-color: transparent;\n color: inherit;\n border: none;\n font-size: inherit;\n box-shadow: none;\n outline: none;\n}\n.ne-input__wrapper .ne-input input::-moz-placeholder, .ne-input__wrapper .ne-input textarea::-moz-placeholder {\n color: rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__wrapper .ne-input input::placeholder,\n.ne-input__wrapper .ne-input textarea::placeholder {\n color: rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__wrapper .ne-input input:focus,\n.ne-input__wrapper .ne-input textarea:focus {\n outline-color: transparent;\n}\n.ne-input__wrapper .ne-input input {\n line-height: 1.2;\n}\n.ne-input__wrapper .ne-input textarea {\n padding: 0;\n max-height: 224px;\n overflow-y: auto;\n line-height: 1.5;\n}\n.ne-input__wrapper .ne-input:hover:not(.ne-input--naked, .ne-input--error, .ne-input--disabled) {\n border-color: rgb(var(--neeto-ui-gray-700));\n}\n.ne-input__wrapper .ne-input:focus-within:not(.ne-input--naked, .ne-input--error) {\n border-color: rgb(var(--neeto-ui-primary-500));\n box-shadow: 0 0 0 3px rgba(var(--neeto-ui-primary-500), 15%);\n}\n.ne-input__wrapper .ne-input:focus-within:not(.ne-input--naked, .ne-input--error) .ne-input__prefix,\n.ne-input__wrapper .ne-input:focus-within:not(.ne-input--naked, .ne-input--error) .ne-input__suffix {\n color: rgb(var(--neeto-ui-gray-800));\n}\n.ne-input__wrapper .ne-input.ne-input--error {\n border-color: rgb(var(--neeto-ui-error-500));\n}\n.ne-input__wrapper .ne-input.ne-input--error:focus-within:not(.ne-input--naked) {\n box-shadow: 0 0 0 3px rgb(var(--neeto-ui-error-100));\n}\n.ne-input__wrapper .ne-input.ne-input--error textarea {\n resize: none;\n}\n.ne-input__wrapper .ne-input.ne-input--disabled {\n background-color: rgb(var(--neeto-ui-gray-100));\n cursor: not-allowed;\n}\n.ne-input__wrapper .ne-input.ne-input--disabled input {\n cursor: not-allowed;\n}\n.ne-input__wrapper .ne-input.ne-input--disabled textarea {\n cursor: not-allowed;\n}\n.ne-input__wrapper .ne-input.ne-input--small input {\n padding: 4px 8px;\n min-height: 26px;\n}\n.ne-input__wrapper .ne-input.ne-input--small .ne-input__prefix {\n margin-left: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--small .ne-input__suffix {\n margin-right: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--small.ne-input--textarea {\n padding: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium input {\n padding: 5px 8px;\n min-height: 30px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium .ne-input__prefix {\n margin-left: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium .ne-input__suffix {\n margin-right: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--medium.ne-input--textarea {\n padding: 8px;\n}\n.ne-input__wrapper .ne-input.ne-input--large input {\n padding: 8px 12px;\n min-height: 38px;\n}\n.ne-input__wrapper .ne-input.ne-input--large .ne-input__prefix {\n margin-left: 12px;\n}\n.ne-input__wrapper .ne-input.ne-input--large .ne-input__suffix {\n margin-right: 12px;\n}\n.ne-input__wrapper .ne-input.ne-input--large.ne-input--textarea {\n padding: 12px;\n}\n.ne-input__wrapper .ne-input.ne-input--naked {\n border: none;\n box-shadow: none;\n padding-left: 0;\n padding-right: 0;\n}\n.ne-input__wrapper .ne-input.ne-input--naked input {\n padding-left: 0;\n padding-right: 0;\n}\n.ne-input__wrapper .ne-input.ne-input--naked .ne-input__prefix {\n margin-left: 0;\n}\n.ne-input__wrapper .ne-input.ne-input--naked .ne-input__suffix {\n margin-right: 0;\n}\n.ne-input__wrapper .ne-input__prefix,\n.ne-input__wrapper .ne-input__suffix {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n font-size: 14px;\n color: rgb(var(--neeto-ui-gray-700));\n}\n.ne-input__wrapper .ne-input__prefix svg,\n.ne-input__wrapper .ne-input__suffix svg {\n width: 16px;\n height: 16px;\n}\n.ne-input__wrapper .ne-input--block-add-on .ne-input__prefix,\n.ne-input__wrapper .ne-input--block-add-on .ne-input__suffix {\n margin: 0;\n padding: 8px 12px;\n background-color: rgb(var(--neeto-ui-gray-100));\n}\n.ne-input__wrapper .ne-input--block-add-on .ne-input__prefix {\n border-right: thin solid rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__wrapper .ne-input--block-add-on .ne-input__suffix {\n border-left: thin solid rgb(var(--neeto-ui-gray-400));\n}\n.ne-input__help-text {\n margin-top: 8px;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-600));\n line-height: 1.1;\n}\n.ne-input__error {\n margin-top: 8px;\n line-height: 1.1;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-error-800));\n}\n.ne-label {\n display: flex;\n align-items: center;\n}\n:root {\n --neeto-ui-modal-spacing: 24px;\n}\n.ne-modal__backdrop {\n position: fixed;\n z-index: var(--neeto-ui-modal-z-index);\n left: 0;\n top: 0;\n width: 100vw;\n height: 100vh;\n overflow-y: auto;\n overflow-x: hidden;\n display: grid;\n justify-content: center;\n align-items: center;\n transition: all 0.3s;\n background-color: rgba(27, 31, 35, 0.8666666667);\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal__backdrop .ne-modal__wrapper {\n width: 50%;\n max-width: 100%;\n position: relative;\n background-color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded-xl);\n opacity: 0;\n transform: scale(1.1);\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n animation: showModalWrapper 0.3s forwards;\n}\n@keyframes showModalWrapper {\n 0% {\n opacity: 0;\n transform: scale(1.1);\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n -webkit-backdrop-filter: blur(0px);\n backdrop-filter: blur(0px);\n }\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__close {\n position: absolute;\n top: var(--neeto-ui-modal-spacing);\n right: var(--neeto-ui-modal-spacing);\n}\n.ne-modal__backdrop .ne-modal__wrapper.ne-modal__wrapper--small {\n width: 320px;\n}\n.ne-modal__backdrop .ne-modal__wrapper.ne-modal__wrapper--medium {\n width: 480px;\n}\n.ne-modal__backdrop .ne-modal__wrapper.ne-modal__wrapper--large {\n width: 720px;\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__header {\n padding: var(--neeto-ui-modal-spacing) 64px 16px var(--neeto-ui-modal-spacing);\n overflow-wrap: break-word;\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__header-desc {\n margin-top: 8px;\n color: rgb(var(--neeto-ui-gray-700));\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__body {\n padding: 0 var(--neeto-ui-modal-spacing);\n font-size: var(--neeto-ui-text-sm);\n line-height: 1.5;\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-modal__footer {\n padding: var(--neeto-ui-modal-spacing);\n}\n.ne-modal__backdrop .ne-modal__wrapper .ne-alert__footer {\n padding: var(--neeto-ui-modal-spacing);\n display: flex;\n}\n.ne-modal__backdrop .ne-icon__wrapper {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n margin-bottom: var(--neeto-ui-modal-spacing);\n padding: 10px 0 0 2px;\n}\n.ne-modal-enter.ne-modal__backdrop {\n opacity: 0;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal-enter-active.ne-modal__backdrop,\n.ne-modal-enter-done.ne-modal__backdrop {\n opacity: 1;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal-exit.ne-modal__backdrop {\n opacity: 1;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.ne-modal-exit-active.ne-modal__backdrop {\n opacity: 0;\n -webkit-backdrop-filter: blur(2px);\n backdrop-filter: blur(2px);\n}\n.neeto-editor-loader {\n width: 100%;\n height: 32px;\n display: flex;\n align-items: center;\n text-align: center;\n}\n.neeto-editor-loader__spinner-icon {\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: var(--neeto-ui-rounded-full);\n border: solid 2px var(--neeto-ui-gray-200);\n border-top-color: var(--neeto-ui-gray-800);\n border-left-color: var(--neeto-ui-gray-800);\n animation: spin 600ms linear infinite;\n margin: 1px auto;\n}\n.neeto-editor-slash-commands__wrapper {\n padding: 12px;\n overflow-y: auto;\n max-height: 384px;\n width: 256px;\n max-width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 4px;\n}\n.neeto-editor-slash-commands__wrapper::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-slash-commands__wrapper::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-slash-commands__wrapper::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n padding: 8px 12px;\n gap: 12px;\n border-radius: var(--neeto-ui-rounded);\n transition: var(--neeto-ui-transition);\n cursor: pointer;\n color: rgb(var(--neeto-ui-white));\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item:hover, .neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item.active {\n background-color: rgb(var(--neeto-ui-gray-700));\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content h5 {\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-semibold);\n line-height: var(--neeto-ui-leading-normal);\n}\n.neeto-editor-slash-commands__wrapper .neeto-editor-slash-commands__item .neeto-editor-slash-commands__item-content p {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-300));\n}\n.neeto-editor-mentions__wrapper {\n padding: 8px;\n width: 208px;\n max-height: 256px;\n overflow-y: auto;\n}\n.neeto-editor-mentions__wrapper::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-mentions__wrapper::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-mentions__wrapper::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n padding: 8px;\n transition: var(--neeto-ui-transition);\n cursor: pointer;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-white));\n border-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item p {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item .ne-avatar--container {\n margin-right: 8px;\n}\n.neeto-editor-mentions__wrapper .neeto-editor-mentions__item:hover, .neeto-editor-mentions__wrapper .neeto-editor-mentions__item.active {\n background-color: rgb(var(--neeto-ui-gray-700));\n}\n.ProseMirror.slash-active p.is-empty:last-child::before {\n content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkwIiBoZWlnaHQ9IjIzIiB2aWV3Qm94PSIwIDAgMTkwIDIz IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmci Pgo8cmVjdCB4PSIzNCIgeT0iNCIgd2lkdGg9IjE5IiBoZWlnaHQ9IjE5IiByeD0i NCIgZmlsbD0iI0YzRjRGNiIvPgo8cGF0aCBkPSJNNDEuNTA3OCAxOS45NzY2SDQw LjAxNTZMNDQuNDkyMiA3LjYyNUg0NS45ODQ0TDQxLjUwNzggMTkuOTc2NloiIGZp bGw9IiM2QjcyODAiLz4KPHBhdGggZD0iTTguMDMyMjMgOS4xMjY5NUg0LjgzMzAx VjE4SDMuNTI3MzRWOS4xMjY5NUgwLjMzNDk2MVY4LjA0Njg4SDguMDMyMjNWOS4x MjY5NVpNMTEuMjM4MyAxNi4xNDc1TDEyLjk2MDkgMTAuNjAzNUgxNC4zMTQ1TDEx LjM0MDggMTkuMTQxNkMxMC44ODA1IDIwLjM3MjEgMTAuMTQ5MSAyMC45ODczIDku MTQ2NDggMjAuOTg3M0w4LjkwNzIzIDIwLjk2NjhMOC40MzU1NSAyMC44Nzc5VjE5 Ljg1MjVMOC43NzczNCAxOS44Nzk5QzkuMjA1NzMgMTkuODc5OSA5LjUzODQxIDE5 Ljc5MzMgOS43NzUzOSAxOS42MjAxQzEwLjAxNjkgMTkuNDQ2OSAxMC4yMTUyIDE5 LjEzMDIgMTAuMzcwMSAxOC42Njk5TDEwLjY1MDQgMTcuOTE4TDguMDExNzIgMTAu NjAzNUg5LjM5MjU4TDExLjIzODMgMTYuMTQ3NVpNMjEuNjk3MyAxNC4zODM4QzIx LjY5NzMgMTUuNTA5NCAyMS40Mzk4IDE2LjQxNjMgMjAuOTI0OCAxNy4xMDQ1QzIw LjQwOTggMTcuNzkyNiAxOS43MTI2IDE4LjEzNjcgMTguODMzIDE4LjEzNjdDMTcu OTM1MiAxOC4xMzY3IDE3LjIyODggMTcuODUxOSAxNi43MTM5IDE3LjI4MjJWMjAu ODQzOEgxNS40NDkyVjEwLjYwMzVIMTYuNjA0NUwxNi42NjYgMTEuNDIzOEMxNy4x ODEgMTAuNzg1OCAxNy44OTY1IDEwLjQ2NjggMTguODEyNSAxMC40NjY4QzE5Ljcw MTIgMTAuNDY2OCAyMC40MDMgMTAuODAxOCAyMC45MTggMTEuNDcxN0MyMS40Mzc1 IDEyLjE0MTYgMjEuNjk3MyAxMy4wNzM2IDIxLjY5NzMgMTQuMjY3NlYxNC4zODM4 Wk0yMC40MzI2IDE0LjI0MDJDMjAuNDMyNiAxMy40MDYyIDIwLjI1NDkgMTIuNzQ3 NyAxOS44OTk0IDEyLjI2NDZDMTkuNTQzOSAxMS43ODE2IDE5LjA1NjMgMTEuNTQg MTguNDM2NSAxMS41NEMxNy42NzA5IDExLjU0IDE3LjA5NjcgMTEuODc5NiAxNi43 MTM5IDEyLjU1ODZWMTYuMDkyOEMxNy4wOTIxIDE2Ljc2NzMgMTcuNjcwOSAxNy4x MDQ1IDE4LjQ1MDIgMTcuMTA0NUMxOS4wNTYzIDE3LjEwNDUgMTkuNTM3MSAxNi44 NjUyIDE5Ljg5MjYgMTYuMzg2N0MyMC4yNTI2IDE1LjkwMzYgMjAuNDMyNiAxNS4x ODgyIDIwLjQzMjYgMTQuMjQwMlpNMjYuMzc5OSAxOC4xMzY3QzI1LjM3NzMgMTgu MTM2NyAyNC41NjE1IDE3LjgwODYgMjMuOTMyNiAxNy4xNTIzQzIzLjMwMzcgMTYu NDkxNSAyMi45ODkzIDE1LjYwOTcgMjIuOTg5MyAxNC41MDY4VjE0LjI3NDRDMjIu OTg5MyAxMy41NDA3IDIzLjEyODMgMTIuODg2NyAyMy40MDYyIDEyLjMxMjVDMjMu Njg4OCAxMS43MzM3IDI0LjA4MDcgMTEuMjgyNiAyNC41ODIgMTAuOTU5QzI1LjA4 NzkgMTAuNjMwOSAyNS42MzQ4IDEwLjQ2NjggMjYuMjIyNyAxMC40NjY4QzI3LjE4 NDIgMTAuNDY2OCAyNy45MzE2IDEwLjc4MzUgMjguNDY0OCAxMS40MTdDMjguOTk4 IDEyLjA1MDUgMjkuMjY0NiAxMi45NTc0IDI5LjI2NDYgMTQuMTM3N1YxNC42NjQx SDI0LjI1MzlDMjQuMjcyMSAxNS4zOTMyIDI0LjQ4NCAxNS45ODM0IDI0Ljg4OTYg MTYuNDM0NkMyNS4yOTk4IDE2Ljg4MTIgMjUuODE5MyAxNy4xMDQ1IDI2LjQ0ODIg MTcuMTA0NUMyNi44OTQ5IDE3LjEwNDUgMjcuMjczMSAxNy4wMTMzIDI3LjU4MyAx Ni44MzExQzI3Ljg5MjkgMTYuNjQ4OCAyOC4xNjQxIDE2LjQwNzIgMjguMzk2NSAx Ni4xMDY0TDI5LjE2ODkgMTYuNzA4QzI4LjU0OTIgMTcuNjYwNSAyNy42MTk1IDE4 LjEzNjcgMjYuMzc5OSAxOC4xMzY3Wk0yNi4yMjI3IDExLjUwNTlDMjUuNzEyMiAx MS41MDU5IDI1LjI4MzkgMTEuNjkyNyAyNC45Mzc1IDEyLjA2NjRDMjQuNTkxMSAx Mi40MzU1IDI0LjM3NyAxMi45NTUxIDI0LjI5NDkgMTMuNjI1SDI4VjEzLjUyOTND MjcuOTYzNSAxMi44ODY3IDI3Ljc5MDQgMTIuMzkgMjcuNDgwNSAxMi4wMzkxQzI3 LjE3MDYgMTEuNjgzNiAyNi43NTEzIDExLjUwNTkgMjYuMjIyNyAxMS41MDU5WiIg ZmlsbD0iIzZCNzI4MCIvPgo8cGF0aCBkPSJNNTkuNjcyOSA4LjgxMjVWMTAuNjAz NUg2MS4wNTM3VjExLjU4MTFINTkuNjcyOVYxNi4xNjhDNTkuNjcyOSAxNi40NjQy IDU5LjczNDQgMTYuNjg3NSA1OS44NTc0IDE2LjgzNzlDNTkuOTgwNSAxNi45ODM3 IDYwLjE5MDEgMTcuMDU2NiA2MC40ODYzIDE3LjA1NjZDNjAuNjMyMiAxNy4wNTY2 IDYwLjgzMjcgMTcuMDI5MyA2MS4wODc5IDE2Ljk3NDZWMThDNjAuNzU1MiAxOC4w OTExIDYwLjQzMTYgMTguMTM2NyA2MC4xMTcyIDE4LjEzNjdDNTkuNTUyMSAxOC4x MzY3IDU5LjEyNiAxNy45NjU4IDU4LjgzODkgMTcuNjI0QzU4LjU1MTggMTcuMjgy MiA1OC40MDgyIDE2Ljc5NjkgNTguNDA4MiAxNi4xNjhWMTEuNTgxMUg1Ny4wNjE1 VjEwLjYwMzVINTguNDA4MlY4LjgxMjVINTkuNjcyOVpNNjIuMDY1NCAxNC4yMzM0 QzYyLjA2NTQgMTMuNTA4OCA2Mi4yMDY3IDEyLjg1NzEgNjIuNDg5MyAxMi4yNzgz QzYyLjc3NjQgMTEuNjk5NSA2My4xNzI5IDExLjI1MjkgNjMuNjc4NyAxMC45Mzg1 QzY0LjE4OTEgMTAuNjI0IDY0Ljc3MDIgMTAuNDY2OCA2NS40MjE5IDEwLjQ2NjhD NjYuNDI5IDEwLjQ2NjggNjcuMjQyNSAxMC44MTU0IDY3Ljg2MjMgMTEuNTEyN0M2 OC40ODY3IDEyLjIxIDY4Ljc5ODggMTMuMTM3NCA2OC43OTg4IDE0LjI5NDlWMTQu MzgzOEM2OC43OTg4IDE1LjEwMzggNjguNjU5OCAxNS43NTEgNjguMzgxOCAxNi4z MjUyQzY4LjEwODQgMTYuODk0OSA2Ny43MTQyIDE3LjMzOTIgNjcuMTk5MiAxNy42 NTgyQzY2LjY4ODggMTcuOTc3MiA2Ni4xMDA5IDE4LjEzNjcgNjUuNDM1NSAxOC4x MzY3QzY0LjQzMjkgMTguMTM2NyA2My42MTk1IDE3Ljc4ODEgNjIuOTk1MSAxNy4w OTA4QzYyLjM3NTMgMTYuMzkzNiA2Mi4wNjU0IDE1LjQ3MDcgNjIuMDY1NCAxNC4z MjIzVjE0LjIzMzRaTTYzLjMzNjkgMTQuMzgzOEM2My4zMzY5IDE1LjIwNDEgNjMu NTI2IDE1Ljg2MjYgNjMuOTA0MyAxNi4zNTk0QzY0LjI4NzEgMTYuODU2MSA2NC43 OTc1IDE3LjEwNDUgNjUuNDM1NSAxNy4xMDQ1QzY2LjA3ODEgMTcuMTA0NSA2Ni41 ODg1IDE2Ljg1MzggNjYuOTY2OCAxNi4zNTI1QzY3LjM0NTEgMTUuODQ2NyA2Ny41 MzQyIDE1LjE0MDMgNjcuNTM0MiAxNC4yMzM0QzY3LjUzNDIgMTMuNDIyMiA2Ny4z NDA1IDEyLjc2NiA2Ni45NTMxIDEyLjI2NDZDNjYuNTcwMyAxMS43NTg4IDY2LjA1 OTkgMTEuNTA1OSA2NS40MjE5IDExLjUwNTlDNjQuNzk3NSAxMS41MDU5IDY0LjI5 MzkgMTEuNzU0MiA2My45MTExIDEyLjI1MUM2My41MjgzIDEyLjc0NzcgNjMuMzM2 OSAxMy40NTg3IDYzLjMzNjkgMTQuMzgzOFpNNzYuODI0MiAxNy4xMDQ1Qzc3LjI3 NTQgMTcuMTA0NSA3Ny42Njk2IDE2Ljk2NzggNzguMDA2OCAxNi42OTQzQzc4LjM0 NDEgMTYuNDIwOSA3OC41MzA5IDE2LjA3OTEgNzguNTY3NCAxNS42Njg5SDc5Ljc2 MzdDNzkuNzQwOSAxNi4wOTI4IDc5LjU5NTEgMTYuNDk2MSA3OS4zMjYyIDE2Ljg3 ODlDNzkuMDU3MyAxNy4yNjE3IDc4LjY5NzMgMTcuNTY3MSA3OC4yNDYxIDE3Ljc5 NDlDNzcuNzk5NSAxOC4wMjI4IDc3LjMyNTUgMTguMTM2NyA3Ni44MjQyIDE4LjEz NjdDNzUuODE3MSAxOC4xMzY3IDc1LjAxNSAxNy44MDE4IDc0LjQxOCAxNy4xMzE4 QzczLjgyNTUgMTYuNDU3NCA3My41MjkzIDE1LjUzNjggNzMuNTI5MyAxNC4zNzAx VjE0LjE1ODJDNzMuNTI5MyAxMy40MzgyIDczLjY2MTUgMTIuNzk3OSA3My45MjU4 IDEyLjIzNzNDNzQuMTkwMSAxMS42NzY4IDc0LjU2ODQgMTEuMjQxNSA3NS4wNjA1 IDEwLjkzMTZDNzUuNTU3MyAxMC42MjE3IDc2LjE0MjkgMTAuNDY2OCA3Ni44MTc0 IDEwLjQ2NjhDNzcuNjQ2OCAxMC40NjY4IDc4LjMzNSAxMC43MTUyIDc4Ljg4MTgg MTEuMjExOUM3OS40MzMzIDExLjcwODcgNzkuNzI3MiAxMi4zNTM1IDc5Ljc2Mzcg MTMuMTQ2NUg3OC41Njc0Qzc4LjUzMDkgMTIuNjY4IDc4LjM0ODYgMTIuMjc2IDc4 LjAyMDUgMTEuOTcwN0M3Ny42OTY5IDExLjY2MDggNzcuMjk1OSAxMS41MDU5IDc2 LjgxNzQgMTEuNTA1OUM3Ni4xNzQ4IDExLjUwNTkgNzUuNjc1OCAxMS43MzgzIDc1 LjMyMDMgMTIuMjAzMUM3NC45Njk0IDEyLjY2MzQgNzQuNzkzOSAxMy4zMzExIDc0 Ljc5MzkgMTQuMjA2MVYxNC40NDUzQzc0Ljc5MzkgMTUuMjk3NSA3NC45Njk0IDE1 Ljk1MzggNzUuMzIwMyAxNi40MTQxQzc1LjY3MTIgMTYuODc0MyA3Ni4xNzI1IDE3 LjEwNDUgNzYuODI0MiAxNy4xMDQ1Wk04Mi40NTAyIDExLjQ5OUM4My4wMTA3IDEw LjgxMDkgODMuNzM5OSAxMC40NjY4IDg0LjYzNzcgMTAuNDY2OEM4Ni4yMDA4IDEw LjQ2NjggODYuOTg5MyAxMS4zNDg2IDg3LjAwMjkgMTMuMTEyM1YxOEg4NS43Mzgz VjEzLjEwNTVDODUuNzMzNyAxMi41NzIzIDg1LjYxMDcgMTIuMTc4MSA4NS4zNjkx IDExLjkyMjlDODUuMTMyMiAxMS42Njc2IDg0Ljc2MDcgMTEuNTQgODQuMjU0OSAx MS41NEM4My44NDQ3IDExLjU0IDgzLjQ4NDcgMTEuNjQ5NCA4My4xNzQ4IDExLjg2 ODJDODIuODY0OSAxMi4wODY5IDgyLjYyMzQgMTIuMzc0IDgyLjQ1MDIgMTIuNzI5 NVYxOEg4MS4xODU1VjcuNUg4Mi40NTAyVjExLjQ5OVpNOTMuNDYyOSAxOEM5My4z OSAxNy44NTQyIDkzLjMzMDcgMTcuNTk0NCA5My4yODUyIDE3LjIyMDdDOTIuNjk3 MyAxNy44MzE0IDkxLjk5NTQgMTguMTM2NyA5MS4xNzk3IDE4LjEzNjdDOTAuNDUw NSAxOC4xMzY3IDg5Ljg1MTIgMTcuOTMxNiA4OS4zODE4IDE3LjUyMTVDODguOTE3 IDE3LjEwNjggODguNjg0NiAxNi41ODI3IDg4LjY4NDYgMTUuOTQ5MkM4OC42ODQ2 IDE1LjE3OSA4OC45NzYyIDE0LjU4MiA4OS41NTk2IDE0LjE1ODJDOTAuMTQ3NSAx My43Mjk4IDkwLjk3MjMgMTMuNTE1NiA5Mi4wMzQyIDEzLjUxNTZIOTMuMjY0NlYx Mi45MzQ2QzkzLjI2NDYgMTIuNDkyNSA5My4xMzI1IDEyLjE0MTYgOTIuODY4MiAx MS44ODE4QzkyLjYwMzggMTEuNjE3NSA5Mi4yMTQyIDExLjQ4NTQgOTEuNjk5MiAx MS40ODU0QzkxLjI0OCAxMS40ODU0IDkwLjg2OTggMTEuNTk5MyA5MC41NjQ1IDEx LjgyNzFDOTAuMjU5MSAxMi4wNTUgOTAuMTA2NCAxMi4zMzA3IDkwLjEwNjQgMTIu NjU0M0g4OC44MzVDODguODM1IDEyLjI4NTIgODguOTY0OCAxMS45Mjk3IDg5LjIy NDYgMTEuNTg3OUM4OS40ODg5IDExLjI0MTUgODkuODQ0NCAxMC45NjgxIDkwLjI5 MSAxMC43Njc2QzkwLjc0MjIgMTAuNTY3MSA5MS4yMzY3IDEwLjQ2NjggOTEuNzc0 NCAxMC40NjY4QzkyLjYyNjYgMTAuNDY2OCA5My4yOTQzIDEwLjY4MSA5My43Nzcz IDExLjEwOTRDOTQuMjYwNCAxMS41MzMyIDk0LjUxMTEgMTIuMTE4OCA5NC41Mjkz IDEyLjg2NjJWMTYuMjcwNUM5NC41MjkzIDE2Ljk0OTUgOTQuNjE1OSAxNy40ODk2 IDk0Ljc4OTEgMTcuODkwNlYxOEg5My40NjI5Wk05MS4zNjQzIDE3LjAzNjFDOTEu NzYwNyAxNy4wMzYxIDkyLjEzNjcgMTYuOTMzNiA5Mi40OTIyIDE2LjcyODVDOTIu ODQ3NyAxNi41MjM0IDkzLjEwNTEgMTYuMjU2OCA5My4yNjQ2IDE1LjkyODdWMTQu NDExMUg5Mi4yNzM0QzkwLjcyNCAxNC40MTExIDg5Ljk0OTIgMTQuODY0NiA4OS45 NDkyIDE1Ljc3MTVDODkuOTQ5MiAxNi4xNjggOTAuMDgxNCAxNi40Nzc5IDkwLjM0 NTcgMTYuNzAxMkM5MC42MSAxNi45MjQ1IDkwLjk0OTUgMTcuMDM2MSA5MS4zNjQz IDE3LjAzNjFaTTk3LjcwOCAxMC42MDM1TDk3Ljc0OSAxMS41MzMyQzk4LjMxNDEg MTAuODIyMyA5OS4wNTI0IDEwLjQ2NjggOTkuOTYzOSAxMC40NjY4QzEwMS41Mjcg MTAuNDY2OCAxMDIuMzE1IDExLjM0ODYgMTAyLjMyOSAxMy4xMTIzVjE4SDEwMS4w NjRWMTMuMTA1NUMxMDEuMDYgMTIuNTcyMyAxMDAuOTM3IDEyLjE3ODEgMTAwLjY5 NSAxMS45MjI5QzEwMC40NTggMTEuNjY3NiAxMDAuMDg3IDExLjU0IDk5LjU4MTEg MTEuNTRDOTkuMTcwOSAxMS41NCA5OC44MTA5IDExLjY0OTQgOTguNTAxIDExLjg2 ODJDOTguMTkxMSAxMi4wODY5IDk3Ljk0OTUgMTIuMzc0IDk3Ljc3NjQgMTIuNzI5 NVYxOEg5Ni41MTE3VjEwLjYwMzVIOTcuNzA4Wk0xMDMuOTM2IDE0LjI0MDJDMTAz LjkzNiAxMy4wODcyIDEwNC4yMDIgMTIuMTcxMiAxMDQuNzM1IDExLjQ5MjJDMTA1 LjI2OSAxMC44MDg2IDEwNS45NzUgMTAuNDY2OCAxMDYuODU0IDEwLjQ2NjhDMTA3 Ljc1NyAxMC40NjY4IDEwOC40NjEgMTAuNzg1OCAxMDguOTY3IDExLjQyMzhMMTA5 LjAyOCAxMC42MDM1SDExMC4xODRWMTcuODIyM0MxMTAuMTg0IDE4Ljc3OTMgMTA5 Ljg5OSAxOS41MzM1IDEwOS4zMjkgMjAuMDg1QzEwOC43NjQgMjAuNjM2NCAxMDgu MDAzIDIwLjkxMjEgMTA3LjA0NiAyMC45MTIxQzEwNi41MTMgMjAuOTEyMSAxMDUu OTkxIDIwLjc5ODIgMTA1LjQ4IDIwLjU3MDNDMTA0Ljk3IDIwLjM0MjQgMTA0LjU4 IDIwLjAzMDMgMTA0LjMxMiAxOS42MzM4TDEwNC45NjggMTguODc1QzEwNS41MSAx OS41NDQ5IDEwNi4xNzMgMTkuODc5OSAxMDYuOTU3IDE5Ljg3OTlDMTA3LjU3MiAx OS44Nzk5IDEwOC4wNTEgMTkuNzA2NyAxMDguMzkzIDE5LjM2MDRDMTA4LjczOSAx OS4wMTQgMTA4LjkxMiAxOC41MjY0IDEwOC45MTIgMTcuODk3NVYxNy4yNjE3QzEw OC40MDYgMTcuODQ1MSAxMDcuNzE2IDE4LjEzNjcgMTA2Ljg0MSAxOC4xMzY3QzEw NS45NzUgMTguMTM2NyAxMDUuMjczIDE3Ljc4ODEgMTA0LjczNSAxNy4wOTA4QzEw NC4yMDIgMTYuMzkzNiAxMDMuOTM2IDE1LjQ0MzQgMTAzLjkzNiAxNC4yNDAyWk0x MDUuMjA3IDE0LjM4MzhDMTA1LjIwNyAxNS4yMTc4IDEwNS4zNzggMTUuODc0IDEw NS43MiAxNi4zNTI1QzEwNi4wNjIgMTYuODI2NSAxMDYuNTQgMTcuMDYzNSAxMDcu MTU1IDE3LjA2MzVDMTA3Ljk1MyAxNy4wNjM1IDEwOC41MzggMTYuNzAxMiAxMDgu OTEyIDE1Ljk3NjZWMTIuNTk5NkMxMDguNTI1IDExLjg5MzIgMTA3Ljk0NCAxMS41 NCAxMDcuMTY5IDExLjU0QzEwNi41NTQgMTEuNTQgMTA2LjA3MyAxMS43NzkzIDEw NS43MjcgMTIuMjU3OEMxMDUuMzggMTIuNzM2MyAxMDUuMjA3IDEzLjQ0NSAxMDUu MjA3IDE0LjM4MzhaTTExNS4xNjcgMTguMTM2N0MxMTQuMTY0IDE4LjEzNjcgMTEz LjM0OSAxNy44MDg2IDExMi43MiAxNy4xNTIzQzExMi4wOTEgMTYuNDkxNSAxMTEu Nzc2IDE1LjYwOTcgMTExLjc3NiAxNC41MDY4VjE0LjI3NDRDMTExLjc3NiAxMy41 NDA3IDExMS45MTUgMTIuODg2NyAxMTIuMTkzIDEyLjMxMjVDMTEyLjQ3NiAxMS43 MzM3IDExMi44NjggMTEuMjgyNiAxMTMuMzY5IDEwLjk1OUMxMTMuODc1IDEwLjYz MDkgMTE0LjQyMiAxMC40NjY4IDExNS4wMSAxMC40NjY4QzExNS45NzEgMTAuNDY2 OCAxMTYuNzE5IDEwLjc4MzUgMTE3LjI1MiAxMS40MTdDMTE3Ljc4NSAxMi4wNTA1 IDExOC4wNTIgMTIuOTU3NCAxMTguMDUyIDE0LjEzNzdWMTQuNjY0MUgxMTMuMDQx QzExMy4wNTkgMTUuMzkzMiAxMTMuMjcxIDE1Ljk4MzQgMTEzLjY3NyAxNi40MzQ2 QzExNC4wODcgMTYuODgxMiAxMTQuNjA2IDE3LjEwNDUgMTE1LjIzNSAxNy4xMDQ1 QzExNS42ODIgMTcuMTA0NSAxMTYuMDYgMTcuMDEzMyAxMTYuMzcgMTYuODMxMUMx MTYuNjggMTYuNjQ4OCAxMTYuOTUxIDE2LjQwNzIgMTE3LjE4NCAxNi4xMDY0TDEx Ny45NTYgMTYuNzA4QzExNy4zMzYgMTcuNjYwNSAxMTYuNDA3IDE4LjEzNjcgMTE1 LjE2NyAxOC4xMzY3Wk0xMTUuMDEgMTEuNTA1OUMxMTQuNDk5IDExLjUwNTkgMTE0 LjA3MSAxMS42OTI3IDExMy43MjUgMTIuMDY2NEMxMTMuMzc4IDEyLjQzNTUgMTEz LjE2NCAxMi45NTUxIDExMy4wODIgMTMuNjI1SDExNi43ODdWMTMuNTI5M0MxMTYu NzUxIDEyLjg4NjcgMTE2LjU3NyAxMi4zOSAxMTYuMjY4IDEyLjAzOTFDMTE1Ljk1 OCAxMS42ODM2IDExNS41MzggMTEuNTA1OSAxMTUuMDEgMTEuNTA1OVpNMTI5LjI1 NiAxNC4zODM4QzEyOS4yNTYgMTUuNTE0IDEyOC45OTYgMTYuNDIzMiAxMjguNDc3 IDE3LjExMTNDMTI3Ljk1NyAxNy43OTQ5IDEyNy4yNiAxOC4xMzY3IDEyNi4zODUg MTguMTM2N0MxMjUuNDUxIDE4LjEzNjcgMTI0LjcyOCAxNy44MDYzIDEyNC4yMTgg MTcuMTQ1NUwxMjQuMTU2IDE4SDEyMi45OTRWNy41SDEyNC4yNTlWMTEuNDE3QzEy NC43NjkgMTAuNzgzNSAxMjUuNDczIDEwLjQ2NjggMTI2LjM3MSAxMC40NjY4QzEy Ny4yNjkgMTAuNDY2OCAxMjcuOTczIDEwLjgwNjMgMTI4LjQ4MyAxMS40ODU0QzEy OC45OTggMTIuMTY0NCAxMjkuMjU2IDEzLjA5NDEgMTI5LjI1NiAxNC4yNzQ0VjE0 LjM4MzhaTTEyNy45OTEgMTQuMjQwMkMxMjcuOTkxIDEzLjM3ODkgMTI3LjgyNSAx Mi43MTM1IDEyNy40OTIgMTIuMjQ0MUMxMjcuMTYgMTEuNzc0NyAxMjYuNjgxIDEx LjU0IDEyNi4wNTcgMTEuNTRDMTI1LjIyMyAxMS41NCAxMjQuNjIzIDExLjkyNzQg MTI0LjI1OSAxMi43MDIxVjE1LjkwMTRDMTI0LjY0NiAxNi42NzYxIDEyNS4yNSAx Ny4wNjM1IDEyNi4wNyAxNy4wNjM1QzEyNi42NzYgMTcuMDYzNSAxMjcuMTQ4IDE2 LjgyODggMTI3LjQ4NSAxNi4zNTk0QzEyNy44MjMgMTUuODkgMTI3Ljk5MSAxNS4x ODM2IDEyNy45OTEgMTQuMjQwMlpNMTMyLjIyOSAxOEgxMzAuOTY1VjcuNUgxMzIu MjI5VjE4Wk0xMzMuOTI1IDE0LjIzMzRDMTMzLjkyNSAxMy41MDg4IDEzNC4wNjYg MTIuODU3MSAxMzQuMzQ5IDEyLjI3ODNDMTM0LjYzNiAxMS42OTk1IDEzNS4wMzIg MTEuMjUyOSAxMzUuNTM4IDEwLjkzODVDMTM2LjA0OSAxMC42MjQgMTM2LjYzIDEw LjQ2NjggMTM3LjI4MSAxMC40NjY4QzEzOC4yODggMTAuNDY2OCAxMzkuMTAyIDEw LjgxNTQgMTM5LjcyMiAxMS41MTI3QzE0MC4zNDYgMTIuMjEgMTQwLjY1OCAxMy4x Mzc0IDE0MC42NTggMTQuMjk0OVYxNC4zODM4QzE0MC42NTggMTUuMTAzOCAxNDAu NTE5IDE1Ljc1MSAxNDAuMjQxIDE2LjMyNTJDMTM5Ljk2OCAxNi44OTQ5IDEzOS41 NzQgMTcuMzM5MiAxMzkuMDU5IDE3LjY1ODJDMTM4LjU0OCAxNy45NzcyIDEzNy45 NiAxOC4xMzY3IDEzNy4yOTUgMTguMTM2N0MxMzYuMjkyIDE4LjEzNjcgMTM1LjQ3 OSAxNy43ODgxIDEzNC44NTQgMTcuMDkwOEMxMzQuMjM1IDE2LjM5MzYgMTMzLjky NSAxNS40NzA3IDEzMy45MjUgMTQuMzIyM1YxNC4yMzM0Wk0xMzUuMTk2IDE0LjM4 MzhDMTM1LjE5NiAxNS4yMDQxIDEzNS4zODUgMTUuODYyNiAxMzUuNzY0IDE2LjM1 OTRDMTM2LjE0NiAxNi44NTYxIDEzNi42NTcgMTcuMTA0NSAxMzcuMjk1IDE3LjEw NDVDMTM3LjkzOCAxNy4xMDQ1IDEzOC40NDggMTYuODUzOCAxMzguODI2IDE2LjM1 MjVDMTM5LjIwNCAxNS44NDY3IDEzOS4zOTQgMTUuMTQwMyAxMzkuMzk0IDE0LjIz MzRDMTM5LjM5NCAxMy40MjIyIDEzOS4yIDEyLjc2NiAxMzguODEyIDEyLjI2NDZD MTM4LjQzIDExLjc1ODggMTM3LjkxOSAxMS41MDU5IDEzNy4yODEgMTEuNTA1OUMx MzYuNjU3IDExLjUwNTkgMTM2LjE1MyAxMS43NTQyIDEzNS43NzEgMTIuMjUxQzEz NS4zODggMTIuNzQ3NyAxMzUuMTk2IDEzLjQ1ODcgMTM1LjE5NiAxNC4zODM4Wk0x NDUuMjExIDE3LjEwNDVDMTQ1LjY2MiAxNy4xMDQ1IDE0Ni4wNTYgMTYuOTY3OCAx NDYuMzk0IDE2LjY5NDNDMTQ2LjczMSAxNi40MjA5IDE0Ni45MTggMTYuMDc5MSAx NDYuOTU0IDE1LjY2ODlIMTQ4LjE1QzE0OC4xMjggMTYuMDkyOCAxNDcuOTgyIDE2 LjQ5NjEgMTQ3LjcxMyAxNi44Nzg5QzE0Ny40NDQgMTcuMjYxNyAxNDcuMDg0IDE3 LjU2NzEgMTQ2LjYzMyAxNy43OTQ5QzE0Ni4xODYgMTguMDIyOCAxNDUuNzEyIDE4 LjEzNjcgMTQ1LjIxMSAxOC4xMzY3QzE0NC4yMDQgMTguMTM2NyAxNDMuNDAyIDE3 LjgwMTggMTQyLjgwNSAxNy4xMzE4QzE0Mi4yMTIgMTYuNDU3NCAxNDEuOTE2IDE1 LjUzNjggMTQxLjkxNiAxNC4zNzAxVjE0LjE1ODJDMTQxLjkxNiAxMy40MzgyIDE0 Mi4wNDggMTIuNzk3OSAxNDIuMzEyIDEyLjIzNzNDMTQyLjU3NyAxMS42NzY4IDE0 Mi45NTUgMTEuMjQxNSAxNDMuNDQ3IDEwLjkzMTZDMTQzLjk0NCAxMC42MjE3IDE0 NC41MyAxMC40NjY4IDE0NS4yMDQgMTAuNDY2OEMxNDYuMDM0IDEwLjQ2NjggMTQ2 LjcyMiAxMC43MTUyIDE0Ny4yNjkgMTEuMjExOUMxNDcuODIgMTEuNzA4NyAxNDgu MTE0IDEyLjM1MzUgMTQ4LjE1IDEzLjE0NjVIMTQ2Ljk1NEMxNDYuOTE4IDEyLjY2 OCAxNDYuNzM1IDEyLjI3NiAxNDYuNDA3IDExLjk3MDdDMTQ2LjA4NCAxMS42NjA4 IDE0NS42ODMgMTEuNTA1OSAxNDUuMjA0IDExLjUwNTlDMTQ0LjU2MiAxMS41MDU5 IDE0NC4wNjIgMTEuNzM4MyAxNDMuNzA3IDEyLjIwMzFDMTQzLjM1NiAxMi42NjM0 IDE0My4xODEgMTMuMzMxMSAxNDMuMTgxIDE0LjIwNjFWMTQuNDQ1M0MxNDMuMTgx IDE1LjI5NzUgMTQzLjM1NiAxNS45NTM4IDE0My43MDcgMTYuNDE0MUMxNDQuMDU4 IDE2Ljg3NDMgMTQ0LjU1OSAxNy4xMDQ1IDE0NS4yMTEgMTcuMTA0NVpNMTUxLjYz NyAxNC41NzUyTDE1MC44NDQgMTUuNDAyM1YxOEgxNDkuNTc5VjcuNUgxNTAuODQ0 VjEzLjg1MDZMMTUxLjUyMSAxMy4wMzcxTDE1My44MjQgMTAuNjAzNUgxNTUuMzYy TDE1Mi40ODQgMTMuNjkzNEwxNTUuNjk3IDE4SDE1NC4yMTRMMTUxLjYzNyAxNC41 NzUyWk0xNjEuODU2IDguODEyNVYxMC42MDM1SDE2My4yMzdWMTEuNTgxMUgxNjEu ODU2VjE2LjE2OEMxNjEuODU2IDE2LjQ2NDIgMTYxLjkxOCAxNi42ODc1IDE2Mi4w NDEgMTYuODM3OUMxNjIuMTY0IDE2Ljk4MzcgMTYyLjM3NCAxNy4wNTY2IDE2Mi42 NyAxNy4wNTY2QzE2Mi44MTYgMTcuMDU2NiAxNjMuMDE2IDE3LjAyOTMgMTYzLjI3 MSAxNi45NzQ2VjE4QzE2Mi45MzkgMTguMDkxMSAxNjIuNjE1IDE4LjEzNjcgMTYy LjMwMSAxOC4xMzY3QzE2MS43MzYgMTguMTM2NyAxNjEuMzEgMTcuOTY1OCAxNjEu MDIyIDE3LjYyNEMxNjAuNzM1IDE3LjI4MjIgMTYwLjU5MiAxNi43OTY5IDE2MC41 OTIgMTYuMTY4VjExLjU4MTFIMTU5LjI0NVYxMC42MDM1SDE2MC41OTJWOC44MTI1 SDE2MS44NTZaTTE2Ny4xNDEgMTYuMTQ3NUwxNjguODYzIDEwLjYwMzVIMTcwLjIx N0wxNjcuMjQzIDE5LjE0MTZDMTY2Ljc4MyAyMC4zNzIxIDE2Ni4wNTEgMjAuOTg3 MyAxNjUuMDQ5IDIwLjk4NzNMMTY0LjgxIDIwLjk2NjhMMTY0LjMzOCAyMC44Nzc5 VjE5Ljg1MjVMMTY0LjY4IDE5Ljg3OTlDMTY1LjEwOCAxOS44Nzk5IDE2NS40NDEg MTkuNzkzMyAxNjUuNjc4IDE5LjYyMDFDMTY1LjkxOSAxOS40NDY5IDE2Ni4xMTgg MTkuMTMwMiAxNjYuMjcyIDE4LjY2OTlMMTY2LjU1MyAxNy45MThMMTYzLjkxNCAx MC42MDM1SDE2NS4yOTVMMTY3LjE0MSAxNi4xNDc1Wk0xNzcuNiAxNC4zODM4QzE3 Ny42IDE1LjUwOTQgMTc3LjM0MiAxNi40MTYzIDE3Ni44MjcgMTcuMTA0NUMxNzYu MzEyIDE3Ljc5MjYgMTc1LjYxNSAxOC4xMzY3IDE3NC43MzUgMTguMTM2N0MxNzMu ODM4IDE4LjEzNjcgMTczLjEzMSAxNy44NTE5IDE3Mi42MTYgMTcuMjgyMlYyMC44 NDM4SDE3MS4zNTJWMTAuNjAzNUgxNzIuNTA3TDE3Mi41NjggMTEuNDIzOEMxNzMu MDgzIDEwLjc4NTggMTczLjc5OSAxMC40NjY4IDE3NC43MTUgMTAuNDY2OEMxNzUu NjA0IDEwLjQ2NjggMTc2LjMwNSAxMC44MDE4IDE3Ni44MiAxMS40NzE3QzE3Ny4z NCAxMi4xNDE2IDE3Ny42IDEzLjA3MzYgMTc3LjYgMTQuMjY3NlYxNC4zODM4Wk0x NzYuMzM1IDE0LjI0MDJDMTc2LjMzNSAxMy40MDYyIDE3Ni4xNTcgMTIuNzQ3NyAx NzUuODAyIDEyLjI2NDZDMTc1LjQ0NiAxMS43ODE2IDE3NC45NTkgMTEuNTQgMTc0 LjMzOSAxMS41NEMxNzMuNTczIDExLjU0IDE3Mi45OTkgMTEuODc5NiAxNzIuNjE2 IDEyLjU1ODZWMTYuMDkyOEMxNzIuOTk0IDE2Ljc2NzMgMTczLjU3MyAxNy4xMDQ1 IDE3NC4zNTMgMTcuMTA0NUMxNzQuOTU5IDE3LjEwNDUgMTc1LjQzOSAxNi44NjUy IDE3NS43OTUgMTYuMzg2N0MxNzYuMTU1IDE1LjkwMzYgMTc2LjMzNSAxNS4xODgy IDE3Ni4zMzUgMTQuMjQwMlpNMTgyLjI4MiAxOC4xMzY3QzE4MS4yOCAxOC4xMzY3 IDE4MC40NjQgMTcuODA4NiAxNzkuODM1IDE3LjE1MjNDMTc5LjIwNiAxNi40OTE1 IDE3OC44OTIgMTUuNjA5NyAxNzguODkyIDE0LjUwNjhWMTQuMjc0NEMxNzguODky IDEzLjU0MDcgMTc5LjAzMSAxMi44ODY3IDE3OS4zMDkgMTIuMzEyNUMxNzkuNTkx IDExLjczMzcgMTc5Ljk4MyAxMS4yODI2IDE4MC40ODQgMTAuOTU5QzE4MC45OSAx MC42MzA5IDE4MS41MzcgMTAuNDY2OCAxODIuMTI1IDEwLjQ2NjhDMTgzLjA4NyAx MC40NjY4IDE4My44MzQgMTAuNzgzNSAxODQuMzY3IDExLjQxN0MxODQuOSAxMi4w NTA1IDE4NS4xNjcgMTIuOTU3NCAxODUuMTY3IDE0LjEzNzdWMTQuNjY0MUgxODAu MTU2QzE4MC4xNzQgMTUuMzkzMiAxODAuMzg2IDE1Ljk4MzQgMTgwLjc5MiAxNi40 MzQ2QzE4MS4yMDIgMTYuODgxMiAxODEuNzIyIDE3LjEwNDUgMTgyLjM1MSAxNy4x MDQ1QzE4Mi43OTcgMTcuMTA0NSAxODMuMTc1IDE3LjAxMzMgMTgzLjQ4NSAxNi44 MzExQzE4My43OTUgMTYuNjQ4OCAxODQuMDY2IDE2LjQwNzIgMTg0LjI5OSAxNi4x MDY0TDE4NS4wNzEgMTYuNzA4QzE4NC40NTEgMTcuNjYwNSAxODMuNTIyIDE4LjEz NjcgMTgyLjI4MiAxOC4xMzY3Wk0xODIuMTI1IDExLjUwNTlDMTgxLjYxNSAxMS41 MDU5IDE4MS4xODYgMTEuNjkyNyAxODAuODQgMTIuMDY2NEMxODAuNDkzIDEyLjQz NTUgMTgwLjI3OSAxMi45NTUxIDE4MC4xOTcgMTMuNjI1SDE4My45MDJWMTMuNTI5 M0MxODMuODY2IDEyLjg4NjcgMTgzLjY5MyAxMi4zOSAxODMuMzgzIDEyLjAzOTFD MTgzLjA3MyAxMS42ODM2IDE4Mi42NTQgMTEuNTA1OSAxODIuMTI1IDExLjUwNTla IiBmaWxsPSIjNkI3MjgwIi8+Cjwvc3ZnPgo=");\n position: absolute;\n top: -2px;\n height: 0;\n pointer-events: none;\n}\n.neeto-editor {\n max-width: 100% !important;\n border-radius: var(--neeto-ui-rounded);\n white-space: pre-wrap;\n padding: 12px;\n color: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor:focus {\n outline: none;\n}\n.neeto-editor a {\n pointer-events: none;\n}\n.neeto-editor mark {\n background: rgb(var(--neeto-ui-pastel-green));\n border-radius: var(--neeto-ui-rounded-sm);\n padding: 0px 4px;\n color: inherit;\n}\n.neeto-editor [data-variable] {\n display: inline-flex;\n color: rgb(var(--neeto-ui-gray-700));\n background-color: rgb(var(--neeto-ui-gray-200));\n border-radius: var(--neeto-ui-rounded-sm);\n line-height: 1;\n padding: 4px 6px;\n}\n.neeto-editor .ProseMirror-separator {\n display: none;\n}\n.neeto-editor.fixed-menu-active {\n border: thin solid rgb(var(--neeto-ui-gray-300));\n border-radius: 0px 0px var(--neeto-ui-rounded) var(--neeto-ui-rounded);\n}\n.neeto-editor .is-empty {\n position: relative;\n}\n.neeto-editor.placeholder-active:not(.force-title) .is-editor-empty:first-child::before {\n content: attr(data-placeholder);\n float: left;\n color: #ced4da;\n pointer-events: none;\n height: 0;\n}\n.neeto-editor.force-title h1:first-child {\n position: relative;\n margin-bottom: 20px;\n}\n.neeto-editor.force-title .is-empty:first-child::before {\n content: attr(data-placeholder);\n float: left;\n color: #ced4da;\n pointer-events: none;\n height: 0;\n}\n.neeto-editor.force-title.placeholder-active .is-empty:nth-child(2):last-child:before {\n content: attr(data-placeholder);\n float: left;\n color: #ced4da;\n pointer-events: none;\n height: 0;\n}\n.neeto-editor.force-title.force-title--error .is-empty:first-child::after {\n position: absolute;\n content: "Title can\'t be blank";\n left: 0;\n bottom: -12px;\n color: rgb(var(--neeto-ui-error));\n pointer-events: none;\n font-size: 12px;\n}\n.neeto-editor hr {\n margin: 8px 0;\n}\n.neeto-editor .ProseMirror-selectednode {\n outline: 3px solid rgb(var(--neeto-ui-pastel-blue));\n}\n.neeto-editor .has-focus {\n background: var(--focus-background-color);\n transition: background-color 200ms ease;\n}\n.neeto-editor-character-count {\n padding: 4px;\n color: rgb(var(--neeto-ui-gray-600));\n font-size: 12px;\n text-align: right;\n}\n.neeto-editor-error {\n color: rgb(var(--neeto-ui-error-500));\n border-width: 1px;\n border-color: rgb(var(--neeto-ui-error-500));\n border-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-error:focus-within {\n border-color: rgb(var(--neeto-ui-error-600));\n}\n.neeto-editor-content, .neeto-editor {\n white-space: pre-wrap;\n word-break: break-word;\n}\n.neeto-editor-content h1, .neeto-editor h1,\n.neeto-editor-content h2,\n.neeto-editor h2,\n.neeto-editor-content h3,\n.neeto-editor h3,\n.neeto-editor-content h4,\n.neeto-editor h4,\n.neeto-editor-content h5,\n.neeto-editor h5,\n.neeto-editor-content h6,\n.neeto-editor h6 {\n font-size: revert;\n margin: 16px 0;\n}\n.neeto-editor-content p, .neeto-editor p {\n line-height: var(--neeto-ui-leading-normal);\n color: rgb(var(--neeto-ui-gray-700));\n margin-bottom: 8px;\n}\n.neeto-editor-content p:empty::after, .neeto-editor p:empty::after {\n content: " ";\n}\n.neeto-editor-content p:last-child, .neeto-editor p:last-child {\n margin-bottom: 0;\n}\n.neeto-editor-content code, .neeto-editor code {\n padding: 0.2em 0.4em;\n font-size: 85%;\n border-radius: 6px;\n background-color: rgba(175, 184, 193, 0.2);\n font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;\n}\n.neeto-editor-content pre, .neeto-editor pre {\n background-color: #f6f8fa;\n overflow-x: auto;\n font-size: 14px;\n line-height: 20px;\n margin-top: 8px;\n margin-bottom: 8px;\n border-radius: var(--neeto-ui-rounded-sm);\n padding: 16px;\n}\n.neeto-editor-content pre > code, .neeto-editor pre > code {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: 400;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n.neeto-editor-content blockquote, .neeto-editor blockquote {\n font-weight: var(--neeto-ui-font-medium);\n color: rgb(var(--neeto-ui-black));\n border-left-width: 4px;\n border-left-color: #e5e7eb;\n quotes: "“" "”" "‘" "’";\n margin: 8px 0;\n padding-left: 12px;\n}\n.neeto-editor-content blockquote > p::before, .neeto-editor blockquote > p::before {\n content: "" !important;\n}\n.neeto-editor-content blockquote > p::after, .neeto-editor blockquote > p::after {\n content: "" !important;\n}\n.neeto-editor-content ul, .neeto-editor ul,\n.neeto-editor-content ol,\n.neeto-editor ol {\n list-style: revert;\n margin: revert;\n padding: revert;\n}\n.neeto-editor-content ul > li > p, .neeto-editor ul > li > p,\n.neeto-editor-content ol > li > p,\n.neeto-editor ol > li > p {\n margin-top: 0 !important;\n margin-bottom: 0.375rem !important;\n}\n.neeto-editor-content ul li::before, .neeto-editor ul li::before,\n.neeto-editor-content ol li::before,\n.neeto-editor ol li::before {\n background-color: rgb(var(--neeto-ui-black));\n}\n.neeto-editor-content a[href], .neeto-editor a[href] {\n color: rgb(var(--neeto-ui-primary-800));\n font-weight: 500;\n}\n.neeto-editor-content .video-wrapper, .neeto-editor .video-wrapper {\n width: 560px;\n height: 315px;\n margin: auto;\n}\n.neeto-editor-content mark, .neeto-editor mark {\n background: rgb(var(--neeto-ui-pastel-green));\n border-radius: var(--neeto-ui-rounded-sm);\n padding: 0px 4px;\n color: inherit;\n}\n.neeto-editor-content [data-variable], .neeto-editor [data-variable] {\n display: inline-flex;\n color: rgb(var(--neeto-ui-gray-700));\n background-color: rgb(var(--neeto-ui-gray-200));\n border-radius: var(--neeto-ui-rounded-sm);\n line-height: 1;\n padding: 4px 6px;\n}\n.neeto-editor-content [data-type=mention], .neeto-editor [data-type=mention] {\n color: rgb(var(--neeto-ui-primary-800));\n}\n.neeto-editor-content--hidden {\n display: none;\n}\n.neeto-editor__image {\n display: inline-block;\n border: 1.5px solid rgb(var(--neeto-ui-pastel-blue));\n margin: 0 12px;\n}\n.neeto-editor__image figure {\n margin: 16px 12px;\n outline: none;\n}\n.neeto-editor__image figure img {\n height: 100%;\n width: 100%;\n -webkit-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.neeto-editor__image figure figcaption {\n color: rgb(var(--neeto-ui-gray-700));\n text-align: center;\n}\n.neeto-editor__image-defaults {\n width: -moz-fit-content;\n width: fit-content;\n}\n.neeto-editor__image--none {\n display: flex;\n justify-content: center;\n}\n.neeto-editor__image--left {\n float: left;\n margin-left: 0;\n}\n.neeto-editor__image--right {\n float: right;\n margin-right: 0;\n}\n.neeto-editor__image--center {\n margin: 0 auto;\n}\n.neeto-editor-fixed-menu {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n overflow-x: auto;\n border: thin solid rgb(var(--neeto-ui-gray-300));\n border-bottom: none;\n border-radius: var(--neeto-ui-rounded) var(--neeto-ui-rounded) 0px 0px;\n background-color: rgb(var(--neeto-ui-gray-100));\n}\n.neeto-editor-fixed-menu::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-fixed-menu::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-fixed-menu::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__item {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 10px;\n cursor: pointer;\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__item:hover, .neeto-editor-fixed-menu .neeto-editor-fixed-menu__item.active {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__item input[type=color] {\n visibility: hidden;\n height: 0;\n width: 0;\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu-addons {\n display: flex;\n align-items: center;\n margin-left: auto;\n}\n.neeto-editor-fixed-menu .neeto-editor-fixed-menu__emoji-dropdown {\n max-height: unset;\n}\n.neeto-editor-variables-suggestion {\n padding: 4px 0;\n}\n.neeto-editor-variables-list {\n padding: 4px 8px;\n min-width: 184px;\n max-width: 360px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block:not(:last-child) {\n margin-bottom: 12px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block h6 {\n font-size: var(--neeto-ui-text-xs);\n font-weight: var(--neeto-ui-font-medium);\n color: rgb(var(--neeto-ui-gray-600));\n margin-bottom: 4px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block .neeto-editor-variables-row {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n}\n.neeto-editor-variables-list .neeto-editor-variables-block .neeto-editor-variables-row .neeto-editor-variable {\n padding: 4px 6px;\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-700));\n line-height: 1;\n background-color: rgb(var(--neeto-ui-pastel-blue));\n border-radius: var(--neeto-ui-rounded-sm);\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-variables-list .neeto-editor-variables-block .neeto-editor-variables-row .neeto-editor-variable:hover {\n background-color: rgb(var(--neeto-ui-info-100));\n}\n.neeto-editor-link-wrapper .ne-dropdown__popup {\n padding: 8px;\n width: 100%;\n max-width: 400px;\n}\n.neeto-editor-link-wrapper .ne-dropdown__popup .neeto-editor-link__item {\n display: flex !important;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 8px;\n}\n.neeto-editor-font-size-wrapper .ne-dropdown__popup-menu {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n padding: 4px;\n}\n.neeto-editor-bubble-menu {\n position: relative;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n border-radius: var(--neeto-ui-rounded);\n background: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item {\n padding: 8px;\n cursor: pointer;\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:hover, .neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:active, .neeto-editor-bubble-menu .neeto-editor-bubble-menu__item.active {\n background-color: rgb(var(--neeto-ui-gray-700));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:first-child {\n border-top-left-radius: var(--neeto-ui-rounded);\n border-bottom-left-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__item:last-child {\n border-top-right-radius: var(--neeto-ui-rounded);\n border-bottom-right-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link {\n display: flex;\n align-items: center;\n padding: 8px;\n gap: 8px;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input {\n background-color: transparent;\n outline: none;\n line-height: 20px;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::-moz-placeholder {\n color: rgba(var(--neeto-ui-white, 0.4));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .neeto-editor-bubble-menu-link__input::placeholder {\n color: rgba(var(--neeto-ui-white, 0.4));\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only {\n padding: 0;\n min-height: 0;\n opacity: 0.8;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__link .ne-btn--icon-only:hover {\n opacity: 1;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown-target {\n display: flex;\n align-items: center;\n gap: 4px;\n white-space: nowrap;\n font-size: var(--neeto-ui-text-sm);\n line-height: var(--neeto-ui-leading-normal);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item {\n width: 100%;\n text-align: left;\n padding: 8px 12px;\n font-size: var(--neeto-ui-text-xs);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:first-child {\n border-top-left-radius: var(--neeto-ui-rounded);\n border-top-right-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu .neeto-editor-bubble-menu__dropdown .neeto-editor-bubble-menu__dropdown-item:last-child {\n border-bottom-left-radius: var(--neeto-ui-rounded);\n border-bottom-right-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-bubble-menu-animate-shake {\n animation: 1s linear infinite alternate both shake;\n}\n.neeto-editor-image-uploader {\n display: flex;\n flex-direction: column;\n min-height: 184px;\n}\n.neeto-editor-image-uploader .ne-tab__wrapper .ne-tab {\n min-width: 88px;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__content {\n flex-grow: 1;\n display: flex;\n padding: 16px;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__progress {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n text-align: center;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__progress-title, .neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-label {\n color: rgb(var(--neeto-ui-gray-700));\n font-size: var(--neeto-ui-text-sm);\n margin-bottom: 4px;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__progress-file, .neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-note {\n color: rgb(var(--neeto-ui-gray-400));\n font-size: var(--neeto-ui-text-xs);\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n border: 1px dashed rgb(var(--neeto-ui-gray-400));\n box-sizing: border-box;\n border-radius: var(--neeto-ui-rounded);\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-Root {\n width: 100%;\n height: 100%;\n background-color: rgb(var(--neeto-ui-white));\n cursor: pointer;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-Root::-moz-focus-inner {\n border: 0;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-inner {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 1.4;\n text-align: center;\n font-weight: var(--neeto-ui-font-normal);\n margin: 0;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-arrow {\n visibility: hidden;\n display: none;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop--isDraggingOver {\n background-color: rgb(var(--neeto-ui-gray-200));\n border: 2px dashed rgb(var(--neeto-ui-secondary-indigo));\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd .uppy-DragDrop-browse {\n color: rgb(var(--neeto-ui-secondary-indigo));\n font-size: var(--neeto-ui-text-sm);\n font-weight: var(--neeto-ui-font-semibold);\n cursor: pointer;\n}\n.neeto-editor-image-uploader .neeto-editor-image-uploader__dnd-wrapper .neeto-editor-image-uploader__dnd--error {\n color: rgb(var(--neeto-ui-error));\n font-size: var(--neeto-ui-text-xs);\n margin-top: 12px;\n text-align: center;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper {\n width: 100%;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .ne-input__wrapper {\n width: 100%;\n flex-grow: 0;\n margin-bottom: 16px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container {\n max-height: 50vh;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-container::-webkit-scrollbar-track {\n background: "transparent";\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery {\n width: 100%;\n right: -8px;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item {\n width: 33.3%;\n padding-right: 16px;\n padding-bottom: 16px;\n float: left;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder {\n width: 100%;\n position: relative;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner {\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: rgb(var(--neeto-ui-gray-100));\n border-radius: var(--neeto-ui-rounded-sm);\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner img {\n height: 100%;\n width: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n animation: fade-in 1.2s 1s cubic-bezier(0.39, 0.575, 0.565, 1) both;\n border-radius: var(--neeto-ui-rounded);\n position: relative;\n cursor: pointer;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a {\n opacity: 0;\n position: absolute;\n left: 8px;\n bottom: 8px;\n margin: auto;\n color: rgb(var(--neeto-ui-white));\n font-size: 12px;\n font-weight: var(--neeto-ui-font-normal);\n line-height: 1;\n text-transform: capitalize;\n transition: var(--neeto-ui-transition);\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner a:hover {\n text-decoration: underline;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__item-placeholder .neeto-editor-unsplash-gallery__item-inner:hover a {\n opacity: 1;\n}\n.neeto-editor-image-uploader .neeto-editor-unsplash-wrapper .neeto-editor-unsplash-gallery__text {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-800));\n text-align: center;\n margin-top: 12px;\n}\n.neeto-editor-progress-bar__wrapper {\n width: 100%;\n max-width: 256px;\n margin-top: 10px;\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__percent {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__percent p {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__indicator {\n position: relative;\n width: 100%;\n height: 6px;\n border-radius: var(--neeto-ui-rounded-full);\n overflow: hidden;\n background-color: rgba(var(--neeto-ui-secondary-indigo, 0.2));\n margin-top: 4px;\n}\n.neeto-editor-progress-bar__wrapper .neeto-editor-progress-bar__indicator-inner {\n height: 100%;\n background-color: rgb(var(--neeto-ui-secondary-indigo));\n}\n.neeto-editor-url-form__wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n padding: 0 24px;\n}\n.neeto-editor-url-form__wrapper .ne-input__wrapper {\n width: 100%;\n flex-grow: 0;\n margin-bottom: 16px;\n}\n.neeto-editor-emoji {\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;\n}\n.emoji-mart.emoji-mart-light {\n font-size: 14px;\n color: rgb(var(--neeto-ui-gray-800));\n border: none;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor {\n color: rgb(var(--neeto-ui-gray-500));\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor svg {\n margin: auto;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor .emoji-mart-anchor-bar {\n background-color: rgb(var(--neeto-ui-gray-800)) !important;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-bar .emoji-mart-anchors .emoji-mart-anchor.emoji-mart-anchor-selected {\n color: rgb(var(--neeto-ui-gray-800)) !important;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-search input {\n border-radius: var(--neeto-ui-rounded-sm);\n}\n.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-category-label span {\n padding-top: 8px;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji span {\n cursor: pointer;\n}\n.emoji-mart.emoji-mart-light .emoji-mart-category .emoji-mart-emoji:hover::before {\n background-color: rgb(var(--neeto-ui-gray-200));\n border-radius: var(--neeto-ui-rounded-sm);\n}\n.emoji-mart.emoji-mart-light .emoji-mart-scroll {\n height: 264px;\n padding-bottom: 0px;\n}\n.neeto-editor-emoji-suggestion {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n padding: 4px;\n gap: 2px;\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla, twemoji mozilla, segoe ui symbol;\n}\n.neeto-editor-emoji-suggestion p {\n font-size: var(--neeto-ui-text-xs);\n color: rgb(var(--neeto-ui-gray-800));\n}\n.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item {\n padding: 6px;\n font-size: var(--neeto-ui-text-2xl);\n transition: var(--neeto-ui-transition);\n border-radius: var(--neeto-ui-rounded-sm);\n line-height: 1;\n cursor: pointer;\n}\n.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item:hover {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.neeto-editor-emoji-suggestion .neeto-editor-emoji-suggestion__item--selected {\n background-color: rgb(var(--neeto-ui-gray-200));\n}\n.neeto-editor-image-editor {\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 1.25rem;\n}\n.neeto-editor-image-editor figure {\n display: flex;\n flex-direction: column;\n justify-content: center;\n min-height: 208px;\n max-height: 400px;\n height: -moz-fit-content;\n height: fit-content;\n}\n.neeto-editor-image-editor figure img {\n height: 100%;\n width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n.neeto-editor-image-editor__error {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n min-height: 288px;\n max-height: 400px;\n width: 100%;\n padding: 24px;\n background: rgb(var(--neeto-ui-gray-100));\n border-radius: var(--neeto-ui-rounded-sm);\n gap: 8px;\n}\n.neeto-editor-image-editor__error h2 {\n font-size: var(--neeto-ui-text-lg);\n font-weight: var(--neeto-ui-font-medium);\n}\n.neeto-editor-image-editor .ne-input__wrapper {\n width: 100%;\n}\n.neeto-editor-image-editor .neeto-editor-image-editor__footer {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 0.5rem;\n}\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;\n}\n.ProseMirror {\n overflow-y: auto;\n height: 100%;\n white-space: break-spaces;\n}\n.ProseMirror::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.ProseMirror::-webkit-scrollbar-thumb {\n background: rgb(var(--neeto-ui-gray-300));\n border-radius: 50px;\n}\n.ProseMirror::-webkit-scrollbar-track {\n background: "transparent";\n}\n.ProseMirror:focus {\n outline: none;\n}',{}),A.prototype={constructor:A,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 i=n&&n!=e?this.remove(n):this,o=i.find(e),r=i.content.slice();return-1==o?r.push(n||e,t):(r[o+1]=t,n&&(r[o]=n)),new A(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 A(n)},addToStart:function(e,t){return new A([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new A(n)},addBefore:function(e,t,n){var i=this.remove(t),o=i.content.slice(),r=i.find(e);return o.splice(-1==r?o.length:r,0,t,n),new A(o)},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=A.from(e)).size?new A(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=A.from(e)).size?new A(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=A.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}},A.from=function(e){if(e instanceof A)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new A(t)};class z{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,i=0,o){for(let r=0,s=0;s<t;r++){let a=this.content[r],l=s+a.nodeSize;if(l>e&&!1!==n(a,i+s,o||null,r)&&a.content.size){let o=s+1;a.nodesBetween(Math.max(0,e-o),Math.min(a.content.size,t-o),n,i+o)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,i){let o="",r=!0;return this.nodesBetween(e,t,((s,a)=>{s.isText?(o+=s.text.slice(Math.max(e,a)-a,t-a),r=!n):s.isLeaf?(i?o+="function"==typeof i?i(s):i:s.type.spec.leafText&&(o+=s.type.spec.leafText(s)),r=!n):!r&&s.isBlock&&(o+=n,r=!0)}),0),o}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,n=e.firstChild,i=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(n)&&(i[i.length-1]=t.withText(t.text+n.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new z(i,this.size+e.size)}cut(e,t=this.size){if(0==e&&t==this.size)return this;let n=[],i=0;if(t>e)for(let o=0,r=0;r<t;o++){let s=this.content[o],a=r+s.nodeSize;a>e&&((r<e||a>t)&&(s=s.isText?s.cut(Math.max(0,e-r),Math.min(s.text.length,t-r)):s.cut(Math.max(0,e-r-1),Math.min(s.content.size,t-r-1))),n.push(s),i+=s.nodeSize),r=a}return new z(n,i)}cutByIndex(e,t){return e==t?z.empty:0==e&&t==this.content.length?this:new z(this.content.slice(e,t))}replaceChild(e,t){let n=this.content[e];if(n==t)return this;let i=this.content.slice(),o=this.size+t.nodeSize-n.nodeSize;return i[e]=t,new z(i,o)}addToStart(e){return new z([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new z(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 i=this.content[t];e(i,n,t),n+=i.nodeSize}}findDiffStart(e,t=0){return j(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return I(this,e,t,n)}findIndex(e,t=-1){if(0==e)return R(0,e);if(e==this.size)return R(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,i=0;;n++){let o=i+this.child(n).nodeSize;if(o>=e)return o==e||t>0?R(n+1,o):R(n,i);i=o}}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 z.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new z(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return z.empty;let t,n=0;for(let i=0;i<e.length;i++){let o=e[i];n+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(t||(t=e.slice(0,i)),t[t.length-1]=o.withText(t[t.length-1].text+o.text)):t&&t.push(o)}return new z(t||e,n)}static from(e){if(!e)return z.empty;if(e instanceof z)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new z([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}z.empty=new z([],0);const L={index:0,offset:0};function R(e,t){return L.index=e,L.offset=t,L}function F(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(!F(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!F(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}class P{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))t||(t=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!n&&o.type.rank>this.type.rank&&(t||(t=e.slice(0,i)),t.push(this),n=!0),t&&t.push(o)}}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&&F(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`);return n.create(t.attrs)}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(e){if(!e||Array.isArray(e)&&0==e.length)return P.none;if(e instanceof P)return[e];let t=e.slice();return t.sort(((e,t)=>e.type.rank-t.type.rank)),t}}P.none=[];class B extends Error{}class U{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=H(this.content,e+this.openStart,t);return n&&new U(n,this.openStart,this.openEnd)}removeBetween(e,t){return new U($(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 U.empty;let n=t.openStart||0,i=t.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw new RangeError("Invalid input for Slice.fromJSON");return new U(z.fromJSON(e,t.content),n,i)}static maxOpen(e,t=!0){let n=0,i=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)n++;for(let n=e.lastChild;n&&!n.isLeaf&&(t||!n.type.spec.isolating);n=n.lastChild)i++;return new U(e,n,i)}}function $(e,t,n){let{index:i,offset:o}=e.findIndex(t),r=e.maybeChild(i),{index:s,offset:a}=e.findIndex(n);if(o==t||r.isText){if(a!=n&&!e.child(s).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(i!=s)throw new RangeError("Removing non-flat range");return e.replaceChild(i,r.copy($(r.content,t-o-1,n-o-1)))}function H(e,t,n,i){let{index:o,offset:r}=e.findIndex(t),s=e.maybeChild(o);if(r==t||s.isText)return i&&!i.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let a=H(s.content,t-r-1,n);return a&&e.replaceChild(o,s.copy(a))}function q(e,t,n){if(n.openStart>e.depth)throw new B("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new B("Inconsistent open depths");return V(e,t,n,0)}function V(e,t,n,i){let o=e.index(i),r=e.node(i);if(o==t.index(i)&&i<e.depth-n.openStart){let s=V(e,t,n,i+1);return r.copy(r.content.replaceChild(o,s))}if(n.content.size){if(n.openStart||n.openEnd||e.depth!=i||t.depth!=i){let{start:o,end:s}=function(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)i=t.node(e).copy(z.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}(n,e);return G(r,J(e,o,s,t,i))}{let i=e.parent,o=i.content;return G(i,o.cut(0,e.parentOffset).append(n.content).append(o.cut(t.parentOffset)))}}return G(r,Z(e,t,i))}function W(e,t){if(!t.type.compatibleContent(e.type))throw new B("Cannot join "+t.type.name+" onto "+e.type.name)}function K(e,t,n){let i=e.node(n);return W(i,t.node(n)),i}function Y(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 Q(e,t,n,i){let o=(t||e).node(n),r=0,s=t?t.index(n):o.childCount;e&&(r=e.index(n),e.depth>n?r++:e.textOffset&&(Y(e.nodeAfter,i),r++));for(let e=r;e<s;e++)Y(o.child(e),i);t&&t.depth==n&&t.textOffset&&Y(t.nodeBefore,i)}function G(e,t){if(!e.type.validContent(t))throw new B("Invalid content for node "+e.type.name);return e.copy(t)}function J(e,t,n,i,o){let r=e.depth>o&&K(e,t,o+1),s=i.depth>o&&K(n,i,o+1),a=[];return Q(null,e,o,a),r&&s&&t.index(o)==n.index(o)?(W(r,s),Y(G(r,J(e,t,n,i,o+1)),a)):(r&&Y(G(r,Z(e,t,o+1)),a),Q(t,n,o,a),s&&Y(G(s,Z(n,i,o+1)),a)),Q(i,null,o,a),new z(a)}function Z(e,t,n){let i=[];if(Q(null,e,n,i),e.depth>n){Y(G(K(e,t,n+1),Z(e,t,n+1)),i)}return Q(t,null,n,i),new z(i)}U.empty=new U(z.empty,0,0);class X{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],i=e.child(t);return n?e.child(t).cut(n):i}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],i=0==t?0:this.path[3*t-1]+1;for(let t=0;t<e;t++)i+=n.child(t).nodeSize;return i}marks(){let e=this.parent,t=this.index();if(0==e.content.size)return P.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),i=e.maybeChild(t);if(!n){let e=n;n=i,i=e}let o=n.marks;for(var r=0;r<o.length;r++)!1!==o[r].type.spec.inclusive||i&&o[r].isInSet(i.marks)||(o=o[r--].removeFromSet(o));return o}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<n.length;o++)!1!==n[o].type.spec.inclusive||i&&n[o].isInSet(i.marks)||(n=n[o--].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 ie(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=[],i=0,o=t;for(let t=e;;){let{index:e,offset:r}=t.content.findIndex(o),s=o-r;if(n.push(t,e,i+r),!s)break;if(t=t.child(e),t.isText)break;o=s-1,i+=r+1}return new X(t,n,o)}static resolveCached(e,t){for(let n=0;n<ee.length;n++){let i=ee[n];if(i.pos==t&&i.doc==e)return i}let n=ee[te]=X.resolve(e,t);return te=(te+1)%ne,n}}let ee=[],te=0,ne=12;class ie{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 oe=Object.create(null);class re{constructor(e,t,n,i=P.none){this.type=e,this.attrs=t,this.marks=i,this.content=n||z.empty}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,i=0){this.content.nodesBetween(e,t,n,i,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,i){return this.content.textBetween(e,t,n,i)}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&&F(this.attrs,t||e.defaultAttrs||oe)&&P.sameSet(this.marks,n||P.none)}copy(e=null){return e==this.content?this:new re(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new re(this.type,this.attrs,this.content,e)}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 U.empty;let i=this.resolve(e),o=this.resolve(t),r=n?0:i.sharedDepth(t),s=i.start(r),a=i.node(r).content.cut(i.pos-s,o.pos-s);return new U(a,i.depth-r,o.depth-r)}replace(e,t,n){return q(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:i}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(i==e||t.isText)return t;e-=i+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 i=this.content.child(t-1);return{node:i,index:t-1,offset:n-i.nodeSize}}resolve(e){return X.resolveCached(this,e)}resolveNoCache(e){return X.resolve(this,e)}rangeHasMark(e,t,n){let i=!1;return t>e&&this.nodesBetween(e,t,(e=>(n.isInSet(e.marks)&&(i=!0),!i))),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),ae(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=z.empty,i=0,o=n.childCount){let r=this.contentMatchAt(e).matchFragment(n,i,o),s=r&&r.matchFragment(this.content,t);if(!s||!s.validEnd)return!1;for(let e=i;e<o;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(n),r=o&&o.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(){if(!this.type.validContent(this.content))throw new RangeError(`Invalid content for node ${this.type.name}: ${this.content.toString().slice(0,50)}`);let e=P.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!P.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=null;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 i=z.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,i,n)}}re.prototype.text=void 0;class se extends re{constructor(e,t,n,i){if(super(e,t,null,i),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):ae(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 se(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new se(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 ae(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class le{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let n=new ce(e,t);if(null==n.next)return le.empty;let i=pe(n);n.next&&n.err("Unexpected trailing text");let o=function(e){let t=Object.create(null);return n(ge(e,0));function n(i){let o=[];i.forEach((t=>{e[t].forEach((({term:t,to:n})=>{if(!t)return;let i;for(let e=0;e<o.length;e++)o[e][0]==t&&(i=o[e][1]);ge(e,n).forEach((e=>{i||o.push([t,i=[]]),-1==i.indexOf(e)&&i.push(e)}))}))}));let r=t[i.join(",")]=new le(i.indexOf(e.length-1)>-1);for(let e=0;e<o.length;e++){let i=o[e][1].sort(fe);r.next.push({type:o[e][0],next:t[i.join(",")]||n(i)})}return r}}(function(e){let t=[[]];return o(r(e,0),n()),t;function n(){return t.push([])-1}function i(e,n,i){let o={term:i,to:n};return t[e].push(o),o}function o(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 s=n();return i(t,s),o(r(e.expr,s),s),[i(s)]}if("plus"==e.type){let s=n();return o(r(e.expr,t),s),o(r(e.expr,s),s),[i(s)]}if("opt"==e.type)return[i(t)].concat(r(e.expr,t));if("range"==e.type){let s=t;for(let t=0;t<e.min;t++){let t=n();o(r(e.expr,s),t),s=t}if(-1==e.max)o(r(e.expr,s),s);else for(let t=e.min;t<e.max;t++){let t=n();i(s,t),o(r(e.expr,s),t),s=t}return[i(s)]}if("name"==e.type)return[i(t,void 0,e.value)];throw new Error("Unknown expr type")}for(let i=0;;i++){let s=r(e.exprs[i],t);if(i==e.exprs.length-1)return s;o(s,t=n())}}}(i));return function(e,t){for(let n=0,i=[e];n<i.length;n++){let e=i[n],o=!e.validEnd,r=[];for(let t=0;t<e.next.length;t++){let{type:n,next:s}=e.next[t];r.push(n.name),!o||n.isText||n.hasRequiredAttrs()||(o=!1),-1==i.indexOf(s)&&i.push(s)}o&&t.err("Only non-generatable nodes ("+r.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(o,n),o}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 i=this;for(let o=t;i&&o<n;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return 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 i=[this];return function o(r,s){let a=r.matchFragment(e,n);if(a&&(!t||a.validEnd))return z.from(s.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==i.indexOf(n)){i.push(n);let e=o(n,s.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 i=n.shift(),o=i.match;if(o.matchType(e)){let e=[];for(let t=i;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<o.next.length;e++){let{type:r,next:s}=o.next[e];r.isLeaf||r.hasRequiredAttrs()||r.name in t||i.type&&!s.validEnd||(n.push({match:r.contentMatch,type:r,via:i}),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 i=0;i<n.next.length;i++)-1==e.indexOf(n.next[i].next)&&t(n.next[i].next)}(this),e.map(((t,n)=>{let i=n+(t.validEnd?"*":" ")+" ";for(let n=0;n<t.next.length;n++)i+=(n?", ":"")+t.next[n].type.name+"->"+e.indexOf(t.next[n].next);return i})).join("\n")}}le.empty=new le(!0);class ce{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 pe(e){let t=[];do{t.push(ue(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function ue(e){let t=[];do{t.push(de(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function de(e){let t=function(e){if(e.eat("(")){let t=pe(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){let t=function(e,t){let n=e.nodeTypes,i=n[t];if(i)return[i];let o=[];for(let e in n){let i=n[e];i.groups.indexOf(t)>-1&&o.push(i)}0==o.length&&e.err("No node type or group '"+t+"' found");return o}(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=me(e,t)}return t}function he(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function me(e,t){let n=he(e),i=n;return e.eat(",")&&(i="}"!=e.next?he(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:t}}function fe(e,t){return t-e}function ge(e,t){let n=[];return function t(i){let o=e[i];if(1==o.length&&!o[0].term)return t(o[0].to);n.push(i);for(let e=0;e<o.length;e++){let{term:i,to:r}=o[e];i||-1!=n.indexOf(r)||t(r)}}(t),n.sort(fe)}function be(e){let t=Object.create(null);for(let n in e){let i=e[n];if(!i.hasDefault)return null;t[n]=i.default}return t}function ve(e,t){let n=Object.create(null);for(let i in e){let o=t&&t[i];if(void 0===o){let t=e[i];if(!t.hasDefault)throw new RangeError("No value supplied for attribute "+i);o=t.default}n[i]=o}return n}function ye(e){let t=Object.create(null);if(e)for(let n in e)t[n]=new we(e[n]);return t}class xe{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=ye(n.attrs),this.defaultAttrs=be(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==le.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}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:ve(this.attrs,e)}create(e=null,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new re(this,this.computeAttrs(e),z.from(t),P.setFrom(n))}createChecked(e=null,t,n){if(t=z.from(t),!this.validContent(t))throw new RangeError("Invalid content for node "+this.name);return new re(this,this.computeAttrs(e),t,P.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),(t=z.from(t)).size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let i=this.contentMatch.matchFragment(t),o=i&&i.fillBefore(z.empty,!0);return o?new re(this,e,t.append(o),P.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}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:P.none:e}static compile(e,t){let n=Object.create(null);e.forEach(((e,i)=>n[e]=new xe(e,t,i)));let i=t.spec.topNode||"doc";if(!n[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let e in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}}class we{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class ke{constructor(e,t,n,i){this.name=e,this.rank=t,this.schema=n,this.spec=i,this.attrs=ye(i.attrs),this.excluded=null;let o=be(this.attrs);this.instance=o?new P(this,o):null}create(e=null){return!e&&this.instance?this.instance:new P(this,ve(this.attrs,e))}static compile(e,t){let n=Object.create(null),i=0;return e.forEach(((e,o)=>n[e]=new ke(e,i++,t,o))),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]}excludes(e){return this.excluded.indexOf(e)>-1}}class Ee{constructor(e){this.cached=Object.create(null),this.spec={nodes:A.from(e.nodes),marks:A.from(e.marks||{}),topNode:e.topNode},this.nodes=xe.compile(this.spec.nodes,this),this.marks=ke.compile(this.spec.marks,this);let t=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 n=this.nodes[e],i=n.spec.content||"",o=n.spec.marks;n.contentMatch=t[i]||(t[i]=le.parse(i,this.nodes)),n.inlineContent=n.contentMatch.inlineContent,n.markSet="_"==o?null:o?_e(this,o.split(" ")):""!=o&&n.inlineContent?null:[]}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=null==n?[t]:""==n?[]:_e(this,n.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,n,i){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof xe))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,i)}text(e,t){let n=this.nodes.text;return new se(n,n.defaultAttrs,e,P.setFrom(t))}mark(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return re.fromJSON(this,e)}markFromJSON(e){return P.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function _e(e,t){let n=[];for(let i=0;i<t.length;i++){let o=t[i],r=e.marks[o],s=r;if(r)n.push(r);else for(let t in e.marks){let i=e.marks[t];("_"==o||i.spec.group&&i.spec.group.split(" ").indexOf(o)>-1)&&n.push(s=i)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}class Me{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach((e=>{e.tag?this.tags.push(e):e.style&&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 Ie(this,t,!1);return n.addAll(e,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Ie(this,t,!0);return n.addAll(e,t.from,t.to),U.maxOpen(n.finish())}matchTag(e,t,n){for(let i=n?this.tags.indexOf(n)+1:0;i<this.tags.length;i++){let n=this.tags[i];if(ze(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,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let i=this.styles[o],r=i.style;if(!(0!=r.indexOf(e)||i.context&&!n.matchesContext(i.context)||r.length>e.length&&(61!=r.charCodeAt(e.length)||r.slice(e.length+1)!=t))){if(i.getAttrs){let e=i.getAttrs(t);if(!1===e)continue;i.attrs=e||void 0}return i}}}static schemaRules(e){let t=[];function n(e){let n=null==e.priority?50:e.priority,i=0;for(;i<t.length;i++){let e=t[i];if((null==e.priority?50:e.priority)<n)break}t.splice(i,0,e)}for(let t in e.marks){let i=e.marks[t].spec.parseDOM;i&&i.forEach((e=>{n(e=Le(e)),e.mark=t}))}for(let t in e.nodes){let i=e.nodes[t].spec.parseDOM;i&&i.forEach((e=>{n(e=Le(e)),e.node=t}))}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Me(e,Me.schemaRules(e)))}}const Ce={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},De={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Oe={ol:!0,ul:!0},Te=1,Ne=2,Se=4;function Ae(e,t,n){return null!=t?(t?Te:0)|("full"===t?Ne:0):e&&"pre"==e.whitespace?Te|Ne:n&~Se}class je{constructor(e,t,n,i,o,r,s){this.type=e,this.attrs=t,this.marks=n,this.pendingMarks=i,this.solid=o,this.options=s,this.content=[],this.activeMarks=P.none,this.stashMarks=[],this.match=r||(s&Se?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(z.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(!(this.options&Te)){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=z.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(z.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,n=this.pendingMarks;t<n.length;t++){let i=n[t];(this.type?this.type.allowsMarkType(i.type):Re(i.type,e))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Ce.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Ie{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0;let i,o=t.topNode,r=Ae(null,t.preserveWhitespace,0)|(n?Se:0);i=o?new je(o.type,o.attrs,P.none,P.none,!0,t.topMatch||o.type.contentMatch,r):new je(n?null:e.schema.topNodeType,null,P.none,P.none,!0,null,r),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){if(3==e.nodeType)this.addTextNode(e);else if(1==e.nodeType){let t=e.getAttribute("style"),n=t?this.readStyles(function(e){let t,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,i=[];for(;t=n.exec(e);)i.push(t[1],t[2].trim());return i}(t)):null,i=this.top;if(null!=n)for(let e=0;e<n.length;e++)this.addPendingMark(n[e]);if(this.addElement(e),null!=n)for(let e=0;e<n.length;e++)this.removePendingMark(n[e],i)}}addTextNode(e){let t=e.nodeValue,n=this.top;if(n.options&Ne||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(n.options&Te)t=n.options&Ne?t.replace(/\r\n?/g,"\n"):t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let i=n.content[n.content.length-1],o=e.previousSibling;(!i||o&&"BR"==o.nodeName||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let n,i=e.nodeName.toLowerCase();Oe.hasOwnProperty(i)&&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 o=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(n=this.parser.matchTag(e,this,t));if(o?o.ignore:De.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(e=o.skip);let t,n=this.top,r=this.needsBlock;if(Ce.hasOwnProperty(i))t=!0,n.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);this.addAll(e),t&&this.sync(n),this.needsBlock=r}else this.addElementByRule(e,o,!1===o.consuming?n:void 0)}leafFallback(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}ignoreFallback(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=P.none;e:for(let n=0;n<e.length;n+=2)for(let i;;){let o=this.parser.matchStyle(e[n],e[n+1],this,i);if(!o)continue e;if(o.ignore)return null;if(t=this.parser.schema.marks[o.mark].create(o.attrs).addToSet(t),!1!==o.consuming)break;i=o}return t}addElementByRule(e,t,n){let i,o,r;if(t.node)o=this.parser.schema.nodes[t.node],o.isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):i=this.enter(o,t.attrs||null,t.preserveWhitespace);else{r=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(r)}let s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(n)this.addElement(e,n);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach((e=>this.insertNode(e)));else{let n=e;"string"==typeof t.contentElement?n=e.querySelector(t.contentElement):"function"==typeof t.contentElement?n=t.contentElement(e):t.contentElement&&(n=t.contentElement),this.findAround(e,n,!0),this.addAll(n)}i&&this.sync(s)&&this.open--,r&&this.removePendingMark(r,s)}addAll(e,t,n){let i=t||0;for(let o=t?e.childNodes[t]:e.firstChild,r=null==n?null:e.childNodes[n];o!=r;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o);this.findAtPoint(e,i)}findPlace(e){let t,n;for(let i=this.open;i>=0;i--){let o=this.nodes[i],r=o.findWrapping(e);if(r&&(!t||t.length>r.length)&&(t=r,n=o,!r.length))break;if(o.solid)break}if(!t)return!1;this.sync(n);for(let e=0;e<t.length;e++)this.enterInner(t[e],null,!1);return!0}insertNode(e){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&this.enterInner(e)}if(this.findPlace(e)){this.closeExtra();let t=this.top;t.applyPending(e.type),t.match&&(t.match=t.match.matchType(e.type));let n=t.activeMarks;for(let i=0;i<e.marks.length;i++)t.type&&!t.type.allowsMarkType(e.marks[i].type)||(n=e.marks[i].addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n){let i=this.findPlace(e.create(t));return i&&this.enterInner(e,t,!0,n),i}enterInner(e,t=null,n=!1,i){this.closeExtra();let o=this.top;o.applyPending(e),o.match=o.match&&o.match.matchType(e);let r=Ae(e,i,o.options);o.options&Se&&0==o.content.length&&(r|=Se),this.nodes.push(new je(e,t,o.activeMarks,o.pendingMarks,n,null,r)),this.open++}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;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 i=0;i<this.find.length;i++)if(null==this.find[i].pos&&1==e.nodeType&&e.contains(this.find[i].node)){t.compareDocumentPosition(this.find[i].node)&(n?2:4)&&(this.find[i].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,i=!(this.isOpen||n&&n.parent.type!=this.nodes[0].type),o=-(n?n.depth+1:0)+(i?0:1),r=(e,s)=>{for(;e>=0;e--){let a=t[e];if(""==a){if(e==t.length-1||0==e)continue;for(;s>=o;s--)if(r(e-1,s))return!0;return!1}{let e=s>0||0==s&&i?this.nodes[s].type:n&&s>=o?n.node(s-o).type:null;if(!e||e.name!=a&&-1==e.groups.indexOf(a))return!1;s--}}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}}addPendingMark(e){let t=function(e,t){for(let n=0;n<t.length;n++)if(e.eq(t[n]))return t[n]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let n=this.open;n>=0;n--){let i=this.nodes[n];if(i.pendingMarks.lastIndexOf(e)>-1)i.pendingMarks=e.removeFromSet(i.pendingMarks);else{i.activeMarks=e.removeFromSet(i.activeMarks);let t=i.popFromStashMark(e);t&&i.type&&i.type.allowsMarkType(t.type)&&(i.activeMarks=t.addToSet(i.activeMarks))}if(i==t)break}}}function ze(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Le(e){let t={};for(let n in e)t[n]=e[n];return t}function Re(e,t){let n=t.schema.nodes;for(let i in n){let o=n[i];if(!o.allowsMarkType(e))continue;let r=[],s=e=>{r.push(e);for(let n=0;n<e.edgeCount;n++){let{type:i,next:o}=e.edge(n);if(i==t)return!0;if(r.indexOf(o)<0&&s(o))return!0}};if(s(o.contentMatch))return!0}}class Fe{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||(n=Be(t).createDocumentFragment());let i=n,o=[];return e.forEach((e=>{if(o.length||e.marks.length){let n=0,r=0;for(;n<o.length&&r<e.marks.length;){let t=e.marks[r];if(this.marks[t.type.name]){if(!t.eq(o[n][0])||!1===t.type.spec.spanning)break;n++,r++}else r++}for(;n<o.length;)i=o.pop()[1];for(;r<e.marks.length;){let n=e.marks[r++],s=this.serializeMark(n,e.isInline,t);s&&(o.push([n,i]),i.appendChild(s.dom),i=s.contentDOM||s.dom)}}i.appendChild(this.serializeNodeInner(e,t))})),n}serializeNodeInner(e,t){let{dom:n,contentDOM:i}=Fe.renderSpec(Be(t),this.nodes[e.type.name](e));if(i){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,i)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let i=e.marks.length-1;i>=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(n),n=o.dom)}return n}serializeMark(e,t,n={}){let i=this.marks[e.type.name];return i&&Fe.renderSpec(Be(n),i(e,t))}static renderSpec(e,t,n=null){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,o=t[0],r=o.indexOf(" ");r>0&&(n=o.slice(0,r),o=o.slice(r+1));let s=n?e.createElementNS(n,o):e.createElement(o),a=t[1],l=1;if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a)){l=2;for(let e in a)if(null!=a[e]){let t=e.indexOf(" ");t>0?s.setAttributeNS(e.slice(0,t),e.slice(t+1),a[e]):s.setAttribute(e,a[e])}}for(let o=l;o<t.length;o++){let r=t[o];if(0===r){if(o<t.length-1||o>l)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}{let{dom:t,contentDOM:o}=Fe.renderSpec(e,r,n);if(s.appendChild(t),o){if(i)throw new RangeError("Multiple content holes");i=o}}}return{dom:s,contentDOM:i}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Fe(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Pe(e.nodes);return t.text||(t.text=e=>e.text),t}static marksFromSchema(e){return Pe(e.marks)}}function Pe(e){let t={};for(let n in e){let i=e[n].spec.toDOM;i&&(t[n]=i)}return t}function Be(e){return e.document||window.document}const Ue=65535,$e=Math.pow(2,16);function He(e,t){return e+t*$e}function qe(e){return e&Ue}const Ve=1,We=2,Ke=4,Ye=8;class Qe{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(this.delInfo&Ye)>0}get deletedBefore(){return(this.delInfo&(Ve|Ke))>0}get deletedAfter(){return(this.delInfo&(We|Ke))>0}get deletedAcross(){return(this.delInfo&Ke)>0}}class Ge{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Ge.empty)return Ge.empty}recover(e){let t=0,n=qe(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+function(e){return(e-(e&Ue))/$e}(e)}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 i=0,o=this.inverted?2:1,r=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let a=this.ranges[s]-(this.inverted?i:0);if(a>e)break;let l=this.ranges[s+o],c=this.ranges[s+r],p=a+l;if(e<=p){let o=a+i+((l?e==a?-1:e==p?1:t:t)<0?0:c);if(n)return o;let r=e==(t<0?a:p)?null:He(s/3,e-a),u=e==a?We:e==p?Ve:Ke;return(t<0?e!=a:e!=p)&&(u|=Ye),new Qe(o,u,r)}i+=c-l}return n?e+i:new Qe(e+i,0,null)}touches(e,t){let n=0,i=qe(t),o=this.inverted?2:1,r=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let s=this.ranges[t]-(this.inverted?n:0);if(s>e)break;let a=this.ranges[t+o];if(e<=s+a&&t==3*i)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 i=0,o=0;i<this.ranges.length;i+=3){let r=this.ranges[i],s=r-(this.inverted?o:0),a=r+(this.inverted?0:o),l=this.ranges[i+t],c=this.ranges[i+n];e(s,s+l,a,a+c),o+=c-l}}invert(){return new Ge(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return 0==e?Ge.empty:new Ge(e<0?[0,-e,0]:[0,0,e])}}Ge.empty=new Ge([]);class Je{constructor(e=[],t,n=0,i=e.length){this.maps=e,this.mirror=t,this.from=n,this.to=i}slice(e=0,t=this.maps.length){return new Je(this.maps,this.mirror,e,t)}copy(){return new Je(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){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 i=e.getMirror(t);this.appendMap(e.maps[t],null!=i&&i<t?n+i: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 i=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=i&&i>t?n-i-1:void 0)}}invert(){let e=new Je;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 i=0;for(let n=this.from;n<this.to;n++){let o=this.maps[n].mapResult(e,t);if(null!=o.recover){let t=this.getMirror(n);if(null!=t&&t>n&&t<this.to){n=t,e=this.maps[t].recover(o.recover);continue}}i|=o.delInfo,e=o.pos}return n?e:new Qe(e,i,null)}}const Ze=Object.create(null);class Xe{getMap(){return Ge.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=Ze[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 Ze)throw new RangeError("Duplicate use of step JSON ID "+e);return Ze[e]=t,t.prototype.jsonID=e,t}}class et{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new et(e,null)}static fail(e){return new et(null,e)}static fromReplace(e,t,n,i){try{return et.ok(e.replace(t,n,i))}catch(e){if(e instanceof B)return et.fail(e.message);throw e}}}function tt(e,t,n){let i=[];for(let o=0;o<e.childCount;o++){let r=e.child(o);r.content.size&&(r=r.copy(tt(r.content,t,r))),r.isInline&&(r=t(r,n,o)),i.push(r)}return z.fromArray(i)}class nt extends Xe{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),i=n.node(n.sharedDepth(this.to)),o=new U(tt(t.content,((e,t)=>e.isAtom&&t.type.allowsMarkType(this.mark.type)?e.mark(this.mark.addToSet(e.marks)):e),i),t.openStart,t.openEnd);return et.fromReplace(e,this.from,this.to,o)}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 nt(t.pos,n.pos,this.mark)}merge(e){return e instanceof nt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new nt(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 nt(t.from,t.to,e.markFromJSON(t.mark))}}Xe.jsonID("addMark",nt);class it extends Xe{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 U(tt(t.content,(e=>e.mark(this.mark.removeFromSet(e.marks))),e),t.openStart,t.openEnd);return et.fromReplace(e,this.from,this.to,n)}invert(){return new nt(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:"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 it(t.from,t.to,e.markFromJSON(t.mark))}}Xe.jsonID("removeMark",it);class ot extends Xe{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return et.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return et.fromReplace(e,this.pos,this.pos+1,new U(z.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 rt(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))}}Xe.jsonID("addNodeMark",ot);class rt extends Xe{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return et.fail("No node at mark step's position");let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return et.fromReplace(e,this.pos,this.pos+1,new U(z.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 rt(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 rt(t.pos,e.markFromJSON(t.mark))}}Xe.jsonID("removeNodeMark",rt);class st extends Xe{constructor(e,t,n,i=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=i}apply(e){return this.structure&<(e,this.from,this.to)?et.fail("Structure replace would overwrite content"):et.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Ge([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)}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?U.empty:new U(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?U.empty:new U(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,U.fromJSON(e,t.slice),!!t.structure)}}Xe.jsonID("replace",st);class at extends Xe{constructor(e,t,n,i,o,r,s=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=i,this.slice=o,this.insert=r,this.structure=s}apply(e){if(this.structure&&(lt(e,this.from,this.gapFrom)||lt(e,this.gapTo,this.to)))return et.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return et.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,t.content);return n?et.fromReplace(e,this.from,this.to,n):et.fail("Content does not fit in gap")}getMap(){return new Ge([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 at(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),i=e.map(this.gapFrom,-1),o=e.map(this.gapTo,1);return t.deletedAcross&&n.deletedAcross||i<t.pos||o>n.pos?null:new at(t.pos,n.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,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 at(t.from,t.to,t.gapFrom,t.gapTo,U.fromJSON(e,t.slice),t.insert,!!t.structure)}}function lt(e,t,n){let i=e.resolve(t),o=n-t,r=i.depth;for(;o>0&&r>0&&i.indexAfter(r)==i.node(r).childCount;)r--,o--;if(o>0){let e=i.node(r).maybeChild(i.indexAfter(r));for(;o>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,o--}}return!1}function ct(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function pt(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth;;--n){let i=e.$from.node(n),o=e.$from.index(n),r=e.$to.indexAfter(n);if(n<e.depth&&i.canReplace(o,r,t))return n;if(0==n||i.type.spec.isolating||!ct(i,o,r))break}return null}function ut(e,t,n=null,i=e){let o=function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,r=n.contentMatchAt(i).findWrapping(t);if(!r)return null;let s=r.length?r[0]:t;return n.canReplaceWith(i,o,s)?r:null}(e,t),r=o&&function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,r=n.child(i),s=t.contentMatch.findWrapping(r.type);if(!s)return null;let a=(s.length?s[s.length-1]:t).contentMatch;for(let e=i;a&&e<o;e++)a=a.matchType(n.child(e).type);return a&&a.validEnd?s:null}(i,t);return r?o.map(dt).concat({type:t,attrs:n}).concat(r.map(dt)):null}function dt(e){return{type:e,attrs:null}}function ht(e,t,n=1,i){let o=e.resolve(t),r=o.depth-n,s=i&&i[i.length-1]||o.parent;if(r<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let e=o.depth-1,t=n-2;e>r;e--,t--){let n=o.node(e),r=o.index(e);if(n.type.spec.isolating)return!1;let s=n.content.cutByIndex(r,n.childCount),a=i&&i[t]||n;if(a!=n&&(s=s.replaceChild(0,a.type.create(a.attrs))),!n.canReplace(r+1,n.childCount)||!a.type.validContent(s))return!1}let a=o.indexAfter(r),l=i&&i[0];return o.node(r).canReplaceWith(a,a,l?l.type:o.node(r+1).type)}function mt(e,t){let n=e.resolve(t),i=n.index();return function(e,t){return!(!e||!t||e.isLeaf||!e.canAppend(t))}(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function ft(e,t,n){let i=e.resolve(t);if(!n.content.size)return t;let o=n.content;for(let e=0;e<n.openStart;e++)o=o.firstChild.content;for(let e=1;e<=(0==n.openStart&&n.size?2:1);e++)for(let t=i.depth;t>=0;t--){let n=t==i.depth?0:i.pos<=(i.start(t+1)+i.end(t+1))/2?-1:1,r=i.index(t)+(n>0?1:0),s=i.node(t),a=!1;if(1==e)a=s.canReplace(r,r,o);else{let e=s.contentMatchAt(r).findWrapping(o.firstChild.type);a=e&&s.canReplaceWith(r,r,e[0])}if(a)return 0==n?i.pos:n<0?i.before(t+1):i.after(t+1)}return null}function gt(e,t,n=t,i=U.empty){if(t==n&&!i.size)return null;let o=e.resolve(t),r=e.resolve(n);return bt(o,r,i)?new st(t,n,i):new vt(o,r,i).fit()}function bt(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}Xe.jsonID("replaceAround",at);class vt{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=z.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=z.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,i=this.close(e<0?this.$to:n.doc.resolve(e));if(!i)return null;let o=this.placed,r=n.depth,s=i.depth;for(;r&&s&&1==o.childCount;)o=o.firstChild.content,r--,s--;let a=new U(o,r,s);return e>-1?new at(n.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||n.pos!=this.$to.pos?new st(n.pos,i.pos,a):null}findFittable(){for(let e=1;e<=2;e++)for(let t=this.unplaced.openStart;t>=0;t--){let n,i=null;t?(i=wt(this.unplaced.content,t-1).firstChild,n=i.content):n=this.unplaced.content;let o=n.firstChild;for(let n=this.depth;n>=0;n--){let r,{type:s,match:a}=this.frontier[n],l=null;if(1==e&&(o?a.matchType(o.type)||(l=a.fillBefore(z.from(o),!1)):i&&s.compatibleContent(i.type)))return{sliceDepth:t,frontierDepth:n,parent:i,inject:l};if(2==e&&o&&(r=a.findWrapping(o.type)))return{sliceDepth:t,frontierDepth:n,parent:i,wrap:r};if(i&&a.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced,i=wt(e,t);return!(!i.childCount||i.firstChild.isLeaf)&&(this.unplaced=new U(e,t+1,Math.max(n,i.size+t>=e.size-n?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,i=wt(e,t);if(i.childCount<=1&&t>0){let o=e.size-t<=t+i.size;this.unplaced=new U(yt(e,t-1,1),t-1,o?t-1:n)}else this.unplaced=new U(yt(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:i,wrap:o}){for(;this.depth>t;)this.closeFrontierNode();if(o)for(let e=0;e<o.length;e++)this.openFrontierNode(o[e]);let r=this.unplaced,s=n?n.content:r.content,a=r.openStart-e,l=0,c=[],{match:p,type:u}=this.frontier[t];if(i){for(let e=0;e<i.childCount;e++)c.push(i.child(e));p=p.matchFragment(i)}let d=s.size+e-(r.content.size-r.openEnd);for(;l<s.childCount;){let e=s.child(l),t=p.matchType(e.type);if(!t)break;l++,(l>1||0==a||e.content.size)&&(p=t,c.push(kt(e.mark(u.allowedMarks(e.marks)),1==l?a:0,l==s.childCount?d:-1)))}let h=l==s.childCount;h||(d=-1),this.placed=xt(this.placed,t,z.from(c)),this.frontier[t].match=p,h&&d<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=s;e<d;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=h?0==e?U.empty:new U(yt(r.content,e-1,1),e-1,d<0?r.openEnd:e-1):new U(yt(r.content,e,l),r.openStart,r.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e,t=this.frontier[this.depth];if(!t.type.isTextblock||!Et(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,i=this.$to.after(n);for(;n>1&&i==this.$to.end(--n);)++i;return i}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:i}=this.frontier[t],o=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),r=Et(e,t,i,n,o);if(r){for(let n=t-1;n>=0;n--){let{match:t,type:i}=this.frontier[n],o=Et(e,n,i,t,!0);if(!o||o.childCount)continue e}return{depth:t,fit:r,move:o?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=xt(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),i=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,i)}return e}openFrontierNode(e,t=null,n){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=xt(this.placed,this.depth,z.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(z.empty,!0);e.childCount&&(this.placed=xt(this.placed,this.frontier.length,e))}}function yt(e,t,n){return 0==t?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(yt(e.firstChild.content,t-1,n)))}function xt(e,t,n){return 0==t?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(xt(e.lastChild.content,t-1,n)))}function wt(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function kt(e,t,n){if(t<=0)return e;let i=e.content;return t>1&&(i=i.replaceChild(0,kt(i.firstChild,t-1,1==i.childCount?n-1:0))),t>0&&(i=e.type.contentMatch.fillBefore(i).append(i),n<=0&&(i=i.append(e.type.contentMatch.matchFragment(i).fillBefore(z.empty,!0)))),e.copy(i)}function Et(e,t,n,i,o){let r=e.node(t),s=o?e.indexAfter(t):e.index(t);if(s==r.childCount&&!n.compatibleContent(r.type))return null;let a=i.fillBefore(r.content,!0,s);return a&&!function(e,t,n){for(let i=n;i<t.childCount;i++)if(!e.allowsMarks(t.child(i).marks))return!0;return!1}(n,r.content,s)?a:null}function _t(e){return e.spec.defining||e.spec.definingForContent}function Mt(e,t,n,i,o){if(t<n){let o=e.firstChild;e=e.replaceChild(0,o.copy(Mt(o.content,t+1,n,i,o)))}if(t>i){let t=o.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(z.empty,!0))}return e}function Ct(e,t){let n=[];for(let i=Math.min(e.depth,t.depth);i>=0;i--){let o=e.start(i);if(o<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(o==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==o-1)&&n.push(i)}return n}class Dt extends Xe{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 et.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 i=t.type.create(n,null,t.marks);return et.fromReplace(e,this.pos,this.pos+1,new U(z.from(i),0,t.isLeaf?0:1))}getMap(){return Ge.empty}invert(e){return new Dt(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 Dt(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 Dt(t.pos,t.attr,t.value)}}Xe.jsonID("attr",Dt);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 Tt{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Je}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=U.empty){let i=gt(this.doc,e,t,n);return i&&this.step(i),this}replaceWith(e,t,n){return this.replace(e,t,new U(z.from(n),0,0))}delete(e,t){return this.replace(e,t,U.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return function(e,t,n,i){if(!i.size)return e.deleteRange(t,n);let o=e.doc.resolve(t),r=e.doc.resolve(n);if(bt(o,r,i))return e.step(new st(t,n,i));let s=Ct(o,e.doc.resolve(n));0==s[s.length-1]&&s.pop();let a=-(o.depth+1);s.unshift(a);for(let e=o.depth,t=o.pos-1;e>0;e--,t--){let n=o.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;s.indexOf(e)>-1?a=e:o.before(e)==t&&s.splice(1,0,-e)}let l=s.indexOf(a),c=[],p=i.openStart;for(let e=i.content,t=0;;t++){let n=e.firstChild;if(c.push(n),t==i.openStart)break;e=n.content}for(let e=p-1;e>=0;e--){let t=c[e].type,n=_t(t);if(n&&o.node(l).type!=t)p=e;else if(n||!t.isTextblock)break}for(let t=i.openStart;t>=0;t--){let a=(t+p+1)%(i.openStart+1),u=c[a];if(u)for(let t=0;t<s.length;t++){let c=s[(t+l)%s.length],p=!0;c<0&&(p=!1,c=-c);let d=o.node(c-1),h=o.index(c-1);if(d.canReplaceWith(h,h,u.type,u.marks))return e.replace(o.before(c),p?r.after(c):n,new U(Mt(i.content,0,i.openStart,a),a,i.openEnd))}}let u=e.steps.length;for(let a=s.length-1;a>=0&&(e.replace(t,n,i),!(e.steps.length>u));a--){let e=s[a];e<0||(t=o.before(e),n=r.after(e))}}(this,e,t,n),this}replaceRangeWith(e,t,n){return function(e,t,n,i){if(!i.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let o=function(e,t,n){let i=e.resolve(t);if(i.parent.canReplaceWith(i.index(),i.index(),n))return t;if(0==i.parentOffset)for(let e=i.depth-1;e>=0;e--){let t=i.index(e);if(i.node(e).canReplaceWith(t,t,n))return i.before(e+1);if(t>0)return null}if(i.parentOffset==i.parent.content.size)for(let e=i.depth-1;e>=0;e--){let t=i.indexAfter(e);if(i.node(e).canReplaceWith(t,t,n))return i.after(e+1);if(t<i.node(e).childCount)return null}return null}(e.doc,t,i.type);null!=o&&(t=n=o)}e.replaceRange(t,n,new U(z.from(i),0,0))}(this,e,t,n),this}deleteRange(e,t){return function(e,t,n){let i=e.doc.resolve(t),o=e.doc.resolve(n),r=Ct(i,o);for(let t=0;t<r.length;t++){let n=r[t],s=t==r.length-1;if(s&&0==n||i.node(n).type.contentMatch.validEnd)return e.delete(i.start(n),o.end(n));if(n>0&&(s||i.node(n-1).canReplace(i.index(n-1),o.indexAfter(n-1))))return e.delete(i.before(n),o.after(n))}for(let r=1;r<=i.depth&&r<=o.depth;r++)if(t-i.start(r)==i.depth-r&&n>i.end(r)&&o.end(r)-n!=o.depth-r)return e.delete(i.before(r),n);e.delete(t,n)}(this,e,t),this}lift(e,t){return function(e,t,n){let{$from:i,$to:o,depth:r}=t,s=i.before(r+1),a=o.after(r+1),l=s,c=a,p=z.empty,u=0;for(let e=r,t=!1;e>n;e--)t||i.index(e)>0?(t=!0,p=z.from(i.node(e).copy(p)),u++):l--;let d=z.empty,h=0;for(let e=r,t=!1;e>n;e--)t||o.after(e+1)<o.end(e)?(t=!0,d=z.from(o.node(e).copy(d)),h++):c++;e.step(new at(l,c,s,a,new U(p.append(d),u,h),p.size-u,!0))}(this,e,t),this}join(e,t=1){return function(e,t,n){let i=new st(t-n,t+n,U.empty,!0);e.step(i)}(this,e,t),this}wrap(e,t){return function(e,t,n){let i=z.empty;for(let e=n.length-1;e>=0;e--){if(i.size){let t=n[e].type.contentMatch.matchFragment(i);if(!t||!t.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=z.from(n[e].type.create(n[e].attrs,i))}let o=t.start,r=t.end;e.step(new at(o,r,o,r,new U(i,0,0),n.length,!0))}(this,e,t),this}setBlockType(e,t=e,n,i=null){return function(e,t,n,i,o){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let r=e.steps.length;e.doc.nodesBetween(t,n,((t,n)=>{if(t.isTextblock&&!t.hasMarkup(i,o)&&function(e,t,n){let i=e.resolve(t),o=i.index();return i.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(r).map(n),i)){e.clearIncompatible(e.mapping.slice(r).map(n,1),i);let s=e.mapping.slice(r),a=s.map(n,1),l=s.map(n+t.nodeSize,1);return e.step(new at(a,l,a+1,l-1,new U(z.from(i.create(o,null,t.marks)),0,0),1,!0)),!1}}))}(this,e,t,n,i),this}setNodeMarkup(e,t,n=null,i=[]){return function(e,t,n,i,o){let r=e.doc.nodeAt(t);if(!r)throw new RangeError("No node at given position");n||(n=r.type);let s=n.create(i,null,o||r.marks);if(r.isLeaf)return e.replaceWith(t,t+r.nodeSize,s);if(!n.validContent(r.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new at(t,t+r.nodeSize,t+1,t+r.nodeSize-1,new U(z.from(s),0,0),1,!0))}(this,e,t,n,i),this}setNodeAttribute(e,t,n){return this.step(new Dt(e,t,n)),this}addNodeMark(e,t){return this.step(new ot(e,t)),this}removeNodeMark(e,t){if(!(t instanceof P)){let n=this.doc.nodeAt(e);if(!n)throw new RangeError("No node at position "+e);if(t=t.isInSet(n.marks),!t)return this}return this.step(new rt(e,t)),this}split(e,t=1,n){return function(e,t,n=1,i){let o=e.doc.resolve(t),r=z.empty,s=z.empty;for(let e=o.depth,t=o.depth-n,a=n-1;e>t;e--,a--){r=z.from(o.node(e).copy(r));let t=i&&i[a];s=z.from(t?t.type.create(t.attrs,s):o.node(e).copy(s))}e.step(new st(t,t,new U(r.append(s),n,n),!0))}(this,e,t,n),this}addMark(e,t,n){return function(e,t,n,i){let o,r,s=[],a=[];e.doc.nodesBetween(t,n,((e,l,c)=>{if(!e.isInline)return;let p=e.marks;if(!i.isInSet(p)&&c.type.allowsMarkType(i.type)){let c=Math.max(l,t),u=Math.min(l+e.nodeSize,n),d=i.addToSet(p);for(let e=0;e<p.length;e++)p[e].isInSet(d)||(o&&o.to==c&&o.mark.eq(p[e])?o.to=u:s.push(o=new it(c,u,p[e])));r&&r.to==c?r.to=u:a.push(r=new nt(c,u,i))}})),s.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,i){let o=[],r=0;e.doc.nodesBetween(t,n,((e,s)=>{if(!e.isInline)return;r++;let a=null;if(i instanceof ke){let t,n=e.marks;for(;t=i.isInSet(n);)(a||(a=[])).push(t),n=t.removeFromSet(n)}else i?i.isInSet(e.marks)&&(a=[i]):a=e.marks;if(a&&a.length){let i=Math.min(s+e.nodeSize,n);for(let e=0;e<a.length;e++){let n,l=a[e];for(let e=0;e<o.length;e++){let t=o[e];t.step==r-1&&l.eq(o[e].style)&&(n=t)}n?(n.to=i,n.step=r):o.push({style:l,from:Math.max(s,t),to:i,step:r})}}})),o.forEach((t=>e.step(new it(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return function(e,t,n,i=n.contentMatch){let o=e.doc.nodeAt(t),r=[],s=t+1;for(let t=0;t<o.childCount;t++){let a=o.child(t),l=s+a.nodeSize,c=i.matchType(a.type);if(c){i=c;for(let t=0;t<a.marks.length;t++)n.allowsMarkType(a.marks[t].type)||e.step(new it(s,l,a.marks[t]))}else r.push(new st(s,l,U.empty));s=l}if(!i.validEnd){let t=i.fillBefore(z.empty,!0);e.replace(s,s,new U(t,0,0))}for(let t=r.length-1;t>=0;t--)e.step(r[t])}(this,e,t,n),this}}const Nt=Object.create(null);class St{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new At(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=U.empty){let n=t.content.lastChild,i=null;for(let e=0;e<t.openEnd;e++)i=n,n=n.lastChild;let o=e.steps.length,r=this.ranges;for(let s=0;s<r.length;s++){let{$from:a,$to:l}=r[s],c=e.mapping.slice(o);e.replaceRange(c.map(a.pos),c.map(l.pos),s?U.empty:t),0==s&&$t(e,o,(n?n.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,i=this.ranges;for(let o=0;o<i.length;o++){let{$from:r,$to:s}=i[o],a=e.mapping.slice(n),l=a.map(r.pos),c=a.map(s.pos);o?e.deleteRange(l,c):(e.replaceRangeWith(l,c,t),$t(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let i=e.parent.inlineContent?new zt(e):Ut(e.node(0),e.parent,e.pos,e.index(),t,n);if(i)return i;for(let i=e.depth-1;i>=0;i--){let o=t<0?Ut(e.node(0),e.node(i),e.before(i+1),e.index(i),t,n):Ut(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,n);if(o)return o}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Pt(e.node(0))}static atStart(e){return Ut(e,e,0,0,1)||new Pt(e)}static atEnd(e){return Ut(e,e,e.content.size,e.childCount,-1)||new Pt(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=Nt[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 Nt)throw new RangeError("Duplicate use of selection JSON ID "+e);return Nt[e]=t,t.prototype.jsonID=e,t}getBookmark(){return zt.between(this.$anchor,this.$head).getBookmark()}}St.prototype.visible=!0;class At{constructor(e,t){this.$from=e,this.$to=t}}let jt=!1;function It(e){jt||e.parent.inlineContent||(jt=!0,console["warn"]("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class zt extends St{constructor(e,t=e){It(e),It(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 St.near(n);let i=e.resolve(t.map(this.anchor));return new zt(i.parent.inlineContent?i:n,n)}replace(e,t=U.empty){if(super.replace(e,t),t==U.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(e){return e instanceof zt&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Lt(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 zt(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,n=t){let i=e.resolve(t);return new this(i,n==t?i:e.resolve(n))}static between(e,t,n){let i=e.pos-t.pos;if(n&&!i||(n=i>=0?1:-1),!t.parent.inlineContent){let e=St.findFrom(t,n,!0)||St.findFrom(t,-n,!0);if(!e)return St.near(t,n);t=e.$head}return e.parent.inlineContent||(0==i||(e=(St.findFrom(e,-n,!0)||St.findFrom(e,n,!0)).$anchor).pos<t.pos!=i<0)&&(e=t),new zt(e,t)}}St.jsonID("text",zt);class Lt{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Lt(e.map(this.anchor),e.map(this.head))}resolve(e){return zt.between(e.resolve(this.anchor),e.resolve(this.head))}}class Rt extends St{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:i}=t.mapResult(this.anchor),o=e.resolve(i);return n?St.near(o):new Rt(o)}content(){return new U(z.from(this.node),0,0)}eq(e){return e instanceof Rt&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Ft(this.anchor)}static fromJSON(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Rt(e.resolve(t.anchor))}static create(e,t){return new Rt(e.resolve(t))}static isSelectable(e){return!e.isText&&!1!==e.type.spec.selectable}}Rt.prototype.visible=!1,St.jsonID("node",Rt);class Ft{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:n}=e.mapResult(this.anchor);return t?new Lt(n,n):new Ft(n)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&Rt.isSelectable(n)?new Rt(t):St.near(t)}}class Pt extends St{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=U.empty){if(t==U.empty){e.delete(0,e.doc.content.size);let t=St.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Pt(e)}map(e){return new Pt(e)}eq(e){return e instanceof Pt}getBookmark(){return Bt}}St.jsonID("all",Pt);const Bt={map(){return this},resolve:e=>new Pt(e)};function Ut(e,t,n,i,o,r=!1){if(t.inlineContent)return zt.create(e,n);for(let s=i-(o>0?0:1);o>0?s<t.childCount:s>=0;s+=o){let i=t.child(s);if(i.isAtom){if(!r&&Rt.isSelectable(i))return Rt.create(e,n-(o<0?i.nodeSize:0))}else{let t=Ut(e,i,n+o,o<0?i.childCount:0,o,r);if(t)return t}n+=i.nodeSize*o}return null}function $t(e,t,n){let i=e.steps.length-1;if(i<t)return;let o,r=e.steps[i];(r instanceof st||r instanceof at)&&(e.mapping.maps[i].forEach(((e,t,n,i)=>{null==o&&(o=i)})),e.setSelection(St.near(e.doc.resolve(o),n)))}const Ht=1,qt=2,Vt=4;class Wt extends Tt{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=(this.updated|Ht)&~qt,this.storedMarks=null,this}get selectionSet(){return(this.updated&Ht)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=qt,this}ensureMarks(e){return P.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&qt)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~qt,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)||P.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let i=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(null==n&&(n=t),n=null==n?t:n,!e)return this.deleteRange(t,n);let o=this.storedMarks;if(!o){let e=this.doc.resolve(t);o=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,i.text(e,o)),this.selection.empty||this.setSelection(St.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|=Vt,this}get scrolledIntoView(){return(this.updated&Vt)>0}}function Kt(e,t){return t&&e?e.bind(t):e}class Yt{constructor(e,t,n){this.name=e,this.init=Kt(t.init,n),this.apply=Kt(t.apply,n)}}const Qt=[new Yt("doc",{init:e=>e.doc||e.schema.topNodeType.createAndFill(),apply:e=>e.doc}),new Yt("selection",{init:(e,t)=>e.selection||St.atStart(t.doc),apply:e=>e.selection}),new Yt("storedMarks",{init:e=>e.storedMarks||null,apply:(e,t,n,i)=>i.selection.$cursor?e.storedMarks:null}),new Yt("scrollToSelection",{init:()=>0,apply:(e,t)=>e.scrolledIntoView?t+1:t})];class Gt{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 Yt(e.key,e.spec.state,e))}))}}class Jt{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),i=null;for(;;){let o=!1;for(let r=0;r<this.config.plugins.length;r++){let s=this.config.plugins[r];if(s.spec.appendTransaction){let a=i?i[r].n:0,l=i?i[r].state:this,c=a<t.length&&s.spec.appendTransaction.call(s,a?t.slice(a):t,l,n);if(c&&n.filterTransaction(c,r)){if(c.setMeta("appendedTransaction",e),!i){i=[];for(let e=0;e<this.config.plugins.length;e++)i.push(e<r?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),o=!0}i&&(i[r]={state:n,n:t.length})}}if(!o)return{state:n,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Jt(this.config),n=this.config.fields;for(let i=0;i<n.length;i++){let o=n[i];t[o.name]=o.apply(e,this[o.name],this,t)}return t}get tr(){return new Wt(this)}static create(e){let t=new Gt(e.doc?e.doc.type.schema:e.schema,e.plugins),n=new Jt(t);for(let i=0;i<t.fields.length;i++)n[t.fields[i].name]=t.fields[i].init(e,n);return n}reconfigure(e){let t=new Gt(this.schema,e.plugins),n=t.fields,i=new Jt(t);for(let t=0;t<n.length;t++){let o=n[t].name;i[o]=this.hasOwnProperty(o)?this[o]:n[t].init(e,i)}return i}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 i=e[n],o=i.spec.state;o&&o.toJSON&&(t[n]=o.toJSON.call(i,this[i.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 i=new Gt(e.schema,e.plugins),o=new Jt(i);return i.fields.forEach((i=>{if("doc"==i.name)o.doc=re.fromJSON(e.schema,t.doc);else if("selection"==i.name)o.selection=St.fromJSON(o.doc,t.selection);else if("storedMarks"==i.name)t.storedMarks&&(o.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(let r in n){let s=n[r],a=s.spec.state;if(s.key==i.name&&a&&a.fromJSON&&Object.prototype.hasOwnProperty.call(t,r))return void(o[i.name]=a.fromJSON.call(s,e,t[r],o))}o[i.name]=i.init(e,o)}})),o}}function Zt(e,t,n){for(let i in e){let o=e[i];o instanceof Function?o=o.bind(t):"handleDOMEvents"==i&&(o=Zt(o,t,{})),n[i]=o}return n}class Xt{constructor(e){this.spec=e,this.props={},e.props&&Zt(e.props,this,this.props),this.key=e.key?e.key.key:tn("plugin")}getState(e){return e[this.key]}}const en=Object.create(null);function tn(e){return e in en?e+"$"+ ++en[e]:(en[e]=0,e+"$")}class nn{constructor(e="key"){this.key=tn(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const on="undefined"!=typeof navigator?navigator:null,rn="undefined"!=typeof document?document:null,sn=on&&on.userAgent||"",an=/Edge\/(\d+)/.exec(sn),ln=/MSIE \d/.exec(sn),cn=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(sn),pn=!!(ln||cn||an),un=ln?document.documentMode:cn?+cn[1]:an?+an[1]:0,dn=!pn&&/gecko\/(\d+)/i.test(sn);dn&&(/Firefox\/(\d+)/.exec(sn)||[0,0])[1];const hn=!pn&&/Chrome\/(\d+)/.exec(sn),mn=!!hn,fn=hn?+hn[1]:0,gn=!pn&&!!on&&/Apple Computer/.test(on.vendor),bn=gn&&(/Mobile\/\w+/.test(sn)||!!on&&on.maxTouchPoints>2),vn=bn||!!on&&/Mac/.test(on.platform),yn=/Android \d/.test(sn),xn=!!rn&&"webkitFontSmoothing"in rn.documentElement.style,wn=xn?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,kn=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},En=function(e){let t=e.assignedSlot||e.parentNode;return t&&11==t.nodeType?t.host:t};let _n=null;const Mn=function(e,t,n){let i=_n||(_n=document.createRange());return i.setEnd(e,null==n?e.nodeValue.length:n),i.setStart(e,t||0),i},Cn=function(e,t,n,i){return n&&(On(e,t,n,i,-1)||On(e,t,n,i,1))},Dn=/^(img|br|input|textarea|hr)$/i;function On(e,t,n,i,o){for(;;){if(e==n&&t==i)return!0;if(t==(o<0?0:Tn(e))){let n=e.parentNode;if(!n||1!=n.nodeType||Nn(e)||Dn.test(e.nodeName)||"false"==e.contentEditable)return!1;t=kn(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?Tn(e):0}}}function Tn(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Nn(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 Sn=function(e){let t=e.isCollapsed;return t&&mn&&e.rangeCount&&!e.getRangeAt(0).collapsed&&(t=!1),t};function An(e,t){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function jn(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function In(e,t){return"number"==typeof e?e:e[t]}function zn(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,i=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*i}}function Ln(e,t,n){let i=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,r=e.dom.ownerDocument;for(let s=n||e.dom;s;s=En(s)){if(1!=s.nodeType)continue;let e=s,n=e==r.body,a=n?jn(r):zn(e),l=0,c=0;if(t.top<a.top+In(i,"top")?c=-(a.top-t.top+In(o,"top")):t.bottom>a.bottom-In(i,"bottom")&&(c=t.bottom-a.bottom+In(o,"bottom")),t.left<a.left+In(i,"left")?l=-(a.left-t.left+In(o,"left")):t.right>a.right-In(i,"right")&&(l=t.right-a.right+In(o,"right")),l||c)if(n)r.defaultView.scrollBy(l,c);else{let n=e.scrollLeft,i=e.scrollTop;c&&(e.scrollTop+=c),l&&(e.scrollLeft+=l);let o=e.scrollLeft-n,r=e.scrollTop-i;t={left:t.left-o,top:t.top-r,right:t.right-o,bottom:t.bottom-r}}if(n)break}}function Rn(e){let t=[],n=e.ownerDocument;for(let i=e;i&&(t.push({dom:i,top:i.scrollTop,left:i.scrollLeft}),e!=n);i=En(i));return t}function Fn(e,t){for(let n=0;n<e.length;n++){let{dom:i,top:o,left:r}=e[n];i.scrollTop!=o+t&&(i.scrollTop=o+t),i.scrollLeft!=r&&(i.scrollLeft=r)}}let Pn=null;function Bn(e,t){let n,i,o=2e8,r=0,s=t.top,a=t.top;for(let l=e.firstChild,c=0;l;l=l.nextSibling,c++){let e;if(1==l.nodeType)e=l.getClientRects();else{if(3!=l.nodeType)continue;e=Mn(l).getClientRects()}for(let p=0;p<e.length;p++){let u=e[p];if(u.top<=s&&u.bottom>=a){s=Math.max(u.bottom,s),a=Math.min(u.top,a);let e=u.left>t.left?u.left-t.left:u.right<t.left?t.left-u.right:0;if(e<o){n=l,o=e,i=e&&3==n.nodeType?{left:u.right<t.left?u.right:u.left,top:t.top}:t,1==l.nodeType&&e&&(r=c+(t.left>=(u.left+u.right)/2?1:0));continue}}!n&&(t.left>=u.right&&t.top>=u.top||t.left>=u.left&&t.top>=u.bottom)&&(r=c+1)}}return n&&3==n.nodeType?function(e,t){let n=e.nodeValue.length,i=document.createRange();for(let o=0;o<n;o++){i.setEnd(e,o+1),i.setStart(e,o);let n=qn(i,1);if(n.top!=n.bottom&&Un(t,n))return{node:e,offset:o+(t.left>=(n.left+n.right)/2?1:0)}}return{node:e,offset:0}}(n,i):!n||o&&1==n.nodeType?{node:e,offset:r}:Bn(n,i)}function Un(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function $n(e,t,n){let i=e.childNodes.length;if(i&&n.top<n.bottom)for(let o=Math.max(0,Math.min(i-1,Math.floor(i*(t.top-n.top)/(n.bottom-n.top))-2)),r=o;;){let n=e.childNodes[r];if(1==n.nodeType){let e=n.getClientRects();for(let i=0;i<e.length;i++){let o=e[i];if(Un(t,o))return $n(n,t,o)}}if((r=(r+1)%i)==o)break}return e}function Hn(e,t){let n,i=e.dom.ownerDocument,o=0;if(i.caretPositionFromPoint)try{let e=i.caretPositionFromPoint(t.left,t.top);e&&({offsetNode:n,offset:o}=e)}catch(e){}if(!n&&i.caretRangeFromPoint){let e=i.caretRangeFromPoint(t.left,t.top);e&&({startContainer:n,startOffset:o}=e)}let r,s=(e.root.elementFromPoint?e.root:i).elementFromPoint(t.left,t.top);if(!s||!e.dom.contains(1!=s.nodeType?s.parentNode:s)){let n=e.dom.getBoundingClientRect();if(!Un(t,n))return null;if(s=$n(e.dom,t,n),!s)return null}if(gn)for(let e=s;n&&e;e=En(e))e.draggable&&(n=void 0);if(s=function(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(s,t),n){if(dn&&1==n.nodeType&&(o=Math.min(o,n.childNodes.length),o<n.childNodes.length)){let e,i=n.childNodes[o];"IMG"==i.nodeName&&(e=i.getBoundingClientRect()).right<=t.left&&e.bottom>t.top&&o++}n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?r=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(r=function(e,t,n,i){let o=-1;for(let n=t;n!=e.dom;){let t=e.docView.nearestDesc(n,!0);if(!t)return null;if(t.node.isBlock&&t.parent){let e=t.dom.getBoundingClientRect();if(e.left>i.left||e.top>i.top)o=t.posBefore;else{if(!(e.right<i.left||e.bottom<i.top))break;o=t.posAfter}}n=t.dom.parentNode}return o>-1?o:e.docView.posFromDOM(t,n,1)}(e,n,o,t))}null==r&&(r=function(e,t,n){let{node:i,offset:o}=Bn(t,n),r=-1;if(1==i.nodeType&&!i.firstChild){let e=i.getBoundingClientRect();r=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(i,o,r)}(e,s,t));let a=e.docView.nearestDesc(s,!0);return{pos:r,inside:a?a.posAtStart-a.border:-1}}function qn(e,t){let n=e.getClientRects();return n.length?n[t<0?0:n.length-1]:e.getBoundingClientRect()}const Vn=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Wn(e,t,n){let{node:i,offset:o,atom:r}=e.docView.domFromPos(t,n<0?-1:1),s=xn||dn;if(3==i.nodeType){if(!s||!Vn.test(i.nodeValue)&&(n<0?o:o!=i.nodeValue.length)){let e=o,t=o,r=n<0?1:-1;return n<0&&!o?(t++,r=-1):n>=0&&o==i.nodeValue.length?(e--,r=1):n<0?e--:t++,Kn(qn(Mn(i,e,t),1),r<0)}{let e=qn(Mn(i,o,o),n);if(dn&&o&&/\s/.test(i.nodeValue[o-1])&&o<i.nodeValue.length){let t=qn(Mn(i,o-1,o-1),-1);if(t.top==e.top){let n=qn(Mn(i,o,o+1),-1);if(n.top!=e.top)return Kn(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(r||0)).parent.inlineContent){if(null==r&&o&&(n<0||o==Tn(i))){let e=i.childNodes[o-1];if(1==e.nodeType)return Yn(e.getBoundingClientRect(),!1)}if(null==r&&o<Tn(i)){let e=i.childNodes[o];if(1==e.nodeType)return Yn(e.getBoundingClientRect(),!0)}return Yn(i.getBoundingClientRect(),n>=0)}if(null==r&&o&&(n<0||o==Tn(i))){let e=i.childNodes[o-1],t=3==e.nodeType?Mn(e,Tn(e)-(s?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e;if(t)return Kn(qn(t,1),!1)}if(null==r&&o<Tn(i)){let e=i.childNodes[o];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?3==e.nodeType?Mn(e,0,s?0:1):1==e.nodeType?e:null:null;if(t)return Kn(qn(t,-1),!0)}return Kn(qn(3==i.nodeType?Mn(i):i,-n),n>=0)}function Kn(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 Yn(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 Qn(e,t,n){let i=e.state,o=e.root.activeElement;i!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return n()}finally{i!=t&&e.updateState(i),o!=e.dom&&o&&o.focus()}}const Gn=/[\u0590-\u08ac]/;let Jn=null,Zn=null,Xn=!1;function ei(e,t,n){return Jn==t&&Zn==n?Xn:(Jn=t,Zn=n,Xn="up"==n||"down"==n?function(e,t,n){let i=t.selection,o="up"==n?i.$from:i.$to;return Qn(e,t,(()=>{let{node:t}=e.docView.domFromPos(o.pos,"up"==n?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.dom;break}t=n.dom.parentNode}let i=Wn(e,o.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=Mn(e,0,e.nodeValue.length).getClientRects()}for(let e=0;e<t.length;e++){let o=t[e];if(o.bottom>o.top+1&&("up"==n?i.top-o.top>2*(o.bottom-i.top):o.bottom-i.bottom>2*(i.bottom-o.top)))return!1}}return!0}))}(e,t,n):function(e,t,n){let{$head:i}=t.selection;if(!i.parent.isTextblock)return!1;let o=i.parentOffset,r=!o,s=o==i.parent.content.size,a=e.domSelection();return Gn.test(i.parent.textContent)&&a.modify?Qn(e,t,(()=>{let t=a.getRangeAt(0),o=a.focusNode,r=a.focusOffset,s=a.caretBidiLevel;a.modify("move",n,"character");let l=!(i.depth?e.docView.domAfterPos(i.before()):e.dom).contains(1==a.focusNode.nodeType?a.focusNode:a.focusNode.parentNode)||o==a.focusNode&&r==a.focusOffset;return a.removeAllRanges(),a.addRange(t),null!=s&&(a.caretBidiLevel=s),l})):"left"==n||"backward"==n?r:s}(e,t,n))}const ti=0,ni=1,ii=2,oi=3;class ri{constructor(e,t,n,i){this.parent=e,this.children=t,this.dom=n,this.contentDOM=i,this.dirty=ti,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 i=this.children[t];if(i==e)return n;n+=i.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,i;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(i=n.pmViewDesc)||i.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(i)+i.size:this.posAtStart}{let n,i;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&(!(i=n.pmViewDesc)||i.parent!=this);)n=n.nextSibling;return n?this.posBeforeChild(i):this.posAtEnd}}let i;if(e==this.dom&&this.contentDOM)i=t>kn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(let t=e;;t=t.parentNode){if(t==this.dom){i=!1;break}if(t.previousSibling)break}if(null==i&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){i=!0;break}if(t.nextSibling)break}}return(null==i?n>0:i)?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,i=e;i;i=i.parentNode){let o,r=this.getDesc(i);if(r&&(!t||r.node)){if(!n||!(o=r.nodeDOM)||(1==o.nodeType?o.contains(1==e.nodeType?e:e.parentNode):o==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 i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let i=this.children[t],o=n+i.size;if(n==e&&o!=n){for(;!i.border&&i.children.length;)i=i.children[0];return i}if(e<o)return i.descAt(e-n-i.border);n=o}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n,i=0,o=0;for(let t=0;i<this.children.length;i++){let n=this.children[i],r=t+n.size;if(r>e||n instanceof di){o=e-t;break}t=r}if(o)return this.children[i].domFromPos(o-this.children[i].border,t);for(;i&&!(n=this.children[i-1]).size&&n instanceof si&&n.side>=0;i--);if(t<=0){let e,n=!0;for(;e=i?this.children[i-1]:null,e&&e.dom.parentNode!=this.contentDOM;i--,n=!1);return e&&t&&n&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?kn(e.dom)+1:0}}{let e,n=!0;for(;e=i<this.children.length?this.children[i]:null,e&&e.dom.parentNode!=this.contentDOM;i++,n=!1);return e&&n&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?kn(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 i=-1,o=-1;for(let r=n,s=0;;s++){let n=this.children[s],a=r+n.size;if(-1==i&&e<=a){let o=r+n.border;if(e>=o&&t<=a-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,o);e=r;for(let t=s;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){i=kn(n.dom)+1;break}e-=n.size}-1==i&&(i=0)}if(i>-1&&(a>t||s==this.children.length-1)){t=a;for(let e=s+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){o=kn(n.dom);break}t+=n.size}-1==o&&(o=this.contentDOM.childNodes.length);break}r=a}return{node:this.contentDOM,from:e,to:t,fromOffset:i,toOffset:o}}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,i=!1){let o=Math.min(e,t),r=Math.max(e,t);for(let s=0,a=0;s<this.children.length;s++){let l=this.children[s],c=a+l.size;if(o>a&&r<c)return l.setSelection(e-a-l.border,t-a-l.border,n,i);a=c}let s=this.domFromPos(e,e?-1:1),a=t==e?s:this.domFromPos(t,t?-1:1),l=n.getSelection(),c=!1;if((dn||gn)&&e==t){let{node:e,offset:t}=s;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&&(s=a={node:t.parentNode,offset:kn(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(dn&&l.focusNode&&l.focusNode!=a.node&&1==l.focusNode.nodeType){let e=l.focusNode.childNodes[l.focusOffset];e&&"false"==e.contentEditable&&(i=!0)}if(!(i||c&&gn)&&Cn(s.node,s.offset,l.anchorNode,l.anchorOffset)&&Cn(a.node,a.offset,l.focusNode,l.focusOffset))return;let p=!1;if((l.extend||e==t)&&!c){l.collapse(s.node,s.offset);try{if(e!=t)try{l.extend(a.node,a.offset)}catch(e){}p=!0}catch(e){if(!(e instanceof DOMException))throw e}}if(!p){if(e>t){let e=s;s=a,a=e}let n=document.createRange();n.setEnd(a.node,a.offset),n.setStart(s.node,s.offset),l.removeAllRanges(),l.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,i=0;i<this.children.length;i++){let o=this.children[i],r=n+o.size;if(n==r?e<=r&&t>=n:e<r&&t>n){let i=n+o.border,s=r-o.border;if(e>=i&&t<=s)return this.dirty=e==n||t==r?ii:ni,void(e!=i||t!=s||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-i,t-i):o.dirty=oi);o.dirty=o.dom!=o.contentDOM||o.dom.parentNode!=this.contentDOM||o.children.length?oi:ii}n=r}this.dirty=ii}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=1==e?ii:ni;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class si extends ri{constructor(e,t,n,i){let o,r=t.type.toDOM;if("function"==typeof r&&(r=r(n,(()=>o?o.parent?o.parent.posBeforeChild(o):void 0:i))),!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,o=this}matchesWidget(e){return this.dirty==ti&&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 side(){return this.widget.type.side}}class ai extends ri{constructor(e,t,n,i){super(e,[],t,null),this.textDOM=n,this.text=i}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 li extends ri{constructor(e,t,n,i){super(e,[],n,i),this.mark=t}static create(e,t,n,i){let o=i.nodeViews[t.type.name],r=o&&o(t,i,n);return r&&r.dom||(r=Fe.renderSpec(document,t.type.spec.toDOM(t,n))),new li(e,t,r.dom,r.contentDOM||r.dom)}parseRule(){return this.dirty&oi||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(e){return this.dirty!=oi&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=ti){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=ti}}slice(e,t,n){let i=li.create(this.parent,this.mark,!0,n),o=this.children,r=this.size;t<r&&(o=Mi(o,t,r,n)),e>0&&(o=Mi(o,0,e,n));for(let e=0;e<o.length;e++)o[e].parent=i;return i.children=o,i}}class ci extends ri{constructor(e,t,n,i,o,r,s,a,l){super(e,[],o,r),this.node=t,this.outerDeco=n,this.innerDeco=i,this.nodeDOM=s,r&&this.updateChildren(a,l)}static create(e,t,n,i,o,r){let s,a=o.nodeViews[t.type.name],l=a&&a(t,o,(()=>s?s.parent?s.parent.posBeforeChild(s):void 0:r),n,i),c=l&&l.dom,p=l&&l.contentDOM;if(t.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(t.text);else c||({dom:c,contentDOM:p}=Fe.renderSpec(document,t.type.spec.toDOM(t)));p||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0));let u=c;return c=xi(c,n,t),l?s=new hi(e,t,n,i,c,p||null,u,l,o,r+1):t.isText?new ui(e,t,n,i,c,u,o):new ci(e,t,n,i,c,p||null,u,o,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=()=>z.empty)}else e.contentElement=this.contentDOM;else e.getContent=()=>this.node.content;return e}matchesNode(e,t,n){return this.dirty==ti&&e.eq(this.node)&&wi(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,i=t,o=e.composing?this.localCompositionInfo(e,t):null,r=o&&o.pos>-1?o:null,s=o&&o.pos<0,a=new Ei(this,r&&r.node,e);!function(e,t,n,i){let o=t.locals(e),r=0;if(0==o.length){for(let n=0;n<e.childCount;n++){let s=e.child(n);i(s,o,t.forChild(r,s),n),r+=s.nodeSize}return}let s=0,a=[],l=null;for(let c=0;;){if(s<o.length&&o[s].to==r){let e,t=o[s++];for(;s<o.length&&o[s].to==r;)(e||(e=[t])).push(o[s++]);if(e){e.sort(_i);for(let t=0;t<e.length;t++)n(e[t],c,!!l)}else n(t,c,!!l)}let p,u;if(l)u=-1,p=l,l=null;else{if(!(c<e.childCount))break;u=c,p=e.child(c++)}for(let e=0;e<a.length;e++)a[e].to<=r&&a.splice(e--,1);for(;s<o.length&&o[s].from<=r&&o[s].to>r;)a.push(o[s++]);let d=r+p.nodeSize;if(p.isText){let e=d;s<o.length&&o[s].from<e&&(e=o[s].from);for(let t=0;t<a.length;t++)a[t].to<e&&(e=a[t].to);e<d&&(l=p.cut(e-r),p=p.cut(0,e-r),d=e,u=-1)}let h=p.isInline&&!p.isLeaf?a.filter((e=>!e.inline)):a.slice();i(p,h,t.forChild(r,p),u),r=d}}(this.node,this.innerDeco,((t,o,r)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!r&&a.syncToMarks(o==this.node.childCount?P.none:this.node.child(o).marks,n,e),a.placeWidget(t,e,i)}),((t,r,l,c)=>{let p;a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,r,l,c)||s&&e.state.selection.from>i&&e.state.selection.to<i+t.nodeSize&&(p=a.findIndexWithChild(o.node))>-1&&a.updateNodeAt(t,r,l,p,e)||a.updateNextNode(t,r,l,e,c)||a.addNode(t,r,l,e,i),i+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==ii)&&(r&&this.protectLocalComposition(e,r),mi(this.contentDOM,this.children,e),bn&&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:i}=e.state.selection;if(!(e.state.selection instanceof zt)||n<t||i>t+this.node.content.size)return null;let o=e.domSelection(),r=function(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];t=Tn(e=e.childNodes[t-1])}else{if(!(1==e.nodeType&&t<e.childNodes.length))return null;e=e.childNodes[t],t=0}}}(o.focusNode,o.focusOffset);if(!r||!this.dom.contains(r.parentNode))return null;if(this.node.inlineContent){let e=r.nodeValue,o=function(e,t,n,i){for(let o=0,r=0;o<e.childCount&&r<=i;){let s=e.child(o++),a=r;if(r+=s.nodeSize,!s.isText)continue;let l=s.text;for(;o<e.childCount;){let t=e.child(o++);if(r+=t.nodeSize,!t.isText)break;l+=t.text}if(r>=n){let e=a<i?l.lastIndexOf(t,i-a-1):-1;if(e>=0&&e+t.length+a>=n)return a+e;if(n==i&&l.length>=i+t.length-a&&l.slice(i-a,i-a+t.length)==t)return i}}return-1}(this.node.content,e,n-t,i-t);return o<0?null:{node:r,pos:o,text:e}}return{node:r,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:n,text:i}){if(this.getDesc(t))return;let o=t;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let r=new ai(this,o,t,i);e.input.compositionNodes.push(r),this.children=Mi(this.children,n,n+i.length,e,r)}update(e,t,n,i){return!(this.dirty==oi||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,i),!0)}updateInner(e,t,n,i){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=ti}updateOuterDeco(e){if(wi(e,this.outerDeco))return;let t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=vi(this.dom,this.nodeDOM,bi(this.outerDeco,this.node,t),bi(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 pi(e,t,n,i,o){return xi(i,t,e),new ci(void 0,e,t,n,i,i,i,o,0)}class ui extends ci{constructor(e,t,n,i,o,r,s){super(e,t,n,i,o,null,r,s,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,i){return!(this.dirty==oi||this.dirty!=ti&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),this.dirty==ti&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=ti,!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 i=this.node.cut(e,t),o=document.createTextNode(i.text);return new ui(this.parent,i,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=oi)}get domAtom(){return!1}}class di extends ri{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==ti&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class hi extends ci{constructor(e,t,n,i,o,r,s,a,l,c){super(e,t,n,i,o,r,s,l,c),this.spec=a}update(e,t,n,i){if(this.dirty==oi)return!1;if(this.spec.update){let o=this.spec.update(e,t,n);return o&&this.updateInner(e,t,n,i),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,i){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,i)}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 mi(e,t,n){let i=e.firstChild,o=!1;for(let r=0;r<t.length;r++){let s=t[r],a=s.dom;if(a.parentNode==e){for(;a!=i;)i=ki(i),o=!0;i=i.nextSibling}else o=!0,e.insertBefore(a,i);if(s instanceof li){let t=i?i.previousSibling:e.lastChild;mi(s.contentDOM,s.children,n),i=t?t.nextSibling:e.firstChild}}for(;i;)i=ki(i),o=!0;o&&n.trackWrites==e&&(n.trackWrites=null)}const fi=function(e){e&&(this.nodeName=e)};fi.prototype=Object.create(null);const gi=[new fi];function bi(e,t,n){if(0==e.length)return gi;let i=n?gi[0]:new fi,o=[i];for(let r=0;r<e.length;r++){let s=e[r].type.attrs;if(s){s.nodeName&&o.push(i=new fi(s.nodeName));for(let e in s){let r=s[e];null!=r&&(n&&1==o.length&&o.push(i=new fi(t.isInline?"span":"div")),"class"==e?i.class=(i.class?i.class+" ":"")+r:"style"==e?i.style=(i.style?i.style+";":"")+r:"nodeName"!=e&&(i[e]=r))}}}return o}function vi(e,t,n,i){if(n==gi&&i==gi)return t;let o=t;for(let t=0;t<i.length;t++){let r=i[t],s=n[t];if(t){let t;s&&s.nodeName==r.nodeName&&o!=e&&(t=o.parentNode)&&t.nodeName.toLowerCase()==r.nodeName||(t=document.createElement(r.nodeName),t.pmIsDeco=!0,t.appendChild(o),s=gi[0]),o=t}yi(o,s||gi[0],r)}return o}function yi(e,t,n){for(let i in t)"class"==i||"style"==i||"nodeName"==i||i in n||e.removeAttribute(i);for(let i in n)"class"!=i&&"style"!=i&&"nodeName"!=i&&n[i]!=t[i]&&e.setAttribute(i,n[i]);if(t.class!=n.class){let i=t.class?t.class.split(" ").filter(Boolean):[],o=n.class?n.class.split(" ").filter(Boolean):[];for(let t=0;t<i.length;t++)-1==o.indexOf(i[t])&&e.classList.remove(i[t]);for(let t=0;t<o.length;t++)-1==i.indexOf(o[t])&&e.classList.add(o[t]);0==e.classList.length&&e.removeAttribute("class")}if(t.style!=n.style){if(t.style){let n,i=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;for(;n=i.exec(t.style);)e.style.removeProperty(n[1])}n.style&&(e.style.cssText+=n.style)}}function xi(e,t,n){return vi(e,e,gi,bi(t,n,1!=e.nodeType))}function wi(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 ki(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class Ei{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,i=n.children.length,o=e.childCount,r=new Map,s=[];e:for(;o>0;){let a;for(;;)if(i){let e=n.children[i-1];if(!(e instanceof li)){a=e,i--;break}n=e,i=e.children.length}else{if(n==t)break e;i=n.parent.children.indexOf(n),n=n.parent}let l=a.node;if(l){if(l!=e.child(o-1))break;--o,r.set(a,o),s.push(a)}}return{index:o,matched:r,matches:s.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 i=0,o=this.stack.length>>1,r=Math.min(o,e.length);for(;i<r&&(i==o-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&!1!==e[i].type.spec.spanning;)i++;for(;i<o;)this.destroyRest(),this.top.dirty=ti,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let i=-1;for(let t=this.index;t<Math.min(this.index+3,this.top.children.length);t++)if(this.top.children[t].matchesMark(e[o])){i=t;break}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let i=li.create(this.top,e[o],t,n);this.top.children.splice(this.index,0,i),this.top=i,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,n,i){let o,r=-1;if(i>=this.preMatch.index&&(o=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,n))r=this.top.children.indexOf(o,this.index);else for(let i=this.index,o=Math.min(this.top.children.length,i+5);i<o;i++){let o=this.top.children[i];if(o.matchesNode(e,t,n)&&!this.preMatch.matched.has(o)){r=i;break}}return!(r<0)&&(this.destroyBetween(this.index,r),this.index++,!0)}updateNodeAt(e,t,n,i,o){let r=this.top.children[i];return r.dirty==oi&&r.dom==r.contentDOM&&(r.dirty=ii),!!r.update(e,t,n,o)&&(this.destroyBetween(this.index,i),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,i,o){for(let r=this.index;r<this.top.children.length;r++){let s=this.top.children[r];if(s instanceof ci){let a=this.preMatch.matched.get(s);if(null!=a&&a!=o)return!1;let l=s.dom;if(!(this.lock&&(l==this.lock||1==l.nodeType&&l.contains(this.lock.parentNode))&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&s.dirty!=oi&&wi(t,s.outerDeco)))&&s.update(e,t,n,i))return this.destroyBetween(this.index,r),s.dom!=l&&(this.changed=!0),this.index++,!0;break}}return!1}addNode(e,t,n,i,o){this.top.children.splice(this.index++,0,ci.create(this.top,e,t,n,i,o)),this.changed=!0}placeWidget(e,t,n){let i=this.index<this.top.children.length?this.top.children[this.index]:null;if(!i||!i.matchesWidget(e)||e!=i.widget&&i.widget.type.toDOM.parentNode){let i=new si(this.top,e,t,n);this.top.children.splice(this.index++,0,i),this.changed=!0}else this.index++}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof li;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof ui)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((gn||mn)&&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 i=new di(this.top,[],n,null);t!=this.top?t.children.push(i):t.children.splice(this.index++,0,i),this.changed=!0}}}function _i(e,t){return e.type.side-t.type.side}function Mi(e,t,n,i,o){let r=[];for(let s=0,a=0;s<e.length;s++){let l=e[s],c=a,p=a+=l.size;c>=n||p<=t?r.push(l):(c<t&&r.push(l.slice(0,t-c,i)),o&&(r.push(o),o=void 0),p>n&&r.push(l.slice(n-c,l.size,i)))}return r}function Ci(e,t=null){let n=e.domSelection(),i=e.state.doc;if(!n.focusNode)return null;let o=e.docView.nearestDesc(n.focusNode),r=o&&0==o.size,s=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(s<0)return null;let a,l,c=i.resolve(s);if(Sn(n)){for(a=c;o&&!o.node;)o=o.parent;let e=o.node;if(o&&e.isAtom&&Rt.isSelectable(e)&&o.parent&&(!e.isInline||!function(e,t,n){for(let i=0==t,o=t==Tn(e);i||o;){if(e==n)return!0;let t=kn(e);if(!(e=e.parentNode))return!1;i=i&&0==t,o=o&&t==Tn(e)}}(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore;l=new Rt(s==e?c:i.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(t<0)return null;a=i.resolve(t)}if(!l){l=zi(e,a,c,"pointer"==t||e.state.selection.head<c.pos&&!r?1:-1)}return l}function Di(e){return e.editable?e.hasFocus():Ri(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Oi(e,t=!1){let n=e.state.selection;if(ji(e,n),Di(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&mn){let t=e.domSelection(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&Cn(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(),i=e.cursorWrapper.dom,o="IMG"==i.nodeName;o?n.setEnd(i.parentNode,kn(i)+1):n.setEnd(i,0);n.collapse(!1),t.removeAllRanges(),t.addRange(n),!o&&!e.state.selection.visible&&pn&&un<=11&&(i.disabled=!0,i.disabled=!1)}(e);else{let i,o,{anchor:r,head:s}=n;!Ti||n instanceof zt||(n.$from.parent.inlineContent||(i=Ni(e,n.from)),n.empty||n.$from.parent.inlineContent||(o=Ni(e,n.to))),e.docView.setSelection(r,s,e.root,t),Ti&&(i&&Ai(i),o&&Ai(o)),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.domSelection(),i=n.anchorNode,o=n.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{n.anchorNode==i&&n.anchorOffset==o||(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout((()=>{Di(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")}),20))})}(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const Ti=gn||mn&&fn<63;function Ni(e,t){let{node:n,offset:i}=e.docView.domFromPos(t,0),o=i<n.childNodes.length?n.childNodes[i]:null,r=i?n.childNodes[i-1]:null;if(gn&&o&&"false"==o.contentEditable)return Si(o);if(!(o&&"false"!=o.contentEditable||r&&"false"!=r.contentEditable)){if(o)return Si(o);if(r)return Si(r)}}function Si(e){return e.contentEditable="true",gn&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Ai(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function ji(e,t){if(t instanceof Rt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ii(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ii(e)}function Ii(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function zi(e,t,n,i){return e.someProp("createSelectionBetween",(i=>i(e,t,n)))||zt.between(t,n,i)}function Li(e){return!(e.editable&&!e.hasFocus())&&Ri(e)}function Ri(e){let t=e.domSelection();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(e){return!1}}function Fi(e,t){let{$anchor:n,$head:i}=e.selection,o=t>0?n.max(i):n.min(i),r=o.parent.inlineContent?o.depth?e.doc.resolve(t>0?o.after():o.before()):null:o;return r&&St.findFrom(r,t)}function Pi(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Bi(e,t,n){let i=e.state.selection;if(!(i instanceof zt)){if(i instanceof Rt&&i.node.isInline)return Pi(e,new zt(t>0?i.$to:i.$from));{let n=Fi(e.state,t);return!!n&&Pi(e,n)}}if(!i.empty||n.indexOf("s")>-1)return!1;if(e.endOfTextblock(t>0?"right":"left")){let n=Fi(e.state,t);return!!(n&&n instanceof Rt)&&Pi(e,n)}if(!(vn&&n.indexOf("m")>-1)){let n,o=i.$head,r=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!r||r.isText)return!1;let s=t<0?o.pos-r.nodeSize:o.pos;return!!(r.isAtom||(n=e.docView.descAt(s))&&!n.contentDOM)&&(Rt.isSelectable(r)?Pi(e,new Rt(t<0?e.state.doc.resolve(o.pos-r.nodeSize):o)):!!xn&&Pi(e,new zt(e.state.doc.resolve(t<0?s:s+r.nodeSize))))}}function Ui(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function $i(e){let t=e.pmViewDesc;return t&&0==t.size&&(e.nextSibling||"BR"!=e.nodeName)}function Hi(e){let t=e.domSelection(),n=t.focusNode,i=t.focusOffset;if(!n)return;let o,r,s=!1;for(dn&&1==n.nodeType&&i<Ui(n)&&$i(n.childNodes[i])&&(s=!0);;)if(i>0){if(1!=n.nodeType)break;{let e=n.childNodes[i-1];if($i(e))o=n,r=--i;else{if(3!=e.nodeType)break;n=e,i=n.nodeValue.length}}}else{if(Vi(n))break;{let t=n.previousSibling;for(;t&&$i(t);)o=n.parentNode,r=kn(t),t=t.previousSibling;if(t)n=t,i=Ui(n);else{if(n=n.parentNode,n==e.dom)break;i=0}}}s?Wi(e,t,n,i):o&&Wi(e,t,o,r)}function qi(e){let t=e.domSelection(),n=t.focusNode,i=t.focusOffset;if(!n)return;let o,r,s=Ui(n);for(;;)if(i<s){if(1!=n.nodeType)break;if(!$i(n.childNodes[i]))break;o=n,r=++i}else{if(Vi(n))break;{let t=n.nextSibling;for(;t&&$i(t);)o=t.parentNode,r=kn(t)+1,t=t.nextSibling;if(t)n=t,i=0,s=Ui(n);else{if(n=n.parentNode,n==e.dom)break;i=s=0}}}o&&Wi(e,t,o,r)}function Vi(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Wi(e,t,n,i){if(Sn(t)){let e=document.createRange();e.setEnd(n,i),e.setStart(n,i),t.removeAllRanges(),t.addRange(e)}else t.extend&&t.extend(n,i);e.domObserver.setCurSelection();let{state:o}=e;setTimeout((()=>{e.state==o&&Oi(e)}),50)}function Ki(e,t,n){let i=e.state.selection;if(i instanceof zt&&!i.empty||n.indexOf("s")>-1)return!1;if(vn&&n.indexOf("m")>-1)return!1;let{$from:o,$to:r}=i;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let n=Fi(e.state,t);if(n&&n instanceof Rt)return Pi(e,n)}if(!o.parent.inlineContent){let n=t<0?o:r,s=i instanceof Pt?St.near(n,t):St.findFrom(n,t);return!!s&&Pi(e,s)}return!1}function Yi(e,t){if(!(e.state.selection instanceof zt))return!0;let{$head:n,$anchor:i,empty:o}=e.state.selection;if(!n.sameParent(i))return!0;if(!o)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 i=e.state.tr;return t<0?i.delete(n.pos-r.nodeSize,n.pos):i.delete(n.pos,n.pos+r.nodeSize),e.dispatch(i),!0}return!1}function Qi(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Gi(e,t){let n=t.keyCode,i=function(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);return 8==n||vn&&72==n&&"c"==i?Yi(e,-1)||Hi(e):46==n||vn&&68==n&&"c"==i?Yi(e,1)||qi(e):13==n||27==n||(37==n||vn&&66==n&&"c"==i?Bi(e,-1,i)||Hi(e):39==n||vn&&70==n&&"c"==i?Bi(e,1,i)||qi(e):38==n||vn&&80==n&&"c"==i?Ki(e,-1,i)||Hi(e):40==n||vn&&78==n&&"c"==i?function(e){if(!gn||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelection();if(t&&1==t.nodeType&&0==n&&t.firstChild&&"false"==t.firstChild.contentEditable){let n=t.firstChild;Qi(e,n,"true"),setTimeout((()=>Qi(e,n,"false")),20)}return!1}(e)||Ki(e,1,i)||qi(e):i==(vn?"m":"c")&&(66==n||73==n||89==n||90==n))}function Ji(e,t){e.someProp("transformCopied",(e=>{t=e(t)}));let n=[],{content:i,openStart:o,openEnd:r}=t;for(;o>1&&r>1&&1==i.childCount&&1==i.firstChild.childCount;){o--,r--;let e=i.firstChild;n.push(e.type.name,e.attrs!=e.type.defaultAttrs?e.attrs:null),i=e.content}let s=e.someProp("clipboardSerializer")||Fe.fromSchema(e.state.schema),a=ao(),l=a.createElement("div");l.appendChild(s.serializeFragment(i,{document:a}));let c,p=l.firstChild,u=0;for(;p&&1==p.nodeType&&(c=ro[p.nodeName.toLowerCase()]);){for(let e=c.length-1;e>=0;e--){let t=a.createElement(c[e]);for(;l.firstChild;)t.appendChild(l.firstChild);l.appendChild(t),u++}p=l.firstChild}p&&1==p.nodeType&&p.setAttribute("data-pm-slice",`${o} ${r}${u?` -${u}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",(e=>e(t)))||t.content.textBetween(0,t.content.size,"\n\n");return{dom:l,text:d}}function Zi(e,t,n,i,o){let r,s,a=o.parent.type.spec.code;if(!n&&!t)return null;let l=t&&(i||a||!n);if(l){if(e.someProp("transformPastedText",(e=>{t=e(t,a||i)})),a)return t?new U(z.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0):U.empty;let n=e.someProp("clipboardTextParser",(e=>e(t,o,i)));if(n)s=n;else{let n=o.marks(),{schema:i}=e.state,s=Fe.fromSchema(i);r=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach((e=>{let t=r.appendChild(document.createElement("p"));e&&t.appendChild(s.serializeNode(i.text(e,n)))}))}}else e.someProp("transformPastedHTML",(e=>{n=e(n)})),r=function(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n,i=ao().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e);(n=o&&ro[o[1].toLowerCase()])&&(e=n.map((e=>"<"+e+">")).join("")+e+n.map((e=>"</"+e+">")).reverse().join(""));if(i.innerHTML=e,n)for(let e=0;e<n.length;e++)i=i.querySelector(n[e])||i;return i}(n),xn&&function(e){let t=e.querySelectorAll(mn?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let i=t[n];1==i.childNodes.length&&" "==i.textContent&&i.parentNode&&i.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),i)}}(r);let c=r&&r.querySelector("[data-pm-slice]"),p=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let e=+p[3];e>0&&r.firstChild;e--)r=r.firstChild;if(!s){let t=e.someProp("clipboardParser")||e.someProp("domParser")||Me.fromSchema(e.state.schema);s=t.parseSlice(r,{preserveWhitespace:!(!l&&!p),context:o,ruleFromNode:e=>"BR"!=e.nodeName||e.nextSibling||!e.parentNode||Xi.test(e.parentNode.nodeName)?null:{ignore:!0}})}if(p)s=function(e,t){if(!e.size)return e;let n,i=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}let{content:o,openStart:r,openEnd:s}=e;for(let e=n.length-2;e>=0;e-=2){let t=i.nodes[n[e]];if(!t||t.hasRequiredAttrs())break;o=z.from(t.create(n[e+1],o)),r++,s++}return new U(o,r,s)}(oo(s,+p[1],+p[2]),p[4]);else if(s=U.maxOpen(function(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i,o=t.node(n).contentMatchAt(t.index(n)),r=[];if(e.forEach((e=>{if(!r)return;let t,n=o.findWrapping(e.type);if(!n)return r=null;if(t=r.length&&i.length&&to(n,i,e,r[r.length-1],0))r[r.length-1]=t;else{r.length&&(r[r.length-1]=no(r[r.length-1],i.length));let t=eo(e,n);r.push(t),o=o.matchType(t.type),i=n}})),r)return z.from(r)}return e}(s.content,o),!0),s.openStart||s.openEnd){let e=0,t=0;for(let t=s.content.firstChild;e<s.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=s.content.lastChild;t<s.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);s=oo(s,e,t)}return e.someProp("transformPasted",(e=>{s=e(s)})),s}const Xi=/^(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 eo(e,t,n=0){for(let i=t.length-1;i>=n;i--)e=t[i].create(null,z.from(e));return e}function to(e,t,n,i,o){if(o<e.length&&o<t.length&&e[o]==t[o]){let r=to(e,t,n,i.lastChild,o+1);if(r)return i.copy(i.content.replaceChild(i.childCount-1,r));if(i.contentMatchAt(i.childCount).matchType(o==e.length-1?n.type:e[o+1]))return i.copy(i.content.append(z.from(eo(n,e,o+1))))}}function no(e,t){if(0==t)return e;let n=e.content.replaceChild(e.childCount-1,no(e.lastChild,t-1)),i=e.contentMatchAt(e.childCount).fillBefore(z.empty,!0);return e.copy(n.append(i))}function io(e,t,n,i,o,r){let s=t<0?e.firstChild:e.lastChild,a=s.content;return o<i-1&&(a=io(a,t,n,i,o+1,r)),o>=n&&(a=t<0?s.contentMatchAt(0).fillBefore(a,e.childCount>1||r<=o).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(z.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(a))}function oo(e,t,n){return t<e.openStart&&(e=new U(io(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new U(io(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const ro={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 so=null;function ao(){return so||(so=document.implementation.createHTMLDocument("title"))}const lo={},co={},po={touchstart:!0,touchmove:!0};class uo{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function ho(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function mo(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>fo(e,t))}))}function fo(e,t){return e.someProp("handleDOMEvents",(n=>{let i=n[t.type];return!!i&&(i(e,t)||t.defaultPrevented)}))}function go(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 bo(e){return{left:e.clientX,top:e.clientY}}function vo(e,t,n,i,o){if(-1==i)return!1;let r=e.state.doc.resolve(i);for(let i=r.depth+1;i>0;i--)if(e.someProp(t,(t=>i>r.depth?t(e,n,r.nodeAfter,r.before(i),o,!0):t(e,n,r.node(i),r.before(i),o,!1))))return!0;return!1}function yo(e,t,n){e.focused||e.focus();let i=e.state.tr.setSelection(t);"pointer"==n&&i.setMeta("pointer",!0),e.dispatch(i)}function xo(e,t,n,i,o){return vo(e,"handleClickOn",t,n,i)||e.someProp("handleClick",(n=>n(e,t,i)))||(o?function(e,t){if(-1==t)return!1;let n,i,o=e.state.selection;o instanceof Rt&&(n=o.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(Rt.isSelectable(t)){i=n&&o.$from.depth>0&&e>=o.$from.depth&&r.before(o.$from.depth+1)==o.$from.pos?r.before(o.$from.depth):r.before(e);break}}return null!=i&&(yo(e,Rt.create(e.state.doc,i),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;let n=e.state.doc.resolve(t),i=n.nodeAfter;return!!(i&&i.isAtom&&Rt.isSelectable(i))&&(yo(e,new Rt(n),"pointer"),!0)}(e,n))}function wo(e,t,n,i){return vo(e,"handleDoubleClickOn",t,n,i)||e.someProp("handleDoubleClick",(n=>n(e,t,i)))}function ko(e,t,n,i){return vo(e,"handleTripleClickOn",t,n,i)||e.someProp("handleTripleClick",(n=>n(e,t,i)))||function(e,t,n){if(0!=n.button)return!1;let i=e.state.doc;if(-1==t)return!!i.inlineContent&&(yo(e,zt.create(i,0,i.content.size),"pointer"),!0);let o=i.resolve(t);for(let t=o.depth+1;t>0;t--){let n=t>o.depth?o.nodeAfter:o.node(t),r=o.before(t);if(n.inlineContent)yo(e,zt.create(i,r+1,r+1+n.content.size),"pointer");else{if(!Rt.isSelectable(n))continue;yo(e,Rt.create(i,r),"pointer")}return!0}}(e,n,i)}function Eo(e){return No(e)}co.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=16==n.keyCode||n.shiftKey,!Co(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!yn||!mn||13!=n.keyCode))if(229!=n.keyCode&&e.domObserver.forceFlush(),!bn||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)e.someProp("handleKeyDown",(t=>t(e,n)))||Gi(e,n)?n.preventDefault():ho(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,An(13,"Enter")))),e.input.lastIOSEnter=0)}),200)}},co.keyup=(e,t)=>{16==t.keyCode&&(e.input.shiftKey=!1)},co.keypress=(e,t)=>{let n=t;if(Co(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||vn&&n.metaKey)return;if(e.someProp("handleKeyPress",(t=>t(e,n))))return void n.preventDefault();let i=e.state.selection;if(!(i instanceof zt&&i.$from.sameParent(i.$to))){let t=String.fromCharCode(n.charCode);e.someProp("handleTextInput",(n=>n(e,i.$from.pos,i.$to.pos,t)))||e.dispatch(e.state.tr.insertText(t).scrollIntoView()),n.preventDefault()}};const _o=vn?"metaKey":"ctrlKey";lo.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let i=Eo(e),o=Date.now(),r="singleClick";o-e.input.lastClick.time<500&&function(e,t){let n=t.x-e.clientX,i=t.y-e.clientY;return n*n+i*i<100}(n,e.input.lastClick)&&!n[_o]&&("singleClick"==e.input.lastClick.type?r="doubleClick":"doubleClick"==e.input.lastClick.type&&(r="tripleClick")),e.input.lastClick={time:o,x:n.clientX,y:n.clientY,type:r};let s=e.posAtCoords(bo(n));s&&("singleClick"==r?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new Mo(e,s,n,!!i)):("doubleClick"==r?wo:ko)(e,s.pos,s.inside,n)?n.preventDefault():ho(e,"pointer"))};class Mo{constructor(e,t,n,i){let o,r;if(this.view=e,this.pos=t,this.event=n,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!n[_o],this.allowDefault=n.shiftKey,t.inside>-1)o=e.state.doc.nodeAt(t.inside),r=t.inside;else{let n=e.state.doc.resolve(t.pos);o=n.parent,r=n.depth?n.before():0}const s=i?null:n.target,a=s?e.docView.nearestDesc(s,!0):null;this.target=a?a.dom:null;let{selection:l}=e.state;(0==n.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||l instanceof Rt&&l.from<=r&&l.to>r)&&(this.mightDrag={node:o,pos:r,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!dn||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)),ho(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((()=>Oi(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(bo(e))),this.updateAllowDefault(e),this.allowDefault||!t?ho(this.view,"pointer"):xo(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||gn&&this.mightDrag&&!this.mightDrag.node.isAtom||mn&&!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)?(yo(this.view,St.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ho(this.view,"pointer")}move(e){this.updateAllowDefault(e),ho(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 Co(e,t){return!!e.composing||!!(gn&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500)&&(e.input.compositionEndedAt=-2e8,!0)}lo.touchstart=e=>{e.input.lastTouch=Date.now(),Eo(e),ho(e,"pointer")},lo.touchmove=e=>{e.input.lastTouch=Date.now(),ho(e,"pointer")},lo.contextmenu=e=>Eo(e);const Do=yn?5e3:-1;function Oo(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout((()=>No(e)),t))}function To(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 No(e,t=!1){if(!(yn&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),To(e),t||e.docView&&e.docView.dirty){let t=Ci(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}}co.compositionstart=co.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some((e=>!1===e.type.spec.inclusive))))e.markCursor=e.state.storedMarks||n.marks(),No(e,!0),e.markCursor=null;else if(No(e),dn&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelection();for(let e=t.focusNode,n=t.focusOffset;e&&1==e.nodeType&&0!=n;){let i=n<0?e.lastChild:e.childNodes[n-1];if(!i)break;if(3==i.nodeType){t.collapse(i,i.nodeValue.length);break}e=i,n=-1}}e.input.composing=!0}Oo(e,Do)},co.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,Oo(e,20))};const So=pn&&un<15||bn&&wn<604;function Ao(e,t,n,i){let o=Zi(e,t,n,e.input.shiftKey,e.state.selection.$from);if(e.someProp("handlePaste",(t=>t(e,i,o||U.empty))))return!0;if(!o)return!1;let r=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(o),s=r?e.state.tr.replaceSelectionWith(r,e.input.shiftKey):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}lo.copy=co.cut=(e,t)=>{let n=t,i=e.state.selection,o="cut"==n.type;if(i.empty)return;let r=So?null:n.clipboardData,s=i.content(),{dom:a,text:l}=Ji(e,s);r?(n.preventDefault(),r.clearData(),r.setData("text/html",a.innerHTML),r.setData("text/plain",l)):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 i=getSelection(),o=document.createRange();o.selectNodeContents(t),e.dom.blur(),i.removeAllRanges(),i.addRange(o),setTimeout((()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()}),50)}(e,a),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))},co.paste=(e,t)=>{let n=t;if(e.composing&&!yn)return;let i=So?null:n.clipboardData;i&&Ao(e,i.getData("text/plain"),i.getData("text/html"),n)?n.preventDefault():function(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,i=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout((()=>{e.focus(),i.parentNode&&i.parentNode.removeChild(i),n?Ao(e,i.value,null,t):Ao(e,i.textContent,i.innerHTML,t)}),50)}(e,n)};class jo{constructor(e,t){this.slice=e,this.move=t}}const Io=vn?"altKey":"ctrlKey";lo.dragstart=(e,t)=>{let n=t,i=e.input.mouseDown;if(i&&i.done(),!n.dataTransfer)return;let o=e.state.selection,r=o.empty?null:e.posAtCoords(bo(n));if(r&&r.pos>=o.from&&r.pos<=(o instanceof Rt?o.to-1:o.to));else if(i&&i.mightDrag)e.dispatch(e.state.tr.setSelection(Rt.create(e.state.doc,i.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&&e.dispatch(e.state.tr.setSelection(Rt.create(e.state.doc,t.posBefore)))}let s=e.state.selection.content(),{dom:a,text:l}=Ji(e,s);n.dataTransfer.clearData(),n.dataTransfer.setData(So?"Text":"text/html",a.innerHTML),n.dataTransfer.effectAllowed="copyMove",So||n.dataTransfer.setData("text/plain",l),e.dragging=new jo(s,!n[Io])},lo.dragend=e=>{let t=e.dragging;window.setTimeout((()=>{e.dragging==t&&(e.dragging=null)}),50)},co.dragover=co.dragenter=(e,t)=>t.preventDefault(),co.drop=(e,t)=>{let n=t,i=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let o=e.posAtCoords(bo(n));if(!o)return;let r=e.state.doc.resolve(o.pos),s=i&&i.slice;s?e.someProp("transformPasted",(e=>{s=e(s)})):s=Zi(e,n.dataTransfer.getData(So?"Text":"text/plain"),So?null:n.dataTransfer.getData("text/html"),!1,r);let a=!(!i||n[Io]);if(e.someProp("handleDrop",(t=>t(e,n,s||U.empty,a))))return void n.preventDefault();if(!s)return;n.preventDefault();let l=s?ft(e.state.doc,r.pos,s):r.pos;null==l&&(l=r.pos);let c=e.state.tr;a&&c.deleteSelection();let p=c.mapping.map(l),u=0==s.openStart&&0==s.openEnd&&1==s.content.childCount,d=c.doc;if(u?c.replaceRangeWith(p,p,s.content.firstChild):c.replaceRange(p,p,s),c.doc.eq(d))return;let h=c.doc.resolve(p);if(u&&Rt.isSelectable(s.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new Rt(h));else{let t=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach(((e,n,i,o)=>t=o)),c.setSelection(zi(e,h,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))},lo.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.domSelection())&&Oi(e)}),20))},lo.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)},lo.beforeinput=(e,t)=>{if(mn&&yn&&"deleteContentBackward"==t.inputType){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout((()=>{if(e.input.domChangeCount!=t)return;if(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",(t=>t(e,An(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 co)lo[e]=co[e];function zo(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 Lo{constructor(e,t){this.toDOM=e,this.spec=t||Uo,this.side=this.spec.side||0}map(e,t,n,i){let{pos:o,deleted:r}=e.mapResult(t.from+i,this.side<0?-1:1);return r?null:new Po(o-n,o-n,this)}valid(){return!0}eq(e){return this==e||e instanceof Lo&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&zo(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ro{constructor(e,t){this.attrs=e,this.spec=t||Uo}map(e,t,n,i){let o=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-n,r=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-n;return o>=r?null:new Po(o,r,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Ro&&zo(this.attrs,e.attrs)&&zo(this.spec,e.spec)}static is(e){return e.type instanceof Ro}destroy(){}}class Fo{constructor(e,t){this.attrs=e,this.spec=t||Uo}map(e,t,n,i){let o=e.mapResult(t.from+i,1);if(o.deleted)return null;let r=e.mapResult(t.to+i,-1);return r.deleted||r.pos<=o.pos?null:new Po(o.pos-n,r.pos-n,this)}valid(e,t){let n,{index:i,offset:o}=e.content.findIndex(t.from);return o==t.from&&!(n=e.child(i)).isText&&o+n.nodeSize==t.to}eq(e){return this==e||e instanceof Fo&&zo(this.attrs,e.attrs)&&zo(this.spec,e.spec)}destroy(){}}class Po{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(e,t){return new Po(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 Po(e,e,new Lo(t,n))}static inline(e,t,n,i){return new Po(e,t,new Ro(n,i))}static node(e,t,n,i){return new Po(e,t,new Fo(n,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Ro}}const Bo=[],Uo={};class $o{constructor(e,t){this.local=e.length?e:Bo,this.children=t.length?t:Bo}static create(e,t){return t.length?Yo(t,e,0,Uo):Ho}find(e,t,n){let i=[];return this.findInner(null==e?0:e,null==t?1e9:t,i,0,n),i}findInner(e,t,n,i,o){for(let r=0;r<this.local.length;r++){let s=this.local[r];s.from<=t&&s.to>=e&&(!o||o(s.spec))&&n.push(s.copy(s.from+i,s.to+i))}for(let r=0;r<this.children.length;r+=3)if(this.children[r]<t&&this.children[r+1]>e){let s=this.children[r]+1;this.children[r+2].findInner(e-s,t-s,n,i+s,o)}}map(e,t,n){return this==Ho||0==e.maps.length?this:this.mapInner(e,t,0,0,n||Uo)}mapInner(e,t,n,i,o){let r;for(let s=0;s<this.local.length;s++){let a=this.local[s].map(e,n,i);a&&a.type.valid(t,a)?(r||(r=[])).push(a):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?function(e,t,n,i,o,r,s){let a=e.slice();for(let e=0,t=r;e<n.maps.length;e++){let i=0;n.maps[e].forEach(((e,n,r,s)=>{let l=s-r-(n-e);for(let s=0;s<a.length;s+=3){let c=a[s+1];if(c<0||e>c+t-i)continue;let p=a[s]+t-i;n>=p?a[s+1]=e<=p?-2:-1:r>=o&&l&&(a[s]+=l,a[s+1]+=l)}i+=l})),t=n.maps[e].map(t,-1)}let l=!1;for(let t=0;t<a.length;t+=3)if(a[t+1]<0){if(-2==a[t+1]){l=!0,a[t+1]=-1;continue}let c=n.map(e[t]+r),p=c-o;if(p<0||p>=i.content.size){l=!0;continue}let u=n.map(e[t+1]+r,-1)-o,{index:d,offset:h}=i.content.findIndex(p),m=i.maybeChild(d);if(m&&h==p&&h+m.nodeSize==u){let i=a[t+2].mapInner(n,m,c+1,e[t]+r+1,s);i!=Ho?(a[t]=p,a[t+1]=u,a[t+2]=i):(a[t+1]=-2,l=!0)}else l=!0}if(l){let l=function(e,t,n,i,o,r,s){function a(e,t){for(let r=0;r<e.local.length;r++){let a=e.local[r].map(i,o,t);a?n.push(a):s.onRemove&&s.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,o,r,s),c=Yo(l,i,0,s);t=c.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<c.children.length;e+=3){let n=c.children[e];for(;t<a.length&&a[t]<n;)t+=3;a.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new $o(t.sort(Qo),a)}(this.children,r||[],e,t,n,i,o):r?new $o(r.sort(Qo),Bo):Ho}add(e,t){return t.length?this==Ho?$o.create(e,t):this.addInner(e,t,0):this}addInner(e,t,n){let i,o=0;e.forEach(((e,r)=>{let s,a=r+n;if(s=Wo(t,e,a)){for(i||(i=this.children.slice());o<i.length&&i[o]<r;)o+=3;i[o]==r?i[o+2]=i[o+2].addInner(e,s,a+1):i.splice(o,0,r,r+e.nodeSize,Yo(s,e,a+1,Uo)),o+=3}}));let r=Vo(o?Ko(t):t,-n);for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||r.splice(t--,1);return new $o(r.length?this.local.concat(r).sort(Qo):this.local,i||this.children)}remove(e){return 0==e.length||this==Ho?this:this.removeInner(e,0)}removeInner(e,t){let n=this.children,i=this.local;for(let i=0;i<n.length;i+=3){let o,r=n[i]+t,s=n[i+1]+t;for(let t,n=0;n<e.length;n++)(t=e[n])&&t.from>r&&t.to<s&&(e[n]=null,(o||(o=[])).push(t));if(!o)continue;n==this.children&&(n=this.children.slice());let a=n[i+2].removeInner(o,r+1);a!=Ho?n[i+2]=a:(n.splice(i,3),i-=3)}if(i.length)for(let n,o=0;o<e.length;o++)if(n=e[o])for(let e=0;e<i.length;e++)i[e].eq(n,t)&&(i==this.local&&(i=this.local.slice()),i.splice(e--,1));return n==this.children&&i==this.local?this:i.length||n.length?new $o(i,n):Ho}forChild(e,t){if(this==Ho)return this;if(t.isLeaf)return $o.empty;let n,i;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 o=e+1,r=o+t.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<r&&t.to>o&&t.type instanceof Ro){let e=Math.max(o,t.from)-o,n=Math.min(r,t.to)-o;e<n&&(i||(i=[])).push(t.copy(e,n))}}if(i){let e=new $o(i.sort(Qo),Bo);return n?new qo([e,n]):e}return n||Ho}eq(e){if(this==e)return!0;if(!(e instanceof $o)||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 Go(this.localsInner(e))}localsInner(e){if(this==Ho)return Bo;if(e.inlineContent||!this.local.some(Ro.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof Ro||t.push(this.local[e]);return t}}$o.empty=new $o([],[]),$o.removeOverlap=Go;const Ho=$o.empty;class qo{constructor(e){this.members=e}map(e,t){const n=this.members.map((n=>n.map(e,t,Uo)));return qo.from(n)}forChild(e,t){if(t.isLeaf)return $o.empty;let n=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,t);o!=Ho&&(o instanceof qo?n=n.concat(o.members):n.push(o))}return qo.from(n)}eq(e){if(!(e instanceof qo)||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 i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(t){n&&(t=t.slice(),n=!1);for(let e=0;e<o.length;e++)t.push(o[e])}else t=o}return t?Go(n?t:t.sort(Qo)):Bo}static from(e){switch(e.length){case 0:return Ho;case 1:return e[0];default:return new qo(e)}}}function Vo(e,t){if(!t||!e.length)return e;let n=[];for(let i=0;i<e.length;i++){let o=e[i];n.push(new Po(o.from+t,o.to+t,o.type))}return n}function Wo(e,t,n){if(t.isLeaf)return null;let i=n+t.nodeSize,o=null;for(let t,r=0;r<e.length;r++)(t=e[r])&&t.from>n&&t.to<i&&((o||(o=[])).push(t),e[r]=null);return o}function Ko(e){let t=[];for(let n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function Yo(e,t,n,i){let o=[],r=!1;t.forEach(((t,s)=>{let a=Wo(e,t,s+n);if(a){r=!0;let e=Yo(a,t,n+s+1,i);e!=Ho&&o.push(s,s+t.nodeSize,e)}}));let s=Vo(r?Ko(e):e,-n).sort(Qo);for(let e=0;e<s.length;e++)s[e].type.valid(t,s[e])||(i.onRemove&&i.onRemove(s[e].spec),s.splice(e--,1));return s.length||o.length?new $o(s,o):Ho}function Qo(e,t){return e.from-t.from||e.to-t.to}function Go(e){let t=e;for(let n=0;n<t.length-1;n++){let i=t[n];if(i.from!=i.to)for(let o=n+1;o<t.length;o++){let r=t[o];if(r.from!=i.from){r.from<i.to&&(t==e&&(t=e.slice()),t[n]=i.copy(i.from,r.from),Jo(t,o,i.copy(r.from,i.to)));break}r.to!=i.to&&(t==e&&(t=e.slice()),t[o]=r.copy(r.from,i.to),Jo(t,o+1,r.copy(i.to,r.to)))}}return t}function Jo(e,t,n){for(;t<e.length&&Qo(n,e[t])>0;)t++;e.splice(t,0,n)}function Zo(e){let t=[];return e.someProp("decorations",(n=>{let i=n(e.state);i&&i!=Ho&&t.push(i)})),e.cursorWrapper&&t.push($o.create(e.state.doc,[e.cursorWrapper.deco])),qo.from(t)}const Xo={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},er=pn&&un<=11;class tr{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 nr{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new tr,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver((e=>{for(let t=0;t<e.length;t++)this.queue.push(e[t]);pn&&un<=11&&e.some((e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length))?this.flushSoon():this.flush()})),er&&(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,Xo)),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(Li(this.view)){if(this.suppressingSelectionUpdates)return Oi(this.view);if(pn&&un<=11&&!this.view.state.selection.empty){let e=this.view.domSelection();if(e.focusNode&&Cn(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelection())}ignoreSelectionChange(e){if(0==e.rangeCount)return!0;let t=e.getRangeAt(0).commonAncestorContainer,n=this.view.docView.nearestDesc(t);return n&&n.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.observer?this.observer.takeRecords():[];this.queue.length&&(t=this.queue.concat(t),this.queue.length=0);let n=e.domSelection(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Li(e)&&!this.ignoreSelectionChange(n),o=-1,r=-1,s=!1,a=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],a);n&&(o=o<0?n.from:Math.min(n.from,o),r=r<0?n.to:Math.max(n.to,r),n.typeOver&&(s=!0))}if(dn&&a.length>1){let e=a.filter((e=>"BR"==e.nodeName));if(2==e.length){let t=e[0],n=e[1];t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}let l=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&e.input.lastTouch<Date.now()-300&&Sn(n)&&(l=Ci(e))&&l.eq(St.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Oi(e),this.currentSelection.set(n),e.scrollToSelection()):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,r),function(e){if(ir.has(e))return;if(ir.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=dn,or)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."),or=!0}}(e)),this.handleDOMChange(o,r,s,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Oi(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")))return null;if(!n||n.ignoreMutation(e))return null;if("childList"==e.type){for(let n=0;n<e.addedNodes.length;n++)t.push(e.addedNodes[n]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let i=e.previousSibling,o=e.nextSibling;if(pn&&un<=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)&&(i=n),(!r||Array.prototype.indexOf.call(e.addedNodes,r)<0)&&(o=r)}let r=i&&i.parentNode==e.target?kn(i)+1:0,s=n.localPosFromDOM(e.target,r,-1),a=o&&o.parentNode==e.target?kn(o):e.target.childNodes.length;return{from:s,to:n.localPosFromDOM(e.target,a,1)}}return"attributes"==e.type?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}let ir=new WeakMap,or=!1;function rr(e){let t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(gn&&/^(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||gn&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}function sr(e,t,n,i,o){if(t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Ci(e,t);if(n&&!e.state.selection.eq(n)){let i=e.state.tr.setSelection(n);"pointer"==t?i.setMeta("pointer",!0):"key"==t&&i.scrollIntoView(),e.dispatch(i)}return}let r=e.state.doc.resolve(t),s=r.sharedDepth(n);t=r.before(s+1),n=e.state.doc.resolve(n).after(s+1);let a,l,c=e.state.selection,p=function(e,t,n){let i,{node:o,fromOffset:r,toOffset:s,from:a,to:l}=e.docView.parseRange(t,n),c=e.domSelection(),p=c.anchorNode;if(p&&e.dom.contains(1==p.nodeType?p:p.parentNode)&&(i=[{node:p,offset:c.anchorOffset}],Sn(c)||i.push({node:c.focusNode,offset:c.focusOffset})),mn&&8===e.input.lastKeyCode)for(let e=s;e>r;e--){let t=o.childNodes[e-1],n=t.pmViewDesc;if("BR"==t.nodeName&&!n){s=e;break}if(!n||n.size)break}let u=e.state.doc,d=e.someProp("domParser")||Me.fromSchema(e.state.schema),h=u.resolve(a),m=null,f=d.parse(o,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:r,to:s,preserveWhitespace:"pre"!=h.parent.type.whitespace||"full",findPositions:i,ruleFromNode:rr,context:h});if(i&&null!=i[0].pos){let e=i[0].pos,t=i[1]&&i[1].pos;null==t&&(t=e),m={anchor:e+a,head:t+a}}return{doc:f,sel:m,from:a,to:l}}(e,t,n),u=e.state.doc,d=u.slice(p.from,p.to);8===e.input.lastKeyCode&&Date.now()-100<e.input.lastKeyCodeTime?(a=e.state.selection.to,l="end"):(a=e.state.selection.from,l="start"),e.input.lastKeyCode=null;let h=function(e,t,n,i,o){let r=e.findDiffStart(t,n);if(null==r)return null;let{a:s,b:a}=e.findDiffEnd(t,n+e.size,n+t.size);if("end"==o){i-=s+Math.max(0,r-Math.min(s,a))-r}if(s<r&&e.size<t.size){r-=i<=r&&i>=s?r-i:0,a=r+(a-s),s=r}else if(a<r){r-=i<=r&&i>=a?r-i:0,s=r+(s-a),a=r}return{start:r,endA:s,endB:a}}(d.content,p.doc.content,p.from,a,l);if((bn&&e.input.lastIOSEnter>Date.now()-225||yn)&&o.some((e=>"DIV"==e.nodeName||"P"==e.nodeName))&&(!h||h.endA>=h.endB)&&e.someProp("handleKeyDown",(t=>t(e,An(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(!h){if(!(i&&c instanceof zt&&!c.empty&&c.$head.sameParent(c.$anchor))||e.composing||p.sel&&p.sel.anchor!=p.sel.head){if(p.sel){let t=ar(e,e.state.doc,p.sel);t&&!t.eq(e.state.selection)&&e.dispatch(e.state.tr.setSelection(t))}return}h={start:c.from,endA:c.to,endB:c.to}}if(mn&&e.cursorWrapper&&p.sel&&p.sel.anchor==e.cursorWrapper.deco.from&&p.sel.head==p.sel.anchor){let e=h.endB-h.start;p.sel={anchor:p.sel.anchor+e,head:p.sel.anchor+e}}e.input.domChangeCount++,e.state.selection.from<e.state.selection.to&&h.start==h.endB&&e.state.selection instanceof zt&&(h.start>e.state.selection.from&&h.start<=e.state.selection.from+2&&e.state.selection.from>=p.from?h.start=e.state.selection.from:h.endA<e.state.selection.to&&h.endA>=e.state.selection.to-2&&e.state.selection.to<=p.to&&(h.endB+=e.state.selection.to-h.endA,h.endA=e.state.selection.to)),pn&&un<=11&&h.endB==h.start+1&&h.endA==h.start&&h.start>p.from&&" "==p.doc.textBetween(h.start-p.from-1,h.start-p.from+1)&&(h.start--,h.endA--,h.endB--);let m,f=p.doc.resolveNoCache(h.start-p.from),g=p.doc.resolveNoCache(h.endB-p.from),b=u.resolve(h.start),v=f.sameParent(g)&&f.parent.inlineContent&&b.end()>=h.endA;if((bn&&e.input.lastIOSEnter>Date.now()-225&&(!v||o.some((e=>"DIV"==e.nodeName||"P"==e.nodeName)))||!v&&f.pos<p.doc.content.size&&(m=St.findFrom(p.doc.resolve(f.pos+1),1,!0))&&m.head==g.pos)&&e.someProp("handleKeyDown",(t=>t(e,An(13,"Enter")))))return void(e.input.lastIOSEnter=0);if(e.state.selection.anchor>h.start&&function(e,t,n,i,o){if(!i.parent.isTextblock||n-t<=o.pos-i.pos||lr(i,!0,!1)<o.pos)return!1;let r=e.resolve(t);if(r.parentOffset<r.parent.content.size||!r.parent.isTextblock)return!1;let s=e.resolve(lr(r,!0,!0));return!(!s.parent.isTextblock||s.pos>n||lr(s,!0,!1)<n)&&i.parent.content.cut(i.parentOffset).eq(s.parent.content)}(u,h.start,h.endA,f,g)&&e.someProp("handleKeyDown",(t=>t(e,An(8,"Backspace")))))return void(yn&&mn&&e.domObserver.suppressSelectionUpdates());mn&&yn&&h.endB==h.start&&(e.input.lastAndroidDelete=Date.now()),yn&&!v&&f.start()!=g.start()&&0==g.parentOffset&&f.depth==g.depth&&p.sel&&p.sel.anchor==p.sel.head&&p.sel.head==h.endA&&(h.endB-=2,g=p.doc.resolveNoCache(h.endB-p.from),setTimeout((()=>{e.someProp("handleKeyDown",(function(t){return t(e,An(13,"Enter"))}))}),20));let y,x,w,k=h.start,E=h.endA;if(v)if(f.pos==g.pos)pn&&un<=11&&0==f.parentOffset&&(e.domObserver.suppressSelectionUpdates(),setTimeout((()=>Oi(e)),20)),y=e.state.tr.delete(k,E),x=u.resolve(h.start).marksAcross(u.resolve(h.endA));else if(h.endA==h.endB&&(w=function(e,t){let n,i,o,r=e.firstChild.marks,s=t.firstChild.marks,a=r,l=s;for(let e=0;e<s.length;e++)a=s[e].removeFromSet(a);for(let e=0;e<r.length;e++)l=r[e].removeFromSet(l);if(1==a.length&&0==l.length)i=a[0],n="add",o=e=>e.mark(i.addToSet(e.marks));else{if(0!=a.length||1!=l.length)return null;i=l[0],n="remove",o=e=>e.mark(i.removeFromSet(e.marks))}let c=[];for(let e=0;e<t.childCount;e++)c.push(o(t.child(e)));if(z.from(c).eq(e))return{mark:i,type:n}}(f.parent.content.cut(f.parentOffset,g.parentOffset),b.parent.content.cut(b.parentOffset,h.endA-b.start()))))y=e.state.tr,"add"==w.type?y.addMark(k,E,w.mark):y.removeMark(k,E,w.mark);else if(f.parent.child(f.index()).isText&&f.index()==g.index()-(g.textOffset?0:1)){let t=f.parent.textBetween(f.parentOffset,g.parentOffset);if(e.someProp("handleTextInput",(n=>n(e,k,E,t))))return;y=e.state.tr.insertText(t,k,E)}if(y||(y=e.state.tr.replace(k,E,p.doc.slice(h.start-p.from,h.endB-p.from))),p.sel){let t=ar(e,y.doc,p.sel);t&&!(mn&&yn&&e.composing&&t.empty&&(h.start!=h.endB||e.input.lastAndroidDelete<Date.now()-100)&&(t.head==k||t.head==y.mapping.map(E)-1)||pn&&t.empty&&t.head==k)&&y.setSelection(t)}x&&y.ensureMarks(x),e.dispatch(y.scrollIntoView())}function ar(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:zi(e,t.resolve(n.anchor),t.resolve(n.head))}function lr(e,t,n){let i=e.depth,o=t?e.end():e.pos;for(;i>0&&(t||e.indexAfter(i)==e.node(i).childCount);)i--,o++,t=!1;if(n){let t=e.node(i).maybeChild(e.indexAfter(i));for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}class cr{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 uo,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(mr),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=dr(this),ur(this),this.nodeViews=hr(this),this.docView=pi(this.state.doc,pr(this),Zo(this),this.dom,this),this.domObserver=new nr(this,((e,t,n,i)=>sr(this,e,t,n,i))),this.domObserver.start(),function(e){for(let t in lo){let n=lo[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!go(e,t)||fo(e,t)||!e.editable&&t.type in co||n(e,t)},po[t]?{passive:!0}:void 0)}gn&&e.dom.addEventListener("input",(()=>null)),mo(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&&mo(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(mr),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){let n=this.state,i=!1,o=!1;e.storedMarks&&this.composing&&(To(this),o=!0),this.state=e;let r=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(r||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=hr(this);(function(e,t){let n=0,i=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let e in t)i++;return n!=i})(e,this.nodeViews)&&(this.nodeViews=e,i=!0)}(r||t.handleDOMEvents!=this._props.handleDOMEvents)&&mo(this),this.editable=dr(this),ur(this);let s=Zo(this),a=pr(this),l=n.plugins==e.plugins||n.doc.eq(e.doc)?e.scrollToSelection>n.scrollToSelection?"to selection":"preserve":"reset",c=i||!this.docView.matchesNode(e.doc,a,s);!c&&e.selection.eq(n.selection)||(o=!0);let p="preserve"==l&&o&&null==this.dom.style.overflowAnchor&&function(e){let t,n,i=e.dom.getBoundingClientRect(),o=Math.max(0,i.top);for(let r=(i.left+i.right)/2,s=o+1;s<Math.min(innerHeight,i.bottom);s+=5){let i=e.root.elementFromPoint(r,s);if(!i||i==e.dom||!e.dom.contains(i))continue;let a=i.getBoundingClientRect();if(a.top>=o-20){t=i,n=a.top;break}}return{refDOM:t,refTop:n,stack:Rn(e.dom)}}(this);if(o){this.domObserver.stop();let t=c&&(pn||mn)&&!this.composing&&!n.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)}(n.selection,e.selection);if(c){let n=mn?this.trackWrites=this.domSelection().focusNode:null;!i&&this.docView.update(e.doc,a,s,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=pi(e.doc,a,s,this.dom,this)),n&&!this.trackWrites&&(t=!0)}t||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelection())&&function(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelection();return Cn(t.node,t.offset,n.anchorNode,n.anchorOffset)}(this))?Oi(this,t):(ji(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),"reset"==l?this.dom.scrollTop=0:"to selection"==l?this.scrollToSelection():p&&function({refDOM:e,refTop:t,stack:n}){let i=e?e.getBoundingClientRect().top:0;Fn(n,0==i?0:i-t)}(p)}scrollToSelection(){let e=this.domSelection().focusNode;if(this.someProp("handleScrollToSelection",(e=>e(this))));else if(this.state.selection instanceof Rt){let t=this.docView.domAfterPos(this.state.selection.from);1==t.nodeType&&Ln(this,t.getBoundingClientRect(),e)}else Ln(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))}}}someProp(e,t){let n,i=this._props&&this._props[e];if(null!=i&&(n=t?t(i):i))return n;for(let i=0;i<this.directPlugins.length;i++){let o=this.directPlugins[i].props[e];if(null!=o&&(n=t?t(o):o))return n}let o=this.state.plugins;if(o)for(let i=0;i<o.length;i++){let r=o[i].props[e];if(null!=r&&(n=t?t(r):r))return n}}hasFocus(){if(pn){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(Pn)return e.focus(Pn);let t=Rn(e);e.focus(null==Pn?{get preventScroll(){return Pn={preventScroll:!0},!0}}:void 0),Pn||(Pn=!1,Fn(t,0))}(this.dom),Oi(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}posAtCoords(e){return Hn(this,e)}coordsAtPos(e,t=1){return Wn(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 i=this.docView.posFromDOM(e,t,n);if(null==i)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return ei(this,t||this.state,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,[],Zo(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){fo(e,t)||!lo[t.type]||!e.editable&&t.type in co||lo[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelection(){return this.root.getSelection()}}function pr(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),t.translate="no",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]))})),[Po.node(0,e.state.doc.content.size,t)]}function ur(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:Po.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function dr(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function hr(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 mr(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")}var fr={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:"'"},gr={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},br="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var vr="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),yr="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),xr=vr||br&&+br[1]<57,wr=0;wr<10;wr++)fr[48+wr]=fr[96+wr]=String(wr);for(wr=1;wr<=24;wr++)fr[wr+111]="F"+wr;for(wr=65;wr<=90;wr++)fr[wr]=String.fromCharCode(wr+32),gr[wr]=String.fromCharCode(wr);for(var kr in fr)gr.hasOwnProperty(kr)||(gr[kr]=fr[kr]);const Er="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform);function _r(e){let t,n,i,o,r=e.split(/-(?!$)/),s=r[r.length-1];"Space"==s&&(s=" ");for(let e=0;e<r.length-1;e++){let s=r[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else if(/^s(hift)?$/i.test(s))i=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);Er?o=!0:n=!0}}return t&&(s="Alt-"+s),n&&(s="Ctrl-"+s),o&&(s="Meta-"+s),i&&(s="Shift-"+s),s}function Mr(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}function Cr(e){let t=function(e){let t=Object.create(null);for(let n in e)t[_r(n)]=e[n];return t}(e);return function(e,n){let i,o=function(e){var t=!(xr&&(e.ctrlKey||e.altKey||e.metaKey)||yr&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?gr:fr)[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=1==o.length&&" "!=o,s=t[Mr(o,n,!r)];if(s&&s(e.state,e.dispatch,e))return!0;if(r&&(n.shiftKey||n.altKey||n.metaKey||o.charCodeAt(0)>127)&&(i=fr[n.keyCode])&&i!=o){let o=t[Mr(i,n,!0)];if(o&&o(e.state,e.dispatch,e))return!0}else if(r&&n.shiftKey){let i=t[Mr(o,n,!0)];if(i&&i(e.state,e.dispatch,e))return!0}return!1}}function Dr(e,t,n=!1){for(let i=e;i;i="start"==t?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(n&&1!=i.childCount)return!1}return!1}function Or(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 Tr(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 Nr(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 Sr(e,t,n){let i,o,r=t.nodeBefore,s=t.nodeAfter;if(r.type.spec.isolating||s.type.spec.isolating)return!1;if(function(e,t,n){let i=t.nodeBefore,o=t.nodeAfter,r=t.index();return!(!(i&&o&&i.type.compatibleContent(o.type))||(!i.content.size&&t.parent.canReplace(r-1,r)?(n&&n(e.tr.delete(t.pos-i.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(r,r+1)||!o.isTextblock&&!mt(e.doc,t.pos)||(n&&n(e.tr.clearIncompatible(t.pos,i.type,i.contentMatchAt(i.childCount)).join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;let a=t.parent.canReplace(t.index(),t.index()+1);if(a&&(i=(o=r.contentMatchAt(r.childCount)).findWrapping(s.type))&&o.matchType(i[0]||s.type).validEnd){if(n){let o=t.pos+s.nodeSize,a=z.empty;for(let e=i.length-1;e>=0;e--)a=z.from(i[e].create(null,a));a=z.from(r.copy(a));let l=e.tr.step(new at(t.pos-1,o,t.pos,o,new U(a,1,0),i.length,!0)),c=o+2*i.length;mt(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let l=St.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),p=c&&pt(c);if(null!=p&&p>=t.depth)return n&&n(e.tr.lift(c,p).scrollIntoView()),!0;if(a&&Dr(s,"start",!0)&&Dr(r,"end")){let i=r,o=[];for(;o.push(i),!i.isTextblock;)i=i.lastChild;let a=s,l=1;for(;!a.isTextblock;a=a.firstChild)l++;if(i.canReplace(i.childCount,i.childCount,a.content)){if(n){let i=z.empty;for(let e=o.length-1;e>=0;e--)i=z.from(o[e].copy(i));n(e.tr.step(new at(t.pos-o.length,t.pos+s.nodeSize,t.pos+l,t.pos+s.nodeSize-l,new U(i,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Ar(e){return function(t,n){let i=t.selection,o=e<0?i.$from:i.$to,r=o.depth;for(;o.node(r).isInline;){if(!r)return!1;r--}return!!o.node(r).isTextblock&&(n&&n(t.tr.setSelection(zt.create(t.doc,e<0?o.start(r):o.end(r)))),!0)}}const jr=Ar(-1),Ir=Ar(1);function zr(e,t=null){return function(n,i){let{from:o,to:r}=n.selection,s=!1;return n.doc.nodesBetween(o,r,((i,o)=>{if(s)return!1;if(i.isTextblock&&!i.hasMarkup(e,t))if(i.type==e)s=!0;else{let t=n.doc.resolve(o),i=t.index();s=t.parent.canReplaceWith(i,i+1,e)}})),!!s&&(i&&i(n.tr.setBlockType(o,r,e,t).scrollIntoView()),!0)}}function Lr(e,t=null){return function(n,i){let{$from:o,$to:r}=n.selection,s=o.blockRange(r),a=!1,l=s;if(!s)return!1;if(s.depth>=2&&o.node(s.depth-1).type.compatibleContent(e)&&0==s.startIndex){if(0==o.index(s.depth-1))return!1;let e=n.doc.resolve(s.start-2);l=new ie(e,e,s.depth),s.endIndex<s.parent.childCount&&(s=new ie(o,n.doc.resolve(r.end(s.depth)),s.depth)),a=!0}let c=ut(l,e,t,s);return!!c&&(i&&i(function(e,t,n,i,o){let r=z.empty;for(let e=n.length-1;e>=0;e--)r=z.from(n[e].type.create(n[e].attrs,r));e.step(new at(t.start-(i?2:0),t.end,t.start,t.end,new U(r,0,0),n.length,!0));let s=0;for(let e=0;e<n.length;e++)n[e].type==o&&(s=e+1);let a=n.length-s,l=t.start+n.length-(i?2:0),c=t.parent;for(let n=t.startIndex,i=t.endIndex,o=!0;n<i;n++,o=!1)!o&&ht(e.doc,l,a)&&(e.split(l,a),l+=2*a),l+=c.child(n).nodeSize;return e}(n.tr,s,c,a,e).scrollIntoView()),!0)}}function Rr(e){return function(t,n){let{$from:i,$to:o}=t.selection,r=i.blockRange(o,(t=>t.childCount>0&&t.firstChild.type==e));return!!r&&(!n||(i.node(r.depth-1).type==e?function(e,t,n,i){let o=e.tr,r=i.end,s=i.$to.end(i.depth);r<s&&(o.step(new at(r-1,s,r,s,new U(z.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new ie(o.doc.resolve(i.$from.pos),o.doc.resolve(s),i.depth));const a=pt(i);if(null==a)return!1;o.lift(i,a);let l=o.mapping.map(r,-1)-1;mt(o.doc,l)&&o.join(l);return t(o.scrollIntoView()),!0}(t,n,e,r):function(e,t,n){let i=e.tr,o=n.parent;for(let e=n.end,t=n.endIndex-1,r=n.startIndex;t>r;t--)e-=o.child(t).nodeSize,i.delete(e-1,e+1);let r=i.doc.resolve(n.start),s=r.nodeAfter;if(i.mapping.map(n.end)!=n.start+r.nodeAfter.nodeSize)return!1;let a=0==n.startIndex,l=n.endIndex==o.childCount,c=r.node(-1),p=r.index(-1);if(!c.canReplace(p+(a?0:1),p+1,s.content.append(l?z.empty:z.from(o))))return!1;let u=r.pos,d=u+s.nodeSize;return i.step(new at(u-(a?1:0),d+(l?1:0),u+1,d-1,new U((a?z.empty:z.from(o.copy(z.empty))).append(l?z.empty:z.from(o.copy(z.empty))),a?0:1,l?0:1),a?0:1)),t(i.scrollIntoView()),!0}(t,n,r)))}}function Fr(e){const{state:t,transaction:n}=e;let{selection:i}=n,{doc:o}=n,{storedMarks:r}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),filterTransaction:t.filterTransaction,plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return r},get selection(){return i},get doc(){return o},get tr(){return i=n.selection,o=n.doc,r=n.storedMarks,n}}}"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform();class Pr{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:i}=t,{tr:o}=n,r=this.buildProps(o);return Object.fromEntries(Object.entries(e).map((([e,t])=>[e,(...e)=>{const n=t(...e)(r);return o.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(o),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:n,editor:i,state:o}=this,{view:r}=i,s=[],a=!!e,l=e||o.tr,c={...Object.fromEntries(Object.entries(n).map((([e,n])=>[e,(...e)=>{const i=this.buildProps(l,t),o=n(...e)(i);return s.push(o),c}]))),run:()=>(a||!t||l.getMeta("preventDispatch")||this.hasCustomState||r.dispatch(l),s.every((e=>!0===e)))};return c}createCan(e){const{rawCommands:t,state:n}=this,i=!1,o=e||n.tr,r=this.buildProps(o,i),s=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,(...e)=>t(...e)({...r,dispatch:void 0})])));return{...s,chain:()=>this.createChain(o,i)}}buildProps(e,t=!0){const{rawCommands:n,editor:i,state:o}=this,{view:r}=i;o.storedMarks&&e.setStoredMarks(o.storedMarks);const s={tr:e,editor:i,view:r,state:Fr({state:o,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map((([e,t])=>[e,(...e)=>t(...e)(s)])))}};return s}}function Br(e,t,n){if(void 0===e.config[t]&&e.parent)return Br(e.parent,t,n);if("function"==typeof e.config[t]){return e.config[t].bind({...n,parent:e.parent?Br(e.parent,t,n):null})}return e.config[t]}function Ur(e){return{baseExtensions:e.filter((e=>"extension"===e.type)),nodeExtensions:e.filter((e=>"node"===e.type)),markExtensions:e.filter((e=>"mark"===e.type))}}function $r(e){const t=[],{nodeExtensions:n,markExtensions:i}=Ur(e),o=[...n,...i],r={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach((e=>{const n=Br(e,"addGlobalAttributes",{name:e.name,options:e.options,storage:e.storage});if(!n)return;n().forEach((e=>{e.types.forEach((n=>{Object.entries(e.attributes).forEach((([e,i])=>{t.push({type:n,name:e,attribute:{...r,...i}})}))}))}))})),o.forEach((e=>{const n={name:e.name,options:e.options,storage:e.storage},i=Br(e,"addAttributes",n);if(!i)return;const o=i();Object.entries(o).forEach((([n,i])=>{const o={...r,...i};(null==i?void 0:i.isRequired)&&void 0===(null==i?void 0:i.default)&&delete o.default,t.push({type:e.name,name:n,attribute:o})}))})),t}function Hr(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 qr(...e){return e.filter((e=>!!e)).reduce(((e,t)=>{const n={...e};return Object.entries(t).forEach((([e,t])=>{n[e]?n[e]="class"===e?[n[e],t].join(" "):"style"===e?[n[e],t].join("; "):t:n[e]=t})),n}),{})}function Vr(e,t){return t.filter((e=>e.attribute.rendered)).map((t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]})).reduce(((e,t)=>qr(e,t)),{})}function Wr(e){return"function"==typeof e}function Kr(e,t=void 0,...n){return Wr(e)?t?e.bind(t)(...n):e(...n):e}function Yr(e,t){return e.style?e:{...e,getAttrs:n=>{const i=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===i)return!1;const o=t.reduce(((e,t)=>{const i=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==i?e:{...e,[t.name]:i}}),{});return{...i,...o}}}}function Qr(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 Gr(e,t){return t.nodes[e]||t.marks[e]||null}function Jr(e,t){return Array.isArray(t)?t.some((t=>("string"==typeof t?t:t.name)===e.name)):t}function Zr(e){return"[object RegExp]"===Object.prototype.toString.call(e)}class Xr{constructor(e){this.find=e.find,this.handler=e.handler}}function es(e){var t;const{editor:n,from:i,to:o,text:r,rules:s,plugin:a}=e,{view:l}=n;if(l.composing)return!1;const c=l.state.doc.resolve(i);if(c.parent.type.spec.code||(null===(t=c.nodeBefore||c.nodeAfter)||void 0===t?void 0:t.marks.find((e=>e.type.spec.code))))return!1;let p=!1;const u=((e,t=500)=>{let n="";const i=e.parentOffset;return e.parent.nodesBetween(Math.max(0,i-t),i,((e,t,o,r)=>{var s,a;const l=(null===(a=(s=e.type.spec).toText)||void 0===a?void 0:a.call(s,{node:e,pos:t,parent:o,index:r}))||e.textContent||"%leaf%";n+=l.slice(0,Math.max(0,i-t))})),n})(c)+r;return s.forEach((e=>{if(p)return;const t=((e,t)=>{if(Zr(t))return t.exec(e);const n=t(e);if(!n)return null;const i=[];return i.push(n.text),i.index=n.index,i.input=e,i.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),i.push(n.replaceWith)),i})(u,e.find);if(!t)return;const s=l.state.tr,c=Fr({state:l.state,transaction:s}),d={from:i-(t[0].length-r.length),to:o},{commands:h,chain:m,can:f}=new Pr({editor:n,state:c});null!==e.handler({state:c,range:d,match:t,commands:h,chain:m,can:f})&&s.steps.length&&(s.setMeta(a,{transform:s,from:i,to:o,text:r}),l.dispatch(s),p=!0)})),p}function ts(e){const{editor:t,rules:n}=e,i=new Xt({state:{init:()=>null,apply(e,t){const n=e.getMeta(i);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(e,o,r,s)=>es({editor:t,from:o,to:r,text:s,rules:n,plugin:i}),handleDOMEvents:{compositionend:e=>(setTimeout((()=>{const{$cursor:o}=e.state.selection;o&&es({editor:t,from:o.pos,to:o.pos,text:"",rules:n,plugin:i})})),!1)},handleKeyDown(e,o){if("Enter"!==o.key)return!1;const{$cursor:r}=e.state.selection;return!!r&&es({editor:t,from:r.pos,to:r.pos,text:"\n",rules:n,plugin:i})}},isInputRules:!0});return i}class ns{constructor(e){this.find=e.find,this.handler=e.handler}}function is(e){const{editor:t,state:n,from:i,to:o,rule:r}=e,{commands:s,chain:a,can:l}=new Pr({editor:t,state:n}),c=[];n.doc.nodesBetween(i,o,((e,t)=>{if(!e.isTextblock||e.type.spec.code)return;const p=Math.max(i,t),u=Math.min(o,t+e.content.size),d=((e,t)=>{if(Zr(t))return[...e.matchAll(t)];const n=t(e);return n?n.map((t=>{const n=[];return n.push(t.text),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})):[]})(e.textBetween(p-t,u-t,void 0,""),r.find);d.forEach((e=>{if(void 0===e.index)return;const t=p+e.index+1,i=t+e[0].length,o={from:n.tr.mapping.map(t),to:n.tr.mapping.map(i)},u=r.handler({state:n,range:o,match:e,commands:s,chain:a,can:l});c.push(u)}))}));return c.every((e=>null!==e))}function rs(e){const{editor:t,rules:n}=e;let i=null,o=!1,r=!1;const s=n.map((e=>new Xt({view(e){const t=t=>{var n;i=(null===(n=e.dom.parentElement)||void 0===n?void 0:n.contains(t.target))?e.dom.parentElement:null};return window.addEventListener("dragstart",t),{destroy(){window.removeEventListener("dragstart",t)}}},props:{handleDOMEvents:{drop:e=>(r=i===e.dom.parentElement,!1),paste:(e,t)=>{var n;const i=null===(n=t.clipboardData)||void 0===n?void 0:n.getData("text/html");return o=!!(null==i?void 0:i.includes("data-pm-slice")),!1}}},appendTransaction:(n,i,s)=>{const a=n[0],l="paste"===a.getMeta("uiEvent")&&!o,c="drop"===a.getMeta("uiEvent")&&!r;if(!l&&!c)return;const p=i.doc.content.findDiffStart(s.doc.content),u=i.doc.content.findDiffEnd(s.doc.content);if("number"!=typeof p||!u||p===u.b)return;const d=s.tr,h=Fr({state:s,transaction:d});return is({editor:t,state:h,from:Math.max(p-1,0),to:u.b-1,rule:e})&&d.steps.length?d:void 0}})));return s}class ss{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=ss.resolve(e),this.schema=function(e){var t;const n=$r(e),{nodeExtensions:i,markExtensions:o}=Ur(e),r=null===(t=i.find((e=>Br(e,"topNode"))))||void 0===t?void 0:t.name,s=Object.fromEntries(i.map((t=>{const i=n.filter((e=>e.type===t.name)),o={name:t.name,options:t.options,storage:t.storage},r=e.reduce(((e,n)=>{const i=Br(n,"extendNodeSchema",o);return{...e,...i?i(t):{}}}),{}),s=Qr({...r,content:Kr(Br(t,"content",o)),marks:Kr(Br(t,"marks",o)),group:Kr(Br(t,"group",o)),inline:Kr(Br(t,"inline",o)),atom:Kr(Br(t,"atom",o)),selectable:Kr(Br(t,"selectable",o)),draggable:Kr(Br(t,"draggable",o)),code:Kr(Br(t,"code",o)),defining:Kr(Br(t,"defining",o)),isolating:Kr(Br(t,"isolating",o)),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=Kr(Br(t,"parseHTML",o));a&&(s.parseDOM=a.map((e=>Yr(e,i))));const l=Br(t,"renderHTML",o);l&&(s.toDOM=e=>l({node:e,HTMLAttributes:Vr(e,i)}));const c=Br(t,"renderText",o);return c&&(s.toText=c),[t.name,s]}))),a=Object.fromEntries(o.map((t=>{const i=n.filter((e=>e.type===t.name)),o={name:t.name,options:t.options,storage:t.storage},r=e.reduce(((e,n)=>{const i=Br(n,"extendMarkSchema",o);return{...e,...i?i(t):{}}}),{}),s=Qr({...r,inclusive:Kr(Br(t,"inclusive",o)),excludes:Kr(Br(t,"excludes",o)),group:Kr(Br(t,"group",o)),spanning:Kr(Br(t,"spanning",o)),code:Kr(Br(t,"code",o)),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=Kr(Br(t,"parseHTML",o));a&&(s.parseDOM=a.map((e=>Yr(e,i))));const l=Br(t,"renderHTML",o);return l&&(s.toDOM=e=>l({mark:e,HTMLAttributes:Vr(e,i)})),[t.name,s]})));return new Ee({topNode:r,nodes:s,marks:a})}(this.extensions),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:Gr(e.name,this.schema)};if("mark"===e.type){(null===(t=Kr(Br(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const i=Br(e,"onBeforeCreate",n);i&&this.editor.on("beforeCreate",i);const o=Br(e,"onCreate",n);o&&this.editor.on("create",o);const r=Br(e,"onUpdate",n);r&&this.editor.on("update",r);const s=Br(e,"onSelectionUpdate",n);s&&this.editor.on("selectionUpdate",s);const a=Br(e,"onTransaction",n);a&&this.editor.on("transaction",a);const l=Br(e,"onFocus",n);l&&this.editor.on("focus",l);const c=Br(e,"onBlur",n);c&&this.editor.on("blur",c);const p=Br(e,"onDestroy",n);p&&this.editor.on("destroy",p)}))}static resolve(e){const t=ss.sort(ss.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n));return[...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=Br(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage});return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){const t=100;return e.sort(((e,n)=>{const i=Br(e,"priority")||t,o=Br(n,"priority")||t;return i>o?-1:i<o?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=Br(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:Gr(t.name,this.schema)});return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=ss.sort([...this.extensions].reverse()),n=[],i=[],o=t.map((t=>{const o={name:t.name,options:t.options,storage:t.storage,editor:e,type:Gr(t.name,this.schema)},r=[],s=Br(t,"addKeyboardShortcuts",o);let a={};if("mark"===t.type&&t.config.exitable&&(a.ArrowRight=()=>ta.handleExit({editor:e,mark:t})),s){const t=Object.fromEntries(Object.entries(s()).map((([t,n])=>[t,()=>n({editor:e})])));a={...a,...t}}const l=new Xt({props:{handleKeyDown:Cr(a)}});r.push(l);const c=Br(t,"addInputRules",o);Jr(t,e.options.enableInputRules)&&c&&n.push(...c());const p=Br(t,"addPasteRules",o);Jr(t,e.options.enablePasteRules)&&p&&i.push(...p());const u=Br(t,"addProseMirrorPlugins",o);if(u){const e=u();r.push(...e)}return r})).flat();return[ts({editor:e,rules:n}),...rs({editor:e,rules:i}),...o]}get attributes(){return $r(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=Ur(this.extensions);return Object.fromEntries(t.filter((e=>!!Br(e,"addNodeView"))).map((t=>{const n=this.attributes.filter((e=>e.type===t.name)),i={name:t.name,options:t.options,storage:t.storage,editor:e,type:Hr(t.name,this.schema)},o=Br(t,"addNodeView",i);if(!o)return[];return[t.name,(i,r,s,a)=>{const l=Vr(i,n);return o()({editor:e,node:i,getPos:s,decorations:a,HTMLAttributes:l,extension:t})}]})))}}function as(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function ls(e,t){const n={...e};return as(e)&&as(t)&&Object.keys(t).forEach((i=>{as(t[i])?i in e?n[i]=ls(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})})),n}class cs{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&&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=Kr(Br(this,"addOptions",{name:this.name}))),this.storage=Kr(Br(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new cs(e)}configure(e={}){const t=this.extend();return t.options=ls(this.options,e),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new cs(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Kr(Br(t,"addOptions",{name:t.name})),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}}function ps(e,t,n){const{from:i,to:o}=t,{blockSeparator:r="\n\n",textSerializers:s={}}=n||{};let a="",l=!0;return e.nodesBetween(i,o,((e,n,c,p)=>{var u;const d=null==s?void 0:s[e.type.name];d?(e.isBlock&&!l&&(a+=r,l=!0),c&&(a+=d({node:e,pos:n,parent:c,index:p,range:t}))):e.isText?(a+=null===(u=null==e?void 0:e.text)||void 0===u?void 0:u.slice(Math.max(i,n)-n,o-n),l=!1):e.isBlock&&!l&&(a+=r,l=!0)})),a}function us(e){return Object.fromEntries(Object.entries(e.nodes).filter((([,e])=>e.spec.toText)).map((([e,t])=>[e,t.spec.toText])))}const ds=cs.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new Xt({key:new nn("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:i,selection:o}=t,{ranges:r}=o,s=Math.min(...r.map((e=>e.$from.pos))),a=Math.max(...r.map((e=>e.$to.pos)));return ps(i,{from:s,to:a},{textSerializers:us(n)})}}})]}});function hs(e,t,n={strict:!0}){const i=Object.keys(t);return!i.length||i.every((i=>n.strict?t[i]===e[i]:Zr(t[i])?t[i].test(e[i]):t[i]===e[i]))}function ms(e,t,n={}){return e.find((e=>e.type===t&&hs(e.attrs,n)))}function fs(e,t,n={}){return!!ms(e,t,n)}function gs(e,t,n={}){if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if(e.parentOffset===i.offset&&0!==i.offset&&(i=e.parent.childBefore(e.parentOffset)),!i.node)return;const o=ms([...i.node.marks],t,n);if(!o)return;let r=i.index,s=e.start()+i.offset,a=r+1,l=s+i.node.nodeSize;for(ms([...i.node.marks],t,n);r>0&&o.isInSet(e.parent.child(r-1).marks);)r-=1,s-=e.parent.child(r).nodeSize;for(;a<e.parent.childCount&&fs([...e.parent.child(a).marks],t,n);)l+=e.parent.child(a).nodeSize,a+=1;return{from:s,to:l}}function bs(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 vs(e){return e instanceof zt}function ys(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function xs(e,t=null){if(!t)return null;const n=St.atStart(e),i=St.atEnd(e);if("start"===t||!0===t)return n;if("end"===t)return i;const o=n.from,r=i.to;return"all"===t?zt.create(e,ys(0,o,r),ys(e.content.size,o,r)):zt.create(e,ys(t,o,r),ys(t,o,r))}function ws(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function ks(e){const t=`<body>${e}</body>`;return(new window.DOMParser).parseFromString(t,"text/html").body}function Es(e,t,n){if(n={slice:!0,parseOptions:{},...n},"object"==typeof e&&null!==e)try{return Array.isArray(e)?z.fromArray(e.map((e=>t.nodeFromJSON(e)))):t.nodeFromJSON(e)}catch(i){return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",i),Es("",t,n)}if("string"==typeof e){const i=Me.fromSchema(t);return n.slice?i.parseSlice(ks(e),n.parseOptions).content:i.parse(ks(e),n.parseOptions)}return Es("",t,n)}function _s(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function Ms(e,t,n={}){const{from:i,to:o,empty:r}=e.selection,s=t?Hr(t,e.schema):null,a=[];e.doc.nodesBetween(i,o,((e,t)=>{if(e.isText)return;const n=Math.max(i,t),r=Math.min(o,t+e.nodeSize);a.push({node:e,from:n,to:r})}));const l=o-i,c=a.filter((e=>!s||s.name===e.node.type.name)).filter((e=>hs(e.node.attrs,n,{strict:!1})));if(r)return!!c.length;return c.reduce(((e,t)=>e+t.to-t.from),0)>=l}function Cs(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function Ds(e,t){const n="string"==typeof t?[t]:t;return Object.keys(e).reduce(((t,i)=>(n.includes(i)||(t[i]=e[i]),t)),{})}function Os(e,t,n={}){return Es(e,t,{slice:!1,parseOptions:n})}function Ts(e,t){const n=[];return e.descendants(((e,i)=>{t(e)&&n.push({node:e,pos:i})})),n}function Ns(e){return t=>function(e,t){for(let n=e.depth;n>0;n-=1){const i=e.node(n);if(t(i))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:i}}}(t.$from,e)}function Ss(e,t){const n=bs(t,e.schema),{from:i,to:o,empty:r}=e.selection,s=[];r?(e.storedMarks&&s.push(...e.storedMarks),s.push(...e.selection.$head.marks())):e.doc.nodesBetween(i,o,(e=>{s.push(...e.marks)}));const a=s.find((e=>e.type.name===n.name));return a?{...a.attrs}:{}}function As(e,t){const n=Cs("string"==typeof t?t:t.name,e.schema);return"node"===n?function(e,t){const n=Hr(t,e.schema),{from:i,to:o}=e.selection,r=[];e.doc.nodesBetween(i,o,(e=>{r.push(e)}));const s=r.reverse().find((e=>e.type.name===n.name));return s?{...s.attrs}:{}}(e,t):"mark"===n?Ss(e,t):{}}function js(e){const t=function(e,t=JSON.stringify){const n={};return e.filter((e=>{const i=t(e);return!Object.prototype.hasOwnProperty.call(n,i)&&(n[i]=!0)}))}(e);return 1===t.length?t:t.filter(((e,n)=>{const i=t.filter(((e,t)=>t!==n));return!i.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 Is(e,t,n){const i=[];return e===t?n.resolve(e).marks().forEach((t=>{const o=gs(n.resolve(e-1),t.type);o&&i.push({mark:t,...o})})):n.nodesBetween(e,t,((e,t)=>{i.push(...e.marks.map((n=>({from:t,to:t+e.nodeSize,mark:n}))))})),i}function zs(e,t,n={}){const{empty:i,ranges:o}=e.selection,r=t?bs(t,e.schema):null;if(i)return!!(e.storedMarks||e.selection.$from.marks()).filter((e=>!r||r.name===e.type.name)).find((e=>hs(e.attrs,n,{strict:!1})));let s=0;const a=[];if(o.forEach((({$from:t,$to:n})=>{const i=t.pos,o=n.pos;e.doc.nodesBetween(i,o,((e,t)=>{if(!e.isText&&!e.marks.length)return;const n=Math.max(i,t),r=Math.min(o,t+e.nodeSize);s+=r-n,a.push(...e.marks.map((e=>({mark:e,from:n,to:r}))))}))})),0===s)return!1;const l=a.filter((e=>!r||r.name===e.mark.type.name)).filter((e=>hs(e.mark.attrs,n,{strict:!1}))).reduce(((e,t)=>e+t.to-t.from),0),c=a.filter((e=>!r||e.mark.type!==r&&e.mark.type.excludes(r))).reduce(((e,t)=>e+t.to-t.from),0);return(l>0?l+c:l)>=s}function Ls(e,t){const{nodeExtensions:n}=Ur(t),i=n.find((t=>t.name===e));if(!i)return!1;const o=Kr(Br(i,"group",{name:i.name,options:i.options,storage:i.storage}));return"string"==typeof o&&o.split(" ").includes("list")}function Rs(e,t,n){const i=0,o=e.state.doc.content.size,r=ys(t,i,o),s=ys(n,i,o),a=e.coordsAtPos(r),l=e.coordsAtPos(s,-1),c=Math.min(a.top,l.top),p=Math.max(a.bottom,l.bottom),u=Math.min(a.left,l.left),d=Math.max(a.right,l.right),h={top:c,bottom:p,left:u,right:d,width:d-u,height:p-c,x:u,y:c};return{...h,toJSON:()=>h}}function Fs(e,t,n){return Object.fromEntries(Object.entries(n).filter((([n])=>{const i=e.find((e=>e.type===t&&e.name===n));return!!i&&i.attribute.keepOnSplit})))}function Ps(e,t){const n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){const i=n.filter((e=>null==t?void 0:t.includes(e.type.name)));e.tr.ensureMarks(i)}}const Bs=(e,t)=>{const n=Ns((e=>e.type===t))(e.selection);if(!n)return!0;const i=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===i)return!0;const o=e.doc.nodeAt(i);return n.node.type!==(null==o?void 0:o.type)||!mt(e.doc,n.pos)||(e.join(n.pos),!0)},Us=(e,t)=>{const n=Ns((e=>e.type===t))(e.selection);if(!n)return!0;const i=e.doc.resolve(n.start).after(n.depth);if(void 0===i)return!0;const o=e.doc.nodeAt(i);return n.node.type!==(null==o?void 0:o.type)||!mt(e.doc,i)||(e.join(i),!0)};var $s=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame((()=>{var n;e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===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:i}=t,{ranges:o}=i;return!n||(o.forEach((({$from:n,$to:i})=>{e.doc.nodesBetween(n.pos,i.pos,((e,n)=>{if(e.type.isText)return;const{doc:i,mapping:o}=t,r=i.resolve(o.map(n)),s=i.resolve(o.map(n+e.nodeSize)),a=r.blockRange(s);if(!a)return;const l=pt(a);if(e.type.isTextblock){const{defaultType:e}=r.parent.contentMatchAt(r.index());t.setNodeMarkup(a.start,e)}(l||0===l)&&t.lift(a,l)}))})),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,{$from:i,$to:o}=n;if(n instanceof Pt||i.parent.inlineContent||o.parent.inlineContent)return!1;let r=Nr(o.parent.contentMatchAt(o.indexAfter()));if(!r||!r.isTextblock)return!1;if(t){let n=(!i.parentOffset&&o.index()<o.parent.childCount?i:o).pos,s=e.tr.insert(n,r.createAndFill());s.setSelection(zt.create(s.doc,n+1)),t(s.scrollIntoView())}return!0})(e,t),deleteNode:e=>({tr:t,state:n,dispatch:i})=>{const o=Hr(e,n.schema),r=t.selection.$anchor;for(let e=r.depth;e>0;e-=1){if(r.node(e).type===o){if(i){const n=r.before(e),i=r.after(e);t.delete(n,i).scrollIntoView()}return!0}}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{const{from:i,to:o}=e;return n&&t.delete(i,o),!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:i}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let o=n.node(-1),r=n.indexAfter(-1),s=Nr(o.contentMatchAt(r));if(!s||!o.canReplaceWith(r,r,s))return!1;if(t){let i=n.after(),o=e.tr.replaceWith(i,i,s.createAndFill());o.setSelection(St.near(o.doc.resolve(i),1)),t(o.scrollIntoView())}return!0})(e,t),extendMarkRange:(e,t={})=>({tr:n,state:i,dispatch:o})=>{const r=bs(e,i.schema),{doc:s,selection:a}=n,{$from:l,from:c,to:p}=a;if(o){const e=gs(l,r,t);if(e&&e.from<=c&&e.to>=p){const t=zt.create(s,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:i,tr:o,dispatch:r})=>{t={scrollIntoView:!0,...t};const s=()=>{ws()&&i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null==t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())}))};if(i.hasFocus()&&null===e||!1===e)return!0;if(r&&null===e&&!vs(n.state.selection))return s(),!0;const a=xs(o.doc,e)||n.state.selection,l=n.state.selection.eq(a);return r&&(l||o.setSelection(a),l&&o.storedMarks&&o.setStoredMarks(o.storedMarks),s()),!0},forEach:(e,t)=>n=>e.every(((e,i)=>t(e,{...n,index:i}))),insertContent:(e,t)=>({tr:n,commands:i})=>i.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:i,dispatch:o,editor:r})=>{if(o){n={parseOptions:{},updateSelection:!0,...n};const o=Es(t,r.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions}});if("<>"===o.toString())return!0;let{from:s,to:a}="number"==typeof e?{from:e,to:e}:e,l=!0,c=!0;if((o.toString().startsWith("<")?o:[o]).forEach((e=>{e.check(),l=!!l&&(e.isText&&0===e.marks.length),c=!!c&&e.isBlock})),s===a&&c){const{parent:e}=i.doc.resolve(s);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(s-=1,a+=1)}l?i.insertText(t,s,a):i.replaceWith(s,a,o),n.updateSelection&&function(e,t,n){const i=e.steps.length-1;if(i<t)return;const o=e.steps[i];if(!(o instanceof st||o instanceof at))return;const r=e.mapping.maps[i];let s=0;r.forEach(((e,t,n,i)=>{0===s&&(s=i)})),e.setSelection(St.near(e.doc.resolve(s),n))}(i,i.steps.length-1,-1)}return!0},joinBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$cursor:i}=e.selection;if(!i||(n?!n.endOfTextblock("backward",e):i.parentOffset>0))return!1;let o=Or(i);if(!o){let n=i.blockRange(),o=n&&pt(n);return null!=o&&(t&&t(e.tr.lift(n,o).scrollIntoView()),!0)}let r=o.nodeBefore;if(!r.type.spec.isolating&&Sr(e,o,t))return!0;if(0==i.parent.content.size&&(Dr(r,"end")||Rt.isSelectable(r))){let n=gt(e.doc,i.before(),i.after(),U.empty);if(n&&n.slice.size<n.to-n.from){if(t){let i=e.tr.step(n);i.setSelection(Dr(r,"end")?St.findFrom(i.doc.resolve(i.mapping.map(o.pos,-1)),-1):Rt.create(i.doc,o.pos-r.nodeSize)),t(i.scrollIntoView())}return!0}}return!(!r.isAtom||o.depth!=i.depth-1||(t&&t(e.tr.delete(o.pos-r.nodeSize,o.pos).scrollIntoView()),0))})(e,t),joinForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$cursor:i}=e.selection;if(!i||(n?!n.endOfTextblock("forward",e):i.parentOffset<i.parent.content.size))return!1;let o=Tr(i);if(!o)return!1;let r=o.nodeAfter;if(Sr(e,o,t))return!0;if(0==i.parent.content.size&&(Dr(r,"start")||Rt.isSelectable(r))){let n=gt(e.doc,i.before(),i.after(),U.empty);if(n&&n.slice.size<n.to-n.from){if(t){let i=e.tr.step(n);i.setSelection(Dr(r,"start")?St.findFrom(i.doc.resolve(i.mapping.map(o.pos)),1):Rt.create(i.doc,i.mapping.map(o.pos))),t(i.scrollIntoView())}return!0}}return!(!r.isAtom||o.depth!=i.depth-1||(t&&t(e.tr.delete(o.pos,o.pos+r.nodeSize).scrollIntoView()),0))})(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:i,dispatch:o})=>{const r=function(e){const t=e.split(/-(?!$)/);let n,i,o,r,s=t[t.length-1];"Space"===s&&(s=" ");for(let e=0;e<t.length-1;e+=1){const s=t[e];if(/^(cmd|meta|m)$/i.test(s))r=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))i=!0;else if(/^s(hift)?$/i.test(s))o=!0;else{if(!/^mod$/i.test(s))throw new Error(`Unrecognized modifier name: ${s}`);ws()||_s()?r=!0:i=!0}}return n&&(s=`Alt-${s}`),i&&(s=`Ctrl-${s}`),r&&(s=`Meta-${s}`),o&&(s=`Shift-${s}`),s}(e).split(/-(?!$)/),s=r.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),a=new KeyboardEvent("keydown",{key:"Space"===s?" ":s,altKey:r.includes("Alt"),ctrlKey:r.includes("Ctrl"),metaKey:r.includes("Meta"),shiftKey:r.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,a)))}));return null==l||l.steps.forEach((e=>{const t=e.map(i.mapping);t&&o&&i.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:i})=>!!Ms(n,Hr(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:i}=e.selection,o=n.blockRange(i),r=o&&pt(o);return null!=r&&(t&&t(e.tr.lift(o,r).scrollIntoView()),!0)})(n,i),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 i=n.before();if(ht(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&pt(i);return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)})(e,t),liftListItem:e=>({state:t,dispatch:n})=>Rr(Hr(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:i}=e.selection;return!(!n.parent.type.spec.code||!n.sameParent(i)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))})(e,t),resetAttributes:(e,t)=>({tr:n,state:i,dispatch:o})=>{let r=null,s=null;const a=Cs("string"==typeof e?e:e.name,i.schema);return!!a&&("node"===a&&(r=Hr(e,i.schema)),"mark"===a&&(s=bs(e,i.schema)),o&&n.selection.ranges.forEach((e=>{i.doc.nodesBetween(e.$from.pos,e.$to.pos,((e,i)=>{r&&r===e.type&&n.setNodeMarkup(i,void 0,Ds(e.attrs,t)),s&&e.marks.length&&e.marks.forEach((o=>{s===o.type&&n.addMark(i,i+e.nodeSize,s.create(Ds(o.attrs,t)))}))}))})),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),selectNodeBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:i,empty:o}=e.selection,r=i;if(!o)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):i.parentOffset>0)return!1;r=Or(i)}let s=r&&r.nodeBefore;return!(!s||!Rt.isSelectable(s)||(t&&t(e.tr.setSelection(Rt.create(e.doc,r.pos-s.nodeSize)).scrollIntoView()),0))})(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let{$head:i,empty:o}=e.selection,r=i;if(!o)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):i.parentOffset<i.parent.content.size)return!1;r=Tr(i)}let s=r&&r.nodeAfter;return!(!s||!Rt.isSelectable(s)||(t&&t(e.tr.setSelection(Rt.create(e.doc,r.pos)).scrollIntoView()),0))})(e,t),selectParentNode:()=>({state:e,dispatch:t})=>((e,t)=>{let n,{$from:i,to:o}=e.selection,r=i.sharedDepth(o);return 0!=r&&(n=i.before(r),t&&t(e.tr.setSelection(Rt.create(e.doc,n))),!0)})(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>Ir(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>jr(e,t),setContent:(e,t=!1,n={})=>({tr:i,editor:o,dispatch:r})=>{const{doc:s}=i,a=Os(e,o.schema,n);return r&&i.replaceWith(0,s.content.size,a).setMeta("preventUpdate",!t),!0},setMark:(e,t={})=>({tr:n,state:i,dispatch:o})=>{const{selection:r}=n,{empty:s,ranges:a}=r,l=bs(e,i.schema);if(o)if(s){const e=Ss(i,l);n.addStoredMark(l.create({...e,...t}))}else a.forEach((e=>{const o=e.$from.pos,r=e.$to.pos;i.doc.nodesBetween(o,r,((e,i)=>{const s=Math.max(i,o),a=Math.min(i+e.nodeSize,r);e.marks.find((e=>e.type===l))?e.marks.forEach((e=>{l===e.type&&n.addMark(s,a,l.create({...e.attrs,...t}))})):n.addMark(s,a,l.create(t))}))}));return function(e,t,n){var i;const{selection:o}=t;let r=null;if(vs(o)&&(r=o.$cursor),r){const t=null!==(i=e.storedMarks)&&void 0!==i?i:r.marks();return!!n.isInSet(t)||!t.some((e=>e.type.excludes(n)))}const{ranges:s}=o;return s.some((({$from:t,$to:i})=>{let o=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,i.pos,((e,t,i)=>{if(o)return!1;if(e.isInline){const t=!i||i.type.allowsMarkType(n),r=!!n.isInSet(e.marks)||!e.marks.some((e=>e.type.excludes(n)));o=t&&r}return!o})),o}))}(i,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:i,chain:o})=>{const r=Hr(e,n.schema);return r.isTextblock?o().command((({commands:e})=>!!zr(r,t)(n)||e.clearNodes())).command((({state:e})=>zr(r,t)(e,i))).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,i=ys(e,0,n.content.size),o=Rt.create(n,i);t.setSelection(o)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){const{doc:n}=t,{from:i,to:o}="number"==typeof e?{from:e,to:e}:e,r=zt.atStart(n).from,s=zt.atEnd(n).to,a=ys(i,r,s),l=ys(o,r,s),c=zt.create(n,a,l);t.setSelection(c)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{const i=Hr(e,t.schema);return(o=i,function(e,t){let{$from:n,$to:i}=e.selection,r=n.blockRange(i,(e=>e.childCount>0&&e.firstChild.type==o));if(!r)return!1;let s=r.startIndex;if(0==s)return!1;let a=r.parent,l=a.child(s-1);if(l.type!=o)return!1;if(t){let n=l.lastChild&&l.lastChild.type==a.type,i=z.from(n?o.create():null),s=new U(z.from(o.create(null,z.from(a.type.create(null,i)))),n?3:1,0),c=r.start,p=r.end;t(e.tr.step(new at(c-(n?3:1),p,c,p,s,1,!0)).scrollIntoView())}return!0})(t,n);var o},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:i,editor:o})=>{const{selection:r,doc:s}=t,{$from:a,$to:l}=r,c=Fs(o.extensionManager.attributes,a.node().type.name,a.node().attrs);if(r instanceof Rt&&r.node.isBlock)return!(!a.parentOffset||!ht(s,a.pos))&&(i&&(e&&Ps(n,o.extensionManager.splittableMarks),t.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;if(i){const i=l.parentOffset===l.parent.content.size;r instanceof zt&&t.deleteSelection();const s=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 p=i&&s?[{type:s,attrs:c}]:void 0,u=ht(t.doc,t.mapping.map(a.pos),1,p);if(p||u||!ht(t.doc,t.mapping.map(a.pos),1,s?[{type:s}]:void 0)||(u=!0,p=s?[{type:s,attrs:c}]:void 0),u&&(t.split(t.mapping.map(a.pos),1,p),s&&!i&&!a.parentOffset&&a.parent.type!==s)){const e=t.mapping.map(a.before()),n=t.doc.resolve(e);a.node(-1).canReplaceWith(n.index(),n.index()+1,s)&&t.setNodeMarkup(t.mapping.map(a.before()),s)}e&&Ps(n,o.extensionManager.splittableMarks),t.scrollIntoView()}return!0},splitListItem:e=>({tr:t,state:n,dispatch:i,editor:o})=>{var r;const s=Hr(e,n.schema),{$from:a,$to:l}=n.selection,c=n.selection.node;if(c&&c.isBlock||a.depth<2||!a.sameParent(l))return!1;const p=a.node(-1);if(p.type!==s)return!1;const u=o.extensionManager.attributes;if(0===a.parent.content.size&&a.node(-1).childCount===a.indexAfter(-1)){if(2===a.depth||a.node(-3).type!==s||a.index(-2)!==a.node(-2).childCount-1)return!1;if(i){let e=z.empty;const n=a.index(-1)?1:a.index(-2)?2:3;for(let t=a.depth-n;t>=a.depth-3;t-=1)e=z.from(a.node(t).copy(e));const i=a.indexAfter(-1)<a.node(-2).childCount?1:a.indexAfter(-2)<a.node(-3).childCount?2:3,o=Fs(u,a.node().type.name,a.node().attrs),l=(null===(r=s.contentMatch.defaultType)||void 0===r?void 0:r.createAndFill(o))||void 0;e=e.append(z.from(s.createAndFill(null,l)||void 0));const c=a.before(a.depth-(n-1));t.replace(c,a.after(-i),new U(e,4-n,0));let p=-1;t.doc.nodesBetween(c,t.doc.content.size,((e,t)=>{if(p>-1)return!1;e.isTextblock&&0===e.content.size&&(p=t+1)})),p>-1&&t.setSelection(zt.near(t.doc.resolve(p))),t.scrollIntoView()}return!0}const d=l.pos===a.end()?p.contentMatchAt(0).defaultType:null,h=Fs(u,p.type.name,p.attrs),m=Fs(u,a.node().type.name,a.node().attrs);t.delete(a.pos,l.pos);const f=d?[{type:s,attrs:h},{type:d,attrs:m}]:[{type:s,attrs:h}];return!!ht(t.doc,a.pos,2)&&(i&&t.split(a.pos,2,f).scrollIntoView(),!0)},toggleList:(e,t)=>({editor:n,tr:i,state:o,dispatch:r,chain:s,commands:a,can:l})=>{const{extensions:c}=n.extensionManager,p=Hr(e,o.schema),u=Hr(t,o.schema),{selection:d}=o,{$from:h,$to:m}=d,f=h.blockRange(m);if(!f)return!1;const g=Ns((e=>Ls(e.type.name,c)))(d);if(f.depth>=1&&g&&f.depth-g.depth<=1){if(g.node.type===p)return a.liftListItem(u);if(Ls(g.node.type.name,c)&&p.validContent(g.node.content)&&r)return s().command((()=>(i.setNodeMarkup(g.pos,p),!0))).command((()=>Bs(i,p))).command((()=>Us(i,p))).run()}return s().command((()=>!!l().wrapInList(p)||a.clearNodes())).wrapInList(p).command((()=>Bs(i,p))).command((()=>Us(i,p))).run()},toggleMark:(e,t={},n={})=>({state:i,commands:o})=>{const{extendEmptyMarkRange:r=!1}=n,s=bs(e,i.schema);return zs(i,s,t)?o.unsetMark(s,{extendEmptyMarkRange:r}):o.setMark(s,t)},toggleNode:(e,t,n={})=>({state:i,commands:o})=>{const r=Hr(e,i.schema),s=Hr(t,i.schema);return Ms(i,r,n)?o.setNode(s):o.setNode(r,n)},toggleWrap:(e,t={})=>({state:n,commands:i})=>{const o=Hr(e,n.schema);return Ms(n,o,t)?i.lift(o):i.wrapIn(o,t)},undoInputRule:()=>({state:e,dispatch:t})=>{const n=e.plugins;for(let i=0;i<n.length;i+=1){const o=n[i];let r;if(o.spec.isInputRules&&(r=o.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:i,ranges:o}=n;return i||t&&o.forEach((t=>{e.removeMark(t.$from.pos,t.$to.pos)})),!0},unsetMark:(e,t={})=>({tr:n,state:i,dispatch:o})=>{var r;const{extendEmptyMarkRange:s=!1}=t,{selection:a}=n,l=bs(e,i.schema),{$from:c,empty:p,ranges:u}=a;if(!o)return!0;if(p&&s){let{from:e,to:t}=a;const i=null===(r=c.marks().find((e=>e.type===l)))||void 0===r?void 0:r.attrs,o=gs(c,l,i);o&&(e=o.from,t=o.to),n.removeMark(e,t,l)}else u.forEach((e=>{n.removeMark(e.$from.pos,e.$to.pos,l)}));return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:i,dispatch:o})=>{let r=null,s=null;const a=Cs("string"==typeof e?e:e.name,i.schema);return!!a&&("node"===a&&(r=Hr(e,i.schema)),"mark"===a&&(s=bs(e,i.schema)),o&&n.selection.ranges.forEach((e=>{const o=e.$from.pos,a=e.$to.pos;i.doc.nodesBetween(o,a,((e,i)=>{r&&r===e.type&&n.setNodeMarkup(i,void 0,{...e.attrs,...t}),s&&e.marks.length&&e.marks.forEach((r=>{if(s===r.type){const l=Math.max(i,o),c=Math.min(i+e.nodeSize,a);n.addMark(l,c,s.create({...r.attrs,...t}))}}))}))})),!0)},wrapIn:(e,t={})=>({state:n,dispatch:i})=>function(e,t=null){return function(n,i){let{$from:o,$to:r}=n.selection,s=o.blockRange(r),a=s&&ut(s,e,t);return!!a&&(i&&i(n.tr.wrap(s,a).scrollIntoView()),!0)}}(Hr(e,n.schema),t)(n,i),wrapInList:(e,t={})=>({state:n,dispatch:i})=>Lr(Hr(e,n.schema),t)(n,i)});const Hs=cs.create({name:"commands",addCommands:()=>({...$s})}),qs=cs.create({name:"editable",addProseMirrorPlugins(){return[new Xt({key:new nn("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Vs=cs.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new Xt({key:new nn("focusEvents"),props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;const i=e.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return t.dispatch(i),!1},blur:(t,n)=>{e.isFocused=!1;const i=e.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return t.dispatch(i),!1}}}})]}}),Ws=cs.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first((({commands:e})=>[()=>e.undoInputRule(),()=>e.command((({tr:t})=>{const{selection:n,doc:i}=t,{empty:o,$anchor:r}=n,{pos:s,parent:a}=r,l=St.atStart(i).from===s;return!(!(o&&l&&a.type.isTextblock)||a.textContent.length)&&e.clearNodes()})),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()])),t=()=>this.editor.commands.first((({commands:e})=>[()=>e.deleteSelection(),()=>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()},i={...n},o={...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 ws()||_s()?o:i},addProseMirrorPlugins(){return[new Xt({key:new nn("clearDocument"),appendTransaction:(e,t,n)=>{if(!(e.some((e=>e.docChanged))&&!t.doc.eq(n.doc)))return;const{empty:i,from:o,to:r}=t.selection,s=St.atStart(t.doc).from,a=St.atEnd(t.doc).to,l=o===s&&r===a,c=0===n.doc.textBetween(0,n.doc.content.size," "," ").length;if(i||!l||!c)return;const p=n.tr,u=Fr({state:n,transaction:p}),{commands:d}=new Pr({editor:this.editor,state:u});return d.clearNodes(),p.steps.length?p:void 0}})]}}),Ks=cs.create({name:"tabindex",addProseMirrorPlugins(){return[new Xt({key:new nn("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var Ys=Object.freeze({__proto__:null,ClipboardTextSerializer:ds,Commands:Hs,Editable:qs,FocusEvents:Vs,Keymap:Ws,Tabindex:Ks});const Qs=`.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: 1px !important;\n height: 1px !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}`;function Gs(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i);if(!1===o||null===o)return null;const{tr:r}=t,s=i[i.length-1],a=i[0];let l=n.to;if(s){const i=a.search(/\S/),c=n.from+a.indexOf(s),p=c+s.length,u=Is(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>c));if(u.length)return null;p<n.to&&r.delete(p,n.to),c>n.from&&r.delete(n.from+i,c),l=n.from+i+s.length,r.addMark(n.from+i,l,e.type.create(o||{})),r.removeStoredMark(e.type)}}})}function Js(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i)||{},{tr:r}=t,s=n.from;let a=n.to;if(i[1]){let t=s+i[0].lastIndexOf(i[1]);t>a?t=a:a=t+i[1].length;const n=i[0][i[0].length-1];r.insertText(n,s+i[0].length-1),r.replaceWith(t,a,e.type.create(o))}else i[0]&&r.replaceWith(s,a,e.type.create(o))}})}function Zs(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=t.doc.resolve(n.from),r=Kr(e.getAttributes,void 0,i)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,r)}})}function Xs(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{let o=e.replace,r=n.from;const s=n.to;if(i[1]){const e=i[0].lastIndexOf(i[1]);o+=i[0].slice(e+i[1].length),r+=e;const t=r-s;t>0&&(o=i[0].slice(e-t,e)+o,r=s)}t.tr.insertText(o,r,s)}})}function ea(e){return new Xr({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i)||{},r=t.tr.delete(n.from,n.to),s=r.doc.resolve(n.from).blockRange(),a=s&&ut(s,e.type,o);if(!a)return null;r.wrap(s,a);const l=r.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&mt(r.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(i,l))&&r.join(n.from-1)}})}class ta{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&&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=Kr(Br(this,"addOptions",{name:this.name}))),this.storage=Kr(Br(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new ta(e)}configure(e={}){const t=this.extend();return t.options=ls(this.options,e),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new ta(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Kr(Br(t,"addOptions",{name:t.name})),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,i=e.state.selection.$from;if(i.pos===i.end()){const o=i.marks(),r=!!o.find((e=>(null==e?void 0:e.type.name)===t.name));if(!r)return!1;const s=o.find((e=>(null==e?void 0:e.type.name)===t.name));return s&&n.removeStoredMark(s),n.insertText(" ",i.pos),e.view.dispatch(n),!0}return!1}}class na{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&&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=Kr(Br(this,"addOptions",{name:this.name}))),this.storage=Kr(Br(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new na(e)}configure(e={}){const t=this.extend();return t.options=ls(this.options,e),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new na(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Kr(Br(t,"addOptions",{name:t.name})),t.storage=Kr(Br(t,"addStorage",{name:t.name,options:t.options})),t}}function ia(e){return new ns({find:e.find,handler:({state:t,range:n,match:i})=>{const o=Kr(e.getAttributes,void 0,i);if(!1===o||null===o)return null;const{tr:r}=t,s=i[i.length-1],a=i[0];let l=n.to;if(s){const i=a.search(/\S/),c=n.from+a.indexOf(s),p=c+s.length,u=Is(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>c));if(u.length)return null;p<n.to&&r.delete(p,n.to),c>n.from&&r.delete(n.from+i,c),l=n.from+i+s.length,r.addMark(n.from+i,l,e.type.create(o||{})),r.removeStoredMark(e.type)}}})}function oa(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var ra="top",sa="bottom",aa="right",la="left",ca="auto",pa=[ra,sa,aa,la],ua="start",da="end",ha="clippingParents",ma="viewport",fa="popper",ga="reference",ba=pa.reduce((function(e,t){return e.concat([t+"-"+ua,t+"-"+da])}),[]),va=[].concat(pa,[ca]).reduce((function(e,t){return e.concat([t,t+"-"+ua,t+"-"+da])}),[]),ya=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function xa(e){return e?(e.nodeName||"").toLowerCase():null}function wa(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ka(e){return e instanceof wa(e).Element||e instanceof Element}function Ea(e){return e instanceof wa(e).HTMLElement||e instanceof HTMLElement}function _a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof wa(e).ShadowRoot||e instanceof ShadowRoot)}var Ma={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];Ea(o)&&xa(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ea(i)&&xa(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ca(e){return e.split("-")[0]}var Da=Math.max,Oa=Math.min,Ta=Math.round;function Na(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Sa(){return!/^((?!chrome|android).)*safari/i.test(Na())}function Aa(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&Ea(e)&&(o=e.offsetWidth>0&&Ta(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&Ta(i.height)/e.offsetHeight||1);var s=(ka(e)?wa(e):window).visualViewport,a=!Sa()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,p=i.width/o,u=i.height/r;return{width:p,height:u,top:c,right:l+p,bottom:c+u,left:l,x:l,y:c}}function ja(e){var t=Aa(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Ia(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_a(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function za(e){return wa(e).getComputedStyle(e)}function La(e){return["table","td","th"].indexOf(xa(e))>=0}function Ra(e){return((ka(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fa(e){return"html"===xa(e)?e:e.assignedSlot||e.parentNode||(_a(e)?e.host:null)||Ra(e)}function Pa(e){return Ea(e)&&"fixed"!==za(e).position?e.offsetParent:null}function Ba(e){for(var t=wa(e),n=Pa(e);n&&La(n)&&"static"===za(n).position;)n=Pa(n);return n&&("html"===xa(n)||"body"===xa(n)&&"static"===za(n).position)?t:n||function(e){var t=/firefox/i.test(Na());if(/Trident/i.test(Na())&&Ea(e)&&"fixed"===za(e).position)return null;var n=Fa(e);for(_a(n)&&(n=n.host);Ea(n)&&["html","body"].indexOf(xa(n))<0;){var i=za(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Ua(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $a(e,t,n){return Da(e,Oa(t,n))}function Ha(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function qa(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Va={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ca(n.placement),l=Ua(a),c=[la,aa].indexOf(a)>=0?"height":"width";if(r&&s){var p=function(e,t){return Ha("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:qa(e,pa))}(o.padding,n),u=ja(r),d="y"===l?ra:la,h="y"===l?sa:aa,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],f=s[l]-n.rects.reference[l],g=Ba(r),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=m/2-f/2,y=p[d],x=b-u[c]-p[h],w=b/2-u[c]/2+v,k=$a(y,w,x),E=l;n.modifiersData[i]=((t={})[E]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ia(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wa(e){return e.split("-")[1]}var Ka={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ya(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,u=e.isFixed,d=s.x,h=void 0===d?0:d,m=s.y,f=void 0===m?0:m,g="function"==typeof p?p({x:h,y:f}):{x:h,y:f};h=g.x,f=g.y;var b=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),y=la,x=ra,w=window;if(c){var k=Ba(n),E="clientHeight",_="clientWidth";if(k===wa(n)&&"static"!==za(k=Ra(n)).position&&"absolute"===a&&(E="scrollHeight",_="scrollWidth"),o===ra||(o===la||o===aa)&&r===da)x=sa,f-=(u&&k===w&&w.visualViewport?w.visualViewport.height:k[E])-i.height,f*=l?1:-1;if(o===la||(o===ra||o===sa)&&r===da)y=aa,h-=(u&&k===w&&w.visualViewport?w.visualViewport.width:k[_])-i.width,h*=l?1:-1}var M,C=Object.assign({position:a},c&&Ka),D=!0===p?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:Ta(t*i)/i||0,y:Ta(n*i)/i||0}}({x:h,y:f}):{x:h,y:f};return h=D.x,f=D.y,l?Object.assign({},C,((M={})[x]=v?"0":"",M[y]=b?"0":"",M.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+f+"px)":"translate3d("+h+"px, "+f+"px, 0)",M)):Object.assign({},C,((t={})[x]=v?f+"px":"",t[y]=b?h+"px":"",t.transform="",t))}var Qa={passive:!0};var Ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=wa(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,Qa)})),a&&l.addEventListener("resize",n.update,Qa),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Qa)})),a&&l.removeEventListener("resize",n.update,Qa)}},data:{}},Ja={left:"right",right:"left",bottom:"top",top:"bottom"};function Za(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ja[e]}))}var Xa={start:"end",end:"start"};function el(e){return e.replace(/start|end/g,(function(e){return Xa[e]}))}function tl(e){var t=wa(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function nl(e){return Aa(Ra(e)).left+tl(e).scrollLeft}function il(e){var t=za(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function ol(e){return["html","body","#document"].indexOf(xa(e))>=0?e.ownerDocument.body:Ea(e)&&il(e)?e:ol(Fa(e))}function rl(e,t){var n;void 0===t&&(t=[]);var i=ol(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=wa(i),s=o?[r].concat(r.visualViewport||[],il(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(rl(Fa(s)))}function sl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function al(e,t,n){return t===ma?sl(function(e,t){var n=wa(e),i=Ra(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=Sa();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+nl(e),y:l}}(e,n)):ka(t)?function(e,t){var n=Aa(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):sl(function(e){var t,n=Ra(e),i=tl(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=Da(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Da(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+nl(e),l=-i.scrollTop;return"rtl"===za(o||n).direction&&(a+=Da(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(Ra(e)))}function ll(e,t,n,i){var o="clippingParents"===t?function(e){var t=rl(Fa(e)),n=["absolute","fixed"].indexOf(za(e).position)>=0&&Ea(e)?Ba(e):e;return ka(n)?t.filter((function(e){return ka(e)&&Ia(e,n)&&"body"!==xa(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(t,n){var o=al(e,n,i);return t.top=Da(o.top,t.top),t.right=Oa(o.right,t.right),t.bottom=Oa(o.bottom,t.bottom),t.left=Da(o.left,t.left),t}),al(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function cl(e){var t,n=e.reference,i=e.element,o=e.placement,r=o?Ca(o):null,s=o?Wa(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case ra:t={x:a,y:n.y-i.height};break;case sa:t={x:a,y:n.y+n.height};break;case aa:t={x:n.x+n.width,y:l};break;case la:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Ua(r):null;if(null!=c){var p="y"===c?"height":"width";switch(s){case ua:t[c]=t[c]-(n[p]/2-i[p]/2);break;case da:t[c]=t[c]+(n[p]/2-i[p]/2)}}return t}function pl(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,l=void 0===a?ha:a,c=n.rootBoundary,p=void 0===c?ma:c,u=n.elementContext,d=void 0===u?fa:u,h=n.altBoundary,m=void 0!==h&&h,f=n.padding,g=void 0===f?0:f,b=Ha("number"!=typeof g?g:qa(g,pa)),v=d===fa?ga:fa,y=e.rects.popper,x=e.elements[m?v:d],w=ll(ka(x)?x:x.contextElement||Ra(e.elements.popper),l,p,s),k=Aa(e.elements.reference),E=cl({reference:k,element:y,strategy:"absolute",placement:o}),_=sl(Object.assign({},y,E)),M=d===fa?_:k,C={top:w.top-M.top+b.top,bottom:M.bottom-w.bottom+b.bottom,left:w.left-M.left+b.left,right:M.right-w.right+b.right},D=e.modifiersData.offset;if(d===fa&&D){var O=D[o];Object.keys(C).forEach((function(e){var t=[aa,sa].indexOf(e)>=0?1:-1,n=[ra,sa].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}function ul(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?va:l,p=Wa(i),u=p?a?ba:ba.filter((function(e){return Wa(e)===p})):pa,d=u.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=u);var h=d.reduce((function(t,n){return t[n]=pl(e,{placement:n,boundary:o,rootBoundary:r,padding:s})[Ca(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}var dl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,p=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=void 0===h||h,f=n.allowedAutoPlacements,g=t.options.placement,b=Ca(g),v=l||(b===g||!m?[Za(g)]:function(e){if(Ca(e)===ca)return[];var t=Za(e);return[el(e),t,el(t)]}(g)),y=[g].concat(v).reduce((function(e,n){return e.concat(Ca(n)===ca?ul(t,{placement:n,boundary:p,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:f}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,E=!0,_=y[0],M=0;M<y.length;M++){var C=y[M],D=Ca(C),O=Wa(C)===ua,T=[ra,sa].indexOf(D)>=0,N=T?"width":"height",S=pl(t,{placement:C,boundary:p,rootBoundary:u,altBoundary:d,padding:c}),A=T?O?aa:la:O?sa:ra;x[N]>w[N]&&(A=Za(A));var j=Za(A),I=[];if(r&&I.push(S[D]<=0),a&&I.push(S[A]<=0,S[j]<=0),I.every((function(e){return e}))){_=C,E=!1;break}k.set(C,I)}if(E)for(var z=function(e){var t=y.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},L=m?3:1;L>0;L--){if("break"===z(L))break}t.placement!==_&&(t.modifiersData[i]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function hl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ml(e){return[ra,aa,sa,la].some((function(t){return e[t]>=0}))}var fl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=pl(t,{elementContext:"reference"}),a=pl(t,{altBoundary:!0}),l=hl(s,i),c=hl(a,o,r),p=ml(l),u=ml(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":u})}};var gl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=void 0===o?[0,0]:o,s=va.reduce((function(e,n){return e[n]=function(e,t,n){var i=Ca(e),o=[la,ra].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[la,aa].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var bl={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=cl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var vl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,p=n.altBoundary,u=n.padding,d=n.tether,h=void 0===d||d,m=n.tetherOffset,f=void 0===m?0:m,g=pl(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:p}),b=Ca(t.placement),v=Wa(t.placement),y=!v,x=Ua(b),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,E=t.rects.reference,_=t.rects.popper,M="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,C="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(k){if(r){var T,N="y"===x?ra:la,S="y"===x?sa:aa,A="y"===x?"height":"width",j=k[x],I=j+g[N],z=j-g[S],L=h?-_[A]/2:0,R=v===ua?E[A]:_[A],F=v===ua?-_[A]:-E[A],P=t.elements.arrow,B=h&&P?ja(P):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=U[N],H=U[S],q=$a(0,E[A],B[A]),V=y?E[A]/2-L-q-$-C.mainAxis:R-q-$-C.mainAxis,W=y?-E[A]/2+L+q+H+C.mainAxis:F+q+H+C.mainAxis,K=t.elements.arrow&&Ba(t.elements.arrow),Y=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,Q=null!=(T=null==D?void 0:D[x])?T:0,G=j+W-Q,J=$a(h?Oa(I,j+V-Q-Y):I,j,h?Da(z,G):z);k[x]=J,O[x]=J-j}if(a){var Z,X="x"===x?ra:la,ee="x"===x?sa:aa,te=k[w],ne="y"===w?"height":"width",ie=te+g[X],oe=te-g[ee],re=-1!==[ra,la].indexOf(b),se=null!=(Z=null==D?void 0:D[w])?Z:0,ae=re?ie:te-E[ne]-_[ne]-se+C.altAxis,le=re?te+E[ne]+_[ne]-se-C.altAxis:oe,ce=h&&re?function(e,t,n){var i=$a(e,t,n);return i>n?n:i}(ae,te,le):$a(h?ae:ie,te,h?le:oe);k[w]=ce,O[w]=ce-te}t.modifiersData[i]=O}},requiresIfExists:["offset"]};function yl(e,t,n){void 0===n&&(n=!1);var i=Ea(t),o=Ea(t)&&function(e){var t=e.getBoundingClientRect(),n=Ta(t.width)/e.offsetWidth||1,i=Ta(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),r=Ra(t),s=Aa(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==xa(t)||il(r))&&(a=function(e){return e!==wa(e)&&Ea(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:tl(e);var t}(t)),Ea(t)?((l=Aa(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=nl(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function xl(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var wl={placement:"bottom",modifiers:[],strategy:"absolute"};function kl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function El(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?wl:o;return function(e,t,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},wl,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,p={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:ka(e)?rl(e):e.contextElement?rl(e.contextElement):[],popper:rl(t)};var s=function(e){var t=xl(e);return ya.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(i,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:a,name:t,instance:p,options:i}),s=function(){};l.push(r||s)}})),p.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(kl(t,n)){a.rects={reference:yl(t,Ba(n),"fixed"===a.options.strategy),popper:ja(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,l=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:l,name:u,instance:p})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){u(),c=!0}};if(!kl(e,t))return p;function u(){l.forEach((function(e){return e()})),l=[]}return p.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var _l=El({defaultModifiers:[Ga,bl,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:Ca(t.placement),variation:Wa(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ya(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ya(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ma,gl,dl,vl,Va,fl]}),Ml='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',Cl="tippy-box",Dl="tippy-content",Ol="tippy-backdrop",Tl="tippy-arrow",Nl="tippy-svg-arrow",Sl={passive:!0,capture:!0},Al=function(){return document.body};function jl(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function Il(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function zl(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ll(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function Rl(e){return[].concat(e)}function Fl(e,t){-1===e.indexOf(t)&&e.push(t)}function Pl(e){return[].slice.call(e)}function Bl(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ul(){return document.createElement("div")}function $l(e){return["Element","Fragment"].some((function(t){return Il(e,t)}))}function Hl(e){return Il(e,"MouseEvent")}function ql(e){return $l(e)?[e]:function(e){return Il(e,"NodeList")}(e)?Pl(e):Array.isArray(e)?e:Pl(document.querySelectorAll(e))}function Vl(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Wl(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Kl(e){var t,n=Rl(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function Yl(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}function Ql(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var Gl={isTouch:!1},Jl=0;function Zl(){Gl.isTouch||(Gl.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xl))}function Xl(){var e=performance.now();e-Jl<20&&(Gl.isTouch=!1,document.removeEventListener("mousemove",Xl)),Jl=e}function ec(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var tc=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto,nc=Object.assign({appendTo:Al,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ic=Object.keys(nc);function oc(e){var t=(e.plugins||[]).reduce((function(t,n){var i,o=n.name,r=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(i=nc[o])?i:r);return t}),{});return Object.assign({},e,t)}function rc(e,t){var n=Object.assign({},t,{content:zl(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(oc(Object.assign({},nc,{plugins:t}))):ic).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},nc.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function sc(e,t){e["innerHTML"]=t}function ac(e){var t=Ul();return!0===e?t.className=Tl:(t.className=Nl,$l(e)?t.appendChild(e):sc(t,e)),t}function lc(e,t){$l(t.content)?(sc(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?sc(e,t.content):e.textContent=t.content)}function cc(e){var t=e.firstElementChild,n=Pl(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(Dl)})),arrow:n.find((function(e){return e.classList.contains(Tl)||e.classList.contains(Nl)})),backdrop:n.find((function(e){return e.classList.contains(Ol)}))}}function pc(e){var t=Ul(),n=Ul();n.className=Cl,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Ul();function o(n,i){var o=cc(t),r=o.box,s=o.content,a=o.arrow;i.theme?r.setAttribute("data-theme",i.theme):r.removeAttribute("data-theme"),"string"==typeof i.animation?r.setAttribute("data-animation",i.animation):r.removeAttribute("data-animation"),i.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?r.setAttribute("role",i.role):r.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||lc(s,e.props),i.arrow?a?n.arrow!==i.arrow&&(r.removeChild(a),r.appendChild(ac(i.arrow))):r.appendChild(ac(i.arrow)):a&&r.removeChild(a)}return i.className=Dl,i.setAttribute("data-state","hidden"),lc(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props),{popper:t,onUpdate:o}}pc.$$tippy=!0;var uc=1,dc=[],hc=[];function mc(e,t){var n,i,o,r,s,a,l,c,p=rc(e,Object.assign({},nc,oc(Bl(t)))),u=!1,d=!1,h=!1,m=!1,f=[],g=Ll(K,p.interactiveDebounce),b=uc++,v=(c=p.plugins).filter((function(e,t){return c.indexOf(e)===t})),y={id:b,reference:e,popper:Ul(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(o)},setProps:function(t){if(y.state.isDestroyed)return;j("onBeforeUpdate",[y,t]),V();var n=y.props,i=rc(e,Object.assign({},n,Bl(t),{ignoreAttributes:!0}));y.props=i,q(),n.interactiveDebounce!==i.interactiveDebounce&&(L(),g=Ll(K,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?Rl(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");z(),A(),k&&k(n,i);y.popperInstance&&(J(),X().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));j("onAfterUpdate",[y,t])},setContent:function(e){y.setProps({content:e})},show:function(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,i=Gl.isTouch&&!y.props.touch,o=jl(y.props.duration,0,nc.duration);if(e||t||n||i)return;if(O().hasAttribute("disabled"))return;if(j("onShow",[y],!1),!1===y.props.onShow(y))return;y.state.isVisible=!0,D()&&(w.style.visibility="visible");A(),B(),y.state.isMounted||(w.style.transition="none");if(D()){var r=N(),s=r.box,l=r.content;Vl([s,l],0)}a=function(){var e;if(y.state.isVisible&&!m){if(m=!0,w.offsetHeight,w.style.transition=y.props.moveTransition,D()&&y.props.animation){var t=N(),n=t.box,i=t.content;Vl([n,i],o),Wl([n,i],"visible")}I(),z(),Fl(hc,y),null==(e=y.popperInstance)||e.forceUpdate(),j("onMount",[y]),y.props.animation&&D()&&function(e,t){$(e,t)}(o,(function(){y.state.isShown=!0,j("onShown",[y])}))}},function(){var e,t=y.props.appendTo,n=O();e=y.props.interactive&&t===Al||"parent"===t?n.parentNode:zl(t,[n]);e.contains(w)||e.appendChild(w);y.state.isMounted=!0,J()}()},hide:function(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,i=jl(y.props.duration,1,nc.duration);if(e||t||n)return;if(j("onHide",[y],!1),!1===y.props.onHide(y))return;y.state.isVisible=!1,y.state.isShown=!1,m=!1,u=!1,D()&&(w.style.visibility="hidden");if(L(),U(),A(!0),D()){var o=N(),r=o.box,s=o.content;y.props.animation&&(Vl([r,s],i),Wl([r,s],"hidden"))}I(),z(),y.props.animation?D()&&function(e,t){$(e,(function(){!y.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(i,y.unmount):y.unmount()},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),Fl(dc,g),g(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){y.state.isVisible&&y.hide();if(!y.state.isMounted)return;Z(),X().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w);hc=hc.filter((function(e){return e!==y})),y.state.isMounted=!1,j("onHidden",[y])},destroy:function(){if(y.state.isDestroyed)return;y.clearDelayTimeouts(),y.unmount(),V(),delete e._tippy,y.state.isDestroyed=!0,j("onDestroy",[y])}};if(!p.render)return y;var x=p.render(y),w=x.popper,k=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+y.id,y.popper=w,e._tippy=y,w._tippy=y;var E=v.map((function(e){return e.fn(y)})),_=e.hasAttribute("aria-expanded");return q(),z(),A(),j("onCreate",[y]),p.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)})),y;function M(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===M()[0]}function D(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function O(){return l||e}function T(){var e=O().parentNode;return e?Kl(e):document}function N(){return cc(w)}function S(e){return y.state.isMounted&&!y.state.isVisible||Gl.isTouch||r&&"focus"===r.type?0:jl(y.props.delay,e?0:1,nc.delay)}function A(e){void 0===e&&(e=!1),w.style.pointerEvents=y.props.interactive&&!e?"":"none",w.style.zIndex=""+y.props.zIndex}function j(e,t,n){var i;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(i=y.props)[e].apply(i,t)}function I(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,i=w.id;Rl(y.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var o=t&&t.replace(i,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function z(){!_&&y.props.aria.expanded&&Rl(y.props.triggerTarget||e).forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===O()?"true":"false"):e.removeAttribute("aria-expanded")}))}function L(){T().removeEventListener("mousemove",g),dc=dc.filter((function(e){return e!==g}))}function R(t){if(!Gl.isTouch||!h&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Ql(w,n)){if(Rl(y.props.triggerTarget||e).some((function(e){return Ql(e,n)}))){if(Gl.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),d=!0,setTimeout((function(){d=!1})),y.state.isMounted||U())}}}function F(){h=!0}function P(){h=!1}function B(){var e=T();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,Sl),e.addEventListener("touchstart",P,Sl),e.addEventListener("touchmove",F,Sl)}function U(){var e=T();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,Sl),e.removeEventListener("touchstart",P,Sl),e.removeEventListener("touchmove",F,Sl)}function $(e,t){var n=N().box;function i(e){e.target===n&&(Yl(n,"remove",i),t())}if(0===e)return t();Yl(n,"remove",s),Yl(n,"add",i),s=i}function H(t,n,i){void 0===i&&(i=!1),Rl(y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),f.push({node:e,eventType:t,handler:n,options:i})}))}function q(){var e;C()&&(H("touchstart",W,{passive:!0}),H("touchend",Y,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(H(e,W),e){case"mouseenter":H("mouseleave",Y);break;case"focus":H(tc?"focusout":"blur",Q);break;case"focusin":H("focusout",Q)}}))}function V(){f.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,o=e.options;t.removeEventListener(n,i,o)})),f=[]}function W(e){var t,n=!1;if(y.state.isEnabled&&!G(e)&&!d){var i="focus"===(null==(t=r)?void 0:t.type);r=e,l=e.currentTarget,z(),!y.state.isVisible&&Hl(e)&&dc.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||u)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(u=!n),n&&!i&&te(e)}}function K(e){var t=e.target,n=O().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var i=X().concat(w).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(e,t){var n=t.clientX,i=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,r=e.props.interactiveBorder,s=o.placement.split("-")[0],a=o.modifiersData.offset;if(!a)return!0;var l="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,p="right"===s?a.left.x:0,u="left"===s?a.right.x:0,d=t.top-i+l>r,h=i-t.bottom-c>r,m=t.left-n+p>r,f=n-t.right-u>r;return d||h||m||f}))})(i,e)&&(L(),te(e))}}function Y(e){G(e)||y.props.trigger.indexOf("click")>=0&&u||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function Q(e){y.props.trigger.indexOf("focusin")<0&&e.target!==O()||y.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function G(e){return!!Gl.isTouch&&C()!==e.type.indexOf("touch")>=0}function J(){Z();var t=y.props,n=t.popperOptions,i=t.placement,o=t.offset,r=t.getReferenceClientRect,s=t.moveTransition,l=D()?cc(w).arrow:null,c=r?{getBoundingClientRect:r,contextElement:r.contextElement||O()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=N().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},u=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},p];D()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),y.popperInstance=_l(c,w,Object.assign({},n,{placement:i,onFirstUpdate:a,modifiers:u}))}function Z(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function X(){return Pl(w.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&j("onTrigger",[y,e]),B();var t=S(!0),i=M(),o=i[0],r=i[1];Gl.isTouch&&"hold"===o&&r&&(t=r),t?n=setTimeout((function(){y.show()}),t):y.show()}function te(e){if(y.clearDelayTimeouts(),j("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=S(!1);t?i=setTimeout((function(){y.state.isVisible&&y.hide()}),t):o=requestAnimationFrame((function(){y.hide()}))}}else U()}}function fc(e,t){void 0===t&&(t={});var n=nc.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Zl,Sl),window.addEventListener("blur",ec);var i=Object.assign({},t,{plugins:n}),o=ql(e).reduce((function(e,t){var n=t&&mc(t,i);return n&&e.push(n),e}),[]);return $l(e)?o[0]:o}fc.defaultProps=nc,fc.setDefaultProps=function(e){Object.keys(e).forEach((function(t){nc[t]=e[t]}))},fc.currentInput=Gl,Object.assign({},Ma,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var gc={clientX:0,clientY:0},bc=[];function vc(e){var t=e.clientX,n=e.clientY;gc={clientX:t,clientY:n}}var yc={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=Kl(e.props.triggerTarget||t),i=!1,o=!1,r=!0,s=e.props;function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){n.addEventListener("mousemove",u)}function c(){n.removeEventListener("mousemove",u)}function p(){i=!0,e.setProps({getReferenceClientRect:null}),i=!1}function u(n){var i=!n.target||t.contains(n.target),o=e.props.followCursor,r=n.clientX,s=n.clientY,a=t.getBoundingClientRect(),l=r-a.left,c=s-a.top;!i&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=r,i=s;"initial"===o&&(n=e.left+l,i=e.top+c);var a="horizontal"===o?e.top:i,p="vertical"===o?e.right:n,u="horizontal"===o?e.bottom:i,d="vertical"===o?e.left:n;return{width:p-d,height:u-a,top:a,right:p,bottom:u,left:d}}})}function d(){e.props.followCursor&&(bc.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",vc)}(n))}function h(){bc=bc.filter((function(t){return t.instance!==e})),0===bc.filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",vc)}(n)}return{onCreate:d,onDestroy:h,onBeforeUpdate:function(){s=e.props},onAfterUpdate:function(t,n){var r=n.followCursor;i||void 0!==r&&s.followCursor!==r&&(h(),r?(d(),!e.state.isMounted||o||a()||l()):(c(),p()))},onMount:function(){e.props.followCursor&&!o&&(r&&(u(gc),r=!1),a()||l())},onTrigger:function(e,t){Hl(t)&&(gc={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(p(),c(),r=!0)}}}};fc.setDefaultProps({render:pc});class xc{constructor({editor:e,element:t,view:n,tippyOptions:i={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:i})=>{const{doc:o,selection:r}=t,{empty:s}=r,a=!o.textBetween(n,i).length&&vs(t.selection),l=this.element.contains(document.activeElement);return!(!e.hasFocus()&&!l||s||a||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.editor=e,this.element=t,this.view=n,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=fc(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",(e=>{this.blurHandler({event:e})})))}update(e,t){var n,i,o;const{state:r,composing:s}=e,{doc:a,selection:l}=r,c=t&&t.doc.eq(a)&&t.selection.eq(l);if(s||c)return;this.createTooltip();const{ranges:p}=l,u=Math.min(...p.map((e=>e.$from.pos))),d=Math.max(...p.map((e=>e.$to.pos)));(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:r,oldState:t,from:u,to:d}))?(null===(i=this.tippy)||void 0===i||i.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>{if(r.selection instanceof Rt){const t=e.nodeDOM(u);if(t)return t.getBoundingClientRect()}return Rs(e,u,d)})}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e;null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const wc=e=>new Xt({key:"string"==typeof e.pluginKey?new nn(e.pluginKey):e.pluginKey,view:t=>new xc({view:t,...e})});cs.create({name:"bubbleMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"bubbleMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[wc({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});class kc{constructor({editor:e,element:t,view:n,tippyOptions:i={},shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t})=>{const{selection:n}=t,{$anchor:i,empty:o}=n,r=1===i.depth,s=i.parent.isTextblock&&!i.parent.type.spec.code&&!i.parent.textContent;return!!(e.hasFocus()&&o&&r&&s&&this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout((()=>this.update(this.editor.view)))},this.blurHandler=({event:e})=>{var t;this.preventHide?this.preventHide=!1:(null==e?void 0:e.relatedTarget)&&(null===(t=this.element.parentNode)||void 0===t?void 0:t.contains(e.relatedTarget))||this.hide()},this.editor=e,this.element=t,this.view=n,o&&(this.shouldShow=o),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=i,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;!this.tippy&&t&&(this.tippy=fc(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",(e=>{this.blurHandler({event:e})})))}update(e,t){var n,i,o;const{state:r}=e,{doc:s,selection:a}=r,{from:l,to:c}=a;if(t&&t.doc.eq(s)&&t.selection.eq(a))return;this.createTooltip();(null===(n=this.shouldShow)||void 0===n?void 0:n.call(this,{editor:this.editor,view:e,state:r,oldState:t}))?(null===(i=this.tippy)||void 0===i||i.setProps({getReferenceClientRect:(null===(o=this.tippyOptions)||void 0===o?void 0:o.getReferenceClientRect)||(()=>Rs(e,l,c))}),this.show()):this.hide()}show(){var e;null===(e=this.tippy)||void 0===e||e.show()}hide(){var e;null===(e=this.tippy)||void 0===e||e.hide()}destroy(){var e;null===(e=this.tippy)||void 0===e||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}cs.create({name:"floatingMenu",addOptions:()=>({element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[(e={pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow},new Xt({key:"string"==typeof e.pluginKey?new nn(e.pluginKey):e.pluginKey,view:t=>new kc({view:t,...e})}))]:[];var e}});const Ec=e=>{const[n,i]=o(null);return r((()=>{if(!n)return;if(e.editor.isDestroyed)return;const{pluginKey:t="bubbleMenu",editor:i,tippyOptions:o={},shouldShow:r=null}=e,s=wc({pluginKey:t,editor:i,element:n,tippyOptions:o,shouldShow:r});return i.registerPlugin(s),()=>i.unregisterPlugin(t)}),[e.editor,n]),t.createElement("div",{ref:i,className:e.className,style:{visibility:"hidden"}},e.children)};class _c extends class extends class{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}removeAllListeners(){this.callbacks={}}}{constructor(e={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>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.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),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))}),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){const n=document.querySelector("style[data-tiptap-style]");if(null!==n)return n;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style",""),i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),i}(Qs,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){this.setOptions({editable:e}),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=Wr(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],i=this.state.reconfigure({plugins:n});this.view.updateState(i)}unregisterPlugin(e){if(this.isDestroyed)return;const t="string"==typeof e?`${e}$`:e.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((e=>!e.key.startsWith(t)))});this.view.updateState(n)}createExtensionManager(){const e=[...this.options.enableCoreExtensions?Object.values(Ys):[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)));this.extensionManager=new ss(e,this)}createCommandManager(){this.commandManager=new Pr({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const e=Os(this.options.content,this.schema,this.options.parseOptions),t=xs(e,this.options.autofocus);this.view=new cr(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Jt.create({doc:e,selection:t||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews();this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){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.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),n&&this.emit("selectionUpdate",{editor:this,transaction:e});const i=e.getMeta("focus"),o=e.getMeta("blur");i&&this.emit("focus",{editor:this,event:i.event,transaction:e}),o&&this.emit("blur",{editor:this,event:o.event,transaction:e}),e.docChanged&&!e.getMeta("preventUpdate")&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return As(this.state,e)}isActive(e,t){const n="string"==typeof e?e:null,i="string"==typeof e?t:e;return function(e,t,n={}){if(!t)return Ms(e,null,n)||zs(e,null,n);const i=Cs(t,e.schema);return"node"===i?Ms(e,t,n):"mark"===i&&zs(e,t,n)}(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function(e,t){const n=Fe.fromSchema(t).serializeFragment(e),i=document.implementation.createHTMLDocument().createElement("div");return i.appendChild(n),i.innerHTML}(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t="\n\n",textSerializers:n={}}=e||{};return function(e,t){return ps(e,{from:0,to:e.content.size},t)}(this.state.doc,{blockSeparator:t,textSerializers:{...n,...us(this.schema)}})}get isEmpty(){return function(e){var t;const n=null===(t=e.type.createAndFill())||void 0===t?void 0:t.toJSON(),i=e.toJSON();return JSON.stringify(n)===JSON.stringify(i)}(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(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var e;return!(null===(e=this.view)||void 0===e?void 0:e.docView)}}{constructor(){super(...arguments),this.contentComponent=null}}const Mc=({renderers:e})=>t.createElement(t.Fragment,null,Array.from(e).map((([e,t])=>h.createPortal(t.reactElement,t.element,e))));class Cc extends t.Component{constructor(e){super(e),this.editorContentRef=t.createRef(),this.state={renderers:new Map}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const{editor:e}=this.props;if(e&&e.options.element){if(e.contentComponent)return;const t=this.editorContentRef.current;t.append(...e.options.element.childNodes),e.setOptions({element:t}),e.contentComponent=this,e.createNodeViews()}}componentWillUnmount(){const{editor:e}=this.props;if(!e)return;if(e.isDestroyed||e.view.setProps({nodeViews:{}}),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:e,...n}=this.props;return t.createElement(t.Fragment,null,t.createElement("div",{ref:this.editorContentRef,...n}),t.createElement(Mc,{renderers:this.state.renderers}))}}const Dc=t.memo(Cc),Oc=n({onDragStart:void 0}),Tc=()=>i(Oc),Nc=e=>{const n=e.as||"div",{nodeViewContentRef:i}=Tc();return t.createElement(n,{...e,ref:i,"data-node-view-content":"",style:{whiteSpace:"pre-wrap",...e.style}})},Sc=t.forwardRef(((e,n)=>{const{onDragStart:i}=Tc(),o=e.as||"div";return t.createElement(o,{...e,ref:n,"data-node-view-wrapper":"",onDragStart:i,style:{whiteSpace:"normal",...e.style}})}));class Ac{constructor(e,{editor:t,props:n={},as:i="div",className:o=""}){this.ref=null,this.id=Math.floor(4294967295*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(i),this.element.classList.add("react-renderer"),o&&this.element.classList.add(...o.split(" ")),this.render()}render(){const e=this.component,n=this.props;(function(e){return!("function"!=typeof e||!e.prototype||!e.prototype.isReactComponent)}(e)||function(e){var t;return!("object"!=typeof e||"Symbol(react.forward_ref)"!==(null===(t=e.$$typeof)||void 0===t?void 0:t.toString()))}(e))&&(n.ref=e=>{this.ref=e}),this.reactElement=t.createElement(e,{...n}),m((()=>{var e;(null===(e=this.editor)||void 0===e?void 0:e.contentComponent)&&this.editor.contentComponent.setState({renderers:this.editor.contentComponent.state.renderers.set(this.id,this)})}))}updateProps(e={}){this.props={...this.props,...e},this.render()}destroy(){m((()=>{var e;if(null===(e=this.editor)||void 0===e?void 0:e.contentComponent){const{renderers:e}=this.editor.contentComponent.state;e.delete(this.id),this.editor.contentComponent.setState({renderers:e})}}))}}class jc extends class{constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,...n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,i,o,r,s,a;const{view:l}=this.editor,c=e.target,p=3===c.nodeType?null===(t=c.parentElement)||void 0===t?void 0:t.closest("[data-drag-handle]"):c.closest("[data-drag-handle]");if(!this.dom||(null===(n=this.contentDOM)||void 0===n?void 0:n.contains(c))||!p)return;let u=0,d=0;if(this.dom!==p){const t=this.dom.getBoundingClientRect(),n=p.getBoundingClientRect(),a=null!==(i=e.offsetX)&&void 0!==i?i:null===(o=e.nativeEvent)||void 0===o?void 0:o.offsetX,l=null!==(r=e.offsetY)&&void 0!==r?r:null===(s=e.nativeEvent)||void 0===s?void 0:s.offsetY;u=n.x-t.x+a,d=n.y-t.y+l}null===(a=e.dataTransfer)||void 0===a||a.setDragImage(this.dom,u,d);const h=Rt.create(l.state.doc,this.getPos()),m=l.state.tr.setSelection(h);l.dispatch(m)}stopEvent(e){var t;if(!this.dom)return!1;if("function"==typeof this.options.stopEvent)return this.options.stopEvent({event:e});const n=e.target;if(!(this.dom.contains(n)&&!(null===(t=this.contentDOM)||void 0===t?void 0:t.contains(n))))return!1;const i="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!i)return!0;const{isEditable:o}=this.editor,{isDragging:r}=this,s=!!this.node.type.spec.draggable,a=Rt.isSelectable(this.node),l="copy"===e.type,c="paste"===e.type,p="cut"===e.type,u="mousedown"===e.type,d=e.type.startsWith("drag");if(!s&&a&&d&&e.preventDefault(),s&&d&&!r)return e.preventDefault(),!1;if(s&&o&&!r&&u){const e=n.closest("[data-drag-handle]");e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener("dragend",(()=>{this.isDragging=!1}),{once:!0}),document.addEventListener("mouseup",(()=>{this.isDragging=!1}),{once:!0}))}return!(r||i||l||c||p||u&&a)}ignoreMutation(e){if(!this.dom||!this.contentDOM)return!0;if("function"==typeof this.options.ignoreMutation)return this.options.ignoreMutation({mutation:e});if(this.node.isLeaf||this.node.isAtom)return!0;if("selection"===e.type)return!1;if(this.dom.contains(e.target)&&"childList"===e.type&&ws()&&this.editor.isFocused){if([...Array.from(e.addedNodes),...Array.from(e.removedNodes)].every((e=>e.isContentEditable)))return!1}return this.contentDOM===e.target&&"attributes"===e.type||!this.contentDOM.contains(e.target)}updateAttributes(e){this.editor.commands.command((({tr:t})=>{const n=this.getPos();return t.setNodeMarkup(n,void 0,{...this.node.attrs,...e}),!0}))}deleteNode(){const e=this.getPos(),t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}}{mount(){const e={editor:this.editor,node:this.node,decorations:this.decorations,selected:!1,extension:this.extension,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode()};if(!this.component.displayName){const e=e=>e.charAt(0).toUpperCase()+e.substring(1);this.component.displayName=e(this.extension.name)}const n=e=>{const n=this.component,i=this.onDragStart.bind(this);return t.createElement(Oc.Provider,{value:{onDragStart:i,nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&e.appendChild(this.contentDOMElement)}}},t.createElement(n,{...e}))};n.displayName="ReactNodeView",this.contentDOMElement=this.node.isLeaf?null:document.createElement(this.node.isInline?"span":"div"),this.contentDOMElement&&(this.contentDOMElement.style.whiteSpace="inherit");let i=this.node.isInline?"span":"div";this.options.as&&(i=this.options.as);const{className:o=""}=this.options;this.renderer=new Ac(n,{editor:this.editor,props:e,as:i,className:`node-${this.node.type.name} ${o}`.trim()})}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null===(e=this.renderer.element.firstElementChild)||void 0===e?void 0:e.hasAttribute("data-node-view-wrapper")))throw Error("Please use the NodeViewWrapper component for your node view.");return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}update(e,t){const n=e=>{this.renderer.updateProps(e)};if(e.type!==this.node.type)return!1;if("function"==typeof this.options.update){const i=this.node,o=this.decorations;return this.node=e,this.decorations=t,this.options.update({oldNode:i,oldDecorations:o,newNode:e,newDecorations:t,updateProps:()=>n({node:e,decorations:t})})}return e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,n({node:e,decorations:t})),!0}selectNode(){this.renderer.updateProps({selected:!0})}deselectNode(){this.renderer.updateProps({selected:!1})}destroy(){this.renderer.destroy(),this.contentDOMElement=null}}function Ic(e,t){return n=>n.editor.contentComponent?new jc(e,n,t):{}}const zc=(e={},t=[])=>{const[n,i]=o(null),s=function(){const[,e]=o(0);return()=>e((e=>e+1))}();return r((()=>{let t=!0;const n=new _c(e);return i(n),n.on("transaction",(()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t&&s()}))}))})),()=>{n.destroy(),t=!1}}),t),n};var Lc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Rc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function Fc(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})})),n}var Pc,Bc={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
@@ -29,7 +29,7 @@ var Wd="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf(
|
|
|
29
29
|
* This source code is licensed under the MIT license found in the
|
|
30
30
|
* LICENSE file in the root directory of this source tree.
|
|
31
31
|
*/
|
|
32
|
-
wh.exports=kh;var om=wh.exports,rm={exports:{}},sm={},am="function"==typeof Symbol&&Symbol.for,lm=am?Symbol.for("react.element"):60103,cm=am?Symbol.for("react.portal"):60106,pm=am?Symbol.for("react.fragment"):60107,um=am?Symbol.for("react.strict_mode"):60108,dm=am?Symbol.for("react.profiler"):60114,hm=am?Symbol.for("react.provider"):60109,mm=am?Symbol.for("react.context"):60110,fm=am?Symbol.for("react.async_mode"):60111,gm=am?Symbol.for("react.concurrent_mode"):60111,bm=am?Symbol.for("react.forward_ref"):60112,vm=am?Symbol.for("react.suspense"):60113,ym=am?Symbol.for("react.suspense_list"):60120,xm=am?Symbol.for("react.memo"):60115,wm=am?Symbol.for("react.lazy"):60116,km=am?Symbol.for("react.block"):60121,Em=am?Symbol.for("react.fundamental"):60117,_m=am?Symbol.for("react.responder"):60118,Mm=am?Symbol.for("react.scope"):60119;function Cm(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case lm:switch(e=e.type){case fm:case gm:case pm:case dm:case um:case vm:return e;default:switch(e=e&&e.$$typeof){case mm:case bm:case wm:case xm:case hm:return e;default:return t}}case cm:return t}}}function Dm(e){return Cm(e)===gm}function Om(){}function Tm(){}sm.AsyncMode=fm,sm.ConcurrentMode=gm,sm.ContextConsumer=mm,sm.ContextProvider=hm,sm.Element=lm,sm.ForwardRef=bm,sm.Fragment=pm,sm.Lazy=wm,sm.Memo=xm,sm.Portal=cm,sm.Profiler=dm,sm.StrictMode=um,sm.Suspense=vm,sm.isAsyncMode=function(e){return Dm(e)||Cm(e)===fm},sm.isConcurrentMode=Dm,sm.isContextConsumer=function(e){return Cm(e)===mm},sm.isContextProvider=function(e){return Cm(e)===hm},sm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===lm},sm.isForwardRef=function(e){return Cm(e)===bm},sm.isFragment=function(e){return Cm(e)===pm},sm.isLazy=function(e){return Cm(e)===wm},sm.isMemo=function(e){return Cm(e)===xm},sm.isPortal=function(e){return Cm(e)===cm},sm.isProfiler=function(e){return Cm(e)===dm},sm.isStrictMode=function(e){return Cm(e)===um},sm.isSuspense=function(e){return Cm(e)===vm},sm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===pm||e===gm||e===dm||e===um||e===vm||e===ym||"object"==typeof e&&null!==e&&(e.$$typeof===wm||e.$$typeof===xm||e.$$typeof===hm||e.$$typeof===mm||e.$$typeof===bm||e.$$typeof===Em||e.$$typeof===_m||e.$$typeof===Mm||e.$$typeof===km)},sm.typeOf=Cm,Function.call.bind(Object.prototype.hasOwnProperty),Tm.resetWarningCache=Om,rm.exports=function(){function e(e,t,n,i,o,r){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Tm,resetWarningCache:Om};return n.PropTypes=n,n}();var Nm=rm.exports;Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Sm=["size","color","strokeWidth"];function Am(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Sm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M20.667 20.125H3.33301M20.667 14.708H3.33301M20.667 9.292H16.334M20.667 3.875H16.334M9.29201 6.042H12C12.299 6.042 12.542 6.285 12.542 6.584V8.75C12.542 9.049 12.299 9.292 12 9.292H9.83301C9.53401 9.292 9.29101 9.049 9.29101 8.75L9.29201 6.042ZM9.29201 6.042C9.29201 3.875 9.69801 3.515 10.917 2.792M3.33301 6.042H6.04101C6.34001 6.042 6.58301 6.285 6.58301 6.584V8.75C6.58301 9.049 6.34001 9.292 6.04101 9.292H3.87501C3.57601 9.292 3.33301 9.049 3.33301 8.75V6.042ZM3.33301 6.042C3.33301 3.875 3.73901 3.515 4.95801 2.792",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Am.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Am.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var jm=["size","color","strokeWidth"];function Im(e){var t=e.size,n=e.color;e.strokeWidth;var i=xh(e,jm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},i),om.createElement("path",{d:"M9.28906 19.8281H9.77344V18.5234H9.45312C8.39062 18.5234 7.96875 18.0469 7.96875 16.8516V14.4688C7.96875 13.3438 7.35156 12.7266 6.14062 12.6016V12.3906C7.35156 12.2656 7.96875 11.6484 7.96875 10.5156V8.16406C7.96875 6.96875 8.39062 6.49219 9.45312 6.49219H9.77344V5.1875H9.28906C7.27344 5.1875 6.36719 6.0625 6.36719 7.96094V9.99219C6.36719 11.2031 5.91406 11.625 4.60156 11.625V13.3594C5.91406 13.3672 6.36719 13.7891 6.36719 15V17.0469C6.36719 18.9531 7.28125 19.8281 9.28906 19.8281ZM14.4766 19.8281C16.4922 19.8281 17.3984 18.9531 17.3984 17.0469V15C17.3984 13.7891 17.8594 13.3672 19.1641 13.3594V11.625C17.8594 11.625 17.3984 11.2031 17.3984 9.99219V7.96094C17.3984 6.0625 16.4922 5.1875 14.4766 5.1875H13.9922V6.49219H14.3203C15.3828 6.49219 15.7969 6.96875 15.7969 8.16406V10.5156C15.7969 11.6484 16.4141 12.2656 17.6328 12.3906V12.6016C16.4141 12.7266 15.7969 13.3438 15.7969 14.4688V16.8516C15.7969 18.0469 15.375 18.5234 14.3203 18.5234H13.9922V19.8281H14.4766Z",fill:n}))}Im.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Im.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var zm=["size","color","strokeWidth"];function Lm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,zm);return om.createElement("svg",yh({viewBox:"0 0 18 19",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_1047_4338)"},om.createElement("rect",{x:"3",y:"11.3335",width:"11.5714",height:"3.85714",rx:"1",fill:n}),om.createElement("mask",{id:"path-2-inside-1_1047_4338",fill:n},om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1"})),om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1",stroke:n,mask:"url(#path-2-inside-1_1047_4338)",strokeWidth:"3"}),om.createElement("line",{x1:"9",y1:"9.61914",x2:"9",y2:"17.1191",stroke:n,strokeWidth:i}),om.createElement("line",{x1:"9",y1:"2.86914",x2:"9",y2:"6.61914",stroke:n,strokeWidth:i})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_1047_4338"},om.createElement("rect",{width:"18",height:"18",fill:n,transform:"translate(0 0.619141)"}))))}Lm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Lm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Rm=["size","color","strokeWidth"];function Fm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Rm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M6 6L18 18",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M18 6L6 18",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Fm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Fm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Pm=["size","color","strokeWidth"];function Bm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Pm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M13.78 4L10.22 20M18 8L22 12L18 16M6 16L2 12L6 8",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Bm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Bm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Um=["size","color","strokeWidth"];function $m(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Um);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}$m.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},$m.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Hm=["size","color","strokeWidth"];function qm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Hm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M18 10L15 7",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 20H15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M16.0174 5.68275L9.87375 11.8262C9.53712 12.1628 9.31876 12.5996 9.25146 13.0708L9.01095 14.7549C8.98726 14.9208 9.00212 15.09 9.05437 15.2492C9.10662 15.4085 9.19487 15.5535 9.31225 15.6731C9.42964 15.7928 9.57301 15.8837 9.73124 15.939C9.88948 15.9943 10.0583 16.0123 10.2247 15.9918L11.8503 15.791C12.3369 15.7309 12.7894 15.5101 13.1362 15.1634L19.3163 8.98528C19.533 8.76863 19.705 8.51141 19.8223 8.22831C19.9396 7.94521 20 7.64178 20 7.33534C20 7.0289 19.9397 6.72546 19.8224 6.44235C19.7052 6.15923 19.5333 5.90198 19.3166 5.6853L19.314 5.68275C19.0976 5.46629 18.8406 5.29459 18.5578 5.17744C18.2749 5.06029 17.9718 5 17.6657 5C17.3596 5 17.0564 5.06029 16.7736 5.17744C16.4908 5.29459 16.2338 5.46629 16.0174 5.68275Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}qm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},qm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Vm=["size","color","strokeWidth"];function Wm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Vm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17 21H12C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36628 17.0887 3.68509 15.4442C3.0039 13.7996 2.82567 11.99 3.17294 10.2442C3.5202 8.49836 4.37737 6.89472 5.63604 5.63604C6.89472 4.37737 8.49836 3.5202 10.2442 3.17294C11.99 2.82567 13.7996 3.0039 15.4442 3.68509C17.0887 4.36628 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12V13.5C21 14.163 20.7366 14.7989 20.2678 15.2678C19.7989 15.7366 19.163 16 18.5 16C17.837 16 17.2011 15.7366 16.7322 15.2678C16.2634 14.7989 16 14.163 16 13.5V12C16 10.9391 15.5786 9.92172 14.8284 9.17158C14.0783 8.42143 13.0609 8 12 8V8C11.2089 8 10.4355 8.2346 9.77772 8.67413C9.11993 9.11365 8.60724 9.73837 8.30449 10.4693C8.00174 11.2002 7.92252 12.0044 8.07686 12.7804C8.2312 13.5563 8.61217 14.269 9.17158 14.8284C9.73099 15.3878 10.4437 15.7688 11.2196 15.9231C11.9956 16.0775 12.7998 15.9983 13.5307 15.6955C14.2616 15.3928 14.8864 14.8801 15.3259 14.2223C15.7654 13.5645 16 12.7911 16 12",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Wm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Wm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Km=["size","color","strokeWidth"];function Ym(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Km);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M10.523 20H6V15.477C6 15.0134 6.18428 14.5684 6.51226 14.2407L17.5294 4.00237C18.211 3.31947 19.3171 3.31841 20 4L20.0024 4.00237L21.5 5.527C22.1829 6.20859 22.184 7.31473 21.5024 7.99763L21.5 8L11.759 19.488C11.431 19.8156 10.9865 19.9997 10.523 20Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M2 20H3",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M9 12L13.5 16.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Ym.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ym.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Qm=["size","color","strokeWidth"];function Gm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Qm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0)"},om.createElement("path",{d:"M21 16.014L16.707 11.721C16.316 11.33 15.683 11.33 15.293 11.721L11 16.014",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M18 21.014H6C4.343 21.014 3 19.671 3 18.014V6.014C3 4.357 4.343 3.014 6 3.014H18C19.657 3.014 21 4.357 21 6.014V18.014C21 19.671 19.657 21.014 18 21.014Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M15.9998 21.014L9.7068 14.721C9.3158 14.33 8.6828 14.33 8.2928 14.721L3.4458 19.568M9.26497 8.74883C9.41142 8.89527 9.41142 9.13271 9.26497 9.27916C9.11852 9.4256 8.88109 9.4256 8.73464 9.27916C8.58819 9.13271 8.58819 8.89527 8.73464 8.74883C8.88109 8.60238 9.11852 8.60238 9.26497 8.74883Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0"},om.createElement("rect",{width:"24",height:"24",fill:n}))))}Gm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Gm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Jm=["size","color","strokeWidth"];function Zm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Jm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M11.009 11.249H12.159V15.499",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M11 15.4986H13.3093",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M12.1 8.24587C12.1 8.29532 12.0853 8.34365 12.0579 8.38477C12.0304 8.42588 11.9914 8.45792 11.9457 8.47684C11.9 8.49576 11.8497 8.50071 11.8012 8.49107C11.7527 8.48142 11.7082 8.45761 11.6732 8.42265C11.6383 8.38769 11.6145 8.34314 11.6048 8.29464C11.5952 8.24615 11.6001 8.19588 11.619 8.1502C11.638 8.10452 11.67 8.06548 11.7111 8.03801C11.7522 8.01053 11.8006 7.99587 11.85 7.99587",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M11.85 7.99587C11.9163 7.99587 11.9799 8.02221 12.0268 8.0691C12.0737 8.11598 12.1 8.17957 12.1 8.24587",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M16 2.99862H8C5.23858 2.99862 3 5.2372 3 7.99862V15.9986C3 18.76 5.23858 20.9986 8 20.9986H16C18.7614 20.9986 21 18.76 21 15.9986V7.99862C21 5.2372 18.7614 2.99862 16 2.99862Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Zm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Zm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Xm=["size","color","strokeWidth"];function ef(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Xm);return om.createElement("svg",yh({viewBox:"0 0 18 19",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_1047_4040)"},om.createElement("rect",{x:"4.5",y:"11.333",width:"11.5714",height:"3.85714",rx:"1",fill:n}),om.createElement("mask",{id:"path-2-inside-1_1047_4040",fill:n},om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1"})),om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1",stroke:n,mask:"url(#path-2-inside-1_1047_4040)",strokeWidth:"3"}),om.createElement("line",{x1:"2.25",y1:"2.97607",x2:"2.25",y2:"17.1189",stroke:n,strokeWidth:i})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_1047_4040"},om.createElement("rect",{width:"18",height:"18",fill:n,transform:"translate(0 0.619141)"}))))}ef.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ef.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var tf=["size","color","strokeWidth"];function nf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,tf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17.7166 12.3594L19.4466 10.6294C21.1392 8.9873 21.1801 6.284 19.538 4.59141C17.8959 2.89882 15.1926 2.85789 13.5 4.5C13.4691 4.53001 13.4386 4.56048 13.4086 4.59141L10.0109 7.951C8.34355 9.61717 8.3426 12.3195 10.0088 13.9869L10.0109 13.989L9.9999 14C10.3445 14.3381 10.7447 14.6144 11.1829 14.817",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M12.806 9.193C13.2443 9.39593 13.6445 9.67262 13.989 10.011C15.6564 11.6772 15.6573 14.3795 13.9912 16.0469L13.989 16.049L10.8082 19.268C9.11565 20.9101 6.41235 20.8692 4.77024 19.1766C3.16318 17.5201 3.16318 14.8865 4.77024 13.23L6.50024 11.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}nf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},nf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var of=["size","color","strokeWidth"];function rf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,of);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M12 5H20",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 7C7.10457 7 8 6.10457 8 5C8 3.89543 7.10457 3 6 3C4.89543 3 4 3.89543 4 5C4 6.10457 4.89543 7 6 7Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M12 19H20M12 12H20H12Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 14C7.10457 14 8 13.1046 8 12C8 10.8954 7.10457 10 6 10C4.89543 10 4 10.8954 4 12C4 13.1046 4.89543 14 6 14Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 21C7.10457 21 8 20.1046 8 19C8 17.8954 7.10457 17 6 17C4.89543 17 4 17.8954 4 19C4 20.1046 4.89543 21 6 21Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}rf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},rf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var sf=["size","color","strokeWidth"];function af(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,sf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M11 4H20M11.15 9H20M5.25 9V4L4 5.25M11 14H20M11.15 19H20M4 15C4 14.7348 4.10536 14.4804 4.29289 14.2929C4.48043 14.1054 4.73478 14 5 14H5.61448C5.87234 14 6.12365 14.0811 6.33284 14.2319C6.54202 14.3827 6.69846 14.5955 6.78 14.8401C6.84709 15.0414 6.86091 15.2566 6.82013 15.4648C6.77935 15.673 6.68534 15.8671 6.54727 16.0282L4 19H7M4 9H6.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}af.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},af.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var lf=["size","color","strokeWidth"];function cf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,lf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17 12H7",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}cf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},cf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var pf=["size","color","strokeWidth"];function uf(e){var t=e.size,n=e.color;e.strokeWidth;var i=xh(e,pf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},i),om.createElement("path",{d:"M10 2.25C8.48079 2.25 7.25 3.48079 7.25 5V6.25H6C4.48079 6.25 3.25 7.48079 3.25 9V19C3.25 20.5192 4.48079 21.75 6 21.75H14C15.5192 21.75 16.75 20.5192 16.75 19V17.75H18C19.5192 17.75 20.75 16.5192 20.75 15V5C20.75 3.48079 19.5192 2.25 18 2.25H10ZM16.75 16.25H18C18.6908 16.25 19.25 15.6908 19.25 15V5C19.25 4.30921 18.6908 3.75 18 3.75H10C9.30921 3.75 8.75 4.30921 8.75 5V6.25H14C15.5192 6.25 16.75 7.48079 16.75 9V16.25ZM8 7.75H6C5.30921 7.75 4.75 8.30921 4.75 9V19C4.75 19.6908 5.30921 20.25 6 20.25H14C14.6908 20.25 15.25 19.6908 15.25 19V17V9C15.25 8.30921 14.6908 7.75 14 7.75H8ZM8 12.25C7.58579 12.25 7.25 12.5858 7.25 13C7.25 13.4142 7.58579 13.75 8 13.75H12C12.4142 13.75 12.75 13.4142 12.75 13C12.75 12.5858 12.4142 12.25 12 12.25H8ZM8 15.25C7.58579 15.25 7.25 15.5858 7.25 16C7.25 16.4142 7.58579 16.75 8 16.75H12C12.4142 16.75 12.75 16.4142 12.75 16C12.75 15.5858 12.4142 15.25 12 15.25H8Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}uf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},uf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var df=["size","color","strokeWidth"];function hf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,df);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M13 4.5H20M13 9.5H20M4 14.5H20M4 19.5H20M9 9.5L6.5 4.5L4 9.5M4.5 8.5H6.5H8.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}hf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},hf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var mf=["size","color","strokeWidth"];function ff(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,mf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M14 13.5H19C19.552 13.5 20 13.948 20 14.5V18.5C20 19.052 19.552 19.5 19 19.5H15C14.448 19.5 14 19.052 14 18.5V13.5ZM14 13.5C14 7.5 15 6.5 18 4.5M4 13.5H9C9.552 13.5 10 13.948 10 14.5V18.5C10 19.052 9.552 19.5 9 19.5H5C4.448 19.5 4 19.052 4 18.5V13.5ZM4 13.5C4 7.5 5 6.5 8 4.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}ff.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ff.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var gf=["size","color","strokeWidth"];function bf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,gf);return om.createElement("svg",yh({viewBox:"0 0 18 19",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_1047_4017)"},om.createElement("rect",{x:"1.5",y:"11.333",width:"11.5714",height:"3.85714",rx:"1",fill:n}),om.createElement("mask",{id:"path-2-inside-1_1047_4017",fill:n},om.createElement("rect",{x:"4.07129",y:"6.19043",width:"9",height:"3.85714",rx:"1"})),om.createElement("rect",{x:"4.07129",y:"6.19043",width:"9",height:"3.85714",rx:"1",stroke:n,mask:"url(#path-2-inside-1_1047_4017)",strokeWidth:"3"}),om.createElement("line",{x1:"15.75",y1:"2.97607",x2:"15.75",y2:"17.1189",stroke:n,strokeWidth:i})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_1047_4017"},om.createElement("rect",{width:"18",height:"18",fill:n,transform:"translate(0 0.619141)"}))))}bf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},bf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var vf=["size","color","strokeWidth"];function yf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,vf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M12 3C7.037 3 3 7.037 3 12C3 16.963 7.037 21 12 21C16.963 21 21 16.962 21 12C21 7.038 16.962 3 12 3Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M15.5006 15.688C15.5006 15.688 14.1876 17 12.0006 17C9.81263 17 8.50063 15.688 8.50063 15.688M15.3286 9.5C15.1906 9.5 15.0786 9.612 15.0796 9.75C15.0796 9.888 15.1916 10 15.3296 10C15.4676 10 15.5796 9.888 15.5796 9.75C15.5796 9.612 15.4676 9.5 15.3286 9.5ZM8.63963 9.5C8.50163 9.5 8.38963 9.612 8.39063 9.75C8.39063 9.888 8.50263 10 8.64063 10C8.77863 10 8.89063 9.888 8.89063 9.75C8.89063 9.612 8.77863 9.5 8.63963 9.5Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}yf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},yf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var xf=["size","color","strokeWidth"];function wf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,xf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M7 6H12.875C13.6706 6 14.4337 6.31607 14.9963 6.87868C15.5589 7.44129 15.875 8.20435 15.875 9V9C15.875 9.79565 15.5589 10.5587 14.9963 11.1213C14.4337 11.6839 13.6706 12 12.875 12H7V6ZM7 12H14C14.7956 12 15.5587 12.3161 16.1213 12.8787C16.6839 13.4413 17 14.2044 17 15V15C17 15.7956 16.6839 16.5587 16.1213 17.1213C15.5587 17.6839 14.7956 18 14 18H7V12Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}wf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},wf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var kf=["size","color","strokeWidth"];function Ef(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,kf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M8 18H14C14.7956 18 15.5587 17.6839 16.1213 17.1213C16.6839 16.5587 17 15.7956 17 15V15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M19 12H5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M16 6H11C10.2044 6 9.44129 6.31607 8.87868 6.87868C8.31607 7.44129 8 8.20435 8 9",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Ef.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ef.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var _f=["size","color","strokeWidth"];function Mf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,_f);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M5 6V18M13 6V18M5 12H13M18.5 18V13L17.25 14.25M20 18H17",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Mf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Mf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Cf=["size","color","strokeWidth"];function Df(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Cf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17 14C17 13.7348 17.1054 13.4804 17.2929 13.2929C17.4804 13.1054 17.7348 13 18 13H18.6145C18.8723 13 19.1237 13.0811 19.3329 13.2319C19.542 13.3827 19.6985 13.5955 19.78 13.8401C19.8471 14.0414 19.8609 14.2566 19.8202 14.4648C19.7794 14.673 19.6854 14.8671 19.5473 15.0281L17 18H20M5 6V18M13 6V18M5 12H13",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Df.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Df.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Of=["size","color","strokeWidth"];function Tf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Of);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M10 6H17M13.5 6L10.5 18L13.5 6ZM14 18H7H14Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Tf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Tf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Nf=["size","color","strokeWidth"];function Sf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Nf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_861:2152)"},om.createElement("path",{d:"M15.315 15.014L12 8.01398L8.68401 15.013",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M9.347 13.613H14.65",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M18 21.014H6C4.343 21.014 3 19.671 3 18.014V6.01398C3 4.35698 4.343 3.01398 6 3.01398H18C19.657 3.01398 21 4.35698 21 6.01398V18.014C21 19.671 19.657 21.014 18 21.014Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_861:2152"},om.createElement("rect",{width:"24",height:"24",fill:n}))))}Sf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Sf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Af=["size","color","strokeWidth"];function jf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Af);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M13.3125 17L8.15625 6L3 17M4.03125 14.8H12.2812",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M21 17L18.5006 12L16 17M16.4996 16.1667H20.4992",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}jf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},jf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var If=["size","color","strokeWidth"];function zf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,If);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M15 5V11.6667C15 12.5507 14.6313 13.3986 13.9749 14.0237C13.3185 14.6488 12.4283 15 11.5 15V15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M8 5V11.6667C8 12.5507 8.36875 13.3986 9.02513 14.0237C9.6815 14.6488 10.5717 15 11.5 15V15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M19 18.5H5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}zf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},zf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Lf=["size","color","strokeWidth"];function Rf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Lf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M15.375 13.097L19.17 16.151C19.906 16.744 21 16.22 21 15.275V8.725C21 7.78 19.906 7.256 19.17 7.849L15.375 10.903M13.125 17.75H5.25C4.007 17.75 3 16.743 3 15.5V8.5C3 7.257 4.007 6.25 5.25 6.25H13.125C14.368 6.25 15.375 7.257 15.375 8.5V15.5C15.375 16.743 14.368 17.75 13.125 17.75Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Rf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Rf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Ff={exports:{}},Pf="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function Bf(){}function Uf(){}Uf.resetWarningCache=Bf;function $f(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Hf(e,t){return Hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hf(e,t)}function qf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hf(e,t)}function Vf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}Ff.exports=function(){function e(e,t,n,i,o,r){if(r!==Pf){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. "+"Use PropTypes.checkPropTypes() to call them. "+"Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Uf,resetWarningCache:Bf};return n.PropTypes=n,n}();var Wf=!1,Kf=t.createContext(null),Yf=function(e){return e.scrollTop},Qf="unmounted",Gf="exited",Jf="entering",Zf="entered",Xf="exiting",eg=function(e){function n(t,n){var i;i=e.call(this,t,n)||this;var o,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=Gf,i.appearStatus=Jf):o=Zf:o=t.unmountOnExit||t.mountOnEnter?Qf:Gf,i.state={status:o},i.nextCallback=null,i}qf(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qf?{status:Gf}:null};var i=n.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Jf&&n!==Zf&&(t=Jf):n!==Jf&&n!==Zf||(t=Xf)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Jf){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this);n&&Yf(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gf&&this.setState({status:Qf})},i.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,o=this.props.nodeRef?[i]:[h.findDOMNode(this),i],r=o[0],s=o[1],a=this.getTimeouts(),l=i?a.appear:a.enter;!e&&!n||Wf?this.safeSetState({status:Zf},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,s),this.safeSetState({status:Jf},(function(){t.props.onEntering(r,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:Zf},(function(){t.props.onEntered(r,s)}))}))})))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:h.findDOMNode(this);t&&!Wf?(this.props.onExit(i),this.safeSetState({status:Xf},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Gf},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:Gf},(function(){e.props.onExited(i)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=o[0],s=o[1];this.props.addEndListener(r,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Qf)return null;var n=this.props,i=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=$f(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Kf.Provider,{value:null},"function"==typeof i?i(e,o):t.cloneElement(t.Children.only(i),o))},n}(t.Component);function tg(){}eg.contextType=Kf,eg.propTypes={},eg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:tg,onEntering:tg,onEntered:tg,onExit:tg,onExiting:tg,onExited:tg},eg.UNMOUNTED=Qf,eg.EXITED=Gf,eg.ENTERING=Jf,eg.ENTERED=Zf,eg.EXITING=Xf;var ng=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))},ig=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=Vf(n.className,i):n.setAttribute("class",Vf(n.className&&n.className.baseVal||"",i)));var n,i}))},og=function(e){function n(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1];t.removeClasses(o,"exit"),t.addClass(o,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.addClass(o,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.removeClasses(o,r),t.addClass(o,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,o=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:i?o+"-active":n[e+"Active"],doneClassName:i?o+"-done":n[e+"Done"]}},t}qf(n,e);var i=n.prototype;return i.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(i+=" "+o),"active"===n&&e&&Yf(e),i&&(this.appliedClasses[t][n]=i,ng(e,i))},i.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,o=n.active,r=n.done;this.appliedClasses[t]={},i&&ig(e,i),o&&ig(e,o),r&&ig(e,r)},i.render=function(){var e=this.props;e.classNames;var n=$f(e,["classNames"]);return t.createElement(eg,S({},n,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(t.Component);function rg(e,t){var n=Object.create(null);return e&&l.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&c(e)?t(e):e}(e)})),n}function sg(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ag(e,t,n){var i=rg(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,o=Object.create(null),r=[];for(var s in e)s in t?r.length&&(o[s]=r,r=[]):r.push(s);var a={};for(var l in t){if(o[l])for(i=0;i<o[l].length;i++){var c=o[l][i];a[o[l][i]]=n(c)}a[l]=n(l)}for(i=0;i<r.length;i++)a[r[i]]=n(r[i]);return a}(t,i);return Object.keys(o).forEach((function(r){var s=o[r];if(c(s)){var a=r in t,l=r in i,u=t[r],d=c(u)&&!u.props.in;!l||a&&!d?l||!a||d?l&&a&&c(u)&&(o[r]=p(s,{onExited:n.bind(null,s),in:u.props.in,exit:sg(s,"exit",e),enter:sg(s,"enter",e)})):o[r]=p(s,{in:!1}):o[r]=p(s,{onExited:n.bind(null,s),in:!0,exit:sg(s,"exit",e),enter:sg(s,"enter",e)})}})),o}og.defaultProps={classNames:""},og.propTypes={};var lg=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},cg=function(e){function n(t,n){var i,o=(i=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}qf(n,e);var i=n.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,rg(n.children,(function(e){return p(e,{onExited:i.bind(null,e),in:!0,appear:sg(e,"appear",n),enter:sg(e,"enter",n),exit:sg(e,"exit",n)})}))):ag(e,o,r),firstRender:!1}},i.handleExited=function(e,t){var n=rg(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=S({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,n=e.component,i=e.childFactory,o=$f(e,["component","childFactory"]),r=this.state.contextValue,s=lg(this.state.children).map(i);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Kf.Provider,{value:r},s):t.createElement(Kf.Provider,{value:r},t.createElement(n,o,s))},n}(t.Component);cg.propTypes={},cg.defaultProps={component:"div",childFactory:function(e){return e}};var pg,ug,dg=function(e){function n(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExited",1,n)},t}qf(n,e);var i=n.prototype;return i.handleLifecycle=function(e,n,i){var o,r=this.props.children,s=t.Children.toArray(r)[n];if(s.props[e]&&(o=s.props)[e].apply(o,i),this.props[e]){var a=s.props.nodeRef?void 0:h.findDOMNode(this);this.props[e](a)}},i.render=function(){var e=this.props,n=e.children,i=e.in,o=$f(e,["children","in"]),r=t.Children.toArray(n),s=r[0],a=r[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,t.createElement(cg,o,i?t.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):t.cloneElement(a,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},n}(t.Component);dg.propTypes={};var hg="out-in",mg="in-out",fg=function(e,t,n){return function(){var i;e.props[t]&&(i=e.props)[t].apply(i,arguments),n()}},gg=((pg={})[hg]=function(e){var n=e.current,i=e.changeState;return t.cloneElement(n,{in:!1,onExited:fg(n,"onExited",(function(){i(Jf,null)}))})},pg[mg]=function(e){var n=e.current,i=e.changeState,o=e.children;return[n,t.cloneElement(o,{in:!0,onEntered:fg(o,"onEntered",(function(){i(Jf)}))})]},pg),bg=((ug={})[hg]=function(e){var n=e.children,i=e.changeState;return t.cloneElement(n,{in:!0,onEntered:fg(n,"onEntered",(function(){i(Zf,t.cloneElement(n,{in:!0}))}))})},ug[mg]=function(e){var n=e.current,i=e.children,o=e.changeState;return[t.cloneElement(n,{in:!1,onExited:fg(n,"onExited",(function(){o(Zf,t.cloneElement(i,{in:!0}))}))}),t.cloneElement(i,{in:!0})]},ug),vg=function(e){function n(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).state={status:Zf,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}qf(n,e);var i=n.prototype;return i.componentDidMount=function(){this.appeared=!0},n.getDerivedStateFromProps=function(e,n){return null==e.children?{current:null}:n.status===Jf&&e.mode===mg?{status:Jf}:!n.current||(i=n.current,o=e.children,i===o||t.isValidElement(i)&&t.isValidElement(o)&&null!=i.key&&i.key===o.key)?{current:t.cloneElement(e.children,{in:!0})}:{status:Xf};var i,o},i.render=function(){var e,n=this.props,i=n.children,o=n.mode,r=this.state,s=r.status,a=r.current,l={children:i,current:a,changeState:this.changeState,status:s};switch(s){case Jf:e=bg[o](l);break;case Xf:e=gg[o](l);break;case Zf:e=a}return t.createElement(Kf.Provider,{value:{isMounting:!this.appeared}},e)},n}(t.Component);vg.propTypes={},vg.defaultProps={mode:hg};const yg=(e,n)=>{let{children:i,...o}=e;return t.createElement("div",S({ref:n,"data-testid":"ne-backdrop"},o),i)};var xg=u(yg);const wg=20,kg="#2F3941",Eg="#68737D",_g={small:24,medium:32,large:40,extraLarge:64},Mg=["ne-avatar--container-bg-1","ne-avatar--container-bg-2","ne-avatar--container-bg-3","ne-avatar--container-bg-4","ne-avatar--container-bg-5","ne-avatar--container-bg-6","ne-avatar--container-bg-7"],Cg="https://github.com/bigbinary/neeto-ui/blob/602cf3ab48a36d7a512f3780f9950d15d13ebbea/lib/images/user.png?raw=true",Dg="danger",Og={button:"button",reset:"reset",submit:"submit"},Tg={primary:"primary",secondary:"secondary",danger:"danger",danger_text:"danger-text",text:"text",link:"link"},Ng={small:"small",medium:"medium",large:"large"},Sg={left:"left",right:"right"};function Ag(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}var jg="undefined"!=typeof window&&"undefined"!=typeof document;function Ig(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function zg(){return jg&&document.createElement("div")}function Lg(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!Lg(e[n],t[n]))return!1}return!0}return!1}function Rg(e){var t=[];return e.forEach((function(e){t.find((function(t){return Lg(e,t)}))||t.push(e)})),t}var Fg=jg?d:r;function Pg(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Bg={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function i(){e.props.className&&!n()||Pg(t,"add",e.props.className)}return{onCreate:i,onBeforeUpdate:function(){n()&&Pg(t,"remove",e.props.className)},onAfterUpdate:i}}};function Ug(e){return function(n){var i=n.children,r=n.content,a=n.visible,l=n.singleton,c=n.render,u=n.reference,d=n.disabled,h=void 0!==d&&d,m=n.ignoreAttributes,g=void 0===m||m;n.__source,n.__self;var b,v,y=Ag(n,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),x=void 0!==a,w=void 0!==l,k=o(!1),E=k[0],_=k[1],M=o({}),C=M[0],D=M[1],O=o(),T=O[0],N=O[1],S=(b=function(){return{container:zg(),renders:1}},(v=s()).current||(v.current="function"==typeof b?b():b),v.current),A=Object.assign({ignoreAttributes:g},y,{content:S.container});x&&(A.trigger="manual",A.hideOnClick=!1),w&&(h=!0);var j=A,I=A.plugins||[];c&&(j=Object.assign({},A,{plugins:w&&null!=l.data?[].concat(I,[{fn:function(){return{onTrigger:function(e,t){var n=l.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,N(n.content)}}}}]):I,render:function(){return{popper:S.container}}}));var z=[u].concat(i?[i.type]:[]);return Fg((function(){var t=u;u&&u.hasOwnProperty("current")&&(t=u.current);var n=e(t||S.ref||zg(),Object.assign({},j,{plugins:[Bg].concat(A.plugins||[])}));return S.instance=n,h&&n.disable(),a&&n.show(),w&&l.hook({instance:n,content:r,props:j,setSingletonContent:N}),_(!0),function(){n.destroy(),null==l||l.cleanup(n)}}),z),Fg((function(){var e;if(1!==S.renders){var t,n,i,o,s=S.instance;s.setProps((t=s.props,n=j,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:Rg([].concat((null==(i=t.popperOptions)?void 0:i.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=s.popperInstance)||e.forceUpdate(),h?s.disable():s.enable(),x&&(a?s.show():s.hide()),w&&l.hook({instance:s,content:r,props:j,setSingletonContent:N})}else S.renders++})),Fg((function(){var e;if(c){var t=S.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,i=null==(t=n.modifiersData)?void 0:t.hide;C.placement===n.placement&&C.referenceHidden===(null==i?void 0:i.isReferenceHidden)&&C.escaped===(null==i?void 0:i.hasPopperEscaped)||D({placement:n.placement,referenceHidden:null==i?void 0:i.isReferenceHidden,escaped:null==i?void 0:i.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[C.placement,C.referenceHidden,C.escaped].concat(z)),t.createElement(t.Fragment,null,i?p(i,{ref:function(e){S.ref=e,Ig(i.ref,e)}}):null,E&&f(c?c(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(C),T,S.instance):r,S.container))}}var $g=function(e,n){return u((function(i,o){var r=i.children,s=Ag(i,["children"]);return t.createElement(e,Object.assign({},n,s),r?p(r,{ref:function(e){Ig(o,e),Ig(r.ref,e)}}):null)}))},Hg=$g(Ug(fc));const qg=e=>{let{content:n,children:i,theme:o="dark",disabled:r=!1,placement:s,position:a="auto",interactive:l=!1,delay:c=0,...p}=e;return t.createElement(Hg,S({role:"tooltip",theme:o,content:n,arrow:"<svg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>",disabled:r,animation:"scale-subtle",placement:s||a,plugins:[yc],interactive:l,duration:[100,200],zIndex:100001,delay:c},p),i)},Vg=t.forwardRef(((e,n)=>{let i,o,{icon:r=null,iconPosition:s=Sg.right,iconSize:a=16,label:l="",loading:c=!1,onClick:p=(()=>{}),type:u=Og.button,style:d=Tg.primary,fullWidth:h=!1,className:m="",disabled:f=!1,size:g=Ng.medium,href:b="",tooltipProps:v=null,...y}=e;b?(i="a",o={href:b}):(i="button",o={type:u});const x="string"==typeof r?()=>t.createElement("i",{className:Uc("ne-btn__icon",[r])}):r||t.Fragment;return t.createElement(qg,S({disabled:!v},v),t.createElement(i,S({ref:n,onClick:e=>{c||f||p(e)},className:Uc("ne-btn",[m],{"ne-btn--style-primary":d===Tg.primary,"ne-btn--style-secondary":d===Tg.secondary,"ne-btn--style-danger":d===Tg.danger,"ne-btn--style-danger-text":d===Tg.danger_text,"ne-btn--style-text":d===Tg.text,"ne-btn--style-link":d===Tg.link,"ne-btn--size-medium":g===Ng.medium,"ne-btn--size-large":g===Ng.large,"ne-btn--width-full":h,"ne-btn--icon-left":s===Sg.left,"ne-btn--icon-only":!l,disabled:f}),disabled:f},o,y),l&&t.createElement("span",null,l),r&&t.createElement(x,{key:"2",size:a,className:"ne-btn__icon"})))}));Vg.displayName="Button";const Wg=e=>{let{children:t,rootId:n="root-portal",el:i="div"}=e;const o=s(null);return r((()=>{let e=document.getElementById(n);return e||(e=document.createElement(i),e.setAttribute("id",n),document.body.appendChild(e)),e.appendChild(o.current),()=>{o.current.remove(),0===e.childNodes.length&&e.remove()}}),[n]),o.current||(o.current=document.createElement(i)),f(t,o.current)},Kg=()=>{},Yg=e=>{let{size:n=Ng.medium,isOpen:i=!1,onClose:o=Kg,children:a,finalFocusRef:l,initialFocusRef:c,className:p="",closeOnEsc:u=!0,closeButton:d=!0,backdropClassName:h="",blockScrollOnMount:m=!0,closeOnOutsideClick:f=!0,...g}=e;const b=s(),v=s();!function(e,t){r((()=>(t&&Vd.add(e),()=>{Vd.remove(e)})),[t,e])}(b,i);const{handleModalClose:y}=vh({isOpen:i,initialFocusRef:c,finalFocusRef:l,modalWrapper:b,onClose:o,backdropRef:v,closeOnOutsideClick:f,closeOnEsc:u,blockScrollOnMount:m});return t.createElement(Wg,{rootId:"neeto-ui-portal"},t.createElement(og,{in:i,appear:i,timeout:300,classNames:"ne-modal",unmountOnExit:!0},t.createElement(xg,{ref:v,key:"modal-backdrop","data-testid":"backdrop",className:Uc("ne-modal__backdrop",h)},t.createElement("div",S({role:"dialog","aria-modal":!0,ref:b,key:"modal-wrapper",className:Uc("ne-modal__wrapper",{"ne-modal__wrapper--small":n===Ng.small,"ne-modal__wrapper--medium":n===Ng.medium,"ne-modal__wrapper--large":n===Ng.large,[p]:p})},g),d&&t.createElement(Vg,{"aria-label":"Close",style:"text",icon:Fm,className:"ne-modal__close",onClick:y,"data-testid":"close-button",size:"small"}),a))))};Yg.propTypes={size:Ff.exports.oneOf(Object.values(Ng)),isOpen:Ff.exports.bool,onClose:Ff.exports.func,children:Ff.exports.node,className:Ff.exports.string,closeOnEsc:Ff.exports.bool,closeButton:Ff.exports.bool,backdropClassName:Ff.exports.string,closeOnOutsideClick:Ff.exports.bool,finalFocusRef:Ff.exports.object,initialFocusRef:Ff.exports.object,blockScrollOnMount:Ff.exports.bool};const Qg=e=>{let{children:n,className:i="",required:o=!1,helpIconProps:r=null,...s}=e;const{onClick:a,icon:l,tooltipProps:c,className:p,...u}=r||{},d=l||Zm;return t.createElement("label",S({className:Uc("ne-label",i)},s),n,o&&t.createElement("span",{"aria-hidden":!0},"*"),r&&t.createElement(qg,S({},c,{disabled:!c}),t.createElement("span",{className:Uc("ne-label__help-icon-wrap",{[p]:p}),onClick:a},t.createElement(d,S({size:16},u)))))};Qg.propTypes={children:Ff.exports.node,className:Ff.exports.string,required:Ff.exports.bool,helpIconProps:Ff.exports.shape({onClick:Ff.exports.func,icon:Ff.exports.oneOfType([Ff.exports.element,Ff.exports.func]),tooltipProps:Ff.exports.shape({...qg.propTypes})})};const Gg=u(((e,n)=>{var i,r;let{id:s,size:a=Ng.medium,type:l="text",label:c="",error:p="",suffix:u=null,prefix:d=null,disabled:h=!1,helpText:m="",className:f="",nakedInput:g=!1,contentSize:b=null,required:v=!1,maxLength:y,...x}=e;const[w,k]=o(x.value),E=null!==(i=null!==(r=x.value)&&void 0!==r?r:w)&&void 0!==i?i:"",_=x.onChange||(e=>k(e.target.value)),M=`error_${s}`,C=`helpText_${s}`,D=(null==E?void 0:E.toString().length)||0,O=D>=.9*y,T=!!y&&D>y;return t.createElement("div",{className:Uc(["ne-input__wrapper",f])},t.createElement("div",{className:"ne-input__label-wrapper"},c&&t.createElement(Qg,{required:v,"data-cy":`ne-${Td(c)}-input-label`,htmlFor:s},c),O&&t.createElement("p",{className:Uc("ne-input__max-length",{"ne-input__max-length--error":T})},D,"/",y)),t.createElement("div",{className:Uc("ne-input",{"ne-input--naked":!!g,"ne-input--error":!!p,"ne-input--disabled":!!h,"ne-input--small":"small"===a,"ne-input--medium":"medium"===a,"ne-input--large":"large"===a})},d&&t.createElement("div",{className:"ne-input__prefix"},d),t.createElement("input",S({ref:n,id:s,type:l,disabled:h,size:b,required:v,"aria-invalid":!!p,"aria-describedby":Uc({[M]:!!p,[C]:m}),"data-cy":"input-field"},x,{value:E,onChange:_})),u&&t.createElement("div",{className:"ne-input__suffix"},u)),!!p&&t.createElement("p",{"data-cy":`ne-${Td(c)}-input-error`,className:"ne-input__error",id:M},p),m&&t.createElement("p",{className:"ne-input__help-text",id:C,"data-cy":`ne-${Td(c)}-input-help`},m))}));Gg.propTypes={id:Ff.exports.string,size:Ff.exports.oneOf(Object.values(Ng)),type:Ff.exports.string,maxLength:Ff.exports.number,label:Ff.exports.string,error:Ff.exports.string,suffix:Ff.exports.node,prefix:Ff.exports.node,disabled:Ff.exports.bool,helpText:Ff.exports.string,className:Ff.exports.string,nakedInput:Ff.exports.bool,contentSize:Ff.exports.number,required:Ff.exports.bool},Gg.displayName="Input";const Jg=e=>{let{url:n,editor:i,onClose:r,alt:s}=e;const[a,l]=o(s||""),[c,p]=o(!1),u=()=>{i.chain().focus().setImage({src:n,alt:a}).run(),r()};return t.createElement("div",{className:"neeto-editor-image-editor",onKeyDown:e=>{"Enter"===e.key&&u()}},c?t.createElement("div",{className:"neeto-editor-image-editor__error"},t.createElement("h2",null,"Something Went Wrong!"),t.createElement("p",null,"The selected image cannot be displayed. Please try again using another image.")):t.createElement(t.Fragment,null,t.createElement("figure",null,t.createElement("img",{src:n,loading:"lazy",onError:e=>{let{currentTarget:t}=e;p(!0),t.onerror=null}})),t.createElement(Gg,{autoFocus:!0,value:a,onChange:e=>l(e.target.value),placeholder:"Brand Image",label:"Caption"})),t.createElement("div",{className:"neeto-editor-image-editor__footer"},t.createElement(Vg,{label:"Proceed",disabled:c,onClick:u}),t.createElement(Vg,{label:"Cancel",style:"text",onClick:r})))},Zg=e=>{let{editor:n,isOpen:i,onClose:o}=e;const r=n&&n.view.state.selection.node;return t.createElement(Yg,{isOpen:i,onClose:o},t.createElement("div",{className:"neeto-editor-image-uploader"},t.createElement("div",{className:"neeto-editor-image-uploader__content"},t.createElement(Jg,{editor:n,onClose:o,url:null==r?void 0:r.attrs.src,alt:null==r?void 0:r.attrs.alt}))))},Xg=e=>{let{editor:t,isImageEditorModalOpen:n,setIsImageEditorModalOpen:i}=e;return[{Icon:ef,command:()=>t.chain().focus().setImageAttributes({float:"left",align:"none"}).run(),active:t.isActive("image",{float:"left",align:"none"}),optionName:"Float Left"},{Icon:Lm,command:()=>t.chain().focus().setImageAttributes({float:"none",align:"center"}).run(),active:t.isActive("image",{float:"none",align:"center"}),optionName:"Align Center"},{Icon:bf,command:()=>t.chain().focus().setImageAttributes({float:"right",align:"none"}).run(),active:t.isActive("image",{float:"right",align:"center"}),optionName:"Float Right"},{Icon:qm,command:()=>i(!0),active:n,optionName:"Caption"},{Icon:Fm,command:()=>t.commands.deleteSelection(),active:!1,optionName:"Remove"}]},eb=e=>{let{Icon:n,command:i,active:o,optionName:r}=e;return t.createElement(qg,{content:Od(r),position:"top",delay:[500]},t.createElement("div",{className:Uc("neeto-editor-bubble-menu__item",{active:o}),onClick:i,"data-cy":`neeto-editor-bubble-menu-${r}-option`},t.createElement(n,{size:20})))},tb=e=>{let{editor:n,isImageEditorModalOpen:i,setIsImageEditorModalOpen:o}=e;return Xg({editor:n,isImageEditorModalOpen:i,setIsImageEditorModalOpen:o}).map((e=>t.createElement(eb,S({key:e.optionName},e))))},nb=/[(http(s)?)://(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/,ib=/^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/,ob=/((?:http|https):\/\/)?(www\.|player\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|(?:manage\/)?videos?\/|)(\d+)(?:(?:\/|\?h=)(\w+))?(?:|\/\?)/,rb=/((?:http|https):\/\/)?(www\.)?loom\.com\/(share|embed)\/((?:\w|\d)*)\/?(?:\?(?:t=)?(\d+)?)?/,sb=e=>{let{editor:n,handleClose:i,handleAnimateInvalidLink:s}=e;const[a,l]=o("");r((()=>{l(n.getAttributes("link").href||"")}),[]);const c=()=>{nb.test(a)?(n.chain().focus().setLink({href:a}).run(),i()):Sd(a)?(n.chain().focus().unsetLink().run(),i()):(l(""),s())};return t.createElement("div",{onKeyDown:e=>{"Escape"===e.key?i():"Enter"===e.key&&c()},className:"neeto-editor-bubble-menu__link"},t.createElement("input",{autoFocus:!0,name:"url",value:a,placeholder:"Paste or type a link...",onChange:e=>{let{target:{value:t}}=e;return l(t)},className:"neeto-editor-bubble-menu-link__input","data-cy":"neeto-editor-link-input"}),t.createElement(Vg,{style:"icon",icon:Fm,onClick:()=>{a?(l(""),n.chain().focus().unsetLink().run()):i()},"data-cy":"neeto-editor-link-cancel-button"}))},ab=e=>{let{editor:n,options:i,setIsInvalidLink:r,isLinkOptionActive:s,setIsLinkOptionActive:a}=e;const[l,c]=o(!1),p=(e=>{let{editor:t,setIsLinkOptionActive:n}=e;return[{Icon:wf,command:()=>t.chain().focus().toggleBold().run(),active:t.isActive("bold"),optionName:"bold"},{Icon:Tf,command:()=>t.chain().focus().toggleItalic().run(),active:t.isActive("italic"),optionName:"italic"},{Icon:zf,command:()=>t.chain().focus().toggleUnderline().run(),active:t.isActive("underline"),optionName:"underline"},{Icon:Ef,command:()=>t.chain().focus().toggleStrike().run(),active:t.isActive("strike"),optionName:"strike"},{Icon:nf,command:()=>n(!0),active:t.isActive("link"),optionName:"link"},{Icon:Bm,command:()=>t.chain().focus().toggleCode().run(),active:t.isActive("code"),optionName:"code-block"},{Icon:Ym,command:()=>t.chain().focus().toggleHighlight().run(),active:t.isActive("highlight"),optionName:"highlight"}]})({editor:n,setIsLinkOptionActive:a}).filter((e=>{let{optionName:t}=e;return i.includes(t)})),u=(e=>{let{editor:t}=e;return[{optionName:"Heading 1",active:t.isActive("heading",{level:1}),command:()=>t.chain().focus().setNode("heading",{level:1}).run()},{optionName:"Heading 2",active:t.isActive("heading",{level:2}),command:()=>t.chain().focus().setNode("heading",{level:2}).run()},{optionName:"Heading 3",active:t.isActive("heading",{level:3}),command:()=>t.chain().focus().setNode("heading",{level:3}).run()},{optionName:"Ordered List",active:t.isActive("orderedList"),command:()=>t.chain().focus().toggleOrderedList().run()},{optionName:"Bulleted List",active:t.isActive("bulletList"),command:()=>t.chain().focus().toggleBulletList().run()},{optionName:"Paragraph",active:t.isActive("paragraph"),command:()=>t.chain().focus().setNode("paragraph").run()}]})({editor:n}),d=(e=>{var t;return(null===(t=e.find((e=>e.active)))||void 0===t?void 0:t.optionName)||"Paragraph"})(u),h=()=>{r(!0),setTimeout((()=>{r(!1)}),1e3)},m=()=>c(!1);return s?t.createElement(sb,{editor:n,handleClose:()=>a(!1),handleAnimateInvalidLink:h}):t.createElement(t.Fragment,null,t.createElement(Hg,{arrow:!1,interactive:!0,placement:"bottom",visible:l,onClickOutside:m,content:t.createElement("div",{className:"neeto-editor-bubble-menu__dropdown"},u.map((e=>{let{optionName:n,command:i}=e;return t.createElement("button",{type:"button",key:n,onClick:()=>{i(),m()},className:"neeto-editor-bubble-menu__item neeto-editor-bubble-menu__dropdown-item"},n)})))},t.createElement("button",{type:"button",onClick:()=>c((e=>!e)),className:"neeto-editor-bubble-menu__item neeto-editor-bubble-menu__dropdown-target"},d,t.createElement($m,{size:14}))),p.map((e=>t.createElement(eb,S({},e,{key:e.optionName})))))},lb=e=>{let{editor:n,options:i}=e;const[r,s]=o(!1),[a,l]=o(!1),[c,p]=o(!1),u=n&&n.view.state.selection.node,d=u&&"image"===u.type.name,h=[Bd.BOLD,Bd.ITALIC,Bd.UNDERLINE,Bd.STRIKETHROUGH,Bd.LINK],m=Sd(i.filter((e=>h.includes(e))));return!n||!d&&m?null:t.createElement("div",null,t.createElement(Ec,{editor:n,tippyOptions:{arrow:Ml,zIndex:99999,onHide:()=>l(!1),theme:"neeto-editor-bubble-menu",maxWidth:384},className:Uc("neeto-editor-bubble-menu",{"neeto-editor-bubble-menu-animate-shake":r})},d?t.createElement(tb,{editor:n,isImageEditorModalOpen:c,setIsImageEditorModalOpen:p}):t.createElement(ab,{editor:n,options:i,setIsInvalidLink:s,isLinkOptionActive:a,setIsLinkOptionActive:l})),t.createElement(Zg,{editor:n,isOpen:c,onClose:()=>p(!1)}))},cb=e=>{let{count:n,limit:i,strategy:o}=e;const r="limit"===o&&i;return t.createElement("p",{className:"neeto-editor-character-count","data-cy":"neeto-editor-character-count"},r?`${i-n} characters remaining`:`${n} characters`)},pb=()=>document.documentElement.style.setProperty("--focus-background-color","rgba(234, 243, 252, 0.5)"),ub=()=>document.documentElement.style.setProperty("--focus-background-color","transparent"),db={onMouseEnter:pb,onMouseLeave:ub},hb=e=>{let{icon:n,iconActive:i=!0,tooltipProps:o,highlight:r=!1,...s}=e;return t.createElement(qg,o,t.createElement("button",S({className:Uc("neeto-editor-fixed-menu__item",{active:i}),type:"button"},function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?db:{}}(r),s),t.createElement(n,{color:i?kg:Eg,size:wg})))};hb.propTypes={icon:Ff.exports.oneOfType([Ff.exports.element,Ff.exports.func]),iconActive:Ff.exports.bool,onClick:Ff.exports.func,tooltipProps:Ff.exports.object};const mb=e=>{let{children:n,className:i,...o}=e;return t.createElement("ul",S({className:Uc("ne-dropdown__popup-menu",i)},o),n)};mb.propTypes={className:Ff.exports.string,children:Ff.exports.node};const fb=e=>{let{children:n,className:i,...o}=e;return t.createElement("li",S({className:Uc("ne-dropdown__popup-menu-item",i)},o),n)};fb.propTypes={className:Ff.exports.string,children:Ff.exports.node,isActive:Ff.exports.bool};const gb=e=>{let n,i,{children:o,className:r,isActive:s,style:a,prefix:l,suffix:c,type:p=Og.button,href:u="",...d}=e;return u?(n="a",i={href:u}):(n="button",i={type:p}),t.createElement(fb,null,t.createElement(n,S({className:Uc("ne-dropdown__popup-menu-item-btn",r,{"ne-dropdown__popup-menu-item-btn":s,"ne-dropdown__popup-menu-item-btn--style-danger":a===Dg})},d,i),l&&t.createElement("div",{className:"ne-dropdown__popup-menu-item-btn__prefix"},l),o,c&&t.createElement("div",{className:"ne-dropdown__popup-menu-item-btn__suffix"},c)))};gb.propTypes={className:Ff.exports.string,children:Ff.exports.node,isActive:Ff.exports.bool,to:Ff.exports.string,href:Ff.exports.string,suffix:Ff.exports.node,prefix:Ff.exports.node,type:Ff.exports.oneOf(Object.values(Og))},fb.Button=gb;const bb={primary:"primary",secondary:"secondary",danger:"danger",danger_text:"danger-text",text:"text",link:"link"},vb={small:"small",medium:"medium",large:"large"},yb={absolute:"absolute",fixed:"fixed"},xb={auto:"auto",autoStart:"auto-start",autoEnd:"auto-end",top:"top",topStart:"top-start",topEnd:"top-end",bottom:"bottom",bottomStart:"bottom-start",bottomEnd:"bottom-end",right:"right",rightStart:"right-start",rightEnd:"right-end",left:"left",leftStart:"left-start",leftEnd:"left-end"},wb={click:"click",hover:"mouseenter focus"},kb={name:"hideOnEsc",defaultValue:!0,fn(e){let{hide:t,props:{hideOnEsc:n,onClose:i}}=e;function o(e){"escape"===e.key.toLowerCase()&&n&&(null==i||i(),t())}return{onShow(){document.addEventListener("keydown",o)},onHide(){document.removeEventListener("keydown",o)}}}},Eb=t.forwardRef(((e,n)=>{let{icon:i,label:r,isOpen:s,onClose:a=(()=>{}),dropdownProps:l={},position:c=xb.bottomEnd,children:p,className:u,buttonStyle:d=bb.primary,buttonSize:h=vb.medium,buttonProps:{style:m,size:f,...g}={},customTarget:b,disabled:v=!1,closeOnEsc:y=!0,closeOnSelect:x=!0,closeOnOutsideClick:w=!0,dropdownModifiers:k=[],trigger:E=wb.click,strategy:_=yb.absolute,onClick:M,...C}=e;const[D,O]=o(null),[T,N]=o(!1),A=!(null==s),j=A?{visible:s,onClickOutside:a}:{onClickOutside:()=>(a(),w)},{classNames:I,...z}=l,L=!A&&(w||"toggle");return t.createElement(Hg,S({ref:n,role:"dropdown",trigger:wb[E],plugins:[kb],hideOnEsc:y,hideOnClick:L,interactive:!0,placement:c||xb.bottomEnd,arrow:!1,offset:0,animation:!1,theme:"light",className:Uc("ne-dropdown",{[u]:u}),duration:0,onCreate:e=>e&&O(e),popperOptions:{strategy:_,modifiers:k},maxWidth:"none",onMount:()=>{N(!0)},onHidden:()=>{N(!1)},content:T?t.createElement("div",S({className:Uc("ne-dropdown__popup",{[I]:I}),onClick:x?()=>{D.hide(),a()}:()=>{}},z),p):null},C,j),b?t.createElement("span",{onClick:M},"function"==typeof b?b():b):t.createElement(Vg,S({label:r,style:null!=m?m:d,size:null!=f?f:h,icon:i||$m,iconPosition:"right",disabled:v||(null==g?void 0:g.disabled),onClick:M},g)))}));function _b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Eb.Menu=mb,Eb.MenuItem=fb,Eb.Divider=e=>t.createElement("li",S({className:"ne-dropdown__popup-divider"},e)),Eb.displayName="Dropdown";var Mb,Cb={exports:{}},Db={exports:{}},Ob=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}},Tb=Ob,Nb=Object.prototype.toString,Sb=(Mb=Object.create(null),function(e){var t=Nb.call(e);return Mb[t]||(Mb[t]=t.slice(8,-1).toLowerCase())});function Ab(e){return e=e.toLowerCase(),function(t){return Sb(t)===e}}function jb(e){return Array.isArray(e)}function Ib(e){return void 0===e}var zb=Ab("ArrayBuffer");function Lb(e){return null!==e&&"object"==typeof e}function Rb(e){if("object"!==Sb(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var Fb=Ab("Date"),Pb=Ab("File"),Bb=Ab("Blob"),Ub=Ab("FileList");function $b(e){return"[object Function]"===Nb.call(e)}var Hb=Ab("URLSearchParams");function qb(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),jb(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var Vb,Wb=(Vb="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return Vb&&e instanceof Vb}),Kb={isArray:jb,isArrayBuffer:zb,isBuffer:function(e){return null!==e&&!Ib(e)&&null!==e.constructor&&!Ib(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||Nb.call(e)===t||$b(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&zb(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Lb,isPlainObject:Rb,isUndefined:Ib,isDate:Fb,isFile:Pb,isBlob:Bb,isFunction:$b,isStream:function(e){return Lb(e)&&$b(e.pipe)},isURLSearchParams:Hb,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:qb,merge:function e(){var t={};function n(n,i){Rb(t[i])&&Rb(n)?t[i]=e(t[i],n):Rb(n)?t[i]=e({},n):jb(n)?t[i]=n.slice():t[i]=n}for(var i=0,o=arguments.length;i<o;i++)qb(arguments[i],n);return t},extend:function(e,t,n){return qb(t,(function(t,i){e[i]=n&&"function"==typeof t?Tb(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,i){e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var i,o,r,s={};t=t||{};do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s[r=i[o]]||(t[r]=e[r],s[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Sb,kindOfTest:Ab,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n},toArray:function(e){if(!e)return null;var t=e.length;if(Ib(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:Wb,isFileList:Ub},Yb=Kb;function Qb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Gb=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(Yb.isURLSearchParams(t))i=t.toString();else{var o=[];Yb.forEach(t,(function(e,t){null!=e&&(Yb.isArray(e)?t+="[]":e=[e],Yb.forEach(e,(function(e){Yb.isDate(e)?e=e.toISOString():Yb.isObject(e)&&(e=JSON.stringify(e)),o.push(Qb(t)+"="+Qb(e))})))})),i=o.join("&")}if(i){var r=e.indexOf("#");-1!==r&&(e=e.slice(0,r)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e},Jb=Kb;function Zb(){this.handlers=[]}Zb.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},Zb.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Zb.prototype.forEach=function(e){Jb.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var Xb,ev,tv=Zb,nv=Kb;function iv(){if(ev)return Xb;ev=1;var e=Kb;function t(e,t,n,i,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o)}e.inherits(t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var n=t.prototype,i={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){i[e]={value:e}})),Object.defineProperties(t,i),Object.defineProperty(n,"isAxiosError",{value:!0}),t.from=function(i,o,r,s,a,l){var c=Object.create(n);return e.toFlatObject(i,c,(function(e){return e!==Error.prototype})),t.call(c,i.message,o,r,s,a),c.name=i.name,l&&Object.assign(c,l),c},Xb=t}var ov,rv,sv,av,lv,cv,pv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function uv(){if(rv)return ov;rv=1;var e=Kb;return ov=function(t,n){n=n||new FormData;var i=[];function o(t){return null===t?"":e.isDate(t)?t.toISOString():e.isArrayBuffer(t)||e.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(r,s){if(e.isPlainObject(r)||e.isArray(r)){if(-1!==i.indexOf(r))throw Error("Circular reference detected in "+s);i.push(r),e.forEach(r,(function(i,r){if(!e.isUndefined(i)){var a,l=s?s+"."+r:r;if(i&&!s&&"object"==typeof i)if(e.endsWith(r,"{}"))i=JSON.stringify(i);else if(e.endsWith(r,"[]")&&(a=e.toArray(i)))return void a.forEach((function(t){!e.isUndefined(t)&&n.append(l,o(t))}));t(i,l)}})),i.pop()}else n.append(s,o(r))}(t),n},ov}function dv(){if(av)return sv;av=1;var e=iv();return sv=function(t,n,i){var o=i.config.validateStatus;i.status&&o&&!o(i.status)?n(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}}function hv(){if(cv)return lv;cv=1;var e=Kb;return lv=e.isStandardBrowserEnv()?{write:function(t,n,i,o,r,s){var a=[];a.push(t+"="+encodeURIComponent(n)),e.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),e.isString(o)&&a.push("path="+o),e.isString(r)&&a.push("domain="+r),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},lv}var mv,fv,gv,bv,vv,yv,xv,wv,kv,Ev,_v=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},Mv=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},Cv=function(e,t){return e&&!_v(t)?Mv(e,t):t};function Dv(){if(fv)return mv;fv=1;var e=Kb,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return mv=function(n){var i,o,r,s={};return n?(e.forEach(n.split("\n"),(function(n){if(r=n.indexOf(":"),i=e.trim(n.substr(0,r)).toLowerCase(),o=e.trim(n.substr(r+1)),i){if(s[i]&&t.indexOf(i)>=0)return;s[i]="set-cookie"===i?(s[i]?s[i]:[]).concat([o]):s[i]?s[i]+", "+o:o}})),s):s},mv}function Ov(){if(bv)return gv;bv=1;var e=Kb;return gv=e.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function o(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=o(window.location.href),function(n){var i=e.isString(n)?o(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}}function Tv(){if(yv)return vv;yv=1;var e=iv();function t(t){e.call(this,null==t?"canceled":t,e.ERR_CANCELED),this.name="CanceledError"}return Kb.inherits(t,e,{__CANCEL__:!0}),vv=t}function Nv(){return wv||(wv=1,xv=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}),xv}var Sv,Av,jv,Iv,zv,Lv={exports:{}},Rv={exports:{}},Fv={exports:{}};function Pv(){if(Av)return Sv;Av=1;var e=1e3,t=60*e,n=60*t,i=24*n,o=7*i,r=365.25*i;function s(e,t,n,i){var o=t>=1.5*n;return Math.round(e/n)+" "+i+(o?"s":"")}return Sv=function(a,l){l=l||{};var c=typeof a;if("string"===c&&a.length>0)return function(s){if((s=String(s)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!a)return;var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*r;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*t;case"seconds":case"second":case"secs":case"sec":case"s":return l*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(a);if("number"===c&&isFinite(a))return l.long?function(o){var r=Math.abs(o);if(r>=i)return s(o,r,i,"day");if(r>=n)return s(o,r,n,"hour");if(r>=t)return s(o,r,t,"minute");if(r>=e)return s(o,r,e,"second");return o+" ms"}(a):function(o){var r=Math.abs(o);if(r>=i)return Math.round(o/i)+"d";if(r>=n)return Math.round(o/n)+"h";if(r>=t)return Math.round(o/t)+"m";if(r>=e)return Math.round(o/e)+"s";return o+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},Sv}function Bv(){if(Iv)return jv;return Iv=1,jv=function(e){function t(e){let i,o,r,s=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),r=o-(i||o);n.diff=r,n.prev=i,n.curr=o,i=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,o)=>{if("%%"===i)return"%";s++;const r=t.formatters[o];if("function"==typeof r){const t=e[s];i=r.call(n,t),e.splice(s,1),s--}return i})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const i=("string"==typeof e?e:"").split(/[\s,]+/),o=i.length;for(n=0;n<o;n++)i[n]&&("-"===(e=i[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,i;for(n=0,i=t.skips.length;n<i;n++)if(t.skips[n].test(e))return!1;for(n=0,i=t.names.length;n<i;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=Pv(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},jv}var Uv,$v,Hv,qv,Vv,Wv,Kv,Yv,Qv,Gv,Jv,Zv,Xv,ey={exports:{}};function ty(){return $v?Uv:($v=1,Uv=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),o=t.indexOf("--");return-1!==i&&(-1===o||i<o)})}function ny(){return Vv||(Vv=1,function(e,t){const n=w,i=k;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(i.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),r=` ${o};1m${i} [0m`;n[0]=r+n[0].split("\n").join("\n"+r),n.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=function(){if(qv)return Hv;qv=1;const e=E,t=w,n=ty(),{env:i}=process;let o;function r(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function s(t,r){if(0===o)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!r&&void 0===o)return 0;const s=o||0;if("dumb"===i.TERM)return s;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||"codeship"===i.CI_NAME?1:s;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:s}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?o=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(o=1),"FORCE_COLOR"in i&&(o="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),Hv={supportsColor:function(e){return r(s(e,e&&e.isTTY))},stdout:r(s(!0,t.isatty(1))),stderr:r(s(!0,t.isatty(2)))}}();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=Bv()(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}(ey,ey.exports)),ey.exports}function iy(){return Wv||(Wv=1,function(e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=(zv||(zv=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(o=i))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=Bv()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(Fv,Fv.exports)),Fv.exports):e.exports=ny()}(Rv)),Rv.exports}function oy(){if(Qv)return Lv.exports;Qv=1;var e=v,t=e.URL,n=g,i=b,o=y.Writable,r=x,s=function(){return Yv||(Yv=1,Kv=function(){if(!e){try{e=iy()("follow-redirects")}catch(e){}"function"!=typeof e&&(e=function(){})}e.apply(null,arguments)}),Kv;var e}(),a=["abort","aborted","connect","error","socket","timeout"],l=Object.create(null);a.forEach((function(e){l[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var c=_("ERR_INVALID_URL","Invalid URL",TypeError),p=_("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),u=_("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),d=_("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=_("ERR_STREAM_WRITE_AFTER_END","write after end");function m(e,t){o.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){n._processResponse(e)},this._performRequest()}function f(n){var i={maxRedirects:21,maxBodyLength:10*1024*1024},o={};return Object.keys(n).forEach((function(a){var l=a+":",p=o[l]=n[a],u=i[a]=Object.create(p);Object.defineProperties(u,{request:{value:function(n,a,p){if(C(n)){var u;try{u=k(new t(n))}catch(t){u=e.parse(n)}if(!C(u.protocol))throw new c({input:n});n=u}else t&&n instanceof t?n=k(n):(p=a,a=n,n={protocol:l});return D(a)&&(p=a,a=null),(a=Object.assign({maxRedirects:i.maxRedirects,maxBodyLength:i.maxBodyLength},n,a)).nativeProtocols=o,C(a.host)||C(a.hostname)||(a.hostname="::1"),r.equal(a.protocol,l,"protocol mismatch"),s("options",a),new m(a,p)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=u.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),i}function w(){}function k(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return""!==e.port&&(t.port=Number(e.port)),t}function E(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function _(e,t,n){function i(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),i.prototype.constructor=i,i.prototype.name="Error ["+e+"]",i}function M(e){for(var t of a)e.removeListener(t,l[t]);e.on("error",w),e.abort()}function C(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}return m.prototype=Object.create(o.prototype),m.prototype.abort=function(){M(this._currentRequest),this.emit("abort")},m.prototype.write=function(e,t,n){if(this._ending)throw new h;if(!C(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;D(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new d),this.abort()):n&&n()},m.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var i=this,o=this._currentRequest;this.write(e,t,(function(){i._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},m.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},m.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},m.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),i(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){m.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(m.prototype,e,{get:function(){return this._currentRequest[e]}})})),m.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},m.prototype._performRequest=function(){var t=this._options.protocol,n=this._options.nativeProtocols[t];if(n){if(this._options.agents){var i=t.slice(0,-1);this._options.agent=this._options.agents[i]}var o=this._currentRequest=n.request(this._options,this._onNativeResponse);for(var r of(o._redirectable=this,a))o.on(r,l[r]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var s=0,c=this,p=this._requestBodyBuffers;!function e(t){if(o===c._currentRequest)if(t)c.emit("error",t);else if(s<p.length){var n=p[s++];o.finished||o.write(n.data,n.encoding,e)}else c._ended&&o.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},m.prototype._processResponse=function(t){var n=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:n});var i=t.headers.location;if(!i||!1===this._options.followRedirects||n<300||n>=400)return t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),void(this._requestBodyBuffers=[]);if(M(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new u);else{var o,a=this._options.beforeRedirect;a&&(o=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var l=this._options.method;((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var c,d=E(/^host$/i,this._options.headers),h=e.parse(this._currentUrl),m=d||h.host,f=/^\w+:/.test(i)?this._currentUrl:e.format(Object.assign(h,{host:m}));try{c=e.resolve(f,i)}catch(e){return void this.emit("error",new p({cause:e}))}s("redirecting to",c),this._isRedirect=!0;var g=e.parse(c);if(Object.assign(this._options,g),(g.protocol!==h.protocol&&"https:"!==g.protocol||g.host!==m&&!function(e,t){r(C(e)&&C(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(g.host,m))&&E(/^(?:authorization|cookie)$/i,this._options.headers),D(a)){var b={headers:t.headers,statusCode:n},v={url:f,method:l,headers:o};try{a(this._options,b,v)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){this.emit("error",new p({cause:e}))}}},Lv.exports=f({http:n,https:i}),Lv.exports.wrap=f,Lv.exports}function ry(){return Jv?Gv:(Jv=1,Gv={version:"0.27.2"})}function sy(){if(Xv)return Zv;Xv=1;var e=Kb,t=dv(),n=Cv,i=Gb,o=g,r=b,s=oy().http,a=oy().https,l=v,c=_,p=ry().version,u=pv,d=iv(),h=Tv(),m=/https:?/,f=["http:","https:","file:"];function y(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(e){e.headers.host=e.host,y(e,t,e.href)}}return Zv=function(g){return new Promise((function(b,v){var x;function w(){g.cancelToken&&g.cancelToken.unsubscribe(x),g.signal&&g.signal.removeEventListener("abort",x)}var k=function(e){w(),b(e)},E=!1,_=function(e){w(),E=!0,v(e)},M=g.data,C=g.headers,D={};if(Object.keys(C).forEach((function(e){D[e.toLowerCase()]=e})),"user-agent"in D?C[D["user-agent"]]||delete C[D["user-agent"]]:C["User-Agent"]="axios/"+p,e.isFormData(M)&&e.isFunction(M.getHeaders))Object.assign(C,M.getHeaders());else if(M&&!e.isStream(M)){if(Buffer.isBuffer(M));else if(e.isArrayBuffer(M))M=Buffer.from(new Uint8Array(M));else{if(!e.isString(M))return _(new d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",d.ERR_BAD_REQUEST,g));M=Buffer.from(M,"utf-8")}if(g.maxBodyLength>-1&&M.length>g.maxBodyLength)return _(new d("Request body larger than maxBodyLength limit",d.ERR_BAD_REQUEST,g));D["content-length"]||(C["Content-Length"]=M.length)}var O=void 0;g.auth&&(O=(g.auth.username||"")+":"+(g.auth.password||""));var T=n(g.baseURL,g.url),N=l.parse(T),S=N.protocol||f[0];if(-1===f.indexOf(S))return _(new d("Unsupported protocol "+S,d.ERR_BAD_REQUEST,g));if(!O&&N.auth){var A=N.auth.split(":");O=(A[0]||"")+":"+(A[1]||"")}O&&D.authorization&&delete C[D.authorization];var j=m.test(S),I=j?g.httpsAgent:g.httpAgent;try{i(N.path,g.params,g.paramsSerializer).replace(/^\?/,"")}catch(e){var z=new Error(e.message);z.config=g,z.url=g.url,z.exists=!0,_(z)}var L={path:i(N.path,g.params,g.paramsSerializer).replace(/^\?/,""),method:g.method.toUpperCase(),headers:C,agent:I,agents:{http:g.httpAgent,https:g.httpsAgent},auth:O};g.socketPath?L.socketPath=g.socketPath:(L.hostname=N.hostname,L.port=N.port);var R,F=g.proxy;if(!F&&!1!==F){var P=S.slice(0,-1)+"_proxy",B=process.env[P]||process.env[P.toUpperCase()];if(B){var U=l.parse(B),$=process.env.no_proxy||process.env.NO_PROXY,H=!0;if($){var q=$.split(",").map((function(e){return e.trim()}));H=!q.some((function(e){return!!e&&("*"===e||("."===e[0]&&N.hostname.substr(N.hostname.length-e.length)===e||N.hostname===e))}))}if(H&&(F={host:U.hostname,port:U.port,protocol:U.protocol},U.auth)){var V=U.auth.split(":");F.auth={username:V[0],password:V[1]}}}}F&&(L.headers.host=N.hostname+(N.port?":"+N.port:""),y(L,F,S+"//"+N.hostname+(N.port?":"+N.port:"")+L.path));var W=j&&(!F||m.test(F.protocol));g.transport?R=g.transport:0===g.maxRedirects?R=W?r:o:(g.maxRedirects&&(L.maxRedirects=g.maxRedirects),g.beforeRedirect&&(L.beforeRedirect=g.beforeRedirect),R=W?a:s),g.maxBodyLength>-1&&(L.maxBodyLength=g.maxBodyLength),g.insecureHTTPParser&&(L.insecureHTTPParser=g.insecureHTTPParser);var K=R.request(L,(function(n){if(!K.aborted){var i=n,o=n.req||K;if(204!==n.statusCode&&"HEAD"!==o.method&&!1!==g.decompress)switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":i=i.pipe(c.createUnzip()),delete n.headers["content-encoding"]}var r={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:g,request:o};if("stream"===g.responseType)r.data=i,t(k,_,r);else{var s=[],a=0;i.on("data",(function(e){s.push(e),a+=e.length,g.maxContentLength>-1&&a>g.maxContentLength&&(E=!0,i.destroy(),_(new d("maxContentLength size of "+g.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,g,o)))})),i.on("aborted",(function(){E||(i.destroy(),_(new d("maxContentLength size of "+g.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,g,o)))})),i.on("error",(function(e){K.aborted||_(d.from(e,null,g,o))})),i.on("end",(function(){try{var n=1===s.length?s[0]:Buffer.concat(s);"arraybuffer"!==g.responseType&&(n=n.toString(g.responseEncoding),g.responseEncoding&&"utf8"!==g.responseEncoding||(n=e.stripBOM(n))),r.data=n}catch(e){_(d.from(e,null,g,r.request,r))}t(k,_,r)}))}}}));if(K.on("error",(function(e){_(d.from(e,null,g,K))})),K.on("socket",(function(e){e.setKeepAlive(!0,1e3*60)})),g.timeout){var Y=parseInt(g.timeout,10);if(isNaN(Y))return void _(new d("error trying to parse `config.timeout` to int",d.ERR_BAD_OPTION_VALUE,g,K));K.setTimeout(Y,(function(){K.abort();var e=g.transitional||u;_(new d("timeout of "+Y+"ms exceeded",e.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,g,K))}))}(g.cancelToken||g.signal)&&(x=function(e){K.aborted||(K.abort(),_(!e||e&&e.type?new h:e))},g.cancelToken&&g.cancelToken.subscribe(x),g.signal&&(g.signal.aborted?x():g.signal.addEventListener("abort",x))),e.isStream(M)?M.on("error",(function(e){_(d.from(e,g,null,K))})).pipe(K):K.end(M)}))},Zv}var ay,ly,cy,py,uy={exports:{}};function dy(){if(py)return cy;py=1;var e=k,t=y.Stream,n=function(){if(ly)return ay;ly=1;var e=y.Stream;function t(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return ay=t,k.inherits(t,e),t.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(t.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),t.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},t.prototype.resume=function(){this._released||this.release(),this.source.resume()},t.prototype.pause=function(){this.source.pause()},t.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},t.prototype.pipe=function(){var t=e.prototype.pipe.apply(this,arguments);return this.resume(),t},t.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},t.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},ay}();function i(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return cy=i,e.inherits(i,t),i.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},i.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},i.prototype.append=function(e){if(i.isStreamLike(e)){if(!(e instanceof n)){var t=n.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},i.prototype.pipe=function(e,n){return t.prototype.pipe.call(this,e,n),this.resume(),e},i.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},i.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){i.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},i.prototype._pipeNext=function(e){if(this._currentStream=e,i.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},i.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},i.prototype.write=function(e){this.emit("data",e)},i.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},i.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},i.prototype.end=function(){this._reset(),this.emit("end")},i.prototype.destroy=function(){this._reset(),this.emit("close")},i.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},i.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},i.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},i.prototype._emitError=function(e){this._reset(),this.emit("error",e)},cy}var hy,my,fy,gy,by,vy,yy,xy,wy,ky,Ey,_y,My,Cy,Dy,Oy,Ty={},Ny={exports:{}},Sy={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};function Ay(){return my||(my=1,function(e){var t=hy?Ny.exports:(hy=1,Ny.exports=Sy),n=M.extname,i=/^\s*([^;\s]*)(?:;|\s|$)/,o=/^text\//i;function r(e){if(!e||"string"!=typeof e)return!1;var n=i.exec(e),r=n&&t[n[1].toLowerCase()];return r&&r.charset?r.charset:!(!n||!o.test(n[1]))&&"UTF-8"}e.charset=r,e.charsets={lookup:r},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var i=e.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=i.exec(t),o=n&&e.extensions[n[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var i=n("x."+t).toLowerCase().substr(1);if(!i)return!1;return e.types[i]||!1},e.types=Object.create(null),function(e,n){var i=["nginx","apache",void 0,"iana"];Object.keys(t).forEach((function(o){var r=t[o],s=r.extensions;if(s&&s.length){e[o]=s;for(var a=0;a<s.length;a++){var l=s[a];if(n[l]){var c=i.indexOf(t[n[l]].source),p=i.indexOf(r.source);if("application/octet-stream"!==n[l]&&(c>p||c===p&&"application/"===n[l].substr(0,12)))continue}n[l]=o}}}))}(e.extensions,e.types)}(Ty)),Ty}function jy(){if(vy)return by;vy=1;var e=gy?fy:(gy=1,fy=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)});return by=function(t){var n=!1;return e((function(){n=!0})),function(i,o){n?t(i,o):e((function(){t(i,o)}))}}}function Iy(){if(xy)return yy;function e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return xy=1,yy=function(t){Object.keys(t.jobs).forEach(e.bind(t)),t.jobs={}}}function zy(){if(ky)return wy;ky=1;var e=jy(),t=Iy();return wy=function(n,i,o,r){var s=o["keyedList"]?o["keyedList"][o.index]:o.index;o.jobs[s]=function(t,n,i,o){var r;r=2==t.length?t(i,e(o)):t(i,n,e(o));return r}(i,s,n[s],(function(e,n){s in o.jobs&&(delete o.jobs[s],e?t(o):o.results[s]=n,r(e,o.results))}))},wy}function Ly(){if(_y)return Ey;return _y=1,Ey=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])});return i},Ey}function Ry(){if(Cy)return My;Cy=1;var e=Iy(),t=jy();return My=function(n){if(!Object.keys(this.jobs).length)return;this.index=this.size,e(this),t(n)(null,this.results)}}function Fy(){if(Oy)return Dy;Oy=1;var e=zy(),t=Ly(),n=Ry();return Dy=function(i,o,r){var s=t(i);for(;s.index<(s["keyedList"]||i).length;)e(i,o,s,(function(e,t){e?r(e,t):0!==Object.keys(s.jobs).length||r(null,s.results)})),s.index++;return n.bind(s,r)},Dy}var Py,By,Uy,$y,Hy,qy,Vy,Wy,Ky,Yy,Qy={exports:{}};function Gy(){if(Py)return Qy.exports;Py=1;var e=zy(),t=Ly(),n=Ry();function i(e,t){return e<t?-1:e>t?1:0}return Qy.exports=function(i,o,r,s){var a=t(i,r);return e(i,o,a,(function t(n,r){n?s(n,r):(a.index++,a.index<(a["keyedList"]||i).length?e(i,o,a,t):s(null,a.results))})),n.bind(a,s)},Qy.exports.ascending=i,Qy.exports.descending=function(e,t){return-1*i(e,t)},Qy.exports}function Jy(){if(Uy)return By;Uy=1;var e=Gy();return By=function(t,n,i){return e(t,n,null,i)}}function Zy(){return Hy?$y:(Hy=1,$y={parallel:Fy(),serial:Jy(),serialOrdered:Gy()})}function Xy(){return Vy||(Vy=1,qy=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}),qy}var ex=Kb,tx=function(e,t){nv.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))},nx=iv(),ix=pv,ox=uv(),rx={"Content-Type":"application/x-www-form-urlencoded"};function sx(e,t){!ex.isUndefined(e)&&ex.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var ax,lx={transitional:ix,adapter:("undefined"!=typeof XMLHttpRequest?ax=function(){if(Ev)return kv;Ev=1;var e=Kb,t=dv(),n=hv(),i=Gb,o=Cv,r=Dv(),s=Ov(),a=pv,l=iv(),c=Tv(),p=Nv();return kv=function(u){return new Promise((function(d,h){var m,f=u.data,g=u.headers,b=u.responseType;function v(){u.cancelToken&&u.cancelToken.unsubscribe(m),u.signal&&u.signal.removeEventListener("abort",m)}e.isFormData(f)&&e.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(u.auth){var x=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";g.Authorization="Basic "+btoa(x+":"+w)}var k=o(u.baseURL,u.url);function E(){if(y){var e="getAllResponseHeaders"in y?r(y.getAllResponseHeaders()):null,n={data:b&&"text"!==b&&"json"!==b?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:e,config:u,request:y};t((function(e){d(e),v()}),(function(e){h(e),v()}),n),y=null}}if(y.open(u.method.toUpperCase(),i(k,u.params,u.paramsSerializer),!0),y.timeout=u.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(h(new l("Request aborted",l.ECONNABORTED,u,y)),y=null)},y.onerror=function(){h(new l("Network Error",l.ERR_NETWORK,u,y,y)),y=null},y.ontimeout=function(){var e=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",t=u.transitional||a;u.timeoutErrorMessage&&(e=u.timeoutErrorMessage),h(new l(e,t.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,u,y)),y=null},e.isStandardBrowserEnv()){var _=(u.withCredentials||s(k))&&u.xsrfCookieName?n.read(u.xsrfCookieName):void 0;_&&(g[u.xsrfHeaderName]=_)}"setRequestHeader"in y&&e.forEach(g,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),e.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),b&&"json"!==b&&(y.responseType=u.responseType),"function"==typeof u.onDownloadProgress&&y.addEventListener("progress",u.onDownloadProgress),"function"==typeof u.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(m=function(e){y&&(h(!e||e&&e.type?new c:e),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(m),u.signal&&(u.signal.aborted?m():u.signal.addEventListener("abort",m))),f||(f=null);var M=p(k);M&&-1===["http","https","file"].indexOf(M)?h(new l("Unsupported protocol "+M+":",l.ERR_BAD_REQUEST,u)):y.send(f)}))},kv}():"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(ax=sy()),ax),transformRequest:[function(e,t){if(tx(t,"Accept"),tx(t,"Content-Type"),ex.isFormData(e)||ex.isArrayBuffer(e)||ex.isBuffer(e)||ex.isStream(e)||ex.isFile(e)||ex.isBlob(e))return e;if(ex.isArrayBufferView(e))return e.buffer;if(ex.isURLSearchParams(e))return sx(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=ex.isObject(e),o=t&&t["Content-Type"];if((n=ex.isFileList(e))||i&&"multipart/form-data"===o){var r=this.env&&this.env.FormData;return ox(n?{"files[]":e}:e,r&&new r)}return i||"application/json"===o?(sx(t,"application/json"),function(e,t,n){if(ex.isString(e))try{return(t||JSON.parse)(e),ex.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||lx.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||i&&ex.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw nx.from(e,nx.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yy?uy.exports:(Yy=1,uy.exports=function(){if(Ky)return Wy;Ky=1;var e=dy(),t=k,n=M,i=g,o=b,r=v.parse,s=C,a=y.Stream,l=Ay(),c=Zy(),p=Xy();function u(t){if(!(this instanceof u))return new u(t);for(var n in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),t=t||{})this[n]=t[n]}return Wy=u,t.inherits(u,e),u.LINE_BREAK="\r\n",u.DEFAULT_CONTENT_TYPE="application/octet-stream",u.prototype.append=function(n,i,o){"string"==typeof(o=o||{})&&(o={filename:o});var r=e.prototype.append.bind(this);if("number"==typeof i&&(i=""+i),t.isArray(i))this._error(new Error("Arrays are not supported."));else{var s=this._multiPartHeader(n,i,o),a=this._multiPartFooter();r(s),r(i),r(a),this._trackLength(s,i,o)}},u.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+u.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof a)&&(n.knownLength||this._valuesToMeasure.push(t))},u.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):s.stat(e.path,(function(n,i){var o;n?t(n):(o=i.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},u.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,o=this._getContentDisposition(t,n),r=this._getContentType(t,n),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(r||[])};for(var l in"object"==typeof n.header&&p(a,n.header),a)a.hasOwnProperty(l)&&null!=(i=a[l])&&(Array.isArray(i)||(i=[i]),i.length&&(s+=l+": "+i.join("; ")+u.LINE_BREAK));return"--"+this.getBoundary()+u.LINE_BREAK+s+u.LINE_BREAK},u.prototype._getContentDisposition=function(e,t){var i,o;return"string"==typeof t.filepath?i=n.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?i=n.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(i=n.basename(e.client._httpMessage.path||"")),i&&(o='filename="'+i+'"'),o},u.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=l.lookup(e.name)),!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=l.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=u.DEFAULT_CONTENT_TYPE),n},u.prototype._multiPartFooter=function(){return function(e){var t=u.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},u.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+u.LINE_BREAK},u.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},u.prototype.setBoundary=function(e){this._boundary=e},u.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},u.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(u.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},u.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},u.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},u.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},u.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?c.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},u.prototype.submit=function(e,t){var n,s,a={method:"post"};return"string"==typeof e?(e=r(e),s=p({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(s=p(e,a)).port||(s.port="https:"==s.protocol?443:80),s.headers=this.getHeaders(e.headers),n="https:"==s.protocol?o.request(s):i.request(s),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var o,r=function(e,i){return n.removeListener("error",r),n.removeListener("response",o),t.call(this,e,i)};o=r.bind(this,null),n.on("error",r),n.on("response",o)}}.bind(this)),n},u.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},u.prototype.toString=function(){return"[object FormData]"},Wy}())},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ex.forEach(["delete","get","head"],(function(e){lx.headers[e]={}})),ex.forEach(["post","put","patch"],(function(e){lx.headers[e]=ex.merge(rx)}));var cx,px,ux=lx,dx=Kb,hx=ux;function mx(){return px?cx:(px=1,cx=function(e){return!(!e||!e.__CANCEL__)})}var fx=Kb,gx=function(e,t,n){var i=this||hx;return dx.forEach(n,(function(n){e=n.call(i,e,t)})),e},bx=mx(),vx=ux,yx=Tv();function xx(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yx}var wx=Kb,kx=function(e,t){t=t||{};var n={};function i(e,t){return wx.isPlainObject(e)&&wx.isPlainObject(t)?wx.merge(e,t):wx.isPlainObject(t)?wx.merge({},t):wx.isArray(t)?t.slice():t}function o(n){return wx.isUndefined(t[n])?wx.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function r(e){if(!wx.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return wx.isUndefined(t[n])?wx.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function a(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return wx.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,i=t(e);wx.isUndefined(i)&&t!==a||(n[e]=i)})),n},Ex=ry().version,_x=iv(),Mx={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Mx[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Cx={};Mx.transitional=function(e,t,n){function i(e,t){return"[Axios v"+Ex+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,r){if(!1===e)throw new _x(i(o," has been removed"+(t?" in "+t:"")),_x.ERR_DEPRECATED);return t&&!Cx[o]&&(Cx[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,r)}};var Dx,Ox,Tx,Nx,Sx,Ax,jx={assertOptions:function(e,t,n){if("object"!=typeof e)throw new _x("options must be an object",_x.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),o=i.length;o-- >0;){var r=i[o],s=t[r];if(s){var a=e[r],l=void 0===a||s(a,r,e);if(!0!==l)throw new _x("option "+r+" must be "+l,_x.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _x("Unknown option "+r,_x.ERR_BAD_OPTION)}},validators:Mx},Ix=Kb,zx=Gb,Lx=tv,Rx=function(e){return xx(e),e.headers=e.headers||{},e.data=gx.call(e,e.data,e.headers,e.transformRequest),e.headers=fx.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),fx.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||vx.adapter)(e).then((function(t){return xx(e),t.data=gx.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return bx(t)||(xx(e),t&&t.response&&(t.response.data=gx.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Fx=kx,Px=Cv,Bx=jx,Ux=Bx.validators;function $x(e){this.defaults=e,this.interceptors={request:new Lx,response:new Lx}}$x.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=Fx(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&Bx.assertOptions(n,{silentJSONParsing:Ux.transitional(Ux.boolean),forcedJSONParsing:Ux.transitional(Ux.boolean),clarifyTimeoutError:Ux.transitional(Ux.boolean)},!1);var i=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var r,s=[];if(this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)})),!o){var a=[Rx,void 0];for(Array.prototype.unshift.apply(a,i),a=a.concat(s),r=Promise.resolve(t);a.length;)r=r.then(a.shift(),a.shift());return r}for(var l=t;i.length;){var c=i.shift(),p=i.shift();try{l=c(l)}catch(e){p(e);break}}try{r=Rx(l)}catch(e){return Promise.reject(e)}for(;s.length;)r=r.then(s.shift(),s.shift());return r},$x.prototype.getUri=function(e){e=Fx(this.defaults,e);var t=Px(e.baseURL,e.url);return zx(t,e.params,e.paramsSerializer)},Ix.forEach(["delete","get","head","options"],(function(e){$x.prototype[e]=function(t,n){return this.request(Fx(n||{},{method:e,url:t,data:(n||{}).data}))}})),Ix.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,o){return this.request(Fx(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}$x.prototype[e]=t(),$x.prototype[e+"Form"]=t(!0)}));var Hx=Kb,qx=Ob,Vx=$x,Wx=kx;var Kx=function e(t){var n=new Vx(t),i=qx(Vx.prototype.request,n);return Hx.extend(i,Vx.prototype,n),Hx.extend(i,n),i.create=function(n){return e(Wx(t,n))},i}(ux);Kx.Axios=Vx,Kx.CanceledError=Tv(),Kx.CancelToken=function(){if(Ox)return Dx;Ox=1;var e=Tv();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var i=this;this.promise.then((function(e){if(i._listeners){var t,n=i._listeners.length;for(t=0;t<n;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},t((function(t){i.reason||(i.reason=new e(t),n(i.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e,n=new t((function(t){e=t}));return{token:n,cancel:e}},Dx=t}(),Kx.isCancel=mx(),Kx.VERSION=ry().version,Kx.toFormData=uv(),Kx.AxiosError=iv(),Kx.Cancel=Kx.CanceledError,Kx.all=function(e){return Promise.all(e)},Kx.spread=Nx?Tx:(Nx=1,Tx=function(e){return function(t){return e.apply(null,t)}}),Kx.isAxiosError=function(){if(Ax)return Sx;Ax=1;var e=Kb;return Sx=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),Db.exports=Kx,Db.exports.default=Kx;var Yx=Rc(Cb.exports=Db.exports);function Qx(e){return e&&e.__esModule?e.default:e}function Gx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jx,Zx,Xx,ew,tw,nw,iw={},ow=[],rw=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function sw(e,t){for(var n in t)e[n]=t[n];return e}function aw(e){var t=e.parentNode;t&&t.removeChild(e)}function lw(e,t,n){var i,o,r,s={};for(r in t)"key"==r?i=t[r]:"ref"==r?o=t[r]:s[r]=t[r];if(arguments.length>2&&(s.children=arguments.length>3?Jx.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===s[r]&&(s[r]=e.defaultProps[r]);return cw(e,s,i,o,null)}function cw(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++Xx:o};return null==o&&null!=Zx.vnode&&Zx.vnode(r),r}function pw(e){return e.children}function uw(e,t){this.props=e,this.context=t}function dw(e,t){if(null==t)return e.__?dw(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?dw(e):null}function hw(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return hw(e)}}function mw(e){(!e.__d&&(e.__d=!0)&&ew.push(e)&&!fw.__r++||nw!==Zx.debounceRendering)&&((nw=Zx.debounceRendering)||tw)(fw)}function fw(){for(var e;fw.__r=ew.length;)e=ew.sort((function(e,t){return e.__v.__b-t.__v.__b})),ew=[],e.some((function(e){var t,n,i,o,r,s;e.__d&&(r=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(i=sw({},o)).__v=o.__v+1,_w(s,o,i,t.__n,void 0!==s.ownerSVGElement,null!=o.__h?[r]:null,n,null==r?dw(o):r,o.__h),Mw(n,o),o.__e!=r&&hw(o)))}))}function gw(e,t,n,i,o,r,s,a,l,c){var p,u,d,h,m,f,g,b=i&&i.__k||ow,v=b.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(h=n.__k[p]=null==(h=t[p])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?cw(null,h,null,null,h):Array.isArray(h)?cw(pw,{children:h},null,null,null):h.__b>0?cw(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(d=b[p])||d&&h.key==d.key&&h.type===d.type)b[p]=void 0;else for(u=0;u<v;u++){if((d=b[u])&&h.key==d.key&&h.type===d.type){b[u]=void 0;break}d=null}_w(e,h,d=d||iw,o,r,s,a,l,c),m=h.__e,(u=h.ref)&&d.ref!=u&&(g||(g=[]),d.ref&&g.push(d.ref,null,h),g.push(u,h.__c||m,h)),null!=m?(null==f&&(f=m),"function"==typeof h.type&&h.__k===d.__k?h.__d=l=bw(h,l,e):l=yw(e,h,d,b,m,l),"function"==typeof n.type&&(n.__d=l)):l&&d.__e==l&&l.parentNode!=e&&(l=dw(d))}for(n.__e=f,p=v;p--;)null!=b[p]&&("function"==typeof n.type&&null!=b[p].__e&&b[p].__e==n.__d&&(n.__d=dw(i,p+1)),Dw(b[p],b[p]));if(g)for(p=0;p<g.length;p++)Cw(g[p],g[++p],g[++p])}function bw(e,t,n){for(var i,o=e.__k,r=0;o&&r<o.length;r++)(i=o[r])&&(i.__=e,t="function"==typeof i.type?bw(i,t,n):yw(n,i,i,o,i.__e,t));return t}function vw(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){vw(e,t)})):t.push(e)),t}function yw(e,t,n,i,o,r){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||o!=r||null==o.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(o),s=null;else{for(a=r,l=0;(a=a.nextSibling)&&l<i.length;l+=2)if(a==o)break e;e.insertBefore(o,r),s=r}return void 0!==s?s:o.nextSibling}function xw(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||rw.test(t)?n:n+"px"}function ww(e,t,n,i,o){var r;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||xw(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||xw(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])r=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i||e.addEventListener(t,r?Ew:kw,r):e.removeEventListener(t,r?Ew:kw,r);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function kw(e){this.l[e.type+!1](Zx.event?Zx.event(e):e)}function Ew(e){this.l[e.type+!0](Zx.event?Zx.event(e):e)}function _w(e,t,n,i,o,r,s,a,l){var c,p,u,d,h,m,f,g,b,v,y,x=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,a=t.__e=n.__e,t.__h=null,r=[a]),(c=Zx.__b)&&c(t);try{e:if("function"==typeof x){if(g=t.props,b=(c=x.contextType)&&i[c.__c],v=c?b?b.props.value:c.__:i,n.__c?f=(p=t.__c=n.__c).__=p.__E:("prototype"in x&&x.prototype.render?t.__c=p=new x(g,v):(t.__c=p=new uw(g,v),p.constructor=x,p.render=Ow),b&&b.sub(p),p.props=g,p.state||(p.state={}),p.context=v,p.__n=i,u=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=x.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=sw({},p.__s)),sw(p.__s,x.getDerivedStateFromProps(g,p.__s))),d=p.props,h=p.state,u)null==x.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==x.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,v),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,v)||t.__v===n.__v){p.props=g,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),p.__h.length&&s.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,v),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,h,m)}))}p.context=v,p.props=g,p.state=p.__s,(c=Zx.__r)&&c(t),p.__d=!1,p.__v=t,p.__P=e,c=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(i=sw(sw({},i),p.getChildContext())),u||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,h)),y=null!=c&&c.type===pw&&null==c.key?c.props.children:c,gw(e,Array.isArray(y)?y:[y],t,n,i,o,r,s,a,l),p.base=t.__e,t.__h=null,p.__h.length&&s.push(p),f&&(p.__E=p.__=null),p.__e=!1}else null==r&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,o,r,s,a){var l,c,p,u=n.props,d=t.props,h=t.type,m=0;if("svg"===h&&(o=!0),null!=r)for(;m<r.length;m++)if((l=r[m])&&"setAttribute"in l==!!h&&(h?l.localName===h:3===l.nodeType)){e=l,r[m]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),r=null,a=!1}if(null===h)u===d||a&&e.data===d||(e.data=d);else{if(r=r&&Jx.call(e.childNodes),c=(u=n.props||iw).dangerouslySetInnerHTML,p=d.dangerouslySetInnerHTML,!a){if(null!=r)for(u={},m=0;m<e.attributes.length;m++)u[e.attributes[m].name]=e.attributes[m].value;(p||c)&&(p&&(c&&p.__html==c.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,i,o){var r;for(r in n)"children"===r||"key"===r||r in t||ww(e,r,null,n[r],i);for(r in t)o&&"function"!=typeof t[r]||"children"===r||"key"===r||"value"===r||"checked"===r||n[r]===t[r]||ww(e,r,t[r],n[r],i)}(e,d,u,o,a),p)t.__k=[];else if(m=t.props.children,gw(e,Array.isArray(m)?m:[m],t,n,i,o&&"foreignObject"!==h,r,s,r?r[0]:n.__k&&dw(n,0),a),null!=r)for(m=r.length;m--;)null!=r[m]&&aw(r[m]);a||("value"in d&&void 0!==(m=d.value)&&(m!==u.value||m!==e.value||"progress"===h&&!m)&&ww(e,"value",m,u.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==e.checked&&ww(e,"checked",m,u.checked,!1))}return e}(n.__e,t,n,i,o,r,s,l);(c=Zx.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=r)&&(t.__e=a,t.__h=!!l,r[r.indexOf(a)]=null),Zx.__e(e,t,n)}}function Mw(e,t){Zx.__c&&Zx.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){Zx.__e(e,t.__v)}}))}function Cw(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){Zx.__e(e,n)}}function Dw(e,t,n){var i,o;if(Zx.unmount&&Zx.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||Cw(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){Zx.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&Dw(i[o],t,"function"!=typeof e.type);n||null==e.__e||aw(e.__e),e.__e=e.__d=void 0}function Ow(e,t,n){return this.constructor(e,n)}function Tw(e,t,n){var i,o,r;Zx.__&&Zx.__(e,t),o=(i="function"==typeof n)?null:n&&n.__k||t.__k,r=[],_w(t,e=(!i&&n||t).__k=lw(pw,null,[e]),o||iw,iw,void 0!==t.ownerSVGElement,!i&&n?[n]:o?null:t.firstChild?Jx.call(t.childNodes):null,r,!i&&n?n:o?o.__e:t.firstChild,i),Mw(r,e)}Jx=ow.slice,Zx={__e:function(e,t){for(var n,i,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&null!=i.getDerivedStateFromError&&(n.setState(i.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},Xx=0,uw.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=sw({},this.state),"function"==typeof e&&(e=e(sw({},n),this.props)),e&&sw(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),mw(this))},uw.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),mw(this))},uw.prototype.render=pw,ew=[],tw="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fw.__r=0;var Nw=0;function Sw(e,t,n,i,o){var r,s,a={};for(s in t)"ref"==s?r=t[s]:a[s]=t[s];var l={type:e,props:a,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Nw,__source:i,__self:o};if("function"==typeof e&&(r=e.defaultProps))for(s in r)void 0===a[s]&&(a[s]=r[s]);return Zx.vnode&&Zx.vnode(l),l}var Aw={set:function(e,t){try{window.localStorage[`emoji-mart.${e}`]=JSON.stringify(t)}catch(e){}},get:function(e){try{const t=window.localStorage[`emoji-mart.${e}`];if(t)return JSON.parse(t)}catch(e){}}};const jw=new Map,Iw=[{v:14,emoji:"🫠"},{v:13.1,emoji:"😶🌫️"},{v:13,emoji:"🥸"},{v:12.1,emoji:"🧑🦰"},{v:12,emoji:"🥱"},{v:11,emoji:"🥰"},{v:5,emoji:"🤩"},{v:4,emoji:"👱♀️"},{v:3,emoji:"🤣"},{v:2,emoji:"👋🏻"},{v:1,emoji:"🙃"}];function zw(e){if(jw.has(e))return jw.get(e);const t=Lw(e);return jw.set(e,t),t}const Lw=(()=>{let e=null;try{navigator.userAgent.includes("jsdom")||(e=document.createElement("canvas").getContext("2d"))}catch{}if(!e)return()=>!1;const t=25,n=20,i=Math.floor(t/2);return e.font=i+"px Arial, Sans-Serif",e.textBaseline="top",e.canvas.width=2*n,e.canvas.height=t,i=>{e.clearRect(0,0,2*n,t),e.fillStyle="#FF0000",e.fillText(i,0,22),e.fillStyle="#0000FF",e.fillText(i,n,22);const o=e.getImageData(0,0,n,t).data,r=o.length;let s=0;for(;s<r&&!o[s+3];s+=4);if(s>=r)return!1;const a=n+s/4%n,l=Math.floor(s/4/n),c=e.getImageData(a,l,1,1).data;return o[s]===c[0]&&o[s+2]===c[2]&&!(e.measureText(i).width>=n)}})();var Rw={latestVersion:function(){for(const{v:e,emoji:t}of Iw)if(zw(t))return e},noCountryFlags:function(){return!zw("🇨🇦")}};const Fw=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let Pw=null;var Bw,Uw={add:function(e){Pw||(Pw=Aw.get("frequently")||{});const t=e.id||e;t&&(Pw[t]||(Pw[t]=0),Pw[t]+=1,Aw.set("last",t),Aw.set("frequently",Pw))},get:function({maxFrequentRows:e,perLine:t}){if(!e)return[];Pw||(Pw=Aw.get("frequently"));let n=[];if(!Pw){Pw={};for(let e in Fw.slice(0,t)){const i=Fw[e];Pw[i]=t-e,n.push(i)}return n}const i=e*t,o=Aw.get("last");for(let e in Pw)n.push(e);if(n.sort(((e,t)=>{const n=Pw[t],i=Pw[e];return n==i?e.localeCompare(t):n-i})),n.length>i){const e=n.slice(i);n=n.slice(0,i);for(let t of e)t!=o&&delete Pw[t];o&&-1==n.indexOf(o)&&(delete Pw[n[n.length-1]],n.splice(-1,1,o)),Aw.set("frequently",Pw)}return n}};Bw=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var $w={autoFocus:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:14,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","cs","de","es","fa","fi","fr","it","ja","nl","pl","pt","ru","uk","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Hw=null,qw=null;const Vw={};async function Ww(e){if(Vw[e])return Vw[e];const t=await fetch(e),n=await t.json();return Vw[e]=n,n}let Kw=null,Yw=null,Qw=!1;function Gw(e,{caller:t}={}){return Kw||(Kw=new Promise((e=>{Yw=e}))),e?async function(e){Qw=!0;let{emojiVersion:t,set:n,locale:i}=e;if(t||(t=$w.emojiVersion.value),n||(n=$w.set.value),i||(i=$w.locale.value),qw)qw.categories=qw.categories.filter((e=>!!!e.name));else{qw=("function"==typeof e.data?await e.data():e.data)||await Ww(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${t}/${n}.json`),qw.emoticons={},qw.natives={},qw.categories.unshift({id:"frequent",emojis:[]});for(const e in qw.aliases){const t=qw.aliases[e],n=qw.emojis[t];n&&(n.aliases||(n.aliases=[]),n.aliases.push(e))}}if(Hw=("function"==typeof e.i18n?await e.i18n():e.i18n)||("en"==i?Qx(Bw):await Ww(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${i}.json`)),e.custom)for(let t in e.custom){t=parseInt(t);const n=e.custom[t],i=e.custom[t-1];if(n.emojis&&n.emojis.length){n.id||(n.id=`custom_${t+1}`),n.name||(n.name=Hw.categories.custom),i&&!n.icon&&(n.target=i.target||i),qw.categories.push(n);for(const e of n.emojis)qw.emojis[e.id]=e}}e.categories&&(qw.categories=qw.categories.filter((t=>-1!=e.categories.indexOf(t.id))).sort(((t,n)=>e.categories.indexOf(t.id)-e.categories.indexOf(n.id))));let o=null,r=null;"native"==n&&(o=Rw.latestVersion(),r=e.noCountryFlags||Rw.noCountryFlags());let s=qw.categories.length,a=!1;for(;s--;){const t=qw.categories[s];if("frequent"==t.id){let{maxFrequentRows:n,perLine:i}=e;n||(n=$w.maxFrequentRows.value),i||(i=$w.perLine.value),t.emojis=Uw.get({maxFrequentRows:n,perLine:i})}if(!t.emojis||!t.emojis.length){qw.categories.splice(s,1);continue}const{categoryIcons:n}=e;if(n){const e=n[t.id];e&&!t.icon&&(t.icon=e)}let i=t.emojis.length;for(;i--;){const e=t.emojis[i],n=e.id?e:qw.emojis[e],s=()=>{t.emojis.splice(i,1)};if(n)if(o&&n.version>o)s();else if(!r||"flags"!=t.id||tk.includes(n.id)){if(!n.search){if(a=!0,n.search=","+[[n.id,!1],[n.name,!0],[n.keywords,!1],[n.emoticons,!1]].map((([e,t])=>{if(e)return(Array.isArray(e)?e:[e]).map((e=>(t?e.split(/[-|_|\s]+/):[e]).map((e=>e.toLowerCase())))).flat()})).flat().filter((e=>e&&e.trim())).join(","),n.emoticons)for(const e of n.emoticons)qw.emoticons[e]||(qw.emoticons[e]=n.id);let e=0;for(const t of n.skins){if(!t)continue;e++;const{native:i}=t;i&&(qw.natives[i]=n.id,n.search+=`,${i}`);const o=1==e?"":`:skin-tone-${e}:`;t.shortcodes=`:${n.id}:${o}`}}}else s();else s()}}a&&ek.reset();Yw()}(e):t&&!Qw&&console.warn(`\`${t}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),Kw}function Jw(e,t,n){e||(e={});const i={};for(let o in t)i[o]=Zw(o,e,t,n);return i}function Zw(e,t,n,i){const o=n[e];let r=i&&i.getAttribute(e)||(null!=t[e]&&null!=t[e]?t[e]:null);return o?(null!=r&&o.value&&typeof o.value!=typeof r&&(r="boolean"==typeof o.value?"false"!=r:o.value.constructor(r)),o.transform&&r&&(r=o.transform(r)),(null==r||o.choices&&-1==o.choices.indexOf(r))&&(r=o.value),r):r}let Xw=null;var ek={search:async function(e,{maxResults:t,caller:n}={}){if(!e||!e.trim().length)return null;t||(t=90),await Gw(null,{caller:n||"SearchIndex.search"});const i=e.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter(((e,t,n)=>e.trim()&&n.indexOf(e)==t));if(!i.length)return;let o,r,s=Xw||(Xw=Object.values(qw.emojis));for(const e of i){if(!s.length)break;o=[],r={};for(const t of s){if(!t.search)continue;const n=t.search.indexOf(`,${e}`);-1!=n&&(o.push(t),r[t.id]||(r[t.id]=0),r[t.id]+=t.id==e?0:n+1)}s=o}return o.length<2||(o.sort(((e,t)=>{const n=r[e.id],i=r[t.id];return n==i?e.id.localeCompare(t.id):n-i})),o.length>t&&(o=o.slice(0,t))),o},get:function(e){return e.id?e:qw.emojis[e]||qw.emojis[qw.aliases[e]]||qw.emojis[qw.natives[e]]},reset:function(){Xw=null},SHORTCODES_REGEX:/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/};const tk=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];var nk={categories:{activity:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:Sw("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),Sw("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),Sw("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:Sw("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),Sw("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:Sw("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),Sw("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),Sw("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},search:{loupe:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:Sw("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:Sw("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})}};function ik(e){let{id:t,skin:n,emoji:i}=e;if(e.shortcodes){const i=e.shortcodes.match(ek.SHORTCODES_REGEX);i&&(t=i[1],i[2]&&(n=i[2]))}if(i||(i=ek.get(t||e.native)),!i)return e.fallback;const o=i.skins[n-1]||i.skins[0],r=o.src||("native"==e.set||e.spritesheet?void 0:"function"==typeof e.getImageURL?e.getImageURL(e.set,o.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@14.0.0/img/${e.set}/64/${o.unified}.png`),s="function"==typeof e.getSpritesheetURL?e.getSpritesheetURL(e.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@14.0.0/img/${e.set}/sheets-256/64.png`;return Sw("span",{class:"emoji-mart-emoji","data-emoji-set":e.set,children:r?Sw("img",{style:{height:e.size||"1em",width:"auto",display:"inline-block",position:"relative",top:".1em"},alt:o.native||o.shortcodes,src:r}):"native"==e.set?Sw("span",{style:{fontSize:e.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:o.native}):Sw("span",{style:{display:"block",width:e.size,height:e.size,backgroundImage:`url(${s})`,backgroundSize:`${100*qw.sheet.cols}% ${100*qw.sheet.rows}%`,backgroundPosition:`${100/(qw.sheet.cols-1)*o.x}% ${100/(qw.sheet.rows-1)*o.y}%`}})})}const ok="undefined"!=typeof window?window.HTMLElement:Object;class rk extends ok{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let t in e)this.attributeChangedCallback(t,null,e[t])}attributeChangedCallback(e,t,n){if(!this.component)return;const i=Zw(e,{[e]:n},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:i}):(this.component.props[e]=i,this.component.forceUpdate())}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let t=null;const n=e.parent||(t=e.ref&&e.ref.current);t&&(t.innerHTML=""),n&&n.appendChild(this)}}}class sk extends rk{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const t=document.createElement("style");t.textContent=e,this.shadowRoot.insertBefore(t,this.shadowRoot.firstChild)}constructor(e,{styles:t}={}){super(e),this.setShadow(),this.injectStyles(t)}}var ak={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:e=>/\D/.test(e)?e:`${e}px`},set:$w.set,skin:$w.skin};class lk extends rk{async connectedCallback(){const e=Jw(this.props,ak,this);e.element=this,e.ref=e=>{this.component=e},await Gw(),Tw(Sw(ik,{...e}),this)}constructor(e){super(e)}}Gx(lk,"Props",ak),"undefined"==typeof customElements||customElements.get("em-emoji")||customElements.define("em-emoji",lk);var ck,pk=[],uk=Zx.__b,dk=Zx.__r,hk=Zx.diffed,mk=Zx.__c,fk=Zx.unmount;function gk(){var e;for(pk.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=pk.pop();)if(e.__P)try{e.__H.__h.forEach(vk),e.__H.__h.forEach(yk),e.__H.__h=[]}catch(t){e.__H.__h=[],Zx.__e(t,e.__v)}}Zx.__b=function(e){uk&&uk(e)},Zx.__r=function(e){dk&&dk(e);var t=e.__c.__H;t&&(t.__h.forEach(vk),t.__h.forEach(yk),t.__h=[])},Zx.diffed=function(e){hk&&hk(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==pk.push(t)&&ck===Zx.requestAnimationFrame||((ck=Zx.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),bk&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);bk&&(t=requestAnimationFrame(n))})(gk))},Zx.__c=function(e,t){t.some((function(e){try{e.__h.forEach(vk),e.__h=e.__h.filter((function(e){return!e.__||yk(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Zx.__e(n,e.__v)}})),mk&&mk(e,t)},Zx.unmount=function(e){fk&&fk(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{vk(e)}catch(e){t=e}})),t&&Zx.__e(t,n.__v))};var bk="function"==typeof requestAnimationFrame;function vk(e){var t=e.__c;"function"==typeof t&&(e.__c=void 0,t())}function yk(e){e.__c=e.__()}function xk(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function wk(e){this.props=e}(wk.prototype=new uw).isPureReactComponent=!0,wk.prototype.shouldComponentUpdate=function(e,t){return xk(this.props,e)||xk(this.state,t)};var kk=Zx.__b;Zx.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),kk&&kk(e)};var Ek=Zx.__e;Zx.__e=function(e,t,n){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Ek(e,t,n)};var _k=Zx.unmount;function Mk(){this.__u=0,this.t=null,this.__b=null}function Ck(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Dk(){this.u=null,this.o=null}Zx.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),_k&&_k(e)},(Mk.prototype=new uw).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var o=Ck(i.__v),r=!1,s=function(){r||(r=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--i.__u){if(i.state.__e){var e=i.state.__e;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)})),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__e:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__e:i.__b=i.__v.__k[0]}),e.then(s,s)},Mk.prototype.componentWillUnmount=function(){this.t=[]},Mk.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=function(e,t){for(var n in t)e[n]=t[n];return e}({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)}))),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__e&&lw(pw,null,e.fallback);return o&&(o.__h=null),[lw(pw,null,t.__e?null:e.children),o]};var Ok=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Dk.prototype=new uw).__e=function(e){var t=this,n=Ck(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),Ok(t,e,i)):o()};n?n(r):r()}},Dk.prototype.render=function(e){this.u=null,this.o=new Map;var t=vw(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Dk.prototype.componentDidUpdate=Dk.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ok(e,n,t)}))};var Tk="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Nk=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Sk="undefined"!=typeof document,Ak=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};uw.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(uw.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var jk=Zx.event;function Ik(){}function zk(){return this.cancelBubble}function Lk(){return this.defaultPrevented}Zx.event=function(e){return jk&&(e=jk(e)),e.persist=Ik,e.isPropagationStopped=zk,e.isDefaultPrevented=Lk,e.nativeEvent=e};var Rk={configurable:!0,get:function(){return this.class}},Fk=Zx.vnode;Zx.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var r in i={},n){var s=n[r];Sk&&"children"===r&&"noscript"===t||"value"===r&&"defaultValue"in n&&null==s||("defaultValue"===r&&"value"in n&&null==n.value?r="value":"download"===r&&!0===s?s="":/ondoubleclick/i.test(r)?r="ondblclick":/^onchange(textarea|input)/i.test(r+t)&&!Ak(n.type)?r="oninput":/^onfocus$/i.test(r)?r="onfocusin":/^onblur$/i.test(r)?r="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(r)?r=r.toLowerCase():o&&Nk.test(r)?r=r.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),i[r]=s)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=vw(n.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==t&&null!=i.defaultValue&&(i.value=vw(n.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),e.props=i,n.class!=n.className&&(Rk.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",Rk))}e.$$typeof=Tk,Fk&&Fk(e)};var Pk=Zx.__r;Zx.__r=function(e){Pk&&Pk(e),e.__c};const Bk={light:"outline",dark:"solid"};class Uk extends wk{renderIcon(e){const{icon:t}=e;if(t){if(t.svg)return Sw("span",{class:"flex",dangerouslySetInnerHTML:{__html:t.svg}});if(t.src)return Sw("img",{src:t.src})}const n=nk.categories[e.id]||nk.categories.custom;return n["auto"==this.props.icons?Bk[this.props.theme]:this.props.icons]||n}render(){let e=null;return Sw("nav",{id:"nav",class:"padding","data-position":this.props.position,children:Sw("div",{class:"flex relative",children:[this.categories.map(((t,n)=>{const i=t.name||Hw.categories[t.id],o=!this.props.unfocused&&t.id==this.state.categoryId;return o&&(e=n),Sw("button",{"aria-label":i,"aria-selected":o||void 0,title:i,type:"button",class:"flex flex-grow flex-center",onMouseDown:e=>e.preventDefault(),onClick:()=>{this.props.onClick({category:t,i:n})},children:this.renderIcon(t)})})),Sw("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:null==e?0:1,transform:`translateX(${100*e}%)`}})]})})}constructor(){super(),this.categories=qw.categories.filter((e=>!e.target)),this.state={categoryId:this.categories[0].id}}}class $k extends wk{shouldComponentUpdate(e){for(let t in e)if("children"!=t&&e[t]!=this.props[t])return!0;return!1}render(){return this.props.children}}const Hk=10;class qk extends uw{getInitialState(e=this.props){return{skin:Aw.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.observers=[],this.dir=Hw.rtl?"rtl":"ltr",this.refs={menu:{current:null},navigation:{current:null},scroll:{current:null},search:{current:null},searchInput:{current:null},skinToneButton:{current:null},skinToneRadio:{current:null}},this.initGrid(),0==this.props.stickySearch&&"sticky"==this.props.searchPosition&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const t in e)this.nextState[t]=e[t];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout((()=>{let e=!1;for(const t in this.nextState)this.props[t]=this.nextState[t],"custom"!==t&&"categories"!==t||(e=!0);delete this.nextState;const t=this.getInitialState();if(e)return this.reset(t);this.setState(t)}))}componentWillUnmount(){this.unregister()}async reset(e={}){await Gw(this.props),this.initGrid(),this.unobserve(),this.setState(e,(()=>{this.observeCategories(),this.observeRows()}))}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve(){for(const e of this.observers)e.disconnect()}initGrid(){const{categories:e}=qw;this.refs.categories=new Map;const t=qw.categories.map((e=>e.id)).join(",");this.navKey&&this.navKey!=t&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=t,this.grid=[],this.grid.setsize=0;const n=(e,t)=>{const n=[];n.__categoryId=t.id,n.__index=e.length,this.grid.push(n);const i=this.grid.length-1,o=i%Hk?{}:{current:null};return o.index=i,o.posinset=this.grid.setsize+1,e.push(o),n};for(let t of e){const e=[];let i=n(e,t);for(let o of t.emojis)i.length==this.props.perLine&&(i=n(e,t)),this.grid.setsize+=1,i.push(o);this.refs.categories.set(t.id,{root:{current:null},rows:e})}}initTheme(e){if("auto"!=e)return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addListener((()=>{"auto"==this.props.theme&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}))}return this.darkMedia.matches?"dark":"light"}getEmojiByPos([e,t]){const n=this.state.searchResults||this.grid,i=n[e]&&n[e][t];if(i)return ek.get(i)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const t=new Map,n=t=>{t!=e.state.categoryId&&e.setState({categoryId:t})},i={root:this.refs.scroll.current,threshold:[0,1]},o=new IntersectionObserver((e=>{for(const n of e){const e=n.target.dataset.id;t.set(e,n.intersectionRatio)}const i=[...t],o=i[i.length-1];if(1==o[1])return n(o[0]);for(const[e,t]of i)if(t){n(e);break}}),i);for(const{root:e}of this.refs.categories.values())o.observe(e.current);this.observers.push(o)}observeRows(){const e={...this.state.visibleRows},t=new IntersectionObserver((t=>{for(const n of t){const t=parseInt(n.target.dataset.index);n.isIntersecting?e[t]=!0:delete e[t]}this.setState({visibleRows:e})}),{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(Hk+5)}px 0px ${this.props.emojiButtonSize*Hk}px`});for(const{rows:e}of this.refs.categories.values())for(const n of e)n.current&&t.observe(n.current);this.observers.push(t)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e:e,input:t,left:n,right:i,up:o,down:r}){const s=this.state.searchResults||this.grid;if(!s.length)return;let[a,l]=this.state.pos;const c=(()=>{if(0==a&&0==l&&!e.repeat&&(n||o))return null;if(-1==a)return e.repeat||!i&&!r||t.selectionStart!=t.value.length?null:[0,0];if(n||i){let e=s[a];const t=n?-1:1;if(l+=t,!e[l]){if(a+=t,e=s[a],!e)return a=n?0:s.length-1,l=n?0:s[a].length-1,[a,l];l=n?e.length-1:0}return[a,l]}if(o||r){a+=o?-1:1;const e=s[a];return e?(e[l]||(l=e.length-1),[a,l]):(a=o?0:s.length-1,l=o?0:s[a].length-1,[a,l])}})();c?(e.preventDefault(),this.setState({pos:c,keyboard:!0},(()=>{this.scrollTo({row:c[0]})}))):this.state.pos[0]>-1&&this.setState({pos:[-1,-1]})}scrollTo({categoryId:e,row:t}){const n=this.state.searchResults||this.grid;if(!n.length)return;const i=this.refs.scroll.current,o=i.getBoundingClientRect();let r=0;if(t>=0&&(e=n[t].__categoryId),e){r=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(o.top-i.scrollTop)+1}if(t>=0)if(t){const e=r+n[t].__index*this.props.emojiButtonSize,s=e+this.props.emojiButtonSize+.88*this.props.emojiButtonSize;if(e<i.scrollTop)r=e;else{if(!(s>i.scrollTop+o.height))return;r=s-o.height}}else r=0;this.ignoreMouse(),i.scrollTop=r}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout((()=>{delete this.mouseIsIgnored}),100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({emoji:e,pos:t}){if(this.props.onEmojiSelect&&(!e&&t&&(e=this.getEmojiByPos(t)),e)){const t=function(e,{skinIndex:t}={}){const n=e.skins[t]||(t=0,e.skins[t]),i={id:e.id,name:e.name,native:n.native,unified:n.unified,keywords:e.keywords,shortcodes:n.shortcodes||e.shortcodes};return e.skins.length>1&&(i.skin=t+1),n.src&&(i.src=n.src),e.aliases&&e.aliases.length&&(i.aliases=e.aliases),e.emoticons&&e.emoticons.length&&(i.emoticons=e.emoticons),i}(e,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&Uw.add(t,this.props),this.props.onEmojiSelect(t)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),Aw.set("skin",e)}renderNav(){return Sw(Uk,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),t=this.state.searchResults&&!this.state.searchResults.length;return Sw("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[Sw("div",{class:"flex flex-middle flex-grow",children:[Sw("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:Sw(ik,{emoji:e,id:t?this.props.noResultsEmoji||"cry":this.props.previewEmoji||("top"==this.props.previewPosition?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),Sw("div",{class:`margin-${this.dir[0]}`,children:Sw("div",e?{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[Sw("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:e.name}),Sw("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:e.skins[0].shortcodes})]}:t?{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[Sw("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:Hw.search_no_results_1}),Sw("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:Hw.search_no_results_2})]}:{class:"color-c",style:{fontSize:21},children:Hw.pick})})]}),!e&&"preview"==this.props.skinTonePosition&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:t,posinset:n,grid:i}){const o=this.props.emojiButtonSize,r=this.state.tempSkin||this.state.skin,s=(e.skins[r-1]||e.skins[0]).native,a=function(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every(((e,n)=>e==t[n]))}(this.state.pos,t),l=t.concat(e.id).join("");return Sw($k,{selected:a,skin:r,size:o,children:Sw("button",{"aria-label":s,"aria-selected":a||void 0,"aria-posinset":n,"aria-setsize":i.setsize,"data-keyboard":this.state.keyboard,title:"none"==this.props.previewPosition?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:()=>this.handleEmojiClick({emoji:e}),onMouseEnter:()=>this.handleEmojiOver(t),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[Sw("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(n-1)%this.props.emojiButtonColors.length]:void 0}}),Sw(ik,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:r,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},l)}renderSearch(){const e="none"==this.props.previewPosition||"search"==this.props.skinTonePosition;return Sw("div",{children:[Sw("div",{class:"spacer"}),Sw("div",{class:"flex flex-middle",children:[e&&"rtl"==this.dir&&this.renderSkinToneButton(),Sw("div",{class:"search relative flex-grow",children:[Sw("input",{type:"search",ref:this.refs.searchInput,placeholder:Hw.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),Sw("span",{class:"icon loupe flex",children:nk.search.loupe}),this.state.searchResults&&Sw("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:nk.search.delete})]}),e&&"ltr"==this.dir&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?Sw("div",{class:"category",ref:this.refs.search,children:[Sw("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Hw.categories.search}),Sw("div",{children:e.length?e.map(((t,n)=>Sw("div",{class:"flex",children:t.map(((t,i)=>this.renderEmojiButton(t,{pos:[n,i],posinset:n*this.props.perLine+i+1,grid:e})))}))):Sw("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&Sw("a",{onClick:this.props.onAddCustomEmoji,children:Hw.add_custom})})})]}):null}renderCategories(){const{categories:e}=qw,t=!!this.state.searchResults;return Sw("div",{style:{visibility:t?"hidden":void 0,display:t?"none":void 0},children:e.map((e=>{const{root:t,rows:n}=this.refs.categories.get(e.id);return Sw("div",{"data-id":e.target?e.target.id:e.id,class:"category",ref:t,children:[Sw("div",{class:`sticky padding-small align-${this.dir[0]}`,children:e.name||Hw.categories[e.id]}),Sw("div",{class:"relative",style:{height:n.length*this.props.emojiButtonSize},children:n.map(((t,n)=>{const i=t.index-t.index%Hk,o=this.state.visibleRows[i],r="current"in t?t:void 0;if(!o&&!r)return null;const s=n*this.props.perLine,a=s+this.props.perLine,l=e.emojis.slice(s,a);return Sw("div",{"data-index":t.index,ref:r,class:"flex row",style:{top:n*this.props.emojiButtonSize},children:o&&l.map(((e,n)=>{const i=ek.get(e);return this.renderEmojiButton(i,{pos:[t.index,n],posinset:t.posinset+n,grid:this.grid})}))},t.index)}))})]})}))})}renderSkinToneButton(){return"none"==this.props.skinTonePosition?null:Sw("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:Sw("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Hw.skins.choose,title:Hw.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:Sw("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos);return Sw("div",{"aria-live":"polite",class:"sr-only",children:e?e.name:""})}renderSkins(){const e=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),n={};return"ltr"==this.dir?n.right=t.right-e.right-3:n.left=e.left-t.left-3,"bottom"==this.props.previewPosition&&"preview"==this.props.skinTonePosition?n.bottom=t.bottom-e.top+6:(n.top=e.bottom-t.top+3,n.bottom="auto"),Sw("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Hw.skins.choose,class:"menu hidden","data-position":n.top?"top":"bottom",style:n,children:[...Array(6).keys()].map((e=>{const t=e+1,n=this.state.skin==t;return Sw("div",{children:[Sw("input",{type:"radio",name:"skin-tone",value:t,"aria-label":Hw.skins[t],ref:n?this.refs.skinToneRadio:null,defaultChecked:n,onChange:()=>this.handleSkinMouseOver(t),onKeyDown:e=>{"Enter"!=e.code&&"Space"!=e.code&&"Tab"!=e.code||(e.preventDefault(),this.handleSkinClick(t))}}),Sw("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(t),onMouseEnter:()=>this.handleSkinMouseOver(t),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[Sw("span",{class:`skin-tone skin-tone-${t}`}),Sw("span",{class:"margin-small-lr",children:Hw.skins[t]})]})]})}))})}render(){return Sw("section",{id:"root",class:"flex flex-column",style:{width:this.props.perLine*this.props.emojiButtonSize+28},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:["top"==this.props.previewPosition&&this.renderPreview(),"top"==this.props.navPosition&&this.renderNav(),"sticky"==this.props.searchPosition&&Sw("div",{class:"padding-lr",children:this.renderSearch()}),Sw("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:Sw("div",{style:{width:this.props.perLine*this.props.emojiButtonSize},children:["static"==this.props.searchPosition&&this.renderSearch(),this.renderSearchResults(),this.renderCategories(),Sw("div",{class:"spacer"})]})}),"bottom"==this.props.navPosition&&this.renderNav(),"bottom"==this.props.previewPosition&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),Gx(this,"handleClickOutside",(e=>{const{element:t}=this.props;e.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside())})),Gx(this,"handleBaseClick",(e=>{this.state.showSkins&&(e.target.closest(".menu")||(e.preventDefault(),e.stopImmediatePropagation(),this.closeSkins()))})),Gx(this,"handleBaseKeydown",(e=>{this.state.showSkins&&"Escape"==e.key&&(e.preventDefault(),e.stopImmediatePropagation(),this.closeSkins())})),Gx(this,"handleSearchClick",(()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})})),Gx(this,"handleSearchInput",(async()=>{const e=this.refs.searchInput.current;if(!e)return;const{value:t}=e,n=await ek.search(t),i=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!n)return this.setState({searchResults:n,pos:[-1,-1]},i);const o=e.selectionStart==e.value.length?[0,0]:[-1,-1],r=[];r.setsize=n.length;let s=null;for(let e of n)r.length&&s.length!=this.props.perLine||(s=[],s.__categoryId="search",s.__index=r.length,r.push(s)),s.push(e);this.ignoreMouse(),this.setState({searchResults:r,pos:o},i)})),Gx(this,"handleSearchKeyDown",(e=>{const t=e.currentTarget;switch(e.stopImmediatePropagation(),e.key){case"ArrowLeft":this.navigate({e:e,input:t,left:!0});break;case"ArrowRight":this.navigate({e:e,input:t,right:!0});break;case"ArrowUp":this.navigate({e:e,input:t,up:!0});break;case"ArrowDown":this.navigate({e:e,input:t,down:!0});break;case"Enter":e.preventDefault(),this.handleEmojiClick({pos:this.state.pos});break;case"Escape":e.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch()}})),Gx(this,"clearSearch",(()=>{const e=this.refs.searchInput.current;e&&(e.value="",e.focus(),this.handleSearchInput())})),Gx(this,"handleCategoryClick",(({category:e,i:t})=>{this.scrollTo(0==t?{row:-1}:{categoryId:e.id})})),Gx(this,"openSkins",(e=>{const{currentTarget:t}=e,n=t.getBoundingClientRect();this.setState({showSkins:n},(async()=>{await async function(e=1){for(let t in[...Array(e).keys()])await new Promise(requestAnimationFrame)}(2);const e=this.refs.menu.current;e&&(e.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))}))})),this.state={pos:[-1,-1],visibleRows:{0:!0},...this.getInitialState(e)}}}class Vk extends sk{async connectedCallback(){const e=Jw(this.props,$w,this);e.element=this,e.ref=e=>{this.component=e},await Gw(e),Tw(Sw(qk,{...e}),this.shadowRoot)}disconnectedCallback(){this.component&&this.component.unregister()}constructor(e){super(e,{styles:Qx(Wk)})}}Gx(Vk,"Props",$w),"undefined"==typeof customElements||customElements.get("em-emoji-picker")||customElements.define("em-emoji-picker",Vk);var Wk={};Wk=':host {\n display: flex;\n width: -webkit-min-content;\n width: -moz-min-content;\n width: min-content;\n height: 435px;\n min-height: 230px;\n border-radius: var(--border-radius);\n box-shadow: var(--shadow);\n --border-radius: 10px;\n --category-icon-size: 18px;\n --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n --font-size: 15px;\n --shadow-color: 0deg 0% 0%;\n --shadow:\n 0.3px 0.5px 2.7px hsl(var(--shadow-color) / 0.14),\n 0.4px 0.8px 1px -3.2px hsl(var(--shadow-color) / 0.14),\n 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / 0.14);\n}\n\n[data-theme=light] {\n --em-rgb-color: var(--rgb-color, 34, 36, 39);\n --em-rgb-accent: var(--rgb-accent, 34, 102, 237);\n --em-rgb-background: var(--rgb-background, 255, 255, 255);\n --em-rgb-input: var(--rgb-input, 255, 255, 255);\n --em-color-border: var(--color-border, rgba(0, 0, 0, .05));\n --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1));\n}\n\n[data-theme=dark] {\n --em-rgb-color: var(--rgb-color, 222, 222, 221);\n --em-rgb-accent: var(--rgb-accent, 58, 130, 247);\n --em-rgb-background: var(--rgb-background, 21, 22, 23);\n --em-rgb-input: var(--rgb-input, 0, 0, 0);\n --em-color-border: var(--color-border, rgba(255, 255, 255, .1));\n --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2));\n}\n\n#root {\n --color-a: rgb(var(--em-rgb-color));\n --color-b: rgba(var(--em-rgb-color), .65);\n --color-c: rgba(var(--em-rgb-color), .45);\n --padding: 12px;\n --padding-small: calc(var(--padding) / 2);\n --sidebar-width: 16px;\n --duration: 225ms;\n --duration-fast: 125ms;\n --duration-instant: 50ms;\n --easing: cubic-bezier(.4, .0, .2, 1);\n position: relative;\n width: 100%;\n text-align: left;\n border-radius: var(--border-radius);\n background-color: rgb(var(--em-rgb-background));\n}\n\n@media (prefers-reduced-motion) {\n #root {\n --duration: 0;\n --duration-fast: 0;\n --duration-instant: 0;\n }\n}\n\n#root[data-menu] button {\n cursor: auto;\n}\n\n#root[data-menu] .menu button {\n cursor: pointer;\n}\n\n:host, #root, input, button {\n color: rgb(var(--em-rgb-color));\n font-family: var(--font-family);\n font-size: var(--font-size);\n line-height: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n*, *:before, *:after {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n min-width: 0;\n}\n\n.relative {\n position: relative;\n}\n\n.flex {\n display: flex;\n}\n\n.flex-auto {\n flex: 0 0 auto;\n}\n\n.flex-center {\n justify-content: center;\n}\n\n.flex-column {\n flex-direction: column;\n}\n\n.flex-grow {\n flex: 1 1 auto;\n}\n\n.flex-middle {\n align-items: center;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.padding {\n padding: var(--padding);\n}\n\n.padding-t {\n padding-top: var(--padding);\n}\n\n.padding-lr {\n padding-left: var(--padding);\n padding-right: var(--padding);\n}\n\n.padding-r {\n padding-right: var(--padding);\n}\n\n.padding-small {\n padding: var(--padding-small);\n}\n\n.padding-small-b {\n padding-bottom: var(--padding-small);\n}\n\n.padding-small-lr {\n padding-left: var(--padding-small);\n padding-right: var(--padding-small);\n}\n\n.margin {\n margin: var(--padding);\n}\n\n.margin-r {\n margin-right: var(--padding);\n}\n\n.margin-l {\n margin-left: var(--padding);\n}\n\n.margin-small-l {\n margin-left: var(--padding-small);\n}\n\n.margin-small-lr {\n margin-left: var(--padding-small);\n margin-right: var(--padding-small);\n}\n\n.align-l {\n text-align: left;\n}\n\n.align-r {\n text-align: right;\n}\n\n.color-a {\n color: var(--color-a);\n}\n\n.color-b {\n color: var(--color-b);\n}\n\n.color-c {\n color: var(--color-c);\n}\n\n.ellipsis {\n white-space: nowrap;\n max-width: 100%;\n width: auto;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\na {\n cursor: pointer;\n color: rgb(var(--em-rgb-accent));\n}\n\na:hover {\n text-decoration: underline;\n}\n\n.spacer {\n height: 10px;\n}\n\n.scroll {\n overflow: auto;\n overflow-x: hidden;\n padding-right: 0;\n}\n\n.scroll::-webkit-scrollbar {\n width: var(--sidebar-width);\n height: var(--sidebar-width);\n}\n\n.scroll::-webkit-scrollbar-track {\n border: 0;\n}\n\n.scroll::-webkit-scrollbar-button {\n width: 0;\n height: 0;\n display: none;\n}\n\n.scroll::-webkit-scrollbar-corner {\n background-color: transparent;\n}\n\n.scroll::-webkit-scrollbar-thumb {\n min-height: 20%;\n min-height: 65px;\n border: 4px solid rgb(var(--em-rgb-background));\n border-radius: 8px;\n}\n\n.scroll::-webkit-scrollbar-thumb:hover {\n background-color: var(--em-color-border-over) !important;\n}\n\n.scroll:hover::-webkit-scrollbar-thumb {\n background-color: var(--em-color-border);\n}\n\n.sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n top: -1px;\n font-weight: 500;\n background-color: rgba(var(--em-rgb-background), 0.9);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px);\n}\n\n.search {\n z-index: 2;\n position: relative;\n}\n\n.search input, .search button {\n font-size: calc(var(--font-size) - 1px);\n}\n\n.search input[type=search] {\n display: block;\n border: 0;\n outline: 0;\n width: 100%;\n padding: 10px 2em 10px 2.2em;\n border-radius: 10px;\n background-color: var(--em-color-border);\n transition-duration: var(--duration);\n transition-property: background-color, box-shadow;\n transition-timing-function: var(--easing);\n}\n\n.search input[type=search]::-moz-placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search]:-ms-input-placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search]::placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search], .search input[type=search]::-webkit-search-decoration, .search input[type=search]::-webkit-search-cancel-button, .search input[type=search]::-webkit-search-results-button, .search input[type=search]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n appearance: none;\n}\n\n.search input[type=search]:focus {\n background-color: rgb(var(--em-rgb-input));\n box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, 0.2);\n}\n\n.search .icon {\n z-index: 1;\n position: absolute;\n top: 50%;\n color: rgba(var(--em-rgb-color), 0.7);\n transform: translateY(-50%);\n}\n\n.search .loupe {\n left: 0.7em;\n pointer-events: none;\n}\n\n.search .delete {\n right: 0.7em;\n}\n\nsvg {\n fill: currentColor;\n width: 1em;\n height: 1em;\n}\n\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n cursor: pointer;\n color: currentColor;\n border: 0;\n background-color: transparent;\n}\n\n#nav {\n z-index: 2;\n position: relative;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-right: var(--sidebar-width);\n}\n\n#nav button {\n color: var(--color-b);\n transition: color var(--duration) var(--easing);\n}\n\n#nav button:hover {\n color: var(--color-a);\n}\n\n#nav svg, #nav img {\n width: var(--category-icon-size);\n height: var(--category-icon-size);\n}\n\n#nav .bar {\n position: absolute;\n bottom: -12px;\n left: 0;\n width: 100%;\n height: 3px;\n background-color: rgb(var(--em-rgb-accent));\n border-radius: 3px 3px 0 0;\n transition: transform var(--duration) var(--easing);\n}\n\n#nav button[aria-selected] {\n color: rgb(var(--em-rgb-accent));\n}\n\n#preview {\n z-index: 2;\n position: relative;\n padding: calc(var(--padding) + 4px) var(--padding);\n padding-right: var(--sidebar-width);\n}\n\n#nav:before, #preview:before {\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n height: 2px;\n}\n\n#nav[data-position=top]:before, #preview[data-position=top]:before {\n top: 100%;\n background: linear-gradient(to bottom, var(--em-color-border), transparent);\n}\n\n#nav[data-position=bottom]:before, #preview[data-position=bottom]:before {\n bottom: 100%;\n background: linear-gradient(to top, var(--em-color-border), transparent);\n}\n\n.category button {\n position: relative;\n font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n}\n\n.category button > * {\n position: relative;\n}\n\n.category button .background {\n position: absolute;\n inset: 0;\n opacity: 0;\n background-color: var(--em-color-border);\n transition: opacity var(--duration-fast) var(--easing) var(--duration-instant);\n}\n\n.category button:hover .background {\n transition-duration: var(--duration-instant);\n transition-delay: 0ms;\n}\n\n.category button[aria-selected] .background {\n opacity: 1;\n}\n\n.category button[data-keyboard] .background {\n transition: none;\n}\n\n.row {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n}\n\n.skin-tone-button {\n border-radius: 100%;\n border: 1px solid transparent;\n}\n\n.skin-tone-button:hover {\n border-color: var(--em-color-border);\n}\n\n.skin-tone-button:active .skin-tone {\n transform: scale(0.85) !important;\n}\n\n.skin-tone-button .skin-tone {\n transition: transform var(--duration) var(--easing);\n}\n\n.skin-tone-button[aria-selected] {\n border-left-width: 0;\n border-right-width: 0;\n border-top-color: rgba(0, 0, 0, 0.05);\n border-bottom-color: transparent;\n background-color: var(--em-color-border);\n}\n\n.skin-tone-button[aria-selected] .skin-tone {\n transform: scale(0.9);\n}\n\n.menu {\n z-index: 2;\n position: absolute;\n white-space: nowrap;\n padding: 4px;\n border: 1px solid var(--em-color-border);\n background-color: rgba(var(--em-rgb-background), 0.9);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px);\n border-radius: 10px;\n box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);\n transition-property: opacity, transform;\n transition-duration: var(--duration);\n transition-timing-function: var(--easing);\n}\n\n.menu.hidden {\n opacity: 0;\n}\n\n.menu[data-position=bottom] {\n transform-origin: bottom right;\n}\n\n.menu[data-position=bottom].hidden {\n transform: scale(0.9) rotate(-3deg) translateY(5%);\n}\n\n.menu[data-position=top] {\n transform-origin: top right;\n}\n\n.menu[data-position=top].hidden {\n transform: scale(0.9) rotate(3deg) translateY(-5%);\n}\n\n.menu input[type=radio] {\n position: absolute;\n overflow: hidden;\n clip: rect(0 0 0 0);\n width: 1px;\n height: 1px;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n.menu input[type=radio]:checked + .option {\n box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent));\n}\n\n.option {\n width: 100%;\n padding: 4px 6px;\n border-radius: 6px;\n}\n\n.option:hover {\n color: #fff;\n background-color: rgb(var(--em-rgb-accent));\n}\n\n.skin-tone {\n position: relative;\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 100%;\n overflow: hidden;\n}\n\n.skin-tone:after {\n content: "";\n position: absolute;\n inset: 0;\n border-radius: 100%;\n border: 1px solid rgba(0, 0, 0, 0.8);\n mix-blend-mode: overlay;\n box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff;\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);\n}\n\n.skin-tone-1 {\n background-color: #ffc93a;\n}\n\n.skin-tone-2 {\n background-color: #ffdab7;\n}\n\n.skin-tone-3 {\n background-color: #e7b98f;\n}\n\n.skin-tone-4 {\n background-color: #c88c61;\n}\n\n.skin-tone-5 {\n background-color: #a46134;\n}\n\n.skin-tone-6 {\n background-color: #5d4437;\n}\n\n[data-emoji-set=twitter] .skin-tone:after {\n border-color: rgba(0, 0, 0, 0.5);\n box-shadow: none;\n}\n\n[data-emoji-set=twitter] .skin-tone-1 {\n background-color: #FADE72;\n}\n\n[data-emoji-set=twitter] .skin-tone-2 {\n background-color: #F3DFD0;\n}\n\n[data-emoji-set=twitter] .skin-tone-3 {\n background-color: #EED3A8;\n}\n\n[data-emoji-set=twitter] .skin-tone-4 {\n background-color: #CFAD8D;\n}\n\n[data-emoji-set=twitter] .skin-tone-5 {\n background-color: #A8805D;\n}\n\n[data-emoji-set=twitter] .skin-tone-6 {\n background-color: #765542;\n}\n\n[data-emoji-set=google] .skin-tone:after {\n box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.4);\n}\n\n[data-emoji-set=google] .skin-tone-1 {\n background-color: #F5C748;\n}\n\n[data-emoji-set=google] .skin-tone-2 {\n background-color: #F1D5AA;\n}\n\n[data-emoji-set=google] .skin-tone-3 {\n background-color: #D4B48D;\n}\n\n[data-emoji-set=google] .skin-tone-4 {\n background-color: #AA876B;\n}\n\n[data-emoji-set=google] .skin-tone-5 {\n background-color: #916544;\n}\n\n[data-emoji-set=google] .skin-tone-6 {\n background-color: #61493F;\n}\n\n[data-emoji-set=facebook] .skin-tone:after {\n border-color: rgba(0, 0, 0, 0.4);\n box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff;\n}\n\n[data-emoji-set=facebook] .skin-tone-1 {\n background-color: #F5C748;\n}\n\n[data-emoji-set=facebook] .skin-tone-2 {\n background-color: #F1D5AA;\n}\n\n[data-emoji-set=facebook] .skin-tone-3 {\n background-color: #D4B48D;\n}\n\n[data-emoji-set=facebook] .skin-tone-4 {\n background-color: #AA876B;\n}\n\n[data-emoji-set=facebook] .skin-tone-5 {\n background-color: #916544;\n}\n\n[data-emoji-set=facebook] .skin-tone-6 {\n background-color: #61493F;\n}\n';class Kk extends t.Component{constructor(){super(...arguments),_b(this,"ref",t.createRef()),_b(this,"fetchEmojiData",(async()=>{try{const{data:e}=await Yx.get("https://cdn.jsdelivr.net/npm/@emoji-mart/data");return e}catch(e){return{}}})),_b(this,"onKeyDown",(e=>{let{event:t}=e;return"Escape"===t.key&&(this.props.editor.chain().focus().deleteRange(this.props.range).run(),!0)})),_b(this,"handleSelect",(e=>{this.props.editor.chain().focus().deleteRange(this.props.range).setEmoji(e).run()}))}componentDidMount(){new Vk({...this.props,onEmojiSelect:this.handleSelect,style:{maxWidth:"100%"},theme:"light",native:!0,previewPosition:"none",showSkinTones:!1,data:this.fetchEmojiData,ref:this.ref})}render(){return t.createElement("div",{ref:this.ref,"data-cy":"neeto-editor-emoji-picker"})}}Kk.defaultProps={editor:{},range:{}},Kk.propTypes={editor:Ff.exports.object.isRequired,range:Ff.exports.object};const Yk=e=>{let{editor:n}=e;const i=s(),{Menu:o}=Eb;return t.createElement(Eb,{ref:i,closeOnSelect:!1,customTarget:()=>{var e,n,o;return t.createElement(hb,{icon:yf,iconActive:null==i||null===(e=i.current)||void 0===e||null===(n=e._tippy)||void 0===n||null===(o=n.state)||void 0===o?void 0:o.isVisible,tooltipProps:{content:"Emoji",position:"bottom",delay:[500]},"data-cy":"neeto-editor-fixed-menu-emoji-option-button"})},position:"bottom-start"},t.createElement(o,null,t.createElement(Kk,{editor:n})))},Qk=e=>{let{editor:n}=e;const{Menu:i,MenuItem:o}=Eb;return t.createElement(Eb,{customTarget:()=>t.createElement(hb,{icon:jf,iconActive:n.isActive("heading"),tooltipProps:{content:"Font Size",position:"bottom",delay:[500]},"data-cy":"neeto-editor-fixed-menu-font-size-option"}),className:"neeto-editor-font-size-wrapper",dropdownProps:{classNames:"ne-dropdown__popup--auto-width"},placement:"bottom-start"},t.createElement(i,null,Ud.map((e=>{let{label:i,value:r}=e;return t.createElement(o.Button,{onClick:()=>{return e=r,n.chain().focus().toggleHeading({level:e}).run();var e},key:r,className:Uc({active:(s=r,n.isActive("heading",{level:s}))}),"data-cy":`neeto-editor-fixed-menu-font-size-option-${i}`},i);var s}))))},Gk=e=>{let{editor:n}=e;const[i,r]=o(""),[s,a]=o(""),[l,c]=o(!1),p=n.isActive("link"),u=()=>a(n.getAttributes("link").href||""),d=()=>c(!1),h=()=>{nb.test(s)?(n.chain().focus().setLink({href:s}).run(),d()):r("Please enter a valid url")};return t.createElement(Eb,{isOpen:l,onClick:()=>c((e=>!e)),onClose:d,customTarget:()=>t.createElement(hb,{icon:nf,iconActive:p,onClick:u,tooltipProps:{content:"Link",position:"bottom",delay:[500]},"data-cy":"neeto-editor-fixed-menu-link-option"}),className:"neeto-editor-link-wrapper",closeOnSelect:!1,position:"bottom"},t.createElement("div",{onKeyDown:e=>{"Escape"===e.key?d():"Enter"===e.key&&h()},className:"neeto-editor-link__item"},t.createElement(Gg,{autoFocus:!0,name:"url",value:s,placeholder:"Paste URL",onFocus:()=>r(""),error:i,onChange:e=>{let{target:{value:t}}=e;return a(t)},"data-cy":"neeto-editor-fixed-menu-link-option-input"}),t.createElement(Vg,{label:"Link",onClick:h,"data-cy":"neeto-editor-fixed-menu-link-option-link-button"}),p&&t.createElement(Vg,{label:"Unlink",onClick:()=>{n.chain().focus().unsetLink().run(),d()},"data-cy":"neeto-editor-fixed-menu-link-option-unlink-button"})))};var Jk=Au((function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t}));const Zk=e=>{let{editor:t,options:n,setImageUploadVisible:i}=e;const o=((e,t)=>({font:[{Icon:wf,command:()=>e.chain().focus().toggleBold().run(),active:e.isActive("bold"),optionName:"bold"},{Icon:Tf,command:()=>e.chain().focus().toggleItalic().run(),active:e.isActive("italic"),optionName:"italic"},{Icon:zf,command:()=>e.chain().focus().toggleUnderline().run(),active:e.isActive("underline"),optionName:"underline"},{Icon:Ef,command:()=>e.chain().focus().toggleStrike().run(),active:e.isActive("strike"),optionName:"strike"},{Icon:Ym,command:()=>e.chain().focus().toggleHighlight().run(),active:e.isActive("highlight"),optionName:"highlight"}],block:[{Icon:ff,command:()=>e.chain().focus().toggleBlockquote().run(),active:e.isActive("blockquote"),optionName:"block-quote",highlight:!0},{Icon:Bm,command:()=>e.chain().focus().toggleCodeBlock().run(),active:e.isActive("codeBlock"),optionName:"code-block",highlight:!0},{Icon:Gm,command:()=>t(!0),active:e.isActive("imageUpload"),optionName:"image-upload"}],list:[{Icon:rf,command:()=>e.chain().focus().toggleBulletList().run(),active:e.isActive("bulletList"),optionName:"bullet-list",highlight:!0},{Icon:af,command:()=>e.chain().focus().toggleOrderedList().run(),active:e.isActive("orderedList"),optionName:"ordered-list",highlight:!0}]}))(t,i);return Jk(["font","block","list"].map((e=>[e,o[e].filter((e=>n.includes(e.optionName)))])))},Xk=e=>{let{size:n="medium",user:i={},isSquare:r=!1,status:s=null,onClick:a=(()=>{}),className:l="",...c}=e;const[p,u]=o(!1),{name:d="",imageUrl:h}=i,m="medium"===n,f="large"===n,g="extraLarge"===n,b=(e=>{if(e&&"string"==typeof e){const t=e.trim().split(" "),n=t.reduce(((e,n,i)=>(0!==i&&i!==t.length-1||(e=`${e}${n.charAt(0).toUpperCase()}`),e)),"");return n}return""})(d),v={height:_g[n],width:_g[n]},y=Uc("ne-avatar ",{"ne-avatar--medium":m,"ne-avatar--large":f,"ne-avatar--xlarge":g,"ne-avatar--round":!r,hidden:p}),x=Uc("ne-avatar__text",{"ne-avatar__text-medium":m,"ne-avatar__text-large":f,"ne-avatar__text-xlarge":g}),w=Uc("ne-avatar__status",`${s}`,{"ne-avatar__status-medium":m,"ne-avatar__status-large":f,"ne-avatar__status-xlarge":g,"ne-avatar__status-square":r}),k=()=>Dd(s)?t.Fragment:t.createElement("span",{className:w,"data-testid":"indicator"}),E=()=>t.createElement("span",{className:x,"data-testid":"initials"},b),_=b&&!(h&&!p);return t.createElement("span",S({onClick:a,style:v,className:Uc("ne-avatar--container ne-select-none",{"ne-avatar--container-round":!r},l,(()=>{const e=(b.charCodeAt(0)||0)+(b.charCodeAt(1)||0);return Mg[e%65%Mg.length]||Mg[0]})())},c),t.createElement(k,null),_?t.createElement(E,null):t.createElement("img",{className:y,onError:()=>u(!0),src:h||Cg,alt:`avatar-${b}`,"data-chromatic":"ignore"}))};Xk.propTypes={size:Ff.exports.oneOf(Object.keys(_g)),user:Ff.exports.shape({imageUrl:Ff.exports.string,name:Ff.exports.string}),isSquare:Ff.exports.bool,onClick:Ff.exports.func,status:Ff.exports.oneOf(Object.keys({online:"online",idle:"idle",offline:"offline"})),className:Ff.exports.string};var eE=Ru;var tE="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var r in o)eE(r,o)&&(t[r]=o[r]);n+=1}return t},nE=tE,iE=zu((function(e,t){return nE({},t,e)})),oE=iE;const rE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(((e,n)=>oE(e,{showImage:t,key:`${Td(e.name)}-${n}`}))).sort(((e,t)=>e.name.localeCompare(t.name)))},sE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=rE(e,t);return e=>{let{query:t}=e;return n.filter((e=>{let{name:n}=e;return n.toLocaleLowerCase().includes(t.toLocaleLowerCase())}))}},aE=e=>{let{editor:n,mentions:i,showImageInMention:o}=e;const r=s(),a=rE(i,o),{Menu:l,MenuItem:c}=Eb;return Md(a)?null:t.createElement(Eb,{ref:r,customTarget:()=>{var e,n,i;return t.createElement(hb,{icon:Wm,iconActive:null==r||null===(e=r.current)||void 0===e||null===(n=e._tippy)||void 0===n||null===(i=n.state)||void 0===i?void 0:i.isVisible,tooltipProps:{content:"Mention",position:"bottom",delay:[500]},"data-cy":"neeto-editor-mention-option"})}},t.createElement(l,null,a.map((e=>{let{key:i,name:r,imageUrl:s}=e;return t.createElement(c.Button,{key:i,onClick:()=>n.commands.setMention({id:i,label:r}),"data-cy":`neeto-editor-mention-option-${i}`},o&&t.createElement(Xk,{size:"small",user:{name:r,imageUrl:s}}),t.createElement("span",null,r))}))))},lE=e=>{let{onClickVariable:n,variables:i}=e;const o=function(){const e=[],t=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((n=>{const{category_key:i,category_label:o,variables:r}=n;if(i&&r){const e=r.map((e=>({...e,category_key:i})));t.push({label:o,variables:e})}else e.push(n)})),e.length&&t.push({label:t.length?"Others":null,variables:e}),t}(i);return i&&i.length?t.createElement("div",{className:"neeto-editor-variables-list"},o.map(((e,i)=>{let{label:o,variables:r}=e;return t.createElement(cE,{key:i,index:i,title:o,variables:r,onClickItem:n})}))):null},cE=e=>{let{index:n,title:i,variables:o,onClickItem:r}=e;return t.createElement("div",{className:"neeto-editor-variables-block","data-cy":`neeto-editor-variable-option-category-${n}`},i&&t.createElement("h6",null,i),t.createElement("div",{className:"neeto-editor-variables-row"},o.map((e=>t.createElement("button",{type:"button",onClick:()=>r(e),key:`${e.label}--${e.value}`,className:"neeto-editor-variable","data-cy":`neeto-editor-variable-option-item-${e.label}--${e.value}`},e.label)))))},pE=e=>{let{editor:n,variables:i}=e;const o=s(),{Menu:r}=Eb;return i&&i.length?t.createElement(Eb,{ref:o,customTarget:()=>{var e,n,i;return t.createElement(hb,{icon:Im,iconActive:null==o||null===(e=o.current)||void 0===e||null===(n=e._tippy)||void 0===n||null===(i=n.state)||void 0===i?void 0:i.isVisible,tooltipProps:{content:"Variables",position:"bottom",delay:[500]},"data-cy":"neeto-editor-variable-option"})}},t.createElement(r,null,t.createElement(lE,{onClickVariable:e=>{const{category_key:t,key:i}=e,o=t?`${t}.${i}`:i;n.chain().focus().setVariable({label:o}).run()},variables:i}))):null},uE=e=>{let{editor:n,variables:i,setImageUploadVisible:r,options:s,mentions:a,showImageInMention:l}=e;const[c,p]=o(!1),u=n&&n.view.state.selection.node,d=u&&"image"===u.type.name;if(!n)return null;const{font:h,block:m,list:f}=Zk({editor:n,options:s,setImageUploadVisible:r}),g=s.filter((e=>e.match(/^h[1-6]$/))).length>0,b=s.includes(Bd.EMOJI),v=s.includes(Bd.LINK),y=(e,n)=>{let{Icon:i,command:o,active:r,optionName:s,highlight:a}=e;return t.createElement(hb,{key:n,icon:i,iconActive:r,highlight:a,onClick:o,tooltipProps:{content:Od(s),position:"bottom",delay:[500]},"data-cy":`neeto-editor-fixed-menu-${s}-option`})};return t.createElement("div",{className:"neeto-editor-fixed-menu"},g&&t.createElement(Qk,{editor:n}),h.map(y),b&&t.createElement(Yk,{editor:n}),v&&t.createElement(Gk,{editor:n}),m.map(y),f.map(y),d&&Xg({editor:n,isImageEditorModalOpen:c,setIsImageEditorModalOpen:p}).map(((e,n)=>{let{Icon:i,command:o,active:r,optionName:s}=e;return t.createElement(hb,{key:n,icon:i,iconActive:r,onClick:o,tooltipProps:{content:Od(s),position:"bottom",delay:[500]},"data-cy":`neeto-editor-fixed-menu-${s}-option`})})),t.createElement("div",{className:"neeto-editor-fixed-menu-addons"},t.createElement(pE,{editor:n,variables:i}),t.createElement(aE,{editor:n,mentions:a,showImageInMention:l})),t.createElement(Yg,{isOpen:c,onClose:()=>p(!1)},t.createElement("div",{className:"neeto-editor-image-uploader"},t.createElement("div",{className:"neeto-editor-image-uploader__content"},t.createElement(Jg,{editor:n,onClose:()=>p(!1),url:null==u?void 0:u.attrs.src,alt:null==u?void 0:u.attrs.alt})))))},dE=()=>{},hE=e=>{let{active:n,className:i="",children:o,icon:r=null,onClick:s=dE,...a}=e;const l="button",c="string"==typeof r?()=>t.createElement("i",{className:r,"data-cy":"ne-tab-item-icon","data-testid":"ne-tab-icon"}):r||t.Fragment;return t.createElement(l,S({className:Uc(["ne-tab",i],{active:n}),onClick:s,"data-cy":"tab-item"},a),r&&t.createElement(c,{className:"ne-tab__icon"}),o)};hE.displayName="Tab.Item",hE.propTypes={active:Ff.exports.bool,className:Ff.exports.string,children:Ff.exports.node,icon:Ff.exports.oneOfType([Ff.exports.string,Ff.exports.elementType]),onClick:Ff.exports.func,activeClassName:Ff.exports.string};const mE={large:"large",small:"small"},fE=e=>{let{size:n=mE.small,noUnderline:i=!1,children:o,className:r="",...s}=e;return t.createElement("div",S({className:Uc({"ne-tab__wrapper":!0},{"ne-tab__wrapper--size-large":n===mE.large},{"ne-tab__wrapper--size-small":n===mE.small},{"ne-tab__wrapper--underline-none":i},[r]),"data-cy":"tab-container"},s),o)};fE.propTypes={noUnderline:Ff.exports.bool,size:Ff.exports.oneOf(Object.values(mE)),children:Ff.exports.node,className:Ff.exports.string},fE.Item=hE;const gE={autoProceed:!0,allowMultipleUploads:!1,restrictions:{maxFileSize:5*1024*1024,allowedFileTypes:[".jpg",".jpeg",".png",".gif"]}},bE={formData:!0,fieldName:"blob"},vE=[{title:"Upload",key:"local"},{title:"Link",key:"link"},{title:"Unsplash",key:"unsplash"}];var yE={exports:{}},xE={};function wE(e){return e<10?`0${e}`:e.toString()}var kE=function(){const e=new Date;return`${wE(e.getHours())}:${wE(e.getMinutes())}:${wE(e.getSeconds())}`};Object.defineProperty(xE,"__esModule",{value:!0}),xE.justErrorsLogger=xE.debugLogger=void 0;const EE=kE,_E={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${EE()}]`,...t)}};xE.justErrorsLogger=_E;const ME={debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${EE()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${EE()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${EE()}]`,...t)}};xE.debugLogger=ME;let CE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var DE={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+=CE[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let i="",o=n;for(;o--;)i+=e[Math.random()*e.length|0];return i}},OE={},TE=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var i=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,i));var o=n[i];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function NE(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}NE.prototype.match=function(e){var t,n,i=!0,o=this.parts,r=o.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;i&&t<r;t++)"*"!==o[t]&&(i=t<n.length&&o[t]===n[t]);i=i&&n}else i=!1;else if("function"==typeof e.splice)for(i=[],t=e.length;t--;)this.match(e[t])&&(i[i.length]=e[t]);else if("object"==typeof e)for(var s in i={},e)this.match(s)&&(i[s]=e[s]);return i};var SE=function(e,t,n){var i=new NE(e,n||/[\/\.]/);return void 0!==t?i.match(t):i},AE=/[\/\+\.]/;Object.defineProperty(OE,"__esModule",{value:!0}),OE.defaultOptions=OE.RestrictionError=OE.Restricter=void 0;const jE=TE,IE=function(e,t){function n(t){var n=SE(t,e,AE);return n&&n.length>=2}return t?n(t.split(";")[0]):n};OE.defaultOptions={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};class zE extends Error{constructor(){super(...arguments),this.isRestriction=!0}}OE.RestrictionError=zE,"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});function LE(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}OE.Restricter=class{constructor(e,t){this.i18n=t,this.getOpts=()=>{const t=e();if(null!=t.restrictions.allowedFileTypes&&!Array.isArray(t.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");return t}}validate(e,t){const{maxFileSize:n,minFileSize:i,maxTotalFileSize:o,maxNumberOfFiles:r,allowedFileTypes:s}=this.getOpts().restrictions;if(r&&t.length+1>r)throw new zE(`${this.i18n("youCanOnlyUploadX",{smart_count:r})}`);if(s){const t=s.some((t=>t.includes("/")?!!e.type&&IE(e.type.replace(/;.*?$/,""),t):!("."!==t[0]||!e.extension)&&e.extension.toLowerCase()===t.slice(1).toLowerCase()));if(!t){const e=s.join(", ");throw new zE(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}}if(o&&null!=e.size){const n=t.reduce(((e,t)=>e+t.size),e.size);if(n>o)throw new zE(this.i18n("exceedsSize",{size:jE(o),file:e.name}))}if(n&&null!=e.size&&e.size>n)throw new zE(this.i18n("exceedsSize",{size:jE(n),file:e.name}));if(i&&null!=e.size&&e.size<i)throw new zE(this.i18n("inferiorSize",{size:jE(i)}))}validateMinNumberOfFiles(e){const{minNumberOfFiles:t}=this.getOpts().restrictions;if(Object.keys(e).length<t)throw new zE(this.i18n("youHaveToAtLeastSelectX",{smart_count:t}))}getMissingRequiredMetaFields(e){const t=new zE(this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})),{requiredMetaFields:n}=this.getOpts().restrictions,i=Object.prototype.hasOwnProperty,o=[];for(const t of n)i.call(e.meta,t)&&""!==e.meta[t]||o.push(t);return{missingFields:o,error:t}}};var RE=0;function FE(e){return"__private_"+RE+++"_"+e}const PE=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};function BE(e,t,n){const i=[];return e.forEach((e=>"string"!=typeof e?i.push(e):t[Symbol.split](e).forEach(((e,t,o)=>{""!==e&&i.push(e),t<o.length-1&&i.push(n)})))),i}
|
|
32
|
+
wh.exports=kh;var om=wh.exports,rm={exports:{}},sm={},am="function"==typeof Symbol&&Symbol.for,lm=am?Symbol.for("react.element"):60103,cm=am?Symbol.for("react.portal"):60106,pm=am?Symbol.for("react.fragment"):60107,um=am?Symbol.for("react.strict_mode"):60108,dm=am?Symbol.for("react.profiler"):60114,hm=am?Symbol.for("react.provider"):60109,mm=am?Symbol.for("react.context"):60110,fm=am?Symbol.for("react.async_mode"):60111,gm=am?Symbol.for("react.concurrent_mode"):60111,bm=am?Symbol.for("react.forward_ref"):60112,vm=am?Symbol.for("react.suspense"):60113,ym=am?Symbol.for("react.suspense_list"):60120,xm=am?Symbol.for("react.memo"):60115,wm=am?Symbol.for("react.lazy"):60116,km=am?Symbol.for("react.block"):60121,Em=am?Symbol.for("react.fundamental"):60117,_m=am?Symbol.for("react.responder"):60118,Mm=am?Symbol.for("react.scope"):60119;function Cm(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case lm:switch(e=e.type){case fm:case gm:case pm:case dm:case um:case vm:return e;default:switch(e=e&&e.$$typeof){case mm:case bm:case wm:case xm:case hm:return e;default:return t}}case cm:return t}}}function Dm(e){return Cm(e)===gm}function Om(){}function Tm(){}sm.AsyncMode=fm,sm.ConcurrentMode=gm,sm.ContextConsumer=mm,sm.ContextProvider=hm,sm.Element=lm,sm.ForwardRef=bm,sm.Fragment=pm,sm.Lazy=wm,sm.Memo=xm,sm.Portal=cm,sm.Profiler=dm,sm.StrictMode=um,sm.Suspense=vm,sm.isAsyncMode=function(e){return Dm(e)||Cm(e)===fm},sm.isConcurrentMode=Dm,sm.isContextConsumer=function(e){return Cm(e)===mm},sm.isContextProvider=function(e){return Cm(e)===hm},sm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===lm},sm.isForwardRef=function(e){return Cm(e)===bm},sm.isFragment=function(e){return Cm(e)===pm},sm.isLazy=function(e){return Cm(e)===wm},sm.isMemo=function(e){return Cm(e)===xm},sm.isPortal=function(e){return Cm(e)===cm},sm.isProfiler=function(e){return Cm(e)===dm},sm.isStrictMode=function(e){return Cm(e)===um},sm.isSuspense=function(e){return Cm(e)===vm},sm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===pm||e===gm||e===dm||e===um||e===vm||e===ym||"object"==typeof e&&null!==e&&(e.$$typeof===wm||e.$$typeof===xm||e.$$typeof===hm||e.$$typeof===mm||e.$$typeof===bm||e.$$typeof===Em||e.$$typeof===_m||e.$$typeof===Mm||e.$$typeof===km)},sm.typeOf=Cm,Function.call.bind(Object.prototype.hasOwnProperty),Tm.resetWarningCache=Om,rm.exports=function(){function e(e,t,n,i,o,r){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Tm,resetWarningCache:Om};return n.PropTypes=n,n}();var Nm=rm.exports;Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Sm=["size","color","strokeWidth"];function Am(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Sm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M20.667 20.125H3.33301M20.667 14.708H3.33301M20.667 9.292H16.334M20.667 3.875H16.334M9.29201 6.042H12C12.299 6.042 12.542 6.285 12.542 6.584V8.75C12.542 9.049 12.299 9.292 12 9.292H9.83301C9.53401 9.292 9.29101 9.049 9.29101 8.75L9.29201 6.042ZM9.29201 6.042C9.29201 3.875 9.69801 3.515 10.917 2.792M3.33301 6.042H6.04101C6.34001 6.042 6.58301 6.285 6.58301 6.584V8.75C6.58301 9.049 6.34001 9.292 6.04101 9.292H3.87501C3.57601 9.292 3.33301 9.049 3.33301 8.75V6.042ZM3.33301 6.042C3.33301 3.875 3.73901 3.515 4.95801 2.792",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Am.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Am.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var jm=["size","color","strokeWidth"];function Im(e){var t=e.size,n=e.color;e.strokeWidth;var i=xh(e,jm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},i),om.createElement("path",{d:"M9.28906 19.8281H9.77344V18.5234H9.45312C8.39062 18.5234 7.96875 18.0469 7.96875 16.8516V14.4688C7.96875 13.3438 7.35156 12.7266 6.14062 12.6016V12.3906C7.35156 12.2656 7.96875 11.6484 7.96875 10.5156V8.16406C7.96875 6.96875 8.39062 6.49219 9.45312 6.49219H9.77344V5.1875H9.28906C7.27344 5.1875 6.36719 6.0625 6.36719 7.96094V9.99219C6.36719 11.2031 5.91406 11.625 4.60156 11.625V13.3594C5.91406 13.3672 6.36719 13.7891 6.36719 15V17.0469C6.36719 18.9531 7.28125 19.8281 9.28906 19.8281ZM14.4766 19.8281C16.4922 19.8281 17.3984 18.9531 17.3984 17.0469V15C17.3984 13.7891 17.8594 13.3672 19.1641 13.3594V11.625C17.8594 11.625 17.3984 11.2031 17.3984 9.99219V7.96094C17.3984 6.0625 16.4922 5.1875 14.4766 5.1875H13.9922V6.49219H14.3203C15.3828 6.49219 15.7969 6.96875 15.7969 8.16406V10.5156C15.7969 11.6484 16.4141 12.2656 17.6328 12.3906V12.6016C16.4141 12.7266 15.7969 13.3438 15.7969 14.4688V16.8516C15.7969 18.0469 15.375 18.5234 14.3203 18.5234H13.9922V19.8281H14.4766Z",fill:n}))}Im.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Im.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var zm=["size","color","strokeWidth"];function Lm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,zm);return om.createElement("svg",yh({viewBox:"0 0 18 19",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_1047_4338)"},om.createElement("rect",{x:"3",y:"11.3335",width:"11.5714",height:"3.85714",rx:"1",fill:n}),om.createElement("mask",{id:"path-2-inside-1_1047_4338",fill:n},om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1"})),om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1",stroke:n,mask:"url(#path-2-inside-1_1047_4338)",strokeWidth:"3"}),om.createElement("line",{x1:"9",y1:"9.61914",x2:"9",y2:"17.1191",stroke:n,strokeWidth:i}),om.createElement("line",{x1:"9",y1:"2.86914",x2:"9",y2:"6.61914",stroke:n,strokeWidth:i})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_1047_4338"},om.createElement("rect",{width:"18",height:"18",fill:n,transform:"translate(0 0.619141)"}))))}Lm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Lm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Rm=["size","color","strokeWidth"];function Fm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Rm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M6 6L18 18",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M18 6L6 18",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Fm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Fm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Pm=["size","color","strokeWidth"];function Bm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Pm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M13.78 4L10.22 20M18 8L22 12L18 16M6 16L2 12L6 8",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Bm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Bm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Um=["size","color","strokeWidth"];function $m(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Um);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M6 9L12 15L18 9",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}$m.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},$m.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Hm=["size","color","strokeWidth"];function qm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Hm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M18 10L15 7",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 20H15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M16.0174 5.68275L9.87375 11.8262C9.53712 12.1628 9.31876 12.5996 9.25146 13.0708L9.01095 14.7549C8.98726 14.9208 9.00212 15.09 9.05437 15.2492C9.10662 15.4085 9.19487 15.5535 9.31225 15.6731C9.42964 15.7928 9.57301 15.8837 9.73124 15.939C9.88948 15.9943 10.0583 16.0123 10.2247 15.9918L11.8503 15.791C12.3369 15.7309 12.7894 15.5101 13.1362 15.1634L19.3163 8.98528C19.533 8.76863 19.705 8.51141 19.8223 8.22831C19.9396 7.94521 20 7.64178 20 7.33534C20 7.0289 19.9397 6.72546 19.8224 6.44235C19.7052 6.15923 19.5333 5.90198 19.3166 5.6853L19.314 5.68275C19.0976 5.46629 18.8406 5.29459 18.5578 5.17744C18.2749 5.06029 17.9718 5 17.6657 5C17.3596 5 17.0564 5.06029 16.7736 5.17744C16.4908 5.29459 16.2338 5.46629 16.0174 5.68275Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}qm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},qm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Vm=["size","color","strokeWidth"];function Wm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Vm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17 21H12C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36628 17.0887 3.68509 15.4442C3.0039 13.7996 2.82567 11.99 3.17294 10.2442C3.5202 8.49836 4.37737 6.89472 5.63604 5.63604C6.89472 4.37737 8.49836 3.5202 10.2442 3.17294C11.99 2.82567 13.7996 3.0039 15.4442 3.68509C17.0887 4.36628 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12V13.5C21 14.163 20.7366 14.7989 20.2678 15.2678C19.7989 15.7366 19.163 16 18.5 16C17.837 16 17.2011 15.7366 16.7322 15.2678C16.2634 14.7989 16 14.163 16 13.5V12C16 10.9391 15.5786 9.92172 14.8284 9.17158C14.0783 8.42143 13.0609 8 12 8V8C11.2089 8 10.4355 8.2346 9.77772 8.67413C9.11993 9.11365 8.60724 9.73837 8.30449 10.4693C8.00174 11.2002 7.92252 12.0044 8.07686 12.7804C8.2312 13.5563 8.61217 14.269 9.17158 14.8284C9.73099 15.3878 10.4437 15.7688 11.2196 15.9231C11.9956 16.0775 12.7998 15.9983 13.5307 15.6955C14.2616 15.3928 14.8864 14.8801 15.3259 14.2223C15.7654 13.5645 16 12.7911 16 12",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Wm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Wm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Km=["size","color","strokeWidth"];function Ym(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Km);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M10.523 20H6V15.477C6 15.0134 6.18428 14.5684 6.51226 14.2407L17.5294 4.00237C18.211 3.31947 19.3171 3.31841 20 4L20.0024 4.00237L21.5 5.527C22.1829 6.20859 22.184 7.31473 21.5024 7.99763L21.5 8L11.759 19.488C11.431 19.8156 10.9865 19.9997 10.523 20Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M2 20H3",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M9 12L13.5 16.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Ym.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ym.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Qm=["size","color","strokeWidth"];function Gm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Qm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0)"},om.createElement("path",{d:"M21 16.014L16.707 11.721C16.316 11.33 15.683 11.33 15.293 11.721L11 16.014",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M18 21.014H6C4.343 21.014 3 19.671 3 18.014V6.014C3 4.357 4.343 3.014 6 3.014H18C19.657 3.014 21 4.357 21 6.014V18.014C21 19.671 19.657 21.014 18 21.014Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M15.9998 21.014L9.7068 14.721C9.3158 14.33 8.6828 14.33 8.2928 14.721L3.4458 19.568M9.26497 8.74883C9.41142 8.89527 9.41142 9.13271 9.26497 9.27916C9.11852 9.4256 8.88109 9.4256 8.73464 9.27916C8.58819 9.13271 8.58819 8.89527 8.73464 8.74883C8.88109 8.60238 9.11852 8.60238 9.26497 8.74883Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0"},om.createElement("rect",{width:"24",height:"24",fill:n}))))}Gm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Gm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Jm=["size","color","strokeWidth"];function Zm(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Jm);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M11.009 11.249H12.159V15.499",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M11 15.4986H13.3093",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M12.1 8.24587C12.1 8.29532 12.0853 8.34365 12.0579 8.38477C12.0304 8.42588 11.9914 8.45792 11.9457 8.47684C11.9 8.49576 11.8497 8.50071 11.8012 8.49107C11.7527 8.48142 11.7082 8.45761 11.6732 8.42265C11.6383 8.38769 11.6145 8.34314 11.6048 8.29464C11.5952 8.24615 11.6001 8.19588 11.619 8.1502C11.638 8.10452 11.67 8.06548 11.7111 8.03801C11.7522 8.01053 11.8006 7.99587 11.85 7.99587",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M11.85 7.99587C11.9163 7.99587 11.9799 8.02221 12.0268 8.0691C12.0737 8.11598 12.1 8.17957 12.1 8.24587",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M16 2.99862H8C5.23858 2.99862 3 5.2372 3 7.99862V15.9986C3 18.76 5.23858 20.9986 8 20.9986H16C18.7614 20.9986 21 18.76 21 15.9986V7.99862C21 5.2372 18.7614 2.99862 16 2.99862Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Zm.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Zm.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Xm=["size","color","strokeWidth"];function ef(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Xm);return om.createElement("svg",yh({viewBox:"0 0 18 19",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_1047_4040)"},om.createElement("rect",{x:"4.5",y:"11.333",width:"11.5714",height:"3.85714",rx:"1",fill:n}),om.createElement("mask",{id:"path-2-inside-1_1047_4040",fill:n},om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1"})),om.createElement("rect",{x:"4.5",y:"6.19043",width:"9",height:"3.85714",rx:"1",stroke:n,mask:"url(#path-2-inside-1_1047_4040)",strokeWidth:"3"}),om.createElement("line",{x1:"2.25",y1:"2.97607",x2:"2.25",y2:"17.1189",stroke:n,strokeWidth:i})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_1047_4040"},om.createElement("rect",{width:"18",height:"18",fill:n,transform:"translate(0 0.619141)"}))))}ef.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ef.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var tf=["size","color","strokeWidth"];function nf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,tf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17.7166 12.3594L19.4466 10.6294C21.1392 8.9873 21.1801 6.284 19.538 4.59141C17.8959 2.89882 15.1926 2.85789 13.5 4.5C13.4691 4.53001 13.4386 4.56048 13.4086 4.59141L10.0109 7.951C8.34355 9.61717 8.3426 12.3195 10.0088 13.9869L10.0109 13.989L9.9999 14C10.3445 14.3381 10.7447 14.6144 11.1829 14.817",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M12.806 9.193C13.2443 9.39593 13.6445 9.67262 13.989 10.011C15.6564 11.6772 15.6573 14.3795 13.9912 16.0469L13.989 16.049L10.8082 19.268C9.11565 20.9101 6.41235 20.8692 4.77024 19.1766C3.16318 17.5201 3.16318 14.8865 4.77024 13.23L6.50024 11.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}nf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},nf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var of=["size","color","strokeWidth"];function rf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,of);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M12 5H20",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 7C7.10457 7 8 6.10457 8 5C8 3.89543 7.10457 3 6 3C4.89543 3 4 3.89543 4 5C4 6.10457 4.89543 7 6 7Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M12 19H20M12 12H20H12Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 14C7.10457 14 8 13.1046 8 12C8 10.8954 7.10457 10 6 10C4.89543 10 4 10.8954 4 12C4 13.1046 4.89543 14 6 14Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M6 21C7.10457 21 8 20.1046 8 19C8 17.8954 7.10457 17 6 17C4.89543 17 4 17.8954 4 19C4 20.1046 4.89543 21 6 21Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}rf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},rf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var sf=["size","color","strokeWidth"];function af(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,sf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M11 4H20M11.15 9H20M5.25 9V4L4 5.25M11 14H20M11.15 19H20M4 15C4 14.7348 4.10536 14.4804 4.29289 14.2929C4.48043 14.1054 4.73478 14 5 14H5.61448C5.87234 14 6.12365 14.0811 6.33284 14.2319C6.54202 14.3827 6.69846 14.5955 6.78 14.8401C6.84709 15.0414 6.86091 15.2566 6.82013 15.4648C6.77935 15.673 6.68534 15.8671 6.54727 16.0282L4 19H7M4 9H6.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}af.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},af.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var lf=["size","color","strokeWidth"];function cf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,lf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17 12H7",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}cf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},cf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var pf=["size","color","strokeWidth"];function uf(e){var t=e.size,n=e.color;e.strokeWidth;var i=xh(e,pf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},i),om.createElement("path",{d:"M10 2.25C8.48079 2.25 7.25 3.48079 7.25 5V6.25H6C4.48079 6.25 3.25 7.48079 3.25 9V19C3.25 20.5192 4.48079 21.75 6 21.75H14C15.5192 21.75 16.75 20.5192 16.75 19V17.75H18C19.5192 17.75 20.75 16.5192 20.75 15V5C20.75 3.48079 19.5192 2.25 18 2.25H10ZM16.75 16.25H18C18.6908 16.25 19.25 15.6908 19.25 15V5C19.25 4.30921 18.6908 3.75 18 3.75H10C9.30921 3.75 8.75 4.30921 8.75 5V6.25H14C15.5192 6.25 16.75 7.48079 16.75 9V16.25ZM8 7.75H6C5.30921 7.75 4.75 8.30921 4.75 9V19C4.75 19.6908 5.30921 20.25 6 20.25H14C14.6908 20.25 15.25 19.6908 15.25 19V17V9C15.25 8.30921 14.6908 7.75 14 7.75H8ZM8 12.25C7.58579 12.25 7.25 12.5858 7.25 13C7.25 13.4142 7.58579 13.75 8 13.75H12C12.4142 13.75 12.75 13.4142 12.75 13C12.75 12.5858 12.4142 12.25 12 12.25H8ZM8 15.25C7.58579 15.25 7.25 15.5858 7.25 16C7.25 16.4142 7.58579 16.75 8 16.75H12C12.4142 16.75 12.75 16.4142 12.75 16C12.75 15.5858 12.4142 15.25 12 15.25H8Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}uf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},uf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var df=["size","color","strokeWidth"];function hf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,df);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M13 4.5H20M13 9.5H20M4 14.5H20M4 19.5H20M9 9.5L6.5 4.5L4 9.5M4.5 8.5H6.5H8.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}hf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},hf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var mf=["size","color","strokeWidth"];function ff(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,mf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M14 13.5H19C19.552 13.5 20 13.948 20 14.5V18.5C20 19.052 19.552 19.5 19 19.5H15C14.448 19.5 14 19.052 14 18.5V13.5ZM14 13.5C14 7.5 15 6.5 18 4.5M4 13.5H9C9.552 13.5 10 13.948 10 14.5V18.5C10 19.052 9.552 19.5 9 19.5H5C4.448 19.5 4 19.052 4 18.5V13.5ZM4 13.5C4 7.5 5 6.5 8 4.5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}ff.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},ff.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var gf=["size","color","strokeWidth"];function bf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,gf);return om.createElement("svg",yh({viewBox:"0 0 18 19",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_1047_4017)"},om.createElement("rect",{x:"1.5",y:"11.333",width:"11.5714",height:"3.85714",rx:"1",fill:n}),om.createElement("mask",{id:"path-2-inside-1_1047_4017",fill:n},om.createElement("rect",{x:"4.07129",y:"6.19043",width:"9",height:"3.85714",rx:"1"})),om.createElement("rect",{x:"4.07129",y:"6.19043",width:"9",height:"3.85714",rx:"1",stroke:n,mask:"url(#path-2-inside-1_1047_4017)",strokeWidth:"3"}),om.createElement("line",{x1:"15.75",y1:"2.97607",x2:"15.75",y2:"17.1189",stroke:n,strokeWidth:i})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_1047_4017"},om.createElement("rect",{width:"18",height:"18",fill:n,transform:"translate(0 0.619141)"}))))}bf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},bf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var vf=["size","color","strokeWidth"];function yf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,vf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M12 3C7.037 3 3 7.037 3 12C3 16.963 7.037 21 12 21C16.963 21 21 16.962 21 12C21 7.038 16.962 3 12 3Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M15.5006 15.688C15.5006 15.688 14.1876 17 12.0006 17C9.81263 17 8.50063 15.688 8.50063 15.688M15.3286 9.5C15.1906 9.5 15.0786 9.612 15.0796 9.75C15.0796 9.888 15.1916 10 15.3296 10C15.4676 10 15.5796 9.888 15.5796 9.75C15.5796 9.612 15.4676 9.5 15.3286 9.5ZM8.63963 9.5C8.50163 9.5 8.38963 9.612 8.39063 9.75C8.39063 9.888 8.50263 10 8.64063 10C8.77863 10 8.89063 9.888 8.89063 9.75C8.89063 9.612 8.77863 9.5 8.63963 9.5Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}yf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},yf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var xf=["size","color","strokeWidth"];function wf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,xf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M7 6H12.875C13.6706 6 14.4337 6.31607 14.9963 6.87868C15.5589 7.44129 15.875 8.20435 15.875 9V9C15.875 9.79565 15.5589 10.5587 14.9963 11.1213C14.4337 11.6839 13.6706 12 12.875 12H7V6ZM7 12H14C14.7956 12 15.5587 12.3161 16.1213 12.8787C16.6839 13.4413 17 14.2044 17 15V15C17 15.7956 16.6839 16.5587 16.1213 17.1213C15.5587 17.6839 14.7956 18 14 18H7V12Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}wf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},wf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var kf=["size","color","strokeWidth"];function Ef(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,kf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M8 18H14C14.7956 18 15.5587 17.6839 16.1213 17.1213C16.6839 16.5587 17 15.7956 17 15V15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M19 12H5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M16 6H11C10.2044 6 9.44129 6.31607 8.87868 6.87868C8.31607 7.44129 8 8.20435 8 9",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Ef.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Ef.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var _f=["size","color","strokeWidth"];function Mf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,_f);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M5 6V18M13 6V18M5 12H13M18.5 18V13L17.25 14.25M20 18H17",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Mf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Mf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Cf=["size","color","strokeWidth"];function Df(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Cf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M17 14C17 13.7348 17.1054 13.4804 17.2929 13.2929C17.4804 13.1054 17.7348 13 18 13H18.6145C18.8723 13 19.1237 13.0811 19.3329 13.2319C19.542 13.3827 19.6985 13.5955 19.78 13.8401C19.8471 14.0414 19.8609 14.2566 19.8202 14.4648C19.7794 14.673 19.6854 14.8671 19.5473 15.0281L17 18H20M5 6V18M13 6V18M5 12H13",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Df.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Df.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Of=["size","color","strokeWidth"];function Tf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Of);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M10 6H17M13.5 6L10.5 18L13.5 6ZM14 18H7H14Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Tf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Tf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Nf=["size","color","strokeWidth"];function Sf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Nf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("g",{clipPath:"url(#clip0_861:2152)"},om.createElement("path",{d:"M15.315 15.014L12 8.01398L8.68401 15.013",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M9.347 13.613H14.65",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M18 21.014H6C4.343 21.014 3 19.671 3 18.014V6.01398C3 4.35698 4.343 3.01398 6 3.01398H18C19.657 3.01398 21 4.35698 21 6.01398V18.014C21 19.671 19.657 21.014 18 21.014Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"})),om.createElement("defs",null,om.createElement("clipPath",{id:"clip0_861:2152"},om.createElement("rect",{width:"24",height:"24",fill:n}))))}Sf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Sf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])};var Af=["size","color","strokeWidth"];function jf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Af);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M13.3125 17L8.15625 6L3 17M4.03125 14.8H12.2812",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M21 17L18.5006 12L16 17M16.4996 16.1667H20.4992",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}jf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},jf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var If=["size","color","strokeWidth"];function zf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,If);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M15 5V11.6667C15 12.5507 14.6313 13.3986 13.9749 14.0237C13.3185 14.6488 12.4283 15 11.5 15V15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M8 5V11.6667C8 12.5507 8.36875 13.3986 9.02513 14.0237C9.6815 14.6488 10.5717 15 11.5 15V15",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}),om.createElement("path",{d:"M19 18.5H5",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}zf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},zf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Lf=["size","color","strokeWidth"];function Rf(e){var t=e.size,n=e.color,i=e.strokeWidth,o=xh(e,Lf);return om.createElement("svg",yh({viewBox:"0 0 24 24",fill:"none",height:t,width:t},o),om.createElement("path",{d:"M15.375 13.097L19.17 16.151C19.906 16.744 21 16.22 21 15.275V8.725C21 7.78 19.906 7.256 19.17 7.849L15.375 10.903M13.125 17.75H5.25C4.007 17.75 3 16.743 3 15.5V8.5C3 7.257 4.007 6.25 5.25 6.25H13.125C14.368 6.25 15.375 7.257 15.375 8.5V15.5C15.375 16.743 14.368 17.75 13.125 17.75Z",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"}))}Rf.defaultProps={color:"currentColor",size:24,strokeWidth:"1.5"},Rf.propTypes={color:Nm.string,size:Nm.oneOfType([Nm.string,Nm.number]),strokeWidth:Nm.oneOfType([Nm.string,Nm.number])},Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]),Nm.string,Nm.oneOfType([Nm.string,Nm.number]),Nm.oneOfType([Nm.string,Nm.number]);var Ff={exports:{}},Pf="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function Bf(){}function Uf(){}Uf.resetWarningCache=Bf;function $f(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Hf(e,t){return Hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hf(e,t)}function qf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hf(e,t)}function Vf(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}Ff.exports=function(){function e(e,t,n,i,o,r){if(r!==Pf){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. "+"Use PropTypes.checkPropTypes() to call them. "+"Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Uf,resetWarningCache:Bf};return n.PropTypes=n,n}();var Wf=!1,Kf=t.createContext(null),Yf=function(e){return e.scrollTop},Qf="unmounted",Gf="exited",Jf="entering",Zf="entered",Xf="exiting",eg=function(e){function n(t,n){var i;i=e.call(this,t,n)||this;var o,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=Gf,i.appearStatus=Jf):o=Zf:o=t.unmountOnExit||t.mountOnEnter?Qf:Gf,i.state={status:o},i.nextCallback=null,i}qf(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Qf?{status:Gf}:null};var i=n.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Jf&&n!==Zf&&(t=Jf):n!==Jf&&n!==Zf||(t=Xf)}this.updateStatus(!1,t)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},i.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Jf){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this);n&&Yf(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Gf&&this.setState({status:Qf})},i.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,o=this.props.nodeRef?[i]:[h.findDOMNode(this),i],r=o[0],s=o[1],a=this.getTimeouts(),l=i?a.appear:a.enter;!e&&!n||Wf?this.safeSetState({status:Zf},(function(){t.props.onEntered(r)})):(this.props.onEnter(r,s),this.safeSetState({status:Jf},(function(){t.props.onEntering(r,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:Zf},(function(){t.props.onEntered(r,s)}))}))})))},i.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:h.findDOMNode(this);t&&!Wf?(this.props.onExit(i),this.safeSetState({status:Xf},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Gf},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:Gf},(function(){e.props.onExited(i)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},i.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:h.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],r=o[0],s=o[1];this.props.addEndListener(r,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},i.render=function(){var e=this.state.status;if(e===Qf)return null;var n=this.props,i=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var o=$f(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Kf.Provider,{value:null},"function"==typeof i?i(e,o):t.cloneElement(t.Children.only(i),o))},n}(t.Component);function tg(){}eg.contextType=Kf,eg.propTypes={},eg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:tg,onEntering:tg,onEntered:tg,onExit:tg,onExiting:tg,onExited:tg},eg.UNMOUNTED=Qf,eg.EXITED=Gf,eg.ENTERING=Jf,eg.ENTERED=Zf,eg.EXITING=Xf;var ng=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))},ig=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=Vf(n.className,i):n.setAttribute("class",Vf(n.className&&n.className.baseVal||"",i)));var n,i}))},og=function(e){function n(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1];t.removeClasses(o,"exit"),t.addClass(o,r?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.addClass(o,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),o=i[0],r=i[1]?"appear":"enter";t.removeClasses(o,r),t.addClass(o,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,o=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:i?o+"-active":n[e+"Active"],doneClassName:i?o+"-done":n[e+"Done"]}},t}qf(n,e);var i=n.prototype;return i.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(i+=" "+o),"active"===n&&e&&Yf(e),i&&(this.appliedClasses[t][n]=i,ng(e,i))},i.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,o=n.active,r=n.done;this.appliedClasses[t]={},i&&ig(e,i),o&&ig(e,o),r&&ig(e,r)},i.render=function(){var e=this.props;e.classNames;var n=$f(e,["classNames"]);return t.createElement(eg,S({},n,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(t.Component);function rg(e,t){var n=Object.create(null);return e&&l.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&c(e)?t(e):e}(e)})),n}function sg(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ag(e,t,n){var i=rg(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,o=Object.create(null),r=[];for(var s in e)s in t?r.length&&(o[s]=r,r=[]):r.push(s);var a={};for(var l in t){if(o[l])for(i=0;i<o[l].length;i++){var c=o[l][i];a[o[l][i]]=n(c)}a[l]=n(l)}for(i=0;i<r.length;i++)a[r[i]]=n(r[i]);return a}(t,i);return Object.keys(o).forEach((function(r){var s=o[r];if(c(s)){var a=r in t,l=r in i,u=t[r],d=c(u)&&!u.props.in;!l||a&&!d?l||!a||d?l&&a&&c(u)&&(o[r]=p(s,{onExited:n.bind(null,s),in:u.props.in,exit:sg(s,"exit",e),enter:sg(s,"enter",e)})):o[r]=p(s,{in:!1}):o[r]=p(s,{onExited:n.bind(null,s),in:!0,exit:sg(s,"exit",e),enter:sg(s,"enter",e)})}})),o}og.defaultProps={classNames:""},og.propTypes={};var lg=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},cg=function(e){function n(t,n){var i,o=(i=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},i}qf(n,e);var i=n.prototype;return i.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},i.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,r=t.handleExited;return{children:t.firstRender?(n=e,i=r,rg(n.children,(function(e){return p(e,{onExited:i.bind(null,e),in:!0,appear:sg(e,"appear",n),enter:sg(e,"enter",n),exit:sg(e,"exit",n)})}))):ag(e,o,r),firstRender:!1}},i.handleExited=function(e,t){var n=rg(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=S({},t.children);return delete n[e.key],{children:n}})))},i.render=function(){var e=this.props,n=e.component,i=e.childFactory,o=$f(e,["component","childFactory"]),r=this.state.contextValue,s=lg(this.state.children).map(i);return delete o.appear,delete o.enter,delete o.exit,null===n?t.createElement(Kf.Provider,{value:r},s):t.createElement(Kf.Provider,{value:r},t.createElement(n,o,s))},n}(t.Component);cg.propTypes={},cg.defaultProps={component:"div",childFactory:function(e){return e}};var pg,ug,dg=function(e){function n(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.handleLifecycle("onExited",1,n)},t}qf(n,e);var i=n.prototype;return i.handleLifecycle=function(e,n,i){var o,r=this.props.children,s=t.Children.toArray(r)[n];if(s.props[e]&&(o=s.props)[e].apply(o,i),this.props[e]){var a=s.props.nodeRef?void 0:h.findDOMNode(this);this.props[e](a)}},i.render=function(){var e=this.props,n=e.children,i=e.in,o=$f(e,["children","in"]),r=t.Children.toArray(n),s=r[0],a=r[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,t.createElement(cg,o,i?t.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):t.cloneElement(a,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},n}(t.Component);dg.propTypes={};var hg="out-in",mg="in-out",fg=function(e,t,n){return function(){var i;e.props[t]&&(i=e.props)[t].apply(i,arguments),n()}},gg=((pg={})[hg]=function(e){var n=e.current,i=e.changeState;return t.cloneElement(n,{in:!1,onExited:fg(n,"onExited",(function(){i(Jf,null)}))})},pg[mg]=function(e){var n=e.current,i=e.changeState,o=e.children;return[n,t.cloneElement(o,{in:!0,onEntered:fg(o,"onEntered",(function(){i(Jf)}))})]},pg),bg=((ug={})[hg]=function(e){var n=e.children,i=e.changeState;return t.cloneElement(n,{in:!0,onEntered:fg(n,"onEntered",(function(){i(Zf,t.cloneElement(n,{in:!0}))}))})},ug[mg]=function(e){var n=e.current,i=e.children,o=e.changeState;return[t.cloneElement(n,{in:!1,onExited:fg(n,"onExited",(function(){o(Zf,t.cloneElement(i,{in:!0}))}))}),t.cloneElement(i,{in:!0})]},ug),vg=function(e){function n(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=e.call.apply(e,[this].concat(i))||this).state={status:Zf,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}qf(n,e);var i=n.prototype;return i.componentDidMount=function(){this.appeared=!0},n.getDerivedStateFromProps=function(e,n){return null==e.children?{current:null}:n.status===Jf&&e.mode===mg?{status:Jf}:!n.current||(i=n.current,o=e.children,i===o||t.isValidElement(i)&&t.isValidElement(o)&&null!=i.key&&i.key===o.key)?{current:t.cloneElement(e.children,{in:!0})}:{status:Xf};var i,o},i.render=function(){var e,n=this.props,i=n.children,o=n.mode,r=this.state,s=r.status,a=r.current,l={children:i,current:a,changeState:this.changeState,status:s};switch(s){case Jf:e=bg[o](l);break;case Xf:e=gg[o](l);break;case Zf:e=a}return t.createElement(Kf.Provider,{value:{isMounting:!this.appeared}},e)},n}(t.Component);vg.propTypes={},vg.defaultProps={mode:hg};const yg=(e,n)=>{let{children:i,...o}=e;return t.createElement("div",S({ref:n,"data-testid":"ne-backdrop"},o),i)};var xg=u(yg);const wg=20,kg="#2F3941",Eg="#68737D",_g={small:24,medium:32,large:40,extraLarge:64},Mg=["ne-avatar--container-bg-1","ne-avatar--container-bg-2","ne-avatar--container-bg-3","ne-avatar--container-bg-4","ne-avatar--container-bg-5","ne-avatar--container-bg-6","ne-avatar--container-bg-7"],Cg="https://github.com/bigbinary/neeto-ui/blob/602cf3ab48a36d7a512f3780f9950d15d13ebbea/lib/images/user.png?raw=true",Dg="danger",Og={button:"button",reset:"reset",submit:"submit"},Tg={primary:"primary",secondary:"secondary",danger:"danger",danger_text:"danger-text",text:"text",link:"link"},Ng={small:"small",medium:"medium",large:"large"},Sg={left:"left",right:"right"};function Ag(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}var jg="undefined"!=typeof window&&"undefined"!=typeof document;function Ig(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function zg(){return jg&&document.createElement("div")}function Lg(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!Lg(e[n],t[n]))return!1}return!0}return!1}function Rg(e){var t=[];return e.forEach((function(e){t.find((function(t){return Lg(e,t)}))||t.push(e)})),t}var Fg=jg?d:r;function Pg(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Bg={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function i(){e.props.className&&!n()||Pg(t,"add",e.props.className)}return{onCreate:i,onBeforeUpdate:function(){n()&&Pg(t,"remove",e.props.className)},onAfterUpdate:i}}};function Ug(e){return function(n){var i=n.children,r=n.content,a=n.visible,l=n.singleton,c=n.render,u=n.reference,d=n.disabled,h=void 0!==d&&d,m=n.ignoreAttributes,g=void 0===m||m;n.__source,n.__self;var b,v,y=Ag(n,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),x=void 0!==a,w=void 0!==l,k=o(!1),E=k[0],_=k[1],M=o({}),C=M[0],D=M[1],O=o(),T=O[0],N=O[1],S=(b=function(){return{container:zg(),renders:1}},(v=s()).current||(v.current="function"==typeof b?b():b),v.current),A=Object.assign({ignoreAttributes:g},y,{content:S.container});x&&(A.trigger="manual",A.hideOnClick=!1),w&&(h=!0);var j=A,I=A.plugins||[];c&&(j=Object.assign({},A,{plugins:w&&null!=l.data?[].concat(I,[{fn:function(){return{onTrigger:function(e,t){var n=l.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,N(n.content)}}}}]):I,render:function(){return{popper:S.container}}}));var z=[u].concat(i?[i.type]:[]);return Fg((function(){var t=u;u&&u.hasOwnProperty("current")&&(t=u.current);var n=e(t||S.ref||zg(),Object.assign({},j,{plugins:[Bg].concat(A.plugins||[])}));return S.instance=n,h&&n.disable(),a&&n.show(),w&&l.hook({instance:n,content:r,props:j,setSingletonContent:N}),_(!0),function(){n.destroy(),null==l||l.cleanup(n)}}),z),Fg((function(){var e;if(1!==S.renders){var t,n,i,o,s=S.instance;s.setProps((t=s.props,n=j,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:Rg([].concat((null==(i=t.popperOptions)?void 0:i.modifiers)||[],(null==(o=n.popperOptions)?void 0:o.modifiers)||[]))})}))),null==(e=s.popperInstance)||e.forceUpdate(),h?s.disable():s.enable(),x&&(a?s.show():s.hide()),w&&l.hook({instance:s,content:r,props:j,setSingletonContent:N})}else S.renders++})),Fg((function(){var e;if(c){var t=S.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,i=null==(t=n.modifiersData)?void 0:t.hide;C.placement===n.placement&&C.referenceHidden===(null==i?void 0:i.isReferenceHidden)&&C.escaped===(null==i?void 0:i.hasPopperEscaped)||D({placement:n.placement,referenceHidden:null==i?void 0:i.isReferenceHidden,escaped:null==i?void 0:i.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[C.placement,C.referenceHidden,C.escaped].concat(z)),t.createElement(t.Fragment,null,i?p(i,{ref:function(e){S.ref=e,Ig(i.ref,e)}}):null,E&&f(c?c(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(C),T,S.instance):r,S.container))}}var $g=function(e,n){return u((function(i,o){var r=i.children,s=Ag(i,["children"]);return t.createElement(e,Object.assign({},n,s),r?p(r,{ref:function(e){Ig(o,e),Ig(r.ref,e)}}):null)}))},Hg=$g(Ug(fc));const qg=e=>{let{content:n,children:i,theme:o="dark",disabled:r=!1,placement:s,position:a="auto",interactive:l=!1,delay:c=0,...p}=e;return t.createElement(Hg,S({role:"tooltip",theme:o,content:n,arrow:"<svg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 5H0.926697L3.95208 1.63847C4.74227 0.760478 6.11722 0.754951 6.91445 1.62656L10 5Z' /></svg>",disabled:r,animation:"scale-subtle",placement:s||a,plugins:[yc],interactive:l,duration:[100,200],zIndex:100001,delay:c},p),i)},Vg=t.forwardRef(((e,n)=>{let i,o,{icon:r=null,iconPosition:s=Sg.right,iconSize:a=16,label:l="",loading:c=!1,onClick:p=(()=>{}),type:u=Og.button,style:d=Tg.primary,fullWidth:h=!1,className:m="",disabled:f=!1,size:g=Ng.medium,href:b="",tooltipProps:v=null,...y}=e;b?(i="a",o={href:b}):(i="button",o={type:u});const x="string"==typeof r?()=>t.createElement("i",{className:Uc("ne-btn__icon",[r])}):r||t.Fragment;return t.createElement(qg,S({disabled:!v},v),t.createElement(i,S({ref:n,onClick:e=>{c||f||p(e)},className:Uc("ne-btn",[m],{"ne-btn--style-primary":d===Tg.primary,"ne-btn--style-secondary":d===Tg.secondary,"ne-btn--style-danger":d===Tg.danger,"ne-btn--style-danger-text":d===Tg.danger_text,"ne-btn--style-text":d===Tg.text,"ne-btn--style-link":d===Tg.link,"ne-btn--size-medium":g===Ng.medium,"ne-btn--size-large":g===Ng.large,"ne-btn--width-full":h,"ne-btn--icon-left":s===Sg.left,"ne-btn--icon-only":!l,disabled:f}),disabled:f},o,y),l&&t.createElement("span",null,l),r&&t.createElement(x,{key:"2",size:a,className:"ne-btn__icon"})))}));Vg.displayName="Button";const Wg=e=>{let{children:t,rootId:n="root-portal",el:i="div"}=e;const o=s(null);return r((()=>{let e=document.getElementById(n);return e||(e=document.createElement(i),e.setAttribute("id",n),document.body.appendChild(e)),e.appendChild(o.current),()=>{o.current.remove(),0===e.childNodes.length&&e.remove()}}),[n]),o.current||(o.current=document.createElement(i)),f(t,o.current)},Kg=()=>{},Yg=e=>{let{size:n=Ng.medium,isOpen:i=!1,onClose:o=Kg,children:a,finalFocusRef:l,initialFocusRef:c,className:p="",closeOnEsc:u=!0,closeButton:d=!0,backdropClassName:h="",blockScrollOnMount:m=!0,closeOnOutsideClick:f=!0,...g}=e;const b=s(),v=s();!function(e,t){r((()=>(t&&Vd.add(e),()=>{Vd.remove(e)})),[t,e])}(b,i);const{handleModalClose:y}=vh({isOpen:i,initialFocusRef:c,finalFocusRef:l,modalWrapper:b,onClose:o,backdropRef:v,closeOnOutsideClick:f,closeOnEsc:u,blockScrollOnMount:m});return t.createElement(Wg,{rootId:"neeto-ui-portal"},t.createElement(og,{in:i,appear:i,timeout:300,classNames:"ne-modal",unmountOnExit:!0},t.createElement(xg,{ref:v,key:"modal-backdrop","data-testid":"backdrop",className:Uc("ne-modal__backdrop",h)},t.createElement("div",S({role:"dialog","aria-modal":!0,ref:b,key:"modal-wrapper",className:Uc("ne-modal__wrapper",{"ne-modal__wrapper--small":n===Ng.small,"ne-modal__wrapper--medium":n===Ng.medium,"ne-modal__wrapper--large":n===Ng.large,[p]:p})},g),d&&t.createElement(Vg,{"aria-label":"Close",style:"text",icon:Fm,className:"ne-modal__close",onClick:y,"data-testid":"close-button",size:"small"}),a))))};Yg.propTypes={size:Ff.exports.oneOf(Object.values(Ng)),isOpen:Ff.exports.bool,onClose:Ff.exports.func,children:Ff.exports.node,className:Ff.exports.string,closeOnEsc:Ff.exports.bool,closeButton:Ff.exports.bool,backdropClassName:Ff.exports.string,closeOnOutsideClick:Ff.exports.bool,finalFocusRef:Ff.exports.object,initialFocusRef:Ff.exports.object,blockScrollOnMount:Ff.exports.bool};const Qg=e=>{let{children:n,className:i="",required:o=!1,helpIconProps:r=null,...s}=e;const{onClick:a,icon:l,tooltipProps:c,className:p,...u}=r||{},d=l||Zm;return t.createElement("label",S({className:Uc("ne-label",i)},s),n,o&&t.createElement("span",{"aria-hidden":!0},"*"),r&&t.createElement(qg,S({},c,{disabled:!c}),t.createElement("span",{className:Uc("ne-label__help-icon-wrap",{[p]:p}),onClick:a},t.createElement(d,S({size:16},u)))))};Qg.propTypes={children:Ff.exports.node,className:Ff.exports.string,required:Ff.exports.bool,helpIconProps:Ff.exports.shape({onClick:Ff.exports.func,icon:Ff.exports.oneOfType([Ff.exports.element,Ff.exports.func]),tooltipProps:Ff.exports.shape({...qg.propTypes})})};const Gg=u(((e,n)=>{var i,r;let{id:s,size:a=Ng.medium,type:l="text",label:c="",error:p="",suffix:u=null,prefix:d=null,disabled:h=!1,helpText:m="",className:f="",nakedInput:g=!1,contentSize:b=null,required:v=!1,maxLength:y,...x}=e;const[w,k]=o(x.value),E=null!==(i=null!==(r=x.value)&&void 0!==r?r:w)&&void 0!==i?i:"",_=x.onChange||(e=>k(e.target.value)),M=`error_${s}`,C=`helpText_${s}`,D=(null==E?void 0:E.toString().length)||0,O=D>=.9*y,T=!!y&&D>y;return t.createElement("div",{className:Uc(["ne-input__wrapper",f])},t.createElement("div",{className:"ne-input__label-wrapper"},c&&t.createElement(Qg,{required:v,"data-cy":`ne-${Td(c)}-input-label`,htmlFor:s},c),O&&t.createElement("p",{className:Uc("ne-input__max-length",{"ne-input__max-length--error":T})},D,"/",y)),t.createElement("div",{className:Uc("ne-input",{"ne-input--naked":!!g,"ne-input--error":!!p,"ne-input--disabled":!!h,"ne-input--small":"small"===a,"ne-input--medium":"medium"===a,"ne-input--large":"large"===a})},d&&t.createElement("div",{className:"ne-input__prefix"},d),t.createElement("input",S({ref:n,id:s,type:l,disabled:h,size:b,required:v,"aria-invalid":!!p,"aria-describedby":Uc({[M]:!!p,[C]:m}),"data-cy":"input-field"},x,{value:E,onChange:_})),u&&t.createElement("div",{className:"ne-input__suffix"},u)),!!p&&t.createElement("p",{"data-cy":`ne-${Td(c)}-input-error`,className:"ne-input__error",id:M},p),m&&t.createElement("p",{className:"ne-input__help-text",id:C,"data-cy":`ne-${Td(c)}-input-help`},m))}));Gg.propTypes={id:Ff.exports.string,size:Ff.exports.oneOf(Object.values(Ng)),type:Ff.exports.string,maxLength:Ff.exports.number,label:Ff.exports.string,error:Ff.exports.string,suffix:Ff.exports.node,prefix:Ff.exports.node,disabled:Ff.exports.bool,helpText:Ff.exports.string,className:Ff.exports.string,nakedInput:Ff.exports.bool,contentSize:Ff.exports.number,required:Ff.exports.bool},Gg.displayName="Input";const Jg=e=>{let{url:n,editor:i,onClose:r,alt:s}=e;const[a,l]=o(s||""),[c,p]=o(!1),u=()=>{i.chain().focus().setImage({src:n,alt:a}).run(),r()};return t.createElement("div",{className:"neeto-editor-image-editor",onKeyDown:e=>{"Enter"===e.key&&u()}},c?t.createElement("div",{className:"neeto-editor-image-editor__error"},t.createElement("h2",null,"Something Went Wrong!"),t.createElement("p",null,"The selected image cannot be displayed. Please try again using another image.")):t.createElement(t.Fragment,null,t.createElement("figure",null,t.createElement("img",{src:n,loading:"lazy",onError:e=>{let{currentTarget:t}=e;p(!0),t.onerror=null}})),t.createElement(Gg,{autoFocus:!0,value:a,onChange:e=>l(e.target.value),placeholder:"Brand Image",label:"Caption"})),t.createElement("div",{className:"neeto-editor-image-editor__footer"},t.createElement(Vg,{label:"Proceed",disabled:c,onClick:u}),t.createElement(Vg,{label:"Cancel",style:"text",onClick:r})))},Zg=e=>{let{editor:n,isOpen:i,onClose:o}=e;const r=n&&n.view.state.selection.node;return t.createElement(Yg,{isOpen:i,onClose:o},t.createElement("div",{className:"neeto-editor-image-uploader"},t.createElement("div",{className:"neeto-editor-image-uploader__content"},t.createElement(Jg,{editor:n,onClose:o,url:null==r?void 0:r.attrs.src,alt:null==r?void 0:r.attrs.alt}))))},Xg=e=>{let{editor:t,isImageEditorModalOpen:n,setIsImageEditorModalOpen:i}=e;return[{Icon:ef,command:()=>t.chain().focus().setImageAttributes({float:"left",align:"none"}).run(),active:t.isActive("image",{float:"left",align:"none"}),optionName:"Float Left"},{Icon:Lm,command:()=>t.chain().focus().setImageAttributes({float:"none",align:"center"}).run(),active:t.isActive("image",{float:"none",align:"center"}),optionName:"Align Center"},{Icon:bf,command:()=>t.chain().focus().setImageAttributes({float:"right",align:"none"}).run(),active:t.isActive("image",{float:"right",align:"center"}),optionName:"Float Right"},{Icon:qm,command:()=>i(!0),active:n,optionName:"Caption"},{Icon:Fm,command:()=>t.commands.deleteSelection(),active:!1,optionName:"Remove"}]},eb=e=>{let{Icon:n,command:i,active:o,optionName:r}=e;return t.createElement(qg,{content:Od(r),position:"top",delay:[500]},t.createElement("div",{className:Uc("neeto-editor-bubble-menu__item",{active:o}),onClick:i,"data-cy":`neeto-editor-bubble-menu-${r}-option`},t.createElement(n,{size:20})))},tb=e=>{let{editor:n,isImageEditorModalOpen:i,setIsImageEditorModalOpen:o}=e;return Xg({editor:n,isImageEditorModalOpen:i,setIsImageEditorModalOpen:o}).map((e=>t.createElement(eb,S({key:e.optionName},e))))},nb=/[(http(s)?)://(www.)?a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/,ib=/^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/,ob=/((?:http|https):\/\/)?(www\.|player\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|(?:manage\/)?videos?\/|)(\d+)(?:(?:\/|\?h=)(\w+))?(?:|\/\?)/,rb=/((?:http|https):\/\/)?(www\.)?loom\.com\/(share|embed)\/((?:\w|\d)*)\/?(?:\?(?:t=)?(\d+)?)?/,sb=e=>{let{editor:n,handleClose:i,handleAnimateInvalidLink:s}=e;const[a,l]=o("");r((()=>{l(n.getAttributes("link").href||"")}),[]);const c=()=>{nb.test(a)?(n.chain().focus().setLink({href:a}).run(),i()):Sd(a)?(n.chain().focus().unsetLink().run(),i()):(l(""),s())};return t.createElement("div",{onKeyDown:e=>{"Escape"===e.key?i():"Enter"===e.key&&c()},className:"neeto-editor-bubble-menu__link"},t.createElement("input",{autoFocus:!0,name:"url",value:a,placeholder:"Paste or type a link...",onChange:e=>{let{target:{value:t}}=e;return l(t)},className:"neeto-editor-bubble-menu-link__input","data-cy":"neeto-editor-link-input"}),t.createElement(Vg,{style:"icon",icon:Fm,onClick:()=>{a?(l(""),n.chain().focus().unsetLink().run()):i()},"data-cy":"neeto-editor-link-cancel-button"}))},ab=e=>{let{editor:n,options:i,setIsInvalidLink:r,isLinkOptionActive:s,setIsLinkOptionActive:a}=e;const[l,c]=o(!1),p=(e=>{let{editor:t,setIsLinkOptionActive:n}=e;return[{Icon:wf,command:()=>t.chain().focus().toggleBold().run(),active:t.isActive("bold"),optionName:"bold"},{Icon:Tf,command:()=>t.chain().focus().toggleItalic().run(),active:t.isActive("italic"),optionName:"italic"},{Icon:zf,command:()=>t.chain().focus().toggleUnderline().run(),active:t.isActive("underline"),optionName:"underline"},{Icon:Ef,command:()=>t.chain().focus().toggleStrike().run(),active:t.isActive("strike"),optionName:"strike"},{Icon:nf,command:()=>n(!0),active:t.isActive("link"),optionName:"link"},{Icon:Bm,command:()=>t.chain().focus().toggleCode().run(),active:t.isActive("code"),optionName:"code-block"},{Icon:Ym,command:()=>t.chain().focus().toggleHighlight().run(),active:t.isActive("highlight"),optionName:"highlight"}]})({editor:n,setIsLinkOptionActive:a}).filter((e=>{let{optionName:t}=e;return i.includes(t)})),u=(e=>{let{editor:t}=e;return[{optionName:"Heading 1",active:t.isActive("heading",{level:1}),command:()=>t.chain().focus().setNode("heading",{level:1}).run()},{optionName:"Heading 2",active:t.isActive("heading",{level:2}),command:()=>t.chain().focus().setNode("heading",{level:2}).run()},{optionName:"Heading 3",active:t.isActive("heading",{level:3}),command:()=>t.chain().focus().setNode("heading",{level:3}).run()},{optionName:"Ordered List",active:t.isActive("orderedList"),command:()=>t.chain().focus().toggleOrderedList().run()},{optionName:"Bulleted List",active:t.isActive("bulletList"),command:()=>t.chain().focus().toggleBulletList().run()},{optionName:"Paragraph",active:t.isActive("paragraph"),command:()=>t.chain().focus().setNode("paragraph").run()}]})({editor:n}),d=(e=>{var t;return(null===(t=e.find((e=>e.active)))||void 0===t?void 0:t.optionName)||"Paragraph"})(u),h=()=>{r(!0),setTimeout((()=>{r(!1)}),1e3)},m=()=>c(!1);return s?t.createElement(sb,{editor:n,handleClose:()=>a(!1),handleAnimateInvalidLink:h}):t.createElement(t.Fragment,null,t.createElement(Hg,{arrow:!1,interactive:!0,placement:"bottom",visible:l,onClickOutside:m,content:t.createElement("div",{className:"neeto-editor-bubble-menu__dropdown"},u.map((e=>{let{optionName:n,command:i}=e;return t.createElement("button",{type:"button",key:n,onClick:()=>{i(),m()},className:"neeto-editor-bubble-menu__item neeto-editor-bubble-menu__dropdown-item"},n)})))},t.createElement("button",{type:"button",onClick:()=>c((e=>!e)),className:"neeto-editor-bubble-menu__item neeto-editor-bubble-menu__dropdown-target"},d,t.createElement($m,{size:14}))),p.map((e=>t.createElement(eb,S({},e,{key:e.optionName})))))},lb=e=>{let{editor:n,options:i}=e;const[r,s]=o(!1),[a,l]=o(!1),[c,p]=o(!1),u=n&&n.view.state.selection.node,d=u&&"image"===u.type.name,h=[Bd.BOLD,Bd.ITALIC,Bd.UNDERLINE,Bd.STRIKETHROUGH,Bd.LINK],m=Sd(i.filter((e=>h.includes(e))));return!n||!d&&m?null:t.createElement("div",null,t.createElement(Ec,{editor:n,tippyOptions:{arrow:Ml,zIndex:99999,onHide:()=>l(!1),theme:"neeto-editor-bubble-menu",maxWidth:384},className:Uc("neeto-editor-bubble-menu",{"neeto-editor-bubble-menu-animate-shake":r})},d?t.createElement(tb,{editor:n,isImageEditorModalOpen:c,setIsImageEditorModalOpen:p}):t.createElement(ab,{editor:n,options:i,setIsInvalidLink:s,isLinkOptionActive:a,setIsLinkOptionActive:l})),t.createElement(Zg,{editor:n,isOpen:c,onClose:()=>p(!1)}))},cb=e=>{let{count:n,limit:i,strategy:o}=e;const r="limit"===o&&i;return t.createElement("p",{className:"neeto-editor-character-count","data-cy":"neeto-editor-character-count"},r?`${i-n} characters remaining`:`${n} characters`)},pb=()=>document.documentElement.style.setProperty("--focus-background-color","rgba(234, 243, 252, 0.5)"),ub=()=>document.documentElement.style.setProperty("--focus-background-color","transparent"),db={onMouseEnter:pb,onMouseLeave:ub},hb=e=>{let{icon:n,iconActive:i=!0,tooltipProps:o,highlight:r=!1,...s}=e;return t.createElement(qg,o,t.createElement("button",S({className:Uc("neeto-editor-fixed-menu__item",{active:i}),type:"button"},function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?db:{}}(r),s),t.createElement(n,{color:i?kg:Eg,size:wg})))};hb.propTypes={icon:Ff.exports.oneOfType([Ff.exports.element,Ff.exports.func]),iconActive:Ff.exports.bool,onClick:Ff.exports.func,tooltipProps:Ff.exports.object};const mb=e=>{let{children:n,className:i,...o}=e;return t.createElement("ul",S({className:Uc("ne-dropdown__popup-menu",i)},o),n)};mb.propTypes={className:Ff.exports.string,children:Ff.exports.node};const fb=e=>{let{children:n,className:i,...o}=e;return t.createElement("li",S({className:Uc("ne-dropdown__popup-menu-item",i)},o),n)};fb.propTypes={className:Ff.exports.string,children:Ff.exports.node,isActive:Ff.exports.bool};const gb=e=>{let n,i,{children:o,className:r,isActive:s,style:a,prefix:l,suffix:c,type:p=Og.button,href:u="",...d}=e;return u?(n="a",i={href:u}):(n="button",i={type:p}),t.createElement(fb,null,t.createElement(n,S({className:Uc("ne-dropdown__popup-menu-item-btn",r,{"ne-dropdown__popup-menu-item-btn":s,"ne-dropdown__popup-menu-item-btn--style-danger":a===Dg})},d,i),l&&t.createElement("div",{className:"ne-dropdown__popup-menu-item-btn__prefix"},l),o,c&&t.createElement("div",{className:"ne-dropdown__popup-menu-item-btn__suffix"},c)))};gb.propTypes={className:Ff.exports.string,children:Ff.exports.node,isActive:Ff.exports.bool,to:Ff.exports.string,href:Ff.exports.string,suffix:Ff.exports.node,prefix:Ff.exports.node,type:Ff.exports.oneOf(Object.values(Og))},fb.Button=gb;const bb={primary:"primary",secondary:"secondary",danger:"danger",danger_text:"danger-text",text:"text",link:"link"},vb={small:"small",medium:"medium",large:"large"},yb={absolute:"absolute",fixed:"fixed"},xb={auto:"auto",autoStart:"auto-start",autoEnd:"auto-end",top:"top",topStart:"top-start",topEnd:"top-end",bottom:"bottom",bottomStart:"bottom-start",bottomEnd:"bottom-end",right:"right",rightStart:"right-start",rightEnd:"right-end",left:"left",leftStart:"left-start",leftEnd:"left-end"},wb={click:"click",hover:"mouseenter focus"},kb={name:"hideOnEsc",defaultValue:!0,fn(e){let{hide:t,props:{hideOnEsc:n,onClose:i}}=e;function o(e){"escape"===e.key.toLowerCase()&&n&&(null==i||i(),t())}return{onShow(){document.addEventListener("keydown",o)},onHide(){document.removeEventListener("keydown",o)}}}},Eb=t.forwardRef(((e,n)=>{let{icon:i,label:r,isOpen:s,onClose:a=(()=>{}),dropdownProps:l={},position:c=xb.bottomEnd,children:p,className:u,buttonStyle:d=bb.primary,buttonSize:h=vb.medium,buttonProps:{style:m,size:f,...g}={},customTarget:b,disabled:v=!1,closeOnEsc:y=!0,closeOnSelect:x=!0,closeOnOutsideClick:w=!0,dropdownModifiers:k=[],trigger:E=wb.click,strategy:_=yb.absolute,onClick:M,...C}=e;const[D,O]=o(null),[T,N]=o(!1),A=!(null==s),j=A?{visible:s,onClickOutside:a}:{onClickOutside:()=>(a(),w)},{classNames:I,...z}=l,L=!A&&(w||"toggle");return t.createElement(Hg,S({ref:n,role:"dropdown",trigger:wb[E],plugins:[kb],hideOnEsc:y,hideOnClick:L,interactive:!0,placement:c||xb.bottomEnd,arrow:!1,offset:0,animation:!1,theme:"light",className:Uc("ne-dropdown",{[u]:u}),duration:0,onCreate:e=>e&&O(e),popperOptions:{strategy:_,modifiers:k},maxWidth:"none",onMount:()=>{N(!0)},onHidden:()=>{N(!1)},content:T?t.createElement("div",S({className:Uc("ne-dropdown__popup",{[I]:I}),onClick:x?()=>{D.hide(),a()}:()=>{}},z),p):null},C,j),b?t.createElement("span",{onClick:M},"function"==typeof b?b():b):t.createElement(Vg,S({label:r,style:null!=m?m:d,size:null!=f?f:h,icon:i||$m,iconPosition:"right",disabled:v||(null==g?void 0:g.disabled),onClick:M},g)))}));function _b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Eb.Menu=mb,Eb.MenuItem=fb,Eb.Divider=e=>t.createElement("li",S({className:"ne-dropdown__popup-divider"},e)),Eb.displayName="Dropdown";var Mb,Cb={exports:{}},Db={exports:{}},Ob=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}},Tb=Ob,Nb=Object.prototype.toString,Sb=(Mb=Object.create(null),function(e){var t=Nb.call(e);return Mb[t]||(Mb[t]=t.slice(8,-1).toLowerCase())});function Ab(e){return e=e.toLowerCase(),function(t){return Sb(t)===e}}function jb(e){return Array.isArray(e)}function Ib(e){return void 0===e}var zb=Ab("ArrayBuffer");function Lb(e){return null!==e&&"object"==typeof e}function Rb(e){if("object"!==Sb(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var Fb=Ab("Date"),Pb=Ab("File"),Bb=Ab("Blob"),Ub=Ab("FileList");function $b(e){return"[object Function]"===Nb.call(e)}var Hb=Ab("URLSearchParams");function qb(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),jb(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var Vb,Wb=(Vb="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return Vb&&e instanceof Vb}),Kb={isArray:jb,isArrayBuffer:zb,isBuffer:function(e){return null!==e&&!Ib(e)&&null!==e.constructor&&!Ib(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||Nb.call(e)===t||$b(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&zb(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Lb,isPlainObject:Rb,isUndefined:Ib,isDate:Fb,isFile:Pb,isBlob:Bb,isFunction:$b,isStream:function(e){return Lb(e)&&$b(e.pipe)},isURLSearchParams:Hb,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:qb,merge:function e(){var t={};function n(n,i){Rb(t[i])&&Rb(n)?t[i]=e(t[i],n):Rb(n)?t[i]=e({},n):jb(n)?t[i]=n.slice():t[i]=n}for(var i=0,o=arguments.length;i<o;i++)qb(arguments[i],n);return t},extend:function(e,t,n){return qb(t,(function(t,i){e[i]=n&&"function"==typeof t?Tb(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,i){e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var i,o,r,s={};t=t||{};do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s[r=i[o]]||(t[r]=e[r],s[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Sb,kindOfTest:Ab,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n},toArray:function(e){if(!e)return null;var t=e.length;if(Ib(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:Wb,isFileList:Ub},Yb=Kb;function Qb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Gb=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(Yb.isURLSearchParams(t))i=t.toString();else{var o=[];Yb.forEach(t,(function(e,t){null!=e&&(Yb.isArray(e)?t+="[]":e=[e],Yb.forEach(e,(function(e){Yb.isDate(e)?e=e.toISOString():Yb.isObject(e)&&(e=JSON.stringify(e)),o.push(Qb(t)+"="+Qb(e))})))})),i=o.join("&")}if(i){var r=e.indexOf("#");-1!==r&&(e=e.slice(0,r)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e},Jb=Kb;function Zb(){this.handlers=[]}Zb.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},Zb.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Zb.prototype.forEach=function(e){Jb.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var Xb,ev,tv=Zb,nv=Kb;function iv(){if(ev)return Xb;ev=1;var e=Kb;function t(e,t,n,i,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o)}e.inherits(t,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var n=t.prototype,i={};return["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){i[e]={value:e}})),Object.defineProperties(t,i),Object.defineProperty(n,"isAxiosError",{value:!0}),t.from=function(i,o,r,s,a,l){var c=Object.create(n);return e.toFlatObject(i,c,(function(e){return e!==Error.prototype})),t.call(c,i.message,o,r,s,a),c.name=i.name,l&&Object.assign(c,l),c},Xb=t}var ov,rv,sv,av,lv,cv,pv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};function uv(){if(rv)return ov;rv=1;var e=Kb;return ov=function(t,n){n=n||new FormData;var i=[];function o(t){return null===t?"":e.isDate(t)?t.toISOString():e.isArrayBuffer(t)||e.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}return function t(r,s){if(e.isPlainObject(r)||e.isArray(r)){if(-1!==i.indexOf(r))throw Error("Circular reference detected in "+s);i.push(r),e.forEach(r,(function(i,r){if(!e.isUndefined(i)){var a,l=s?s+"."+r:r;if(i&&!s&&"object"==typeof i)if(e.endsWith(r,"{}"))i=JSON.stringify(i);else if(e.endsWith(r,"[]")&&(a=e.toArray(i)))return void a.forEach((function(t){!e.isUndefined(t)&&n.append(l,o(t))}));t(i,l)}})),i.pop()}else n.append(s,o(r))}(t),n},ov}function dv(){if(av)return sv;av=1;var e=iv();return sv=function(t,n,i){var o=i.config.validateStatus;i.status&&o&&!o(i.status)?n(new e("Request failed with status code "+i.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):t(i)}}function hv(){if(cv)return lv;cv=1;var e=Kb;return lv=e.isStandardBrowserEnv()?{write:function(t,n,i,o,r,s){var a=[];a.push(t+"="+encodeURIComponent(n)),e.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),e.isString(o)&&a.push("path="+o),e.isString(r)&&a.push("domain="+r),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},lv}var mv,fv,gv,bv,vv,yv,xv,wv,kv,Ev,_v=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},Mv=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},Cv=function(e,t){return e&&!_v(t)?Mv(e,t):t};function Dv(){if(fv)return mv;fv=1;var e=Kb,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return mv=function(n){var i,o,r,s={};return n?(e.forEach(n.split("\n"),(function(n){if(r=n.indexOf(":"),i=e.trim(n.substr(0,r)).toLowerCase(),o=e.trim(n.substr(r+1)),i){if(s[i]&&t.indexOf(i)>=0)return;s[i]="set-cookie"===i?(s[i]?s[i]:[]).concat([o]):s[i]?s[i]+", "+o:o}})),s):s},mv}function Ov(){if(bv)return gv;bv=1;var e=Kb;return gv=e.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function o(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=o(window.location.href),function(n){var i=e.isString(n)?o(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return!0}}function Tv(){if(yv)return vv;yv=1;var e=iv();function t(t){e.call(this,null==t?"canceled":t,e.ERR_CANCELED),this.name="CanceledError"}return Kb.inherits(t,e,{__CANCEL__:!0}),vv=t}function Nv(){return wv||(wv=1,xv=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}),xv}var Sv,Av,jv,Iv,zv,Lv={exports:{}},Rv={exports:{}},Fv={exports:{}};function Pv(){if(Av)return Sv;Av=1;var e=1e3,t=60*e,n=60*t,i=24*n,o=7*i,r=365.25*i;function s(e,t,n,i){var o=t>=1.5*n;return Math.round(e/n)+" "+i+(o?"s":"")}return Sv=function(a,l){l=l||{};var c=typeof a;if("string"===c&&a.length>0)return function(s){if((s=String(s)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(!a)return;var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*r;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*t;case"seconds":case"second":case"secs":case"sec":case"s":return l*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(a);if("number"===c&&isFinite(a))return l.long?function(o){var r=Math.abs(o);if(r>=i)return s(o,r,i,"day");if(r>=n)return s(o,r,n,"hour");if(r>=t)return s(o,r,t,"minute");if(r>=e)return s(o,r,e,"second");return o+" ms"}(a):function(o){var r=Math.abs(o);if(r>=i)return Math.round(o/i)+"d";if(r>=n)return Math.round(o/n)+"h";if(r>=t)return Math.round(o/t)+"m";if(r>=e)return Math.round(o/e)+"s";return o+"ms"}(a);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(a))},Sv}function Bv(){if(Iv)return jv;return Iv=1,jv=function(e){function t(e){let i,o,r,s=null;function a(...e){if(!a.enabled)return;const n=a,o=Number(new Date),r=o-(i||o);n.diff=r,n.prev=i,n.curr=o,i=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,o)=>{if("%%"===i)return"%";s++;const r=t.formatters[o];if("function"==typeof r){const t=e[s];i=r.call(n,t),e.splice(s,1),s--}return i})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==t.namespaces&&(o=t.namespaces,r=t.enabled(e)),r),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const i=("string"==typeof e?e:"").split(/[\s,]+/),o=i.length;for(n=0;n<o;n++)i[n]&&("-"===(e=i[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,i;for(n=0,i=t.skips.length;n<i;n++)if(t.skips[n].test(e))return!1;for(n=0,i=t.names.length;n<i;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=Pv(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},jv}var Uv,$v,Hv,qv,Vv,Wv,Kv,Yv,Qv,Gv,Jv,Zv,Xv,ey={exports:{}};function ty(){return $v?Uv:($v=1,Uv=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),o=t.indexOf("--");return-1!==i&&(-1===o||i<o)})}function ny(){return Vv||(Vv=1,function(e,t){const n=w,i=k;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let i=0;i<n.length;i++)e.inspectOpts[n[i]]=t.inspectOpts[n[i]]},t.log=function(...e){return process.stderr.write(i.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:i,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),r=` ${o};1m${i} [0m`;n[0]=r+n[0].split("\n").join("\n"+r),n.push(o+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+i+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=function(){if(qv)return Hv;qv=1;const e=E,t=w,n=ty(),{env:i}=process;let o;function r(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function s(t,r){if(0===o)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!r&&void 0===o)return 0;const s=o||0;if("dumb"===i.TERM)return s;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||"codeship"===i.CI_NAME?1:s;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:s}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?o=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(o=1),"FORCE_COLOR"in i&&(o="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),Hv={supportsColor:function(e){return r(s(e,e&&e.isTTY))},stdout:r(s(!0,t.isatty(1))),stderr:r(s(!0,t.isatty(2)))}}();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e}),{}),e.exports=Bv()(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}(ey,ey.exports)),ey.exports}function iy(){return Wv||(Wv=1,function(e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=(zv||(zv=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(o=i))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=Bv()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(Fv,Fv.exports)),Fv.exports):e.exports=ny()}(Rv)),Rv.exports}function oy(){if(Qv)return Lv.exports;Qv=1;var e=v,t=e.URL,n=g,i=b,o=y.Writable,r=x,s=function(){return Yv||(Yv=1,Kv=function(){if(!e){try{e=iy()("follow-redirects")}catch(e){}"function"!=typeof e&&(e=function(){})}e.apply(null,arguments)}),Kv;var e}(),a=["abort","aborted","connect","error","socket","timeout"],l=Object.create(null);a.forEach((function(e){l[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}}));var c=_("ERR_INVALID_URL","Invalid URL",TypeError),p=_("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),u=_("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),d=_("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=_("ERR_STREAM_WRITE_AFTER_END","write after end");function m(e,t){o.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){n._processResponse(e)},this._performRequest()}function f(n){var i={maxRedirects:21,maxBodyLength:10*1024*1024},o={};return Object.keys(n).forEach((function(a){var l=a+":",p=o[l]=n[a],u=i[a]=Object.create(p);Object.defineProperties(u,{request:{value:function(n,a,p){if(C(n)){var u;try{u=k(new t(n))}catch(t){u=e.parse(n)}if(!C(u.protocol))throw new c({input:n});n=u}else t&&n instanceof t?n=k(n):(p=a,a=n,n={protocol:l});return D(a)&&(p=a,a=null),(a=Object.assign({maxRedirects:i.maxRedirects,maxBodyLength:i.maxBodyLength},n,a)).nativeProtocols=o,C(a.host)||C(a.hostname)||(a.hostname="::1"),r.equal(a.protocol,l,"protocol mismatch"),s("options",a),new m(a,p)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=u.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})})),i}function w(){}function k(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return""!==e.port&&(t.port=Number(e.port)),t}function E(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function _(e,t,n){function i(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),i.prototype.constructor=i,i.prototype.name="Error ["+e+"]",i}function M(e){for(var t of a)e.removeListener(t,l[t]);e.on("error",w),e.abort()}function C(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}return m.prototype=Object.create(o.prototype),m.prototype.abort=function(){M(this._currentRequest),this.emit("abort")},m.prototype.write=function(e,t,n){if(this._ending)throw new h;if(!C(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;D(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new d),this.abort()):n&&n()},m.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var i=this,o=this._currentRequest;this.write(e,t,(function(){i._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},m.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},m.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},m.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),i(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){m.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(m.prototype,e,{get:function(){return this._currentRequest[e]}})})),m.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},m.prototype._performRequest=function(){var t=this._options.protocol,n=this._options.nativeProtocols[t];if(n){if(this._options.agents){var i=t.slice(0,-1);this._options.agent=this._options.agents[i]}var o=this._currentRequest=n.request(this._options,this._onNativeResponse);for(var r of(o._redirectable=this,a))o.on(r,l[r]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var s=0,c=this,p=this._requestBodyBuffers;!function e(t){if(o===c._currentRequest)if(t)c.emit("error",t);else if(s<p.length){var n=p[s++];o.finished||o.write(n.data,n.encoding,e)}else c._ended&&o.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},m.prototype._processResponse=function(t){var n=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:n});var i=t.headers.location;if(!i||!1===this._options.followRedirects||n<300||n>=400)return t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),void(this._requestBodyBuffers=[]);if(M(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new u);else{var o,a=this._options.beforeRedirect;a&&(o=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var l=this._options.method;((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var c,d=E(/^host$/i,this._options.headers),h=e.parse(this._currentUrl),m=d||h.host,f=/^\w+:/.test(i)?this._currentUrl:e.format(Object.assign(h,{host:m}));try{c=e.resolve(f,i)}catch(e){return void this.emit("error",new p({cause:e}))}s("redirecting to",c),this._isRedirect=!0;var g=e.parse(c);if(Object.assign(this._options,g),(g.protocol!==h.protocol&&"https:"!==g.protocol||g.host!==m&&!function(e,t){r(C(e)&&C(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(g.host,m))&&E(/^(?:authorization|cookie)$/i,this._options.headers),D(a)){var b={headers:t.headers,statusCode:n},v={url:f,method:l,headers:o};try{a(this._options,b,v)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){this.emit("error",new p({cause:e}))}}},Lv.exports=f({http:n,https:i}),Lv.exports.wrap=f,Lv.exports}function ry(){return Jv?Gv:(Jv=1,Gv={version:"0.27.2"})}function sy(){if(Xv)return Zv;Xv=1;var e=Kb,t=dv(),n=Cv,i=Gb,o=g,r=b,s=oy().http,a=oy().https,l=v,c=_,p=ry().version,u=pv,d=iv(),h=Tv(),m=/https:?/,f=["http:","https:","file:"];function y(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var i=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(e){e.headers.host=e.host,y(e,t,e.href)}}return Zv=function(g){return new Promise((function(b,v){var x;function w(){g.cancelToken&&g.cancelToken.unsubscribe(x),g.signal&&g.signal.removeEventListener("abort",x)}var k=function(e){w(),b(e)},E=!1,_=function(e){w(),E=!0,v(e)},M=g.data,C=g.headers,D={};if(Object.keys(C).forEach((function(e){D[e.toLowerCase()]=e})),"user-agent"in D?C[D["user-agent"]]||delete C[D["user-agent"]]:C["User-Agent"]="axios/"+p,e.isFormData(M)&&e.isFunction(M.getHeaders))Object.assign(C,M.getHeaders());else if(M&&!e.isStream(M)){if(Buffer.isBuffer(M));else if(e.isArrayBuffer(M))M=Buffer.from(new Uint8Array(M));else{if(!e.isString(M))return _(new d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",d.ERR_BAD_REQUEST,g));M=Buffer.from(M,"utf-8")}if(g.maxBodyLength>-1&&M.length>g.maxBodyLength)return _(new d("Request body larger than maxBodyLength limit",d.ERR_BAD_REQUEST,g));D["content-length"]||(C["Content-Length"]=M.length)}var O=void 0;g.auth&&(O=(g.auth.username||"")+":"+(g.auth.password||""));var T=n(g.baseURL,g.url),N=l.parse(T),S=N.protocol||f[0];if(-1===f.indexOf(S))return _(new d("Unsupported protocol "+S,d.ERR_BAD_REQUEST,g));if(!O&&N.auth){var A=N.auth.split(":");O=(A[0]||"")+":"+(A[1]||"")}O&&D.authorization&&delete C[D.authorization];var j=m.test(S),I=j?g.httpsAgent:g.httpAgent;try{i(N.path,g.params,g.paramsSerializer).replace(/^\?/,"")}catch(e){var z=new Error(e.message);z.config=g,z.url=g.url,z.exists=!0,_(z)}var L={path:i(N.path,g.params,g.paramsSerializer).replace(/^\?/,""),method:g.method.toUpperCase(),headers:C,agent:I,agents:{http:g.httpAgent,https:g.httpsAgent},auth:O};g.socketPath?L.socketPath=g.socketPath:(L.hostname=N.hostname,L.port=N.port);var R,F=g.proxy;if(!F&&!1!==F){var P=S.slice(0,-1)+"_proxy",B=process.env[P]||process.env[P.toUpperCase()];if(B){var U=l.parse(B),$=process.env.no_proxy||process.env.NO_PROXY,H=!0;if($){var q=$.split(",").map((function(e){return e.trim()}));H=!q.some((function(e){return!!e&&("*"===e||("."===e[0]&&N.hostname.substr(N.hostname.length-e.length)===e||N.hostname===e))}))}if(H&&(F={host:U.hostname,port:U.port,protocol:U.protocol},U.auth)){var V=U.auth.split(":");F.auth={username:V[0],password:V[1]}}}}F&&(L.headers.host=N.hostname+(N.port?":"+N.port:""),y(L,F,S+"//"+N.hostname+(N.port?":"+N.port:"")+L.path));var W=j&&(!F||m.test(F.protocol));g.transport?R=g.transport:0===g.maxRedirects?R=W?r:o:(g.maxRedirects&&(L.maxRedirects=g.maxRedirects),g.beforeRedirect&&(L.beforeRedirect=g.beforeRedirect),R=W?a:s),g.maxBodyLength>-1&&(L.maxBodyLength=g.maxBodyLength),g.insecureHTTPParser&&(L.insecureHTTPParser=g.insecureHTTPParser);var K=R.request(L,(function(n){if(!K.aborted){var i=n,o=n.req||K;if(204!==n.statusCode&&"HEAD"!==o.method&&!1!==g.decompress)switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":i=i.pipe(c.createUnzip()),delete n.headers["content-encoding"]}var r={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:g,request:o};if("stream"===g.responseType)r.data=i,t(k,_,r);else{var s=[],a=0;i.on("data",(function(e){s.push(e),a+=e.length,g.maxContentLength>-1&&a>g.maxContentLength&&(E=!0,i.destroy(),_(new d("maxContentLength size of "+g.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,g,o)))})),i.on("aborted",(function(){E||(i.destroy(),_(new d("maxContentLength size of "+g.maxContentLength+" exceeded",d.ERR_BAD_RESPONSE,g,o)))})),i.on("error",(function(e){K.aborted||_(d.from(e,null,g,o))})),i.on("end",(function(){try{var n=1===s.length?s[0]:Buffer.concat(s);"arraybuffer"!==g.responseType&&(n=n.toString(g.responseEncoding),g.responseEncoding&&"utf8"!==g.responseEncoding||(n=e.stripBOM(n))),r.data=n}catch(e){_(d.from(e,null,g,r.request,r))}t(k,_,r)}))}}}));if(K.on("error",(function(e){_(d.from(e,null,g,K))})),K.on("socket",(function(e){e.setKeepAlive(!0,1e3*60)})),g.timeout){var Y=parseInt(g.timeout,10);if(isNaN(Y))return void _(new d("error trying to parse `config.timeout` to int",d.ERR_BAD_OPTION_VALUE,g,K));K.setTimeout(Y,(function(){K.abort();var e=g.transitional||u;_(new d("timeout of "+Y+"ms exceeded",e.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,g,K))}))}(g.cancelToken||g.signal)&&(x=function(e){K.aborted||(K.abort(),_(!e||e&&e.type?new h:e))},g.cancelToken&&g.cancelToken.subscribe(x),g.signal&&(g.signal.aborted?x():g.signal.addEventListener("abort",x))),e.isStream(M)?M.on("error",(function(e){_(d.from(e,g,null,K))})).pipe(K):K.end(M)}))},Zv}var ay,ly,cy,py,uy={exports:{}};function dy(){if(py)return cy;py=1;var e=k,t=y.Stream,n=function(){if(ly)return ay;ly=1;var e=y.Stream;function t(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}return ay=t,k.inherits(t,e),t.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(t.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),t.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},t.prototype.resume=function(){this._released||this.release(),this.source.resume()},t.prototype.pause=function(){this.source.pause()},t.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},t.prototype.pipe=function(){var t=e.prototype.pipe.apply(this,arguments);return this.resume(),t},t.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},t.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},ay}();function i(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}return cy=i,e.inherits(i,t),i.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},i.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},i.prototype.append=function(e){if(i.isStreamLike(e)){if(!(e instanceof n)){var t=n.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},i.prototype.pipe=function(e,n){return t.prototype.pipe.call(this,e,n),this.resume(),e},i.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},i.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){i.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},i.prototype._pipeNext=function(e){if(this._currentStream=e,i.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},i.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},i.prototype.write=function(e){this.emit("data",e)},i.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},i.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},i.prototype.end=function(){this._reset(),this.emit("end")},i.prototype.destroy=function(){this._reset(),this.emit("close")},i.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},i.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},i.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},i.prototype._emitError=function(e){this._reset(),this.emit("error",e)},cy}var hy,my,fy,gy,by,vy,yy,xy,wy,ky,Ey,_y,My,Cy,Dy,Oy,Ty={},Ny={exports:{}},Sy={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};function Ay(){return my||(my=1,function(e){var t=hy?Ny.exports:(hy=1,Ny.exports=Sy),n=M.extname,i=/^\s*([^;\s]*)(?:;|\s|$)/,o=/^text\//i;function r(e){if(!e||"string"!=typeof e)return!1;var n=i.exec(e),r=n&&t[n[1].toLowerCase()];return r&&r.charset?r.charset:!(!n||!o.test(n[1]))&&"UTF-8"}e.charset=r,e.charsets={lookup:r},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var i=e.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=i.exec(t),o=n&&e.extensions[n[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var i=n("x."+t).toLowerCase().substr(1);if(!i)return!1;return e.types[i]||!1},e.types=Object.create(null),function(e,n){var i=["nginx","apache",void 0,"iana"];Object.keys(t).forEach((function(o){var r=t[o],s=r.extensions;if(s&&s.length){e[o]=s;for(var a=0;a<s.length;a++){var l=s[a];if(n[l]){var c=i.indexOf(t[n[l]].source),p=i.indexOf(r.source);if("application/octet-stream"!==n[l]&&(c>p||c===p&&"application/"===n[l].substr(0,12)))continue}n[l]=o}}}))}(e.extensions,e.types)}(Ty)),Ty}function jy(){if(vy)return by;vy=1;var e=gy?fy:(gy=1,fy=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)});return by=function(t){var n=!1;return e((function(){n=!0})),function(i,o){n?t(i,o):e((function(){t(i,o)}))}}}function Iy(){if(xy)return yy;function e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}return xy=1,yy=function(t){Object.keys(t.jobs).forEach(e.bind(t)),t.jobs={}}}function zy(){if(ky)return wy;ky=1;var e=jy(),t=Iy();return wy=function(n,i,o,r){var s=o["keyedList"]?o["keyedList"][o.index]:o.index;o.jobs[s]=function(t,n,i,o){var r;r=2==t.length?t(i,e(o)):t(i,n,e(o));return r}(i,s,n[s],(function(e,n){s in o.jobs&&(delete o.jobs[s],e?t(o):o.results[s]=n,r(e,o.results))}))},wy}function Ly(){if(_y)return Ey;return _y=1,Ey=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])});return i},Ey}function Ry(){if(Cy)return My;Cy=1;var e=Iy(),t=jy();return My=function(n){if(!Object.keys(this.jobs).length)return;this.index=this.size,e(this),t(n)(null,this.results)}}function Fy(){if(Oy)return Dy;Oy=1;var e=zy(),t=Ly(),n=Ry();return Dy=function(i,o,r){var s=t(i);for(;s.index<(s["keyedList"]||i).length;)e(i,o,s,(function(e,t){e?r(e,t):0!==Object.keys(s.jobs).length||r(null,s.results)})),s.index++;return n.bind(s,r)},Dy}var Py,By,Uy,$y,Hy,qy,Vy,Wy,Ky,Yy,Qy={exports:{}};function Gy(){if(Py)return Qy.exports;Py=1;var e=zy(),t=Ly(),n=Ry();function i(e,t){return e<t?-1:e>t?1:0}return Qy.exports=function(i,o,r,s){var a=t(i,r);return e(i,o,a,(function t(n,r){n?s(n,r):(a.index++,a.index<(a["keyedList"]||i).length?e(i,o,a,t):s(null,a.results))})),n.bind(a,s)},Qy.exports.ascending=i,Qy.exports.descending=function(e,t){return-1*i(e,t)},Qy.exports}function Jy(){if(Uy)return By;Uy=1;var e=Gy();return By=function(t,n,i){return e(t,n,null,i)}}function Zy(){return Hy?$y:(Hy=1,$y={parallel:Fy(),serial:Jy(),serialOrdered:Gy()})}function Xy(){return Vy||(Vy=1,qy=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}),qy}var ex=Kb,tx=function(e,t){nv.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))},nx=iv(),ix=pv,ox=uv(),rx={"Content-Type":"application/x-www-form-urlencoded"};function sx(e,t){!ex.isUndefined(e)&&ex.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var ax,lx={transitional:ix,adapter:("undefined"!=typeof XMLHttpRequest?ax=function(){if(Ev)return kv;Ev=1;var e=Kb,t=dv(),n=hv(),i=Gb,o=Cv,r=Dv(),s=Ov(),a=pv,l=iv(),c=Tv(),p=Nv();return kv=function(u){return new Promise((function(d,h){var m,f=u.data,g=u.headers,b=u.responseType;function v(){u.cancelToken&&u.cancelToken.unsubscribe(m),u.signal&&u.signal.removeEventListener("abort",m)}e.isFormData(f)&&e.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(u.auth){var x=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";g.Authorization="Basic "+btoa(x+":"+w)}var k=o(u.baseURL,u.url);function E(){if(y){var e="getAllResponseHeaders"in y?r(y.getAllResponseHeaders()):null,n={data:b&&"text"!==b&&"json"!==b?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:e,config:u,request:y};t((function(e){d(e),v()}),(function(e){h(e),v()}),n),y=null}}if(y.open(u.method.toUpperCase(),i(k,u.params,u.paramsSerializer),!0),y.timeout=u.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(h(new l("Request aborted",l.ECONNABORTED,u,y)),y=null)},y.onerror=function(){h(new l("Network Error",l.ERR_NETWORK,u,y,y)),y=null},y.ontimeout=function(){var e=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",t=u.transitional||a;u.timeoutErrorMessage&&(e=u.timeoutErrorMessage),h(new l(e,t.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,u,y)),y=null},e.isStandardBrowserEnv()){var _=(u.withCredentials||s(k))&&u.xsrfCookieName?n.read(u.xsrfCookieName):void 0;_&&(g[u.xsrfHeaderName]=_)}"setRequestHeader"in y&&e.forEach(g,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),e.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),b&&"json"!==b&&(y.responseType=u.responseType),"function"==typeof u.onDownloadProgress&&y.addEventListener("progress",u.onDownloadProgress),"function"==typeof u.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(m=function(e){y&&(h(!e||e&&e.type?new c:e),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(m),u.signal&&(u.signal.aborted?m():u.signal.addEventListener("abort",m))),f||(f=null);var M=p(k);M&&-1===["http","https","file"].indexOf(M)?h(new l("Unsupported protocol "+M+":",l.ERR_BAD_REQUEST,u)):y.send(f)}))},kv}():"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(ax=sy()),ax),transformRequest:[function(e,t){if(tx(t,"Accept"),tx(t,"Content-Type"),ex.isFormData(e)||ex.isArrayBuffer(e)||ex.isBuffer(e)||ex.isStream(e)||ex.isFile(e)||ex.isBlob(e))return e;if(ex.isArrayBufferView(e))return e.buffer;if(ex.isURLSearchParams(e))return sx(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,i=ex.isObject(e),o=t&&t["Content-Type"];if((n=ex.isFileList(e))||i&&"multipart/form-data"===o){var r=this.env&&this.env.FormData;return ox(n?{"files[]":e}:e,r&&new r)}return i||"application/json"===o?(sx(t,"application/json"),function(e,t,n){if(ex.isString(e))try{return(t||JSON.parse)(e),ex.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||lx.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||i&&ex.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw nx.from(e,nx.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yy?uy.exports:(Yy=1,uy.exports=function(){if(Ky)return Wy;Ky=1;var e=dy(),t=k,n=M,i=g,o=b,r=v.parse,s=C,a=y.Stream,l=Ay(),c=Zy(),p=Xy();function u(t){if(!(this instanceof u))return new u(t);for(var n in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),t=t||{})this[n]=t[n]}return Wy=u,t.inherits(u,e),u.LINE_BREAK="\r\n",u.DEFAULT_CONTENT_TYPE="application/octet-stream",u.prototype.append=function(n,i,o){"string"==typeof(o=o||{})&&(o={filename:o});var r=e.prototype.append.bind(this);if("number"==typeof i&&(i=""+i),t.isArray(i))this._error(new Error("Arrays are not supported."));else{var s=this._multiPartHeader(n,i,o),a=this._multiPartFooter();r(s),r(i),r(a),this._trackLength(s,i,o)}},u.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+u.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof a)&&(n.knownLength||this._valuesToMeasure.push(t))},u.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):s.stat(e.path,(function(n,i){var o;n?t(n):(o=i.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},u.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,o=this._getContentDisposition(t,n),r=this._getContentType(t,n),s="",a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(r||[])};for(var l in"object"==typeof n.header&&p(a,n.header),a)a.hasOwnProperty(l)&&null!=(i=a[l])&&(Array.isArray(i)||(i=[i]),i.length&&(s+=l+": "+i.join("; ")+u.LINE_BREAK));return"--"+this.getBoundary()+u.LINE_BREAK+s+u.LINE_BREAK},u.prototype._getContentDisposition=function(e,t){var i,o;return"string"==typeof t.filepath?i=n.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?i=n.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(i=n.basename(e.client._httpMessage.path||"")),i&&(o='filename="'+i+'"'),o},u.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=l.lookup(e.name)),!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=l.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=u.DEFAULT_CONTENT_TYPE),n},u.prototype._multiPartFooter=function(){return function(e){var t=u.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},u.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+u.LINE_BREAK},u.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},u.prototype.setBoundary=function(e){this._boundary=e},u.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},u.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(u.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},u.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},u.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},u.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},u.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?c.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,i){n?e(n):(i.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},u.prototype.submit=function(e,t){var n,s,a={method:"post"};return"string"==typeof e?(e=r(e),s=p({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(s=p(e,a)).port||(s.port="https:"==s.protocol?443:80),s.headers=this.getHeaders(e.headers),n="https:"==s.protocol?o.request(s):i.request(s),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var o,r=function(e,i){return n.removeListener("error",r),n.removeListener("response",o),t.call(this,e,i)};o=r.bind(this,null),n.on("error",r),n.on("response",o)}}.bind(this)),n},u.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},u.prototype.toString=function(){return"[object FormData]"},Wy}())},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ex.forEach(["delete","get","head"],(function(e){lx.headers[e]={}})),ex.forEach(["post","put","patch"],(function(e){lx.headers[e]=ex.merge(rx)}));var cx,px,ux=lx,dx=Kb,hx=ux;function mx(){return px?cx:(px=1,cx=function(e){return!(!e||!e.__CANCEL__)})}var fx=Kb,gx=function(e,t,n){var i=this||hx;return dx.forEach(n,(function(n){e=n.call(i,e,t)})),e},bx=mx(),vx=ux,yx=Tv();function xx(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yx}var wx=Kb,kx=function(e,t){t=t||{};var n={};function i(e,t){return wx.isPlainObject(e)&&wx.isPlainObject(t)?wx.merge(e,t):wx.isPlainObject(t)?wx.merge({},t):wx.isArray(t)?t.slice():t}function o(n){return wx.isUndefined(t[n])?wx.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function r(e){if(!wx.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return wx.isUndefined(t[n])?wx.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function a(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return wx.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,i=t(e);wx.isUndefined(i)&&t!==a||(n[e]=i)})),n},Ex=ry().version,_x=iv(),Mx={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Mx[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var Cx={};Mx.transitional=function(e,t,n){function i(e,t){return"[Axios v"+Ex+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,r){if(!1===e)throw new _x(i(o," has been removed"+(t?" in "+t:"")),_x.ERR_DEPRECATED);return t&&!Cx[o]&&(Cx[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,r)}};var Dx,Ox,Tx,Nx,Sx,Ax,jx={assertOptions:function(e,t,n){if("object"!=typeof e)throw new _x("options must be an object",_x.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),o=i.length;o-- >0;){var r=i[o],s=t[r];if(s){var a=e[r],l=void 0===a||s(a,r,e);if(!0!==l)throw new _x("option "+r+" must be "+l,_x.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _x("Unknown option "+r,_x.ERR_BAD_OPTION)}},validators:Mx},Ix=Kb,zx=Gb,Lx=tv,Rx=function(e){return xx(e),e.headers=e.headers||{},e.data=gx.call(e,e.data,e.headers,e.transformRequest),e.headers=fx.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),fx.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||vx.adapter)(e).then((function(t){return xx(e),t.data=gx.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return bx(t)||(xx(e),t&&t.response&&(t.response.data=gx.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Fx=kx,Px=Cv,Bx=jx,Ux=Bx.validators;function $x(e){this.defaults=e,this.interceptors={request:new Lx,response:new Lx}}$x.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=Fx(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&Bx.assertOptions(n,{silentJSONParsing:Ux.transitional(Ux.boolean),forcedJSONParsing:Ux.transitional(Ux.boolean),clarifyTimeoutError:Ux.transitional(Ux.boolean)},!1);var i=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var r,s=[];if(this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)})),!o){var a=[Rx,void 0];for(Array.prototype.unshift.apply(a,i),a=a.concat(s),r=Promise.resolve(t);a.length;)r=r.then(a.shift(),a.shift());return r}for(var l=t;i.length;){var c=i.shift(),p=i.shift();try{l=c(l)}catch(e){p(e);break}}try{r=Rx(l)}catch(e){return Promise.reject(e)}for(;s.length;)r=r.then(s.shift(),s.shift());return r},$x.prototype.getUri=function(e){e=Fx(this.defaults,e);var t=Px(e.baseURL,e.url);return zx(t,e.params,e.paramsSerializer)},Ix.forEach(["delete","get","head","options"],(function(e){$x.prototype[e]=function(t,n){return this.request(Fx(n||{},{method:e,url:t,data:(n||{}).data}))}})),Ix.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,o){return this.request(Fx(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}$x.prototype[e]=t(),$x.prototype[e+"Form"]=t(!0)}));var Hx=Kb,qx=Ob,Vx=$x,Wx=kx;var Kx=function e(t){var n=new Vx(t),i=qx(Vx.prototype.request,n);return Hx.extend(i,Vx.prototype,n),Hx.extend(i,n),i.create=function(n){return e(Wx(t,n))},i}(ux);Kx.Axios=Vx,Kx.CanceledError=Tv(),Kx.CancelToken=function(){if(Ox)return Dx;Ox=1;var e=Tv();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var i=this;this.promise.then((function(e){if(i._listeners){var t,n=i._listeners.length;for(t=0;t<n;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},t((function(t){i.reason||(i.reason=new e(t),n(i.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e,n=new t((function(t){e=t}));return{token:n,cancel:e}},Dx=t}(),Kx.isCancel=mx(),Kx.VERSION=ry().version,Kx.toFormData=uv(),Kx.AxiosError=iv(),Kx.Cancel=Kx.CanceledError,Kx.all=function(e){return Promise.all(e)},Kx.spread=Nx?Tx:(Nx=1,Tx=function(e){return function(t){return e.apply(null,t)}}),Kx.isAxiosError=function(){if(Ax)return Sx;Ax=1;var e=Kb;return Sx=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),Db.exports=Kx,Db.exports.default=Kx;var Yx=Rc(Cb.exports=Db.exports);function Qx(e){return e&&e.__esModule?e.default:e}function Gx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jx,Zx,Xx,ew,tw,nw,iw={},ow=[],rw=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function sw(e,t){for(var n in t)e[n]=t[n];return e}function aw(e){var t=e.parentNode;t&&t.removeChild(e)}function lw(e,t,n){var i,o,r,s={};for(r in t)"key"==r?i=t[r]:"ref"==r?o=t[r]:s[r]=t[r];if(arguments.length>2&&(s.children=arguments.length>3?Jx.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===s[r]&&(s[r]=e.defaultProps[r]);return cw(e,s,i,o,null)}function cw(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++Xx:o};return null==o&&null!=Zx.vnode&&Zx.vnode(r),r}function pw(e){return e.children}function uw(e,t){this.props=e,this.context=t}function dw(e,t){if(null==t)return e.__?dw(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?dw(e):null}function hw(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return hw(e)}}function mw(e){(!e.__d&&(e.__d=!0)&&ew.push(e)&&!fw.__r++||nw!==Zx.debounceRendering)&&((nw=Zx.debounceRendering)||tw)(fw)}function fw(){for(var e;fw.__r=ew.length;)e=ew.sort((function(e,t){return e.__v.__b-t.__v.__b})),ew=[],e.some((function(e){var t,n,i,o,r,s;e.__d&&(r=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(i=sw({},o)).__v=o.__v+1,_w(s,o,i,t.__n,void 0!==s.ownerSVGElement,null!=o.__h?[r]:null,n,null==r?dw(o):r,o.__h),Mw(n,o),o.__e!=r&&hw(o)))}))}function gw(e,t,n,i,o,r,s,a,l,c){var p,u,d,h,m,f,g,b=i&&i.__k||ow,v=b.length;for(n.__k=[],p=0;p<t.length;p++)if(null!=(h=n.__k[p]=null==(h=t[p])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?cw(null,h,null,null,h):Array.isArray(h)?cw(pw,{children:h},null,null,null):h.__b>0?cw(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(d=b[p])||d&&h.key==d.key&&h.type===d.type)b[p]=void 0;else for(u=0;u<v;u++){if((d=b[u])&&h.key==d.key&&h.type===d.type){b[u]=void 0;break}d=null}_w(e,h,d=d||iw,o,r,s,a,l,c),m=h.__e,(u=h.ref)&&d.ref!=u&&(g||(g=[]),d.ref&&g.push(d.ref,null,h),g.push(u,h.__c||m,h)),null!=m?(null==f&&(f=m),"function"==typeof h.type&&h.__k===d.__k?h.__d=l=bw(h,l,e):l=yw(e,h,d,b,m,l),"function"==typeof n.type&&(n.__d=l)):l&&d.__e==l&&l.parentNode!=e&&(l=dw(d))}for(n.__e=f,p=v;p--;)null!=b[p]&&("function"==typeof n.type&&null!=b[p].__e&&b[p].__e==n.__d&&(n.__d=dw(i,p+1)),Dw(b[p],b[p]));if(g)for(p=0;p<g.length;p++)Cw(g[p],g[++p],g[++p])}function bw(e,t,n){for(var i,o=e.__k,r=0;o&&r<o.length;r++)(i=o[r])&&(i.__=e,t="function"==typeof i.type?bw(i,t,n):yw(n,i,i,o,i.__e,t));return t}function vw(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){vw(e,t)})):t.push(e)),t}function yw(e,t,n,i,o,r){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||o!=r||null==o.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(o),s=null;else{for(a=r,l=0;(a=a.nextSibling)&&l<i.length;l+=2)if(a==o)break e;e.insertBefore(o,r),s=r}return void 0!==s?s:o.nextSibling}function xw(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||rw.test(t)?n:n+"px"}function ww(e,t,n,i,o){var r;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||xw(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||xw(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])r=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i||e.addEventListener(t,r?Ew:kw,r):e.removeEventListener(t,r?Ew:kw,r);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function kw(e){this.l[e.type+!1](Zx.event?Zx.event(e):e)}function Ew(e){this.l[e.type+!0](Zx.event?Zx.event(e):e)}function _w(e,t,n,i,o,r,s,a,l){var c,p,u,d,h,m,f,g,b,v,y,x=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,a=t.__e=n.__e,t.__h=null,r=[a]),(c=Zx.__b)&&c(t);try{e:if("function"==typeof x){if(g=t.props,b=(c=x.contextType)&&i[c.__c],v=c?b?b.props.value:c.__:i,n.__c?f=(p=t.__c=n.__c).__=p.__E:("prototype"in x&&x.prototype.render?t.__c=p=new x(g,v):(t.__c=p=new uw(g,v),p.constructor=x,p.render=Ow),b&&b.sub(p),p.props=g,p.state||(p.state={}),p.context=v,p.__n=i,u=p.__d=!0,p.__h=[]),null==p.__s&&(p.__s=p.state),null!=x.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=sw({},p.__s)),sw(p.__s,x.getDerivedStateFromProps(g,p.__s))),d=p.props,h=p.state,u)null==x.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==x.getDerivedStateFromProps&&g!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,v),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,v)||t.__v===n.__v){p.props=g,p.state=p.__s,t.__v!==n.__v&&(p.__d=!1),p.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),p.__h.length&&s.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,v),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,h,m)}))}p.context=v,p.props=g,p.state=p.__s,(c=Zx.__r)&&c(t),p.__d=!1,p.__v=t,p.__P=e,c=p.render(p.props,p.state,p.context),p.state=p.__s,null!=p.getChildContext&&(i=sw(sw({},i),p.getChildContext())),u||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,h)),y=null!=c&&c.type===pw&&null==c.key?c.props.children:c,gw(e,Array.isArray(y)?y:[y],t,n,i,o,r,s,a,l),p.base=t.__e,t.__h=null,p.__h.length&&s.push(p),f&&(p.__E=p.__=null),p.__e=!1}else null==r&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,o,r,s,a){var l,c,p,u=n.props,d=t.props,h=t.type,m=0;if("svg"===h&&(o=!0),null!=r)for(;m<r.length;m++)if((l=r[m])&&"setAttribute"in l==!!h&&(h?l.localName===h:3===l.nodeType)){e=l,r[m]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),r=null,a=!1}if(null===h)u===d||a&&e.data===d||(e.data=d);else{if(r=r&&Jx.call(e.childNodes),c=(u=n.props||iw).dangerouslySetInnerHTML,p=d.dangerouslySetInnerHTML,!a){if(null!=r)for(u={},m=0;m<e.attributes.length;m++)u[e.attributes[m].name]=e.attributes[m].value;(p||c)&&(p&&(c&&p.__html==c.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,i,o){var r;for(r in n)"children"===r||"key"===r||r in t||ww(e,r,null,n[r],i);for(r in t)o&&"function"!=typeof t[r]||"children"===r||"key"===r||"value"===r||"checked"===r||n[r]===t[r]||ww(e,r,t[r],n[r],i)}(e,d,u,o,a),p)t.__k=[];else if(m=t.props.children,gw(e,Array.isArray(m)?m:[m],t,n,i,o&&"foreignObject"!==h,r,s,r?r[0]:n.__k&&dw(n,0),a),null!=r)for(m=r.length;m--;)null!=r[m]&&aw(r[m]);a||("value"in d&&void 0!==(m=d.value)&&(m!==u.value||m!==e.value||"progress"===h&&!m)&&ww(e,"value",m,u.value,!1),"checked"in d&&void 0!==(m=d.checked)&&m!==e.checked&&ww(e,"checked",m,u.checked,!1))}return e}(n.__e,t,n,i,o,r,s,l);(c=Zx.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=r)&&(t.__e=a,t.__h=!!l,r[r.indexOf(a)]=null),Zx.__e(e,t,n)}}function Mw(e,t){Zx.__c&&Zx.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){Zx.__e(e,t.__v)}}))}function Cw(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){Zx.__e(e,n)}}function Dw(e,t,n){var i,o;if(Zx.unmount&&Zx.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||Cw(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){Zx.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&Dw(i[o],t,"function"!=typeof e.type);n||null==e.__e||aw(e.__e),e.__e=e.__d=void 0}function Ow(e,t,n){return this.constructor(e,n)}function Tw(e,t,n){var i,o,r;Zx.__&&Zx.__(e,t),o=(i="function"==typeof n)?null:n&&n.__k||t.__k,r=[],_w(t,e=(!i&&n||t).__k=lw(pw,null,[e]),o||iw,iw,void 0!==t.ownerSVGElement,!i&&n?[n]:o?null:t.firstChild?Jx.call(t.childNodes):null,r,!i&&n?n:o?o.__e:t.firstChild,i),Mw(r,e)}Jx=ow.slice,Zx={__e:function(e,t){for(var n,i,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&null!=i.getDerivedStateFromError&&(n.setState(i.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},Xx=0,uw.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=sw({},this.state),"function"==typeof e&&(e=e(sw({},n),this.props)),e&&sw(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),mw(this))},uw.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),mw(this))},uw.prototype.render=pw,ew=[],tw="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fw.__r=0;var Nw=0;function Sw(e,t,n,i,o){var r,s,a={};for(s in t)"ref"==s?r=t[s]:a[s]=t[s];var l={type:e,props:a,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Nw,__source:i,__self:o};if("function"==typeof e&&(r=e.defaultProps))for(s in r)void 0===a[s]&&(a[s]=r[s]);return Zx.vnode&&Zx.vnode(l),l}var Aw={set:function(e,t){try{window.localStorage[`emoji-mart.${e}`]=JSON.stringify(t)}catch(e){}},get:function(e){try{const t=window.localStorage[`emoji-mart.${e}`];if(t)return JSON.parse(t)}catch(e){}}};const jw=new Map,Iw=[{v:14,emoji:"🫠"},{v:13.1,emoji:"😶🌫️"},{v:13,emoji:"🥸"},{v:12.1,emoji:"🧑🦰"},{v:12,emoji:"🥱"},{v:11,emoji:"🥰"},{v:5,emoji:"🤩"},{v:4,emoji:"👱♀️"},{v:3,emoji:"🤣"},{v:2,emoji:"👋🏻"},{v:1,emoji:"🙃"}];function zw(e){if(jw.has(e))return jw.get(e);const t=Lw(e);return jw.set(e,t),t}const Lw=(()=>{let e=null;try{navigator.userAgent.includes("jsdom")||(e=document.createElement("canvas").getContext("2d"))}catch{}if(!e)return()=>!1;const t=25,n=20,i=Math.floor(t/2);return e.font=i+"px Arial, Sans-Serif",e.textBaseline="top",e.canvas.width=2*n,e.canvas.height=t,i=>{e.clearRect(0,0,2*n,t),e.fillStyle="#FF0000",e.fillText(i,0,22),e.fillStyle="#0000FF",e.fillText(i,n,22);const o=e.getImageData(0,0,n,t).data,r=o.length;let s=0;for(;s<r&&!o[s+3];s+=4);if(s>=r)return!1;const a=n+s/4%n,l=Math.floor(s/4/n),c=e.getImageData(a,l,1,1).data;return o[s]===c[0]&&o[s+2]===c[2]&&!(e.measureText(i).width>=n)}})();var Rw={latestVersion:function(){for(const{v:e,emoji:t}of Iw)if(zw(t))return e},noCountryFlags:function(){return!zw("🇨🇦")}};const Fw=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let Pw=null;var Bw,Uw={add:function(e){Pw||(Pw=Aw.get("frequently")||{});const t=e.id||e;t&&(Pw[t]||(Pw[t]=0),Pw[t]+=1,Aw.set("last",t),Aw.set("frequently",Pw))},get:function({maxFrequentRows:e,perLine:t}){if(!e)return[];Pw||(Pw=Aw.get("frequently"));let n=[];if(!Pw){Pw={};for(let e in Fw.slice(0,t)){const i=Fw[e];Pw[i]=t-e,n.push(i)}return n}const i=e*t,o=Aw.get("last");for(let e in Pw)n.push(e);if(n.sort(((e,t)=>{const n=Pw[t],i=Pw[e];return n==i?e.localeCompare(t):n-i})),n.length>i){const e=n.slice(i);n=n.slice(0,i);for(let t of e)t!=o&&delete Pw[t];o&&-1==n.indexOf(o)&&(delete Pw[n[n.length-1]],n.splice(-1,1,o)),Aw.set("frequently",Pw)}return n}};Bw=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var $w={autoFocus:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:14,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","cs","de","es","fa","fi","fr","it","ja","nl","pl","pt","ru","uk","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let Hw=null,qw=null;const Vw={};async function Ww(e){if(Vw[e])return Vw[e];const t=await fetch(e),n=await t.json();return Vw[e]=n,n}let Kw=null,Yw=null,Qw=!1;function Gw(e,{caller:t}={}){return Kw||(Kw=new Promise((e=>{Yw=e}))),e?async function(e){Qw=!0;let{emojiVersion:t,set:n,locale:i}=e;if(t||(t=$w.emojiVersion.value),n||(n=$w.set.value),i||(i=$w.locale.value),qw)qw.categories=qw.categories.filter((e=>!!!e.name));else{qw=("function"==typeof e.data?await e.data():e.data)||await Ww(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${t}/${n}.json`),qw.emoticons={},qw.natives={},qw.categories.unshift({id:"frequent",emojis:[]});for(const e in qw.aliases){const t=qw.aliases[e],n=qw.emojis[t];n&&(n.aliases||(n.aliases=[]),n.aliases.push(e))}}if(Hw=("function"==typeof e.i18n?await e.i18n():e.i18n)||("en"==i?Qx(Bw):await Ww(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${i}.json`)),e.custom)for(let t in e.custom){t=parseInt(t);const n=e.custom[t],i=e.custom[t-1];if(n.emojis&&n.emojis.length){n.id||(n.id=`custom_${t+1}`),n.name||(n.name=Hw.categories.custom),i&&!n.icon&&(n.target=i.target||i),qw.categories.push(n);for(const e of n.emojis)qw.emojis[e.id]=e}}e.categories&&(qw.categories=qw.categories.filter((t=>-1!=e.categories.indexOf(t.id))).sort(((t,n)=>e.categories.indexOf(t.id)-e.categories.indexOf(n.id))));let o=null,r=null;"native"==n&&(o=Rw.latestVersion(),r=e.noCountryFlags||Rw.noCountryFlags());let s=qw.categories.length,a=!1;for(;s--;){const t=qw.categories[s];if("frequent"==t.id){let{maxFrequentRows:n,perLine:i}=e;n||(n=$w.maxFrequentRows.value),i||(i=$w.perLine.value),t.emojis=Uw.get({maxFrequentRows:n,perLine:i})}if(!t.emojis||!t.emojis.length){qw.categories.splice(s,1);continue}const{categoryIcons:n}=e;if(n){const e=n[t.id];e&&!t.icon&&(t.icon=e)}let i=t.emojis.length;for(;i--;){const e=t.emojis[i],n=e.id?e:qw.emojis[e],s=()=>{t.emojis.splice(i,1)};if(n)if(o&&n.version>o)s();else if(!r||"flags"!=t.id||tk.includes(n.id)){if(!n.search){if(a=!0,n.search=","+[[n.id,!1],[n.name,!0],[n.keywords,!1],[n.emoticons,!1]].map((([e,t])=>{if(e)return(Array.isArray(e)?e:[e]).map((e=>(t?e.split(/[-|_|\s]+/):[e]).map((e=>e.toLowerCase())))).flat()})).flat().filter((e=>e&&e.trim())).join(","),n.emoticons)for(const e of n.emoticons)qw.emoticons[e]||(qw.emoticons[e]=n.id);let e=0;for(const t of n.skins){if(!t)continue;e++;const{native:i}=t;i&&(qw.natives[i]=n.id,n.search+=`,${i}`);const o=1==e?"":`:skin-tone-${e}:`;t.shortcodes=`:${n.id}:${o}`}}}else s();else s()}}a&&ek.reset();Yw()}(e):t&&!Qw&&console.warn(`\`${t}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),Kw}function Jw(e,t,n){e||(e={});const i={};for(let o in t)i[o]=Zw(o,e,t,n);return i}function Zw(e,t,n,i){const o=n[e];let r=i&&i.getAttribute(e)||(null!=t[e]&&null!=t[e]?t[e]:null);return o?(null!=r&&o.value&&typeof o.value!=typeof r&&(r="boolean"==typeof o.value?"false"!=r:o.value.constructor(r)),o.transform&&r&&(r=o.transform(r)),(null==r||o.choices&&-1==o.choices.indexOf(r))&&(r=o.value),r):r}let Xw=null;var ek={search:async function(e,{maxResults:t,caller:n}={}){if(!e||!e.trim().length)return null;t||(t=90),await Gw(null,{caller:n||"SearchIndex.search"});const i=e.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter(((e,t,n)=>e.trim()&&n.indexOf(e)==t));if(!i.length)return;let o,r,s=Xw||(Xw=Object.values(qw.emojis));for(const e of i){if(!s.length)break;o=[],r={};for(const t of s){if(!t.search)continue;const n=t.search.indexOf(`,${e}`);-1!=n&&(o.push(t),r[t.id]||(r[t.id]=0),r[t.id]+=t.id==e?0:n+1)}s=o}return o.length<2||(o.sort(((e,t)=>{const n=r[e.id],i=r[t.id];return n==i?e.id.localeCompare(t.id):n-i})),o.length>t&&(o=o.slice(0,t))),o},get:function(e){return e.id?e:qw.emojis[e]||qw.emojis[qw.aliases[e]]||qw.emojis[qw.natives[e]]},reset:function(){Xw=null},SHORTCODES_REGEX:/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/};const tk=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];var nk={categories:{activity:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:Sw("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),Sw("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),Sw("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:Sw("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),Sw("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:Sw("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),Sw("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[Sw("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),Sw("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:Sw("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:Sw("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},search:{loupe:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:Sw("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:Sw("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:Sw("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})}};function ik(e){let{id:t,skin:n,emoji:i}=e;if(e.shortcodes){const i=e.shortcodes.match(ek.SHORTCODES_REGEX);i&&(t=i[1],i[2]&&(n=i[2]))}if(i||(i=ek.get(t||e.native)),!i)return e.fallback;const o=i.skins[n-1]||i.skins[0],r=o.src||("native"==e.set||e.spritesheet?void 0:"function"==typeof e.getImageURL?e.getImageURL(e.set,o.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@14.0.0/img/${e.set}/64/${o.unified}.png`),s="function"==typeof e.getSpritesheetURL?e.getSpritesheetURL(e.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${e.set}@14.0.0/img/${e.set}/sheets-256/64.png`;return Sw("span",{class:"emoji-mart-emoji","data-emoji-set":e.set,children:r?Sw("img",{style:{height:e.size||"1em",width:"auto",display:"inline-block",position:"relative",top:".1em"},alt:o.native||o.shortcodes,src:r}):"native"==e.set?Sw("span",{style:{fontSize:e.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:o.native}):Sw("span",{style:{display:"block",width:e.size,height:e.size,backgroundImage:`url(${s})`,backgroundSize:`${100*qw.sheet.cols}% ${100*qw.sheet.rows}%`,backgroundPosition:`${100/(qw.sheet.cols-1)*o.x}% ${100/(qw.sheet.rows-1)*o.y}%`}})})}const ok="undefined"!=typeof window?window.HTMLElement:Object;class rk extends ok{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let t in e)this.attributeChangedCallback(t,null,e[t])}attributeChangedCallback(e,t,n){if(!this.component)return;const i=Zw(e,{[e]:n},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:i}):(this.component.props[e]=i,this.component.forceUpdate())}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let t=null;const n=e.parent||(t=e.ref&&e.ref.current);t&&(t.innerHTML=""),n&&n.appendChild(this)}}}class sk extends rk{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const t=document.createElement("style");t.textContent=e,this.shadowRoot.insertBefore(t,this.shadowRoot.firstChild)}constructor(e,{styles:t}={}){super(e),this.setShadow(),this.injectStyles(t)}}var ak={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:e=>/\D/.test(e)?e:`${e}px`},set:$w.set,skin:$w.skin};class lk extends rk{async connectedCallback(){const e=Jw(this.props,ak,this);e.element=this,e.ref=e=>{this.component=e},await Gw(),Tw(Sw(ik,{...e}),this)}constructor(e){super(e)}}Gx(lk,"Props",ak),"undefined"==typeof customElements||customElements.get("em-emoji")||customElements.define("em-emoji",lk);var ck,pk=[],uk=Zx.__b,dk=Zx.__r,hk=Zx.diffed,mk=Zx.__c,fk=Zx.unmount;function gk(){var e;for(pk.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=pk.pop();)if(e.__P)try{e.__H.__h.forEach(vk),e.__H.__h.forEach(yk),e.__H.__h=[]}catch(t){e.__H.__h=[],Zx.__e(t,e.__v)}}Zx.__b=function(e){uk&&uk(e)},Zx.__r=function(e){dk&&dk(e);var t=e.__c.__H;t&&(t.__h.forEach(vk),t.__h.forEach(yk),t.__h=[])},Zx.diffed=function(e){hk&&hk(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==pk.push(t)&&ck===Zx.requestAnimationFrame||((ck=Zx.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),bk&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);bk&&(t=requestAnimationFrame(n))})(gk))},Zx.__c=function(e,t){t.some((function(e){try{e.__h.forEach(vk),e.__h=e.__h.filter((function(e){return!e.__||yk(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Zx.__e(n,e.__v)}})),mk&&mk(e,t)},Zx.unmount=function(e){fk&&fk(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{vk(e)}catch(e){t=e}})),t&&Zx.__e(t,n.__v))};var bk="function"==typeof requestAnimationFrame;function vk(e){var t=e.__c;"function"==typeof t&&(e.__c=void 0,t())}function yk(e){e.__c=e.__()}function xk(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function wk(e){this.props=e}(wk.prototype=new uw).isPureReactComponent=!0,wk.prototype.shouldComponentUpdate=function(e,t){return xk(this.props,e)||xk(this.state,t)};var kk=Zx.__b;Zx.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),kk&&kk(e)};var Ek=Zx.__e;Zx.__e=function(e,t,n){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Ek(e,t,n)};var _k=Zx.unmount;function Mk(){this.__u=0,this.t=null,this.__b=null}function Ck(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Dk(){this.u=null,this.o=null}Zx.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),_k&&_k(e)},(Mk.prototype=new uw).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var o=Ck(i.__v),r=!1,s=function(){r||(r=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--i.__u){if(i.state.__e){var e=i.state.__e;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)})),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__e:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__e:i.__b=i.__v.__k[0]}),e.then(s,s)},Mk.prototype.componentWillUnmount=function(){this.t=[]},Mk.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=function(e,t){for(var n in t)e[n]=t[n];return e}({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,i)}))),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__e&&lw(pw,null,e.fallback);return o&&(o.__h=null),[lw(pw,null,t.__e?null:e.children),o]};var Ok=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Dk.prototype=new uw).__e=function(e){var t=this,n=Ck(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),Ok(t,e,i)):o()};n?n(r):r()}},Dk.prototype.render=function(e){this.u=null,this.o=new Map;var t=vw(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Dk.prototype.componentDidUpdate=Dk.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ok(e,n,t)}))};var Tk="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Nk=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Sk="undefined"!=typeof document,Ak=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};uw.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(uw.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var jk=Zx.event;function Ik(){}function zk(){return this.cancelBubble}function Lk(){return this.defaultPrevented}Zx.event=function(e){return jk&&(e=jk(e)),e.persist=Ik,e.isPropagationStopped=zk,e.isDefaultPrevented=Lk,e.nativeEvent=e};var Rk={configurable:!0,get:function(){return this.class}},Fk=Zx.vnode;Zx.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var r in i={},n){var s=n[r];Sk&&"children"===r&&"noscript"===t||"value"===r&&"defaultValue"in n&&null==s||("defaultValue"===r&&"value"in n&&null==n.value?r="value":"download"===r&&!0===s?s="":/ondoubleclick/i.test(r)?r="ondblclick":/^onchange(textarea|input)/i.test(r+t)&&!Ak(n.type)?r="oninput":/^onfocus$/i.test(r)?r="onfocusin":/^onblur$/i.test(r)?r="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(r)?r=r.toLowerCase():o&&Nk.test(r)?r=r.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),i[r]=s)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=vw(n.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==t&&null!=i.defaultValue&&(i.value=vw(n.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),e.props=i,n.class!=n.className&&(Rk.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",Rk))}e.$$typeof=Tk,Fk&&Fk(e)};var Pk=Zx.__r;Zx.__r=function(e){Pk&&Pk(e),e.__c};const Bk={light:"outline",dark:"solid"};class Uk extends wk{renderIcon(e){const{icon:t}=e;if(t){if(t.svg)return Sw("span",{class:"flex",dangerouslySetInnerHTML:{__html:t.svg}});if(t.src)return Sw("img",{src:t.src})}const n=nk.categories[e.id]||nk.categories.custom;return n["auto"==this.props.icons?Bk[this.props.theme]:this.props.icons]||n}render(){let e=null;return Sw("nav",{id:"nav",class:"padding","data-position":this.props.position,children:Sw("div",{class:"flex relative",children:[this.categories.map(((t,n)=>{const i=t.name||Hw.categories[t.id],o=!this.props.unfocused&&t.id==this.state.categoryId;return o&&(e=n),Sw("button",{"aria-label":i,"aria-selected":o||void 0,title:i,type:"button",class:"flex flex-grow flex-center",onMouseDown:e=>e.preventDefault(),onClick:()=>{this.props.onClick({category:t,i:n})},children:this.renderIcon(t)})})),Sw("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:null==e?0:1,transform:`translateX(${100*e}%)`}})]})})}constructor(){super(),this.categories=qw.categories.filter((e=>!e.target)),this.state={categoryId:this.categories[0].id}}}class $k extends wk{shouldComponentUpdate(e){for(let t in e)if("children"!=t&&e[t]!=this.props[t])return!0;return!1}render(){return this.props.children}}const Hk=10;class qk extends uw{getInitialState(e=this.props){return{skin:Aw.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.observers=[],this.dir=Hw.rtl?"rtl":"ltr",this.refs={menu:{current:null},navigation:{current:null},scroll:{current:null},search:{current:null},searchInput:{current:null},skinToneButton:{current:null},skinToneRadio:{current:null}},this.initGrid(),0==this.props.stickySearch&&"sticky"==this.props.searchPosition&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const t in e)this.nextState[t]=e[t];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout((()=>{let e=!1;for(const t in this.nextState)this.props[t]=this.nextState[t],"custom"!==t&&"categories"!==t||(e=!0);delete this.nextState;const t=this.getInitialState();if(e)return this.reset(t);this.setState(t)}))}componentWillUnmount(){this.unregister()}async reset(e={}){await Gw(this.props),this.initGrid(),this.unobserve(),this.setState(e,(()=>{this.observeCategories(),this.observeRows()}))}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve(){for(const e of this.observers)e.disconnect()}initGrid(){const{categories:e}=qw;this.refs.categories=new Map;const t=qw.categories.map((e=>e.id)).join(",");this.navKey&&this.navKey!=t&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=t,this.grid=[],this.grid.setsize=0;const n=(e,t)=>{const n=[];n.__categoryId=t.id,n.__index=e.length,this.grid.push(n);const i=this.grid.length-1,o=i%Hk?{}:{current:null};return o.index=i,o.posinset=this.grid.setsize+1,e.push(o),n};for(let t of e){const e=[];let i=n(e,t);for(let o of t.emojis)i.length==this.props.perLine&&(i=n(e,t)),this.grid.setsize+=1,i.push(o);this.refs.categories.set(t.id,{root:{current:null},rows:e})}}initTheme(e){if("auto"!=e)return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addListener((()=>{"auto"==this.props.theme&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}))}return this.darkMedia.matches?"dark":"light"}getEmojiByPos([e,t]){const n=this.state.searchResults||this.grid,i=n[e]&&n[e][t];if(i)return ek.get(i)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const t=new Map,n=t=>{t!=e.state.categoryId&&e.setState({categoryId:t})},i={root:this.refs.scroll.current,threshold:[0,1]},o=new IntersectionObserver((e=>{for(const n of e){const e=n.target.dataset.id;t.set(e,n.intersectionRatio)}const i=[...t],o=i[i.length-1];if(1==o[1])return n(o[0]);for(const[e,t]of i)if(t){n(e);break}}),i);for(const{root:e}of this.refs.categories.values())o.observe(e.current);this.observers.push(o)}observeRows(){const e={...this.state.visibleRows},t=new IntersectionObserver((t=>{for(const n of t){const t=parseInt(n.target.dataset.index);n.isIntersecting?e[t]=!0:delete e[t]}this.setState({visibleRows:e})}),{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(Hk+5)}px 0px ${this.props.emojiButtonSize*Hk}px`});for(const{rows:e}of this.refs.categories.values())for(const n of e)n.current&&t.observe(n.current);this.observers.push(t)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e:e,input:t,left:n,right:i,up:o,down:r}){const s=this.state.searchResults||this.grid;if(!s.length)return;let[a,l]=this.state.pos;const c=(()=>{if(0==a&&0==l&&!e.repeat&&(n||o))return null;if(-1==a)return e.repeat||!i&&!r||t.selectionStart!=t.value.length?null:[0,0];if(n||i){let e=s[a];const t=n?-1:1;if(l+=t,!e[l]){if(a+=t,e=s[a],!e)return a=n?0:s.length-1,l=n?0:s[a].length-1,[a,l];l=n?e.length-1:0}return[a,l]}if(o||r){a+=o?-1:1;const e=s[a];return e?(e[l]||(l=e.length-1),[a,l]):(a=o?0:s.length-1,l=o?0:s[a].length-1,[a,l])}})();c?(e.preventDefault(),this.setState({pos:c,keyboard:!0},(()=>{this.scrollTo({row:c[0]})}))):this.state.pos[0]>-1&&this.setState({pos:[-1,-1]})}scrollTo({categoryId:e,row:t}){const n=this.state.searchResults||this.grid;if(!n.length)return;const i=this.refs.scroll.current,o=i.getBoundingClientRect();let r=0;if(t>=0&&(e=n[t].__categoryId),e){r=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(o.top-i.scrollTop)+1}if(t>=0)if(t){const e=r+n[t].__index*this.props.emojiButtonSize,s=e+this.props.emojiButtonSize+.88*this.props.emojiButtonSize;if(e<i.scrollTop)r=e;else{if(!(s>i.scrollTop+o.height))return;r=s-o.height}}else r=0;this.ignoreMouse(),i.scrollTop=r}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout((()=>{delete this.mouseIsIgnored}),100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({emoji:e,pos:t}){if(this.props.onEmojiSelect&&(!e&&t&&(e=this.getEmojiByPos(t)),e)){const t=function(e,{skinIndex:t}={}){const n=e.skins[t]||(t=0,e.skins[t]),i={id:e.id,name:e.name,native:n.native,unified:n.unified,keywords:e.keywords,shortcodes:n.shortcodes||e.shortcodes};return e.skins.length>1&&(i.skin=t+1),n.src&&(i.src=n.src),e.aliases&&e.aliases.length&&(i.aliases=e.aliases),e.emoticons&&e.emoticons.length&&(i.emoticons=e.emoticons),i}(e,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&Uw.add(t,this.props),this.props.onEmojiSelect(t)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),Aw.set("skin",e)}renderNav(){return Sw(Uk,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),t=this.state.searchResults&&!this.state.searchResults.length;return Sw("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[Sw("div",{class:"flex flex-middle flex-grow",children:[Sw("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:Sw(ik,{emoji:e,id:t?this.props.noResultsEmoji||"cry":this.props.previewEmoji||("top"==this.props.previewPosition?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),Sw("div",{class:`margin-${this.dir[0]}`,children:Sw("div",e?{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[Sw("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:e.name}),Sw("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:e.skins[0].shortcodes})]}:t?{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[Sw("div",{class:"ellipsis",style:{fontSize:"1.1em"},children:Hw.search_no_results_1}),Sw("div",{class:"ellipsis color-c",style:{fontSize:".9em"},children:Hw.search_no_results_2})]}:{class:"color-c",style:{fontSize:21},children:Hw.pick})})]}),!e&&"preview"==this.props.skinTonePosition&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:t,posinset:n,grid:i}){const o=this.props.emojiButtonSize,r=this.state.tempSkin||this.state.skin,s=(e.skins[r-1]||e.skins[0]).native,a=function(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every(((e,n)=>e==t[n]))}(this.state.pos,t),l=t.concat(e.id).join("");return Sw($k,{selected:a,skin:r,size:o,children:Sw("button",{"aria-label":s,"aria-selected":a||void 0,"aria-posinset":n,"aria-setsize":i.setsize,"data-keyboard":this.state.keyboard,title:"none"==this.props.previewPosition?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:()=>this.handleEmojiClick({emoji:e}),onMouseEnter:()=>this.handleEmojiOver(t),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[Sw("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(n-1)%this.props.emojiButtonColors.length]:void 0}}),Sw(ik,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:r,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},l)}renderSearch(){const e="none"==this.props.previewPosition||"search"==this.props.skinTonePosition;return Sw("div",{children:[Sw("div",{class:"spacer"}),Sw("div",{class:"flex flex-middle",children:[e&&"rtl"==this.dir&&this.renderSkinToneButton(),Sw("div",{class:"search relative flex-grow",children:[Sw("input",{type:"search",ref:this.refs.searchInput,placeholder:Hw.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),Sw("span",{class:"icon loupe flex",children:nk.search.loupe}),this.state.searchResults&&Sw("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:nk.search.delete})]}),e&&"ltr"==this.dir&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?Sw("div",{class:"category",ref:this.refs.search,children:[Sw("div",{class:`sticky padding-small align-${this.dir[0]}`,children:Hw.categories.search}),Sw("div",{children:e.length?e.map(((t,n)=>Sw("div",{class:"flex",children:t.map(((t,i)=>this.renderEmojiButton(t,{pos:[n,i],posinset:n*this.props.perLine+i+1,grid:e})))}))):Sw("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&Sw("a",{onClick:this.props.onAddCustomEmoji,children:Hw.add_custom})})})]}):null}renderCategories(){const{categories:e}=qw,t=!!this.state.searchResults;return Sw("div",{style:{visibility:t?"hidden":void 0,display:t?"none":void 0},children:e.map((e=>{const{root:t,rows:n}=this.refs.categories.get(e.id);return Sw("div",{"data-id":e.target?e.target.id:e.id,class:"category",ref:t,children:[Sw("div",{class:`sticky padding-small align-${this.dir[0]}`,children:e.name||Hw.categories[e.id]}),Sw("div",{class:"relative",style:{height:n.length*this.props.emojiButtonSize},children:n.map(((t,n)=>{const i=t.index-t.index%Hk,o=this.state.visibleRows[i],r="current"in t?t:void 0;if(!o&&!r)return null;const s=n*this.props.perLine,a=s+this.props.perLine,l=e.emojis.slice(s,a);return Sw("div",{"data-index":t.index,ref:r,class:"flex row",style:{top:n*this.props.emojiButtonSize},children:o&&l.map(((e,n)=>{const i=ek.get(e);return this.renderEmojiButton(i,{pos:[t.index,n],posinset:t.posinset+n,grid:this.grid})}))},t.index)}))})]})}))})}renderSkinToneButton(){return"none"==this.props.skinTonePosition?null:Sw("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:Sw("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":Hw.skins.choose,title:Hw.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:Sw("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos);return Sw("div",{"aria-live":"polite",class:"sr-only",children:e?e.name:""})}renderSkins(){const e=this.refs.skinToneButton.current.getBoundingClientRect(),t=this.base.getBoundingClientRect(),n={};return"ltr"==this.dir?n.right=t.right-e.right-3:n.left=e.left-t.left-3,"bottom"==this.props.previewPosition&&"preview"==this.props.skinTonePosition?n.bottom=t.bottom-e.top+6:(n.top=e.bottom-t.top+3,n.bottom="auto"),Sw("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":Hw.skins.choose,class:"menu hidden","data-position":n.top?"top":"bottom",style:n,children:[...Array(6).keys()].map((e=>{const t=e+1,n=this.state.skin==t;return Sw("div",{children:[Sw("input",{type:"radio",name:"skin-tone",value:t,"aria-label":Hw.skins[t],ref:n?this.refs.skinToneRadio:null,defaultChecked:n,onChange:()=>this.handleSkinMouseOver(t),onKeyDown:e=>{"Enter"!=e.code&&"Space"!=e.code&&"Tab"!=e.code||(e.preventDefault(),this.handleSkinClick(t))}}),Sw("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(t),onMouseEnter:()=>this.handleSkinMouseOver(t),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[Sw("span",{class:`skin-tone skin-tone-${t}`}),Sw("span",{class:"margin-small-lr",children:Hw.skins[t]})]})]})}))})}render(){return Sw("section",{id:"root",class:"flex flex-column",style:{width:this.props.perLine*this.props.emojiButtonSize+28},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:["top"==this.props.previewPosition&&this.renderPreview(),"top"==this.props.navPosition&&this.renderNav(),"sticky"==this.props.searchPosition&&Sw("div",{class:"padding-lr",children:this.renderSearch()}),Sw("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:Sw("div",{style:{width:this.props.perLine*this.props.emojiButtonSize},children:["static"==this.props.searchPosition&&this.renderSearch(),this.renderSearchResults(),this.renderCategories(),Sw("div",{class:"spacer"})]})}),"bottom"==this.props.navPosition&&this.renderNav(),"bottom"==this.props.previewPosition&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),Gx(this,"handleClickOutside",(e=>{const{element:t}=this.props;e.target!=t&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside())})),Gx(this,"handleBaseClick",(e=>{this.state.showSkins&&(e.target.closest(".menu")||(e.preventDefault(),e.stopImmediatePropagation(),this.closeSkins()))})),Gx(this,"handleBaseKeydown",(e=>{this.state.showSkins&&"Escape"==e.key&&(e.preventDefault(),e.stopImmediatePropagation(),this.closeSkins())})),Gx(this,"handleSearchClick",(()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})})),Gx(this,"handleSearchInput",(async()=>{const e=this.refs.searchInput.current;if(!e)return;const{value:t}=e,n=await ek.search(t),i=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!n)return this.setState({searchResults:n,pos:[-1,-1]},i);const o=e.selectionStart==e.value.length?[0,0]:[-1,-1],r=[];r.setsize=n.length;let s=null;for(let e of n)r.length&&s.length!=this.props.perLine||(s=[],s.__categoryId="search",s.__index=r.length,r.push(s)),s.push(e);this.ignoreMouse(),this.setState({searchResults:r,pos:o},i)})),Gx(this,"handleSearchKeyDown",(e=>{const t=e.currentTarget;switch(e.stopImmediatePropagation(),e.key){case"ArrowLeft":this.navigate({e:e,input:t,left:!0});break;case"ArrowRight":this.navigate({e:e,input:t,right:!0});break;case"ArrowUp":this.navigate({e:e,input:t,up:!0});break;case"ArrowDown":this.navigate({e:e,input:t,down:!0});break;case"Enter":e.preventDefault(),this.handleEmojiClick({pos:this.state.pos});break;case"Escape":e.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch()}})),Gx(this,"clearSearch",(()=>{const e=this.refs.searchInput.current;e&&(e.value="",e.focus(),this.handleSearchInput())})),Gx(this,"handleCategoryClick",(({category:e,i:t})=>{this.scrollTo(0==t?{row:-1}:{categoryId:e.id})})),Gx(this,"openSkins",(e=>{const{currentTarget:t}=e,n=t.getBoundingClientRect();this.setState({showSkins:n},(async()=>{await async function(e=1){for(let t in[...Array(e).keys()])await new Promise(requestAnimationFrame)}(2);const e=this.refs.menu.current;e&&(e.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))}))})),this.state={pos:[-1,-1],visibleRows:{0:!0},...this.getInitialState(e)}}}class Vk extends sk{async connectedCallback(){const e=Jw(this.props,$w,this);e.element=this,e.ref=e=>{this.component=e},await Gw(e),Tw(Sw(qk,{...e}),this.shadowRoot)}disconnectedCallback(){this.component&&this.component.unregister()}constructor(e){super(e,{styles:Qx(Wk)})}}Gx(Vk,"Props",$w),"undefined"==typeof customElements||customElements.get("em-emoji-picker")||customElements.define("em-emoji-picker",Vk);var Wk={};Wk=':host {\n display: flex;\n width: -webkit-min-content;\n width: -moz-min-content;\n width: min-content;\n height: 435px;\n min-height: 230px;\n border-radius: var(--border-radius);\n box-shadow: var(--shadow);\n --border-radius: 10px;\n --category-icon-size: 18px;\n --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n --font-size: 15px;\n --shadow-color: 0deg 0% 0%;\n --shadow:\n 0.3px 0.5px 2.7px hsl(var(--shadow-color) / 0.14),\n 0.4px 0.8px 1px -3.2px hsl(var(--shadow-color) / 0.14),\n 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / 0.14);\n}\n\n[data-theme=light] {\n --em-rgb-color: var(--rgb-color, 34, 36, 39);\n --em-rgb-accent: var(--rgb-accent, 34, 102, 237);\n --em-rgb-background: var(--rgb-background, 255, 255, 255);\n --em-rgb-input: var(--rgb-input, 255, 255, 255);\n --em-color-border: var(--color-border, rgba(0, 0, 0, .05));\n --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1));\n}\n\n[data-theme=dark] {\n --em-rgb-color: var(--rgb-color, 222, 222, 221);\n --em-rgb-accent: var(--rgb-accent, 58, 130, 247);\n --em-rgb-background: var(--rgb-background, 21, 22, 23);\n --em-rgb-input: var(--rgb-input, 0, 0, 0);\n --em-color-border: var(--color-border, rgba(255, 255, 255, .1));\n --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2));\n}\n\n#root {\n --color-a: rgb(var(--em-rgb-color));\n --color-b: rgba(var(--em-rgb-color), .65);\n --color-c: rgba(var(--em-rgb-color), .45);\n --padding: 12px;\n --padding-small: calc(var(--padding) / 2);\n --sidebar-width: 16px;\n --duration: 225ms;\n --duration-fast: 125ms;\n --duration-instant: 50ms;\n --easing: cubic-bezier(.4, .0, .2, 1);\n position: relative;\n width: 100%;\n text-align: left;\n border-radius: var(--border-radius);\n background-color: rgb(var(--em-rgb-background));\n}\n\n@media (prefers-reduced-motion) {\n #root {\n --duration: 0;\n --duration-fast: 0;\n --duration-instant: 0;\n }\n}\n\n#root[data-menu] button {\n cursor: auto;\n}\n\n#root[data-menu] .menu button {\n cursor: pointer;\n}\n\n:host, #root, input, button {\n color: rgb(var(--em-rgb-color));\n font-family: var(--font-family);\n font-size: var(--font-size);\n line-height: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n*, *:before, *:after {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n min-width: 0;\n}\n\n.relative {\n position: relative;\n}\n\n.flex {\n display: flex;\n}\n\n.flex-auto {\n flex: 0 0 auto;\n}\n\n.flex-center {\n justify-content: center;\n}\n\n.flex-column {\n flex-direction: column;\n}\n\n.flex-grow {\n flex: 1 1 auto;\n}\n\n.flex-middle {\n align-items: center;\n}\n\n.flex-wrap {\n flex-wrap: wrap;\n}\n\n.padding {\n padding: var(--padding);\n}\n\n.padding-t {\n padding-top: var(--padding);\n}\n\n.padding-lr {\n padding-left: var(--padding);\n padding-right: var(--padding);\n}\n\n.padding-r {\n padding-right: var(--padding);\n}\n\n.padding-small {\n padding: var(--padding-small);\n}\n\n.padding-small-b {\n padding-bottom: var(--padding-small);\n}\n\n.padding-small-lr {\n padding-left: var(--padding-small);\n padding-right: var(--padding-small);\n}\n\n.margin {\n margin: var(--padding);\n}\n\n.margin-r {\n margin-right: var(--padding);\n}\n\n.margin-l {\n margin-left: var(--padding);\n}\n\n.margin-small-l {\n margin-left: var(--padding-small);\n}\n\n.margin-small-lr {\n margin-left: var(--padding-small);\n margin-right: var(--padding-small);\n}\n\n.align-l {\n text-align: left;\n}\n\n.align-r {\n text-align: right;\n}\n\n.color-a {\n color: var(--color-a);\n}\n\n.color-b {\n color: var(--color-b);\n}\n\n.color-c {\n color: var(--color-c);\n}\n\n.ellipsis {\n white-space: nowrap;\n max-width: 100%;\n width: auto;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.sr-only {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\na {\n cursor: pointer;\n color: rgb(var(--em-rgb-accent));\n}\n\na:hover {\n text-decoration: underline;\n}\n\n.spacer {\n height: 10px;\n}\n\n.scroll {\n overflow: auto;\n overflow-x: hidden;\n padding-right: 0;\n}\n\n.scroll::-webkit-scrollbar {\n width: var(--sidebar-width);\n height: var(--sidebar-width);\n}\n\n.scroll::-webkit-scrollbar-track {\n border: 0;\n}\n\n.scroll::-webkit-scrollbar-button {\n width: 0;\n height: 0;\n display: none;\n}\n\n.scroll::-webkit-scrollbar-corner {\n background-color: transparent;\n}\n\n.scroll::-webkit-scrollbar-thumb {\n min-height: 20%;\n min-height: 65px;\n border: 4px solid rgb(var(--em-rgb-background));\n border-radius: 8px;\n}\n\n.scroll::-webkit-scrollbar-thumb:hover {\n background-color: var(--em-color-border-over) !important;\n}\n\n.scroll:hover::-webkit-scrollbar-thumb {\n background-color: var(--em-color-border);\n}\n\n.sticky {\n position: -webkit-sticky;\n position: sticky;\n z-index: 1;\n top: -1px;\n font-weight: 500;\n background-color: rgba(var(--em-rgb-background), 0.9);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px);\n}\n\n.search {\n z-index: 2;\n position: relative;\n}\n\n.search input, .search button {\n font-size: calc(var(--font-size) - 1px);\n}\n\n.search input[type=search] {\n display: block;\n border: 0;\n outline: 0;\n width: 100%;\n padding: 10px 2em 10px 2.2em;\n border-radius: 10px;\n background-color: var(--em-color-border);\n transition-duration: var(--duration);\n transition-property: background-color, box-shadow;\n transition-timing-function: var(--easing);\n}\n\n.search input[type=search]::-moz-placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search]:-ms-input-placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search]::placeholder {\n color: inherit;\n opacity: 0.6;\n}\n\n.search input[type=search], .search input[type=search]::-webkit-search-decoration, .search input[type=search]::-webkit-search-cancel-button, .search input[type=search]::-webkit-search-results-button, .search input[type=search]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n appearance: none;\n}\n\n.search input[type=search]:focus {\n background-color: rgb(var(--em-rgb-input));\n box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, 0.2);\n}\n\n.search .icon {\n z-index: 1;\n position: absolute;\n top: 50%;\n color: rgba(var(--em-rgb-color), 0.7);\n transform: translateY(-50%);\n}\n\n.search .loupe {\n left: 0.7em;\n pointer-events: none;\n}\n\n.search .delete {\n right: 0.7em;\n}\n\nsvg {\n fill: currentColor;\n width: 1em;\n height: 1em;\n}\n\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n cursor: pointer;\n color: currentColor;\n border: 0;\n background-color: transparent;\n}\n\n#nav {\n z-index: 2;\n position: relative;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-right: var(--sidebar-width);\n}\n\n#nav button {\n color: var(--color-b);\n transition: color var(--duration) var(--easing);\n}\n\n#nav button:hover {\n color: var(--color-a);\n}\n\n#nav svg, #nav img {\n width: var(--category-icon-size);\n height: var(--category-icon-size);\n}\n\n#nav .bar {\n position: absolute;\n bottom: -12px;\n left: 0;\n width: 100%;\n height: 3px;\n background-color: rgb(var(--em-rgb-accent));\n border-radius: 3px 3px 0 0;\n transition: transform var(--duration) var(--easing);\n}\n\n#nav button[aria-selected] {\n color: rgb(var(--em-rgb-accent));\n}\n\n#preview {\n z-index: 2;\n position: relative;\n padding: calc(var(--padding) + 4px) var(--padding);\n padding-right: var(--sidebar-width);\n}\n\n#nav:before, #preview:before {\n content: "";\n position: absolute;\n left: 0;\n right: 0;\n height: 2px;\n}\n\n#nav[data-position=top]:before, #preview[data-position=top]:before {\n top: 100%;\n background: linear-gradient(to bottom, var(--em-color-border), transparent);\n}\n\n#nav[data-position=bottom]:before, #preview[data-position=bottom]:before {\n bottom: 100%;\n background: linear-gradient(to top, var(--em-color-border), transparent);\n}\n\n.category button {\n position: relative;\n font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;\n}\n\n.category button > * {\n position: relative;\n}\n\n.category button .background {\n position: absolute;\n inset: 0;\n opacity: 0;\n background-color: var(--em-color-border);\n transition: opacity var(--duration-fast) var(--easing) var(--duration-instant);\n}\n\n.category button:hover .background {\n transition-duration: var(--duration-instant);\n transition-delay: 0ms;\n}\n\n.category button[aria-selected] .background {\n opacity: 1;\n}\n\n.category button[data-keyboard] .background {\n transition: none;\n}\n\n.row {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n}\n\n.skin-tone-button {\n border-radius: 100%;\n border: 1px solid transparent;\n}\n\n.skin-tone-button:hover {\n border-color: var(--em-color-border);\n}\n\n.skin-tone-button:active .skin-tone {\n transform: scale(0.85) !important;\n}\n\n.skin-tone-button .skin-tone {\n transition: transform var(--duration) var(--easing);\n}\n\n.skin-tone-button[aria-selected] {\n border-left-width: 0;\n border-right-width: 0;\n border-top-color: rgba(0, 0, 0, 0.05);\n border-bottom-color: transparent;\n background-color: var(--em-color-border);\n}\n\n.skin-tone-button[aria-selected] .skin-tone {\n transform: scale(0.9);\n}\n\n.menu {\n z-index: 2;\n position: absolute;\n white-space: nowrap;\n padding: 4px;\n border: 1px solid var(--em-color-border);\n background-color: rgba(var(--em-rgb-background), 0.9);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px);\n border-radius: 10px;\n box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.05);\n transition-property: opacity, transform;\n transition-duration: var(--duration);\n transition-timing-function: var(--easing);\n}\n\n.menu.hidden {\n opacity: 0;\n}\n\n.menu[data-position=bottom] {\n transform-origin: bottom right;\n}\n\n.menu[data-position=bottom].hidden {\n transform: scale(0.9) rotate(-3deg) translateY(5%);\n}\n\n.menu[data-position=top] {\n transform-origin: top right;\n}\n\n.menu[data-position=top].hidden {\n transform: scale(0.9) rotate(3deg) translateY(-5%);\n}\n\n.menu input[type=radio] {\n position: absolute;\n overflow: hidden;\n clip: rect(0 0 0 0);\n width: 1px;\n height: 1px;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\n.menu input[type=radio]:checked + .option {\n box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent));\n}\n\n.option {\n width: 100%;\n padding: 4px 6px;\n border-radius: 6px;\n}\n\n.option:hover {\n color: #fff;\n background-color: rgb(var(--em-rgb-accent));\n}\n\n.skin-tone {\n position: relative;\n display: inline-block;\n width: 16px;\n height: 16px;\n border-radius: 100%;\n overflow: hidden;\n}\n\n.skin-tone:after {\n content: "";\n position: absolute;\n inset: 0;\n border-radius: 100%;\n border: 1px solid rgba(0, 0, 0, 0.8);\n mix-blend-mode: overlay;\n box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff;\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);\n}\n\n.skin-tone-1 {\n background-color: #ffc93a;\n}\n\n.skin-tone-2 {\n background-color: #ffdab7;\n}\n\n.skin-tone-3 {\n background-color: #e7b98f;\n}\n\n.skin-tone-4 {\n background-color: #c88c61;\n}\n\n.skin-tone-5 {\n background-color: #a46134;\n}\n\n.skin-tone-6 {\n background-color: #5d4437;\n}\n\n[data-emoji-set=twitter] .skin-tone:after {\n border-color: rgba(0, 0, 0, 0.5);\n box-shadow: none;\n}\n\n[data-emoji-set=twitter] .skin-tone-1 {\n background-color: #FADE72;\n}\n\n[data-emoji-set=twitter] .skin-tone-2 {\n background-color: #F3DFD0;\n}\n\n[data-emoji-set=twitter] .skin-tone-3 {\n background-color: #EED3A8;\n}\n\n[data-emoji-set=twitter] .skin-tone-4 {\n background-color: #CFAD8D;\n}\n\n[data-emoji-set=twitter] .skin-tone-5 {\n background-color: #A8805D;\n}\n\n[data-emoji-set=twitter] .skin-tone-6 {\n background-color: #765542;\n}\n\n[data-emoji-set=google] .skin-tone:after {\n box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.4);\n}\n\n[data-emoji-set=google] .skin-tone-1 {\n background-color: #F5C748;\n}\n\n[data-emoji-set=google] .skin-tone-2 {\n background-color: #F1D5AA;\n}\n\n[data-emoji-set=google] .skin-tone-3 {\n background-color: #D4B48D;\n}\n\n[data-emoji-set=google] .skin-tone-4 {\n background-color: #AA876B;\n}\n\n[data-emoji-set=google] .skin-tone-5 {\n background-color: #916544;\n}\n\n[data-emoji-set=google] .skin-tone-6 {\n background-color: #61493F;\n}\n\n[data-emoji-set=facebook] .skin-tone:after {\n border-color: rgba(0, 0, 0, 0.4);\n box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff;\n}\n\n[data-emoji-set=facebook] .skin-tone-1 {\n background-color: #F5C748;\n}\n\n[data-emoji-set=facebook] .skin-tone-2 {\n background-color: #F1D5AA;\n}\n\n[data-emoji-set=facebook] .skin-tone-3 {\n background-color: #D4B48D;\n}\n\n[data-emoji-set=facebook] .skin-tone-4 {\n background-color: #AA876B;\n}\n\n[data-emoji-set=facebook] .skin-tone-5 {\n background-color: #916544;\n}\n\n[data-emoji-set=facebook] .skin-tone-6 {\n background-color: #61493F;\n}\n';class Kk extends t.Component{constructor(){super(...arguments),_b(this,"ref",t.createRef()),_b(this,"fetchEmojiData",(async()=>{try{const{data:e}=await Yx.get("https://cdn.jsdelivr.net/npm/@emoji-mart/data");return e}catch(e){return{}}})),_b(this,"onKeyDown",(e=>{let{event:t}=e;return"Escape"===t.key&&(this.props.editor.chain().focus().deleteRange(this.props.range).run(),!0)})),_b(this,"handleSelect",(e=>{this.props.editor.chain().focus().deleteRange(this.props.range).setEmoji(e).run()}))}componentDidMount(){new Vk({...this.props,onEmojiSelect:this.handleSelect,style:{maxWidth:"100%"},theme:"light",native:!0,previewPosition:"none",showSkinTones:!1,data:this.fetchEmojiData,ref:this.ref})}render(){return t.createElement("div",{ref:this.ref,"data-cy":"neeto-editor-emoji-picker"})}}Kk.defaultProps={editor:{},range:{}},Kk.propTypes={editor:Ff.exports.object.isRequired,range:Ff.exports.object};const Yk=e=>{let{editor:n}=e;const i=s(),{Menu:o}=Eb;return t.createElement(Eb,{ref:i,closeOnSelect:!1,customTarget:()=>{var e,n,o;return t.createElement(hb,{icon:yf,iconActive:null==i||null===(e=i.current)||void 0===e||null===(n=e._tippy)||void 0===n||null===(o=n.state)||void 0===o?void 0:o.isVisible,tooltipProps:{content:"Emoji",position:"bottom",delay:[500]},"data-cy":"neeto-editor-fixed-menu-emoji-option-button"})},position:"bottom-start",dropdownProps:{classNames:"neeto-editor-fixed-menu__emoji-dropdown"}},t.createElement(o,null,t.createElement(Kk,{editor:n})))},Qk=e=>{let{editor:n}=e;const{Menu:i,MenuItem:o}=Eb;return t.createElement(Eb,{customTarget:()=>t.createElement(hb,{icon:jf,iconActive:n.isActive("heading"),tooltipProps:{content:"Font Size",position:"bottom",delay:[500]},"data-cy":"neeto-editor-fixed-menu-font-size-option"}),className:"neeto-editor-font-size-wrapper",dropdownProps:{classNames:"ne-dropdown__popup--auto-width"},placement:"bottom-start"},t.createElement(i,null,Ud.map((e=>{let{label:i,value:r}=e;return t.createElement(o.Button,{onClick:()=>{return e=r,n.chain().focus().toggleHeading({level:e}).run();var e},key:r,className:Uc({active:(s=r,n.isActive("heading",{level:s}))}),"data-cy":`neeto-editor-fixed-menu-font-size-option-${i}`},i);var s}))))},Gk=e=>{let{editor:n}=e;const[i,r]=o(""),[s,a]=o(""),[l,c]=o(!1),p=n.isActive("link"),u=()=>a(n.getAttributes("link").href||""),d=()=>c(!1),h=()=>{nb.test(s)?(n.chain().focus().setLink({href:s}).run(),d()):r("Please enter a valid url")};return t.createElement(Eb,{isOpen:l,onClick:()=>c((e=>!e)),onClose:d,customTarget:()=>t.createElement(hb,{icon:nf,iconActive:p,onClick:u,tooltipProps:{content:"Link",position:"bottom",delay:[500]},"data-cy":"neeto-editor-fixed-menu-link-option"}),className:"neeto-editor-link-wrapper",closeOnSelect:!1,position:"bottom"},t.createElement("div",{onKeyDown:e=>{"Escape"===e.key?d():"Enter"===e.key&&h()},className:"neeto-editor-link__item"},t.createElement(Gg,{autoFocus:!0,name:"url",value:s,placeholder:"Paste URL",onFocus:()=>r(""),error:i,onChange:e=>{let{target:{value:t}}=e;return a(t)},"data-cy":"neeto-editor-fixed-menu-link-option-input"}),t.createElement(Vg,{label:"Link",onClick:h,"data-cy":"neeto-editor-fixed-menu-link-option-link-button"}),p&&t.createElement(Vg,{label:"Unlink",onClick:()=>{n.chain().focus().unsetLink().run(),d()},"data-cy":"neeto-editor-fixed-menu-link-option-unlink-button"})))};var Jk=Au((function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t}));const Zk=e=>{let{editor:t,options:n,setImageUploadVisible:i}=e;const o=((e,t)=>({font:[{Icon:wf,command:()=>e.chain().focus().toggleBold().run(),active:e.isActive("bold"),optionName:"bold"},{Icon:Tf,command:()=>e.chain().focus().toggleItalic().run(),active:e.isActive("italic"),optionName:"italic"},{Icon:zf,command:()=>e.chain().focus().toggleUnderline().run(),active:e.isActive("underline"),optionName:"underline"},{Icon:Ef,command:()=>e.chain().focus().toggleStrike().run(),active:e.isActive("strike"),optionName:"strike"},{Icon:Ym,command:()=>e.chain().focus().toggleHighlight().run(),active:e.isActive("highlight"),optionName:"highlight"}],block:[{Icon:ff,command:()=>e.chain().focus().toggleBlockquote().run(),active:e.isActive("blockquote"),optionName:"block-quote",highlight:!0},{Icon:Bm,command:()=>e.chain().focus().toggleCodeBlock().run(),active:e.isActive("codeBlock"),optionName:"code-block",highlight:!0},{Icon:Gm,command:()=>t(!0),active:e.isActive("imageUpload"),optionName:"image-upload"}],list:[{Icon:rf,command:()=>e.chain().focus().toggleBulletList().run(),active:e.isActive("bulletList"),optionName:"bullet-list",highlight:!0},{Icon:af,command:()=>e.chain().focus().toggleOrderedList().run(),active:e.isActive("orderedList"),optionName:"ordered-list",highlight:!0}]}))(t,i);return Jk(["font","block","list"].map((e=>[e,o[e].filter((e=>n.includes(e.optionName)))])))},Xk=e=>{let{size:n="medium",user:i={},isSquare:r=!1,status:s=null,onClick:a=(()=>{}),className:l="",...c}=e;const[p,u]=o(!1),{name:d="",imageUrl:h}=i,m="medium"===n,f="large"===n,g="extraLarge"===n,b=(e=>{if(e&&"string"==typeof e){const t=e.trim().split(" "),n=t.reduce(((e,n,i)=>(0!==i&&i!==t.length-1||(e=`${e}${n.charAt(0).toUpperCase()}`),e)),"");return n}return""})(d),v={height:_g[n],width:_g[n]},y=Uc("ne-avatar ",{"ne-avatar--medium":m,"ne-avatar--large":f,"ne-avatar--xlarge":g,"ne-avatar--round":!r,hidden:p}),x=Uc("ne-avatar__text",{"ne-avatar__text-medium":m,"ne-avatar__text-large":f,"ne-avatar__text-xlarge":g}),w=Uc("ne-avatar__status",`${s}`,{"ne-avatar__status-medium":m,"ne-avatar__status-large":f,"ne-avatar__status-xlarge":g,"ne-avatar__status-square":r}),k=()=>Dd(s)?t.Fragment:t.createElement("span",{className:w,"data-testid":"indicator"}),E=()=>t.createElement("span",{className:x,"data-testid":"initials"},b),_=b&&!(h&&!p);return t.createElement("span",S({onClick:a,style:v,className:Uc("ne-avatar--container ne-select-none",{"ne-avatar--container-round":!r},l,(()=>{const e=(b.charCodeAt(0)||0)+(b.charCodeAt(1)||0);return Mg[e%65%Mg.length]||Mg[0]})())},c),t.createElement(k,null),_?t.createElement(E,null):t.createElement("img",{className:y,onError:()=>u(!0),src:h||Cg,alt:`avatar-${b}`,"data-chromatic":"ignore"}))};Xk.propTypes={size:Ff.exports.oneOf(Object.keys(_g)),user:Ff.exports.shape({imageUrl:Ff.exports.string,name:Ff.exports.string}),isSquare:Ff.exports.bool,onClick:Ff.exports.func,status:Ff.exports.oneOf(Object.keys({online:"online",idle:"idle",offline:"offline"})),className:Ff.exports.string};var eE=Ru;var tE="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var r in o)eE(r,o)&&(t[r]=o[r]);n+=1}return t},nE=tE,iE=zu((function(e,t){return nE({},t,e)})),oE=iE;const rE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(((e,n)=>oE(e,{showImage:t,key:`${Td(e.name)}-${n}`}))).sort(((e,t)=>e.name.localeCompare(t.name)))},sE=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=rE(e,t);return e=>{let{query:t}=e;return n.filter((e=>{let{name:n}=e;return n.toLocaleLowerCase().includes(t.toLocaleLowerCase())}))}},aE=e=>{let{editor:n,mentions:i,showImageInMention:o}=e;const r=s(),a=rE(i,o),{Menu:l,MenuItem:c}=Eb;return Md(a)?null:t.createElement(Eb,{ref:r,customTarget:()=>{var e,n,i;return t.createElement(hb,{icon:Wm,iconActive:null==r||null===(e=r.current)||void 0===e||null===(n=e._tippy)||void 0===n||null===(i=n.state)||void 0===i?void 0:i.isVisible,tooltipProps:{content:"Mention",position:"bottom",delay:[500]},"data-cy":"neeto-editor-mention-option"})}},t.createElement(l,null,a.map((e=>{let{key:i,name:r,imageUrl:s}=e;return t.createElement(c.Button,{key:i,onClick:()=>n.commands.setMention({id:i,label:r}),"data-cy":`neeto-editor-mention-option-${i}`},o&&t.createElement(Xk,{size:"small",user:{name:r,imageUrl:s}}),t.createElement("span",null,r))}))))},lE=e=>{let{onClickVariable:n,variables:i}=e;const o=function(){const e=[],t=[];return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((n=>{const{category_key:i,category_label:o,variables:r}=n;if(i&&r){const e=r.map((e=>({...e,category_key:i})));t.push({label:o,variables:e})}else e.push(n)})),e.length&&t.push({label:t.length?"Others":null,variables:e}),t}(i);return i&&i.length?t.createElement("div",{className:"neeto-editor-variables-list"},o.map(((e,i)=>{let{label:o,variables:r}=e;return t.createElement(cE,{key:i,index:i,title:o,variables:r,onClickItem:n})}))):null},cE=e=>{let{index:n,title:i,variables:o,onClickItem:r}=e;return t.createElement("div",{className:"neeto-editor-variables-block","data-cy":`neeto-editor-variable-option-category-${n}`},i&&t.createElement("h6",null,i),t.createElement("div",{className:"neeto-editor-variables-row"},o.map((e=>t.createElement("button",{type:"button",onClick:()=>r(e),key:`${e.label}--${e.value}`,className:"neeto-editor-variable","data-cy":`neeto-editor-variable-option-item-${e.label}--${e.value}`},e.label)))))},pE=e=>{let{editor:n,variables:i}=e;const o=s(),{Menu:r}=Eb;return i&&i.length?t.createElement(Eb,{ref:o,customTarget:()=>{var e,n,i;return t.createElement(hb,{icon:Im,iconActive:null==o||null===(e=o.current)||void 0===e||null===(n=e._tippy)||void 0===n||null===(i=n.state)||void 0===i?void 0:i.isVisible,tooltipProps:{content:"Variables",position:"bottom",delay:[500]},"data-cy":"neeto-editor-variable-option"})}},t.createElement(r,null,t.createElement(lE,{onClickVariable:e=>{const{category_key:t,key:i}=e,o=t?`${t}.${i}`:i;n.chain().focus().setVariable({label:o}).run()},variables:i}))):null},uE=e=>{let{editor:n,variables:i,setImageUploadVisible:r,options:s,mentions:a,showImageInMention:l}=e;const[c,p]=o(!1),u=n&&n.view.state.selection.node,d=u&&"image"===u.type.name;if(!n)return null;const{font:h,block:m,list:f}=Zk({editor:n,options:s,setImageUploadVisible:r}),g=s.filter((e=>e.match(/^h[1-6]$/))).length>0,b=s.includes(Bd.EMOJI),v=s.includes(Bd.LINK),y=(e,n)=>{let{Icon:i,command:o,active:r,optionName:s,highlight:a}=e;return t.createElement(hb,{key:n,icon:i,iconActive:r,highlight:a,onClick:o,tooltipProps:{content:Od(s),position:"bottom",delay:[500]},"data-cy":`neeto-editor-fixed-menu-${s}-option`})};return t.createElement("div",{className:"neeto-editor-fixed-menu"},g&&t.createElement(Qk,{editor:n}),h.map(y),b&&t.createElement(Yk,{editor:n}),v&&t.createElement(Gk,{editor:n}),m.map(y),f.map(y),d&&Xg({editor:n,isImageEditorModalOpen:c,setIsImageEditorModalOpen:p}).map(((e,n)=>{let{Icon:i,command:o,active:r,optionName:s}=e;return t.createElement(hb,{key:n,icon:i,iconActive:r,onClick:o,tooltipProps:{content:Od(s),position:"bottom",delay:[500]},"data-cy":`neeto-editor-fixed-menu-${s}-option`})})),t.createElement("div",{className:"neeto-editor-fixed-menu-addons"},t.createElement(pE,{editor:n,variables:i}),t.createElement(aE,{editor:n,mentions:a,showImageInMention:l})),t.createElement(Yg,{isOpen:c,onClose:()=>p(!1)},t.createElement("div",{className:"neeto-editor-image-uploader"},t.createElement("div",{className:"neeto-editor-image-uploader__content"},t.createElement(Jg,{editor:n,onClose:()=>p(!1),url:null==u?void 0:u.attrs.src,alt:null==u?void 0:u.attrs.alt})))))},dE=()=>{},hE=e=>{let{active:n,className:i="",children:o,icon:r=null,onClick:s=dE,...a}=e;const l="button",c="string"==typeof r?()=>t.createElement("i",{className:r,"data-cy":"ne-tab-item-icon","data-testid":"ne-tab-icon"}):r||t.Fragment;return t.createElement(l,S({className:Uc(["ne-tab",i],{active:n}),onClick:s,"data-cy":"tab-item"},a),r&&t.createElement(c,{className:"ne-tab__icon"}),o)};hE.displayName="Tab.Item",hE.propTypes={active:Ff.exports.bool,className:Ff.exports.string,children:Ff.exports.node,icon:Ff.exports.oneOfType([Ff.exports.string,Ff.exports.elementType]),onClick:Ff.exports.func,activeClassName:Ff.exports.string};const mE={large:"large",small:"small"},fE=e=>{let{size:n=mE.small,noUnderline:i=!1,children:o,className:r="",...s}=e;return t.createElement("div",S({className:Uc({"ne-tab__wrapper":!0},{"ne-tab__wrapper--size-large":n===mE.large},{"ne-tab__wrapper--size-small":n===mE.small},{"ne-tab__wrapper--underline-none":i},[r]),"data-cy":"tab-container"},s),o)};fE.propTypes={noUnderline:Ff.exports.bool,size:Ff.exports.oneOf(Object.values(mE)),children:Ff.exports.node,className:Ff.exports.string},fE.Item=hE;const gE={autoProceed:!0,allowMultipleUploads:!1,restrictions:{maxFileSize:5*1024*1024,allowedFileTypes:[".jpg",".jpeg",".png",".gif"]}},bE={formData:!0,fieldName:"blob"},vE=[{title:"Upload",key:"local"},{title:"Link",key:"link"},{title:"Unsplash",key:"unsplash"}];var yE={exports:{}},xE={};function wE(e){return e<10?`0${e}`:e.toString()}var kE=function(){const e=new Date;return`${wE(e.getHours())}:${wE(e.getMinutes())}:${wE(e.getSeconds())}`};Object.defineProperty(xE,"__esModule",{value:!0}),xE.justErrorsLogger=xE.debugLogger=void 0;const EE=kE,_E={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${EE()}]`,...t)}};xE.justErrorsLogger=_E;const ME={debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${EE()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${EE()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${EE()}]`,...t)}};xE.debugLogger=ME;let CE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";var DE={nanoid:(e=21)=>{let t="",n=e;for(;n--;)t+=CE[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let i="",o=n;for(;o--;)i+=e[Math.random()*e.length|0];return i}},OE={},TE=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var i=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,i));var o=n[i];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function NE(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}NE.prototype.match=function(e){var t,n,i=!0,o=this.parts,r=o.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;i&&t<r;t++)"*"!==o[t]&&(i=t<n.length&&o[t]===n[t]);i=i&&n}else i=!1;else if("function"==typeof e.splice)for(i=[],t=e.length;t--;)this.match(e[t])&&(i[i.length]=e[t]);else if("object"==typeof e)for(var s in i={},e)this.match(s)&&(i[s]=e[s]);return i};var SE=function(e,t,n){var i=new NE(e,n||/[\/\.]/);return void 0!==t?i.match(t):i},AE=/[\/\+\.]/;Object.defineProperty(OE,"__esModule",{value:!0}),OE.defaultOptions=OE.RestrictionError=OE.Restricter=void 0;const jE=TE,IE=function(e,t){function n(t){var n=SE(t,e,AE);return n&&n.length>=2}return t?n(t.split(";")[0]):n};OE.defaultOptions={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};class zE extends Error{constructor(){super(...arguments),this.isRestriction=!0}}OE.RestrictionError=zE,"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});function LE(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}OE.Restricter=class{constructor(e,t){this.i18n=t,this.getOpts=()=>{const t=e();if(null!=t.restrictions.allowedFileTypes&&!Array.isArray(t.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");return t}}validate(e,t){const{maxFileSize:n,minFileSize:i,maxTotalFileSize:o,maxNumberOfFiles:r,allowedFileTypes:s}=this.getOpts().restrictions;if(r&&t.length+1>r)throw new zE(`${this.i18n("youCanOnlyUploadX",{smart_count:r})}`);if(s){const t=s.some((t=>t.includes("/")?!!e.type&&IE(e.type.replace(/;.*?$/,""),t):!("."!==t[0]||!e.extension)&&e.extension.toLowerCase()===t.slice(1).toLowerCase()));if(!t){const e=s.join(", ");throw new zE(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}}if(o&&null!=e.size){const n=t.reduce(((e,t)=>e+t.size),e.size);if(n>o)throw new zE(this.i18n("exceedsSize",{size:jE(o),file:e.name}))}if(n&&null!=e.size&&e.size>n)throw new zE(this.i18n("exceedsSize",{size:jE(n),file:e.name}));if(i&&null!=e.size&&e.size<i)throw new zE(this.i18n("inferiorSize",{size:jE(i)}))}validateMinNumberOfFiles(e){const{minNumberOfFiles:t}=this.getOpts().restrictions;if(Object.keys(e).length<t)throw new zE(this.i18n("youHaveToAtLeastSelectX",{smart_count:t}))}getMissingRequiredMetaFields(e){const t=new zE(this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})),{requiredMetaFields:n}=this.getOpts().restrictions,i=Object.prototype.hasOwnProperty,o=[];for(const t of n)i.call(e.meta,t)&&""!==e.meta[t]||o.push(t);return{missingFields:o,error:t}}};var RE=0;function FE(e){return"__private_"+RE+++"_"+e}const PE=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};function BE(e,t,n){const i=[];return e.forEach((e=>"string"!=typeof e?i.push(e):t[Symbol.split](e).forEach(((e,t,o)=>{""!==e&&i.push(e),t<o.length-1&&i.push(n)})))),i}
|
|
33
33
|
/**
|
|
34
34
|
* Takes a string with placeholder variables like `%{smart_count} file selected`
|
|
35
35
|
* and replaces it with values from options `{smart_count: 5}`
|