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.

1 line
680 KiB

  1. import{l as t,_ as e,r as i,k as n,a8 as a,b as r,c as o,e as s,d as l,f as h,C as u,F as c,A as d,X as p}from"./index-7d881374.js";import{h as f}from"./moment-6961f857.js";var g={},m={};"undefined"!=typeof window||void 0!==t&&t.__DEV__;var v={},y=2311;var x=function(){return y++};var _="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0,svgSupported:!0}:function(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(i.firefox=!0,i.version=n[1]);a&&(i.ie=!0,i.version=a[1]);r&&(i.edge=!0,i.version=r[1]);o&&(i.weChat=!0);return{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11)}}(navigator.userAgent),b={},w={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},S={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},M=Object.prototype.toString,I=Array.prototype,A=I.forEach,T=I.filter,C=I.slice,L=I.map,D=I.reduce,P={};function k(t){if(null==t||"object"!=typeof t)return t;var e=t,i=M.call(t);if("[object Array]"===i){e=[];for(var n=0,a=t.length;n<a;n++)e[n]=k(t[n])}else if(S[i]){var r=t.constructor;if(t.constructor.from)e=r.from(t);else{e=new r(t.length);for(n=0,a=t.length;n<a;n++)e[n]=k(t[n])}}else if(!w[i]&&!F(t)&&!H(t))for(var o in e={},t)t.hasOwnProperty(o)&&(e[o]=k(t[o]));return e}function O(t,e,i){if(!G(e)||!G(t))return i?k(e):t;for(var n in e)if(e.hasOwnProperty(n)){var a=t[n],r=e[n];!G(r)||!G(a)||B(r)||B(a)||H(r)||H(a)||W(r)||W(a)||F(r)||F(a)?!i&&n in t||(t[n]=k(e[n])):O(a,r,i)}return t}function z(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}var E,R=function(){return P.createCanvas()};function N(t,e,i){if(t&&e)if(t.forEach&&t.forEach===A)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,a=t.length;n<a;n++)e.call(i,t[n],n,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(i,t[r],r,t)}function V(t,e){var i=C.call(arguments,2);return function(){return t.apply(e,i.concat(C.call(arguments)))}}function B(t){return"[object Array]"===M.call(t)}function G(t){var e=typeof t;return"function"===e||!!t&&"object"==e}function W(t){return!!w[M.call(t)]}function H(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}P.createCanvas=function(){return document.createElement("canvas")};function F(t){return t.__ec_primitive__}function Z(t){t&&N(t,(function(t,e){this.set(e,t)}),this)}Z.prototype={constructor:Z,get:function(t){return this["_ec_"+t]},set:function(t,e){return this["_ec_"+t]=e,e},each:function(t,e){for(var i in void 0!==e&&(t=V(t,e)),this)this.hasOwnProperty(i)&&t(this[i],i.slice(4))},removeKey:function(t){delete this["_ec_"+t]}},b.$override=function(t,e){P[t]=e},b.clone=k,b.merge=O,b.mergeAll=function(t,e){for(var i=t[0],n=1,a=t.length;n<a;n++)i=O(i,t[n],e);return i},b.extend=function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},b.defaults=z,b.createCanvas=R,b.getContext=function(){return E||(E=R().getContext("2d")),E},b.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1},b.inherits=function(t,e){var i=t.prototype;function n(){}for(var a in n.prototype=e.prototype,t.prototype=new n,i)t.prototype[a]=i[a];t.prototype.constructor=t,t.superClass=e},b.mixin=function(t,e,i){z(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,i)},b.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},b.each=N,b.map=function(t,e,i){if(t&&e){if(t.map&&t.map===L)return t.map(e,i);for(var n=[],a