@wangeditor-next/list-module 1.1.53 → 1.1.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{i18nAddResources as r,DomEditor as t,t as n}from"@wangeditor-next/core";import{Text as e,Path as i,Editor as o,Transforms as u,Range as f}from"slate";import a,{append as c,attr as l,parent as s}from"dom7";import{jsx as v}from"snabbdom";r("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),r("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var p,d,y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h={};function g(){if(d)return p;d=1;var r=function(r){return r&&r.Math===Math&&r};return p=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof y&&y)||r("object"==typeof p&&p)||function(){return this}()||Function("return this")()}var b,m,w,O,x,S,E,j,T={};function A(){return m?b:(m=1,b=function(r){try{return!!r()}catch(r){return!0}})}function P(){if(O)return w;O=1;var r=A();return w=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function I(){if(S)return x;S=1;var r=A();return x=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function k(){if(j)return E;j=1;var r=I(),t=Function.prototype.call;return E=r?t.bind(t):function(){return t.apply(t,arguments)},E}var R,L,N,z,M,_,C,F,D,B,H,$,G,V,W,U,K,Y,X,q,J,Q,Z,rr,tr,nr,er,ir,or,ur,fr,ar,cr,lr,sr,vr,pr,dr,yr,hr,gr,br={};function mr(){return N?L:(N=1,L=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function wr(){if(M)return z;M=1;var r=I(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return z=r?e:function(r){return function(){return n.apply(r,arguments)}},z}function Or(){if(C)return _;C=1;var r=wr(),t=r({}.toString),n=r("".slice);return _=function(r){return n(t(r),8,-1)}}function xr(){if(D)return F;D=1;var r=wr(),t=A(),n=Or(),e=Object,i=r("".split);return F=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?i(r,""):e(r)}:e}function Sr(){return H?B:(H=1,B=function(r){return null==r})}function Er(){if(G)return $;G=1;var r=Sr(),t=TypeError;return $=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function jr(){if(W)return V;W=1;var r=xr(),t=Er();return V=function(n){return r(t(n))}}function Tr(){if(K)return U;K=1;var r="object"==typeof document&&document.all;return U=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function Ar(){if(X)return Y;X=1;var r=Tr();return Y=function(t){return"object"==typeof t?null!==t:r(t)}}function Pr(){if(J)return q;J=1;var r=g(),t=Tr();return q=function(n,e){return arguments.length<2?(i=r[n],t(i)?i:void 0):r[n]&&r[n][e];var i},q}function Ir(){if(Z)return Q;Z=1;var r=wr();return Q=r({}.isPrototypeOf)}function kr(){if(er)return nr;er=1;var r,t,n=g(),e=function(){if(tr)return rr;tr=1;var r=g().navigator,t=r&&r.userAgent;return rr=t?String(t):""}(),i=n.process,o=n.Deno,u=i&&i.versions||o&&o.version,f=u&&u.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),nr=t}function Rr(){if(or)return ir;or=1;var r=kr(),t=A(),n=g().String;return ir=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function Lr(){if(fr)return ur;fr=1;var r=Rr();return ur=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Nr(){if(cr)return ar;cr=1;var r=Pr(),t=Tr(),n=Ir(),e=Lr(),i=Object;return ar=e?function(r){return"symbol"==typeof r}:function(e){var o=r("Symbol");return t(o)&&n(o.prototype,i(e))}}function zr(){if(sr)return lr;sr=1;var r=String;return lr=function(t){try{return r(t)}catch(r){return"Object"}}}function Mr(){if(pr)return vr;pr=1;var r=Tr(),t=zr(),n=TypeError;return vr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function _r(){if(yr)return dr;yr=1;var r=Mr(),t=Sr();return dr=function(n,e){var i=n[e];return t(i)?void 0:r(i)}}function Cr(){if(gr)return hr;gr=1;var r=k(),t=Tr(),n=Ar(),e=TypeError;return hr=function(i,o){var u,f;if("string"===o&&t(u=i.toString)&&!n(f=r(u,i)))return f;if(t(u=i.valueOf)&&!n(f=r(u,i)))return f;if("string"!==o&&t(u=i.toString)&&!n(f=r(u,i)))return f;throw new e("Can't convert object to primitive value")}}var Fr,Dr,Br,Hr,$r,Gr,Vr,Wr,Ur,Kr,Yr,Xr,qr,Jr,Qr,Zr,rt,tt,nt,et,it,ot,ut,ft,at={exports:{}};function ct(){return Dr?Fr:(Dr=1,Fr=!1)}function lt(){if(Hr)return Br;Hr=1;var r=g(),t=Object.defineProperty;return Br=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function st(){if($r)return at.exports;$r=1;var r=ct(),t=g(),n=lt(),e="__core-js_shared__",i=at.exports=t[e]||n(e,{});return(i.versions||(i.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"}),at.exports}function vt(){if(Vr)return Gr;Vr=1;var r=st();return Gr=function(t,n){return r[t]||(r[t]=n||{})}}function pt(){if(Ur)return Wr;Ur=1;var r=Er(),t=Object;return Wr=function(n){return t(r(n))}}function dt(){if(Yr)return Kr;Yr=1;var r=wr(),t=pt(),n=r({}.hasOwnProperty);return Kr=Object.hasOwn||function(r,e){return n(t(r),e)}}function yt(){if(qr)return Xr;qr=1;var r=wr(),t=0,n=Math.random(),e=r(1.1.toString);return Xr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function ht(){if(Qr)return Jr;Qr=1;var r=g(),t=vt(),n=dt(),e=yt(),i=Rr(),o=Lr(),u=r.Symbol,f=t("wks"),a=o?u.for||u:u&&u.withoutSetter||e;return Jr=function(r){return n(f,r)||(f[r]=i&&n(u,r)?u[r]:a("Symbol."+r)),f[r]}}function gt(){if(rt)return Zr;rt=1;var r=k(),t=Ar(),n=Nr(),e=_r(),i=Cr(),o=ht(),u=TypeError,f=o("toPrimitive");return Zr=function(o,a){if(!t(o)||n(o))return o;var c,l=e(o,f);if(l){if(void 0===a&&(a="default"),c=r(l,o,a),!t(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===a&&(a="number"),i(o,a)}}function bt(){if(nt)return tt;nt=1;var r=gt(),t=Nr();return tt=function(n){var e=r(n,"string");return t(e)?e:e+""}}function mt(){if(it)return et;it=1;var r=g(),t=Ar(),n=r.document,e=t(n)&&t(n.createElement);return et=function(r){return e?n.createElement(r):{}}}function wt(){if(ut)return ot;ut=1;var r=P(),t=A(),n=mt();return ot=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Ot(){if(ft)return T;ft=1;var r=P(),t=k(),n=function(){if(R)return br;R=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return br.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,br}(),e=mr(),i=jr(),o=bt(),u=dt(),f=wt(),a=Object.getOwnPropertyDescriptor;return T.f=r?a:function(r,c){if(r=i(r),c=o(c),f)try{return a(r,c)}catch(r){}if(u(r,c))return e(!t(n.f,r,c),r[c])},T}var xt,St,Et,jt,Tt,At,Pt,It={};function kt(){if(St)return xt;St=1;var r=P(),t=A();return xt=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Rt(){if(jt)return Et;jt=1;var r=Ar(),t=String,n=TypeError;return Et=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Lt(){if(Tt)return It;Tt=1;var r=P(),t=wt(),n=kt(),e=Rt(),i=bt(),o=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a="enumerable",c="configurable",l="writable";return It.f=r?n?function(r,t,n){if(e(r),t=i(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var o=f(r,t);o&&o[l]&&(r[t]=n.value,n={configurable:c in n?n[c]:o[c],enumerable:a in n?n[a]:o[a],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=i(n),e(f),t)try{return u(r,n,f)}catch(r){}if("get"in f||"set"in f)throw new o("Accessors not supported");return"value"in f&&(r[n]=f.value),r},It}function Nt(){if(Pt)return At;Pt=1;var r=P(),t=Lt(),n=mr();return At=r?function(r,e,i){return t.f(r,e,n(1,i))}:function(r,t,n){return r[t]=n,r}}var zt,Mt,_t,Ct,Ft,Dt,Bt,Ht,$t,Gt,Vt,Wt,Ut,Kt,Yt,Xt={exports:{}};function qt(){if(Mt)return zt;Mt=1;var r=P(),t=dt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,i=t(n,"name"),o=i&&"something"===function(){}.name,u=i&&(!r||r&&e(n,"name").configurable);return zt={EXISTS:i,PROPER:o,CONFIGURABLE:u}}function Jt(){if(Ct)return _t;Ct=1;var r=wr(),t=Tr(),n=st(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),_t=n.inspectSource}function Qt(){if(Dt)return Ft;Dt=1;var r=g(),t=Tr(),n=r.WeakMap;return Ft=t(n)&&/native code/.test(String(n))}function Zt(){if(Ht)return Bt;Ht=1;var r=vt(),t=yt(),n=r("keys");return Bt=function(r){return n[r]||(n[r]=t(r))}}function rn(){return Gt?$t:(Gt=1,$t={})}function tn(){if(Wt)return Vt;Wt=1;var r,t,n,e=Qt(),i=g(),o=Ar(),u=Nt(),f=dt(),a=st(),c=Zt(),l=rn(),s="Object already initialized",v=i.TypeError,p=i.WeakMap;if(e||a.state){var d=a.state||(a.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new v(s);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var y=c("state");l[y]=!0,r=function(r,t){if(f(r,y))throw new v(s);return t.facade=r,u(r,y,t),t},t=function(r){return f(r,y)?r[y]:{}},n=function(r){return f(r,y)}}return Vt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!o(n)||(e=t(n)).type!==r)throw new v("Incompatible receiver, "+r+" required");return e}}}}function nn(){if(Ut)return Xt.exports;Ut=1;var r=wr(),t=A(),n=Tr(),e=dt(),i=P(),o=qt().CONFIGURABLE,u=Jt(),f=tn(),a=f.enforce,c=f.get,l=String,s=Object.defineProperty,v=r("".slice),p=r("".replace),d=r([].join),y=i&&!t(function(){return 8!==s(function(){},"length",{value:8}).length}),h=String(String).split("String"),g=Xt.exports=function(r,t,n){"Symbol("===v(l(t),0,7)&&(t="["+p(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||o&&r.name!==t)&&(i?s(r,"name",{value:t,configurable:!0}):r.name=t),y&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?i&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=a(r);return e(u,"source")||(u.source=d(h,"string"==typeof t?t:"")),r};return Function.prototype.toString=g(function(){return n(this)&&c(this).source||u(this)},"toString"),Xt.exports}function en(){if(Yt)return Kt;Yt=1;var r=Tr(),t=Lt(),n=nn(),e=lt();return Kt=function(i,o,u,f){f||(f={});var a=f.enumerable,c=void 0!==f.name?f.name:o;if(r(u)&&n(u,c,f),f.global)a?i[o]=u:e(o,u);else{try{f.unsafe?i[o]&&(a=!0):delete i[o]}catch(r){}a?i[o]=u:t.f(i,o,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return i}}var on,un,fn,an,cn,ln,sn,vn,pn,dn,yn,hn,gn,bn,mn,wn,On,xn={};function Sn(){if(an)return fn;an=1;var r=function(){if(un)return on;un=1;var r=Math.ceil,t=Math.floor;return on=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return fn=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function En(){if(ln)return cn;ln=1;var r=Sn(),t=Math.max,n=Math.min;return cn=function(e,i){var o=r(e);return o<0?t(o+i,0):n(o,i)}}function jn(){if(vn)return sn;vn=1;var r=Sn(),t=Math.min;return sn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function Tn(){if(dn)return pn;dn=1;var r=jn();return pn=function(t){return r(t.length)}}function An(){if(hn)return yn;hn=1;var r=jr(),t=En(),n=Tn(),e=function(e){return function(i,o,u){var f=r(i),a=n(f);if(0===a)return!e&&-1;var c,l=t(u,a);if(e&&o!=o){for(;a>l;)if((c=f[l++])!=c)return!0}else for(;a>l;l++)if((e||l in f)&&f[l]===o)return e||l||0;return!e&&-1}};return yn={includes:e(!0),indexOf:e(!1)}}function Pn(){if(bn)return gn;bn=1;var r=wr(),t=dt(),n=jr(),e=An().indexOf,i=rn(),o=r([].push);return gn=function(r,u){var f,a=n(r),c=0,l=[];for(f in a)!t(i,f)&&t(a,f)&&o(l,f);for(;u.length>c;)t(a,f=u[c++])&&(~e(l,f)||o(l,f));return l}}function In(){return wn?mn:(wn=1,mn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function kn(){if(On)return xn;On=1;var r=Pn(),t=In().concat("length","prototype");return xn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},xn}var Rn,Ln,Nn,zn,Mn,_n,Cn,Fn,Dn,Bn,Hn,$n,Gn,Vn,Wn,Un,Kn,Yn,Xn,qn,Jn,Qn,Zn,re,te,ne,ee,ie,oe,ue,fe={};function ae(){if(Nn)return Ln;Nn=1;var r=Pr(),t=wr(),n=kn(),e=(Rn||(Rn=1,fe.f=Object.getOwnPropertySymbols),fe),i=Rt(),o=t([].concat);return Ln=r("Reflect","ownKeys")||function(r){var t=n.f(i(r)),u=e.f;return u?o(t,u(r)):t}}function ce(){if(Mn)return zn;Mn=1;var r=dt(),t=ae(),n=Ot(),e=Lt();return zn=function(i,o,u){for(var f=t(o),a=e.f,c=n.f,l=0;l<f.length;l++){var s=f[l];r(i,s)||u&&r(u,s)||a(i,s,c(o,s))}}}function le(){if(Cn)return _n;Cn=1;var r=A(),t=Tr(),n=/#|\.prototype\./,e=function(n,e){var a=o[i(n)];return a===f||a!==u&&(t(e)?r(e):!!e)},i=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},o=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return _n=e}function se(){if(Dn)return Fn;Dn=1;var r=g(),t=Ot().f,n=Nt(),e=en(),i=lt(),o=ce(),u=le();return Fn=function(f,a){var c,l,s,v,p,d=f.target,y=f.global,h=f.stat;if(c=y?r:h?r[d]||i(d,{}):r[d]&&r[d].prototype)for(l in a){if(v=a[l],s=f.dontCallGetSet?(p=t(c,l))&&p.value:c[l],!u(y?l:d+(h?".":"#")+l,f.forced)&&void 0!==s){if(typeof v==typeof s)continue;o(v,s)}(f.sham||s&&s.sham)&&n(v,"sham",!0),e(c,l,v,f)}}}function ve(){if(Hn)return Bn;Hn=1;var r=Or();return Bn=Array.isArray||function(t){return"Array"===r(t)}}function pe(){if(Gn)return $n;Gn=1;var r=TypeError;return $n=function(t){if(t>9007199254740991)throw r("Maximum allowed index exceeded");return t}}function de(){if(Wn)return Vn;Wn=1;var r=P(),t=Lt(),n=mr();return Vn=function(e,i,o){r?t.f(e,i,n(0,o)):e[i]=o}}function ye(){if(Xn)return Yn;Xn=1;var r={};return r[ht()("toStringTag")]="z",Yn="[object z]"===String(r)}function he(){if(Jn)return qn;Jn=1;var r=ye(),t=Tr(),n=Or(),e=ht()("toStringTag"),i=Object,o="Arguments"===n(function(){return arguments}());return qn=r?n:function(r){var u,f,a;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(r){}}(u=i(r),e))?f:o?n(u):"Object"===(a=n(u))&&t(u.callee)?"Arguments":a}}function ge(){if(Zn)return Qn;Zn=1;var r=wr(),t=A(),n=Tr(),e=he(),i=Pr(),o=Jt(),u=function(){},f=i("Reflect","construct"),a=/^\s*(?:class|function)\b/,c=r(a.exec),l=!a.test(u),s=function(r){if(!n(r))return!1;try{return f(u,[],r),!0}catch(r){return!1}},v=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(a,o(r))}catch(r){return!0}};return v.sham=!0,Qn=!f||t(function(){var r;return s(s.call)||!s(Object)||!s(function(){r=!0})||r})?v:s}function be(){if(te)return re;te=1;var r=ve(),t=ge(),n=Ar(),e=ht()("species"),i=Array;return re=function(o){var u;return r(o)&&(u=o.constructor,(t(u)&&(u===i||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?i:u}}function me(){if(ee)return ne;ee=1;var r=be();return ne=function(t,n){return new(r(t))(0===n?0:n)}}function we(){if(oe)return ie;oe=1;var r=A(),t=ht(),n=kr(),e=t("species");return ie=function(t){return n>=51||!r(function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo})}}!function(){if(ue)return h;ue=1;var r=se(),t=A(),n=ve(),e=Ar(),i=pt(),o=Tn(),u=pe(),f=de(),a=function(){if(Kn)return Un;Kn=1;var r=P(),t=ve(),n=TypeError,e=Object.getOwnPropertyDescriptor,i=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Un=i?function(r,i){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=i}:function(r,t){return r.length=t}}(),c=me(),l=we(),s=ht(),v=kr(),p=s("isConcatSpreadable"),d=v>=51||!t(function(){var r=[];return r[p]=!1,r.concat()[0]!==r}),y=function(r){if(!e(r))return!1;var t=r[p];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(r){var t,n,e,l,s,v=i(this),p=c(v,0),d=0;for(t=-1,e=arguments.length;t<e;t++)if(y(s=-1===t?v:arguments[t]))for(l=o(s),u(d+l),n=0;n<l;n++,d++)n in s&&f(p,d,s[n]);else u(d+1),f(p,d++,s);return a(p,d),p}})}();var Oe=function(r,t){return Oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},Oe(r,t)};function xe(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=r}Oe(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Se(r){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&r[t],e=0;if(n)return n.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&e>=r.length&&(r=void 0),{value:r&&r[e++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ee(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,i,o=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=o.next()).done;)u.push(e.value)}catch(r){i={error:r}}finally{try{e&&!e.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return u}function je(r,t,n){if(n||2===arguments.length)for(var e,i=0,o=t.length;i<o;i++)!e&&i in t||(e||(e=Array.prototype.slice.call(t,0,i)),e[i]=t[i]);return r.concat(e||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Te,Ae,Pe,Ie,ke,Re,Le,Ne,ze,Me,_e,Ce,Fe,De,Be,He,$e,Ge,Ve,We,Ue,Ke,Ye,Xe,qe,Je,Qe,Ze,ri,ti,ni,ei,ii,oi,ui,fi={};function ai(){if(Ae)return Te;Ae=1;var r=Pn(),t=In();return Te=Object.keys||function(n){return r(n,t)}}function ci(){if(ke)return Ie;ke=1;var r=Pr();return Ie=r("document","documentElement")}function li(){if(Le)return Re;Le=1;var r,t=Rt(),n=function(){if(Pe)return fi;Pe=1;var r=P(),t=kt(),n=Lt(),e=Rt(),i=jr(),o=ai();return fi.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,f=i(t),a=o(t),c=a.length,l=0;c>l;)n.f(r,u=a[l++],f[u]);return r},fi}(),e=In(),i=rn(),o=ci(),u=mt(),f=Zt(),a="prototype",c="script",l=f("IE_PROTO"),s=function(){},v=function(r){return"<"+c+">"+r+"</"+c+">"},p=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,i;d="undefined"!=typeof document?document.domain&&r?p(r):(n=u("iframe"),i="java"+c+":",n.style.display="none",o.appendChild(n),n.src=String(i),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):p(r);for(var f=e.length;f--;)delete d[a][e[f]];return d()};return i[l]=!0,Re=Object.create||function(r,e){var i;return null!==r?(s[a]=t(r),i=new s,s[a]=null,i[l]=r):i=d(),void 0===e?i:n.f(i,e)}}function si(){if(ze)return Ne;ze=1;var r=ht(),t=li(),n=Lt().f,e=r("unscopables"),i=Array.prototype;return void 0===i[e]&&n(i,e,{configurable:!0,value:t(null)}),Ne=function(r){i[e][r]=!0}}function vi(){return _e?Me:(_e=1,Me={})}function pi(){if(Be)return De;Be=1;var r=dt(),t=Tr(),n=pt(),e=Zt(),i=function(){if(Fe)return Ce;Fe=1;var r=A();return Ce=!r(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}(),o=e("IE_PROTO"),u=Object,f=u.prototype;return De=i?u.getPrototypeOf:function(e){var i=n(e);if(r(i,o))return i[o];var a=i.constructor;return t(a)&&i instanceof a?a.prototype:i instanceof u?f:null}}function di(){if($e)return He;$e=1;var r,t,n,e=A(),i=Tr(),o=Ar(),u=li(),f=pi(),a=en(),c=ht(),l=ct(),s=c("iterator"),v=!1;return[].keys&&("next"in(n=[].keys())?(t=f(f(n)))!==Object.prototype&&(r=t):v=!0),!o(r)||e(function(){var t={};return r[s].call(t)!==t})?r={}:l&&(r=u(r)),i(r[s])||a(r,s,function(){return this}),He={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}}function yi(){if(Ve)return Ge;Ve=1;var r=Lt().f,t=dt(),n=ht()("toStringTag");return Ge=function(e,i,o){e&&!o&&(e=e.prototype),e&&!t(e,n)&&r(e,n,{configurable:!0,value:i})}}function hi(){if(qe)return Xe;qe=1;var r=Ar();return Xe=function(t){return r(t)||null===t}}function gi(){if(Qe)return Je;Qe=1;var r=hi(),t=String,n=TypeError;return Je=function(e){if(r(e))return e;throw new n("Can't set "+t(e)+" as a prototype")}}function bi(){if(ri)return Ze;ri=1;var r=function(){if(Ye)return Ke;Ye=1;var r=wr(),t=Mr();return Ke=function(n,e,i){try{return r(t(Object.getOwnPropertyDescriptor(n,e)[i]))}catch(r){}}}(),t=Ar(),n=Er(),e=gi();return Ze=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,u={};try{(i=r(Object.prototype,"__proto__","set"))(u,[]),o=u instanceof Array}catch(r){}return function(r,u){return n(r),e(u),t(r)?(o?i(r,u):r.__proto__=u,r):r}}():void 0)}function mi(){if(ni)return ti;ni=1;var r=se(),t=k(),n=ct(),e=qt(),i=Tr(),o=function(){if(Ue)return We;Ue=1;var r=di().IteratorPrototype,t=li(),n=mr(),e=yi(),i=vi(),o=function(){return this};return We=function(u,f,a,c){var l=f+" Iterator";return u.prototype=t(r,{next:n(+!c,a)}),e(u,l,!1,!0),i[l]=o,u}}(),u=pi(),f=bi(),a=yi(),c=Nt(),l=en(),s=ht(),v=vi(),p=di(),d=e.PROPER,y=e.CONFIGURABLE,h=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,b=s("iterator"),m="keys",w="values",O="entries",x=function(){return this};return ti=function(e,s,p,S,E,j,T){o(p,s,S);var A,P,I,k=function(r){if(r===E&&M)return M;if(!g&&r&&r in N)return N[r];switch(r){case m:case w:case O:return function(){return new p(this,r)}}return function(){return new p(this)}},R=s+" Iterator",L=!1,N=e.prototype,z=N[b]||N["@@iterator"]||E&&N[E],M=!g&&z||k(E),_="Array"===s&&N.entries||z;if(_&&(A=u(_.call(new e)))!==Object.prototype&&A.next&&(n||u(A)===h||(f?f(A,h):i(A[b])||l(A,b,x)),a(A,R,!0,!0),n&&(v[R]=x)),d&&E===w&&z&&z.name!==w&&(!n&&y?c(N,"name",w):(L=!0,M=function(){return t(z,this)})),E)if(P={values:k(w),keys:j?M:k(m),entries:k(O)},T)for(I in P)(g||L||!(I in N))&&l(N,I,P[I]);else r({target:s,proto:!0,forced:g||L},P);return n&&!T||N[b]===M||l(N,b,M,{name:E}),v[s]=M,P}}function wi(){return ii?ei:(ii=1,ei=function(r,t){return{value:r,done:t}})}function Oi(){if(ui)return oi;ui=1;var r=jr(),t=si(),n=vi(),e=tn(),i=Lt().f,o=mi(),u=wi(),f=ct(),a=P(),c="Array Iterator",l=e.set,s=e.getterFor(c);oi=o(Array,"Array",function(t,n){l(this,{type:c,target:r(t),index:0,kind:n})},function(){var r=s(this),t=r.target,n=r.index++;if(!t||n>=t.length)return r.target=null,u(void 0,!0);switch(r.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)},"values");var v=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!f&&a&&"values"!==v.name)try{i(v,"name",{value:"values"})}catch(r){}return oi}Oi();var xi,Si,Ei,ji={};!function(){if(Ei)return ji;Ei=1;var r=ye(),t=en(),n=function(){if(Si)return xi;Si=1;var r=ye(),t=he();return xi=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var Ti,Ai,Pi,Ii,ki,Ri={};function Li(){if(Ai)return Ti;Ai=1;var r=he(),t=String;return Ti=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ni(){if(Ii)return Pi;Ii=1;var r=wr(),t=Sn(),n=Li(),e=Er(),i=r("".charAt),o=r("".charCodeAt),u=r("".slice),f=function(r){return function(f,a){var c,l,s=n(e(f)),v=t(a),p=s.length;return v<0||v>=p?r?"":void 0:(c=o(s,v))<55296||c>56319||v+1===p||(l=o(s,v+1))<56320||l>57343?r?i(s,v):c:r?u(s,v,v+2):l-56320+(c-55296<<10)+65536}};return Pi={codeAt:f(!1),charAt:f(!0)}}!function(){if(ki)return Ri;ki=1;var r=Ni().charAt,t=Li(),n=tn(),e=mi(),i=wi(),o="String Iterator",u=n.set,f=n.getterFor(o);e(String,"String",function(r){u(this,{type:o,string:t(r),index:0})},function(){var t,n=f(this),e=n.string,o=n.index;return o>=e.length?i(void 0,!0):(t=r(e,o),n.index+=t.length,i(t,!1))})}();var zi,Mi,_i,Ci,Fi={};function Di(){if(Mi)return zi;Mi=1;var r=A();return zi=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Bi(){if(Ci)return _i;Ci=1;var r=en();return _i=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}}var Hi,$i,Gi,Vi,Wi,Ui,Ki,Yi,Xi,qi,Ji,Qi,Zi,ro,to,no,eo,io,oo,uo,fo,ao,co,lo,so,vo,po,yo,ho,go,bo,mo,wo,Oo,xo,So,Eo={exports:{}},jo={};function To(){if($i)return Hi;$i=1;var r=wr();return Hi=r([].slice)}function Ao(){if(Gi)return jo;Gi=1;var r=Or(),t=jr(),n=kn().f,e=To(),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return jo.f=function(o){return i&&"Window"===r(o)?function(r){try{return n(r)}catch(r){return e(i)}}(o):n(t(o))},jo}function Po(){if(Ki)return Ui;Ki=1;var r=A(),t=Ar(),n=Or(),e=function(){if(Wi)return Vi;Wi=1;var r=A();return Vi=r(function(){if("function"==typeof ArrayBuffer){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})}(),i=Object.isExtensible,o=r(function(){});return Ui=o||e?function(r){return!!t(r)&&((!e||"ArrayBuffer"!==n(r))&&(!i||i(r)))}:i}function Io(){if(Yi)return Eo.exports;Yi=1;var r=se(),t=wr(),n=rn(),e=Ar(),i=dt(),o=Lt().f,u=kn(),f=Ao(),a=Po(),c=yt(),l=Di(),s=!1,v=c("meta"),p=0,d=function(r){o(r,v,{value:{objectID:"O"+p++,weakData:{}}})},y=Eo.exports={enable:function(){y.enable=function(){},s=!0;var n=u.f,e=t([].splice),i={};i[v]=1,n(i).length&&(u.f=function(r){for(var t=n(r),i=0,o=t.length;i<o;i++)if(t[i]===v){e(t,i,1);break}return t},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(r,t){if(!e(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!i(r,v)){if(!a(r))return"F";if(!t)return"E";d(r)}return r[v].objectID},getWeakData:function(r,t){if(!i(r,v)){if(!a(r))return!0;if(!t)return!1;d(r)}return r[v].weakData},onFreeze:function(r){return l&&s&&a(r)&&!i(r,v)&&d(r),r}};return n[v]=!0,Eo.exports}function ko(){if(Qi)return Ji;Qi=1;var r=function(){if(qi)return Xi;qi=1;var r=Or(),t=wr();return Xi=function(n){if("Function"===r(n))return t(n)}}(),t=Mr(),n=I(),e=r(r.bind);return Ji=function(r,i){return t(r),void 0===i?r:n?e(r,i):function(){return r.apply(i,arguments)}},Ji}function Ro(){if(ro)return Zi;ro=1;var r=ht(),t=vi(),n=r("iterator"),e=Array.prototype;return Zi=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function Lo(){if(no)return to;no=1;var r=he(),t=_r(),n=Sr(),e=vi(),i=ht()("iterator");return to=function(o){if(!n(o))return t(o,i)||t(o,"@@iterator")||e[r(o)]}}function No(){if(io)return eo;io=1;var r=k(),t=Mr(),n=Rt(),e=zr(),i=Lo(),o=TypeError;return eo=function(u,f){var a=arguments.length<2?i(u):f;if(t(a))return n(r(a,u));throw new o(e(u)+" is not iterable")},eo}function zo(){if(uo)return oo;uo=1;var r=k(),t=Rt(),n=_r();return oo=function(e,i,o){var u,f;t(e);try{if(!(u=n(e,"return"))){if("throw"===i)throw o;return o}u=r(u,e)}catch(r){f=!0,u=r}if("throw"===i)throw o;if(f)throw u;return t(u),o}}function Mo(){if(ao)return fo;ao=1;var r=ko(),t=k(),n=Rt(),e=zr(),i=Ro(),o=Tn(),u=Ir(),f=No(),a=Lo(),c=zo(),l=TypeError,s=function(r,t){this.stopped=r,this.result=t},v=s.prototype;return fo=function(p,d,y){var h,g,b,m,w,O,x,S=y&&y.that,E=!(!y||!y.AS_ENTRIES),j=!(!y||!y.IS_RECORD),T=!(!y||!y.IS_ITERATOR),A=!(!y||!y.INTERRUPTED),P=r(d,S),I=function(r){return h&&c(h,"normal"),new s(!0,r)},k=function(r){return E?(n(r),A?P(r[0],r[1],I):P(r[0],r[1])):A?P(r,I):P(r)};if(j)h=p.iterator;else if(T)h=p;else{if(!(g=a(p)))throw new l(e(p)+" is not iterable");if(i(g)){for(b=0,m=o(p);m>b;b++)if((w=k(p[b]))&&u(v,w))return w;return new s(!1)}h=f(p,g)}for(O=j?p.next:h.next;!(x=t(O,h)).done;){try{w=k(x.value)}catch(r){c(h,"throw",r)}if("object"==typeof w&&w&&u(v,w))return w}return new s(!1)}}function _o(){if(lo)return co;lo=1;var r=Ir(),t=TypeError;return co=function(n,e){if(r(e,n))return n;throw new t("Incorrect invocation")}}function Co(){if(vo)return so;vo=1;var r=ht()("iterator"),t=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){t=!0}};e[r]=function(){return this},Array.from(e,function(){throw 2})}catch(r){}return so=function(n,e){try{if(!e&&!t)return!1}catch(r){return!1}var i=!1;try{var o={};o[r]=function(){return{next:function(){return{done:i=!0}}}},n(o)}catch(r){}return i}}function Fo(){if(yo)return po;yo=1;var r=Tr(),t=Ar(),n=bi();return po=function(e,i,o){var u,f;return n&&r(u=i.constructor)&&u!==o&&t(f=u.prototype)&&f!==o.prototype&&n(e,f),e}}function Do(){if(go)return ho;go=1;var r=se(),t=g(),n=wr(),e=le(),i=en(),o=Io(),u=Mo(),f=_o(),a=Tr(),c=Sr(),l=Ar(),s=A(),v=Co(),p=yi(),d=Fo();return ho=function(y,h,g){var b=-1!==y.indexOf("Map"),m=-1!==y.indexOf("Weak"),w=b?"set":"add",O=t[y],x=O&&O.prototype,S=O,E={},j=function(r){var t=n(x[r]);i(x,r,"add"===r?function(r){return t(this,0===r?0:r),this}:"delete"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:"get"===r?function(r){return m&&!l(r)?void 0:t(this,0===r?0:r)}:"has"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:function(r,n){return t(this,0===r?0:r,n),this})};if(e(y,!a(O)||!(m||x.forEach&&!s(function(){(new O).entries().next()}))))S=g.getConstructor(h,y,b,w),o.enable();else if(e(y,!0)){var T=new S,A=T[w](m?{}:-0,1)!==T,P=s(function(){T.has(1)}),I=v(function(r){new O(r)}),k=!m&&s(function(){for(var r=new O,t=5;t--;)r[w](t,t);return!r.has(-0)});I||((S=h(function(r,t){f(r,x);var n=d(new O,r,S);return c(t)||u(t,n[w],{that:n,AS_ENTRIES:b}),n})).prototype=x,x.constructor=S),(P||k)&&(j("delete"),j("has"),b&&j("get")),(k||A)&&j(w),m&&x.clear&&delete x.clear}return E[y]=S,r({global:!0,constructor:!0,forced:S!==O},E),p(S,y),m||g.setStrong(S,y,b),S}}function Bo(){if(mo)return bo;mo=1;var r=ko(),t=xr(),n=pt(),e=Tn(),i=me(),o=de(),u=function(u){var f=1===u,a=2===u,c=3===u,l=4===u,s=6===u,v=7===u,p=5===u||s;return function(d,y,h){for(var g,b,m=n(d),w=t(m),O=e(w),x=r(y,h),S=0,E=0,j=f?i(d,O):a||v?i(d,0):void 0;O>S;S++)if((p||S in w)&&(b=x(g=w[S],S,m),u))if(f)o(j,S,b);else if(b)switch(u){case 3:return!0;case 5:return g;case 6:return S;case 2:o(j,E++,g)}else switch(u){case 4:return!1;case 7:o(j,E++,g)}return s?-1:c||l?l:j}};return bo={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}function Ho(){if(Oo)return wo;Oo=1;var r=wr(),t=Bi(),n=Io().getWeakData,e=_o(),i=Rt(),o=Sr(),u=Ar(),f=Mo(),a=Bo(),c=dt(),l=tn(),s=l.set,v=l.getterFor,p=a.find,d=a.findIndex,y=r([].splice),h=0,g=function(r){return r.frozen||(r.frozen=new b)},b=function(){this.entries=[]},m=function(r,t){return p(r.entries,function(r){return r[0]===t})};return b.prototype={get:function(r){var t=m(this,r);if(t)return t[1]},has:function(r){return!!m(this,r)},set:function(r,t){var n=m(this,r);n?n[1]=t:this.entries.push([r,t])},delete:function(r){var t=d(this.entries,function(t){return t[0]===r});return~t&&y(this.entries,t,1),!!~t}},wo={getConstructor:function(r,a,l,p){var d=r(function(r,t){e(r,y),s(r,{type:a,id:h++,frozen:null}),o(t)||f(t,r[p],{that:r,AS_ENTRIES:l})}),y=d.prototype,b=v(a),m=function(r,t,e){var o=b(r),u=n(i(t),!0);return!0===u?g(o).set(t,e):u[o.id]=e,r};return t(y,{delete:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?g(t).delete(r):e&&c(e,t.id)&&delete e[t.id]},has:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?g(t).has(r):e&&c(e,t.id)}}),t(y,l?{get:function(r){var t=b(this);if(u(r)){var e=n(r);if(!0===e)return g(t).get(r);if(e)return e[t.id]}},set:function(r,t){return m(this,r,t)}}:{add:function(r){return m(this,r,!0)}}),d}}}So||(So=1,function(){if(xo)return Fi;xo=1;var r,t=Di(),n=g(),e=wr(),i=Bi(),o=Io(),u=Do(),f=Ho(),a=Ar(),c=tn().enforce,l=A(),s=Qt(),v=Object,p=Array.isArray,d=v.isExtensible,y=v.isFrozen,h=v.isSealed,b=v.freeze,m=v.seal,w=!n.ActiveXObject&&"ActiveXObject"in n,O=function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},x=u("WeakMap",O,f),S=x.prototype,E=e(S.set);if(s)if(w){r=f.getConstructor(O,"WeakMap",!0),o.enable();var j=e(S.delete),T=e(S.has),P=e(S.get);i(S,{delete:function(t){if(a(t)&&!d(t)){var n=c(this);return n.frozen||(n.frozen=new r),j(this,t)||n.frozen.delete(t)}return j(this,t)},has:function(t){if(a(t)&&!d(t)){var n=c(this);return n.frozen||(n.frozen=new r),T(this,t)||n.frozen.has(t)}return T(this,t)},get:function(t){if(a(t)&&!d(t)){var n=c(this);return n.frozen||(n.frozen=new r),T(this,t)?P(this,t):n.frozen.get(t)}return P(this,t)},set:function(t,n){if(a(t)&&!d(t)){var e=c(this);e.frozen||(e.frozen=new r),T(this,t)?E(this,t,n):e.frozen.set(t,n)}else E(this,t,n);return this}})}else t&&l(function(){var r=b([]);return E(new x,r,1),!y(r)})&&i(S,{set:function(r,t){var n;return p(r)&&(y(r)?n=b:h(r)&&(n=m)),E(this,r,t),n&&n(r),this}})}());var $o,Go,Vo,Wo,Uo,Ko={};!function(){if(Uo)return Ko;Uo=1;var r=g(),t=Go?$o:(Go=1,$o={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),n=function(){if(Wo)return Vo;Wo=1;var r=mt()("span").classList,t=r&&r.constructor&&r.constructor.prototype;return Vo=t===Object.prototype?void 0:t}(),e=Oi(),i=Nt(),o=yi(),u=ht()("iterator"),f=e.values,a=function(r,n){if(r){if(r[u]!==f)try{i(r,u,f)}catch(t){r[u]=f}if(o(r,n,!0),t[n])for(var a in e)if(r[a]!==e[a])try{i(r,a,e[a])}catch(t){r[a]=e[a]}}};for(var c in t)a(r[c]&&r[c].prototype,c);a(n,"DOMTokenList")}();var Yo=new WeakMap;function Xo(r){var t,n=r.children||[],i=n.length;if(0===i)return"";for(var o=0;o<i&&!t;o+=1){var u=n[o];e.isText(u)&&(t=u)}return null==t?"":t.color||""}function qo(r,n,e){for(var u=n.type,f=function(r,t){var n={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0&&(n[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(r);i<e.length;i++)t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i])&&(n[e[i]]=r[e[i]])}return n}(n,["type"]),a=void 0!==e?e:f.level||0,c=t.findPath(r,n);;){if(0===c.length||0===c[c.length-1])return null;c=i.previous(c);var l=o.node(r,c);if(!l)return null;var s=Ee(l,1)[0],v=s.level,p=void 0===v?0:v;if(t.getNodeType(s)!==u)return null;if(p===a)return s}}function Jo(r,t,n){var e=qo(r,t,n);return!!e&&e.ordered===t.ordered}var Qo=[];var Zo,ru={type:"list-item",elemToHtml:function(r,n){var e="",u="",f=r.ordered,a=void 0!==f&&f?"ol":"ul",c=function(r){var n=Yo.get(r);if(null==n)return 0;var e=r,u=e.type,f=e.ordered,a=void 0!==f&&f,c=e.level,l=void 0===c?0:c,s=t.findPath(n,r);if(0===s[0])return l+1;var v=i.previous(s),p=o.node(n,v);if(!p)return 0;var d=Ee(p,1)[0];if(t.getNodeType(d)!==u)return l+1;var y=d,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?l-m:m>l?Jo(n,r)?0:1:m===l?g===a?0:1:0}(r);if(c>0)for(var l=0;l<c;l+=1)e+="<".concat(a,">"),Qo.push(a);var s=function(r){var n=Yo.get(r);if(null==n)return 0;var e=r,u=e.type,f=e.ordered,a=void 0!==f&&f,c=e.level,l=void 0===c?0:c,s=t.findPath(n,r);if(s[0]===n.children.length-1)return l+1;var v=i.next(s),p=o.node(n,v);if(!p)return 0;var d=Ee(p,1)[0];if(t.getNodeType(d)!==u)return l+1;var y=d,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?Jo(n,d)?l-m:l-m+1:m>l?0:m===l?g===a?0:1:0}(r);if(s>0)for(l=0;l<s;l+=1){var v=Qo.pop();u+="</".concat(v,">")}var p=Xo(r),d=p?' style="color:'.concat(p,'"'):"";return{html:"<li".concat(d,">").concat(n,"</li>"),prefix:e,suffix:u}}},tu={};!function(){if(Zo)return tu;Zo=1;var r=se(),t=An().includes,n=A(),e=si();r({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}();var nu,eu,iu,ou,uu,fu,au,cu,lu,su,vu,pu={};function du(){if(eu)return nu;eu=1;var r=Rt();return nu=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function yu(){if(su)return lu;su=1;var r,t,n=k(),e=wr(),i=Li(),o=du(),u=function(){if(ou)return iu;ou=1;var r=A(),t=g().RegExp,n=r(function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")}),e=n||r(function(){return!t("a","y").sticky}),i=n||r(function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")});return iu={BROKEN_CARET:i,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),f=vt(),a=li(),c=tn().get,l=function(){if(fu)return uu;fu=1;var r=A(),t=g().RegExp;return uu=r(function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)})}(),s=function(){if(cu)return au;cu=1;var r=A(),t=g().RegExp;return au=r(function(){var r=t("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})}(),v=f("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,d=p,y=e("".charAt),h=e("".indexOf),b=e("".replace),m=e("".slice),w=(t=/b*/g,n(p,r=/a/,"a"),n(p,t,"a"),0!==r.lastIndex||0!==t.lastIndex),O=u.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];return(w||x||O||l||s)&&(d=function(r){var t,e,u,f,l,s,g,S=this,E=c(S),j=i(r),T=E.raw;if(T)return T.lastIndex=S.lastIndex,t=n(d,T,j),S.lastIndex=T.lastIndex,t;var A=E.groups,P=O&&S.sticky,I=n(o,S),k=S.source,R=0,L=j;if(P&&(I=b(I,"y",""),-1===h(I,"g")&&(I+="g"),L=m(j,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==y(j,S.lastIndex-1))&&(k="(?: "+k+")",L=" "+L,R++),e=new RegExp("^(?:"+k+")",I)),x&&(e=new RegExp("^"+k+"$(?!\\s)",I)),w&&(u=S.lastIndex),f=n(p,P?e:S,L),P?f?(f.input=m(f.input,R),f[0]=m(f[0],R),f.index=S.lastIndex,S.lastIndex+=f[0].length):S.lastIndex=0:w&&f&&(S.lastIndex=S.global?f.index+f[0].length:u),x&&f&&f.length>1&&n(v,f[0],e,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(f[l]=void 0)}),f&&A)for(f.groups=s=a(null),l=0;l<A.length;l++)s[(g=A[l])[0]]=f[g[1]];return f}),lu=d}function hu(){if(vu)return pu;vu=1;var r=se(),t=yu();return r({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),pu}hu();var gu,bu=function(){function r(){this.type="list-item",this.tag="button"}return r.prototype.getListNode=function(r){var n=this.type;return t.getSelectedNodeByType(r,n)},r.prototype.getValue=function(r){return""},r.prototype.isActive=function(r){var t=this.getListNode(r);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},r.prototype.isDisabled=function(r){return null==r.selection||!!t.getSelectedElems(r).some(function(t){if(o.isVoid(r,t)&&o.isBlock(r,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)})},r.prototype.exec=function(r,t){this.isActive(r)?u.setNodes(r,{type:"paragraph",ordered:void 0,level:void 0}):u.setNodes(r,{type:"list-item",ordered:this.ordered,indent:void 0})},r}(),mu=function(r){function t(){var t=r.apply(this,je([],Ee(arguments),!1))||this;return t.ordered=!1,t.title=n("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return xe(t,r),t}(bu),wu=function(r){function t(){var t=r.apply(this,je([],Ee(arguments),!1))||this;return t.ordered=!0,t.title=n("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return xe(t,r),t}(bu),Ou={key:"bulletedList",factory:function(){return new mu}},xu={key:"numberedList",factory:function(){return new wu}},Su={};!function(){if(gu)return Su;gu=1;var r=se(),t=Bo().filter;r({target:"Array",proto:!0,forced:!we()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var Eu,ju,Tu,Au={};!function(){if(Tu)return Au;Tu=1;var r=se(),t=function(){if(ju)return Eu;ju=1;var r=ve(),t=Tn(),n=pe(),e=ko(),i=de(),o=function(u,f,a,c,l,s,v,p){for(var d,y,h=l,g=0,b=!!v&&e(v,p);g<c;)g in a&&(d=b?b(a[g],g,f):a[g],s>0&&r(d)?(y=t(d),h=o(u,f,d,y,h,s-1)-1):(n(h+1),i(u,h,d)),h++),g++;return h};return Eu=o}(),n=pt(),e=Tn(),i=Sn(),o=me();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),f=e(u),a=o(u,0);return t(a,u,u,f,0,void 0===r?1:i(r)),a}})}();var Pu;Pu||(Pu=1,si()("flat"));var Iu,ku,Ru,Lu,Nu,zu,Mu,_u,Cu,Fu,Du,Bu,Hu,$u,Gu,Vu={};function Wu(){if(zu)return Nu;zu=1;var r=Ni().charAt;return Nu=function(t,n,e){return n+(e?r(t,n).length:1)}}function Uu(){if(_u)return Mu;_u=1;var r=wr(),t=pt(),n=Math.floor,e=r("".charAt),i=r("".replace),o=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;return Mu=function(r,a,c,l,s,v){var p=c+r.length,d=l.length,y=f;return void 0!==s&&(s=t(s),y=u),i(v,y,function(t,i){var u;switch(e(i,0)){case"$":return"$";case"&":return r;case"`":return o(a,0,c);case"'":return o(a,p);case"<":u=s[o(i,1,-1)];break;default:var f=+i;if(0===f)return t;if(f>d){var v=n(f/10);return 0===v?t:v<=d?void 0===l[v-1]?e(i,1):l[v-1]+e(i,1):t}u=l[f-1]}return void 0===u?"":u})}}function Ku(){if(Bu)return Du;Bu=1;var r=k(),t=dt(),n=Ir(),e=function(){if(Fu)return Cu;Fu=1;var r=g(),t=A(),n=r.RegExp,e=!t(function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",i=r?"dgimsy":"gimsy",o=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var f in r&&(u.hasIndices="d"),u)o(f,u[f]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==i||e!==i});return Cu={correct:e}}(),i=du(),o=RegExp.prototype;return Du=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(o,u)||t(u,"flags")?u.flags:r(i,u)}}!function(){if(Gu)return Vu;Gu=1;var r=function(){if(ku)return Iu;ku=1;var r=I(),t=Function.prototype,n=t.apply,e=t.call;return Iu="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),Iu}(),t=k(),n=wr(),e=function(){if(Lu)return Ru;Lu=1,hu();var r=k(),t=en(),n=yu(),e=A(),i=ht(),o=Nt(),u=i("species"),f=RegExp.prototype;return Ru=function(a,c,l,s){var v=i(a),p=!e(function(){var r={};return r[v]=function(){return 7},7!==""[a](r)}),d=p&&!e(function(){var r=!1,t=/a/;if("split"===a){var n={};n[u]=function(){return t},(t={constructor:n,flags:""})[v]=/./[v]}return t.exec=function(){return r=!0,null},t[v](""),!r});if(!p||!d||l){var y=/./[v],h=c(v,""[a],function(t,e,i,o,u){var a=e.exec;return a===n||a===f.exec?p&&!u?{done:!0,value:r(y,e,i,o)}:{done:!0,value:r(t,i,e,o)}:{done:!1}});t(String.prototype,a,h[0]),t(f,v,h[1])}s&&o(f[v],"sham",!0)}}(),i=A(),o=Rt(),u=Tr(),f=Ar(),a=Sn(),c=jn(),l=Li(),s=Er(),v=Wu(),p=_r(),d=Uu(),y=Ku(),h=function(){if($u)return Hu;$u=1;var r=k(),t=Rt(),n=Tr(),e=Or(),i=yu(),o=TypeError;return Hu=function(u,f){var a=u.exec;if(n(a)){var c=r(a,u,f);return null!==c&&t(c),c}if("RegExp"===e(u))return r(i,u,f);throw new o("RegExp#exec called on incompatible receiver")}}(),g=ht()("replace"),b=Math.max,m=Math.min,w=n([].concat),O=n([].push),x=n("".indexOf),S=n("".slice),E=function(r){return void 0===r?r:String(r)},j="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");e("replace",function(n,e,i){var j=T?"$":"$0";return[function(r,n){var i=s(this),o=f(r)?p(r,g):void 0;return o?t(o,r,i,n):t(e,l(i),r,n)},function(t,n){var f=o(this),s=l(t);if("string"==typeof n&&-1===x(n,j)&&-1===x(n,"$<")){var p=i(e,f,s,n);if(p.done)return p.value}var g=u(n);g||(n=l(n));var T,A=l(y(f)),P=-1!==x(A,"g");P&&(T=-1!==x(A,"u"),f.lastIndex=0);for(var I,k=[];null!==(I=h(f,s))&&(O(k,I),P);){""===l(I[0])&&(f.lastIndex=v(s,c(f.lastIndex),T))}for(var R="",L=0,N=0;N<k.length;N++){for(var z,M=l((I=k[N])[0]),_=b(m(a(I.index),s.length),0),C=[],F=1;F<I.length;F++)O(C,E(I[F]));var D=I.groups;if(g){var B=w([M],C,_,s);void 0!==D&&O(B,D),z=l(r(n,void 0,B))}else z=d(M,s,_,C,D,n);_>=L&&(R+=S(s,L,_)+z,L=_+M.length)}return R+S(s,L)}]},!!i(function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$<a>")})||!j||T)}();var Yu,Xu,qu={};function Ju(r){return r.length?r[0].tagName.toLowerCase():""}function Qu(r){return o.nodes(r,{at:r.selection||void 0,match:function(n){return 1===t.findPath(r,n).length}})}Xu||(Xu=1,function(){if(Yu)return qu;Yu=1;var r=se(),t=g();r({global:!0,forced:t.globalThis!==t},{globalThis:t})}()),c&&(a.fn.append=c),l&&(a.fn.attr=l),s&&(a.fn.parent=s);var Zu={renderElems:[{type:"list-item",renderElem:function(r,n,e){Yo.set(r,e);var u=r,f=u.level,a=void 0===f?0:f,c=u.ordered,l=void 0!==c&&c,s={margin:"5px 0 5px ".concat(20*a,"px"),display:"flex",alignItems:"flex-start"},p="";if(l){var d=function(r,n){var e=n,u=e.type,f=e.level,a=void 0===f?0:f,c=e.ordered,l=void 0!==c&&c,s=1,v=n,p=t.findPath(r,v);if(0===p[0])return 1;for(;p[0]>0;){var d=i.previous(p),y=o.node(r,d);if(null==y)break;var h=y[0],g=h.level,b=void 0===g?0:g,m=h.type,w=h.ordered;if(m!==u)break;if(b<a)break;if(b===a){if(w!==l)break;s+=1}v=h,p=d}return s}(e,r);p="".concat(d,".")}else p=function(r){void 0===r&&(r=0);var t="";switch(r){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(a);var y=Xo(r);return v("div",{style:s},v("span",{contentEditable:!1,style:{marginRight:"0.5em",color:y},"data-w-e-reserve":!0},p),v("span",{style:{flex:"1",wordBreak:"break-word"}},n))}}],editorPlugin:function(r){var n=r.deleteBackward,e=r.handleTab,i=r.normalizeNode,a=r.insertBreak,c=r;return c.insertBreak=function(){var n=Ee(o.nodes(r,{match:function(r){return t.checkNodeType(r,"list-item")},universal:!0}),1)[0];return n?""!==n[0].children[0].text?a():void u.setNodes(c,{type:"paragraph",ordered:void 0,level:void 0}):a()},c.deleteBackward=function(e){var i=c.selection;if(null!=i)if(f.isExpanded(i))n(e);else{var o=t.getSelectedNodeByType(c,"list-item");if(null!=o)if(0!==i.focus.offset)n(e);else{var a=o,l=a.level,s=void 0===l?0:l,v=a.ordered,p=void 0!==v&&v;if(s>0){var d=qo(r,o,s-1);d&&d.ordered!==p?u.setNodes(c,{level:s-1,ordered:!p}):u.setNodes(c,{level:s-1})}else u.setNodes(c,{type:"paragraph",ordered:void 0,level:void 0})}else n(e)}else n(e)},c.handleTab=function(){var r,n,i,o,a=c.selection;if(null!=a){if(f.isCollapsed(a)){var l=t.getSelectedNodeByType(c,"list-item");if(null==l)return void e();if(0===a.focus.offset){var s=l.level,v=void 0===s?0:s;return void u.setNodes(c,{level:v+1})}}if(f.isExpanded(a)){var p=0,d=!1;try{for(var y=Se(Qu(c)),h=y.next();!h.done;h=y.next()){var g=Ee(h.value,1)[0];"list-item"===t.getNodeType(g)?p+=1:d=!0}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}if(d||p<=1)return void e();try{for(var b=Se(Qu(c)),m=b.next();!m.done;m=b.next()){var w=Ee(m.value,2),O=(g=w[0],w[1]),x=g.level;v=void 0===x?0:x;u.setNodes(c,{level:v+1},{at:O})}}catch(r){i={error:r}}finally{try{m&&!m.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}}else e()}else e()},c.normalizeNode=function(r){var n=Ee(r,2),e=n[0],o=n[1],f=t.getNodeType(e);return"bulleted-list"!==f&&"numbered-list"!==f||u.unwrapNodes(c,{at:o}),i([e,o])},c},menus:[Ou,xu],elemsToHtml:[ru],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(r,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(r,t,n){var i=a(r);0===(t=t.filter(function(r){return!!e.isText(r)||!!n.isInline(r)})).length&&(t=[{text:i.text().replace(/\s+/gm," ")}]);var o=function(r){return"ol"===Ju(r.parent())}(i),u=function(r){for(var t=0,n=r.parent(),e=Ju(n);"ul"===e||"ol"===e;)e=Ju(n=n.parent()),t+=1;return t-1}(i);return{type:"list-item",ordered:o,level:u,children:t}}}]};export{Zu as default};
1
+ import{i18nAddResources as r,DomEditor as t,t as n}from"@wangeditor-next/core";import{Text as e,Path as o,Editor as i,Transforms as u,Range as f}from"slate";import c,{append as a,attr as l,parent as s}from"dom7";import{jsx as v}from"snabbdom";r("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),r("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var y,h,g={};function b(){if(h)return y;h=1;var r=function(r){return r&&r.Math===Math&&r};return y=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof p&&p)||r("object"==typeof y&&y)||function(){return this}()||Function("return this")()}var m,w,O,S,x,j,E,T,P={};function A(){return w?m:(w=1,m=function(r){try{return!!r()}catch(r){return!0}})}function I(){if(S)return O;S=1;var r=A();return O=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function k(){if(j)return x;j=1;var r=A();return x=!r(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})}function L(){if(T)return E;T=1;var r=k(),t=Function.prototype.call;return E=r?t.bind(t):function(){return t.apply(t,arguments)},E}var R,M,N,C,_,z,F,D,B,H,G,$,V,W,U,Y,K,X,q,J,Q,Z,rr,tr,nr,er,or,ir,ur,fr,cr,ar,lr,sr,vr,pr,dr,yr,hr,gr,br,mr={};function wr(){return N?M:(N=1,M=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function Or(){if(_)return C;_=1;var r=k(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return C=r?e:function(r){return function(){return n.apply(r,arguments)}},C}function Sr(){if(F)return z;F=1;var r=Or(),t=r({}.toString),n=r("".slice);return z=function(r){return n(t(r),8,-1)}}function xr(){if(B)return D;B=1;var r=Or(),t=A(),n=Sr(),e=Object,o=r("".split);return D=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?o(r,""):e(r)}:e}function jr(){return G?H:(G=1,H=function(r){return null==r})}function Er(){if(V)return $;V=1;var r=jr(),t=TypeError;return $=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Tr(){if(U)return W;U=1;var r=xr(),t=Er();return W=function(n){return r(t(n))}}function Pr(){if(K)return Y;K=1;var r="object"==typeof document&&document.all;return Y=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}function Ar(){if(q)return X;q=1;var r=Pr();return X=function(t){return"object"==typeof t?null!==t:r(t)}}function Ir(){if(Q)return J;Q=1;var r=b(),t=Pr();return J=function(n,e){return arguments.length<2?(o=r[n],t(o)?o:void 0):r[n]&&r[n][e];var o},J}function kr(){if(rr)return Z;rr=1;var r=Or();return Z=r({}.isPrototypeOf)}function Lr(){if(or)return er;or=1;var r,t,n=b(),e=function(){if(nr)return tr;nr=1;var r=b().navigator,t=r&&r.userAgent;return tr=t?String(t):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),er=t}function Rr(){if(ur)return ir;ur=1;var r=Lr(),t=A(),n=b().String;return ir=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function Mr(){if(cr)return fr;cr=1;var r=Rr();return fr=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Nr(){if(lr)return ar;lr=1;var r=Ir(),t=Pr(),n=kr(),e=Mr(),o=Object;return ar=e?function(r){return"symbol"==typeof r}:function(e){var i=r("Symbol");return t(i)&&n(i.prototype,o(e))}}function Cr(){if(vr)return sr;vr=1;var r=String;return sr=function(t){try{return r(t)}catch(r){return"Object"}}}function _r(){if(dr)return pr;dr=1;var r=Pr(),t=Cr(),n=TypeError;return pr=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function zr(){if(hr)return yr;hr=1;var r=_r(),t=jr();return yr=function(n,e){var o=n[e];return t(o)?void 0:r(o)}}var Fr,Dr,Br,Hr,Gr,$r,Vr,Wr,Ur,Yr,Kr,Xr,qr,Jr,Qr,Zr,rt,tt,nt,et,ot,it,ut,ft,ct={exports:{}};function at(){return Dr?Fr:(Dr=1,Fr=!1)}function lt(){if(Hr)return Br;Hr=1;var r=b(),t=Object.defineProperty;return Br=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function st(){if(Gr)return ct.exports;Gr=1;var r=at(),t=b(),n=lt(),e="__core-js_shared__",o=ct.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ct.exports}function vt(){if(Vr)return $r;Vr=1;var r=st();return $r=function(t,n){return r[t]||(r[t]=n||{})}}function pt(){if(Ur)return Wr;Ur=1;var r=Er(),t=Object;return Wr=function(n){return t(r(n))}}function dt(){if(Kr)return Yr;Kr=1;var r=Or(),t=pt(),n=r({}.hasOwnProperty);return Yr=Object.hasOwn||function(r,e){return n(t(r),e)}}function yt(){if(qr)return Xr;qr=1;var r=Or(),t=0,n=Math.random(),e=r(1.1.toString);return Xr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function ht(){if(Qr)return Jr;Qr=1;var r=b(),t=vt(),n=dt(),e=yt(),o=Rr(),i=Mr(),u=r.Symbol,f=t("wks"),c=i?u.for||u:u&&u.withoutSetter||e;return Jr=function(r){return n(f,r)||(f[r]=o&&n(u,r)?u[r]:c("Symbol."+r)),f[r]}}function gt(){if(rt)return Zr;rt=1;var r=L(),t=Ar(),n=Nr(),e=zr(),o=function(){if(br)return gr;br=1;var r=L(),t=Pr(),n=Ar(),e=TypeError;return gr=function(o,i){var u,f;if("string"===i&&t(u=o.toString)&&!n(f=r(u,o)))return f;if(t(u=o.valueOf)&&!n(f=r(u,o)))return f;if("string"!==i&&t(u=o.toString)&&!n(f=r(u,o)))return f;throw new e("Can't convert object to primitive value")}}(),i=ht(),u=TypeError,f=i("toPrimitive");return Zr=function(i,c){if(!t(i)||n(i))return i;var a,l=e(i,f);if(l){if(void 0===c&&(c="default"),a=r(l,i,c),!t(a)||n(a))return a;throw new u("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(i,c)}}function bt(){if(nt)return tt;nt=1;var r=gt(),t=Nr();return tt=function(n){var e=r(n,"string");return t(e)?e:e+""}}function mt(){if(ot)return et;ot=1;var r=b(),t=Ar(),n=r.document,e=t(n)&&t(n.createElement);return et=function(r){return e?n.createElement(r):{}}}function wt(){if(ut)return it;ut=1;var r=I(),t=A(),n=mt();return it=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Ot(){if(ft)return P;ft=1;var r=I(),t=L(),n=function(){if(R)return mr;R=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return mr.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,mr}(),e=wr(),o=Tr(),i=bt(),u=dt(),f=wt(),c=Object.getOwnPropertyDescriptor;return P.f=r?c:function(r,a){if(r=o(r),a=i(a),f)try{return c(r,a)}catch(r){}if(u(r,a))return e(!t(n.f,r,a),r[a])},P}var St,xt,jt,Et,Tt,Pt,At,It={};function kt(){if(xt)return St;xt=1;var r=I(),t=A();return St=r&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Lt(){if(Et)return jt;Et=1;var r=Ar(),t=String,n=TypeError;return jt=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function Rt(){if(Tt)return It;Tt=1;var r=I(),t=wt(),n=kt(),e=Lt(),o=bt(),i=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,c="enumerable",a="configurable",l="writable";return It.f=r?n?function(r,t,n){if(e(r),t=o(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var i=f(r,t);i&&i[l]&&(r[t]=n.value,n={configurable:a in n?n[a]:i[a],enumerable:c in n?n[c]:i[c],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=o(n),e(f),t)try{return u(r,n,f)}catch(r){}if("get"in f||"set"in f)throw new i("Accessors not supported");return"value"in f&&(r[n]=f.value),r},It}function Mt(){if(At)return Pt;At=1;var r=I(),t=Rt(),n=wr();return Pt=r?function(r,e,o){return t.f(r,e,n(1,o))}:function(r,t,n){return r[t]=n,r}}var Nt,Ct,_t,zt,Ft,Dt,Bt,Ht,Gt,$t,Vt,Wt,Ut,Yt,Kt,Xt={exports:{}};function qt(){if(Ct)return Nt;Ct=1;var r=I(),t=dt(),n=Function.prototype,e=r&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!r||r&&e(n,"name").configurable);return Nt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function Jt(){if(zt)return _t;zt=1;var r=Or(),t=Pr(),n=st(),e=r(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(r){return e(r)}),_t=n.inspectSource}function Qt(){if(Dt)return Ft;Dt=1;var r=b(),t=Pr(),n=r.WeakMap;return Ft=t(n)&&/native code/.test(String(n))}function Zt(){if(Ht)return Bt;Ht=1;var r=vt(),t=yt(),n=r("keys");return Bt=function(r){return n[r]||(n[r]=t(r))}}function rn(){return $t?Gt:($t=1,Gt={})}function tn(){if(Wt)return Vt;Wt=1;var r,t,n,e=Qt(),o=b(),i=Ar(),u=Mt(),f=dt(),c=st(),a=Zt(),l=rn(),s="Object already initialized",v=o.TypeError,p=o.WeakMap;if(e||c.state){var d=c.state||(c.state=new p);d.get=d.get,d.has=d.has,d.set=d.set,r=function(r,t){if(d.has(r))throw new v(s);return t.facade=r,d.set(r,t),t},t=function(r){return d.get(r)||{}},n=function(r){return d.has(r)}}else{var y=a("state");l[y]=!0,r=function(r,t){if(f(r,y))throw new v(s);return t.facade=r,u(r,y,t),t},t=function(r){return f(r,y)?r[y]:{}},n=function(r){return f(r,y)}}return Vt={set:r,get:t,has:n,enforce:function(e){return n(e)?t(e):r(e,{})},getterFor:function(r){return function(n){var e;if(!i(n)||(e=t(n)).type!==r)throw new v("Incompatible receiver, "+r+" required");return e}}}}function nn(){if(Ut)return Xt.exports;Ut=1;var r=Or(),t=A(),n=Pr(),e=dt(),o=I(),i=qt().CONFIGURABLE,u=Jt(),f=tn(),c=f.enforce,a=f.get,l=String,s=Object.defineProperty,v=r("".slice),p=r("".replace),d=r([].join),y=o&&!t(function(){return 8!==s(function(){},"length",{value:8}).length}),h=String(String).split("String"),g=Xt.exports=function(r,t,n){"Symbol("===v(l(t),0,7)&&(t="["+p(l(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!e(r,"name")||i&&r.name!==t)&&(o?s(r,"name",{value:t,configurable:!0}):r.name=t),y&&n&&e(n,"arity")&&r.length!==n.arity&&s(r,"length",{value:n.arity});try{n&&e(n,"constructor")&&n.constructor?o&&s(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var u=c(r);return e(u,"source")||(u.source=d(h,"string"==typeof t?t:"")),r};return Function.prototype.toString=g(function(){return n(this)&&a(this).source||u(this)},"toString"),Xt.exports}function en(){if(Kt)return Yt;Kt=1;var r=Pr(),t=Rt(),n=nn(),e=lt();return Yt=function(o,i,u,f){f||(f={});var c=f.enumerable,a=void 0!==f.name?f.name:i;if(r(u)&&n(u,a,f),f.global)c?o[i]=u:e(i,u);else{try{f.unsafe?o[i]&&(c=!0):delete o[i]}catch(r){}c?o[i]=u:t.f(o,i,{value:u,enumerable:!1,configurable:!f.nonConfigurable,writable:!f.nonWritable})}return o}}var on,un,fn,cn,an,ln,sn,vn,pn,dn,yn,hn,gn,bn,mn,wn,On,Sn={};function xn(){if(cn)return fn;cn=1;var r=function(){if(un)return on;un=1;var r=Math.ceil,t=Math.floor;return on=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}();return fn=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function jn(){if(vn)return sn;vn=1;var r=xn(),t=Math.min;return sn=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function En(){if(dn)return pn;dn=1;var r=jn();return pn=function(t){return r(t.length)}}function Tn(){if(hn)return yn;hn=1;var r=Tr(),t=function(){if(ln)return an;ln=1;var r=xn(),t=Math.max,n=Math.min;return an=function(e,o){var i=r(e);return i<0?t(i+o,0):n(i,o)}}(),n=En(),e=function(e){return function(o,i,u){var f=r(o),c=n(f);if(0===c)return!e&&-1;var a,l=t(u,c);if(e&&i!=i){for(;c>l;)if((a=f[l++])!=a)return!0}else for(;c>l;l++)if((e||l in f)&&f[l]===i)return e||l||0;return!e&&-1}};return yn={includes:e(!0),indexOf:e(!1)}}function Pn(){if(bn)return gn;bn=1;var r=Or(),t=dt(),n=Tr(),e=Tn().indexOf,o=rn(),i=r([].push);return gn=function(r,u){var f,c=n(r),a=0,l=[];for(f in c)!t(o,f)&&t(c,f)&&i(l,f);for(;u.length>a;)t(c,f=u[a++])&&(~e(l,f)||i(l,f));return l}}function An(){return wn?mn:(wn=1,mn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function In(){if(On)return Sn;On=1;var r=Pn(),t=An().concat("length","prototype");return Sn.f=Object.getOwnPropertyNames||function(n){return r(n,t)},Sn}var kn,Ln,Rn,Mn,Nn,Cn,_n,zn,Fn,Dn,Bn,Hn,Gn,$n,Vn,Wn,Un,Yn,Kn,Xn,qn,Jn,Qn,Zn,re,te,ne,ee,oe,ie,ue={};function fe(){if(Rn)return Ln;Rn=1;var r=Ir(),t=Or(),n=In(),e=(kn||(kn=1,ue.f=Object.getOwnPropertySymbols),ue),o=Lt(),i=t([].concat);return Ln=r("Reflect","ownKeys")||function(r){var t=n.f(o(r)),u=e.f;return u?i(t,u(r)):t}}function ce(){if(Nn)return Mn;Nn=1;var r=dt(),t=fe(),n=Ot(),e=Rt();return Mn=function(o,i,u){for(var f=t(i),c=e.f,a=n.f,l=0;l<f.length;l++){var s=f[l];r(o,s)||u&&r(u,s)||c(o,s,a(i,s))}}}function ae(){if(_n)return Cn;_n=1;var r=A(),t=Pr(),n=/#|\.prototype\./,e=function(n,e){var c=i[o(n)];return c===f||c!==u&&(t(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return Cn=e}function le(){if(Fn)return zn;Fn=1;var r=b(),t=Ot().f,n=Mt(),e=en(),o=lt(),i=ce(),u=ae();return zn=function(f,c){var a,l,s,v,p,d=f.target,y=f.global,h=f.stat;if(a=y?r:h?r[d]||o(d,{}):r[d]&&r[d].prototype)for(l in c){if(v=c[l],s=f.dontCallGetSet?(p=t(a,l))&&p.value:a[l],!u(y?l:d+(h?".":"#")+l,f.forced)&&void 0!==s){if(typeof v==typeof s)continue;i(v,s)}(f.sham||s&&s.sham)&&n(v,"sham",!0),e(a,l,v,f)}}}function se(){if(Bn)return Dn;Bn=1;var r=Sr();return Dn=Array.isArray||function(t){return"Array"===r(t)}}function ve(){if(Gn)return Hn;Gn=1;var r=TypeError;return Hn=function(t){if(t>9007199254740991)throw new r("Maximum allowed index exceeded");return t}}function pe(){if(Vn)return $n;Vn=1;var r=I(),t=Rt(),n=wr();return $n=function(e,o,i){r?t.f(e,o,n(0,i)):e[o]=i}}function de(){if(Kn)return Yn;Kn=1;var r={};return r[ht()("toStringTag")]="z",Yn="[object z]"===String(r)}function ye(){if(qn)return Xn;qn=1;var r=de(),t=Pr(),n=Sr(),e=ht()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Xn=r?n:function(r){var u,f,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(r){}}(u=o(r),e))?f:i?n(u):"Object"===(c=n(u))&&t(u.callee)?"Arguments":c}}function he(){if(Qn)return Jn;Qn=1;var r=Or(),t=A(),n=Pr(),e=ye(),o=Ir(),i=Jt(),u=function(){},f=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,a=r(c.exec),l=!c.test(u),s=function(r){if(!n(r))return!1;try{return f(u,[],r),!0}catch(r){return!1}},v=function(r){if(!n(r))return!1;switch(e(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!a(c,i(r))}catch(r){return!0}};return v.sham=!0,Jn=!f||t(function(){var r;return s(s.call)||!s(Object)||!s(function(){r=!0})||r})?v:s}function ge(){if(re)return Zn;re=1;var r=se(),t=he(),n=Ar(),e=ht()("species"),o=Array;return Zn=function(i){var u;return r(i)&&(u=i.constructor,(t(u)&&(u===o||r(u.prototype))||n(u)&&null===(u=u[e]))&&(u=void 0)),void 0===u?o:u}}function be(){if(ne)return te;ne=1;var r=ge();return te=function(t,n){return new(r(t))(0===n?0:n)}}function me(){if(oe)return ee;oe=1;var r=A(),t=ht(),n=Lr(),e=t("species");return ee=function(t){return n>=51||!r(function(){var r=[];return(r.constructor={})[e]=function(){return{foo:1}},1!==r[t](Boolean).foo})}}!function(){if(ie)return g;ie=1;var r=le(),t=A(),n=se(),e=Ar(),o=pt(),i=En(),u=ve(),f=pe(),c=function(){if(Un)return Wn;Un=1;var r=I(),t=se(),n=TypeError,e=Object.getOwnPropertyDescriptor,o=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();return Wn=o?function(r,o){if(t(r)&&!e(r,"length").writable)throw new n("Cannot set read only .length");return r.length=o}:function(r,t){return r.length=t}}(),a=be(),l=me(),s=ht(),v=Lr(),p=s("isConcatSpreadable"),d=v>=51||!t(function(){var r=[];return r[p]=!1,r.concat()[0]!==r}),y=function(r){if(!e(r))return!1;var t=r[p];return void 0!==t?!!t:n(r)};r({target:"Array",proto:!0,arity:1,forced:!d||!l("concat")},{concat:function(r){var t,n,e,l,s,v=o(this),p=a(v,0),d=0;for(t=-1,e=arguments.length;t<e;t++)if(y(s=-1===t?v:arguments[t]))for(l=i(s),u(d+l),n=0;n<l;n++,d++)n in s&&f(p,d,s[n]);else u(d+1),f(p,d++,s);return c(p,d),p}})}();var we=function(r,t){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},we(r,t)};function Oe(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=r}we(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function Se(r){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&r[t],e=0;if(n)return n.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&e>=r.length&&(r=void 0),{value:r&&r[e++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xe(r,t){var n="function"==typeof Symbol&&r[Symbol.iterator];if(!n)return r;var e,o,i=n.call(r),u=[];try{for(;(void 0===t||t-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(r){o={error:r}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function je(r,t,n){if(n||2===arguments.length)for(var e,o=0,i=t.length;o<i;o++)!e&&o in t||(e||(e=Array.prototype.slice.call(t,0,o)),e[o]=t[o]);return r.concat(e||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Ee,Te,Pe,Ae,Ie,ke,Le,Re,Me,Ne,Ce,_e,ze,Fe,De,Be,He,Ge,$e,Ve,We,Ue,Ye,Ke,Xe,qe,Je,Qe,Ze,ro,to,no,eo,oo,io,uo={};function fo(){if(Te)return Ee;Te=1;var r=Pn(),t=An();return Ee=Object.keys||function(n){return r(n,t)}}function co(){if(Ie)return Ae;Ie=1;var r=Ir();return Ae=r("document","documentElement")}function ao(){if(Le)return ke;Le=1;var r,t=Lt(),n=function(){if(Pe)return uo;Pe=1;var r=I(),t=kt(),n=Rt(),e=Lt(),o=Tr(),i=fo();return uo.f=r&&!t?Object.defineProperties:function(r,t){e(r);for(var u,f=o(t),c=i(t),a=c.length,l=0;a>l;)n.f(r,u=c[l++],f[u]);return r},uo}(),e=An(),o=rn(),i=co(),u=mt(),f=Zt(),c="prototype",a="script",l=f("IE_PROTO"),s=function(){},v=function(r){return"<"+a+">"+r+"</"+a+">"},p=function(r){r.write(v("")),r.close();var t=r.parentWindow.Object;return r=null,t},d=function(){try{r=new ActiveXObject("htmlfile")}catch(r){}var t,n,o;d="undefined"!=typeof document?document.domain&&r?p(r):(n=u("iframe"),o="java"+a+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):p(r);for(var f=e.length;f--;)delete d[c][e[f]];return d()};return o[l]=!0,ke=Object.create||function(r,e){var o;return null!==r?(s[c]=t(r),o=new s,s[c]=null,o[l]=r):o=d(),void 0===e?o:n.f(o,e)}}function lo(){if(Me)return Re;Me=1;var r=ht(),t=ao(),n=Rt().f,e=r("unscopables"),o=Array.prototype;return void 0===o[e]&&n(o,e,{configurable:!0,value:t(null)}),Re=function(r){o[e][r]=!0}}function so(){return Ce?Ne:(Ce=1,Ne={})}function vo(){if(De)return Fe;De=1;var r=dt(),t=Pr(),n=pt(),e=Zt(),o=function(){if(ze)return _e;ze=1;var r=A();return _e=!r(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})}(),i=e("IE_PROTO"),u=Object,f=u.prototype;return Fe=o?u.getPrototypeOf:function(e){var o=n(e);if(r(o,i))return o[i];var c=o.constructor;return t(c)&&o instanceof c?c.prototype:o instanceof u?f:null}}function po(){if(He)return Be;He=1;var r,t,n,e=A(),o=Pr(),i=Ar(),u=ao(),f=vo(),c=en(),a=ht(),l=at(),s=a("iterator"),v=!1;return[].keys&&("next"in(n=[].keys())?(t=f(f(n)))!==Object.prototype&&(r=t):v=!0),!i(r)||e(function(){var t={};return r[s].call(t)!==t})?r={}:l&&(r=u(r)),o(r[s])||c(r,s,function(){return this}),Be={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}}function yo(){if($e)return Ge;$e=1;var r=Rt().f,t=dt(),n=ht()("toStringTag");return Ge=function(e,o,i){e&&!i&&(e=e.prototype),e&&!t(e,n)&&r(e,n,{configurable:!0,value:o})}}function ho(){if(Xe)return Ke;Xe=1;var r=Ar();return Ke=function(t){return r(t)||null===t}}function go(){if(Je)return qe;Je=1;var r=ho(),t=String,n=TypeError;return qe=function(e){if(r(e))return e;throw new n("Can't set "+t(e)+" as a prototype")}}function bo(){if(Ze)return Qe;Ze=1;var r=function(){if(Ye)return Ue;Ye=1;var r=Or(),t=_r();return Ue=function(n,e,o){try{return r(t(Object.getOwnPropertyDescriptor(n,e)[o]))}catch(r){}}}(),t=Ar(),n=Er(),e=go();return Qe=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=r(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(r){}return function(r,u){return n(r),e(u),t(r)?(i?o(r,u):r.__proto__=u,r):r}}():void 0)}function mo(){if(to)return ro;to=1;var r=le(),t=L(),n=at(),e=qt(),o=Pr(),i=function(){if(We)return Ve;We=1;var r=po().IteratorPrototype,t=ao(),n=wr(),e=yo(),o=so(),i=function(){return this};return Ve=function(u,f,c,a){var l=f+" Iterator";return u.prototype=t(r,{next:n(+!a,c)}),e(u,l,!1,!0),o[l]=i,u}}(),u=vo(),f=bo(),c=yo(),a=Mt(),l=en(),s=ht(),v=so(),p=po(),d=e.PROPER,y=e.CONFIGURABLE,h=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,b=s("iterator"),m="keys",w="values",O="entries",S=function(){return this};return ro=function(e,s,p,x,j,E,T){i(p,s,x);var P,A,I,k=function(r){if(r===j&&C)return C;if(!g&&r&&r in M)return M[r];switch(r){case m:case w:case O:return function(){return new p(this,r)}}return function(){return new p(this)}},L=s+" Iterator",R=!1,M=e.prototype,N=M[b]||M["@@iterator"]||j&&M[j],C=!g&&N||k(j),_="Array"===s&&M.entries||N;if(_&&(P=u(_.call(new e)))!==Object.prototype&&P.next&&(n||u(P)===h||(f?f(P,h):o(P[b])||l(P,b,S)),c(P,L,!0,!0),n&&(v[L]=S)),d&&j===w&&N&&N.name!==w&&(!n&&y?a(M,"name",w):(R=!0,C=function(){return t(N,this)})),j)if(A={values:k(w),keys:E?C:k(m),entries:k(O)},T)for(I in A)(g||R||!(I in M))&&l(M,I,A[I]);else r({target:s,proto:!0,forced:g||R},A);return n&&!T||M[b]===C||l(M,b,C,{name:j}),v[s]=C,A}}function wo(){return eo?no:(eo=1,no=function(r,t){return{value:r,done:t}})}function Oo(){if(io)return oo;io=1;var r=Tr(),t=lo(),n=so(),e=tn(),o=Rt().f,i=mo(),u=wo(),f=at(),c=I(),a="Array Iterator",l=e.set,s=e.getterFor(a);oo=i(Array,"Array",function(t,n){l(this,{type:a,target:r(t),index:0,kind:n})},function(){var r=s(this),t=r.target,n=r.index++;if(!t||n>=t.length)return r.target=null,u(void 0,!0);switch(r.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)},"values");var v=n.Arguments=n.Array;if(t("keys"),t("values"),t("entries"),!f&&c&&"values"!==v.name)try{o(v,"name",{value:"values"})}catch(r){}return oo}Oo();var So,xo,jo,Eo={};!function(){if(jo)return Eo;jo=1;var r=de(),t=en(),n=function(){if(xo)return So;xo=1;var r=de(),t=ye();return So=r?{}.toString:function(){return"[object "+t(this)+"]"}}();r||t(Object.prototype,"toString",n,{unsafe:!0})}();var To,Po,Ao,Io,ko,Lo={};function Ro(){if(Po)return To;Po=1;var r=ye(),t=String;return To=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Mo(){if(Io)return Ao;Io=1;var r=Or(),t=xn(),n=Ro(),e=Er(),o=r("".charAt),i=r("".charCodeAt),u=r("".slice),f=function(r){return function(f,c){var a,l,s=n(e(f)),v=t(c),p=s.length;return v<0||v>=p?r?"":void 0:(a=i(s,v))<55296||a>56319||v+1===p||(l=i(s,v+1))<56320||l>57343?r?o(s,v):a:r?u(s,v,v+2):l-56320+(a-55296<<10)+65536}};return Ao={codeAt:f(!1),charAt:f(!0)}}!function(){if(ko)return Lo;ko=1;var r=Mo().charAt,t=Ro(),n=tn(),e=mo(),o=wo(),i="String Iterator",u=n.set,f=n.getterFor(i);e(String,"String",function(r){u(this,{type:i,string:t(r),index:0})},function(){var t,n=f(this),e=n.string,i=n.index;return i>=e.length?o(void 0,!0):(t=r(e,i),n.index+=t.length,o(t,!1))})}();var No,Co,_o,zo,Fo={};function Do(){if(Co)return No;Co=1;var r=A();return No=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Bo(){if(zo)return _o;zo=1;var r=en();return _o=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}}var Ho,Go,$o,Vo,Wo,Uo,Yo,Ko,Xo,qo,Jo,Qo,Zo,ri,ti,ni,ei,oi,ii,ui,fi,ci,ai,li,si,vi,pi,di,yi,hi,gi,bi,mi,wi,Oi,Si,xi={exports:{}},ji={};function Ei(){if(Go)return Ho;Go=1;var r=Or();return Ho=r([].slice)}function Ti(){if($o)return ji;$o=1;var r=Sr(),t=Tr(),n=In().f,e=Ei(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return ji.f=function(i){return o&&"Window"===r(i)?function(r){try{return n(r)}catch(r){return e(o)}}(i):n(t(i))},ji}function Pi(){if(Yo)return Uo;Yo=1;var r=A(),t=Ar(),n=Sr(),e=function(){if(Wo)return Vo;Wo=1;var r=A();return Vo=r(function(){if("function"==typeof ArrayBuffer){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})}(),o=Object.isExtensible,i=r(function(){});return Uo=i||e?function(r){return!!t(r)&&((!e||"ArrayBuffer"!==n(r))&&(!o||o(r)))}:o}function Ai(){if(Ko)return xi.exports;Ko=1;var r=le(),t=Or(),n=rn(),e=Ar(),o=dt(),i=Rt().f,u=In(),f=Ti(),c=Pi(),a=yt(),l=Do(),s=!1,v=a("meta"),p=0,d=function(r){i(r,v,{value:{objectID:"O"+p++,weakData:{}}})},y=xi.exports={enable:function(){y.enable=function(){},s=!0;var n=u.f,e=t([].splice),o={};o[v]=1,n(o).length&&(u.f=function(r){for(var t=n(r),o=0,i=t.length;o<i;o++)if(t[o]===v){e(t,o,1);break}return t},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(r,t){if(!e(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!o(r,v)){if(!c(r))return"F";if(!t)return"E";d(r)}return r[v].objectID},getWeakData:function(r,t){if(!o(r,v)){if(!c(r))return!0;if(!t)return!1;d(r)}return r[v].weakData},onFreeze:function(r){return l&&s&&c(r)&&!o(r,v)&&d(r),r}};return n[v]=!0,xi.exports}function Ii(){if(Qo)return Jo;Qo=1;var r=function(){if(qo)return Xo;qo=1;var r=Sr(),t=Or();return Xo=function(n){if("Function"===r(n))return t(n)}}(),t=_r(),n=k(),e=r(r.bind);return Jo=function(r,o){return t(r),void 0===o?r:n?e(r,o):function(){return r.apply(o,arguments)}},Jo}function ki(){if(ri)return Zo;ri=1;var r=ht(),t=so(),n=r("iterator"),e=Array.prototype;return Zo=function(r){return void 0!==r&&(t.Array===r||e[n]===r)}}function Li(){if(ni)return ti;ni=1;var r=ye(),t=zr(),n=jr(),e=so(),o=ht()("iterator");return ti=function(i){if(!n(i))return t(i,o)||t(i,"@@iterator")||e[r(i)]}}function Ri(){if(oi)return ei;oi=1;var r=L(),t=_r(),n=Lt(),e=Cr(),o=Li(),i=TypeError;return ei=function(u,f){var c=arguments.length<2?o(u):f;if(t(c))return n(r(c,u));throw new i(e(u)+" is not iterable")},ei}function Mi(){if(ui)return ii;ui=1;var r=L(),t=Lt(),n=zr();return ii=function(e,o,i){var u,f;t(e);try{if(!(u=n(e,"return"))){if("throw"===o)throw i;return i}u=r(u,e)}catch(r){f=!0,u=r}if("throw"===o)throw i;if(f)throw u;return t(u),i}}function Ni(){if(ci)return fi;ci=1;var r=Ii(),t=L(),n=Lt(),e=Cr(),o=ki(),i=En(),u=kr(),f=Ri(),c=Li(),a=Mi(),l=TypeError,s=function(r,t){this.stopped=r,this.result=t},v=s.prototype;return fi=function(p,d,y){var h,g,b,m,w,O,S,x=y&&y.that,j=!(!y||!y.AS_ENTRIES),E=!(!y||!y.IS_RECORD),T=!(!y||!y.IS_ITERATOR),P=!(!y||!y.INTERRUPTED),A=r(d,x),I=function(r){var t=h;return h=void 0,t&&a(t,"normal"),new s(!0,r)},k=function(r){return j?(n(r),P?A(r[0],r[1],I):A(r[0],r[1])):P?A(r,I):A(r)};if(E)h=p.iterator;else if(T)h=p;else{if(!(g=c(p)))throw new l(e(p)+" is not iterable");if(o(g)){for(b=0,m=i(p);m>b;b++)if((w=k(p[b]))&&u(v,w))return w;return new s(!1)}h=f(p,g)}for(O=E?p.next:h.next;!(S=t(O,h)).done;){var L=S.value;try{w=k(L)}catch(r){if(!h)throw r;a(h,"throw",r)}if("object"==typeof w&&w&&u(v,w))return w}return new s(!1)}}function Ci(){if(li)return ai;li=1;var r=kr(),t=TypeError;return ai=function(n,e){if(r(e,n))return n;throw new t("Incorrect invocation")}}function _i(){if(vi)return si;vi=1;var r=ht()("iterator"),t=!1;try{var n=0,e={next:function(){return{done:!!n++}},return:function(){t=!0}};e[r]=function(){return this},Array.from(e,function(){throw 2})}catch(r){}return si=function(n,e){try{if(!e&&!t)return!1}catch(r){return!1}var o=!1;try{var i={};i[r]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(r){}return o}}function zi(){if(di)return pi;di=1;var r=Pr(),t=Ar(),n=bo();return pi=function(e,o,i){var u,f;return n&&r(u=o.constructor)&&u!==i&&t(f=u.prototype)&&f!==i.prototype&&n(e,f),e}}function Fi(){if(hi)return yi;hi=1;var r=le(),t=b(),n=Or(),e=ae(),o=en(),i=Ai(),u=Ni(),f=Ci(),c=Pr(),a=jr(),l=Ar(),s=A(),v=_i(),p=yo(),d=zi();return yi=function(y,h,g){var b=-1!==y.indexOf("Map"),m=-1!==y.indexOf("Weak"),w=b?"set":"add",O=t[y],S=O&&O.prototype,x=O,j={},E=function(r){var t=n(S[r]);o(S,r,"add"===r?function(r){return t(this,0===r?0:r),this}:"delete"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:"get"===r?function(r){return m&&!l(r)?void 0:t(this,0===r?0:r)}:"has"===r?function(r){return!(m&&!l(r))&&t(this,0===r?0:r)}:function(r,n){return t(this,0===r?0:r,n),this})};if(e(y,!c(O)||!(m||S.forEach&&!s(function(){(new O).entries().next()}))))x=g.getConstructor(h,y,b,w),i.enable();else if(e(y,!0)){var T=new x,P=T[w](m?{}:-0,1)!==T,A=s(function(){T.has(1)}),I=v(function(r){new O(r)}),k=!m&&s(function(){for(var r=new O,t=5;t--;)r[w](t,t);return!r.has(-0)});I||((x=h(function(r,t){f(r,S);var n=d(new O,r,x);return a(t)||u(t,n[w],{that:n,AS_ENTRIES:b}),n})).prototype=S,S.constructor=x),(A||k)&&(E("delete"),E("has"),b&&E("get")),(k||P)&&E(w),m&&S.clear&&delete S.clear}return j[y]=x,r({global:!0,constructor:!0,forced:x!==O},j),p(x,y),m||g.setStrong(x,y,b),x}}function Di(){if(bi)return gi;bi=1;var r=Ii(),t=xr(),n=pt(),e=En(),o=be(),i=pe(),u=function(u){var f=1===u,c=2===u,a=3===u,l=4===u,s=6===u,v=7===u,p=5===u||s;return function(d,y,h){for(var g,b,m=n(d),w=t(m),O=e(w),S=r(y,h),x=0,j=0,E=f?o(d,O):c||v?o(d,0):void 0;O>x;x++)if((p||x in w)&&(b=S(g=w[x],x,m),u))if(f)i(E,x,b);else if(b)switch(u){case 3:return!0;case 5:return g;case 6:return x;case 2:i(E,j++,g)}else switch(u){case 4:return!1;case 7:i(E,j++,g)}return s?-1:a||l?l:E}};return gi={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}}function Bi(){if(wi)return mi;wi=1;var r=Or(),t=Bo(),n=Ai().getWeakData,e=Ci(),o=Lt(),i=jr(),u=Ar(),f=Ni(),c=Di(),a=dt(),l=tn(),s=l.set,v=l.getterFor,p=c.find,d=c.findIndex,y=r([].splice),h=0,g=function(r){return r.frozen||(r.frozen=new b)},b=function(){this.entries=[]},m=function(r,t){return p(r.entries,function(r){return r[0]===t})};return b.prototype={get:function(r){var t=m(this,r);if(t)return t[1]},has:function(r){return!!m(this,r)},set:function(r,t){var n=m(this,r);n?n[1]=t:this.entries.push([r,t])},delete:function(r){var t=d(this.entries,function(t){return t[0]===r});return~t&&y(this.entries,t,1),!!~t}},mi={getConstructor:function(r,c,l,p){var d=r(function(r,t){e(r,y),s(r,{type:c,id:h++,frozen:null}),i(t)||f(t,r[p],{that:r,AS_ENTRIES:l})}),y=d.prototype,b=v(c),m=function(r,t,e){var i=b(r),u=n(o(t),!0);return!0===u?g(i).set(t,e):u[i.id]=e,r};return t(y,{delete:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?g(t).delete(r):e&&a(e,t.id)&&delete e[t.id]},has:function(r){var t=b(this);if(!u(r))return!1;var e=n(r);return!0===e?g(t).has(r):e&&a(e,t.id)}}),t(y,l?{get:function(r){var t=b(this);if(u(r)){var e=n(r);if(!0===e)return g(t).get(r);if(e)return e[t.id]}},set:function(r,t){return m(this,r,t)}}:{add:function(r){return m(this,r,!0)}}),d}}}Si||(Si=1,function(){if(Oi)return Fo;Oi=1;var r,t=Do(),n=b(),e=Or(),o=Bo(),i=Ai(),u=Fi(),f=Bi(),c=Ar(),a=tn().enforce,l=A(),s=Qt(),v=Object,p=Array.isArray,d=v.isExtensible,y=v.isFrozen,h=v.isSealed,g=v.freeze,m=v.seal,w=!n.ActiveXObject&&"ActiveXObject"in n,O=function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},S=u("WeakMap",O,f),x=S.prototype,j=e(x.set);if(s)if(w){r=f.getConstructor(O,"WeakMap",!0),i.enable();var E=e(x.delete),T=e(x.has),P=e(x.get);o(x,{delete:function(t){if(c(t)&&!d(t)){var n=a(this);return n.frozen||(n.frozen=new r),E(this,t)||n.frozen.delete(t)}return E(this,t)},has:function(t){if(c(t)&&!d(t)){var n=a(this);return n.frozen||(n.frozen=new r),T(this,t)||n.frozen.has(t)}return T(this,t)},get:function(t){if(c(t)&&!d(t)){var n=a(this);return n.frozen||(n.frozen=new r),T(this,t)?P(this,t):n.frozen.get(t)}return P(this,t)},set:function(t,n){if(c(t)&&!d(t)){var e=a(this);e.frozen||(e.frozen=new r),T(this,t)?j(this,t,n):e.frozen.set(t,n)}else j(this,t,n);return this}})}else t&&l(function(){var r=g([]);return j(new S,r,1),!y(r)})&&o(x,{set:function(r,t){var n;return p(r)&&(y(r)?n=g:h(r)&&(n=m)),j(this,r,t),n&&n(r),this}})}());var Hi,Gi,$i,Vi,Wi,Ui={};!function(){if(Wi)return Ui;Wi=1;var r=b(),t=Gi?Hi:(Gi=1,Hi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),n=function(){if(Vi)return $i;Vi=1;var r=mt()("span").classList,t=r&&r.constructor&&r.constructor.prototype;return $i=t===Object.prototype?void 0:t}(),e=Oo(),o=Mt(),i=yo(),u=ht()("iterator"),f=e.values,c=function(r,n){if(r){if(r[u]!==f)try{o(r,u,f)}catch(t){r[u]=f}if(i(r,n,!0),t[n])for(var c in e)if(r[c]!==e[c])try{o(r,c,e[c])}catch(t){r[c]=e[c]}}};for(var a in t)c(r[a]&&r[a].prototype,a);c(n,"DOMTokenList")}();var Yi=new WeakMap;function Ki(r){var t,n=r.children||[],o=n.length;if(0===o)return"";for(var i=0;i<o&&!t;i+=1){var u=n[i];e.isText(u)&&(t=u)}return null==t?"":t.color||""}function Xi(r,n,e){for(var u=n.type,f=function(r,t){var n={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0&&(n[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(r);o<e.length;o++)t.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(r,e[o])&&(n[e[o]]=r[e[o]])}return n}(n,["type"]),c=void 0!==e?e:f.level||0,a=t.findPath(r,n);;){if(0===a.length||0===a[a.length-1])return null;a=o.previous(a);var l=i.node(r,a);if(!l)return null;var s=xe(l,1)[0],v=s.level,p=void 0===v?0:v;if(t.getNodeType(s)!==u)return null;if(p===c)return s}}function qi(r,t,n){var e=Xi(r,t,n);return!!e&&e.ordered===t.ordered}var Ji=[];var Qi,Zi,ru,tu,nu,eu,ou,iu,uu={type:"list-item",elemToHtml:function(r,n){var e="",u="",f=r.ordered,c=void 0!==f&&f?"ol":"ul",a=function(r){var n=Yi.get(r);if(null==n)return 0;var e=r,u=e.type,f=e.ordered,c=void 0!==f&&f,a=e.level,l=void 0===a?0:a,s=t.findPath(n,r);if(0===s[0])return l+1;var v=o.previous(s),p=i.node(n,v);if(!p)return 0;var d=xe(p,1)[0];if(t.getNodeType(d)!==u)return l+1;var y=d,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?l-m:m>l?qi(n,r)?0:1:m===l?g===c?0:1:0}(r);if(a>0)for(var l=0;l<a;l+=1)e+="<".concat(c,">"),Ji.push(c);var s=function(r){var n=Yi.get(r);if(null==n)return 0;var e=r,u=e.type,f=e.ordered,c=void 0!==f&&f,a=e.level,l=void 0===a?0:a,s=t.findPath(n,r);if(s[0]===n.children.length-1)return l+1;var v=o.next(s),p=i.node(n,v);if(!p)return 0;var d=xe(p,1)[0];if(t.getNodeType(d)!==u)return l+1;var y=d,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?qi(n,d)?l-m:l-m+1:m>l?0:m===l?g===c?0:1:0}(r);if(s>0)for(l=0;l<s;l+=1){var v=Ji.pop();u+="</".concat(v,">")}var p=Ki(r),d=p?' style="color:'.concat(p,'"'):"";return{html:"<li".concat(d,">").concat(n,"</li>"),prefix:e,suffix:u}}};function fu(){return Zi?Qi:(Zi=1,Qi=function(r){try{return!!r()}catch(r){return!0}})}function cu(){return tu?ru:(tu=1,ru=!fu()(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))}function au(){if(eu)return nu;eu=1;var r=cu(),t=Function.prototype,n=t.call,e=r&&t.bind.bind(n,n);return nu=r?e:function(r){return function(){return n.apply(r,arguments)}},nu}function lu(){return iu?ou:(iu=1,ou=au()({}.isPrototypeOf))}var su,vu,pu,du,yu,hu,gu,bu,mu,wu,Ou={};function Su(){if(vu)return su;vu=1;var r=function(r){return r&&r.Math===Math&&r};return su=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof p&&p)||r("object"==typeof su&&su)||function(){return this}()||Function("return this")()}function xu(){if(du)return pu;du=1;var r=cu(),t=Function.prototype,n=t.apply,e=t.call;return pu="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),pu}function ju(){if(hu)return yu;hu=1;var r=au(),t=r({}.toString),n=r("".slice);return yu=function(r){return n(t(r),8,-1)}}function Eu(){if(bu)return gu;bu=1;var r=ju(),t=au();return gu=function(n){if("Function"===r(n))return t(n)}}function Tu(){if(wu)return mu;wu=1;var r="object"==typeof document&&document.all;return mu=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(r){return"function"==typeof r}}var Pu,Au,Iu,ku,Lu={};function Ru(){return Au?Pu:(Au=1,Pu=!fu()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function Mu(){if(ku)return Iu;ku=1;var r=cu(),t=Function.prototype.call;return Iu=r?t.bind(t):function(){return t.apply(t,arguments)},Iu}var Nu,Cu,_u,zu,Fu,Du,Bu,Hu,Gu,$u,Vu,Wu,Uu,Yu,Ku,Xu,qu,Ju,Qu,Zu,rf,tf,nf,ef,of,uf,ff,cf,af,lf,sf,vf,pf,df,yf,hf={};function gf(){if(Nu)return hf;Nu=1;var r={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!r.call({1:2},1);return hf.f=n?function(r){var n=t(this,r);return!!n&&n.enumerable}:r,hf}function bf(){return _u?Cu:(_u=1,Cu=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}})}function mf(){if(Fu)return zu;Fu=1;var r=au(),t=fu(),n=ju(),e=Object,o=r("".split);return zu=t(function(){return!e("z").propertyIsEnumerable(0)})?function(r){return"String"===n(r)?o(r,""):e(r)}:e}function wf(){return Bu?Du:(Bu=1,Du=function(r){return null==r})}function Of(){if(Gu)return Hu;Gu=1;var r=wf(),t=TypeError;return Hu=function(n){if(r(n))throw new t("Can't call method on "+n);return n}}function Sf(){if(Vu)return $u;Vu=1;var r=mf(),t=Of();return $u=function(n){return r(t(n))}}function xf(){if(Uu)return Wu;Uu=1;var r=Tu();return Wu=function(t){return"object"==typeof t?null!==t:r(t)}}function jf(){return Ku?Yu:(Ku=1,Yu={})}function Ef(){if(qu)return Xu;qu=1;var r=jf(),t=Su(),n=Tu(),e=function(r){return n(r)?r:void 0};return Xu=function(n,o){return arguments.length<2?e(r[n])||e(t[n]):r[n]&&r[n][o]||t[n]&&t[n][o]},Xu}function Tf(){if(Qu)return Ju;Qu=1;var r=Su().navigator,t=r&&r.userAgent;return Ju=t?String(t):""}function Pf(){if(rf)return Zu;rf=1;var r,t,n=Su(),e=Tf(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,f=u&&u.v8;return f&&(t=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!t&&e&&(!(r=e.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=e.match(/Chrome\/(\d+)/))&&(t=+r[1]),Zu=t}function Af(){if(nf)return tf;nf=1;var r=Pf(),t=fu(),n=Su().String;return tf=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})}function If(){return of?ef:(of=1,ef=Af()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function kf(){if(ff)return uf;ff=1;var r=Ef(),t=Tu(),n=lu(),e=Object;return uf=If()?function(r){return"symbol"==typeof r}:function(o){var i=r("Symbol");return t(i)&&n(i.prototype,e(o))}}function Lf(){if(af)return cf;af=1;var r=String;return cf=function(t){try{return r(t)}catch(r){return"Object"}}}function Rf(){if(sf)return lf;sf=1;var r=Tu(),t=Lf(),n=TypeError;return lf=function(e){if(r(e))return e;throw new n(t(e)+" is not a function")}}function Mf(){if(pf)return vf;pf=1;var r=Rf(),t=wf();return vf=function(n,e){var o=n[e];return t(o)?void 0:r(o)}}function Nf(){if(yf)return df;yf=1;var r=Mu(),t=Tu(),n=xf(),e=TypeError;return df=function(o,i){var u,f;if("string"===i&&t(u=o.toString)&&!n(f=r(u,o)))return f;if(t(u=o.valueOf)&&!n(f=r(u,o)))return f;if("string"!==i&&t(u=o.toString)&&!n(f=r(u,o)))return f;throw new e("Can't convert object to primitive value")}}var Cf,_f,zf,Ff,Df,Bf,Hf,Gf,$f,Vf,Wf,Uf,Yf,Kf,Xf,qf,Jf,Qf,Zf,rc,tc,nc,ec,oc,ic,uc,fc,cc,ac={exports:{}};function lc(){return _f?Cf:(_f=1,Cf=!0)}function sc(){if(Ff)return zf;Ff=1;var r=Su(),t=Object.defineProperty;return zf=function(n,e){try{t(r,n,{value:e,configurable:!0,writable:!0})}catch(t){r[n]=e}return e}}function vc(){if(Df)return ac.exports;Df=1;var r=lc(),t=Su(),n=sc(),e="__core-js_shared__",o=ac.exports=t[e]||n(e,{});return(o.versions||(o.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ac.exports}function pc(){if(Hf)return Bf;Hf=1;var r=vc();return Bf=function(t,n){return r[t]||(r[t]=n||{})}}function dc(){if($f)return Gf;$f=1;var r=Of(),t=Object;return Gf=function(n){return t(r(n))}}function yc(){if(Wf)return Vf;Wf=1;var r=au(),t=dc(),n=r({}.hasOwnProperty);return Vf=Object.hasOwn||function(r,e){return n(t(r),e)}}function hc(){if(Yf)return Uf;Yf=1;var r=au(),t=0,n=Math.random(),e=r(1.1.toString);return Uf=function(r){return"Symbol("+(void 0===r?"":r)+")_"+e(++t+n,36)}}function gc(){if(Xf)return Kf;Xf=1;var r=Su(),t=pc(),n=yc(),e=hc(),o=Af(),i=If(),u=r.Symbol,f=t("wks"),c=i?u.for||u:u&&u.withoutSetter||e;return Kf=function(r){return n(f,r)||(f[r]=o&&n(u,r)?u[r]:c("Symbol."+r)),f[r]}}function bc(){if(Jf)return qf;Jf=1;var r=Mu(),t=xf(),n=kf(),e=Mf(),o=Nf(),i=TypeError,u=gc()("toPrimitive");return qf=function(f,c){if(!t(f)||n(f))return f;var a,l=e(f,u);if(l){if(void 0===c&&(c="default"),a=r(l,f,c),!t(a)||n(a))return a;throw new i("Can't convert object to primitive value")}return void 0===c&&(c="number"),o(f,c)}}function mc(){if(Zf)return Qf;Zf=1;var r=bc(),t=kf();return Qf=function(n){var e=r(n,"string");return t(e)?e:e+""}}function wc(){if(tc)return rc;tc=1;var r=Su(),t=xf(),n=r.document,e=t(n)&&t(n.createElement);return rc=function(r){return e?n.createElement(r):{}}}function Oc(){if(ec)return nc;ec=1;var r=Ru(),t=fu(),n=wc();return nc=!r&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Sc(){if(oc)return Lu;oc=1;var r=Ru(),t=Mu(),n=gf(),e=bf(),o=Sf(),i=mc(),u=yc(),f=Oc(),c=Object.getOwnPropertyDescriptor;return Lu.f=r?c:function(r,a){if(r=o(r),a=i(a),f)try{return c(r,a)}catch(r){}if(u(r,a))return e(!t(n.f,r,a),r[a])},Lu}function xc(){if(uc)return ic;uc=1;var r=fu(),t=Tu(),n=/#|\.prototype\./,e=function(n,e){var c=i[o(n)];return c===f||c!==u&&(t(e)?r(e):!!e)},o=e.normalize=function(r){return String(r).replace(n,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";return ic=e}function jc(){if(cc)return fc;cc=1;var r=Eu(),t=Rf(),n=cu(),e=r(r.bind);return fc=function(r,o){return t(r),void 0===o?r:n?e(r,o):function(){return r.apply(o,arguments)}},fc}var Ec,Tc,Pc,Ac,Ic,kc,Lc,Rc,Mc,Nc,Cc,_c,zc,Fc,Dc,Bc,Hc,Gc,$c,Vc,Wc,Uc,Yc,Kc,Xc,qc,Jc,Qc,Zc={};function ra(){return Tc?Ec:(Tc=1,Ec=Ru()&&fu()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function ta(){if(Ac)return Pc;Ac=1;var r=xf(),t=String,n=TypeError;return Pc=function(e){if(r(e))return e;throw new n(t(e)+" is not an object")}}function na(){if(Ic)return Zc;Ic=1;var r=Ru(),t=Oc(),n=ra(),e=ta(),o=mc(),i=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,c="enumerable",a="configurable",l="writable";return Zc.f=r?n?function(r,t,n){if(e(r),t=o(t),e(n),"function"==typeof r&&"prototype"===t&&"value"in n&&l in n&&!n[l]){var i=f(r,t);i&&i[l]&&(r[t]=n.value,n={configurable:a in n?n[a]:i[a],enumerable:c in n?n[c]:i[c],writable:!1})}return u(r,t,n)}:u:function(r,n,f){if(e(r),n=o(n),e(f),t)try{return u(r,n,f)}catch(r){}if("get"in f||"set"in f)throw new i("Accessors not supported");return"value"in f&&(r[n]=f.value),r},Zc}function ea(){if(Lc)return kc;Lc=1;var r=Ru(),t=na(),n=bf();return kc=r?function(r,e,o){return t.f(r,e,n(1,o))}:function(r,t,n){return r[t]=n,r}}function oa(){if(Mc)return Rc;Mc=1;var r=Su(),t=xu(),n=Eu(),e=Tu(),o=Sc().f,i=xc(),u=jf(),f=jc(),c=ea(),a=yc(),l=function(r){var n=function(e,o,i){if(this instanceof n){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,o)}return new r(e,o,i)}return t(r,this,arguments)};return n.prototype=r.prototype,n};return Rc=function(t,s){var v,p,d,y,h,g,b,m,w,O=t.target,S=t.global,x=t.stat,j=t.proto,E=S?r:x?r[O]:r[O]&&r[O].prototype,T=S?u:u[O]||c(u,O,{})[O],P=T.prototype;for(y in s)p=!(v=i(S?y:O+(x?".":"#")+y,t.forced))&&E&&a(E,y),g=T[y],p&&(b=t.dontCallGetSet?(w=o(E,y))&&w.value:E[y]),h=p&&b?b:s[y],(v||j||typeof g!=typeof h)&&(m=t.bind&&p?f(h,r):t.wrap&&p?l(h):j&&e(h)?n(h):h,(t.sham||h&&h.sham||g&&g.sham)&&c(m,"sham",!0),c(T,y,m),j&&(a(u,d=O+"Prototype")||c(u,d,{}),c(u[d],y,h),t.real&&P&&(v||!P[y])&&c(P,y,h)))}}function ia(){if(Cc)return Nc;Cc=1;var r=Math.ceil,t=Math.floor;return Nc=Math.trunc||function(n){var e=+n;return(e>0?t:r)(e)}}function ua(){if(zc)return _c;zc=1;var r=ia();return _c=function(t){var n=+t;return n!=n||0===n?0:r(n)}}function fa(){if(Dc)return Fc;Dc=1;var r=ua(),t=Math.max,n=Math.min;return Fc=function(e,o){var i=r(e);return i<0?t(i+o,0):n(i,o)}}function ca(){if(Hc)return Bc;Hc=1;var r=ua(),t=Math.min;return Bc=function(n){var e=r(n);return e>0?t(e,9007199254740991):0}}function aa(){if($c)return Gc;$c=1;var r=ca();return Gc=function(t){return r(t.length)}}function la(){if(Wc)return Vc;Wc=1;var r=Sf(),t=fa(),n=aa(),e=function(e){return function(o,i,u){var f=r(o),c=n(f);if(0===c)return!e&&-1;var a,l=t(u,c);if(e&&i!=i){for(;c>l;)if((a=f[l++])!=a)return!0}else for(;c>l;l++)if((e||l in f)&&f[l]===i)return e||l||0;return!e&&-1}};return Vc={includes:e(!0),indexOf:e(!1)}}function sa(){return Yc?Uc:(Yc=1,Uc=function(){})}function va(){if(qc)return Xc;qc=1;var r=Su(),t=jf();return Xc=function(n,e){var o=t[n+"Prototype"],i=o&&o[e];if(i)return i;var u=r[n],f=u&&u.prototype;return f&&f[e]}}function pa(){return Qc?Jc:(Qc=1,function(){if(Kc)return Ou;Kc=1;var r=oa(),t=la().includes,n=fu(),e=sa(),o=n(function(){return!Array(1).includes()}),i=n(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:o||i},{includes:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}}),e("includes")}(),Jc=va()("Array","includes"))}var da,ya,ha,ga,ba,ma,wa,Oa,Sa,xa,ja,Ea,Ta,Pa,Aa,Ia,ka,La,Ra,Ma,Na,Ca={};function _a(){if(ya)return da;ya=1;var r=xf(),t=ju(),n=gc()("match");return da=function(e){var o;return r(e)&&(void 0!==(o=e[n])?!!o:"RegExp"===t(e))}}function za(){if(ga)return ha;ga=1;var r=_a(),t=TypeError;return ha=function(n){if(r(n))throw new t("The method doesn't accept regular expressions");return n}}function Fa(){if(ma)return ba;ma=1;var r={};return r[gc()("toStringTag")]="z",ba="[object z]"===String(r)}function Da(){if(Oa)return wa;Oa=1;var r=Fa(),t=Tu(),n=ju(),e=gc()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return wa=r?n:function(r){var u,f,c;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(f=function(r,t){try{return r[t]}catch(r){}}(u=o(r),e))?f:i?n(u):"Object"===(c=n(u))&&t(u.callee)?"Arguments":c}}function Ba(){if(xa)return Sa;xa=1;var r=Da(),t=String;return Sa=function(n){if("Symbol"===r(n))throw new TypeError("Cannot convert a Symbol value to a string");return t(n)}}function Ha(){if(Ea)return ja;Ea=1;var r=gc()("match");return ja=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(r){}}return!1}}function Ga(){return Aa?Pa:(Aa=1,function(){if(Ta)return Ca;Ta=1;var r=oa(),t=au(),n=za(),e=Of(),o=Ba(),i=Ha(),u=t("".indexOf);r({target:"String",proto:!0,forced:!i("includes")},{includes:function(r){return!!~u(o(e(this)),o(n(r)),arguments.length>1?arguments[1]:void 0)}})}(),Pa=va()("String","includes"))}function $a(){if(ka)return Ia;ka=1;var r=lu(),t=pa(),n=Ga(),e=Array.prototype,o=String.prototype;return Ia=function(i){var u=i.includes;return i===e||r(e,i)&&u===e.includes?t:"string"==typeof i||i===o||r(o,i)&&u===o.includes?n:u}}function Va(){return Ra?La:(Ra=1,La=$a())}var Wa,Ua,Ya,Ka,Xa,qa,Ja,Qa,Za,rl,tl,nl=d(Na?Ma:(Na=1,Ma=Va())),el={};function ol(){if(Ua)return Wa;Ua=1;var r=Lt();return Wa=function(){var t=r(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}}function il(){if(rl)return Za;rl=1;var r,t,n=L(),e=Or(),o=Ro(),i=ol(),u=function(){if(Ka)return Ya;Ka=1;var r=A(),t=b().RegExp,n=r(function(){var r=t("a","y");return r.lastIndex=2,null!==r.exec("abcd")}),e=n||r(function(){return!t("a","y").sticky}),o=n||r(function(){var r=t("^r","gy");return r.lastIndex=2,null!==r.exec("str")});return Ya={BROKEN_CARET:o,MISSED_STICKY:e,UNSUPPORTED_Y:n}}(),f=vt(),c=ao(),a=tn().get,l=function(){if(qa)return Xa;qa=1;var r=A(),t=b().RegExp;return Xa=r(function(){var r=t(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)})}(),s=function(){if(Qa)return Ja;Qa=1;var r=A(),t=b().RegExp;return Ja=r(function(){var r=t("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})}(),v=f("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,d=p,y=e("".charAt),h=e("".indexOf),g=e("".replace),m=e("".slice),w=(t=/b*/g,n(p,r=/a/,"a"),n(p,t,"a"),0!==r.lastIndex||0!==t.lastIndex),O=u.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],x=function(r,t){for(var n=r.groups=c(null),e=0;e<t.length;e++){var o=t[e];n[o[0]]=r[o[1]]}};return(w||S||O||l||s)&&(d=function(r){var t,e,u,f=this,c=a(f),l=o(r),s=c.raw;if(s)return s.lastIndex=f.lastIndex,t=n(d,s,l),f.lastIndex=s.lastIndex,t&&c.groups&&x(t,c.groups),t;var b=c.groups,j=O&&f.sticky,E=n(i,f),T=f.source,P=0,A=l;if(j){E=g(E,"y",""),-1===h(E,"g")&&(E+="g"),A=m(l,f.lastIndex);var I=f.lastIndex>0&&y(l,f.lastIndex-1);f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==I&&"\r"!==I&&"\u2028"!==I&&"\u2029"!==I)&&(T="(?: (?:"+T+"))",A=" "+A,P++),e=new RegExp("^(?:"+T+")",E)}S&&(e=new RegExp("^"+T+"$(?!\\s)",E)),w&&(u=f.lastIndex);var k=n(p,j?e:f,A);return j?k?(k.input=l,k[0]=m(k[0],P),k.index=f.lastIndex,f.lastIndex+=k[0].length):f.lastIndex=0:w&&k&&(f.lastIndex=f.global?k.index+k[0].length:u),S&&k&&k.length>1&&n(v,k[0],e,function(){for(var r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(k[r]=void 0)}),k&&b&&x(k,b),k}),Za=d}function ul(){if(tl)return el;tl=1;var r=le(),t=il();return r({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),el}ul();var fl,cl=function(){function r(){this.type="list-item",this.tag="button"}return r.prototype.getListNode=function(r){var n=this.type;return t.getSelectedNodeByType(r,n)},r.prototype.getValue=function(r){return""},r.prototype.isActive=function(r){var t=this.getListNode(r);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},r.prototype.isDisabled=function(r){return null==r.selection||!!t.getSelectedElems(r).some(function(t){var n;if(i.isVoid(r,t)&&i.isBlock(r,t))return!0;var e=t.type;return!!nl(n=["pre","code","table"]).call(n,e)})},r.prototype.exec=function(r,t){this.isActive(r)?u.setNodes(r,{type:"paragraph",ordered:void 0,level:void 0}):u.setNodes(r,{type:"list-item",ordered:this.ordered,indent:void 0})},r}(),al=function(r){function t(){var t=r.apply(this,je([],xe(arguments),!1))||this;return t.ordered=!1,t.title=n("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return Oe(t,r),t}(cl),ll=function(r){function t(){var t=r.apply(this,je([],xe(arguments),!1))||this;return t.ordered=!0,t.title=n("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return Oe(t,r),t}(cl),sl={key:"bulletedList",factory:function(){return new al}},vl={key:"numberedList",factory:function(){return new ll}},pl={};!function(){if(fl)return pl;fl=1;var r=le(),t=Di().filter;r({target:"Array",proto:!0,forced:!me()("filter")},{filter:function(r){return t(this,r,arguments.length>1?arguments[1]:void 0)}})}();var dl,yl,hl,gl={};!function(){if(hl)return gl;hl=1;var r=le(),t=function(){if(yl)return dl;yl=1;var r=se(),t=En(),n=ve(),e=Ii(),o=pe(),i=function(u,f,c,a,l,s,v,p){for(var d,y,h=l,g=0,b=!!v&&e(v,p);g<a;)g in c&&(d=b?b(c[g],g,f):c[g],s>0&&r(d)?(y=t(d),h=i(u,f,d,y,h,s-1)-1):(n(h+1),o(u,h,d)),h++),g++;return h};return dl=i}(),n=pt(),e=En(),o=xn(),i=be();r({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,u=n(this),f=e(u),c=void 0===r?1:o(r),a=i(u,0);return t(a,u,u,f,0,c),a}})}();var bl;bl||(bl=1,lo()("flat"));var ml,wl,Ol,Sl,xl,jl,El,Tl,Pl,Al,Il,kl,Ll,Rl,Ml,Nl={};function Cl(){if(jl)return xl;jl=1;var r=Mo().charAt;return xl=function(t,n,e){return n+(e&&r(t,n).length||1)}}function _l(){if(Tl)return El;Tl=1;var r=Or(),t=pt(),n=Math.floor,e=r("".charAt),o=r("".replace),i=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;return El=function(r,c,a,l,s,v){var p=a+r.length,d=l.length,y=f;return void 0!==s&&(s=t(s),y=u),o(v,y,function(t,o){var u;switch(e(o,0)){case"$":return"$";case"&":return r;case"`":return i(c,0,a);case"'":return i(c,p);case"<":u=s[i(o,1,-1)];break;default:var f=+o;if(0===f)return t;if(f>d){var v=n(f/10);return 0===v?t:v<=d?void 0===l[v-1]?e(o,1):l[v-1]+e(o,1):t}u=l[f-1]}return void 0===u?"":u})}}function zl(){if(kl)return Il;kl=1;var r=L(),t=dt(),n=kr(),e=function(){if(Al)return Pl;Al=1;var r=b(),t=A(),n=r.RegExp,e=!t(function(){var r=!0;try{n(".","d")}catch(t){r=!1}var t={},e="",o=r?"dgimsy":"gimsy",i=function(r,n){Object.defineProperty(t,r,{get:function(){return e+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var f in r&&(u.hasIndices="d"),u)i(f,u[f]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(t)!==o||e!==o});return Pl={correct:e}}(),o=ol(),i=RegExp.prototype;return Il=e.correct?function(r){return r.flags}:function(u){return e.correct||!n(i,u)||t(u,"flags")?u.flags:r(o,u)}}!function(){if(Ml)return Nl;Ml=1;var r=function(){if(wl)return ml;wl=1;var r=k(),t=Function.prototype,n=t.apply,e=t.call;return ml="object"==typeof Reflect&&Reflect.apply||(r?e.bind(n):function(){return e.apply(n,arguments)}),ml}(),t=L(),n=Or(),e=function(){if(Sl)return Ol;Sl=1,ul();var r=L(),t=en(),n=il(),e=A(),o=ht(),i=Mt(),u=o("species"),f=RegExp.prototype;return Ol=function(c,a,l,s){var v=o(c),p=!e(function(){var r={};return r[v]=function(){return 7},7!==""[c](r)}),d=p&&!e(function(){var r=!1,t=/a/;if("split"===c){var n={};n[u]=function(){return t},(t={constructor:n,flags:""})[v]=/./[v]}return t.exec=function(){return r=!0,null},t[v](""),!r});if(!p||!d||l){var y=/./[v],h=a(v,""[c],function(t,e,o,i,u){var c=e.exec;return c===n||c===f.exec?p&&!u?{done:!0,value:r(y,e,o,i)}:{done:!0,value:r(t,o,e,i)}:{done:!1}});t(String.prototype,c,h[0]),t(f,v,h[1])}s&&i(f[v],"sham",!0)}}(),o=A(),i=Lt(),u=Pr(),f=Ar(),c=xn(),a=jn(),l=Ro(),s=Er(),v=Cl(),p=zr(),d=_l(),y=zl(),h=function(){if(Rl)return Ll;Rl=1;var r=L(),t=Lt(),n=Pr(),e=Sr(),o=il(),i=TypeError;return Ll=function(u,f){var c=u.exec;if(n(c)){var a=r(c,u,f);return null!==a&&t(a),a}if("RegExp"===e(u))return r(o,u,f);throw new i("RegExp#exec called on incompatible receiver")}}(),g=ht()("replace"),b=Math.max,m=Math.min,w=n([].concat),O=n([].push),S=n("".indexOf),x=n("".slice),j=function(r){return void 0===r?r:String(r)},E="$0"==="a".replace(/./,"$0"),T=!!/./[g]&&""===/./[g]("a","$0");e("replace",function(n,e,o){var E=T?"$":"$0";return[function(r,n){var o=s(this),i=f(r)?p(r,g):void 0;return i?t(i,r,o,n):t(e,l(o),r,n)},function(t,n){var f=i(this),s=l(t),p=u(n);p||(n=l(n));var g=l(y(f));if("string"==typeof n&&!~S(n,E)&&!~S(n,"$<")&&!~S(g,"y")){var T=o(e,f,s,n);if(T.done)return T.value}var P,A=!!~S(g,"g");A&&(P=!!~S(g,"u")||!!~S(g,"v"),f.lastIndex=0);for(var I,k=[];null!==(I=h(f,s))&&(O(k,I),A);){""===l(I[0])&&(f.lastIndex=v(s,a(f.lastIndex),P))}for(var L="",R=0,M=0;M<k.length;M++){for(var N,C=l((I=k[M])[0]),_=b(m(c(I.index),s.length),0),z=[],F=1;F<I.length;F++)O(z,j(I[F]));var D=I.groups;if(p){var B=w([C],z,_,s);void 0!==D&&O(B,D),N=l(r(n,void 0,B))}else N=d(C,s,_,z,D,n);_>=R&&(L+=x(s,R,_)+N,R=_+C.length)}return L+x(s,R)}]},!!o(function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$<a>")})||!E||T)}();var Fl,Dl,Bl={};function Hl(r){return r.length?r[0].tagName.toLowerCase():""}function Gl(r){return i.nodes(r,{at:r.selection||void 0,match:function(n){return 1===t.findPath(r,n).length}})}Dl||(Dl=1,function(){if(Fl)return Bl;Fl=1;var r=le(),t=b();r({global:!0,forced:t.globalThis!==t},{globalThis:t})}()),a&&(c.fn.append=a),l&&(c.fn.attr=l),s&&(c.fn.parent=s);var $l={renderElems:[{type:"list-item",renderElem:function(r,n,e){Yi.set(r,e);var u=r,f=u.level,c=void 0===f?0:f,a=u.ordered,l=void 0!==a&&a,s={margin:"5px 0 5px ".concat(20*c,"px"),display:"flex",alignItems:"flex-start"},p="";if(l){var d=function(r,n){var e=n,u=e.type,f=e.level,c=void 0===f?0:f,a=e.ordered,l=void 0!==a&&a,s=1,v=n,p=t.findPath(r,v);if(0===p[0])return 1;for(;p[0]>0;){var d=o.previous(p),y=i.node(r,d);if(null==y)break;var h=y[0],g=h.level,b=void 0===g?0:g,m=h.type,w=h.ordered;if(m!==u)break;if(b<c)break;if(b===c){if(w!==l)break;s+=1}v=h,p=d}return s}(e,r);p="".concat(d,".")}else p=function(r){void 0===r&&(r=0);var t="";switch(r){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(c);var y=Ki(r);return v("div",{style:s},v("span",{contentEditable:!1,style:{marginRight:"0.5em",color:y},"data-w-e-reserve":!0},p),v("span",{style:{flex:"1",wordBreak:"break-word"}},n))}}],editorPlugin:function(r){var n=r.deleteBackward,e=r.handleTab,o=r.normalizeNode,c=r.insertBreak,a=r;return a.insertBreak=function(){var n=xe(i.nodes(r,{match:function(r){return t.checkNodeType(r,"list-item")},universal:!0}),1)[0];return n?""!==n[0].children[0].text?c():void u.setNodes(a,{type:"paragraph",ordered:void 0,level:void 0}):c()},a.deleteBackward=function(e){var o=a.selection;if(null!=o)if(f.isExpanded(o))n(e);else{var i=t.getSelectedNodeByType(a,"list-item");if(null!=i)if(0!==o.focus.offset)n(e);else{var c=i,l=c.level,s=void 0===l?0:l,v=c.ordered,p=void 0!==v&&v;if(s>0){var d=Xi(r,i,s-1);d&&d.ordered!==p?u.setNodes(a,{level:s-1,ordered:!p}):u.setNodes(a,{level:s-1})}else u.setNodes(a,{type:"paragraph",ordered:void 0,level:void 0})}else n(e)}else n(e)},a.handleTab=function(){var r,n,o,i,c=a.selection;if(null!=c){if(f.isCollapsed(c)){var l=t.getSelectedNodeByType(a,"list-item");if(null==l)return void e();if(0===c.focus.offset){var s=l.level,v=void 0===s?0:s;return void u.setNodes(a,{level:v+1})}}if(f.isExpanded(c)){var p=0,d=!1;try{for(var y=Se(Gl(a)),h=y.next();!h.done;h=y.next()){var g=xe(h.value,1)[0];"list-item"===t.getNodeType(g)?p+=1:d=!0}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}if(d||p<=1)return void e();try{for(var b=Se(Gl(a)),m=b.next();!m.done;m=b.next()){var w=xe(m.value,2),O=(g=w[0],w[1]),S=g.level;v=void 0===S?0:S;u.setNodes(a,{level:v+1},{at:O})}}catch(r){o={error:r}}finally{try{m&&!m.done&&(i=b.return)&&i.call(b)}finally{if(o)throw o.error}}}else e()}else e()},a.normalizeNode=function(r){var n=xe(r,2),e=n[0],i=n[1],f=t.getNodeType(e);return"bulleted-list"!==f&&"numbered-list"!==f||u.unwrapNodes(a,{at:i}),o([e,i])},a},menus:[sl,vl],elemsToHtml:[uu],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(r,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(r,t,n){var o=c(r);0===(t=t.filter(function(r){return!!e.isText(r)||!!n.isInline(r)})).length&&(t=[{text:o.text().replace(/\s+/gm," ")}]);var i=function(r){return"ol"===Hl(r.parent())}(o),u=function(r){for(var t=0,n=r.parent(),e=Hl(n);"ul"===e||"ol"===e;)e=Hl(n=n.parent()),t+=1;return t-1}(o);return{type:"list-item",ordered:i,level:u,children:t}}}]};export{$l as default};
2
2
  //# sourceMappingURL=index.mjs.map