vue-markdown/dist/build.js

6 lines
237 KiB
JavaScript
Raw Normal View History

2019-10-28 14:57:03 +08:00
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("markdown-vue",[],t):"object"==typeof exports?exports["markdown-vue"]=t():e["markdown-vue"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=8)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):v=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++v<t;)f&&f[v].run();v=-1,t=h.length}f=null,m=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,d,p=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var f,h=[],m=!1,v=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new l(e,t)),1!==h.length||m||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=u[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(o(n.parts[i]));u[n.id]={id:n.id,refs:1,parts:a}}}}function i(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function o(e){var t,n,r=document.querySelector("style["+g+'~="'+e.id+'"]');if(r){if(h)return m;r.parentNode.removeChild(r)}if(b){var o=f++;r=p||(p=i()),t=a.bind(null,r,o,!1),n=a.bind(null,r,o,!0)}else r=i(),t=s.bind(null
2019-05-09 16:32:28 +08:00
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
2019-10-28 14:59:17 +08:00
var Ko=Object.freeze({}),qo=Object.prototype.toString,Go=g("slot,component",!0),Zo=g("key,ref,slot,slot-scope,is"),Qo=Object.prototype.hasOwnProperty,Wo=/-(\w)/g,Yo=_(function(e){return e.replace(Wo,function(e,t){return t?t.toUpperCase():""})}),Jo=_(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Xo=/\B([A-Z])/g,ea=_(function(e){return e.replace(Xo,"-$1").toLowerCase()}),ta=Function.prototype.bind?x:w,na=function(e,t,n){return!1},ra=function(e){return e},ia="data-server-rendered",oa=["component","directive","filter"],aa=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],sa={optionMergeStrategies:Object.create(null),silent:!1,productionTip:"production"!==e.env.NODE_ENV,devtools:"production"!==e.env.NODE_ENV,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:na,isReservedAttr:na,isUnknownElement:na,getTagNamespace:O,parsePlatformTagName:ra,mustUseProp:na,async:!0,_lifecycleHooks:aa},la=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/,ca=new RegExp("[^"+la.source+".$_\\d]"),ua="__proto__"in{},da="undefined"!=typeof window,pa="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,fa=pa&&WXEnvironment.platform.toLowerCase(),ha=da&&window.navigator.userAgent.toLowerCase(),ma=ha&&/msie|trident/.test(ha),va=ha&&ha.indexOf("msie 9.0")>0,ga=ha&&ha.indexOf("edge/")>0,ba=(ha&&ha.indexOf("android"),ha&&/iphone|ipad|ipod|ios/.test(ha)||"ios"===fa),ya=(ha&&/chrome\/\d+/.test(ha),ha&&/phantomjs/.test(ha),ha&&ha.match(/firefox\/(\d+)/)),_a={}.watch,wa=!1;if(da)try{var xa={};Object.defineProperty(xa,"passive",{get:function(){wa=!0}}),window.addEventListener("test-passive",null,xa)}catch(e){}var ka,Ea,Na=function(){return void 0===ka&&(ka=!da&&!pa&&void 0!==n&&(n.process&&"server"===n.process.env.VUE_ENV)),ka},Oa=da&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ca="undefined"!=typeof Symbol&&$(Symbol)&&"undefined"!=typeof Reflect&&$(Reflect.ownKeys);Ea="undefined"!=typeof Set&&$(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Aa=O,Da=O,Sa=O,Ma=O;if("production"!==e.env.NODE_ENV){var Ta="undefined"!=typeof console,$a=/(?:^|[-_])(\w)/g,ja=function(e){return e.replace($a,function(e){return e.toUpperCase()}).replace(/[-_]/g,"")};Aa=function(e,t){var n=t?Sa(t):"";sa.warnHandler?sa.warnHandler.call(null,e,t,n):Ta&&!sa.silent&&console.error("[Vue warn]: "+e+n)},Da=function(e,t){Ta&&!sa.silent&&console.warn("[Vue tip]: "+e+(t?Sa(t):""))},Ma=function(e,t){if(e.$root===e)return"<Root>";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,i=n.__file;if(!r&&i){var o=i.match(/([^\/\\]+)\.vue$/);r=o&&o[1]}return(r?"<"+ja(r)+">":"<Anonymous>")+(i&&!1!==t?" at "+i:"")};var Ra=function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n};Sa=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map(function(e,t){return""+(0===t?"---\x3e ":Ra(" ",5+2*t))+(Array.isArray(e)?Ma(e[0])+"... ("+e[1]+" recursive calls)":Ma(e))}).join("\n")}return"\n\n(found in "+Ma(e)+")"}}var Ia=0,La=function(){this.id=Ia++,this.subs=[]};La.prototype.addSub=function(e){this.subs.push(e)},La.prototype.removeSub=function(e){b(this.subs,e)},La.prototype.depend=function(){La.target&&La.target.addDep(this)},La.prototype.notify=function(){var t=this.subs.slice();"production"===e.env.NODE_ENV||sa.async||t.sort(function(e,t){return e.id-t.id});for(var n=0,r=t.length;n<r;n++)t[n].update()},La.target=null;var Va=[],za=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.chi