@cherry-markdown/cherry-markdown-dev 0.10.0-dev.202509020228.7999e9c → 0.10.0-dev.202509030239.e455eda
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/README.md +2 -2
- package/dist/addons/advance/cherry-tapd-checklist-plugin.js +1 -1
- package/dist/addons/advance/cherry-tapd-html-tag-plugin.js +1 -1
- package/dist/addons/cherry-code-block-mermaid-plugin.js +1 -1
- package/dist/addons/cherry-code-block-plantuml-plugin.js +1 -1
- package/dist/cherry-markdown.core.common.js +1 -1
- package/dist/cherry-markdown.core.js +1 -1
- package/dist/cherry-markdown.css +1 -0
- package/dist/cherry-markdown.engine.core.common.js +1 -1
- package/dist/cherry-markdown.engine.core.esm.js +1 -1
- package/dist/cherry-markdown.engine.core.js +1 -1
- package/dist/cherry-markdown.esm.js +1 -1
- package/dist/cherry-markdown.js +1 -1
- package/dist/cherry-markdown.markdown.css +1 -0
- package/dist/cherry-markdown.markdown.min.css +1 -1
- package/dist/cherry-markdown.min.css +1 -1
- package/dist/cherry-markdown.min.js +1 -1
- package/dist/fonts/ch-icon.eot +0 -0
- package/dist/fonts/ch-icon.ttf +0 -0
- package/dist/fonts/ch-icon.woff +0 -0
- package/dist/fonts/ch-icon.woff2 +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
**⚠️ 开发预览警告 / Development Preview Warning**
|
|
2
2
|
|
|
3
|
-
此版本为[临时测试版](@cherry-markdown/cherry-markdown-dev@0.10.0-dev.
|
|
3
|
+
此版本为[临时测试版](@cherry-markdown/cherry-markdown-dev@0.10.0-dev.202509030239.e455eda),禁止在生产环境使用!
|
|
4
4
|
|
|
5
|
-
This is a [development preview version](@cherry-markdown/cherry-markdown-dev@0.10.0-dev.
|
|
5
|
+
This is a [development preview version](@cherry-markdown/cherry-markdown-dev@0.10.0-dev.202509030239.e455eda), do NOT use in production!
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).CherryTapdChecklistPlugin=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t,e){return t(e={exports:{}},e.exports),e.exports}function n(t){return t&&t.default||t}var o,i,u=function(t){return t&&t.Math===Math&&t},a=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=f,s=Function.prototype,p=s.apply,h=s.call,y="object"==typeof Reflect&&Reflect.apply||(l?h.bind(p):function(){return h.apply(p,arguments)}),v=Function.prototype,d=v.call,g=l&&v.bind.bind(d,d),m=l?g:function(t){return function(){return d.apply(t,arguments)}},b=m,w=b({}.toString),O=b("".slice),_=function(t){return O(w(t),8,-1)},S="object"==typeof document&&document.all,E=void 0===S&&void 0!==S?function(t){return"function"==typeof t||t===S}:function(t){return"function"==typeof t},x=!c((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),j=Function.prototype.call,P=l?j.bind(j):function(){return j.apply(j,arguments)},A={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,C={f:k&&!A.call({1:2},1)?function(t){var e=k(this,t);return!!e&&e.enumerable}:A},R=Object,T=b("".split),I=c((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"===_(t)?T(t,""):R(t)}:R,M=function(t){return null==t},L=TypeError,F=I,B=function(t){if(M(t))throw new L("Can't call method on "+t);return t},H=E,N={},$=a,D=function(t){return H(t)?t:void 0},G=b({}.isPrototypeOf),K="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=$.process,q=$.Deno,X=z&&z.versions||q&&q.version,Y=X&&X.v8;Y&&(i=(o=Y.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&K&&(!(o=K.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=K.match(/Chrome\/(\d+)/))&&(i=+o[1]);var U=i,W=$.String,V=!!Object.getOwnPropertySymbols&&!c((function(){var t=Symbol("symbol detection");return!W(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),J=V,Q=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=function(t,e){return arguments.length<2?D(N[t])||D($[t]):N[t]&&N[t][e]||$[t]&&$[t][e]},tt=G,et=Q,rt=Object,nt=et?function(t){return"symbol"==typeof t}:function(t){var e=Z("Symbol");return H(e)&&tt(e.prototype,rt(t))},ot=String,it=function(t){try{return ot(t)}catch(t){return"Object"}},ut=TypeError,at=function(t){if(H(t))return t;throw new ut(it(t)+" is not a function")},ct=P,ft=function(t){return"object"==typeof t?null!==t:H(t)},lt=TypeError,st=Object.defineProperty,pt=function(t,e){try{st($,t,{value:e,configurable:!0,writable:!0})}catch(r){$[t]=e}return e},ht=r((function(t){var e="__core-js_shared__",r=t.exports=$[e]||pt(e,{});(r.versions||(r.versions=[])).push({version:"3.37.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),yt=ht,vt=Object,dt=function(t){return vt(B(t))},gt=b({}.hasOwnProperty),mt=Object.hasOwn||function(t,e){return gt(dt(t),e)},bt=0,wt=Math.random(),Ot=b(1..toString),_t=function(t,e){return yt[t]||(yt[t]=e||{})},St=mt,Et=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ot(++bt+wt,36)},xt=$.Symbol,jt=_t("wks"),Pt=et?xt.for||xt:xt&&xt.withoutSetter||Et,At=nt,kt=function(t,e){var r=t[e];return M(r)?void 0:at(r)},Ct=function(t,e){var r,n;if("string"===e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;if(H(r=t.valueOf)&&!ft(n=ct(r,t)))return n;if("string"!==e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;throw new lt("Can't convert object to primitive value")},Rt=function(t){return St(jt,t)||(jt[t]=J&&St(xt,t)?xt[t]:Pt("Symbol."+t)),jt[t]},Tt=TypeError,It=Rt("toPrimitive"),Mt=function(t,e){if(!ft(t)||At(t))return t;var r,n=kt(t,It);if(n){if(void 0===e&&(e="default"),r=ct(n,t,e),!ft(r)||At(r))return r;throw new Tt("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ct(t,e)},Lt=$.document,Ft=ft(Lt)&&ft(Lt.createElement),Bt=x,Ht=function(t){return Ft?Lt.createElement(t):{}},Nt=!Bt&&!c((function(){return 7!==Object.defineProperty(Ht("div"),"a",{get:function(){return 7}}).a})),$t=C,Dt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Gt=function(t){return F(B(t))},Kt=function(t){var e=Mt(t,"string");return At(e)?e:e+""},zt=Nt,qt=Object.getOwnPropertyDescriptor,Xt={f:Bt?qt:function(t,e){if(t=Gt(t),e=Kt(e),zt)try{return qt(t,e)}catch(t){}if(St(t,e))return Dt(!ct($t.f,t,e),t[e])}},Yt=/#|\.prototype\./,Ut=function(t,e){var r=Vt[Wt(t)];return r===Qt||r!==Jt&&(H(e)?c(e):!!e)},Wt=Ut.normalize=function(t){return String(t).replace(Yt,".").toLowerCase()},Vt=Ut.data={},Jt=Ut.NATIVE="N",Qt=Ut.POLYFILL="P",Zt=Ut,te=function(t){if("Function"===_(t))return b(t)},ee=te(te.bind),re=Bt&&c((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ne=String,oe=TypeError,ie=re,ue=function(t){if(ft(t))return t;throw new oe(ne(t)+" is not an object")},ae=TypeError,ce=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,le="enumerable",se="configurable",pe="writable",he={f:Bt?ie?function(t,e,r){if(ue(t),e=Kt(e),ue(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pe in r&&!r[pe]){var n=fe(t,e);n&&n[pe]&&(t[e]=r.value,r={configurable:se in r?r[se]:n[se],enumerable:le in r?r[le]:n[le],writable:!1})}return ce(t,e,r)}:ce:function(t,e,r){if(ue(t),e=Kt(e),ue(r),zt)try{return ce(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ae("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},ye=y,ve=Xt,de=Zt,ge=function(t,e){return at(t),void 0===e?t:l?ee(t,e):function(){return t.apply(e,arguments)}},me=Bt?function(t,e,r){return he.f(t,e,Dt(1,r))}:function(t,e,r){return t[e]=r,t},be=ve.f,we=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return ye(t,this,arguments)};return e.prototype=t.prototype,e},Oe=b([].slice),_e=Function,Se=b([].concat),Ee=b([].join),xe={},je=l?_e.bind:function(t){var e=at(this),r=e.prototype,n=Oe(arguments,1),o=function(){var r=Se(n,Oe(arguments));return this instanceof o?function(t,e,r){if(!St(xe,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";xe[e]=_e("C,a","return new C("+Ee(n,",")+")")}return xe[e](t,r)}(e,r.length,r):e.apply(t,r)};return ft(r)&&(o.prototype=r),o},Pe={};Pe[Rt("toStringTag")]="z";var Ae="[object z]"===String(Pe),ke=Rt("toStringTag"),Ce=Object,Re="Arguments"===_(function(){return arguments}()),Te=Ae?_:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Ce(t),ke))?r:Re?_(e):"Object"===(n=_(e))&&H(e.callee)?"Arguments":n},Ie=b(Function.toString);H(yt.inspectSource)||(yt.inspectSource=function(t){return Ie(t)});var Me=yt.inspectSource,Le=Te,Fe=Me,Be=function(){},He=Z("Reflect","construct"),Ne=/^\s*(?:class|function)\b/,$e=b(Ne.exec),De=!Ne.test(Be),Ge=function(t){if(!H(t))return!1;try{return He(Be,[],t),!0}catch(t){return!1}},Ke=function(t){if(!H(t))return!1;switch(Le(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return De||!!$e(Ne,Fe(t))}catch(t){return!0}};Ke.sham=!0;var ze,qe=!He||c((function(){var t;return Ge(Ge.call)||!Ge(Object)||!Ge((function(){t=!0}))||t}))?Ke:Ge,Xe=TypeError,Ye=Math.ceil,Ue=Math.floor,We=Math.trunc||function(t){var e=+t;return(e>0?Ue:Ye)(e)},Ve=function(t){var e=+t;return e!=e||0===e?0:We(e)},Je=Math.max,Qe=Math.min,Ze=Math.min,tr=function(t){var e=Ve(t);return e>0?Ze(e,9007199254740991):0},er=function(t,e){var r=Ve(t);return r<0?Je(r+e,0):Qe(r,e)},rr=function(t){return tr(t.length)},nr=function(t){return function(e,r,n){var o=Gt(e),i=rr(o);if(0===i)return!t&&-1;var u,a=er(n,i);if(t&&r!=r){for(;i>a;)if((u=o[a++])!=u)return!0}else for(;i>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},or={includes:nr(!0),indexOf:nr(!1)},ir={},ur=or.indexOf,ar=b([].push),cr=function(t,e){var r,n=Gt(t),o=0,i=[];for(r in n)!St(ir,r)&&St(n,r)&&ar(i,r);for(;e.length>o;)St(n,r=e[o++])&&(~ur(i,r)||ar(i,r));return i},fr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lr=Object.keys||function(t){return cr(t,fr)},sr=Bt&&!ie?Object.defineProperties:function(t,e){ue(t);for(var r,n=Gt(e),o=lr(e),i=o.length,u=0;i>u;)he.f(t,r=o[u++],n[r]);return t},pr={f:sr},hr=Z("document","documentElement"),yr=_t("keys"),vr=pr,dr=hr,gr=function(t){return yr[t]||(yr[t]=Et(t))},mr="prototype",br="script",wr=gr("IE_PROTO"),Or=function(){},_r=function(t){return"<"+br+">"+t+"</"+br+">"},Sr=function(t){t.write(_r("")),t.close();var e=t.parentWindow.Object;return t=null,e},Er=function(){try{ze=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Er="undefined"!=typeof document?document.domain&&ze?Sr(ze):(e=Ht("iframe"),r="java"+br+":",e.style.display="none",dr.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(_r("document.F=Object")),t.close(),t.F):Sr(ze);for(var n=fr.length;n--;)delete Er[mr][fr[n]];return Er()};ir[wr]=!0;var xr=Object.create||function(t,e){var r;return null!==t?(Or[mr]=ue(t),r=new Or,Or[mr]=null,r[wr]=t):r=Er(),void 0===e?r:vr.f(r,e)},jr=function(t,e){var r,n,o,i,u,a,c,f,l,s=t.target,p=t.global,h=t.stat,y=t.proto,v=p?$:h?$[s]:$[s]&&$[s].prototype,d=p?N:N[s]||me(N,s,{})[s],g=d.prototype;for(i in e)n=!(r=de(p?i:s+(h?".":"#")+i,t.forced))&&v&&St(v,i),a=d[i],n&&(c=t.dontCallGetSet?(l=be(v,i))&&l.value:v[i]),u=n&&c?c:e[i],(r||y||typeof a!=typeof u)&&(f=t.bind&&n?ge(u,$):t.wrap&&n?we(u):y&&H(u)?te(u):u,(t.sham||u&&u.sham||a&&a.sham)&&me(f,"sham",!0),me(d,i,f),y&&(St(N,o=s+"Prototype")||me(N,o,{}),me(N[o],i,u),t.real&&g&&(r||!g[i])&&me(g,i,u)))},Pr=je,Ar=function(t){if(qe(t))return t;throw new Xe(it(t)+" is not a constructor")},kr=xr,Cr=Z("Reflect","construct"),Rr=Object.prototype,Tr=[].push,Ir=c((function(){function t(){}return!(Cr((function(){}),[],t)instanceof t)})),Mr=!c((function(){Cr((function(){}))})),Lr=Ir||Mr;jr({target:"Reflect",stat:!0,forced:Lr,sham:Lr},{construct:function(t,e){Ar(t),ue(e);var r=arguments.length<3?t:Ar(arguments[2]);if(Mr&&!Ir)return Cr(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return ye(Tr,n,e),new(ye(Pr,t,n))}var o=r.prototype,i=kr(ft(o)?o:Rr),u=ye(t,i,e);return ft(u)?u:i}});var Fr=N.Reflect.construct,Br=e(r((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}))),Hr=he.f;jr({target:"Object",stat:!0,forced:Object.defineProperty!==Hr,sham:!Bt},{defineProperty:Hr});var Nr=r((function(t){var e=N.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),$r=Nr,Dr=$r,Gr=Dr,Kr=Array.isArray||function(t){return"Array"===_(t)},zr=TypeError,qr=Kr,Xr=Rt("species"),Yr=Array,Ur=function(t){var e;return qr(t)&&(e=t.constructor,(qe(e)&&(e===Yr||qr(e.prototype))||ft(e)&&null===(e=e[Xr]))&&(e=void 0)),void 0===e?Yr:e},Wr=Rt("species"),Vr=function(t){if(t>9007199254740991)throw zr("Maximum allowed index exceeded");return t},Jr=function(t,e,r){Bt?he.f(t,e,Dt(0,r)):t[e]=r},Qr=function(t,e){return new(Ur(t))(0===e?0:e)},Zr=function(t){return U>=51||!c((function(){var e=[];return(e.constructor={})[Wr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},tn=Rt("isConcatSpreadable"),en=U>=51||!c((function(){var t=[];return t[tn]=!1,t.concat()[0]!==t})),rn=function(t){if(!ft(t))return!1;var e=t[tn];return void 0!==e?!!e:qr(t)},nn=!en||!Zr("concat");jr({target:"Array",proto:!0,arity:1,forced:nn},{concat:function(t){var e,r,n,o,i,u=dt(this),a=Qr(u,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(rn(i=-1===e?u:arguments[e]))for(o=rr(i),Vr(c+o),r=0;r<o;r++,c++)r in i&&Jr(a,c,i[r]);else Vr(c+1),Jr(a,c++,i);return a.length=c,a}});var on,un,an,cn=Object.freeze({__proto__:null}),fn=String,ln=fr.concat("length","prototype"),sn={f:Object.getOwnPropertyNames||function(t){return cr(t,ln)}},pn=sn.f,hn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yn={f:function(t){return hn&&"Window"===_(t)?function(t){try{return pn(t)}catch(t){return Oe(hn)}}(t):pn(Gt(t))}},vn={f:Object.getOwnPropertySymbols},dn={f:Rt},gn=he.f,mn=function(t,e,r,n){return n&&n.enumerable?t[e]=r:me(t,e,r),t},bn=Ae?{}.toString:function(){return"[object "+Le(this)+"]"},wn=he.f,On=Rt("toStringTag"),_n=$.WeakMap,Sn=H(_n)&&/native code/.test(String(_n)),En="Object already initialized",xn=$.TypeError,jn=$.WeakMap;if(Sn||yt.state){var Pn=yt.state||(yt.state=new jn);Pn.get=Pn.get,Pn.has=Pn.has,Pn.set=Pn.set,on=function(t,e){if(Pn.has(t))throw new xn(En);return e.facade=t,Pn.set(t,e),e},un=function(t){return Pn.get(t)||{}},an=function(t){return Pn.has(t)}}else{var An=gr("state");ir[An]=!0,on=function(t,e){if(St(t,An))throw new xn(En);return e.facade=t,me(t,An,e),e},un=function(t){return St(t,An)?t[An]:{}},an=function(t){return St(t,An)}}var kn={set:on,get:un,has:an,enforce:function(t){return an(t)?un(t):on(t,{})},getterFor:function(t){return function(e){var r;if(!ft(e)||(r=un(e)).type!==t)throw new xn("Incompatible receiver, "+t+" required");return r}}},Cn=b([].push),Rn=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,l,s){for(var p,h,y=dt(c),v=F(y),d=rr(v),g=ge(f,l),m=0,b=s||Qr,w=e?b(c,d):r||u?b(c,0):void 0;d>m;m++)if((a||m in v)&&(h=g(p=v[m],m,y),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Cn(w,p)}else switch(t){case 4:return!1;case 7:Cn(w,p)}return i?-1:n||o?o:w}},Tn={forEach:Rn(0),map:Rn(1),filter:Rn(2),some:Rn(3),every:Rn(4),find:Rn(5),findIndex:Rn(6),filterReject:Rn(7)},In=function(t){if("Symbol"===Le(t))throw new TypeError("Cannot convert a Symbol value to a string");return fn(t)},Mn=yn,Ln=vn,Fn=function(t,e,r){return he.f(t,e,r)},Bn=function(t){var e=N.Symbol||(N.Symbol={});St(e,t)||gn(e,t,{value:dn.f(t)})},Hn=function(){var t=Z("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Rt("toPrimitive");e&&!e[n]&&mn(e,n,(function(t){return ct(r,this)}),{arity:1})},Nn=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(St(o,On)||wn(o,On,{configurable:!0,value:e}),n&&!Ae&&me(o,"toString",bn))},$n=kn,Dn=Tn,Gn=Dn.forEach,Kn=gr("hidden"),zn="Symbol",qn="prototype",Xn=$n.set,Yn=$n.getterFor(zn),Un=Object[qn],Wn=$.Symbol,Vn=Wn&&Wn[qn],Jn=$.RangeError,Qn=$.TypeError,Zn=$.QObject,to=ve.f,eo=he.f,ro=Mn.f,no=$t.f,oo=b([].push),io=_t("symbols"),uo=_t("op-symbols"),ao=_t("wks"),co=!Zn||!Zn[qn]||!Zn[qn].findChild,fo=function(t,e,r){var n=to(Un,e);n&&delete Un[e],eo(t,e,r),n&&t!==Un&&eo(Un,e,n)},lo=Bt&&c((function(){return 7!==kr(eo({},"a",{get:function(){return eo(this,"a",{value:7}).a}})).a}))?fo:eo,so=function(t,e){var r=io[t]=kr(Vn);return Xn(r,{type:zn,tag:t,description:e}),Bt||(r.description=e),r},po=function(t,e,r){t===Un&&po(uo,e,r),ue(t);var n=Kt(e);return ue(r),St(io,n)?(r.enumerable?(St(t,Kn)&&t[Kn][n]&&(t[Kn][n]=!1),r=kr(r,{enumerable:Dt(0,!1)})):(St(t,Kn)||eo(t,Kn,Dt(1,kr(null))),t[Kn][n]=!0),lo(t,n,r)):eo(t,n,r)},ho=function(t,e){ue(t);var r=Gt(e),n=lr(r).concat(mo(r));return Gn(n,(function(e){Bt&&!ct(yo,r,e)||po(t,e,r[e])})),t},yo=function(t){var e=Kt(t),r=ct(no,this,e);return!(this===Un&&St(io,e)&&!St(uo,e))&&(!(r||!St(this,e)||!St(io,e)||St(this,Kn)&&this[Kn][e])||r)},vo=function(t,e){var r=Gt(t),n=Kt(e);if(r!==Un||!St(io,n)||St(uo,n)){var o=to(r,n);return!o||!St(io,n)||St(r,Kn)&&r[Kn][n]||(o.enumerable=!0),o}},go=function(t){var e=ro(Gt(t)),r=[];return Gn(e,(function(t){St(io,t)||St(ir,t)||oo(r,t)})),r},mo=function(t){var e=t===Un,r=ro(e?uo:Gt(t)),n=[];return Gn(r,(function(t){!St(io,t)||e&&!St(Un,t)||oo(n,io[t])})),n};J||(Wn=function(){if(tt(Vn,this))throw new Qn("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?In(arguments[0]):void 0,e=Et(t),r=function(t){var n=void 0===this?$:this;n===Un&&ct(r,uo,t),St(n,Kn)&&St(n[Kn],e)&&(n[Kn][e]=!1);var o=Dt(1,t);try{lo(n,e,o)}catch(t){if(!(t instanceof Jn))throw t;fo(n,e,o)}};return Bt&&co&&lo(Un,e,{configurable:!0,set:r}),so(e,t)},Vn=Wn[qn],mn(Vn,"toString",(function(){return Yn(this).tag})),mn(Wn,"withoutSetter",(function(t){return so(Et(t),t)})),$t.f=yo,he.f=po,vr.f=ho,ve.f=vo,sn.f=Mn.f=go,Ln.f=mo,dn.f=function(t){return so(Rt(t),t)},Bt&&Fn(Vn,"description",{configurable:!0,get:function(){return Yn(this).description}})),jr({global:!0,constructor:!0,wrap:!0,forced:!J,sham:!J},{Symbol:Wn}),Gn(lr(ao),(function(t){Bn(t)})),jr({target:zn,stat:!0,forced:!J},{useSetter:function(){co=!0},useSimple:function(){co=!1}}),jr({target:"Object",stat:!0,forced:!J,sham:!Bt},{create:function(t,e){return void 0===e?kr(t):ho(kr(t),e)},defineProperty:po,defineProperties:ho,getOwnPropertyDescriptor:vo}),jr({target:"Object",stat:!0,forced:!J},{getOwnPropertyNames:go}),Hn(),Nn(Wn,zn),ir[Kn]=!0;var bo=J&&!!Symbol.for&&!!Symbol.keyFor,wo=_t("string-to-symbol-registry"),Oo=_t("symbol-to-string-registry");jr({target:"Symbol",stat:!0,forced:!bo},{for:function(t){var e=In(t);if(St(wo,e))return wo[e];var r=Z("Symbol")(e);return wo[e]=r,Oo[r]=e,r}});var _o=_t("symbol-to-string-registry");jr({target:"Symbol",stat:!0,forced:!bo},{keyFor:function(t){if(!At(t))throw new TypeError(it(t)+" is not a symbol");if(St(_o,t))return _o[t]}});var So=b([].push),Eo=function(t){if(H(t))return t;if(qr(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?So(r,o):"number"!=typeof o&&"Number"!==_(o)&&"String"!==_(o)||So(r,In(o))}var i=r.length,u=!0;return function(t,e){if(u)return u=!1,e;if(qr(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},xo=String,jo=Z("JSON","stringify"),Po=b(/./.exec),Ao=b("".charAt),ko=b("".charCodeAt),Co=b("".replace),Ro=b(1..toString),To=/[\uD800-\uDFFF]/g,Io=/^[\uD800-\uDBFF]$/,Mo=/^[\uDC00-\uDFFF]$/,Lo=!J||c((function(){var t=Z("Symbol")("stringify detection");return"[null]"!==jo([t])||"{}"!==jo({a:t})||"{}"!==jo(Object(t))})),Fo=c((function(){return'"\\udf06\\ud834"'!==jo("\udf06\ud834")||'"\\udead"'!==jo("\udead")})),Bo=function(t,e){var r=Oe(arguments),n=Eo(e);if(H(n)||void 0!==t&&!At(t))return r[1]=function(t,e){if(H(n)&&(e=ct(n,this,xo(t),e)),!At(e))return e},ye(jo,null,r)},Ho=function(t,e,r){var n=Ao(r,e-1),o=Ao(r,e+1);return Po(Io,t)&&!Po(Mo,o)||Po(Mo,t)&&!Po(Io,n)?"\\u"+Ro(ko(t,0),16):t};jo&&jr({target:"JSON",stat:!0,arity:3,forced:Lo||Fo},{stringify:function(t,e,r){var n=Oe(arguments),o=ye(Lo?Bo:jo,null,n);return Fo&&"string"==typeof o?Co(o,To,Ho):o}});var No=!J||c((function(){Ln.f(1)}));jr({target:"Object",stat:!0,forced:No},{getOwnPropertySymbols:function(t){var e=Ln.f;return e?e(dt(t)):[]}}),Bn("asyncIterator");var $o=Object.freeze({__proto__:null});Bn("hasInstance"),Bn("isConcatSpreadable"),Bn("iterator"),Bn("match"),Bn("matchAll"),Bn("replace"),Bn("search"),Bn("species"),Bn("split"),Bn("toPrimitive"),Hn(),Bn("toStringTag"),Nn(Z("Symbol"),"Symbol"),Bn("unscopables"),Nn($.JSON,"JSON",!0);var Do=Object.freeze({__proto__:null}),Go=Object.freeze({__proto__:null});n(cn),n($o),n(Do),n(Go);var Ko,zo,qo,Xo=N.Symbol,Yo=Function.prototype,Uo=Bt&&Object.getOwnPropertyDescriptor,Wo=St(Yo,"name"),Vo={EXISTS:Wo,PROPER:Wo&&"something"===function(){}.name,CONFIGURABLE:Wo&&(!Bt||Bt&&Uo(Yo,"name").configurable)},Jo=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Qo=gr("IE_PROTO"),Zo=Object,ti=Zo.prototype,ei=Jo?Zo.getPrototypeOf:function(t){var e=dt(t);if(St(e,Qo))return e[Qo];var r=e.constructor;return H(r)&&e instanceof r?r.prototype:e instanceof Zo?ti:null},ri=Rt("iterator"),ni=!1;[].keys&&("next"in(qo=[].keys())?(zo=ei(ei(qo)))!==Object.prototype&&(Ko=zo):ni=!0);var oi=!ft(Ko)||c((function(){var t={};return Ko[ri].call(t)!==t}));Ko=oi?{}:kr(Ko),H(Ko[ri])||mn(Ko,ri,(function(){return this}));var ii={IteratorPrototype:Ko,BUGGY_SAFARI_ITERATORS:ni},ui={},ai=ii.IteratorPrototype,ci=function(){return this},fi=function(t){return ft(t)||null===t},li=String,si=TypeError,pi=function(t,e,r){try{return b(at(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hi=function(t){if(fi(t))return t;throw new si("Can't set "+li(t)+" as a prototype")},yi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=pi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return B(r),hi(n),ft(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),vi=Vo,di=function(t,e,r,n){var o=e+" Iterator";return t.prototype=kr(ai,{next:Dt(+!n,r)}),Nn(t,o,!1,!0),ui[o]=ci,t},gi=yi,mi=vi.PROPER,bi=ii.BUGGY_SAFARI_ITERATORS,wi=Rt("iterator"),Oi="keys",_i="values",Si="entries",Ei=function(){return this},xi=function(){},ji=function(t,e,r,n,o,i,u){di(r,e,n);var a,c,f,l=function(t){if(t===o&&v)return v;if(!bi&&t&&t in h)return h[t];switch(t){case Oi:case _i:case Si:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",p=!1,h=t.prototype,y=h[wi]||h["@@iterator"]||o&&h[o],v=!bi&&y||l(o),d="Array"===e&&h.entries||y;if(d&&(a=ei(d.call(new t)))!==Object.prototype&&a.next&&(Nn(a,s,!0,!0),ui[s]=Ei),mi&&o===_i&&y&&y.name!==_i&&(p=!0,v=function(){return ct(y,this)}),o)if(c={values:l(_i),keys:i?v:l(Oi),entries:l(Si)},u)for(f in c)(bi||p||!(f in h))&&mn(h,f,c[f]);else jr({target:e,proto:!0,forced:bi||p},c);return u&&h[wi]!==v&&mn(h,wi,v,{name:o}),ui[e]=v,c},Pi=function(t,e){return{value:t,done:e}},Ai=(he.f,"Array Iterator"),ki=$n.set,Ci=$n.getterFor(Ai);ji(Array,"Array",(function(t,e){ki(this,{type:Ai,target:Gt(t),index:0,kind:e})}),(function(){var t=Ci(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Pi(void 0,!0);switch(t.kind){case"keys":return Pi(r,!1);case"values":return Pi(e[r],!1)}return Pi([r,e[r]],!1)}),"values");ui.Arguments=ui.Array;xi(),xi(),xi();var Ri={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};for(var Ti in Ri)Nn($[Ti],Ti),ui[Ti]=ui.Array;var Ii=Xo,Mi=he.f,Li=Rt("metadata"),Fi=Function.prototype;void 0===Fi[Li]&&Mi(Fi,Li,{value:null}),Bn("asyncDispose"),Bn("dispose"),Bn("metadata");var Bi=Ii,Hi=Z("Symbol"),Ni=Hi.keyFor,$i=b(Hi.prototype.valueOf),Di=Hi.isRegisteredSymbol||function(t){try{return void 0!==Ni($i(t))}catch(t){return!1}};jr({target:"Symbol",stat:!0},{isRegisteredSymbol:Di});for(var Gi=Z("Symbol"),Ki=Gi.isWellKnownSymbol,zi=Z("Object","getOwnPropertyNames"),qi=b(Gi.prototype.valueOf),Xi=_t("wks"),Yi=0,Ui=zi(Gi),Wi=Ui.length;Yi<Wi;Yi++)try{var Vi=Ui[Yi];At(Gi[Vi])&&Rt(Vi)}catch(t){}var Ji=function(t){if(Ki&&Ki(t))return!0;try{for(var e=qi(t),r=0,n=zi(Xi),o=n.length;r<o;r++)if(Xi[n[r]]==e)return!0}catch(t){}return!1};jr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ji}),Bn("customMatcher"),Bn("observable"),jr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Di}),jr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ji}),Bn("matcher"),Bn("metadataKey"),Bn("patternMatch"),Bn("replaceAll");var Qi=Bi,Zi=Qi,tu=b("".charAt),eu=b("".charCodeAt),ru=b("".slice),nu=function(t){return function(e,r){var n,o,i=In(B(e)),u=Ve(r),a=i.length;return u<0||u>=a?t?"":void 0:(n=eu(i,u))<55296||n>56319||u+1===a||(o=eu(i,u+1))<56320||o>57343?t?tu(i,u):n:t?ru(i,u,u+2):o-56320+(n-55296<<10)+65536}},ou={codeAt:nu(!1),charAt:nu(!0)}.charAt,iu="String Iterator",uu=$n.set,au=$n.getterFor(iu);ji(String,"String",(function(t){uu(this,{type:iu,string:In(t),index:0})}),(function(){var t,e=au(this),r=e.string,n=e.index;return n>=r.length?Pi(void 0,!0):(t=ou(r,n),e.index+=t.length,Pi(t,!1))}));var cu=dn.f("iterator"),fu=Qi,lu=cu,su=r((function(t){function e(r){return t.exports=e="function"==typeof fu&&"symbol"==typeof lu?function(t){return typeof t}:function(t){return t&&"function"==typeof fu&&t.constructor===fu&&t!==fu.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(su),n(Object.freeze({__proto__:null}));var pu=dn.f("toPrimitive"),hu=pu,yu=r((function(t){var e=su.default;t.exports=function(t,r){if("object"!=e(t)||!t)return t;var n=t[hu];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}));e(yu);var vu=r((function(t){var e=su.default;t.exports=function(t){var r=yu(t,"string");return"symbol"==e(r)?r:r+""},t.exports.__esModule=!0,t.exports.default=t.exports}));e(vu);var du=r((function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Dr(t,vu(n.key),n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Dr(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports})),gu=e(du),mu=r((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}));e(mu);var bu=r((function(t){var e=su.default;t.exports=function(t,r){if(r&&("object"==e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return mu(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),wu=e(bu);jr({target:"Object",stat:!0},{setPrototypeOf:gi});var Ou=N.Object.setPrototypeOf,_u=Ou;jr({target:"Function",proto:!0,forced:Function.bind!==Pr},{bind:Pr});var Su=function(t,e){var r=N[t+"Prototype"],n=r&&r[e];if(n)return n;var o=$[t],i=o&&o.prototype;return i&&i[e]},Eu=Su("Function","bind"),xu=Function.prototype,ju=function(t){var e=t.bind;return t===xu||tt(xu,t)&&e===xu.bind?Eu:e},Pu=ju,Au=c((function(){ei(1)}));jr({target:"Object",stat:!0,forced:Au,sham:!Jo},{getPrototypeOf:function(t){return ei(dt(t))}});var ku=N.Object.getPrototypeOf,Cu=Ou,Ru=ju,Tu=ku,Iu=r((function(t){function e(r){var n;return t.exports=e=Cu?Ru(n=Tu).call(n):function(t){return t.__proto__||Tu(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),Mu=e(Iu);jr({target:"Object",stat:!0,sham:!Bt},{create:kr});var Lu=N.Object,Fu=function(t,e){return Lu.create(t,e)},Bu=Fu,Hu=r((function(t){function e(r,n){var o;return t.exports=e=Cu?Ru(o=Cu).call(o):function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(Hu);var Nu=Fu,$u=e(r((function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Nu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Dr(t,"prototype",{writable:!1}),e&&Hu(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports}))),Du=e(r((function(t){t.exports=function(t,e,r){return(e=vu(e))in t?Dr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Gu=function(t,e){var r=[][t];return!!r&&c((function(){r.call(null,e||function(){return 1},1)}))},Ku=or.indexOf,zu=te([].indexOf),qu=!!zu&&1/zu([1],1,-0)<0,Xu=qu||!Gu("indexOf");jr({target:"Array",proto:!0,forced:Xu},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return qu?zu(this,t,e)||0:Ku(this,t,e)}});var Yu=Su("Array","indexOf"),Uu=Array.prototype,Wu=function(t){var e=t.indexOf;return t===Uu||tt(Uu,t)&&e===Uu.indexOf?Yu:e};function Vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ju(t){return Ju="function"==typeof Zi&&"symbol"==typeof cu?function(t){return typeof t}:function(t){return t&&"function"==typeof Zi&&t.constructor===Zi&&t!==Zi.prototype?"symbol":typeof t},Ju(t)}function Qu(t){var e=function(t,e){if("object"!=Ju(t)||!t)return t;var r=t[pu];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ju(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ju(e)?e:e+""}function Zu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Gr(t,Qu(n.key),n)}}function ta(t,e,r){return e&&Zu(t.prototype,e),r&&Zu(t,r),Gr(t,"prototype",{writable:!1}),t}function ea(t,e){if(e&&("object"==Ju(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ra(t){var e;return ra=_u?Pu(e=ku).call(e):function(t){return t.__proto__||ku(t)},ra(t)}function na(t,e){var r;return na=_u?Pu(r=_u).call(r):function(t,e){return t.__proto__=e,t},na(t,e)}function oa(t,e,r){return(e=Qu(e))in t?Gr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ia=Dn.filter,ua=Zr("filter");jr({target:"Array",proto:!0,forced:!ua},{filter:function(t){return ia(this,t,arguments.length>1?arguments[1]:void 0)}});var aa=Su("Array","filter"),ca=Array.prototype,fa=function(t){var e=t.filter;return t===ca||tt(ca,t)&&e===ca.filter?aa:e},la=Dn.map,sa=Zr("map");jr({target:"Array",proto:!0,forced:!sa},{map:function(t){return la(this,t,arguments.length>1?arguments[1]:void 0)}});var pa=Su("Array","map"),ha=Array.prototype,ya=function(t){var e=t.map;return t===ha||tt(ha,t)&&e===ha.map?pa:e},va=Su("Array","concat"),da=Array.prototype,ga=function(t){var e=t.concat;return t===da||tt(da,t)&&e===da.concat?va:e},ma="\t\n\v\f\r \u2028\u2029\ufeff",ba=b("".replace),wa=RegExp("^["+ma+"]+"),Oa=RegExp("(^|[^"+ma+"])["+ma+"]+$"),_a=function(t){return function(e){var r=In(B(e));return 1&t&&(r=ba(r,wa,"")),2&t&&(r=ba(r,Oa,"$1")),r}},Sa={start:_a(1),end:_a(2),trim:_a(3)},Ea=vi.PROPER,xa=Sa,ja=xa.trim;jr({target:"String",proto:!0,forced:function(t){return c((function(){return!!ma[t]()||"
"!=="
"[t]()||Ea&&ma[t].name!==t}))}("trim")},{trim:function(){return ja(this)}});var Pa=Su("String","trim"),Aa=String.prototype,ka=function(t){var e=t.trim;return"string"==typeof t||t===Aa||tt(Aa,t)&&e===Aa.trim?Pa:e},Ca=xa.trim,Ra=$.parseInt,Ta=$.Symbol,Ia=Ta&&Ta.iterator,Ma=/^[+-]?0x/i,La=b(Ma.exec),Fa=8!==Ra(ma+"08")||22!==Ra(ma+"0x16")||Ia&&!c((function(){Ra(Object(Ia))}))?function(t,e){var r=Ca(In(t));return Ra(r,e>>>0||(La(Ma,r)?16:10))}:Ra;jr({global:!0,forced:parseInt!==Fa},{parseInt:Fa});var Ba=N.parseInt,Ha="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Na=TypeError,$a=Ha,Da=function(t,e){if(t<e)throw new Na("Not enough arguments");return t},Ga=$.Function,Ka=/MSIE .\./.test(K)||$a&&function(){var t=$.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),za=function(t,e){var r=e?2:1;return Ka?function(n,o){var i=Da(arguments.length,1)>r,u=H(n)?n:Ga(n),a=i?Oe(arguments,r):[],c=i?function(){ye(u,this,a)}:u;return e?t(c,o):t(c)}:t},qa=za($.setInterval,!0);jr({global:!0,bind:!0,forced:$.setInterval!==qa},{setInterval:qa});var Xa=za($.setTimeout,!0);jr({global:!0,bind:!0,forced:$.setTimeout!==Xa},{setTimeout:Xa});var Ya=N.setTimeout,Ua=!1,Wa="paragraph",Va="sentence",Ja=function(){return ta((function t(e){Vu(this,t),oa(this,"$engine",void 0),oa(this,"$locale",void 0),this.RULE=this.rule(e)}),[{key:"getType",value:function(){return this.constructor.HOOK_TYPE||Va}},{key:"getName",value:function(){return this.constructor.HOOK_NAME}},{key:"afterInit",value:function(t){"function"==typeof t&&t()}},{key:"setLocale",value:function(t){this.$locale=t}},{key:"beforeMakeHtml",value:function(t){return t}},{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t}},{key:"onKeyDown",value:function(t,e){}},{key:"getOnKeyDown",value:function(){return this.onKeyDown||!1}},{key:"getAttributesTest",value:function(){return/^(color|fontSize|font-size|id|title|class|target|underline|line-through|overline|sub|super)$/}},{key:"$testAttributes",value:function(t,e){this.getAttributesTest().test(t)&&e()}},{key:"getAttributes",value:function(t){return{attrs:{},str:t}}},{key:"test",value:function(t){return!!this.RULE.reg&&this.RULE.reg.test(t)}},{key:"rule",value:function(t){return{begin:"",end:"",content:"",reg:new RegExp("")}}},{key:"mounted",value:function(){}}],[{key:"getMathJaxConfig",value:function(){return Ua}},{key:"setMathJaxConfig",value:function(t){Ua=t}}])}();oa(Ja,"HOOK_NAME","default"),oa(Ja,"HOOK_TYPE",Va);var Qa=N.Object.getOwnPropertySymbols,Za=ve.f,tc=!Bt||c((function(){Za(1)}));jr({target:"Object",stat:!0,forced:tc,sham:!Bt},{getOwnPropertyDescriptor:function(t,e){return Za(Gt(t),e)}});var ec=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),rc=ec,nc=Dn.forEach,oc=Gu("forEach")?[].forEach:function(t){return nc(this,t,arguments.length>1?arguments[1]:void 0)};jr({target:"Array",proto:!0,forced:[].forEach!==oc},{forEach:oc});var ic=Su("Array","forEach");n(Object.freeze({__proto__:null}));var uc=Array.prototype,ac={DOMTokenList:!0,NodeList:!0},cc=function(t){var e=t.forEach;return t===uc||tt(uc,t)&&e===uc.forEach||St(ac,Le(t))?ic:e},fc=b([].concat),lc=Z("Reflect","ownKeys")||function(t){var e=sn.f(ue(t)),r=Ln.f;return r?fc(e,r(t)):e},sc=lc;jr({target:"Object",stat:!0,sham:!Bt},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Gt(t),o=ve.f,i=sc(n),u={},a=0;i.length>a;)void 0!==(r=o(n,e=i[a++]))&&Jr(u,e,r);return u}});var pc=N.Object.getOwnPropertyDescriptors,hc=vr.f;jr({target:"Object",stat:!0,forced:Object.defineProperties!==hc,sham:!Bt},{defineProperties:hc});var yc=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),vc=yc,dc=$r,gc=c((function(){lr(1)}));jr({target:"Object",stat:!0,forced:gc},{keys:function(t){return lr(dt(t))}});var mc,bc,wc=N.Object.keys;function Oc(t,e){var r=wc(t);if(Qa){var n=Qa(t);e&&(n=fa(n).call(n,(function(e){return rc(t,e).enumerable}))),r.push.apply(r,n)}return r}function _c(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?cc(r=Oc(Object(o),!0)).call(r,(function(e){oa(t,e,o[e])})):pc?vc(t,pc(o)):cc(n=Oc(Object(o))).call(n,(function(e){dc(t,e,rc(o,e))}))}return t}var Sc=_c(_c(_c(_c(_c(_c({},{34:""",38:"&",39:"'",60:"<",62:">"}),{192:"À",193:"Á",194:"Â",195:"Ã",196:"Ä",197:"Å",198:"Æ",199:"Ç",200:"È",201:"É",202:"Ê",203:"Ë",204:"Ì",205:"Í",206:"Î",207:"Ï",208:"Ð",209:"Ñ",210:"Ò",211:"Ó",212:"Ô",213:"Õ",214:"Ö",216:"Ø",217:"Ù",218:"Ú",219:"Û",220:"Ü",221:"Ý",222:"Þ",223:"ß",224:"à",225:"á",226:"â",227:"ã",228:"ä",229:"å",230:"æ",231:"ç",232:"è",233:"é",234:"ê",235:"ë",236:"ì",237:"í",238:"î",239:"ï",240:"ð",241:"ñ",242:"ò",243:"ó",244:"ô",245:"õ",246:"ö",248:"ø",249:"ù",250:"ú",251:"û",252:"ü",253:"ý",254:"þ",255:"ÿ"}),{160:" ",161:"¡",162:"¢",163:"£",164:"¤",165:"¥",166:"¦",167:"§",168:"¨",169:"©",170:"ª",171:"«",172:"¬",173:"­",174:"®",175:"¯",176:"°",177:"±",178:"²",179:"³",180:"´",181:"µ",182:"¶",184:"¸",185:"¹",186:"º",187:"»",188:"¼",189:"½",190:"¾",191:"¿",215:"×",247:"÷"}),{8704:"∀",8706:"∂",8707:"∃",8709:"∅",8711:"∇",8712:"∈",8713:"∉",8715:"∋",8719:"∏",8721:"∑",8722:"−",8727:"∗",8730:"√",8733:"∝",8734:"∞",8736:"∠",8743:"∧",8744:"∨",8745:"∩",8746:"∪",8747:"∫",8756:"∴",8764:"∼",8773:"≅",8776:"≈",8800:"≠",8801:"≡",8804:"≤",8805:"≥",8834:"⊂",8835:"⊃",8836:"⊄",8838:"⊆",8839:"⊇",8853:"⊕",8855:"⊗",8869:"⊥",8901:"⋅"}),{913:"Α",914:"Β",915:"Γ",916:"Δ",917:"Ε",918:"Ζ",919:"Η",920:"Θ",921:"Ι",922:"Κ",923:"Λ",924:"Μ",925:"Ν",926:"Ξ",927:"Ο",928:"Π",929:"Ρ",931:"Σ",932:"Τ",933:"Υ",934:"Φ",935:"Χ",936:"Ψ",937:"Ω",945:"α",946:"β",947:"γ",948:"δ",949:"ε",950:"ζ",951:"η",952:"θ",953:"ι",954:"κ",955:"λ",956:"μ",957:"ν",958:"ξ",959:"ο",960:"π",961:"ρ",962:"ς",963:"σ",964:"τ",965:"υ",966:"φ",967:"χ",968:"ψ",969:"ω",977:"ϑ",978:"ϒ",982:"ϖ"}),{338:"Œ",339:"œ",352:"Š",353:"š",376:"Ÿ",402:"ƒ",710:"ˆ",732:"˜",8194:" ",8195:" ",8201:" ",8204:"‌",8205:"‍",8206:"‎",8207:"‏",8211:"–",8212:"—",8216:"‘",8217:"’",8218:"‚",8220:"“",8221:"”",8222:"„",8224:"†",8225:"‡",8226:"•",8230:"…",8240:"‰",8242:"′",8243:"″",8249:"‹",8250:"›",8254:"‾",8364:"€",8482:"™",8592:"←",8593:"↑",8594:"→",8595:"↓",8596:"↔",8629:"↵",8968:"⌈",8969:"⌉",8970:"⌊",8971:"⌋",9674:"◊",9824:"♠",9827:"♣",9829:"♥",9830:"♦"}),Ec=wc(Sc);ya(Ec).call(Ec,(function(t){return Sc[t].replace(/^&(\w+);$/g,(function(t,e){return e.toLowerCase()}))}));var xc=["h1|h2|h3|h4|h5|h6","ul|ol|li|dd|dl|dt","table|thead|tbody|tfoot|col|colgroup|th|td|tr","div|article|section|footer|aside|details|summary|code|audio|video|canvas|figure","address|center|cite|p|pre|blockquote|marquee|caption|figcaption|track|source|output|svg"].join("|"),jc=["span|a|link|b|s|i|del|u|em|strong|sup|sub|kbd","nav|font|bdi|samp|map|area|small|time|bdo|var|wbr|meter|dfn","ruby|rt|rp|mark|q|progress|input|textarea|select|ins"].join("|");function Pc(t,e,r){return e=ra(e),ea(t,Ac()?Fr(e,r||[],ra(t).constructor):e.apply(t,r))}function Ac(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(Ac=function(){return!!t})()}new RegExp(ga(mc=ga(bc="^(".concat(xc,"|")).call(bc,jc,"|")).call(mc,"br|img|hr",")( |$|/)"),"i");var kc=0,Cc=function(t){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{needCache:!1},n=r.needCache,o=r.defaultCache,i=void 0===o?{}:o;return Vu(this,e),(t=Pc(this,e,[{}])).needCache=!!n,t.sign="",n&&(t.cache=i||{},t.cacheKey="~~C".concat(kc),kc+=1),t.failedResetCacheTimes=0,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Bu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Gr(t,"prototype",{writable:!1}),e&&na(t,e)}(e,t),ta(e,[{key:"initBrReg",value:function(){var t,e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.classicBr=(e="classicBr","undefined"!=typeof localStorage&&null!==localStorage.getItem("cherry-".concat(e))?(t="false","undefined"!=typeof localStorage&&(t=localStorage.getItem("cherry-classicBr")),"true"===t):r),this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(t){var e=t.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?e:this.joinRawHtml(e).replace(/\n/g,"<br>").replace(/\r/g,"\n")}},{key:"joinRawHtml",value:function(t){if(!this.removeBrAfterBlock){var e,r,n,o,i=null!==(e=null===(r=this.$engine.htmlWhiteListAppend)||void 0===r?void 0:r.split("|"))&&void 0!==e?e:[];i=fa(n=ya(i).call(i,(function(t){return/[a-z-]+/gi.test(t)?t:null}))).call(n,(function(t){return null!==t}));var u=ga(i).call(i,xc).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(u,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(u,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(ga(o="<\\/(".concat(u,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(o,u,")(>| [^>]*?>)"),"ig")}return t.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"</$1>").replace(this.removeNewlinesBetweenTags,"</$1>\r$2<$3$4")}},{key:"toHtml",value:function(t,e){return t}},{key:"makeHtml",value:function(t,e){return this.needCache?t:e(t).html}},{key:"afterMakeHtml",value:function(t){return this.restoreCache(t)}},{key:"isContainsCache",value:function(t,r){if(r){var n=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(t),o=new RegExp("~~C\\d+I".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(t);return n&&!o}return new RegExp("~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(t)}},{key:"$splitHtmlByCache",value:function(t){var r=new RegExp("\\n*~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:t.match(r),contents:t.split(r)}}},{key:"makeExcludingCached",value:function(t,e){for(var r=this.$splitHtmlByCache(t),n=r.caches,o=r.contents,i=ya(o).call(o,e),u="",a=0;a<i.length;a++){var c;if(u+=i[a],n&&n[a])u+=ka(c=n[a]).call(c)}return u}},{key:"getCacheWithSpace",value:function(t,e){var r,n,o,i,u,a,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=null!==(r=null===(n=e.match(/^\n+/))||void 0===n?void 0:n[0])&&void 0!==r?r:"",l=null!==(o=null===(i=e.match(/\n+$/))||void 0===i?void 0:i[0])&&void 0!==o?o:"";return c?function(t,e){var r,n,o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return/^\n/.test(t)?i?(null!==(r=null===(n=t.match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0)>1?"\n\n".concat(e):"\n".concat(e):"\n\n".concat(e):e}(e,t):ga(u=ga(a="".concat(f)).call(a,t)).call(u,l)}},{key:"getLineCount",value:function(t){var r,n,o,i=t,u=null!==(r=null===(n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0;u=1===u?1:0,i=i.replace(/^\n+/g,"");var a=new RegExp("\n*~~C\\d+I(?:".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),c=0;return i=i.replace(a,(function(t,e){return c+=Ba(e,10),t.replace(/^\n+/g,"")})),u+c+(i.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.needCache){var i=n||this.$engine.hash(t),u=ga(e=ga(r="".concat(this.cacheKey,"I")).call(r,i,"_L")).call(e,o,"$");return this.cache[i]={content:t,key:u},u}}},{key:"popCache",value:function(t){if(this.needCache)return this.cache[t].content||""}},{key:"testHasCache",value:function(t){return!(!this.needCache||!this.cache[t])&&this.cache[t].key}},{key:"resetCache",value:function(){this.needCache&&(this.cache={})}},{key:"restoreCache",value:function(t){var r,n=this;if(!this.needCache)return t;var o=new RegExp(ga(r="".concat(this.cacheKey,"I((?:")).call(r,e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+)\\$"),"g"),i=t.replace(o,(function(t,e){return n.popCache(e.replace(/_L\d+$/,""))}));return this.timer&&(clearTimeout(this.timer),this.failedResetCacheTimes+=1,this.timer=null),this.timer=Ya((function(){n.resetCache()}),500),this.failedResetCacheTimes>5&&(this.failedResetCacheTimes=0,Ya((function(){n.resetCache()}),500)),i}},{key:"checkCache",value:function(t,e){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.sign=this.$engine.hash(t),this.cache[this.sign]?ga(r=ga(n="".concat(this.cacheKey,"I")).call(n,this.sign,"_L")).call(r,o,"$"):this.toHtml(t,e)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(t){return!1}}])}(Ja);function Rc(t,e,r){return e=Mu(e),wu(t,Tc()?Fr(e,r||[],Mu(t).constructor):e.apply(t,r))}function Tc(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(Tc=function(){return!!t})()}oa(Cc,"HOOK_TYPE",Wa),oa(Cc,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),oa(Cc,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var Ic=function(t){function e(){return Br(this,e),Rc(this,e,[{needCache:!0}])}return $u(e,t),gu(e,[{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t.replace(/\[[\s|x]\]/g,(function(t){return Wu(t).call(t,"x")>-1?' <span class="ch-icon ch-icon-check"></span> ':' <span class="ch-icon ch-icon-square"></span> '}))}},{key:"rule",value:function(){return{}}}])}(Cc);return Du(Ic,"HOOK_NAME","tapdCheckList"),Ic}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).CherryTapdChecklistPlugin=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t,e){return t(e={exports:{}},e.exports),e.exports}function n(t){return t&&t.default||t}var o,i,u=function(t){return t&&t.Math===Math&&t},a=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),s=f,l=Function.prototype,p=l.apply,h=l.call,y="object"==typeof Reflect&&Reflect.apply||(s?h.bind(p):function(){return h.apply(p,arguments)}),v=Function.prototype,d=v.call,g=s&&v.bind.bind(d,d),m=s?g:function(t){return function(){return d.apply(t,arguments)}},b=m,w=b({}.toString),O=b("".slice),S=function(t){return O(w(t),8,-1)},_="object"==typeof document&&document.all,E=void 0===_&&void 0!==_?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},x=!c((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),j=Function.prototype.call,P=s?j.bind(j):function(){return j.apply(j,arguments)},A={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,C={f:k&&!A.call({1:2},1)?function(t){var e=k(this,t);return!!e&&e.enumerable}:A},R=Object,T=b("".split),I=c((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"===S(t)?T(t,""):R(t)}:R,M=function(t){return null==t},L=TypeError,F=I,B=function(t){if(M(t))throw new L("Can't call method on "+t);return t},H=E,N={},$=a,D=function(t){return H(t)?t:void 0},G=b({}.isPrototypeOf),K="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=$.process,q=$.Deno,X=z&&z.versions||q&&q.version,Y=X&&X.v8;Y&&(i=(o=Y.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&K&&(!(o=K.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=K.match(/Chrome\/(\d+)/))&&(i=+o[1]);var U=i,W=$.String,V=!!Object.getOwnPropertySymbols&&!c((function(){var t=Symbol("symbol detection");return!W(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),J=V,Q=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=function(t,e){return arguments.length<2?D(N[t])||D($[t]):N[t]&&N[t][e]||$[t]&&$[t][e]},tt=G,et=Q,rt=Object,nt=et?function(t){return"symbol"==typeof t}:function(t){var e=Z("Symbol");return H(e)&&tt(e.prototype,rt(t))},ot=String,it=function(t){try{return ot(t)}catch(t){return"Object"}},ut=TypeError,at=function(t){if(H(t))return t;throw new ut(it(t)+" is not a function")},ct=P,ft=function(t){return"object"==typeof t?null!==t:H(t)},st=TypeError,lt=Object.defineProperty,pt=function(t,e){try{lt($,t,{value:e,configurable:!0,writable:!0})}catch(r){$[t]=e}return e},ht=r((function(t){var e="__core-js_shared__",r=t.exports=$[e]||pt(e,{});(r.versions||(r.versions=[])).push({version:"3.37.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),yt=ht,vt=Object,dt=function(t){return vt(B(t))},gt=b({}.hasOwnProperty),mt=Object.hasOwn||function(t,e){return gt(dt(t),e)},bt=0,wt=Math.random(),Ot=b(1..toString),St=function(t,e){return yt[t]||(yt[t]=e||{})},_t=mt,Et=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ot(++bt+wt,36)},xt=$.Symbol,jt=St("wks"),Pt=et?xt.for||xt:xt&&xt.withoutSetter||Et,At=nt,kt=function(t,e){var r=t[e];return M(r)?void 0:at(r)},Ct=function(t,e){var r,n;if("string"===e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;if(H(r=t.valueOf)&&!ft(n=ct(r,t)))return n;if("string"!==e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;throw new st("Can't convert object to primitive value")},Rt=function(t){return _t(jt,t)||(jt[t]=J&&_t(xt,t)?xt[t]:Pt("Symbol."+t)),jt[t]},Tt=TypeError,It=Rt("toPrimitive"),Mt=function(t,e){if(!ft(t)||At(t))return t;var r,n=kt(t,It);if(n){if(void 0===e&&(e="default"),r=ct(n,t,e),!ft(r)||At(r))return r;throw new Tt("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ct(t,e)},Lt=$.document,Ft=ft(Lt)&&ft(Lt.createElement),Bt=x,Ht=function(t){return Ft?Lt.createElement(t):{}},Nt=!Bt&&!c((function(){return 7!==Object.defineProperty(Ht("div"),"a",{get:function(){return 7}}).a})),$t=C,Dt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Gt=function(t){return F(B(t))},Kt=function(t){var e=Mt(t,"string");return At(e)?e:e+""},zt=Nt,qt=Object.getOwnPropertyDescriptor,Xt={f:Bt?qt:function(t,e){if(t=Gt(t),e=Kt(e),zt)try{return qt(t,e)}catch(t){}if(_t(t,e))return Dt(!ct($t.f,t,e),t[e])}},Yt=/#|\.prototype\./,Ut=function(t,e){var r=Vt[Wt(t)];return r===Qt||r!==Jt&&(H(e)?c(e):!!e)},Wt=Ut.normalize=function(t){return String(t).replace(Yt,".").toLowerCase()},Vt=Ut.data={},Jt=Ut.NATIVE="N",Qt=Ut.POLYFILL="P",Zt=Ut,te=function(t){if("Function"===S(t))return b(t)},ee=te(te.bind),re=Bt&&c((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ne=String,oe=TypeError,ie=re,ue=function(t){if(ft(t))return t;throw new oe(ne(t)+" is not an object")},ae=TypeError,ce=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,se="enumerable",le="configurable",pe="writable",he={f:Bt?ie?function(t,e,r){if(ue(t),e=Kt(e),ue(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pe in r&&!r[pe]){var n=fe(t,e);n&&n[pe]&&(t[e]=r.value,r={configurable:le in r?r[le]:n[le],enumerable:se in r?r[se]:n[se],writable:!1})}return ce(t,e,r)}:ce:function(t,e,r){if(ue(t),e=Kt(e),ue(r),zt)try{return ce(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ae("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},ye=y,ve=Xt,de=Zt,ge=function(t,e){return at(t),void 0===e?t:s?ee(t,e):function(){return t.apply(e,arguments)}},me=Bt?function(t,e,r){return he.f(t,e,Dt(1,r))}:function(t,e,r){return t[e]=r,t},be=ve.f,we=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return ye(t,this,arguments)};return e.prototype=t.prototype,e},Oe=b([].slice),Se=Function,_e=b([].concat),Ee=b([].join),xe={},je=s?Se.bind:function(t){var e=at(this),r=e.prototype,n=Oe(arguments,1),o=function(){var r=_e(n,Oe(arguments));return this instanceof o?function(t,e,r){if(!_t(xe,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";xe[e]=Se("C,a","return new C("+Ee(n,",")+")")}return xe[e](t,r)}(e,r.length,r):e.apply(t,r)};return ft(r)&&(o.prototype=r),o},Pe={};Pe[Rt("toStringTag")]="z";var Ae="[object z]"===String(Pe),ke=Rt("toStringTag"),Ce=Object,Re="Arguments"===S(function(){return arguments}()),Te=Ae?S:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Ce(t),ke))?r:Re?S(e):"Object"===(n=S(e))&&H(e.callee)?"Arguments":n},Ie=b(Function.toString);H(yt.inspectSource)||(yt.inspectSource=function(t){return Ie(t)});var Me=yt.inspectSource,Le=Te,Fe=Me,Be=function(){},He=Z("Reflect","construct"),Ne=/^\s*(?:class|function)\b/,$e=b(Ne.exec),De=!Ne.test(Be),Ge=function(t){if(!H(t))return!1;try{return He(Be,[],t),!0}catch(t){return!1}},Ke=function(t){if(!H(t))return!1;switch(Le(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return De||!!$e(Ne,Fe(t))}catch(t){return!0}};Ke.sham=!0;var ze,qe=!He||c((function(){var t;return Ge(Ge.call)||!Ge(Object)||!Ge((function(){t=!0}))||t}))?Ke:Ge,Xe=TypeError,Ye=Math.ceil,Ue=Math.floor,We=Math.trunc||function(t){var e=+t;return(e>0?Ue:Ye)(e)},Ve=function(t){var e=+t;return e!=e||0===e?0:We(e)},Je=Math.max,Qe=Math.min,Ze=Math.min,tr=function(t){var e=Ve(t);return e>0?Ze(e,9007199254740991):0},er=function(t,e){var r=Ve(t);return r<0?Je(r+e,0):Qe(r,e)},rr=function(t){return tr(t.length)},nr=function(t){return function(e,r,n){var o=Gt(e),i=rr(o);if(0===i)return!t&&-1;var u,a=er(n,i);if(t&&r!=r){for(;i>a;)if((u=o[a++])!=u)return!0}else for(;i>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},or={includes:nr(!0),indexOf:nr(!1)},ir={},ur=or.indexOf,ar=b([].push),cr=function(t,e){var r,n=Gt(t),o=0,i=[];for(r in n)!_t(ir,r)&&_t(n,r)&&ar(i,r);for(;e.length>o;)_t(n,r=e[o++])&&(~ur(i,r)||ar(i,r));return i},fr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],sr=Object.keys||function(t){return cr(t,fr)},lr=Bt&&!ie?Object.defineProperties:function(t,e){ue(t);for(var r,n=Gt(e),o=sr(e),i=o.length,u=0;i>u;)he.f(t,r=o[u++],n[r]);return t},pr={f:lr},hr=Z("document","documentElement"),yr=St("keys"),vr=pr,dr=hr,gr=function(t){return yr[t]||(yr[t]=Et(t))},mr="prototype",br="script",wr=gr("IE_PROTO"),Or=function(){},Sr=function(t){return"<"+br+">"+t+"</"+br+">"},_r=function(t){t.write(Sr("")),t.close();var e=t.parentWindow.Object;return t=null,e},Er=function(){try{ze=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Er="undefined"!=typeof document?document.domain&&ze?_r(ze):(e=Ht("iframe"),r="java"+br+":",e.style.display="none",dr.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Sr("document.F=Object")),t.close(),t.F):_r(ze);for(var n=fr.length;n--;)delete Er[mr][fr[n]];return Er()};ir[wr]=!0;var xr=Object.create||function(t,e){var r;return null!==t?(Or[mr]=ue(t),r=new Or,Or[mr]=null,r[wr]=t):r=Er(),void 0===e?r:vr.f(r,e)},jr=function(t,e){var r,n,o,i,u,a,c,f,s,l=t.target,p=t.global,h=t.stat,y=t.proto,v=p?$:h?$[l]:$[l]&&$[l].prototype,d=p?N:N[l]||me(N,l,{})[l],g=d.prototype;for(i in e)n=!(r=de(p?i:l+(h?".":"#")+i,t.forced))&&v&&_t(v,i),a=d[i],n&&(c=t.dontCallGetSet?(s=be(v,i))&&s.value:v[i]),u=n&&c?c:e[i],(r||y||typeof a!=typeof u)&&(f=t.bind&&n?ge(u,$):t.wrap&&n?we(u):y&&H(u)?te(u):u,(t.sham||u&&u.sham||a&&a.sham)&&me(f,"sham",!0),me(d,i,f),y&&(_t(N,o=l+"Prototype")||me(N,o,{}),me(N[o],i,u),t.real&&g&&(r||!g[i])&&me(g,i,u)))},Pr=je,Ar=function(t){if(qe(t))return t;throw new Xe(it(t)+" is not a constructor")},kr=xr,Cr=Z("Reflect","construct"),Rr=Object.prototype,Tr=[].push,Ir=c((function(){function t(){}return!(Cr((function(){}),[],t)instanceof t)})),Mr=!c((function(){Cr((function(){}))})),Lr=Ir||Mr;jr({target:"Reflect",stat:!0,forced:Lr,sham:Lr},{construct:function(t,e){Ar(t),ue(e);var r=arguments.length<3?t:Ar(arguments[2]);if(Mr&&!Ir)return Cr(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return ye(Tr,n,e),new(ye(Pr,t,n))}var o=r.prototype,i=kr(ft(o)?o:Rr),u=ye(t,i,e);return ft(u)?u:i}});var Fr=N.Reflect.construct,Br=e(r((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}))),Hr=he.f;jr({target:"Object",stat:!0,forced:Object.defineProperty!==Hr,sham:!Bt},{defineProperty:Hr});var Nr=r((function(t){var e=N.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),$r=Nr,Dr=$r,Gr=Dr,Kr=Array.isArray||function(t){return"Array"===S(t)},zr=TypeError,qr=Kr,Xr=Rt("species"),Yr=Array,Ur=function(t){var e;return qr(t)&&(e=t.constructor,(qe(e)&&(e===Yr||qr(e.prototype))||ft(e)&&null===(e=e[Xr]))&&(e=void 0)),void 0===e?Yr:e},Wr=Rt("species"),Vr=function(t){if(t>9007199254740991)throw zr("Maximum allowed index exceeded");return t},Jr=function(t,e,r){Bt?he.f(t,e,Dt(0,r)):t[e]=r},Qr=function(t,e){return new(Ur(t))(0===e?0:e)},Zr=function(t){return U>=51||!c((function(){var e=[];return(e.constructor={})[Wr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},tn=Rt("isConcatSpreadable"),en=U>=51||!c((function(){var t=[];return t[tn]=!1,t.concat()[0]!==t})),rn=function(t){if(!ft(t))return!1;var e=t[tn];return void 0!==e?!!e:qr(t)},nn=!en||!Zr("concat");jr({target:"Array",proto:!0,arity:1,forced:nn},{concat:function(t){var e,r,n,o,i,u=dt(this),a=Qr(u,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(rn(i=-1===e?u:arguments[e]))for(o=rr(i),Vr(c+o),r=0;r<o;r++,c++)r in i&&Jr(a,c,i[r]);else Vr(c+1),Jr(a,c++,i);return a.length=c,a}});var on,un,an,cn=Object.freeze({__proto__:null}),fn=String,sn=fr.concat("length","prototype"),ln={f:Object.getOwnPropertyNames||function(t){return cr(t,sn)}},pn=ln.f,hn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yn={f:function(t){return hn&&"Window"===S(t)?function(t){try{return pn(t)}catch(t){return Oe(hn)}}(t):pn(Gt(t))}},vn={f:Object.getOwnPropertySymbols},dn={f:Rt},gn=he.f,mn=function(t,e,r,n){return n&&n.enumerable?t[e]=r:me(t,e,r),t},bn=Ae?{}.toString:function(){return"[object "+Le(this)+"]"},wn=he.f,On=Rt("toStringTag"),Sn=$.WeakMap,_n=H(Sn)&&/native code/.test(String(Sn)),En="Object already initialized",xn=$.TypeError,jn=$.WeakMap;if(_n||yt.state){var Pn=yt.state||(yt.state=new jn);Pn.get=Pn.get,Pn.has=Pn.has,Pn.set=Pn.set,on=function(t,e){if(Pn.has(t))throw new xn(En);return e.facade=t,Pn.set(t,e),e},un=function(t){return Pn.get(t)||{}},an=function(t){return Pn.has(t)}}else{var An=gr("state");ir[An]=!0,on=function(t,e){if(_t(t,An))throw new xn(En);return e.facade=t,me(t,An,e),e},un=function(t){return _t(t,An)?t[An]:{}},an=function(t){return _t(t,An)}}var kn={set:on,get:un,has:an,enforce:function(t){return an(t)?un(t):on(t,{})},getterFor:function(t){return function(e){var r;if(!ft(e)||(r=un(e)).type!==t)throw new xn("Incompatible receiver, "+t+" required");return r}}},Cn=b([].push),Rn=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,s,l){for(var p,h,y=dt(c),v=F(y),d=rr(v),g=ge(f,s),m=0,b=l||Qr,w=e?b(c,d):r||u?b(c,0):void 0;d>m;m++)if((a||m in v)&&(h=g(p=v[m],m,y),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Cn(w,p)}else switch(t){case 4:return!1;case 7:Cn(w,p)}return i?-1:n||o?o:w}},Tn={forEach:Rn(0),map:Rn(1),filter:Rn(2),some:Rn(3),every:Rn(4),find:Rn(5),findIndex:Rn(6),filterReject:Rn(7)},In=function(t){if("Symbol"===Le(t))throw new TypeError("Cannot convert a Symbol value to a string");return fn(t)},Mn=yn,Ln=vn,Fn=function(t,e,r){return he.f(t,e,r)},Bn=function(t){var e=N.Symbol||(N.Symbol={});_t(e,t)||gn(e,t,{value:dn.f(t)})},Hn=function(){var t=Z("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Rt("toPrimitive");e&&!e[n]&&mn(e,n,(function(t){return ct(r,this)}),{arity:1})},Nn=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(_t(o,On)||wn(o,On,{configurable:!0,value:e}),n&&!Ae&&me(o,"toString",bn))},$n=kn,Dn=Tn,Gn=Dn.forEach,Kn=gr("hidden"),zn="Symbol",qn="prototype",Xn=$n.set,Yn=$n.getterFor(zn),Un=Object[qn],Wn=$.Symbol,Vn=Wn&&Wn[qn],Jn=$.RangeError,Qn=$.TypeError,Zn=$.QObject,to=ve.f,eo=he.f,ro=Mn.f,no=$t.f,oo=b([].push),io=St("symbols"),uo=St("op-symbols"),ao=St("wks"),co=!Zn||!Zn[qn]||!Zn[qn].findChild,fo=function(t,e,r){var n=to(Un,e);n&&delete Un[e],eo(t,e,r),n&&t!==Un&&eo(Un,e,n)},so=Bt&&c((function(){return 7!==kr(eo({},"a",{get:function(){return eo(this,"a",{value:7}).a}})).a}))?fo:eo,lo=function(t,e){var r=io[t]=kr(Vn);return Xn(r,{type:zn,tag:t,description:e}),Bt||(r.description=e),r},po=function(t,e,r){t===Un&&po(uo,e,r),ue(t);var n=Kt(e);return ue(r),_t(io,n)?(r.enumerable?(_t(t,Kn)&&t[Kn][n]&&(t[Kn][n]=!1),r=kr(r,{enumerable:Dt(0,!1)})):(_t(t,Kn)||eo(t,Kn,Dt(1,kr(null))),t[Kn][n]=!0),so(t,n,r)):eo(t,n,r)},ho=function(t,e){ue(t);var r=Gt(e),n=sr(r).concat(mo(r));return Gn(n,(function(e){Bt&&!ct(yo,r,e)||po(t,e,r[e])})),t},yo=function(t){var e=Kt(t),r=ct(no,this,e);return!(this===Un&&_t(io,e)&&!_t(uo,e))&&(!(r||!_t(this,e)||!_t(io,e)||_t(this,Kn)&&this[Kn][e])||r)},vo=function(t,e){var r=Gt(t),n=Kt(e);if(r!==Un||!_t(io,n)||_t(uo,n)){var o=to(r,n);return!o||!_t(io,n)||_t(r,Kn)&&r[Kn][n]||(o.enumerable=!0),o}},go=function(t){var e=ro(Gt(t)),r=[];return Gn(e,(function(t){_t(io,t)||_t(ir,t)||oo(r,t)})),r},mo=function(t){var e=t===Un,r=ro(e?uo:Gt(t)),n=[];return Gn(r,(function(t){!_t(io,t)||e&&!_t(Un,t)||oo(n,io[t])})),n};J||(Wn=function(){if(tt(Vn,this))throw new Qn("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?In(arguments[0]):void 0,e=Et(t),r=function(t){var n=void 0===this?$:this;n===Un&&ct(r,uo,t),_t(n,Kn)&&_t(n[Kn],e)&&(n[Kn][e]=!1);var o=Dt(1,t);try{so(n,e,o)}catch(t){if(!(t instanceof Jn))throw t;fo(n,e,o)}};return Bt&&co&&so(Un,e,{configurable:!0,set:r}),lo(e,t)},Vn=Wn[qn],mn(Vn,"toString",(function(){return Yn(this).tag})),mn(Wn,"withoutSetter",(function(t){return lo(Et(t),t)})),$t.f=yo,he.f=po,vr.f=ho,ve.f=vo,ln.f=Mn.f=go,Ln.f=mo,dn.f=function(t){return lo(Rt(t),t)},Bt&&Fn(Vn,"description",{configurable:!0,get:function(){return Yn(this).description}})),jr({global:!0,constructor:!0,wrap:!0,forced:!J,sham:!J},{Symbol:Wn}),Gn(sr(ao),(function(t){Bn(t)})),jr({target:zn,stat:!0,forced:!J},{useSetter:function(){co=!0},useSimple:function(){co=!1}}),jr({target:"Object",stat:!0,forced:!J,sham:!Bt},{create:function(t,e){return void 0===e?kr(t):ho(kr(t),e)},defineProperty:po,defineProperties:ho,getOwnPropertyDescriptor:vo}),jr({target:"Object",stat:!0,forced:!J},{getOwnPropertyNames:go}),Hn(),Nn(Wn,zn),ir[Kn]=!0;var bo=J&&!!Symbol.for&&!!Symbol.keyFor,wo=St("string-to-symbol-registry"),Oo=St("symbol-to-string-registry");jr({target:"Symbol",stat:!0,forced:!bo},{for:function(t){var e=In(t);if(_t(wo,e))return wo[e];var r=Z("Symbol")(e);return wo[e]=r,Oo[r]=e,r}});var So=St("symbol-to-string-registry");jr({target:"Symbol",stat:!0,forced:!bo},{keyFor:function(t){if(!At(t))throw new TypeError(it(t)+" is not a symbol");if(_t(So,t))return So[t]}});var _o=b([].push),Eo=function(t){if(H(t))return t;if(qr(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?_o(r,o):"number"!=typeof o&&"Number"!==S(o)&&"String"!==S(o)||_o(r,In(o))}var i=r.length,u=!0;return function(t,e){if(u)return u=!1,e;if(qr(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},xo=String,jo=Z("JSON","stringify"),Po=b(/./.exec),Ao=b("".charAt),ko=b("".charCodeAt),Co=b("".replace),Ro=b(1..toString),To=/[\uD800-\uDFFF]/g,Io=/^[\uD800-\uDBFF]$/,Mo=/^[\uDC00-\uDFFF]$/,Lo=!J||c((function(){var t=Z("Symbol")("stringify detection");return"[null]"!==jo([t])||"{}"!==jo({a:t})||"{}"!==jo(Object(t))})),Fo=c((function(){return'"\\udf06\\ud834"'!==jo("\udf06\ud834")||'"\\udead"'!==jo("\udead")})),Bo=function(t,e){var r=Oe(arguments),n=Eo(e);if(H(n)||void 0!==t&&!At(t))return r[1]=function(t,e){if(H(n)&&(e=ct(n,this,xo(t),e)),!At(e))return e},ye(jo,null,r)},Ho=function(t,e,r){var n=Ao(r,e-1),o=Ao(r,e+1);return Po(Io,t)&&!Po(Mo,o)||Po(Mo,t)&&!Po(Io,n)?"\\u"+Ro(ko(t,0),16):t};jo&&jr({target:"JSON",stat:!0,arity:3,forced:Lo||Fo},{stringify:function(t,e,r){var n=Oe(arguments),o=ye(Lo?Bo:jo,null,n);return Fo&&"string"==typeof o?Co(o,To,Ho):o}});var No=!J||c((function(){Ln.f(1)}));jr({target:"Object",stat:!0,forced:No},{getOwnPropertySymbols:function(t){var e=Ln.f;return e?e(dt(t)):[]}}),Bn("asyncIterator");var $o=Object.freeze({__proto__:null});Bn("hasInstance"),Bn("isConcatSpreadable"),Bn("iterator"),Bn("match"),Bn("matchAll"),Bn("replace"),Bn("search"),Bn("species"),Bn("split"),Bn("toPrimitive"),Hn(),Bn("toStringTag"),Nn(Z("Symbol"),"Symbol"),Bn("unscopables"),Nn($.JSON,"JSON",!0);var Do=Object.freeze({__proto__:null}),Go=Object.freeze({__proto__:null});n(cn),n($o),n(Do),n(Go);var Ko,zo,qo,Xo=N.Symbol,Yo=Function.prototype,Uo=Bt&&Object.getOwnPropertyDescriptor,Wo=_t(Yo,"name"),Vo={EXISTS:Wo,PROPER:Wo&&"something"===function(){}.name,CONFIGURABLE:Wo&&(!Bt||Bt&&Uo(Yo,"name").configurable)},Jo=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Qo=gr("IE_PROTO"),Zo=Object,ti=Zo.prototype,ei=Jo?Zo.getPrototypeOf:function(t){var e=dt(t);if(_t(e,Qo))return e[Qo];var r=e.constructor;return H(r)&&e instanceof r?r.prototype:e instanceof Zo?ti:null},ri=Rt("iterator"),ni=!1;[].keys&&("next"in(qo=[].keys())?(zo=ei(ei(qo)))!==Object.prototype&&(Ko=zo):ni=!0);var oi=!ft(Ko)||c((function(){var t={};return Ko[ri].call(t)!==t}));Ko=oi?{}:kr(Ko),H(Ko[ri])||mn(Ko,ri,(function(){return this}));var ii={IteratorPrototype:Ko,BUGGY_SAFARI_ITERATORS:ni},ui={},ai=ii.IteratorPrototype,ci=function(){return this},fi=function(t){return ft(t)||null===t},si=String,li=TypeError,pi=function(t,e,r){try{return b(at(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hi=function(t){if(fi(t))return t;throw new li("Can't set "+si(t)+" as a prototype")},yi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=pi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return B(r),hi(n),ft(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),vi=Vo,di=function(t,e,r,n){var o=e+" Iterator";return t.prototype=kr(ai,{next:Dt(+!n,r)}),Nn(t,o,!1,!0),ui[o]=ci,t},gi=yi,mi=vi.PROPER,bi=ii.BUGGY_SAFARI_ITERATORS,wi=Rt("iterator"),Oi="keys",Si="values",_i="entries",Ei=function(){return this},xi=function(){},ji=function(t,e,r,n,o,i,u){di(r,e,n);var a,c,f,s=function(t){if(t===o&&v)return v;if(!bi&&t&&t in h)return h[t];switch(t){case Oi:case Si:case _i:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,h=t.prototype,y=h[wi]||h["@@iterator"]||o&&h[o],v=!bi&&y||s(o),d="Array"===e&&h.entries||y;if(d&&(a=ei(d.call(new t)))!==Object.prototype&&a.next&&(Nn(a,l,!0,!0),ui[l]=Ei),mi&&o===Si&&y&&y.name!==Si&&(p=!0,v=function(){return ct(y,this)}),o)if(c={values:s(Si),keys:i?v:s(Oi),entries:s(_i)},u)for(f in c)(bi||p||!(f in h))&&mn(h,f,c[f]);else jr({target:e,proto:!0,forced:bi||p},c);return u&&h[wi]!==v&&mn(h,wi,v,{name:o}),ui[e]=v,c},Pi=function(t,e){return{value:t,done:e}},Ai=(he.f,"Array Iterator"),ki=$n.set,Ci=$n.getterFor(Ai);ji(Array,"Array",(function(t,e){ki(this,{type:Ai,target:Gt(t),index:0,kind:e})}),(function(){var t=Ci(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Pi(void 0,!0);switch(t.kind){case"keys":return Pi(r,!1);case"values":return Pi(e[r],!1)}return Pi([r,e[r]],!1)}),"values");ui.Arguments=ui.Array;xi(),xi(),xi();var Ri={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};for(var Ti in Ri)Nn($[Ti],Ti),ui[Ti]=ui.Array;var Ii=Xo,Mi=he.f,Li=Rt("metadata"),Fi=Function.prototype;void 0===Fi[Li]&&Mi(Fi,Li,{value:null}),Bn("asyncDispose"),Bn("dispose"),Bn("metadata");var Bi=Ii,Hi=Z("Symbol"),Ni=Hi.keyFor,$i=b(Hi.prototype.valueOf),Di=Hi.isRegisteredSymbol||function(t){try{return void 0!==Ni($i(t))}catch(t){return!1}};jr({target:"Symbol",stat:!0},{isRegisteredSymbol:Di});for(var Gi=Z("Symbol"),Ki=Gi.isWellKnownSymbol,zi=Z("Object","getOwnPropertyNames"),qi=b(Gi.prototype.valueOf),Xi=St("wks"),Yi=0,Ui=zi(Gi),Wi=Ui.length;Yi<Wi;Yi++)try{var Vi=Ui[Yi];At(Gi[Vi])&&Rt(Vi)}catch(t){}var Ji=function(t){if(Ki&&Ki(t))return!0;try{for(var e=qi(t),r=0,n=zi(Xi),o=n.length;r<o;r++)if(Xi[n[r]]==e)return!0}catch(t){}return!1};jr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ji}),Bn("customMatcher"),Bn("observable"),jr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Di}),jr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ji}),Bn("matcher"),Bn("metadataKey"),Bn("patternMatch"),Bn("replaceAll");var Qi=Bi,Zi=Qi,tu=b("".charAt),eu=b("".charCodeAt),ru=b("".slice),nu=function(t){return function(e,r){var n,o,i=In(B(e)),u=Ve(r),a=i.length;return u<0||u>=a?t?"":void 0:(n=eu(i,u))<55296||n>56319||u+1===a||(o=eu(i,u+1))<56320||o>57343?t?tu(i,u):n:t?ru(i,u,u+2):o-56320+(n-55296<<10)+65536}},ou={codeAt:nu(!1),charAt:nu(!0)}.charAt,iu="String Iterator",uu=$n.set,au=$n.getterFor(iu);ji(String,"String",(function(t){uu(this,{type:iu,string:In(t),index:0})}),(function(){var t,e=au(this),r=e.string,n=e.index;return n>=r.length?Pi(void 0,!0):(t=ou(r,n),e.index+=t.length,Pi(t,!1))}));var cu=dn.f("iterator"),fu=Qi,su=cu,lu=r((function(t){function e(r){return t.exports=e="function"==typeof fu&&"symbol"==typeof su?function(t){return typeof t}:function(t){return t&&"function"==typeof fu&&t.constructor===fu&&t!==fu.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(lu);var pu=dn.f("toPrimitive"),hu=pu,yu=r((function(t){var e=lu.default;t.exports=function(t,r){if("object"!=e(t)||!t)return t;var n=t[hu];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}));e(yu);var vu=r((function(t){var e=lu.default;t.exports=function(t){var r=yu(t,"string");return"symbol"==e(r)?r:r+""},t.exports.__esModule=!0,t.exports.default=t.exports}));e(vu);var du=r((function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Dr(t,vu(n.key),n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Dr(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports})),gu=e(du),mu=r((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}));e(mu);var bu=r((function(t){var e=lu.default;t.exports=function(t,r){if(r&&("object"==e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return mu(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),wu=e(bu);jr({target:"Object",stat:!0},{setPrototypeOf:gi});var Ou=N.Object.setPrototypeOf,Su=Ou;jr({target:"Function",proto:!0,forced:Function.bind!==Pr},{bind:Pr});var _u=function(t,e){var r=N[t+"Prototype"],n=r&&r[e];if(n)return n;var o=$[t],i=o&&o.prototype;return i&&i[e]},Eu=_u("Function","bind"),xu=Function.prototype,ju=function(t){var e=t.bind;return t===xu||tt(xu,t)&&e===xu.bind?Eu:e},Pu=ju,Au=c((function(){ei(1)}));jr({target:"Object",stat:!0,forced:Au,sham:!Jo},{getPrototypeOf:function(t){return ei(dt(t))}});var ku=N.Object.getPrototypeOf,Cu=Ou,Ru=ju,Tu=ku,Iu=r((function(t){function e(r){var n;return t.exports=e=Cu?Ru(n=Tu).call(n):function(t){return t.__proto__||Tu(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),Mu=e(Iu);jr({target:"Object",stat:!0,sham:!Bt},{create:kr});var Lu=N.Object,Fu=function(t,e){return Lu.create(t,e)},Bu=Fu,Hu=r((function(t){function e(r,n){var o;return t.exports=e=Cu?Ru(o=Cu).call(o):function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(Hu);var Nu=Fu,$u=e(r((function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Nu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Dr(t,"prototype",{writable:!1}),e&&Hu(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports}))),Du=e(r((function(t){t.exports=function(t,e,r){return(e=vu(e))in t?Dr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Gu=function(t,e){var r=[][t];return!!r&&c((function(){r.call(null,e||function(){return 1},1)}))},Ku=or.indexOf,zu=te([].indexOf),qu=!!zu&&1/zu([1],1,-0)<0,Xu=qu||!Gu("indexOf");jr({target:"Array",proto:!0,forced:Xu},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return qu?zu(this,t,e)||0:Ku(this,t,e)}});var Yu=_u("Array","indexOf"),Uu=Array.prototype,Wu=function(t){var e=t.indexOf;return t===Uu||tt(Uu,t)&&e===Uu.indexOf?Yu:e};function Vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ju(t){return Ju="function"==typeof Zi&&"symbol"==typeof cu?function(t){return typeof t}:function(t){return t&&"function"==typeof Zi&&t.constructor===Zi&&t!==Zi.prototype?"symbol":typeof t},Ju(t)}function Qu(t){var e=function(t,e){if("object"!=Ju(t)||!t)return t;var r=t[pu];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ju(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ju(e)?e:e+""}function Zu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Gr(t,Qu(n.key),n)}}function ta(t,e,r){return e&&Zu(t.prototype,e),r&&Zu(t,r),Gr(t,"prototype",{writable:!1}),t}function ea(t,e){if(e&&("object"==Ju(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function ra(t){var e;return ra=Su?Pu(e=ku).call(e):function(t){return t.__proto__||ku(t)},ra(t)}function na(t,e){var r;return na=Su?Pu(r=Su).call(r):function(t,e){return t.__proto__=e,t},na(t,e)}function oa(t,e,r){return(e=Qu(e))in t?Gr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ia=Dn.filter,ua=Zr("filter");jr({target:"Array",proto:!0,forced:!ua},{filter:function(t){return ia(this,t,arguments.length>1?arguments[1]:void 0)}});var aa=_u("Array","filter"),ca=Array.prototype,fa=function(t){var e=t.filter;return t===ca||tt(ca,t)&&e===ca.filter?aa:e},sa=Dn.map,la=Zr("map");jr({target:"Array",proto:!0,forced:!la},{map:function(t){return sa(this,t,arguments.length>1?arguments[1]:void 0)}});var pa=_u("Array","map"),ha=Array.prototype,ya=function(t){var e=t.map;return t===ha||tt(ha,t)&&e===ha.map?pa:e},va=_u("Array","concat"),da=Array.prototype,ga=function(t){var e=t.concat;return t===da||tt(da,t)&&e===da.concat?va:e},ma="\t\n\v\f\r \u2028\u2029\ufeff",ba=b("".replace),wa=RegExp("^["+ma+"]+"),Oa=RegExp("(^|[^"+ma+"])["+ma+"]+$"),Sa=function(t){return function(e){var r=In(B(e));return 1&t&&(r=ba(r,wa,"")),2&t&&(r=ba(r,Oa,"$1")),r}},_a={start:Sa(1),end:Sa(2),trim:Sa(3)},Ea=vi.PROPER,xa=_a,ja=xa.trim;jr({target:"String",proto:!0,forced:function(t){return c((function(){return!!ma[t]()||"
"!=="
"[t]()||Ea&&ma[t].name!==t}))}("trim")},{trim:function(){return ja(this)}});var Pa=_u("String","trim"),Aa=String.prototype,ka=function(t){var e=t.trim;return"string"==typeof t||t===Aa||tt(Aa,t)&&e===Aa.trim?Pa:e},Ca=xa.trim,Ra=$.parseInt,Ta=$.Symbol,Ia=Ta&&Ta.iterator,Ma=/^[+-]?0x/i,La=b(Ma.exec),Fa=8!==Ra(ma+"08")||22!==Ra(ma+"0x16")||Ia&&!c((function(){Ra(Object(Ia))}))?function(t,e){var r=Ca(In(t));return Ra(r,e>>>0||(La(Ma,r)?16:10))}:Ra;jr({global:!0,forced:parseInt!==Fa},{parseInt:Fa});var Ba=N.parseInt,Ha="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Na=TypeError,$a=Ha,Da=function(t,e){if(t<e)throw new Na("Not enough arguments");return t},Ga=$.Function,Ka=/MSIE .\./.test(K)||$a&&function(){var t=$.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),za=function(t,e){var r=e?2:1;return Ka?function(n,o){var i=Da(arguments.length,1)>r,u=H(n)?n:Ga(n),a=i?Oe(arguments,r):[],c=i?function(){ye(u,this,a)}:u;return e?t(c,o):t(c)}:t},qa=za($.setInterval,!0);jr({global:!0,bind:!0,forced:$.setInterval!==qa},{setInterval:qa});var Xa=za($.setTimeout,!0);jr({global:!0,bind:!0,forced:$.setTimeout!==Xa},{setTimeout:Xa});var Ya=N.setTimeout,Ua=!1,Wa="paragraph",Va="sentence",Ja=function(){return ta((function t(e){Vu(this,t),oa(this,"$engine",void 0),oa(this,"$locale",void 0),this.RULE=this.rule(e)}),[{key:"getType",value:function(){return this.constructor.HOOK_TYPE||Va}},{key:"getName",value:function(){return this.constructor.HOOK_NAME}},{key:"afterInit",value:function(t){"function"==typeof t&&t()}},{key:"setLocale",value:function(t){this.$locale=t}},{key:"beforeMakeHtml",value:function(t){return t}},{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t}},{key:"onKeyDown",value:function(t,e){}},{key:"getOnKeyDown",value:function(){return this.onKeyDown||!1}},{key:"getAttributesTest",value:function(){return/^(color|fontSize|font-size|id|title|class|target|underline|line-through|overline|sub|super)$/}},{key:"$testAttributes",value:function(t,e){this.getAttributesTest().test(t)&&e()}},{key:"getAttributes",value:function(t){return{attrs:{},str:t}}},{key:"test",value:function(t){return!!this.RULE.reg&&this.RULE.reg.test(t)}},{key:"rule",value:function(t){return{begin:"",end:"",content:"",reg:new RegExp("")}}},{key:"mounted",value:function(){}}],[{key:"getMathJaxConfig",value:function(){return Ua}},{key:"setMathJaxConfig",value:function(t){Ua=t}}])}();oa(Ja,"HOOK_NAME","default"),oa(Ja,"HOOK_TYPE",Va);var Qa=N.Object.getOwnPropertySymbols,Za=ve.f,tc=!Bt||c((function(){Za(1)}));jr({target:"Object",stat:!0,forced:tc,sham:!Bt},{getOwnPropertyDescriptor:function(t,e){return Za(Gt(t),e)}});var ec=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),rc=ec,nc=Dn.forEach,oc=Gu("forEach")?[].forEach:function(t){return nc(this,t,arguments.length>1?arguments[1]:void 0)};jr({target:"Array",proto:!0,forced:[].forEach!==oc},{forEach:oc});var ic=_u("Array","forEach");n(Object.freeze({__proto__:null}));var uc=Array.prototype,ac={DOMTokenList:!0,NodeList:!0},cc=function(t){var e=t.forEach;return t===uc||tt(uc,t)&&e===uc.forEach||_t(ac,Le(t))?ic:e},fc=b([].concat),sc=Z("Reflect","ownKeys")||function(t){var e=ln.f(ue(t)),r=Ln.f;return r?fc(e,r(t)):e},lc=sc;jr({target:"Object",stat:!0,sham:!Bt},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Gt(t),o=ve.f,i=lc(n),u={},a=0;i.length>a;)void 0!==(r=o(n,e=i[a++]))&&Jr(u,e,r);return u}});var pc=N.Object.getOwnPropertyDescriptors,hc=vr.f;jr({target:"Object",stat:!0,forced:Object.defineProperties!==hc,sham:!Bt},{defineProperties:hc});var yc=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),vc=yc,dc=$r,gc=c((function(){sr(1)}));jr({target:"Object",stat:!0,forced:gc},{keys:function(t){return sr(dt(t))}});var mc,bc,wc=N.Object.keys;function Oc(t,e){var r=wc(t);if(Qa){var n=Qa(t);e&&(n=fa(n).call(n,(function(e){return rc(t,e).enumerable}))),r.push.apply(r,n)}return r}function Sc(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?cc(r=Oc(Object(o),!0)).call(r,(function(e){oa(t,e,o[e])})):pc?vc(t,pc(o)):cc(n=Oc(Object(o))).call(n,(function(e){dc(t,e,rc(o,e))}))}return t}var _c=Sc(Sc(Sc(Sc(Sc(Sc({},{34:""",38:"&",39:"'",60:"<",62:">"}),{192:"À",193:"Á",194:"Â",195:"Ã",196:"Ä",197:"Å",198:"Æ",199:"Ç",200:"È",201:"É",202:"Ê",203:"Ë",204:"Ì",205:"Í",206:"Î",207:"Ï",208:"Ð",209:"Ñ",210:"Ò",211:"Ó",212:"Ô",213:"Õ",214:"Ö",216:"Ø",217:"Ù",218:"Ú",219:"Û",220:"Ü",221:"Ý",222:"Þ",223:"ß",224:"à",225:"á",226:"â",227:"ã",228:"ä",229:"å",230:"æ",231:"ç",232:"è",233:"é",234:"ê",235:"ë",236:"ì",237:"í",238:"î",239:"ï",240:"ð",241:"ñ",242:"ò",243:"ó",244:"ô",245:"õ",246:"ö",248:"ø",249:"ù",250:"ú",251:"û",252:"ü",253:"ý",254:"þ",255:"ÿ"}),{160:" ",161:"¡",162:"¢",163:"£",164:"¤",165:"¥",166:"¦",167:"§",168:"¨",169:"©",170:"ª",171:"«",172:"¬",173:"­",174:"®",175:"¯",176:"°",177:"±",178:"²",179:"³",180:"´",181:"µ",182:"¶",184:"¸",185:"¹",186:"º",187:"»",188:"¼",189:"½",190:"¾",191:"¿",215:"×",247:"÷"}),{8704:"∀",8706:"∂",8707:"∃",8709:"∅",8711:"∇",8712:"∈",8713:"∉",8715:"∋",8719:"∏",8721:"∑",8722:"−",8727:"∗",8730:"√",8733:"∝",8734:"∞",8736:"∠",8743:"∧",8744:"∨",8745:"∩",8746:"∪",8747:"∫",8756:"∴",8764:"∼",8773:"≅",8776:"≈",8800:"≠",8801:"≡",8804:"≤",8805:"≥",8834:"⊂",8835:"⊃",8836:"⊄",8838:"⊆",8839:"⊇",8853:"⊕",8855:"⊗",8869:"⊥",8901:"⋅"}),{913:"Α",914:"Β",915:"Γ",916:"Δ",917:"Ε",918:"Ζ",919:"Η",920:"Θ",921:"Ι",922:"Κ",923:"Λ",924:"Μ",925:"Ν",926:"Ξ",927:"Ο",928:"Π",929:"Ρ",931:"Σ",932:"Τ",933:"Υ",934:"Φ",935:"Χ",936:"Ψ",937:"Ω",945:"α",946:"β",947:"γ",948:"δ",949:"ε",950:"ζ",951:"η",952:"θ",953:"ι",954:"κ",955:"λ",956:"μ",957:"ν",958:"ξ",959:"ο",960:"π",961:"ρ",962:"ς",963:"σ",964:"τ",965:"υ",966:"φ",967:"χ",968:"ψ",969:"ω",977:"ϑ",978:"ϒ",982:"ϖ"}),{338:"Œ",339:"œ",352:"Š",353:"š",376:"Ÿ",402:"ƒ",710:"ˆ",732:"˜",8194:" ",8195:" ",8201:" ",8204:"‌",8205:"‍",8206:"‎",8207:"‏",8211:"–",8212:"—",8216:"‘",8217:"’",8218:"‚",8220:"“",8221:"”",8222:"„",8224:"†",8225:"‡",8226:"•",8230:"…",8240:"‰",8242:"′",8243:"″",8249:"‹",8250:"›",8254:"‾",8364:"€",8482:"™",8592:"←",8593:"↑",8594:"→",8595:"↓",8596:"↔",8629:"↵",8968:"⌈",8969:"⌉",8970:"⌊",8971:"⌋",9674:"◊",9824:"♠",9827:"♣",9829:"♥",9830:"♦"}),Ec=wc(_c);ya(Ec).call(Ec,(function(t){return _c[t].replace(/^&(\w+);$/g,(function(t,e){return e.toLowerCase()}))}));var xc=["h1|h2|h3|h4|h5|h6","ul|ol|li|dd|dl|dt","table|thead|tbody|tfoot|col|colgroup|th|td|tr","div|article|section|footer|aside|details|summary|code|audio|video|canvas|figure","address|center|cite|p|pre|blockquote|marquee|caption|figcaption|track|source|output|svg"].join("|"),jc=["span|a|link|b|s|i|del|u|em|strong|sup|sub|kbd","nav|font|bdi|samp|map|area|small|time|bdo|var|wbr|meter|dfn","ruby|rt|rp|mark|q|progress|input|textarea|select|ins"].join("|");function Pc(t,e,r){return e=ra(e),ea(t,Ac()?Fr(e,r||[],ra(t).constructor):e.apply(t,r))}function Ac(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(Ac=function(){return!!t})()}new RegExp(ga(mc=ga(bc="^(".concat(xc,"|")).call(bc,jc,"|")).call(mc,"br|img|hr",")( |$|/)"),"i");var kc=0,Cc=function(t){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{needCache:!1},n=r.needCache,o=r.defaultCache,i=void 0===o?{}:o;return Vu(this,e),(t=Pc(this,e,[{}])).needCache=!!n,t.sign="",n&&(t.cache=i||{},t.cacheKey="~~C".concat(kc),kc+=1),t.failedResetCacheTimes=0,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Bu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Gr(t,"prototype",{writable:!1}),e&&na(t,e)}(e,t),ta(e,[{key:"initBrReg",value:function(){var t,e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.classicBr=(e="classicBr","undefined"!=typeof localStorage&&null!==localStorage.getItem("cherry-".concat(e))?(t="false","undefined"!=typeof localStorage&&(t=localStorage.getItem("cherry-classicBr")),"true"===t):r),this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(t){var e=t.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?e:this.joinRawHtml(e).replace(/\n/g,"<br>").replace(/\r/g,"\n")}},{key:"joinRawHtml",value:function(t){if(!this.removeBrAfterBlock){var e,r,n,o,i=null!==(e=null===(r=this.$engine.htmlWhiteListAppend)||void 0===r?void 0:r.split("|"))&&void 0!==e?e:[];i=fa(n=ya(i).call(i,(function(t){return/[a-z-]+/gi.test(t)?t:null}))).call(n,(function(t){return null!==t}));var u=ga(i).call(i,xc).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(u,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(u,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(ga(o="<\\/(".concat(u,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(o,u,")(>| [^>]*?>)"),"ig")}return t.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"</$1>").replace(this.removeNewlinesBetweenTags,"</$1>\r$2<$3$4")}},{key:"toHtml",value:function(t,e){return t}},{key:"makeHtml",value:function(t,e){return this.needCache?t:e(t).html}},{key:"afterMakeHtml",value:function(t){return this.restoreCache(t)}},{key:"isContainsCache",value:function(t,r){if(r){var n=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(t),o=new RegExp("~~C\\d+I".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(t);return n&&!o}return new RegExp("~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(t)}},{key:"$splitHtmlByCache",value:function(t){var r=new RegExp("\\n*~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:t.match(r),contents:t.split(r)}}},{key:"makeExcludingCached",value:function(t,e){for(var r=this.$splitHtmlByCache(t),n=r.caches,o=r.contents,i=ya(o).call(o,e),u="",a=0;a<i.length;a++){var c;if(u+=i[a],n&&n[a])u+=ka(c=n[a]).call(c)}return u}},{key:"getCacheWithSpace",value:function(t,e){var r,n,o,i,u,a,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=null!==(r=null===(n=e.match(/^\n+/))||void 0===n?void 0:n[0])&&void 0!==r?r:"",s=null!==(o=null===(i=e.match(/\n+$/))||void 0===i?void 0:i[0])&&void 0!==o?o:"";return c?function(t,e){var r,n,o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return/^\n/.test(t)?i?(null!==(r=null===(n=t.match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0)>1?"\n\n".concat(e):"\n".concat(e):"\n\n".concat(e):e}(e,t):ga(u=ga(a="".concat(f)).call(a,t)).call(u,s)}},{key:"getLineCount",value:function(t){var r,n,o,i=t,u=null!==(r=null===(n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0;u=1===u?1:0,i=i.replace(/^\n+/g,"");var a=new RegExp("\n*~~C\\d+I(?:".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),c=0;return i=i.replace(a,(function(t,e){return c+=Ba(e,10),t.replace(/^\n+/g,"")})),u+c+(i.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.needCache){var i=n||this.$engine.hash(t),u=ga(e=ga(r="".concat(this.cacheKey,"I")).call(r,i,"_L")).call(e,o,"$");return this.cache[i]={content:t,key:u},u}}},{key:"popCache",value:function(t){if(this.needCache)return this.cache[t].content||""}},{key:"testHasCache",value:function(t){return!(!this.needCache||!this.cache[t])&&this.cache[t].key}},{key:"resetCache",value:function(){this.needCache&&(this.cache={})}},{key:"restoreCache",value:function(t){var r,n=this;if(!this.needCache)return t;var o=new RegExp(ga(r="".concat(this.cacheKey,"I((?:")).call(r,e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+)\\$"),"g"),i=t.replace(o,(function(t,e){return n.popCache(e.replace(/_L\d+$/,""))}));return this.timer&&(clearTimeout(this.timer),this.failedResetCacheTimes+=1,this.timer=null),this.timer=Ya((function(){n.resetCache()}),500),this.failedResetCacheTimes>5&&(this.failedResetCacheTimes=0,Ya((function(){n.resetCache()}),500)),i}},{key:"checkCache",value:function(t,e){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.sign=this.$engine.hash(t),this.cache[this.sign]?ga(r=ga(n="".concat(this.cacheKey,"I")).call(n,this.sign,"_L")).call(r,o,"$"):this.toHtml(t,e)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(t){return!1}}])}(Ja);function Rc(t,e,r){return e=Mu(e),wu(t,Tc()?Fr(e,r||[],Mu(t).constructor):e.apply(t,r))}function Tc(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(Tc=function(){return!!t})()}oa(Cc,"HOOK_TYPE",Wa),oa(Cc,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),oa(Cc,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var Ic=function(t){function e(){return Br(this,e),Rc(this,e,[{needCache:!0}])}return $u(e,t),gu(e,[{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t.replace(/\[[\s|x]\]/g,(function(t){return Wu(t).call(t,"x")>-1?' <span class="ch-icon ch-icon-check"></span> ':' <span class="ch-icon ch-icon-square"></span> '}))}},{key:"rule",value:function(){return{}}}])}(Cc);return Du(Ic,"HOOK_NAME","tapdCheckList"),Ic}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).CherryTapdHtmlTagPlugin=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t,e){return t(e={exports:{}},e.exports),e.exports}function n(t){return t&&t.default||t}var o,i,u=function(t){return t&&t.Math===Math&&t},a=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=f,s=Function.prototype,p=s.apply,h=s.call,v="object"==typeof Reflect&&Reflect.apply||(l?h.bind(p):function(){return h.apply(p,arguments)}),y=Function.prototype,d=y.call,g=l&&y.bind.bind(d,d),m=l?g:function(t){return function(){return d.apply(t,arguments)}},b=m,w=b({}.toString),O=b("".slice),S=function(t){return O(w(t),8,-1)},_="object"==typeof document&&document.all,E=void 0===_&&void 0!==_?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},j=!c((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),x=Function.prototype.call,P=l?x.bind(x):function(){return x.apply(x,arguments)},A={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,C={f:k&&!A.call({1:2},1)?function(t){var e=k(this,t);return!!e&&e.enumerable}:A},R=Object,T=b("".split),I=c((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"===S(t)?T(t,""):R(t)}:R,L=function(t){return null==t},M=TypeError,F=I,B=function(t){if(L(t))throw new M("Can't call method on "+t);return t},H=E,N={},$=a,D=function(t){return H(t)?t:void 0},G=b({}.isPrototypeOf),K="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=$.process,q=$.Deno,X=z&&z.versions||q&&q.version,Y=X&&X.v8;Y&&(i=(o=Y.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&K&&(!(o=K.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=K.match(/Chrome\/(\d+)/))&&(i=+o[1]);var U=i,W=$.String,V=!!Object.getOwnPropertySymbols&&!c((function(){var t=Symbol("symbol detection");return!W(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),J=V,Q=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=function(t,e){return arguments.length<2?D(N[t])||D($[t]):N[t]&&N[t][e]||$[t]&&$[t][e]},tt=G,et=Q,rt=Object,nt=et?function(t){return"symbol"==typeof t}:function(t){var e=Z("Symbol");return H(e)&&tt(e.prototype,rt(t))},ot=String,it=function(t){try{return ot(t)}catch(t){return"Object"}},ut=TypeError,at=function(t){if(H(t))return t;throw new ut(it(t)+" is not a function")},ct=P,ft=function(t){return"object"==typeof t?null!==t:H(t)},lt=TypeError,st=Object.defineProperty,pt=function(t,e){try{st($,t,{value:e,configurable:!0,writable:!0})}catch(r){$[t]=e}return e},ht=r((function(t){var e="__core-js_shared__",r=t.exports=$[e]||pt(e,{});(r.versions||(r.versions=[])).push({version:"3.37.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),vt=ht,yt=Object,dt=function(t){return yt(B(t))},gt=b({}.hasOwnProperty),mt=Object.hasOwn||function(t,e){return gt(dt(t),e)},bt=0,wt=Math.random(),Ot=b(1..toString),St=function(t,e){return vt[t]||(vt[t]=e||{})},_t=mt,Et=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ot(++bt+wt,36)},jt=$.Symbol,xt=St("wks"),Pt=et?jt.for||jt:jt&&jt.withoutSetter||Et,At=nt,kt=function(t,e){var r=t[e];return L(r)?void 0:at(r)},Ct=function(t,e){var r,n;if("string"===e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;if(H(r=t.valueOf)&&!ft(n=ct(r,t)))return n;if("string"!==e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;throw new lt("Can't convert object to primitive value")},Rt=function(t){return _t(xt,t)||(xt[t]=J&&_t(jt,t)?jt[t]:Pt("Symbol."+t)),xt[t]},Tt=TypeError,It=Rt("toPrimitive"),Lt=function(t,e){if(!ft(t)||At(t))return t;var r,n=kt(t,It);if(n){if(void 0===e&&(e="default"),r=ct(n,t,e),!ft(r)||At(r))return r;throw new Tt("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ct(t,e)},Mt=$.document,Ft=ft(Mt)&&ft(Mt.createElement),Bt=j,Ht=function(t){return Ft?Mt.createElement(t):{}},Nt=!Bt&&!c((function(){return 7!==Object.defineProperty(Ht("div"),"a",{get:function(){return 7}}).a})),$t=C,Dt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Gt=function(t){return F(B(t))},Kt=function(t){var e=Lt(t,"string");return At(e)?e:e+""},zt=Nt,qt=Object.getOwnPropertyDescriptor,Xt={f:Bt?qt:function(t,e){if(t=Gt(t),e=Kt(e),zt)try{return qt(t,e)}catch(t){}if(_t(t,e))return Dt(!ct($t.f,t,e),t[e])}},Yt=/#|\.prototype\./,Ut=function(t,e){var r=Vt[Wt(t)];return r===Qt||r!==Jt&&(H(e)?c(e):!!e)},Wt=Ut.normalize=function(t){return String(t).replace(Yt,".").toLowerCase()},Vt=Ut.data={},Jt=Ut.NATIVE="N",Qt=Ut.POLYFILL="P",Zt=Ut,te=function(t){if("Function"===S(t))return b(t)},ee=te(te.bind),re=Bt&&c((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ne=String,oe=TypeError,ie=re,ue=function(t){if(ft(t))return t;throw new oe(ne(t)+" is not an object")},ae=TypeError,ce=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,le="enumerable",se="configurable",pe="writable",he={f:Bt?ie?function(t,e,r){if(ue(t),e=Kt(e),ue(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pe in r&&!r[pe]){var n=fe(t,e);n&&n[pe]&&(t[e]=r.value,r={configurable:se in r?r[se]:n[se],enumerable:le in r?r[le]:n[le],writable:!1})}return ce(t,e,r)}:ce:function(t,e,r){if(ue(t),e=Kt(e),ue(r),zt)try{return ce(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ae("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},ve=v,ye=Xt,de=Zt,ge=function(t,e){return at(t),void 0===e?t:l?ee(t,e):function(){return t.apply(e,arguments)}},me=Bt?function(t,e,r){return he.f(t,e,Dt(1,r))}:function(t,e,r){return t[e]=r,t},be=ye.f,we=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return ve(t,this,arguments)};return e.prototype=t.prototype,e},Oe=b([].slice),Se=Function,_e=b([].concat),Ee=b([].join),je={},xe=l?Se.bind:function(t){var e=at(this),r=e.prototype,n=Oe(arguments,1),o=function(){var r=_e(n,Oe(arguments));return this instanceof o?function(t,e,r){if(!_t(je,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";je[e]=Se("C,a","return new C("+Ee(n,",")+")")}return je[e](t,r)}(e,r.length,r):e.apply(t,r)};return ft(r)&&(o.prototype=r),o},Pe={};Pe[Rt("toStringTag")]="z";var Ae="[object z]"===String(Pe),ke=Rt("toStringTag"),Ce=Object,Re="Arguments"===S(function(){return arguments}()),Te=Ae?S:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Ce(t),ke))?r:Re?S(e):"Object"===(n=S(e))&&H(e.callee)?"Arguments":n},Ie=b(Function.toString);H(vt.inspectSource)||(vt.inspectSource=function(t){return Ie(t)});var Le=vt.inspectSource,Me=Te,Fe=Le,Be=function(){},He=Z("Reflect","construct"),Ne=/^\s*(?:class|function)\b/,$e=b(Ne.exec),De=!Ne.test(Be),Ge=function(t){if(!H(t))return!1;try{return He(Be,[],t),!0}catch(t){return!1}},Ke=function(t){if(!H(t))return!1;switch(Me(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return De||!!$e(Ne,Fe(t))}catch(t){return!0}};Ke.sham=!0;var ze,qe=!He||c((function(){var t;return Ge(Ge.call)||!Ge(Object)||!Ge((function(){t=!0}))||t}))?Ke:Ge,Xe=TypeError,Ye=Math.ceil,Ue=Math.floor,We=Math.trunc||function(t){var e=+t;return(e>0?Ue:Ye)(e)},Ve=function(t){var e=+t;return e!=e||0===e?0:We(e)},Je=Math.max,Qe=Math.min,Ze=Math.min,tr=function(t){var e=Ve(t);return e>0?Ze(e,9007199254740991):0},er=function(t,e){var r=Ve(t);return r<0?Je(r+e,0):Qe(r,e)},rr=function(t){return tr(t.length)},nr=function(t){return function(e,r,n){var o=Gt(e),i=rr(o);if(0===i)return!t&&-1;var u,a=er(n,i);if(t&&r!=r){for(;i>a;)if((u=o[a++])!=u)return!0}else for(;i>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},or={includes:nr(!0),indexOf:nr(!1)},ir={},ur=or.indexOf,ar=b([].push),cr=function(t,e){var r,n=Gt(t),o=0,i=[];for(r in n)!_t(ir,r)&&_t(n,r)&&ar(i,r);for(;e.length>o;)_t(n,r=e[o++])&&(~ur(i,r)||ar(i,r));return i},fr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lr=Object.keys||function(t){return cr(t,fr)},sr=Bt&&!ie?Object.defineProperties:function(t,e){ue(t);for(var r,n=Gt(e),o=lr(e),i=o.length,u=0;i>u;)he.f(t,r=o[u++],n[r]);return t},pr={f:sr},hr=Z("document","documentElement"),vr=St("keys"),yr=pr,dr=hr,gr=function(t){return vr[t]||(vr[t]=Et(t))},mr="prototype",br="script",wr=gr("IE_PROTO"),Or=function(){},Sr=function(t){return"<"+br+">"+t+"</"+br+">"},_r=function(t){t.write(Sr("")),t.close();var e=t.parentWindow.Object;return t=null,e},Er=function(){try{ze=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Er="undefined"!=typeof document?document.domain&&ze?_r(ze):(e=Ht("iframe"),r="java"+br+":",e.style.display="none",dr.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Sr("document.F=Object")),t.close(),t.F):_r(ze);for(var n=fr.length;n--;)delete Er[mr][fr[n]];return Er()};ir[wr]=!0;var jr=Object.create||function(t,e){var r;return null!==t?(Or[mr]=ue(t),r=new Or,Or[mr]=null,r[wr]=t):r=Er(),void 0===e?r:yr.f(r,e)},xr=function(t,e){var r,n,o,i,u,a,c,f,l,s=t.target,p=t.global,h=t.stat,v=t.proto,y=p?$:h?$[s]:$[s]&&$[s].prototype,d=p?N:N[s]||me(N,s,{})[s],g=d.prototype;for(i in e)n=!(r=de(p?i:s+(h?".":"#")+i,t.forced))&&y&&_t(y,i),a=d[i],n&&(c=t.dontCallGetSet?(l=be(y,i))&&l.value:y[i]),u=n&&c?c:e[i],(r||v||typeof a!=typeof u)&&(f=t.bind&&n?ge(u,$):t.wrap&&n?we(u):v&&H(u)?te(u):u,(t.sham||u&&u.sham||a&&a.sham)&&me(f,"sham",!0),me(d,i,f),v&&(_t(N,o=s+"Prototype")||me(N,o,{}),me(N[o],i,u),t.real&&g&&(r||!g[i])&&me(g,i,u)))},Pr=xe,Ar=function(t){if(qe(t))return t;throw new Xe(it(t)+" is not a constructor")},kr=jr,Cr=Z("Reflect","construct"),Rr=Object.prototype,Tr=[].push,Ir=c((function(){function t(){}return!(Cr((function(){}),[],t)instanceof t)})),Lr=!c((function(){Cr((function(){}))})),Mr=Ir||Lr;xr({target:"Reflect",stat:!0,forced:Mr,sham:Mr},{construct:function(t,e){Ar(t),ue(e);var r=arguments.length<3?t:Ar(arguments[2]);if(Lr&&!Ir)return Cr(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return ve(Tr,n,e),new(ve(Pr,t,n))}var o=r.prototype,i=kr(ft(o)?o:Rr),u=ve(t,i,e);return ft(u)?u:i}});var Fr=N.Reflect.construct,Br=e(r((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}))),Hr=he.f;xr({target:"Object",stat:!0,forced:Object.defineProperty!==Hr,sham:!Bt},{defineProperty:Hr});var Nr=r((function(t){var e=N.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),$r=Nr,Dr=$r,Gr=Dr,Kr=Array.isArray||function(t){return"Array"===S(t)},zr=TypeError,qr=Kr,Xr=Rt("species"),Yr=Array,Ur=function(t){var e;return qr(t)&&(e=t.constructor,(qe(e)&&(e===Yr||qr(e.prototype))||ft(e)&&null===(e=e[Xr]))&&(e=void 0)),void 0===e?Yr:e},Wr=Rt("species"),Vr=function(t){if(t>9007199254740991)throw zr("Maximum allowed index exceeded");return t},Jr=function(t,e,r){Bt?he.f(t,e,Dt(0,r)):t[e]=r},Qr=function(t,e){return new(Ur(t))(0===e?0:e)},Zr=function(t){return U>=51||!c((function(){var e=[];return(e.constructor={})[Wr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},tn=Rt("isConcatSpreadable"),en=U>=51||!c((function(){var t=[];return t[tn]=!1,t.concat()[0]!==t})),rn=function(t){if(!ft(t))return!1;var e=t[tn];return void 0!==e?!!e:qr(t)},nn=!en||!Zr("concat");xr({target:"Array",proto:!0,arity:1,forced:nn},{concat:function(t){var e,r,n,o,i,u=dt(this),a=Qr(u,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(rn(i=-1===e?u:arguments[e]))for(o=rr(i),Vr(c+o),r=0;r<o;r++,c++)r in i&&Jr(a,c,i[r]);else Vr(c+1),Jr(a,c++,i);return a.length=c,a}});var on,un,an,cn=Object.freeze({__proto__:null}),fn=String,ln=fr.concat("length","prototype"),sn={f:Object.getOwnPropertyNames||function(t){return cr(t,ln)}},pn=sn.f,hn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vn={f:function(t){return hn&&"Window"===S(t)?function(t){try{return pn(t)}catch(t){return Oe(hn)}}(t):pn(Gt(t))}},yn={f:Object.getOwnPropertySymbols},dn={f:Rt},gn=he.f,mn=function(t,e,r,n){return n&&n.enumerable?t[e]=r:me(t,e,r),t},bn=Ae?{}.toString:function(){return"[object "+Me(this)+"]"},wn=he.f,On=Rt("toStringTag"),Sn=$.WeakMap,_n=H(Sn)&&/native code/.test(String(Sn)),En="Object already initialized",jn=$.TypeError,xn=$.WeakMap;if(_n||vt.state){var Pn=vt.state||(vt.state=new xn);Pn.get=Pn.get,Pn.has=Pn.has,Pn.set=Pn.set,on=function(t,e){if(Pn.has(t))throw new jn(En);return e.facade=t,Pn.set(t,e),e},un=function(t){return Pn.get(t)||{}},an=function(t){return Pn.has(t)}}else{var An=gr("state");ir[An]=!0,on=function(t,e){if(_t(t,An))throw new jn(En);return e.facade=t,me(t,An,e),e},un=function(t){return _t(t,An)?t[An]:{}},an=function(t){return _t(t,An)}}var kn={set:on,get:un,has:an,enforce:function(t){return an(t)?un(t):on(t,{})},getterFor:function(t){return function(e){var r;if(!ft(e)||(r=un(e)).type!==t)throw new jn("Incompatible receiver, "+t+" required");return r}}},Cn=b([].push),Rn=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,l,s){for(var p,h,v=dt(c),y=F(v),d=rr(y),g=ge(f,l),m=0,b=s||Qr,w=e?b(c,d):r||u?b(c,0):void 0;d>m;m++)if((a||m in y)&&(h=g(p=y[m],m,v),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Cn(w,p)}else switch(t){case 4:return!1;case 7:Cn(w,p)}return i?-1:n||o?o:w}},Tn={forEach:Rn(0),map:Rn(1),filter:Rn(2),some:Rn(3),every:Rn(4),find:Rn(5),findIndex:Rn(6),filterReject:Rn(7)},In=function(t){if("Symbol"===Me(t))throw new TypeError("Cannot convert a Symbol value to a string");return fn(t)},Ln=vn,Mn=yn,Fn=function(t,e,r){return he.f(t,e,r)},Bn=function(t){var e=N.Symbol||(N.Symbol={});_t(e,t)||gn(e,t,{value:dn.f(t)})},Hn=function(){var t=Z("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Rt("toPrimitive");e&&!e[n]&&mn(e,n,(function(t){return ct(r,this)}),{arity:1})},Nn=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(_t(o,On)||wn(o,On,{configurable:!0,value:e}),n&&!Ae&&me(o,"toString",bn))},$n=kn,Dn=Tn,Gn=Dn.forEach,Kn=gr("hidden"),zn="Symbol",qn="prototype",Xn=$n.set,Yn=$n.getterFor(zn),Un=Object[qn],Wn=$.Symbol,Vn=Wn&&Wn[qn],Jn=$.RangeError,Qn=$.TypeError,Zn=$.QObject,to=ye.f,eo=he.f,ro=Ln.f,no=$t.f,oo=b([].push),io=St("symbols"),uo=St("op-symbols"),ao=St("wks"),co=!Zn||!Zn[qn]||!Zn[qn].findChild,fo=function(t,e,r){var n=to(Un,e);n&&delete Un[e],eo(t,e,r),n&&t!==Un&&eo(Un,e,n)},lo=Bt&&c((function(){return 7!==kr(eo({},"a",{get:function(){return eo(this,"a",{value:7}).a}})).a}))?fo:eo,so=function(t,e){var r=io[t]=kr(Vn);return Xn(r,{type:zn,tag:t,description:e}),Bt||(r.description=e),r},po=function(t,e,r){t===Un&&po(uo,e,r),ue(t);var n=Kt(e);return ue(r),_t(io,n)?(r.enumerable?(_t(t,Kn)&&t[Kn][n]&&(t[Kn][n]=!1),r=kr(r,{enumerable:Dt(0,!1)})):(_t(t,Kn)||eo(t,Kn,Dt(1,kr(null))),t[Kn][n]=!0),lo(t,n,r)):eo(t,n,r)},ho=function(t,e){ue(t);var r=Gt(e),n=lr(r).concat(mo(r));return Gn(n,(function(e){Bt&&!ct(vo,r,e)||po(t,e,r[e])})),t},vo=function(t){var e=Kt(t),r=ct(no,this,e);return!(this===Un&&_t(io,e)&&!_t(uo,e))&&(!(r||!_t(this,e)||!_t(io,e)||_t(this,Kn)&&this[Kn][e])||r)},yo=function(t,e){var r=Gt(t),n=Kt(e);if(r!==Un||!_t(io,n)||_t(uo,n)){var o=to(r,n);return!o||!_t(io,n)||_t(r,Kn)&&r[Kn][n]||(o.enumerable=!0),o}},go=function(t){var e=ro(Gt(t)),r=[];return Gn(e,(function(t){_t(io,t)||_t(ir,t)||oo(r,t)})),r},mo=function(t){var e=t===Un,r=ro(e?uo:Gt(t)),n=[];return Gn(r,(function(t){!_t(io,t)||e&&!_t(Un,t)||oo(n,io[t])})),n};J||(Wn=function(){if(tt(Vn,this))throw new Qn("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?In(arguments[0]):void 0,e=Et(t),r=function(t){var n=void 0===this?$:this;n===Un&&ct(r,uo,t),_t(n,Kn)&&_t(n[Kn],e)&&(n[Kn][e]=!1);var o=Dt(1,t);try{lo(n,e,o)}catch(t){if(!(t instanceof Jn))throw t;fo(n,e,o)}};return Bt&&co&&lo(Un,e,{configurable:!0,set:r}),so(e,t)},Vn=Wn[qn],mn(Vn,"toString",(function(){return Yn(this).tag})),mn(Wn,"withoutSetter",(function(t){return so(Et(t),t)})),$t.f=vo,he.f=po,yr.f=ho,ye.f=yo,sn.f=Ln.f=go,Mn.f=mo,dn.f=function(t){return so(Rt(t),t)},Bt&&Fn(Vn,"description",{configurable:!0,get:function(){return Yn(this).description}})),xr({global:!0,constructor:!0,wrap:!0,forced:!J,sham:!J},{Symbol:Wn}),Gn(lr(ao),(function(t){Bn(t)})),xr({target:zn,stat:!0,forced:!J},{useSetter:function(){co=!0},useSimple:function(){co=!1}}),xr({target:"Object",stat:!0,forced:!J,sham:!Bt},{create:function(t,e){return void 0===e?kr(t):ho(kr(t),e)},defineProperty:po,defineProperties:ho,getOwnPropertyDescriptor:yo}),xr({target:"Object",stat:!0,forced:!J},{getOwnPropertyNames:go}),Hn(),Nn(Wn,zn),ir[Kn]=!0;var bo=J&&!!Symbol.for&&!!Symbol.keyFor,wo=St("string-to-symbol-registry"),Oo=St("symbol-to-string-registry");xr({target:"Symbol",stat:!0,forced:!bo},{for:function(t){var e=In(t);if(_t(wo,e))return wo[e];var r=Z("Symbol")(e);return wo[e]=r,Oo[r]=e,r}});var So=St("symbol-to-string-registry");xr({target:"Symbol",stat:!0,forced:!bo},{keyFor:function(t){if(!At(t))throw new TypeError(it(t)+" is not a symbol");if(_t(So,t))return So[t]}});var _o=b([].push),Eo=function(t){if(H(t))return t;if(qr(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?_o(r,o):"number"!=typeof o&&"Number"!==S(o)&&"String"!==S(o)||_o(r,In(o))}var i=r.length,u=!0;return function(t,e){if(u)return u=!1,e;if(qr(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},jo=String,xo=Z("JSON","stringify"),Po=b(/./.exec),Ao=b("".charAt),ko=b("".charCodeAt),Co=b("".replace),Ro=b(1..toString),To=/[\uD800-\uDFFF]/g,Io=/^[\uD800-\uDBFF]$/,Lo=/^[\uDC00-\uDFFF]$/,Mo=!J||c((function(){var t=Z("Symbol")("stringify detection");return"[null]"!==xo([t])||"{}"!==xo({a:t})||"{}"!==xo(Object(t))})),Fo=c((function(){return'"\\udf06\\ud834"'!==xo("\udf06\ud834")||'"\\udead"'!==xo("\udead")})),Bo=function(t,e){var r=Oe(arguments),n=Eo(e);if(H(n)||void 0!==t&&!At(t))return r[1]=function(t,e){if(H(n)&&(e=ct(n,this,jo(t),e)),!At(e))return e},ve(xo,null,r)},Ho=function(t,e,r){var n=Ao(r,e-1),o=Ao(r,e+1);return Po(Io,t)&&!Po(Lo,o)||Po(Lo,t)&&!Po(Io,n)?"\\u"+Ro(ko(t,0),16):t};xo&&xr({target:"JSON",stat:!0,arity:3,forced:Mo||Fo},{stringify:function(t,e,r){var n=Oe(arguments),o=ve(Mo?Bo:xo,null,n);return Fo&&"string"==typeof o?Co(o,To,Ho):o}});var No=!J||c((function(){Mn.f(1)}));xr({target:"Object",stat:!0,forced:No},{getOwnPropertySymbols:function(t){var e=Mn.f;return e?e(dt(t)):[]}}),Bn("asyncIterator");var $o=Object.freeze({__proto__:null});Bn("hasInstance"),Bn("isConcatSpreadable"),Bn("iterator"),Bn("match"),Bn("matchAll"),Bn("replace"),Bn("search"),Bn("species"),Bn("split"),Bn("toPrimitive"),Hn(),Bn("toStringTag"),Nn(Z("Symbol"),"Symbol"),Bn("unscopables"),Nn($.JSON,"JSON",!0);var Do=Object.freeze({__proto__:null}),Go=Object.freeze({__proto__:null});n(cn),n($o),n(Do),n(Go);var Ko,zo,qo,Xo=N.Symbol,Yo=Function.prototype,Uo=Bt&&Object.getOwnPropertyDescriptor,Wo=_t(Yo,"name"),Vo={EXISTS:Wo,PROPER:Wo&&"something"===function(){}.name,CONFIGURABLE:Wo&&(!Bt||Bt&&Uo(Yo,"name").configurable)},Jo=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Qo=gr("IE_PROTO"),Zo=Object,ti=Zo.prototype,ei=Jo?Zo.getPrototypeOf:function(t){var e=dt(t);if(_t(e,Qo))return e[Qo];var r=e.constructor;return H(r)&&e instanceof r?r.prototype:e instanceof Zo?ti:null},ri=Rt("iterator"),ni=!1;[].keys&&("next"in(qo=[].keys())?(zo=ei(ei(qo)))!==Object.prototype&&(Ko=zo):ni=!0);var oi=!ft(Ko)||c((function(){var t={};return Ko[ri].call(t)!==t}));Ko=oi?{}:kr(Ko),H(Ko[ri])||mn(Ko,ri,(function(){return this}));var ii={IteratorPrototype:Ko,BUGGY_SAFARI_ITERATORS:ni},ui={},ai=ii.IteratorPrototype,ci=function(){return this},fi=function(t){return ft(t)||null===t},li=String,si=TypeError,pi=function(t,e,r){try{return b(at(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hi=function(t){if(fi(t))return t;throw new si("Can't set "+li(t)+" as a prototype")},vi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=pi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return B(r),hi(n),ft(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),yi=Vo,di=function(t,e,r,n){var o=e+" Iterator";return t.prototype=kr(ai,{next:Dt(+!n,r)}),Nn(t,o,!1,!0),ui[o]=ci,t},gi=vi,mi=yi.PROPER,bi=ii.BUGGY_SAFARI_ITERATORS,wi=Rt("iterator"),Oi="keys",Si="values",_i="entries",Ei=function(){return this},ji=function(){},xi=function(t,e,r,n,o,i,u){di(r,e,n);var a,c,f,l=function(t){if(t===o&&y)return y;if(!bi&&t&&t in h)return h[t];switch(t){case Oi:case Si:case _i:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",p=!1,h=t.prototype,v=h[wi]||h["@@iterator"]||o&&h[o],y=!bi&&v||l(o),d="Array"===e&&h.entries||v;if(d&&(a=ei(d.call(new t)))!==Object.prototype&&a.next&&(Nn(a,s,!0,!0),ui[s]=Ei),mi&&o===Si&&v&&v.name!==Si&&(p=!0,y=function(){return ct(v,this)}),o)if(c={values:l(Si),keys:i?y:l(Oi),entries:l(_i)},u)for(f in c)(bi||p||!(f in h))&&mn(h,f,c[f]);else xr({target:e,proto:!0,forced:bi||p},c);return u&&h[wi]!==y&&mn(h,wi,y,{name:o}),ui[e]=y,c},Pi=function(t,e){return{value:t,done:e}},Ai=(he.f,"Array Iterator"),ki=$n.set,Ci=$n.getterFor(Ai);xi(Array,"Array",(function(t,e){ki(this,{type:Ai,target:Gt(t),index:0,kind:e})}),(function(){var t=Ci(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Pi(void 0,!0);switch(t.kind){case"keys":return Pi(r,!1);case"values":return Pi(e[r],!1)}return Pi([r,e[r]],!1)}),"values");ui.Arguments=ui.Array;ji(),ji(),ji();var Ri={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};for(var Ti in Ri)Nn($[Ti],Ti),ui[Ti]=ui.Array;var Ii=Xo,Li=he.f,Mi=Rt("metadata"),Fi=Function.prototype;void 0===Fi[Mi]&&Li(Fi,Mi,{value:null}),Bn("asyncDispose"),Bn("dispose"),Bn("metadata");var Bi=Ii,Hi=Z("Symbol"),Ni=Hi.keyFor,$i=b(Hi.prototype.valueOf),Di=Hi.isRegisteredSymbol||function(t){try{return void 0!==Ni($i(t))}catch(t){return!1}};xr({target:"Symbol",stat:!0},{isRegisteredSymbol:Di});for(var Gi=Z("Symbol"),Ki=Gi.isWellKnownSymbol,zi=Z("Object","getOwnPropertyNames"),qi=b(Gi.prototype.valueOf),Xi=St("wks"),Yi=0,Ui=zi(Gi),Wi=Ui.length;Yi<Wi;Yi++)try{var Vi=Ui[Yi];At(Gi[Vi])&&Rt(Vi)}catch(t){}var Ji=function(t){if(Ki&&Ki(t))return!0;try{for(var e=qi(t),r=0,n=zi(Xi),o=n.length;r<o;r++)if(Xi[n[r]]==e)return!0}catch(t){}return!1};xr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ji}),Bn("customMatcher"),Bn("observable"),xr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Di}),xr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ji}),Bn("matcher"),Bn("metadataKey"),Bn("patternMatch"),Bn("replaceAll");var Qi=Bi,Zi=Qi,tu=b("".charAt),eu=b("".charCodeAt),ru=b("".slice),nu=function(t){return function(e,r){var n,o,i=In(B(e)),u=Ve(r),a=i.length;return u<0||u>=a?t?"":void 0:(n=eu(i,u))<55296||n>56319||u+1===a||(o=eu(i,u+1))<56320||o>57343?t?tu(i,u):n:t?ru(i,u,u+2):o-56320+(n-55296<<10)+65536}},ou={codeAt:nu(!1),charAt:nu(!0)}.charAt,iu="String Iterator",uu=$n.set,au=$n.getterFor(iu);xi(String,"String",(function(t){uu(this,{type:iu,string:In(t),index:0})}),(function(){var t,e=au(this),r=e.string,n=e.index;return n>=r.length?Pi(void 0,!0):(t=ou(r,n),e.index+=t.length,Pi(t,!1))}));var cu=dn.f("iterator"),fu=Qi,lu=cu,su=r((function(t){function e(r){return t.exports=e="function"==typeof fu&&"symbol"==typeof lu?function(t){return typeof t}:function(t){return t&&"function"==typeof fu&&t.constructor===fu&&t!==fu.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(su);var pu=dn.f("toPrimitive"),hu=pu,vu=r((function(t){var e=su.default;t.exports=function(t,r){if("object"!=e(t)||!t)return t;var n=t[hu];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}));e(vu);var yu=r((function(t){var e=su.default;t.exports=function(t){var r=vu(t,"string");return"symbol"==e(r)?r:r+""},t.exports.__esModule=!0,t.exports.default=t.exports}));e(yu);var du=r((function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Dr(t,yu(n.key),n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Dr(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports})),gu=e(du),mu=r((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}));e(mu);var bu=r((function(t){var e=su.default;t.exports=function(t,r){if(r&&("object"==e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return mu(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),wu=e(bu);xr({target:"Object",stat:!0},{setPrototypeOf:gi});var Ou=N.Object.setPrototypeOf,Su=Ou;xr({target:"Function",proto:!0,forced:Function.bind!==Pr},{bind:Pr});var _u=function(t,e){var r=N[t+"Prototype"],n=r&&r[e];if(n)return n;var o=$[t],i=o&&o.prototype;return i&&i[e]},Eu=_u("Function","bind"),ju=Function.prototype,xu=function(t){var e=t.bind;return t===ju||tt(ju,t)&&e===ju.bind?Eu:e},Pu=xu,Au=c((function(){ei(1)}));xr({target:"Object",stat:!0,forced:Au,sham:!Jo},{getPrototypeOf:function(t){return ei(dt(t))}});var ku=N.Object.getPrototypeOf,Cu=Ou,Ru=xu,Tu=ku,Iu=r((function(t){function e(r){var n;return t.exports=e=Cu?Ru(n=Tu).call(n):function(t){return t.__proto__||Tu(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),Lu=e(Iu);xr({target:"Object",stat:!0,sham:!Bt},{create:kr});var Mu=N.Object,Fu=function(t,e){return Mu.create(t,e)},Bu=Fu,Hu=r((function(t){function e(r,n){var o;return t.exports=e=Cu?Ru(o=Cu).call(o):function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(Hu);var Nu=Fu,$u=e(r((function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Nu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Dr(t,"prototype",{writable:!1}),e&&Hu(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports}))),Du=e(r((function(t){t.exports=function(t,e,r){return(e=yu(e))in t?Dr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Gu=_u("Array","concat"),Ku=Array.prototype,zu=function(t){var e=t.concat;return t===Ku||tt(Ku,t)&&e===Ku.concat?Gu:e};function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xu(t){return Xu="function"==typeof Zi&&"symbol"==typeof cu?function(t){return typeof t}:function(t){return t&&"function"==typeof Zi&&t.constructor===Zi&&t!==Zi.prototype?"symbol":typeof t},Xu(t)}function Yu(t){var e=function(t,e){if("object"!=Xu(t)||!t)return t;var r=t[pu];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xu(e)?e:e+""}function Uu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Gr(t,Yu(n.key),n)}}function Wu(t,e,r){return e&&Uu(t.prototype,e),r&&Uu(t,r),Gr(t,"prototype",{writable:!1}),t}function Vu(t,e){if(e&&("object"==Xu(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ju(t){var e;return Ju=Su?Pu(e=ku).call(e):function(t){return t.__proto__||ku(t)},Ju(t)}function Qu(t,e){var r;return Qu=Su?Pu(r=Su).call(r):function(t,e){return t.__proto__=e,t},Qu(t,e)}function Zu(t,e,r){return(e=Yu(e))in t?Gr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ta=Dn.filter,ea=Zr("filter");xr({target:"Array",proto:!0,forced:!ea},{filter:function(t){return ta(this,t,arguments.length>1?arguments[1]:void 0)}});var ra=_u("Array","filter"),na=Array.prototype,oa=function(t){var e=t.filter;return t===na||tt(na,t)&&e===na.filter?ra:e},ia=Dn.map,ua=Zr("map");xr({target:"Array",proto:!0,forced:!ua},{map:function(t){return ia(this,t,arguments.length>1?arguments[1]:void 0)}});var aa=_u("Array","map"),ca=Array.prototype,fa=function(t){var e=t.map;return t===ca||tt(ca,t)&&e===ca.map?aa:e},la="\t\n\v\f\r \u2028\u2029\ufeff",sa=b("".replace),pa=RegExp("^["+la+"]+"),ha=RegExp("(^|[^"+la+"])["+la+"]+$"),va=function(t){return function(e){var r=In(B(e));return 1&t&&(r=sa(r,pa,"")),2&t&&(r=sa(r,ha,"$1")),r}},ya={start:va(1),end:va(2),trim:va(3)},da=yi.PROPER,ga=ya,ma=ga.trim;xr({target:"String",proto:!0,forced:function(t){return c((function(){return!!la[t]()||"
"!=="
"[t]()||da&&la[t].name!==t}))}("trim")},{trim:function(){return ma(this)}});var ba=_u("String","trim"),wa=String.prototype,Oa=function(t){var e=t.trim;return"string"==typeof t||t===wa||tt(wa,t)&&e===wa.trim?ba:e},Sa=ga.trim,_a=$.parseInt,Ea=$.Symbol,ja=Ea&&Ea.iterator,xa=/^[+-]?0x/i,Pa=b(xa.exec),Aa=8!==_a(la+"08")||22!==_a(la+"0x16")||ja&&!c((function(){_a(Object(ja))}))?function(t,e){var r=Sa(In(t));return _a(r,e>>>0||(Pa(xa,r)?16:10))}:_a;xr({global:!0,forced:parseInt!==Aa},{parseInt:Aa});var ka=N.parseInt,Ca="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Ra=TypeError,Ta=Ca,Ia=function(t,e){if(t<e)throw new Ra("Not enough arguments");return t},La=$.Function,Ma=/MSIE .\./.test(K)||Ta&&function(){var t=$.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),Fa=function(t,e){var r=e?2:1;return Ma?function(n,o){var i=Ia(arguments.length,1)>r,u=H(n)?n:La(n),a=i?Oe(arguments,r):[],c=i?function(){ve(u,this,a)}:u;return e?t(c,o):t(c)}:t},Ba=Fa($.setInterval,!0);xr({global:!0,bind:!0,forced:$.setInterval!==Ba},{setInterval:Ba});var Ha=Fa($.setTimeout,!0);xr({global:!0,bind:!0,forced:$.setTimeout!==Ha},{setTimeout:Ha});var Na=N.setTimeout,$a=!1,Da="paragraph",Ga="sentence",Ka=function(){return Wu((function t(e){qu(this,t),Zu(this,"$engine",void 0),Zu(this,"$locale",void 0),this.RULE=this.rule(e)}),[{key:"getType",value:function(){return this.constructor.HOOK_TYPE||Ga}},{key:"getName",value:function(){return this.constructor.HOOK_NAME}},{key:"afterInit",value:function(t){"function"==typeof t&&t()}},{key:"setLocale",value:function(t){this.$locale=t}},{key:"beforeMakeHtml",value:function(t){return t}},{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t}},{key:"onKeyDown",value:function(t,e){}},{key:"getOnKeyDown",value:function(){return this.onKeyDown||!1}},{key:"getAttributesTest",value:function(){return/^(color|fontSize|font-size|id|title|class|target|underline|line-through|overline|sub|super)$/}},{key:"$testAttributes",value:function(t,e){this.getAttributesTest().test(t)&&e()}},{key:"getAttributes",value:function(t){return{attrs:{},str:t}}},{key:"test",value:function(t){return!!this.RULE.reg&&this.RULE.reg.test(t)}},{key:"rule",value:function(t){return{begin:"",end:"",content:"",reg:new RegExp("")}}},{key:"mounted",value:function(){}}],[{key:"getMathJaxConfig",value:function(){return $a}},{key:"setMathJaxConfig",value:function(t){$a=t}}])}();Zu(Ka,"HOOK_NAME","default"),Zu(Ka,"HOOK_TYPE",Ga);var za=N.Object.getOwnPropertySymbols,qa=ye.f,Xa=!Bt||c((function(){qa(1)}));xr({target:"Object",stat:!0,forced:Xa,sham:!Bt},{getOwnPropertyDescriptor:function(t,e){return qa(Gt(t),e)}});var Ya=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),Ua=Ya,Wa=function(t,e){var r=[][t];return!!r&&c((function(){r.call(null,e||function(){return 1},1)}))},Va=Dn.forEach,Ja=Wa("forEach")?[].forEach:function(t){return Va(this,t,arguments.length>1?arguments[1]:void 0)};xr({target:"Array",proto:!0,forced:[].forEach!==Ja},{forEach:Ja});var Qa=_u("Array","forEach");n(Object.freeze({__proto__:null}));var Za=Array.prototype,tc={DOMTokenList:!0,NodeList:!0},ec=function(t){var e=t.forEach;return t===Za||tt(Za,t)&&e===Za.forEach||_t(tc,Me(t))?Qa:e},rc=b([].concat),nc=Z("Reflect","ownKeys")||function(t){var e=sn.f(ue(t)),r=Mn.f;return r?rc(e,r(t)):e},oc=nc;xr({target:"Object",stat:!0,sham:!Bt},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Gt(t),o=ye.f,i=oc(n),u={},a=0;i.length>a;)void 0!==(r=o(n,e=i[a++]))&&Jr(u,e,r);return u}});var ic=N.Object.getOwnPropertyDescriptors,uc=yr.f;xr({target:"Object",stat:!0,forced:Object.defineProperties!==uc,sham:!Bt},{defineProperties:uc});var ac=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),cc=ac,fc=$r,lc=c((function(){lr(1)}));xr({target:"Object",stat:!0,forced:lc},{keys:function(t){return lr(dt(t))}});var sc,pc,hc=N.Object.keys;function vc(t,e){var r=hc(t);if(za){var n=za(t);e&&(n=oa(n).call(n,(function(e){return Ua(t,e).enumerable}))),r.push.apply(r,n)}return r}function yc(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?ec(r=vc(Object(o),!0)).call(r,(function(e){Zu(t,e,o[e])})):ic?cc(t,ic(o)):ec(n=vc(Object(o))).call(n,(function(e){fc(t,e,Ua(o,e))}))}return t}var dc=yc(yc(yc(yc(yc(yc({},{34:""",38:"&",39:"'",60:"<",62:">"}),{192:"À",193:"Á",194:"Â",195:"Ã",196:"Ä",197:"Å",198:"Æ",199:"Ç",200:"È",201:"É",202:"Ê",203:"Ë",204:"Ì",205:"Í",206:"Î",207:"Ï",208:"Ð",209:"Ñ",210:"Ò",211:"Ó",212:"Ô",213:"Õ",214:"Ö",216:"Ø",217:"Ù",218:"Ú",219:"Û",220:"Ü",221:"Ý",222:"Þ",223:"ß",224:"à",225:"á",226:"â",227:"ã",228:"ä",229:"å",230:"æ",231:"ç",232:"è",233:"é",234:"ê",235:"ë",236:"ì",237:"í",238:"î",239:"ï",240:"ð",241:"ñ",242:"ò",243:"ó",244:"ô",245:"õ",246:"ö",248:"ø",249:"ù",250:"ú",251:"û",252:"ü",253:"ý",254:"þ",255:"ÿ"}),{160:" ",161:"¡",162:"¢",163:"£",164:"¤",165:"¥",166:"¦",167:"§",168:"¨",169:"©",170:"ª",171:"«",172:"¬",173:"­",174:"®",175:"¯",176:"°",177:"±",178:"²",179:"³",180:"´",181:"µ",182:"¶",184:"¸",185:"¹",186:"º",187:"»",188:"¼",189:"½",190:"¾",191:"¿",215:"×",247:"÷"}),{8704:"∀",8706:"∂",8707:"∃",8709:"∅",8711:"∇",8712:"∈",8713:"∉",8715:"∋",8719:"∏",8721:"∑",8722:"−",8727:"∗",8730:"√",8733:"∝",8734:"∞",8736:"∠",8743:"∧",8744:"∨",8745:"∩",8746:"∪",8747:"∫",8756:"∴",8764:"∼",8773:"≅",8776:"≈",8800:"≠",8801:"≡",8804:"≤",8805:"≥",8834:"⊂",8835:"⊃",8836:"⊄",8838:"⊆",8839:"⊇",8853:"⊕",8855:"⊗",8869:"⊥",8901:"⋅"}),{913:"Α",914:"Β",915:"Γ",916:"Δ",917:"Ε",918:"Ζ",919:"Η",920:"Θ",921:"Ι",922:"Κ",923:"Λ",924:"Μ",925:"Ν",926:"Ξ",927:"Ο",928:"Π",929:"Ρ",931:"Σ",932:"Τ",933:"Υ",934:"Φ",935:"Χ",936:"Ψ",937:"Ω",945:"α",946:"β",947:"γ",948:"δ",949:"ε",950:"ζ",951:"η",952:"θ",953:"ι",954:"κ",955:"λ",956:"μ",957:"ν",958:"ξ",959:"ο",960:"π",961:"ρ",962:"ς",963:"σ",964:"τ",965:"υ",966:"φ",967:"χ",968:"ψ",969:"ω",977:"ϑ",978:"ϒ",982:"ϖ"}),{338:"Œ",339:"œ",352:"Š",353:"š",376:"Ÿ",402:"ƒ",710:"ˆ",732:"˜",8194:" ",8195:" ",8201:" ",8204:"‌",8205:"‍",8206:"‎",8207:"‏",8211:"–",8212:"—",8216:"‘",8217:"’",8218:"‚",8220:"“",8221:"”",8222:"„",8224:"†",8225:"‡",8226:"•",8230:"…",8240:"‰",8242:"′",8243:"″",8249:"‹",8250:"›",8254:"‾",8364:"€",8482:"™",8592:"←",8593:"↑",8594:"→",8595:"↓",8596:"↔",8629:"↵",8968:"⌈",8969:"⌉",8970:"⌊",8971:"⌋",9674:"◊",9824:"♠",9827:"♣",9829:"♥",9830:"♦"}),gc=hc(dc);fa(gc).call(gc,(function(t){return dc[t].replace(/^&(\w+);$/g,(function(t,e){return e.toLowerCase()}))}));var mc=["h1|h2|h3|h4|h5|h6","ul|ol|li|dd|dl|dt","table|thead|tbody|tfoot|col|colgroup|th|td|tr","div|article|section|footer|aside|details|summary|code|audio|video|canvas|figure","address|center|cite|p|pre|blockquote|marquee|caption|figcaption|track|source|output|svg"].join("|"),bc=["span|a|link|b|s|i|del|u|em|strong|sup|sub|kbd","nav|font|bdi|samp|map|area|small|time|bdo|var|wbr|meter|dfn","ruby|rt|rp|mark|q|progress|input|textarea|select|ins"].join("|");function wc(t,e,r){return e=Ju(e),Vu(t,Oc()?Fr(e,r||[],Ju(t).constructor):e.apply(t,r))}function Oc(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(Oc=function(){return!!t})()}new RegExp(zu(sc=zu(pc="^(".concat(mc,"|")).call(pc,bc,"|")).call(sc,"br|img|hr",")( |$|/)"),"i");var Sc=0,_c=function(t){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{needCache:!1},n=r.needCache,o=r.defaultCache,i=void 0===o?{}:o;return qu(this,e),(t=wc(this,e,[{}])).needCache=!!n,t.sign="",n&&(t.cache=i||{},t.cacheKey="~~C".concat(Sc),Sc+=1),t.failedResetCacheTimes=0,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Bu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Gr(t,"prototype",{writable:!1}),e&&Qu(t,e)}(e,t),Wu(e,[{key:"initBrReg",value:function(){var t,e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.classicBr=(e="classicBr","undefined"!=typeof localStorage&&null!==localStorage.getItem("cherry-".concat(e))?(t="false","undefined"!=typeof localStorage&&(t=localStorage.getItem("cherry-classicBr")),"true"===t):r),this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(t){var e=t.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?e:this.joinRawHtml(e).replace(/\n/g,"<br>").replace(/\r/g,"\n")}},{key:"joinRawHtml",value:function(t){if(!this.removeBrAfterBlock){var e,r,n,o,i=null!==(e=null===(r=this.$engine.htmlWhiteListAppend)||void 0===r?void 0:r.split("|"))&&void 0!==e?e:[];i=oa(n=fa(i).call(i,(function(t){return/[a-z-]+/gi.test(t)?t:null}))).call(n,(function(t){return null!==t}));var u=zu(i).call(i,mc).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(u,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(u,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(zu(o="<\\/(".concat(u,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(o,u,")(>| [^>]*?>)"),"ig")}return t.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"</$1>").replace(this.removeNewlinesBetweenTags,"</$1>\r$2<$3$4")}},{key:"toHtml",value:function(t,e){return t}},{key:"makeHtml",value:function(t,e){return this.needCache?t:e(t).html}},{key:"afterMakeHtml",value:function(t){return this.restoreCache(t)}},{key:"isContainsCache",value:function(t,r){if(r){var n=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(t),o=new RegExp("~~C\\d+I".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(t);return n&&!o}return new RegExp("~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(t)}},{key:"$splitHtmlByCache",value:function(t){var r=new RegExp("\\n*~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:t.match(r),contents:t.split(r)}}},{key:"makeExcludingCached",value:function(t,e){for(var r=this.$splitHtmlByCache(t),n=r.caches,o=r.contents,i=fa(o).call(o,e),u="",a=0;a<i.length;a++){var c;if(u+=i[a],n&&n[a])u+=Oa(c=n[a]).call(c)}return u}},{key:"getCacheWithSpace",value:function(t,e){var r,n,o,i,u,a,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=null!==(r=null===(n=e.match(/^\n+/))||void 0===n?void 0:n[0])&&void 0!==r?r:"",l=null!==(o=null===(i=e.match(/\n+$/))||void 0===i?void 0:i[0])&&void 0!==o?o:"";return c?function(t,e){var r,n,o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return/^\n/.test(t)?i?(null!==(r=null===(n=t.match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0)>1?"\n\n".concat(e):"\n".concat(e):"\n\n".concat(e):e}(e,t):zu(u=zu(a="".concat(f)).call(a,t)).call(u,l)}},{key:"getLineCount",value:function(t){var r,n,o,i=t,u=null!==(r=null===(n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0;u=1===u?1:0,i=i.replace(/^\n+/g,"");var a=new RegExp("\n*~~C\\d+I(?:".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),c=0;return i=i.replace(a,(function(t,e){return c+=ka(e,10),t.replace(/^\n+/g,"")})),u+c+(i.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.needCache){var i=n||this.$engine.hash(t),u=zu(e=zu(r="".concat(this.cacheKey,"I")).call(r,i,"_L")).call(e,o,"$");return this.cache[i]={content:t,key:u},u}}},{key:"popCache",value:function(t){if(this.needCache)return this.cache[t].content||""}},{key:"testHasCache",value:function(t){return!(!this.needCache||!this.cache[t])&&this.cache[t].key}},{key:"resetCache",value:function(){this.needCache&&(this.cache={})}},{key:"restoreCache",value:function(t){var r,n=this;if(!this.needCache)return t;var o=new RegExp(zu(r="".concat(this.cacheKey,"I((?:")).call(r,e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+)\\$"),"g"),i=t.replace(o,(function(t,e){return n.popCache(e.replace(/_L\d+$/,""))}));return this.timer&&(clearTimeout(this.timer),this.failedResetCacheTimes+=1,this.timer=null),this.timer=Na((function(){n.resetCache()}),500),this.failedResetCacheTimes>5&&(this.failedResetCacheTimes=0,Na((function(){n.resetCache()}),500)),i}},{key:"checkCache",value:function(t,e){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.sign=this.$engine.hash(t),this.cache[this.sign]?zu(r=zu(n="".concat(this.cacheKey,"I")).call(n,this.sign,"_L")).call(r,o,"$"):this.toHtml(t,e)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(t){return!1}}])}(Ka);function Ec(t,e,r){return e=Lu(e),wu(t,jc()?Fr(e,r||[],Lu(t).constructor):e.apply(t,r))}function jc(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(jc=function(){return!!t})()}Zu(_c,"HOOK_TYPE",Da),Zu(_c,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),Zu(_c,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var xc=function(t){function e(){return Br(this,e),Ec(this,e,[{needCache:!0}])}return $u(e,t),gu(e,[{key:"makeHtml",value:function(t,e){var r=this;return t.replace(this.RULE.reg,(function(t){var n,o,i=t.split(/[\r\n]/).length,u=t.replace("[html]","").replace("[/html]","").replace(/[\r\n]/g,"").replace(/</g,"<").replace(/>/g,">").replace('style="LAYOUT-GRID','style="');u=r._trimScripTag(u);var a=e(u);return zu(n=zu(o='<div data-lines="'.concat(i,'" data-sign="')).call(o,a.sign,'">')).call(n,u,"</div>")}))}},{key:"rule",value:function(){return{reg:/\[html\]([\s\S]*?)\[\/html\]/g}}},{key:"_trimScripTag",value:function(t){return t.replace(/(<(?:script|script\s[^>]*)>)([\s\S]*?)(<\/script>)/gi,"").replace(/(<iframe [^>]*>)|(<\/iframe>)/gi,"")}}])}(_c);return Du(xc,"HOOK_NAME","tapdHtmlTag"),xc}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).CherryTapdHtmlTagPlugin=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t,e){return t(e={exports:{}},e.exports),e.exports}function n(t){return t&&t.default||t}var o,i,u=function(t){return t&&t.Math===Math&&t},a=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},f=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=f,s=Function.prototype,p=s.apply,h=s.call,v="object"==typeof Reflect&&Reflect.apply||(l?h.bind(p):function(){return h.apply(p,arguments)}),y=Function.prototype,d=y.call,g=l&&y.bind.bind(d,d),m=l?g:function(t){return function(){return d.apply(t,arguments)}},b=m,w=b({}.toString),O=b("".slice),S=function(t){return O(w(t),8,-1)},_="object"==typeof document&&document.all,E=void 0===_&&void 0!==_?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},j=!c((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),x=Function.prototype.call,P=l?x.bind(x):function(){return x.apply(x,arguments)},A={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,C={f:k&&!A.call({1:2},1)?function(t){var e=k(this,t);return!!e&&e.enumerable}:A},R=Object,T=b("".split),I=c((function(){return!R("z").propertyIsEnumerable(0)}))?function(t){return"String"===S(t)?T(t,""):R(t)}:R,L=function(t){return null==t},M=TypeError,F=I,B=function(t){if(L(t))throw new M("Can't call method on "+t);return t},H=E,N={},$=a,D=function(t){return H(t)?t:void 0},G=b({}.isPrototypeOf),K="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=$.process,q=$.Deno,X=z&&z.versions||q&&q.version,Y=X&&X.v8;Y&&(i=(o=Y.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&K&&(!(o=K.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=K.match(/Chrome\/(\d+)/))&&(i=+o[1]);var U=i,W=$.String,V=!!Object.getOwnPropertySymbols&&!c((function(){var t=Symbol("symbol detection");return!W(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&U&&U<41})),J=V,Q=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=function(t,e){return arguments.length<2?D(N[t])||D($[t]):N[t]&&N[t][e]||$[t]&&$[t][e]},tt=G,et=Q,rt=Object,nt=et?function(t){return"symbol"==typeof t}:function(t){var e=Z("Symbol");return H(e)&&tt(e.prototype,rt(t))},ot=String,it=function(t){try{return ot(t)}catch(t){return"Object"}},ut=TypeError,at=function(t){if(H(t))return t;throw new ut(it(t)+" is not a function")},ct=P,ft=function(t){return"object"==typeof t?null!==t:H(t)},lt=TypeError,st=Object.defineProperty,pt=function(t,e){try{st($,t,{value:e,configurable:!0,writable:!0})}catch(r){$[t]=e}return e},ht=r((function(t){var e="__core-js_shared__",r=t.exports=$[e]||pt(e,{});(r.versions||(r.versions=[])).push({version:"3.37.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),vt=ht,yt=Object,dt=function(t){return yt(B(t))},gt=b({}.hasOwnProperty),mt=Object.hasOwn||function(t,e){return gt(dt(t),e)},bt=0,wt=Math.random(),Ot=b(1..toString),St=function(t,e){return vt[t]||(vt[t]=e||{})},_t=mt,Et=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Ot(++bt+wt,36)},jt=$.Symbol,xt=St("wks"),Pt=et?jt.for||jt:jt&&jt.withoutSetter||Et,At=nt,kt=function(t,e){var r=t[e];return L(r)?void 0:at(r)},Ct=function(t,e){var r,n;if("string"===e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;if(H(r=t.valueOf)&&!ft(n=ct(r,t)))return n;if("string"!==e&&H(r=t.toString)&&!ft(n=ct(r,t)))return n;throw new lt("Can't convert object to primitive value")},Rt=function(t){return _t(xt,t)||(xt[t]=J&&_t(jt,t)?jt[t]:Pt("Symbol."+t)),xt[t]},Tt=TypeError,It=Rt("toPrimitive"),Lt=function(t,e){if(!ft(t)||At(t))return t;var r,n=kt(t,It);if(n){if(void 0===e&&(e="default"),r=ct(n,t,e),!ft(r)||At(r))return r;throw new Tt("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ct(t,e)},Mt=$.document,Ft=ft(Mt)&&ft(Mt.createElement),Bt=j,Ht=function(t){return Ft?Mt.createElement(t):{}},Nt=!Bt&&!c((function(){return 7!==Object.defineProperty(Ht("div"),"a",{get:function(){return 7}}).a})),$t=C,Dt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Gt=function(t){return F(B(t))},Kt=function(t){var e=Lt(t,"string");return At(e)?e:e+""},zt=Nt,qt=Object.getOwnPropertyDescriptor,Xt={f:Bt?qt:function(t,e){if(t=Gt(t),e=Kt(e),zt)try{return qt(t,e)}catch(t){}if(_t(t,e))return Dt(!ct($t.f,t,e),t[e])}},Yt=/#|\.prototype\./,Ut=function(t,e){var r=Vt[Wt(t)];return r===Qt||r!==Jt&&(H(e)?c(e):!!e)},Wt=Ut.normalize=function(t){return String(t).replace(Yt,".").toLowerCase()},Vt=Ut.data={},Jt=Ut.NATIVE="N",Qt=Ut.POLYFILL="P",Zt=Ut,te=function(t){if("Function"===S(t))return b(t)},ee=te(te.bind),re=Bt&&c((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ne=String,oe=TypeError,ie=re,ue=function(t){if(ft(t))return t;throw new oe(ne(t)+" is not an object")},ae=TypeError,ce=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,le="enumerable",se="configurable",pe="writable",he={f:Bt?ie?function(t,e,r){if(ue(t),e=Kt(e),ue(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pe in r&&!r[pe]){var n=fe(t,e);n&&n[pe]&&(t[e]=r.value,r={configurable:se in r?r[se]:n[se],enumerable:le in r?r[le]:n[le],writable:!1})}return ce(t,e,r)}:ce:function(t,e,r){if(ue(t),e=Kt(e),ue(r),zt)try{return ce(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ae("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},ve=v,ye=Xt,de=Zt,ge=function(t,e){return at(t),void 0===e?t:l?ee(t,e):function(){return t.apply(e,arguments)}},me=Bt?function(t,e,r){return he.f(t,e,Dt(1,r))}:function(t,e,r){return t[e]=r,t},be=ye.f,we=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return ve(t,this,arguments)};return e.prototype=t.prototype,e},Oe=b([].slice),Se=Function,_e=b([].concat),Ee=b([].join),je={},xe=l?Se.bind:function(t){var e=at(this),r=e.prototype,n=Oe(arguments,1),o=function(){var r=_e(n,Oe(arguments));return this instanceof o?function(t,e,r){if(!_t(je,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";je[e]=Se("C,a","return new C("+Ee(n,",")+")")}return je[e](t,r)}(e,r.length,r):e.apply(t,r)};return ft(r)&&(o.prototype=r),o},Pe={};Pe[Rt("toStringTag")]="z";var Ae="[object z]"===String(Pe),ke=Rt("toStringTag"),Ce=Object,Re="Arguments"===S(function(){return arguments}()),Te=Ae?S:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Ce(t),ke))?r:Re?S(e):"Object"===(n=S(e))&&H(e.callee)?"Arguments":n},Ie=b(Function.toString);H(vt.inspectSource)||(vt.inspectSource=function(t){return Ie(t)});var Le=vt.inspectSource,Me=Te,Fe=Le,Be=function(){},He=Z("Reflect","construct"),Ne=/^\s*(?:class|function)\b/,$e=b(Ne.exec),De=!Ne.test(Be),Ge=function(t){if(!H(t))return!1;try{return He(Be,[],t),!0}catch(t){return!1}},Ke=function(t){if(!H(t))return!1;switch(Me(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return De||!!$e(Ne,Fe(t))}catch(t){return!0}};Ke.sham=!0;var ze,qe=!He||c((function(){var t;return Ge(Ge.call)||!Ge(Object)||!Ge((function(){t=!0}))||t}))?Ke:Ge,Xe=TypeError,Ye=Math.ceil,Ue=Math.floor,We=Math.trunc||function(t){var e=+t;return(e>0?Ue:Ye)(e)},Ve=function(t){var e=+t;return e!=e||0===e?0:We(e)},Je=Math.max,Qe=Math.min,Ze=Math.min,tr=function(t){var e=Ve(t);return e>0?Ze(e,9007199254740991):0},er=function(t,e){var r=Ve(t);return r<0?Je(r+e,0):Qe(r,e)},rr=function(t){return tr(t.length)},nr=function(t){return function(e,r,n){var o=Gt(e),i=rr(o);if(0===i)return!t&&-1;var u,a=er(n,i);if(t&&r!=r){for(;i>a;)if((u=o[a++])!=u)return!0}else for(;i>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return!t&&-1}},or={includes:nr(!0),indexOf:nr(!1)},ir={},ur=or.indexOf,ar=b([].push),cr=function(t,e){var r,n=Gt(t),o=0,i=[];for(r in n)!_t(ir,r)&&_t(n,r)&&ar(i,r);for(;e.length>o;)_t(n,r=e[o++])&&(~ur(i,r)||ar(i,r));return i},fr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lr=Object.keys||function(t){return cr(t,fr)},sr=Bt&&!ie?Object.defineProperties:function(t,e){ue(t);for(var r,n=Gt(e),o=lr(e),i=o.length,u=0;i>u;)he.f(t,r=o[u++],n[r]);return t},pr={f:sr},hr=Z("document","documentElement"),vr=St("keys"),yr=pr,dr=hr,gr=function(t){return vr[t]||(vr[t]=Et(t))},mr="prototype",br="script",wr=gr("IE_PROTO"),Or=function(){},Sr=function(t){return"<"+br+">"+t+"</"+br+">"},_r=function(t){t.write(Sr("")),t.close();var e=t.parentWindow.Object;return t=null,e},Er=function(){try{ze=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Er="undefined"!=typeof document?document.domain&&ze?_r(ze):(e=Ht("iframe"),r="java"+br+":",e.style.display="none",dr.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Sr("document.F=Object")),t.close(),t.F):_r(ze);for(var n=fr.length;n--;)delete Er[mr][fr[n]];return Er()};ir[wr]=!0;var jr=Object.create||function(t,e){var r;return null!==t?(Or[mr]=ue(t),r=new Or,Or[mr]=null,r[wr]=t):r=Er(),void 0===e?r:yr.f(r,e)},xr=function(t,e){var r,n,o,i,u,a,c,f,l,s=t.target,p=t.global,h=t.stat,v=t.proto,y=p?$:h?$[s]:$[s]&&$[s].prototype,d=p?N:N[s]||me(N,s,{})[s],g=d.prototype;for(i in e)n=!(r=de(p?i:s+(h?".":"#")+i,t.forced))&&y&&_t(y,i),a=d[i],n&&(c=t.dontCallGetSet?(l=be(y,i))&&l.value:y[i]),u=n&&c?c:e[i],(r||v||typeof a!=typeof u)&&(f=t.bind&&n?ge(u,$):t.wrap&&n?we(u):v&&H(u)?te(u):u,(t.sham||u&&u.sham||a&&a.sham)&&me(f,"sham",!0),me(d,i,f),v&&(_t(N,o=s+"Prototype")||me(N,o,{}),me(N[o],i,u),t.real&&g&&(r||!g[i])&&me(g,i,u)))},Pr=xe,Ar=function(t){if(qe(t))return t;throw new Xe(it(t)+" is not a constructor")},kr=jr,Cr=Z("Reflect","construct"),Rr=Object.prototype,Tr=[].push,Ir=c((function(){function t(){}return!(Cr((function(){}),[],t)instanceof t)})),Lr=!c((function(){Cr((function(){}))})),Mr=Ir||Lr;xr({target:"Reflect",stat:!0,forced:Mr,sham:Mr},{construct:function(t,e){Ar(t),ue(e);var r=arguments.length<3?t:Ar(arguments[2]);if(Lr&&!Ir)return Cr(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return ve(Tr,n,e),new(ve(Pr,t,n))}var o=r.prototype,i=kr(ft(o)?o:Rr),u=ve(t,i,e);return ft(u)?u:i}});var Fr=N.Reflect.construct,Br=e(r((function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}))),Hr=he.f;xr({target:"Object",stat:!0,forced:Object.defineProperty!==Hr,sham:!Bt},{defineProperty:Hr});var Nr=r((function(t){var e=N.Object,r=t.exports=function(t,r,n){return e.defineProperty(t,r,n)};e.defineProperty.sham&&(r.sham=!0)})),$r=Nr,Dr=$r,Gr=Dr,Kr=Array.isArray||function(t){return"Array"===S(t)},zr=TypeError,qr=Kr,Xr=Rt("species"),Yr=Array,Ur=function(t){var e;return qr(t)&&(e=t.constructor,(qe(e)&&(e===Yr||qr(e.prototype))||ft(e)&&null===(e=e[Xr]))&&(e=void 0)),void 0===e?Yr:e},Wr=Rt("species"),Vr=function(t){if(t>9007199254740991)throw zr("Maximum allowed index exceeded");return t},Jr=function(t,e,r){Bt?he.f(t,e,Dt(0,r)):t[e]=r},Qr=function(t,e){return new(Ur(t))(0===e?0:e)},Zr=function(t){return U>=51||!c((function(){var e=[];return(e.constructor={})[Wr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},tn=Rt("isConcatSpreadable"),en=U>=51||!c((function(){var t=[];return t[tn]=!1,t.concat()[0]!==t})),rn=function(t){if(!ft(t))return!1;var e=t[tn];return void 0!==e?!!e:qr(t)},nn=!en||!Zr("concat");xr({target:"Array",proto:!0,arity:1,forced:nn},{concat:function(t){var e,r,n,o,i,u=dt(this),a=Qr(u,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(rn(i=-1===e?u:arguments[e]))for(o=rr(i),Vr(c+o),r=0;r<o;r++,c++)r in i&&Jr(a,c,i[r]);else Vr(c+1),Jr(a,c++,i);return a.length=c,a}});var on,un,an,cn=Object.freeze({__proto__:null}),fn=String,ln=fr.concat("length","prototype"),sn={f:Object.getOwnPropertyNames||function(t){return cr(t,ln)}},pn=sn.f,hn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vn={f:function(t){return hn&&"Window"===S(t)?function(t){try{return pn(t)}catch(t){return Oe(hn)}}(t):pn(Gt(t))}},yn={f:Object.getOwnPropertySymbols},dn={f:Rt},gn=he.f,mn=function(t,e,r,n){return n&&n.enumerable?t[e]=r:me(t,e,r),t},bn=Ae?{}.toString:function(){return"[object "+Me(this)+"]"},wn=he.f,On=Rt("toStringTag"),Sn=$.WeakMap,_n=H(Sn)&&/native code/.test(String(Sn)),En="Object already initialized",jn=$.TypeError,xn=$.WeakMap;if(_n||vt.state){var Pn=vt.state||(vt.state=new xn);Pn.get=Pn.get,Pn.has=Pn.has,Pn.set=Pn.set,on=function(t,e){if(Pn.has(t))throw new jn(En);return e.facade=t,Pn.set(t,e),e},un=function(t){return Pn.get(t)||{}},an=function(t){return Pn.has(t)}}else{var An=gr("state");ir[An]=!0,on=function(t,e){if(_t(t,An))throw new jn(En);return e.facade=t,me(t,An,e),e},un=function(t){return _t(t,An)?t[An]:{}},an=function(t){return _t(t,An)}}var kn={set:on,get:un,has:an,enforce:function(t){return an(t)?un(t):on(t,{})},getterFor:function(t){return function(e){var r;if(!ft(e)||(r=un(e)).type!==t)throw new jn("Incompatible receiver, "+t+" required");return r}}},Cn=b([].push),Rn=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,l,s){for(var p,h,v=dt(c),y=F(v),d=rr(y),g=ge(f,l),m=0,b=s||Qr,w=e?b(c,d):r||u?b(c,0):void 0;d>m;m++)if((a||m in y)&&(h=g(p=y[m],m,v),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:Cn(w,p)}else switch(t){case 4:return!1;case 7:Cn(w,p)}return i?-1:n||o?o:w}},Tn={forEach:Rn(0),map:Rn(1),filter:Rn(2),some:Rn(3),every:Rn(4),find:Rn(5),findIndex:Rn(6),filterReject:Rn(7)},In=function(t){if("Symbol"===Me(t))throw new TypeError("Cannot convert a Symbol value to a string");return fn(t)},Ln=vn,Mn=yn,Fn=function(t,e,r){return he.f(t,e,r)},Bn=function(t){var e=N.Symbol||(N.Symbol={});_t(e,t)||gn(e,t,{value:dn.f(t)})},Hn=function(){var t=Z("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=Rt("toPrimitive");e&&!e[n]&&mn(e,n,(function(t){return ct(r,this)}),{arity:1})},Nn=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(_t(o,On)||wn(o,On,{configurable:!0,value:e}),n&&!Ae&&me(o,"toString",bn))},$n=kn,Dn=Tn,Gn=Dn.forEach,Kn=gr("hidden"),zn="Symbol",qn="prototype",Xn=$n.set,Yn=$n.getterFor(zn),Un=Object[qn],Wn=$.Symbol,Vn=Wn&&Wn[qn],Jn=$.RangeError,Qn=$.TypeError,Zn=$.QObject,to=ye.f,eo=he.f,ro=Ln.f,no=$t.f,oo=b([].push),io=St("symbols"),uo=St("op-symbols"),ao=St("wks"),co=!Zn||!Zn[qn]||!Zn[qn].findChild,fo=function(t,e,r){var n=to(Un,e);n&&delete Un[e],eo(t,e,r),n&&t!==Un&&eo(Un,e,n)},lo=Bt&&c((function(){return 7!==kr(eo({},"a",{get:function(){return eo(this,"a",{value:7}).a}})).a}))?fo:eo,so=function(t,e){var r=io[t]=kr(Vn);return Xn(r,{type:zn,tag:t,description:e}),Bt||(r.description=e),r},po=function(t,e,r){t===Un&&po(uo,e,r),ue(t);var n=Kt(e);return ue(r),_t(io,n)?(r.enumerable?(_t(t,Kn)&&t[Kn][n]&&(t[Kn][n]=!1),r=kr(r,{enumerable:Dt(0,!1)})):(_t(t,Kn)||eo(t,Kn,Dt(1,kr(null))),t[Kn][n]=!0),lo(t,n,r)):eo(t,n,r)},ho=function(t,e){ue(t);var r=Gt(e),n=lr(r).concat(mo(r));return Gn(n,(function(e){Bt&&!ct(vo,r,e)||po(t,e,r[e])})),t},vo=function(t){var e=Kt(t),r=ct(no,this,e);return!(this===Un&&_t(io,e)&&!_t(uo,e))&&(!(r||!_t(this,e)||!_t(io,e)||_t(this,Kn)&&this[Kn][e])||r)},yo=function(t,e){var r=Gt(t),n=Kt(e);if(r!==Un||!_t(io,n)||_t(uo,n)){var o=to(r,n);return!o||!_t(io,n)||_t(r,Kn)&&r[Kn][n]||(o.enumerable=!0),o}},go=function(t){var e=ro(Gt(t)),r=[];return Gn(e,(function(t){_t(io,t)||_t(ir,t)||oo(r,t)})),r},mo=function(t){var e=t===Un,r=ro(e?uo:Gt(t)),n=[];return Gn(r,(function(t){!_t(io,t)||e&&!_t(Un,t)||oo(n,io[t])})),n};J||(Wn=function(){if(tt(Vn,this))throw new Qn("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?In(arguments[0]):void 0,e=Et(t),r=function(t){var n=void 0===this?$:this;n===Un&&ct(r,uo,t),_t(n,Kn)&&_t(n[Kn],e)&&(n[Kn][e]=!1);var o=Dt(1,t);try{lo(n,e,o)}catch(t){if(!(t instanceof Jn))throw t;fo(n,e,o)}};return Bt&&co&&lo(Un,e,{configurable:!0,set:r}),so(e,t)},Vn=Wn[qn],mn(Vn,"toString",(function(){return Yn(this).tag})),mn(Wn,"withoutSetter",(function(t){return so(Et(t),t)})),$t.f=vo,he.f=po,yr.f=ho,ye.f=yo,sn.f=Ln.f=go,Mn.f=mo,dn.f=function(t){return so(Rt(t),t)},Bt&&Fn(Vn,"description",{configurable:!0,get:function(){return Yn(this).description}})),xr({global:!0,constructor:!0,wrap:!0,forced:!J,sham:!J},{Symbol:Wn}),Gn(lr(ao),(function(t){Bn(t)})),xr({target:zn,stat:!0,forced:!J},{useSetter:function(){co=!0},useSimple:function(){co=!1}}),xr({target:"Object",stat:!0,forced:!J,sham:!Bt},{create:function(t,e){return void 0===e?kr(t):ho(kr(t),e)},defineProperty:po,defineProperties:ho,getOwnPropertyDescriptor:yo}),xr({target:"Object",stat:!0,forced:!J},{getOwnPropertyNames:go}),Hn(),Nn(Wn,zn),ir[Kn]=!0;var bo=J&&!!Symbol.for&&!!Symbol.keyFor,wo=St("string-to-symbol-registry"),Oo=St("symbol-to-string-registry");xr({target:"Symbol",stat:!0,forced:!bo},{for:function(t){var e=In(t);if(_t(wo,e))return wo[e];var r=Z("Symbol")(e);return wo[e]=r,Oo[r]=e,r}});var So=St("symbol-to-string-registry");xr({target:"Symbol",stat:!0,forced:!bo},{keyFor:function(t){if(!At(t))throw new TypeError(it(t)+" is not a symbol");if(_t(So,t))return So[t]}});var _o=b([].push),Eo=function(t){if(H(t))return t;if(qr(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?_o(r,o):"number"!=typeof o&&"Number"!==S(o)&&"String"!==S(o)||_o(r,In(o))}var i=r.length,u=!0;return function(t,e){if(u)return u=!1,e;if(qr(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},jo=String,xo=Z("JSON","stringify"),Po=b(/./.exec),Ao=b("".charAt),ko=b("".charCodeAt),Co=b("".replace),Ro=b(1..toString),To=/[\uD800-\uDFFF]/g,Io=/^[\uD800-\uDBFF]$/,Lo=/^[\uDC00-\uDFFF]$/,Mo=!J||c((function(){var t=Z("Symbol")("stringify detection");return"[null]"!==xo([t])||"{}"!==xo({a:t})||"{}"!==xo(Object(t))})),Fo=c((function(){return'"\\udf06\\ud834"'!==xo("\udf06\ud834")||'"\\udead"'!==xo("\udead")})),Bo=function(t,e){var r=Oe(arguments),n=Eo(e);if(H(n)||void 0!==t&&!At(t))return r[1]=function(t,e){if(H(n)&&(e=ct(n,this,jo(t),e)),!At(e))return e},ve(xo,null,r)},Ho=function(t,e,r){var n=Ao(r,e-1),o=Ao(r,e+1);return Po(Io,t)&&!Po(Lo,o)||Po(Lo,t)&&!Po(Io,n)?"\\u"+Ro(ko(t,0),16):t};xo&&xr({target:"JSON",stat:!0,arity:3,forced:Mo||Fo},{stringify:function(t,e,r){var n=Oe(arguments),o=ve(Mo?Bo:xo,null,n);return Fo&&"string"==typeof o?Co(o,To,Ho):o}});var No=!J||c((function(){Mn.f(1)}));xr({target:"Object",stat:!0,forced:No},{getOwnPropertySymbols:function(t){var e=Mn.f;return e?e(dt(t)):[]}}),Bn("asyncIterator");var $o=Object.freeze({__proto__:null});Bn("hasInstance"),Bn("isConcatSpreadable"),Bn("iterator"),Bn("match"),Bn("matchAll"),Bn("replace"),Bn("search"),Bn("species"),Bn("split"),Bn("toPrimitive"),Hn(),Bn("toStringTag"),Nn(Z("Symbol"),"Symbol"),Bn("unscopables"),Nn($.JSON,"JSON",!0);var Do=Object.freeze({__proto__:null}),Go=Object.freeze({__proto__:null});n(cn),n($o),n(Do),n(Go);var Ko,zo,qo,Xo=N.Symbol,Yo=Function.prototype,Uo=Bt&&Object.getOwnPropertyDescriptor,Wo=_t(Yo,"name"),Vo={EXISTS:Wo,PROPER:Wo&&"something"===function(){}.name,CONFIGURABLE:Wo&&(!Bt||Bt&&Uo(Yo,"name").configurable)},Jo=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Qo=gr("IE_PROTO"),Zo=Object,ti=Zo.prototype,ei=Jo?Zo.getPrototypeOf:function(t){var e=dt(t);if(_t(e,Qo))return e[Qo];var r=e.constructor;return H(r)&&e instanceof r?r.prototype:e instanceof Zo?ti:null},ri=Rt("iterator"),ni=!1;[].keys&&("next"in(qo=[].keys())?(zo=ei(ei(qo)))!==Object.prototype&&(Ko=zo):ni=!0);var oi=!ft(Ko)||c((function(){var t={};return Ko[ri].call(t)!==t}));Ko=oi?{}:kr(Ko),H(Ko[ri])||mn(Ko,ri,(function(){return this}));var ii={IteratorPrototype:Ko,BUGGY_SAFARI_ITERATORS:ni},ui={},ai=ii.IteratorPrototype,ci=function(){return this},fi=function(t){return ft(t)||null===t},li=String,si=TypeError,pi=function(t,e,r){try{return b(at(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}},hi=function(t){if(fi(t))return t;throw new si("Can't set "+li(t)+" as a prototype")},vi=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=pi(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return B(r),hi(n),ft(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),yi=Vo,di=function(t,e,r,n){var o=e+" Iterator";return t.prototype=kr(ai,{next:Dt(+!n,r)}),Nn(t,o,!1,!0),ui[o]=ci,t},gi=vi,mi=yi.PROPER,bi=ii.BUGGY_SAFARI_ITERATORS,wi=Rt("iterator"),Oi="keys",Si="values",_i="entries",Ei=function(){return this},ji=function(){},xi=function(t,e,r,n,o,i,u){di(r,e,n);var a,c,f,l=function(t){if(t===o&&y)return y;if(!bi&&t&&t in h)return h[t];switch(t){case Oi:case Si:case _i:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",p=!1,h=t.prototype,v=h[wi]||h["@@iterator"]||o&&h[o],y=!bi&&v||l(o),d="Array"===e&&h.entries||v;if(d&&(a=ei(d.call(new t)))!==Object.prototype&&a.next&&(Nn(a,s,!0,!0),ui[s]=Ei),mi&&o===Si&&v&&v.name!==Si&&(p=!0,y=function(){return ct(v,this)}),o)if(c={values:l(Si),keys:i?y:l(Oi),entries:l(_i)},u)for(f in c)(bi||p||!(f in h))&&mn(h,f,c[f]);else xr({target:e,proto:!0,forced:bi||p},c);return u&&h[wi]!==y&&mn(h,wi,y,{name:o}),ui[e]=y,c},Pi=function(t,e){return{value:t,done:e}},Ai=(he.f,"Array Iterator"),ki=$n.set,Ci=$n.getterFor(Ai);xi(Array,"Array",(function(t,e){ki(this,{type:Ai,target:Gt(t),index:0,kind:e})}),(function(){var t=Ci(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,Pi(void 0,!0);switch(t.kind){case"keys":return Pi(r,!1);case"values":return Pi(e[r],!1)}return Pi([r,e[r]],!1)}),"values");ui.Arguments=ui.Array;ji(),ji(),ji();var Ri={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};for(var Ti in Ri)Nn($[Ti],Ti),ui[Ti]=ui.Array;var Ii=Xo,Li=he.f,Mi=Rt("metadata"),Fi=Function.prototype;void 0===Fi[Mi]&&Li(Fi,Mi,{value:null}),Bn("asyncDispose"),Bn("dispose"),Bn("metadata");var Bi=Ii,Hi=Z("Symbol"),Ni=Hi.keyFor,$i=b(Hi.prototype.valueOf),Di=Hi.isRegisteredSymbol||function(t){try{return void 0!==Ni($i(t))}catch(t){return!1}};xr({target:"Symbol",stat:!0},{isRegisteredSymbol:Di});for(var Gi=Z("Symbol"),Ki=Gi.isWellKnownSymbol,zi=Z("Object","getOwnPropertyNames"),qi=b(Gi.prototype.valueOf),Xi=St("wks"),Yi=0,Ui=zi(Gi),Wi=Ui.length;Yi<Wi;Yi++)try{var Vi=Ui[Yi];At(Gi[Vi])&&Rt(Vi)}catch(t){}var Ji=function(t){if(Ki&&Ki(t))return!0;try{for(var e=qi(t),r=0,n=zi(Xi),o=n.length;r<o;r++)if(Xi[n[r]]==e)return!0}catch(t){}return!1};xr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:Ji}),Bn("customMatcher"),Bn("observable"),xr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Di}),xr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:Ji}),Bn("matcher"),Bn("metadataKey"),Bn("patternMatch"),Bn("replaceAll");var Qi=Bi,Zi=Qi,tu=b("".charAt),eu=b("".charCodeAt),ru=b("".slice),nu=function(t){return function(e,r){var n,o,i=In(B(e)),u=Ve(r),a=i.length;return u<0||u>=a?t?"":void 0:(n=eu(i,u))<55296||n>56319||u+1===a||(o=eu(i,u+1))<56320||o>57343?t?tu(i,u):n:t?ru(i,u,u+2):o-56320+(n-55296<<10)+65536}},ou={codeAt:nu(!1),charAt:nu(!0)}.charAt,iu="String Iterator",uu=$n.set,au=$n.getterFor(iu);xi(String,"String",(function(t){uu(this,{type:iu,string:In(t),index:0})}),(function(){var t,e=au(this),r=e.string,n=e.index;return n>=r.length?Pi(void 0,!0):(t=ou(r,n),e.index+=t.length,Pi(t,!1))}));var cu=dn.f("iterator"),fu=Qi,lu=cu,su=r((function(t){function e(r){return t.exports=e="function"==typeof fu&&"symbol"==typeof lu?function(t){return typeof t}:function(t){return t&&"function"==typeof fu&&t.constructor===fu&&t!==fu.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(su),n(Object.freeze({__proto__:null}));var pu=dn.f("toPrimitive"),hu=pu,vu=r((function(t){var e=su.default;t.exports=function(t,r){if("object"!=e(t)||!t)return t;var n=t[hu];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}));e(vu);var yu=r((function(t){var e=su.default;t.exports=function(t){var r=vu(t,"string");return"symbol"==e(r)?r:r+""},t.exports.__esModule=!0,t.exports.default=t.exports}));e(yu);var du=r((function(t){function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Dr(t,yu(n.key),n)}}t.exports=function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Dr(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports})),gu=e(du),mu=r((function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}));e(mu);var bu=r((function(t){var e=su.default;t.exports=function(t,r){if(r&&("object"==e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return mu(t)},t.exports.__esModule=!0,t.exports.default=t.exports})),wu=e(bu);xr({target:"Object",stat:!0},{setPrototypeOf:gi});var Ou=N.Object.setPrototypeOf,Su=Ou;xr({target:"Function",proto:!0,forced:Function.bind!==Pr},{bind:Pr});var _u=function(t,e){var r=N[t+"Prototype"],n=r&&r[e];if(n)return n;var o=$[t],i=o&&o.prototype;return i&&i[e]},Eu=_u("Function","bind"),ju=Function.prototype,xu=function(t){var e=t.bind;return t===ju||tt(ju,t)&&e===ju.bind?Eu:e},Pu=xu,Au=c((function(){ei(1)}));xr({target:"Object",stat:!0,forced:Au,sham:!Jo},{getPrototypeOf:function(t){return ei(dt(t))}});var ku=N.Object.getPrototypeOf,Cu=Ou,Ru=xu,Tu=ku,Iu=r((function(t){function e(r){var n;return t.exports=e=Cu?Ru(n=Tu).call(n):function(t){return t.__proto__||Tu(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),Lu=e(Iu);xr({target:"Object",stat:!0,sham:!Bt},{create:kr});var Mu=N.Object,Fu=function(t,e){return Mu.create(t,e)},Bu=Fu,Hu=r((function(t){function e(r,n){var o;return t.exports=e=Cu?Ru(o=Cu).call(o):function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}));e(Hu);var Nu=Fu,$u=e(r((function(t){t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Nu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Dr(t,"prototype",{writable:!1}),e&&Hu(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports}))),Du=e(r((function(t){t.exports=function(t,e,r){return(e=yu(e))in t?Dr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Gu=_u("Array","concat"),Ku=Array.prototype,zu=function(t){var e=t.concat;return t===Ku||tt(Ku,t)&&e===Ku.concat?Gu:e};function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xu(t){return Xu="function"==typeof Zi&&"symbol"==typeof cu?function(t){return typeof t}:function(t){return t&&"function"==typeof Zi&&t.constructor===Zi&&t!==Zi.prototype?"symbol":typeof t},Xu(t)}function Yu(t){var e=function(t,e){if("object"!=Xu(t)||!t)return t;var r=t[pu];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xu(e)?e:e+""}function Uu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Gr(t,Yu(n.key),n)}}function Wu(t,e,r){return e&&Uu(t.prototype,e),r&&Uu(t,r),Gr(t,"prototype",{writable:!1}),t}function Vu(t,e){if(e&&("object"==Xu(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ju(t){var e;return Ju=Su?Pu(e=ku).call(e):function(t){return t.__proto__||ku(t)},Ju(t)}function Qu(t,e){var r;return Qu=Su?Pu(r=Su).call(r):function(t,e){return t.__proto__=e,t},Qu(t,e)}function Zu(t,e,r){return(e=Yu(e))in t?Gr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ta=Dn.filter,ea=Zr("filter");xr({target:"Array",proto:!0,forced:!ea},{filter:function(t){return ta(this,t,arguments.length>1?arguments[1]:void 0)}});var ra=_u("Array","filter"),na=Array.prototype,oa=function(t){var e=t.filter;return t===na||tt(na,t)&&e===na.filter?ra:e},ia=Dn.map,ua=Zr("map");xr({target:"Array",proto:!0,forced:!ua},{map:function(t){return ia(this,t,arguments.length>1?arguments[1]:void 0)}});var aa=_u("Array","map"),ca=Array.prototype,fa=function(t){var e=t.map;return t===ca||tt(ca,t)&&e===ca.map?aa:e},la="\t\n\v\f\r \u2028\u2029\ufeff",sa=b("".replace),pa=RegExp("^["+la+"]+"),ha=RegExp("(^|[^"+la+"])["+la+"]+$"),va=function(t){return function(e){var r=In(B(e));return 1&t&&(r=sa(r,pa,"")),2&t&&(r=sa(r,ha,"$1")),r}},ya={start:va(1),end:va(2),trim:va(3)},da=yi.PROPER,ga=ya,ma=ga.trim;xr({target:"String",proto:!0,forced:function(t){return c((function(){return!!la[t]()||"
"!=="
"[t]()||da&&la[t].name!==t}))}("trim")},{trim:function(){return ma(this)}});var ba=_u("String","trim"),wa=String.prototype,Oa=function(t){var e=t.trim;return"string"==typeof t||t===wa||tt(wa,t)&&e===wa.trim?ba:e},Sa=ga.trim,_a=$.parseInt,Ea=$.Symbol,ja=Ea&&Ea.iterator,xa=/^[+-]?0x/i,Pa=b(xa.exec),Aa=8!==_a(la+"08")||22!==_a(la+"0x16")||ja&&!c((function(){_a(Object(ja))}))?function(t,e){var r=Sa(In(t));return _a(r,e>>>0||(Pa(xa,r)?16:10))}:_a;xr({global:!0,forced:parseInt!==Aa},{parseInt:Aa});var ka=N.parseInt,Ca="function"==typeof Bun&&Bun&&"string"==typeof Bun.version,Ra=TypeError,Ta=Ca,Ia=function(t,e){if(t<e)throw new Ra("Not enough arguments");return t},La=$.Function,Ma=/MSIE .\./.test(K)||Ta&&function(){var t=$.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}(),Fa=function(t,e){var r=e?2:1;return Ma?function(n,o){var i=Ia(arguments.length,1)>r,u=H(n)?n:La(n),a=i?Oe(arguments,r):[],c=i?function(){ve(u,this,a)}:u;return e?t(c,o):t(c)}:t},Ba=Fa($.setInterval,!0);xr({global:!0,bind:!0,forced:$.setInterval!==Ba},{setInterval:Ba});var Ha=Fa($.setTimeout,!0);xr({global:!0,bind:!0,forced:$.setTimeout!==Ha},{setTimeout:Ha});var Na=N.setTimeout,$a=!1,Da="paragraph",Ga="sentence",Ka=function(){return Wu((function t(e){qu(this,t),Zu(this,"$engine",void 0),Zu(this,"$locale",void 0),this.RULE=this.rule(e)}),[{key:"getType",value:function(){return this.constructor.HOOK_TYPE||Ga}},{key:"getName",value:function(){return this.constructor.HOOK_NAME}},{key:"afterInit",value:function(t){"function"==typeof t&&t()}},{key:"setLocale",value:function(t){this.$locale=t}},{key:"beforeMakeHtml",value:function(t){return t}},{key:"makeHtml",value:function(t){return t}},{key:"afterMakeHtml",value:function(t){return t}},{key:"onKeyDown",value:function(t,e){}},{key:"getOnKeyDown",value:function(){return this.onKeyDown||!1}},{key:"getAttributesTest",value:function(){return/^(color|fontSize|font-size|id|title|class|target|underline|line-through|overline|sub|super)$/}},{key:"$testAttributes",value:function(t,e){this.getAttributesTest().test(t)&&e()}},{key:"getAttributes",value:function(t){return{attrs:{},str:t}}},{key:"test",value:function(t){return!!this.RULE.reg&&this.RULE.reg.test(t)}},{key:"rule",value:function(t){return{begin:"",end:"",content:"",reg:new RegExp("")}}},{key:"mounted",value:function(){}}],[{key:"getMathJaxConfig",value:function(){return $a}},{key:"setMathJaxConfig",value:function(t){$a=t}}])}();Zu(Ka,"HOOK_NAME","default"),Zu(Ka,"HOOK_TYPE",Ga);var za=N.Object.getOwnPropertySymbols,qa=ye.f,Xa=!Bt||c((function(){qa(1)}));xr({target:"Object",stat:!0,forced:Xa,sham:!Bt},{getOwnPropertyDescriptor:function(t,e){return qa(Gt(t),e)}});var Ya=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.getOwnPropertyDescriptor(t,r)};e.getOwnPropertyDescriptor.sham&&(r.sham=!0)})),Ua=Ya,Wa=function(t,e){var r=[][t];return!!r&&c((function(){r.call(null,e||function(){return 1},1)}))},Va=Dn.forEach,Ja=Wa("forEach")?[].forEach:function(t){return Va(this,t,arguments.length>1?arguments[1]:void 0)};xr({target:"Array",proto:!0,forced:[].forEach!==Ja},{forEach:Ja});var Qa=_u("Array","forEach");n(Object.freeze({__proto__:null}));var Za=Array.prototype,tc={DOMTokenList:!0,NodeList:!0},ec=function(t){var e=t.forEach;return t===Za||tt(Za,t)&&e===Za.forEach||_t(tc,Me(t))?Qa:e},rc=b([].concat),nc=Z("Reflect","ownKeys")||function(t){var e=sn.f(ue(t)),r=Mn.f;return r?rc(e,r(t)):e},oc=nc;xr({target:"Object",stat:!0,sham:!Bt},{getOwnPropertyDescriptors:function(t){for(var e,r,n=Gt(t),o=ye.f,i=oc(n),u={},a=0;i.length>a;)void 0!==(r=o(n,e=i[a++]))&&Jr(u,e,r);return u}});var ic=N.Object.getOwnPropertyDescriptors,uc=yr.f;xr({target:"Object",stat:!0,forced:Object.defineProperties!==uc,sham:!Bt},{defineProperties:uc});var ac=r((function(t){var e=N.Object,r=t.exports=function(t,r){return e.defineProperties(t,r)};e.defineProperties.sham&&(r.sham=!0)})),cc=ac,fc=$r,lc=c((function(){lr(1)}));xr({target:"Object",stat:!0,forced:lc},{keys:function(t){return lr(dt(t))}});var sc,pc,hc=N.Object.keys;function vc(t,e){var r=hc(t);if(za){var n=za(t);e&&(n=oa(n).call(n,(function(e){return Ua(t,e).enumerable}))),r.push.apply(r,n)}return r}function yc(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?ec(r=vc(Object(o),!0)).call(r,(function(e){Zu(t,e,o[e])})):ic?cc(t,ic(o)):ec(n=vc(Object(o))).call(n,(function(e){fc(t,e,Ua(o,e))}))}return t}var dc=yc(yc(yc(yc(yc(yc({},{34:""",38:"&",39:"'",60:"<",62:">"}),{192:"À",193:"Á",194:"Â",195:"Ã",196:"Ä",197:"Å",198:"Æ",199:"Ç",200:"È",201:"É",202:"Ê",203:"Ë",204:"Ì",205:"Í",206:"Î",207:"Ï",208:"Ð",209:"Ñ",210:"Ò",211:"Ó",212:"Ô",213:"Õ",214:"Ö",216:"Ø",217:"Ù",218:"Ú",219:"Û",220:"Ü",221:"Ý",222:"Þ",223:"ß",224:"à",225:"á",226:"â",227:"ã",228:"ä",229:"å",230:"æ",231:"ç",232:"è",233:"é",234:"ê",235:"ë",236:"ì",237:"í",238:"î",239:"ï",240:"ð",241:"ñ",242:"ò",243:"ó",244:"ô",245:"õ",246:"ö",248:"ø",249:"ù",250:"ú",251:"û",252:"ü",253:"ý",254:"þ",255:"ÿ"}),{160:" ",161:"¡",162:"¢",163:"£",164:"¤",165:"¥",166:"¦",167:"§",168:"¨",169:"©",170:"ª",171:"«",172:"¬",173:"­",174:"®",175:"¯",176:"°",177:"±",178:"²",179:"³",180:"´",181:"µ",182:"¶",184:"¸",185:"¹",186:"º",187:"»",188:"¼",189:"½",190:"¾",191:"¿",215:"×",247:"÷"}),{8704:"∀",8706:"∂",8707:"∃",8709:"∅",8711:"∇",8712:"∈",8713:"∉",8715:"∋",8719:"∏",8721:"∑",8722:"−",8727:"∗",8730:"√",8733:"∝",8734:"∞",8736:"∠",8743:"∧",8744:"∨",8745:"∩",8746:"∪",8747:"∫",8756:"∴",8764:"∼",8773:"≅",8776:"≈",8800:"≠",8801:"≡",8804:"≤",8805:"≥",8834:"⊂",8835:"⊃",8836:"⊄",8838:"⊆",8839:"⊇",8853:"⊕",8855:"⊗",8869:"⊥",8901:"⋅"}),{913:"Α",914:"Β",915:"Γ",916:"Δ",917:"Ε",918:"Ζ",919:"Η",920:"Θ",921:"Ι",922:"Κ",923:"Λ",924:"Μ",925:"Ν",926:"Ξ",927:"Ο",928:"Π",929:"Ρ",931:"Σ",932:"Τ",933:"Υ",934:"Φ",935:"Χ",936:"Ψ",937:"Ω",945:"α",946:"β",947:"γ",948:"δ",949:"ε",950:"ζ",951:"η",952:"θ",953:"ι",954:"κ",955:"λ",956:"μ",957:"ν",958:"ξ",959:"ο",960:"π",961:"ρ",962:"ς",963:"σ",964:"τ",965:"υ",966:"φ",967:"χ",968:"ψ",969:"ω",977:"ϑ",978:"ϒ",982:"ϖ"}),{338:"Œ",339:"œ",352:"Š",353:"š",376:"Ÿ",402:"ƒ",710:"ˆ",732:"˜",8194:" ",8195:" ",8201:" ",8204:"‌",8205:"‍",8206:"‎",8207:"‏",8211:"–",8212:"—",8216:"‘",8217:"’",8218:"‚",8220:"“",8221:"”",8222:"„",8224:"†",8225:"‡",8226:"•",8230:"…",8240:"‰",8242:"′",8243:"″",8249:"‹",8250:"›",8254:"‾",8364:"€",8482:"™",8592:"←",8593:"↑",8594:"→",8595:"↓",8596:"↔",8629:"↵",8968:"⌈",8969:"⌉",8970:"⌊",8971:"⌋",9674:"◊",9824:"♠",9827:"♣",9829:"♥",9830:"♦"}),gc=hc(dc);fa(gc).call(gc,(function(t){return dc[t].replace(/^&(\w+);$/g,(function(t,e){return e.toLowerCase()}))}));var mc=["h1|h2|h3|h4|h5|h6","ul|ol|li|dd|dl|dt","table|thead|tbody|tfoot|col|colgroup|th|td|tr","div|article|section|footer|aside|details|summary|code|audio|video|canvas|figure","address|center|cite|p|pre|blockquote|marquee|caption|figcaption|track|source|output|svg"].join("|"),bc=["span|a|link|b|s|i|del|u|em|strong|sup|sub|kbd","nav|font|bdi|samp|map|area|small|time|bdo|var|wbr|meter|dfn","ruby|rt|rp|mark|q|progress|input|textarea|select|ins"].join("|");function wc(t,e,r){return e=Ju(e),Vu(t,Oc()?Fr(e,r||[],Ju(t).constructor):e.apply(t,r))}function Oc(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(Oc=function(){return!!t})()}new RegExp(zu(sc=zu(pc="^(".concat(mc,"|")).call(pc,bc,"|")).call(sc,"br|img|hr",")( |$|/)"),"i");var Sc=0,_c=function(t){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{needCache:!1},n=r.needCache,o=r.defaultCache,i=void 0===o?{}:o;return qu(this,e),(t=wc(this,e,[{}])).needCache=!!n,t.sign="",n&&(t.cache=i||{},t.cacheKey="~~C".concat(Sc),Sc+=1),t.failedResetCacheTimes=0,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Bu(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Gr(t,"prototype",{writable:!1}),e&&Qu(t,e)}(e,t),Wu(e,[{key:"initBrReg",value:function(){var t,e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.classicBr=(e="classicBr","undefined"!=typeof localStorage&&null!==localStorage.getItem("cherry-".concat(e))?(t="false","undefined"!=typeof localStorage&&(t=localStorage.getItem("cherry-classicBr")),"true"===t):r),this.removeBrAfterBlock=null,this.removeBrBeforeBlock=null,this.removeNewlinesBetweenTags=null}},{key:"$cleanParagraph",value:function(t){var e=t.replace(/^\n+/,"").replace(/\n+$/,"");return this.classicBr?e:this.joinRawHtml(e).replace(/\n/g,"<br>").replace(/\r/g,"\n")}},{key:"joinRawHtml",value:function(t){if(!this.removeBrAfterBlock){var e,r,n,o,i=null!==(e=null===(r=this.$engine.htmlWhiteListAppend)||void 0===r?void 0:r.split("|"))&&void 0!==e?e:[];i=oa(n=fa(i).call(i,(function(t){return/[a-z-]+/gi.test(t)?t:null}))).call(n,(function(t){return null!==t}));var u=zu(i).call(i,mc).join("|");this.removeBrAfterBlock=new RegExp("<(".concat(u,")(>| [^>]*?>)[^\\S\\n]*?\\n"),"ig"),this.removeBrBeforeBlock=new RegExp("\\n[^\\S\\n]*?<\\/(".concat(u,")>[^\\S\\n]*?\\n"),"ig"),this.removeNewlinesBetweenTags=new RegExp(zu(o="<\\/(".concat(u,")>[^\\S\\n]*?\\n([^\\S\\n]*?)<(")).call(o,u,")(>| [^>]*?>)"),"ig")}return t.replace(this.removeBrAfterBlock,"<$1$2").replace(this.removeBrBeforeBlock,"</$1>").replace(this.removeNewlinesBetweenTags,"</$1>\r$2<$3$4")}},{key:"toHtml",value:function(t,e){return t}},{key:"makeHtml",value:function(t,e){return this.needCache?t:e(t).html}},{key:"afterMakeHtml",value:function(t){return this.restoreCache(t)}},{key:"isContainsCache",value:function(t,r){if(r){var n=/^(\s*~~C\d+I\w+\$\s*)+$/g.test(t),o=new RegExp("~~C\\d+I".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,"\\w+\\$"),"g").test(t);return n&&!o}return new RegExp("~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$"),"g").test(t)}},{key:"$splitHtmlByCache",value:function(t){var r=new RegExp("\\n*~~C\\d+I(?!".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")\\w+\\$\\n?"),"g");return{caches:t.match(r),contents:t.split(r)}}},{key:"makeExcludingCached",value:function(t,e){for(var r=this.$splitHtmlByCache(t),n=r.caches,o=r.contents,i=fa(o).call(o,e),u="",a=0;a<i.length;a++){var c;if(u+=i[a],n&&n[a])u+=Oa(c=n[a]).call(c)}return u}},{key:"getCacheWithSpace",value:function(t,e){var r,n,o,i,u,a,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=null!==(r=null===(n=e.match(/^\n+/))||void 0===n?void 0:n[0])&&void 0!==r?r:"",l=null!==(o=null===(i=e.match(/\n+$/))||void 0===i?void 0:i[0])&&void 0!==o?o:"";return c?function(t,e){var r,n,o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return/^\n/.test(t)?i?(null!==(r=null===(n=t.match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0)>1?"\n\n".concat(e):"\n".concat(e):"\n\n".concat(e):e}(e,t):zu(u=zu(a="".concat(f)).call(a,t)).call(u,l)}},{key:"getLineCount",value:function(t){var r,n,o,i=t,u=null!==(r=null===(n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").match(/^\n+/g))||void 0===n||null===(o=n[0])||void 0===o?void 0:o.length)&&void 0!==r?r:0;u=1===u?1:0,i=i.replace(/^\n+/g,"");var a=new RegExp("\n*~~C\\d+I(?:".concat(e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+?_L(\\d+)\\$"),"g"),c=0;return i=i.replace(a,(function(t,e){return c+=ka(e,10),t.replace(/^\n+/g,"")})),u+c+(i.match(/\n/g)||[]).length+1}},{key:"pushCache",value:function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(this.needCache){var i=n||this.$engine.hash(t),u=zu(e=zu(r="".concat(this.cacheKey,"I")).call(r,i,"_L")).call(e,o,"$");return this.cache[i]={content:t,key:u},u}}},{key:"popCache",value:function(t){if(this.needCache)return this.cache[t].content||""}},{key:"testHasCache",value:function(t){return!(!this.needCache||!this.cache[t])&&this.cache[t].key}},{key:"resetCache",value:function(){this.needCache&&(this.cache={})}},{key:"restoreCache",value:function(t){var r,n=this;if(!this.needCache)return t;var o=new RegExp(zu(r="".concat(this.cacheKey,"I((?:")).call(r,e.IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX,")?\\w+)\\$"),"g"),i=t.replace(o,(function(t,e){return n.popCache(e.replace(/_L\d+$/,""))}));return this.timer&&(clearTimeout(this.timer),this.failedResetCacheTimes+=1,this.timer=null),this.timer=Na((function(){n.resetCache()}),500),this.failedResetCacheTimes>5&&(this.failedResetCacheTimes=0,Na((function(){n.resetCache()}),500)),i}},{key:"checkCache",value:function(t,e){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.sign=this.$engine.hash(t),this.cache[this.sign]?zu(r=zu(n="".concat(this.cacheKey,"I")).call(n,this.sign,"_L")).call(r,o,"$"):this.toHtml(t,e)}},{key:"mounted",value:function(){}},{key:"signWithCache",value:function(t){return!1}}])}(Ka);function Ec(t,e,r){return e=Lu(e),wu(t,jc()?Fr(e,r||[],Lu(t).constructor):e.apply(t,r))}function jc(){try{var t=!Boolean.prototype.valueOf.call(Fr(Boolean,[],(function(){})))}catch(t){}return(jc=function(){return!!t})()}Zu(_c,"HOOK_TYPE",Da),Zu(_c,"IN_PARAGRAPH_CACHE_KEY_PREFIX","!"),Zu(_c,"IN_PARAGRAPH_CACHE_KEY_PREFIX_REGEX","\\!");var xc=function(t){function e(){return Br(this,e),Ec(this,e,[{needCache:!0}])}return $u(e,t),gu(e,[{key:"makeHtml",value:function(t,e){var r=this;return t.replace(this.RULE.reg,(function(t){var n,o,i=t.split(/[\r\n]/).length,u=t.replace("[html]","").replace("[/html]","").replace(/[\r\n]/g,"").replace(/</g,"<").replace(/>/g,">").replace('style="LAYOUT-GRID','style="');u=r._trimScripTag(u);var a=e(u);return zu(n=zu(o='<div data-lines="'.concat(i,'" data-sign="')).call(o,a.sign,'">')).call(n,u,"</div>")}))}},{key:"rule",value:function(){return{reg:/\[html\]([\s\S]*?)\[\/html\]/g}}},{key:"_trimScripTag",value:function(t){return t.replace(/(<(?:script|script\s[^>]*)>)([\s\S]*?)(<\/script>)/gi,"").replace(/(<iframe [^>]*>)|(<\/iframe>)/gi,"")}}])}(_c);return Du(xc,"HOOK_NAME","tapdHtmlTag"),xc}));
|