vue-markdown/dist/build.js

7 lines
253 KiB
JavaScript
Raw Normal View History

!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=7)}([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 A=r(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([A]).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 A=this[i][0];"number"==typeof A&&(r[A]=!0)}for(i=0;i<e.length;i++){var o=e[i];"number"==typeof o[0]&&r[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=c[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(A(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],i=0;i<n.parts.length;i++)o.push(A(n.parts[i]));c[n.id]={id:n.id,refs:1,parts:o}}}}function i(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function A(e){var t,n,r=document.querySelector("style["+m+'~="'+e.id+'"]');if(r){if(f)return p;r.parentNode.removeChild(r)}if(C){var A=d++;r=g||(g=i()),t=o.bind(null,r,A,!1),n=o.bind(null,r,A,!0)}else r=i(),t=a.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function o(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var A=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(A,o[t]):e.appendChild(A)}}function a(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),h.ssrId&&e.setAttribute(m,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(15),c={},u=s&&(document.head||document.getElementsByTagName("head")[0]),g=null,d=0,f=!1,p=function(){},h=null,m="data-vue-ssr-id",C="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,i){f=n,h=i||{};var A=l(e,t);return r(A),function(t){for(var n=[],i=0;i<A.length;i++){var o=A[i],a=c[o.id];a.refs--,n.push(a)}t?(A=l(e,t),r(A)):A=[];for(var i=0;i<n.length;i++){var a=n[i];if(0===a.refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete c[a.id]}}}};var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,n,r,i
2019-05-09 16:32:28 +08:00
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
var kA=Object.freeze({}),yA=Object.prototype.toString,xA=p("slot,component",!0),EA=p("key,ref,slot,slot-scope,is"),SA=Object.prototype.hasOwnProperty,MA=/-(\w)/g,DA=C(function(e){return e.replace(MA,function(e,t){return t?t.toUpperCase():""})}),_A=C(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),NA=/\B([A-Z])/g,BA=C(function(e){return e.replace(NA,"-$1").toLowerCase()}),OA=Function.prototype.bind?I:v,RA=function(e,t,n){return!1},TA=function(e){return e},jA="data-server-rendered",QA=["component","directive","filter"],LA=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],UA={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:RA,isReservedAttr:RA,isUnknownElement:RA,getTagNamespace:y,parsePlatformTagName:TA,mustUseProp:RA,async:!0,_lifecycleHooks:LA},JA=/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/,GA=new RegExp("[^"+JA.source+".$_\\d]"),FA="__proto__"in{},VA="undefined"!=typeof window,PA="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,zA=PA&&WXEnvironment.platform.toLowerCase(),ZA=VA&&window.navigator.userAgent.toLowerCase(),HA=ZA&&/msie|trident/.test(ZA),WA=ZA&&ZA.indexOf("msie 9.0")>0,YA=ZA&&ZA.indexOf("edge/")>0,XA=(ZA&&ZA.indexOf("android"),ZA&&/iphone|ipad|ipod|ios/.test(ZA)||"ios"===zA),KA=(ZA&&/chrome\/\d+/.test(ZA),ZA&&/phantomjs/.test(ZA),ZA&&ZA.match(/firefox\/(\d+)/)),qA={}.watch,$A=!1;if(VA)try{var eo={};Object.defineProperty(eo,"passive",{get:function(){$A=!0}}),window.addEventListener("test-passive",null,eo)}catch(e){}var to,no,ro=function(){return void 0===to&&(to=!VA&&!PA&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),to},io=VA&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ao="undefined"!=typeof Symbol&&N(Symbol)&&"undefined"!=typeof Reflect&&N(Reflect.ownKeys);no="undefined"!=typeof Set&&N(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 oo=y,ao=0,so=function(){this.id=ao++,this.subs=[]};so.prototype.addSub=function(e){this.subs.push(e)},so.prototype.removeSub=function(e){h(this.subs,e)},so.prototype.depend=function(){so.target&&so.target.addDep(this)},so.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},so.target=null;var lo=[],co=function(e,t,n,r,i,A,o,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=A,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},uo={child:{configurable:!0}};uo.child.get=function(){return this.componentInstance},Object.defineProperties(co.prototype,uo);var go=function(e){void 0===e&&(e="");var t=new co;return t.text=e,t.isComment=!0,t},fo=Array.prototype,po=Object.create(fo);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=fo[e];D(po,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,A=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&o.observeArray(i),o.dep.notify(),A})});var ho=Object.getOwnPropertyNames(po),mo=!0,Co=function(e){this.value=e,this.dep=new so,this.vmCount=0,D(e,"__ob__",this),Array.isArray(e)?(FA?Q(e,po):L(e,po,ho),this.observeArray(e)):this.walk(e)};Co.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)J(e,t[n])},Co.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)U(e[t])};var vo=UA.opt
2019-05-09 16:32:28 +08:00
//# sourceMappingURL=build.js.map