app模板、应用模板、组件模板、widget模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
488 KiB

4 years ago
  1. (window["webpackJsonp_TIS_PLATFORM"]=window["webpackJsonp_TIS_PLATFORM"]||[]).push([["chunk-vendors"],{"00ee":function(A,e,t){var r=t("b622"),n=r("toStringTag"),o={};o[n]="z",A.exports="[object z]"===String(o)},"00fd":function(A,e,t){var r=t("9e69"),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,a=r?r.toStringTag:void 0;function s(A){var e=o.call(A,a),t=A[a];try{A[a]=void 0;var r=!0}catch(s){}var n=i.call(A);return r&&(e?A[a]=t:delete A[a]),n}A.exports=s},"0366":function(A,e,t){var r=t("1c0b");A.exports=function(A,e,t){if(r(A),void 0===e)return A;switch(t){case 0:return function(){return A.call(e)};case 1:return function(t){return A.call(e,t)};case 2:return function(t,r){return A.call(e,t,r)};case 3:return function(t,r,n){return A.call(e,t,r,n)}}return function(){return A.apply(e,arguments)}}},"03dd":function(A,e,t){var r=t("eac5"),n=t("57a5"),o=Object.prototype,i=o.hasOwnProperty;function a(A){if(!r(A))return n(A);var e=[];for(var t in Object(A))i.call(A,t)&&"constructor"!=t&&e.push(t);return e}A.exports=a},"057f":function(A,e,t){var r=t("fc6a"),n=t("241c").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(A){try{return n(A)}catch(e){return i.slice()}};A.exports.f=function(A){return i&&"[object Window]"==o.call(A)?a(A):n(r(A))}},"0621":function(A,e,t){var r=t("9e69"),n=t("d370"),o=t("6747"),i=r?r.isConcatSpreadable:void 0;function a(A){return o(A)||n(A)||!!(i&&A&&A[i])}A.exports=a},"0644":function(A,e,t){var r=t("3818"),n=1,o=4;function i(A){return r(A,n|o)}A.exports=i},"06c5":function(A,e,t){"use strict";t.d(e,"a",(function(){return n}));t("a630"),t("fb6a"),t("b0c0"),t("d3b7"),t("25f0"),t("3ca3");var r=t("6b75");function n(A,e){if(A){if("string"===typeof A)return Object(r["a"])(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);return"Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t?Array.from(A):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Object(r["a"])(A,e):void 0}}},"06cf":function(A,e,t){var r=t("83ab"),n=t("d1e7"),o=t("5c6c"),i=t("fc6a"),a=t("c04e"),s=t("5135"),c=t("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(A,e){if(A=i(A),e=a(e,!0),c)try{return u(A,e)}catch(t){}if(s(A,e))return o(!n.f.call(A,e),A[e])}},"07c7":function(A,e){function t(){return!1}A.exports=t},"087d":function(A,e){function t(A,e){var t=-1,r=e.length,n=A.length;while(++t<r)A[n+t]=e[t];return A}A.exports=t},"0a06":function(A,e,t){"use strict";var r=t("c532"),n=t("30b5"),o=t("f6b4"),i=t("5270"),a=t("4a7b");function s(A){this.defaults=A,this.interceptors={request:new o,response:new o}}s.prototype.request=function(A){"string"===typeof A?(A=arguments[1]||{},A.url=arguments[0]):A=A||{},A=a(this.defaults,A),A.method?A.method=A.method.toLowerCase():this.defaults.method?A.method=this.defaults.method.toLowerCase():A.method="get";var e=[i,void 0],t=Promise.resolve(A);this.interceptors.request.forEach((function(A){e.unshift(A.fulfilled,A.rejected)})),this.interceptors.response.forEach((function(A){e.push(A.fulfilled,A.rejected)}));while(e.length)t=t.then(e.shift(),e.shift());return t},s.prototype.getUri=function(A){return A=a(this.defaults,A),n(A.url,A.params,A.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(A){s.prototype[A]=function(e,t){return this.request(a(t||{},{method:A,url:e,data:(t||{}).data}))}})),r.forEach(["post","put","patch"],(function(A){s.prototype[A]=function(e,t,r){return this.request(a(r||{},{method:A,url:e,data:t}))}})),A.exports=s},"0b07":function(A,e,t){var r=t("34ac"),n=t("3698");function o(A,e){var t=n(A,e);return r(t)?t:void 0}A.exports=o},"0cb2":function(A,e,t){var r=t("7b0b"),n=Math.floor,o="".replace,i=/\$([$&'`]|\d\d?|<[^>]*>)/g,a=/\$([$&'`]|\d\d?)/g;A.exports=function(A,e,t,s,c,u){var l=t+A.length,f=s.length,d=a;return void 0!==c&&(c=r(c),d=i),o.call(u,d,(function(r,o){var i;switch(o.charAt(0)){case"$":return"$";case"&":return A;case"`":return e.slice(0,t);case"'":return e.slice(l);case"<":i=c[o.slice(1,-1)];break;default:var a=+o;if(0===a)ret
  2. /*!
  3. * vuex v3.6.2
  4. * (c) 2021 Evan You
  5. * @license MIT
  6. */
  7. function t(A){var e=Number(A.version.split(".")[0]);if(e>=2)A.mixin({beforeCreate:r});else{var t=A.prototype._init;A.prototype._init=function(A){void 0===A&&(A={}),A.init=A.init?[r].concat(A.init):r,t.call(this,A)}}function r(){var A=this.$options;A.store?this.$store="function"===typeof A.store?A.store():A.store:A.parent&&A.parent.$store&&(this.$store=A.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof A?A:{},n=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(A){n&&(A._devtoolHook=n,n.emit("vuex:init",A),n.on("vuex:travel-to-state",(function(e){A.replaceState(e)})),A.subscribe((function(A,e){n.emit("vuex:mutation",A,e)}),{prepend:!0}),A.subscribeAction((function(A,e){n.emit("vuex:action",A,e)}),{prepend:!0}))}function i(A,e){return A.filter(e)[0]}function a(A,e){if(void 0===e&&(e=[]),null===A||"object"!==typeof A)return A;var t=i(e,(function(e){return e.original===A}));if(t)return t.copy;var r=Array.isArray(A)?[]:{};return e.push({original:A,copy:r}),Object.keys(A).forEach((function(t){r[t]=a(A[t],e)})),r}function s(A,e){Object.keys(A).forEach((function(t){return e(A[t],t)}))}function c(A){return null!==A&&"object"===typeof A}function u(A){return A&&"function"===typeof A.then}function l(A,e){return function(){return A(e)}}var f=function(A,e){this.runtime=e,this._children=Object.create(null),this._rawModule=A;var t=A.state;this.state=("function"===typeof t?t():t)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(A,e){this._children[A]=e},f.prototype.removeChild=function(A){delete this._children[A]},f.prototype.getChild=function(A){return this._children[A]},f.prototype.hasChild=function(A){return A in this._children},f.prototype.update=function(A){this._rawModule.namespaced=A.namespaced,A.actions&&(this._rawModule.actions=A.actions),A.mutations&&(this._rawModule.mutations=A.mutations),A.getters&&(this._rawModule.getters=A.getters)},f.prototype.forEachChild=function(A){s(this._children,A)},f.prototype.forEachGetter=function(A){this._rawModule.getters&&s(this._rawModule.getters,A)},f.prototype.forEachAction=function(A){this._rawModule.actions&&s(this._rawModule.actions,A)},f.prototype.forEachMutation=function(A){this._rawModule.mutations&&s(this._rawModule.mutations,A)},Object.defineProperties(f.prototype,d);var p=function(A){this.register([],A,!1)};function h(A,e,t){if(e.update(t),t.modules)for(var r in t.modules){if(!e.getChild(r))return void 0;h(A.concat(r),e.getChild(r),t.modules[r])}}p.prototype.get=function(A){return A.reduce((function(A,e){return A.getChild(e)}),this.root)},p.prototype.getNamespace=function(A){var e=this.root;return A.reduce((function(A,t){return e=e.getChild(t),A+(e.namespaced?t+"/":"")}),"")},p.prototype.update=function(A){h([],this.root,A)},p.prototype.register=function(A,e,t){var r=this;void 0===t&&(t=!0);var n=new f(e,t);if(0===A.length)this.root=n;else{var o=this.get(A.slice(0,-1));o.addChild(A[A.length-1],n)}e.modules&&s(e.modules,(function(e,n){r.register(A.concat(n),e,t)}))},p.prototype.unregister=function(A){var e=this.get(A.slice(0,-1)),t=A[A.length-1],r=e.getChild(t);r&&r.runtime&&e.removeChild(t)},p.prototype.isRegistered=function(A){var e=this.get(A.slice(0,-1)),t=A[A.length-1];return!!e&&e.hasChild(t)};var B;var w=function(A){var e=this;void 0===A&&(A={}),!B&&"undefined"!==typeof window&&window.Vue&&T(window.Vue);var t=A.plugins;void 0===t&&(t=[]);var r=A.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(A),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new B,this._makeLocalGettersCache=Object.create(null);var n=this,i=this,a=i.dispatch,s=i.commit;this.dispatch=function(A,e){return a.call(n,A,e)},this.commit=function(A,e,t){return s.call(n,A,e,t)},this.strict=r;var c=this._modules.root.state;Q(this,c,[],this._modules.root),y(this,c),t.forEach((function(A){return A(e)}));var u=void 0!==A.devtools?A.
  8. /*!
  9. * vue-router v3.5.2
  10. * (c) 2021 Evan You
  11. * @license MIT
  12. */function r(A,e){0}function n(A,e){for(var t in e)A[t]=e[t];return A}var o=/[!'()*]/g,i=function(A){return"%"+A.charCodeAt(0).toString(16)},a=/%2C/g,s=function(A){return encodeURIComponent(A).replace(o,i).replace(a,",")};function c(A){try{return decodeURIComponent(A)}catch(e){0}return A}function u(A,e,t){void 0===e&&(e={});var r,n=t||f;try{r=n(A||"")}catch(a){r={}}for(var o in e){var i=e[o];r[o]=Array.isArray(i)?i.map(l):l(i)}return r}var l=function(A){return null==A||"object"===typeof A?A:String(A)};function f(A){var e={};return A=A.trim().replace(/^(\?|#|&)/,""),A?(A.split("&").forEach((function(A){var t=A.replace(/\+/g," ").split("="),r=c(t.shift()),n=t.length>0?c(t.join("=")):null;void 0===e[r]?e[r]=n:Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]})),e):e}function d(A){var e=A?Object.keys(A).map((function(e){var t=A[e];if(void 0===t)return"";if(null===t)return s(e);if(Array.isArray(t)){var r=[];return t.forEach((function(A){void 0!==A&&(null===A?r.push(s(e)):r.push(s(e)+"="+s(A)))})),r.join("&")}return s(e)+"="+s(t)})).filter((function(A){return A.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function h(A,e,t,r){var n=r&&r.options.stringifyQuery,o=e.query||{};try{o=B(o)}catch(a){}var i={name:e.name||A&&A.name,meta:A&&A.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:v(e,n),matched:A?g(A):[]};return t&&(i.redirectedFrom=v(t,n)),Object.freeze(i)}function B(A){if(Array.isArray(A))return A.map(B);if(A&&"object"===typeof A){var e={};for(var t in A)e[t]=B(A[t]);return e}return A}var w=h(null,{path:"/"});function g(A){var e=[];while(A)e.unshift(A),A=A.parent;return e}function v(A,e){var t=A.path,r=A.query;void 0===r&&(r={});var n=A.hash;void 0===n&&(n="");var o=e||d;return(t||"/")+o(r)+n}function m(A,e,t){return e===w?A===e:!!e&&(A.path&&e.path?A.path.replace(p,"")===e.path.replace(p,"")&&(t||A.hash===e.hash&&y(A.query,e.query)):!(!A.name||!e.name)&&(A.name===e.name&&(t||A.hash===e.hash&&y(A.query,e.query)&&y(A.params,e.params))))}function y(A,e){if(void 0===A&&(A={}),void 0===e&&(e={}),!A||!e)return A===e;var t=Object.keys(A).sort(),r=Object.keys(e).sort();return t.length===r.length&&t.every((function(t,n){var o=A[t],i=r[n];if(i!==t)return!1;var a=e[t];return null==o||null==a?o===a:"object"===typeof o&&"object"===typeof a?y(o,a):String(o)===String(a)}))}function Q(A,e){return 0===A.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||A.hash===e.hash)&&E(A.query,e.query)}function E(A,e){for(var t in e)if(!(t in A))return!1;return!0}function b(A){for(var e=0;e<A.matched.length;e++){var t=A.matched[e];for(var r in t.instances){var n=t.instances[r],o=t.enteredCbs[r];if(n&&o){delete t.enteredCbs[r];for(var i=0;i<o.length;i++)n._isBeingDestroyed||o[i](n)}}}}var U={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(A,e){var t=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;var a=o.$createElement,s=t.name,c=o.$route,u=o._routerViewCache||(o._routerViewCache={}),l=0,f=!1;while(o&&o._routerRoot!==o){var d=o.$vnode?o.$vnode.data:{};d.routerView&&l++,d.keepAlive&&o._directInactive&&o._inactive&&(f=!0),o=o.$parent}if(i.routerViewDepth=l,f){var p=u[s],h=p&&p.component;return h?(p.configProps&&C(h,i,p.route,p.configProps),a(h,i,r)):a()}var B=c.matched[l],w=B&&B.components[s];if(!B||!w)return u[s]=null,a();u[s]={component:w},i.registerRouteInstance=function(A,e){var t=B.instances[s];(e&&t!==A||!e&&t===A)&&(B.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(A,e){B.instances[s]=e.componentInstance},i.hook.init=function(A){A.data.keepAlive&&A.componentInstance&&A.componentInstance!==B.instances[s]&&(B.instances[s]=A.componentInstance),b(c)};var g=B.props&&B.props[s];return g&&(n(u[s],{route:c,configProps:g}),C(w,i,c,g)),a(w,i,r)}};function C(A,e,t,r){var o=e.props=F(t,r);if(o){o=e.props=n({},o);var i=e.attrs=e.attrs||{};for(var a in o)A.props&&a in A.props||(i[a]=o[a],delete o[a])}}function F(A,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(A);case"boolean":return e?A.params:void 0;defau
  13. /*!
  14. * hotkeys-js v3.8.5
  15. * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
  16. *
  17. * Copyright (c) 2021 kenny wong <wowohoo@qq.com>
  18. * http://jaywcjlove.github.io/hotkeys
  19. *
  20. * Licensed under the MIT license.
  21. */var r="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function n(A,e,t){A.addEventListener?A.addEventListener(e,t,!1):A.attachEvent&&A.attachEvent("on".concat(e),(function(){t(window.event)}))}function o(A,e){for(var t=e.slice(0,e.length-1),r=0;r<t.length;r++)t[r]=A[t[r].toLowerCase()];return t}function i(A){"string"!==typeof A&&(A=""),A=A.replace(/\s/g,"");for(var e=A.split(","),t=e.lastIndexOf("");t>=0;)e[t-1]+=",",e.splice(t,1),t=e.lastIndexOf("");return e}function a(A,e){for(var t=A.length>=e.length?A:e,r=A.length>=e.length?e:A,n=!0,o=0;o<t.length;o++)-1===r.indexOf(t[o])&&(n=!1);return n}for(var s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},c={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},u={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},l={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)s["f".concat(d)]=111+d;var p=[],h="all",B=[],w=function(A){return s[A.toLowerCase()]||c[A.toLowerCase()]||A.toUpperCase().charCodeAt(0)};function g(A){h=A||"all"}function v(){return h||"all"}function m(){return p.slice(0)}function y(A){var e=A.target||A.srcElement,t=e.tagName,r=!0;return!e.isContentEditable&&("INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t||e.readOnly)||(r=!1),r}function Q(A){return"string"===typeof A&&(A=w(A)),-1!==p.indexOf(A)}function E(A,e){var t,r;for(var n in A||(A=v()),f)if(Object.prototype.hasOwnProperty.call(f,n))for(t=f[n],r=0;r<t.length;)t[r].scope===A?t.splice(r,1):r++;v()===A&&g(e||"all")}function b(A){var e=A.keyCode||A.which||A.charCode,t=p.indexOf(e);if(t>=0&&p.splice(t,1),A.key&&"meta"===A.key.toLowerCase()&&p.splice(0,p.length),93!==e&&224!==e||(e=91),e in l)for(var r in l[e]=!1,c)c[r]===e&&(S[r]=!1)}function U(A){if(A){if(Array.isArray(A))A.forEach((function(A){A.key&&C(A)}));else if("object"===typeof A)A.key&&C(A);else if("string"===typeof A){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];var n=t[0],o=t[1];"function"===typeof n&&(o=n,n=""),C({key:A,scope:n,method:o,splitKey:"+"})}}else Object.keys(f).forEach((function(A){return delete f[A]}))}var C=function(A){var e=A.key,t=A.scope,r=A.method,n=A.splitKey,s=void 0===n?"+":n,u=i(e);u.forEach((function(A){var e=A.split(s),n=e.length,i=e[n-1],u="*"===i?"*":w(i);if(f[u]){t||(t=v());var l=n>1?o(c,e):[];f[u]=f[u].map((function(A){var e=!r||A.method===r;return e&&A.scope===t&&a(A.mods,l)?{}:A}))}}))};function F(A,e,t){var r;if(e.scope===t||"all"===e.scope){for(var n in r=e.mods.length>0,l)Object.prototype.hasOwnProperty.call(l,n)&&(!l[n]&&e.mods.indexOf(+n)>-1||l[n]&&-1===e.mods.indexOf(+n))&&(r=!1);(0!==e.mods.length||l[16]||l[18]||l[17]||l[91])&&!r&&"*"!==e.shortcut||!1===e.method(A,e)&&(A.preventDefault?A.preventDefault():A.returnValue=!1,A.stopPropagation&&A.stopPropagation(),A.cancelBubble&&(A.cancelBubble=!0))}}function H(A){var e=f["*"],t=A.keyCode||A.which||A.charCode;if(S.filter.call(this,A)){if(93!==t&&224!==t||(t=91),-1===p.indexOf(t)&&229!==t&&p.push(t),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(e){var t=u[e];A[e]&&-1===p.indexOf(t)?p.push(t):!A[e]&&p.indexOf(t)>-1?p.splice(p.indexOf(t),1):"metaKey"===e&&A[e]&&3===p.length&&(A.ctrlKey||A.shiftKey||A.altKey||(p=p.slice(p.indexOf(t))))})),t in l){for(var r in l[t]=!0,c)c[r]===t&&(S[r]=!0);if(!e)return}for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(l[n]=A[u[n]]);A.getModifierState&&(!A.altKey||A.ctrlKey)&&A.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),l[17]=!0,l[18]=!0);var o=v();if(e)for(var i=0;i<e.length;i++)e[i
  22. /*!
  23. *
  24. * js-audio-recorder - js audio recorder plugin
  25. *
  26. * @version v1.0.7
  27. * @homepage https://github.com/2fps/recorder
  28. * @author 2fps <echoweb@126.com> (https://www.zhuyuntao.cn)
  29. * @license MIT
  30. *
  31. */
  32. !function(e,t){A.exports=t()}(0,(function(){return function(A){var e={};function t(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return A[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=A,t.c=e,t.d=function(A,e,r){t.o(A,e)||Object.defineProperty(A,e,{enumerable:!0,get:r})},t.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},t.t=function(A,e){if(1&e&&(A=t(A)),8&e)return A;if(4&e&&"object"==typeof A&&A&&A.__esModule)return A;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:A}),2&e&&"string"!=typeof A)for(var n in A)t.d(r,n,function(e){return A[e]}.bind(null,n));return r},t.n=function(A){var e=A&&A.__esModule?function(){return A.default}:function(){return A};return t.d(e,"a",e),e},t.o=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},t.p="",t(t.s=1)}([function(A,e,t){"use strict";function r(A,e,t){for(var r=0;r<t.length;r++)A.setUint8(e+r,t.charCodeAt(r))}Object.defineProperty(e,"__esModule",{value:!0}),e.compress=function(A,e,t){for(var r=e/t,n=Math.max(r,1),o=A.left,i=A.right,a=Math.floor((o.length+i.length)/r),s=new Float32Array(a),c=0,u=0;c<a;){var l=Math.floor(u);s[c]=o[l],c++,i.length&&(s[c]=i[l],c++),u+=n}return s},e.encodePCM=function(A,e,t){void 0===t&&(t=!0);var r=0,n=A.length*(e/8),o=new ArrayBuffer(n),i=new DataView(o);if(8===e)for(var a=0;a<A.length;a++,r++){var s=(c=Math.max(-1,Math.min(1,A[a])))<0?128*c:127*c;s=+s+128,i.setInt8(r,s)}else for(a=0;a<A.length;a++,r+=2){var c=Math.max(-1,Math.min(1,A[a]));i.setInt16(r,c<0?32768*c:32767*c,t)}return i},e.encodeWAV=function(A,e,t,n,o,i){void 0===i&&(i=!0);var a=t>e?e:t,s=o,c=new ArrayBuffer(44+A.byteLength),u=new DataView(c),l=n,f=0;r(u,f,"RIFF"),f+=4,u.setUint32(f,36+A.byteLength,i),r(u,f+=4,"WAVE"),r(u,f+=4,"fmt "),f+=4,u.setUint32(f,16,i),f+=4,u.setUint16(f,1,i),f+=2,u.setUint16(f,l,i),f+=2,u.setUint32(f,a,i),f+=4,u.setUint32(f,l*a*(s/8),i),f+=4,u.setUint16(f,l*(s/8),i),f+=2,u.setUint16(f,s,i),r(u,f+=2,"data"),f+=4,u.setUint32(f,A.byteLength,i),f+=4;for(var d=0;d<A.byteLength;)u.setUint8(f,A.getUint8(d)),f++,d++;return u}},function(A,e,t){"use strict";var r,n=this&&this.__extends||(r=function(A,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t])})(A,e)},function(A,e){function t(){this.constructor=A}r(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)});Object.defineProperty(e,"__esModule",{value:!0});var o=t(2),i=t(0),a=t(3),s=function(A){function e(e){void 0===e&&(e={});var t=A.call(this,e)||this;return t.isrecording=!1,t.ispause=!1,t.isplaying=!1,t}return n(e,A),e.prototype.setOption=function(A){void 0===A&&(A={}),this.setNewOption(A)},e.prototype.start=function(){return this.isrecording?Promise.reject():(this.isrecording=!0,this.startRecord())},e.prototype.pause=function(){this.isrecording&&!this.ispause&&(this.ispause=!0,this.pauseRecord())},e.prototype.resume=function(){this.isrecording&&this.ispause&&(this.ispause=!1,this.resumeRecord())},e.prototype.stop=function(){this.isrecording&&(this.isrecording=!1,this.ispause=!1,this.stopRecord())},e.prototype.play=function(){this.stop(),this.isplaying=!0,this.onplay&&this.onplay(),a.default.addPlayEnd(this.onplayend);var A=this.getWAV();A.byteLength>44&&a.default.play(A.buffer)},e.prototype.getPlayTime=function(){return a.default.getPlayTime()},e.prototype.pausePlay=function(){!this.isrecording&&this.isplaying&&(this.isplaying=!1,this.onpauseplay&&this.onpauseplay(),a.default.pausePlay())},e.prototype.resumePlay=function(){this.isrecording||this.isplaying||(this.isplaying=!0,this.onresumeplay&&this.onresumeplay(),a.default.resumePlay())},e.prototype.stopPlay=function(){this.isrecording||(this.isplaying=!1,this.onstopplay&&this.onstopplay(),a.default.stopPlay())},e.prototype.destroy=function(){return a.default.destroyPlay(),this.destroyRecord()},e.prototype.getRecordAnalyseData=fu
  33. /*!
  34. * vuex v3.6.2
  35. * (c) 2021 Evan You
  36. * @license MIT
  37. */
  38. (function(e,t){A.exports=t()})(0,(function(){"use strict";function A(A,e){return A.filter(e)[0]}function e(t,r){if(void 0===r&&(r=[]),null===t||"object"!==typeof t)return t;var n=A(r,(function(A){return A.original===t}));if(n)return n.copy;var o=Array.isArray(t)?[]:{};return r.push({original:t,copy:o}),Object.keys(t).forEach((function(A){o[A]=e(t[A],r)})),o}function t(A){void 0===A&&(A={});var t=A.collapsed;void 0===t&&(t=!0);var i=A.filter;void 0===i&&(i=function(A,e,t){return!0});var a=A.transformer;void 0===a&&(a=function(A){return A});var s=A.mutationTransformer;void 0===s&&(s=function(A){return A});var c=A.actionFilter;void 0===c&&(c=function(A,e){return!0});var u=A.actionTransformer;void 0===u&&(u=function(A){return A});var l=A.logMutations;void 0===l&&(l=!0);var f=A.logActions;void 0===f&&(f=!0);var d=A.logger;return void 0===d&&(d=console),function(A){var p=e(A.state);"undefined"!==typeof d&&(l&&A.subscribe((function(A,c){var u=e(c);if(i(A,p,u)){var l=o(),f=s(A),h="mutation "+A.type+l;r(d,h,t),d.log("%c prev state","color: #9E9E9E; font-weight: bold",a(p)),d.log("%c mutation","color: #03A9F4; font-weight: bold",f),d.log("%c next state","color: #4CAF50; font-weight: bold",a(u)),n(d)}p=u})),f&&A.subscribeAction((function(A,e){if(c(A,e)){var i=o(),a=u(A),s="action "+A.type+i;r(d,s,t),d.log("%c action","color: #03A9F4; font-weight: bold",a),n(d)}})))}}function r(A,e,t){var r=t?A.groupCollapsed:A.group;try{r.call(A,e)}catch(n){A.log(e)}}function n(A){try{A.groupEnd()}catch(e){A.log("—— log end ——")}}function o(){var A=new Date;return" @ "+a(A.getHours(),2)+":"+a(A.getMinutes(),2)+":"+a(A.getSeconds(),2)+"."+a(A.getMilliseconds(),3)}function i(A,e){return new Array(e+1).join(A)}function a(A,e){return i("0",e-A.toString().length)+A}return t}))},b0c0:function(A,e,t){var r=t("83ab"),n=t("9bf2").f,o=Function.prototype,i=o.toString,a=/^\s*function ([^ (]*)/,s="name";r&&!(s in o)&&n(o,s,{configurable:!0,get:function(){try{return i.call(this).match(a)[1]}catch(A){return""}}})},b20a:function(A,e,t){var r=t("6ac0"),n=t("4caa"),o=t("ea72"),i="['’]",a=RegExp(i,"g");function s(A){return function(e){return r(o(n(e).replace(a,"")),A,"")}}A.exports=s},b218:function(A,e){var t=9007199254740991;function r(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=t}A.exports=r},b313:function(A,e,t){"use strict";var r=String.prototype.replace,n=/%20/g;A.exports={default:"RFC3986",formatters:{RFC1738:function(A){return r.call(A,n,"+")},RFC3986:function(A){return A}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},b4c0:function(A,e,t){var r=t("cb5a");function n(A){var e=this.__data__,t=r(e,A);return t<0?void 0:e[t][1]}A.exports=n},b50d:function(A,e,t){"use strict";var r=t("c532"),n=t("467f"),o=t("7aac"),i=t("30b5"),a=t("83b9"),s=t("c345"),c=t("3934"),u=t("2d83");A.exports=function(A){return new Promise((function(e,t){var l=A.data,f=A.headers;r.isFormData(l)&&delete f["Content-Type"];var d=new XMLHttpRequest;if(A.auth){var p=A.auth.username||"",h=A.auth.password?unescape(encodeURIComponent(A.auth.password)):"";f.Authorization="Basic "+btoa(p+":"+h)}var B=a(A.baseURL,A.url);if(d.open(A.method.toUpperCase(),i(B,A.params,A.paramsSerializer),!0),d.timeout=A.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,o=A.responseType&&"text"!==A.responseType?d.response:d.responseText,i={data:o,status:d.status,statusText:d.statusText,headers:r,config:A,request:d};n(e,t,i),d=null}},d.onabort=function(){d&&(t(u("Request aborted",A,"ECONNABORTED",d)),d=null)},d.onerror=function(){t(u("Network Error",A,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+A.timeout+"ms exceeded";A.timeoutErrorMessage&&(e=A.timeoutErrorMessage),t(u(e,A,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var w=(A.withCredentials||c(B))&&A.xsrfCookieName?o.read(A.xsrfCookieName):void 0;w&&(f[A.xsrfHeaderName]=w)}if("setRequestHeader"in d&&r.forEach(f,(function(A,e){"undefined"===typeof l&&"content-type"===e.toLowerCase()?delete f[e]:d.se
  39. /**
  40. * workerpool.js
  41. * https://github.com/josdejong/workerpool
  42. *
  43. * Offload tasks to a pool of workers on node.js and in the browser.
  44. *
  45. * @version 6.1.4
  46. * @date 2021-04-05
  47. *
  48. * @license
  49. * Copyright (C) 2014-2020 Jos de Jong <wjosdejong@gmail.com>
  50. *
  51. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  52. * use this file except in compliance with the License. You may obtain a copy
  53. * of the License at
  54. *
  55. * http://www.apache.org/licenses/LICENSE-2.0
  56. *
  57. * Unless required by applicable law or agreed to in writing, software
  58. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  59. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  60. * License for the specific language governing permissions and limitations under
  61. * the License.
  62. */
  63. (function(A,e){module.exports=e()})("undefined"!==typeof self&&self,(function(){return function(){var __webpack_modules__={345:function(A,e,t){var r=t(219),n=t(751),o=t(828),i=t(833),a=new i;function s(A,e){"string"===typeof A?this.script=A||null:(this.script=null,e=A),this.workers=[],this.tasks=[],e=e||{},this.forkArgs=e.forkArgs||[],this.forkOpts=e.forkOpts||{},this.debugPortStart=e.debugPortStart||43210,this.nodeWorker=e.nodeWorker,this.workerType=e.workerType||e.nodeWorker||"auto",this.maxQueueSize=e.maxQueueSize||1/0,e&&"maxWorkers"in e?(c(e.maxWorkers),this.maxWorkers=e.maxWorkers):this.maxWorkers=Math.max((o.cpus||4)-1,1),e&&"minWorkers"in e&&("max"===e.minWorkers?this.minWorkers=this.maxWorkers:(u(e.minWorkers),this.minWorkers=e.minWorkers,this.maxWorkers=Math.max(this.minWorkers,this.maxWorkers)),this._ensureMinWorkers()),this._boundNext=this._next.bind(this),"thread"===this.workerType&&n.ensureWorkerThreads()}function c(A){if(!l(A)||!f(A)||A<1)throw new TypeError("Option maxWorkers must be an integer number >= 1")}function u(A){if(!l(A)||!f(A)||A<0)throw new TypeError("Option minWorkers must be an integer number >= 0")}function l(A){return"number"===typeof A}function f(A){return Math.round(A)==A}s.prototype.exec=function(A,e,t){if(e&&!Array.isArray(e))throw new TypeError('Array expected as argument "params"');if("string"===typeof A){var n=r.defer();if(this.tasks.length>=this.maxQueueSize)throw new Error("Max queue size of "+this.maxQueueSize+" reached");var o=this.tasks,i={method:A,params:e,resolver:n,timeout:null,options:t};o.push(i);var a=n.promise.timeout;return n.promise.timeout=function(A){return-1!==o.indexOf(i)?(i.timeout=A,n.promise):a.call(n.promise,A)},this._next(),n.promise}if("function"===typeof A)return this.exec("run",[String(A),e]);throw new TypeError('Function or string expected as argument "method"')},s.prototype.proxy=function(){if(arguments.length>0)throw new Error("No arguments expected");var A=this;return this.exec("methods").then((function(e){var t={};return e.forEach((function(e){t[e]=function(){return A.exec(e,Array.prototype.slice.call(arguments))}})),t}))},s.prototype._next=function(){if(this.tasks.length>0){var A=this._getWorker();if(A){var e=this,t=this.tasks.shift();if(t.resolver.promise.pending){var r=A.exec(t.method,t.params,t.resolver,t.options).then(e._boundNext)["catch"]((function(){if(A.terminated)return e._removeWorker(A)})).then((function(){e._next()}));"number"===typeof t.timeout&&r.timeout(t.timeout)}else e._next()}}},s.prototype._getWorker=function(){for(var A=this.workers,e=0;e<A.length;e++){var t=A[e];if(!1===t.busy())return t}return A.length<this.maxWorkers?(t=this._createWorkerHandler(),A.push(t),t):null},s.prototype._removeWorker=function(A){return a.releasePort(A.debugPort),this._removeWorkerFromList(A),this._ensureMinWorkers(),new r((function(e,t){A.terminate(!1,(function(r){r?t(r):e(A)}))}))},s.prototype._removeWorkerFromList=function(A){var e=this.workers.indexOf(A);-1!==e&&this.workers.splice(e,1)},s.prototype.terminate=function(A,e){this.tasks.forEach((function(A){A.resolver.reject(new Error("Pool terminated"))})),this.tasks.length=0;var t=function(A){this._removeWorkerFromList(A)},n=t.bind(this),o=[],i=this.workers.slice();return i.forEach((function(t){var r=t.terminateAndNotify(A,e).then(n);o.push(r)})),r.all(o)},s.prototype.stats=function(){var A=this.workers.length,e=this.workers.filter((function(A){return A.busy()})).length;return{totalWorkers:A,busyWorkers:e,idleWorkers:A-e,pendingTasks:this.tasks.length,activeTasks:e}},s.prototype._ensureMinWorkers=function(){if(this.minWorkers)for(var A=this.workers.length;A<this.minWorkers;A++)this.workers.push(this._createWorkerHandler())},s.prototype._createWorkerHandler=function(){return new n(this.script,{forkArgs:this.forkArgs,forkOpts:this.forkOpts,debugPort:a.nextAvailableStartingAt(this.debugPortStart),workerType:this.workerType})},A.exports=s},219:function(A){"use strict";function e(A,o){var i=this;if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator");if("function"!