@vmm/html
Advanced tools
Comparing version 1.0.68 to 1.0.69
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("Vue")):"function"===typeof define&&define.amd?define(["Vue"],t):"object"===typeof exports?exports["main"]=t(require("Vue")):e["main"]=t(e["Vue"])})("undefined"!==typeof self?self:this,function(__WEBPACK_EXTERNAL_MODULE__8bbf__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="c267")}({"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")});return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var s=e[a];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="(".concat(s[2],") and (").concat(n,")")),t.push(s))}},t}},"27ae":function(module,exports,__webpack_require__){(function(global){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(e,t){module.exports=t(e)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof global?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.1",buffer;if(module.exports)try{buffer=eval("require('buffer').Buffer")}catch(err){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?fromCharCode(192|t>>>6)+fromCharCode(128|63&t):fromCharCode(224|t>>>12&15)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return fromCharCode(240|t>>>18&7)+fromCharCode(128|t>>>12&63)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(e){return e.replace(re_utob,cb_utob)},cb_encode=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[b64chars.charAt(n>>>18),b64chars.charAt(n>>>12&63),t>=2?"=":b64chars.charAt(n>>>6&63),t>=1?"=":b64chars.charAt(63&n)];return r.join("")},btoa=global.btoa?function(e){return global.btoa(e)}:function(e){return e.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e)).toString("base64")}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e)).toString("base64")}:function(e){return btoa(utob(e))},encode=function(e,t){return t?_encode(String(e)).replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,""):_encode(String(e))},encodeURI=function(e){return encode(e,!0)},re_btou=new RegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),cb_btou=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return fromCharCode(55296+(n>>>10))+fromCharCode(56320+(1023&n));case 3:return fromCharCode((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return fromCharCode((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=function(e){return e.replace(re_btou,cb_btou)},cb_decode=function(e){var t=e.length,n=t%4,r=(t>0?b64tab[e.charAt(0)]<<18:0)|(t>1?b64tab[e.charAt(1)]<<12:0)|(t>2?b64tab[e.charAt(2)]<<6:0)|(t>3?b64tab[e.charAt(3)]:0),o=[fromCharCode(r>>>16),fromCharCode(r>>>8&255),fromCharCode(255&r)];return o.length-=[0,0,2,1][n],o.join("")},_atob=global.atob?function(e){return global.atob(e)}:function(e){return e.replace(/\S{1,4}/g,cb_decode)},atob=function(e){return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e,"base64")).toString()}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e,"base64")).toString()}:function(e){return btou(_atob(e))},decode=function(e){return _decode(String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var e=global.Base64;return global.Base64=_Base64,e};if(global.Base64={VERSION:version,atob:atob,btoa:btoa,fromBase64:decode,toBase64:encode,utob:utob,encode:encode,encodeURI:encodeURI,btou:btou,decode:decode,noConflict:noConflict,__buffer__:buffer},"function"===typeof Object.defineProperty){var noEnum=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(e){return encode(this,e)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global["Meteor"]&&(Base64=global.Base64),module.exports?module.exports.Base64=global.Base64:(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return global.Base64}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)),{Base64:global.Base64}})}).call(this,__webpack_require__("ac5c"))},3385:function(e,t,n){(function(t){var n=1/0,r="[object Symbol]",o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a="\\ud800-\\udfff",s="\\u0300-\\u036f\\ufe20-\\ufe23",c="\\u20d0-\\u20f0",u="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",d="\\xac\\xb1\\xd7\\xf7",f="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",p="\\u2000-\\u206f",h=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",v="A-Z\\xc0-\\xd6\\xd8-\\xde",b="\\ufe0e\\ufe0f",g=d+f+p+h,m="['’]",y="["+g+"]",_="["+s+c+"]",x="\\d+",w="["+u+"]",j="["+l+"]",k="[^"+a+g+x+u+l+v+"]",C="\\ud83c[\\udffb-\\udfff]",S="(?:"+_+"|"+C+")",E="[^"+a+"]",A="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",M="["+v+"]",N="\\u200d",T="(?:"+j+"|"+k+")",R="(?:"+M+"|"+k+")",P="(?:"+m+"(?:d|ll|m|re|s|t|ve))?",B="(?:"+m+"(?:D|LL|M|RE|S|T|VE))?",D=S+"?",I="["+b+"]?",L="(?:"+N+"(?:"+[E,A,O].join("|")+")"+I+D+")*",F=I+D+L,U="(?:"+[w,A,O].join("|")+")"+F,$=RegExp(m,"g"),V=RegExp(_,"g"),z=RegExp([M+"?"+j+"+"+P+"(?="+[y,M,"$"].join("|")+")",R+"+"+B+"(?="+[y,M+T,"$"].join("|")+")",M+"?"+T+"+"+P,M+"+"+B,x,U].join("|"),"g"),K=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,W={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},G="object"==typeof t&&t&&t.Object===Object&&t,J="object"==typeof self&&self&&self.Object===Object&&self,q=G||J||Function("return this")();function Z(e,t,n,r){var o=-1,i=e?e.length:0;r&&i&&(n=e[++o]);while(++o<i)n=t(n,e[o],o,e);return n}function Y(e){return e.match(o)||[]}function X(e){return function(t){return null==e?void 0:e[t]}}var Q=X(W);function H(e){return K.test(e)}function ee(e){return e.match(z)||[]}var te=Object.prototype,ne=te.toString,re=q.Symbol,oe=re?re.prototype:void 0,ie=oe?oe.toString:void 0;function ae(e){if("string"==typeof e)return e;if(ue(e))return ie?ie.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}function se(e){return function(t){return Z(pe(de(t).replace($,"")),e,"")}}function ce(e){return!!e&&"object"==typeof e}function ue(e){return"symbol"==typeof e||ce(e)&&ne.call(e)==r}function le(e){return null==e?"":ae(e)}function de(e){return e=le(e),e&&e.replace(i,Q).replace(V,"")}var fe=se(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});function pe(e,t,n){return e=le(e),t=n?void 0:t,void 0===t?H(e)?ee(e):Y(e):e.match(t)||[]}e.exports=fe}).call(this,n("ac5c"))},"464e":function(e,t,n){"use strict";var r=n("5366"),o=n.n(r);o.a},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(t),n.d(t,"default",function(){return h});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)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 i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){u=n,d=o||{};var a=r(e,t);return v(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}t?(a=r(e,t),v(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(g(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function b(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=b()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=b(),t=_.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()}}var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function _(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"4c0f":function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},5366:function(e,t,n){var r=n("fdcb");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("499e").default;o("efa688b8",r,!0,{sourceMap:!1,shadowMode:!1})},"5c7d":function(e,t,n){var r,o;(function(i,a){"use strict";r=a,o="function"===typeof r?r.call(t,n,t,e):r,void 0===o||(e.exports=o)})(0,function(){"use strict";var e=function(){},t="undefined",n=["trace","debug","info","warn","error"];function r(e,t){var n=e[t];if("function"===typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(r){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function o(n){return"debug"===n&&(n="log"),typeof console!==t&&(void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):e)}function i(t,r){for(var o=0;o<n.length;o++){var i=n[o];this[i]=o<t?e:this.methodFactory(i,t,r)}this.log=this.debug}function a(e,n,r){return function(){typeof console!==t&&(i.call(this,n,r),this[e].apply(this,arguments))}}function s(e,t,n){return o(e)||a.apply(this,arguments)}function c(e,r,o){var a,c=this,u="loglevel";function l(e){var r=(n[e]||"silent").toUpperCase();if(typeof window!==t){try{return void(window.localStorage[u]=r)}catch(o){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(o){}}}function d(){var e;if(typeof window!==t){try{e=window.localStorage[u]}catch(o){}if(typeof e===t)try{var n=window.document.cookie,r=n.indexOf(encodeURIComponent(u)+"=");-1!==r&&(e=/^([^;]+)/.exec(n.slice(r))[1])}catch(o){}return void 0===c.levels[e]&&(e=void 0),e}}e&&(u+=":"+e),c.name=e,c.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},c.methodFactory=o||s,c.getLevel=function(){return a},c.setLevel=function(n,r){if("string"===typeof n&&void 0!==c.levels[n.toUpperCase()]&&(n=c.levels[n.toUpperCase()]),!("number"===typeof n&&n>=0&&n<=c.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(a=n,!1!==r&&l(n),i.call(c,n,e),typeof console===t&&n<c.levels.SILENT)return"No console available for logging"},c.setDefaultLevel=function(e){d()||c.setLevel(e,!1)},c.enableAll=function(e){c.setLevel(c.levels.TRACE,e)},c.disableAll=function(e){c.setLevel(c.levels.SILENT,e)};var f=d();null==f&&(f=null==r?"WARN":r),c.setLevel(f,!1)}var u=new c,l={};u.getLogger=function(e){if("string"!==typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=l[e];return t||(t=l[e]=new c(e,u.getLevel(),u.methodFactory)),t};var d=typeof window!==t?window.log:void 0;return u.noConflict=function(){return typeof window!==t&&window.log===u&&(window.log=d),u},u.getLoggers=function(){return l},u})},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},9224:function(e){e.exports={name:"@vmm/html",version:"1.0.68",description:" 全局库",icon:"ios-people",moduleType:"html",jslib:"@vmm/jslib",distFiles:["index.js"],debugFiles:["js/app.js","js/chunk-vendors.js"],types:"./types/src/main.d.ts",exports:{},scripts:{serve:"vue-cli-service serve --host localhost",build:"./build.sh"},dependencies:{vue:"^2.6.10"},devDependencies:{"@types/js-base64":"^2.3.1","@types/lodash.kebabcase":"^4.1.6","@vmm/jslib":"^1.0.62","@vue/cli-plugin-typescript":"^4.0.4","@vue/cli-service":"^4.0.4","declaration-bundler-webpack-plugin":"^1.0.3","js-base64":"^2.5.1","lodash.kebabcase":"^4.1.1",loglevel:"^1.6.4","tsconfig-paths-webpack-plugin":"^3.2.0",typescript:"^3.4.3","typescript-declaration-webpack-plugin":"^0.1.1","vue-json-pretty":"^1.6.2","vue-template-compiler":"^2.6.10"},license:"MIT"}},ac5c:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c267:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("4c0f"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=n("9224"),i=n("5c7d"),a=n.n(i);const s=a.a.methodFactory,c=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#607d8b"];var u=e=>{const t=a.a.getLogger(e);return t.methodFactory=function(e,n,r){const o=s(e,n,r),i=c[Math.floor(Math.random()*c.length)];return o.bind(t,"%c"+r,`color:${i};font-style:italic;border-right:2px solid;padding-right:4px`)},localStorage.developer&&localStorage.developer.length>0?t.setLevel(0):t.setLevel(3),t}; | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("Vue")):"function"===typeof define&&define.amd?define(["Vue"],t):"object"===typeof exports?exports["main"]=t(require("Vue")):e["main"]=t(e["Vue"])})("undefined"!==typeof self?self:this,function(__WEBPACK_EXTERNAL_MODULE__8bbf__){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="c267")}({"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var i=o(r),a=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")});return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];null!=i&&(r[i]=!0)}for(var a=0;a<e.length;a++){var s=e[a];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="(".concat(s[2],") and (").concat(n,")")),t.push(s))}},t}},"27ae":function(module,exports,__webpack_require__){(function(global){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(e,t){module.exports=t(e)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof global?global:this,function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.1",buffer;if(module.exports)try{buffer=eval("require('buffer').Buffer")}catch(err){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?fromCharCode(192|t>>>6)+fromCharCode(128|63&t):fromCharCode(224|t>>>12&15)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return fromCharCode(240|t>>>18&7)+fromCharCode(128|t>>>12&63)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(e){return e.replace(re_utob,cb_utob)},cb_encode=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[b64chars.charAt(n>>>18),b64chars.charAt(n>>>12&63),t>=2?"=":b64chars.charAt(n>>>6&63),t>=1?"=":b64chars.charAt(63&n)];return r.join("")},btoa=global.btoa?function(e){return global.btoa(e)}:function(e){return e.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e)).toString("base64")}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e)).toString("base64")}:function(e){return btoa(utob(e))},encode=function(e,t){return t?_encode(String(e)).replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,""):_encode(String(e))},encodeURI=function(e){return encode(e,!0)},re_btou=new RegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),cb_btou=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return fromCharCode(55296+(n>>>10))+fromCharCode(56320+(1023&n));case 3:return fromCharCode((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return fromCharCode((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=function(e){return e.replace(re_btou,cb_btou)},cb_decode=function(e){var t=e.length,n=t%4,r=(t>0?b64tab[e.charAt(0)]<<18:0)|(t>1?b64tab[e.charAt(1)]<<12:0)|(t>2?b64tab[e.charAt(2)]<<6:0)|(t>3?b64tab[e.charAt(3)]:0),o=[fromCharCode(r>>>16),fromCharCode(r>>>8&255),fromCharCode(255&r)];return o.length-=[0,0,2,1][n],o.join("")},_atob=global.atob?function(e){return global.atob(e)}:function(e){return e.replace(/\S{1,4}/g,cb_decode)},atob=function(e){return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e,"base64")).toString()}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e,"base64")).toString()}:function(e){return btou(_atob(e))},decode=function(e){return _decode(String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var e=global.Base64;return global.Base64=_Base64,e};if(global.Base64={VERSION:version,atob:atob,btoa:btoa,fromBase64:decode,toBase64:encode,utob:utob,encode:encode,encodeURI:encodeURI,btou:btou,decode:decode,noConflict:noConflict,__buffer__:buffer},"function"===typeof Object.defineProperty){var noEnum=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum(function(){return decode(this)})),Object.defineProperty(String.prototype,"toBase64",noEnum(function(e){return encode(this,e)})),Object.defineProperty(String.prototype,"toBase64URI",noEnum(function(){return encode(this,!0)}))}}return global["Meteor"]&&(Base64=global.Base64),module.exports?module.exports.Base64=global.Base64:(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return global.Base64}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)),{Base64:global.Base64}})}).call(this,__webpack_require__("ac5c"))},3385:function(e,t,n){(function(t){var n=1/0,r="[object Symbol]",o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a="\\ud800-\\udfff",s="\\u0300-\\u036f\\ufe20-\\ufe23",c="\\u20d0-\\u20f0",u="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",d="\\xac\\xb1\\xd7\\xf7",f="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",p="\\u2000-\\u206f",h=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",v="A-Z\\xc0-\\xd6\\xd8-\\xde",b="\\ufe0e\\ufe0f",g=d+f+p+h,m="['’]",y="["+g+"]",_="["+s+c+"]",x="\\d+",w="["+u+"]",j="["+l+"]",k="[^"+a+g+x+u+l+v+"]",C="\\ud83c[\\udffb-\\udfff]",S="(?:"+_+"|"+C+")",A="[^"+a+"]",E="(?:\\ud83c[\\udde6-\\uddff]){2}",O="[\\ud800-\\udbff][\\udc00-\\udfff]",M="["+v+"]",N="\\u200d",T="(?:"+j+"|"+k+")",R="(?:"+M+"|"+k+")",D="(?:"+m+"(?:d|ll|m|re|s|t|ve))?",P="(?:"+m+"(?:D|LL|M|RE|S|T|VE))?",B=S+"?",I="["+b+"]?",L="(?:"+N+"(?:"+[A,E,O].join("|")+")"+I+B+")*",F=I+B+L,U="(?:"+[w,E,O].join("|")+")"+F,$=RegExp(m,"g"),V=RegExp(_,"g"),z=RegExp([M+"?"+j+"+"+D+"(?="+[y,M,"$"].join("|")+")",R+"+"+P+"(?="+[y,M+T,"$"].join("|")+")",M+"?"+T+"+"+D,M+"+"+P,x,U].join("|"),"g"),K=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,W={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},G="object"==typeof t&&t&&t.Object===Object&&t,J="object"==typeof self&&self&&self.Object===Object&&self,q=G||J||Function("return this")();function Z(e,t,n,r){var o=-1,i=e?e.length:0;r&&i&&(n=e[++o]);while(++o<i)n=t(n,e[o],o,e);return n}function Y(e){return e.match(o)||[]}function X(e){return function(t){return null==e?void 0:e[t]}}var Q=X(W);function H(e){return K.test(e)}function ee(e){return e.match(z)||[]}var te=Object.prototype,ne=te.toString,re=q.Symbol,oe=re?re.prototype:void 0,ie=oe?oe.toString:void 0;function ae(e){if("string"==typeof e)return e;if(ue(e))return ie?ie.call(e):"";var t=e+"";return"0"==t&&1/e==-n?"-0":t}function se(e){return function(t){return Z(pe(de(t).replace($,"")),e,"")}}function ce(e){return!!e&&"object"==typeof e}function ue(e){return"symbol"==typeof e||ce(e)&&ne.call(e)==r}function le(e){return null==e?"":ae(e)}function de(e){return e=le(e),e&&e.replace(i,Q).replace(V,"")}var fe=se(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});function pe(e,t,n){return e=le(e),t=n?void 0:t,void 0===t?H(e)?ee(e):Y(e):e.match(t)||[]}e.exports=fe}).call(this,n("ac5c"))},"464e":function(e,t,n){"use strict";var r=n("5366"),o=n.n(r);o.a},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(t),n.d(t,"default",function(){return h});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)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 i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,o){u=n,d=o||{};var a=r(e,t);return v(a),function(t){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}t?(a=r(e,t),v(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(g(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function b(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(p){var o=c++;r=s||(s=b()),t=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=b(),t=_.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()}}var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function _(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"4c0f":function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},5366:function(e,t,n){var r=n("fdcb");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("499e").default;o("efa688b8",r,!0,{sourceMap:!1,shadowMode:!1})},"5c7d":function(e,t,n){var r,o;(function(i,a){"use strict";r=a,o="function"===typeof r?r.call(t,n,t,e):r,void 0===o||(e.exports=o)})(0,function(){"use strict";var e=function(){},t="undefined",n=["trace","debug","info","warn","error"];function r(e,t){var n=e[t];if("function"===typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(r){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function o(n){return"debug"===n&&(n="log"),typeof console!==t&&(void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):e)}function i(t,r){for(var o=0;o<n.length;o++){var i=n[o];this[i]=o<t?e:this.methodFactory(i,t,r)}this.log=this.debug}function a(e,n,r){return function(){typeof console!==t&&(i.call(this,n,r),this[e].apply(this,arguments))}}function s(e,t,n){return o(e)||a.apply(this,arguments)}function c(e,r,o){var a,c=this,u="loglevel";function l(e){var r=(n[e]||"silent").toUpperCase();if(typeof window!==t){try{return void(window.localStorage[u]=r)}catch(o){}try{window.document.cookie=encodeURIComponent(u)+"="+r+";"}catch(o){}}}function d(){var e;if(typeof window!==t){try{e=window.localStorage[u]}catch(o){}if(typeof e===t)try{var n=window.document.cookie,r=n.indexOf(encodeURIComponent(u)+"=");-1!==r&&(e=/^([^;]+)/.exec(n.slice(r))[1])}catch(o){}return void 0===c.levels[e]&&(e=void 0),e}}e&&(u+=":"+e),c.name=e,c.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},c.methodFactory=o||s,c.getLevel=function(){return a},c.setLevel=function(n,r){if("string"===typeof n&&void 0!==c.levels[n.toUpperCase()]&&(n=c.levels[n.toUpperCase()]),!("number"===typeof n&&n>=0&&n<=c.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(a=n,!1!==r&&l(n),i.call(c,n,e),typeof console===t&&n<c.levels.SILENT)return"No console available for logging"},c.setDefaultLevel=function(e){d()||c.setLevel(e,!1)},c.enableAll=function(e){c.setLevel(c.levels.TRACE,e)},c.disableAll=function(e){c.setLevel(c.levels.SILENT,e)};var f=d();null==f&&(f=null==r?"WARN":r),c.setLevel(f,!1)}var u=new c,l={};u.getLogger=function(e){if("string"!==typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=l[e];return t||(t=l[e]=new c(e,u.getLevel(),u.methodFactory)),t};var d=typeof window!==t?window.log:void 0;return u.noConflict=function(){return typeof window!==t&&window.log===u&&(window.log=d),u},u.getLoggers=function(){return l},u})},"8bbf":function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},9224:function(e){e.exports={name:"@vmm/html",version:"1.0.69",description:" 全局库",icon:"ios-people",moduleType:"html",jslib:"@vmm/jslib",distFiles:["index.js"],debugFiles:["js/app.js","js/chunk-vendors.js"],types:"./types/src/main.d.ts",exports:{},scripts:{serve:"vue-cli-service serve --host localhost",build:"./build.sh"},dependencies:{vue:"^2.6.10"},devDependencies:{"@types/js-base64":"^2.3.1","@types/lodash.kebabcase":"^4.1.6","@vmm/jslib":"^1.0.62","@vue/cli-plugin-typescript":"^4.0.4","@vue/cli-service":"^4.0.4","declaration-bundler-webpack-plugin":"^1.0.3","js-base64":"^2.5.1","lodash.kebabcase":"^4.1.1",loglevel:"^1.6.4","tsconfig-paths-webpack-plugin":"^3.2.0",typescript:"^3.4.3","typescript-declaration-webpack-plugin":"^0.1.1","vue-json-pretty":"^1.6.2","vue-template-compiler":"^2.6.10"},license:"MIT"}},ac5c:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c267:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("4c0f"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=n("9224"),i=n("5c7d"),a=n.n(i);const s=a.a.methodFactory,c=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#607d8b"];var u=e=>{const t=a.a.getLogger(e);return t.methodFactory=function(e,n,r){const o=s(e,n,r),i=c[Math.floor(Math.random()*c.length)];return o.bind(t,"%c"+r,`color:${i};font-style:italic;border-right:2px solid;padding-right:4px`)},localStorage.developer&&localStorage.developer.length>0?t.setLevel(0):t.setLevel(3),t}; | ||
/*! ***************************************************************************** | ||
@@ -15,2 +15,2 @@ Copyright (c) Microsoft Corporation. All rights reserved. | ||
and limitations under the License. | ||
***************************************************************************** */function l(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r["throw"](e))}catch(t){i(t)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}c((r=r.apply(e,t||[])).next())})}var d=n("8bbf"),f=n.n(d),p=n("27ae"),h=n("3385"),v=n.n(h);const b=u(`${o["name"]}:project`),g="-cs-";function m(){const e=/[\?&]?(-cs-[\w-]+)=([\w.-]+)&?/g;function t(t){let n;while(null!=(n=e.exec(t)))3===n.length&&(b.debug("save session from url:",n[1],n),localStorage.setItem(n[1],n[2]))}t(location.hash),t(location.search)}function y(e){return b.debug("_loadJs:",e),new Promise((t,n)=>{var r=document.createElement("script");r.src=e,r.type="text/javascript",r.async=!1,r.onload=()=>{b.debug("load external js successed:",e),t(!0)},r.onerror=t=>{b.debug("load external js failed:",e,t),n(!1)},document.getElementsByTagName("head")[0].appendChild(r)})}function _(e){return b.debug("_loadCss:",e),new Promise((t,n)=>{var r=document.createElement("link");r.rel="stylesheet",r.href=e,r.onload=n=>{b.debug("load external css successed:",e),t(!0)},r.onerror=t=>{b.debug("load external css failed:",e),n(!1)},document.getElementsByTagName("head")[0].appendChild(r)})}const x=new f.a({data(){return{project:{},sessions:{},api:{}}},computed:{},methods:{updateSessions(){m();const e={};for(let n=0;n<localStorage.length;n++){const r=localStorage.key(n);if(r.startsWith(g))try{const n=localStorage.getItem(r).split(".");if(3!==n.length)throw new Error(" Format Parse Error");const o=JSON.parse(p["Base64"].decode(n[1]));if(o.exp<(new Date).getTime()/1e3){localStorage.removeItem(r),b.debug("session expire:"+o.iss);continue}e[o.iss]=Object.assign(Object.assign({},o.client),{_head:{iat:o.iat,iss:o.iss,exp:o.exp}})}catch(t){b.warn("parse session error:",r,t.message),localStorage.removeItem(r)}}this.sessions=e},loadApi(e){if(this.api[e.pkg.name])return;const t=(e,t,n,r)=>{let o=localStorage.server||"";const i=r?`${o}/api/${v()(e)}/db/${v()(r)}/${v()(t)}`:`${o}/api/${v()(e)}/${v()(t)}`,a={"content-type":"application/json"};return e=>l(this,void 0,void 0,function*(){for(let e of n){const t=`${g}${v()(e)}`;a[t]=localStorage.getItem(t)||""}let t={};const r=yield fetch(i,{body:JSON.stringify(e),cache:"no-cache",credentials:"include",headers:a,method:"POST",mode:"cors",redirect:"follow"});if(401===r.status&&this.$emit("401"),!r.ok){const e=yield r.text();throw new Error(`fetch: ${r.status},${e}`)}return r.headers.forEach((e,t)=>{t.startsWith(g)&&localStorage.setItem(t,e)}),t=yield r.json(),this.updateSessions(),t})};for(const n of Object.keys(e.api))e.api[n]=t(e.pkg.name,n,e.api[n]._sessions);if(e.db)for(const n of Object.keys(e.db)){const r=e.db[n];for(const o of Object.keys(r))r[o]=t(e.pkg.name,o,r[o]._sessions,n)}f.a.set(this.api,e.pkg.name,e)},_checkLoadDevModule(e){return l(this,void 0,void 0,function*(){const t=window.__dev;if(!t||!t[e])return;const n=t[e],r=yield(yield fetch(`${n}/package.json`)).json();switch(r.devUrl=n,r.moduleType){case"html":f.a.set(this.project.packages.html,r.name,r);break;case"service":f.a.set(this.project.packages.service,r.name,r);break}b.debug("load dev module to project:",e)})},getModule(e){return this.project.packages.html[e]||this.project.packages.html[this.project.jslib].packages[e]},getModuleGlobalVar(e){const t=this.getModule(e);return t.globalVar?window[t.globalVar]:void 0},getModuleFiles(e){const t=this.getModule(e);if(t.devUrl)return t.debugFiles.map(e=>`${t.devUrl}/${e}`);if(this.project.packages.html[e])return t.distFiles.map(t=>`/modules/${e}/${t}`);if(this.project.packages.html[this.project.jslib].packages[e])return t.distFiles.map(t=>`/jslib/${e}/${t}`);throw new Error(`Error: ${e} distFiles invalid`)},useExternal(e){return l(this,void 0,void 0,function*(){if(e instanceof Array){for(const t of e)yield this.useExternal(t);return}const t=this.getModule(e);if(!t)throw new Error("Error: Invalid modInfo "+e);switch(t._loadStatus){case"successed":return;case"wait":throw new Error("ERROR!!!,Module Circular Dependency:"+e);case"loading":return t._loadPromise;case"init":default:if(this.getModuleGlobalVar(e))return void f.a.set(t,"_loadStatus","successed");b.debug("start load external module",e),t._loadStatus="loading";for(const t of this.getModuleFiles(e))if(t.match(/\.js$/))yield y(t);else{if(!t.match(/\.css$/))throw new Error("loadExternalModule: invalid file type:"+e);yield _(t)}t._loadStatus="successed",b.debug("successed load external module",e)}})},vueComponent(e,t){return(()=>l(this,void 0,void 0,function*(){if(yield this.useExternal(e),!this.project.packages.html[e])throw new Error("vueComponent:invalid pkgName ,"+e);if(!this.project.packages.html[e].components)throw new Error("vueComponent:invalid components object,"+e+", "+t);if(!this.project.packages.html[e].components[t])throw new Error("vueComponent:invalid vue Component");return this.project.packages.html[e].components[t]}))()},loadVueDir(e,t){if(!this.project.packages.html[e])throw new Error("loadVueDir invalid package:"+e);const n={};for(const r of t.keys()){const o=r.match(/.*\/(.+?)\.vue$/),i=o&&2===o.length?o[1]:void 0;if(!i){b.warn("loadVueDir: match file name fail: ",r,o);continue}const a=t(r);if(!a.default)throw new Error("Must Use Vue.extend() create Vue Components");a.default.options["name"]=name,a.default.options["pkgName"]=e,this.project.packages.html[e].components||f.a.set(this.project.packages.html[e],"components",{}),f.a.set(this.project.packages.html[e].components,i,a.default),n[i]=a.default}return b.debug("loadVue:",Object.keys(n)),n},_loadProject(){const e=window.__project;this.project=e;const t={html:{},service:{}};for(const n of e.packages)switch(n.moduleType){case"html":t.html[n.name]=n;break;case"service":t.service[n.name]=n;break}f.a.set(this.project,"packages",t),this.project.packages.html[o.name]._loadStatus="successed"},_loadDeveloperConfig(){return l(this,void 0,void 0,function*(){if(!(localStorage.developer&&localStorage.developer.length>0))return;let e=[];try{e=JSON.parse(localStorage.__dev)}catch(n){}if(e instanceof Array)for(const r of e){let e;b.debug("load develop module from:",r);try{e=yield(yield fetch(`${r}/package.json`)).json()}catch(n){b.error("load dev module error:",n.message);continue}switch(e.devUrl=r,e.moduleType){case"html":f.a.set(this.project.packages.html,e.name,e);break;case"service":f.a.set(this.project.packages.service,e.name,e);break}b.info("debugPkg info:",e.name,e.version)}let t=null;window.addEventListener("keydown",e=>l(this,void 0,void 0,function*(){if(e.metaKey&&"Escape"===e.key&&!t){t=yield this.vueComponent("@vmm/html-dev-debugger","Developer");const e=document.createElement("div");document.body.appendChild(e),new t({}).$mount(e)}}))})}},created(){return l(this,void 0,void 0,function*(){this._loadProject(),yield this._loadDeveloperConfig(),yield this.useExternal(this.project.homepage),b.debug("project init successed ",this.project)})}});var w=x,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{staticClass:"developer"},[n("div",{staticClass:"title"},[n("h3",[e._v("VMM 开发者工具 (使用 Command + ESC 激活窗口)")]),n("div",[e._v("项目: "+e._s(e.project.name)+" : "+e._s(e.project.version)+" "+e._s(e.project.description))])]),n("div",{staticClass:"ding hover",class:e.ding?"ding-active":"",on:{click:function(t){e.ding=!e.ding}}},[e._v("@")]),n("div",{staticClass:"data-debugger flex-r",class:e.ding?"no-mouse":""},[n("div",{staticStyle:{"text-align":"center",clear:"both"}}),n("div",{staticClass:"tabs"},[n("input",{staticClass:"tabInput",attrs:{checked:"",id:"one",name:"tabs",type:"radio"}}),n("label",{attrs:{for:"one"}},[e._v("项目信息")]),n("input",{staticClass:"tabInput",attrs:{id:"two",name:"tabs",type:"radio",value:"Two"}}),n("label",{attrs:{for:"two"}},[e._v("会话信息")]),n("input",{staticClass:"tabInput",attrs:{id:"four",name:"tabs",type:"radio"}}),n("label",{attrs:{for:"four"}},[e._v("全局API")]),n("input",{staticClass:"tabInput",attrs:{id:"three",name:"tabs",type:"radio"}}),n("label",{attrs:{for:"three"}},[e._v("调试设置")]),n("div",{staticClass:"panels"},[n("div",{staticClass:"panel"},[n("VueJsonPretty",{attrs:{deep:3,data:e.project,showLength:!0}})],1),n("div",{staticClass:"panel"},[n("VueJsonPretty",{attrs:{deep:5,data:e.sessions,showLength:!0}})],1),n("div",{staticClass:"panel"},[n("VueJsonPretty",{attrs:{deep:5,data:e.api,showLength:!0}})],1),n("div",{staticClass:"panel"},[n("div",[e._l(e.devModule,function(t,r){return n("div",{key:r},[e._v(e._s(t))])}),e.devModule?[n("input",{directives:[{name:"model",rawName:"v-model",value:e.moduleAddress,expression:"moduleAddress"}],staticClass:"setting_input",attrs:{placeholder:"调试地址",type:"text"},domProps:{value:e.moduleAddress},on:{input:function(t){t.target.composing||(e.moduleAddress=t.target.value)}}}),n("input",{staticClass:"sub_btn",attrs:{type:"button",value:"提交"},on:{click:e.setDevModule}})]:e._e()],2)])])])])]):e._e()},k=[],C=n("d538"),S=n.n(C),E=f.a.extend({components:{VueJsonPretty:S.a},props:["project","api","sessions"],data(){return{show:!1,ding:!1,devModule:[],moduleAddress:""}},methods:{setDevModule(){this.devModule.push(this.moduleAddress),window.localStorage.setItem("__dev",JSON.stringify(this.devModule)),this.getDevModule()},getDevModule(){const e=window.localStorage.getItem("__dev");console.log("devModule-------------",e),e&&null!==e&&(this.devModule=JSON.parse(e),console.log("---",this.devModule))}},created(){window.addEventListener("keydown",e=>{e.metaKey&&"Escape"===e.key?this.show=!this.show:"Escape"===e.key&&(this.show=!1)})}}),A=E;n("464e");function O(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}var M=O(A,j,k,!1,null,"d0db7674",null),N=M.exports;const T={project:w,Developer:N,logger:u};window[o["name"].replace(/[@\/-]/g,"_")]=T;var R=T;t["default"]=R},d538:function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.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="",t(t.s=39)}([function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(25)("wks"),o=n(27),i=n(3).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t){e.exports=function(e,t,n,r,o,i){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var u,l="function"==typeof s?s.options:s;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o),i?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=u):r&&(u=r),u){var d=l.functional,f=d?l.render:l.beforeCreate;d?(l._injectStyles=u,l.render=function(e,t){return u.call(t),f(e,t)}):l.beforeCreate=f?[].concat(f,u):[u]}return{esModule:a,exports:s,options:l}}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(3),o=n(0),i=n(19),a=n(6),s=n(10),c=function(e,t,n){var u,l,d,f=e&c.F,p=e&c.G,h=e&c.S,v=e&c.P,b=e&c.B,g=e&c.W,m=p?o:o[t]||(o[t]={}),y=m.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(u in p&&(n=t),n)(l=!f&&_&&void 0!==_[u])&&s(m,u)||(d=l?_[u]:n[u],m[u]=p&&"function"!=typeof _[u]?n[u]:b&&l?i(d,r):g&&_[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((m.virtual||(m.virtual={}))[u]=d,e&c.R&&y&&!y[u]&&a(y,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(7),o=n(13);e.exports=n(4)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(8),o=n(44),i=n(45),a=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(15);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(47),o=n(28);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(25)("keys"),o=n(27);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(12),o=n(3).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(22),o=n(15);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(23);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(16),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(0),o=n(3),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(26)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";var r=n(53),o=n.n(r),i=n(31),a=n.n(i),s=n(75),c=n(77),u=n(79),l=n(81),d=n(83),f=n(33);t.a={name:"vue-json-pretty",components:{SimpleText:s.a,VueCheckbox:c.a,VueRadio:u.a,BracketsLeft:l.a,BracketsRight:d.a},props:{data:{},deep:{type:Number,default:1/0},showLength:{type:Boolean,default:!1},showDoubleQuotes:{type:Boolean,default:!0},path:{type:String,default:"root"},selectableType:{type:String,default:""},showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},selectOnClickNode:{type:Boolean,default:!0},value:{type:[Array,String],default:function(){return""}},pathSelectable:{type:Function,default:function(){return!0}},highlightMouseoverNode:{type:Boolean,default:!1},highlightSelectedNode:{type:Boolean,default:!0},parentData:{},currentDeep:{type:Number,default:1},currentKey:[Number,String]},data:function(){return{visible:this.currentDeep<=this.deep,isMouseover:!1,currentCheckboxVal:!!Array.isArray(this.value)&&this.value.includes(this.path)}},computed:{model:{get:function(){var e="multiple"===this.selectableType?[]:"single"===this.selectableType?"":null;return this.value||e},set:function(e){this.$emit("input",e)}},lastKey:function(){if(Array.isArray(this.parentData))return this.parentData.length-1;if(this.isObject(this.parentData)){var e=a()(this.parentData);return e[e.length-1]}},notLastKey:function(){return this.currentKey!==this.lastKey},selectable:function(){return this.pathSelectable(this.path,this.data)&&(this.isMultiple||this.isSingle)},isMultiple:function(){return"multiple"===this.selectableType},isSingle:function(){return"single"===this.selectableType},isSelected:function(){return this.isMultiple?this.model.includes(this.path):!!this.isSingle&&this.model===this.path},propsError:function(){return!this.selectableType||this.selectOnClickNode||this.showSelectController?"":"When selectableType is not null, selectOnClickNode and showSelectController cannot be false at the same time, because this will cause the selection to fail."}},methods:{handleValueChange:function(e){var t=this;if(!this.isMultiple||"checkbox"!==e&&"tree"!==e){if(this.isSingle&&("radio"===e||"tree"===e)&&this.model!==this.path){var n=this.model,r=this.path;this.model=r,this.$emit("change",r,n)}}else{var i=this.model.findIndex(function(e){return e===t.path}),a=[].concat(o()(this.model));-1!==i?this.model.splice(i,1):this.model.push(this.path),"checkbox"!==e&&(this.currentCheckboxVal=!this.currentCheckboxVal),this.$emit("change",this.model,a)}},handleClick:function(e){e._uid&&e._uid!==this._uid||(e._uid=this._uid,this.$emit("click",this.path,this.data),this.selectable&&this.selectOnClickNode&&this.handleValueChange("tree"))},handleItemClick:function(e,t){this.$emit("click",e,t)},handleItemChange:function(e,t){this.selectable&&this.$emit("change",e,t)},handleMouseover:function(){this.highlightMouseoverNode&&(this.selectable||""===this.selectableType)&&(this.isMouseover=!0)},handleMouseout:function(){this.highlightMouseoverNode&&(this.selectable||""===this.selectableType)&&(this.isMouseover=!1)},isObject:function(e){return"object"===Object(f.a)(e)},keyFormatter:function(e){return this.showDoubleQuotes?'"'+e+'"':e}},errorCaptured:function(){return!1},watch:{deep:function(e){this.visible=this.currentDeep<=e},propsError:{handler:function(e){if(e)throw new Error("[vue-json-pretty] "+e)},immediate:!0}}}},function(e,t,n){var r=n(7).f,o=n(10),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){e.exports={default:n(72),__esModule:!0}},function(e,t,n){"use strict";var r=n(33);t.a={props:{showDoubleQuotes:Boolean,parentData:{},data:{},showComma:Boolean,currentKey:[Number,String]},computed:{dataType:function(){return Object(r.a)(this.data)},parentDataType:function(){return Object(r.a)(this.parentData)}},methods:{textFormatter:function(e){var t=e+"";return"string"===this.dataType&&(t='"'+t+'"'),this.showComma&&(t+=","),t}}}},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}t.a=r},function(e,t,n){"use strict";t.a={props:{value:{type:Boolean,default:!1}},data:function(){return{focus:!1}},computed:{model:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}}},function(e,t,n){"use strict";t.a={props:{path:String,value:{type:String,default:""}},data:function(){return{focus:!1}},computed:{currentPath:function(){return this.path},model:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{change:function(){this.$emit("change",this.model)}}}},function(e,t,n){"use strict";var r=n(31),o=n.n(r),i=n(37);t.a={mixins:[i.a],props:{showLength:Boolean},methods:{closedBracketsGenerator:function(e){var t=Array.isArray(e)?"[...]":"{...}";return this.bracketsFormatter(t)},lengthGenerator:function(e){return" // "+(Array.isArray(e)?e.length+" items":o()(e).length+" keys")}}}},function(e,t,n){"use strict";t.a={props:{visible:{required:!0,type:Boolean},data:{required:!0},showComma:Boolean},computed:{dataVisiable:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{toggleBrackets:function(){this.dataVisiable=!this.dataVisiable},bracketsFormatter:function(e){return this.showComma?e+",":e}}}},function(e,t,n){"use strict";var r=n(37);t.a={mixins:[r.a]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(40),o=n.n(r),i=n(52),a=n(86);n.n(a),t.default=o()({},i.a,{version:"1.6.2"})},function(e,t,n){e.exports={default:n(41),__esModule:!0}},function(e,t,n){n(42),e.exports=n(0).Object.assign},function(e,t,n){var r=n(5);r(r.S+r.F,"Object",{assign:n(46)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports=!n(4)&&!n(9)(function(){return 7!=Object.defineProperty(n(20)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r=n(4),o=n(14),i=n(50),a=n(51),s=n(11),c=n(22),u=Object.assign;e.exports=!u||n(9)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=s(e),u=arguments.length,l=1,d=i.f,f=a.f;u>l;)for(var p,h=c(arguments[l++]),v=d?o(h).concat(d(h)):o(h),b=v.length,g=0;b>g;)p=v[g++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:u},function(e,t,n){var r=n(10),o=n(21),i=n(48)(!1),a=n(17)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(21),o=n(24),i=n(49);e.exports=function(e){return function(t,n,a){var s,c=r(t),u=o(c.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(16),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(29),o=n(85),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";t.__esModule=!0;var r=n(54),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){e.exports={default:n(55),__esModule:!0}},function(e,t,n){n(56),n(65),e.exports=n(0).Array.from},function(e,t,n){"use strict";var r=n(57)(!0);n(58)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(16),o=n(15);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(26),o=n(5),i=n(59),a=n(6),s=n(18),c=n(60),u=n(30),l=n(64),d=n(1)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,b,g){c(n,t,h);var m,y,_,x=function(e){if(!f&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",j="values"==v,k=!1,C=e.prototype,S=C[d]||C["@@iterator"]||v&&C[v],E=S||x(v),A=v?j?x("entries"):E:void 0,O="Array"==t&&C.entries||S;if(O&&(_=l(O.call(new e)))!==Object.prototype&&_.next&&(u(_,w,!0),r||"function"==typeof _[d]||a(_,d,p)),j&&S&&"values"!==S.name&&(k=!0,E=function(){return S.call(this)}),r&&!g||!f&&!k&&C[d]||a(C,d,E),s[t]=E,s[w]=p,v)if(m={values:j?E:x("values"),keys:b?E:x("keys"),entries:A},g)for(y in m)y in C||i(C,y,m[y]);else o(o.P+o.F*(f||k),t,m);return m}},function(e,t,n){e.exports=n(6)},function(e,t,n){"use strict";var r=n(61),o=n(13),i=n(30),a={};n(6)(a,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(8),o=n(62),i=n(28),a=n(17)("IE_PROTO"),s=function(){},c=function(){var e,t=n(20)("iframe"),r=i.length;for(t.style.display="none",n(63).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(7),o=n(8),i=n(14);e.exports=n(4)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,c=0;s>c;)r.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(10),o=n(11),i=n(17)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(19),o=n(5),i=n(11),a=n(66),s=n(67),c=n(24),u=n(68),l=n(69);o(o.S+o.F*!n(71)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,b=void 0!==v,g=0,m=l(f);if(b&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==m||p==Array&&s(m))for(t=c(f.length),n=new p(t);t>g;g++)u(n,g,b?v(f[g],g):f[g]);else for(d=m.call(f),n=new p;!(o=d.next()).done;g++)u(n,g,b?a(d,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(18),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(7),o=n(13);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(70),o=n(1)("iterator"),i=n(18);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(23),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){n(73),e.exports=n(0).Object.keys},function(e,t,n){var r=n(11),o=n(14);n(74)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(5),o=n(0),i=n(9);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";var r=n(32),o=n(76),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("span",{class:"vjs-value vjs-value__"+e.dataType},[e._v("\n "+e._s(e.textFormatter(e.data))+"\n ")])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(34),o=n(78),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["vjs-checkbox",e.value?"is-checked":""],on:{click:function(e){e.stopPropagation()}}},[n("span",{staticClass:"vjs-checkbox__inner"}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"vjs-checkbox__original",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e.model},on:{change:[function(t){var n=e.model,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.model=n.concat([null])):i>-1&&(e.model=n.slice(0,i).concat(n.slice(i+1)))}else e.model=o},function(t){return e.$emit("change",e.model)}],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(35),o=n(80),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["vjs-radio",e.model===e.currentPath?"is-checked":""],on:{click:function(e){e.stopPropagation()}}},[n("span",{staticClass:"vjs-radio__inner"}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"vjs-radio__original",attrs:{type:"radio"},domProps:{value:e.currentPath,checked:e._q(e.model,e.currentPath)},on:{change:[function(t){e.model=e.currentPath},e.change],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(36),o=n(82),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}],staticClass:"vjs-tree__brackets",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(Array.isArray(e.data)?"[":"{")+"\n ")]),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!e.dataVisiable,expression:"!dataVisiable"}]},[n("span",{staticClass:"vjs-tree__brackets",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(e.closedBracketsGenerator(e.data))+"\n ")]),e._v(" "),e.showLength?n("span",{staticClass:"vjs-comment"},[e._v("\n "+e._s(e.lengthGenerator(e.data))+"\n ")]):e._e()])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(38),o=n(84),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}]},[n("span",{staticClass:"vjs-tree__brackets",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(e.bracketsFormatter(Array.isArray(e.data)?"]":"}"))+"\n ")])])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"vjs-tree":!0,"has-selectable-control":e.isMultiple||e.showSelectController,"is-root":1===e.currentDeep,"is-selectable":e.selectable,"is-selected":e.isSelected,"is-highlight-selected":e.isSelected&&e.highlightSelectedNode,"is-mouseover":e.isMouseover},on:{click:e.handleClick,mouseover:function(t){return t.stopPropagation(),e.handleMouseover(t)},mouseout:function(t){return t.stopPropagation(),e.handleMouseout(t)}}},[e.showSelectController&&e.selectable?[e.isMultiple?n("vue-checkbox",{on:{change:function(t){return e.handleValueChange("checkbox")}},model:{value:e.currentCheckboxVal,callback:function(t){e.currentCheckboxVal=t},expression:"currentCheckboxVal"}}):e.isSingle?n("vue-radio",{attrs:{path:e.path},on:{change:function(t){return e.handleValueChange("radio")}},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}}):e._e()]:e._e(),e._v(" "),Array.isArray(e.data)||e.isObject(e.data)?[n("brackets-left",{attrs:{visible:e.visible,data:e.data,"show-length":e.showLength,"show-comma":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}},[e.currentDeep>1&&!Array.isArray(e.parentData)?n("span",{staticClass:"vjs-key"},[e._v(e._s(e.keyFormatter(e.currentKey))+":")]):e._e()]),e._v(" "),e._l(e.data,function(t,r){return n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],key:r,class:{"vjs-tree__content":!0,"has-line":e.showLine}},[n("vue-json-pretty",{attrs:{"parent-data":e.data,data:t,deep:e.deep,"show-length":e.showLength,"show-double-quotes":e.showDoubleQuotes,"show-line":e.showLine,"highlight-mouseover-node":e.highlightMouseoverNode,"highlight-selected-node":e.highlightSelectedNode,path:e.path+(Array.isArray(e.data)?"["+r+"]":"."+r),"path-selectable":e.pathSelectable,"selectable-type":e.selectableType,"show-select-controller":e.showSelectController,"select-on-click-node":e.selectOnClickNode,"current-key":r,"current-deep":e.currentDeep+1},on:{click:e.handleItemClick,change:e.handleItemChange},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}})],1)}),e._v(" "),n("brackets-right",{attrs:{visible:e.visible,data:e.data,"show-comma":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}})]:n("simple-text",{attrs:{"show-double-quotes":e.showDoubleQuotes,"show-comma":e.notLastKey,"parent-data":e.parentData,data:e.data,"current-key":e.currentKey}},[e.parentData&&e.currentKey&&!Array.isArray(e.parentData)?n("span",{staticClass:"vjs-key"},[e._v("\n "+e._s(e.keyFormatter(e.currentKey))+":\n ")]):e._e()])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){var r=n(87);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(89)("bfa6fc9c",r,!0,{})},function(e,t,n){t=e.exports=n(88)(!1),t.push([e.i,'.vjs-checkbox{position:absolute;left:-30px;color:#1f2d3d;user-select:none}.vjs-checkbox.is-checked .vjs-checkbox__inner{background-color:#1890ff;border-color:#0076e4}.vjs-checkbox.is-checked .vjs-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.vjs-checkbox .vjs-checkbox__inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-checkbox .vjs-checkbox__inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-checkbox .vjs-checkbox__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-radio{position:absolute;left:-30px;color:#1f2d3d;user-select:none}.vjs-radio.is-checked .vjs-radio__inner{background-color:#1890ff;border-color:#0076e4}.vjs-radio.is-checked .vjs-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.vjs-radio .vjs-radio__inner{border:1px solid #bfcbd9;border-radius:100%;width:16px;height:16px;vertical-align:middle;background-color:#fff;position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.vjs-radio .vjs-radio__inner:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.vjs-radio .vjs-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px}.vjs-tree.is-root{position:relative}.vjs-tree.is-root.has-selectable-control{margin-left:30px}.vjs-tree.is-mouseover{background-color:#e6f7ff}.vjs-tree.is-highlight-selected{background-color:#ccefff}.vjs-tree .vjs-tree__content{padding-left:1em}.vjs-tree .vjs-tree__content.has-line{border-left:1px dotted #bfcbd9}.vjs-tree .vjs-tree__brackets{cursor:pointer}.vjs-tree .vjs-tree__brackets:hover{color:#1890ff}.vjs-tree .vjs-comment{color:#bfcbd9}.vjs-tree .vjs-value__null{color:#ff4949}.vjs-tree .vjs-value__boolean,.vjs-tree .vjs-value__number{color:#1d8ce0}.vjs-tree .vjs-value__string{color:#13ce66}',""])},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).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={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"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,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(i(n.parts[o]));l[n.id]={id:n.id,refs:1,parts:a}}}}function o(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function i(e){var t,n,r=document.querySelector("style["+g+'~="'+e.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(m){var i=p++;r=f||(f=o()),t=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),t=s.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 a(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function s(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),b.ssrId&&e.setAttribute(g,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)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 u=n(90),l={},d=c&&(document.head||document.getElementsByTagName("head")[0]),f=null,p=0,h=!1,v=function(){},b=null,g="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,o){h=n,b=o||{};var i=u(e,t);return r(i),function(t){for(var n=[],o=0;o<i.length;o++){var a=i[o],s=l[a.id];s.refs--,n.push(s)}t?(i=u(e,t),r(i)):i=[];for(o=0;o<n.length;o++){s=n[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete l[s.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}}])})},fdcb:function(e,t,n){t=e.exports=n("24fb")(!1),t.push([e.i,".developer[data-v-d0db7674]{position:fixed;left:0;top:0;z-index:99999999;width:100%;height:100%;background-color:rgba(20,30,80,.7);color:#f0f8ff;overflow:scroll}.title[data-v-d0db7674]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px;display:flex;flex-direction:row;align-items:center;padding:0 16px 0 16px}.tabs[data-v-d0db7674]{width:100%;max-width:600px;margin:20px auto}.tabInput[data-v-d0db7674]{opacity:0}label[data-v-d0db7674]{cursor:pointer;background:-webkit-linear-gradient(#666,#555);color:#eee;border-radius:5px 5px 0 0;padding:1.5% 3%;float:left;margin-right:2px;font:italic 1em cambria}label[data-v-d0db7674]:hover{background:-webkit-linear-gradient(#777,#666)}input:checked+label[data-v-d0db7674]{color:#333;background:hsla(0,0%,100%,.35)}.tabs input:first-of-type:checked~.panels .panel[data-v-d0db7674]:first-child,.tabs input:nth-of-type(2):checked~.panels .panel[data-v-d0db7674]:nth-child(2),.tabs input:nth-of-type(3):checked~.panels .panel[data-v-d0db7674]:nth-child(3),.tabs input:nth-of-type(4):checked~.panels .panel[data-v-d0db7674]:last-child{opacity:1;-webkit-transition:.3s}.panels[data-v-d0db7674]{float:left;clear:both;position:relative;min-height:315px}.panel[data-v-d0db7674],.panels[data-v-d0db7674]{width:100%;border-radius:0 10px 10px 10px}.panel[data-v-d0db7674]{min-height:100vh;opacity:0;position:absolute;background:hsla(0,0%,100%,.35);padding:4%;box-sizing:border-box;color:#555}.panel h2[data-v-d0db7674]{margin:0;font-family:Arial}.setting_input[data-v-d0db7674]{outline-style:none;border:1px solid #ccc;border-radius:3px;width:30%;margin:0 1%;height:42px;padding:0 3%;border-radius:6px;font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:14px;color:#333;text-shadow:0 1px 2px rgba(0,0,0,.1);-webkit-transition:all .2s}.setting_input[data-v-d0db7674]:focus{border-color:rgba(20,30,80,.4);outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.sub_btn[data-v-d0db7674]{outline-style:none;border-radius:3px;color:#fff;background-color:rgba(20,30,80,.4);border-color:#eee;font-weight:300;font-size:16px;text-decoration:none;text-align:center;line-height:40px;height:40px;padding:0 40px;margin:0;display:inline-block;appearance:none;cursor:pointer;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:.3s;transition-duration:.3s;font-family:PT Sans,Helvetica,Arial,sans-serif}.btn[data-v-d0db7674]:focus,.btn[data-v-d0db7674]:hover{text-decoration:none;outline:none}.ding[data-v-d0db7674]{position:fixed;width:40px;height:24px;top:10px;left:20px;z-index:199999;color:#f0f0f0;font-size:14px;line-height:24px;text-align:center;box-shadow:0 0 1px 1px rgba(3,175,255,.7);background-color:rgba(3,175,255,.1)}.ding-active[data-v-d0db7674]{background-color:rgba(253,78,195,.8);border:1px solid #f0f0f0}.no-mouse[data-v-d0db7674]{pointer-events:none}",""])}})}); | ||
***************************************************************************** */function l(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r["throw"](e))}catch(t){i(t)}}function c(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}c((r=r.apply(e,t||[])).next())})}var d=n("8bbf"),f=n.n(d),p=n("27ae"),h=n("3385"),v=n.n(h);const b=u(`${o["name"]}:project`),g="-cs-";function m(){const e=/[\?&]?(-cs-[\w-]+)=([\w.-]+)&?/g;function t(t){let n;while(null!=(n=e.exec(t)))3===n.length&&(b.debug("save session from url:",n[1],n),localStorage.setItem(n[1],n[2]))}t(location.hash),t(location.search)}function y(e){return b.debug("_loadJs:",e),new Promise((t,n)=>{var r=document.createElement("script");r.src=e,r.type="text/javascript",r.async=!1,r.onload=()=>{b.debug("load external js successed:",e),t(!0)},r.onerror=t=>{b.debug("load external js failed:",e,t),n(!1)},document.getElementsByTagName("head")[0].appendChild(r)})}function _(e){return b.debug("_loadCss:",e),new Promise((t,n)=>{var r=document.createElement("link");r.rel="stylesheet",r.href=e,r.onload=n=>{b.debug("load external css successed:",e),t(!0)},r.onerror=t=>{b.debug("load external css failed:",e),n(!1)},document.getElementsByTagName("head")[0].appendChild(r)})}const x=new f.a({data(){return{project:{},sessions:{},api:{}}},computed:{},methods:{updateSessions(){m();const e={};for(let n=0;n<localStorage.length;n++){const r=localStorage.key(n);if(r.startsWith(g))try{const n=localStorage.getItem(r).split(".");if(3!==n.length)throw new Error(" Format Parse Error");const o=JSON.parse(p["Base64"].decode(n[1]));if(o.exp<(new Date).getTime()/1e3){localStorage.removeItem(r),b.debug("session expire:"+o.iss);continue}e[o.iss]=Object.assign(Object.assign({},o.client),{_head:{iat:o.iat,iss:o.iss,exp:o.exp}})}catch(t){b.warn("parse session error:",r,t.message),localStorage.removeItem(r)}}this.sessions=e},loadApi(e){if(this.api[e.pkg.name])return;const t=(e,t,n,r)=>{let o=localStorage.server||"";const i=r?`${o}/api/${v()(e)}/db/${v()(r)}/${v()(t)}`:`${o}/api/${v()(e)}/${v()(t)}`,a={"content-type":"application/json"};return e=>l(this,void 0,void 0,function*(){for(let e of n){const t=`${g}${v()(e)}`;a[t]=localStorage.getItem(t)||""}let t={};const r=yield fetch(i,{body:JSON.stringify(e),cache:"no-cache",credentials:"include",headers:a,method:"POST",mode:"cors",redirect:"follow"});if(401===r.status&&this.$emit("401"),!r.ok){const e=yield r.text();throw new Error(`fetch: ${r.status},${e}`)}return r.headers.forEach((e,t)=>{t.startsWith(g)&&localStorage.setItem(t,e)}),t=yield r.json(),this.updateSessions(),t})};for(const n of Object.keys(e.api))e.api[n]=t(e.pkg.name,n,e.api[n]._sessions);if(e.db)for(const n of Object.keys(e.db)){const r=e.db[n];for(const o of Object.keys(r))r[o]=t(e.pkg.name,o,r[o]._sessions,n)}f.a.set(this.api,e.pkg.name,e)},_checkLoadDevModule(e){return l(this,void 0,void 0,function*(){const t=window.__dev;if(!t||!t[e])return;const n=t[e],r=yield(yield fetch(`${n}/package.json`)).json();switch(r.devUrl=n,r.moduleType){case"html":f.a.set(this.project.packages.html,r.name,r);break;case"service":f.a.set(this.project.packages.service,r.name,r);break}b.debug("load dev module to project:",e)})},getModule(e){return this.project.packages.html[e]||this.project.packages.html[this.project.jslib].packages[e]},getModuleGlobalVar(e){const t=this.getModule(e);return t.globalVar?window[t.globalVar]:void 0},getModuleDependencies(e){const t=this.getModule(e);if(t.dependencies)return t.dependencies instanceof Array?t.dependencies:Object.keys(t.dependencies)},getModuleFiles(e){const t=this.getModule(e);if(t.devUrl)return t.debugFiles.map(e=>`${t.devUrl}/${e}`);if(this.project.packages.html[e])return t.distFiles.map(t=>`/modules/${e}/${t}`);if(this.project.packages.html[this.project.jslib].packages[e])return t.distFiles.map(t=>`/jslib/${e}/${t}`);throw new Error(`Error: ${e} distFiles invalid`)},loadExternalModule(e){return l(this,void 0,void 0,function*(){if(e instanceof Array){for(const t of e)yield this.loadExternalModule(t);return}const t=this.getModule(e);if(!t)throw new Error("Error: Invalid modInfo "+e);switch(t._loadStatus){case"successed":return;case"wait":throw new Error("ERROR!!!,Module Circular Dependency:"+e);case"loading":return t._loadPromise;case"init":default:if(this.getModuleGlobalVar(e))return void f.a.set(t,"_loadStatus","successed");b.debug("start load external module",e),t._loadStatus="loading";for(const t of this.getModuleFiles(e))if(t.match(/\.js$/))yield y(t);else{if(!t.match(/\.css$/))throw new Error("loadExternalModule: invalid file type:"+e);yield _(t)}t._loadStatus="successed",b.debug("successed load external module",e)}})},vueComponent(e,t){return(()=>l(this,void 0,void 0,function*(){if(yield this.loadExternalModule(e),!this.project.packages.html[e])throw new Error("vueComponent:invalid pkgName ,"+e);if(!this.project.packages.html[e].components)throw new Error("vueComponent:invalid components object,"+e+", "+t);if(!this.project.packages.html[e].components[t])throw new Error("vueComponent:invalid vue Component");return this.project.packages.html[e].components[t]}))()},loadVueDir(e,t){if(!this.project.packages.html[e])throw new Error("loadVueDir invalid package:"+e);const n={};for(const r of t.keys()){const o=r.match(/.*\/(.+?)\.vue$/),i=o&&2===o.length?o[1]:void 0;if(!i){b.warn("loadVueDir: match file name fail: ",r,o);continue}const a=t(r);if(!a.default)throw new Error("Must Use Vue.extend() create Vue Components");a.default.options["name"]=name,a.default.options["pkgName"]=e,this.project.packages.html[e].components||f.a.set(this.project.packages.html[e],"components",{}),f.a.set(this.project.packages.html[e].components,i,a.default),n[i]=a.default}return b.debug("loadVue:",Object.keys(n)),n},_loadProject(){const e=window.__project;this.project=e;const t={html:{},service:{}};for(const n of e.packages)switch(n.moduleType){case"html":t.html[n.name]=n;break;case"service":t.service[n.name]=n;break}f.a.set(this.project,"packages",t),this.project.packages.html[o.name]._loadStatus="successed"},_loadDeveloperConfig(){return l(this,void 0,void 0,function*(){if(!(localStorage.developer&&localStorage.developer.length>0))return;let e=[];try{e=JSON.parse(localStorage.__dev)}catch(n){}if(e instanceof Array)for(const r of e){let e;b.debug("load develop module from:",r);try{e=yield(yield fetch(`${r}/package.json`)).json()}catch(n){b.error("load dev module error:",n.message);continue}switch(e.devUrl=r,e.moduleType){case"html":f.a.set(this.project.packages.html,e.name,e);break;case"service":f.a.set(this.project.packages.service,e.name,e);break}b.info("debugPkg info:",e.name,e.version)}let t=null;window.addEventListener("keydown",e=>l(this,void 0,void 0,function*(){if(e.metaKey&&"Escape"===e.key&&!t){t=yield this.vueComponent("@vmm/html-dev-debugger","Developer");const e=document.createElement("div");document.body.appendChild(e),new t({}).$mount(e)}}))})}},created(){return l(this,void 0,void 0,function*(){this._loadProject(),yield this._loadDeveloperConfig(),yield this.loadExternalModule(this.project.homepage),b.debug("project init successed ",this.project)})}});var w=x,j=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{staticClass:"developer"},[n("div",{staticClass:"title"},[n("h3",[e._v("VMM 开发者工具 (使用 Command + ESC 激活窗口)")]),n("div",[e._v("项目: "+e._s(e.project.name)+" : "+e._s(e.project.version)+" "+e._s(e.project.description))])]),n("div",{staticClass:"ding hover",class:e.ding?"ding-active":"",on:{click:function(t){e.ding=!e.ding}}},[e._v("@")]),n("div",{staticClass:"data-debugger flex-r",class:e.ding?"no-mouse":""},[n("div",{staticStyle:{"text-align":"center",clear:"both"}}),n("div",{staticClass:"tabs"},[n("input",{staticClass:"tabInput",attrs:{checked:"",id:"one",name:"tabs",type:"radio"}}),n("label",{attrs:{for:"one"}},[e._v("项目信息")]),n("input",{staticClass:"tabInput",attrs:{id:"two",name:"tabs",type:"radio",value:"Two"}}),n("label",{attrs:{for:"two"}},[e._v("会话信息")]),n("input",{staticClass:"tabInput",attrs:{id:"four",name:"tabs",type:"radio"}}),n("label",{attrs:{for:"four"}},[e._v("全局API")]),n("input",{staticClass:"tabInput",attrs:{id:"three",name:"tabs",type:"radio"}}),n("label",{attrs:{for:"three"}},[e._v("调试设置")]),n("div",{staticClass:"panels"},[n("div",{staticClass:"panel"},[n("VueJsonPretty",{attrs:{deep:3,data:e.project,showLength:!0}})],1),n("div",{staticClass:"panel"},[n("VueJsonPretty",{attrs:{deep:5,data:e.sessions,showLength:!0}})],1),n("div",{staticClass:"panel"},[n("VueJsonPretty",{attrs:{deep:5,data:e.api,showLength:!0}})],1),n("div",{staticClass:"panel"},[n("div",[e._l(e.devModule,function(t,r){return n("div",{key:r},[e._v(e._s(t))])}),e.devModule?[n("input",{directives:[{name:"model",rawName:"v-model",value:e.moduleAddress,expression:"moduleAddress"}],staticClass:"setting_input",attrs:{placeholder:"调试地址",type:"text"},domProps:{value:e.moduleAddress},on:{input:function(t){t.target.composing||(e.moduleAddress=t.target.value)}}}),n("input",{staticClass:"sub_btn",attrs:{type:"button",value:"提交"},on:{click:e.setDevModule}})]:e._e()],2)])])])])]):e._e()},k=[],C=n("d538"),S=n.n(C),A=f.a.extend({components:{VueJsonPretty:S.a},props:["project","api","sessions"],data(){return{show:!1,ding:!1,devModule:[],moduleAddress:""}},methods:{setDevModule(){this.devModule.push(this.moduleAddress),window.localStorage.setItem("__dev",JSON.stringify(this.devModule)),this.getDevModule()},getDevModule(){const e=window.localStorage.getItem("__dev");console.log("devModule-------------",e),e&&null!==e&&(this.devModule=JSON.parse(e),console.log("---",this.devModule))}},created(){window.addEventListener("keydown",e=>{e.metaKey&&"Escape"===e.key?this.show=!this.show:"Escape"===e.key&&(this.show=!1)})}}),E=A;n("464e");function O(e,t,n,r,o,i,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:u}}var M=O(E,j,k,!1,null,"d0db7674",null),N=M.exports;const T={project:w,Developer:N,logger:u};window[o["name"].replace(/[@\/-]/g,"_")]=T;var R=T;t["default"]=R},d538:function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.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="",t(t.s=39)}([function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(25)("wks"),o=n(27),i=n(3).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t){e.exports=function(e,t,n,r,o,i){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var u,l="function"==typeof s?s.options:s;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId=o),i?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=u):r&&(u=r),u){var d=l.functional,f=d?l.render:l.beforeCreate;d?(l._injectStyles=u,l.render=function(e,t){return u.call(t),f(e,t)}):l.beforeCreate=f?[].concat(f,u):[u]}return{esModule:a,exports:s,options:l}}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(3),o=n(0),i=n(19),a=n(6),s=n(10),c=function(e,t,n){var u,l,d,f=e&c.F,p=e&c.G,h=e&c.S,v=e&c.P,b=e&c.B,g=e&c.W,m=p?o:o[t]||(o[t]={}),y=m.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(u in p&&(n=t),n)(l=!f&&_&&void 0!==_[u])&&s(m,u)||(d=l?_[u]:n[u],m[u]=p&&"function"!=typeof _[u]?n[u]:b&&l?i(d,r):g&&_[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((m.virtual||(m.virtual={}))[u]=d,e&c.R&&y&&!y[u]&&a(y,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(7),o=n(13);e.exports=n(4)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(8),o=n(44),i=n(45),a=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(15);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(47),o=n(28);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(25)("keys"),o=n(27);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(43);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(12),o=n(3).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(22),o=n(15);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(23);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(16),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(0),o=n(3),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(26)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";var r=n(53),o=n.n(r),i=n(31),a=n.n(i),s=n(75),c=n(77),u=n(79),l=n(81),d=n(83),f=n(33);t.a={name:"vue-json-pretty",components:{SimpleText:s.a,VueCheckbox:c.a,VueRadio:u.a,BracketsLeft:l.a,BracketsRight:d.a},props:{data:{},deep:{type:Number,default:1/0},showLength:{type:Boolean,default:!1},showDoubleQuotes:{type:Boolean,default:!0},path:{type:String,default:"root"},selectableType:{type:String,default:""},showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},selectOnClickNode:{type:Boolean,default:!0},value:{type:[Array,String],default:function(){return""}},pathSelectable:{type:Function,default:function(){return!0}},highlightMouseoverNode:{type:Boolean,default:!1},highlightSelectedNode:{type:Boolean,default:!0},parentData:{},currentDeep:{type:Number,default:1},currentKey:[Number,String]},data:function(){return{visible:this.currentDeep<=this.deep,isMouseover:!1,currentCheckboxVal:!!Array.isArray(this.value)&&this.value.includes(this.path)}},computed:{model:{get:function(){var e="multiple"===this.selectableType?[]:"single"===this.selectableType?"":null;return this.value||e},set:function(e){this.$emit("input",e)}},lastKey:function(){if(Array.isArray(this.parentData))return this.parentData.length-1;if(this.isObject(this.parentData)){var e=a()(this.parentData);return e[e.length-1]}},notLastKey:function(){return this.currentKey!==this.lastKey},selectable:function(){return this.pathSelectable(this.path,this.data)&&(this.isMultiple||this.isSingle)},isMultiple:function(){return"multiple"===this.selectableType},isSingle:function(){return"single"===this.selectableType},isSelected:function(){return this.isMultiple?this.model.includes(this.path):!!this.isSingle&&this.model===this.path},propsError:function(){return!this.selectableType||this.selectOnClickNode||this.showSelectController?"":"When selectableType is not null, selectOnClickNode and showSelectController cannot be false at the same time, because this will cause the selection to fail."}},methods:{handleValueChange:function(e){var t=this;if(!this.isMultiple||"checkbox"!==e&&"tree"!==e){if(this.isSingle&&("radio"===e||"tree"===e)&&this.model!==this.path){var n=this.model,r=this.path;this.model=r,this.$emit("change",r,n)}}else{var i=this.model.findIndex(function(e){return e===t.path}),a=[].concat(o()(this.model));-1!==i?this.model.splice(i,1):this.model.push(this.path),"checkbox"!==e&&(this.currentCheckboxVal=!this.currentCheckboxVal),this.$emit("change",this.model,a)}},handleClick:function(e){e._uid&&e._uid!==this._uid||(e._uid=this._uid,this.$emit("click",this.path,this.data),this.selectable&&this.selectOnClickNode&&this.handleValueChange("tree"))},handleItemClick:function(e,t){this.$emit("click",e,t)},handleItemChange:function(e,t){this.selectable&&this.$emit("change",e,t)},handleMouseover:function(){this.highlightMouseoverNode&&(this.selectable||""===this.selectableType)&&(this.isMouseover=!0)},handleMouseout:function(){this.highlightMouseoverNode&&(this.selectable||""===this.selectableType)&&(this.isMouseover=!1)},isObject:function(e){return"object"===Object(f.a)(e)},keyFormatter:function(e){return this.showDoubleQuotes?'"'+e+'"':e}},errorCaptured:function(){return!1},watch:{deep:function(e){this.visible=this.currentDeep<=e},propsError:{handler:function(e){if(e)throw new Error("[vue-json-pretty] "+e)},immediate:!0}}}},function(e,t,n){var r=n(7).f,o=n(10),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){e.exports={default:n(72),__esModule:!0}},function(e,t,n){"use strict";var r=n(33);t.a={props:{showDoubleQuotes:Boolean,parentData:{},data:{},showComma:Boolean,currentKey:[Number,String]},computed:{dataType:function(){return Object(r.a)(this.data)},parentDataType:function(){return Object(r.a)(this.parentData)}},methods:{textFormatter:function(e){var t=e+"";return"string"===this.dataType&&(t='"'+t+'"'),this.showComma&&(t+=","),t}}}},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}t.a=r},function(e,t,n){"use strict";t.a={props:{value:{type:Boolean,default:!1}},data:function(){return{focus:!1}},computed:{model:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}}}},function(e,t,n){"use strict";t.a={props:{path:String,value:{type:String,default:""}},data:function(){return{focus:!1}},computed:{currentPath:function(){return this.path},model:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},methods:{change:function(){this.$emit("change",this.model)}}}},function(e,t,n){"use strict";var r=n(31),o=n.n(r),i=n(37);t.a={mixins:[i.a],props:{showLength:Boolean},methods:{closedBracketsGenerator:function(e){var t=Array.isArray(e)?"[...]":"{...}";return this.bracketsFormatter(t)},lengthGenerator:function(e){return" // "+(Array.isArray(e)?e.length+" items":o()(e).length+" keys")}}}},function(e,t,n){"use strict";t.a={props:{visible:{required:!0,type:Boolean},data:{required:!0},showComma:Boolean},computed:{dataVisiable:{get:function(){return this.visible},set:function(e){this.$emit("update:visible",e)}}},methods:{toggleBrackets:function(){this.dataVisiable=!this.dataVisiable},bracketsFormatter:function(e){return this.showComma?e+",":e}}}},function(e,t,n){"use strict";var r=n(37);t.a={mixins:[r.a]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(40),o=n.n(r),i=n(52),a=n(86);n.n(a),t.default=o()({},i.a,{version:"1.6.2"})},function(e,t,n){e.exports={default:n(41),__esModule:!0}},function(e,t,n){n(42),e.exports=n(0).Object.assign},function(e,t,n){var r=n(5);r(r.S+r.F,"Object",{assign:n(46)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports=!n(4)&&!n(9)(function(){return 7!=Object.defineProperty(n(20)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r=n(4),o=n(14),i=n(50),a=n(51),s=n(11),c=n(22),u=Object.assign;e.exports=!u||n(9)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=s(e),u=arguments.length,l=1,d=i.f,f=a.f;u>l;)for(var p,h=c(arguments[l++]),v=d?o(h).concat(d(h)):o(h),b=v.length,g=0;b>g;)p=v[g++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:u},function(e,t,n){var r=n(10),o=n(21),i=n(48)(!1),a=n(17)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(21),o=n(24),i=n(49);e.exports=function(e){return function(t,n,a){var s,c=r(t),u=o(c.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(16),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(29),o=n(85),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";t.__esModule=!0;var r=n(54),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){e.exports={default:n(55),__esModule:!0}},function(e,t,n){n(56),n(65),e.exports=n(0).Array.from},function(e,t,n){"use strict";var r=n(57)(!0);n(58)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(16),o=n(15);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(26),o=n(5),i=n(59),a=n(6),s=n(18),c=n(60),u=n(30),l=n(64),d=n(1)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,b,g){c(n,t,h);var m,y,_,x=function(e){if(!f&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",j="values"==v,k=!1,C=e.prototype,S=C[d]||C["@@iterator"]||v&&C[v],A=S||x(v),E=v?j?x("entries"):A:void 0,O="Array"==t&&C.entries||S;if(O&&(_=l(O.call(new e)))!==Object.prototype&&_.next&&(u(_,w,!0),r||"function"==typeof _[d]||a(_,d,p)),j&&S&&"values"!==S.name&&(k=!0,A=function(){return S.call(this)}),r&&!g||!f&&!k&&C[d]||a(C,d,A),s[t]=A,s[w]=p,v)if(m={values:j?A:x("values"),keys:b?A:x("keys"),entries:E},g)for(y in m)y in C||i(C,y,m[y]);else o(o.P+o.F*(f||k),t,m);return m}},function(e,t,n){e.exports=n(6)},function(e,t,n){"use strict";var r=n(61),o=n(13),i=n(30),a={};n(6)(a,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(8),o=n(62),i=n(28),a=n(17)("IE_PROTO"),s=function(){},c=function(){var e,t=n(20)("iframe"),r=i.length;for(t.style.display="none",n(63).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(7),o=n(8),i=n(14);e.exports=n(4)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,c=0;s>c;)r.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var r=n(3).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(10),o=n(11),i=n(17)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(19),o=n(5),i=n(11),a=n(66),s=n(67),c=n(24),u=n(68),l=n(69);o(o.S+o.F*!n(71)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,b=void 0!==v,g=0,m=l(f);if(b&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==m||p==Array&&s(m))for(t=c(f.length),n=new p(t);t>g;g++)u(n,g,b?v(f[g],g):f[g]);else for(d=m.call(f),n=new p;!(o=d.next()).done;g++)u(n,g,b?a(d,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){var r=n(8);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(18),o=n(1)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(7),o=n(13);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(70),o=n(1)("iterator"),i=n(18);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(23),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){n(73),e.exports=n(0).Object.keys},function(e,t,n){var r=n(11),o=n(14);n(74)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(5),o=n(0),i=n(9);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";var r=n(32),o=n(76),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("span",{class:"vjs-value vjs-value__"+e.dataType},[e._v("\n "+e._s(e.textFormatter(e.data))+"\n ")])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(34),o=n(78),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["vjs-checkbox",e.value?"is-checked":""],on:{click:function(e){e.stopPropagation()}}},[n("span",{staticClass:"vjs-checkbox__inner"}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"vjs-checkbox__original",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e.model},on:{change:[function(t){var n=e.model,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.model=n.concat([null])):i>-1&&(e.model=n.slice(0,i).concat(n.slice(i+1)))}else e.model=o},function(t){return e.$emit("change",e.model)}],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(35),o=n(80),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{class:["vjs-radio",e.model===e.currentPath?"is-checked":""],on:{click:function(e){e.stopPropagation()}}},[n("span",{staticClass:"vjs-radio__inner"}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"vjs-radio__original",attrs:{type:"radio"},domProps:{value:e.currentPath,checked:e._q(e.model,e.currentPath)},on:{change:[function(t){e.model=e.currentPath},e.change],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(36),o=n(82),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}],staticClass:"vjs-tree__brackets",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(Array.isArray(e.data)?"[":"{")+"\n ")]),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:!e.dataVisiable,expression:"!dataVisiable"}]},[n("span",{staticClass:"vjs-tree__brackets",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(e.closedBracketsGenerator(e.data))+"\n ")]),e._v(" "),e.showLength?n("span",{staticClass:"vjs-comment"},[e._v("\n "+e._s(e.lengthGenerator(e.data))+"\n ")]):e._e()])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=n(38),o=n(84),i=n(2),a=i(r.a,o.a,!1,null,null,null);t.a=a.exports},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.dataVisiable,expression:"dataVisiable"}]},[n("span",{staticClass:"vjs-tree__brackets",on:{click:function(t){return t.stopPropagation(),e.toggleBrackets(t)}}},[e._v("\n "+e._s(e.bracketsFormatter(Array.isArray(e.data)?"]":"}"))+"\n ")])])},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"vjs-tree":!0,"has-selectable-control":e.isMultiple||e.showSelectController,"is-root":1===e.currentDeep,"is-selectable":e.selectable,"is-selected":e.isSelected,"is-highlight-selected":e.isSelected&&e.highlightSelectedNode,"is-mouseover":e.isMouseover},on:{click:e.handleClick,mouseover:function(t){return t.stopPropagation(),e.handleMouseover(t)},mouseout:function(t){return t.stopPropagation(),e.handleMouseout(t)}}},[e.showSelectController&&e.selectable?[e.isMultiple?n("vue-checkbox",{on:{change:function(t){return e.handleValueChange("checkbox")}},model:{value:e.currentCheckboxVal,callback:function(t){e.currentCheckboxVal=t},expression:"currentCheckboxVal"}}):e.isSingle?n("vue-radio",{attrs:{path:e.path},on:{change:function(t){return e.handleValueChange("radio")}},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}}):e._e()]:e._e(),e._v(" "),Array.isArray(e.data)||e.isObject(e.data)?[n("brackets-left",{attrs:{visible:e.visible,data:e.data,"show-length":e.showLength,"show-comma":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}},[e.currentDeep>1&&!Array.isArray(e.parentData)?n("span",{staticClass:"vjs-key"},[e._v(e._s(e.keyFormatter(e.currentKey))+":")]):e._e()]),e._v(" "),e._l(e.data,function(t,r){return n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],key:r,class:{"vjs-tree__content":!0,"has-line":e.showLine}},[n("vue-json-pretty",{attrs:{"parent-data":e.data,data:t,deep:e.deep,"show-length":e.showLength,"show-double-quotes":e.showDoubleQuotes,"show-line":e.showLine,"highlight-mouseover-node":e.highlightMouseoverNode,"highlight-selected-node":e.highlightSelectedNode,path:e.path+(Array.isArray(e.data)?"["+r+"]":"."+r),"path-selectable":e.pathSelectable,"selectable-type":e.selectableType,"show-select-controller":e.showSelectController,"select-on-click-node":e.selectOnClickNode,"current-key":r,"current-deep":e.currentDeep+1},on:{click:e.handleItemClick,change:e.handleItemChange},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}})],1)}),e._v(" "),n("brackets-right",{attrs:{visible:e.visible,data:e.data,"show-comma":e.notLastKey},on:{"update:visible":function(t){e.visible=t}}})]:n("simple-text",{attrs:{"show-double-quotes":e.showDoubleQuotes,"show-comma":e.notLastKey,"parent-data":e.parentData,data:e.data,"current-key":e.currentKey}},[e.parentData&&e.currentKey&&!Array.isArray(e.parentData)?n("span",{staticClass:"vjs-key"},[e._v("\n "+e._s(e.keyFormatter(e.currentKey))+":\n ")]):e._e()])],2)},o=[],i={render:r,staticRenderFns:o};t.a=i},function(e,t,n){var r=n(87);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),n(89)("bfa6fc9c",r,!0,{})},function(e,t,n){t=e.exports=n(88)(!1),t.push([e.i,'.vjs-checkbox{position:absolute;left:-30px;color:#1f2d3d;user-select:none}.vjs-checkbox.is-checked .vjs-checkbox__inner{background-color:#1890ff;border-color:#0076e4}.vjs-checkbox.is-checked .vjs-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.vjs-checkbox .vjs-checkbox__inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-checkbox .vjs-checkbox__inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-checkbox .vjs-checkbox__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-radio{position:absolute;left:-30px;color:#1f2d3d;user-select:none}.vjs-radio.is-checked .vjs-radio__inner{background-color:#1890ff;border-color:#0076e4}.vjs-radio.is-checked .vjs-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.vjs-radio .vjs-radio__inner{border:1px solid #bfcbd9;border-radius:100%;width:16px;height:16px;vertical-align:middle;background-color:#fff;position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.vjs-radio .vjs-radio__inner:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.vjs-radio .vjs-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px}.vjs-tree.is-root{position:relative}.vjs-tree.is-root.has-selectable-control{margin-left:30px}.vjs-tree.is-mouseover{background-color:#e6f7ff}.vjs-tree.is-highlight-selected{background-color:#ccefff}.vjs-tree .vjs-tree__content{padding-left:1em}.vjs-tree .vjs-tree__content.has-line{border-left:1px dotted #bfcbd9}.vjs-tree .vjs-tree__brackets{cursor:pointer}.vjs-tree .vjs-tree__brackets:hover{color:#1890ff}.vjs-tree .vjs-comment{color:#bfcbd9}.vjs-tree .vjs-value__null{color:#ff4949}.vjs-tree .vjs-value__boolean,.vjs-tree .vjs-value__number{color:#1d8ce0}.vjs-tree .vjs-value__string{color:#13ce66}',""])},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).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={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"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,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(i(n.parts[o]));l[n.id]={id:n.id,refs:1,parts:a}}}}function o(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function i(e){var t,n,r=document.querySelector("style["+g+'~="'+e.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(m){var i=p++;r=f||(f=o()),t=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),t=s.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 a(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function s(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),b.ssrId&&e.setAttribute(g,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)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 u=n(90),l={},d=c&&(document.head||document.getElementsByTagName("head")[0]),f=null,p=0,h=!1,v=function(){},b=null,g="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,o){h=n,b=o||{};var i=u(e,t);return r(i),function(t){for(var n=[],o=0;o<i.length;o++){var a=i[o],s=l[a.id];s.refs--,n.push(s)}t?(i=u(e,t),r(i)):i=[];for(o=0;o<n.length;o++){s=n[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete l[s.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:e+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}}])})},fdcb:function(e,t,n){t=e.exports=n("24fb")(!1),t.push([e.i,".developer[data-v-d0db7674]{position:fixed;left:0;top:0;z-index:99999999;width:100%;height:100%;background-color:rgba(20,30,80,.7);color:#f0f8ff;overflow:scroll}.title[data-v-d0db7674]{text-align:center;border-bottom:1px solid wheat;padding-bottom:4px;display:flex;flex-direction:row;align-items:center;padding:0 16px 0 16px}.tabs[data-v-d0db7674]{width:100%;max-width:600px;margin:20px auto}.tabInput[data-v-d0db7674]{opacity:0}label[data-v-d0db7674]{cursor:pointer;background:-webkit-linear-gradient(#666,#555);color:#eee;border-radius:5px 5px 0 0;padding:1.5% 3%;float:left;margin-right:2px;font:italic 1em cambria}label[data-v-d0db7674]:hover{background:-webkit-linear-gradient(#777,#666)}input:checked+label[data-v-d0db7674]{color:#333;background:hsla(0,0%,100%,.35)}.tabs input:first-of-type:checked~.panels .panel[data-v-d0db7674]:first-child,.tabs input:nth-of-type(2):checked~.panels .panel[data-v-d0db7674]:nth-child(2),.tabs input:nth-of-type(3):checked~.panels .panel[data-v-d0db7674]:nth-child(3),.tabs input:nth-of-type(4):checked~.panels .panel[data-v-d0db7674]:last-child{opacity:1;-webkit-transition:.3s}.panels[data-v-d0db7674]{float:left;clear:both;position:relative;min-height:315px}.panel[data-v-d0db7674],.panels[data-v-d0db7674]{width:100%;border-radius:0 10px 10px 10px}.panel[data-v-d0db7674]{min-height:100vh;opacity:0;position:absolute;background:hsla(0,0%,100%,.35);padding:4%;box-sizing:border-box;color:#555}.panel h2[data-v-d0db7674]{margin:0;font-family:Arial}.setting_input[data-v-d0db7674]{outline-style:none;border:1px solid #ccc;border-radius:3px;width:30%;margin:0 1%;height:42px;padding:0 3%;border-radius:6px;font-family:PT Sans,Helvetica,Arial,sans-serif;font-size:14px;color:#333;text-shadow:0 1px 2px rgba(0,0,0,.1);-webkit-transition:all .2s}.setting_input[data-v-d0db7674]:focus{border-color:rgba(20,30,80,.4);outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.sub_btn[data-v-d0db7674]{outline-style:none;border-radius:3px;color:#fff;background-color:rgba(20,30,80,.4);border-color:#eee;font-weight:300;font-size:16px;text-decoration:none;text-align:center;line-height:40px;height:40px;padding:0 40px;margin:0;display:inline-block;appearance:none;cursor:pointer;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:.3s;transition-duration:.3s;font-family:PT Sans,Helvetica,Arial,sans-serif}.btn[data-v-d0db7674]:focus,.btn[data-v-d0db7674]:hover{text-decoration:none;outline:none}.ding[data-v-d0db7674]{position:fixed;width:40px;height:24px;top:10px;left:20px;z-index:199999;color:#f0f0f0;font-size:14px;line-height:24px;text-align:center;box-shadow:0 0 1px 1px rgba(3,175,255,.7);background-color:rgba(3,175,255,.1)}.ding-active[data-v-d0db7674]{background-color:rgba(253,78,195,.8);border:1px solid #f0f0f0}.no-mouse[data-v-d0db7674]{pointer-events:none}",""])}})}); |
{ | ||
"name": "@vmm/html", | ||
"version": "1.0.68", | ||
"version": "1.0.69", | ||
"description": " 全局库", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -24,2 +24,5 @@ /// <reference types="webpack-env" /> | ||
description?: string; | ||
dependencies?: { | ||
[k: string]: string; | ||
} | string[]; | ||
globalVar?: string; | ||
@@ -81,2 +84,3 @@ exports?: IExport; | ||
getModuleGlobalVar(moduleName: string): any; | ||
getModuleDependencies(moduleName: string): string[] | undefined; | ||
getModuleFiles(moduleName: string): string[]; | ||
@@ -87,3 +91,3 @@ /** | ||
*/ | ||
useExternal(moduleName: string | string[]): Promise<any>; | ||
loadExternalModule(moduleName: string | string[]): Promise<any>; | ||
vueComponent(pkgName: string, componentName: string): Promise<VueConstructor<Vue>>; | ||
@@ -99,3 +103,3 @@ /** | ||
_loadDeveloperConfig(): Promise<void>; | ||
}, object, Record<never, any>>, "project" | "api" | "sessions" | "updateSessions" | "loadApi" | "_checkLoadDevModule" | "getModule" | "getModuleGlobalVar" | "getModuleFiles" | "useExternal" | "vueComponent" | "loadVueDir" | "_loadProject" | "_loadDeveloperConfig">>; | ||
}, object, Record<never, any>>, "project" | "api" | "sessions" | "updateSessions" | "loadApi" | "_checkLoadDevModule" | "getModule" | "getModuleGlobalVar" | "getModuleDependencies" | "getModuleFiles" | "loadExternalModule" | "vueComponent" | "loadVueDir" | "_loadProject" | "_loadDeveloperConfig">>; | ||
export default _default; |
@@ -13,4 +13,5 @@ /// <reference types="webpack-env" /> | ||
getModuleGlobalVar(moduleName: string): any; | ||
getModuleDependencies(moduleName: string): string[] | undefined; | ||
getModuleFiles(moduleName: string): string[]; | ||
useExternal(moduleName: string | string[]): Promise<any>; | ||
loadExternalModule(moduleName: string | string[]): Promise<any>; | ||
vueComponent(pkgName: string, componentName: string): Promise<import("vue").VueConstructor<import("vue").default>>; | ||
@@ -20,3 +21,3 @@ loadVueDir(pkgName: any, reqContext: __WebpackModuleApi.RequireContext): any; | ||
_loadDeveloperConfig(): Promise<void>; | ||
}, object, Record<never, any>>, "project" | "api" | "sessions" | "updateSessions" | "loadApi" | "_checkLoadDevModule" | "getModule" | "getModuleGlobalVar" | "getModuleFiles" | "useExternal" | "vueComponent" | "loadVueDir" | "_loadProject" | "_loadDeveloperConfig">>; | ||
}, object, Record<never, any>>, "project" | "api" | "sessions" | "updateSessions" | "loadApi" | "_checkLoadDevModule" | "getModule" | "getModuleGlobalVar" | "getModuleDependencies" | "getModuleFiles" | "loadExternalModule" | "vueComponent" | "loadVueDir" | "_loadProject" | "_loadDeveloperConfig">>; | ||
Developer: import("vue").VueConstructor<{ | ||
@@ -23,0 +24,0 @@ show: boolean; |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
324262
238
8