1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="10d1d84c-8799-42f9-9bdd-25d508dcf92d",t._sentryDebugIdIdentifier="sentry-dbid-10d1d84c-8799-42f9-9bdd-25d508dcf92d")}()}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7251,349],{54229:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(t&&e){var n=Array.isArray(e)?e:e.split(",");if(0===n.length)return!0;var i=t.name||"",r=(t.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return n.some(function(t){var e=t.trim().toLowerCase();return"."===e.charAt(0)?i.toLowerCase().endsWith(e):e.endsWith("/*")?o===e.replace(/\/.*$/,""):r===e})}return!0}},88964:function(t,e,n){"use strict";var i=n(124);function r(){}function o(){}o.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,o,a){if(a!==i){var s=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 e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},50349:function(t,e,n){t.exports=n(88964)()},124:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},31298:function(t,e,n){"use strict";var i=n(23329),r="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=i.useState,a=i.useEffect,s=i.useLayoutEffect,l=i.useDebugValue;function p(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!r(t,n)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),i=o({inst:{value:n,getSnapshot:e}}),r=i[0].inst,c=i[1];return s(function(){r.value=n,r.getSnapshot=e,p(r)&&c({inst:r})},[t,n,e]),a(function(){return p(r)&&c({inst:r}),t(function(){p(r)&&c({inst:r})})},[t]),l(n),n};e.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},56719:function(t,e,n){"use strict";var i=n(23329),r=n(82221),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=r.useSyncExternalStore,s=i.useRef,l=i.useEffect,p=i.useMemo,c=i.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,i,r){var d=s(null);if(null===d.current){var u={hasValue:!1,value:null};d.current=u}else u=d.current;var h=a(t,(d=p(function(){function t(t){if(!l){if(l=!0,a=t,t=i(t),void 0!==r&&u.hasValue){var e=u.value;if(r(e,t))return s=e}return s=t}if(e=s,o(a,t))return e;var n=i(t);return void 0!==r&&r(e,n)?(a=t,e):(a=t,s=n)}var a,s,l=!1,p=void 0===n?null:n;return[function(){return t(e())},null===p?void 0:function(){return t(p())}]},[e,n,i,r]))[0],d[1]);return l(function(){u.hasValue=!0,u.value=h},[h]),c(h),h}},82221:function(t,e,n){"use strict";t.exports=n(31298)},93442:function(t,e,n){"use strict";t.exports=n(56719)},12651:function(t,e,n){"use strict";n.d(e,{vZ:function(){return z}});let{getOwnPropertyNames:i,getOwnPropertySymbols:r}=Object,{hasOwnProperty:o}=Object.prototype;function a(t,e){return function(n,i,r){return t(n,i,r)&&e(n,i,r)}}function s(t){return function(e,n,i){if(!e||!n||"object"!=typeof e||"object"!=typeof n)return t(e,n,i);let{cache:r}=i,o=r.get(e),a=r.get(n);if(o&&a)return o===n&&a===e;r.set(e,n),r.set(n,e);let s=t(e,n,i);return r.delete(e),r.delete(n),s}}function l(t){return i(t).concat(r(t))}let p=Object.hasOwn||((t,e)=>o.call(t,e));function c(t,e){return t===e||!t&&!e&&t!=t&&e!=e}let{getOwnPropertyDescriptor:d,keys:u}=Object;function h(t,e){return t.byteLength===e.byteLength&&C(new Uint8Array(t),new Uint8Array(e))}function f(t,e,n){let i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!n.equals(t[i],e[i],i,i,t,e,n))return!1;return!0}function m(t,e){return t.byteLength===e.byteLength&&C(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function g(t,e){return c(t.getTime(),e.getTime())}function v(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function x(t,e){return t===e}function y(t,e,n){let i,r;let o=t.size;if(o!==e.size)return!1;if(!o)return!0;let a=Array(o),s=t.entries(),l=0;for(;(i=s.next())&&!i.done;){let o=e.entries(),s=!1,p=0;for(;(r=o.next())&&!r.done;
1){if(a[p]){p++;continue}let o=i.value,c=r.value;if(n.equals(o[0],c[0],l,p,t,e,n)&&n.equals(o[1],c[1],o[0],c[0],t,e,n)){s=a[p]=!0;break}p++}if(!s)return!1;l++}return!0}function b(t,e,n){let i=u(t),r=i.length;if(u(e).length!==r)return!1;for(;r-- >0;)if(!A(t,e,n,i[r]))return!1;return!0}function w(t,e,n){let i,r,o;let a=l(t),s=a.length;if(l(e).length!==s)return!1;for(;s-- >0;)if(!A(t,e,n,i=a[s])||(r=d(t,i),o=d(e,i),(r||o)&&(!r||!o||r.configurable!==o.configurable||r.enumerable!==o.enumerable||r.writable!==o.writable)))return!1;return!0}function k(t,e){return c(t.valueOf(),e.valueOf())}function S(t,e){return t.source===e.source&&t.flags===e.flags}function E(t,e,n){let i,r;let o=t.size;if(o!==e.size)return!1;if(!o)return!0;let a=Array(o),s=t.values();for(;(i=s.next())&&!i.done;){let o=e.values(),s=!1,l=0;for(;(r=o.next())&&!r.done;){if(!a[l]&&n.equals(i.value,r.value,i.value,r.value,t,e,n)){s=a[l]=!0;break}l++}if(!s)return!1}return!0}function C(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function O(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function A(t,e,n,i){return("_owner"===i||"__o"===i||"__v"===i)&&(!!t.$$typeof||!!e.$$typeof)||p(e,i)&&n.equals(t[i],e[i],i,i,t,e,n)}let j={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},T=Object.prototype.toString,z=R();function R(t={}){let{circular:e=!1,createInternalComparator:n,createState:i,strict:r=!1}=t,o=function({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:i,areErrorsEqual:r,areFunctionsEqual:o,areMapsEqual:a,areNumbersEqual:s,areObjectsEqual:l,arePrimitiveWrappersEqual:p,areRegExpsEqual:c,areSetsEqual:d,areTypedArraysEqual:u,areUrlsEqual:h,unknownTagComparators:f}){return function(m,g,v){if(m===g)return!0;if(null==m||null==g)return!1;let x=typeof m;if(x!==typeof g)return!1;if("object"!==x)return"number"===x?s(m,g,v):"function"===x&&o(m,g,v);let y=m.constructor;if(y!==g.constructor)return!1;if(y===Object)return l(m,g,v);if(Array.isArray(m))return e(m,g,v);if(y===Date)return i(m,g,v);if(y===RegExp)return c(m,g,v);if(y===Map)return a(m,g,v);if(y===Set)return d(m,g,v);let b=T.call(m);if("[object Date]"===b)return i(m,g,v);if("[object RegExp]"===b)return c(m,g,v);if("[object Map]"===b)return a(m,g,v);if("[object Set]"===b)return d(m,g,v);if("[object Object]"===b)return"function"!=typeof m.then&&"function"!=typeof g.then&&l(m,g,v);if("[object URL]"===b)return h(m,g,v);if("[object Error]"===b)return r(m,g,v);if("[object Arguments]"===b)return l(m,g,v);if(j[b])return u(m,g,v);if("[object ArrayBuffer]"===b)return t(m,g,v);if("[object DataView]"===b)return n(m,g,v);if("[object Boolean]"===b||"[object Number]"===b||"[object String]"===b)return p(m,g,v);if(f){let t=f[b];if(!t){let e=null!=m?m[Symbol.toStringTag]:void 0;e&&(t=f[e])}if(t)return t(m,g,v)}return!1}}(function({circular:t,createCustomConfig:e,strict:n}){let i={areArrayBuffersEqual:h,areArraysEqual:n?w:f,areDataViewsEqual:m,areDatesEqual:g,areErrorsEqual:v,areFunctionsEqual:x,areMapsEqual:n?a(y,w):y,areNumbersEqual:c,areObjectsEqual:n?w:b,arePrimitiveWrappersEqual:k,areRegExpsEqual:S,areSetsEqual:n?a(E,w):E,areTypedArraysEqual:n?a(C,w):C,areUrlsEqual:O,unknownTagComparators:void 0};if(e&&(i=Object.assign({},i,e(i))),t){let t=s(i.areArraysEqual),e=s(i.areMapsEqual),n=s(i.areObjectsEqual),r=s(i.areSetsEqual);i=Object.assign({},i,{areArraysEqual:t,areMapsEqual:e,areObjectsEqual:n,areSetsEqual:r})}return i}(t)),l=n?n(o):function(t,e,n,i,r,a,s){return o(t,e,s)};return function({circular:t,comparator:e,createState:n,equals:i,strict:r}){if(n)return function(o,a){let{cache:s=t?new WeakMap:void 0,meta:l}=n();return e(o,a,{cache:s,equals:i,meta:l,strict:r})};if(t)return function(t,n){return e(t,n,{cache:new WeakMap,equals:i,meta:void 0,strict:r})};let o={cache:void 0,equals:i,meta:void 0,strict:r};return function(t,n){return e(t,n,o)}}({circular:e,comparator:o,createState:i,equals:l,strict:r})}R({strict:!0}
1),R({circular:!0}),R({circular:!0,strict:!0}),R({createInternalComparator:()=>c}),R({strict:!0,createInternalComparator:()=>c}),R({circular:!0,createInternalComparator:()=>c}),R({circular:!0,createInternalComparator:()=>c,strict:!0})},72071:function(t,e,n){"use strict";n.d(e,{mc:function(){return tD},sE:function(){return tL},wS:function(){return tP},zR:function(){return tF}});let i="numeric",r="ascii",o="alpha",a="asciinumeric",s="alphanumeric",l="domain",p="emoji",c="whitespace";function d(t,e,n){for(let c in e[i]&&(e[a]=!0,e[s]=!0),e[r]&&(e[a]=!0,e[o]=!0),e[a]&&(e[s]=!0),e[o]&&(e[s]=!0),e[s]&&(e[l]=!0),e[p]&&(e[l]=!0),e){let e=(c in n||(n[c]=[]),n[c]);0>e.indexOf(t)&&e.push(t)}}function u(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}u.groups={},u.prototype={accepts(){return!!this.t},go(t){let e=this.j[t];if(e)return e;for(let e=0;e<this.jr.length;e++){let n=this.jr[e][0],i=this.jr[e][1];if(i&&n.test(t))return i}return this.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,n,i){for(let r=0;r<t.length;r++)this.tt(t[r],e,n,i)},tr(t,e,n,i){let r;return i=i||u.groups,e&&e.j?r=e:(r=new u(e),n&&i&&d(e,n,i)),this.jr.push([t,r]),r},ts(t,e,n,i){let r=this,o=t.length;if(!o)return r;for(let e=0;e<o-1;e++)r=r.tt(t[e]);return r.tt(t[o-1],e,n,i)},tt(t,e,n,i){if(i=i||u.groups,e&&e.j)return this.j[t]=e,e;let r,o=this.go(t);return o?(Object.assign((r=new u).j,o.j),r.jr.push.apply(r.jr,o.jr),r.jd=o.jd,r.t=o.t):r=new u,e&&(i&&(r.t&&"string"==typeof r.t?d(e,Object.assign(function(t,e){let n={};for(let i in e)e[i].indexOf(t)>=0&&(n[i]=!0);return n}(r.t,i),n),i):n&&d(e,n,i)),r.t=e),this.j[t]=r,r}};let h=(t,e,n,i,r)=>t.ta(e,n,i,r),f=(t,e,n,i,r)=>t.tr(e,n,i,r),m=(t,e,n,i,r)=>t.ts(e,n,i,r),g=(t,e,n,i,r)=>t.tt(e,n,i,r),v="WORD",x="UWORD",y="ASCIINUMERICAL",b="ALPHANUMERICAL",w="LOCALHOST",k="UTLD",S="SCHEME",E="SLASH_SCHEME",C="OPENBRACE",O="CLOSEBRACE",A="OPENBRACKET",j="CLOSEBRACKET",T="OPENPAREN",z="CLOSEPAREN",R="OPENANGLEBRACKET",M="CLOSEANGLEBRACKET",I="FULLWIDTHLEFTPAREN",N="FULLWIDTHRIGHTPAREN",D="LEFTCORNERBRACKET",F="RIGHTCORNERBRACKET",P="LEFTWHITECORNERBRACKET",L="RIGHTWHITECORNERBRACKET",B="FULLWIDTHLESSTHAN",q="FULLWIDTHGREATERTHAN",$="AMPERSAND",H="APOSTROPHE",J="ASTERISK",_="BACKSLASH",W="BACKTICK",Y="CARET",U="COLON",V="COMMA",K="DOLLAR",G="EQUALS",Q="EXCLAMATION",X="HYPHEN",Z="PERCENT",tt="PIPE",te="PLUS",tn="POUND",ti="QUERY",tr="QUOTE",to="FULLWIDTHMIDDLEDOT",ta="SEMI",ts="SLASH",tl="TILDE",tp="UNDERSCORE",tc="EMOJI";var td=Object.freeze({__proto__:null,ALPHANUMERICAL:b,AMPERSAND:$,APOSTROPHE:H,ASCIINUMERICAL:y,ASTERISK:J,AT:"AT",BACKSLASH:_,BACKTICK:W,CARET:Y,CLOSEANGLEBRACKET:M,CLOSEBRACE:O,CLOSEBRACKET:j,CLOSEPAREN:z,COLON:U,COMMA:V,DOLLAR:K,DOT:"DOT",EMOJI:tc,EQUALS:G,EXCLAMATION:Q,FULLWIDTHGREATERTHAN:q,FULLWIDTHLEFTPAREN:I,FULLWIDTHLESSTHAN:B,FULLWIDTHMIDDLEDOT:to,FULLWIDTHRIGHTPAREN:N,HYPHEN:X,LEFTCORNERBRACKET:D,LEFTWHITECORNERBRACKET:P,LOCALHOST:w,NL:"NL",NUM:"NUM",OPENANGLEBRACKET:R,OPENBRACE:C,OPENBRACKET:A,OPENPAREN:T,PERCENT:Z,PIPE:tt,PLUS:te,POUND:tn,QUERY:ti,QUOTE:tr,RIGHTCORNERBRACKET:F,RIGHTWHITECORNERBRACKET:L,SCHEME:S,SEMI:ta,SLASH:ts,SLASH_SCHEME:E,SYM:"SYM",TILDE:tl,TLD:"TLD",UNDERSCORE:tp,UTLD:k,UWORD:x,WORD:v,WS:"WS"});let tu=/[a-z]/,th=/\p{L}/u,tf=/\p{Emoji}/u,tm=/\d/,tg=/\s/,tv=null,tx=null;function ty(t,e){let n=function(t){let e=[],n=t.length,i=0;for(;i<n;){let r,o=t.charCodeAt(i),a=o<55296||o>56319||i+1===n||(r=t.charCodeAt(i+1))<56320||r>57343?t[i]:t.slice(i,i+2);e.push(a),i+=a.length}return e}(e.replace(/[A-Z]/g,t=>t.toLowerCase())),i=n.length,r=[],o=0,a=0;for(;a<i;){let s=t,l=null,p=0,c=null,d=-1,u=-1;for(;a<i&&(l=s.go(n[a]));)(s=l).accepts()?(d=0,u=0,c=s):d>=0&&(d+=n[a].length,u++),p+=n[a].length,o+=n[a].length,a++;o-=d,a-=u,p-=d,r.push({t:c.t,v:e.slice(o-p,o),s:o-p,e:o})}return r}function tb(t,e,n,i,r){let o;let a=e.length;for(let n=0;n<a-1;n++){let a=e[n];t.j[a]?o=t.j[a]:((o=new u(i)).jr=r.slice(),t.j[a]=o),t=o}return(o=new u(n)).jr=r.slice(),t.j[e[a-1]]=o,o}function tw(t){let e=[],n=[],i=0;for(;i<t.length;){let r=0;for(;"0123456789".indexOf(t[i+r])>=0;)r++;if(r>0){e.push(n.join(""));for(let e=parseInt(t.substring(i,i+r),10);e>0;e--)n.pop();i+=r}else n.push(t[i]),i++}return e}let tk={defaultProtocol:"http",events:null,format:tE,formatHref:tE,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function tS(t,e=null){let n=Object.assign({},tk);t&&(n=Object.assign(n,t instanceof tS?t.o:t));let i=n.ignoreTags,r=[];for(let t=0;t<i.length;t++)r.push(i[t].toUpperCase());this.o=n,e&&(this.defaultRender=e),this.ignoreTags=r}function tE(t){return t}function tC(t,e){this.t="token",this.v=t,this.tk=e}
1function tO(t,e){class n extends tC{constructor(e,n){super(e,n),this.t=t}}for(let t in e)n.prototype[t]=e[t];return n.t=t,n}tS.prototype={o:tk,ignoreTags:[],defaultRender:t=>t,check(t){return this.get("validate",t.toString(),t)},get(t,e,n){let i=null!=e,r=this.o[t];return r&&("object"==typeof r?"function"==typeof(r=n.t in r?r[n.t]:tk[t])&&i&&(r=r(e,n)):"function"==typeof r&&i&&(r=r(e,n.t,n))),r},getObj(t,e,n){let i=this.o[t];return"function"==typeof i&&null!=e&&(i=i(e,n.t,n)),i},render(t){let e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},tC.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){let e=this.toString(),n=t.get("truncate",e,this),i=t.get("format",e,this);return n&&i.length>n?i.substring(0,n)+"â¦":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=tk.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){let e=this.toHref(t.get("defaultProtocol")),n=t.get("formatHref",e,this),i=t.get("tagName",e,this),r=this.toFormattedString(t),o={},a=t.get("className",e,this),s=t.get("target",e,this),l=t.get("rel",e,this),p=t.getObj("attributes",e,this),c=t.getObj("events",e,this);return o.href=n,a&&(o.class=a),s&&(o.target=s),l&&(o.rel=l),p&&Object.assign(o,p),{tagName:i,attributes:o,content:r,eventListeners:c}}};let tA=tO("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),tj=tO("text"),tT=tO("nl"),tz=tO("url",{isLink:!0,toHref(t=tk.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){let t=this.tk;return t.length>=2&&t[0].t!==w&&t[1].t===U}}),tR=t=>new u(t);function tM(t,e,n){let i=n[0].s,r=n[n.length-1].e;return new t(e.slice(i,r),n)}let tI="undefined"!=typeof console&&console&&console.warn||(()=>{}),tN={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function tD(){return u.groups={},tN.scanner=null,tN.parser=null,tN.tokenQueue=[],tN.pluginQueue=[],tN.customSchemes=[],tN.initialized=!1,tN}function tF(t,e=!1){if(tN.initialized&&tI(`linkifyjs: already initialized - will not register custom scheme "${t}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw Error(`linkifyjs: incorrect scheme format. 21. Must only contain digits, lowercase ASCII letters or "-" 32. Cannot start or end with "-" 43. "-" cannot repeat`);tN.customSchemes.push([t,e])}function tP(t){return tN.initialized||function(){tN.scanner=function(t=[]){let e={};u.groups=e;let n=new u;null==tv&&(tv=tw("aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2
4ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==tx&&(tx=tw("ελ1Ï
2бг1ел3деÑи4еÑ2каÑолик6ом3мÐ
4ºÐ´2он1Ñква6онлайн5Ñг3ÑÑÑ2Ñ2ÑайÑ3Ñб3ÑкÑ3Òаз3Õ°Õ¡Õµ3×שר××5×§××3Ø§Ø¨ÙØ¸Ø¨Ù5راÙ
ÙÙ5ÙØ§Ø±Ø¯Ù4Ø¨ØØ±ÙÙ5جزائر5Ø³Ø¹ÙØ¯ÙØ©6عÙÙØ§Ù5Ù
غرب5Ù
ارات5ÛØ±Ø§Ù5بارت2زار4ÙØªÙ3ھارت5تÙÙØ³4Ø³ÙØ¯Ø§Ù3Ø±ÙØ©5Ø´Ø¨ÙØ©4عراÙ2ب2Ù
اÙ4ÙÙØ³Ø·ÙÙ6ÙØ·Ø±3ÙØ§Ø«ÙÙÙÙ6ÙÙ
3Ù
صر2ÙÙØ³Ùا5ÙØ±ÙتاÙÙØ§7ÙØ¹4ÙÙ
راÙ5پاکستاÙ7ÚØ§Ø±Øª4à¤à¥à¤®3नà¥à¤3à¤à¤¾à¤°à¤¤0मà¥3à¥à¤¤5सà¤à¤à¤ न5বাà¦à¦²à¦¾5à¦à¦¾à¦°à¦¤2ৰত4à¨à¨¾à¨°à¨¤4àªàª¾àª°àª¤4à¬à¬¾à¬°à¬¤4à®à®¨à¯à®¤à®¿à®¯à®¾6லà®à¯à®à¯6à®à®¿à®à¯à®à®ªà¯à®ªà¯à®°à¯11à°à°¾à°°à°¤à±5à²à²¾à²°à²¤4à´à´¾à´°à´¤à´5à¶½à¶à¶à·4à¸à¸à¸¡3à¹à¸à¸¢3ລາວ3áá2ã¿ããª3ã¢ãã¾ã³4ã¯ã©ã¦ã4ã°ã¼ã°ã«4ã³ã 2ã¹ãã¢3ã»ã¼ã«3ãã¡ãã·ã§ã³6ãã¤ã³ã4ä¸ç2ä¸ä¿¡1å½1å1æç½3äºé©¬é3ä¼ä¸2ä½å±±2ä¿¡æ¯2å¥åº·2å
«å¦2å
¬å¸1ç2å°æ¹¾1ç£2åå1åº1æ 2åé0大é
åº5å¨çº¿2大æ¿2天主æ3娱ä¹2å®¶é»2广ä¸2å¾®å2æ
å2æç±ä½ 3ææº2æè2æ¿å¡1åº2æ°å å¡2é»2æ¶å°2æ¸ç±2æºæ2淡马é¡3游æ2æ¾³é2ç¹ç2ç§»å¨2ç»ç»æºæ4ç½å1åº1ç«1ç»2èé2è°·æ2è´ç©2é販2éå¢2é»è¨çç§4é£å©æµ¦3é£å2é¤å
2馿 ¼éæ3港2ë·ë·1ì»´2ì¼ì±2íêµ2")),g(n,"'",H),g(n,"{",C),g(n,"}",O),g(n,"[",A),g(n,"]",j),g(n,"(",T),g(n,")",z),g(n,"<",R),g(n,">",M),g(n,"ï¼",I),g(n,"ï¼",N),g(n,"ã",D),g(n,"ã",F),g(n,"ã",P),g(n,"ã",L),g(n,"ï¼",B),g(n,"ï¼",q),g(n,"&",$),g(n,"*",J),g(n,"@","AT"),g(n,"`",W),g(n,"^",Y),g(n,":",U),g(n,",",V),g(n,"$",K),g(n,".","DOT"),g(n,"=",G),g(n,"!",Q),g(n,"-",X),g(n,"%",Z),g(n,"|",tt),g(n,"+",te),g(n,"#",tn),g(n,"?",ti),g(n,'"',tr),g(n,"/",ts),g(n,";",ta),g(n,"~",tl),g(n,"_",tp),g(n,"\\",_),g(n,"ã»",to);let h=f(n,tm,"NUM",{[i]:!0});f(h,tm,h);let ty=f(h,tu,y,{[a]:!0}),tk=f(h,th,b,{[s]:!0}),tS=f(n,tu,v,{[r]:!0});f(tS,tm,ty),f(tS,tu,tS),f(ty,tm,ty),f(ty,tu,ty);let tE=f(n,th,x,{[o]:!0});f(tE,tu),f(tE,tm,tk),f(tE,th,tE),f(tk,tm,tk),f(tk,tu),f(tk,th,tk);let tC=g(n,"\n","NL",{[c]:!0}),tO=g(n,"\r","WS",{[c]:!0}),tA=f(n,tg,"WS",{[c]:!0});g(n,"",tA),g(tO,"\n",tC),g(tO,"",tA),f(tO,tg,tA),g(tA,"\r"),g(tA,"\n"),f(tA,tg,tA),g(tA,"",tA);let tj=f(n,tf,tc,{[p]:!0});g(tj,"#"),f(tj,tf,tj),g(tj,"ï¸",tj);let tT=g(tj,"â");g(tT,"#"),f(tT,tf,tj);let tz=[[tu,tS],[tm,ty]],tR=[[tu,null],[th,tE],[tm,tk]];for(let t=0;t<tv.length;t++)tb(n,tv[t],"TLD",v,tz);for(let t=0;t<tx.length;t++)tb(n,tx[t],k,x,tR);d("TLD",{tld:!0,ascii:!0},e),d(k,{utld:!0,alpha:!0},e),tb(n,"file",S,v,tz),tb(n,"mailto",S,v,tz),tb(n,"http",E,v,tz),tb(n,"https",E,v,tz),tb(n,"ftp",E,v,tz),tb(n,"ftps",E,v,tz),d(S,{scheme:!0,ascii:!0},e),d(E,{slashscheme:!0,ascii:!0},e),t=t.sort((t,e)=>t[0]>e[0]?1:-1);for(let e=0;e<t.length;e++){let o=t[e][0],s=t[e][1]?{scheme:!0}:{slashscheme:!0};o.indexOf("-")>=0?s[l]=!0:tu.test(o)?tm.test(o)?s[a]=!0:s[r]=!0:s[i]=!0,m(n,o,o,s)}return m(n,"localhost",w,{ascii:!0}),n.jd=new u("SYM"),{start:n,tokens:Object.assign({groups:e},td)}}(tN.customSchemes);for(let t=0;t<tN.tokenQueue.length;t++)tN.tokenQueue[t][1]({scanner:tN.scanner});tN.parser=function({groups:t}){let e=t.domain.concat([$,J,"AT",_,W,Y,K,G,X,"NUM",Z,tt,te,tn,ts,"SYM",tl,tp]),n=[H,U,V,"DOT",Q,Z,ti,tr,ta,R,M,C,O,j,A,T,z,I,N,D,F,P,L,B,q],i=[$,H,J,_,W,Y,K,G,X,C,O,Z,tt,te,tn,ti,ts,"SYM",tl,tp],r=tR(),o=g(r,tl);h(o,i,o),h(o,t.domain,o);let a=tR(),s=tR(),l=tR();h(r,t.domain,a),h(r,t.scheme,s),h(r,t.slashscheme,l),h(a,i,o),h(a,t.domain,a);let p=g(a,"AT");g(o,"AT",p),g(s,"AT",p),g(l,"AT",p);let c=g(o,"DOT");h(c,i,o),h(c,t.domain,o);let d=tR();h(p,t.domain,d),h(d,t.domain,d);let u=g(d,"DOT");h(u,t.domain,d);let f=tR(tA);h(u,t.tld,f),h(u,t.utld,f),g(p,w,f);let m=g(d,X);g(m,X,m),h(m,t.domain,d),h(f,t.domain,d),g(f,"DOT",u),g(f,X,m),h(g(f,U),t.numeric,tA);let v=g(a,X),x=g(a,"DOT");g(v,X,v),h(v,t.domain,a),h(x,i,o),h(x,t.domain,a);let y=tR(tz);h(x,t.tld,y),h(x,t.utld,y),h(y,t.domain,a),h(y,i,o),g(y,"DOT",x),g(y,X,v),g(y,"AT",p);let b=g(y,U),k=tR(tz);h(b,t.numeric,k);let S=tR(tz),E=tR();h(S,e,S),h(S,n,E),h(E,e,S),h(E,n,E),g(y,ts,S),g(k,ts,S);
4let to=g(s,U),tc=g(l,U),tu=g(tc,ts),th=g(tu,ts);h(s,t.domain,a),g(s,"DOT",x),g(s,X,v),h(l,t.domain,a),g(l,"DOT",x),g(l,X,v),h(to,t.domain,S),g(to,ts,S),g(to,ti,S),h(th,t.domain,S),h(th,e,S),g(th,ts,S);let tf=[[C,O],[A,j],[T,z],[R,M],[I,N],[D,F],[P,L],[B,q]];for(let t=0;t<tf.length;t++){let[i,r]=tf[t],o=g(S,i);g(E,i,o),g(o,r,S);let a=tR(tz);h(o,e,a);let s=tR();h(o,n),h(a,e,a),h(a,n,s),h(s,e,a),h(s,n,s),g(a,r,S),g(s,r,S)}return g(r,w,y),g(r,"NL",tT),{start:r,tokens:td}}(tN.scanner.tokens);for(let t=0;t<tN.pluginQueue.length;t++)tN.pluginQueue[t][1]({scanner:tN.scanner,parser:tN.parser});tN.initialized=!0}(),function(t,e,n){let i=n.length,r=0,o=[],a=[];for(;r<i;){let s=t,l=null,p=null,c=0,d=null,u=-1;for(;r<i&&!(l=s.go(n[r].t));)a.push(n[r++]);for(;r<i&&(p=l||s.go(n[r].t));)l=null,(s=p).accepts()?(u=0,d=s):u>=0&&u++,r++,c++;if(u<0)(r-=c)<i&&(a.push(n[r]),r++);else{a.length>0&&(o.push(tM(tj,e,a)),a=[]),r-=u,c-=u;let t=d.t,i=n.slice(r-c,r);o.push(tM(t,e,i))}}return a.length>0&&o.push(tM(tj,e,a)),o}(tN.parser.start,t,ty(tN.scanner.start,t))}function tL(t,e=null,n=null){if(e&&"object"==typeof e){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);n=e,e=null}let i=new tS(n),r=tP(t),o=[];for(let t=0;t<r.length;t++){let n=r[t];n.isLink&&(!e||n.t===e)&&i.check(n)&&o.push(n.toFormattedObject(i))}return o}tP.scan=ty},94956:function(t,e,n){"use strict";n.d(e,{Ig:function(){return b},MI:function(){return y},N0:function(){return A},NE:function(){return a},QK:function(){return k},U9:function(){return z},X0:function(){return O},Y_:function(){return g},_M:function(){return h},al:function(){return l},cR:function(){return c},mD:function(){return C},nw:function(){return R},o:function(){return v},rr:function(){return p},uJ:function(){return I},uo:function(){return E},xb:function(){return w},ym:function(){return M}});var i=n(66570),r=n(69323),o=n(40160);let a=(t,e)=>!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function s(t,e){let{$cursor:n}=t.selection;return n&&(e?e.endOfTextblock("backward",t):!(n.parentOffset>0))?n:null}let l=(t,e,n)=>{let a=s(t,n);if(!a)return!1;let l=f(a);if(!l){let n=a.blockRange(),r=n&&(0,i.k9)(n);return null!=r&&(e&&e(t.tr.lift(n,r).scrollIntoView()),!0)}let p=l.nodeBefore;if(j(t,l,e,-1))return!0;if(0==a.parent.content.size&&(u(p,"end")||o.qv.isSelectable(p)))for(let n=a.depth;;n--){let s=(0,i.dR)(t.doc,a.before(n),a.after(n),r.p2.empty);if(s&&s.slice.size<s.to-s.from){if(e){let n=t.tr.step(s);n.setSelection(u(p,"end")?o.Y1.findFrom(n.doc.resolve(n.mapping.map(l.pos,-1)),-1):o.qv.create(n.doc,l.pos-p.nodeSize)),e(n.scrollIntoView())}return!0}if(1==n||a.node(n-1).childCount>1)break}return!!p.isAtom&&l.depth==a.depth-1&&(e&&e(t.tr.delete(l.pos-p.nodeSize,l.pos).scrollIntoView()),!0)},p=(t,e,n)=>{let i=s(t,n);if(!i)return!1;let r=f(i);return!!r&&d(t,r,e)},c=(t,e,n)=>{let i=m(t,n);if(!i)return!1;let r=x(i);return!!r&&d(t,r,e)};function d(t,e,n){let a=e.nodeBefore,s=e.pos-1;for(;!a.isTextblock;s--){if(a.type.spec.isolating)return!1;let t=a.lastChild;if(!t)return!1;a=t}let l=e.nodeAfter,p=e.pos+1;for(;!l.isTextblock;p++){if(l.type.spec.isolating)return!1;let t=l.firstChild;if(!t)return!1;l=t}let c=(0,i.dR)(t.doc,s,p,r.p2.empty);if(!c||c.from!=s||c instanceof i.Pu&&c.slice.size>=p-s)return!1;if(n){let e=t.tr.step(c);e.setSelection(o.Bs.create(e.doc,s)),n(e.scrollIntoView())}return!0}function u(t,e,n=!1){for(let i=t;i;i="start"==e?i.firstChild:i.lastChild){if(i.isTextblock)return!0;if(n&&1!=i.childCount)break}return!1}let h=(t,e,n)=>{let{$head:i,empty:r}=t.selection,a=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1;a=f(i)}let s=a&&a.nodeBefore;return!!(s&&o.qv.isSelectable(s))&&(e&&e(t.tr.setSelection(o.qv.create(t.doc,a.pos-s.nodeSize)).scrollIntoView()),!0)};function f(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function m(t,e){let{$cursor:n}=t.selection;return n&&(e?e.endOfTextblock("forward",t):!(n.parentOffset<n.parent.content.size))?n:null}let g=(t,e,n)=>{let a=m(t,n);if(!a)return!1;let s=x(a);if(!s)return!1;let l=s.nodeAfter;if(j(t,s,e,1))return!0;
4if(0==a.parent.content.size&&(u(l,"start")||o.qv.isSelectable(l))){let n=(0,i.dR)(t.doc,a.before(),a.after(),r.p2.empty);if(n&&n.slice.size<n.to-n.from){if(e){let i=t.tr.step(n);i.setSelection(u(l,"start")?o.Y1.findFrom(i.doc.resolve(i.mapping.map(s.pos)),1):o.qv.create(i.doc,i.mapping.map(s.pos))),e(i.scrollIntoView())}return!0}}return!!l.isAtom&&s.depth==a.depth-1&&(e&&e(t.tr.delete(s.pos,s.pos+l.nodeSize).scrollIntoView()),!0)},v=(t,e,n)=>{let{$head:i,empty:r}=t.selection,a=i;if(!r)return!1;if(i.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):i.parentOffset<i.parent.content.size)return!1;a=x(i)}let s=a&&a.nodeAfter;return!!(s&&o.qv.isSelectable(s))&&(e&&e(t.tr.setSelection(o.qv.create(t.doc,a.pos)).scrollIntoView()),!0)};function x(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}let y=(t,e)=>{let n=t.selection,r=n instanceof o.qv,a;if(r){if(n.node.isTextblock||!(0,i.Mn)(t.doc,n.from))return!1;a=n.from}else if(null==(a=(0,i.GJ)(t.doc,n.from,-1)))return!1;if(e){let n=t.tr.join(a);r&&n.setSelection(o.qv.create(n.doc,a-t.doc.resolve(a).nodeBefore.nodeSize)),e(n.scrollIntoView())}return!0},b=(t,e)=>{let n=t.selection,r;if(n instanceof o.qv){if(n.node.isTextblock||!(0,i.Mn)(t.doc,n.to))return!1;r=n.to}else if(null==(r=(0,i.GJ)(t.doc,n.to,1)))return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},w=(t,e)=>{let{$from:n,$to:r}=t.selection,o=n.blockRange(r),a=o&&(0,i.k9)(o);return null!=a&&(e&&e(t.tr.lift(o,a).scrollIntoView()),!0)},k=(t,e)=>{let{$head:n,$anchor:i}=t.selection;return!!(n.parent.type.spec.code&&n.sameParent(i))&&(e&&e(t.tr.insertText("\n").scrollIntoView()),!0)};function S(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}let E=(t,e)=>{let{$head:n,$anchor:i}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(i))return!1;let r=n.node(-1),a=n.indexAfter(-1),s=S(r.contentMatchAt(a));if(!s||!r.canReplaceWith(a,a,s))return!1;if(e){let i=n.after(),r=t.tr.replaceWith(i,i,s.createAndFill());r.setSelection(o.Y1.near(r.doc.resolve(i),1)),e(r.scrollIntoView())}return!0},C=(t,e)=>{let n=t.selection,{$from:i,$to:r}=n;if(n instanceof o.C1||i.parent.inlineContent||r.parent.inlineContent)return!1;let a=S(r.parent.contentMatchAt(r.indexAfter()));if(!a||!a.isTextblock)return!1;if(e){let n=(!i.parentOffset&&r.index()<r.parent.childCount?i:r).pos,s=t.tr.insert(n,a.createAndFill());s.setSelection(o.Bs.create(s.doc,n+1)),e(s.scrollIntoView())}return!0},O=(t,e)=>{let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if((0,i.Ax)(t.doc,r))return e&&e(t.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),o=r&&(0,i.k9)(r);return null!=o&&(e&&e(t.tr.lift(r,o).scrollIntoView()),!0)},A=(t,e)=>{let{$from:n,to:i}=t.selection,r,a=n.sharedDepth(i);return 0!=a&&(r=n.before(a),e&&e(t.tr.setSelection(o.qv.create(t.doc,r))),!0)};function j(t,e,n,a){let s,l,p,c=e.nodeBefore,d=e.nodeAfter,h,f,m=c.type.spec.isolating||d.type.spec.isolating;if(!m&&(s=e.nodeBefore,l=e.nodeAfter,p=e.index(),s&&l&&s.type.compatibleContent(l.type)&&(!s.content.size&&e.parent.canReplace(p-1,p)?(n&&n(t.tr.delete(e.pos-s.nodeSize,e.pos).scrollIntoView()),!0):!!(e.parent.canReplace(p,p+1)&&(l.isTextblock||(0,i.Mn)(t.doc,e.pos)))&&(n&&n(t.tr.join(e.pos).scrollIntoView()),!0))))return!0;let g=!m&&e.parent.canReplace(e.index(),e.index()+1);if(g&&(h=(f=c.contentMatchAt(c.childCount)).findWrapping(d.type))&&f.matchType(h[0]||d.type).validEnd){if(n){let o=e.pos+d.nodeSize,a=r.HY.empty;for(let t=h.length-1;t>=0;t--)a=r.HY.from(h[t].create(null,a));a=r.HY.from(c.copy(a));let s=t.tr.step(new i.FC(e.pos-1,o,e.pos,o,new r.p2(a,1,0),h.length,!0)),l=s.doc.resolve(o+2*h.length);l.nodeAfter&&l.nodeAfter.type==c.type&&(0,i.Mn)(s.doc,l.pos)&&s.join(l.pos),n(s.scrollIntoView())}return!0}let v=d.type.spec.isolating||a>0&&m?null:o.Y1.findFrom(e,1),x=v&&v.$from.blockRange(v.$to),y=x&&(0,i.k9)(x);if(null!=y&&y>=e.depth)return n&&n(t.tr.lift(x,y).scrollIntoView()),!0;if(g&&u(d,"start",!0)&&u(c,"end")){let o=c,a=[];for(;a.push(o),!o.isTextblock;)o=o.lastChild;let s=d,l=1;for(;!s.isTextblock;s=s.firstChild)l++;
4if(o.canReplace(o.childCount,o.childCount,s.content)){if(n){let o=r.HY.empty;for(let t=a.length-1;t>=0;t--)o=r.HY.from(a[t].copy(o));n(t.tr.step(new i.FC(e.pos-a.length,e.pos+d.nodeSize,e.pos+l,e.pos+d.nodeSize-l,new r.p2(o,a.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function T(t){return function(e,n){let i=e.selection,r=t<0?i.$from:i.$to,a=r.depth;for(;r.node(a).isInline;){if(!a)return!1;a--}return!!r.node(a).isTextblock&&(n&&n(e.tr.setSelection(o.Bs.create(e.doc,t<0?r.start(a):r.end(a)))),!0)}}let z=T(-1),R=T(1);function M(t,e=null){return function(n,r){let{$from:o,$to:a}=n.selection,s=o.blockRange(a),l=s&&(0,i.nd)(s,t,e);return!!l&&(r&&r(n.tr.wrap(s,l).scrollIntoView()),!0)}}function I(t,e=null){return function(n,i){let r=!1;for(let i=0;i<n.selection.ranges.length&&!r;i++){let{$from:{pos:o},$to:{pos:a}}=n.selection.ranges[i];n.doc.nodesBetween(o,a,(i,o)=>{if(r)return!1;if(!(!i.isTextblock||i.hasMarkup(t,e))){if(i.type==t)r=!0;else{let e=n.doc.resolve(o),i=e.index();r=e.parent.canReplaceWith(i,i+1,t)}}})}if(!r)return!1;if(i){let r=n.tr;for(let i=0;i<n.selection.ranges.length;i++){let{$from:{pos:o},$to:{pos:a}}=n.selection.ranges[i];r.setBlockType(o,a,t,e)}i(r.scrollIntoView())}return!0}}function N(...t){return function(e,n,i){for(let r=0;r<t.length;r++)if(t[r](e,n,i))return!0;return!1}}let D=N(a,l,h),F=N(a,g,v),P={Enter:N(k,C,O,(t,e)=>{let{$from:n,$to:r}=t.selection;if(t.selection instanceof o.qv&&t.selection.node.isBlock)return!!(n.parentOffset&&(0,i.Ax)(t.doc,n.pos))&&(e&&e(t.tr.split(n.pos).scrollIntoView()),!0);if(!n.depth)return!1;let a=[],s,l,p=!1,c=!1;for(let t=n.depth;;t--){if(n.node(t).isBlock){let e;p=n.end(t)==n.pos+(n.depth-t),c=n.start(t)==n.pos-(n.depth-t),l=S(n.node(t-1).contentMatchAt(n.indexAfter(t-1))),a.unshift(e||(p&&l?{type:l}:null)),s=t;break}if(1==t)return!1;a.unshift(null)}let d=t.tr;(t.selection instanceof o.Bs||t.selection instanceof o.C1)&&d.deleteSelection();let u=d.mapping.map(n.pos),h=(0,i.Ax)(d.doc,u,a.length,a);if(h||(a[0]=l?{type:l}:null,h=(0,i.Ax)(d.doc,u,a.length,a)),!h)return!1;if(d.split(u,a.length,a),!p&&c&&n.node(s).type!=l){let t=d.mapping.map(n.before(s)),e=d.doc.resolve(t);l&&n.node(s-1).canReplaceWith(e.index(),e.index()+1,l)&&d.setNodeMarkup(d.mapping.map(n.before(s)),l)}return e&&e(d.scrollIntoView()),!0}),"Mod-Enter":E,Backspace:D,"Mod-Backspace":D,"Shift-Backspace":D,Delete:F,"Mod-Delete":F,"Mod-a":(t,e)=>(e&&e(t.tr.setSelection(new o.C1(t.doc))),!0)},L={"Ctrl-h":P.Backspace,"Alt-Backspace":P["Mod-Backspace"],"Ctrl-d":P.Delete,"Ctrl-Alt-Backspace":P["Mod-Delete"],"Alt-Delete":P["Mod-Delete"],"Alt-d":P["Mod-Delete"],"Ctrl-a":z,"Ctrl-e":R};for(let t in P)L[t]=P[t];"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform()},36550:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(40160),r=n(66570);function o(t={}){return new i.Sy({view:e=>new a(e,t)})}class a{constructor(t,e){var n;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=null!==(n=e.width)&&void 0!==n?n:1,this.color=!1===e.color?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map(e=>{let n=t=>{this[e](t)};return t.dom.addEventListener(e,n),{name:e,handler:n}})}destroy(){this.handlers.forEach(({name:t,handler:e})=>this.editorView.dom.removeEventListener(t,e))}update(t,e){null!=this.cursorPos&&e.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,null==t?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t,e,n=this.editorView.state.doc.resolve(this.cursorPos),i=!n.parent.inlineContent,r,o=this.editorView.dom,a=o.getBoundingClientRect(),s=a.width/o.offsetWidth,l=a.height/o.offsetHeight;if(i){let t=n.nodeBefore,e=n.nodeAfter;if(t||e){let n=this.editorView.nodeDOM(this.cursorPos-(t?t.nodeSize:0));if(n){let i=n.getBoundingClientRect(),o=t?i.bottom:i.top;t&&e&&(o=(o+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let a=this.width/2*l;r={left:i.left,right:i.right,top:o-a,bottom:o+a}}}}if(!r){let t=this.editorView.coordsAtPos(this.cursorPos),e=this.width/2*s;r={left:t.left-e,right:t.left+e,top:t.top,bottom:t.bottom}}let p=this.editorView.dom.offsetParent;if(!this.element&&(this.element=p.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",i),this.element.classList.toggle("prosemirror-dropcursor-inline",!i),p&&(p!=document.body||"static"!=getComputedStyle(p).position)){let n=p.getBoundingClientRect(),i=n.width/p.offsetWidth,r=n.height/p.offsetHeight;t=n.left-p.scrollLeft*i,e=n.top-p.scrollTop*r}else t=-pageXOffset,e=-pageYOffset;this.element.style.left=(r.left-t)/s+"px",this.element.style.top=(r.top-e)/l+"px",this.element.style.width=(r.right-r.left)/s+"px",this.element.style.height=(r.bottom-r.top)/l+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),n=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),i=n&&n.type.spec.disableDropCursor,o="function"==typeof i?i(this.editorView,e,t):i;if(e&&!o){let t=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let e=(0,r.nj)(this.editorView.state.doc,t,this.editorView.dragging.slice);null!=e&&(t=e)}this.setCursor(t),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){this.editorView.dom.contains(t.relatedTarget)||this.setCursor(null)}}},99049:function(t,e,n){"use strict";n.d(e,{d:function(){return c}});var i=n(40936),r=n(40160),o=n(69323),a=n(38280);class s extends r.Y1{constructor(t){super(t,t)}map(t,e){let n=t.resolve(e.map(this.head));return s.valid(n)?new s(n):r.Y1.near(n)}content(){return o.p2.empty}eq(t){return t instanceof s&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,e){if("number"!=typeof e.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new s(t.resolve(e.pos))}getBookmark(){return new l(this.anchor)}static valid(t){let e=t.parent;if(e.isTextblock||!function(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),i=t.node(e);if(0==n){if(i.type.spec.isolating)return!0;continue}for(let t=i.child(n-1);;t=t.lastChild){if(0==t.childCount&&!t.inlineContent||p(t.type))return!0;
4if(t.inlineContent)return!1}}return!0}(t)||!function(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),i=t.node(e);if(n==i.childCount){if(i.type.spec.isolating)return!0;continue}for(let t=i.child(n);;t=t.firstChild){if(0==t.childCount&&!t.inlineContent||p(t.type))return!0;if(t.inlineContent)return!1}}return!0}(t))return!1;let n=e.type.spec.allowGapCursor;if(null!=n)return n;let i=e.contentMatchAt(t.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(t,e,n=!1){t:for(;;){if(!n&&s.valid(t))return t;let i=t.pos,o=null;for(let n=t.depth;;n--){let r=t.node(n);if(e>0?t.indexAfter(n)<r.childCount:t.index(n)>0){o=r.child(e>0?t.indexAfter(n):t.index(n)-1);break}if(0==n)return null;i+=e;let a=t.doc.resolve(i);if(s.valid(a))return a}for(;;){let a=e>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!r.qv.isSelectable(o)){t=t.doc.resolve(i+o.nodeSize*e),n=!1;continue t}break}o=a,i+=e;let l=t.doc.resolve(i);if(s.valid(l))return l}return null}}}s.prototype.visible=!1,s.findFrom=s.findGapCursorFrom,r.Y1.jsonID("gapcursor",s);class l{constructor(t){this.pos=t}map(t){return new l(t.map(this.pos))}resolve(t){let e=t.resolve(this.pos);return s.valid(e)?new s(e):r.Y1.near(e)}}function p(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function c(){return new r.Sy({props:{decorations:m,createSelectionBetween:(t,e,n)=>e.pos==n.pos&&s.valid(n)?new s(n):null,handleClick:h,handleKeyDown:d,handleDOMEvents:{beforeinput
4:f}}})}let d=(0,i.$)({ArrowLeft:u("horiz",-1),ArrowRight:u("horiz",1),ArrowUp:u("vert",-1),ArrowDown:u("vert",1)});function u(t,e){let n="vert"==t?e>0?"down":"up":e>0?"right":"left";return function(t,i,o){let a=t.selection,l=e>0?a.$to:a.$from,p=a.empty;if(a instanceof r.Bs){if(!o.endOfTextblock(n)||0==l.depth)return!1;p=!1,l=t.doc.resolve(e>0?l.after():l.before())}let c=s.findGapCursorFrom(l,e,p);return!!c&&(i&&i(t.tr.setSelection(new s(c))),!0)}}function h(t,e,n){if(!t||!t.editable)return!1;let i=t.state.doc.resolve(e);if(!s.valid(i))return!1;let o=t.posAtCoords({left:n.clientX,top:n.clientY});return!(o&&o.inside>-1&&r.qv.isSelectable(t.state.doc.nodeAt(o.inside)))&&(t.dispatch(t.state.tr.setSelection(new s(i))),!0)}function f(t,e){if("insertCompositionText"!=e.inputType||!(t.state.selection instanceof s))return!1;let{$from:n}=t.state.selection,i=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!i)return!1;let a=o.HY.empty;for(let t=i.length-1;t>=0;t--)a=o.HY.from(i[t].createAndFill(null,a));let l=t.state.tr.replace(n.pos,n.pos,new o.p2(a,0,0));return l.setSelection(r.Bs.near(l.doc.resolve(n.pos+1))),t.dispatch(l),!1}function m(t){if(!(t.selection instanceof s))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",a.EH.create(t.doc,[a.p.widget(t.selection.head,e,{key:"gapcursor"})])}},84003:function(t,e,n){"use strict";n.d(e,{m8:function(){return y},KX:function(){return k},Yw:function(){return w}});var i=function(){};i.prototype.append=function(t){return t.length?(t=i.from(t),!this.length&&t||t.length<200&&this.leafAppend(t)||this.length<200&&t.leafPrepend(this)||this.appendInner(t)):this},i.prototype.prepend=function(t){return t.length?i.from(t).append(this):this},i.prototype.appendInner=function(t){return new o(this,t)},i.prototype.slice=function(t,e){return(void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e)?i.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},i.prototype.get=function(t){if(!(t<0)&&!(t>=this.length))return this.getInner(t)},i.prototype.forEach=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length),e<=n?this.forEachInner(t,e,n,0):this.forEachInvertedInner(t,e,n,0)},i.prototype.map=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length);var i=[];return this.forEach(function(e,n){return i.push(t(e,n))},e,n),i},i.from=function(t){return t instanceof i?t:t&&t.length?new r(t):i.empty};var r=function(t){function e(e){t.call(this),this.values=e}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,i){for(var r=e;r<n;r++)if(!1===t(this.values[r],i+r))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){for(var r=e-1;r>=n;r--)if(!1===t(this.values[r],i+r))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=200)return new e(this.values.concat(t.flatten()))},e.prototype.leafPrepend=function(t){if(this.length+t.length<=200)return new e(t.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(i);i.empty=new r([]);var o=function(t){function e(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(t){return t<this.left.length?this.left.get(t):this.right.get(t-this.left.length)},e.prototype.forEachInner=function(t,e,n,i){var r=this.left.length;if(e<r&&!1===this.left.forEachInner(t,e,Math.min(n,r),i)||n>r&&!1===this.right.forEachInner(t,Math.max(e-r,0),Math.min(this.length,n)-r,i+r))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){var r=this.left.length;if(e>r&&!1===this.right.forEachInvertedInner(t,e-r,Math.max(n,r)-r,i+r)||n<r&&!1===this.left.forEachInvertedInner(t,Math.min(e,r),n,i))return!1},e.prototype.sliceInner=function(t,e){if(0==t&&e==this.length)return this;var n=this.left.length;return e<=n?this.left.slice(t,e):t>=n?this.right.slice(t-n,e-n):this.left.slice(t,n).append(this.right.slice(0,e-n))},e.prototype.leafAppend=function(t){var n=this.right.leafAppend(t);if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(t){var n=this.left.leafPrepend(t);if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(i),a=n(66570),s=n(40160);class l{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){let n,i,r,o;
4if(0==this.eventCount)return null;let a=this.items.length;for(;;a--)if(this.items.get(a-1).selection){--a;break}e&&(i=(n=this.remapping(a,this.items.length)).maps.length);let s=t.tr,c=[],d=[];return this.items.forEach((t,e)=>{if(!t.step){n||(i=(n=this.remapping(a,e+1)).maps.length),i--,d.push(t);return}if(n){d.push(new p(t.map));let e=t.step.map(n.slice(i)),r;e&&s.maybeStep(e).doc&&(r=s.mapping.maps[s.mapping.maps.length-1],c.push(new p(r,void 0,void 0,c.length+d.length))),i--,r&&n.appendMap(r,i)}else s.maybeStep(t.step);if(t.selection)return r=n?t.selection.map(n.slice(i)):t.selection,o=new l(this.items.slice(0,a).append(d.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:o,transform:s,selection:r}}addTransform(t,e,n,i){var r,o;let a,s=[],c=this.eventCount,u=this.items,h=!i&&u.length?u.get(u.length-1):null;for(let n=0;n<t.steps.length;n++){let r=t.steps[n].invert(t.docs[n]),o=new p(t.mapping.maps[n],r,e),a;(a=h&&h.merge(o))&&(o=a,n?s.pop():u=u.slice(0,u.length-1)),s.push(o),e&&(c++,e=void 0),i||(h=o)}let f=c-n.depth;return f>d&&(r=u,o=f,r.forEach((t,e)=>{if(t.selection&&0==o--)return a=e,!1}),u=r.slice(a),c-=f),new l(u.append(s),c)}remapping(t,e){let n=new a.vs;return this.items.forEach((e,i)=>{let r=null!=e.mirrorOffset&&i-e.mirrorOffset>=t?n.maps.length-e.mirrorOffset:void 0;n.appendMap(e.map,r)},t,e),n}addMaps(t){return 0==this.eventCount?this:new l(this.items.append(t.map(t=>new p(t))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this;let n=[],i=Math.max(0,this.items.length-e),r=t.mapping,o=t.steps.length,a=this.eventCount;this.items.forEach(t=>{t.selection&&a--},i);let s=e;this.items.forEach(e=>{let i=r.getMirror(--s);if(null==i)return;o=Math.min(o,i);let l=r.maps[i];if(e.step){let o=t.steps[i].invert(t.docs[i]),c=e.selection&&e.selection.map(r.slice(s+1,i));c&&a++,n.push(new p(l,o,c))}else n.push(new p(l))},i);let c=[];for(let t=e;t<o;t++)c.push(new p(r.maps[t]));let d=new l(this.items.slice(0,i).append(c).append(n),a);return d.emptyItemCount()>500&&(d=d.compress(this.items.length-n.length)),d}emptyItemCount(){let t=0;return this.items.forEach(e=>{!e.step&&t++}),t}compress(t=this.items.length){let e=this.remapping(0,t),n=e.maps.length,r=[],o=0;return this.items.forEach((i,a)=>{if(a>=t)r.push(i),i.selection&&o++;else if(i.step){let t=i.step.map(e.slice(n)),a=t&&t.getMap();if(n--,a&&e.appendMap(a,n),t){let s=i.selection&&i.selection.map(e.slice(n));s&&o++;let l=new p(a.invert(),t,s),c,d=r.length-1;(c=r.length&&r[d].merge(l))?r[d]=c:r.push(l)}}else i.map&&n--},this.items.length,0),new l(i.from(r.reverse()),o)}}l.empty=new l(i.empty,0);class p{constructor(t,e,n,i){this.map=t,this.step=e,this.selection=n,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step);if(e)return new p(e.getMap().invert(),e,this.selection)}}}class c{constructor(t,e,n,i,r){this.done=t,this.undone=e,this.prevRanges=n,this.prevTime=i,this.prevComposition=r}}let d=20;function u(t){let e=[];for(let n=t.length-1;n>=0&&0==e.length;n--)t[n].forEach((t,n,i,r)=>e.push(i,r));return e}function h(t,e){if(!t)return null;let n=[];for(let i=0;i<t.length;i+=2){let r=e.map(t[i],1),o=e.map(t[i+1],-1);r<=o&&n.push(r,o)}return n}let f=!1,m=null;function g(t){let e=t.plugins;if(m!=e){f=!1,m=e;for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){f=!0;break}}return f}let v=new s.H$("history"),x=new s.H$("closeHistory");function y(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new s.Sy({key:v,state:{init:()=>new c(l.empty,l.empty,null,0,-1),apply:(e,n,i)=>(function(t,e,n,i){let r=n.getMeta(v),o;if(r)return r.historyState;n.getMeta(x)&&(t=new c(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(0==n.steps.length)return t;if(a&&a.getMeta(v))return a.getMeta(v).redo?new c(t.done.addTransform(n,void 0,i,g(e)),t.undone,u(n.mapping.maps),t.prevTime,t.prevComposition):new c(t.done,t.undone.addTransform(n,void 0,i,g(e)),null,t.prevTime,t.prevComposition);if(!1===n.getMeta("addToHistory")||a&&!1===a.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new c(t.done.rebased(n,o),t.undone.rebased(n,o),h(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new c(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),h(t.prevRanges,n.mapping),t.prevTime,t.prevComposition);{let r=n.getMeta("composition"),o=0==t.prevTime||!a&&t.prevComposition!=r&&(t.prevTime<(n.time||0)-i.newGroupDelay||!function(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;
4return t.mapping.maps[0].forEach((t,i)=>{for(let r=0;r<e.length;r+=2)t<=e[r+1]&&i>=e[r]&&(n=!0)}),n}(n,t.prevRanges)),s=a?h(t.prevRanges,n.mapping):u(n.mapping.maps);return new c(t.done.addTransform(n,o?e.selection.getBookmark():void 0,i,g(e)),l.empty,s,n.time,null==r?t.prevComposition:r)}})(n,i,e,t)},config:t,props:{handleDOMEvents:{beforeinput(t,e){let n=e.inputType,i="historyUndo"==n?w:"historyRedo"==n?k:null;return!!i&&!!t.editable&&(e.preventDefault(),i(t.state,t.dispatch))}}}})}function b(t,e){return(n,i)=>{let r=v.getState(n);if(!r||0==(t?r.undone:r.done).eventCount)return!1;if(i){let o=function(t,e,n){let i=g(e),r=v.get(e).spec.config,o=(n?t.undone:t.done).popEvent(e,i);if(!o)return null;let a=o.selection.resolve(o.transform.doc),s=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),r,i),l=new c(n?s:o.remaining,n?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(v,{redo:n,historyState:l})}(r,n,t);o&&i(e?o.scrollIntoView():o)}return!0}}let w=b(!1,!0),k=b(!0,!0);b(!1,!1),b(!0,!1)},40936:function(t,e,n){"use strict";n.d(e,{$:function(){return f},h:function(){return h}});for(var i={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:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)i[48+s]=i[96+s]=String(s);for(var s=1;s<=24;s++)i[s+111]="F"+s;for(var s=65;s<=90;s++)i[s]=String.fromCharCode(s+32),r[s]=String.fromCharCode(s);for(var l in i)r.hasOwnProperty(l)||(r[l]=i[l]);var p=n(40160);let c="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),d="undefined"!=typeof navigator&&/Win/.test(navigator.platform);function u(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function h(t){return new p.Sy({props:{handleKeyDown:f(t)}})}function f(t){let e=function(t){let e=Object.create(null);for(let n in t)e[function(t){let e,n,i,r,o=t.split(/-(?!$)/),a=o[o.length-1];"Space"==a&&(a=" ");for(let t=0;t<o.length-1;t++){let a=o[t];if(/^(cmd|meta|m)$/i.test(a))r=!0;else if(/^a(lt)?$/i.test(a))e=!0;else if(/^(c|ctrl|control)$/i.test(a))n=!0;else if(/^s(hift)?$/i.test(a))i=!0;else if(/^mod$/i.test(a))c?r=!0:n=!0;else throw Error("Unrecognized modifier name: "+a)}return e&&(a="Alt-"+a),n&&(a="Ctrl-"+a),r&&(a="Meta-"+a),i&&(a="Shift-"+a),a}(n)]=t[n];return e}(t);return function(t,n){var s;let l=("Esc"==(s=!(o&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||a&&n.shiftKey&&n.key&&1==n.key.length||"Unidentified"==n.key)&&n.key||(n.shiftKey?r:i)[n.keyCode]||n.key||"Unidentified")&&(s="Escape"),"Del"==s&&(s="Delete"),"Left"==s&&(s="ArrowLeft"),"Up"==s&&(s="ArrowUp"),"Right"==s&&(s="ArrowRight"),"Down"==s&&(s="ArrowDown"),s),p,c=e[u(l,n)];if(c&&c(t.state,t.dispatch,t))return!0;if(1==l.length&&" "!=l){if(n.shiftKey){let i=e[u(l,n,!1)];if(i&&i(t.state,t.dispatch,t))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(d&&n.ctrlKey&&n.altKey)&&(p=i[n.keyCode])&&p!=l){let i=e[u(p,n)];if(i&&i(t.state,t.dispatch,t))return!0}}return!1}}},69323:function(t,e,n){"use strict";function i(t){this.content=t}n.d(e,{aw:function(){return q},PW:function(){return K},HY:function(){return r},vc:function(){return l},ZU:function(){return P},NB:function(){return S},Ts:function(){return w},e4:function(){return p},V_:function(){return L},p2:function(){return c}}),i.prototype={constructor:i,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return -1},get:function(t){var e=this.find(t);return -1==e?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,o=r.find(t),a=r.content.slice();return -1==o?a.push(n||t,e):(a[o+1]=e,n&&(a[o]=n)),new i(a)},remove:function(t){var e=this.find(t);if(-1==e)return this;var n=this.content.slice();return n.splice(e,2),new i(n)}
vendor: 5,392 bytes, line 4
4,addToStart:function(t,e){return new i([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new i(n)},addBefore:function(t,e,n){var r=this.remove(e),o=r.content.slice(),a=r.find(t);return o.splice(-1==a?o.length:a,0,e,n),new i(o)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return(t=i.from(t)).size?new i(t.content.concat(this.subtract(t).content)):this},append:function(t){return(t=i.from(t)).size?new i(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=i.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}},i.from=function(t){if(t instanceof i)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new i(e)};class r{constructor(t,e){if(this.content=t,this.size=e||0,null==e)for(let e=0;e<t.length;e++)this.size+=t[e].nodeSize}nodesBetween(t,e,n,i=0,r){for(let o=0,a=0;a<e;o++){let s=this.content[o],l=a+s.nodeSize;if(l>t&&!1!==n(s,i+a,r||null,o)&&s.content.size){let r=a+1;s.nodesBetween(Math.max(0,t-r),Math.min(s.content.size,e-r),n,i+r)}a=l}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,e,n,i){let r="",o=!0;return this.nodesBetween(t,e,(a,s)=>{let l=a.isText?a.text.slice(Math.max(t,s)-s,e-s):a.isLeaf?i?"function"==typeof i?i(a):i:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&l||a.isTextblock)&&n&&(o?o=!1:r+=n),r+=l},0),r}append(t){if(!t.size)return this;if(!this.size)return t;let e=this.lastChild,n=t.firstChild,i=this.content.slice(),o=0;for(e.isText&&e.sameMarkup(n)&&(i[i.length-1]=e.withText(e.text+n.text),o=1);o<t.content.length;o++)i.push(t.content[o]);return new r(i,this.size+t.size)}cut(t,e=this.size){if(0==t&&e==this.size)return this;let n=[],i=0;if(e>t)for(let r=0,o=0;o<e;r++){let a=this.content[r],s=o+a.nodeSize;s>t&&((o<t||s>e)&&(a=a.isText?a.cut(Math.max(0,t-o),Math.min(a.text.length,e-o)):a.cut(Math.max(0,t-o-1),Math.min(a.content.size,e-o-1))),n.push(a),i+=a.nodeSize),o=s}return new r(n,i)}cutByIndex(t,e){return t==e?r.empty:0==t&&e==this.content.length?this:new r(this.content.slice(t,e))}replaceChild(t,e){let n=this.content[t];if(n==e)return this;let i=this.content.slice(),o=this.size+e.nodeSize-n.nodeSize;return i[t]=e,new r(i,o)}addToStart(t){return new r([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new r(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let e=0;e<this.content.length;e++)if(!this.content[e].eq(t.content[e]))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(t){let e=this.content[t];if(!e)throw RangeError("Index "+t+" out of range for "+this);return e}maybeChild(t){return this.content[t]||null}forEach(t){for(let e=0,n=0;e<this.content.length;e++){let i=this.content[e];t(i,n,e),n+=i.nodeSize}}findDiffStart(t,e=0){return function t(e,n,i){for(let r=0;;r++){if(r==e.childCount||r==n.childCount)return e.childCount==n.childCount?null:i;let o=e.child(r),a=n.child(r);if(o==a){i+=o.nodeSize;continue}if(!o.sameMarkup(a))return i;if(o.isText&&o.text!=a.text){for(let t=0;o.text[t]==a.text[t];t++)i++;return i}if(o.content.size||a.content.size){let e=t(o.content,a.content,i+1);if(null!=e)return e}i+=o.nodeSize}}(this,t,e)}findDiffEnd(t,e=this.size,n=t.size){return function t(e,n,i,r){for(let o=e.childCount,a=n.childCount;;){if(0==o||0==a)return o==a?null:{a:i,b:r};let s=e.child(--o),l=n.child(--a),p=s.nodeSize;if(s==l){i-=p,r-=p;continue}if(!s.sameMarkup(l))return{a:i,b:r};if(s.isText&&s.text!=l.text){let t=0,e=Math.min(s.text.length,l.text.length);for(;t<e&&s.text[s.text.length-t-1]==l.text[l.text.length-t-1];)t++,i--,r--;return{a:i,b:r}}if(s.content.size||l.content.size){let e=t(s.content,l.content,i-1,r-1);if(e)return e}i-=p,r-=p}}(this,t,e,n)}findIndex(t){if(0==t)return a(0,t);if(t==this.size)return a(this.content.length,t);if(t>this.size||t<0)throw RangeError(`Position ${t} outside of fragment (${this})`);for(let e=0,n=0;;e++){let i=n+this.child(e).nodeSize;if(i>=t){if(i==t)return a(e+1,i);return a(e,n)}n=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,e){if(!e)return r.empty;if(!Array.isArray(e))throw RangeError("Invalid input for Fragment.fromJSON");return new r(e.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return r.empty;let e,n=0;for(let i=0;i<t.length;i++){let r=t[i];n+=r.nodeSize,i&&r.isText&&t[i-1].sameMarkup(r)?(e||(e=t.slice(0,i)),e[e.length-1]=r.withText(e[e.length-1].text+r.text)):e&&e.push(r)}return new r(e||t,n)}static from(t){if(!t)return r.empty;if(t instanceof r)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new r([t],t.nodeSize);throw RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}r.empty=new r([],0);let o={index:0,offset:0};function a(t,e){return o.index=t,o.offset=e,o}function s(t,e){if(t===e)return!0;
vendor: 1,543 bytes, line 4
4if(!(t&&"object"==typeof t)||!(e&&"object"==typeof e))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!s(t[n],e[n]))return!1}else{for(let n in t)if(!(n in e)||!s(t[n],e[n]))return!1;for(let n in e)if(!(n in t))return!1}return!0}class l{constructor(t,e){this.type=t,this.attrs=e}addToSet(t){let e,n=!1;for(let i=0;i<t.length;i++){let r=t[i];if(this.eq(r))return t;if(this.type.excludes(r.type))e||(e=t.slice(0,i));else{if(r.type.excludes(this.type))return t;!n&&r.type.rank>this.type.rank&&(e||(e=t.slice(0,i)),e.push(this),n=!0),e&&e.push(r)}}return e||(e=t.slice()),n||e.push(this),e}removeFromSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return t.slice(0,e).concat(t.slice(e+1));return t}isInSet(t){for(let e=0;e<t.length;e++)if(this.eq(t[e]))return!0;return!1}eq(t){return this==t||this.type==t.type&&s(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,e){if(!e)throw RangeError("Invalid input for Mark.fromJSON");let n=t.marks[e.type];if(!n)throw RangeError(`There is no mark type ${e.type} in this schema`);let i=n.create(e.attrs);return n.checkAttrs(i.attrs),i}static sameSet(t,e){if(t==e)return!0;if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].eq(e[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&0==t.length)return l.none;if(t instanceof l)return[t];let e=t.slice();return e.sort((t,e)=>t.type.rank-e.type.rank),e}}l.none=[];
vendor: 5,312 bytes, line 4
4class p extends Error{}class c{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=function t(e,n,i,r){let{index:o,offset:a}=e.findIndex(n),s=e.maybeChild(o);if(a==n||s.isText)return r&&!r.canReplace(o,o,i)?null:e.cut(0,n).append(i).append(e.cut(n));let l=t(s.content,n-a-1,i,s);return l&&e.replaceChild(o,s.copy(l))}(this.content,t+this.openStart,e);return n&&new c(n,this.openStart,this.openEnd)}removeBetween(t,e){return new c(function t(e,n,i){let{index:r,offset:o}=e.findIndex(n),a=e.maybeChild(r),{index:s,offset:l}=e.findIndex(i);if(o==n||a.isText){if(l!=i&&!e.child(s).isText)throw RangeError("Removing non-flat range");return e.cut(0,n).append(e.cut(i))}if(r!=s)throw RangeError("Removing non-flat range");return e.replaceChild(r,a.copy(t(a.content,n-o-1,i-o-1)))}(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return c.empty;let n=e.openStart||0,i=e.openEnd||0;if("number"!=typeof n||"number"!=typeof i)throw RangeError("Invalid input for Slice.fromJSON");return new c(r.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0;for(let i=t.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++;for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)i++;return new c(t,n,i)}}function d(t,e){if(!e.type.compatibleContent(t.type))throw new p("Cannot join "+e.type.name+" onto "+t.type.name)}function u(t,e,n){let i=t.node(n);return d(i,e.node(n)),i}function h(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function f(t,e,n,i){let r=(e||t).node(n),o=0,a=e?e.index(n):r.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(h(t.nodeAfter,i),o++));for(let t=o;t<a;t++)h(r.child(t),i);e&&e.depth==n&&e.textOffset&&h(e.nodeBefore,i)}function m(t,e){return t.type.checkContent(e),t.copy(e)}function g(t,e,n){let i=[];return f(null,t,n,i),t.depth>n&&h(m(u(t,e,n+1),g(t,e,n+1)),i),f(e,null,n,i),new r(i)}c.empty=new c(r.empty,0,0);class v{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth);if(e==t.childCount)return null;let n=this.pos-this.path[this.path.length-1],i=t.child(e);return n?t.child(e).cut(n):i}get nodeBefore(){let t=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(t).cut(0,e):0==t?null:this.parent.child(t-1)}posAtIndex(t,e){e=this.resolveDepth(e);let n=this.path[3*e],i=0==e?0:this.path[3*e-1]+1;for(let e=0;e<t;e++)i+=n.child(e).nodeSize;return i}marks(){let t=this.parent,e=this.index();if(0==t.content.size)return l.none;if(this.textOffset)return t.child(e).marks;let n=t.maybeChild(e-1),i=t.maybeChild(e);if(!n){let t=n;n=i,i=t}let r=n.marks;for(var o=0;o<r.length;o++)!1!==r[o].type.spec.inclusive||i&&r[o].isInSet(i.marks)||(r=r[o--].removeFromSet(r));return r}marksAcross(t){let e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;let n=e.marks,i=t.parent.maybeChild(t.index());for(var r=0;r<n.length;r++)!1!==n[r].type.spec.inclusive||i&&n[r].isInSet(i.marks)||(n=n[r--].removeFromSet(n));return n}sharedDepth(t){for(let e=this.depth;e>0;e--)if(this.start(e)<=t&&this.end(e)>=t)return e;return 0}blockRange(t=this,e){if(t.pos<this.pos)return t.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);n>=0;n--)if(t.pos<=this.end(n)&&(!e||e(this.node(n))))return new w(this,t,n);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let e=1;e<=this.depth;e++)t+=(t?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return t+":"+this.parentOffset}static resolve(t,e){if(!(e>=0&&e<=t.content.size))throw RangeError("Position "+e+" out of range");let n=[],i=0,r=e;for(let e=t;;){let{index:t,offset:o}=e.content.findIndex(r),a=r-o;if(n.push(e,t,i+o),!a||(e=e.child(t)).isText)break;r=a-1,i+=o+1}return new v(e,n,r)}
4static resolveCached(t,e){let n=b.get(t);if(n)for(let t=0;t<n.elts.length;t++){let i=n.elts[t];if(i.pos==e)return i}else b.set(t,n=new x);let i=n.elts[n.i]=v.resolve(t,e);return n.i=(n.i+1)%y,i}}class x{constructor(){this.elts=[],this.i=0}}let y=12,b=new WeakMap;class w{constructor(t,e,n){this.$from=t,this.$to=e,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)}}let k=Object.create(null);class S{constructor(t,e,n,i=l.none){this.type=t,this.attrs=e,this.marks=i,this.content=n||r.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,e,n,i=0){this.content.nodesBetween(t,e,n,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,e,n,i){return this.content.textBetween(t,e,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,e,n){return this.type==t&&s(this.attrs,e||t.defaultAttrs||k)&&l.sameSet(this.marks,n||l.none)}copy(t=null){return t==this.content?this:new S(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new S(this.type,this.attrs,this.content,t)}cut(t,e=this.content.size){return 0==t&&e==this.content.size?this:this.copy(this.content.cut(t,e))}slice(t,e=this.content.size,n=!1){if(t==e)return c.empty;let i=this.resolve(t),r=this.resolve(e),o=n?0:i.sharedDepth(e),a=i.start(o);return new c(i.node(o).content.cut(i.pos-a,r.pos-a),i.depth-o,r.depth-o)}replace(t,e,n){return function(t,e,n){if(n.openStart>t.depth)throw new p("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new p("Inconsistent open depths");return function t(e,n,i,o){let a=e.index(o),s=e.node(o);if(a==n.index(o)&&o<e.depth-i.openStart){let r=t(e,n,i,o+1);return s.copy(s.content.replaceChild(a,r))}if(!i.content.size)return m(s,g(e,n,o));if(i.openStart||i.openEnd||e.depth!=o||n.depth!=o){let{start:t,end:a}=function(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let t=n-1;t>=0;t--)i=e.node(t).copy(r.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}(i,e);return m(s,function t(e,n,i,o,a){let s=e.depth>a&&u(e,n,a+1),l=o.depth>a&&u(i,o,a+1),p=[];return f(null,e,a,p),s&&l&&n.index(a)==i.index(a)?(d(s,l),h(m(s,t(e,n,i,o,a+1)),p)):(s&&h(m(s,g(e,n,a+1)),p),f(n,i,a,p),l&&h(m(l,g(i,o,a+1)),p)),f(o,null,a,p),new r(p)}(e,t,a,n,o))}{let t=e.parent,r=t.content;return m(t,r.cut(0,e.parentOffset).append(i.content).append(r.cut(n.parentOffset)))}}(t,e,n,0)}(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t);if(!(e=e.maybeChild(n)))return null;if(i==t||e.isText)return e;t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(t){if(0==t)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(t);if(n<t)return{node:this.content.child(e),index:e,offset:n};let i=this.content.child(e-1);return{node:i,index:e-1,offset:n-i.nodeSize}}resolve(t){return v.resolveCached(this,t)}resolveNoCache(t){return v.resolve(this,t)}rangeHasMark(t,e,n){let i=!1;return e>t&&this.nodesBetween(t,e,t=>(n.isInSet(t.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}
4toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),C(this.marks,t)}contentMatchAt(t){let e=this.type.contentMatch.matchFragment(this.content,0,t);if(!e)throw Error("Called contentMatchAt on a node with invalid content");return e}canReplace(t,e,n=r.empty,i=0,o=n.childCount){let a=this.contentMatchAt(t).matchFragment(n,i,o),s=a&&a.matchFragment(this.content,e);if(!s||!s.validEnd)return!1;for(let t=i;t<o;t++)if(!this.type.allowsMarks(n.child(t).marks))return!1;return!0}canReplaceWith(t,e,n,i){if(i&&!this.type.allowsMarks(i))return!1;let r=this.contentMatchAt(t).matchType(n),o=r&&r.matchFragment(this.content,e);return!!o&&o.validEnd}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=l.none;for(let e=0;e<this.marks.length;e++){let n=this.marks[e];n.type.checkAttrs(n.attrs),t=n.addToSet(t)}if(!l.sameSet(t,this.marks))throw RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let t={type:this.type.name};for(let e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(t=>t.toJSON())),t}static fromJSON(t,e){let n;if(!e)throw RangeError("Invalid input for Node.fromJSON");if(e.marks){if(!Array.isArray(e.marks))throw RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(t.markFromJSON)}if("text"==e.type){if("string"!=typeof e.text)throw RangeError("Invalid text node in JSON");return t.text(e.text,n)}let i=r.fromJSON(t,e.content),o=t.nodeType(e.type).create(e.attrs,i,n);return o.type.checkAttrs(o.attrs),o}}S.prototype.text=void 0;class E extends S{constructor(t,e,n,i){if(super(t,e,null,i),!n)throw RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):C(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new E(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new E(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function C(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class O{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){var n;let i,r=new A(t,e);if(null==r.next)return O.empty;let o=function t(e){let n=[];do n.push(function(e){let n=[];do n.push(function(e){let n=function(e){if(e.eat("(")){let n=t(e);return e.eat(")")||e.err("Missing closing paren"),n}if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=(function(t,e){let n=t.nodeTypes,i=n[e];if(i)return[i];let r=[];for(let t in n){let i=n[t];i.isInGroup(e)&&r.push(i)}return 0==r.length&&t.err("No node type or group '"+e+"' found"),r})(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);for(;;)if(e.eat("+"))n={type:"plus",expr:n};else if(e.eat("*"))n={type:"star",expr:n};else if(e.eat("?"))n={type:"opt",expr:n};else if(e.eat("{"))n=function(t,e){let n=j(t),i=n;return t.eat(",")&&(i="}"!=t.next?j(t):-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:i,expr:e}}(e,n);else break;return n}(e));while(e.next&&")"!=e.next&&"|"!=e.next);return 1==n.length?n[0]:{type:"seq",exprs:n}}(e));while(e.eat("|"));return 1==n.length?n[0]:{type:"choice",exprs:n}}(r);r.next&&r.err("Unexpected trailing text");let a=(n=function(t){let e=[[]];return r(function t(e,o){if("choice"==e.type)return e.exprs.reduce((e,n)=>e.concat(t(n,o)),[]);if("seq"==e.type)for(let i=0;;i++){let a=t(e.exprs[i],o);if(i==e.exprs.length-1)return a;r(a,o=n())}else if("star"==e.type){let a=n();return i(o,a),r(t(e.expr,a),a),[i(a)]}else if("plus"==e.type){let a=n();return r(t(e.expr,o),a),r(t(e.expr,a),a),[i(a)]}else if("opt"==e.type)return[i(o)].concat(t(e.expr,o));else if("range"==e.type){let a=o;for(let i=0;i<e.min;i++){let i=n();r(t(e.expr,a),i),a=i}if(-1==e.max)r(t(e.expr,a),a);else for(let o=e.min;o<e.max;o++){let o=n();i(a,o),r(t(e.expr,a),o),a=o}return[i(a)]}else if("name"==e.type)return[i(o,void 0,e.value)];else throw Error("Unknown expr type")}(t,0),n()),e;function n(){return e.push([])-1}function i(t,n,i){let r={term:i,to:n};return e[t].push(r),r}function r(t,e){t.forEach(t=>t.to=e)}}(o),i=Object.create(null),function t(e){let r=[];e.forEach(t=>{n[t].forEach(({term:t,to:e})=>{let i;if(t){for(let e=0;e<r.length;e++)r[e][0]==t&&(i=r[e][1]);
4z(n,e).forEach(e=>{i||r.push([t,i=[]]),-1==i.indexOf(e)&&i.push(e)})}})});let o=i[e.join(",")]=new O(e.indexOf(n.length-1)>-1);for(let e=0;e<r.length;e++){let n=r[e][1].sort(T);o.next.push({type:r[e][0],next:i[n.join(",")]||t(n)})}return o}(z(n,0)));return function(t,e){for(let n=0,i=[t];n<i.length;n++){let t=i[n],r=!t.validEnd,o=[];for(let e=0;e<t.next.length;e++){let{type:n,next:a}=t.next[e];o.push(n.name),r&&!(n.isText||n.hasRequiredAttrs())&&(r=!1),-1==i.indexOf(a)&&i.push(a)}r&&e.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(a,r),a}matchType(t){for(let e=0;e<this.next.length;e++)if(this.next[e].type==t)return this.next[e].next;return null}matchFragment(t,e=0,n=t.childCount){let i=this;for(let r=e;i&&r<n;r++)i=i.matchType(t.child(r).type);return i}get inlineContent(){return 0!=this.next.length&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:e}=this.next[t];if(!(e.isText||e.hasRequiredAttrs()))return e}return null}compatible(t){for(let e=0;e<this.next.length;e++)for(let n=0;n<t.next.length;n++)if(this.next[e].type==t.next[n].type)return!0;return!1}fillBefore(t,e=!1,n=0){let i=[this];return function o(a,s){let l=a.matchFragment(t,n);if(l&&(!e||l.validEnd))return r.from(s.map(t=>t.createAndFill()));for(let t=0;t<a.next.length;t++){let{type:e,next:n}=a.next[t];if(!(e.isText||e.hasRequiredAttrs())&&-1==i.indexOf(n)){i.push(n);let t=o(n,s.concat(e));if(t)return t}}return null}(this,[])}findWrapping(t){for(let e=0;e<this.wrapCache.length;e+=2)if(this.wrapCache[e]==t)return this.wrapCache[e+1];let e=this.computeWrapping(t);return this.wrapCache.push(t,e),e}computeWrapping(t){let e=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let i=n.shift(),r=i.match;if(r.matchType(t)){let t=[];for(let e=i;e.type;e=e.via)t.push(e.type);return t.reverse()}for(let t=0;t<r.next.length;t++){let{type:o,next:a}=r.next[t];o.isLeaf||o.hasRequiredAttrs()||o.name in e||i.type&&!a.validEnd||(n.push({match:o.contentMatch,type:o,via:i}),e[o.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];return!function e(n){t.push(n);for(let i=0;i<n.next.length;i++)-1==t.indexOf(n.next[i].next)&&e(n.next[i].next)}(this),t.map((e,n)=>{let i=n+(e.validEnd?"*":" ")+" ";for(let n=0;n<e.next.length;n++)i+=(n?", ":"")+e.next[n].type.name+"->"+t.indexOf(e.next[n].next);return i}).join("\n")}}O.empty=new O(!0);class A{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.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(t){return this.next==t&&(this.pos++||!0)}err(t){throw SyntaxError(t+" (in content expression '"+this.string+"')")}}function j(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function T(t,e){return e-t}function z(t,e){let n=[];return function e(i){let r=t[i];if(1==r.length&&!r[0].term)return e(r[0].to);n.push(i);for(let t=0;t<r.length;t++){let{term:i,to:o}=r[t];i||-1!=n.indexOf(o)||e(o)}}(e),n.sort(T)}function R(t){let e=Object.create(null);for(let n in t){let i=t[n];if(!i.hasDefault)return null;e[n]=i.default}return e}function M(t,e){let n=Object.create(null);for(let i in t){let r=e&&e[i];if(void 0===r){let e=t[i];if(e.hasDefault)r=e.default;else throw RangeError("No value supplied for attribute "+i)}n[i]=r}return n}function I(t,e,n,i){for(let i in e)if(!(i in t))throw RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let n in t){let i=t[n];i.validate&&i.validate(e[n])}}function N(t,e){let n=Object.create(null);if(e)for(let i in e)n[i]=new F(t,i,e[i]);return n}class D{constructor(t,e,n){this.name=t,this.schema=e,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=N(t,n.attrs),this.defaultAttrs=R(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==t),this.isText="text"==t}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==O.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:M(this.attrs,t)}create(t=null,e,n){if(this.isText)throw Error("NodeType.create can't construct text nodes");return new S(this,this.computeAttrs(t),r.from(e),l.setFrom(n))}createChecked(t=null,e,n){return e=r.from(e),this.checkContent(e),new S(this,this.computeAttrs(t),e,l.setFrom(n))}createAndFill(t=null,e,n){if(t=this.computeAttrs(t),(e=r.from(e)).size){let t=this.contentMatch.fillBefore(e);if(!t)return null;e=t.append(e)}let i=this.contentMatch.matchFragment(e),o=i&&i.fillBefore(r.empty,!0);return o?new S(this,t,e.append(o),l.setFrom(n)):null}validContent(t){let e=this.contentMatch.matchFragment(t);if(!e||!e.validEnd)return!1;for(let e=0;e<t.childCount;e++)if(!this.allowsMarks(t.child(e).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){I(this.attrs,t,"node",this.name)}allowsMarkType(t){return null==this.markSet||this.markSet.indexOf(t)>-1}allowsMarks(t){if(null==this.markSet)return!0;for(let e=0;e<t.length;e++)if(!this.allowsMarkType(t[e].type))return!1;return!0}allowedMarks(t){let e;if(null==this.markSet)return t;for(let n=0;n<t.length;n++)this.allowsMarkType(t[n].type)?e&&e.push(t[n]):e||(e=t.slice(0,n));return e?e.length?e:l.none:t}static compile(t,e){let n=Object.create(null);t.forEach((t,i)=>n[t]=new D(t,e,i));let i=e.spec.topNode||"doc";if(!n[i])throw RangeError("Schema is missing its top node type ('"+i+"')");if(!n.text)throw RangeError("Every schema needs a 'text' type");for(let t in n.text.attrs)throw RangeError("The text node type should not have attributes");return n}}class F{constructor(t,e,n){let i;this.hasDefault=Object.prototype.hasOwnProperty.call(n,"default"),this.default=n.default,this.validate="string"==typeof n.validate?(i=n.validate.split("|"),n=>{let r=null===n?"null":typeof n;if(0>i.indexOf(r))throw RangeError(`Expected value of type ${i} for attribute ${e} on type ${t}, got ${r}`)}):n.validate}get isRequired(){return!this.hasDefault}}class P{constructor(t,e,n,i){this.name=t,this.rank=e,this.schema=n,this.spec=i,this.attrs=N(t,i.attrs),this.excluded=null;let r=R(this.attrs);this.instance=r?new l(this,r):null}create(t=null){return!t&&this.instance?this.instance:new l(this,M(this.attrs,t))}static compile(t,e){let n=Object.create(null),i=0;return t.forEach((t,r)=>n[t]=new P(t,i++,e,r)),n}removeFromSet(t){for(var e=0;e<t.length;
4e++)t[e].type==this&&(t=t.slice(0,e).concat(t.slice(e+1)),e--);return t}isInSet(t){for(let e=0;e<t.length;e++)if(t[e].type==this)return t[e]}checkAttrs(t){I(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class L{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let e=this.spec={};for(let n in t)e[n]=t[n];e.nodes=i.from(t.nodes),e.marks=i.from(t.marks||{}),this.nodes=D.compile(this.spec.nodes,this),this.marks=P.compile(this.spec.marks,this);let n=Object.create(null);for(let t in this.nodes){if(t in this.marks)throw RangeError(t+" can not be both a node and a mark");let e=this.nodes[t],i=e.spec.content||"",r=e.spec.marks;if(e.contentMatch=n[i]||(n[i]=O.parse(i,this.nodes)),e.inlineContent=e.contentMatch.inlineContent,e.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError("Multiple linebreak nodes defined");if(!e.isInline||!e.isLeaf)throw RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=e}e.markSet="_"==r?null:r?B(this,r.split(" ")):""!=r&&e.inlineContent?null:[]}for(let t in this.marks){let e=this.marks[t],n=e.spec.excludes;e.excluded=null==n?[e]:""==n?[]:B(this,n.split(" "))}this.nodeFromJSON=t=>S.fromJSON(this,t),this.markFromJSON=t=>l.fromJSON(this,t),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,e=null,n,i){if("string"==typeof t)t=this.nodeType(t);else if(t instanceof D){if(t.schema!=this)throw RangeError("Node type from different schema used ("+t.name+")")}else throw RangeError("Invalid node type: "+t);return t.createChecked(e,n,i)}text(t,e){let n=this.nodes.text;return new E(n,n.defaultAttrs,t,l.setFrom(e))}mark(t,e){return"string"==typeof t&&(t=this.marks[t]),t.create(e)}nodeType(t){let e=this.nodes[t];if(!e)throw RangeError("Unknown node type: "+t);return e}}function B(t,e){let n=[];for(let i=0;i<e.length;i++){let r=e[i],o=t.marks[r],a=o;if(o)n.push(o);else for(let e in t.marks){let i=t.marks[e];("_"==r||i.spec.group&&i.spec.group.split(" ").indexOf(r)>-1)&&n.push(a=i)}if(!a)throw SyntaxError("Unknown mark type: '"+e[i]+"'")}return n}class q{constructor(t,e){this.schema=t,this.rules=e,this.tags=[],this.styles=[];let n=this.matchedStyles=[];e.forEach(t=>{if(null!=t.tag)this.tags.push(t);else if(null!=t.style){let e=/[^=]*/.exec(t.style)[0];0>n.indexOf(e)&&n.push(e),this.styles.push(t)}}),this.normalizeLists=!this.tags.some(e=>{if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;let n=t.nodes[e.node];return n.contentMatch.matchType(n)})}parse(t,e={}){let n=new Y(this,e,!1);return n.addAll(t,l.none,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new Y(this,e,!0);return n.addAll(t,l.none,e.from,e.to),c.maxOpen(n.finish())}matchTag(t,e,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){var i;let n=this.tags[r];if(i=n.tag,(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,i)&&(void 0===n.namespace||t.namespaceURI==n.namespace)&&(!n.context||e.matchesContext(n.context))){if(n.getAttrs){let e=n.getAttrs(t);if(!1===e)continue;n.attrs=e||void 0}return n}}}matchStyle(t,e,n,i){for(let r=i?this.styles.indexOf(i)+1:0;r<this.styles.length;r++){let i=this.styles[r],o=i.style;if(0==o.indexOf(t)&&(!i.context||n.matchesContext(i.context))&&(!(o.length>t.length)||61==o.charCodeAt(t.length)&&o.slice(t.length+1)==e)){if(i.getAttrs){let t=i.getAttrs(e);if(!1===t)continue;i.attrs=t||void 0}return i}}}static schemaRules(t){let e=[];function n(t){let n=null==t.priority?50:t.priority,i=0;for(;i<e.length;i++){let t=e[i];if((null==t.priority?50:t.priority)<n)break}e.splice(i,0,t)}for(let e in t.marks){let i=t.marks[e].spec.parseDOM;i&&i.forEach(t=>{n(t=U(t)),t.mark||t.ignore||t.clearMark||(t.mark=e)})}for(let e in t.nodes){let i=t.nodes[e].spec.parseDOM;i&&i.forEach(t=>{n(t=U(t)),t.node||t.ignore||t.mark||(t.node=e)})}return e}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new q(t,q.schemaRules(t)))}}let $={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},H={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},J={ol:!0,ul:!0};function _(t,e,n){return null!=e?(e?1:0)|("full"===e?2:0):t&&"pre"==t.whitespace?3:-5&n}class W{constructor(t,e,n,i,r,o){this.type=t,this.attrs=e,this.marks=n,this.solid=i,this.options=o,this.content=[],this.activeMarks=l.none,this.match=r||(4&o?null:t.contentMatch)}
4findWrapping(t){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(r.from(t));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let e=this.type.contentMatch,n;return(n=e.findWrapping(t.type))?(this.match=e,n):null}}return this.match.findWrapping(t.type)}finish(t){if(!(1&this.options)){let t=this.content[this.content.length-1],e;t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))&&(t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=t.withText(t.text.slice(0,t.text.length-e[0].length)))}let e=r.from(this.content);return!t&&this.match&&(e=e.append(this.match.fillBefore(r.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!$.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class Y{constructor(t,e,n){this.parser=t,this.options=e,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let i=e.topNode,r,o=_(null,e.preserveWhitespace,0)|(n?4:0);r=i?new W(i.type,i.attrs,l.none,!0,e.topMatch||i.type.contentMatch,o):n?new W(null,null,l.none,!0,null,o):new W(t.schema.topNodeType,null,l.none,!0,null,o),this.nodes=[r],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,e){3==t.nodeType?this.addTextNode(t,e):1==t.nodeType&&this.addElement(t,e)}addTextNode(t,e){let n=t.nodeValue,i=this.top,r=2&i.options?"full":this.localPreserveWS||(1&i.options)>0,{schema:o}=this.parser;if("full"===r||i.inlineContext(t)||/[^ \t\r\n\u000c]/.test(n)){if(r){if("full"===r)n=n.replace(/\r\n?/g,"\n");else if(o.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(o.linebreakReplacement.create())){let t=n.split(/\r?\n|\r/);for(let n=0;n<t.length;n++)n&&this.insertNode(o.linebreakReplacement.create(),e,!0),t[n]&&this.insertNode(o.text(t[n]),e,!/\S/.test(t[n]));n=""}else n=n.replace(/\r?\n|\r/g," ")}else if(n=n.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let e=i.content[i.content.length-1],r=t.previousSibling;
vendor: 5,992 bytes, line 4
4(!e||r&&"BR"==r.nodeName||e.isText&&/[ \t\r\n\u000c]$/.test(e.text))&&(n=n.slice(1))}n&&this.insertNode(o.text(n),e,!/\S/.test(n)),this.findInText(t)}else this.findInside(t)}addElement(t,e,n){let i=this.localPreserveWS,r=this.top;("PRE"==t.tagName||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let o=t.nodeName.toLowerCase(),a;J.hasOwnProperty(o)&&this.parser.normalizeLists&&function(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let t=1==e.nodeType?e.nodeName.toLowerCase():null;t&&J.hasOwnProperty(t)&&n?(n.appendChild(e),e=n):"li"==t?n=e:t&&(n=null)}}(t);let s=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(a=this.parser.matchTag(t,this,n));e:if(s?s.ignore:H.hasOwnProperty(o))this.findInside(t),this.ignoreFallback(t,e);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(t=s.skip);let n,i=this.needsBlock;if($.hasOwnProperty(o))r.content.length&&r.content[0].isInline&&this.open&&(this.open--,r=this.top),n=!0,r.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,e);break e}let a=s&&s.skip?e:this.readStyles(t,e);a&&this.addAll(t,a),n&&this.sync(r),this.needsBlock=i}else{let n=this.readStyles(t,e);n&&this.addElementByRule(t,s,n,!1===s.consuming?a:void 0)}this.localPreserveWS=i}leafFallback(t,e){"BR"==t.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode("\n"),e)}ignoreFallback(t,e){"BR"!=t.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"),e,!0)}readStyles(t,e){let n=t.style;if(n&&n.length)for(let t=0;t<this.parser.matchedStyles.length;t++){let i=this.parser.matchedStyles[t],r=n.getPropertyValue(i);if(r)for(let t;;){let n=this.parser.matchStyle(i,r,this,t);if(!n)break;if(n.ignore)return null;if(e=n.clearMark?e.filter(t=>!n.clearMark(t)):e.concat(this.parser.schema.marks[n.mark].create(n.attrs)),!1===n.consuming)t=n;else break}}return e}addElementByRule(t,e,n,i){let r,o;if(e.node){if((o=this.parser.schema.nodes[e.node]).isLeaf)this.insertNode(o.create(e.attrs),n,"BR"==t.nodeName)||this.leafFallback(t,n);else{let t=this.enter(o,e.attrs||null,n,e.preserveWhitespace);t&&(r=!0,n=t)}}else{let t=this.parser.schema.marks[e.mark];n=n.concat(t.create(e.attrs))}let a=this.top;if(o&&o.isLeaf)this.findInside(t);else if(i)this.addElement(t,n,i);else if(e.getContent)this.findInside(t),e.getContent(t,this.parser.schema).forEach(t=>this.insertNode(t,n,!1));else{let i=t;"string"==typeof e.contentElement?i=t.querySelector(e.contentElement):"function"==typeof e.contentElement?i=e.contentElement(t):e.contentElement&&(i=e.contentElement),this.findAround(t,i,!0),this.addAll(i,n),this.findAround(t,i,!1)}r&&this.sync(a)&&this.open--}addAll(t,e,n,i){let r=n||0;for(let o=n?t.childNodes[n]:t.firstChild,a=null==i?null:t.childNodes[i];o!=a;o=o.nextSibling,++r)this.findAtPoint(t,r),this.addDOM(o,e);this.findAtPoint(t,r)}findPlace(t,e,n){let i,r;for(let e=this.open,o=0;e>=0;e--){let a=this.nodes[e],s=a.findWrapping(t);if(s&&(!i||i.length>s.length+o)&&(i=s,r=a,!s.length))break;if(a.solid){if(n)break;o+=2}}if(!i)return null;this.sync(r);for(let t=0;t<i.length;t++)e=this.enterInner(i[t],null,e,!1);return e}insertNode(t,e,n){if(t.isInline&&this.needsBlock&&!this.top.type){let t=this.textblockFromContext();t&&(e=this.enterInner(t,null,e))}let i=this.findPlace(t,e,n);if(i){this.closeExtra();let e=this.top;e.match&&(e.match=e.match.matchType(t.type));let n=l.none;for(let r of i.concat(t.marks))(e.type?e.type.allowsMarkType(r.type):V(r.type,t.type))&&(n=r.addToSet(n));return e.content.push(t.mark(n)),!0}return!1}enter(t,e,n,i){let r=this.findPlace(t.create(e),n,!1);return r&&(r=this.enterInner(t,e,n,!0,i)),r}enterInner(t,e,n,i=!1,r){this.closeExtra();let o=this.top;o.match=o.match&&o.match.matchType(t);let a=_(t,r,o.options);4&o.options&&0==o.content.length&&(a|=4);let s=l.none;return n=n.filter(e=>(o.type?!o.type.allowsMarkType(e.type):!V(e.type,t))||(s=e.addToSet(s),!1)),this.nodes.push(new W(t,e,s,i,null,a)),this.open++,n}closeExtra(t=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(t));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(t){for(let e=this.open;e>=0;e--){if(this.nodes[e]==t)return this.open=e,!0;this.localPreserveWS&&(this.nodes[e].options|=1)}return!1}get currentPos(){this.closeExtra();let t=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let e=n.length-1;e>=0;e--)t+=n[e].nodeSize;e&&t++}return t}findAtPoint(t,e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)}findInside(t){if(this.find)for(let e=0;e<this.find.length;e++)null==this.find[e].pos&&1==t.nodeType&&t.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)}findAround(t,e,n){if(t!=e&&this.find)for(let i=0;i<this.find.length;i++)null==this.find[i].pos&&1==t.nodeType&&t.contains(this.find[i].node)&&e.compareDocumentPosition(this.find[i].node)&(n?2:4)&&(this.find[i].pos=this.currentPos)}findInText(t){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].node==t&&(this.find[e].pos=this.currentPos-(t.nodeValue.length-this.find[e].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let e=t.split("/"),n=this.options.context,i=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),r=-(n?n.depth+1:0)+(i?0:1),o=(t,a)=>{for(;t>=0;t--){let s=e[t];if(""==s){if(t==e.length-1||0==t)continue;for(;a>=r;a--)if(o(t-1,a))return!0;return!1}{let t=a>0||0==a&&i?this.nodes[a].type:n&&a>=r?n.node(a-r).type:null;if(!t||t.name!=s&&!t.isInGroup(s))return!1;a--}}return!0};return o(e.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let e=t.depth;e>=0;e--){let n=t.node(e).contentMatchAt(t.indexAfter(e)).defaultType;
4if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let t in this.parser.schema.nodes){let e=this.parser.schema.nodes[t];if(e.isTextblock&&e.defaultAttrs)return e}}}function U(t){let e={};for(let n in t)e[n]=t[n];return e}function V(t,e){let n=e.schema.nodes;for(let i in n){let r=n[i];if(!r.allowsMarkType(t))continue;let o=[],a=t=>{o.push(t);for(let n=0;n<t.edgeCount;n++){let{type:i,next:r}=t.edge(n);if(i==e||0>o.indexOf(r)&&a(r))return!0}};if(a(r.contentMatch))return!0}}class K{constructor(t,e){this.nodes=t,this.marks=e}serializeFragment(t,e={},n){n||(n=Q(e).createDocumentFragment());let i=n,r=[];return t.forEach(t=>{if(r.length||t.marks.length){let n=0,o=0;for(;n<r.length&&o<t.marks.length;){let e=t.marks[o];if(!this.marks[e.type.name]){o++;continue}if(!e.eq(r[n][0])||!1===e.type.spec.spanning)break;n++,o++}for(;n<r.length;)i=r.pop()[1];for(;o<t.marks.length;){let n=t.marks[o++],a=this.serializeMark(n,t.isInline,e);a&&(r.push([n,i]),i.appendChild(a.dom),i=a.contentDOM||a.dom)}}i.appendChild(this.serializeNodeInner(t,e))}),n}serializeNodeInner(t,e){let{dom:n,contentDOM:i}=Z(Q(e),this.nodes[t.type.name](t),null,t.attrs);if(i){if(t.isLeaf)throw RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,e,i)}return n}serializeNode(t,e={}){let n=this.serializeNodeInner(t,e);for(let i=t.marks.length-1;i>=0;i--){let r=this.serializeMark(t.marks[i],t.isInline,e);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n}serializeMark(t,e,n={}){let i=this.marks[t.type.name];return i&&Z(Q(n),i(t,e),null,t.attrs)}static renderSpec(t,e,n=null,i){return Z(t,e,n,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new K(this.nodesFromSchema(t),this.marksFromSchema(t)))}
4static nodesFromSchema(t){let e=G(t.nodes);return e.text||(e.text=t=>t.text),e}static marksFromSchema(t){return G(t.marks)}}function G(t){let e={};for(let n in t){let i=t[n].spec.toDOM;i&&(e[n]=i)}return e}function Q(t){return t.document||window.document}let X=new WeakMap;function Z(t,e,n,i){let r,o,a;if("string"==typeof e)return{dom:t.createTextNode(e)};if(null!=e.nodeType)return{dom:e};if(e.dom&&null!=e.dom.nodeType)return e;let s=e[0],l;if("string"!=typeof s)throw RangeError("Invalid array passed to renderSpec");if(i&&(void 0===(o=X.get(i))&&X.set(i,(a=null,function t(e){if(e&&"object"==typeof e){if(Array.isArray(e)){if("string"==typeof e[0])a||(a=[]),a.push(e);else for(let n=0;n<e.length;n++)t(e[n])}else for(let n in e)t(e[n])}}(i),o=a)),l=o)&&l.indexOf(e)>-1)throw RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let p=s.indexOf(" ");p>0&&(n=s.slice(0,p),s=s.slice(p+1));let c=n?t.createElementNS(n,s):t.createElement(s),d=e[1],u=1;if(d&&"object"==typeof d&&null==d.nodeType&&!Array.isArray(d)){for(let t in u=2,d)if(null!=d[t]){let e=t.indexOf(" ");e>0?c.setAttributeNS(t.slice(0,e),t.slice(e+1),d[t]):"style"==t&&c.style?c.style.cssText=d[t]:c.setAttribute(t,d[t])}}for(let o=u;o<e.length;o++){let a=e[o];if(0===a){if(o<e.length-1||o>u)throw RangeError("Content hole must be the only child of its parent node");return{dom:c,contentDOM:c}}{let{dom:e,contentDOM:o}=Z(t,a,n,i);if(c.appendChild(e),o){if(r)throw RangeError("Multiple content holes");r=o}}}return{dom:c,contentDOM:r}}},33120:function(t,e,n){"use strict";n.d(e,{IB:function(){return a},KI:function(){return o},bw:function(){return s}});var i=n(66570),r=n(69323);function o(t,e=null){return function(n,o){let{$from:a,$to:s}=n.selection,l=a.blockRange(s);if(!l)return!1;let p=o?n.tr:null;return!!function(t,e,n,o=null){let a=!1,s=e,l=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&0==e.startIndex){if(0==e.$from.index(e.depth-1))return!1;let t=l.resolve(e.start-2);s=new r.Ts(t,t,e.depth),e.endIndex<e.parent.childCount&&(e=new r.Ts(e.$from,l.resolve(e.$to.end(e.depth)),e.depth)),a=!0}let p=(0,i.nd)(s,n,o,e);return!!p&&(t&&function(t,e,n,o,a){let s=r.HY.empty;for(let t=n.length-1;t>=0;t--)s=r.HY.from(n[t].type.create(n[t].attrs,s));t.step(new i.FC(e.start-(o?2:0),e.end,e.start,e.end,new r.p2(s,0,0),n.length,!0));let l=0;for(let t=0;t<n.length;t++)n[t].type==a&&(l=t+1);let p=n.length-l,c=e.start+n.length-(o?2:0),d=e.parent;for(let n=e.startIndex,r=e.endIndex,o=!0;n<r;n++,o=!1)!o&&(0,i.Ax)(t.doc,c,p)&&(t.split(c,p),c+=2*p),c+=d.child(n).nodeSize}(t,e,p,a,n),!0)}(p,l,t,e)&&(o&&o(p.scrollIntoView()),!0)}}function a(t){return function(e,n){let{$from:o,$to:a}=e.selection,s=o.blockRange(a,e=>e.childCount>0&&e.firstChild.type==t);return!!s&&(!n||(o.node(s.depth-1).type==t?function(t,e,n,o){let a=t.tr,s=o.end,l=o.$to.end(o.depth);s<l&&(a.step(new i.FC(s-1,l,s,l,new r.p2(r.HY.from(n.create(null,o.parent.copy())),1,0),1,!0)),o=new r.Ts(a.doc.resolve(o.$from.pos),a.doc.resolve(l),o.depth));let p=(0,i.k9)(o);if(null==p)return!1;a.lift(o,p);let c=a.doc.resolve(a.mapping.map(s,-1)-1);return(0,i.Mn)(a.doc,c.pos)&&c.nodeBefore.type==c.nodeAfter.type&&a.join(c.pos),e(a.scrollIntoView()),!0}(e,n,t,s):function(t,e,n){let o=t.tr,a=n.parent;for(let t=n.end,e=n.endIndex-1,i=n.startIndex;e>i;e--)t-=a.child(e).nodeSize,o.delete(t-1,t+1);let s=o.doc.resolve(n.start),l=s.nodeAfter;if(o.mapping.map(n.end)!=n.start+s.nodeAfter.nodeSize)return!1;let p=0==n.startIndex,c=n.endIndex==a.childCount,d=s.node(-1),u=s.index(-1);if(!d.canReplace(u+(p?0:1),u+1,l.content.append(c?r.HY.empty:r.HY.from(a))))return!1;let h=s.pos,f=h+l.nodeSize;return o.step(new i.FC(h-(p?1:0),f+(c?1:0),h+1,f-1,new r.p2((p?r.HY.empty:r.HY.from(a.copy(r.HY.empty))).append(c?r.HY.empty:r.HY.from(a.copy(r.HY.empty))),p?0:1,c?0:1),p?0:1)),e(o.scrollIntoView()),!0}(e,n,s)))}}function s(t){return function(e,n){let{$from:o,$to:a}=e.selection,s=o.blockRange(a,e=>e.childCount>0&&e.firstChild.type==t);if(!s)return!1;let l=s.startIndex;if(0==l)return!1;let p=s.parent,c=p.child(l-1);if(c.type!=t)return!1;if(n){let o=c.lastChild&&c.lastChild.type==p.type,a=r.HY.from(o?t.create():null),l=new r.p2(r.HY.from(t.create(null,r.HY.from(p.type.create(null,a)))),o?3:1,0),d=s.start,u=s.end;n(e.tr.step(new i.FC(d-(o?3:1),u,d,u,l,1,!0)).scrollIntoView())}return!0}}},40160:function(t,e,n){"use strict";n.d(e,{Bs:function(){return c},C1:function(){return f},H$:function(){return A},Sy:function(){return E},Y1:function(){return a},qv:function(){return u},xm:function(){return s},yy:function(){return S}});var i=n(69323),r=n(66570);let o=Object.create(null);class a{constructor(t,e,n){this.$anchor=t,this.$head=e,this.ranges=n||[new s(t.min(e),t.max(e))]}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 t=this.ranges;for(let e=0;e<t.length;e++)if(t[e].$from.pos!=t[e].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,e=i.p2.empty){let n=e.content.lastChild,r=null;for(let t=0;t<e.openEnd;t++)r=n,n=n.lastChild;let o=t.steps.length,a=this.ranges;for(let s=0;s<a.length;
4s++){let{$from:l,$to:p}=a[s],c=t.mapping.slice(o);t.replaceRange(c.map(l.pos),c.map(p.pos),s?i.p2.empty:e),0==s&&v(t,o,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(t,e){let n=t.steps.length,i=this.ranges;for(let r=0;r<i.length;r++){let{$from:o,$to:a}=i[r],s=t.mapping.slice(n),l=s.map(o.pos),p=s.map(a.pos);r?t.deleteRange(l,p):(t.replaceRangeWith(l,p,e),v(t,n,e.isInline?-1:1))}}static findFrom(t,e,n=!1){let i=t.parent.inlineContent?new c(t):g(t.node(0),t.parent,t.pos,t.index(),e,n);if(i)return i;for(let i=t.depth-1;i>=0;i--){let r=e<0?g(t.node(0),t.node(i),t.before(i+1),t.index(i),e,n):g(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,e,n);if(r)return r}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new f(t.node(0))}static atStart(t){return g(t,t,0,0,1)||new f(t)}static atEnd(t){return g(t,t,t.content.size,t.childCount,-1)||new f(t)}static fromJSON(t,e){if(!e||!e.type)throw RangeError("Invalid input for Selection.fromJSON");let n=o[e.type];if(!n)throw RangeError(`No selection type ${e.type} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in o)throw RangeError("Duplicate use of selection JSON ID "+t);return o[t]=e,e.prototype.jsonID=t,e}getBookmark(){return c.between(this.$anchor,this.$head).getBookmark()}}a.prototype.visible=!0;class s{constructor(t,e){this.$from=t,this.$to=e}}let l=!1;function p(t){l||t.parent.inlineContent||(l=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class c extends a{constructor(t,e=t){p(t),p(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let n=t.resolve(e.map(this.head));if(!n.parent.inlineContent)return a.near(n);let i=t.resolve(e.map(this.anchor));return new c(i.parent.inlineContent?i:n,n)}replace(t,e=i.p2.empty){if(super.replace(t,e),e==i.p2.empty){let e=this.$from.marksAcross(this.$to);e&&t.ensureMarks(e)}}eq(t){return t instanceof c&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new d(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid input for TextSelection.fromJSON");return new c(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,n=e){let i=t.resolve(e);return new this(i,n==e?i:t.resolve(n))}static between(t,e,n){let i=t.pos-e.pos;if((!n||i)&&(n=i>=0?1:-1),!e.parent.inlineContent){let t=a.findFrom(e,n,!0)||a.findFrom(e,-n,!0);if(!t)return a.near(e,n);e=t.$head}return t.parent.inlineContent||(0==i?t=e:(t=(a.findFrom(t,-n,!0)||a.findFrom(t,n,!0)).$anchor).pos<e.pos==i<0||(t=e)),new c(t,e)}}a.jsonID("text",c);class d{constructor(t,e){this.anchor=t,this.head=e}map(t){return new d(t.map(this.anchor),t.map(this.head))}resolve(t){return c.between(t.resolve(this.anchor),t.resolve(this.head))}}class u extends a{constructor(t){let e=t.nodeAfter;super(t,t.node(0).resolve(t.pos+e.nodeSize)),this.node=e}map(t,e){let{deleted:n,pos:i}=e.mapResult(this.anchor),r=t.resolve(i);return n?a.near(r):new u(r)}content(){return new i.p2(i.HY.from(this.node),0,0)}eq(t){return t instanceof u&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new h(this.anchor)}static fromJSON(t,e){if("number"!=typeof e.anchor)throw RangeError("Invalid input for NodeSelection.fromJSON");return new u(t.resolve(e.anchor))}static create(t,e){return new u(t.resolve(e))}static isSelectable(t){return!t.isText&&!1!==t.type.spec.selectable}}u.prototype.visible=!1,a.jsonID("node",u);class h{constructor(t){this.anchor=t}map(t){let{deleted:e,pos:n}=t.mapResult(this.anchor);return e?new d(n,n):new h(n)}resolve(t){let e=t.resolve(this.anchor),n=e.nodeAfter;return n&&u.isSelectable(n)?new u(e):a.near(e)}}class f extends a{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,e=i.p2.empty){if(e==i.p2.empty){t.delete(0,t.doc.content.size);let e=a.atStart(t.doc);e.eq(t.selection)||t.setSelection(e)}else super.replace(t,e)}toJSON(){return{type:"all"}}static fromJSON(t){return new f(t)}map(t){return new f(t)}eq(t){return t instanceof f}getBookmark(){return m}}a.jsonID("all",f);let m={map(){return this},resolve:t=>new f(t)};function g(t,e,n,i,r,o=!1){if(e.inlineContent)return c.create(t,n);for(let a=i-(r>0?0:1);r>0?a<e.childCount:a>=0;a+=r){let i=e.child(a);
vendor: 6,897 bytes, line 4
4if(i.isAtom){if(!o&&u.isSelectable(i))return u.create(t,n-(r<0?i.nodeSize:0))}else{let e=g(t,i,n+r,r<0?i.childCount:0,r,o);if(e)return e}n+=i.nodeSize*r}return null}function v(t,e,n){let i,o=t.steps.length-1;if(o<e)return;let s=t.steps[o];(s instanceof r.Pu||s instanceof r.FC)&&(t.mapping.maps[o].forEach((t,e,n,r)=>{null==i&&(i=r)}),t.setSelection(a.near(t.doc.resolve(i),n)))}class x extends r.wx{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.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(t){if(t.$from.doc!=this.doc)throw RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=(1|this.updated)&-3,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return i.vc.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let n=this.selection;return e&&(t=t.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||i.vc.none))),n.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,n){let i=this.doc.type.schema;if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();{if(null==n&&(n=e),!t)return this.deleteRange(e,n);let r=this.storedMarks;if(!r){let t=this.doc.resolve(e);r=n==e?t.marks():t.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,i.text(t,r)),this.selection.empty||this.selection.to!=e+t.length||this.setSelection(a.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function y(t,e){return e&&t?t.bind(e):t}class b{constructor(t,e,n){this.name=t,this.init=y(e.init,n),this.apply=y(e.apply,n)}}let w=[new b("doc",{init:t=>t.doc||t.schema.topNodeType.createAndFill(),apply:t=>t.doc}),new b("selection",{init:(t,e)=>t.selection||a.atStart(e.doc),apply:t=>t.selection}),new b("storedMarks",{init:t=>t.storedMarks||null,apply:(t,e,n,i)=>i.selection.$cursor?t.storedMarks:null}),new b("scrollToSelection",{init:()=>0,apply:(t,e)=>t.scrolledIntoView?e+1:e})];class k{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=w.slice(),e&&e.forEach(t=>{if(this.pluginsByKey[t.key])throw RangeError("Adding different instances of a keyed plugin ("+t.key+")");this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new b(t.key,t.spec.state,t))})}}class S{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=e){let e=this.config.plugins[n];if(e.spec.filterTransaction&&!e.spec.filterTransaction.call(e,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let e=[t],n=this.applyInner(t),i=null;for(;;){let r=!1;for(let o=0;o<this.config.plugins.length;o++){let a=this.config.plugins[o];if(a.spec.appendTransaction){let s=i?i[o].n:0,l=i?i[o].state:this,p=s<e.length&&a.spec.appendTransaction.call(a,s?e.slice(s):e,l,n);if(p&&n.filterTransaction(p,o)){if(p.setMeta("appendedTransaction",t),!i){i=[];for(let t=0;t<this.config.plugins.length;t++)i.push(t<o?{state:n,n:e.length}:{state:this,n:0})}e.push(p),n=n.applyInner(p),r=!0}i&&(i[o]={state:n,n:e.length})}}if(!r)return{state:n,transactions:e}}}applyInner(t){if(!t.before.eq(this.doc))throw RangeError("Applying a mismatched transaction");let e=new S(this.config),n=this.config.fields;for(let i=0;i<n.length;i++){let r=n[i];e[r.name]=r.apply(t,this[r.name],this,e)}return e}get tr(){return new x(this)}static create(t){let e=new k(t.doc?t.doc.type.schema:t.schema,t.plugins),n=new S(e);for(let i=0;i<e.fields.length;i++)n[e.fields[i].name]=e.fields[i].init(t,n);return n}reconfigure(t){let e=new k(this.schema,t.plugins),n=e.fields,i=new S(e);for(let e=0;e<n.length;e++){let r=n[e].name;i[r]=this.hasOwnProperty(r)?this[r]:n[e].init(t,i)}return i}toJSON(t){let e={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(e.storedMarks=this.storedMarks.map(t=>t.toJSON())),t&&"object"==typeof t)for(let n in t){if("doc"==n||"selection"==n)throw RangeError("The JSON fields `doc` and `selection` are reserved");let i=t[n],r=i.spec.state;r&&r.toJSON&&(e[n]=r.toJSON.call(i,this[i.key]))}return e}static fromJSON(t,e,n){if(!e)throw RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw RangeError("Required config field 'schema' missing");let r=new k(t.schema,t.plugins),o=new S(r);return r.fields.forEach(r=>{if("doc"==r.name)o.doc=i.NB.fromJSON(t.schema,e.doc);else if("selection"==r.name)o.selection=a.fromJSON(o.doc,e.selection);else if("storedMarks"==r.name)e.storedMarks&&(o.storedMarks=e.storedMarks.map(t.schema.markFromJSON));else{if(n)for(let i in n){let a=n[i],s=a.spec.state;if(a.key==r.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(e,i)){o[r.name]=s.fromJSON.call(a,t,e[i],o);return}}o[r.name]=r.init(t,o)}}),o}}class E{constructor(t){this.spec=t,this.props={},t.props&&function t(e,n,i){for(let r in e){let o=e[r];o instanceof Function?o=o.bind(n):"handleDOMEvents"==r&&(o=t(o,n,{})),i[r]=o}return i}(t.props,this,this.props),this.key=t.key?t.key.key:O("plugin")}getState(t){return t[this.key]}}let C=Object.create(null);function O(t){return t in C?t+"$"+ ++C[t]:(C[t]=0,t+"$")}class A{constructor(t="key"){this.key=O(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}},66570:function(t,e,n){"use strict";n.d(e,{Ax:function(){return E},FC:function(){return g},GJ:function(){return A},Mn:function(){return C},Pu:function(){return m},dR:function(){return T},k9:function(){return y},nd:function(){return b},nj:function(){return j},vs:function(){return a},wx:function(){return q}
4,xu:function(){return u}});var i=n(69323);class r{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class o{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&o.empty)return o.empty}recover(t){let e=0,n=65535&t;if(!this.inverted)for(let t=0;t<n;t++)e+=this.ranges[3*t+2]-this.ranges[3*t+1];return this.ranges[3*n]+e+(t-(65535&t))/65536}mapResult(t,e=1){return this._map(t,e,!1)}map(t,e=1){return this._map(t,e,!0)}_map(t,e,n){let i=0,o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let l=this.ranges[s]-(this.inverted?i:0);if(l>t)break;let p=this.ranges[s+o],c=this.ranges[s+a],d=l+p;if(t<=d){let o=p?t==l?-1:t==d?1:e:e,a=l+i+(o<0?0:c);if(n)return a;let u=t==(e<0?l:d)?null:s/3+(t-l)*65536,h=t==l?2:t==d?1:4;return(e<0?t!=l:t!=d)&&(h|=8),new r(a,h,u)}i+=c-p}return n?t+i:new r(t+i,0,null)}touches(t,e){let n=0,i=65535&e,r=this.inverted?2:1,o=this.inverted?1:2;for(let e=0;e<this.ranges.length;e+=3){let a=this.ranges[e]-(this.inverted?n:0);if(a>t)break;let s=this.ranges[e+r];if(t<=a+s&&e==3*i)return!0;n+=this.ranges[e+o]-s}return!1}forEach(t){let e=this.inverted?2:1,n=this.inverted?1:2;for(let i=0,r=0;i<this.ranges.length;i+=3){let o=this.ranges[i],a=o-(this.inverted?r:0),s=o+(this.inverted?0:r),l=this.ranges[i+e],p=this.ranges[i+n];t(a,a+l,s,s+p),r+=p-l}}invert(){return new o(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return 0==t?o.empty:new o(t<0?[0,-t,0]:[0,0,t])}}o.empty=new o([]);class a{constructor(t,e,n=0,i=t?t.length:0){this.mirror=e,this.from=n,this.to=i,this._maps=t||[],this.ownData=!(t||e)}get maps(){return this._maps}slice(t=0,e=this.maps.length){return new a(this._maps,this.mirror,t,e)}appendMap(t,e){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(t),null!=e&&this.setMirror(this._maps.length-1,e)}appendMapping(t){for(let e=0,n=this._maps.length;e<t._maps.length;e++){let i=t.getMirror(e);this.appendMap(t._maps[e],null!=i&&i<e?n+i:void 0)}}getMirror(t){if(this.mirror){for(let e=0;e<this.mirror.length;e++)if(this.mirror[e]==t)return this.mirror[e+(e%2?-1:1)]}}setMirror(t,e){this.mirror||(this.mirror=[]),this.mirror.push(t,e)}appendMappingInverted(t){for(let e=t.maps.length-1,n=this._maps.length+t._maps.length;e>=0;e--){let i=t.getMirror(e);this.appendMap(t._maps[e].invert(),null!=i&&i>e?n-i-1:void 0)}}invert(){let t=new a;return t.appendMappingInverted(this),t}map(t,e=1){if(this.mirror)return this._map(t,e,!0);for(let n=this.from;n<this.to;n++)t=this._maps[n].map(t,e);return t}mapResult(t,e=1){return this._map(t,e,!1)}_map(t,e,n){let i=0;for(let n=this.from;n<this.to;n++){let r=this._maps[n].mapResult(t,e);if(null!=r.recover){let e=this.getMirror(n);if(null!=e&&e>n&&e<this.to){n=e,t=this._maps[e].recover(r.recover);continue}}i|=r.delInfo,t=r.pos}return n?t:new r(t,i,null)}}let s=Object.create(null);class l{getMap(){return o.empty}merge(t){return null}static fromJSON(t,e){if(!e||!e.stepType)throw RangeError("Invalid input for Step.fromJSON");let n=s[e.stepType];if(!n)throw RangeError(`No step type ${e.stepType} defined`);return n.fromJSON(t,e)}static jsonID(t,e){if(t in s)throw RangeError("Duplicate use of step JSON ID "+t);return s[t]=e,e.prototype.jsonID=t,e}}class p{constructor(t,e){this.doc=t,this.failed=e}static ok(t){return new p(t,null)}static fail(t){return new p(null,t)}static fromReplace(t,e,n,r){try{return p.ok(t.replace(e,n,r))}catch(t){if(t instanceof i.e4)return p.fail(t.message);throw t}}}function c(t,e,n){let r=[];for(let i=0;i<t.childCount;i++){let o=t.child(i);o.content.size&&(o=o.copy(c(o.content,e,o))),o.isInline&&(o=e(o,n,i)),r.push(o)}return i.HY.fromArray(r)}class d extends l{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=t.resolve(this.from),r=n.node(n.sharedDepth(this.to)),o=new i.p2(c(e.content,(t,e)=>t.isAtom&&e.type.allowsMarkType(this.mark.type)?t.mark(this.mark.addToSet(t.marks)):t,r),e.openStart,e.openEnd);return p.fromReplace(t,this.from,this.to,o)}invert(){return new u(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new d(e.pos,n.pos,this.mark)}merge(t){return t instanceof d&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new d(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for AddMarkStep.fromJSON");return new d(e.from,e.to,t.markFromJSON(e.mark))}}l.jsonID("addMark",d);class u extends l{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}
vendor: 5,857 bytes, line 4
4apply(t){let e=t.slice(this.from,this.to),n=new i.p2(c(e.content,t=>t.mark(this.mark.removeFromSet(t.marks)),t),e.openStart,e.openEnd);return p.fromReplace(t,this.from,this.to,n)}invert(){return new d(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new u(e.pos,n.pos,this.mark)}merge(t){return t instanceof u&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new u(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for RemoveMarkStep.fromJSON");return new u(e.from,e.to,t.markFromJSON(e.mark))}}l.jsonID("removeMark",u);class h extends l{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return p.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return p.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);if(e){let t=this.mark.addToSet(e.marks);if(t.length==e.marks.length){for(let n=0;n<e.marks.length;n++)if(!e.marks[n].isInSet(t))return new h(this.pos,e.marks[n]);return new h(this.pos,this.mark)}}return new f(this.pos,this.mark)}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new h(e.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,e){if("number"!=typeof e.pos)throw RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new h(e.pos,t.markFromJSON(e.mark))}}l.jsonID("addNodeMark",h);class f extends l{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos);if(!e)return p.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.removeFromSet(e.marks));return p.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos);return e&&this.mark.isInSet(e.marks)?new h(this.pos,this.mark):this}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new f(e.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,e){if("number"!=typeof e.pos)throw RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new f(e.pos,t.markFromJSON(e.mark))}}l.jsonID("removeNodeMark",f);class m extends l{constructor(t,e,n,i=!1){super(),this.from=t,this.to=e,this.slice=n,this.structure=i}apply(t){return this.structure&&v(t,this.from,this.to)?p.fail("Structure replace would overwrite content"):p.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new o([this.from,this.to-this.from,this.slice.size])}invert(t){return new m(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1);return e.deletedAcross&&n.deletedAcross?null:new m(e.pos,Math.max(e.pos,n.pos),this.slice,this.structure)}merge(t){if(!(t instanceof m)||t.structure||this.structure)return null;if(this.from+this.slice.size!=t.from||this.slice.openEnd||t.slice.openStart){if(t.to!=this.from||this.slice.openStart||t.slice.openEnd)return null;{let e=this.slice.size+t.slice.size==0?i.p2.empty:new i.p2(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new m(t.from,this.to,e,this.structure)}}{let e=this.slice.size+t.slice.size==0?i.p2.empty:new i.p2(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new m(this.from,this.to+(t.to-t.from),e,this.structure)}}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw RangeError("Invalid input for ReplaceStep.fromJSON");return new m(e.from,e.to,i.p2.fromJSON(t,e.slice),!!e.structure)}}l.jsonID("replace",m);class g extends l{constructor(t,e,n,i,r,o,a=!1){super(),this.from=t,this.to=e,this.gapFrom=n,this.gapTo=i,this.slice=r,this.insert=o,this.structure=a}apply(t){if(this.structure&&(v(t,this.from,this.gapFrom)||v(t,this.gapTo,this.to)))return p.fail("Structure gap-replace would overwrite content");let e=t.slice(this.gapFrom,this.gapTo);if(e.openStart||e.openEnd)return p.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,e.content);return n?p.fromReplace(t,this.from,this.to,n):p.fail("Content does not fit in gap")}getMap(){return new o([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let e=this.gapTo-this.gapFrom;return new g(this.from,this.from+this.slice.size+e,this.from+this.insert,this.from+this.insert+e,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1),i=this.from==this.gapFrom?e.pos:t.map(this.gapFrom,-1),r=this.to==this.gapTo?n.pos:t.map(this.gapTo,1);return e.deletedAcross&&n.deletedAcross||i<e.pos||r>n.pos?null:new g(e.pos,n.pos,i,r,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new g(e.from,e.to,e.gapFrom,e.gapTo,i.p2.fromJSON(t,e.slice),e.insert,!!e.structure)}}function v(t,e,n){let i=t.resolve(e),r=n-e,o=i.depth;for(;r>0&&o>
40&&i.indexAfter(o)==i.node(o).childCount;)o--,r--;if(r>0){let t=i.node(o).maybeChild(i.indexAfter(o));for(;r>0;){if(!t||t.isLeaf)return!0;t=t.firstChild,r--}}return!1}function x(t,e,n,r=n.contentMatch,o=!0){let a=t.doc.nodeAt(e),s=[],l=e+1;for(let e=0;e<a.childCount;e++){let p=a.child(e),c=l+p.nodeSize,d=r.matchType(p.type);if(d){r=d;for(let e=0;e<p.marks.length;e++)n.allowsMarkType(p.marks[e].type)||t.step(new u(l,c,p.marks[e]));if(o&&p.isText&&"pre"!=n.whitespace){let t,e=/\r?\n|\r/g,r;for(;t=e.exec(p.text);)r||(r=new i.p2(i.HY.from(n.schema.text(" ",n.allowedMarks(p.marks))),0,0)),s.push(new m(l+t.index,l+t.index+t[0].length,r))}}else s.push(new m(l,c,i.p2.empty));l=c}if(!r.validEnd){let e=r.fillBefore(i.HY.empty,!0);t.replace(l,l,new i.p2(e,0,0))}for(let e=s.length-1;e>=0;e--)t.step(s[e])}function y(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let n=t.depth,i=0,r=0;;--n){let o=t.$from.node(n),a=t.$from.index(n)+i,s=t.$to.indexAfter(n)-r;if(n<t.depth&&o.canReplace(a,s,e))return n;if(0==n||o.type.spec.isolating||!((0==a||o.canReplace(a,o.childCount))&&(s==o.childCount||o.canReplace(0,s))))break;a&&(i=1),s<o.childCount&&(r=1)}return null}function b(t,e,n=null,i=t){let r=function(t,e){let{parent:n,startIndex:i,endIndex:r}=t,o=n.contentMatchAt(i).findWrapping(e);if(!o)return null;let a=o.length?o[0]:e;return n.canReplaceWith(i,r,a)?o:null}(t,e),o=r&&function(t,e){let{parent:n,startIndex:i,endIndex:r}=t,o=n.child(i),a=e.contentMatch.findWrapping(o.type);if(!a)return null;let s=(a.length?a[a.length-1]:e).contentMatch;for(let t=i;s&&t<r;t++)s=s.matchType(n.child(t).type);return s&&s.validEnd?a:null}(i,e);return o?r.map(w).concat({type:e,attrs:n}).concat(o.map(w)):null}function w(t){return{type:t,attrs:null}}function k(t,e,n,i){e.forEach((r,o)=>{if(r.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(r.text);){let r=t.mapping.slice(i).map(n+1+o+a.index);t.replaceWith(r,r+1,e.type.schema.linebreakReplacement.create())}}})}function S(t,e,n,i){e.forEach((r,o)=>{if(r.type==r.type.schema.linebreakReplacement){let r=t.mapping.slice(i).map(n+1+o);t.replaceWith(r,r+1,e.type.schema.text("\n"))}})}function E(t,e,n=1,i){let r=t.resolve(e),o=r.depth-n,a=i&&i[i.length-1]||r.parent;if(o<0||r.parent.type.spec.isolating||!r.parent.canReplace(r.index(),r.parent.childCount)||!a.type.validContent(r.parent.content.cutByIndex(r.index(),r.parent.childCount)))return!1;for(let t=r.depth-1,e=n-2;t>o;t--,e--){let n=r.node(t),o=r.index(t);if(n.type.spec.isolating)return!1;let a=n.content.cutByIndex(o,n.childCount),s=i&&i[e+1];s&&(a=a.replaceChild(0,s.type.create(s.attrs)));let l=i&&i[e]||n;if(!n.canReplace(o+1,n.childCount)||!l.type.validContent(a))return!1}let s=r.indexAfter(o),l=i&&i[0];return r.node(o).canReplaceWith(s,s,l?l.type:r.node(o+1).type)}function C(t,e){let n=t.resolve(e),i=n.index();return O(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function O(t,e){return!!(t&&e&&!t.isLeaf&&function(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:i}=t.type.schema;for(let r=0;r<e.childCount;r++){let o=e.child(r),a=o.type==i?t.type.schema.nodes.text:o.type;if(!(n=n.matchType(a))||!t.type.allowsMarks(o.marks))return!1}return n.validEnd}(t,e))}function A(t,e,n=-1){let i=t.resolve(e);for(let t=i.depth;;t--){let r,o,a=i.index(t);if(t==i.depth?(r=i.nodeBefore,o=i.nodeAfter):n>0?(r=i.node(t+1),a++,o=i.node(t).maybeChild(a)):(r=i.node(t).maybeChild(a-1),o=i.node(t+1)),r&&!r.isTextblock&&O(r,o)&&i.node(t).canReplace(a,a+1))return e;if(0==t)break;e=n<0?i.before(t):i.after(t)}}function j(t,e,n){let i=t.resolve(e);if(!n.content.size)return e;let r=n.content;for(let t=0;t<n.openStart;t++)r=r.firstChild.content;for(let t=1;t<=(0==n.openStart&&n.size?2:1);t++)for(let e=i.depth;e>=0;e--){let n=e==i.depth?0:i.pos<=(i.start(e+1)+i.end(e+1))/2?-1:1,o=i.index(e)+(n>0?1:0),a=i.node(e),s=!1;if(1==t)s=a.canReplace(o,o,r);else{let t=a.contentMatchAt(o).findWrapping(r.firstChild.type);s=t&&a.canReplaceWith(o,o,t[0])}if(s)return 0==n?i.pos:n<0?i.before(e+1):i.after(e+1)}return null}
4function T(t,e,n=e,r=i.p2.empty){if(e==n&&!r.size)return null;let o=t.resolve(e),a=t.resolve(n);return z(o,a,r)?new m(e,n,r):new R(o,a,r).fit()}function z(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}l.jsonID("replaceAround",g);class R{constructor(t,e,n){this.$from=t,this.$to=e,this.unplaced=n,this.frontier=[],this.placed=i.HY.empty;for(let e=0;e<=t.depth;e++){let n=t.node(e);this.frontier.push({type:n.type,match:n.contentMatchAt(t.indexAfter(e))})}for(let e=t.depth;e>0;e--)this.placed=i.HY.from(t.node(e).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let t=this.findFittable();t?this.placeNodes(t):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(t<0?this.$to:n.doc.resolve(t));if(!r)return null;let o=this.placed,a=n.depth,s=r.depth;for(;a&&s&&1==o.childCount;)o=o.firstChild.content,a--,s--;let l=new i.p2(o,a,s);return t>-1?new g(n.pos,t,this.$to.pos,this.$to.end(),l,e):l.size||n.pos!=this.$to.pos?new m(n.pos,r.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let e=this.unplaced.content,n=0,i=this.unplaced.openEnd;n<t;n++){let r=e.firstChild;if(e.childCount>1&&(i=0),r.type.spec.isolating&&i<=n){t=n;break}e=r.content}for(let e=1;e<=2;e++)for(let n=1==e?t:this.unplaced.openStart;n>=0;n--){let t=null,r=(n?(t=N(this.unplaced.content,n-1).firstChild).content:this.unplaced.content).firstChild;for(let o=this.depth;o>=0;o--){let{type:a,match:s}=this.frontier[o],l,p=null;if(1==e&&(r?s.matchType(r.type)||(p=s.fillBefore(i.HY.from(r),!1)):t&&a.compatibleContent(t.type)))return{sliceDepth:n,frontierDepth:o,parent:t,inject:p};if(2==e&&r&&(l=s.findWrapping(r.type)))return{sliceDepth:n,frontierDepth:o,parent:t,wrap:l};if(t&&s.matchType(t.type))break}}}openMore(){let{content:t,openStart:e,openEnd:n}=this.unplaced,r=N(t,e);return!!r.childCount&&!r.firstChild.isLeaf&&(this.unplaced=new i.p2(t,e+1,Math.max(n,r.size+e>=t.size-n?e+1:0)),!0)}dropNode(){let{content:t,openStart:e,openEnd:n}=this.unplaced,r=N(t,e);if(r.childCount<=1&&e>0){let o=t.size-e<=e+r.size;this.unplaced=new i.p2(M(t,e-1,1),e-1,o?e-1:n)}else this.unplaced=new i.p2(M(t,e,1),e,n)}placeNodes({sliceDepth:t,frontierDepth:e,parent:n,inject:r,wrap:o}){for(;this.depth>e;)this.closeFrontierNode();if(o)for(let t=0;t<o.length;t++)this.openFrontierNode(o[t]);let a=this.unplaced,s=n?n.content:a.content,l=a.openStart-t,p=0,c=[],{match:d,type:u}=this.frontier[e];if(r){for(let t=0;t<r.childCount;t++)c.push(r.child(t));d=d.matchFragment(r)}let h=s.size+t-(a.content.size-a.openEnd);for(;p<s.childCount;){let t=s.child(p),e=d.matchType(t.type);if(!e)break;(++p>1||0==l||t.content.size)&&(d=e,c.push(function t(e,n,r){if(n<=0)return e;let o=e.content;return n>1&&(o=o.replaceChild(0,t(o.firstChild,n-1,1==o.childCount?r-1:0))),n>0&&(o=e.type.contentMatch.fillBefore(o).append(o),r<=0&&(o=o.append(e.type.contentMatch.matchFragment(o).fillBefore(i.HY.empty,!0)))),e.copy(o)}(t.mark(u.allowedMarks(t.marks)),1==p?l:0,p==s.childCount?h:-1)))}let f=p==s.childCount;f||(h=-1),this.placed=I(this.placed,e,i.HY.from(c)),this.frontier[e].match=d,f&&h<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let t=0,e=s;t<h;t++){let t=e.lastChild;this.frontier.push({type:t.type,match:t.contentMatchAt(t.childCount)}),e=t.content}this.unplaced=f?0==t?i.p2.empty:new i.p2(M(a.content,t-1,1),t-1,h<0?a.openEnd:t-1):new i.p2(M(a.content,t,p),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return -1;let t=this.frontier[this.depth],e;if(!t.type.isTextblock||!D(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(t){n:for(let e=Math.min(this.depth,t.depth);e>=0;e--){let{match:n,type:i}=this.frontier[e],r=e<t.depth&&t.end(e+1)==t.pos+(t.depth-(e+1)),o=D(t,e,i,n,r);if(o){for(let n=e-1;n>=0;n--){let{match:e,type:i}=this.frontier[n],r=D(t,n,i,e,!0);if(!r||r.childCount)continue n}return{depth:e,fit:o,move:r?t.doc.resolve(t.after(e+1)):t}}}}close(t){let e=this.findCloseLevel(t);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=I(this.placed,e.depth,e.fit)),t=e.move;for(let n=e.depth+1;n<=t.depth;
vendor: 9,093 bytes, line 4
4n++){let e=t.node(n),i=e.type.contentMatch.fillBefore(e.content,!0,t.index(n));this.openFrontierNode(e.type,e.attrs,i)}return t}openFrontierNode(t,e=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(t),this.placed=I(this.placed,this.depth,i.HY.from(t.create(e,n))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(i.HY.empty,!0);t.childCount&&(this.placed=I(this.placed,this.frontier.length,t))}}function M(t,e,n){return 0==e?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(M(t.firstChild.content,e-1,n)))}function I(t,e,n){return 0==e?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(I(t.lastChild.content,e-1,n)))}function N(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function D(t,e,n,i,r){let o=t.node(e),a=r?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=i.fillBefore(o.content,!0,a);return s&&!function(t,e,n){for(let i=n;i<e.childCount;i++)if(!t.allowsMarks(e.child(i).marks))return!0;return!1}(n,o.content,a)?s:null}function F(t,e){let n=[],i=Math.min(t.depth,e.depth);for(let r=i;r>=0;r--){let i=t.start(r);if(i<t.pos-(t.depth-r)||e.end(r)>e.pos+(e.depth-r)||t.node(r).type.spec.isolating||e.node(r).type.spec.isolating)break;(i==e.start(r)||r==t.depth&&r==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&r&&e.start(r-1)==i-1)&&n.push(r)}return n}class P extends l{constructor(t,e,n){super(),this.pos=t,this.attr=e,this.value=n}apply(t){let e=t.nodeAt(this.pos);if(!e)return p.fail("No node at attribute step's position");let n=Object.create(null);for(let t in e.attrs)n[t]=e.attrs[t];n[this.attr]=this.value;let r=e.type.create(n,null,e.marks);return p.fromReplace(t,this.pos,this.pos+1,new i.p2(i.HY.from(r),0,e.isLeaf?0:1))}getMap(){return o.empty}invert(t){return new P(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1);return e.deletedAfter?null:new P(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw RangeError("Invalid input for AttrStep.fromJSON");return new P(e.pos,e.attr,e.value)}}l.jsonID("attr",P);class L extends l{constructor(t,e){super(),this.attr=t,this.value=e}apply(t){let e=Object.create(null);for(let n in t.attrs)e[n]=t.attrs[n];e[this.attr]=this.value;let n=t.type.create(e,t.content,t.marks);return p.ok(n)}getMap(){return o.empty}invert(t){return new L(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,e){if("string"!=typeof e.attr)throw RangeError("Invalid input for DocAttrStep.fromJSON");return new L(e.attr,e.value)}}l.jsonID("docAttr",L);let B=class extends Error{};(B=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n}).prototype=Object.create(Error.prototype),B.prototype.constructor=B,B.prototype.name="TransformError";class q{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new a}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t);if(e.failed)throw new B(e.failed);return this}maybeStep(t){let e=t.apply(this.doc);return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,n=i.p2.empty){let r=T(this.doc,t,e,n);return r&&this.step(r),this}replaceWith(t,e,n){return this.replace(t,e,new i.p2(i.HY.from(n),0,0))}delete(t,e){return this.replace(t,e,i.p2.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,n){return!function(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let o=t.doc.resolve(e),a=t.doc.resolve(n);if(z(o,a,r))return t.step(new m(e,n,r));let s=F(o,a);0==s[s.length-1]&&s.pop();let l=-(o.depth+1);s.unshift(l);for(let t=o.depth,e=o.pos-1;t>0;t--,e--){let n=o.node(t).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;s.indexOf(t)>-1?l=t:o.before(t)==e&&s.splice(1,0,-t)}let p=s.indexOf(l),c=[],d=r.openStart;for(let t=r.content,e=0;;e++){let n=t.firstChild;if(c.push(n),e==r.openStart)break;t=n.content}for(let t=d-1;t>=0;t--){var u;let e=c[t],n=(u=e.type).spec.defining||u.spec.definingForContent;if(n&&!e.sameMarkup(o.node(Math.abs(l)-1)))d=t;else if(n||!e.type.isTextblock)break}for(let e=r.openStart;e>=0;e--){let l=(e+d+1)%(r.openStart+1),u=c[l];if(u)for(let e=0;e<s.length;e++){let c=s[(e+p)%s.length],d=!0;c<0&&(d=!1,c=-c);let h=o.node(c-1),f=o.index(c-1);if(h.canReplaceWith(f,f,u.type,u.marks))return t.replace(o.before(c),d?a.after(c):n,new i.p2(function t(e,n,r,o,a){if(n<r){let i=e.firstChild;e=e.replaceChild(0,i.copy(t(i.content,n+1,r,o,i)))}if(n>o){let t=a.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(i.HY.empty,!0))}return e}(r.content,0,r.openStart,l),l,r.openEnd))}}let h=t.steps.length;for(let i=s.length-1;i>=0&&(t.replace(e,n,r),!(t.steps.length>h));i--){let t=s[i];t<0||(e=o.before(t),n=a.after(t))}}(this,t,e,n),this}replaceRangeWith(t,e,n){return!function(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=function(t,e,n){let i=t.resolve(e);if(i.parent.canReplaceWith(i.index(),i.index(),n))return e;if(0==i.parentOffset)for(let t=i.depth-1;t>=0;t--){let e=i.index(t);if(i.node(t).canReplaceWith(e,e,n))return i.before(t+1);if(e>0)return null}if(i.parentOffset==i.parent.content.size)for(let t=i.depth-1;t>=0;t--){let e=i.indexAfter(t);if(i.node(t).canReplaceWith(e,e,n))return i.after(t+1);if(e<i.node(t).childCount)break}return null}(t.doc,e,r.type);null!=i&&(e=n=i)}t.replaceRange(e,n,new i.p2(i.HY.from(r),0,0))}(this,t,e,n),this}deleteRange(t,e){return!function(t,e,n){let i=t.doc.resolve(e),r=t.doc.resolve(n),o=F(i,r);for(let e=0;e<o.length;e++){let n=o[e],a=e==o.length-1;if(a&&0==n||i.node(n).type.contentMatch.validEnd)return t.delete(i.start(n),r.end(n));if(n>0&&(a||i.node(n-1).canReplace(i.index(n-1),r.indexAfter(n-1))))return t.delete(i.before(n),r.after(n))}for(let o=1;o<=i.depth&&o<=r.depth;o++)if(e-i.start(o)==i.depth-o&&n>i.end(o)&&r.end(o)-n!=r.depth-o&&i.start(o-1)==r.start(o-1)&&i.node(o-1).canReplace(i.index(o-1),r.index(o-1)))return t.delete(i.before(o),n);t.delete(e,n)}(this,t,e),this}lift(t,e){return!function(t,e,n){let{$from:r,$to:o,depth:a}=e,s=r.before(a+1),l=o.after(a+1),p=s,c=l,d=i.HY.empty,u=0;for(let t=a,e=!1;t>n;t--)e||r.index(t)>0?(e=!0,d=i.HY.from(r.node(t).copy(d)),u++):p--;let h=i.HY.empty,f=0;for(let t=a,e=!1;t>n;t--)e||o.after(t+1)<o.end(t)?(e=!0,h=i.HY.from(o.node(t).copy(h)),f++):c++;t.step(new g(p,c,s,l,new i.p2(d.append(h),u,f),d.size-u,!0))}(this,t,e),this}join(t,e=1){return!function(t,e,n){let r=null,{linebreakReplacement:o}=t.doc.type.schema,a=t.doc.resolve(e-n),s=a.node().type;if(o&&s.inlineContent){let t="pre"==s.whitespace,e=!!s.contentMatch.matchType(o);t&&!e?r=!1:!t&&e&&(r=!0)}let l=t.steps.length;if(!1===r){let i=t.doc.resolve(e+n);S(t,i.node(),i.before(),l)}s.inlineContent&&x(t,e+n-1,s,a.node().contentMatchAt(a.index()),null==r);let p=t.mapping.slice(l),c=p.map(e-n);if(t.step(new m(c,p.map(e+n,-1),i.p2.empty,!0)),!0===r){let e=t.doc.resolve(c);k(t,e.node(),e.before(),t.steps.length)}}(this,t,e),this}wrap(t,e){return!function(t,e,n){let r=i.HY.empty;for(let t=n.length-1;t>=0;t--){if(r.size){let e=n[t].type.contentMatch.matchFragment(r);if(!e||!e.validEnd)throw RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=i.HY.from(n[t].type.create(n[t].attrs,r))}let o=e.start,a=e.end;t.step(new g(o,a,o,a,new i.p2(r,0,0),n.length,!0))}(this,t,e),this}setBlockType(t,e=t,n,r=null){return!function(t,e,n,r,o){if(!r.isTextblock)throw RangeError("Type given to setBlockType should be a textblock");let a=t.steps.length;t.doc.nodesBetween(e,n,(e,n)=>{var s,l;let p,c,d="function"==typeof o?o(e):o;if(e.isTextblock&&!e.hasMarkup(r,d)&&(s=t.doc,l=t.mapping.slice(a).map(n),c=(p=s.resolve(l)).index(),p.parent.canReplaceWith(c,c+1,r))){let o=null;if(r.schema.linebreakReplacement){let t="pre"==r.whitespace,e=!!r.contentMatch.matchType(r.schema.linebreakReplacement);t&&!e?o=!1:!t&&e&&(o=!0)}!1===o&&S(t,e,n,a),x(t,t.mapping.slice(a).map(n,1),r,void 0,null===o);let s=t.mapping.slice(a),l=s.map(n,1),p=s.map(n+e.nodeSize,1);return t.step(new g(l,p,l+1,p-1,new i.p2(i.HY.from(r.create(d,null,e.marks)),0,0),1,!0)),!0===o&&k(t,e,n,a),!1}})}(this,t,e,n,r),this}setNodeMarkup(t,e,n=null,r){return!function(t,e,n,r,o){let a=t.doc.nodeAt(e);if(!a)throw RangeError("No node at given position");n||(n=a.type);let s=n.create(r,null,o||a.marks);if(a.isLeaf)return t.replaceWith(e,e+a.nodeSize,s);if(!n.validContent(a.content))throw RangeError("Invalid content for node type "+n.name);t.step(new g(e,e+a.nodeSize,e+1,e+a.nodeSize-1,new i.p2(i.HY.from(s),0,0),1,!0))}(this,t,e,n,r),this}setNodeAttribute(t,e,n){return this.step(new P(t,e,n)),this}setDocAttribute(t,e){return this.step(new L(t,e)),this}addNodeMark(t,e){return this.step(new h(t,e)),this}
4removeNodeMark(t,e){let n=this.doc.nodeAt(t);if(!n)throw RangeError("No node at position "+t);if(e instanceof i.vc)e.isInSet(n.marks)&&this.step(new f(t,e));else{let i=n.marks,r,o=[];for(;r=e.isInSet(i);)o.push(new f(t,r)),i=r.removeFromSet(i);for(let t=o.length-1;t>=0;t--)this.step(o[t])}return this}split(t,e=1,n){return!function(t,e,n=1,r){let o=t.doc.resolve(e),a=i.HY.empty,s=i.HY.empty;for(let t=o.depth,e=o.depth-n,l=n-1;t>e;t--,l--){a=i.HY.from(o.node(t).copy(a));let e=r&&r[l];s=i.HY.from(e?e.type.create(e.attrs,s):o.node(t).copy(s))}t.step(new m(e,e,new i.p2(a.append(s),n,n),!0))}(this,t,e,n),this}addMark(t,e,n){var i;let r,o,a,s;return i=this,a=[],s=[],i.doc.nodesBetween(t,e,(i,l,p)=>{if(!i.isInline)return;let c=i.marks;if(!n.isInSet(c)&&p.type.allowsMarkType(n.type)){let p=Math.max(l,t),h=Math.min(l+i.nodeSize,e),f=n.addToSet(c);for(let t=0;t<c.length;t++)c[t].isInSet(f)||(r&&r.to==p&&r.mark.eq(c[t])?r.to=h:a.push(r=new u(p,h,c[t])));o&&o.to==p?o.to=h:s.push(o=new d(p,h,n))}}),a.forEach(t=>i.step(t)),s.forEach(t=>i.step(t)),this}removeMark(t,e,n){var r;let o,a;return r=this,o=[],a=0,r.doc.nodesBetween(t,e,(r,s)=>{if(!r.isInline)return;a++;let l=null;if(n instanceof i.ZU){let t=r.marks,e;for(;e=n.isInSet(t);)(l||(l=[])).push(e),t=e.removeFromSet(t)}else n?n.isInSet(r.marks)&&(l=[n]):l=r.marks;if(l&&l.length){let n=Math.min(s+r.nodeSize,e);for(let e=0;e<l.length;e++){let i=l[e],r;for(let t=0;t<o.length;t++){let e=o[t];e.step==a-1&&i.eq(o[t].style)&&(r=e)}r?(r.to=n,r.step=a):o.push({style:i,from:Math.max(s,t),to:n,step:a})}}}),o.forEach(t=>r.step(new u(t.from,t.to,t.style))),this}clearIncompatible(t,e,n){return x(this,t,e,n),this}}},86904:function(t,e,n){"use strict";n.d(e,{uI:function(){return Z}});var i=n(23329),r=n(50349),o=n(40267);let a
vendor: 41,168 bytes, line 4
4=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function
4s(t,e,n){let i=function(t){let{name:e}=t;if(e&&-1!==e.lastIndexOf(".")&&!t.type){let n=e.split(".").pop().toLowerCase(),i=a.get(n);i&&Object.defineProperty(t,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return t}(t),{webkitRelativePath:r}=t,o="string"==typeof e?e:"string"==typeof r&&r.length>0?r:`./${t.name}`;return"string"!=typeof i.path&&l(i,"path",o),void 0!==n&&Object.defineProperty(i,"handle",{value:n,writable:!1,configurable:!1,enumerable:!0}),l(i,"relativePath",o),i}function l(t,e,n){Object.defineProperty(t,e,{value:n,writable:!1,configurable:!1,enumerable:!0})}let p=[".DS_Store","Thumbs.db"];function c(t){return"object"==typeof t&&null!==t}function d(t){return t.filter(t=>-1===p.indexOf(t.name))}function u(t){if(null===t)return[];let e=[];for(let n=0;n<t.length;n++){let i=t[n];e.push(i)}return e}function h(t){if("function"!=typeof t.webkitGetAsEntry)return f(t);let e=t.webkitGetAsEntry();return e&&e.isDirectory?g(e):f(t,e)}function f(t,e){return(0,o.mG)(this,void 0,void 0,function*(){var n;if(globalThis.isSecureContext&&"function"==typeof t.getAsFileSystemHandle){let e=yield t.getAsFileSystemHandle();if(null===e)throw Error(`${t} is not a File`);if(void 0!==e){let t=yield e.getFile();return t.handle=e,s(t)}}let i=t.getAsFile();if(!i)throw Error(`${t} is not a File`);return s(i,null!==(n=null==e?void 0:e.fullPath)&&void 0!==n?n:void 0)})}function m(t){return(0,o.mG)(this,void 0,void 0,function*(){return t.isDirectory?g(t):function(t){return(0,o.mG)(this,void 0,void 0,function*(){return new Promise((e,n)=>{t.file(n=>{e(s(n,t.fullPath))},t=>{n(t)})})})}(t)})}function g(t){let e=t.createReader();return new Promise((t,n)=>{let i=[];!function r(){e.readEntries(e=>(0,o.mG)(this,void 0,void 0,function*(){if(e.length){let t=Promise.all(e.map(m));i.push(t),r()}else try{let e=yield Promise.all(i);t(e)}catch(t){n(t)}}),t=>{n(t)})}()})}var v=n(54229);function x(t){return function(t){if(Array.isArray(t))return E(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||S(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach(function(e){w(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,i,r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||S(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(t,e){if(t){if("string"==typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(t,e)}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var C="function"==typeof v?v:v.default,O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split(","),n=e.length>1?"one of ".concat(e.join(", ")):e[0];return{code:"file-invalid-type",message:"File type must be ".concat(n)}},A=function(t){return{code:"file-too-large",message:"File is larger than ".concat(t," ").concat(1===t?"byte":"bytes")}},j=function(t){return{code:"file-too-small",message:"File is smaller than ".concat(t," ").concat(1===t?"byte":"bytes")}},T={code:"too-many-files",message:"Too many files"};function z(t,e){var n="application/x-moz-file"===t.type||C(t,e);return[n,n?null:O(e)]}function R(t,e,n){if(M(t.size)){if(M(e)&&M(n)){if(t.size>n)return[!1,A(n)];if(t.size<e)return[!1,j(e)]}else if(M(e)&&t.size<e)return[!1,j(e)];else if(M(n)&&t.size>n)return[!1,A(n)]}return[!0,null]}function M(t){return null!=t}function I(t){return"function"==typeof t.isPropagationStopped?t.isPropagationStopped():void 0!==t.cancelBubble&&t.cancelBubble}function N(t){return t.dataTransfer?Array.prototype.some.call(t.dataTransfer.types,function(t){return"Files"===t||"application/x-moz-file"===t}):!!t.target&&!!t.target.files}function D(t){t.preventDefault()}function F(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return e.some(function(e){return!I(t)&&e&&e.apply(void 0,[t].concat(i)),I(t)})}}function P(t){return"audio/*"===t||"video/*"===t||"image/*"===t||"text/*"===t||"application/*"===t||/\w+\/[-+.\w]+/g.test(t)}function L(t){return/^.*\.[\w]+$/.test(t)}var B=["children"],q=["open"],$=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],H=["refKey","onChange","onClick"];function J(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,i,r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||_(t,e)||function(){throw TypeError("Invalid attempt to de
4structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){if(t){if("string"==typeof t)return W(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(t,e)}}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function U(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(n),!0).forEach(function(e){V(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function K(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var G=(0,i.forwardRef)(function(t,e){var n=t.children,r=Z(K(t,B)),o=r.open,a=K(r,q);return(0,i.useImperativeHandle)(e,function(){return{open:o}},[o]),i.createElement(i.Fragment,null,n(U(U({},a),{},{open:o})))});G.displayName="Dropzone";var Q={disabled:!1,getFilesFromEvent:function(t){return(0,o.mG)(this,void 0,void 0,function*(){return c(t)&&c(t.dataTransfer)?function(t,e){return(0,o.mG)(this,void 0,void 0,function*(){if(t.items){let n=u(t.items).filter(t=>"file"===t.kind);return"drop"!==e?n:d(function t(e){return e.reduce((e,n)=>[...e,...Array.isArray(n)?t(n):[n]],[])}((yield Promise.all(n.map(h)))))}return d(u(t.files).map(t=>s(t)))})}
4(t.dataTransfer,t.type):c(t)&&c(t.target)?u(t.target.files).map(t=>s(t)):Array.isArray(t)&&t.every(t=>"getFile"in t&&"function"==typeof t.getFile)?function(t){return(0,o.mG)(this,void 0,void 0,function*(){return(yield Promise.all(t.map(t=>t.getFile()))).map(t=>s(t))})}(t):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};G.defaultProps=Q,G.propTypes={children:r.func,accept:r.objectOf(r.arrayOf(r.string)),multiple:r.bool,preventDropOnDocument:r.bool,noClick:r.bool,noKeyboard:r.bool,noDrag:r.bool,noDragEventsBubbling:r.bool,minSize:r.number,maxSize:r.number,maxFiles:r.number,disabled:r.bool,getFilesFromEvent:r.func,onFileDialogCancel:r.func,onFileDialogOpen:r.func,useFsAccessApi:r.bool,autoFocus:r.bool,onDragEnter:r.func,onDragLeave:r.func,onDragOver:r.func,onDrop:r.func,onDropAccepted:r.func,onDropRejected:r.func,onError:r.func,validator:r.func};var X={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=U(U({},Q),t),n=e.accept,r=e.disabled,o=e.getFilesFromEvent,a=e.maxSize,s=e.minSize,l=e.multiple,p=e.maxFiles,c=e.onDragEnter,d=e.onDragLeave,u=e.onDragOver,h=e.onDrop,f=e.onDropAccepted,m=e.onDropRejected,g=e.onFileDialogCancel,v=e.onFileDialogOpen,y=e.useFsAccessApi,S=e.autoFocus,E=e.preventDropOnDocument,C=e.noClick,O=e.noKeyboard,A=e.noDrag,j=e.noDragEventsBubbling,B=e.onError,q=e.validator,Y=(0,i.useMemo)(function(){return function(t){if(M(t))return Object.entries(t).reduce(function(t,e){var n=k(e,2),i=n[0],r=n[1];return[].concat(x(t),[i],x(r))},[]).filter(function(t){return P(t)||L(t)}).join(",")}(n)},[n]),G=(0,i.useMemo)(function(){return M(n)?[{description:"Files",accept:Object.entries(n).filter(function(t){var e=k(t,2),n=e[0],i=e[1],r=!0;return P(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),r=!1),Array.isArray(i)&&i.every(L)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),r=!1),r}).reduce(function(t,e){var n=k(e,2),i=n[0],r=n[1];return b(b({},t),{},w({},i,r))},{})}]:n},[n]),Z=(0,i.useMemo)(function(){return"function"==typeof v?v:te},[v]),tn=(0,i.useMemo)(function(){return"function"==typeof g?g:te},[g]),ti=(0,i.useRef)(null),tr=(0,i.useRef)(null),to=J((0,i.useReducer)(tt,X),2),ta=to[0],ts=to[1],tl=ta.isFocused,tp=ta.isFileDialogActive,tc=(0,i.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),td=function(){!tc.current&&tp&&setTimeout(function(){tr.current&&!tr.current.files.length&&(ts({type:"closeDialog"}),tn())},300)};(0,i.useEffect)(function(){return window.addEventListener("focus",td,!1),function(){window.removeEventListener("focus",td,!1)}},[tr,tp,tn,tc]);var tu=(0,i.useRef)([]),th=function(t){ti.current&&ti.current.contains(t.target)||(t.preventDefault(),tu.current=[])};(0,i.useEffect)(function(){return E&&(document.addEventListener("dragover",D,!1),document.addEventListener("drop",th,!1)),function(){E&&(document.removeEventListener("dragover",D),document.removeEventListener("drop",th))}},[ti,E]),(0,i.useEffect)(function(){return!r&&S&&ti.current&&ti.current.focus(),function(){}},[ti,S,r]);var tf=(0,i.useCallback)(function(t){B?B(t):console.error(t)},[B]),tm=(0,i.useCallback)(function(t){var e;t.preventDefault(),t.persist(),tj(t),tu.current=[].concat(function(t){if(Array.isArray(t))return W(t)}(e=tu.current)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||_(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t.target]),N(t)&&Promise.resolve(o(t)).then(function(e){if(!I(t)||j){var n,i,r,o,d,u,h,f,m=e.length,g=m>0&&(i=(n={files:e,accept:Y,minSize:s,maxSize:a,multiple:l,maxFiles:p,validator:q}).files,r=n.accept,o=n.minSize,d=n.maxSize,u=n.multiple,h=n.maxFiles,f=n.validator,(!!u||!(i.length>1))&&(!u||!(h>=1)||!(i.length>
4h))&&i.every(function(t){var e=k(z(t,r),1)[0],n=k(R(t,o,d),1)[0],i=f?f(t):null;return e&&n&&!i}));ts({isDragAccept:g,isDragReject:m>0&&!g,isDragActive:!0,type:"setDraggedFiles"}),c&&c(t)}}).catch(function(t){return tf(t)})},[o,c,tf,j,Y,s,a,l,p,q]),tg=(0,i.useCallback)(function(t){t.preventDefault(),t.persist(),tj(t);var e=N(t);if(e&&t.dataTransfer)try{t.dataTransfer.dropEffect="copy"}catch(t){}return e&&u&&u(t),!1},[u,j]),tv=(0,i.useCallback)(function(t){t.preventDefault(),t.persist(),tj(t);var e=tu.current.filter(function(t){return ti.current&&ti.current.contains(t)}),n=e.indexOf(t.target);-1!==n&&e.splice(n,1),tu.current=e,!(e.length>0)&&(ts({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),N(t)&&d&&d(t))},[ti,d,j]),tx=(0,i.useCallback)(function(t,e){var n=[],i=[];t.forEach(function(t){var e=J(z(t,Y),2),r=e[0],o=e[1],l=J(R(t,s,a),2),p=l[0],c=l[1],d=q?q(t):null;if(r&&p&&!d)n.push(t);else{var u=[o,c];d&&(u=u.concat(d)),i.push({file:t,errors:u.filter(function(t){return t})})}}),(!l&&n.length>1||l&&p>=1&&n.length>p)&&(n.forEach(function(t){i.push({file:t,errors:[T]})}),n.splice(0)),ts({acceptedFiles:n,fileRejections:i,isDragReject:i.length>0,type:"setFiles"}),h&&h(n,i,e),i.length>0&&m&&m(i,e),n.length>0&&f&&f(n,e)},[ts,l,Y,s,a,p,h,f,m,q]),ty=(0,i.useCallback)(function(t){t.preventDefault(),t.persist(),tj(t),tu.current=[],N(t)&&Promise.resolve(o(t)).then(function(e){(!I(t)||j)&&tx(e,t)}).catch(function(t){return tf(t)}),ts({type:"reset"})},[o,tx,tf,j]),tb=(0,i.useCallback)(function(){if(tc.current){ts({type:"openDialog"}),Z(),window.showOpenFilePicker({multiple:l,types:G}).then(function(t){return o(t)}).then(function(t){tx(t,null),ts({type:"closeDialog"})}).catch(function(t){t instanceof DOMException&&("AbortError"===t.name||t.code===t.ABORT_ERR)?(tn(t),ts({type:"closeDialog"})):t instanceof DOMException&&("SecurityError"===t.name||t.code===t.SECURITY_ERR)?(tc.current=!1,tr.current?(tr.current.value=null,tr.current.click()):tf(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):tf(t)});return}tr.current&&(ts({type:"openDialog"}),Z(),tr.current.value=null,tr.current.click())},[ts,Z,tn,y,tx,tf,G,l]),tw=(0,i.useCallback)(function(t){ti.current&&ti.current.isEqualNode(t.target)&&(" "===t.key||"Enter"===t.key||32===t.keyCode||13===t.keyCode)&&(t.preventDefault(),tb())},[ti,tb]),tk=(0,i.useCallback)(function(){ts({type:"focus"})},[]),tS=(0,i.useCallback)(function(){ts({type:"blur"})},[]),tE=(0,i.useCallback)(function(){C||(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==t.indexOf("MSIE")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/")}()?setTimeout(tb,0):tb())},[C,tb]),tC=function(t){return r?null:t},tO=function(t){return O?null:tC(t)},tA=function(t){return A?null:tC(t)},tj=function(t){j&&t.stopPropagation()},tT=(0,i.useMemo)(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,n=t.role,i=t.onKeyDown,o=t.onFocus,a=t.onBlur,s=t.onClick,l=t.onDragEnter,p=t.onDragOver,c=t.onDragLeave,d=t.onDrop,u=K(t,$);return U(U(V({onKeyDown:tO(F(i,tw)),onFocus:tO(F(o,tk)),onBlur:tO(F(a,tS)),onClick:tC(F(s,tE)),onDragEnter:tA(F(l,tm)),onDragOver:tA(F(p,tg)),onDragLeave:tA(F(c,tv)),onDrop:tA(F(d,ty)),role:"string"==typeof n&&""!==n?n:"presentation"},void 0===e?"ref":e,ti),r||O?{}:{tabIndex:0}),u)}},[ti,tw,tk,tS,tE,tm,tg,tv,ty,O,A,r]),tz=(0,i.useCallback)(function(t){t.stopPropagation()},[]),tR=(0,i.useMemo)(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,n=t.onChange,i=t.onClick,r=K(t,H);return U(U({},V({accept:Y,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:tC(F(n,ty)),onClick:tC(F(i,tz)),tabIndex:-1},void 0===e?"ref":e,tr)),r)}},[tr,n,l,ty,r]);return U(U({},ta),{}
4,{isFocused:tl&&!r,getRootProps:tT,getInputProps:tR,rootRef:ti,inputRef:tr,open:tC(tb)})}function tt(t,e){switch(e.type){case"focus":return U(U({},t),{},{isFocused:!0});case"blur":return U(U({},t),{},{isFocused:!1});case"openDialog":return U(U({},X),{},{isFileDialogActive:!0});case"closeDialog":return U(U({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":return U(U({},t),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return U(U({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return U({},X);default:return t}}function te(){}},40267:function(t,e,n){"use strict";n.d(e,{CR:function(){return c},Jh:function(){return l},XA:function(){return p},ZT:function(){return r},_T:function(){return a},ev:function(){return d},mG:function(){return s},pi:function(){return o}});var i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>e.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);r<i.length;r++)0>e.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n}function s(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})}function l(t,e){var n,i,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(r=(r=o.trys).length>0&&r[r.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function p(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function d(t,e,n){if(n||2==arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.