You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
85 KiB
6 lines
85 KiB
6 years ago
|
/*!
|
||
|
* Vue.js v2.5.18-beta.0
|
||
|
* (c) 2014-2018 Evan You
|
||
|
* Released under the MIT License.
|
||
|
*/
|
||
|
const t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function o(t){return!0===t}function r(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}const s=Object.prototype.toString;function a(t){return"[object Object]"===s.call(t)}function c(t){const e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function u(t){const e=parseFloat(t);return isNaN(e)?t:e}function f(t,e){const n=Object.create(null),o=t.split(",");for(let t=0;t<o.length;t++)n[o[t]]=!0;return e?t=>n[t.toLowerCase()]:t=>n[t]}const p=f("slot,component",!0),d=f("key,ref,slot,slot-scope,is");function h(t,e){if(t.length){const n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}const m=Object.prototype.hasOwnProperty;function y(t,e){return m.call(t,e)}function g(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const v=/-(\w)/g,$=g(t=>t.replace(v,(t,e)=>e?e.toUpperCase():"")),_=g(t=>t.charAt(0).toUpperCase()+t.slice(1)),b=/\B([A-Z])/g,w=g(t=>t.replace(b,"-$1").toLowerCase());const C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){const o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function x(t,e){e=e||0;let n=t.length-e;const o=new Array(n);for(;n--;)o[n]=t[n+e];return o}function k(t,e){for(const n in e)t[n]=e[n];return t}function A(t){const e={};for(let n=0;n<t.length;n++)t[n]&&k(e,t[n]);return e}function O(t,e,n){}const S=(t,e,n)=>!1,T=t=>t;function N(t,e){if(t===e)return!0;const n=i(t),o=i(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{const n=Array.isArray(t),o=Array.isArray(e);if(n&&o)return t.length===e.length&&t.every((t,n)=>N(t,e[n]));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(n||o)return!1;{const n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(n=>N(t[n],e[n]))}}catch(t){return!1}}function E(t,e){for(let n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function j(t){let e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}const L="data-server-rendered",I=["component","directive","filter"],M=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"];var D={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:S,isReservedAttr:S,isUnknownElement:S,getTagNamespace:O,parsePlatformTagName:T,mustUseProp:S,async:!0,_lifecycleHooks:M};function P(t){const e=(t+"").charCodeAt(0);return 36===e||95===e}function F(t,e,n,o){Object.defineProperty(t,e,{value:n,enumerable:!!o,writable:!0,configurable:!0})}const R=/[^\w.$]/;const H="__proto__"in{},B="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=U&&WXEnvironment.platform.toLowerCase(),z=B&&window.navigator.userAgent.toLowerCase(),K=z&&/msie|trident/.test(z),J=z&&z.indexOf("msie 9.0")>0,q=z&&z.indexOf("edge/")>0,W=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===V),G=(z&&/chrome\/\d+/.test(z),{}.watch);let Z,X=!1;if(B)try{const t={};Object.defineProperty(t,"passive",{get(){X=!0}}),window.addEventListener("test-passive",null,t)}catch(t){}const Y=()=>(void 0===Z&&(Z=!B&&!U&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),Z),Q=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function tt(t){return"function"==typeof t&&/native code/.test(t.toString())}const et="undefined"!=typeof Symbol&&tt(Symbol)&&"undefined"!=typeof Reflect&&tt(Reflect.ownKeys);let nt;nt="undefined"!=typeof Set&&tt(Set)?Set:class{constructor(){this.set=Object.create(null)}has(t){return!0===this.set[t]}add(t){this.set[t]=!0}clear(){this.set=Object.create(null)}};let ot=O,rt=0;class it{constructor(){this.id=rt++,this.subs=[]}addSub(t){this.subs.push(t)}remove
|