UNPKG

apijs-admin

Version:
1 lines 823 kB
webpackJsonp([1,2],[,,,function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},,,function(e,t){e.exports=function(e,t,n,i){var r,o=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(r=e,o=e.default);var a="function"==typeof o?o.options:o;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),i){var l=a.computed||(a.computed={});Object.keys(i).forEach(function(e){var t=i[e];l[e]=function(){return t}})}return{esModule:r,exports:o,options:a}}},function(e,t,n){function i(e){for(var t=0;t<e.length;t++){var n=e[t],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(s(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{for(var o=[],r=0;r<n.parts.length;r++)o.push(s(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:o}}}}function r(e,t){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],s=o[0],a=o[1],l=o[2],c=o[3],u={css:a,media:l,sourceMap:c};i[s]?(u.id=e+":"+i[s].parts.length,i[s].parts.push(u)):(u.id=e+":0",n.push(i[s]={id:s,parts:[u]}))}return n}function o(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function s(e){var t,n,i=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]'),r=null!=i;if(r&&f)return g;if(m){var s=p++;i=h||(h=o()),t=a.bind(null,i,s,!1),n=a.bind(null,i,s,!0)}else i=i||o(),t=l.bind(null,i),n=function(){i.parentNode.removeChild(i)};return r||t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}function a(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=b(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function l(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),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 r=n(105),u={},d=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,p=0,f=!1,g=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n){f=n;var o=r(e,t);return i(o),function(t){for(var n=[],s=0;s<o.length;s++){var a=o[s],l=u[a.id];l.refs--,n.push(l)}t?(o=r(e,t),i(o)):o=[];for(var s=0;s<n.length;s++){var l=n[s];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete u[l.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},,,,,,,,,,,function(e,t){function n(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=h[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(l(i.parts[o],t))}else{for(var s=[],o=0;o<i.parts.length;o++)s.push(l(i.parts[o],t));h[i.id]={id:i.id,refs:1,parts:s}}}}function i(e){for(var t=[],n={},i=0;i<e.length;i++){var r=e[i],o=r[0],s=r[1],a=r[2],l=r[3],c={css:s,media:a,sourceMap:l};n[o]?n[o].parts.push(c):t.push(n[o]={id:o,parts:[c]})}return t}function r(e,t){var n=g(),i=v[v.length-1];if("top"===e.insertAt)i?i.nextSibling?n.insertBefore(t,i.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),v.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function o(e){e.parentNode.removeChild(e);var t=v.indexOf(e);t>=0&&v.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",r(e,t),t}function a(e){var t=document.createElement("link");return t.rel="stylesheet",r(e,t),t}function l(e,t){var n,i,r;if(t.singleton){var l=b++;n=m||(m=s(t)),i=c.bind(null,n,l,!1),r=c.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(t),i=d.bind(null,n),r=function(){o(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),i=u.bind(null,n),r=function(){o(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else r()}}function c(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=x(t,r);else{var o=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function u(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,i=t.sourceMap;i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var r=new Blob([n],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(r),o&&URL.revokeObjectURL(o)}var h={},p=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},f=p(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=p(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,b=0,v=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},void 0===t.singleton&&(t.singleton=f()),void 0===t.insertAt&&(t.insertAt="bottom");var r=i(e);return n(r,t),function(e){for(var o=[],s=0;s<r.length;s++){var a=r[s],l=h[a.id];l.refs--,o.push(l)}if(e){n(i(e),t)}for(var s=0;s<o.length;s++){var l=o[s];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete h[l.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},,,,,,,,,function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},,function(e,t,n){var i=n(41);"string"==typeof i&&(i=[[e.i,i,""]]);n(18)(i,{});i.locals&&(e.exports=i.locals)},function(e,t,n){var i=n(42);"string"==typeof i&&(i=[[e.i,i,""]]);n(18)(i,{});i.locals&&(e.exports=i.locals)},function(e,t,n){n(100);var i=n(6)(n(106),n(93),null,null);e.exports=i.exports},function(e,t,n){"use strict";function i(e,t){e||"undefined"!=typeof console&&console.warn("[vue-router] "+t)}function r(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:i(!1,'props in "'+e.path+'" is a '+typeof t+", expecting an object, function or boolean.")}}function o(e,t){if(void 0===t&&(t={}),e){var n;try{n=s(e)}catch(e){n={}}for(var i in t)n[i]=t[i];return n}return t}function s(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),i=$e(n.shift()),r=n.length>0?$e(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]}),t):t}function a(e){var t=e?Object.keys(e).map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return De(t);if(Array.isArray(n)){var i=[];return n.slice().forEach(function(e){void 0!==e&&(null===e?i.push(De(t)):i.push(De(t)+"="+De(e)))}),i.join("&")}return De(t)+"="+De(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function l(e,t,n){var i={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:t.query||{},params:t.params||{},fullPath:u(t),matched:e?c(e):[]};return n&&(i.redirectedFrom=u(n)),Object.freeze(i)}function c(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function u(e){var t=e.path,n=e.query;void 0===n&&(n={});var i=e.hash;return void 0===i&&(i=""),(t||"/")+a(n)+i}function d(e,t){return t===Re?e===t:!!t&&(e.path&&t.path?e.path.replace(Te,"")===t.path.replace(Te,"")&&e.hash===t.hash&&h(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&h(e.query,t.query)&&h(e.params,t.params)))}function h(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&n.every(function(n){return String(e[n])===String(t[n])})}function p(e,t){return 0===e.path.replace(Te,"/").indexOf(t.path.replace(Te,"/"))&&(!t.hash||e.hash===t.hash)&&f(e.query,t.query)}function f(e,t){for(var n in t)if(!(n in e))return!1;return!0}function g(e){if(!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.target&&e.target.getAttribute){var t=e.target.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function m(e){if(e)for(var t,n=0;n<e.length;n++){if(t=e[n],"a"===t.tag)return t;if(t.children&&(t=m(t.children)))return t}}function b(e){if(!b.installed){b.installed=!0,Ce=e,Object.defineProperty(e.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this.$root._route}}),e.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current))}}),e.component("router-view",Fe),e.component("router-link",Oe);var t=e.config.optionMergeStrategies;t.beforeRouteEnter=t.beforeRouteLeave=t.created}}function v(e,t,n){if("/"===e.charAt(0))return e;if("?"===e.charAt(0)||"#"===e.charAt(0))return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var r=e.replace(/^\//,"").split("/"),o=0;o<r.length;o++){var s=r[o];"."!==s&&(".."===s?i.pop():i.push(s))}return""!==i[0]&&i.unshift(""),i.join("/")}function x(e){var t="",n="",i=e.indexOf("#");i>=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}function w(e){return e.replace(/\/\//g,"/")}function y(e,t,n){var i=t||Object.create(null),r=n||Object.create(null);return e.forEach(function(e){k(i,r,e)}),{pathMap:i,nameMap:r}}function k(e,t,n,i,r){var o=n.path,s=n.name,a={path:A(o,i),components:n.components||{default:n.component},instances:{},name:s,parent:i,matchAs:r,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(n){k(e,t,n,a,r?w(r+"/"+n.path):void 0)}),void 0!==n.alias)if(Array.isArray(n.alias))n.alias.forEach(function(r){k(e,t,{path:r,children:n.children},i,a.path)});else{var l={path:n.alias,children:n.children};k(e,t,l,i,a.path)}e[a.path]||(e[a.path]=a),s&&(t[s]||(t[s]=a))}function A(e,t){return e=e.replace(/\/$/,""),"/"===e[0]?e:null==t?e:w(t.path+"/"+e)}function _(e,t){for(var n,i=[],r=0,o=0,s="",a=t&&t.delimiter||"/";null!=(n=Ge.exec(e));){var l=n[0],c=n[1],u=n.index;if(s+=e.slice(o,u),o=u+l.length,c)s+=c[1];else{var d=e[o],h=n[2],p=n[3],f=n[4],g=n[5],m=n[6],b=n[7];s&&(i.push(s),s="");var v=null!=h&&null!=d&&d!==h,x="+"===m||"*"===m,w="?"===m||"*"===m,y=n[2]||a,k=f||g;i.push({name:p||r++,prefix:h||"",delimiter:y,optional:w,repeat:x,partial:v,asterisk:!!b,pattern:k?B(k):b?".*":"[^"+L(y)+"]+?"})}}return o<e.length&&(s+=e.substr(o)),s&&i.push(s),i}function E(e,t){return S(_(e,t))}function C(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function F(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function S(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,i){for(var r="",o=n||{},s=i||{},a=s.pretty?C:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!=typeof c){var u,d=o[c.name];if(null==d){if(c.optional){c.partial&&(r+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(We(d)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(u=a(d[h]),!t[l].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");r+=(0===h?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?F(d):a(d),!t[l].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');r+=c.prefix+u}}else r+=c}return r}}function L(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function B(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function D(e,t){return e.keys=t,e}function $(e){return e.sensitive?"":"i"}function T(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return D(e,t)}function R(e,t,n){for(var i=[],r=0;r<e.length;r++)i.push(O(e[r],t,n).source);return D(new RegExp("(?:"+i.join("|")+")",$(n)),t)}function j(e,t,n){return M(_(e,n),t,n)}function M(e,t,n){We(t)||(n=t||n,t=[]),n=n||{};for(var i=n.strict,r=n.end!==!1,o="",s=0;s<e.length;s++){var a=e[s];if("string"==typeof a)o+=L(a);else{var l=L(a.prefix),c="(?:"+a.pattern+")";t.push(a),a.repeat&&(c+="(?:"+l+c+")*"),c=a.optional?a.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")",o+=c}}var u=L(n.delimiter||"/"),d=o.slice(-u.length)===u;return i||(o=(d?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=r?"$":i&&d?"":"(?="+u+"|$)",D(new RegExp("^"+o,$(n)),t)}function O(e,t,n){return We(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?T(e,t):We(e)?R(e,t,n):j(e,t,n)}function P(e){var t,n,i=qe[e];return i?(t=i.keys,n=i.regexp):(t=[],n=Ne(e,t),qe[e]={keys:t,regexp:n}),{keys:t,regexp:n}}function I(e,t,n){try{return(Ke[e]||(Ke[e]=Ne.compile(e)))(t||{},{pretty:!0})}catch(e){return""}}function W(e,t,n){var i="string"==typeof e?{path:e}:e;if(i.name||i._normalized)return i;if(!i.path&&i.params&&t){i=N({},i),i._normalized=!0;var r=N(N({},t.params),i.params);if(t.name)i.name=t.name,i.params=r;else if(t.matched){var s=t.matched[t.matched.length-1].path;i.path=I(s,r,"path "+t.path)}return i}var a=x(i.path||""),l=t&&t.path||"/",c=a.path?v(a.path,l,n||i.append):t&&t.path||"/",u=o(a.query,i.query),d=i.hash||a.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:c,query:u,hash:d}}function N(e,t){for(var n in t)e[n]=t[n];return e}function z(e){function t(e){y(e,c,u)}function n(e,t,n){var i=W(e,t),r=i.name;if(r){var o=u[r],a=P(o.path).keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof i.params&&(i.params={}),t&&"object"==typeof t.params)for(var l in t.params)!(l in i.params)&&a.indexOf(l)>-1&&(i.params[l]=t.params[l]);if(o)return i.path=I(o.path,i.params,'named route "'+r+'"'),s(o,i,n)}else if(i.path){i.params={};for(var d in c)if(V(d,i.params,i.path))return s(c[d],i,n)}return s(null,i)}function r(e,t){var r=e.redirect,o="function"==typeof r?r(l(e,t)):r;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return s(null,t);var a=o,c=a.name,d=a.path,h=t.query,p=t.hash,f=t.params;if(h=a.hasOwnProperty("query")?a.query:h,p=a.hasOwnProperty("hash")?a.hash:p,f=a.hasOwnProperty("params")?a.params:f,c){u[c];return n({_normalized:!0,name:c,query:h,hash:p,params:f},void 0,t)}if(d){var g=H(d,e);return n({_normalized:!0,path:I(g,f,'redirect route with path "'+g+'"'),query:h,hash:p},void 0,t)}return i(!1,"invalid redirect option: "+JSON.stringify(o)),s(null,t)}function o(e,t,i){var r=I(i,t.params,'aliased route with path "'+i+'"'),o=n({_normalized:!0,path:r});if(o){var a=o.matched,l=a[a.length-1];return t.params=o.params,s(l,t)}return s(null,t)}function s(e,t,n){return e&&e.redirect?r(e,n||t):e&&e.matchAs?o(e,t,e.matchAs):l(e,t,n)}var a=y(e),c=a.pathMap,u=a.nameMap;return{match:n,addRoutes:t}}function V(e,t,n){var i=P(e),r=i.regexp,o=i.keys,s=n.match(r);if(!s)return!1;if(!t)return!0;for(var a=1,l=s.length;a<l;++a){var c=o[a-1],u="string"==typeof s[a]?decodeURIComponent(s[a]):s[a];c&&(t[c.name]=u)}return!0}function H(e,t){return v(e,t.parent?t.parent.path:"/",!0)}function U(){window.addEventListener("popstate",function(e){q(),e.state&&e.state.key&&te(e.state.key)})}function G(e,t,n,i){if(e.app){var r=e.options.scrollBehavior;r&&e.app.$nextTick(function(){var e=K(),o=r(t,n,i?e:null);if(o){var s="object"==typeof o;if(s&&"string"==typeof o.selector){var a=document.querySelector(o.selector);a?e=Y(a):J(o)&&(e=X(o))}else s&&J(o)&&(e=X(o));e&&window.scrollTo(e.x,e.y)}})}}function q(){var e=ee();e&&(Ye[e]={x:window.pageXOffset,y:window.pageYOffset})}function K(){var e=ee();if(e)return Ye[e]}function Y(e){var t=document.documentElement,n=t.getBoundingClientRect(),i=e.getBoundingClientRect();return{x:i.left-n.left,y:i.top-n.top}}function J(e){return Q(e.x)||Q(e.y)}function X(e){return{x:Q(e.x)?e.x:window.pageXOffset,y:Q(e.y)?e.y:window.pageYOffset}}function Q(e){return"number"==typeof e}function Z(){return Xe.now().toFixed(3)}function ee(){return Qe}function te(e){Qe=e}function ne(e,t){q();var n=window.history;try{t?n.replaceState({key:Qe},"",e):(Qe=Z(),n.pushState({key:Qe},"",e))}catch(n){window.location[t?"replace":"assign"](e)}}function ie(e){ne(e,!0)}function re(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],function(){i(r+1)}):i(r+1)};i(0)}function oe(e){if(!e)if(Pe){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/"}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function se(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n<i&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}function ae(e,t,n,i){var r=me(e,function(e,i,r,o){var s=le(e,t);if(s)return Array.isArray(s)?s.map(function(e){return n(e,i,r,o)}):n(s,i,r,o)});return be(i?r.reverse():r)}function le(e,t){return"function"!=typeof e&&(e=Ce.extend(e)),e.options[t]}function ce(e){return ae(e,"beforeRouteLeave",de,!0)}function ue(e){return ae(e,"beforeRouteUpdate",de)}function de(e,t){return function(){return e.apply(t,arguments)}}function he(e,t,n){return ae(e,"beforeRouteEnter",function(e,i,r,o){return pe(e,r,o,t,n)})}function pe(e,t,n,i,r){return function(o,s,a){return e(o,s,function(e){a(e),"function"==typeof e&&i.push(function(){fe(e,t.instances,n,r)})})}}function fe(e,t,n,i){t[n]?e(t[n]):i()&&setTimeout(function(){fe(e,t,n,i)},16)}function ge(e){return me(e,function(e,t,n,r){if("function"==typeof e&&!e.options)return function(t,o,s){var a=ve(function(e){n.components[r]=e,s()}),l=ve(function(e){i(!1,"Failed to resolve async component "+r+": "+e),s(!1)}),c=e(a,l);c&&"function"==typeof c.then&&c.then(a,l)}})}function me(e,t){return be(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function be(e){return Array.prototype.concat.apply([],e)}function ve(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function xe(e){var t=window.location.pathname;return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}function we(e){var t=xe(e);if(!/^\/#/.test(t))return window.location.replace(w(e+"/#"+t)),!0}function ye(){var e=ke();return"/"===e.charAt(0)||(_e("/"+e),!1)}function ke(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.slice(t+1)}function Ae(e){window.location.hash=e}function _e(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)}function Ee(e,t,n){var i="hash"===n?"#"+t:t;return e?w(e+"/"+i):i}var Ce,Fe={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,i=t.children,o=t.parent,s=t.data;s.routerView=!0;for(var a=n.name,l=o.$route,c=o._routerViewCache||(o._routerViewCache={}),u=0,d=!1;o;)o.$vnode&&o.$vnode.data.routerView&&u++,o._inactive&&(d=!0),o=o.$parent;if(s.routerViewDepth=u,d)return e(c[a],s,i);var h=l.matched[u];if(!h)return c[a]=null,e();var p=c[a]=h.components[a],f=s.hook||(s.hook={});return f.init=function(e){h.instances[a]=e.child},f.prepatch=function(e,t){h.instances[a]=t.child},f.destroy=function(e){h.instances[a]===e.child&&(h.instances[a]=void 0)},s.props=r(l,h.props&&h.props[a]),e(p,s,i)}},Se=/[!'()*]/g,Le=function(e){return"%"+e.charCodeAt(0).toString(16)},Be=/%2C/g,De=function(e){return encodeURIComponent(e).replace(Se,Le).replace(Be,",")},$e=decodeURIComponent,Te=/\/?$/,Re=l(null,{path:"/"}),je=[String,Object],Me=[String,Array],Oe={name:"router-link",props:{to:{type:je,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Me,default:"click"}},render:function(e){var t=this,n=this.$router,i=this.$route,r=n.resolve(this.to,i,this.append),o=r.location,s=r.route,a=r.href,c={},u=this.activeClass||n.options.linkActiveClass||"router-link-active",h=o.path?l(null,o):s;c[u]=this.exact?d(i,h):p(i,h);var f=function(e){g(e)&&(t.replace?n.replace(o):n.push(o))},b={click:g};Array.isArray(this.event)?this.event.forEach(function(e){b[e]=f}):b[this.event]=f;var v={class:c};if("a"===this.tag)v.on=b,v.attrs={href:a};else{var x=m(this.$slots.default);if(x){x.isStatic=!1;var w=Ce.util.extend;(x.data=w({},x.data)).on=b;(x.data.attrs=w({},x.data.attrs)).href=a}else v.on=b}return e(this.tag,v,this.$slots.default)}},Pe="undefined"!=typeof window,Ie=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},We=Ie,Ne=O,ze=_,Ve=E,He=S,Ue=M,Ge=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Ne.parse=ze,Ne.compile=Ve,Ne.tokensToFunction=He,Ne.tokensToRegExp=Ue;var qe=Object.create(null),Ke=Object.create(null),Ye=Object.create(null),Je=Pe&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Xe=Pe&&window.performance&&window.performance.now?window.performance:Date,Qe=Z(),Ze=function(e,t){this.router=e,this.base=oe(t),this.current=Re,this.pending=null,this.ready=!1,this.readyCbs=[]};Ze.prototype.listen=function(e){this.cb=e},Ze.prototype.onReady=function(e){this.ready?e():this.readyCbs.push(e)},Ze.prototype.transitionTo=function(e,t,n){var i=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},n)},Ze.prototype.confirmTransition=function(e,t,n){var i=this,r=this.current,o=function(){n&&n()};if(d(e,r)&&e.matched.length===r.matched.length)return this.ensureURL(),o();var s=se(this.current.matched,e.matched),a=s.updated,l=s.deactivated,c=s.activated,u=[].concat(ce(l),this.router.beforeHooks,ue(a),c.map(function(e){return e.beforeEnter}),ge(c));this.pending=e;var h=function(t,n){if(i.pending!==e)return o();t(e,r,function(e){e===!1?(i.ensureURL(!0),o()):"string"==typeof e||"object"==typeof e?("object"==typeof e&&e.replace?i.replace(e):i.push(e),o()):n(e)})};re(u,h,function(){var n=[];re(he(c,n,function(){return i.current===e}),h,function(){if(i.pending!==e)return o();i.pending=null,t(e),i.router.app&&i.router.app.$nextTick(function(){n.forEach(function(e){return e()})})})})},Ze.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,t)})};var et=function(e){function t(t,n){var i=this;e.call(this,t,n);var r=t.options.scrollBehavior;r&&U(),window.addEventListener("popstate",function(e){i.transitionTo(xe(i.base),function(e){r&&G(t,e,i.current,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,function(e){ne(w(i.base+e.fullPath)),G(i.router,e,i.current,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,function(e){ie(w(i.base+e.fullPath)),G(i.router,e,i.current,!1),t&&t(e)},n)},t.prototype.ensureURL=function(e){if(xe(this.base)!==this.current.fullPath){var t=w(this.base+this.current.fullPath);e?ne(t):ie(t)}},t.prototype.getCurrentLocation=function(){return xe(this.base)},t}(Ze),tt=function(e){function t(t,n,i){e.call(this,t,n),i&&we(this.base)||ye()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;window.addEventListener("hashchange",function(){ye()&&e.transitionTo(ke(),function(e){_e(e.fullPath)})})},t.prototype.push=function(e,t,n){this.transitionTo(e,function(e){Ae(e.fullPath),t&&t(e)},n)},t.prototype.replace=function(e,t,n){this.transitionTo(e,function(e){_e(e.fullPath),t&&t(e)},n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;ke()!==t&&(e?Ae(t):_e(t))},t.prototype.getCurrentLocation=function(){return ke()},t}(Ze),nt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){t.index=n,t.updateRoute(i)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Ze),it=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.afterHooks=[],this.matcher=z(e.routes||[]);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Je,this.fallback&&(t="hash"),Pe||(t="abstract"),this.mode=t,t){case"history":this.history=new et(this,e.base);break;case"hash":this.history=new tt(this,e.base,this.fallback);break;case"abstract":this.history=new nt(this,e.base)}},rt={currentRoute:{}};it.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},rt.currentRoute.get=function(){return this.history&&this.history.current},it.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var n=this.history;if(n instanceof et)n.transitionTo(n.getCurrentLocation());else if(n instanceof tt){var i=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},it.prototype.beforeEach=function(e){this.beforeHooks.push(e)},it.prototype.afterEach=function(e){this.afterHooks.push(e)},it.prototype.onReady=function(e){this.history.onReady(e)},it.prototype.push=function(e,t,n){this.history.push(e,t,n)},it.prototype.replace=function(e,t,n){this.history.replace(e,t,n)},it.prototype.go=function(e){this.history.go(e)},it.prototype.back=function(){this.go(-1)},it.prototype.forward=function(){this.go(1)},it.prototype.getMatchedComponents=function(e){var t=e?this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},it.prototype.resolve=function(e,t,n){var i=W(e,t||this.history.current,n),r=this.match(i,t),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:Ee(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},it.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Re&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(it.prototype,rt),it.install=b,it.version="2.2.1",Pe&&window.Vue&&window.Vue.use(it),t.a=it},function(e,t,n){"use strict";var i=n(91),r=n.n(i),o=n(92),s=n.n(o),a=n(88),l=n.n(a);t.a=[{name:"Index",path:"/",component:r.a},{name:"ApiList",path:"/list",component:s.a},{name:"ApiEdit",path:"/list/data/:id",component:l.a},{name:"ApiAdd",path:"/list/add",component:l.a,meta:{test:1}}]},function(e,t,n){(function(t){function n(){if(t.Blob)try{return new Blob(["asdf"],{type:"text/plain"}),Blob}catch(e){}var e=t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder;return function(t,n){var i=new e,r=n.endings,o=n.type;if(r)for(var s=0,a=t.length;s<a;++s)i.append(t[s],r);else for(var s=0,a=t.length;s<a;++s)i.append(t[s]);return o?i.getBlob(o):i.getBlob()}}e.exports=n()}).call(t,n(28))},function(e,t,n){!function(){function e(e){var t=n;e&&(n[e]||(n[e]={}),t=n[e]),t.define&&t.define.packaged||(i.original=t.define,t.define=i,t.define.packaged=!0),t.acequire&&t.acequire.packaged||(o.original=t.acequire,t.acequire=o,t.acequire.packaged=!0)}var t="ace",n=function(){return this}();if(n||"undefined"==typeof window||(n=window),t||"undefined"==typeof acequirejs){var i=function(e,t,n){if("string"!=typeof e)return void(i.original?i.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace()));2==arguments.length&&(n=t),i.modules[e]||(i.payloads[e]=n,i.modules[e]=null)};i.modules={},i.payloads={};var r=function(e,t,n){if("string"==typeof t){var i=a(e,t);if(void 0!=i)return n&&n(),i}else if("[object Array]"===Object.prototype.toString.call(t)){for(var r=[],s=0,l=t.length;s<l;++s){var c=a(e,t[s]);if(void 0==c&&o.original)return;r.push(c)}return n&&n.apply(null,r)||!0}},o=function(e,t){var n=r("",e,t);return void 0==n&&o.original?o.original.apply(this,arguments):n},s=function(e,t){if(t.indexOf("!")!==-1){var n=t.split("!");return s(e,n[0])+"!"+s(e,n[1])}if("."==t.charAt(0)){var i=e.split("/").slice(0,-1).join("/");for(t=i+"/"+t;t.indexOf(".")!==-1&&r!=t;){var r=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},a=function(e,t){t=s(e,t);var n=i.modules[t];if(!n){if("function"==typeof(n=i.payloads[t])){var o={},a={id:t,uri:"",exports:o,packaged:!0};o=n(function(e,n){return r(t,e,n)},o,a)||a.exports,i.modules[t]=o,delete i.payloads[t]}n=i.modules[t]=o||n}return n};e(t)}}(),ace.define("ace/lib/regexp",["require","exports","module"],function(e,t,n){"use strict";function i(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function r(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(var i=n||0;i<e.length;i++)if(e[i]===t)return i;return-1}var o={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},s=void 0===o.exec.call(/()??/,"")[1],a=function(){var e=/^/g;return o.test.call(e,""),!e.lastIndex}();a&&s||(RegExp.prototype.exec=function(e){var t,n,l=o.exec.apply(this,arguments);if("string"==typeof e&&l){if(!s&&l.length>1&&r(l,"")>-1&&(n=RegExp(this.source,o.replace.call(i(this),"g","")),o.replace.call(e.slice(l.index),n,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(l[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var c=1;c<l.length;c++)(t=this._xregexp.captureNames[c-1])&&(l[t]=l[c]);!a&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},a||(RegExp.prototype.test=function(e){var t=o.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function i(){}function r(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(e){}}function o(e){return e=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=f.call(arguments,1),r=function(){if(this instanceof r){var i=t.apply(this,n.concat(f.call(arguments)));return Object(i)===i?i:this}return t.apply(e,n.concat(f.call(arguments)))};return t.prototype&&(i.prototype=t.prototype,r.prototype=new i,i.prototype=null),r});var s,a,l,c,u,d=Function.prototype.call,h=Array.prototype,p=Object.prototype,f=h.slice,g=d.bind(p.toString),m=d.bind(p.hasOwnProperty);if((u=m(p,"__defineGetter__"))&&(s=d.bind(p.__defineGetter__),a=d.bind(p.__defineSetter__),l=d.bind(p.__lookupGetter__),c=d.bind(p.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,n=[];if(n.splice.apply(n,e(20)),n.splice.apply(n,e(26)),t=n.length,n.splice(5,0,"XXX"),n.length,t+1==n.length)return!0}()){var b=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?b.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(f.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):void 0==e?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var i=this.slice(e,e+t),r=f.call(arguments,2),o=r.length;if(e===n)o&&this.push.apply(this,r);else{var s=Math.min(t,n-e),a=e+s,l=a+o-s,c=n-a,u=n-s;if(l<a)for(var d=0;d<c;++d)this[l+d]=this[a+d];else if(l>a)for(d=c;d--;)this[l+d]=this[a+d];if(o&&e===u)this.length=u,this.push.apply(this,r);else for(this.length=u+o,d=0;d<o;++d)this[e+d]=r[d]}return i};Array.isArray||(Array.isArray=function(e){return"[object Array]"==g(e)});var v=Object("a"),x="a"!=v[0]||!(0 in v);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=D(this),n=x&&"[object String]"==g(this)?this.split(""):t,i=arguments[1],r=-1,o=n.length>>>0;if("[object Function]"!=g(e))throw new TypeError;for(;++r<o;)r in n&&e.call(i,n[r],r,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=D(this),n=x&&"[object String]"==g(this)?this.split(""):t,i=n.length>>>0,r=Array(i),o=arguments[1];if("[object Function]"!=g(e))throw new TypeError(e+" is not a function");for(var s=0;s<i;s++)s in n&&(r[s]=e.call(o,n[s],s,t));return r}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,n=D(this),i=x&&"[object String]"==g(this)?this.split(""):n,r=i.length>>>0,o=[],s=arguments[1];if("[object Function]"!=g(e))throw new TypeError(e+" is not a function");for(var a=0;a<r;a++)a in i&&(t=i[a],e.call(s,t,a,n)&&o.push(t));return o}),Array.prototype.every||(Array.prototype.every=function(e){var t=D(this),n=x&&"[object String]"==g(this)?this.split(""):t,i=n.length>>>0,r=arguments[1];if("[object Function]"!=g(e))throw new TypeError(e+" is not a function");for(var o=0;o<i;o++)if(o in n&&!e.call(r,n[o],o,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=D(this),n=x&&"[object String]"==g(this)?this.split(""):t,i=n.length>>>0,r=arguments[1];if("[object Function]"!=g(e))throw new TypeError(e+" is not a function");for(var o=0;o<i;o++)if(o in n&&e.call(r,n[o],o,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=D(this),n=x&&"[object String]"==g(this)?this.split(""):t,i=n.length>>>0;if("[object Function]"!=g(e))throw new TypeError(e+" is not a function");if(!i&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,o=0;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in n&&(r=e.call(void 0,r,n[o],o,t));return r}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=D(this),n=x&&"[object String]"==g(this)?this.split(""):t,i=n.length>>>0;if("[object Function]"!=g(e))throw new TypeError(e+" is not a function");if(!i&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var r,o=i-1;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(r=e.call(void 0,r,n[o],o,t))}while(o--);return r}),Array.prototype.indexOf&&[0,1].indexOf(1,2)==-1||(Array.prototype.indexOf=function(e){var t=x&&"[object String]"==g(this)?this.split(""):D(this),n=t.length>>>0;if(!n)return-1;var i=0;for(arguments.length>1&&(i=o(arguments[1])),i=i>=0?i:Math.max(0,n+i);i<n;i++)if(i in t&&t[i]===e)return i;return-1}),Array.prototype.lastIndexOf&&[0,1].lastIndexOf(0,-3)==-1||(Array.prototype.lastIndexOf=function(e){var t=x&&"[object String]"==g(this)?this.split(""):D(this),n=t.length>>>0;if(!n)return-1;var i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i=i>=0?i:n-Math.abs(i);i>=0;i--)if(i in t&&e===t[i])return i;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:p)}),!Object.getOwnPropertyDescriptor){Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(m(e,t)){var n,i,r;if(n={enumerable:!0,configurable:!0},u){var o=e.__proto__;e.__proto__=p;var i=l(e,t),r=c(e,t);if(e.__proto__=o,i||r)return i&&(n.get=i),r&&(n.set=r),n}return n.value=e[t],n}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var w;w=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(null===e)n=w();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var i=function(){};i.prototype=e,n=new i,n.__proto__=e}return void 0!==t&&Object.defineProperties(n,t),n}}if(Object.defineProperty){var y=r({}),k="undefined"==typeof document||r(document.createElement("div"));if(!y||!k)var A=Object.defineProperty}if(!Object.defineProperty||A){Object.defineProperty=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Property description must be an object: "+n);if(A)try{return A.call(Object,e,t,n)}catch(e){}if(m(n,"value"))if(u&&(l(e,t)||c(e,t))){var i=e.__proto__;e.__proto__=p,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!u)throw new TypeError("getters & setters can not be defined on this javascript engine");m(n,"get")&&s(e,t,n.get),m(n,"set")&&a(e,t,n.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)m(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(e){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";m(e,t);)t+="?";e[t]=!0;var n=m(e,t);return delete e[t],n}),!Object.keys){var _=!0,E=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],C=E.length;for(var F in{toString:null})_=!1;Object.keys=function e(t){if("object"!=typeof t&&"function"!=typeof t||null===t)throw new TypeError("Object.keys called on a non-object");var e=[];for(var n in t)m(t,n)&&e.push(n);if(_)for(var i=0,r=C;i<r;i++){var o=E[i];m(t,o)&&e.push(o)}return e}}Date.now||(Date.now=function(){return(new Date).getTime()});var S="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||S.trim()){S="["+S+"]";var L=new RegExp("^"+S+S+"*"),B=new RegExp(S+S+"*$");String.prototype.trim=function(){return String(this).replace(L,"").replace(B,"")}}var D=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t,n){"use strict";if(t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return(e.className+"").split(/\s+/g).indexOf(t)!==-1},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){for(var n=e.className.split(/\s+/g);;){var i=n.indexOf(t);if(i==-1)break;n.splice(i,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){for(var n=e.className.split(/\s+/g),i=!0;;){var r=n.indexOf(t);if(r==-1)break;i=!1,n.splice(r,1)}return i&&n.push(t),e.className=n.join(" "),i},t.setCssClass=function(e,n,i){i?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n,i=0;if(t=t||document,t.createStyleSheet&&(n=t.styleSheets)){for(;i<n.length;)if(n[i++].owningElement.id===e)return!0}else if(n=t.getElementsByTagName("style"))for(;i<n.length;)if(n[i++].id===e)return!0;return!1},t.importCssString=function(e,n,i){if(i=i||document,n&&t.hasCssString(n,i))return null;var r;n&&(e+="\n/*# sourceURL=ace/css/"+n+" */"),i.createStyleSheet?(r=i.createStyleSheet(),r.cssText=e,n&&(r.owningElement.id=n)):(r=t.createElement("style"),r.appendChild(i.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(i).appendChild(r))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var i=t.createElement("link");i.rel="stylesheet",i.href=e,t.getDocumentHead(n).appendChild(i)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var i=t.createElement("ace_outer"),r=i.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",i.appendChild(n);var o=e.documentElement;o.appendChild(i);var s=n.offsetWidth;r.overflow="scroll";var a=n.offsetWidth;return s==a&&(a=i.clientWidth),o.removeChild(i),s-a},"undefined"==typeof document)return void(t.importCssString=function(){});void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t,n){"use strict";e("./fixoldbrowsers");var i=e("./oop"),r=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n.return,n.escape=n.esc,n.del=n.delete,n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input-",n}();i.mixin(t,r),t.keyCodeToString=function(e){var t=r[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t,n){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),r=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((r.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((r.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((r.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(r.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(r.split(" Chrome/")[1])||void 0,t.isAIR=r.indexOf("AdobeAIR")>=0,t.isIPad=r.indexOf("iPad")>=0,t.isTouchPad=r.indexOf("TouchPad")>=0,t.isChromeOS=r.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";function i(e,t,n){var i=c(t);if(!s.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(i|=8),a.altGr){if(3==(3&i))return;a.altGr=0}if(18===n||17===n){var r="location"in t?t.location:t.keyLocation;if(17===n&&1===r)1==a[n]&&(l=t.timeStamp);else if(18===n&&3===i&&2===r){var u=t.timeStamp-l;u<50&&(a.altGr=!0)}}}if(n in o.MODIFIER_KEYS&&(n=-1),8&i&&n>=91&&n<=93&&(n=-1),!i&&13===n){var r="location"in t?t.location:t.keyLocation;if(3===r&&(e(t,i,-n),t.defaultPrevented))return}if(s.isChromeOS&&8&i){if(e(t,i,n),t.defaultPrevented)return;i&=-9}return!!(i||n in o.FUNCTION_KEYS||n in o.PRINTABLE_KEYS)&&e(t,i,n)}function r(){a=Object.create(null)}var o=e("./keys"),s=e("./useragent"),a=null,l=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var i=function(){n.call(e,window.event)};n._wrapper=i,e.attachEvent("on"+t,i)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,i){function r(e){n&&n(e),i&&i(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",r,!0),t.removeListener(document,"dragstart",r,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",r,!0),t.addListener(document,"dragstart",r,!0),r},t.addTouchMoveListener=function(e,n){if("ontouchmove"in e){var i,r;t.addListener(e,"touchstart",function(e){var t=e.changedTouches[0];i=t.clientX,r=t.clientY}),t.addListener(e,"touchmove",function(e){var t=1,o=e.changedTouches[0];e.wheelX=-(o.clientX-i)/t,e.wheelY=-(o.clientY-r)/t,i=o.clientX,r=o.clientY,n(e)})}},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){var t=8;void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),