vue-markdown/dist/build.js

7 lines
734 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 a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.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=2)}([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,n){"use strict";var r=n(14),a=n.n(r);t.a={name:"app",components:{MarkDown:a.a},data:function(){return{}},methods:{save:function(e){console.log(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(7);new r.a({el:"#app",render:function(e){return e(a.a)}})},function(e,t,n){"use strict";(function(e,n){function r(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function i(e){return!0===e}function o(e){return!1===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===si.call(e)}function d(e){return"[object RegExp]"===si.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a<r.length;a++)n[r[a]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function f(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function _(e,t){return di.call(e,t)}function b(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function h(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function v(e,t){return e.bind(t)}function y(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function x(e,t,n){}function C(e,t){if(e===t)return!0;var n=l(e),r=l(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var a=Array.isArray(e),i=Array.isArray(t);if(a&&i)return e.length===t.length&&e.every(function(e,n){return C(e,t[n])});if(a||i)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every(function(n){return C(e[n],t[n])})}catch(e){return!1}}function w(e,t){for(var n=0;n<e.length;n++)if(C(e[n],t))return n;return-1}function T(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function N(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function M(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function A(e){if(!xi.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function D(e){return"function"==typeof e&&/native code/.test(e.toString())}function O(e){$i.target&&Hi.push($i.target),$i.target=e}function k(){$i.target=Hi.pop()}function I(e){return new ji(void 0,void 0,void 0,String(e))}function R(e){var t=new ji(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.isCloned=!0,t}function L(e){Xi=e}function P(e,t,n){e.__proto__=t}function B(e,t,n){for(var r=0,a=n.length;r<a;r++){var i=n[r];M(e,i,t[i])}}function F(e,t){if(l(e)
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
var oi=Object.freeze({}),si=Object.prototype.toString,li=g("slot,component",!0),ci=g("key,ref,slot,slot-scope,is"),di=Object.prototype.hasOwnProperty,ui=/-(\w)/g,pi=b(function(e){return e.replace(ui,function(e,t){return t?t.toUpperCase():""})}),mi=b(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),gi=/\B([A-Z])/g,fi=b(function(e){return e.replace(gi,"-$1").toLowerCase()}),_i=Function.prototype.bind?v:h,bi=function(e,t,n){return!1},hi=function(e){return e},vi="data-server-rendered",yi=["component","directive","filter"],Ei=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Si={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:bi,isReservedAttr:bi,isUnknownElement:bi,getTagNamespace:x,parsePlatformTagName:hi,mustUseProp:bi,_lifecycleHooks:Ei},xi=/[^\w.$]/,Ci="__proto__"in{},wi="undefined"!=typeof window,Ti="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Ni=Ti&&WXEnvironment.platform.toLowerCase(),Mi=wi&&window.navigator.userAgent.toLowerCase(),Ai=Mi&&/msie|trident/.test(Mi),Di=Mi&&Mi.indexOf("msie 9.0")>0,Oi=Mi&&Mi.indexOf("edge/")>0,ki=(Mi&&Mi.indexOf("android"),Mi&&/iphone|ipad|ipod|ios/.test(Mi)||"ios"===Ni),Ii=(Mi&&/chrome\/\d+/.test(Mi),{}.watch),Ri=!1;if(wi)try{var Li={};Object.defineProperty(Li,"passive",{get:function(){Ri=!0}}),window.addEventListener("test-passive",null,Li)}catch(e){}var Pi,Bi,Fi=function(){return void 0===Pi&&(Pi=!wi&&!Ti&&void 0!==e&&"server"===e.process.env.VUE_ENV),Pi},Gi=wi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ui="undefined"!=typeof Symbol&&D(Symbol)&&"undefined"!=typeof Reflect&&D(Reflect.ownKeys);Bi="undefined"!=typeof Set&&D(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 qi=x,zi=0,$i=function(){this.id=zi++,this.subs=[]};$i.prototype.addSub=function(e){this.subs.push(e)},$i.prototype.removeSub=function(e){f(this.subs,e)},$i.prototype.depend=function(){$i.target&&$i.target.addDep(this)},$i.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},$i.target=null;var Hi=[],ji=function(e,t,n,r,a,i,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=a,this.ns=void 0,this.context=i,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Vi={child:{configurable:!0}};Vi.child.get=function(){return this.componentInstance},Object.defineProperties(ji.prototype,Vi);var Wi=function(e){void 0===e&&(e="");var t=new ji;return t.text=e,t.isComment=!0,t},Ki=Array.prototype,Zi=Object.create(Ki);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Ki[e];M(Zi,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var a,i=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":a=n;break;case"splice":a=n.slice(2)}return a&&o.observeArray(a),o.dep.notify(),i})});var Qi=Object.getOwnPropertyNames(Zi),Xi=!0,Yi=function(e){if(this.value=e,this.dep=new $i,this.vmCount=0,M(e,"__ob__",this),Array.isArray(e)){(Ci?P:B)(e,Zi,Qi),this.observeArray(e)}else this.walk(e)};Yi.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)G(e,t[n])},Yi.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)F(e[t])};var Ji=Si.optionMergeStrategies;Ji.data=function(e,t,n){return n?H(e,t,n):t&&"function"!=typeof t?e:H(e,t)},Ei.forEach(function(e){Ji[e]=j}),yi.forEach(function(e){Ji[e+"s"]=V}),Ji.watch=function(e,t,n,r){if(e===Ii&&(e=void 0),t===Ii&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;va
//# sourceMappingURL=build.js.map