Files
swiftadmin/public/static/js/markdown/cherry-markdown.esm.js

1 line
2.3 MiB
JavaScript
Raw Normal View History

2022-08-19 19:48:37 +08:00
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 n(t,e){return t(e={exports:{}},e.exports),e.exports}var r,i,a=function(t){return t&&t.Math==Math&&t},o=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},c=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),l=Function.prototype,A=l.apply,u=l.call,h="object"==typeof Reflect&&Reflect.apply||(c?u.bind(A):function(){return u.apply(A,arguments)}),f=Function.prototype,d=f.bind,p=f.call,g=c&&d.bind(p,p),m=c?function(t){return t&&g(t)}:function(t){return t&&function(){return p.apply(t,arguments)}},y=function(t){return"function"==typeof t},v=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),b=Function.prototype.call,w=c?b.bind(b):function(){return b.apply(b,arguments)},_={}.propertyIsEnumerable,E=Object.getOwnPropertyDescriptor,C={f:E&&!_.call({1:2},1)?function(t){var e=E(this,t);return!!e&&e.enumerable}:_},x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},B=m({}.toString),T=m("".slice),k=function(t){return T(B(t),8,-1)},S=o.Object,I=m("".split),N=s((function(){return!S("z").propertyIsEnumerable(0)}))?function(t){return"String"==k(t)?I(t,""):S(t)}:S,M=o.TypeError,F=function(t){if(null==t)throw M("Can't call method on "+t);return t},D=function(t){return N(F(t))},L=function(t){return"object"==typeof t?null!==t:y(t)},O={},R=function(t){return y(t)?t:void 0},U=function(t,e){return arguments.length<2?R(O[t])||R(o[t]):O[t]&&O[t][e]||o[t]&&o[t][e]},P=m({}.isPrototypeOf),Q=U("navigator","userAgent")||"",H=o.process,G=o.Deno,j=H&&H.versions||G&&G.version,K=j&&j.v8;K&&(i=(r=K.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&Q&&(!(r=Q.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=Q.match(/Chrome\/(\d+)/))&&(i=+r[1]);var $=i,Y=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&$&&$<41})),V=Y&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,z=o.Object,W=V?function(t){return"symbol"==typeof t}:function(t){var e=U("Symbol");return y(e)&&P(e.prototype,z(t))},q=o.String,X=function(t){try{return q(t)}catch(t){return"Object"}},J=o.TypeError,Z=function(t){if(y(t))return t;throw J(X(t)+" is not a function")},tt=function(t,e){var n=t[e];return null==n?void 0:Z(n)},et=o.TypeError,nt=Object.defineProperty,rt=o["__core-js_shared__"]||function(t,e){try{nt(o,t,{value:e,configurable:!0,writable:!0})}catch(n){o[t]=e}return e}("__core-js_shared__",{}),it=n((function(t){(t.exports=function(t,e){return rt[t]||(rt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.6",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})})),at=o.Object,ot=function(t){return at(F(t))},st=m({}.hasOwnProperty),ct=Object.hasOwn||function(t,e){return st(ot(t),e)},lt=0,At=Math.random(),ut=m(1..toString),ht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ut(++lt+At,36)},ft=it("wks"),dt=o.Symbol,pt=dt&&dt.for,gt=V?dt:dt&&dt.withoutSetter||ht,mt=function(t){if(!ct(ft,t)||!Y&&"string"!=typeof ft[t]){var e="Symbol."+t;Y&&ct(dt,t)?ft[t]=dt[t]:ft[t]=V&&pt?pt(e):gt(e)}return ft[t]},yt=o.TypeError,vt=mt("toPrimitive"),bt=function(t,e){if(!L(t)||W(t))return t;var n,r=tt(t,vt);if(r){if(void 0===e&&(e="default"),n=w(r,t,e),!L(n)||W(n))return n;throw yt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&y(n=t.toString)&&!L(r=w(n,t)))return r;if(y(n=t.valueOf)&&!L(r=w(n,t)))return r;if("string"!==e&&y(n=t.toString)&&!L(r=w(n,t)))return r;throw et("Can't convert object to primitive va