vue-markdown/dist/build.js

7 lines
257 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=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),i=n.n(r),A=n(15);t.a={name:"app",components:{MarkDown:i.a},data:function(){return{initialValue:""}},methods:{save:function(e){console.log(e)}},mounted:function(){var e=this;setTimeout(function(){e.initialValue=A.a},1e3)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(7);new r.a({el:"#app",render:function(e){return e(i.a)}})},function(e,t,n){"use strict";(function(e,n){function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function A(e){return!0===e}function o(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Object]"===yA.call(e)}function c(e){return"[object RegExp]"===yA.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function g(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===yA?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function h(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function m(e,t){return SA.call(e,t)}function v(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function C(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 I(e,t){return e.bind(t)}function b(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function w(e,t){for(var n in t)e[n]=t[n];return e}function k(e){for(var t={},n=0;n<e.length;n++)e[n]&&w(t,e[n]);return t}function y(e,t,n){}function x(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),A=Array.isArray(t);if(i&&A)return e.length===t.length&&e.every(function(e,n){return x(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||A)return!1;var o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every(function(n){return x(e[n],t[n])})}catch(e){return!1}}function E(e,t){for(var n=0;n<e.length;n++)if(x(e[n],t))return n;return-1}function S(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function M(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function D(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function _(e){if(!GA.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 N(e){return"function"==typeof e&&/native code/.test(e.toString())}function B(e){lo.push(e),so.target=e}function O(){lo.pop(),so.target=lo[lo.length-1]}function R(e){return new co(void 0,void 0,void 0,String(e))}function T(e){var t=new co(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
2019-05-09 16:26:05 +08:00
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=v(function(e){return e.replace(MA,function(e,t){return t?t.toUpperCase():""})}),_A=v(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),NA=/\B([A-Z])/g,BA=v(function(e){return e.replace(NA,"-$1").toLowerCase()}),OA=Function.prototype.bind?I:C,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,XA=ZA&&ZA.indexOf("edge/")>0,YA=(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,vo=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)};vo.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)J(e,t[n])},vo.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)U(e[t])};var Co=UA.opt
//# sourceMappingURL=build.js.map