gridjs-spreadsheet 23.10.3 → 23.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/xspreadsheet.js CHANGED
@@ -9,4 +9,4 @@ var n,r,a,o,s,l,h,c,u,d,f,v,g,p,m,y,b,w,q,x,k,C,S=S||{version:"4.6.0"};if(t.fabr
9
9
  */
10
10
  var n=i(30),r=i(31),a=i(32);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,i){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,i);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return h(this,e,t,i)}function h(e,t,i,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,i,n){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===i&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,i):new Uint8Array(t,i,n);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t);return e}(e,t,i,n):"string"==typeof t?function(e,t,i){"string"==typeof i&&""!==i||(i="utf8");if(!l.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|v(t,i),r=(e=s(e,n)).write(t,i);r!==n&&(e=e.slice(0,r));return e}(e,t,i):function(e,t){if(l.isBuffer(t)){var i=0|f(t.length);return 0===(e=s(e,i)).length||t.copy(e,0,0,i),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&a(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t){if(c(t),e=s(e,t<0?0:0|f(t)),!l.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function d(e,t){var i=t.length<0?0:0|f(t.length);e=s(e,i);for(var n=0;n<i;n+=1)e[n]=255&t[n];return e}function f(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function v(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return H(e).length;default:if(n)return j(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,i);case"utf8":case"utf-8":return T(this,t,i);case"ascii":return _(this,t,i);case"latin1":case"binary":return O(this,t,i);case"base64":return S(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function p(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function m(e,t,i,n,r){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:y(e,t,i,n,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):y(e,[t],i,n,r);throw new TypeError("val must be string, number or Buffer")}function y(e,t,i,n,r){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,i/=2}function h(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var c=-1;for(a=i;a<s;a++)if(h(e,a)===h(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else-1!==c&&(a-=a-c),c=-1}else for(i+l>s&&(i=s-l),a=i;a>=0;a--){for(var u=!0,d=0;d<l;d++)if(h(e,a+d)!==h(t,d)){u=!1;break}if(u)return a}return-1}function b(e,t,i,n){i=Number(i)||0;var r=e.length-i;n?(n=Number(n))>r&&(n=r):n=r;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[i+o]=s}return o}function w(e,t,i,n){return N(j(t,e.length-i),e,i,n)}function q(e,t,i,n){return N(function(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}(t),e,i,n)}function x(e,t,i,n){return q(e,t,i,n)}function k(e,t,i,n){return N(H(t),e,i,n)}function C(e,t,i,n){return N(function(e,t){for(var i,n,r,a=[],o=0;o<e.length&&!((t-=2)<0);++o)i=e.charCodeAt(o),n=i>>8,r=i%256,a.push(r),a.push(n);return a}(t,e.length-i),e,i,n)}function S(e,t,i){return 0===t&&i===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,i))}function T(e,t,i){i=Math.min(e.length,i);for(var n=[],r=t;r<i;){var a,o,s,l,h=e[r],c=null,u=h>239?4:h>223?3:h>191?2:1;if(r+u<=i)switch(u){case 1:h<128&&(c=h);break;case 2:128==(192&(a=e[r+1]))&&(l=(31&h)<<6|63&a)>127&&(c=l);break;case 3:a=e[r+1],o=e[r+2],128==(192&a)&&128==(192&o)&&(l=(15&h)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[r+1],o=e[r+2],s=e[r+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&h)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,u=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),r+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var i="",n=0;for(;n<t;)i+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return i}(n)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,i){return h(null,e,t,i)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,i){return function(e,t,i,n){return c(t),t<=0?s(e,t):void 0!==i?"string"==typeof n?s(e,t).fill(i,n):s(e,t).fill(i):s(e,t)}(null,e,t,i)},l.allocUnsafe=function(e){return u(null,e)},l.allocUnsafeSlow=function(e){return u(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,r=0,a=Math.min(i,n);r<a;++r)if(e[r]!==t[r]){i=e[r],n=t[r];break}return i<n?-1:n<i?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=l.allocUnsafe(t),r=0;for(i=0;i<e.length;++i){var o=e[i];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},l.byteLength=v,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?T(this,0,e):g.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,i,n,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return-1;if(t>=i)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(n>>>=0),o=(i>>>=0)-(t>>>=0),s=Math.min(a,o),h=this.slice(n,r),c=e.slice(t,i),u=0;u<s;++u)if(h[u]!==c[u]){a=h[u],o=c[u];break}return a<o?-1:o<a?1:0},l.prototype.includes=function(e,t,i){return-1!==this.indexOf(e,t,i)},l.prototype.indexOf=function(e,t,i){return m(this,e,t,i,!0)},l.prototype.lastIndexOf=function(e,t,i){return m(this,e,t,i,!1)},l.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-t;if((void 0===i||i>r)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return b(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return q(this,e,t,i);case"latin1":case"binary":return x(this,e,t,i);case"base64":return k(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,i);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _(e,t,i){var n="";i=Math.min(e.length,i);for(var r=t;r<i;++r)n+=String.fromCharCode(127&e[r]);return n}function O(e,t,i){var n="";i=Math.min(e.length,i);for(var r=t;r<i;++r)n+=String.fromCharCode(e[r]);return n}function R(e,t,i){var n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);for(var r="",a=t;a<i;++a)r+=L(e[a]);return r}function E(e,t,i){for(var n=e.slice(t,i),r="",a=0;a<n.length;a+=2)r+=String.fromCharCode(n[a]+256*n[a+1]);return r}function A(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>i)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,i,n,r,a){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<a)throw new RangeError('"value" argument is out of bounds');if(i+n>e.length)throw new RangeError("Index out of range")}function I(e,t,i,n){t<0&&(t=65535+t+1);for(var r=0,a=Math.min(e.length-i,2);r<a;++r)e[i+r]=(t&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function B(e,t,i,n){t<0&&(t=4294967295+t+1);for(var r=0,a=Math.min(e.length-i,4);r<a;++r)e[i+r]=t>>>8*(n?r:3-r)&255}function D(e,t,i,n,r,a){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function z(e,t,i,n,a){return a||D(e,0,i,4),r.write(e,t,i,n,23,4),i+4}function P(e,t,i,n,a){return a||D(e,0,i,8),r.write(e,t,i,n,52,8),i+8}l.prototype.slice=function(e,t){var i,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(i=this.subarray(e,t)).__proto__=l.prototype;else{var r=t-e;i=new l(r,void 0);for(var a=0;a<r;++a)i[a]=this[a+e]}return i},l.prototype.readUIntLE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=this[e],r=1,a=0;++a<t&&(r*=256);)n+=this[e+a]*r;return n},l.prototype.readUIntBE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=this[e+--t],r=1;t>0&&(r*=256);)n+=this[e+--t]*r;return n},l.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=this[e],r=1,a=0;++a<t&&(r*=256);)n+=this[e+a]*r;return n>=(r*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||A(e,t,this.length);for(var n=t,r=1,a=this[e+--n];n>0&&(r*=256);)a+=this[e+--n]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},l.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,i,n){(e=+e,t|=0,i|=0,n)||M(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,a=0;for(this[t]=255&e;++a<i&&(r*=256);)this[t+a]=e/r&255;return t+i},l.prototype.writeUIntBE=function(e,t,i,n){(e=+e,t|=0,i|=0,n)||M(this,e,t,i,Math.pow(2,8*i)-1,0);var r=i-1,a=1;for(this[t+r]=255&e;--r>=0&&(a*=256);)this[t+r]=e/a&255;return t+i},l.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);M(this,e,t,i,r-1,-r)}var a=0,o=1,s=0;for(this[t]=255&e;++a<i&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+i},l.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var r=Math.pow(2,8*i-1);M(this,e,t,i,r-1,-r)}var a=i-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+i},l.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,i){return z(this,e,t,!0,i)},l.prototype.writeFloatBE=function(e,t,i){return z(this,e,t,!1,i)},l.prototype.writeDoubleLE=function(e,t,i){return P(this,e,t,!0,i)},l.prototype.writeDoubleBE=function(e,t,i){return P(this,e,t,!1,i)},l.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var r,a=n-i;if(this===e&&i<t&&t<n)for(r=a-1;r>=0;--r)e[r+t]=this[r+i];else if(a<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)e[r+t]=this[r+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+a),t);return a},l.prototype.fill=function(e,t,i,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;var a;if(t>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(a=t;a<i;++a)this[a]=e;else{var o=l.isBuffer(e)?e:j(new l(e,n).toString()),s=o.length;for(a=0;a<i-t;++a)this[a+t]=o[a%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function L(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){var i;t=t||1/0;for(var n=e.length,r=null,a=[],o=0;o<n;++o){if((i=e.charCodeAt(o))>55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&a.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&a.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;a.push(i)}else if(i<2048){if((t-=2)<0)break;a.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;a.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return a}function H(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,i,n){for(var r=0;r<n&&!(r+i>=t.length||r>=e.length);++r)t[r+i]=e[r];return r}}).call(this,i(29))},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";t.byteLength=function(e){var t=h(e),i=t[0],n=t[1];return 3*(i+n)/4-n},t.toByteArray=function(e){var t,i,n=h(e),o=n[0],s=n[1],l=new a(function(e,t,i){return 3*(t+i)/4-i}(0,o,s)),c=0,u=s>0?o-4:o;for(i=0;i<u;i+=4)t=r[e.charCodeAt(i)]<<18|r[e.charCodeAt(i+1)]<<12|r[e.charCodeAt(i+2)]<<6|r[e.charCodeAt(i+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,l[c++]=255&t);1===s&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,a=[],o=0,s=i-r;o<s;o+=16383)a.push(c(e,o,o+16383>s?s:o+16383));1===r?(t=e[i-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===r&&(t=(e[i-2]<<8)+e[i-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=o.length;s<l;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function h(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function c(e,t,i){for(var r,a,o=[],s=t;s<i;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(n[(a=r)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,t){
11
11
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
12
- t.read=function(e,t,i,n,r){var a,o,s=8*r-n-1,l=(1<<s)-1,h=l>>1,c=-7,u=i?r-1:0,d=i?-1:1,f=e[t+u];for(u+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+u],u+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+u],u+=d,c-=8);if(0===a)a=1-h;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=h}return(f?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,i,n,r,a){var o,s,l,h=8*a-r-1,c=(1<<h)-1,u=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,v=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+u>=1?d/l:d*Math.pow(2,1-u))*l>=2&&(o++,l/=2),o+u>=c?(s=0,o=c):o+u>=1?(s=(t*l-1)*Math.pow(2,r),o+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),o=0));r>=8;e[i+f]=255&s,f+=v,s/=256,r-=8);for(o=o<<r|s,h+=r;h>0;e[i+f]=255&o,f+=v,o/=256,h-=8);e[i+f-v]|=128*g}},function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},function(e,t){},function(e,t){},function(e,t){},function(e,t,i){},function(e,t,i){"use strict";i.r(t),i.d(t,"spreadsheet",(function(){return ll})),i.d(t,"setItemRang",(function(){return al})),i.d(t,"setLinkedCell",(function(){return ol}));var n=i(12),r=i.n(n),a=i(2),o=i.n(a),s=i(5),l=i.n(s),h=i(0),c=i.n(h),u=i(10),d=i.n(u),f=i(14),v=i.n(f),g=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c()(this,e),"string"==typeof t?(this.el=document.createElement(t),this.el.className=i):this.el=t,this.data={}}return o()(e,[{key:"data",value:function(e,t){return void 0!==t?(this.data[e]=t,this):this.data[e]}},{key:"on",value:function(e,t){var i=e.split("."),n=v()(i),r=n[0],a=n.slice(1),o=r;return"mousewheel"===o&&/Firefox/i.test(window.navigator.userAgent)&&(o="DOMMouseScroll"),this.el.addEventListener(o,(function(e){t(e);for(var i=0;i<a.length;i+=1){var n=a[i];if("left"===n&&0!==e.button)return;if("right"===n&&2!==e.button)return;"stop"===n&&e.stopPropagation()}})),this}},{key:"offset",value:function(e){var t=this;if(void 0!==e)return Object.keys(e).forEach((function(i){t.css(i,"".concat(e[i],"px"))})),this;var i=this.el;return{top:i.offsetTop,left:i.offsetLeft,height:i.offsetHeight,width:i.offsetWidth}}},{key:"scroll",value:function(e){var t=this.el;return void 0!==e&&(void 0!==e.left&&(t.scrollLeft=e.left),void 0!==e.top&&(t.scrollTop=e.top)),{left:t.scrollLeft,top:t.scrollTop}}},{key:"box",value:function(){return this.el.getBoundingClientRect()}},{key:"parent",value:function(){return new e(this.el.parentNode)}},{key:"children",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return 0===arguments.length?this.el.childNodes:(i.forEach((function(t){return e.child(t)})),this)}},{key:"removeChild",value:function(e){this.el.removeChild(e)}},{key:"empty",value:function(){this.el.innerHTML=""}},{key:"setId",value:function(e){return this.el.id=e,this}},{key:"child",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t;return"string"==typeof t?n=document.createTextNode(t):t instanceof e&&(n=t.el),i?this.el.prepend(n):this.el.appendChild(n),this}},{key:"append",value:function(e){this.el.appendChild(e)}},{key:"contains",value:function(e){return this.el.contains(e)}},{key:"className",value:function(e){return void 0!==e?(this.el.className=e,this):this.el.className}},{key:"addClass",value:function(e){return this.el.classList.add(e),this}},{key:"hasClass",value:function(e){return this.el.classList.contains(e)}},{key:"removeClass",value:function(e){return this.el&&this.el.classList.remove(e),this}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"active";return this.toggleClass(e)}},{key:"toggleClass",value:function(e){return this.el.classList.toggle(e)}},{key:"active",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"active";return e?this.addClass(t):this.removeClass(t),this}},{key:"checked",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.active(e,"checked"),this}},{key:"disabled",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.addClass("disabled"):this.removeClass("disabled"),this}},{key:"attr",value:function(e,t){var i=this;if(void 0!==t)this.el.setAttribute(e,t);else{if("string"==typeof e)return this.el.getAttribute(e);Object.keys(e).forEach((function(t){i.el.setAttribute(t,e[t])}))}return this}},{key:"removeAttr",value:function(e){return this.el.removeAttribute(e),this}},{key:"sanitizeHTML",value:function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}},{key:"html",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return void 0!==e?(this.el.innerHTML=t?i?this.sanitizeHTML(e).replace(/\n/g,"<br>"):this.sanitizeHTML(e):e,this):this.el.innerHTML}},{key:"val",value:function(e){return void 0!==e?(this.el.value=e,this):this.el.value}},{key:"focus",value:function(){this.el.focus()}},{key:"cssRemoveKeys",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return i.forEach((function(t){return e.el.style.removeProperty(t)})),this}},{key:"css",value:function(e,t){var i=this;return void 0===t&&"string"!=typeof e?(Object.keys(e).forEach((function(t){i.el.style[t]=e[t]})),this):void 0!==t?(this.el.style[e]=t,this):this.el.style[e]}},{key:"computedStyle",value:function(){return window.getComputedStyle(this.el,null)}},{key:"show",value:function(){return this.css("display","block"),this}},{key:"hide",value:function(){return this.css("display","none"),this}}]),e}(),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new g(e,t)},m=i(7),y=i.n(m),b=(i(21),["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]);function w(e){for(var t="",i=e;i>=b.length;)i/=b.length,i-=1,t+=b[parseInt(i,10)%b.length];return t+=b[e%b.length]}function q(e){for(var t=0,i=0;i<e.length-1;i+=1){var n=e.charCodeAt(i)-65,r=e.length-1-i;t+=Math.pow(b.length,r)+b.length*n}return t+=e.charCodeAt(e.length-1)-65}function x(e){for(var t="",i="",n=0;n<e.length;n+=1)e.charAt(n)>="0"&&e.charAt(n)<="9"?i+=e.charAt(n):t+=e.charAt(n);return[q(t),parseInt(i,10)-1]}function k(e,t){return"".concat(w(e)).concat(t+1)}function C(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0};if(0===t&&0===i)return e;var r=x(e),a=l()(r,2),o=a[0],s=a[1];return n(o,s)?k(o+t,s+i):e}var S=function(){function e(t,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;c()(this,e),this.sri=t,this.sci=i,this.eri=n,this.eci=r,this.w=a,this.h=o}return o()(e,[{key:"set",value:function(e,t,i,n){this.sri=e,this.sci=t,this.eri=i,this.eci=n}},{key:"setToOther",value:function(e){this.sri=e.sri,this.sci=e.sci,this.eri=e.eri,this.eci=e.eci}},{key:"multiple",value:function(){return this.eri-this.sri>0||this.eci-this.sci>0}},{key:"includes",value:function(){for(var e=0,t=0,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];if(1===n.length){var a=x(n[0]),o=l()(a,2);t=o[0],e=o[1]}else 2===n.length&&(e=n[0],t=n[1]);var s=this.sri,h=this.sci,c=this.eri,u=this.eci;return s<=e&&e<=c&&h<=t&&t<=u}},{key:"each",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},i=this.sri,n=this.sci,r=this.eri,a=this.eci,o=i;o<=r;o+=1)if(t(o))for(var s=n;s<=a;s+=1)e(o,s)}},{key:"emptyFirst",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0},n=this.sri,r=this.sci,a=this.eri,o=this.eci,s=n;s<=a;s+=1)if(t(s)){for(var l=[],h=[],c=r;c<=o;c+=1)if(i(s,c)){if(l.push(c),c===r){for(var u=c-1;u>=0&&i(s,u);)u--;u>=0&&e(s,u)}}else h.push(c);for(var d=0;d<l.length;d++)e(s,l[d]);for(var f=0;f<h.length;f++)e(s,h[f])}}},{key:"contains",value:function(e){return this.sri<=e.sri&&this.sci<=e.sci&&this.eri>=e.eri&&this.eci>=e.eci}},{key:"within",value:function(e){return this.sri>=e.sri&&this.sci>=e.sci&&this.eri<=e.eri&&this.eci<=e.eci}},{key:"disjoint",value:function(e){return this.sri>e.eri||this.sci>e.eci||e.sri>this.eri||e.sci>this.eci}},{key:"intersects",value:function(e){return this.sri<=e.eri&&this.sci<=e.eci&&e.sri<=this.eri&&e.sci<=this.eci}},{key:"union",value:function(t){var i=this.sri,n=this.sci,r=this.eri,a=this.eci;return new e(t.sri<i?t.sri:i,t.sci<n?t.sci:n,t.eri>r?t.eri:r,t.eci>a?t.eci:a)}},{key:"extendRange",value:function(t){var i=this.sri,n=this.sci,r=this.eri,a=this.eci,o=t.eri-t.sri+1,s=t.eci-t.sci+1,l=r-i+1,h=a-n+1;return new e(i,n,i+(l<o?o:l-l%o)-1,n+(h<s?s:h-h%s)-1)}},{key:"difference",value:function(t){var i=[],n=function(t,n,r,a){i.push(new e(t,n,r,a))},r=this.sri,a=this.sci,o=this.eri,s=this.eci,l=t.sri-r,h=t.sci-a,c=o-t.eri,u=s-t.eci;return this.intersects(t)?l>0?(n(r,a,t.sri-1,s),c>0?(n(t.eri+1,a,o,s),h>0?(n(t.sri,a,t.eri,t.sci-1),u>0&&n(t.sri,t.eci+1,t.eri,s)):u>0&&n(t.sri,t.eci+1,t.eri,s)):h>0?(n(t.sri,a,o,t.sci-1),u>0&&n(t.sri,t.eci+1,o,s)):u>0&&n(t.sri,t.eci+1,o,s)):c>0?(n(t.eri+1,a,o,s),h>0?(n(r,a,t.eri,t.sci-1),u>0&&n(r,t.eci+1,t.eri,s)):u>0&&n(r,t.eci+1,t.eri,s)):h>0?(n(r,a,o,t.sci-1),u>0&&n(r,t.eci+1,o,s)):u>0&&n(r,t.eci+1,o,s):n(r,a,o,s),i}},{key:"size",value:function(){return[this.eri-this.sri+1,this.eci-this.sci+1]}},{key:"toString",value:function(){var e=this.sri,t=this.sci,i=this.eri,n=this.eci,r=k(t,e);return this.multiple()&&(r="".concat(r,":").concat(k(n,i))),r}},{key:"clone",value:function(){return new e(this.sri,this.sci,this.eri,this.eci,this.w,this.h)}},{key:"equals",value:function(e){return this.eri===e.eri&&this.eci===e.eci&&this.sri===e.sri&&this.sci===e.sci}}],[{key:"valueOf",value:function(t){var i=t.split(":"),n=x(i[0]),r=l()(n,2),a=r[0],o=r[1],s=o,h=a;if(i.length>1){var c=x(i[1]),u=l()(c,2);h=u[0],s=u[1]}return new e(o,a,s,h)}}]),e}(),T=S,_=function(){function e(){c()(this,e),this.range=new S(0,0,0,0),this.ri=0,this.ci=0}return o()(e,[{key:"multiple",value:function(){return this.range.multiple()}},{key:"setIndexes",value:function(e,t){this.ri=e,this.ci=t}},{key:"size",value:function(){return this.range.size()}}]),e}(),O=function e(){c()(this,e),this.x=0,this.y=0,this.ri=0,this.ci=0,this.riact=0},R=function(){function e(){c()(this,e),this.undoItems=[],this.redoItems=[]}return o()(e,[{key:"add",value:function(e){this.undoItems.push(JSON.stringify(e)),this.redoItems=[]}},{key:"canUndo",value:function(){return this.undoItems.length>0}},{key:"canRedo",value:function(){return this.redoItems.length>0}},{key:"undo",value:function(e,t){var i=this.undoItems,n=this.redoItems;if(this.canUndo()){var r=JSON.parse(i.pop());n.push(JSON.stringify(e(r))),t(r)}}},{key:"redo",value:function(e,t){var i=this.undoItems,n=this.redoItems;if(this.canRedo()){var r=JSON.parse(n.pop());i.push(JSON.stringify(e(r))),t(r)}}}]),e}(),E=function(){function e(){c()(this,e),this.range=null,this.state="clear",this.textdata=null}return o()(e,[{key:"copy",value:function(e,t){this.range=e,this.state="copy";for(var i=e.sri,n=e.sci,r=e.eri,a=e.eci,o="",s=i;s<=r;s+=1){if(t._[s])for(var l=n;l<=a;l+=1){if(t._[s].cells&&t._[s].cells[l]){var h=t._[s].cells[l].text;h&&(h.indexOf("\n")>=0&&(h='"'+h+'"'),o+=h)}o+="\t"}o+="\n"}return this.setData(o),this}},{key:"cut",value:function(e){return this.range=e,this.state="cut",this}},{key:"isCopy",value:function(){return"copy"===this.state}},{key:"isCut",value:function(){return"cut"===this.state}},{key:"isClear",value:function(){return"clear"===this.state}},{key:"clear",value:function(){this.range=null,this.state="clear"}},{key:"setData",value:function(e){this.textdata=e,this.copyTextToClipboard(e)}},{key:"fallbackCopyTextToClipboard",value:function(e){var t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(t)}},{key:"copyTextToClipboard",value:function(e){navigator.clipboard?navigator.clipboard.writeText(e).then((function(){}),(function(e){})):this.fallbackCopyTextToClipboard(e)}}]),e}(),A=function(){function e(t,i,n){c()(this,e),this.ci=t,this.operator=i,this.value=n}return o()(e,[{key:"set",value:function(e,t){this.operator=e,this.value=t}},{key:"includes",value:function(e,t){var i=this.operator;this.value;return"all"===i||"in"===i&&this.checkFilter(e,t)}},{key:"checkFilter",value:function(e,t){for(var i=this.value,n=0;n<i.length;n+=1){var r=i[n];if(r.startsWith("date:")){if(r=r.substr(5),t&&t.startsWith(r))return!0}else if(r===e)return!0}return!1}},{key:"vlength",value:function(){var e=this.operator,t=this.value;return"in"===e?t.length:0}},{key:"getData",value:function(){return{ci:this.ci,operator:this.operator,value:this.value}}}]),e}(),M=function(){function e(t,i){c()(this,e),this.ci=t,this.order=i}return o()(e,[{key:"asc",value:function(){return"asc"===this.order}},{key:"desc",value:function(){return"desc"===this.order}}]),e}(),I=function(){function e(){c()(this,e),this.ref=null,this.filters=[],this.sort=null}return o()(e,[{key:"setData",value:function(e){var t=e.ref,i=e.filters,n=e.sort;null!=t&&(this.ref=t,this.filters=i.map((function(e){return new A(e.ci,e.operator,e.value)})),n&&(this.sort=new M(n.ci,n.order)))}},{key:"getData",value:function(){if(this.active()){var e=this.ref,t=this.filters,i=this.sort;return{ref:e,filters:t.map((function(e){return e.getData()})),sort:i}}return{}}},{key:"addFilter",value:function(e,t,i){var n=this.getFilter(e);null==n?this.filters.push(new A(e,t,i)):n.set(t,i)}},{key:"setSort",value:function(e,t){this.sort=t?new M(e,t):null}},{key:"includes",value:function(e,t){return!!this.active()&&this.hrange().includes(e,t)}},{key:"getSort",value:function(e){var t=this.sort;return t&&t.ci===e?t:null}},{key:"getFilter",value:function(e){for(var t=this.filters,i=0;i<t.length;i+=1)if(t[i].ci===e)return t[i];return null}},{key:"filteredRows",value:function(e){var t=new Set,i=new Set;if(this.active())for(var n=this.range(),r=n.sri,a=n.eri,o=this.filters,s=r+1;s<=a;s+=1)for(var l=0;l<o.length;l+=1){var h=o[l],c=e(s,h.ci),u=c&&0!=c.text.trim().length?c.text:"",d=c?c.dt:void 0;if(!h.includes(u,d)){t.add(s);break}i.add(s)}return{rset:t,fset:i}}},{key:"items",value:function(e,t){var i={};if(this.active())for(var n=this.range(),r=n.sri,a=n.eri,o=r+1;o<=a;o+=1){var s=t(o,e);if(null===s||/^\s*$/.test(s.text))i[""]?i[""].cnt++:(i[""]={},i[""].cnt=1);else{var l=s.dt?"date:"+s.dt.substr(0,4):s.text;i[l]?i[l].cnt++:(i[l]={},i[l].cnt=1)}}return this.mergeWithExistFilterValue(i,e,t),i}},{key:"getKeyCountForDateTime",value:function(e,t,i){for(var n=0,r=this.range(),a=r.sri,o=r.eri,s=a+1;s<=o;s+=1){var l=i(s,t);l&&l.dt&&l.dt.startsWith(e)&&n++}return n}},{key:"mergeWithExistFilterValue",value:function(e,t,i){var n=this.getFilter(t);if(n)for(var r=0;r<n.value.length;r+=1){var a=n.value[r];a.startsWith("date:")&&!e[a]&&(e[a]={},e[a].cnt=this.getKeyCountForDateTime(a.substr(0,4),t,i))}}},{key:"range",value:function(){return S.valueOf(this.ref)}},{key:"hrange",value:function(){var e=this.range();return e.eri=e.sri,e}},{key:"clear",value:function(){this.ref=null,this.filters=[],this.sort=null}},{key:"active",value:function(){return null!==this.ref}}]),e}(),B=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c()(this,e),this._=t}return o()(e,[{key:"forEach",value:function(e){this._.forEach(e)}},{key:"deleteWithin",value:function(e){this._=this._.filter((function(t){return!t.within(e)}))}},{key:"getFirstIncludes",value:function(e,t){for(var i=0;i<this._.length;i+=1){var n=this._[i];if(n.includes(e,t))return n}return null}},{key:"filterIntersects",value:function(t){return new e(this._.filter((function(e){return e.intersects(t)})))}},{key:"intersects",value:function(e){for(var t=0;t<this._.length;t+=1){if(this._[t].intersects(e))return!0}return!1}},{key:"equals",value:function(e){for(var t=0;t<this._.length;t+=1){if(this._[t].equals(e))return!0}return!1}},{key:"union",value:function(e){var t=e;return this._.forEach((function(e){e.intersects(t)&&(t=e.union(t))})),t}},{key:"add",value:function(e){this.deleteWithin(e),this._.push(e)}},{key:"shift",value:function(e,t,i,n){this._.forEach((function(r){var a=r.sri,o=r.sci,s=r.eri,l=r.eci,h=r;"row"===e?a>=t?(h.sri+=i,h.eri+=i):a<t&&t<=s&&(h.eri+=i,n(a,o,i,0)):"column"===e&&(o>=t?(h.sci+=i,h.eci+=i):o<t&&t<=l&&(h.eci+=i,n(a,o,0,i)))}))}},{key:"move",value:function(e,t,i){this._.forEach((function(n){var r=n;r.within(e)&&(r.eri+=t,r.sri+=t,r.sci+=i,r.eci+=i)}))}},{key:"setData",value:function(e){return this._=e.map((function(e){return S.valueOf(e)})),this}},{key:"getData",value:function(){return this._.map((function(e){return e.toString()}))}},{key:"getDataForSave",value:function(){return this._.filter((function(e){return e.multiple()}))}}]),e}();var D=function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return n.forEach((function(i){Object.keys(i).forEach((function(n){var r=i[n];"string"==typeof r||"number"==typeof r||"boolean"==typeof r?t[n]=r:"function"!=typeof r&&!Array.isArray(r)&&r instanceof Object?(t[n]=t[n]||{},e(t[n],r)):t[n]=r}))})),t};function z(e){for(var t="".concat(e),i=0,n=!1,r=0;r<t.length;r+=1)!0===n&&(i+=1),"."===t.charAt(r)&&(n=!0);return i}function P(e,t,i){if(Number.isNaN(t)||Number.isNaN(i))return t+e+i;var n=z(t),r=z(i),a=Number(t),o=Number(i),s=0;return"-"===e?s=a-o:"+"===e?s=a+o:"*"===e?s=a*o:"/"===e&&(s=a/o),s.toFixed(Math.max(n,r))}var F,L,j={cloneDeep:function(e){return JSON.parse(JSON.stringify(e))},merge:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return D.apply(void 0,[{}].concat(t))},equals:function e(t,i){var n=Object.keys(t);if(n.length!==Object.keys(i).length)return!1;for(var r=0;r<n.length;r+=1){var a=n[r],o=t[a],s=i[a];if(void 0===s)return!1;if("string"==typeof o||"number"==typeof o||"boolean"==typeof o){if(o!==s)return!1}else if(Array.isArray(o)){if(o.length!==s.length)return!1;for(var l=0;l<o.length;l+=1)if(!e(o[l],s[l]))return!1}else if("function"!=typeof o&&!Array.isArray(o)&&o instanceof Object&&!e(o,s))return!1}return!0},arrayEquals:function(e,t){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i+=1)if(e[i]!==t[i])return!1;return!0},sum:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},i=0,n=0;return Object.keys(e).forEach((function(r){i+=t(e[r],r),n+=1})),[i,n]},rangeEach:function(e,t,i){for(var n=e;n<t;n+=1)i(n)},rangeSum:function(e,t,i){for(var n=0,r=e;r<t;r+=1)n+=i(r);return n},rangeReduceIf:function(e,t,i,n,r,a){for(var o=i,s=n,l=e;l<t&&!(o>=r);l+=1)o+=s=a(l);return[l,o-s,s]},deleteProperty:function(e,t){var i=e["".concat(t)];return delete e["".concat(t)],i},numberCalc:P},H=function(){function e(t){var i=t.len,n=t.height;c()(this,e),this._={},this.len=i,this.height=n}return o()(e,[{key:"getHeight",value:function(e,t){if(this.isHide(e))return 0;if(t&&t.has(e))return 0;var i=this.get(e);return i&&i.height?i.height:this.height}},{key:"setHeight",value:function(e,t,i){this.getOrNew(e).height=t,i&&i(e)}},{key:"setBatchHeight",value:function(e,t){var i=this;Object.keys(this._).forEach((function(n){i._[n].height=e,t&&t(n)}))}},{key:"setRangeHeight",value:function(e,t,i,n){var r=this;Object.keys(this._).forEach((function(a){a>=e&&a<=t&&(r._[a].height=i,n&&n(a))}))}},{key:"setInfo",value:function(e,t){var i=this.getOrNew(e);i.height=t.h,t.hide&&(i.hide=!0)}},{key:"unhide",value:function(e){for(var t=e;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}},{key:"isHide",value:function(e){var t=this.get(e);return t&&t.hide}},{key:"setHide",value:function(e,t){var i=this.getOrNew(e);!0===t?i.hide=!0:delete i.hide}},{key:"setStyle",value:function(e,t){this.getOrNew(e).style=t}},{key:"sumHeight",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set;return j.rangeSum(e,t,(function(e){return n&&n.has(e)?0:i.getHeight(e)}))}},{key:"totalHeight",value:function(){return this.sumHeight(0,this.len)}},{key:"get",value:function(e){return this._[e]}},{key:"getOrNew",value:function(e){return this._[e]=this._[e]||{cells:{}},this._[e]}},{key:"getCell",value:function(e,t){var i=this.get(e);return void 0!==i&&void 0!==i.cells&&void 0!==i.cells[t]?i.cells[t]:null}},{key:"getCellMerge",value:function(e,t){var i=this.getCell(e,t);return i&&i.merge?i.merge:[0,0]}},{key:"getCellOrNew",value:function(e,t){var i=this.getOrNew(e);return i.cells[t]=i.cells[t]||{},i.cells[t]}},{key:"setCell",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"all",r=this.getOrNew(e);"all"===n?r.cells[t]=i:"text"===n?(r.cells[t]=r.cells[t]||{},r.cells[t].text=i.text):"format"===n&&(r.cells[t]=r.cells[t]||{},r.cells[t].style=i.style,i.merge&&(r.cells[t].merge=i.merge))}},{key:"setCellTextBasicAct",value:function(e,t,i,n){e.text=t,n?e.f=n:delete e.f,i?e.ufv=i:delete e.ufv,e.html&&t.startsWith("<font style=")&&t.endsWith("</font>")&&(e.html=t)}},{key:"setCellText",value:function(e,t,i,n,r){var a=this.getCellOrNew(e,t);this.setCellTextBasicAct(a,i,n,r)}},{key:"setCellTextAndGetRet",value:function(e){var t=this.getCellOrNew(e.ri,e.ci);return this.setCellTextBasicAct(t,e.text,e.ufv,e.f),t.rtxt=e.rtxt,t.html=e.html,delete t.bigfontsize,t}},{key:"updateOneCell",value:function(e){return this.setCellTextAndGetRet(e)}},{key:"copyPaste",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},a=e.sri,o=e.sci,s=e.eri,h=e.eci,c=new Array,u=new Array,d=t.sri>=0?t.sri:0,f=t.sci>=0?t.sci:0,v=t.eri,g=t.eci,p=e.size(),m=l()(p,2),y=m[0],b=m[1],w=t.size(),q=l()(w,2),x=q[0],k=q[1],S=!0,T=0;(v<a||g<o)&&(S=!1,T=v<a?x:k);for(var _=a;_<=s;_+=1)for(var O=o;O<=h;O+=1)for(var R=d;R<=v;R+=y)for(var E=f;E<=g;E+=b){var A=R+(_-a),M=E+(O-o);if(A!==_||M!==O){var I=this._[_]&&this._[_].cells&&this._[_].cells[O],B=I?j.cloneDeep(this._[_].cells[O]):{};if(A!==_||M!==O){n&&B&&B.text&&B.text.length>0&&function(){var e=B.text,t=E-f+(R-d)+2;if(S||(t-=T+1),"="===e[0])B.text=e.replace(/\w{1,3}\d/g,(function(e){var i=0,n=0;return a===d?i=t-1:n=t-1,/^\d+$/.test(e)?e:C(e,i,n)}));else if(y<=1&&b>1&&(d>s||v<a)||b<=1&&y>1&&(f>h||g<o)||y<=1&&b<=1){var i=/[\\.\d]+$/.exec(e);if(null!==i){var n=Number(i[0])+t-1;B.text=e.substring(0,i.index)+n}}}();var D={ri:A,ci:M,text:B.f?B.f:B.text},z={ri:A,ci:M,ncell:B};n&&(B.f||B.ufv)||c.push(D),u.push(z)}}}for(var P=0;P<u.length;P++)this.setCell(u[P].ri,u[P].ci,u[P].ncell,i),r(u[P].ri,u[P].ci,u[P].ncell);return c}},{key:"cutPaste",value:function(e,t){var i=this,n={};this.each((function(r){i.eachCells(r,(function(a){var o=parseInt(r,10),s=parseInt(a,10);e.includes(r,a)&&(o=t.sri+(o-e.sri),s=t.sci+(s-e.sci)),n[o]=n[o]||{cells:{}},n[o].cells[s]=i._[r].cells[a],n[o].height=i._[r].height}))})),this._=n}},{key:"paste",value:function(e,t){var i=this,n=new Array;if(!(e.length<=0)){var r=t.sri,a=t.sci;return e.forEach((function(e,t){var o=r+t;e.forEach((function(e,t){var r=a+t;if(r<=1e3){i.setCellText(o,r,e);var s={ri:o,ci:r,text:e};n.push(s)}}))})),n}}},{key:"insert",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n={};this.each((function(r,a){var o=parseInt(r,10);o>=e&&(o+=i,t.eachCells(r,(function(t,n){n.text&&"="===n.text[0]&&(n.text=n.text.replace(/\w{1,3}\d/g,(function(t){return C(t,0,i,(function(t,i){return i>=e}))})))}))),n[o]=a})),this._=n,this.len+=i,e>=1&&this.copyrow(e-1,i)}},{key:"copyrow",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.copyCellStyle,r=this._[e];if(void 0!==r)for(var a=function(i){var a=t.getOrNew(e+i);a.height=r.height,t.eachCells(e,(function(e,t){a.cells[e]={},n(a.cells[e],t)}))},o=1;o<=i;o++)a(o)}},{key:"copyCellStyle",value:function(e,t){e.style=t.style,t.isautoalign&&(e.isautoalign=t.isautoalign)}},{key:"delete",value:function(e,t){var i=this,n=t-e+1,r={};this.each((function(a,o){var s=parseInt(a,10);s<e?r[s]=o:a>t&&(r[s-n]=o,i.eachCells(a,(function(e,i){i.text&&"="===i.text[0]&&(i.text=i.text.replace(/\w{1,3}\d/g,(function(e){return C(e,0,-n,(function(e,i){return i>t}))})))})))})),this._=r,this.len-=n}},{key:"insertColumn",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.copyCellStyle;this.each((function(r,a){var o={};if(t.eachCells(r,(function(t,n){var r=parseInt(t,10);r>=e&&(r+=i,n.text&&"="===n.text[0]&&(n.text=n.text.replace(/\w{1,3}\d/g,(function(t){return C(t,i,0,(function(t){return t>=e}))})))),o[r]=n})),e>=1)for(var s=1;s<=i;s++)void 0!==o[e-1]&&(o[e-1+s]={},n(o[e-1+s],o[e-1]));a.cells=o}))}},{key:"deleteColumn",value:function(e,t){var i=this,n=t-e+1;this.each((function(r,a){var o={};i.eachCells(r,(function(i,r){var a=parseInt(i,10);a<e?o[a]=r:a>t&&(o[a-n]=r,r.text&&"="===r.text[0]&&(r.text=r.text.replace(/\w{1,3}\d/g,(function(e){return C(e,-n,0,(function(e){return e>t}))}))))})),a.cells=o}))}},{key:"deleteCells",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";e.each((function(e,n){t.deleteCell(e,n,i)}))}},{key:"deleteCell",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",n=this.get(e);if(null!==n){var r=this.getCell(e,t);null!==r&&("all"===i?delete n.cells[t]:"text"===i?(r.text&&delete r.text,r.value&&delete r.value):"format"===i?(void 0!==r.style&&delete r.style,r.merge&&delete r.merge):"merge"===i&&r.merge&&delete r.merge)}}},{key:"each",value:function(e){Object.entries(this._).forEach((function(t){var i=l()(t,2),n=i[0],r=i[1];e(n,r)}))}},{key:"eachCells",value:function(e,t){this._[e]&&this._[e].cells&&Object.entries(this._[e].cells).forEach((function(e){var i=l()(e,2),n=i[0],r=i[1];t(n,r)}))}},{key:"setData",value:function(e){e.len&&(this.len=e.len,delete e.len),void 0!==e.height&&(this.height=e.height,delete e.height),this._=e}},{key:"setRangeData",value:function(e,t){for(var i=t.sri;i<=t.eri;i++)void 0!==e[i]&&(this._[i]=e[i]),null===e[i]&&delete this._[i]}},{key:"getData",value:function(){var e=this.len,t=this.height;return Object.assign({len:e,height:t},this._)}},{key:"getRangeData",value:function(e){for(var t={},i=e.sri;i<=e.eri;i++)void 0!==this._[i]?t[i]=this._[i]:t[i]=null;return t}},{key:"getDataForRowsSet",value:function(e){var t=this,i=this.len,n=this.height,r={};return r.height=n,r.len=i,e.forEach((function(e){void 0!==t._[e]&&(r[e]=t._[e])})),r}},{key:"getHeightForSave",value:function(e){var t=this,i={};return e.forEach((function(e){void 0!==t._[e]&&(i[e]=t.getHeight(e))})),i}}]),e}(),N=function(){function e(t){var i=t.len,n=t.width,r=t.indexWidth,a=t.minWidth;c()(this,e),this._={},this.len=i,this.width=n,this.indexWidth=r,this.minWidth=a}return o()(e,[{key:"setData",value:function(e){e.len&&(this.len=e.len,delete e.len),e.maxwidth&&(this.maxwidth=e.maxwidth,delete e.maxwidth),this._=e}},{key:"getData",value:function(){var e=this.len;return Object.assign({len:e},this._)}},{key:"getDataForSave",value:function(e){var t=this,i={};return e.forEach((function(e){void 0!==t._[e]&&(i[e]=t._[e])})),i}},{key:"getWidth",value:function(e){if(this.isHide(e))return 0;var t=this._[e];return t&&t.width?t.width:this.width}},{key:"getOrNew",value:function(e){return this._[e]=this._[e]||{},this._[e]}},{key:"setWidth",value:function(e,t,i){this.getOrNew(e).width=t,i&&i(e)}},{key:"setBatchWidth",value:function(e,t){var i=this;Object.keys(this._).forEach((function(n){i._[n].width=e,t&&t(n)}))}},{key:"setRangeWidth",value:function(e,t,i,n){var r=this;Object.keys(this._).forEach((function(a){a>=e&&a<=t&&(r._[a].width=i,n&&n(a))}))}},{key:"unhide",value:function(e){for(var t=e;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}},{key:"isHide",value:function(e){var t=this._[e];return t&&t.hide}},{key:"setHide",value:function(e,t){var i=this.getOrNew(e);!0===t?i.hide=!0:delete i.hide}},{key:"setStyle",value:function(e,t){this.getOrNew(e).style=t}},{key:"sumWidth",value:function(e,t){var i=this;return j.rangeSum(e,t,(function(e){return i.getWidth(e)}))}},{key:"totalWidth",value:function(){return this.sumWidth(0,this.len)}}]),e}(),U=i(6),X=i.n(U),W={toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",unmerge:"Unmerge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More",sort:"Sort",download:"Download",pagination:"Pagination",search:"Search",commentDefault:"Please enter text",commentEdit:"Edit comment",commentRemove:"Remove comment",commentPrevious:"Previous comment",commentNext:"Next comment",insertImage:"Insert image",insertTextBox:"Insert Text Box",insertComboBox:"Insert Combo Box",insertCheckBox:"Insert Check Box",insertRadioButton:"Insert Option Button",insertSpinButton:"Insert Spin Button",insertScrollBar:"Insert Scroll Bar",insertLabel:"Insert Label"},menubar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font name:",fontSize:"Font size:",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",unmerge:"Unmerge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More",sort:"Sort",download:"Download",download_HTML:"Download As HTML",download_PDF:"Download As PDF",download_Original:"Download Original",download_XLSX:"Download As XLSX",download_GOOGLE:"Save To Google Drive",download_DROPBOX:"Save To Dropbox",pagination:"Pagination",search:"Search",commentDefault:"Please enter text",insertSheet:"Sheet",insertRow:"Row",insertColumn:"Column",link:"Link",insertComment:"Comment",commentEdit:"Edit comment",commentRemove:"Remove comment",commentPrevious:"Previous comment",commentNext:"Next comment",insertImage:"Image",insertControl:"Controls",fromURL:"From URL",fromLocal:"From Local",menuInsert:"Insert",menuComment:"Review",menuText:"Format",menuFont:"Font",menuEdit:"Home",menuFile:"File"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",sort:"Sort",link:"Link",removeLink:"Remove Link",editLink:"Edit Link",openLink:"Open Link",download:"Download",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing",insertURL:"Enter the image address",deleteImage:"Delete image",copyImage:"Copy image",pasteImage:"Paste image",merge:"Merge",unmerge:"Unmerge",edit:"Edit",clear:"Clear"},link:{emailAddress:"E-mail Address",emailSubject:"Subject",sheetPage:"Document Place",sheetCell:"Cell Reference",linkTypes:{web:"Web Page",sheet:"This Document",email:"E-mail Address"},webUrl:"Address",linkType:"Link To"},download:{fileName:"File Name",saveType:"Save As",saveTypes:{Original:"Original",XLSX:"XLSX",PDF:"PDF",HTML:"HTML"}},print:(F={setting:"Settings",size:"Paper size",orientation:"Page orientation",orientations:{landscape:"Landscape",portrait:"Portrait"}},X()(F,"size","Size"),X()(F,"sizes",{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"}),X()(F,"scale","Scale"),X()(F,"scales",{noscale:"No Scaling",fitsheet:"Fit Sheet on One Page",fitcolumns:"Fit All Columns on One Page",fitrows:"Fit All Rows on One Page"}),X()(F,"order","Order"),X()(F,"orders",{downover:"Down, then over",overdown:"Over, then down"}),X()(F,"imageshow","Images/Shapes"),X()(F,"imageshows",{show:"Show",hide:"Hide"}),F),format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Calculate the sum of a set of values",average:"Calculate the arithmetic mean of all parameters",max:"Calculate the maximum value in a set of numbers",min:"Calculate the smallest value in a set of numbers",_if:"According to the true or false result of the logical judgment of the specified condition, the calculation result triggered by the corresponding condition is returned",and:'Only when the results of the parameters are all logical "true", it returns logical "true", otherwise it returns logical "false"',or:'Only when all parameter values are logically "false", the result is returned as logical "false", otherwise it is returned as logical "true"',concat:"Connect multiple character text or data in cells together",count:"counts the number of cells that contain numbers, and counts numbers within the list of arguments",sumif:"Adds the cells specified by a given criteria",sumifs:"Adds the cells in a range that meet multiple criteria",vlookup:"Looks in the first column of an array and moves across the row to return the value of a cell",hlookup:"Searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array.",lookup:"Looks up values in a vector or array",match:"Looks up values in a reference or array",rank:"Returns the rank of a number in a list of numbers",frequency:"Returns a frequency distribution as a vertical array",text:"Formats a number and converts it to text",left:"Returns the leftmost characters from a text value",right:"Returns the rightmost characters from a text value",round:"Rounds a number to a specified number of digits",index:"Uses an index to choose a value from a reference or array",countif:"Counts the number of cells within a range that meet the given criteria",countifs:"Counts the number of cells within a range that meet multiple criteria",mid:"Returns a specific number of characters from a text string starting at the position you specify",len:"Returns the number of characters in a text string",power:"Returns the result of a number raised to a power",ceiling:"Rounds a number to the nearest integer or to the nearest multiple of significance",floor:"Rounds a number down, toward zero",substitute:"Substitutes new text for old text in a text string",replace:"Replaces characters within text",search:"Finds one text value within another (not case-sensitive)",find:"Finds one text value within another (case-sensitive)",isnumber:"Returns TRUE if the value is a number",istext:"Returns TRUE if the value is text",isblank:"Returns TRUE if the value is blank",upper:"Converts text to uppercase",lower:"Converts text to lowercase",product:"Multiplies its arguments",sumproduct:"Returns the sum of the products of corresponding array components",subtotal:"Returns a subtotal in a list or database",counta:"Counts how many values are in the list of arguments",averageif:"Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria",averageifs:"Returns the average (arithmetic mean) of all cells that meet multiple criteria.",trim:"Removes spaces from text",sign:"Returns the sign of a number",yield:"Returns the yield on a security that pays periodic interest",abs:"Returns the absolute value of a number",sin:"Returns the sine of the given angle",cos:"Returns the cosine of a number",tan:"Returns the tangent of a number"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}",downloadImageFail:"download image fail",invalidcell:"the linked cell is invalid",invalid:"invalid"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{add:"Add",del:"Delete",next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK",previous:"Previous",close:"Close"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Column",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not between",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}},dataSort:{ci:"Range",criteria:"Order",casesense:"Case Sensitive",sortby:"Sort by",header:"My data has headers",msg:"Please select diffrent columns for sort by fields",msg2:"The select range has merge areas,we do not support sort on merge areas ",order:{asc:"ASC",desc:"DESC"}},dataSearch:{label:"Find what",lkinlb:"Look in",matchwhole:"Match entire contents",lookin:{values:"Values",formulas:"Formulas",comments:"Comments"}},dataComment:{label:"Comment"},control:{min:"Minimum value",max:"Maximum value",cur:"Current value",inc:"Incremental change",page:"Page change"}},Y={toolbar:{undo:"Rückgängig machen",redo:"Wiederholen",print:"Drucken",paintformat:"Format Maler",clearformat:"übersichtliches Format",format:"Datei Format",fontName:"Schriftartenname",fontSize:"Schriftgröße",fontBold:"fette Schriftart",fontItalic:"Schriftart kursiv",underline:"unterstreichen",strike:"durchgestrichen",color:"Textfarbe",bgcolor:"Füllfarbe",border:"rahmen",merge:"Zellen verbinden",unmerge:"Zellen trennen",align:"Horizontale Ausrichtung",valign:"Vertikale Ausrichtung",textwrap:"Zeilenumbruch",freeze:"feste Ränge",autofilter:"Filter",formula:"Formel",more:"Mehr",sort:"Einstufung",download:"herunterladen",pagination:"Paging",search:"suchen",commentDefault:"Bitte Text eingeben",commentEdit:"Kommentare bearbeiten",commentRemove:"Kommentar löschen",commentPrevious:"Vorheriger Kommentar",commentNext:"nächster Kommentar",insertImage:"Bild einfügen",insertTextBox:"Textfeld einfügen",insertComboBox:"Kombinationsfeld einfügen",insertCheckBox:"CheckBox einfügen",insertRadioButton:"Optionsschaltfläche einfügen",insertSpinButton:"Spin-Button einfügen",insertScrollBar:"ScrollBar einfügen",insertLabel:"Beschriftung einfügen"},menubar:{undo:"rückgängig machen",redo:"wiederholen",print:"Drucken",paintformat:"Format Maler",clearformat:"übersichtliches Format",format:"Datei Format",fontName:"Schriftartenname:",fontSize:"Schriftgröße:",fontBold:"fette Schriftart",fontItalic:"Schriftart kursiv",underline:"unterstreichen",strike:"durchgestrichen",color:"Textfarbe",bgcolor:"Füllfarbe",border:"rahmen",merge:"Zellen verbinden",unmerge:"Zellen trennen",align:"Horizontale Ausrichtung",valign:"Vertikale Ausrichtung",textwrap:"Zeilenumbruch",freeze:"feste Ränge",autofilter:"Filter",formula:"Formel",more:"Mehr",sort:"Einstufung",download:"herunterladen",download_HTML:"Als HTML herunterladen",download_PDF:"Als PDF herunterladen",download_Original:"Original herunterladen",download_XLSX:"Als XLSX herunterladen",download_GOOGLE:"Auf Google Drive speichern",download_DROPBOX:"In Dropbox speichern",pagination:"Paging",search:"suchen",commentDefault:"Bitte Text eingeben",insertSheet:"Arbeitsblatt einfügen",insertRow:"Zeile einfügen",insertColumn:"Spalte einfügen",link:"Verknüpfung",insertComment:"einen Kommentar hinzufügen",commentEdit:"Kommentare bearbeiten",commentRemove:"Kommentar löschen",commentPrevious:"Vorheriger Kommentar",commentNext:"nächster Kommentar",insertImage:"Bild einfügen",insertControl:"Kontrolle",fromURL:"von URL",fromLocal:"von lokal",menuInsert:"ergänzen",menuComment:"Überprüfen",menuText:"Format",menuFont:"Schriftart",menuEdit:"Titelseite",menuFile:"dokumentieren"},contextmenu:{copy:"Kopieren",cut:"schneiden",paste:"Paste",pasteValue:"Fügen Sie nur den Wert ein",pasteFormat:"Nur Formatierung einfügen",hide:"verstecken",insertRow:"Zeile einfügen",insertColumn:"Spalte einfügen",deleteSheet:"Blatt löschen",deleteRow:"Zeile löschen",deleteColumn:"Spalte löschen",deleteCell:"Zelle löschen",deleteCellText:"Zelltext löschen",validation:"Datenüberprüfung",sort:"Einstufung",link:"Verknüpfung",removeLink:"Link löschen",editLink:"Link bearbeiten",openLink:"Verbindung öffnen",download:"herunterladen",cellprintable:"Export aktivieren",cellnonprintable:"Export deaktivieren",celleditable:"Bearbeitung aktivieren",cellnoneditable:"Bearbeitung deaktivieren",insertURL:"Bildadresse eingeben",deleteImage:"Foto löschen",copyImage:"Bild kopieren",pasteImage:"Bild einfügen",merge:"verschmelzen",unmerge:"aufheben",edit:"bearbeiten",clear:"zu löschen"},link:{emailAddress:"Email",emailSubject:"Thema",sheetPage:"Speicherort",sheetCell:"Zellbezug",linkTypes:{web:"Website",sheet:"Diese Datei",email:"Email"},webUrl:"URL",linkType:"Linktyp"},download:{fileName:"Dateinamen",saveType:"Speichern als",saveTypes:{Original:"Originalformat",XLSX:"XLSX-Format",PDF:"PDF-Format",HTML:"HTML-Format"}},print:(L={setting:"Einstellungen",size:"Papergröße",orientation:"Page orientation",orientations:{landscape:"Landschaft",portrait:"Portrature"}},X()(L,"size","Größe"),X()(L,"sizes",{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"}),X()(L,"scale","Scale"),X()(L,"scales",{noscale:"Keine Schaltung",fitsheet:"Eine Seite über alle Spalten anhängen",fitcolumns:"Alle Spalten über alle Zeilen anhängen",fitrows:"Alle Zeilen über alle Spalten anhängen"}),X()(L,"order","Auftragsweise"),X()(L,"orders",{downover:"Unter und vor",overdown:"Über und unter"}),X()(L,"imageshow","Bilder/Schnappen"),X()(L,"imageshows",{show:"Anzeigen",hide:"Verstecken"}),L),format:{normal:"normal",text:"Klartext",number:"Nummer",percent:"Prozentsatz",rmb:"Renminbi",usd:"Dollar",eur:"EUR",date:"Datum",time:"Zeit",datetime:"Terminzeit",duration:"Zeitraum"},formula:{sum:"Berechnet die Summe einer Reihe von Werten",average:"Berechnet das arithmetische Mittel aller Parameter",max:"Berechnet den Maximalwert in einer Reihe von Ziffern",min:"Berechnet den kleinsten Wert in einer Reihe von Ziffern",_if:"Je nachdem, ob das Ergebnis der logischen Beurteilung der angegebenen Bedingung wahr oder falsch ist, geben Sie das Berechnungsergebnis zurück, das durch die entsprechende Bedingung ausgelöst wurde",and:"Es gibt nur logisch „wahr“ zurück, wenn die Ergebnisse der Parameter beide logisch „wahr“ sind, andernfalls gibt es logisch „falsch“ zurück.",or:"Das Ergebnis wird nur dann als logisch „falsch“ zurückgegeben, wenn alle Parameterwerte logisch „falsch“ sind, ansonsten wird logisch „wahr“ zurückgegeben.",concat:"Mehreren Zeichentext oder Daten in Zellen miteinander verbinden",count:"zählt die Anzahl der Zellen, die Zahlen enthalten, und zählt Zahlen in der Liste der Argumente",sumif:"Fügt die durch ein bestimmtes Kriterium spezifizierten Zellen hinzu",sumifs:"Fügt die Zellen in einem Bereich hinzu, die mehrere Kriterien erfüllen",vlookup:"Sucht in der ersten Spalte eines Arrays und bewegt sich über die Zeile, um den Wert einer Zelle zurückzugeben",hlookup:"Sucht nach einem Wert in der obersten Zeile einer Tabelle oder einem Array von Werten und gibt dann einen Wert in derselben Spalte aus einer Zeile zurück, die Sie in der Tabelle oder dem Array angeben.",lookup:"Schlägt Werte in einem Vektor oder Array nach",match:"Schlägt Werte in einer Referenz oder einem Array nach",rank:"Gibt den Rang einer Zahl in einer Liste von Zahlen zurück",frequency:"Gibt eine Häufigkeitsverteilung als vertikales Array zurück",text:"Formatiert eine Zahl und wandelt sie in Text um",left:"Gibt die Zeichen ganz links von einem Textwert zurück",right:"Gibt die Zeichen ganz rechts von einem Textwert zurück",round:"Rundet eine Zahl auf eine bestimmte Anzahl von Stellen",index:"Verwendet einen Index, um einen Wert aus einer Referenz oder einem Array auszuwählen",countif:"Zählt die Anzahl der Zellen innerhalb eines Bereichs, die die angegebenen Kriterien erfüllen",countifs:"Zählt die Anzahl der Zellen innerhalb eines Bereichs, die mehrere Kriterien erfüllen",mid:"Gibt eine bestimmte Anzahl von Zeichen aus einer Textzeichenfolge zurück, beginnend an der von Ihnen angegebenen Position",len:"Gibt die Anzahl der Zeichen in einer Textzeichenfolge zurück",power:"Gibt das Ergebnis einer potenzierten Zahl zurück",ceiling:"Rundet eine Zahl auf die nächste ganze Zahl oder auf das nächste Vielfache der Wertigkeit",floor:"Rundet eine Zahl ab, gegen Null",substitute:"Ersetzt alten Text in einer Textzeichenfolge durch neuen Text",replace:"Ersetzt Zeichen im Text",search:"Sucht einen Textwert innerhalb eines anderen (Groß- und Kleinschreibung wird nicht beachtet)",find:"Sucht einen Textwert in einem anderen (Groß-/Kleinschreibung beachten)",isnumber:"Gibt TRUE zurück, wenn der Wert eine Zahl ist",istext:"Gibt TRUE zurück, wenn der Wert Text ist",isblank:"Gibt TRUE zurück, wenn der Wert leer ist",upper:"Konvertiert Text in Großbuchstaben",lower:"Konvertiert Text in Kleinbuchstaben",product:"Multipliziert seine Argumente",sumproduct:"Gibt die Summe der Produkte der entsprechenden Array-Komponenten zurück",subtotal:"Gibt eine Zwischensumme in einer Liste oder Datenbank zurück",counta:"Zählt, wie viele Werte in der Liste der Argumente sind",averageif:"Gibt den Durchschnitt (arithmetisches Mittel) aller Zellen in einem Bereich zurück, die ein bestimmtes Kriterium erfüllen",averageifs:"Gibt den Durchschnitt (arithmetisches Mittel) aller Zellen zurück, die mehrere Kriterien erfüllen.",trim:"Entfernt Leerzeichen aus Text",sign:"Gibt das Vorzeichen einer Zahl zurück",yield:"Gibt die Rendite eines Wertpapiers zurück, das periodisch Zinsen zahlt",abs:"Gibt den Absolutwert einer Zahl zurück",sin:"Gibt den Sinus des angegebenen Winkels zurück",cos:"Gibt den Kosinus einer Zahl zurück",tan:"Gibt den Tangens einer Zahl zurück"},validation:{required:"es muss erforderlich sein",notMatch:"es entspricht nicht seinen Validierungsregeln",between:"Es liegt zwischen {} und {}",notBetween:"es liegt nicht zwischen {} und {}",notIn:"es ist nicht in der liste",equal:"es ist gleich {}",notEqual:"es ist nicht gleich {}",lessThan:"es ist kleiner als {}",lessThanEqual:"es ist kleiner oder gleich {}",greaterThan:"es ist größer als {}",greaterThanEqual:"es ist größer oder gleich {}",downloadImageFail:"Bild konnte nicht heruntergeladen werden",invalidcell:"Fehler in verknüpften Zellen",invalid:"ungültig"},error:{pasteForMergedCell:"Dieser Vorgang kann nicht für verbundene Zellen ausgeführt werden"},calendar:{weeks:["Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag"],months:["Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember"]},button:{add:"ergänzen",del:"löschen",next:"Nächste",cancel:"Stornieren",remove:"entfernen",save:"speichern",ok:"bestätigen",previous:"Vorherige",close:"Schließung"},sort:{desc:"Z->A sortieren",asc:"A->Z sortieren"},filter:{empty:"leer"},dataValidation:{mode:"Modell",range:"Zellbereich",criteria:"Standard",modeType:{cell:"Einzelzelle",column:"Spalte",row:"Linie"},type:{list:"Liste",number:"Ziffer",date:"Datum",phone:"Telefon",email:"Email"},operator:{be:"zwischen",nbe:"nicht zwischen",lt:"weniger als",lte:"Gleich oder kleiner als",gt:"mehr als die",gte:"größer als oder gleich wie",eq:"gleich",neq:"Nicht gleichzusetzen mit"}},dataSort:{ci:"Umfang",criteria:"Befehl",casesense:"Groß- und Kleinschreibung beachten",sortby:"Sortieren nach",header:"Titel",msg:"Bitte wählen Sie eine andere Spalte sortiert nach Feld",msg2:"Der Auswahlbereich hat einen zusammengeführten Bereich, wir unterstützen das Sortieren des zusammengeführten Bereichs nicht",order:{asc:"Positive Folge",desc:"umgekehrte Reihenfolge"}},dataSearch:{label:"Inhalt finden",lkinlb:"Suchbereich",matchwhole:"entspricht dem gesamten Inhalt",lookin:{values:"Text",formulas:"Formel",comments:"Anmerkung"}},dataComment:{label:"Anmerkung"},control:{min:"Mindestwert",max:"Höchstwert",cur:"Aktueller Wert",inc:"Inkrementelle Veränderung",page:"Seitenwechsel"}};function V(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return G(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var K=["zh","en"],Z={en:W,de:Y,nl:{toolbar:{undo:"herroepen",redo:"opnieuw doen",print:"Afdrukken",paintformat:"Formaat schilder",clearformat:"duidelijk formaat",format:"Data formaat",fontName:"lettertype naam",fontSize:"lettertypegrootte",fontBold:"Lettertype vetgedrukt",fontItalic:"lettertype cursief",underline:"onderstrepen",strike:"doorhalen",color:"tekst kleur",bgcolor:"opvulkleur",border:"kader",merge:"Cellen samenvoegen",unmerge:"cellen samenvoegen",align:"Horizontale uitlijning",valign:"verticale uitlijning",textwrap:"woordomslag",freeze:"vaste rangen",autofilter:"filter",formula:"formule",more:"Meer",sort:"Classificatie",download:"downloaden",pagination:"paging",search:"zoekopdracht",commentDefault:"voer a.u.b. tekst in",commentEdit:"opmerkingen bewerken",commentRemove:"opmerking verwijderen",commentPrevious:"Vorige opmerking",commentNext:"volgende opmerking",insertImage:"plaatje invoegen",insertTextBox:"Indsæt tekstboks",insertComboBox:"Insert Combo Box",insertCheckBox:"Indsæt afkrydsningsfelt",insertRadioButton:"Insert Option Button",insertSpinButton:"Insert Spin Button",insertScrollBar:"Insert Scroll Bar",insertLabel:"Insert Label"},menubar:{undo:"ongedaan maken",redo:"opnieuw doen",print:"Afdrukken",paintformat:"Formaat schilder",clearformat:"duidelijk formaat",format:"Data formaat",fontName:"Lettertype naam:",fontSize:"lettertypegrootte:",fontBold:"Lettertype vetgedrukt",fontItalic:"lettertype cursief",underline:"onderstrepen",strike:"doorhalen",color:"tekst kleur",bgcolor:"opvulkleur",border:"kader",merge:"Cellen samenvoegen",unmerge:"cellen samenvoegen",align:"Horizontale uitlijning",valign:"verticale uitlijning",textwrap:"woordomslag",freeze:"vaste rangen",autofilter:"filter",formula:"formule",more:"Meer",sort:"Classificatie",download:"downloaden",download_HTML:"Downloaden als HTML",download_PDF:"Downloaden als PDF",download_Original:"origineel downloaden",download_XLSX:"Downloaden als XLSX",download_GOOGLE:"Opslaan in Google Drive",download_DROPBOX:"Sla op in Dropbox",pagination:"paging",search:"zoekopdracht",commentDefault:"voer a.u.b. tekst in",insertSheet:"werkblad invoegen",insertRow:"rij invoegen",insertColumn:"kolom invoegen",link:"koppeling",insertComment:"Voeg commentaar toe",commentEdit:"opmerkingen bewerken",commentRemove:"opmerking verwijderen",commentPrevious:"Vorige opmerking",commentNext:"volgende opmerking",insertImage:"plaatje invoegen",insertControl:"styring",fromURL:"van URL",fromLocal:"van lokaal",menuInsert:"Optellen bij",menuComment:"Rekening",menuText:"Formaat",menuFont:"lettertype",menuEdit:"voorpagina",menuFile:"document"},contextmenu:{copy:"kopiëren",cut:"snijden",paste:"Plakken",pasteValue:"Plak alleen de waarde",pasteFormat:"Alleen opmaak plakken",hide:"verbergen",insertRow:"rij invoegen",insertColumn:"kolom invoegen",deleteSheet:"blad verwijderen",deleteRow:"Verwijder rij",deleteColumn:"kolom verwijderen",deleteCell:"cel verwijderen",deleteCellText:"celtekst verwijderen",validation:"gegevens verificatie",sort:"Classificatie",link:"koppeling",removeLink:"koppeling verwijderen",editLink:"koppeling bewerken",openLink:"open link",download:"downloaden",cellprintable:"export inschakelen",cellnonprintable:"export uitschakelen",celleditable:"bewerking inschakelen",cellnoneditable:"bewerking uitschakelen",insertURL:"Voer het afbeeldingsadres in",deleteImage:"foto verwijderen",copyImage:"foto kopiëren",pasteImage:"foto plakken",merge:"samenvoegen",unmerge:"ongedaan maken",edit:"bewerking",clear:"wissen"},link:{emailAddress:"E-mailen",emailSubject:"thema",sheetPage:"bestandslocatie",sheetCell:"celverwijzing",linkTypes:{web:"webpagina",sheet:"dit bestand",email:"E-mailen"},webUrl:"url",linkType:"koppelingstype"},download:{fileName:"bestandsnaam",saveType:"Opslaan als",saveTypes:{Original:"origineel formaat",XLSX:"XLSX-formaat",PDF:"PDF-formaat",HTML:"HTML-indeling"}},print:{setting:"instelling",orientation:"vægten",orientations:{landscape:"højtal",portrait:"portrait"},size:"størrelse",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"skaliert",scales:{noscale:"uden skaliert",fitsheet:"formueil skaliert",fitcolumns:"alle kolonner skaliert",fitrows:"alle råde skaliert"},order:"ordet",orders:{downover:"fremhæv for ned ved over ned",overdown:"fremhæv for ned ved ned hævn"},imageshow:"illustration",imageshows:{show:"vis",hide:"skjult"}},format:{normal:"normaal",text:"platte tekst",number:"nummer",percent:"percentage",rmb:"RMB",usd:"Dollar",eur:"EUR",date:"datum",time:"tijd",datetime:"datum Tijd",duration:"periode"},formula:{sum:"Berekent de som van een reeks waarden",average:"Berekent het rekenkundig gemiddelde van alle parameters",max:"Berekent de maximale waarde in een reeks cijfers",min:"Berekent de kleinste waarde in een reeks cijfers",_if:"Volgens het logische oordeel is het resultaat van de opgegeven voorwaarde waar of onwaar, retourneert u het berekeningsresultaat dat wordt geactiveerd door de overeenkomstige voorwaarde",and:'Het retourneert alleen logisch "true" als de resultaten van de parameters beide logisch "true" zijn, anders retourneert het logisch "false"',or:'Het resultaat wordt alleen als logisch "false" geretourneerd als alle parameterwaarden logisch "false" zijn, anders wordt het logisch "true" geretourneerd',concat:"Forbind tekst eller data med flere tegn i celler sammen",count:"tæller antallet af celler, der indeholder tal, og tæller tal inden for listen over argumenter",sumif:"Tilføjer de celler, der er specificeret af et givet kriterium",sumifs:"Tilføjer cellerne i et område, der opfylder flere kriterier",vlookup:"Ser i den første kolonne i en matrix og bevæger sig hen over rækken for at returnere værdien af en celle",hlookup:"Søger efter en værdi i den øverste række af en tabel eller en matrix af værdier og returnerer derefter en værdi i den samme kolonne fra en række, du angiver i tabellen eller matrixen.",lookup:"Søger værdier i en vektor eller et array",match:"Søger værdier i en reference eller et array",rank:"Gengiver rangeringen af et tal i en liste over tal",frequency:"Returnerer en frekvensfordeling som en vertikal matrix",text:"Formater et tal og konverterer det til tekst",left:"Returnerer tegnene længst til venstre fra en tekstværdi",right:"Returnerer tegnene længst til højre fra en tekstværdi",round:"Runder et tal til et bestemt antal cifre",index:"Bruger et indeks til at vælge en værdi fra en reference eller et array",countif:"Tæller antallet af celler inden for et område, der opfylder de givne kriterier",countifs:"Tæller antallet af celler inden for et område, der opfylder flere kriterier",mid:"Returnerer et bestemt antal tegn fra en tekststreng, der starter på den position, du angiver",len:"Returnerer antallet af tegn i en tekststreng",power:"Returnerer resultatet af et tal hævet til en potens",ceiling:"Runder et tal til det nærmeste heltal eller til det nærmeste multiplum af betydning",floor:"Runder et tal nedad mod nul",substitute:"Erstatter ny tekst med gammel tekst i en tekststreng",replace:"Erstatter tegn i tekst",search:"Finder en tekstværdi i en anden (ikke skelner mellem store og små bogstaver)",find:"Finder en tekstværdi i en anden (forskel på store og små bogstaver)",isnumber:"Returnerer SAND, hvis værdien er et tal",istext:"Returnerer TRUE, hvis værdien er tekst",isblank:"Returnerer SAND, hvis værdien er tom",upper:"Konverterer tekst til store bogstaver",lower:"Konverterer tekst til små bogstaver",product:"Multiplicerer sine argumenter",sumproduct:"Returnerer summen af produkterne af tilsvarende array-komponenter",subtotal:"Returnerer en subtotal i en liste eller database",counta:"Tæller, hvor mange værdier der er på listen over argumenter",averageif:"Returnerer gennemsnittet (aritmetisk middelværdi) af alle celler i et område, der opfylder et givet kriterium",averageifs:"Returnerer gennemsnittet (aritmetisk middelværdi) af alle celler, der opfylder flere kriterier.",trim:"Fjerner mellemrum fra tekst",sign:"Returnerer tegnet på et tal",yield:"Gengiver afkastet på et værdipapir, der betaler periodisk rente",abs:"Returnerer den absolutte værdi af et tal",sin:"Returnerer sinus for den givne vinkel",cos:"Returnerer cosinus af et tal",tan:"Returnerer tangens af et tal"},validation:{required:"het moet verplicht zijn",notMatch:"het komt niet overeen met de validatieregels",between:"Het is tussen {} en {}",notBetween:"het is niet tussen {} en {}",notIn:"het staat niet in de lijst",equal:"het is gelijk aan {}",notEqual:"het is niet gelijk aan {}",lessThan:"het is minder dan {}",lessThanEqual:"het is kleiner dan of gelijk aan {}",greaterThan:"het is groter dan {}",greaterThanEqual:"het is groter dan of gelijk aan {}",downloadImageFail:"Kan de afbeelding niet downloaden",invalidcell:"Fejl i sammenkædede celler",invalid:"ugyldig"},error:{pasteForMergedCell:"Kan deze bewerking niet uitvoeren op samengevoegde cellen"},calendar:{weeks:["Zondag maandag dinsdag woensdag donderdag vrijdag zaterdag"],months:["Januari, februari, maart, april, mei, juni, juli, augustus, september, oktober, november, december"]},button:{add:"Optellen bij",del:"verwijderen",next:"Volgende",cancel:"Annuleren",remove:"verwijderen",save:"redden ",ok:"bevestigen",previous:"Vorig",close:"sluiting"},sort:{desc:"Sorteer Z->A",asc:"Sorteer A->Z"},filter:{empty:"leeg"},dataValidation:{mode:"model",range:"cel bereik",criteria:"standaard",modeType:{cell:"eencellig",column:"kolom",row:"lijn"},type:{list:"lijst",number:"cijfer",date:"datum",phone:"Telefoon",email:"e-mailen"},operator:{be:"tussen",nbe:"niet tussen",lt:"minder dan",lte:"minder dan of gelijk aan",gt:"meer dan de",gte:"groter dan of gelijk aan",eq:"gelijkwaardig",neq:"niet gelijk aan"}},dataSort:{ci:"domein",criteria:"volgorde",casesense:"hoofdlettergevoelig",sortby:"sorteer op",header:"titel",msg:"Kies een andere kolom gesorteerd op veld",msg2:"Het selectiegebied heeft een samengevoegd gebied, we ondersteunen het sorteren van het samengevoegde gebied niet",order:{asc:"Positieve volgorde",desc:"omgekeerde volgorde"}},dataSearch:{label:"inhoud vinden",lkinlb:"zoek bereik",matchwhole:"komt overeen met de volledige inhoud",lookin:{values:"tekst",formulas:"formule",comments:"annotatie"}},dataComment:{label:"annotatie"},control:{min:"Minimumwaarde",max:"Maximumwaarde",cur:"Huidige waarde",inc:"Incrementele verandering",page:"Pagina wijzigen"}},zh:{toolbar:{undo:"撤消",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"数据格式",fontName:"字体名称",fontSize:"字体大小",fontBold:"字体粗体",fontItalic:"字体斜体",underline:"下划线",strike:"删除线",color:"文字颜色",bgcolor:"填充颜色",border:"边框",merge:"合并单元格",unmerge:"取消合并单元格",align:"水平对齐",valign:"垂直对齐",textwrap:"文字换行",freeze:"固定行列",autofilter:"过滤器",formula:"公式",more:"更多",sort:"分类",download:"下载",pagination:"分页",search:"搜索",commentDefault:"请输入文字",commentEdit:"编辑批注",commentRemove:"删除批注",commentPrevious:"上一条批注",commentNext:"下一条批注",insertImage:"插入图片",insertTextBox:"插入文本框",insertComboBox:"插入下拉框",insertCheckBox:"插入复选框",insertRadioButton:"插入单选框",insertSpinButton:"插入增减按钮",insertScrollBar:"插入滚动条",insertLabel:"插入标签"},menubar:{undo:"撤消",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"数据格式",fontName:"字体名称:",fontSize:"字体大小:",fontBold:"字体粗体",fontItalic:"字体斜体",underline:"下划线",strike:"删除线",color:"文字颜色",bgcolor:"填充颜色",border:"边框",merge:"合并单元格",unmerge:"取消合并单元格",align:"水平对齐",valign:"垂直对齐",textwrap:"文字换行",freeze:"固定行列",autofilter:"过滤器",formula:"公式",more:"更多",sort:"分类",download:"下载",download_HTML:"下载为HTML",download_PDF:"下载为PDF",download_Original:"下载原件",download_XLSX:"下载为XLSX",download_GOOGLE:"保存至GoogleDrive",download_DROPBOX:"保存至Dropbox",pagination:"分页",search:"搜索",commentDefault:"请输入文字",insertSheet:"插入工作表",insertRow:"插入行",insertColumn:"插入列",link:"连接",insertComment:"添加批注",commentEdit:"编辑批注",commentRemove:"删除批注",commentPrevious:"上一条批注",commentNext:"下一条批注",insertImage:"插入图片",insertControl:"控件",fromURL:"来自URL",fromLocal:"来自本地",menuInsert:"添加",menuComment:"查看",menuText:"格式",menuFont:"字体",menuEdit:"首页",menuFile:"文件"},contextmenu:{copy:"复制",cut:"剪切",paste:"粘贴",pasteValue:"仅粘贴值",pasteFormat:"仅粘贴格式",hide:"隐藏",insertRow:"插入行",insertColumn:"插入列",deleteSheet:"删去工作表",deleteRow:"删除行",deleteColumn:"删除列",deleteCell:"删除储存格",deleteCellText:"删除储存格文字",validation:"数据验证",sort:"分类",link:"连接",removeLink:"删除连接",editLink:"编辑连接",openLink:"打开连接",download:"下载",cellprintable:"启用导出",cellnonprintable:"禁用导出",celleditable:"启用编辑",cellnoneditable:"禁用编辑",insertURL:"输入图像地址",deleteImage:"删除图片",copyImage:"复制图片",pasteImage:"粘贴图片",merge:"合并",unmerge:"取消合并",edit:"编辑",clear:"清除"},link:{emailAddress:"电子邮箱",emailSubject:"主题",sheetPage:"档案位置",sheetCell:"储存格引用",linkTypes:{web:"网页",sheet:"本档案",email:"电子邮箱"},webUrl:"网址",linkType:"连接类型"},download:{fileName:"文档名称",saveType:"另存为",saveTypes:{Original:"原格式",XLSX:"XLSX格式",PDF:"PDF格式",HTML:"HTML格式"}},print:{setting:"设置",orientation:"页面方向",orientations:{landscape:"横向",portrait:"纵向"},size:"纸张尺寸",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"比例",scales:{noscale:"无缩放",fitsheet:"单页适应表格",fitcolumns:"单页适应所有列",fitrows:"单页适应所有行"},order:"顺序",orders:{downover:"先向下再向右",overdown:"先向右再向下"},imageshow:"图片",imageshows:{show:"显示",hide:"隐藏"}},format:{normal:"普通",text:"纯文字",number:"数字",percent:"百分比",rmb:"人民币",usd:"美元",eur:"欧元",date:"日期",time:"时间",datetime:"日期时间",duration:"期间"},formula:{sum:"计算一组值的总和",average:"计算所有参数的算术平均值",max:"计算一组数位中的最大值",min:"计算一组数位中的最小值",_if:"根据指定条件的逻辑判断结果的真或假,返回相应条件触发的计算结果",and:"只有当参数的结果都是逻辑“true”时,它才会返回逻辑“true”,否则返回逻辑“false”",or:"只有当所有参数值在逻辑上都为“false”时,结果才返回为逻辑“false”,否则返回为逻辑上的“true”",concat:"将单元格中的多个字符文本或数据连接在一起",count:"计算包含数字的单元格数量,并计算参数列表中的数字",sumif:"添加给定条件指定的单元格",sumifs:"添加满足多个条件的范围内的单元格",vlookup:"查看数组的第一列并跨行移动以返回单元格的值",hlookup:"在表的第一行或值数组中搜索一个值,然后从您在表或数组中指定的行的同一列中返回一个值",lookup:"在向量或数组中查找值",match:"在引用或数组中查找值",rank:"返回一个数字在数字列表中的排名",frequency:"以垂直数组形式返回频率分布",text:"格式化数字并将其转换为文本",left:"返回文本值最左边的字符",right:"返回文本值中最右边的字符",round:"将数字四舍五入到指定位数",index:"使用索引从引用或数组中选择一个值",countif:"计算范围内满足给定条件的单元格数",countifs:"计算范围内满足多个条件的单元格数",mid:"从指定位置开始的文本字符串中返回特定数量的字符",len:"返回文本字符串中的字符数",power:"返回一个数的幂的结果",ceiling:"将数字四舍五入到最接近的整数或最接近的有效倍数",floor:"将数字向下舍入为零",substitute:"用新文本替换文本字符串中的旧文本",replace:"替换文本中的字符",search:"在另一个文本值中查找一个文本值(不区分大小写)",find:"在一个文本值中查找另一个文本值(区分大小写)",isnumber:"如果值为数字则返回 TRUE",istext:"如果值为文本则返回 TRUE",isblank:"如果值为空则返回 TRUE",upper:"将文本转换为大写",lower:"将文本转换为小写",product:"乘以它的论点",sumproduct:"返回对应数组元素的乘积之和",subtotal:"返回列表或数据库中的小计",counta:"计算参数列表中有多少个值",averageif:"返回范围内满足给定条件的所有单元格的平均值(算术平均值)",averageifs:"返回满足多个条件的所有单元格的平均值(算术平均值)。",trim:"从文本中删除空格",sign:"返回数字的符号",yield:"返回支付定期利息的证券的收益率",abs:"返回数字的绝对值",sin:"返回给定角度的正弦值",cos:"返回数字的余弦值",tan:"返回数字的正切"},validation:{required:"它必须是必需的",notMatch:"它与其验证规则不匹配",between:"它介于{}和{}之间",notBetween:"它不在{}和{}之间",notIn:"它不在清单中",equal:"它等于{}",notEqual:"它不等于{}",lessThan:"它小于{}",lessThanEqual:"它小于或等于{}",greaterThan:"它大于{}",greaterThanEqual:"它大于或等于{}",downloadImageFail:"下载图像失败",invalidcell:" 链接的单元格有误",invalid:"无效"},error:{pasteForMergedCell:"无法对合并的储存格执行此操作"},calendar:{weeks:["周日、周一、周二、周三、周四、周五、周六"],months:["一月、二月、三月、四月、五月、六月、七月、八月、九月、十月、十一月、十二月"]},button:{add:"添加",del:"删除",next:"下一个",cancel:"取消",remove:"去除",save:"保存",ok:"确认",previous:"前一个",close:"关闭"},sort:{desc:"排序Z->A",asc:"排序A->Z"},filter:{empty:"空的"},dataValidation:{mode:"模式",range:"储存格范围",criteria:"标准",modeType:{cell:"单间牢房",column:"柱",row:"一行"},type:{list:"清单",number:"数位",date:"日期",phone:"电话",email:"电子邮件"},operator:{be:"之间",nbe:"不介于",lt:"少于",lte:"小于或等于",gt:"大于",gte:"大于或等于",eq:"等于",neq:"不等于"}},dataSort:{ci:"范围",criteria:"顺序",casesense:"区分大小写",sortby:"排序依据",header:"标题",msg:"请选择按字段排序的不同列",msg2:"选择区域有合并区域,我们不支持对合并区域进行排序",order:{asc:"正序",desc:"逆序"}},dataSearch:{label:"查找内容",lkinlb:"查找范围",matchwhole:"匹配整个内容",lookin:{values:"文本",formulas:"公式",comments:"批注"}},dataComment:{label:"批注"},control:{min:"最小值",max:"最大值",cur:"当前值",inc:"增量更改",page:"页面更改"}},ru:{toolbar:{undo:"отозвать",redo:"переделывать",print:"Распечатать",paintformat:"Формат Painter",clearformat:"чистый формат",format:"Формат данных",fontName:"имя шрифта",fontSize:"размер шрифта",fontBold:"шрифт полужирный",fontItalic:"курсив",underline:"подчеркнуть",strike:"зачеркнутый",color:"цвет текста",bgcolor:"Цвет заливки",border:"рамка",merge:"Объединить ячейки",unmerge:"разъединить ячейки",align:"Горизонтальное выравнивание",valign:"вертикальное выравнивание",textwrap:"перенос слова",freeze:"фиксированные ранги",autofilter:"фильтр",formula:"формула",more:"Более",sort:"Классификация",download:"скачать",pagination:"пейджинг",search:"поиск",commentDefault:"пожалуйста, введите текст",commentEdit:"редактировать комментарии",commentRemove:"удалить комментарий",commentPrevious:"Предыдущий комментарий",commentNext:"следующий комментарий",insertImage:"вставить картинку",InsertTextBox:"Вставить текстовое поле",InsertComboBox:"Вставить поле со списком",InsertCheckBox:"Вставить флажок",InsertRadioButton:"Вставить кнопку выбора",InsertSpinButton:"Вставить кнопку прокрутки",InsertScrollBar:"Вставить полосу прокрутки",InsertLabel:"Вставить метку"},menubar:{undo:"отменить",redo:"переделывать",print:"Распечатать",paintformat:"Формат Painter",clearformat:"чистый формат",format:"Формат данных",fontName:"Название шрифта:",fontSize:"размер шрифта:",fontBold:"шрифт полужирный",fontItalic:"курсив",underline:"подчеркнуть",strike:"зачеркнутый",color:"цвет текста",bgcolor:"Цвет заливки",border:"рамка",merge:"Объединить ячейки",unmerge:"разъединить ячейки",align:"Горизонтальное выравнивание",valign:"вертикальное выравнивание",textwrap:"перенос слова",freeze:"фиксированные ранги",autofilter:"фильтр",formula:"формула",more:"Более",sort:"Классификация",download:"скачать",download_HTML:"Скачать как HTML",download_PDF:"Скачать в формате PDF",download_Original:"скачать оригинал",download_XLSX:"Скачать как XLSX",download_GOOGLE:"Сохранить на Google Диск",download_DROPBOX:"Сохранить в Dropbox",pagination:"пейджинг",search:"поиск",commentDefault:"пожалуйста, введите текст",insertSheet:"вставить рабочий лист",insertRow:"вставить строку",insertColumn:"вставить столбец",link:"связь",insertComment:"добавить комментарий",commentEdit:"редактировать комментарии",commentRemove:"удалить комментарий",commentPrevious:"Предыдущий комментарий",commentNext:"следующий комментарий",insertImage:"вставить картинку",insertControl:"контроль",fromURL:"из URL",fromLocal:"от местного",menuInsert:"добавить в",menuComment:"Проверять",menuText:"Формат",menuFont:"шрифт",menuEdit:"титульная страница",menuFile:"документ"},contextmenu:{copy:"копировать",cut:"вырезать",paste:"вставить",pasteValue:"Вставьте только значение",pasteFormat:"Вставить только форматирование",hide:"скрывать",insertRow:"вставить строку",insertColumn:"вставить столбец",deleteSheet:"удалить лист",deleteRow:"удалить строку",deleteColumn:"удалить столбец",deleteCell:"удалить ячейку",deleteCellText:"удалить текст ячейки",validation:"проверка данных",sort:"Классификация",link:"связь",removeLink:"удалить ссылку",editLink:"изменить ссылку",openLink:"открыть ссылку",download:"скачать",cellprintable:"включить экспорт",cellnonprintable:"отключить экспорт",celleditable:"разрешить редактирование",cellnoneditable:"отключить редактирование",insertURL:"Введите адрес изображения",deleteImage:"удалить картинку",copyImage:"копировать картинку",pasteImage:"вставить картинку",merge:"сливаться",unmerge:"разъединять",edit:"редактировать",clear:"очистить"},link:{emailAddress:"Электронная почта",emailSubject:"тема",sheetPage:"местоположение файла",sheetCell:"ссылка на ячейку",linkTypes:{web:"веб-страница",sheet:"этот файл",email:"Электронная почта"},webUrl:"URL",linkType:"тип ссылки"},download:{fileName:"имя файла",saveType:"Сохранить как",saveTypes:{Original:"исходный формат",XLSX:"XLSX-формат",PDF:"PDF-формат",HTML:"HTML-формат"}},print:{setting:"основная настройка",orientation:"горизонтальное подстояние",orientations:{landscape:"сторонаруженная по горизонталю",portrait:"сторонаруженная по портретах"},size:"размер",sizes:{A3:"А3",A4:"А4",A5:"А5",B4:"B4",B5:"B5"},scale:"скорость",scales:{noscale:"без скорости",fitsheet:"строительное расширение таблицы",fitcolumns:"строительное расширение кластеров",fitrows:"строительное расширение строк"},order:"порядок",orders:{downover:"перетащивать по вершине за вершину далее",overdown:"перетащивать по вершину назад"},imageshow:"экран",imageshows:{show:"раскрыть",hide:"скрыть"}},format:{normal:"обычный",text:"простой текст",number:"число",percent:"процент",rmb:"юаней",usd:"доллар",eur:"евро",date:"дата",time:"время",datetime:"дата время",duration:"период"},formula:{sum:"Вычисляет сумму набора значений",average:"Вычисляет среднее арифметическое всех параметров",max:"Вычисляет максимальное значение в наборе цифр",min:"Вычисляет наименьшее значение в наборе цифр",_if:"Согласно логическому заключению, результат указанного условия является истинным или ложным, вернуть результат вычисления, вызванный соответствующим условием.",and:"Он возвращает логическое «истина» только в том случае, если результаты обоих параметров являются логическими «истинами», в противном случае он возвращает логическое «ложь».",or:"Результат возвращается как логическое «ложь», только если все значения параметров являются логически «ложными», в противном случае возвращается логическое «истина».",concat:"Conecte vários caracteres de texto ou dados em células juntos",count:"conta o número de células que contêm números e conta os números dentro da lista de argumentos",sumif:"Adiciona as células especificadas por um determinado critério",sumifs:"Adiciona as células em um intervalo que atendem a vários critérios",vlookup:"Olha na primeira coluna de uma matriz e move-se pela linha para retornar o valor de uma célula",hlookup:"Procura um valor na linha superior de uma tabela ou uma matriz de valores e, em seguida, retorna um valor na mesma coluna de uma linha especificada na tabela ou matriz.",lookup:"Procura valores em um vetor ou array",match:"Procura valores em uma referência ou array",rank:"Retorna a classificação de um número em uma lista de números",frequency:"Retorna uma distribuição de frequência como uma matriz vertical",text:"Formata um número e o converte em texto",left:"Retorna os caracteres mais à esquerda de um valor de texto",right:"Retorna os caracteres mais à direita de um valor de texto",round:"Arredonda um número para um número especificado de dígitos",index:"Usa um índice para escolher um valor de uma referência ou array",countif:"Conta o número de células dentro de um intervalo que atendem aos critérios fornecidos",countifs:"Conta o número de células dentro de um intervalo que atendem a vários critérios",mid:"Retorna um número específico de caracteres de uma string de texto começando na posição que você especificar",len:"Retorna o número de caracteres em uma string de texto",power:"Retorna o resultado de um número elevado a uma potência",ceiling:"Arredonda um número para o inteiro mais próximo ou para o múltiplo de significância mais próximo",floor:"Arredonda um número para baixo, para zero",substitute:"Substitui o novo texto pelo texto antigo em uma string de texto",replace:"Substitui caracteres no texto",search:"Encontra um valor de texto dentro de outro (sem distinção entre maiúsculas e minúsculas)",find:"Encontra um valor de texto dentro de outro (diferencia maiúsculas de minúsculas)",isnumber:"Retorna TRUE se o valor for um número",istext:"Retorna TRUE se o valor for texto",isblank:"Retorna TRUE se o valor estiver em branco",upper:"Converte o texto em letras maiúsculas",lower:"Converte o texto em minúsculas",product:"Multiplica seus argumentos",sumproduct:"Retorna a soma dos produtos dos componentes do array correspondente",subtotal:"Retorna um subtotal em uma lista ou banco de dados",counta:"Conta quantos valores estão na lista de argumentos",averageif:"Retorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério",averageifs:"Retorna a média (média aritmética) de todas as células que atendem a vários critérios.",trim:"Remove espaços do texto",sign:"Retorna o sinal de um número",yield:"Retorna o rendimento de um título que paga juros periódicos",abs:"Retorna o valor absoluto de um número",sin:"Retorna o seno do ângulo dado",cos:"Retorna o cosseno de um número",tan:"Retorna a tangente de um número"},validation:{required:"это должно быть необходимо",notMatch:"это не соответствует его правилам проверки",between:"Это между {} и {}",notBetween:"это не между {} и {}",notIn:"его нет в списке",equal:"он равен {}",notEqual:"это не равно {}",lessThan:"это меньше, чем {}",lessThanEqual:"меньше или равно {}",greaterThan:"это больше, чем {}",greaterThanEqual:"это больше или равно {}",downloadImageFail:"Не удалось загрузить изображение",invalidcell:" Ошибка ссылки на ячейки ",invalid:"Неверный "},error:{pasteForMergedCell:"Невозможно выполнить эту операцию с объединенными ячейками"},calendar:{weeks:["Воскресенье понедельник вторник среда четверг пятница суббота"],months:["Январь, февраль, март, апрель, май, июнь, июль, август, сентябрь, октябрь, ноябрь, декабрь"]},button:{add:"добавить в",del:"удалить",next:"Следующий",cancel:"Отмена",remove:"удалять",save:"сохранять",ok:"подтверждать",previous:"Предыдущий",close:"закрытие"},sort:{desc:"Сортировать Я->А",asc:"Сортировать А->Я"},filter:{empty:"пустой"},dataValidation:{mode:"модель",range:"диапазон ячеек",criteria:"стандартный",modeType:{cell:"одна ячейка",column:"столбец",row:"линия"},type:{list:"список",number:"цифра",date:"дата",phone:"телефон",email:"электронная почта"},operator:{be:"между",nbe:"не между",lt:"меньше, чем",lte:"меньше или равно",gt:"больше, чем",gte:"больше или равно",eq:"равный",neq:"не равно"}},dataSort:{ci:"объем",criteria:"заказ",casesense:"с учетом регистра",sortby:"Сортировать по",header:"заголовок",msg:"Пожалуйста, выберите другой столбец, отсортированный по полю",msg2:"Область выбора имеет объединенную область, мы не поддерживаем сортировку объединенной области",order:{asc:"Положительная последовательность",desc:"обратный порядок"}},dataSearch:{label:"найти контент",lkinlb:"диапазон поиска",matchwhole:"соответствует всему содержимому",lookin:{values:"текст",formulas:"формула",comments:"аннотация"}},dataComment:{label:"аннотация"},control:{min:"Минимальное значение",max:"Максимальное значение",cur:"Текущее значение",inc:"Дополнительные изменения",page:"Изменить страницу"}},es:{toolbar:{undo:"revocar",redo:"rehacer",print:"Imprimir",paintformat:"Copiar formato",clearformat:"formato claro",format:"Formato de datos",fontName:"nombre de la fuente",fontSize:"tamaño de fuente",fontBold:"negrita",fontItalic:"letra cursiva",underline:"subrayar",strike:"tachado",color:"color de texto",bgcolor:"color de relleno",border:"marco",merge:"Combinar células",unmerge:"separar celdas",align:"Alineación horizontal",valign:"alineamiento vertical",textwrap:"ajuste de línea",freeze:"rangos fijos",autofilter:"filtrar",formula:"fórmula",more:"Más",sort:"Clasificación",download:"descargar",pagination:"paginación",search:"buscar",commentDefault:"por favor ingrese texto",commentEdit:"editar comentarios",commentRemove:"Eliminar comentario",commentPrevious:"comentario anterior",commentNext:"siguiente comentario",insertImage:"Insertar imagen",insertTextBox:"Insertar cuadro de texto",insertComboBox:"Insertar cuadro combinado",insertCheckBox:"Insertar casilla de verificación",insertRadioButton:"Insertar botón de opción",insertSpinButton:"Insertar botón de giro",insertScrollBar:"Insertar barra de desplazamiento",insertLabel:"Insertar etiqueta"},menubar:{undo:"deshacer",redo:"rehacer",print:"Imprimir",paintformat:"Copiar formato",clearformat:"formato claro",format:"Formato de datos",fontName:"Nombre de la fuente:",fontSize:"tamaño de fuente:",fontBold:"negrita",fontItalic:"letra cursiva",underline:"subrayar",strike:"tachado",color:"color de texto",bgcolor:"color de relleno",border:"marco",merge:"Combinar células",unmerge:"separar celdas",align:"Alineación horizontal",valign:"alineamiento vertical",textwrap:"ajuste de línea",freeze:"rangos fijos",autofilter:"filtrar",formula:"fórmula",more:"Más",sort:"Clasificación",download:"Descargar",download_HTML:"Descargar como HTML",download_PDF:"Descargar como PDF",download_Original:"Descargar originales",download_XLSX:"Descargar como XLSX",download_GOOGLE:"Guardar en Google Drive",download_DROPBOX:"Guardar en dropbox",pagination:"paginación",search:"buscar",commentDefault:"por favor ingrese texto",insertSheet:"insertar hoja de trabajo",insertRow:"insertar fila",insertColumn:"insertar columna",link:"enlace",insertComment:"agregar comentario",commentEdit:"editar comentarios",commentRemove:"Eliminar comentario",commentPrevious:"comentario anterior",commentNext:"siguiente comentario",insertImage:"Insertar imagen",insertControl:"Control",fromURL:"de URL",fromLocal:"del local",menuInsert:"añadir",menuComment:"Controlar",menuText:"Formato",menuFont:"fuente",menuEdit:"página delantera",menuFile:"documento"},contextmenu:{copy:"Copiar",cut:"cortar",paste:"pegar",pasteValue:"Pegar solo el valor",pasteFormat:"Pegar solo formato",hide:"esconder",insertRow:"insertar fila",insertColumn:"insertar columna",deleteSheet:"borrar hoja",deleteRow:"borrar fila",deleteColumn:"eliminar columna",deleteCell:"borrar celda",deleteCellText:"eliminar texto de celda",validation:"verificación de datos",sort:"Clasificación",link:"enlace",removeLink:"eliminar enlace",editLink:"editar enlace",openLink:"enlace abierto",download:"descargar",cellprintable:"habilitar exportar",cellnonprintable:"deshabilitar la exportación",celleditable:"permitir la edición",cellnoneditable:"deshabilitar la edición",insertURL:"Ingrese la dirección de la imagen",deleteImage:"borrar imagen",copyImage:"copiar foto",pasteImage:"pegar foto",merge:"unir",unmerge:"desunir",edit:"editar",clear:"limpiar"},link:{emailAddress:"Correo electrónico",emailSubject:"tema",sheetPage:"ubicación del archivo",sheetCell:"referencia de celda",linkTypes:{web:"Página web",sheet:"Este archivo",email:"Correo electrónico"},webUrl:"URL",linkType:"Tipo de enlace"},download:{fileName:"Nombre del archivo",saveType:"Guardar como",saveTypes:{Original:"formato original",XLSX:"formato XLSX",PDF:"formato PDF",HTML:"formato HTML"}},print:{setting:"Configuración",orientation:"Orientación del papel",orientations:{landscape:"Landscape",portrait:"Portrait"},size:"Tamaño de papel",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Scale",scales:{noscale:"Sin ajuste",fitsheet:"Adaptable al tablón de una página",fitcolumns:"Adaptable a todos los columnas de una página",fitrows:"Adaptable a todos los filas de una página"},order:"Orden",orders:{downover:"Primero bajar y siguiente a la derecha",overdown:"Primero a la derecha y luego bajar"},imageshow:"Imagen",imageshows:{show:"Mostrar",hide:"Ocultar"}},format:{normal:"común",text:"Texto sin formato",number:"número",percent:"porcentaje",rmb:"RMB",usd:"Dólar",eur:"EUR",date:"fecha",time:"tiempo",datetime:"fecha y hora",duration:"período"},formula:{sum:"Calcula la suma de un conjunto de valores",average:"Calcula la media aritmética de todos los parámetros",max:"Calcula el valor máximo en un conjunto de dígitos",min:"Calcula el valor más pequeño en un conjunto de dígitos",_if:"Según el resultado del juicio lógico de la condición especificada es verdadero o falso, devuelva el resultado del cálculo desencadenado por la condición correspondiente",and:'Devuelve "verdadero" lógico solo si los resultados de los parámetros son ambos "verdaderos" lógicos; de lo contrario, devuelve "falso" lógico',or:'El resultado se devuelve como lógico "falso" solo si todos los valores de los parámetros son lógicamente "falsos", de lo contrario, devuelve lógicamente "verdadero".',concat:"Conectar texto de varios caracteres o datos en celdas juntos",count:"cuenta el número de celdas que contienen números y cuenta los números dentro de la lista de argumentos",sumif:"Agrega las celdas especificadas por un criterio dado",sumifs:"Agrega las celdas en un rango que cumple con múltiples criterios",vlookup:"Busca en la primera columna de una matriz y se mueve por la fila para devolver el valor de una celda",hlookup:"Busca un valor en la fila superior de una tabla o una matriz de valores, y luego devuelve un valor en la misma columna de una fila que especifique en la tabla o matriz.",lookup:"Busca valores en un vector o matriz",match:"Busca valores en una referencia o matriz",rank:"Devuelve el rango de un número en una lista de números",frequency:"Devuelve una distribución de frecuencias como una matriz vertical",text:"Dar formato a un número y convertirlo en texto",left:"Devuelve los caracteres más a la izquierda de un valor de texto",right:"Devuelve los caracteres más a la derecha de un valor de texto",round:"Redondea un número a un número específico de dígitos",index:"Usa un índice para elegir un valor de una referencia o matriz",countif:"Cuenta el número de celdas dentro de un rango que cumple con los criterios dados",countifs:"Cuenta el número de celdas dentro de un rango que cumplen múltiples criterios",mid:"Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que especifique",len:"Devuelve el número de caracteres en una cadena de texto",power:"Devuelve el resultado de un número elevado a una potencia",ceiling:"Redondea un número al entero más cercano o al múltiplo significativo más cercano",floor:"Redondea un número hacia abajo, hacia cero",substitute:"Sustituye texto nuevo por texto antiguo en una cadena de texto",replace:"Reemplaza caracteres dentro del texto",search:"Encuentra un valor de texto dentro de otro (no distingue entre mayúsculas y minúsculas)",find:"Encuentra un valor de texto dentro de otro (distingue entre mayúsculas y minúsculas)",isnumber:"Devuelve VERDADERO si el valor es un número",istext:"Devuelve VERDADERO si el valor es texto",isblank:"Devuelve VERDADERO si el valor está en blanco",upper:"Convierte texto a mayúsculas",lower:"Convierte texto a minúsculas",product:"Multiplica sus argumentos",sumproduct:"Devuelve la suma de los productos de los componentes de matriz correspondientes",subtotal:"Devuelve un subtotal en una lista o base de datos",counta:"Cuenta cuántos valores hay en la lista de argumentos",averageif:"Devuelve el promedio (media aritmética) de todas las celdas en un rango que cumplen con un criterio dado",averageifs:"Devuelve el promedio (media aritmética) de todas las celdas que cumplen varios criterios.",trim:"Quita espacios del texto",sign:"Devuelve el signo de un número",yield:"Devuelve el rendimiento de un valor que paga intereses periódicos",abs:"Devuelve el valor absoluto de un número",sin:"Devuelve el seno del ángulo dado",cos:"Devuelve el coseno de un número",tan:"Devuelve la tangente de un número"},validation:{required:"debe ser requerido",notMatch:"no coincide con sus reglas de validación",between:"Está entre {} y {}",notBetween:"no está entre {} y {}",notIn:"no esta en la lista",equal:"es igual a {}",notEqual:"no es igual a {}",lessThan:"es menos que {}",lessThanEqual:"es menor o igual que {}",greaterThan:"es mayor que {}",greaterThanEqual:"es mayor o igual que {}",downloadImageFail:"Error al descargar la imagen",invalidcell:"La celda enlazada es incorrecta",invalid:"Inválido"},error:{pasteForMergedCell:"No se puede realizar esta operación en celdas combinadas"},calendar:{weeks:["Domingo Lunes Martes Miércoles Jueves Viernes Sábado"],months:["Enero, febrero, marzo, abril, mayo, junio, julio, agosto, septiembre, octubre, noviembre, diciembre"]},button:{add:"añadir",del:"borrar",next:"Próximo",cancel:"Cancelar",remove:"eliminar",save:"ahorrar",ok:"confirmar",previous:"Anterior",close:"cierre"},sort:{desc:"Ordenar Z->A",asc:"Ordenar A->Z"},filter:{empty:"vacío"},dataValidation:{mode:"modelo",range:"rango de celdas",criteria:"estándar",modeType:{cell:"unicelular",column:"columna",row:"línea"},type:{list:"lista",number:"dígito",date:"fecha",phone:"Teléfono",email:"correo electrónico"},operator:{be:"entre",nbe:"no entre",lt:"menos que",lte:"Menos que o igual a",gt:"más que el",gte:"Mayor qué o igual a",eq:"igual",neq:"no igual a"}},dataSort:{ci:"alcance",criteria:"orden",casesense:"distingue mayúsculas y minúsculas",sortby:"Ordenar por",header:"título",msg:"Elija una columna diferente ordenada por campo",msg2:"El área de selección tiene un área fusionada, no admitimos ordenar el área fusionada",order:{asc:"secuencia positiva",desc:"orden inverso"}},dataSearch:{label:"encontrar contenido",lkinlb:"rango de búsqueda",matchwhole:"coincide con todo el contenido",lookin:{values:"texto",formulas:"fórmula",comments:"anotación"}},dataComment:{label:"anotación"},control:{min:"Valor mínimo",max:"Valor máximo",cur:"Valor actual",inc:"Cambios incrementales",page:"Cambios de página"}},pt:{toolbar:{undo:"revogar",redo:"refazer",print:"Imprimir",paintformat:"Pincel de Formatação",clearformat:"formato claro",format:"Formato de dados",fontName:"nome da fonte",fontSize:"tamanho da fonte",fontBold:"Negrito",fontItalic:"fonte em itálico",underline:"sublinhado",strike:"tachado",color:"cor do texto",bgcolor:"cor de preenchimento",border:"quadro",merge:"Mesclar Células",unmerge:"unmerge células",align:"Alinhamento horizontal",valign:"Alinhamento vertical",textwrap:"quebra de linha",freeze:"fileiras fixas",autofilter:"filtro",formula:"Fórmula",more:"Mais",sort:"Classificação",download:"download",pagination:"paginação",search:"procurar",commentDefault:"por favor digite o texto",commentEdit:"editar comentários",commentRemove:"excluir comentário",commentPrevious:"comentário anterior",commentNext:"próximo comentário",insertImage:"inserir imagem",insertTextBox:"Inserir caixa de texto",insertComboBox:"Inserir caixa de combinação",insertCheckBox:"Inserir caixa de seleção",insertRadioButton:"Inserir botão de opção",insertSpinButton:"Inserir botão de rotação",insertScrollBar:"Inserir barra de rolagem",insertLabel:"Inserir etiqueta"},menubar:{undo:"desfazer",redo:"refazer",print:"Imprimir",paintformat:"Pincel de Formatação",clearformat:"formato claro",format:"Formato de dados",fontName:"Nome da fonte:",fontSize:"tamanho da fonte:",fontBold:"Negrito",fontItalic:"fonte em itálico",underline:"sublinhado",strike:"tachado",color:"cor do texto",bgcolor:"cor de preenchimento",border:"quadro",merge:"Mesclar Células",unmerge:"unmerge células",align:"Alinhamento horizontal",valign:"Alinhamento vertical",textwrap:"quebra de linha",freeze:"fileiras fixas",autofilter:"filtro",formula:"Fórmula",more:"Mais",sort:"Classificação",download:"download",download_HTML:"Baixar como HTML",download_PDF:"Baixar como PDF",download_Original:"baixar original",download_XLSX:"Baixar como XLSX",download_GOOGLE:"Salvar no Google Drive",download_DROPBOX:"Salvar no Dropbox",pagination:"paginação",search:"procurar",commentDefault:"por favor digite o texto",insertSheet:"inserir planilha",insertRow:"inserir linha",insertColumn:"inserir coluna",link:"link",insertComment:"adicionar comentário",commentEdit:"editar comentários",commentRemove:"excluir comentário",commentPrevious:"comentário anterior",commentNext:"próximo comentário",insertImage:"inserir imagem",insertControl:"ao controle",fromURL:"da URL",fromLocal:"do local",menuInsert:"adicionar à",menuComment:"Verificar",menuText:"Formatar",menuFont:"Fonte",menuEdit:"primeira página",menuFile:"documento"},contextmenu:{copy:"cópia de",cut:"cortar",paste:"colar",pasteValue:"Cole apenas o valor",pasteFormat:"Colar apenas a formatação",hide:"esconder",insertRow:"inserir linha",insertColumn:"inserir coluna",deleteSheet:"excluir folha",deleteRow:"excluir linha",deleteColumn:"excluir coluna",deleteCell:"excluir célula",deleteCellText:"excluir texto da célula",validation:"verificação de dados",sort:"Classificação",link:"link",removeLink:"excluir link",editLink:"editar link",openLink:"link aberto",download:"download",cellprintable:"habilitar exportação",cellnonprintable:"desabilitar exportação",celleditable:"habilitar a edição",cellnoneditable:"desabilitar a edição",insertURL:"Insira o endereço da imagem",deleteImage:"deletar foto",copyImage:"copiar foto",pasteImage:"colar foto",merge:"fundir",unmerge:"desagregar",edit:"editar",clear:"limpar"},link:{emailAddress:"E-mail",emailSubject:"tema",sheetPage:"localização de arquivo",sheetCell:"referência de célula",linkTypes:{web:"página da Internet",sheet:"este ficheiro",email:"E-mail"},webUrl:"url",linkType:"tipo de link"},download:{fileName:"nome do arquivo",saveType:"Salvar como",saveTypes:{Original:"formato original",XLSX:"Formato XLSX",PDF:"formato PDF",HTML:"formato HTML"}},print:{setting:"Configuração",orientation:"Orientação",orientations:{landscape:"Landscape",portrait:"Portrait"},size:"Tamanho da folha",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Escala",scales:{noscale:"Sem escala",fitsheet:"Fit Sheet",fitcolumns:"Fit to All Columns",fitrows:"Fit to All Rows"},order:"Ordem",orders:{downover:"Cima-Direita-Esquerda",overdown:"Direita-Cima-Esquerda"},imageshow:"Imagem",imageshows:{show:"Exibir",hide:"Ocultar"}},format:{normal:"ordinário",text:"texto simples",number:"número",percent:"percentagem",rmb:"RMB",usd:"Dólar",eur:"EUR",date:"data",time:"tempo",datetime:"data hora",duration:"período"},formula:{sum:"Calcula a soma de um conjunto de valores",average:"Calcula a média aritmética de todos os parâmetros",max:"Calcula o valor máximo em um conjunto de dígitos",min:"Calcula o menor valor em um conjunto de dígitos",_if:"De acordo com o resultado do julgamento lógico da condição especificada é verdadeiro ou falso, retorne o resultado do cálculo acionado pela condição correspondente",and:'Ele retorna "verdadeiro" lógico somente se os resultados dos parâmetros forem "verdadeiros" lógicos, caso contrário, ele retorna "falso" lógico',or:'O resultado é retornado como lógico "falso" somente se todos os valores dos parâmetros forem logicamente "falsos", caso contrário, ele retorna logicamente "verdadeiro"',concat:"Conecte vários caracteres de texto ou dados em células juntos",count:"conta o número de células que contêm números e conta os números dentro da lista de argumentos",sumif:"Adiciona as células especificadas por um determinado critério",sumifs:"Adiciona as células em um intervalo que atendem a vários critérios",vlookup:"Olha na primeira coluna de uma matriz e move-se pela linha para retornar o valor de uma célula",hlookup:"Procura um valor na linha superior de uma tabela ou uma matriz de valores e, em seguida, retorna um valor na mesma coluna de uma linha especificada na tabela ou matriz.",lookup:"Procura valores em um vetor ou array",match:"Procura valores em uma referência ou array",rank:"Retorna a classificação de um número em uma lista de números",frequency:"Retorna uma distribuição de frequência como uma matriz vertical",text:"Formata um número e o converte em texto",left:"Retorna os caracteres mais à esquerda de um valor de texto",right:"Retorna os caracteres mais à direita de um valor de texto",round:"Arredonda um número para um número especificado de dígitos",index:"Usa um índice para escolher um valor de uma referência ou array",countif:"Conta o número de células dentro de um intervalo que atendem aos critérios fornecidos",countifs:"Conta o número de células dentro de um intervalo que atendem a vários critérios",mid:"Retorna um número específico de caracteres de uma string de texto começando na posição que você especificar",len:"Retorna o número de caracteres em uma string de texto",power:"Retorna o resultado de um número elevado a uma potência",ceiling:"Arredonda um número para o inteiro mais próximo ou para o múltiplo de significância mais próximo",floor:"Arredonda um número para baixo, para zero",substitute:"Substitui o novo texto pelo texto antigo em uma string de texto",replace:"Substitui caracteres no texto",search:"Encontra um valor de texto dentro de outro (sem distinção entre maiúsculas e minúsculas)",find:"Encontra um valor de texto dentro de outro (diferencia maiúsculas de minúsculas)",isnumber:"Retorna TRUE se o valor for um número",istext:"Retorna TRUE se o valor for texto",isblank:"Retorna TRUE se o valor estiver em branco",upper:"Converte o texto em letras maiúsculas",lower:"Converte o texto em minúsculas",product:"Multiplica seus argumentos",sumproduct:"Retorna a soma dos produtos dos componentes do array correspondente",subtotal:"Retorna um subtotal em uma lista ou banco de dados",counta:"Conta quantos valores estão na lista de argumentos",averageif:"Retorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério",averageifs:"Retorna a média (média aritmética) de todas as células que atendem a vários critérios.",trim:"Remove espaços do texto",sign:"Retorna o sinal de um número",yield:"Retorna o rendimento de um título que paga juros periódicos",abs:"Retorna o valor absoluto de um número",sin:"Retorna o seno do ângulo dado",cos:"Retorna o cosseno de um número",tan:"Retorna a tangente de um número"},validation:{required:"deve ser exigido",notMatch:"não corresponde às suas regras de validação",between:"Está entre {} e {}",notBetween:"não está entre {} e {}",notIn:"não está na lista",equal:"é igual a {}",notEqual:"não é igual a {}",lessThan:"é menor que {}",lessThanEqual:"é menor ou igual a {}",greaterThan:"é maior que {}",greaterThanEqual:"é maior ou igual a {}",downloadImageFail:"Falha ao baixar a imagem",invalidcell:"Erro nas células ligadas",invalid:"inválido"},error:{pasteForMergedCell:"Não é possível executar esta operação em células mescladas"},calendar:{weeks:["Domingo segunda terça quarta quinta sexta sábado"],months:["janeiro, fevereiro, março, abril, maio, junho, julho, agosto, setembro, outubro, novembro, dezembro"]},button:{add:"adicionar à",del:"excluir",next:"Próximo",cancel:"Cancelar",remove:"remover",save:"salvar",ok:"confirme",previous:"Anterior",close:"fecho"},sort:{desc:"Ordenar Z->A",asc:"Ordenar A->Z"},filter:{empty:"vazio"},dataValidation:{mode:"modelo",range:"intervalo de células",criteria:"padrão",modeType:{cell:"célula única",column:"coluna",row:"linha"},type:{list:"lista",number:"dígito",date:"data",phone:"Telefone",email:"e-mail"},operator:{be:"entre",nbe:"não entre",lt:"menor que",lte:"menos que ou igual a",gt:"mais do que o",gte:"Melhor que ou igual a",eq:"igual",neq:"não igual a"}},dataSort:{ci:"escopo",criteria:"ordem",casesense:"maiúsculas e minúsculas",sortby:"ordenar por",header:"título",msg:"Escolha uma coluna diferente classificada por campo",msg2:"A área de seleção tem uma área mesclada, não oferecemos suporte para classificação da área mesclada",order:{asc:"sequência positiva",desc:"ordem reversa"}},dataSearch:{label:"encontrar conteúdo",lkinlb:"intervalo de pesquisa",matchwhole:"corresponde a todo o conteúdo",lookin:{values:"texto",formulas:"Fórmula",comments:"anotação"}},dataComment:{label:"anotação"},control:{min:"Valor mínimo",max:"Valor máximo",cur:"Valor actual",inc:"Alteração incremental",page:"Alteração da página"}},id:{toolbar:{undo:"menarik kembali",redo:"mengulangi",print:"Mencetak",paintformat:"Pelukis Format",clearformat:"format yang jelas",format:"Format data",fontName:"nama font",fontSize:"ukuran huruf",fontBold:"huruf tebal",fontItalic:"huruf miring",underline:"menggarisbawahi",strike:"dicoret",color:"warna teks",bgcolor:"mengisi warna",border:"bingkai",merge:"Menggabungkan Sel",unmerge:"memisahkan sel",align:"Penjajaran horizontal",valign:"penjajaran vertikal",textwrap:"bungkus kata",freeze:"peringkat tetap",autofilter:"Saring",formula:"rumus",more:"Lagi",sort:"Klasifikasi",download:"unduh",pagination:"paging",search:"mencari",commentDefault:"harap masukkan teks",commentEdit:"mengedit komentar",commentRemove:"hapus komentar",commentPrevious:"Komentar sebelumnya",commentNext:"komentar berikutnya",insertImage:"menyisipkan gambar",insertTextBox:"Masukkan Kotak Teks",insertComboBox:"Masukkan Kotak Kombo",insertCheckBox:"Masukkan Kotak Centang",insertRadioButton:"Sisipkan Tombol Opsi",insertSpinButton:"Masukkan Tombol Putar",masukkanScrollBar:"Masukkan Scroll Bar",insertLabel:"Masukkan Label"},menubar:{undo:"membuka",redo:"mengulangi",print:"Mencetak",paintformat:"Pelukis Format",clearformat:"format yang jelas",format:"Format data",fontName:"Nama font:",fontSize:"ukuran huruf:",fontBold:"huruf tebal",fontItalic:"huruf miring",underline:"menggarisbawahi",strike:"dicoret",color:"warna teks",bgcolor:"mengisi warna",border:"bingkai",merge:"Menggabungkan Sel",unmerge:"memisahkan sel",align:"Penjajaran horizontal",valign:"penjajaran vertikal",textwrap:"bungkus kata",freeze:"peringkat tetap",autofilter:"Saring",formula:"rumus",more:"Lagi",sort:"Klasifikasi",download:"unduh",download_HTML:"Unduh sebagai HTML",download_PDF:"Unduh sebagai PDF",download_Original:"unduh asli",download_XLSX:"Unduh sebagai XLSX",download_GOOGLE:"Simpan ke Google Drive",download_DROPBOX:"Simpan ke Dropbox",pagination:"paging",search:"mencari",commentDefault:"harap masukkan teks",insertSheet:"menyisipkan lembar kerja",insertRow:"sisipkan baris",insertColumn:"sisipkan kolom",link:"tautan",insertComment:"Tambahkan komentar",commentEdit:"mengedit komentar",commentRemove:"hapus komentar",commentPrevious:"Komentar sebelumnya",commentNext:"komentar berikutnya",insertImage:"menyisipkan gambar",insertControl:"kontrol",fromURL:"dari URL",fromLocal:"dari lokal",menuInsert:"Tambahkan",menuComment:"Memeriksa",menuText:"Format",menuFont:"font",menuEdit:"halaman Depan",menuFile:"dokumen"},contextmenu:{copy:"menyalin",cut:"untuk memotong",paste:"tempel",pasteValue:"Tempelkan hanya nilainya",pasteFormat:"Hanya tempel pemformatan",hide:"bersembunyi",insertRow:"sisipkan baris",insertColumn:"sisipkan kolom",deleteSheet:"hapus lembar",deleteRow:"hapus baris",deleteColumn:"hapus kolom",deleteCell:"hapus sel",deleteCellText:"menghapus teks sel",validation:"verifikasi data",sort:"Klasifikasi",link:"tautan",removeLink:"hapus tautan",editLink:"tautan edit",openLink:"Buka tautan",download:"unduh",cellprintable:"mengaktifkan ekspor",cellnonprintable:"nonaktifkan ekspor",celleditable:"aktifkan pengeditan",cellnoneditable:"nonaktifkan pengeditan",insertURL:"Masukkan alamat gambar",deleteImage:"hapus gambar",copyImage:"menyalin gambar",pasteImage:"tempel gambar",merge:"menggabungkan",unmerge:"pisahkan",edit:"sunting",clear:"untuk membersihkan"},link:{emailAddress:"Surel",emailSubject:"tema",sheetPage:"lokasi file",sheetCell:"referensi sel",linkTypes:{web:"halaman web",sheet:"file ini",email:"Surel"},webUrl:"url",linkType:"jenis tautan"},download:{fileName:"nama file",saveType:"Simpan sebagai",saveTypes:{Original:"format asli",XLSX:"berformat XLSX",PDF:"format PDF",HTML:"format HTML"}},print:{setting:"mempersiapkan",orientation:"orientasi halaman",orientations:{landscape:"horisontal",portrait:"potret"},size:"ukuran kertas",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"rasio skala",scales:{noscale:"tidak ada pembesaran",fitsheet:"Lembar kerja pas satu halaman",fitcolumns:"Satu halaman cocok untuk semua kolom",fitrows:"Satu Halaman Cocok untuk Semua Baris"},order:"Ordre",orders:{downover:"pertama ke bawah lalu ke kanan",overdown:"pertama ke kanan lalu ke bawah"},imageshow:"gambar",imageshows:{show:"menunjukkan",hide:"bersembunyi"}},format:{normal:"biasa",text:"teks biasa",number:"nomor",percent:"persentase",rmb:"RMB",usd:"Dolar",eur:"EUR",date:"tanggal",time:"waktu",datetime:"tanggal Waktu",duration:"periode"},formula:{sum:"Menghitung jumlah dari sekumpulan nilai",average:"Menghitung rata-rata aritmatika dari semua parameter",max:"Menghitung nilai maksimum dalam satu set digit",min:"Menghitung nilai terkecil dalam satu set digit",_if:"Menurut hasil penilaian logis dari kondisi yang ditentukan benar atau salah, kembalikan hasil perhitungan yang dipicu oleh kondisi yang sesuai",and:'Ini mengembalikan logika "benar" hanya jika hasil dari parameter keduanya logis "benar", jika tidak maka mengembalikan logika "salah"',or:'Hasilnya dikembalikan sebagai logis "salah" hanya jika semua nilai parameter secara logis "salah", jika tidak, hasilnya secara logis "benar"',concat:"Hubungkan beberapa karakter teks atau data dalam sel bersama-sama",count:"menghitung jumlah sel yang berisi angka, dan menghitung angka dalam daftar argumen",sumif:"Menambahkan sel yang ditentukan oleh kriteria tertentu",sumifs:"Menambahkan sel dalam rentang yang memenuhi beberapa kriteria",vlookup:"Tampak di kolom pertama larik dan bergerak melintasi baris untuk mengembalikan nilai sel",hlookup:"Mencari nilai di baris atas tabel atau larik nilai, lalu mengembalikan nilai di kolom yang sama dari baris yang Anda tentukan di tabel atau larik.",lookup:"Mencari nilai dalam vektor atau larik",match:"Mencari nilai dalam referensi atau larik",rank:"Mengembalikan peringkat nomor dalam daftar nomor",frequency:"Mengembalikan distribusi frekuensi sebagai larik vertikal",text:"Memformat angka dan mengubahnya menjadi teks",left:"Mengembalikan karakter paling kiri dari nilai teks",right:"Mengembalikan karakter paling kanan dari nilai teks",round:"Membulatkan angka ke jumlah digit yang ditentukan",index:"Menggunakan indeks untuk memilih nilai dari referensi atau larik",countif:"Menghitung jumlah sel dalam rentang yang memenuhi kriteria yang diberikan",countifs:"Menghitung jumlah sel dalam rentang yang memenuhi beberapa kriteria",mid:"Mengembalikan sejumlah karakter tertentu dari string teks mulai dari posisi yang Anda tentukan",len:"Mengembalikan jumlah karakter dalam string teks",power:"Mengembalikan hasil angka yang dipangkatkan",ceiling:"Membulatkan angka ke bilangan bulat terdekat atau ke kelipatan signifikansi terdekat",floor:"Membulatkan angka ke bawah, menuju nol",substitute:"Mengganti teks baru dengan teks lama dalam string teks",replace:"Mengganti karakter dalam teks",search:"Menemukan satu nilai teks di dalam yang lain (tidak peka huruf besar/kecil)",find:"Menemukan satu nilai teks di dalam yang lain (peka huruf besar kecil)",isnumber:"Mengembalikan BENAR jika nilainya berupa angka",istext:"Mengembalikan BENAR jika nilainya adalah teks",isblank:"Mengembalikan BENAR jika nilainya kosong",upper:"Mengubah teks menjadi huruf besar",lower:"Mengubah teks menjadi huruf kecil",product:"Kalikan argumennya",sumproduct:"Mengembalikan jumlah produk dari komponen array yang sesuai",subtotal:"Mengembalikan subtotal dalam daftar atau basis data",counta:"Menghitung berapa banyak nilai dalam daftar argumen",averageif:"Mengembalikan rata-rata (rata-rata aritmatika) dari semua sel dalam rentang yang memenuhi kriteria tertentu",averageifs:"Mengembalikan rata-rata (rata-rata aritmatika) dari semua sel yang memenuhi beberapa kriteria.",trim:"Menghapus spasi dari teks",sign:"Mengembalikan tanda angka",yield:"Mengembalikan hasil pada sekuritas yang membayar bunga berkala",abs:"Mengembalikan nilai absolut dari angka",sin:"Mengembalikan sinus dari sudut yang diberikan",cos:"Mengembalikan cosinus angka",tan:"Mengembalikan garis singgung sebuah angka"},validation:{required:"itu harus diperlukan",notMatch:"itu tidak cocok dengan aturan validasinya",between:"Itu antara {} dan {}",notBetween:"itu bukan antara {} dan {}",notIn:"itu tidak ada dalam daftar",equal:"itu sama dengan {}",notEqual:"tidak sama dengan {}",lessThan:"kurang dari {}",lessThanEqual:"kurang dari atau sama dengan {}",greaterThan:"ini lebih besar dari {}",greaterThanEqual:"lebih besar atau sama dengan {}",downloadImageFail:"Gagal mengunduh gambar",invalidcell:"Galat dalam sel terhubung",invalid:"tidak valid"},error:{pasteForMergedCell:"Tidak dapat melakukan operasi ini pada sel yang digabungkan"},calendar:{weeks:["Minggu Senin Selasa Rabu Kamis Jumat Sabtu"],months:["Januari, Februari, Maret, April, Mei, Juni, Juli, Agustus, September, Oktober, November, Desember"]},button:{add:"Tambahkan",del:"menghapus",next:"Berikutnya",cancel:"Membatalkan",remove:"menghapus",save:"menyimpan",ok:"mengonfirmasi",previous:"Sebelumnya",close:"penutup"},sort:{desc:"Urutkan Z->A",asc:"Urutkan A->Z"},filter:{empty:"kosong"},dataValidation:{mode:"model",range:"jangkauan sel",criteria:"standar",modeType:{cell:"sel tunggal",column:"kolom",row:"garis"},type:{list:"daftar",number:"angka",date:"tanggal",phone:"Telepon",email:"surel"},operator:{be:"di antara",nbe:"tidak diantara",lt:"kurang dari",lte:"kurang dari atau sama dengan",gt:"lebih dari",gte:"lebih dari atau sama dengan",eq:"setara",neq:"tidak sama dengan"}},dataSort:{ci:"cakupan",criteria:"memesan",casesense:"hal - hal sensitif",sortby:"Sortir dengan",header:"judul",msg:"Harap pilih kolom lain yang diurutkan berdasarkan kolom",msg2:"Area pemilihan memiliki area gabungan, kami tidak mendukung penyortiran area gabungan",order:{asc:"Urutan positif",desc:"urutan terbalik"}},dataSearch:{label:"menemukan konten",lkinlb:"rentang pencarian",matchwhole:"cocok dengan seluruh konten",lookin:{values:"teks",formulas:"rumus",comments:"anotasi"}},dataComment:{label:"anotasi"},control:{min:"Nilai maksimum",max:"nilai minimum",cur:"Nilai saat ini",inc:"Perubahan incremental",page:"Perubahan Halaman"}},fr:{toolbar:{undo:"révoquer",redo:"refaire",print:"Imprimer",paintformat:"Peintre de format",clearformat:"mise en forme claire",format:"Format de données",fontName:"nom de la police",fontSize:"taille de police",fontBold:"Caractères gras",fontItalic:"police en italique",underline:"souligner",strike:"barré",color:"couleur du texte",bgcolor:"la couleur de remplissage",border:"cadre",merge:"Fusionner des cellules",unmerge:"dissocier des cellules",align:"Alignement horizontal",valign:"alignement vertical",textwrap:"retour à la ligne",freeze:"rangs fixes",autofilter:"filtre",formula:"formule",more:"Plus",sort:"Classification",download:"télécharger",pagination:"pagination",search:"recherche",commentDefault:"veuillez entrer du texte",commentEdit:"modifier les commentaires",commentRemove:"supprimer le commentaire",commentPrevious:"Commentaire précédent",commentNext:"commentaire suivant",insertImage:"insérer une image",insertTextBox:"Insérer une zone de texte",insertComboBox:"Insérer une zone de liste déroulante",insertCheckBox:"Insérer une case à cocher",insertRadioButton:"Insérer un bouton d'option",insertSpinButton:"Insérer un bouton Spin",insertScrollBar:"Insérer une barre de défilement",insertLabel:"Insérer une étiquette"},menubar:{undo:"annuler",redo:"refaire",print:"Imprimer",paintformat:"Peintre de format",clearformat:"mise en forme claire",format:"Format de données",fontName:"Nom de la police :",fontSize:"taille de police:",fontBold:"Caractères gras",fontItalic:"police en italique",underline:"souligner",strike:"barré",color:"couleur du texte",bgcolor:"la couleur de remplissage",border:"cadre",merge:"Fusionner des cellules",unmerge:"dissocier des cellules",align:"Alignement horizontal",valign:"alignement vertical",textwrap:"retour à la ligne",freeze:"rangs fixes",autofilter:"filtre",formula:"formule",more:"Plus",sort:"Classification",download:"télécharger",download_HTML:"Télécharger au format HTML",download_PDF:"Télécharger au format PDF",download_Original:"télécharger l'original",download_XLSX:"Télécharger au format XLSX",download_GOOGLE:"Enregistrer sur Google Drive",download_DROPBOX:"Enregistrer dans Dropbox",pagination:"pagination",search:"recherche",commentDefault:"veuillez entrer du texte",insertSheet:"insérer une feuille de calcul",insertRow:"insérer une ligne",insertColumn:"insérer une colonne",link:"lien",insertComment:"ajouter un commentaire",commentEdit:"modifier les commentaires",commentRemove:"supprimer le commentaire",commentPrevious:"Commentaire précédent",commentNext:"commentaire suivant",insertImage:"insérer une image",insertControl:"contrôle",fromURL:"à partir de l'URL",fromLocal:"du local",menuInsert:"Ajouter à",menuComment:"Vérifier",menuText:"Format",menuFont:"Police de caractère",menuEdit:"page de garde",menuFile:"document"},contextmenu:{copy:"copie",cut:"couper",paste:"pâte",pasteValue:"Coller uniquement la valeur",pasteFormat:"Coller la mise en forme uniquement",hide:"cacher",insertRow:"insérer une ligne",insertColumn:"insérer une colonne",deleteSheet:"supprimer une feuille",deleteRow:"Supprimer la ligne",deleteColumn:"supprimer la colonne",deleteCell:"supprimer la cellule",deleteCellText:"supprimer le texte de la cellule",validation:"verification des données",sort:"Classification",link:"lien",removeLink:"supprimer le lien",editLink:"modifier le lien",openLink:"ouvrir le lien",download:"télécharger",cellprintable:"activer l'exportation",cellnonprintable:"désactiver l'exportation",celleditable:"activer la modification",cellnoneditable:"désactiver l'édition",insertURL:"Entrez l'adresse de l'image",deleteImage:"supprimer l'image",copyImage:"copier l'image",pasteImage:"coller une image",merge:"fusionner",unmerge:"dissocier",edit:"modifier",clear:"nettoyer"},link:{emailAddress:"E-mail",emailSubject:"thème",sheetPage:"emplacement du fichier",sheetCell:"référence de cellule",linkTypes:{web:"page web",sheet:"ce fichier",email:"E-mail"},webUrl:"URL",linkType:"type de lien"},download:{fileName:"nom de fichier",saveType:"Enregistrer sous",saveTypes:{Original:"format d'origine",XLSX:"Format XLSX",PDF:"Format PDF",HTML:"Format HTML"}},print:{setting:"Réglage",orientation:"Orientation du page",orientations:{landscape:"Horizontal",portrait:"Verticale"},size:"Taille de la page",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Proportionnement",scales:{noscale:"Aucune proportionnement",fitsheet:"Adaptée à la formule de tableau",fitcolumns:"Adaptée à toutes les colonnes",fitrows:"Adaptée à toutes les lignes"},order:"Ordre",orders:{downover:"d'abord en bas puis à droite",overdown:"d'abord à droite puis en bas"},imageshow:"Images",imageshows:{show:"Montre",hide:"Cacher"}},format:{normal:"ordinaire",text:"texte brut",number:"nombre",percent:"pourcentage",rmb:"RMB",usd:"Dollar",eur:"EUR",date:"date",time:"temps",datetime:"date et heure",duration:"période"},formula:{sum:"Calcule la somme d'un ensemble de valeurs",average:"Calcule la moyenne arithmétique de tous les paramètres",max:"Calcule la valeur maximale dans un ensemble de chiffres",min:"Calcule la plus petite valeur dans un ensemble de chiffres",_if:"Selon le résultat du jugement logique de la condition spécifiée est vrai ou faux, renvoie le résultat du calcul déclenché par la condition correspondante",and:'Il renvoie "vrai" logique uniquement si les résultats des paramètres sont tous les deux "vrais" logiques, sinon il renvoie "faux" logique',or:'Le résultat est renvoyé comme "faux" logique uniquement si toutes les valeurs des paramètres sont logiquement "faux", sinon il renvoie logiquement "vrai"',concat:"Connecter plusieurs caractères texte ou données dans des cellules ensemble",count:"compte le nombre de cellules contenant des nombres et compte les nombres dans la liste des arguments",sumif:"Ajoute les cellules spécifiées par un critère donné",sumifs:"Ajoute les cellules d'une plage qui répondent à plusieurs critères",vlookup:"Regarde dans la première colonne d'un tableau et se déplace sur la ligne pour renvoyer la valeur d'une cellule",hlookup:"Recherche une valeur dans la ligne supérieure d'un tableau ou d'un tableau de valeurs, puis renvoie une valeur dans la même colonne à partir d'une ligne que vous spécifiez dans le tableau ou le tableau.",lookup:"Recherche des valeurs dans un vecteur ou un tableau",match:"Recherche des valeurs dans une référence ou un tableau",rank:"Renvoie le rang d'un nombre dans une liste de nombres",frequency:"Renvoie une distribution de fréquence sous la forme d'un tableau vertical",text:"Formate un nombre et le convertit en texte",left:"Renvoie les caractères les plus à gauche d'une valeur de texte",right:"Renvoie les caractères les plus à droite d'une valeur de texte",round:"Arrondit un nombre à un nombre de chiffres spécifié",index:"Utilise un index pour choisir une valeur dans une référence ou un tableau",countif:"Compte le nombre de cellules dans une plage qui répondent aux critères donnés",countifs:"Compte le nombre de cellules dans une plage qui répondent à plusieurs critères",mid:"Renvoie un nombre spécifique de caractères d'une chaîne de texte à partir de la position que vous spécifiez",len:"Renvoie le nombre de caractères d'une chaîne de texte",power:"Renvoie le résultat d'un nombre élevé à une puissance",ceiling:"Arrondit un nombre à l'entier le plus proche ou au multiple de signification le plus proche",floor:"Arrondit un nombre vers le bas, vers zéro",substitute:"Remplace le nouveau texte par l'ancien texte dans une chaîne de texte",replace:"Remplace les caractères dans le texte",search:"Trouve une valeur de texte dans une autre (non sensible à la casse)",find:"Trouve une valeur de texte dans une autre (sensible à la casse)",isnumber:"Renvoie TRUE si la valeur est un nombre",istext:"Renvoie TRUE si la valeur est du texte",isblank:"Renvoie TRUE si la valeur est vide",upper:"Convertit le texte en majuscule",lower:"Convertit le texte en minuscules",product:"Multiplie ses arguments",sumproduct:"Renvoie la somme des produits des composants du tableau correspondants",subtotal:"Renvoie un sous-total dans une liste ou une base de données",counta:"Compte le nombre de valeurs dans la liste des arguments",averageif:"Renvoie la moyenne (moyenne arithmétique) de toutes les cellules d'une plage qui répondent à un critère donné",averageifs:"Renvoie la moyenne (moyenne arithmétique) de toutes les cellules répondant à plusieurs critères.",trim:"Supprime les espaces du texte",sign:"Renvoie le signe d'un nombre",yield:"Rend le rendement d'un titre qui paie des intérêts périodiques",abs:"Renvoie la valeur absolue d'un nombre",sin:"Renvoie le sinus de l'angle donné",cos:"Renvoie le cosinus d'un nombre",tan:"Renvoie la tangente d'un nombre"},validation:{required:"ça doit être obligatoire",notMatch:"il ne correspond pas à ses règles de validation",between:"c'est entre {} et {}",notBetween:"ce n'est pas entre {} et {}",notIn:"il n'est pas dans la liste",equal:"il est égal à {}",notEqual:"il n'est pas égal à {}",lessThan:"c'est moins de {}",lessThanEqual:"il est inférieur ou égal à {}",greaterThan:"il est supérieur à {}",greaterThanEqual:"il est supérieur ou égal à {}",downloadImageFail:"Échec du téléchargement de l'image",invalidcell:"Les cellules liées sont incorrectes",invalid:"Invalide"},error:{pasteForMergedCell:"Impossible d'effectuer cette opération sur des cellules fusionnées"},calendar:{weeks:["Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi"],months:["janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre"]},button:{add:"Ajouter à",del:"supprimer",next:"Suivant",cancel:"Annuler",remove:"retirer",save:"sauvegarder",ok:"confirmer",previous:"Précédent",close:"fermeture"},sort:{desc:"Trier Z->A",asc:"Trier A->Z"},filter:{empty:"vide"},dataValidation:{mode:"modèle",range:"plage de cellules",criteria:"standard",modeType:{cell:"unicellulaire",column:"colonne",row:"doubler"},type:{list:"liste",number:"chiffre",date:"date",phone:"Téléphone",email:"e-mail"},operator:{be:"entre",nbe:"pas entre",lt:"moins que",lte:"inférieur ou égal à",gt:"plus que le",gte:"Plus grand ou égal à",eq:"égal",neq:"pas égal à"}},dataSort:{ci:"portée",criteria:"commande",casesense:"sensible aux majuscules et minuscules",sortby:"Trier par",header:"titre",msg:"Veuillez choisir une autre colonne triée par champ",msg2:"La zone de sélection a une zone fusionnée, nous ne prenons pas en charge le tri de la zone fusionnée",order:{asc:"Séquence positive",desc:"ordre inverse"}},dataSearch:{label:"trouver du contenu",lkinlb:"plage de recherche",matchwhole:"correspond à tout le contenu",lookin:{values:"texte",formulas:"formule",comments:"annotation"}},dataComment:{label:"annotation"},control:{min:"Valeur minimale",max:"Valeur maximale",cur:"Valeur actuelle",inc:"Changement incrémental",page:"Changement de page"}},vi:{toolbar:{undo:"thu hồi",redo:"làm lại",print:"In",paintformat:"Trình vẽ định dạng",clearformat:"định dạng rõ ràng",format:"Định dạng dữ liệu",fontName:"tên phông chữ",fontSize:"cỡ chữ",fontBold:"phông chữ đậm",fontItalic:"phông chữ nghiêng",underline:"gạch dưới",strike:"gạch ngang",color:"văn bản màu",bgcolor:"tô màu",border:"khung",merge:"Hợp nhất các ô",unmerge:"hủy hợp nhất các ô",align:"Căn ngang",valign:"căn lề dọc",textwrap:"gói từ",freeze:"cấp bậc cố định",autofilter:"lọc",formula:"công thức",more:"Hơn",sort:"phân loại",download:"Tải xuống",pagination:"phân trang",search:"tìm kiếm",commentDefault:"vui lòng nhập văn bản",commentEdit:"chỉnh sửa nhận xét",commentRemove:"Xóa nhận xét",commentPrevious:"Nhận xét trước",commentNext:"bình luận tiếp theo",insertImage:"chèn ảnh",InsertTextBox:"Chèn hộp văn bản",InsertComboBox:"Chèn Hộp Tổ hợp",InsertCheckBox:"Chèn hộp kiểm",InsertRadioButton:"Chèn nút tùy chọn",InsertSpinButton:"Chèn nút xoay",InsertScrollBar:"Chèn thanh cuộn",InsertLabel:"Chèn nhãn"},menubar:{undo:"Hoàn tác",redo:"làm lại",print:"In",paintformat:"Trình vẽ định dạng",clearformat:"định dạng rõ ràng",format:"Định dạng dữ liệu",fontName:"Tên phông chữ:",fontSize:"cỡ chữ:",fontBold:"phông chữ đậm",fontItalic:"phông chữ nghiêng",underline:"gạch dưới",strike:"gạch ngang",color:"văn bản màu",bgcolor:"tô màu",border:"khung",merge:"Hợp nhất các ô",unmerge:"hủy hợp nhất các ô",align:"Căn ngang",valign:"căn lề dọc",textwrap:"gói từ",freeze:"cấp bậc cố định",autofilter:"lọc",formula:"công thức",more:"Hơn",sort:"phân loại",download:"Tải xuống",download_HTML:"Tải xuống dưới dạng HTML",download_PDF:"Tải xuống dưới dạng PDF",download_Original:"tải xuống bản gốc",download_XLSX:"Tải xuống dưới dạng XLSX",download_GOOGLE:"Lưu vào Google Drive",download_DROPBOX:"Lưu vào hộp chứa",pagination:"phân trang",search:"tìm kiếm",commentDefault:"vui lòng nhập văn bản",insertSheet:"chèn bảng tính",insertRow:"Chèn hàng",insertColumn:"chèn cột",link:"liên kết",insertComment:"thêm bình luận",commentEdit:"chỉnh sửa bình luận",commentRemove:"Xóa nhận xét",commentPrevious:"Nhận xét trước",commentNext:"bình luận tiếp theo",insertImage:"chèn ảnh",insertControl:"điều khiển",fromURL:"từ URL",fromLocal:"từ địa phương",menuInsert:"Thêm vào",menuComment:"Kiểm tra",menuText:"Định dạng",menuFont:"nét chữ",menuEdit:"trang đầu",menuFile:"tài liệu"},contextmenu:{copy:"sao chép",cut:"cắt",paste:"dán",pasteValue:"Chỉ dán giá trị",pasteFormat:"Chỉ dán định dạng",hide:"trốn",insertRow:"Chèn hàng",insertColumn:"chèn cột",deleteSheet:"xóa tờ",deleteRow:"xóa hàng",deleteColumn:"xóa cột",deleteCell:"xóa ô",deleteCellText:"xóa văn bản ô",validation:"xác minh dữ liệu",sort:"phân loại",link:"liên kết",removeLink:"xóa liên kết",editLink:"chỉnh sửa liên kết",openLink:"mở liên kết",download:"Tải xuống",cellprintable:"bật xuất",cellnonprintable:"tắt xuất",celleditable:"cho phép chỉnh sửa",cellnoneditable:"tắt chỉnh sửa",insertURL:"Nhập địa chỉ hình ảnh",deleteImage:"xóa ảnh",copyImage:"sao chép hình ảnh",pasteImage:"dán hình",merge:"hợp nhất",unmerge:"hủy hợp nhất",edit:"biên tập",clear:"xóa"},link:{emailAddress:"E-mail",emailSubject:"chủ đề",sheetPage:"vị trí tập tin",sheetCell:"tham chiếu ô",linkTypes:{web:"trang web",sheet:"tập tin này",email:"E-mail"},webUrl:"url",linkType:"Loại liên kết"},download:{fileName:"tên tập tin",saveType:"Lưu thành",saveTypes:{Original:"định dạng ban đầu",XLSX:"định dạng XLSX",PDF:"định dạng PDF",HTML:"định dạng HTML"}},print:{setting:"cài đặt",orientation:"Định hướng trang",orientations:{landscape:"nằm ngang",portrait:"chân dung"},size:"khổ giấy",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"tỷ lệ chia tỷ lệ",scales:{noscale:"không thu phóng",fitsheet:"Bảng tính vừa với một trang",fitcolumns:"Một trang phù hợp với tất cả các cột",fitrows:"Một trang phù hợp với tất cả các hàng"},order:"đặt hàng",orders:{downover:"đầu tiên xuống rồi sang phải",overdown:"đầu tiên phải rồi xuống"},imageshow:"hình ảnh",imageshows:{show:"trình diễn",hide:"trốn"}},format:{normal:"bình thường",text:"văn bản thô",number:"con số",percent:"phần trăm",rmb:"nhân dân tệ",usd:"đô la",eur:"EUR",date:"ngày",time:"thời gian",datetime:"ngày giờ",duration:"Giai đoạn"},formula:{sum:"Tính tổng của một tập hợp các giá trị",average:"Tính giá trị trung bình cộng của tất cả các tham số",max:"Tính giá trị lớn nhất trong một tập hợp các chữ số",min:"Tính giá trị nhỏ nhất trong một tập hợp các chữ số",_if:"Theo kết quả phán đoán logic của điều kiện đã chỉ định là đúng hay sai, trả về kết quả tính toán được kích hoạt bởi điều kiện tương ứng",and:'Nó chỉ trả về logic "true" nếu kết quả của các tham số đều logic "true", nếu không, nó trả về logic "false"',or:'Kết quả chỉ được trả về dưới dạng logic "false" nếu tất cả các giá trị tham số là "false" về mặt logic, nếu không, nó trả về dạng logic "true"',concat:"Kết nối nhiều ký tự văn bản hoặc dữ liệu trong các ô với nhau",count:"đếm số ô chứa số và đếm số trong danh sách đối số",sumif:"Thêm các ô được chỉ định bởi một tiêu chí nhất định",sumifs:"Thêm các ô trong một phạm vi đáp ứng nhiều tiêu chí",vlookup:"Tìm trong cột đầu tiên của một mảng và di chuyển qua hàng để trả về giá trị của một ô",hlookup:"Tìm kiếm một giá trị ở hàng trên cùng của một bảng hoặc một mảng các giá trị, sau đó trả về một giá trị trong cùng một cột từ một hàng mà bạn chỉ định trong bảng hoặc mảng.",lookup:"Tra cứu các giá trị trong một vectơ hoặc mảng",match:"Tra cứu các giá trị trong một tham chiếu hoặc mảng",rank:"Trả về thứ hạng của một số trong danh sách các số",frequency:"Trả về phân bố tần suất dưới dạng mảng dọc",text:"Định dạng một số và chuyển đổi nó thành văn bản",left:"Trả về các ký tự ngoài cùng bên trái từ một giá trị văn bản",right:"Trả về các ký tự ngoài cùng bên phải từ một giá trị văn bản",round:"Làm tròn một số thành một số chữ số đã chỉ định",index:"Sử dụng chỉ mục để chọn giá trị từ tham chiếu hoặc mảng",countif:"Đếm số lượng ô trong một phạm vi đáp ứng tiêu chí đã cho",countifs:"Đếm số lượng ô trong một phạm vi đáp ứng nhiều tiêu chí",mid:"Trả về một số ký tự cụ thể từ một chuỗi văn bản bắt đầu từ vị trí bạn chỉ định",len:"Trả về số ký tự trong chuỗi văn bản",power:"Trả về kết quả của một số được nâng lên lũy thừa",ceiling:"Làm tròn một số thành số nguyên gần nhất hoặc bội số gần nhất",floor:"Làm tròn một số xuống, về 0",substitute:"Thay thế văn bản mới cho văn bản cũ trong một chuỗi văn bản",replace:"Thay thế ký tự trong văn bản",search:"Tìm một giá trị văn bản trong một giá trị văn bản khác (không phân biệt chữ hoa chữ thường)",find:"Tìm một giá trị văn bản trong một giá trị văn bản khác (phân biệt chữ hoa chữ thường)",isnumber:"Trả về TRUE nếu giá trị là số",istext:"Trả về TRUE nếu giá trị là văn bản",isblank:"Trả về TRUE nếu giá trị trống",upper:"Chuyển văn bản thành chữ hoa",lower:"Chuyển văn bản thành chữ thường",product:"Nhân lên các đối số của nó",sumproduct:"Trả về tổng tích của các thành phần mảng tương ứng",subtotal:"Trả về tổng phụ trong danh sách hoặc cơ sở dữ liệu",counta:"Đếm xem có bao nhiêu giá trị trong danh sách đối số",averageif:"Trả về giá trị trung bình (trung bình cộng) của tất cả các ô trong một phạm vi đáp ứng một tiêu chí nhất định",averageifs:"Trả về giá trị trung bình (trung bình cộng) của tất cả các ô đáp ứng nhiều tiêu chí.",trim:"Xóa khoảng trắng khỏi văn bản",sign:"Trả về dấu của một số",yield:"Trả về lợi tức của chứng khoán trả lãi định kỳ",abs:"Trả về giá trị tuyệt đối của một số",sin:"Trả về sin của góc đã cho",cos:"Trả về cosin của một số",tan:"Trả về tang của một số"},validation:{required:"nó phải được yêu cầu",notMatch:"nó không phù hợp với quy tắc xác thực của nó",between:"Nó nằm giữa {} và {}",notBetween:"nó không nằm giữa {} và {}",notIn:"nó không có trong danh sách",equal:"nó bằng {}",notEqual:"nó không bằng {}",lessThan:"nó nhỏ hơn {}",lessThanEqual:"nó nhỏ hơn hoặc bằng {}",greaterThan:"nó lớn hơn {}",greaterThanEqual:"nó lớn hơn hoặc bằng {}",downloadImageFail:"Không thể tải xuống hình ảnh",invalidcell:"Các ô được liên kết sai",invalid:"Không hợp lệ"},error:{pasteForMergedCell:"Không thể thực hiện thao tác này trên các ô đã hợp nhất"},calendar:{weeks:["Chủ nhật thứ hai thứ ba thứ tư thứ năm thứ sáu Thứ Bảy"],months:["Tháng 1, tháng 2, tháng 3, tháng 4, tháng 5, tháng 6, tháng 7, tháng 8, tháng 9, tháng 10, tháng 11, tháng 12"]},button:{add:"Thêm vào",del:"xóa bỏ",next:"Kế tiếp",cancel:"Hủy bỏ",remove:"di dời",save:"cứu",ok:"xác nhận",previous:"Trước",close:"Khép kín"},sort:{desc:"Sắp xếp Z->A",asc:"Sắp xếp A->Z"},filter:{empty:"trống"},dataValidation:{mode:"người mẫu",range:"phạm vi ô",criteria:"tiêu chuẩn",modeType:{cell:"đơn bào",column:"cột",row:"đường kẻ"},type:{list:"danh sách",number:"chữ số",date:"ngày",phone:"Điện thoại",email:"e-mail"},operator:{be:"giữa",nbe:"không phải ở giữa",lt:"ít hơn",lte:"ít hơn hoặc bằng",gt:"nhiều hơn",gte:"lớn hơn hoặc bằng",eq:"bình đẳng",neq:"không bằng"}},dataSort:{ci:"phạm vi",criteria:"đặt hàng",casesense:"trường hợp nhạy cảm",sortby:"sắp xếp theo",header:"tiêu đề",msg:"Vui lòng chọn một cột khác được sắp xếp theo trường",msg2:"Khu vực lựa chọn có khu vực đã hợp nhất, chúng tôi không hỗ trợ sắp xếp khu vực đã hợp nhất",order:{asc:"trình tự tích cực",desc:"thứ tự đảo ngược"}},dataSearch:{label:"tìm nội dung",lkinlb:"phạm vi tìm kiếm",matchwhole:"phù hợp với toàn bộ nội dung",lookin:{values:"chữ",formulas:"công thức",comments:"chú thích"}},dataComment:{label:"chú thích"},control:{min:"Tối thiểu",max:"Tối đa",cur:"Giá trị hiện tại",inc:"Thay đổi gia tăng",page:"Thay đổi trang"}},ko:{toolbar:{undo:"취소",redo:"다시 하다",print:"인쇄",paintformat:"포맷 페인터",clearformat:"명확한 형식",format:"데이터 형식",fontName:"글꼴 이름",fontSize:"글꼴 크기",fontBold:"글꼴 굵게",fontItalic:"글꼴 이탤릭체",underline:"밑줄",strike:"취소선",color:"텍스트 색상",bgcolor:"채우기 색상",border:"액자",merge:"셀 병합",unmerge:"셀 병합 해제",align:"수평 정렬",valign:"수직 정렬",textwrap:"줄 바꿈",freeze:"고정 순위",autofilter:"필터",formula:"공식",more:"더",sort:"분류",download:"다운로드",pagination:"페이징",search:"찾다",commentDefault:"텍스트를 입력하십시오",commentEdit:"댓글 수정",commentRemove:"댓글 삭제",commentPrevious:"이전 댓글",commentNext:"다음 댓글",insertImage:"그림 삽입",insertTextBox:"텍스트 상자 삽입",insertComboBox:"콤보 상자 삽입",insertCheckBox:"체크박스 삽입",insertRadioButton:"옵션 버튼 삽입",insertSpinButton:"스핀 버튼 삽입",insertScrollBar:"스크롤 막대 삽입",insertLabel:"라벨 삽입"},menubar:{undo:"실행 취소",redo:"다시 하다",print:"인쇄",paintformat:"포맷 페인터",clearformat:"명확한 형식",format:"데이터 형식",fontName:"글꼴 이름:",fontSize:"글꼴 크기:",fontBold:"글꼴 굵게",fontItalic:"글꼴 이탤릭체",underline:"밑줄",strike:"취소선",color:"텍스트 색상",bgcolor:"채우기 색상",border:"액자",merge:"셀 병합",unmerge:"셀 병합 해제",align:"수평 정렬",valign:"수직 정렬",textwrap:"줄 바꿈",freeze:"고정 순위",autofilter:"필터",formula:"공식",more:"더",sort:"분류",download:"다운로드",download_HTML:"HTML로 다운로드",download_PDF:"PDF로 다운로드",download_Original:"원본 다운로드",download_XLSX:"XLSX로 다운로드",download_GOOGLE:"Google 드라이브에 저장",download_DROPBOX:"드롭박스에 저장",pagination:"페이징",search:"찾다",commentDefault:"텍스트를 입력하십시오",insertSheet:"워크시트 삽입",insertRow:"행 삽입",insertColumn:"열 삽입",link:"링크",insertComment:"댓글 추가",commentEdit:"댓글 수정",commentRemove:"댓글 삭제",commentPrevious:"이전 댓글",commentNext:"다음 댓글",insertImage:"그림 삽입",insertControl:"제어",fromURL:"URL에서",fromLocal:"현지에서",menuInsert:"에 추가",menuComment:"확인하다",menuText:"체재",menuFont:"폰트",menuEdit:"첫 장",menuFile:"문서"},contextmenu:{copy:"복사",cut:"자르다",paste:"반죽",pasteValue:"값만 붙여넣기",pasteFormat:"서식만 붙여넣기",hide:"숨다",insertRow:"행 삽입",insertColumn:"열 삽입",deleteSheet:"시트 삭제",deleteRow:"행 삭제",deleteColumn:"열 삭제",deleteCell:"셀 삭제",deleteCellText:"셀 텍스트 삭제",validation:"데이터 검증",sort:"분류",link:"링크",removeLink:"링크 삭제",editLink:"링크 편집",openLink:"링크 열기",download:"다운로드",cellprintable:"내보내기 활성화",cellnonprintable:"내보내기 비활성화",celleditable:"편집 가능",cellnoneditable:"편집 비활성화",insertURL:"이미지 주소 입력",deleteImage:"사진 삭제",copyImage:"사진 복사",pasteImage:"그림 붙여넣기",merge:"병합",unmerge:"병합 해제",edit:"편집하다",clear:"지우다"},link:{emailAddress:"이메일",emailSubject:"주제",sheetPage:"파일 위치",sheetCell:"셀 참조",linkTypes:{web:"웹 페이지",sheet:"이 파일",email:"이메일"},webUrl:"URL",linkType:"링크 유형"},download:{fileName:"파일 이름",saveType:"다른 이름으로 저장",saveTypes:{Original:"원래 형식",XLSX:"XLSX 형식",PDF:"PDF 형식",HTML:"HTML 형식"}},print:{setting:"설정",orientation:"쪽지 방향",orientations:{landscape:"가로",portrait:"세로"},size:"석격",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"크기 유형",scales:{noscale:"없는 크기",fitsheet:"스테이트 사이클",fitcolumns:"스테이트 모든 열을 맞추고",fitrows:"스테이트 모든 행을 맞추고"},order:"순서",orders:{downover:"먼저 세로로, 다시 가로로",overdown:"먼저 수평 후 수직"},imageshow:"이미지",imageshows:{show:"보여줍니다",hide:"숨겨져"}},format:{normal:"평범한",text:"일반 텍스트",number:"숫자",percent:"백분율",rmb:"인민폐",usd:"달러",eur:"유로",date:"날짜",time:"시간",datetime:"날짜 시간",duration:"기간"},formula:{sum:"값 집합의 합계를 계산합니다.",average:"모든 매개변수의 산술 평균을 계산합니다.",max:"일련의 자릿수에서 최대값을 계산합니다.",min:"숫자 집합에서 가장 작은 값을 계산합니다.",_if:"지정된 조건의 논리적 판단 결과가 참 또는 거짓에 따라 해당 조건에 의해 트리거된 계산 결과를 반환합니다.",and:'매개변수의 결과가 둘 다 논리적 "true"인 경우에만 논리적 "true"를 반환하고, 그렇지 않으면 논리적 "false"를 반환합니다.',or:'결과는 모든 매개변수 값이 논리적으로 "false"인 경우에만 논리적 "false"로 반환되고, 그렇지 않으면 논리적으로 "true"로 반환됩니다.',concat:"셀의 여러 문자 텍스트 또는 데이터 연결",count:"숫자를 포함하는 셀의 수를 계산하고 인수 목록 내의 숫자를 계산",sumif:"지정된 기준으로 지정된 셀을 추가합니다.",sumifs:"여러 기준을 충족하는 범위의 셀을 추가합니다.",vlookup:"배열의 첫 번째 열을 보고 행을 가로질러 이동하여 셀 값을 반환합니다.",hlookup:"테이블의 맨 위 행 또는 값 배열에서 값을 검색한 다음 테이블 또는 배열에서 지정한 행에서 동일한 열의 값을 반환합니다.",lookup:"벡터 또는 배열에서 값 조회",match:"참조 또는 배열에서 값 조회",rank:"숫자 목록에서 숫자의 순위를 반환합니다",frequency:"도수 분포를 수직 배열로 반환",text:"숫자를 형식화하고 텍스트로 변환",left:"텍스트 값에서 가장 왼쪽에 있는 문자를 반환합니다.",right:"텍스트 값에서 가장 오른쪽 문자를 반환",round:"숫자를 지정된 자릿수로 반올림",index:"인덱스를 사용하여 참조 또는 배열에서 값을 선택합니다.",countif:"주어진 기준을 충족하는 범위 내의 셀 수를 계산합니다.",countifs:"여러 기준을 충족하는 범위 내의 셀 수를 계산합니다.",mid:"지정한 위치에서 시작하는 텍스트 문자열에서 특정 수의 문자를 반환합니다.",len:"텍스트 문자열의 문자 수를 반환합니다.",power:"숫자의 거듭제곱 결과를 반환합니다.",ceiling:"숫자를 가장 가까운 정수 또는 가장 가까운 유효 배수로 반올림",floor:"숫자를 0에 가깝게 반올림",substitute:"텍스트 문자열의 기존 텍스트를 새 텍스트로 대체",replace:"텍스트 내 문자 교체",search:"다른 텍스트 값 내에서 하나의 텍스트 값 찾기(대소문자 구분 안 함)",find:"다른 텍스트 값 내에서 하나의 텍스트 값 찾기(대소문자 구분)",isnumber:"값이 숫자이면 TRUE를 반환",istext:"값이 텍스트이면 TRUE를 반환",isblank:"값이 비어 있으면 TRUE를 반환",upper:"텍스트를 대문자로 변환",lower:"텍스트를 소문자로 변환",product:"인수를 곱합니다",sumproduct:"해당 배열 구성요소의 곱의 합을 반환합니다.",subtotal:"목록 또는 데이터베이스에서 소계를 반환합니다.",counta:"인수 목록에 얼마나 많은 값이 있는지 계산",averageif:"지정된 기준을 충족하는 범위 내 모든 셀의 평균(산술 평균)을 반환합니다.",averageifs:"여러 기준을 충족하는 모든 셀의 평균(산술 평균)을 반환합니다.",trim:"텍스트에서 공백 제거",sign:"숫자의 부호를 반환합니다",yield:"주기적으로 이자를 지급하는 유가 증권의 수익률을 반환합니다",abs:"숫자의 절대값을 반환합니다.",sin:"주어진 각도의 사인을 반환합니다",cos:"숫자의 코사인을 반환합니다",tan:"숫자의 탄젠트를 반환합니다"},validation:{required:"반드시 필요하다",notMatch:"유효성 검사 규칙과 일치하지 않습니다.",between:"{}와 {} 사이입니다.",notBetween:"{}와 {} 사이가 아닙니다.",notIn:"목록에 없습니다",equal:"{}와 같습니다.",notEqual:"{}와 같지 않습니다.",lessThan:"{}보다 작습니다.",lessThanEqual:"{}보다 작거나 같습니다.",greaterThan:"{}보다 큽니다.",greaterThanEqual:"{}보다 크거나 같습니다.",downloadImageFail:"이미지를 다운로드하지 못했습니다.",invalidcell:"잘못된 링크 셀",invalid:"유효"},error:{pasteForMergedCell:"병합된 셀에서 이 작업을 수행할 수 없습니다."},calendar:{weeks:["일요일 월요일 화요일 수요일 목요일 금요일 토요일"],months:["1월, 2월, 3월, 4월, 5월, 6월, 7월, 8월, 9월, 10월, 11월, 12월"]},button:{add:"에 추가",del:"삭제",next:"다음",cancel:"취소",remove:"제거하다",save:"구하다",ok:"확인하다",previous:"이전의",close:"폐쇄"},sort:{desc:"정렬 Z->A",asc:"정렬 A->Z"},filter:{empty:"비어 있는"},dataValidation:{mode:"모델",range:"셀 범위",criteria:"기준",modeType:{cell:"단세포",column:"열",row:"선"},type:{list:"목록",number:"숫자",date:"날짜",phone:"전화",email:"이메일"},operator:{be:"~ 사이",nbe:"사이가 아니다",lt:"미만",lte:"이하",gt:"보다 더",gte:"보다 크거나 같음",eq:"동일한",neq:"같지 않다"}},dataSort:{ci:"범위",criteria:"주문하다",casesense:"대소문자 구분",sortby:"정렬 기준",header:"제목",msg:"필드별로 정렬된 다른 열을 선택하세요.",msg2:"선택 영역에 병합된 영역이 있습니다. 병합된 영역 정렬을 지원하지 않습니다.",order:{asc:"양성 서열",desc:"역순으로"}},dataSearch:{label:"콘텐츠 찾기",lkinlb:"검색 범위",matchwhole:"전체 내용과 일치",lookin:{values:"텍스트",formulas:"공식",comments:"주석"}},dataComment:{label:"주석"},control:{min:"최소",max:"최대값",cur:"현재 값",inc:"변동분 변경",page:"페이지 변경 내용"}},it:{toolbar:{undo:"revocare",redo:"rifare",print:"Stampa",paintformat:"Formato pittore",clearformat:"formato chiaro",format:"Formato dei dati",fontName:"nome del carattere",fontSize:"dimensione del font",fontBold:"carattere grassetto",fontItalic:"carattere corsivo",underline:"sottolineare",strike:"barrato",color:"colore del testo",bgcolor:"colore di riempimento",border:"telaio",merge:"Unire le celle",unmerge:"separare le celle",align:"Allineamento orizzontale",valign:"allineamento verticale",textwrap:"a capo automatico",freeze:"ranghi fissi",autofilter:"filtro",formula:"formula",more:"Di più",sort:"Classificazione",download:"scaricamento",pagination:"paginazione",search:"ricerca",commentDefault:"si prega di inserire il testo",commentEdit:"modificare i commenti",commentRemove:"eliminare il commento",commentPrevious:"Commento precedente",commentNext:"prossimo commento",insertImage:"inserire immagine",insertTextBox:"Inserisci casella di testo",insertComboBox:"Inserisci casella combinata",insertCheckBox:"Inserisci casella di controllo",insertRadioButton:"Inserisci pulsante opzione",insertSpinButton:"Inserisci pulsante di selezione",insertScrollBar:"Inserisci barra di scorrimento",insertLabel:"Inserisci etichetta"},menubar:{undo:"disfare",redo:"rifare",print:"Stampa",paintformat:"Formato pittore",clearformat:"formato chiaro",format:"Formato dei dati",fontName:"Nome carattere:",fontSize:"dimensione del font:",fontBold:"carattere grassetto",fontItalic:"carattere corsivo",underline:"sottolineare",strike:"barrato",color:"colore del testo",bgcolor:"colore di riempimento",border:"telaio",merge:"Unire le celle",unmerge:"separare le celle",align:"Allineamento orizzontale",valign:"allineamento verticale",textwrap:"a capo automatico",freeze:"ranghi fissi",autofilter:"filtro",formula:"formula",more:"Di più",sort:"Classificazione",download:"scaricamento",download_HTML:"Scarica come HTML",download_PDF:"Scarica come PDF",download_Original:"scarica originale",download_XLSX:"Scarica come XLSX",download_GOOGLE:"Salva su Google Drive",download_DROPBOX:"Salva su Dropbox",pagination:"paginazione",search:"ricerca",commentDefault:"si prega di inserire il testo",insertSheet:"inserire foglio di lavoro",insertRow:"inserire riga",insertColumn:"inserire colonna",link:"collegamento",insertComment:"Aggiungi un commento",commentEdit:"modificare i commenti",commentRemove:"eliminare il commento",commentPrevious:"Commento precedente",commentNext:"prossimo commento",insertImage:"inserire immagine",insertControl:"controllo",fromURL:"dall'URL",fromLocal:"dal locale",menuInsert:"aggiungere a",menuComment:"Controllo",menuText:"Formato",menuFont:"font",menuEdit:"prima pagina",menuFile:"documento"},contextmenu:{copy:"copia",cut:"tagliare",paste:"impasto",pasteValue:"Incolla solo il valore",pasteFormat:"Incolla solo la formattazione",hide:"nascondere",insertRow:"inserire riga",insertColumn:"inserire colonna",deleteSheet:"eliminare foglio",deleteRow:"elimina riga",deleteColumn:"elimina colonna",deleteCell:"eliminare cella",deleteCellText:"eliminare il testo della cella",validation:"verifica dei dati",sort:"Classificazione",link:"collegamento",removeLink:"eliminare il collegamento",editLink:"modifica collegamento",openLink:"link aperto",download:"scaricamento",cellprintable:"abilitare l'esportazione",cellnonprintable:"disabilitare l'esportazione",celleditable:"permettere la modifica",cellnoneditable:"disabilitare la modifica",insertURL:"Inserisci l'indirizzo dell'immagine",deleteImage:"eliminare l'immagine",copyImage:"copia immagine",pasteImage:"incollare l'immagine",merge:"unire",unmerge:"separare",edit:"modificare",clear:"cancellare"},link:{emailAddress:"E-mail",emailSubject:"tema",sheetPage:"posizione del file",sheetCell:"riferimento di cella",linkTypes:{web:"pagina web",sheet:"questa vita",email:"E-mail"},webUrl:"URL",linkType:"tipo di collegamento"},download:{fileName:"nome del file",saveType:"Salva come",saveTypes:{Original:"formato originale",XLSX:"Formato XLSX",PDF:"Formato PDF",HTML:"Formato HTML"}},print:{setting:"Configurazione",orientation:"Orientamento dello schermo",orientations:{landscape:"Largo ulango",portrait:"Prosilio perenne"},size:"Dimensione cartoneria",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Proporzionalità",scales:{noscale:"Nessuno è disponibile",fitsheet:"Disponibile per la freccia",fitcolumns:"Disponibile per tutti i colonni",fitrows:"Disponibile per tutti i righetto"},order:"Ordine",orders:{downover:"prima in basso poi a destra",overdown:"prima a destra poi in basso"},imageshow:"immagine",imageshows:{show:"Mostra",hide:"Nascondi"}},format:{normal:"ordinario",text:"testo semplice",number:"numero",percent:"percentuale",rmb:"RMB",usd:"Dollaro",eur:"euro",date:"data",time:"tempo",datetime:"appuntamento",duration:"periodo"},formula:{sum:"Calcola la somma di un insieme di valori",average:"Calcola la media aritmetica di tutti i parametri",max:"Calcola il valore massimo in un insieme di cifre",min:"Calcola il valore più piccolo in un set di cifre",_if:"A seconda che il risultato del giudizio logico della condizione specificata sia vero o falso, restituisce il risultato del calcolo attivato dalla condizione corrispondente",and:'Restituisce "vero" logico solo se i risultati dei parametri sono entrambi "veri" logici, altrimenti restituisce "falso" logico',or:'Il risultato viene restituito come logico "falso" solo se tutti i valori dei parametri sono logicamente "falsi", altrimenti restituisce logicamente "vero"',concat:"Collega insieme più caratteri di testo o dati nelle celle",count:"conta il numero di celle che contengono numeri e conta i numeri all'interno dell'elenco di argomenti",sumif:"Aggiunge le celle specificate da un determinato criterio",sumifs:"Aggiunge le celle in un intervallo che soddisfano più criteri",vlookup:"Cerca nella prima colonna di un array e si sposta lungo la riga per restituire il valore di una cella",hlookup:"Cerca un valore nella prima riga di una tabella o di un array di valori, quindi restituisce un valore nella stessa colonna da una riga specificata nella tabella o nell'array.",lookup:"Cerca i valori in un vettore o in un array",match:"Cerca i valori in un riferimento o in un array",rank:"Restituisce il rango di un numero in un elenco di numeri",frequency:"Restituisce una distribuzione di frequenza come matrice verticale",text:"Formatta un numero e lo converte in testo",left:"Restituisce i caratteri più a sinistra da un valore di testo",right:"Restituisce i caratteri più a destra da un valore di testo",round:"Arrotonda un numero a un numero di cifre specificato",index:"Utilizza un indice per scegliere un valore da un riferimento o un array",countif:"Conta il numero di celle all'interno di un intervallo che soddisfano i criteri specificati",countifs:"Conta il numero di celle all'interno di un intervallo che soddisfano più criteri",mid:"Restituisce un numero specifico di caratteri da una stringa di testo a partire dalla posizione specificata",len:"Restituisce il numero di caratteri in una stringa di testo",power:"Restituisce il risultato di un numero elevato a potenza",ceiling:"Arrotonda un numero all'intero più vicino o al multiplo significativo più vicino",floor:"Arrotonda un numero per difetto, verso lo zero",substitute:"Sostituisce il nuovo testo con il vecchio testo in una stringa di testo",replace:"Sostituisce i caratteri all'interno del testo",search:"Trova un valore di testo all'interno di un altro (senza distinzione tra maiuscole e minuscole)",find:"Trova un valore di testo all'interno di un altro (con distinzione tra maiuscole e minuscole)",isnumber:"Restituisce TRUE se il valore è un numero",istext:"Restituisce TRUE se il valore è testo",isblank:"Restituisce TRUE se il valore è vuoto",upper:"Converte il testo in maiuscolo",lower:"Converte il testo in minuscolo",product:"Moltiplica i suoi argomenti",sumproduct:"Restituisce la somma dei prodotti dei corrispondenti componenti dell'array",subtotal:"Restituisce un totale parziale in un elenco o database",counta:"Conta quanti valori ci sono nell'elenco degli argomenti",averageif:"Restituisce la media (media aritmetica) di tutte le celle in un intervallo che soddisfano un dato criterio",averageifs:"Restituisce la media (media aritmetica) di tutte le celle che soddisfano più criteri.",trim:"Rimuove gli spazi dal testo",sign:"Restituisce il segno di un numero",yield:"Restituisce il rendimento di un titolo che paga interessi periodici",abs:"Restituisce il valore assoluto di un numero",sin:"Restituisce il seno dell'angolo dato",cos:"Restituisce il coseno di un numero",tan:"Restituisce la tangente di un numero"},validation:{required:"deve essere richiesto",notMatch:"non corrisponde alle sue regole di convalida",between:"È compreso tra {} e {}",notBetween:"non è tra {} e {}",notIn:"non è nella lista",equal:"è uguale a {}",notEqual:"non è uguale a {}",lessThan:"è minore di {}",lessThanEqual:"è minore o uguale a {}",greaterThan:"è maggiore di {}",greaterThanEqual:"è maggiore o uguale a {}",downloadImageFail:"Impossibile scaricare l'immagine",invalidcell:"Errore nelle celle collegate",invalid:"non valido"},error:{pasteForMergedCell:"Impossibile eseguire questa operazione sulle celle unite"},calendar:{weeks:["Domenica lunedì martedì mercoledì giovedì venerdì sabato"],months:["Gennaio, Febbraio, Marzo, Aprile, Maggio, Giugno, Luglio, Agosto, Settembre, Ottobre, Novembre, Dicembre"]},button:{add:"aggiungere a",del:"eliminare",next:"Prossimo",cancel:"Annulla",remove:"rimuovere",save:"salva",ok:"Confermare",previous:"Precedente",close:"chiusura"},sort:{desc:"Ordina Z->A",asc:"Ordina A->Z"},filter:{empty:"vuoto"},dataValidation:{mode:"modello",range:"intervallo di celle",criteria:"standard",modeType:{cell:"singola cella",column:"colonna",row:"linea"},type:{list:"elenco",number:"cifra",date:"data",phone:"Telefono",email:"e-mail"},operator:{be:"fra",nbe:"non in mezzo",lt:"meno di",lte:"minore o uguale a",gt:"più del",gte:"maggiore o uguale a",eq:"pari",neq:"non uguale a"}},dataSort:{ci:"scopo",criteria:"ordine",casesense:"maiuscole e minuscole",sortby:"ordina per",header:"titolo",msg:"Scegli una colonna diversa ordinata per campo",msg2:"L'area di selezione ha un'area unita, non supportiamo l'ordinamento dell'area unita",order:{asc:"Sequenza positiva",desc:"ordine inverso"}},dataSearch:{label:"trovare contenuti",lkinlb:"intervallo di ricerca",matchwhole:"corrisponde all'intero contenuto",lookin:{values:"testo",formulas:"formula",comments:"annotazione"}},dataComment:{label:"annotazione"},control:{min:"Valore minimo",max:"Valore massimo",cur:"Valore corrente",inc:"Variazione incrementale",page:"Modifica pagina"}},ar:{toolbar:{undo:"سحب او إبطال",redo:"إعادة",print:"مطبعة",paintformat:"شكل الرسام",clearformat:"شكل واضح",format:"تنسيق البيانات",fontName:"اسم الخط",fontSize:"حجم الخط",fontBold:"خط عريض",fontItalic:"مائل الخط",underline:"تسطير",strike:"يتوسطه خط",color:"لون الخط",bgcolor:"لون التعبئة",border:"إطار",merge:"دمج الخلايا",unmerge:"فك دمج الخلايا",align:"محاذاة أفقية",valign:"انحياز عمودي",textwrap:"التفاف النص",freeze:"رتب ثابتة",autofilter:"منقي",formula:"معادلة",more:"أكثر",sort:"تصنيف",download:"تحميل",pagination:"الترحيل",search:"يبحث",commentDefault:"الرجاء إدخال النص",commentEdit:"تحرير التعليقات",commentRemove:"حذف تعليق",commentPrevious:"التعليق السابق",commentNext:"التعليق التالي",insertImage:"إدراج الصورة",InsertTextBox:"إدراج مربع نص",InsertComboBox:"إدراج مربع تحرير وسرد",InsertCheckBox:"إدراج خانة اختيار",InsertRadioButton:"إدراج زر الخيار",InsertSpinButton:"إدراج زر الدوران",InsertScrollBar:"إدراج شريط التمرير",InsertLabel:"إدراج تسمية"},menubar:{undo:"الغاء التحميل",redo:"إعادة",print:"مطبعة",paintformat:"شكل الرسام",clearformat:"شكل واضح",format:"تنسيق البيانات",fontName:"اسم الخط:",fontSize:"حجم الخط:",fontBold:"خط عريض",fontItalic:"مائل الخط",underline:"تسطير",strike:"يتوسطه خط",color:"لون الخط",bgcolor:"لون التعبئة",border:"إطار",merge:"دمج الخلايا",unmerge:"فك دمج الخلايا",align:"محاذاة أفقية",valign:"انحياز عمودي",textwrap:"التفاف النص",freeze:"رتب ثابتة",autofilter:"منقي",formula:"معادلة",more:"أكثر",sort:"تصنيف",download:"تحميل",download_HTML:"تنزيل بتنسيق HTML",download_PDF:"تنزيل كملف PDF",download_Original:"تحميل الاصلي",download_XLSX:"تنزيل بتنسيق XLSX",download_GOOGLE:"حفظ في Google Drive",download_DROPBOX:"حفظ إلى المنسدل",pagination:"الترحيل",search:"يبحث",commentDefault:"الرجاء إدخال النص",insertSheet:"أدخل ورقة العمل",insertRow:"الصف إدراج",insertColumn:"إدراج العمود",link:"وصلة",insertComment:"أضف تعليق",commentEdit:"تحرير التعليقات",commentRemove:"حذف تعليق",commentPrevious:"التعليق السابق",commentNext:"التعليق التالي",insertImage:"إدراج الصورة",insertControl:"يتحكم",fromURL:"من URL",fromLocal:"من المحلية",menuInsert:"اضف إليه",menuComment:"يفحص",menuText:"شكل",menuFont:"الخط",menuEdit:"الصفحة الأمامية",menuFile:"وثيقة"},contextmenu:{copy:"ينسخ",cut:"لقطع",paste:"معجون",pasteValue:"الصق القيمة فقط",pasteFormat:"لصق التنسيق فقط",hide:"يخفي",insertRow:"الصف إدراج",insertColumn:"إدراج العمود",deleteSheet:"حذف الورقة",deleteRow:"احذف صف",deleteColumn:"حذف العمود",deleteCell:"حذف الخلية",deleteCellText:"حذف نص الخلية",validation:"التحقق من البيانات",sort:"تصنيف",link:"وصلة",removeLink:"حذف الارتباط",editLink:"تعديل الارتباط",openLink:"افتح الرابط",download:"تحميل",cellprintable:"تمكين التصدير",cellnonprintable:"تعطيل التصدير",celleditable:"تفعيل التحرير",cellnoneditable:"تعطيل التحرير",insertURL:"أدخل عنوان الصورة",deleteImage:"حذف الصورة",copyImage:"نسخ الصورة",pasteImage:"لصق الصورة",merge:"دمج",unmerge:"تفكك",edit:"يحرر",clear:"لتوضيح"},link:{emailAddress:"بريد إلكتروني",emailSubject:"سمة",sheetPage:"مكان الملف",sheetCell:"مرجع الخلية",linkTypes:{web:"صفحة على الإنترنت",sheet:"هذا الملف",email:"بريد إلكتروني"},webUrl:"عنوان url",linkType:"نوع الارتباط"},download:{fileName:"اسم الملف",saveType:"حفظ باسم",saveTypes:{Original:"التنسيق الأصلي",XLSX:"تنسيق XLSX",PDF:"تنسيق PDF",HTML:"تنسيق HTML"}},print:{setting:"تأكد الأسئلة",orientation:"اتجاه الصفحة",orientations:{landscape:"أفقي",portrait:"لَوحَة"},size:"حجم الورق",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"نسبة التحجيم",scales:{noscale:"لا التكبير",fitsheet:"صفحة واحدة تناسب ورقة العمل",fitcolumns:"صفحة واحدة تناسب كافة الأعمدة",fitrows:"صفحة واحدة تناسب جميع الصفوف"},order:"طلب",orders:{downover:"أولاً للأسفل ثم لليمين",overdown:"أولًا لليمين ثم للأسفل"},imageshow:"صورة",imageshows:{show:"يعرض",hide:"يخفي"}},format:{normal:"عادي",text:"نص عادي",number:"رقم",percent:"نسبة مئوية",rmb:"يوان",usd:"دولار",eur:"يورو",date:"تاريخ",time:"وقت",datetime:"وقت التاريخ",duration:"فترة"},formula:{sum:"تحسب مجموع مجموعة من القيم",average:"يحسب المتوسط ​​الحسابي لجميع المعلمات",max:"تحسب القيمة القصوى في مجموعة من الأرقام",min:"تحسب أصغر قيمة في مجموعة من الأرقام",_if:"وفقًا لنتيجة الحكم المنطقي للشرط المحدد هي صواب أو خطأ ، قم بإرجاع نتيجة الحساب التي تم تشغيلها بواسطة الشرط المقابل",and:'تقوم بإرجاع "صواب" منطقيًا فقط إذا كانت نتائج المعلمات "صواب" منطقية ، وإلا فإنها ترجع "خطأ" منطقيًا',or:'يتم إرجاع النتيجة على أنها "خطأ" منطقية فقط إذا كانت جميع قيم المعلمات "خطأ" منطقيًا ، وإلا فإنها ترجع "صواب" منطقيًا',concat:"ربط نصوص أو بيانات متعددة الأحرف في الخلايا معًا",count:"تحسب عدد الخلايا التي تحتوي على أرقام ,وتحسب الأرقام في قائمة الوسائط",sumif:"إضافة الخلايا المحددة بمعايير معينة",sumifs:"إضافة الخلايا في نطاق يلبي معايير متعددة",vlookup:"البحث في العمود الأول من المصفوفة ويتحرك عبر الصف لإرجاع قيمة الخلية",hlookup:"البحث عن قيمة في الصف العلوي من جدول أو مصفوفة من القيم ,ثم إرجاع قيمة في نفس العمود من صف تحدده في الجدول أو المصفوفة.",lookup:"البحث عن القيم في متجه أو مصفوفة",match:"البحث عن القيم في مرجع أو مصفوفة",rank:"إرجاع رتبة رقم في قائمة الأرقام",frequency:"ترجع توزيع التردد كصفيف عمودي",text:"تنسيق رقم وتحويله إلى نص",left:"إرجاع الأحرف الموجودة في أقصى اليسار من قيمة نصية",right:"إرجاع الأحرف الموجودة في أقصى اليمين من قيمة نصية",round:"لتقريب رقم إلى عدد محدد من الأرقام",index:"يستخدم فهرسًا لاختيار قيمة من مرجع أو مصفوفة",countif:"تحسب عدد الخلايا داخل النطاق الذي يفي بالمعايير المحددة",countifs:"تحسب عدد الخلايا الموجودة في النطاق التي تفي بمعايير متعددة",mid:"ترجع عددًا محددًا من الأحرف من سلسلة نصية تبدأ من الموضع الذي تحدده",len:"إرجاع عدد الأحرف في سلسلة نصية",power:"إرجاع نتيجة رقم مرفوع إلى أس",ceiling:"تقريب رقم إلى أقرب عدد صحيح أو إلى أقرب مضاعف ذي أهمية",floor:"تقريب رقم لأسفل باتجاه الصفر",substitute:"استبدال نص جديد بالنص القديم في سلسلة نصية",replace:"يستبدل الأحرف داخل النص",search:"البحث عن قيمة نصية داخل قيمة أخرى (ليست حساسة لحالة الأحرف)",find:"البحث عن قيمة نصية داخل أخرى (حساسة لحالة الأحرف)",isnumber:"ترجع TRUE إذا كانت القيمة رقمًا",istext:"ترجع TRUE إذا كانت القيمة نصًا",isblank:"ترجع TRUE إذا كانت القيمة فارغة",upper:"تحويل النص إلى أحرف كبيرة",lower:"تحويل النص إلى أحرف صغيرة",product:"تضاعف حججها",sumproduct:"إرجاع مجموع حاصل ضرب مكونات المصفوفة المقابلة",subtotal:"إرجاع إجمالي فرعي في قائمة أو قاعدة بيانات",counta:"تحسب عدد القيم الموجودة في قائمة الوسائط",averageif:"إرجاع المتوسط (الوسط الحسابي) لجميع الخلايا في النطاق الذي يفي بمعايير معينة",averageifs:"إرجاع المتوسط (الوسط الحسابي) لجميع الخلايا التي تفي بمعايير متعددة.",trim:"يزيل المسافات من النص",sign:"إرجاع علامة الرقم",yield:"إرجاع العائد على ورقة مالية ذات فائدة دورية",abs:"إعادة القيمة المطلقة لرقم",sin:"إرجاع جيب الزاوية لزاوية معينة",cos:"إرجاع جيب التمام لرقم",tan:"إرجاع ظل الرقم"},validation:{required:"يجب أن يكون مطلوبًا",notMatch:"لا يتطابق مع قواعد التحقق من الصحة الخاصة به",between:"ما بين {} و {}",notBetween:"إنه ليس بين {} و {}",notIn:"ليس في القائمة",equal:"انها تساوي {}",notEqual:"لا تساوي {}",lessThan:"إنه أقل من {}",lessThanEqual:"إنه أصغر من أو يساوي {}",greaterThan:"أكبر من {}",greaterThanEqual:"أكبر من أو يساوي {}",downloadImageFail:"فشل تحميل الصورة",invalidcell:" خطأ في ربط الخلايا ",invalid:"باطل "},error:{pasteForMergedCell:"لا يمكن إجراء هذه العملية على الخلايا المدمجة"},calendar:{weeks:["الاحد الاثنين الثلاثاء الاربعاء الخميس الجمعة السبت"],months:["يناير ، فبراير ، مارس ، أبريل ، مايو ، يونيو ، يوليو ، أغسطس ، سبتمبر ، أكتوبر ، نوفمبر ، ديسمبر"]},button:{add:"اضف إليه",del:"يمسح",next:"التالي",cancel:"يلغي",remove:"يزيل",save:"يحفظ",ok:"يتأكد",previous:"سابق",close:"إنهاء"},sort:{desc:"فرز Z-> A",asc:"فرز A-> Z"},filter:{empty:"فارغ"},dataValidation:{mode:"نموذج",range:"نطاق الخلايا",criteria:"معيار",modeType:{cell:"خلية واحدة",column:"عمود",row:"خط"},type:{list:"قائمة",number:"رقم",date:"تاريخ",phone:"هاتف",email:"بريد إلكتروني"},operator:{be:"بين",nbe:"ليس بينهما",lt:"أقل من",lte:"اقل او يساوي",gt:"أكثر من",gte:"أكبر من أو يساوي",eq:"متساوي",neq:"لا يساوي"}},dataSort:{ci:"نِطَاق",criteria:"طلب",casesense:"حساسية الموضوع",sortby:"ترتيب حسب",header:"عنوان",msg:"الرجاء اختيار عمود مختلف مرتبة حسب المجال",msg2:"منطقة التحديد بها منطقة مدمجة ، لا ندعم فرز المنطقة المدمجة",order:{asc:"تسلسل إيجابي",desc:"ترتيب عكسي"}},dataSearch:{label:"العثور على المحتوى",lkinlb:"نطاق البحث",matchwhole:"يطابق المحتوى بأكمله",lookin:{values:"نص",formulas:"معادلة",comments:"حاشية. ملاحظة"}},dataComment:{label:"حاشية. ملاحظة"},control:{min:"قيمة الحد الأدنى",max:"القيمة القصوى",cur:"القيمة الحالية",inc:"تغيير تدريجي",page:"تغيير الصفحة"}},ja:{toolbar:{undo:"取り消す",redo:"やり直す",print:"印刷する",paintformat:"フォーマットペインター",clearformat:"クリアフォーマット",format:"データ形式",fontName:"フォント名",fontSize:"フォントサイズ",fontBold:"太字",fontItalic:"フォント斜体",underline:"下線",strike:"取り消し線",color:"テキストの色",bgcolor:"塗りつぶしの色",border:"フレーム",merge:"セルを結合します",unmerge:"セルの結合を解除する",align:"水平方向の配置",valign:"垂直方向の配置",textwrap:"ワードラップ",freeze:"固定ランク",autofilter:"フィルター",formula:"方式",more:"もっと",sort:"分類",download:"ダウンロード",pagination:"ページング",search:"検索",commentDefault:"テキストを入力してください",commentEdit:"コメントを編集",commentRemove:"コメントを削除",commentPrevious:"前のコメント",commentNext:"次のコメント",insertImage:"画像を挿入",insertTextBox:"テキスト ボックスの挿入",insertComboBox:"コンボ ボックスの挿入",insertCheckBox:"チェックボックスを挿入",insertRadioButton:"オプション ボタンの挿入",insertSpinButton:"スピン ボタンの挿入",insertScrollBar:"スクロール バーの挿入",insertLabel:"ラベルの挿入"},menubar:{undo:"元に戻す",redo:"やり直す",print:"印刷する",paintformat:"フォーマットペインター",clearformat:"クリアフォーマット",format:"データ形式",fontName:"フォント名:",fontSize:"フォントサイズ:",fontBold:"太字",fontItalic:"フォント斜体",underline:"下線",strike:"取り消し線",color:"テキストの色",bgcolor:"塗りつぶしの色",border:"フレーム",merge:"セルを結合します",unmerge:"セルの結合を解除する",align:"水平方向の配置",valign:"垂直方向の配置",textwrap:"ワードラップ",freeze:"固定ランク",autofilter:"フィルター",formula:"方式",more:"もっと",sort:"分類",download:"ダウンロード",download_HTML:"HTMLとしてダウンロード",download_PDF:"PDFとしてダウンロード",download_Original:"オリジナルをダウンロード",download_XLSX:"XLSXとしてダウンロード",download_GOOGLE:"Google ドライブに保存",download_DROPBOX:"ドロップボックスに保存",pagination:"ページング",search:"検索",commentDefault:"テキストを入力してください",insertSheet:"ワークシートを挿入",insertRow:"行を挿入",insertColumn:"列を挿入",link:"リンク",insertComment:"コメントを追加",commentEdit:"コメントを編集",commentRemove:"コメントを削除",commentPrevious:"前のコメント",commentNext:"次のコメント",insertImage:"画像を挿入",insertControl:"コントロール",fromURL:"URLから",fromLocal:"ローカルから",menuInsert:"追加",menuComment:"チェック",menuText:"フォーマット",menuFont:"フォント",menuEdit:"表紙",menuFile:"書類"},contextmenu:{copy:"コピー",cut:"切る",paste:"ペースト",pasteValue:"値のみを貼り付けます",pasteFormat:"書式のみ貼り付け",hide:"隠れる",insertRow:"行を挿入",insertColumn:"列を挿入",deleteSheet:"シートを削除",deleteRow:"行を削除",deleteColumn:"列を削除",deleteCell:"セルを削除",deleteCellText:"セルのテキストを削除",validation:"データ検証",sort:"分類",link:"リンク",removeLink:"リンクを削除",editLink:"リンクを編集",openLink:"リンクを開く",download:"ダウンロード",cellprintable:"エクスポートを有効にする",cellnonprintable:"エクスポートを無効にする",celleditable:"編集を有効に",cellnoneditable:"編集を無効にする",insertURL:"画像アドレスを入力",deleteImage:"画像を削除",copyImage:"コピー画像",pasteImage:"絵を貼り付ける",merge:"マージ",unmerge:"マージを解除する",edit:"編集",clear:"クリアする"},link:{emailAddress:"Eメール",emailSubject:"テーマ",sheetPage:"ファイルの場所",sheetCell:"セル参照",linkTypes:{web:"ウェブページ",sheet:"このファイル",email:"Eメール"},webUrl:"URL",linkType:"リンクタイプ"},download:{fileName:"ファイル名",saveType:"名前を付けて保存",saveTypes:{Original:"オリジナルフォーマット",XLSX:"XLSX形式",PDF:"PDF形式",HTML:"HTML形式"}},print:{setting:"設定",orientation:"ページの方向",orientations:{landscape:"横",portrait:"縦"},size:"紙の寸",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"比例",scales:{noscale:"無縮放",fitsheet:"单一のページで適応",fitcolumns:"すべてのカラムに適応",fitrows:"すべてのレベルに適応"},order:"順序",orders:{downover:"先下を向右にしたら続ける",overdown:"先右を向下にしたら続ける"},imageshow:"イメージ",imageshows:{show:"表示",hide:"隠す"}},format:{normal:"普通",text:"プレーンテキスト",number:"番号",percent:"パーセンテージ",rmb:"人民元",usd:"ドル",eur:"ユーロ",date:"日にち",time:"時間",datetime:"日付時刻",duration:"期間"},formula:{sum:"一連の値の合計を計算します",average:"すべてのパラメータの算術平均を計算します",max:"一連の桁の最大値を計算します",min:"一連の数字の最小値を計算します",_if:"指定した条件の論理判定結果が真か偽かに従って、該当する条件でトリガーされた計算結果を返す",and:"パラメータの結果が両方とも論理「真」の場合にのみ論理「真」を返し、それ以外の場合は論理「偽」を返します。",or:"結果は、すべてのパラメーター値が論理的に「false」である場合にのみ論理的な「false」として返され、それ以外の場合は論理的に「true」が返されます。",concat:"セル内の複数の文字テキストまたはデータを結合する",count:"数値を含むセルの数をカウントし、引数のリスト内の数値をカウントします",sumif:"特定の条件で指定されたセルを追加します",sumifs:"複数の基準を満たす範囲内のセルを追加します",vlookup:"配列の最初の列を調べ、行全体を移動してセルの値を返します",hlookup:"テーブルまたは値の配列の一番上の行の値を検索し、テーブルまたは配列で指定した行から同じ列の値を返します。",lookup:"ベクトルまたは配列内の値を検索します",match:"参照または配列内の値を検索します",rank:"数値のリスト内の数値のランクを返します",frequency:"度数分布を垂直配列として返します",text:"数値をフォーマットしてテキストに変換",left:"テキスト値から左端の文字を返します",right:"テキスト値から右端の文字を返します",round:"数値を指定された桁数に丸める",index:"インデックスを使用して、参照または配列から値を選択します",countif:"指定された基準を満たす範囲内のセルの数をカウントします",countifs:"複数の基準を満たす範囲内のセルの数をカウントします",mid:"指定した位置から始まるテキスト文字列から特定の文字数を返します",len:"テキスト文字列の文字数を返す",power:"累乗した数値の結果を返します",ceiling:"数値を最も近い整数または最も近い有効倍数に丸めます",floor:"数値をゼロに向かって切り捨てます",substitute:"テキスト文字列内の古いテキストを新しいテキストに置き換えます",replace:"テキスト内の文字を置き換えます",search:"別のテキスト値を検索します (大文字と小文字を区別しません)",find:"別のテキスト値を検索します (大文字と小文字を区別します)",isnumber:"値が数値の場合に TRUE を返します",istext:"値がテキストの場合、TRUE を返します",isblank:"値が空白の場合は TRUE を返します",upper:"テキストを大文字に変換します",lower:"テキストを小文字に変換します",product:"その引数を乗算します",sumproduct:"対応する配列コンポーネントの積の合計を返します",subtotal:"リストまたはデータベースの小計を返します",counta:"引数のリストにある値の数を数えます",averageif:"指定された基準を満たす範囲内のすべてのセルの平均 (算術平均) を返します",averageifs:"複数の基準を満たすすべてのセルの平均 (算術平均) を返します。",trim:"テキストからスペースを削除します",sign:"数値の符号を返します",yield:"定期的に利息を支払う証券の利回りを返します",abs:"数値の絶対値を返します",sin:"指定された角度の正弦を返します",cos:"数値のコサインを返します",tan:"数値のタンジェントを返します"},validation:{required:"必須でなければなりません",notMatch:"検証ルールと一致しません",between:"{} と {} の間にあります",notBetween:"{} と {} の間にありません",notIn:"それはリストにありません",equal:"{} に等しい",notEqual:"{} と等しくありません",lessThan:"{} 未満です",lessThanEqual:"{}以下です",greaterThan:"{} より大きい",greaterThanEqual:"{}以上です",downloadImageFail:"画像のダウンロードに失敗しました",invalidcell:"リンクされたセルに誤りがあります",invalid:"無効です"},error:{pasteForMergedCell:"結合されたセルに対してこの操作を実行できません"},calendar:{weeks:["日曜日月曜日火曜日水曜日の木曜日金曜日土曜日"],months:["1月、2月、3月、4月、5月、6月、7月、8月、9月、10月、11月、12月"]},button:{add:"追加",del:"消去",next:"次",cancel:"キャンセル",remove:"削除",save:"保存",ok:"確認",previous:"前",close:"閉鎖"},sort:{desc:"Z->A で並べ替え",asc:"A->Z で並べ替え"},filter:{empty:"空"},dataValidation:{mode:"モデル",range:"セル範囲",criteria:"標準",modeType:{cell:"単細胞",column:"桁",row:"ライン"},type:{list:"リスト",number:"桁",date:"日にち",phone:"電話",email:"Eメール"},operator:{be:"間",nbe:"間にない",lt:"未満",lte:"以下",gt:"以上",gte:"以上",eq:"同等",neq:"等しくない"}},dataSort:{ci:"範囲",criteria:"注文",casesense:"大文字と小文字を区別",sortby:"並び替え",header:"タイトル",msg:"フィールドでソートされた別の列を選択してください",msg2:"選択領域には結合領域があります。結合領域の並べ替えはサポートされていません",order:{asc:"ポジティブシーケンス",desc:"逆順"}},dataSearch:{label:"コンテンツを見つける",lkinlb:"検索範囲",matchwhole:"コンテンツ全体に一致",lookin:{values:"文章",formulas:"方式",comments:"注釈"}},dataComment:{label:"注釈"},control:{min:"最小値",max:"最大値",cur:"現在の値",inc:"増分変更",page:"ページの変更"}},tr:{toolbar:{undo:"geri çekmek",redo:"yeniden yapmak",print:"Yazdır",paintformat:"Biçim boyacısı",clearformat:"formatı temizle",format:"Veri formatı",fontName:"Yazı tipi adı",fontSize:"yazı Boyutu",fontBold:"Yazı tipi kalın",fontItalic:"italik yazı tipi",underline:"altını çizmek",strike:"üstü çizili",color:"metin rengi",bgcolor:"dolgu rengi",border:"çerçeve",merge:"Hücreleri Birleştir",unmerge:"hücreleri ayır",align:"Yatay hizalama",valign:"dikey hizalama",textwrap:"kelime sarma",freeze:"sabit rütbeler",autofilter:"filtre",formula:"formül",more:"Daha",sort:"sınıflandırma",download:"indirmek",pagination:"çağrı",search:"aramak",commentDefault:"lütfen metni girin",commentEdit:"yorumları düzenle",commentRemove:"yorumu sil",commentPrevious:"Önceki yorum",commentNext:"sonraki yorum",insertImage:"resim ekle",insertTextBox:"Metin Kutusu Ekle",insertComboBox:"Birleşik Kutu Ekle",insertCheckBox:"Onay Kutusu Ekle",insertRadioButton:"Seçenek Düğmesini Ekle",insertSpinButton:"Döndürme Düğmesini Ekle",insertScrollBar:"Kaydırma Çubuğunu Ekle",insertLabel:"Etiket Ekle"},menubar:{undo:"geri alma",redo:"yeniden yapmak",print:"Yazdır",paintformat:"Biçim boyacısı",clearformat:"formatı temizle",format:"Veri formatı",fontName:"Yazı tipi adı:",fontSize:"yazı Boyutu:",fontBold:"Yazı tipi kalın",fontItalic:"italik yazı tipi",underline:"altını çizmek",strike:"üstü çizili",color:"metin rengi",bgcolor:"dolgu rengi",border:"çerçeve",merge:"Hücreleri Birleştir",unmerge:"hücreleri ayır",align:"Yatay hizalama",valign:"dikey hizalama",textwrap:"kelime sarma",freeze:"sabit rütbeler",autofilter:"filtre",formula:"formül",more:"Daha",sort:"sınıflandırma",download:"indirmek",download_HTML:"HTML olarak indir",download_PDF:"PDF olarak indir",download_Original:"orijinali indir",download_XLSX:"XLSX olarak indir",download_GOOGLE:"Google Drive'a kaydet",download_DROPBOX:"Dropbox'a kaydet",pagination:"çağrı",search:"aramak",commentDefault:"lütfen metni girin",insertSheet:"çalışma sayfası ekle",insertRow:"satır ekle",insertColumn:"sütun ekle",link:"bağlantı",insertComment:"yorum ekle",commentEdit:"yorumları düzenle",commentRemove:"yorumu sil",commentPrevious:"Önceki yorum",commentNext:"sonraki yorum",insertImage:"resim ekle",insertControl:"kontrol",fromURL:"URL'den",fromLocal:"yerelden",menuInsert:"a ekle",menuComment:"Kontrol etmek",menuText:"Biçim",menuFont:"yazı tipi",menuEdit:"ön Sayfa",menuFile:"belge"},contextmenu:{copy:"kopyalamak",cut:"kesmek",paste:"yapıştırmak",pasteValue:"Yalnızca değeri yapıştırın",pasteFormat:"Yalnızca biçimlendirmeyi yapıştır",hide:"saklamak",insertRow:"satır ekle",insertColumn:"sütun ekle",deleteSheet:"sayfayı sil",deleteRow:"sırayı sil",deleteColumn:"sütunu sil",deleteCell:"hücreyi sil",deleteCellText:"hücre metnini sil",validation:"Veri doğrulama",sort:"sınıflandırma",link:"bağlantı",removeLink:"bağlantıyı sil",editLink:"bağlantıyı düzenle",openLink:"linki aç",download:"indirmek",cellprintable:"dışa aktarmayı etkinleştir",cellnonprintable:"dışa aktarmayı devre dışı bırak",celleditable:"düzenlemeyi etkinleştir",cellnoneditable:"düzenlemeyi devre dışı bırak",insertURL:"Resim adresini girin",deleteImage:"resmi sil",copyImage:"resmi kopyala",pasteImage:"resim yapıştır",merge:"birleştirmek",unmerge:"çözmek",edit:"düzenlemek",clear:"temizlemek için"},link:{emailAddress:"e-posta",emailSubject:"tema",sheetPage:"dosya konumu",sheetCell:"hücre referansı",linkTypes:{web:"web sayfası",sheet:"bu dosya",email:"e-posta"},webUrl:"url",linkType:"bağlantı türü"},download:{fileName:"dosya adı",saveType:"Farklı kaydet",saveTypes:{Original:"orijinal biçim",XLSX:"XLSX formatı",PDF:"PDF biçimi",HTML:"HTML biçimi"}},print:{setting:"kurmak",orientation:"Sayfa yönlendirmesi",orientations:{landscape:"yatay",portrait:"Vesika"},size:"kağıt boyutu",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"ölçeklendirme oranı",scales:{noscale:"yakınlaştırma yok",fitsheet:"Tek sayfaya sığdır çalışma sayfası",fitcolumns:"Tek sayfa tüm sütunlara uyar",fitrows:"Tek Sayfa Tüm Satırlara Sığar"},order:"emir",orders:{downover:"önce aşağı sonra sağa",overdown:"önce sağa sonra aşağıya"},imageshow:"resim",imageshows:{show:"göstermek",hide:"saklamak"}},format:{normal:"sıradan",text:"düz metin",number:"sayı",percent:"yüzde",rmb:"Yuan",usd:"Dolar",eur:"EUR",date:"tarih",time:"zaman",datetime:"tarih saat",duration:"dönem"},formula:{sum:"Bir dizi değerin toplamını hesaplar",average:"Tüm parametrelerin aritmetik ortalamasını hesaplar",max:"Bir dizi basamaktaki maksimum değeri hesaplar",min:"Bir dizi basamaktaki en küçük değeri hesaplar",_if:"Belirtilen koşulun mantıksal yargı sonucuna göre doğru veya yanlış, karşılık gelen koşul tarafından tetiklenen hesaplama sonucunu döndür",and:'Yalnızca parametrelerin sonuçlarının her ikisi de mantıksal "true" ise mantıksal "true" değerini döndürür, aksi takdirde mantıksal "false" değerini döndürür.',or:'Sonuç, yalnızca tüm parametre değerleri mantıksal olarak "yanlış" ise mantıksal olarak "yanlış" olarak döndürülür, aksi takdirde mantıksal olarak "doğru" olarak döner.',concat:"Hücrelerdeki birden çok karakterli metni veya verileri birbirine bağlayın",count:"sayı içeren hücrelerin sayısını sayar ve bağımsız değişkenler listesindeki sayıları sayar",sumif:"Belirli bir kritere göre belirtilen hücreleri ekler",sumifs:"Birden çok kriteri karşılayan bir aralıktaki hücreleri ekler",vlookup:"Bir dizinin ilk sütununa bakar ve bir hücrenin değerini döndürmek için satır boyunca hareket eder",hlookup:"Bir tablonun veya bir değerler dizisinin üst satırında bir değer arar ve ardından tablo veya dizide belirttiğiniz bir satırdan aynı sütunda bir değer döndürür.",lookup:"Bir vektör veya dizideki değerleri arar",match:"Bir başvuru veya dizideki değerleri arar",rank:"Bir sayı listesindeki bir sayının sırasını döndürür",frequency:"Dikey bir dizi olarak bir frekans dağılımı döndürür",text:"Bir sayıyı biçimlendirir ve metne dönüştürür",left:"Bir metin değerinden en soldaki karakterleri döndürür",right:"Bir metin değerinden en sağdaki karakterleri döndürür",round:"Bir sayıyı belirtilen basamak sayısına yuvarlar",index:"Bir başvurudan veya diziden bir değer seçmek için bir dizin kullanır",countif:"Belirtilen ölçütleri karşılayan bir aralıktaki hücre sayısını sayar",countifs:"Bir aralıktaki birden çok kriteri karşılayan hücre sayısını sayar",mid:"Belirttiğiniz konumdan başlayarak bir metin dizisinden belirli sayıda karakter döndürür",len:"Bir metin dizisindeki karakter sayısını döndürür",power:"Bir kuvvete yükseltilmiş bir sayının sonucunu döndürür",ceiling:"Bir sayıyı en yakın tamsayıya veya en yakın anlamlılık katına yuvarlar",floor:"Bir sayıyı sıfıra doğru aşağı yuvarlar",substitute:"Bir metin dizisindeki eski metnin yerine yeni metni koyar",replace:"Metin içindeki karakterleri değiştirir",search:"Bir metin değerini diğerinin içinde bulur (büyük/küçük harfe duyarlı değildir)",find:"Bir metin değerini diğerinin içinde bulur (büyük/küçük harfe duyarlı)",isnumber:"Değer bir sayı ise DOĞRU döndürür",istext:"Değer metin ise DOĞRU döndürür",isblank:"Değer boşsa DOĞRU döndürür",upper:"Metni büyük harfe dönüştürür",lower:"Metni küçük harfe dönüştürür",product:"Argümanlarını çoğaltır",sumproduct:"Karşılık gelen dizi bileşenlerinin çarpımlarının toplamını döndürür",subtotal:"Listede veya veritabanında bir ara toplam döndürür",counta:"Argüman listesinde kaç tane değer olduğunu sayar",averageif:"Belirli bir kriteri karşılayan bir aralıktaki tüm hücrelerin ortalamasını (aritmetik ortalama) verir",averageifs:"Birden çok kriteri karşılayan tüm hücrelerin ortalamasını (aritmetik ortalama) döndürür.",trim:"Metindeki boşlukları kaldırır",sign:"Bir sayının işaretini döndürür",yield:"Periyodik faiz ödeyen bir menkul kıymetin getirisini verir",abs:"Bir sayının mutlak değerini döndürür",sin:"Verilen açının sinüsünü verir",cos:"Bir sayının kosinüsünü döndürür",tan:"Bir sayının teğetini döndürür"},validation:{required:"gerekli olmalı",notMatch:"doğrulama kurallarına uymuyor",between:"{} ile {} arasındadır",notBetween:"{} ile {} arasında değil",notIn:"listede yok",equal:"{} eşittir",notEqual:"{}'e eşit değil",lessThan:"{} değerinden küçük",lessThanEqual:"{}'den küçük veya eşittir",greaterThan:"{} değerinden büyük",greaterThanEqual:"{}'den büyük veya eşittir",downloadImageFail:"Resim indirilemedi",invalidcell:"Bağlantı hücrelerde hata",invalid:"Keçersiz"},error:{pasteForMergedCell:"Birleştirilmiş hücrelerde bu işlem gerçekleştirilemez"},calendar:{weeks:["Pazar Pazartesi Salı Çarşamba Perşembe Cuma Cumartesi"],months:["Ocak, Şubat, Mart, Nisan, Mayıs, Haziran, Temmuz, Ağustos, Eylül, Ekim, Kasım, Aralık"]},button:{add:"a ekle",del:"silmek",next:"Sonraki",cancel:"İptal etmek",remove:"kaldırmak",save:"kaydetmek",ok:"onaylamak",previous:"Öncesi",close:"kapanış"},sort:{desc:"Sırala Z->A",asc:"A->Z Sırala"},filter:{empty:"boş"},dataValidation:{mode:"modeli",range:"hücre aralığı",criteria:"standart",modeType:{cell:"tek hücre",column:"kolon",row:"astar"},type:{list:"liste",number:"hane",date:"tarih",phone:"Telefon",email:"e-posta"},operator:{be:"arasında",nbe:"arasında değil",lt:"daha az",lte:"küçük veya eşit",gt:"daha fazla",gte:"büyük veya eşittir",eq:"eşit",neq:"eşit değil"}},dataSort:{ci:"kapsam",criteria:"emir",casesense:"harfe duyarlı",sortby:"göre sırala",header:"başlık",msg:"Lütfen alana göre sıralanmış farklı bir sütun seçin",msg2:"Seçim alanında birleştirilmiş alan var, birleştirilmiş alanın sıralanmasını desteklemiyoruz",order:{asc:"Pozitif dizi",desc:"Ters sipariş"}},dataSearch:{label:"içerik bul",lkinlb:"arama aralığı",matchwhole:"tüm içerikle eşleşir",lookin:{values:"metin",formulas:"formül",comments:"dipnot"}},dataComment:{label:"dipnot"},control:{min:"En yüksek değer",max:"en az değer",cur:"Ağımdaki değer",inc:"Artımlı değişiklikler",page:"Sayfa Değişimleri"}},th:{toolbar:{undo:"ถอน",redo:"ทำซ้ำ",print:"พิมพ์",paintformat:"ฟอร์แมตจิตรกร",clearformat:"รูปแบบที่ชัดเจน",format:"รูปแบบข้อมูล",fontName:"ชื่อแบบอักษร",fontSize:"ขนาดตัวอักษร",fontBold:"แบบอักษรตัวหนา",fontItalic:"ตัวอักษรตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดทับ",color:"สีข้อความ",bgcolor:"เติมสี",border:"กรอบ",merge:"ผสานเซลล์",unmerge:"ยกเลิกการผสานเซลล์",align:"การจัดตำแหน่งแนวนอน",valign:"การจัดตำแหน่งแนวตั้ง",textwrap:"ตัดคำ",freeze:"อันดับคงที่",autofilter:"กรอง",formula:"สูตร",more:"มากกว่า",sort:"การจัดหมวดหมู่",download:"ดาวน์โหลด",pagination:"เพจ",search:"ค้นหา",commentDefault:"กรุณาใส่ข้อความ",commentEdit:"แก้ไขความคิดเห็น",commentRemove:"ลบความคิดเห็น",commentPrevious:"ความคิดเห็นที่แล้ว",commentNext:"ความคิดเห็นถัดไป",insertImage:"แทรกรูปภาพ",insertTextBox:"ใส่กล่องข้อความ",insertComboBox:"ใส่กล่องคำสั่งผสม",insertCheckBox:"ใส่กล่องกาเครื่องหมาย",insertRadioButton:"แทรกปุ่มตัวเลือก",insertSpinButton:"ใส่ปุ่มหมุน",insertScrollBar:"แทรกแถบเลื่อน",insertLabel:"ใส่ป้ายกำกับ"},menubar:{undo:"เลิกทำ",redo:"ทำซ้ำ",print:"พิมพ์",paintformat:"ฟอร์แมตจิตรกร",clearformat:"รูปแบบที่ชัดเจน",format:"รูปแบบข้อมูล",fontName:"ชื่อแบบอักษร:",fontSize:"ขนาดตัวอักษร:",fontBold:"แบบอักษรตัวหนา",fontItalic:"ตัวอักษรตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดทับ",color:"สีข้อความ",bgcolor:"เติมสี",border:"กรอบ",merge:"ผสานเซลล์",unmerge:"ยกเลิกการผสานเซลล์",align:"การจัดตำแหน่งแนวนอน",valign:"การจัดตำแหน่งแนวตั้ง",textwrap:"ตัดคำ",freeze:"อันดับคงที่",autofilter:"กรอง",formula:"สูตร",more:"มากกว่า",sort:"การจัดหมวดหมู่",download:"ดาวน์โหลด",download_HTML:"ดาวน์โหลดเป็น HTML",download_PDF:"ดาวน์โหลดเป็น PDF",download_Original:"ดาวน์โหลดต้นฉบับ",download_XLSX:"ดาวน์โหลดเป็น XLSX",download_GOOGLE:"บันทึกไปยัง Google ไดรฟ์",download_DROPBOX:"บันทึกไปยัง Dropbox",pagination:"เพจ",search:"ค้นหา",commentDefault:"กรุณาใส่ข้อความ",insertSheet:"ใส่แผ่นงาน",insertRow:"แทรกแถว",insertColumn:"แทรกคอลัมน์",link:"ลิงค์",insertComment:"เพิ่มความเห็น",commentEdit:"แก้ไขความคิดเห็น",commentRemove:"ลบความคิดเห็น",commentPrevious:"ความคิดเห็นที่แล้ว",commentNext:"ความคิดเห็นถัดไป",insertImage:"แทรกรูปภาพ",insertControl:"ควบคุม",fromURL:"จาก URL",fromLocal:"จากท้องถิ่น",menuInsert:"เพิ่ม",menuComment:"ตรวจสอบ",menuText:"รูปแบบ",menuFont:"แบบอักษร",menuEdit:"หน้าแรก",menuFile:"เอกสาร"},contextmenu:{copy:"สำเนา",cut:"ที่จะตัด",paste:"แปะ",pasteValue:"วางเฉพาะค่า",pasteFormat:"วางรูปแบบเท่านั้น",hide:"ซ่อน",insertRow:"แทรกแถว",insertColumn:"แทรกคอลัมน์",deleteSheet:"ลบแผ่นงาน",deleteRow:"ลบแถว",deleteColumn:"ลบคอลัมน์",deleteCell:"ลบเซลล์",deleteCellText:"ลบข้อความในเซลล์",validation:"การตรวจสอบข้อมูล",sort:"การจัดหมวดหมู่",link:"ลิงค์",removeLink:"ลบลิงค์",editLink:"แก้ไขลิงค์",openLink:"เปิดลิ้งค์",download:"ดาวน์โหลด",cellprintable:"เปิดใช้งานการส่งออก",cellnonprintable:"ปิดใช้งานการส่งออก",celleditable:"เปิดใช้งานการแก้ไข",cellnoneditable:"ปิดใช้งานการแก้ไข",insertURL:"ป้อนที่อยู่รูปภาพ",deleteImage:"ลบรูปภาพ",copyImage:"คัดลอกรูปภาพ",pasteImage:"วางรูปภาพ",merge:"ผสาน",unmerge:"ยกเลิกการผสาน",edit:"แก้ไข",clear:"เพื่อล้าง"},link:{emailAddress:"อีเมล",emailSubject:"ธีม",sheetPage:"ตำแหน่งไฟล์",sheetCell:"การอ้างอิงเซลล์",linkTypes:{web:"หน้าเว็บ",sheet:"ไฟล์นี้",email:"อีเมล"},webUrl:"URL",linkType:"ประเภทลิงค์"},download:{fileName:"ชื่อไฟล์",saveType:"บันทึกเป็น",saveTypes:{Original:"รูปแบบเดิม",XLSX:"รูปแบบ XLSX",PDF:"รูปแบบ PDF",HTML:"รูปแบบ HTML"}},print:{setting:"ตั้งแต่",orientation:"หน้าของการแสดง",orientations:{landscape:"ไม่ลง",portrait:"เนื้อหา"},size:"ขยาย",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"เกิดของ",scales:{noscale:"ไม่ความสามารถช่วยเพื่อเกิดของ",fitsheet:"เพื่อช่วยเพื่อทั้งหมดคลาย",fitcolumns:"เพื่อทั้งหมดที่ช่วยสูง",fitrows:"หน้าเดียวเหมาะกับทุกแถว"},order:"กำลัง",orders:{downover:"ตั้งแต่ตายๆ",overdown:"ตั้งแต่จันทร์ๆ"},imageshow:"ภาพ",imageshows:{show:"แสดง",hide:"Hide"}},format:{normal:"สามัญ",text:"ข้อความธรรมดา",number:"ตัวเลข",percent:"เปอร์เซ็นต์",rmb:"หยวน",usd:"ดอลลาร์",eur:"ยูโร",date:"วันที่",time:"เวลา",datetime:"วันเวลา",duration:"ระยะเวลา"},formula:{sum:"คำนวณผลรวมของชุดค่าต่างๆ",average:"คำนวณค่าเฉลี่ยเลขคณิตของพารามิเตอร์ทั้งหมด",max:"คำนวณค่าสูงสุดในชุดของหลัก",min:"คำนวณค่าที่น้อยที่สุดในชุดของหลัก",_if:"ตามผลการตัดสินเชิงตรรกะของเงื่อนไขที่ระบุเป็นจริงหรือเท็จ ให้ส่งคืนผลการคำนวณที่ทริกเกอร์ตามเงื่อนไขที่สอดคล้องกัน",and:'จะส่งกลับตรรกะ "จริง" ก็ต่อเมื่อผลลัพธ์ของพารามิเตอร์มีทั้งตรรกะ "จริง" มิฉะนั้นจะส่งกลับตรรกะ "เท็จ"',or:'ผลลัพธ์จะถูกส่งกลับเป็นตรรกะ "เท็จ" เฉพาะในกรณีที่ค่าพารามิเตอร์ทั้งหมดเป็น "เท็จ" ทางตรรกะ มิฉะนั้นจะส่งกลับทางตรรกะ "จริง"',concat:"เชื่อมต่อข้อความหรือข้อมูลหลายตัวในเซลล์เข้าด้วยกัน",count:"นับจำนวนเซลล์ที่มีตัวเลข และนับจำนวนภายในรายการอาร์กิวเมนต์",sumif:"เพิ่มเซลล์ที่ระบุโดยเกณฑ์ที่กำหนด",sumifs:"เพิ่มเซลล์ในช่วงที่ตรงตามเกณฑ์หลายข้อ",vlookup:"ดูในคอลัมน์แรกของอาร์เรย์และเลื่อนข้ามแถวเพื่อส่งกลับค่าของเซลล์",hlookup:"ค้นหาค่าในแถวบนสุดของตารางหรืออาร์เรย์ของค่า แล้วส่งกลับค่าในคอลัมน์เดียวกันจากแถวที่คุณระบุในตารางหรืออาร์เรย์",lookup:"ค้นหาค่าในเวกเตอร์หรืออาร์เรย์",match:"ค้นหาค่าในการอ้างอิงหรืออาร์เรย์",rank:"ส่งกลับอันดับของตัวเลขในรายการตัวเลข",frequency:"ส่งกลับการแจกแจงความถี่เป็นอาร์เรย์แนวตั้ง",text:"จัดรูปแบบตัวเลขและแปลงเป็นข้อความ",left:"ส่งกลับอักขระซ้ายสุดจากค่าข้อความ",right:"ส่งกลับอักขระที่อยู่ขวาสุดจากค่าข้อความ",round:"ปัดเศษตัวเลขเป็นจำนวนหลักที่ระบุ",index:"ใช้ดัชนีเพื่อเลือกค่าจากการอ้างอิงหรืออาร์เรย์",countif:"นับจำนวนเซลล์ภายในช่วงที่ตรงตามเกณฑ์ที่กำหนด",countifs:"นับจำนวนเซลล์ภายในช่วงที่ตรงตามเกณฑ์หลายข้อ",mid:"ส่งคืนอักขระจำนวนหนึ่งจากสตริงข้อความที่เริ่มต้นที่ตำแหน่งที่คุณระบุ",len:"ส่งกลับจำนวนอักขระในสตริงข้อความ",power:"ส่งคืนผลลัพธ์ของตัวเลขที่ยกกำลัง",ceiling:"ปัดเศษตัวเลขให้เป็นจำนวนเต็มที่ใกล้เคียงที่สุดหรือเป็นผลคูณของนัยสำคัญที่ใกล้ที่สุด",floor:"ปัดตัวเลขลง เข้าหาศูนย์",substitute:"แทนที่ข้อความใหม่สำหรับข้อความเก่าในสตริงข้อความ",replace:"แทนที่อักขระภายในข้อความ",search:"ค้นหาค่าข้อความหนึ่งค่าภายในค่าอื่น (ไม่คำนึงถึงตัวพิมพ์เล็กและใหญ่)",find:"ค้นหาค่าข้อความหนึ่งค่าภายในค่าอื่น (คำนึงถึงตัวพิมพ์เล็กและใหญ่)",isnumber:"ส่งกลับค่า TRUE หากค่าเป็นตัวเลข",istext:"คืนค่า TRUE หากค่าเป็นข้อความ",isblank:"คืนค่า TRUE หากค่าเป็นค่าว่าง",upper:"แปลงข้อความเป็นตัวพิมพ์ใหญ่",lower:"แปลงข้อความเป็นตัวพิมพ์เล็ก",product:"ทวีคูณอาร์กิวเมนต์",sumproduct:"ส่งคืนผลรวมของผลคูณของส่วนประกอบอาร์เรย์ที่สอดคล้องกัน",subtotal:"ส่งคืนผลรวมย่อยในรายการหรือฐานข้อมูล",counta:"นับจำนวนค่าที่อยู่ในรายการอาร์กิวเมนต์",averageif:"ส่งกลับค่าเฉลี่ย (ค่าเฉลี่ยเลขคณิต) ของเซลล์ทั้งหมดในช่วงที่ตรงกับเกณฑ์ที่กำหนด",averageifs:"ส่งกลับค่าเฉลี่ย (ค่าเฉลี่ยเลขคณิต) ของเซลล์ทั้งหมดที่ตรงกับหลายเกณฑ์",trim:"ลบช่องว่างออกจากข้อความ",sign:"ส่งคืนเครื่องหมายของตัวเลข",yield:"ส่งคืนผลตอบแทนของหลักทรัพย์ที่จ่ายดอกเบี้ยเป็นงวด",abs:"คืนค่าสัมบูรณ์ของตัวเลข",sin:"คืนค่าไซน์ของมุมที่กำหนด",cos:"คืนค่าโคไซน์ของตัวเลข",tan:"ส่งคืนแทนเจนต์ของตัวเลข"},validation:{required:"จะต้องมี",notMatch:"ไม่ตรงกับกฎการตรวจสอบ",between:"อยู่ระหว่าง {} ถึง {}",notBetween:"ไม่อยู่ระหว่าง {} ถึง {}",notIn:"มันไม่ได้อยู่ในรายการ",equal:"มันเท่ากับ {}",notEqual:"มันไม่เท่ากับ {}",lessThan:"มีค่าน้อยกว่า {}",lessThanEqual:"มันน้อยกว่าหรือเท่ากับ {}",greaterThan:"มันมากกว่า {}",greaterThanEqual:"มันมากกว่าหรือเท่ากับ {}",downloadImageFail:"ดาวน์โหลดภาพไม่สำเร็จ",invalidcell:"เซลล์ที่เชื่อมโยงมีข้อผิดพลาด",invalid:"ไม่ถูกต้อง"},error:{pasteForMergedCell:"ไม่สามารถดำเนินการนี้กับเซลล์ที่ผสาน"},calendar:{weeks:["อาทิตย์, จันทร์, อังคาร, พุธ, พฤหัสบดี, ศุกร์, เสาร์"],months:["มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม พฤศจิกายน ธันวาคม"]},button:{add:"เพิ่ม",del:"ลบ",next:"ต่อไป",cancel:"ยกเลิก",remove:"ลบ",save:"บันทึก",ok:"ยืนยัน",previous:"ก่อนหน้า",close:"ปิด"},sort:{desc:"เรียง Z->A",asc:"เรียง A->Z"},filter:{empty:"ว่างเปล่า"},dataValidation:{mode:"แบบอย่าง",range:"ช่วงเซลล์",criteria:"มาตรฐาน",modeType:{cell:"เซลล์เดียว",column:"คอลัมน์",row:"เส้น"},type:{list:"รายการ",number:"หลัก",date:"วันที่",phone:"โทรศัพท์",email:"อีเมล"},operator:{be:"ระหว่าง",nbe:"ไม่ใช่ระหว่าง",lt:"น้อยกว่า",lte:"น้อยกว่าหรือเท่ากับ",gt:"มากกว่า",gte:"มากกว่าหรือเท่ากับ",eq:"เท่ากัน",neq:"ไม่เท่ากับ"}},dataSort:{ci:"ขอบเขต",criteria:"คำสั่ง",casesense:"กรณีที่สำคัญ",sortby:"จัดเรียงตาม",header:"ชื่อ",msg:"โปรดเลือกคอลัมน์อื่นที่จัดเรียงตามฟิลด์",msg2:"พื้นที่การเลือกมีพื้นที่ที่ผสาน เราไม่สนับสนุนการเรียงลำดับพื้นที่ที่ผสาน",order:{asc:"ลำดับที่เป็นบวก",desc:"ลำดับย้อนกลับ"}},dataSearch:{label:"ค้นหาเนื้อหา",lkinlb:"ช่วงการค้นหา",matchwhole:"ตรงกับเนื้อหาทั้งหมด",lookin:{values:"ข้อความ",formulas:"สูตร",comments:"คำอธิบายประกอบ"}},dataComment:{label:"คำอธิบายประกอบ"},control:{min:"ค่าต่ำสุด",max:"สูงสุด",cur:"ค่าปัจจุบัน",inc:"การเปลี่ยนแปลงที่เพิ่มขึ้น",page:"การเปลี่ยนแปลงหน้า"}},cht:{toolbar:{undo:"撤銷",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"數據格式",fontName:"字體名稱",fontSize:"字體大小",fontBold:"字體粗體",fontItalic:"字體斜體",underline:"下劃綫",strike:"刪除綫",color:"文字顏色",bgcolor:"填充顏色",border:"邊框",merge:"合併單元格",unmerge:"取消合併單元格",align:"水平對齊",valign:"垂直對齊",textwrap:"文字換行",freeze:"固定行列",autofilter:"過濾器",formula:"公式",more:"更多",sort:"分類",download:"下載",pagination:"分頁",search:"搜索",commentDefault:"請輸入文字",commentEdit:"編輯批注",commentRemove:"删除批注",commentPrevious:"上一條批注",commentNext:"下一條批注",insertImage:"插入圖片",insertTextBox:"插入文本框",insertComboBox:"插入組合框",insertCheckBox:"插入複選框",insertRadioButton:"插入選項按鈕",insertSpinButton:"插入增減按鈕",insertScrollBar:"插入滾動條",insertLabel:"插入標籤"},menubar:{undo:"撤消",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"數據格式",fontName:"字體名稱:",fontSize:"字體大小:",fontBold:"字體粗體",fontItalic:"字體斜體",underline:"下劃綫",strike:"刪除綫",color:"文字顏色",bgcolor:"填充顏色",border:"邊框",merge:"合併單元格",unmerge:"取消合併單元格",align:"水平對齊",valign:"垂直對齊",textwrap:"文字換行",freeze:"固定行列",autofilter:"過濾器",formula:"公式",more:"更多",sort:"分類",download:"下載",download_HTML:"下載為HTML",download_PDF:"下載為PDF",download_Original:"下載原件",download_XLSX:"下載為XLSX",download_GOOGLE:"保存至GoogleDrive",download_DROPBOX:"保存至Dropbox",pagination:"分頁",search:"搜索",commentDefault:"請輸入文字",insertSheet:"插入工作表",insertRow:"插入行",insertColumn:"插入列",link:"連結",insertComment:"添加批注",commentEdit:"編輯批注",commentRemove:"删除批注",commentPrevious:"上一條批注",commentNext:"下一條批注",insertImage:"插入圖片",insertControl:"控件",fromURL:"來自URL",fromLocal:"來自本地",menuInsert:"添加",menuComment:"查看",menuText:"格式",menuFont:"字體",menuEdit:"首頁",menuFile:"文件"},contextmenu:{copy:"複製",cut:"剪切",paste:"粘貼",pasteValue:"僅粘貼值",pasteFormat:"僅粘貼格式",hide:"隱藏",insertRow:"插入行",insertColumn:"插入列",deleteSheet:"删去工作表",deleteRow:"删除行",deleteColumn:"删除列",deleteCell:"删除儲存格",deleteCellText:"删除儲存格文字",validation:"數據驗證",sort:"分類",link:"連結",removeLink:"删除連結",editLink:"編輯連結",openLink:"打開連結",download:"下載",cellprintable:"啟用匯出",cellnonprintable:"禁用匯出",celleditable:"啟用編輯",cellnoneditable:"禁用編輯",insertURL:"輸入影像地址",deleteImage:"删除圖片",copyImage:"複製圖片",pasteImage:"粘貼圖片",merge:"合併",unmerge:"取消合併",edit:"編輯",clear:"清除"},link:{emailAddress:"電子郵箱",emailSubject:"主題",sheetPage:"檔案位置",sheetCell:"儲存格引用",linkTypes:{web:"網頁",sheet:"本檔案",email:"電子郵箱"},webUrl:"網址",linkType:"連結類型"},download:{fileName:"文檔名稱",saveType:"另存為",saveTypes:{Original:"原格式",XLSX:"XLSX格式",PDF:"PDF格式",HTML:"HTML格式"}},print:{setting:"設定",orientation:"頁面方向",orientations:{landscape:"橫向",portrait:"縱向"},size:"紙張尺寸",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"比例",scales:{noscale:"無縮放",fitsheet:"單頁適應表格",fitcolumns:"單頁適應所有列",fitrows:"單頁適應所有行"},order:"順序",orders:{downover:"先向下再向右",overdown:"先向右再向下"},imageShow:"圖片",imageShows:{show:"顯示",hide:"隱藏"}},format:{normal:"普通",text:"純文字",number:"數字",percent:"百分比",rmb:"人民幣",usd:"美元",eur:"歐元",date:"日期",time:"時間",datetime:"日期時間",duration:"期間"},formula:{sum:"計算一組值的總和",average:"計算所有參數的算術平均值",max:"計算一組數位中的最大值",min:"計算一組數位中的最小值",_if:"根據指定條件的邏輯判斷結果的真或假,返回相應條件觸發的計算結果",and:"只有當參數的結果都是邏輯“true”時,它才會返回邏輯“true”,否則返回邏輯“false”",or:"只有當所有參數值在邏輯上都為“false”時,結果才返回為邏輯“false”,否則返回為邏輯上的“true”",concat:"將單元格中的多個字符文本或數據連接在一起",count:"計算包含數字的單元格數量,併計算參數列表中的數字",sumif:"添加給定條件指定的單元格",sumifs:"添加滿足多個條件的範圍內的單元格",vlookup:"查看數組的第一列並跨行移動以返回單元格的值",hlookup:"在表的第一行或值數組中搜索一個值,然後從您在表或數組中指定的行的同一列中返回一個值",lookup:"在向量或數組中查找值",match:"在引用或數組中查找值",rank:"返回一個數字在數字列表中的排名",frequency:"以垂直數組形式返回頻率分佈",text:"格式化數字並將其轉換為文本",left:"返回文本值最左邊的字符",right:"返回文本值中最右邊的字符",round:"將數字四捨五入到指定位數",index:"使用索引從引用或數組中選擇一個值",countif:"計算範圍內滿足給定條件的單元格數",countifs:"計算範圍內滿足多個條件的單元格數",mid:"從指定位置開始的文本字符串中返回特定數量的字符",len:"返回文本字符串中的字符數",power:"返回一個數的冪的結果",ceiling:"將數字四捨五入到最接近的整數或最接近的有效倍數",floor:"將數字向下舍入為零",substitute:"用新文本替換文本字符串中的舊文本",replace:"替換文本中的字符",search:"在另一個文本值中查找一個文本值(不區分大小寫)",find:"在一個文本值中查找另一個文本值(區分大小寫)",isnumber:"如果值為數字則返回 TRUE",istext:"如果值為文本則返回 TRUE",isblank:"如果值為空則返回 TRUE",upper:"將文本轉換為大寫",lower:"將文本轉換為小寫",product:"乘以它的論點",sumproduct:"返回對應數組元素的乘積之和",subtotal:"返回列表或數據庫中的小計",counta:"計算參數列表中有多少個值",averageif:"返回範圍內滿足給定條件的所有單元格的平均值(算術平均值)",averageifs:"返回滿足多個條件的所有單元格的平均值(算術平均值)。",trim:"從文本中刪除空格",sign:"返回數字的符號",yield:"返回支付定期利息的證券的收益率",abs:"返回數字的絕對值",sin:"返回給定角度的正弦值",cos:"返回數字的餘弦值",tan:"返回數字的正切"},validation:{required:"它必須是必需的",notMatch:"它與其驗證規則不匹配",between:"它介於{}和{}之間",notBetween:"它不在{}和{}之間",notIn:"它不在清單中",equal:"它等於{}",notEqual:"它不等於{}",lessThan:"它小於{}",lessThanEqual:"它小於或等於{}",greaterThan:"它大於{}",greaterThanEqual:"它大於或等於{}",downloadImageFail:"下載影像失敗",invalidcell:"連結的儲存格有誤",invalid:"無效"},error:{pasteForMergedCell:"無法對合併的儲存格執行此操作"},calendar:{weeks:["周日、週一、週二、週三、週四、週五、週六"],months:["一月、二月、三月、四月、五月、六月、七月、八月、九月、十月、十一月、十二月"]},button:{add:"添加",del:"删除",next:"下一個",cancel:"取消",remove:"去除",save:"保存",ok:"確認",previous:"前一個",close:"關閉"},sort:{desc:"排序Z->A",asc:"排序A->Z"},filter:{empty:"空的"},dataValidation:{mode:"模式",range:"儲存格範圍",criteria:"標準",modeType:{cell:"單間牢房",column:"柱",row:"一行"},type:{list:"清單",number:"數位",date:"日期",phone:"電話",email:"電子郵件"},operator:{be:"之間",nbe:"不介於",lt:"少於",lte:"小於或等於",gt:"大於",gte:"大於或等於",eq:"等於",neq:"不等於"}},dataSort:{ci:"範圍",criteria:"順序",casesense:"區分大小寫",sortby:"排序依據",header:"標題",msg:"請選擇按欄位排序的不同列",msg2:"選擇區域有合併區域,我們不支持對合併區域進行排序",order:{asc:"正序",desc:"逆序"}},dataSearch:{label:"查找內容",lkinlb:"查找範圍",matchwhole:"匹配整個內容",lookin:{values:"文本",formulas:"公式",comments:"批注"}},dataComment:{label:"批注"},control:{min:"最小值",max:"最大值",cur:"當前值",inc:"增量更改",page:"頁面更改"}}};function J(e,t){if(t){var i,n=V(K);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(!t[r])break;for(var a=t[r],o=e.match(/(?:\\.|[^.])+/g),s=0;s<o.length;s+=1){var l=a[o[s]];if(!l)break;if(s===o.length-1)return l;a=l}}}catch(e){n.e(e)}finally{n.f()}}}function Q(e){var t=J(e,Z);return!t&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(t=J(e,window.x_spreadsheet.$messages)),t||""}function ee(e){return function(){return Q(e)}}function te(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i?K=[e]:K.unshift(e),t&&(Z[e]=t)}function ie(e){Z[e]||(e="en"),K[0]=e}var ne=function(e){for(var t=[],i=[],n=[],r=0,a="",o=1,s="",h=0;h<e.length;h+=1){var c=e.charAt(h);if(" "!==c){if(c>="a"&&c<="z")n.push(c.toUpperCase());else if(c>="0"&&c<="9"||c>="A"&&c<="Z"||"."===c)n.push(c);else if('"'===c){for(h+=1;'"'!==e.charAt(h);)n.push(e.charAt(h)),h+=1;i.push('"'.concat(n.join(""))),n=[]}else if("-"===c&&/[+\-*/,(]/.test(s))n.push(c);else{if("("!==c&&n.length>0&&i.push(n.join("")),")"===c){var u=t.pop();if(2===r)try{for(var d=x(i.pop()),f=l()(d,2),v=f[0],g=f[1],p=x(i.pop()),m=l()(p,2),y=m[0],b=m[1],w=0,q=y;q<=v;q+=1)for(var C=b;C<=g;C+=1)i.push(k(q,C)),w+=1;i.push([u,w])}catch(e){}else if(1===r||3===r)3===r&&i.push(a),i.push([u,o]),o=1;else for(;"("!==u&&(i.push(u),!(t.length<=0));)u=t.pop();r=0}else if("="===c||">"===c||"<"===c){var S=e.charAt(h+1);a=c,"="!==S&&"-"!==S||(a+=S,h+=1),r=3}else if(":"===c)r=2;else if(","===c)3===r&&i.push(a),r=1,o+=1;else if("("===c&&n.length>0)t.push(n.join(""));else{if(t.length>0&&("+"===c||"-"===c)){var T=t[t.length-1];if("("!==T&&i.push(t.pop()),"*"===T||"/"===T)for(;t.length>0&&"("!==(T=t[t.length-1]);)i.push(t.pop())}t.push(c)}n=[]}s=c}}for(n.length>0&&i.push(n.join(""));t.length>0;)i.push(t.pop());return i},re=function(e,t){var i=l()(e,1)[0],n=e;if('"'===i)return e.substring(1);var r=1;if("-"===i&&(n=e.substring(1),r=-1),n[0]>="0"&&n[0]<="9")return r*Number(n);var a,o=x(n),s=l()(o,2),h=t(s[0],s[1]);return 0===h.length?"":(a=h,!isNaN(parseFloat(a))&&isFinite(a)?r*Number(h):h)},ae=function(e,t,i,n){for(var r=[],a=0;a<e.length;a+=1){var o=e[a],s=o[0];if("+"===o){var h=r.pop();r.push(P("+",r.pop(),h))}else if("-"===o)if(1===r.length){var c=r.pop();r.push(P("*",c,-1))}else{var u=r.pop();r.push(P("-",r.pop(),u))}else if("LEN"===o)r.push(r.pop().length);else if("*"===o)r.push(P("*",r.pop(),r.pop()));else if("/"===o){var d=r.pop();r.push(P("/",r.pop(),d))}else if("="===s||">"===s||"<"===s){var f=r.pop();Number.isNaN(f)||(f=Number(f));var v=r.pop();Number.isNaN(v)||(v=Number(v));var g=!1;"="===s?g=v===f:">"===o?g=v>f:">="===o?g=v>=f:"<"===o?g=v<f:"<="===o&&(g=v<=f),r.push(g)}else if(Array.isArray(o)){for(var p=l()(o,2),m=p[0],y=p[1],b=[],w=0;w<y;w+=1)b.push(r.pop());r.push(t[m].render(b.reverse()))}else{if(n.includes(o))return 0;(s>="a"&&s<="z"||s>="A"&&s<="Z")&&n.push(o),r.push(re(o,i)),n.pop()}}return r[0]},oe=function e(t,i,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if("="===t[0]){var a=ne(t.substring(1));return a.length<=0?t:ae(a,i,(function(t,a){return e(n(t,a),i,n,r)}),r)}return t},se=[{key:"SUM",title:ee("formula.sum"),render:function(e){return e.reduce((function(e,t){return P("+",e,t)}),0)},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"AVERAGE",title:ee("formula.average"),render:function(e){return e.reduce((function(e,t){return Number(e)+Number(t)}),0)/e.length},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"MAX",title:ee("formula.max"),render:function(e){return Math.max.apply(Math,y()(e.map((function(e){return Number(e)}))))},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"MIN",title:ee("formula.min"),render:function(e){return Math.min.apply(Math,y()(e.map((function(e){return Number(e)}))))},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"IF",title:ee("formula._if"),render:function(e){var t=l()(e,3),i=t[0],n=t[1],r=t[2];return i?n:r},tipInfo:{repeat:!1,args:[{name:"logical_test",required:!0},{name:"value_if_true",required:!1},{name:"value_if_false",required:!1}]}},{key:"AND",title:ee("formula.and"),render:function(e){return e.every((function(e){return e}))},tipInfo:{repeat:!0,args:[{name:"logical",required:!1}]}},{key:"OR",title:ee("formula.or"),render:function(e){return e.some((function(e){return e}))},tipInfo:{repeat:!0,args:[{name:"logical",required:!1}]}},{key:"CONCAT",title:ee("formula.concat"),render:function(e){return e.join("")},tipInfo:{repeat:!0,args:[{name:"text",required:!1}]}},{key:"COUNT",title:ee("formula.count"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"value",required:!1}]}},{key:"SUMIF",title:ee("formula.sumif"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"range",required:!0},{name:"criteria",required:!1},{name:"sum_range",required:!1}]}},{key:"SUMIFS",title:ee("formula.sumifs"),render:function(e){return e},tipInfo:{repeat:!0,repeatstart:1,repeatcount:2,args:[{name:"sum_range",required:!0},{name:"criteria_range",required:!1},{name:"criteria",required:!1}]}},{key:"VLOOKUP",title:ee("formula.vlookup"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"table_array",required:!0},{name:"col_index_num",required:!0},{name:"range_lookup",required:!1}]}},{key:"HLOOKUP",title:ee("formula.hlookup"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"table_array",required:!0},{name:"row_index_num",required:!0},{name:"range_lookup",required:!1}]}},{key:"LOOKUP",title:ee("formula.lookup"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"lookup_vector|array",required:!0},{name:"result_vector",required:!1}]}},{key:"MATCH",title:ee("formula.match"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"lookup_array",required:!0},{name:"match_type",required:!1}]}},{key:"RANK",title:ee("formula.frequency"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"ref",required:!0},{name:"order",required:!1}]}},{key:"FREQUENCY",title:ee("formula.frequency"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"data_array",required:!0},{name:"bins_array",required:!0}]}},{key:"TEXT",title:ee("formula.text"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0},{name:"format_text",required:!0}]}},{key:"LEFT",title:ee("formula.left"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"num_chars",required:!0}]}},{key:"RIGHT",title:ee("formula.right"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"num_chars",required:!0}]}},{key:"ROUND",title:ee("formula.round"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"num_digits",required:!0}]}},{key:"INDEX",title:ee("formula.index"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"array",required:!0},{name:"row_num",required:!0},{name:"col_num",required:!1}]}},{key:"COUNTIF",title:ee("formula.countif"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"range",required:!0},{name:"criteria",required:!0}]}},{key:"COUNTIFS",title:ee("formula.countifs"),render:function(e){return e},tipInfo:{repeat:!0,repeatstart:0,repeatcount:2,args:[{name:"criteria_range",required:!1},{name:"criteria",required:!1}]}},{key:"COUNTA",title:ee("formula.counta"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"value",required:!1}]}},{key:"AVERAGEIF",title:ee("formula.averageif"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"range",required:!0},{name:"criteria",required:!0},{name:"average_range",required:!1}]}},{key:"AVERAGEIFS",title:ee("formula.averageifs"),render:function(e){return e},tipInfo:{repeat:!0,repeatstart:1,repeatcount:2,args:[{name:"average_range",required:!0},{name:"criteria_range",required:!1},{name:"criteria",required:!1}]}},{key:"TRIM",title:ee("formula.trim"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"SIGN",title:ee("formula.sign"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"ABS",title:ee("formula.abs"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"TAN",title:ee("formula.tan"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"SIN",title:ee("formula.sin"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"COS",title:ee("formula.cos"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"YIELD",title:ee("formula.yield"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"settlement",required:!0},{name:"maturity",required:!0},{name:"rate",required:!0},{name:"pr",required:!0},{name:"redemption",required:!0},{name:"frequency",required:!0},{name:"basis",required:!1}]}},{key:"MID",title:ee("formula.mid"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"start_num",required:!0},{name:"num_chars",required:!0}]}},{key:"LEN",title:ee("formula.len"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"POWER",title:ee("formula.power"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"power",required:!0}]}},{key:"CEILING",title:ee("formula.ceiling"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"significance",required:!0}]}},{key:"FLOOR",title:ee("formula.floor"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"significance",required:!0}]}},{key:"SUBSTITUTE",title:ee("formula.substitute"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"old_text",required:!0},{name:"new_text",required:!0},{name:"instance_num",required:!1}]}},{key:"REPLACE",title:ee("formula.replace"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"old_text",required:!0},{name:"start_num",required:!0},{name:"num_chars",required:!0},{name:"new_text",required:!0}]}},{key:"SEARCH",title:ee("formula.search"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"find_text",required:!0},{name:"within_text",required:!0},{name:"start_num",required:!1}]}},{key:"FIND",title:ee("formula.find"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"find_text",required:!0},{name:"within_text",required:!0},{name:"start_num",required:!1}]}},{key:"ISNUMBER",title:ee("formula.isnumber"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0}]}},{key:"ISTEXT",title:ee("formula.istext"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0}]}},{key:"ISBLANK",title:ee("formula.isblank"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0}]}},{key:"UPPER",title:ee("formula.upper"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"LOWER",title:ee("formula.lower"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"PRODUCT",title:ee("formula.product"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"SUMPRODUCT",title:ee("formula.sumproduct"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"array",required:!1}]}},{key:"SUBTOTAL",title:ee("formula.subtotal"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"function_num",required:!0},{name:"ref",required:!1}]}}],le=se,he={};se.forEach((function(e){he[e.key]=e}));var ce={phone:/^[1-9]\d{10}$/,email:/^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/};function ue(e,t){var i="";if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];i=Q.apply(void 0,["validation.".concat(t)].concat(r))}return[e,i]}var de=function(){function e(t,i,n,r){c()(this,e),this.required=i,this.value=n,this.type=t,this.operator=r,this.message=""}var t,i;return o()(e,[{key:"parseValueInput",value:function(e){e=function(e){if(/<[a-z][\s\S]*>/i.test(e)){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}return e}(e);var t=this.type;return"date"===t?new Date(e):"number"===t||"decimal"===t?Number(e):"textlength"===t?e.length:e}},{key:"parseValue",value:function(e,t){"="===e[0]&&(e=oe(e||"",he,(function(e,i){return t.getCellTextOrDefault(i,e)})));var i=this.type;return"date"===i?new Date(e):"number"===i||"decimal"===i?e.endsWith("%")?Number(e.substr(0,e.length-1))/100:Number(e):e}},{key:"equals",value:function(e){var t=this.type===e.type&&this.required===e.required&&this.operator===e.operator;return t&&(t=Array.isArray(this.value)?j.arrayEquals(this.value,e.value):this.value===e.value),t}},{key:"values",value:(i=r()(d.a.mark((function e(t){var i,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("="!==(i=this.value)[0]){e.next=8;break}return e.next=4,t.getListValue(i.substr(1));case 4:return n=e.sent,e.abrupt("return",n.map((function(e){return""===e.v&&(e.v=" "),e.v&&(e.title=e.v,delete e.v),e})));case 8:return e.abrupt("return",i.split(","));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"validate",value:(t=r()(d.a.mark((function e(t,i){var n,r,a,o,s,h,c,u,f,v,g,p;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.required,r=this.operator,a=this.value,o=this.type,!n||!/^\s*$/.test(t)){e.next=3;break}return e.abrupt("return",ue(!1,"required"));case 3:if(!/^\s*$/.test(t)){e.next=5;break}return e.abrupt("return",[!0]);case 5:if(!ce[o]||ce[o].test(t)){e.next=7;break}return e.abrupt("return",ue(!1,"notMatch"));case 7:if("list"!==o){e.next=12;break}return e.next=10,this.values(i);case 10:return s=e.sent,e.abrupt("return",ue(s.map((function(e){return e.title?e.title:e})).includes(t),"notIn"));case 12:if(!r){e.next=32;break}if(h=this.parseValueInput(t),"be"!==r){e.next=17;break}return c=l()(a,2),u=c[0],f=c[1],e.abrupt("return",ue(h>=this.parseValue(u,i)&&h<=this.parseValue(f,i),"between",u,f));case 17:if("nbe"!==r){e.next=20;break}return v=l()(a,2),g=v[0],p=v[1],e.abrupt("return",ue(h<this.parseValue(g,i)||h>this.parseValue(p,i),"notBetween",g,p));case 20:if("eq"!==r){e.next=22;break}return e.abrupt("return",ue(h===this.parseValue(a,i),"equal",a));case 22:if("neq"!==r){e.next=24;break}return e.abrupt("return",ue(h!==this.parseValue(a,i),"notEqual",a));case 24:if("lt"!==r){e.next=26;break}return e.abrupt("return",ue(h<this.parseValue(a,i),"lessThan",a));case 26:if("lte"!==r){e.next=28;break}return e.abrupt("return",ue(h<=this.parseValue(a,i),"lessThanEqual",a));case 28:if("gt"!==r){e.next=30;break}return e.abrupt("return",ue(h>this.parseValue(a,i),"greaterThan",a));case 30:if("gte"!==r){e.next=32;break}return e.abrupt("return",ue(h>=this.parseValue(a,i),"greaterThanEqual",a));case 32:return e.abrupt("return",[!0]);case 33:case"end":return e.stop()}}),e,this)}))),function(e,i){return t.apply(this,arguments)})}]),e}(),fe=function(){function e(t,i,n){c()(this,e),this.refs=i,this.mode=t,this.validator=n}return o()(e,[{key:"includes",value:function(e,t){for(var i=this.refs,n=0;n<i.length;n+=1){if(S.valueOf(i[n]).includes(e,t))return!0}return!1}},{key:"addRef",value:function(e){this.remove(S.valueOf(e)),this.refs.push(e)}},{key:"remove",value:function(e){var t=[];this.refs.forEach((function(i){var n=S.valueOf(i);n.intersects(e)?n.difference(e).forEach((function(e){return t.push(e.toString())})):t.push(i)})),this.refs=t}},{key:"getData",value:function(){var e=this.refs,t=this.mode,i=this.validator;return{refs:e,mode:t,type:i.type,required:i.required,operator:i.operator,value:i.value}}}],[{key:"valueOf",value:function(t){var i=t.refs,n=t.mode,r=t.type,a=t.required,o=t.operator,s=t.value;return new e(n,i,new de(r,a,s,o))}}]),e}(),ve=function(){function e(){c()(this,e),this._=[],this.errors=new Map}var t;return o()(e,[{key:"getError",value:function(e,t){return this.errors.get("".concat(e,"_").concat(t))}},{key:"validate",value:(t=r()(d.a.mark((function e(t,i,n,r){var a,o,s,h,c,u,f;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=this.get(t,i),o="".concat(t,"_").concat(i),s=this.errors,null===a){e.next=13;break}return e.next=6,a.validator.validate(n,r);case 6:h=e.sent,c=l()(h,2),u=c[0],f=c[1],u?s.delete(o):s.set(o,f),e.next=14;break;case 13:s.delete(o);case 14:return e.abrupt("return",!0);case 15:case"end":return e.stop()}}),e,this)}))),function(e,i,n,r){return t.apply(this,arguments)})},{key:"add",value:function(e,t,i){var n=i.type,r=i.required,a=i.value,o=i.operator,s=new de(n,r,a,o),l=this.getByValidator(s);null!==l?l.addRef(t):this._.push(new fe(e,[t],s))}},{key:"getByValidator",value:function(e){for(var t=0;t<this._.length;t+=1){var i=this._[t];if(i.validator.equals(e))return i}return null}},{key:"get",value:function(e,t){for(var i=0;i<this._.length;i+=1){var n=this._[i];if(n.includes(e,t))return n}return null}},{key:"remove",value:function(e){var t="".concat(e.sri,"_").concat(e.sci);this.errors.has(t)&&this.errors.delete(t),this.each((function(t){t.remove(e)}))}},{key:"each",value:function(e){this._.forEach((function(t){return e(t)}))}},{key:"getData",value:function(){return this._.filter((function(e){return e.refs.length>0})).map((function(e){return e.getData()}))}},{key:"setData",value:function(e){this._=e.map((function(e){return fe.valueOf(e)}))}}]),e}(),ge=function e(){c()(this,e),this.keywords="",this.current=1,this.result=[]},pe=i(3),me=i.n(pe),ye=i(4),be=i.n(ye),we=i(1),qe=i.n(we),xe="x-spreadsheet";window.devicePixelRatio;function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ce=function(e){me()(i,e);var t=ke(i);function i(e){var n;return c()(this,i),(n=t.call(this,"div","".concat(xe,"-icon"))).iconNameEl=p("div","".concat(xe,"-icon-img ").concat(e)),n.child(n.iconNameEl),n}return o()(i,[{key:"setName",value:function(e){this.iconNameEl.className("".concat(xe,"-icon-img ").concat(e))}}]),i}(g),Se=function(e,t){var i=p("div","".concat(xe,"-item")).child(new Ce(e));return t&&i.child(t),i};function Te(e,t,i){var n=p("div","".concat(xe,"-toast")),r=p("div","".concat(xe,"-dimmer active"));n.children(p("div","".concat(xe,"-toast-header")).children(new Ce("close").on("click.stop",(function(){return document.body.removeChild(n.el),document.body.removeChild(r.el),void(i&&i())})),e),p("div","".concat(xe,"-toast-content")).html(t)),document.body.appendChild(n.el),document.body.appendChild(r.el);var a=n.box(),o=a.width,s=a.height,l=document.documentElement,h=l.clientHeight,c=l.clientWidth;n.offset({left:(c-o)/2,top:(h-s)/3})}var _e={mode:"edit",updateMode:"client",updateUrl:"",folderName:"",fileName:"",view:{height:function(){return document.documentElement.clientHeight},width:function(){return document.documentElement.clientWidth}},showToolbar:!0,showPartToolbar:!1,showContextmenu:!0,showFileName:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}};function Oe(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=this.merges,r=t.clone(),a=e.size(),o=l()(a,2),s=o[0],h=o[1],c=t.size(),u=l()(c,2),d=u[0],f=u[1];return s>d&&(r.eri=t.sri+s-1),h>f&&(r.eci=t.sci+h-1),this.getRangeLocked(r)?(i("Protected worksheet,the target area contains locked cells"),!1):n.intersects(r)?(i(Q("error.pasteForMergedCell")),!1):e.equals(r)?(i("The selection area is same "),!1):!e.intersects(r)||!(d>s&&Math.abs(t.sri-e.sri)%s!=0||f>h&&Math.abs(t.sci-e.sci)%h!=0)||(i("Invalid selection area"),!1)}function Re(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.rows,a=this.merges,o=this.name,s=r.copyPaste(e,t,i,n,(function(e,t,i){if(i&&i.merge){var n=l()(i.merge,2),r=n[0],o=n[1];if(r<=0&&o<=0)return;a.add(new S(e,t,e+r,t+o))}}));n?this.updateBatchCellsOpr(o,s,e,t,i):this.copyPasteRangeOpr(o,e,t,i)}function Ee(e,t){var i=this.clipboard,n=this.rows,r=this.merges,a=this.name;n.cutPaste(e,t),r.move(e,t.sri-e.sri,t.sci-e.sci),i.clear(),this.cutPasteRangeOpr(a,e,t)}function Ae(e,t,i){var n=this.styles,r=this.rows.getCellOrNew(e,t),a={};void 0!==r.style&&(a=j.cloneDeep(n[r.style])),a=j.merge(a,{border:i}),r.style=this.addStyle(a)}function Me(e){var t=this,i=e.mode,n=e.style,r=e.color,a=this.styles,o=this.selector,s=this.rows,h=o.range,c=h.sri,u=h.sci,d=h.eri,f=h.eci,v=!this.isSignleSelected();if(v||"inside"!==i&&"horizontal"!==i&&"vertical"!==i)if("outside"!==i||v){if("none"===i)o.range.each((function(e,i){var n=s.getCell(e,i);if(n&&void 0!==n.style){var r=j.cloneDeep(a[n.style]);delete r.border,n.style=t.addStyle(r)}}));else if("all"===i||"inside"===i||"outside"===i||"horizontal"===i||"vertical"===i)!function(){for(var e=[],a=c;a<=d;a+=1)for(var o=u;o<=f;o+=1){for(var h=[],g=0;g<e.length;g+=1){var p=l()(e[g],4),m=p[0],y=p[1],b=p[2],w=p[3];if(a===m+b+1&&h.push(g),m<=a&&a<=m+b&&o===y){o+=w+1;break}}if(h.forEach((function(t){return e.splice(t,1)})),o>f)break;var q=s.getCell(a,o),x=0,k=0;if(q&&q.merge){var C=l()(q.merge,2);x=C[0],k=C[1],e.push([a,o,x,k])}var S=x>0&&a+x===d,T=k>0&&o+k===f,_={};"all"===i?_={bottom:[n,r],top:[n,r],left:[n,r],right:[n,r]}:"inside"===i?(!T&&o<f&&(_.right=[n,r]),!S&&a<d&&(_.bottom=[n,r])):"horizontal"===i?!S&&a<d&&(_.bottom=[n,r]):"vertical"===i?!T&&o<f&&(_.right=[n,r]):"outside"===i&&v&&(c===a&&(_.top=[n,r]),(S||d===a)&&(_.bottom=[n,r]),u===o&&(_.left=[n,r]),(T||f===o)&&(_.right=[n,r])),Object.keys(_).length>0&&Ae.call(t,a,o,_),o+=k}}();else if("top"===i||"bottom"===i)for(var g=u;g<=f;g+=1)"top"===i&&(Ae.call(this,c,g,{top:[n,r]}),g+=s.getCellMerge(c,g)[1]),"bottom"===i&&(Ae.call(this,d,g,{bottom:[n,r]}),g+=s.getCellMerge(d,g)[1]);else if("left"===i||"right"===i)for(var p=c;p<=d;p+=1)"left"===i&&(Ae.call(this,p,u,{left:[n,r]}),p+=s.getCellMerge(p,u)[0]),"right"===i&&(Ae.call(this,p,f,{right:[n,r]}),p+=s.getCellMerge(p,f)[0])}else Ae.call(this,c,u,{top:[n,r],bottom:[n,r],left:[n,r],right:[n,r]})}function Ie(e,t){var i=this.rows,n=this.scroll,r=this.freezeTotalHeight(),a=this.settings.row.height,o=this.exceptRowSet;0===n.riact&&this.freeze[0]>0&&(n.riact=this.freeze[0]);var s=a+r,l=e>s?n.riact:0;0===l&&(s=a);for(var h=0;l<i.len&&!(s>e);l+=1)o.has(l)||(s+=h=i.getHeight(l));return{ri:l-1,top:s-=h,height:h}}function Be(e,t){var i=this.cols,n=this.displayRight2Left,r=this.freezeTotalWidth(),a=i.indexWidth;if(n){var o=this.viewWidth();r+i.indexWidth<o-e&&(a-=t);var s=j.rangeReduceIf(0,i.len,a,i.indexWidth,o-e,(function(e){return i.getWidth(e)})),h=l()(s,3),c=h[0],u=h[1],d=h[2];return u<=0?{ci:-1,left:o,width:i.indexWidth}:{ci:c-1,left:o-u,width:d}}r+i.indexWidth<e&&(a-=t);var f=j.rangeReduceIf(0,i.len,a,i.indexWidth,e,(function(e){return i.getWidth(e)})),v=l()(f,3),g=v[0],p=v[1],m=v[2];return p<=0?{ci:-1,left:0,width:i.indexWidth}:{ci:g-1,left:p,width:m}}var De=function(){function e(t,i){c()(this,e),this.settings=j.merge(_e,i||{}),this.name=t||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new B,this.rows=new H(this.settings.row),this.cols=new N(this.settings.col),this.validations=new ve,this.hyperlinks=[],this.comments=[],this.viewRangeCache={},this.highlighttxts=[],this.highlightrg=[],this.highlighshapes=[],this.highlighimgs=[],this.highlightIR=null,this.highlightall=!1,this.showhighlight=!1,this.highlightstyle=null,this.selector=new _,this.scroll=new O,this.history=new R,this.updateRows=new Set,this.updateCols=new Set,this.updateRowsHeight=new Set,this.clipboard=new E,this.autoFilter=new I,this.TableAutoFilters=[],this.menubarStatus=function(){},this.change=function(){},this.updateCellsData=function(){},this.updateCellServer=function(){},this.updateServerError=function(){},this.updateCellError=function(){},this.getListValue=function(){},this.loadImages=function(){},this.loadShapes=function(){},this.fillImageSrc=function(){},this.fillImageOnebyOne=function(){},this.loadConditionImage=function(){},this.reloadImagesShapes=function(){},this.scrollImagesShapes=function(){},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,this.isupdating=!1,this.search=new ge,this.showGrid=!0,this.zoomlevel=1,this.isImageOk=!1}return o()(e,[{key:"addValidation",value:function(e,t,i){var n=this;this.changeData((function(){n.validations.add(e,t,i)}))}},{key:"removeValidation",value:function(){var e=this,t=this.selector.range;this.changeData((function(){e.validations.remove(t)}))}},{key:"getHighlightCellTxt",value:function(e,t){var i=this;return this.showhighlight&&!this.highlightall?this.highlighttxts.reduce((function(n,r){return r.row===e&&r.col===t&&(r.color=i.highlightstyle.color,n.push(r)),n}),[]):[]}},{key:"getSelectedValidator",value:function(){var e=this.selector,t=e.ri,i=e.ci,n=this.validations.get(t,i);return n?n.validator:null}},{key:"getSelectedValidation",value:function(){var e=this.selector,t=e.ri,i=e.ci,n=e.range,r=this.validations.get(t,i),a={ref:n.toString()};return null!==r&&(a.mode=r.mode,a.validator=r.validator),a}},{key:"getSelectedSort",value:function(){var e=this.selector,t=e.ci,i=e.range,n={ref:i.toString(),ci:[0,1,2]},r=this.merges;n.sort=[];for(var a=[],o=i.sri,s=i.eri,l=i.sci,h=i.eci,c=0;c<r._.length;c+=1){var u=r._[c];if(u.sri>=o&&u.eri<=s&&u.sci>=l&&u.eci<=h)return Te("error","".concat(Q("dataSort.msg2"))),null}for(var d=o+1;d<=s;d+=1){var f=this.getCell(d,t);null===f||/^\s*$/.test(f.text)||a.push(f.text)}n.m=a;for(var v=new Map,g=new Map,p=0,m=l;m<=h;m++,p++){var y=this.getCell(o,m),b="";b=null===y||/^\s*$/.test(y.text)?"(Column "+w(m)+")":y.text,v.set(p,b),g.set(p,"(Column "+w(m)+")")}return n.mcols=v,n.mcolsheader=g,n}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"undo",value:function(){var e=this;this.history.undo((function(t){return e.getRangeData(t.range)}),(function(t){e.setRangeData(t)}))}},{key:"redo",value:function(){var e=this;this.history.redo((function(t){return e.getRangeData(t.range)}),(function(t){e.setRangeData(t)}))}},{key:"copy",value:function(){this.clipboard.copy(this.selector.range,this.rows)}},{key:"cut",value:function(){this.clipboard.cut(this.selector.range)}},{key:"paste",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=this.clipboard,r=this.selector;return!n.isClear()&&(!!Oe.call(this,n.range,r.range,i)&&(this.changeData((function(){var i=r.range.extendRange(n.range);r.range.setToOther(i),n.isCopy()?Re.call(e,n.range,i,t):n.isCut()&&Ee.call(e,n.range,i)})),!0))}},{key:"pasteFromText",value:function(e){var t=this,i=this.name,n=e.split("\r\n").map((function(e){return e.replace(/"/g,"").split("\t")}));if(n.length>0&&""==n[n.length-1]&&(n.length-=1),n.length>=1){var r=this.rows,a=this.selector;this.changeData((function(){var e=r.paste(n,a.range);t.updateBatchCellsOpr(i,e)}))}}},{key:"autofill",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=this.selector.range;return-1==r.sci&&(r.sci=0),-1==r.sri&&(r.sri=0),-1==e.sci&&(e.sci=0),-1==e.sri&&(e.sri=0),!!Oe.call(this,r,e,n)&&(this.changeData((function(){Re.call(i,r,e,t,!0)}),!0,e),!0)}},{key:"clearClipboard",value:function(){this.clipboard.clear()}},{key:"calSelectedRangeByEnd",value:function(e,t){var i=this.selector,n=this.rows,r=this.cols,a=this.merges,o=i.range,s=o.sri,l=o.sci,h=o.eri,c=o.eci,u=i.ri,d=i.ci,f=e,v=t;return e<0&&(f=n.len-1),t<0&&(v=r.len-1),f>u?(s=u,h=f):(s=f,h=u),v>d?(l=d,c=v):(l=v,c=d),i.range=a.union(new S(s,l,h,c)),i.range=a.union(i.range),i.range}},{key:"calSelectedRangeByStart",value:function(e,t){var i=this.selector,n=this.rows,r=this.cols,a=this.merges.getFirstIncludes(e,t);return null===a&&(a=new S(e,t,e,t),-1===e&&(a.sri=0,a.eri=n.len-1),-1===t&&(a.sci=0,a.eci=r.len-1)),i.range=a,a}},{key:"setSelectedCellAttr",value:function(e,t){var i=this;this.changeData((function(){var n=i.selector,r=i.styles,a=i.rows,o=i.name;if("merge"===e)t?i.merge():i.unmerge();else if("border"===e)Me.call(i,t);else if("formula"===e){var s=n.ri,h=n.ci,c=n.range;if(n.multiple()){var u=n.size(),d=l()(u,2),f=d[0],v=d[1],g=c.sri,p=c.sci,m=c.eri,y=c.eci;if(f>1)for(var b=p;b<=y;b+=1){a.getCellOrNew(m+1,b).text="=".concat(t,"(").concat(k(b,g),":").concat(k(b,m),")")}else if(v>1){a.getCellOrNew(s,y+1).text="=".concat(t,"(").concat(k(p,s),":").concat(k(y,s),")")}}else{a.getCellOrNew(s,h).text="=".concat(t,"()")}}else n.range.each((function(n,s){var l=a.getCellOrNew(n,s),h={};if(void 0!==l.style&&(h=j.cloneDeep(r[l.style])),"format"===e)h.format=t,"normal"===t?(delete h.number,delete h.custom):"text"===t?(h.number=49,delete h.custom):"number"===t?(h.custom="#,##0.00_",delete h.number):"percent"===t?(h.number=10,delete h.custom):"rmb"===t?(h.custom="[$¥-804]#,##0.00",delete h.number):"usd"===t?(h.custom="$#,##0.00",delete h.number):"eur"===t?(h.custom="[$€-408]#,##0.00",delete h.number):"date"===t?(h.custom="mm/dd/yyyy",delete h.number):"time"===t?(h.number=21,delete h.custom):"datetime"===t?(h.custom="mm/dd/yyyy hh:mm:ss",delete h.number):"duration"===t&&(h.custom="[h]:mm:ss",delete h.number),l.style=i.addStyle(h),i.updateCellStyleOpr(o,n,s,h);else if("font-bold"===e||"font-italic"===e||"font-name"===e||"font-size"===e){var c={};c[e.split("-")[1]]=t,h.font=Object.assign(h.font||{},c),l.style=i.addStyle(h)}else"strike"===e||"textwrap"===e||"underline"===e||"align"===e||"valign"===e||"color"===e||"bgcolor"===e||"pbgcolor"===e||"pattern"===e?(h[e]=t,l.style=i.addStyle(h),"align"===e&&delete l.isautoalign):l[e]=t}))}))}},{key:"setHyperlinkStyle",value:function(e,t,i){var n=this.rows,r=this.styles,a=n.getCellOrNew(e,t),o={};void 0!==a.style&&(o=j.cloneDeep(r[a.style])),o.underline=i,o.color=i?"#0000ff":"Black",a.style=this.addStyle(o)}},{key:"setSelectedCellText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"input",i=this.autoFilter,n=this.selector,r=this.rows,a=n.ri,o=n.ci,s=a;this.unsortedRowMap.has(a)&&(s=this.unsortedRowMap.get(a));var l=r.getCell(s,o),h=l?l.text:"";if(this.setCellText(s,o,e,t),i.active()){var c=i.getFilter(o);if(c){var u=c.value.findIndex((function(e){return e===h}));u>=0&&c.value.splice(u,1,e)}}}},{key:"getSelectedCell",value:function(){var e=this.selector,t=e.ri,i=e.ci,n=t;return this.unsortedRowMap.has(t)&&(n=this.unsortedRowMap.get(t)),this.rows.getCell(n,i)}},{key:"canSelected",value:function(e,t){if(!this.sprotected)return!0;var i=e;this.unsortedRowMap.has(e)&&(i=this.unsortedRowMap.get(e));var n=this.getCellStyle(i,t);return null==n?this.canselectlocked:!(!n.unlocked||!this.canselectunlocked)||!(n.unlocked||!this.canselectlocked)}},{key:"isfirstRowCellsContainsFormula",value:function(e){for(var t=e.sci;t<=e.eci;t+=1){var i=this.getCell(e.sri,t);if(null!=i&&void 0!==i.f)return!0}return!1}},{key:"getLocked",value:function(){var e=this.selector,t=e.ri,i=e.ci;return this.getCellLocked(t,i)}},{key:"getCellLocked",value:function(e,t){if(!this.sprotected)return!1;var i=e;this.unsortedRowMap.has(e)&&(i=this.unsortedRowMap.get(e));var n=this.getCellStyle(i,t);return!(null!=n&&n.unlocked)}},{key:"getRangeLocked",value:function(e){for(var t=e.sri;t<=e.eri;t+=1)for(var i=e.sci;i<=e.eci;i+=1)if(this.getCellLocked(t,i))return!0;return!1}},{key:"xyInSelectedRect",value:function(e,t){var i=this.getSelectedRect(),n=i.left,r=i.top,a=i.width,o=i.height,s=this.settings.row.height,l=e-this.cols.indexWidth,h=t-s;return l>n&&l<n+a&&h>r&&h<r+o}},{key:"getSelectedRectBySearch",value:function(){return this.getRect(this.selector.range)}},{key:"getSelectedRect",value:function(){var e=this.selector.range.clone();if(this.freezeIsActive()){if(e.sri>=this.freeze[0]&&e.eri<this.scroll.riact)return{left:-99999,top:-99999};e.sri>=this.freeze[0]&&e.sri<this.scroll.riact&&(e.sri=this.scroll.riact)}else{if(e.eri<this.scroll.riact)return{left:-99999,top:-99999};e.sri<this.scroll.riact&&(e.sri=this.scroll.riact)}return this.getRect(e)}},{key:"getRectForTextbox",value:function(e){var t=this.scroll,i=(this.rows,this.cols),n=(this.exceptRowSet,this.displayRight2Left),r=this.freeze,a=this.zoomlevel,o=new S(e.row,e.col,e.row,e.col),s=o.sri,h=o.sci,c=(o.eri,o.eci);if(s<0&&h<0)return{left:0,l:0,top:0,t:0,scroll:t};var u=l()(r,2)[1],d=n?e.left+i.indexWidth:e.left,f=e.top,v=e.height,g=e.width,p=n?u>0&&c>=u||0===u?d-t.x:d:d-t.x,m=this.freezeTotalHeight(),y=this.freezeTotalWidth(),b=e.top-t.y;return y>0&&y>d&&!n&&(p=d),m>0&&m>f&&(b=f),{l:d*a,t:f*a,left:p*a,top:b*a,height:v*a,width:g*a,scroll:t}}},{key:"getClipboardRect",value:function(){var e=this.clipboard;return e.isClear()?{left:-100,top:-100}:this.getRect(e.range)}},{key:"getRect",value:function(e){var t=this.scroll,i=this.rows,n=this.cols,r=this.exceptRowSet,a=this.displayRight2Left,o=this.freeze,s=this.zoomlevel,h=e.sri,c=e.sci,u=e.eri,d=e.eci;if(h<0&&c<0)return{left:0,l:0,top:0,t:0,scroll:t};var f=l()(o,2)[1],v=a?this.viewWidth()-n.indexWidth-n.sumWidth(0,d+1):n.sumWidth(0,c),g=i.sumHeight(0,h,r),p=i.sumHeight(h,u+1,r)*s,m=n.sumWidth(c,d+1)*s,y=a?f>0&&d>=f||0===f?v+t.x:v:v-t.x,b=this.freezeTotalHeight(),w=this.freezeTotalWidth(),q=i.sumHeight(t.riact,h,r)+b;return w>0&&w>v&&!a&&(y=v),b>0&&b>g&&(q=g),{l:v*s,t:g*s,left:y*s,top:q*s,height:p,width:m,scroll:t}}},{key:"getCellRectByXY",value:function(e,t){var i=this.scroll,n=this.merges,r=this.rows,a=this.cols,o=this.zoomlevel,s=Ie.call(this,t,i.y),l=s.ri,h=s.top,c=s.height,u=Be.call(this,e,i.x),d=u.ci,f=u.left,v=u.width;if(-1===d&&(v=a.totalWidth()),-1===l&&(c=r.totalHeight()),l>=0||d>=0){var g=n.getFirstIncludes(l,d);if(g){l=g.sri,d=g.sci;var p=this.cellRectWithOutTransfer(l,d);f=p.left,h=p.top,v=p.width,c=p.height}}return{ri:l,ci:d,left:f*o,top:h*o,width:v*o,height:c*o}}},{key:"isSignleSelected",value:function(){var e=this.selector.range,t=e.sri,i=e.sci,n=e.eri,r=e.eci,a=this.getCell(t,i);if(a&&a.merge){var o=l()(a.merge,2),s=o[0],h=o[1];if(t+s===n&&i+h===r)return!0}return!this.selector.multiple()}},{key:"canUnmerge",value:function(){var e=this.selector.range,t=e.sri,i=e.sci,n=e.eri,r=e.eci,a=this.getCell(t,i);if(a&&a.merge){var o=l()(a.merge,2),s=o[0],h=o[1];if(t+s===n&&i+h===r)return!0}return!1}},{key:"merge",value:function(){var e=this.selector,t=this.rows;if(!this.isSignleSelected()){var i=e.size(),n=l()(i,2),r=n[0],a=n[1];if(r>1||a>1){var o=e.range,s=o.sri,h=o.sci,c=t.getCellOrNew(s,h);c.merge=[r-1,a-1],this.merges.add(e.range),this.rows.deleteCells(e.range),this.rows.setCell(s,h,c)}}}},{key:"unmerge",value:function(){var e=this.selector;if(this.isSignleSelected()){var t=e.range,i=t.sri,n=t.sci;this.rows.deleteCell(i,n,"merge"),this.merges.deleteWithin(e.range)}}},{key:"canAutofilter",value:function(){return!this.autoFilter.active()}},{key:"autofilter",value:function(){var e=this,t=this.autoFilter,i=this.selector,n=this.TableAutoFilters;if(!t.active())for(var r=0,a=n.length;r<a;r++){var o=n[r],s=S.valueOf(o.ref);if(!(s.eci<i.range.sci||i.range.eci<s.sci))return void Te("Warning","there is already table autofilter in the selected range")}this.changeData((function(){t.active()?(t.clear(),e.exceptRowSet=new Set,e.sortedRowMap=new Map,e.unsortedRowMap=new Map):t.ref=i.range.toString()}))}},{key:"autoSort",value:function(){var e=this.autoFilter,t=this.selector;this.changeData((function(){e.filters=[],e.ref=t.range.toString()}))}},{key:"sortByRowIdArray",value:function(e,t){for(var i=this.rows,n=e.sri,r=e.eri,a=e.sci,o=e.eci,s=[],l=0,h=t.length;l<h;l++){for(var c=i._[t[l]].cells,u=[],d=a;d<=o;d++)void 0!==c[d]&&u.push({id:d,v:j.cloneDeep(c[d])});s.push(u)}for(var f=0,v=n;v<=r;v++)if(t[f++]!==v){for(var g=i._[v].cells,p=a;p<=o;p++)delete g[p];for(var m=s[f-1],y=0,b=m.length;y<b;y++){var w=m[y];g[w.id]=w.v}}}},{key:"doSort",value:function(e,t,i){var n=this.name,r=this.selector.range,a=(r.sri,r.eri,r.sci,r.eci,{name:n,src:r,ci:e,order:t,isheader:i,op:"sort"});this.updateCellServer(a)}},{key:"setAutoFilter",value:function(e,t,i,n){var r=this.currentAutoFilter;void 0===r&&(r=this.autoFilter),r.addFilter(e,i,n),r.setSort(e,t),this.resetAutoFilter()}},{key:"resetAutoFilter",value:function(){var e=this,t=this.currentAutoFilter,i=this.rows,n=t;if(void 0===n&&(n=this.autoFilter),n.active()){var r=n.sort,a=n.filteredRows((function(e,t){return i.getCell(e,t)})),o=a.rset,s=a.fset,l=Array.from(s),h=Array.from(s);r&&l.sort((function(e,t){if("desc"===r.order){var n=e;e=t,t=n}var a=i.getCell(e,r.ci),o=i.getCell(t,r.ci);if(null!=a&&""===a.text&&(a=null),null!=o&&""===o.text&&(o=null),null==a&&null==o)return e-t;if(null==a)return"asc"===r.order?1:-1;if(null==o)return"asc"===r.order?-1:1;a=a.text,o=o.text;var s=isNaN(Number(a)),l=isNaN(Number(o));return s&&l?a.localeCompare(o):s&&!l?1:!s&&l?-1:Number(a)-Number(o)})),this.exceptRowSet=o,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,l.forEach((function(t,i){e.sortedRowMap.set(h[i],t),e.unsortedRowMap.set(t,h[i])}))}}},{key:"deleteExceptRowHideForAutoFilter",value:function(){var e=this.exceptRowSet,t=this.rows;e.forEach((function(e){t.get(e)&&(t.get(e).hide=void 0)}))}},{key:"updateMyConditionImages",value:function(e){var t=this.conditionimg,i=(this.rows,this.styles,this);e&&e.forEach((function(e){if(t){var n=t.find((function(t){return t.row===e.row&&t.col===e.col}));n?n.image.src="data:image/png;base64,"+e.data:i.insertConditionImage(e)}}))}},{key:"createConditionImage",value:function(e,t){var i=this.displayRight2Left,n=new Image;n.src="data:image/png;base64,"+e.data;var r=this.cols.sumWidth(0,e.col),a=this.rows.sumHeight(0,e.row);if(0===e.type){n.style.zIndex=t+1;var o=this.getCellStyle(e.row,e.col);null!=o&&"bottom"===o.valign&&(a+=this.rows.getHeight(e.row)-16)}else n.style.zIndex=t,n.style.opacity=.88;if((this.rows.isHide(e.row)||this.cols.isHide(e.col)||this.exceptRowSet.has(e.row))&&(n.style.display="none"),i){var s=this.viewWidth();n.style.left=s-r+"px"}else n.style.left=r+"px";if(n.style.top=a+"px",n.style.position="absolute",void 0===e.ol){var l=parseInt(n.style.left),h=parseInt(n.style.top);e.ol=l,e.ot=h}return n}},{key:"updateConditionImageVisible",value:function(){var e=this.exceptRowSet,t=this.rows,i=this.cols;this.conditionimg&&this.conditionimg.forEach((function(n){t.isHide(n.row)||i.isHide(n.col)||e.has(n.row)?n.image.style.display="none":n.image.style.display="block"}))}},{key:"updateConditionImageDirection",value:function(){var e=this.displayRight2Left,t=this.cols,i=this.zoomlevel,n=this.viewWidth()-t.indexWidth;this.conditionimg&&this.conditionimg.forEach((function(r){r.image&&(r.image.style.left=e?(n-r.ol-t.getWidth(r.col))*i+"px":r.ol*i+"px")}))}},{key:"updateConditionImageZoom",value:function(){this.exceptRowSet,this.rows,this.cols;var e=this.zoomlevel;this.conditionimg&&this.conditionimg.forEach((function(t){if(t.ow||(t.ow=t.image.width,t.oh=t.image.height),t.image.style.left=t.ol*e+"px",t.image.style.top=t.ot*e+"px",t.ow){t.image.height;t.image.width=t.ow*e,1===t.type&&(t.image.height=t.oh*e)}}))}},{key:"updateConditionImagePositionForCol",value:function(e,t,i){var n=this.displayRight2Left,r=this.cols,a=this.zoomlevel;if(this.conditionimg){var o=this.viewWidth()-r.indexWidth;this.conditionimg.forEach((function(s){if(s.col>e)s.ol+=t,s.image.style.left=n?(o-s.ol-r.getWidth(s.col))*a+"px":s.ol*a+"px";else if(s.col===e){if(1===s.type){var l=s.image.height;s.image.width=i*a,s.ow=i,s.image.height=l}n&&(s.image.style.left=(o-s.ol-r.getWidth(s.col))*a+"px")}}))}}},{key:"updateConditionImagePositionForRow",value:function(e,t,i){var n=this.zoomlevel;this.conditionimg&&this.conditionimg.forEach((function(r){if(r.row>e)r.ot+=t,r.image.style.top=r.ot*n+"px";else if(r.row===e&&1===r.type){var a=r.image.width;r.image.height=i*n,r.oh=i,r.image.width=a}}))}},{key:"updateConditionImageForColInsert",value:function(e,t){var i=this.conditionimg,n=this.cols,r=this.displayRight2Left,a=this.zoomlevel;if(i){var o=this.viewWidth()-n.indexWidth,s=n.sumWidth(e,t+1),l=t-e+1;i.forEach((function(t){t.col>=e&&(t.ol+=s,t.image.style.left=r?(o-t.ol-n.getWidth(t.col))*a+"px":t.ol*a+"px",l&&(t.col+=l))}))}}},{key:"updateConditionImageForRowInsert",value:function(e,t){var i=this.conditionimg,n=this.rows,r=this.zoomlevel;if(i){var a=n.sumHeight(e,t+1),o=t-e+1;i.forEach((function(t){t.row>=e&&(t.ot+=a,t.image.style.top=t.ot*r+"px",o&&(t.row+=o))}))}}},{key:"updateConditionImageForRowDelete",value:function(e,t,i){var n=this.conditionimg,r=(this.rows,this.zoomlevel);if(n)for(var a=t-e+1,o=n.length-1;o>=0;o--){var s=n[o];s.row>=e&&s.row<=t?(s.image.remove(),n.splice(o,1)):s.row>t&&(s.ot+=i,s.image.style.top=s.ot*r+"px",a&&(s.row-=a))}}},{key:"updateConditionImageForColDelete",value:function(e,t,i){var n=this.conditionimg,r=this.cols,a=this.displayRight2Left,o=this.zoomlevel;if(n)for(var s=this.viewWidth()-r.indexWidth,l=n.length-1;l>=0;l--){var h=n[l];if(h.col>=e&&h.col<=t)h.image.remove(),n.splice(l,1);else if(h.col>t){h.ol+=i,h.image.style.left=a?(s-h.ol-r.getWidth(h.col))*o+"px":h.ol*o+"px";var c=t-e+1;c&&(h.col-=c)}}}},{key:"deleteCell",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all",i=this.selector,n=this.name;this.changeData((function(){e.rows.deleteCells(i.range,t),"all"!==t&&"format"!==t||e.merges.deleteWithin(i.range),e.delCellOpr(n,i.range,t)}))}},{key:"insert",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.changeData((function(){var n=t.selector.range,r=n.sri,a=n.sci,o=t.rows,s=t.merges,l=t.cols,h=t.name,c=r;if("row"===e){o.insert(r,i),t.updateConditionImageForRowInsert(r,r+i-1);var u=o.getHeight(r-1);t.insertRowOpr(h,r,i,u)}else if("column"===e){o.insertColumn(a,i),c=a,l.len+=i;for(var d=l.getWidth(a-1),f=l.len,v=0;v<i;v++)l._[f-1-v]={};for(var g=f-1;g>=a;g--)l._[g].width=g>=i?l._[g-i].width:l.width;t.insertColumnOpr(h,a,i,d),t.updateConditionImageForColInsert(a,a+i-1)}s.shift(e,c,i,(function(e,t,i,n){var r=o.getCell(e,t);r.merge[0]+=i,r.merge[1]+=n}))}),!1)}},{key:"delete",value:function(e){var t=this,i=this.selector.range,n=i.sri,r=i.sci,a=i.eri,o=i.eci;n<0&&(n=0),a<n||(r<0&&(r=0),o<r||this.changeData((function(){var i=t.rows,n=t.merges,r=t.selector,a=t.cols,o=t.name,s=r.range,l=r.range,h=l.sri,c=l.sci,u=l.eri,d=l.eci,f=h,v=0;if("row"===e){if(h<0&&(h=0),u<h)return;if(confirm("sure to delete rows from "+(h+1)+" to "+(u+1))){v=u-h+1;var g=-i.sumHeight(h,u+1);i.delete(h,u),t.deleteRowOpr(o,h,u),t.updateConditionImageForRowDelete(h,u,g)}}else if("column"===e){if(c<0&&(c=0),d<c)return;if(confirm("sure to delete columns from "+(c+1)+" to "+(d+1))){var p=-a.sumWidth(c,d+1);i.deleteColumn(c,d),f=s.sci,v=d-c+1,a.len-=v;for(var m=c;m<a.len-v;m++)a._[m].width=a._[m+v].width;for(var y=a.len;y<a.len+v;y++)delete a._[y];t.deleteColumnOpr(o,c,d),t.updateConditionImageForColDelete(c,d,p)}}n.shift(e,f,-v,(function(e,t,n,r){var a=i.getCell(e,t);a.merge[0]+=n,a.merge[1]+=r,0===a.merge[0]&&0===a.merge[1]&&delete a.merge}))}),!1))}},{key:"deletelocalonly",value:function(e,t,i){var n=this;this.changeData((function(){var r=n.rows,a=n.merges;n.cols;"row"===e?r.delete(t,t+i-1):"column"===e&&r.deleteColumn(t,t+i-1),a.shift(e,t,-i,(function(e,t,i,n){var a=r.getCell(e,t);a.merge[0]+=i,a.merge[1]+=n,0===a.merge[0]&&0===a.merge[1]&&delete a.merge}))}),!1)}},{key:"updateRevertOpr",value:function(e){"insertrow"===e.op?this.deletelocalonly("row",e.ri,e.n):"insertcol"===e.op&&this.deletelocalonly("column",e.ci,e.n)}},{key:"scrollx",value:function(e,t){var i=this.scroll,n=this.freeze,r=this.cols;this.displayRight2Left&&(e=-e);var a=l()(n,2)[1],o=j.rangeReduceIf(a,r.len,0,0,e,(function(e){return r.getWidth(e)})),s=l()(o,3),h=s[0],c=s[1],u=s[2],d=c;e>0&&(d+=u),i.x!==d&&(i.ci=e>0?h:0,i.x=d),t&&t()}},{key:"scrolly",value:function(e,t){var i=this.scroll,n=this.freeze,r=this.rows,a=this.exceptRowSet,o=l()(n,1)[0],s=j.rangeReduceIf(o,r.len,0,0,e,(function(e){return r.getHeight(e,a)})),h=l()(s,3),c=h[0],u=h[1],d=h[2],f=u;if(e>0&&(f+=d),i.y!==f)for(i.ri=e>0?c:0,i.y=f,0===i.ri&&this.freeze[0]>0&&(i.ri=this.freeze[0],i.y=0),i.yact=i.y,i.riact=i.ri;this.isInvisibleRow(i.riact);)i.yact+=r.getHeight(i.riact,a),i.riact++;t&&t()}},{key:"isInvisibleRow",value:function(e){var t=this.exceptRowSet;return this.rows.isHide(e)||t.has(e)}},{key:"cellRect",value:function(e,t){var i=this.rows,n=this.cols,r=this.exceptRowSet,a=this.displayRight2Left,o=this.scroll,s=i.sumHeight(0,e,r),h=i.getCell(e,t),c=n.getWidth(t),u=i.getHeight(e);if(null!==h&&h.merge){var d=l()(h.merge,2),f=d[0],v=d[1];if(f>0)for(var g=1;g<=f;g+=1)u+=i.getHeight(e+g);if(v>0)for(var p=1;p<=v;p+=1)c+=n.getWidth(t+p)}var m=a?this.viewWidth()-n.sumWidth(0,t)-c+2*o.x:n.sumWidth(0,t);if(a){var y=l()(this.freeze,2),b=(y[0],y[1]);b>0&&t<b&&(m-=2*o.x)}return{left:m,top:s,width:c,height:u,cell:h}}},{key:"cellRectWithOutTransfer",value:function(e,t){var i=this.cellRect(e,t),n=this.displayRight2Left,r=this.cols,a=this.scroll,o=this.zoomlevel,s=r.indexWidth,h=this.settings.row.height;i.top+=h;var c=l()(this.freeze,2),u=c[0],d=c[1];return n?(i.left-=s,i.left+=i.width,t>d&&(i.left-=a.x)):(i.left+=s,t>d&&(i.left-=a.x)),e>u&&(i.top-=a.y),i.left*=o,i.top*=o,i.width*=o,i.height*=o,i}},{key:"getCell",value:function(e,t){return this.rows.getCell(e,t)}},{key:"getCellTextOrDefault",value:function(e,t){var i=this.getCell(e,t);return i&&i.text?i.text:""}},{key:"isEmptyText",value:function(e,t){var i=this.merges.getFirstIncludes(e,t),n=this.getCell(i?i.sri:e,i?i.sci:t);return!n||!n.text||0===n.text.trim().length}},{key:"canExtend",value:function(e,t){if(null==this.merges.getFirstIncludes(e,t)){var i=this.getCell(e,t);return!i||!i.text||0===i.text.trim().length}return!1}},{key:"getCellStyle",value:function(e,t){var i=this.getCell(e,t);return i&&void 0!==i.style?this.styles[i.style]:null}},{key:"getCellStyleOrDefault",value:function(e,t){var i=this.styles,n=this.rows,r=this.displayRight2Left,a=n.getCell(e,t),o=a&&void 0!==a.style?i[a.style]:{},s=j.merge(this.defaultStyle(),o);if(void 0!==o.bgcolor&&(s.hasbgcolor=!0),a&&void 0!==a.merge){if(0!=a.merge[1]){var l=n.getCell(e,t+a.merge[1]),h=l&&void 0!==l.style?i[l.style]:{};h.border&&void 0!==h.border.right&&(void 0===o.border&&(o.border={}),o.border.right=h.border.right)}if(0!=a.merge[0]){var c=n.getCell(e+a.merge[0],t),u=c&&void 0!==c.style?i[c.style]:{};u.border&&void 0!==u.border.bottom&&(void 0===o.border&&(o.border={}),o.border.bottom=u.border.bottom)}}if(void 0!==s.border&&r){var d=s.border.right;s.border.right=s.border.left,s.border.left=d}return s}},{key:"getSelectedCellStyle",value:function(){var e=this.selector,t=e.ri,i=e.ci;return this.getCellStyleOrDefault(t,i)}},{key:"setCellText",value:function(e,t,i,n){var r=this.rows,a=this.history,o=this.validations,s=this.settings,l=this.name;"finished"===n?("server"!==s.updateMode&&(r.setCellText(e,t,""),a.add(this.getData()),r.setCellText(e,t,i)),"server"===s.updateMode&&this.updateCellTextOpr(l,e,t,i)):r.setCellText(e,t,i),o.validate(e,t,i,this)}},{key:"updateTextbox",value:function(e,t){this.settings;var i=this.name;e.ischange&&(e.ischange=!1,this.updateTextboxOpr(i,e,t))}},{key:"isNumber",value:function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},{key:"isDate",value:function(e){return isNaN(e)&&!isNaN(Date.parse(e))}},{key:"setLinkedShape",value:function(e,t,i){var n=this.rows.getCellOrNew(e,t);n.lc||(n.lc=[]),n.lc.push(i)}},{key:"setCellAutoAlignment",value:function(e,t,i){var n=this.styles,r=this.rows.getCellOrNew(e,t),a={};void 0!==r.style&&(a=j.cloneDeep(n[r.style])),(r.isautoalign||void 0===a.align)&&(a.align=i,r.style=this.addStyle(a),r.isautoalign=!0)}},{key:"cutPasteRangeOpr",value:function(e,t,i){var n={name:e,src:t,dest:i,op:"cutpaste"};this.updateCellServer(n)}},{key:"copyPasteRangeOpr",value:function(e,t,i,n){var r={name:e,src:t,dest:i,op:"copypaste",what:n};this.updateCellServer(r)}},{key:"autofillRangeOpr",value:function(e,t,i,n){var r={name:e,src:t,dest:i,op:"autofill",what:n};this.updateCellServer(r)}},{key:"updateBatchCellsOpr",value:function(e,t,i,n,r){var a={name:e,cells:t,src:i,dest:n,what:r,op:"batchupdate"};this.updateCellServer(a)}},{key:"updateCellStyleOpr",value:function(e,t,i,n){var r={name:e,ri:t,ci:i,number:n.number,custom:n.custom,op:"updatestyle"};this.updateCellServer(r)}},{key:"updateCellTextOpr",value:function(e,t,i,n){var r=n.startsWith("<font style=")||n.startsWith("<Font Style=")?"updatehtml":"update",a={name:e,ri:t,ci:i,text:n,op:r};this.updateCellServer(a)}},{key:"updateTextboxOpr",value:function(e,t,i){var n={name:e,id:t.strid,text:i,w:t.width,h:t.height,op:"updateTextBox"};this.updateCellServer(n)}},{key:"delCellOpr",value:function(e,t,i){var n={name:e,range:t,what:i,op:"delcells"};this.updateCellServer(n)}},{key:"addSheetOpr",value:function(e){var t={name:e,op:"add"};this.updateCellServer(t)}},{key:"delSheetOpr",value:function(e){var t={name:e,op:"del"};this.updateCellServer(t)}},{key:"renameSheetOpr",value:function(e,t){var i={oldname:e,name:t,op:"rename"};this.updateCellServer(i)}},{key:"insertRowOpr",value:function(e,t,i,n){var r={name:e,ri:t,n:i,h:n,op:"insertrow"};this.updateCellServer(r)}},{key:"insertColumnOpr",value:function(e,t,i,n){var r={name:e,ci:t,n:i,w:n,op:"insertcol"};this.updateCellServer(r)}},{key:"deleteRowOpr",value:function(e,t,i){var n={name:e,sri:t,eri:i,op:"delrow"};this.updateCellServer(n)}},{key:"deleteColumnOpr",value:function(e,t,i){var n={name:e,sci:t,eci:i,op:"delcol"};this.updateCellServer(n)}},{key:"setAutoAlignForCell",value:function(e){e.ufv||this.isNumber(e.text)||this.isDate(e.text)?this.setCellAutoAlignment(e.ri,e.ci,"right"):this.setCellAutoAlignment(e.ri,e.ci,"left")}},{key:"updateMyCells",value:function(e){var t=this,i=this.styles,n=this.rows,r=this.search,a=this.shapes,o=this;e.forEach((function(e,r,s){var h=n.updateOneCell(e);if(e.bgcolor){var c={};void 0!==h.style&&(c=j.cloneDeep(i[h.style])),c.bgcolor=e.bgcolor,h.style=o.addStyle(c)}t.setAutoAlignForCell(e),h.lc&&h.lc.forEach((function(e,t){var i=a.find((function(t){return t.id===e}));if(i){if("TextBox"===i.type)i.text=h.text,i.rtxt&&(i.rtxt[0][0].txt=h.text);else if("CheckBox"===i.type)h.text?("true"===h.text.toLowerCase()?i.v=!0:"false"===h.text.toLowerCase()&&(i.v=!1),isNaN(h.text)||(i.v=0!==h.text)):i.v=!1;else if("ComboBox"===i.type){if(h.text&&!isNaN(h.text))if(i.isacx)i.v=h.text;else if(i.rg){var n=l()(i.rg,4),r=n[0],s=n[1],c=n[2],u=(n[3],r+Number(h.text)-1);if(u<=c){var d=o.getCell(u,s);i.v=d?d.text:""}}}else"RadioButton"===i.type&&h.text&&!isNaN(h.text)&&(i.v=i.idx===Number(h.text));i.setDirty()}}))})),"comments"!==r.lookin&&(r.result=null)}},{key:"updateShapes",value:function(e,t){var i=this.shapes;null!=i&&null!=e&&e.forEach((function(e,n,r){for(var a=0,o=i.length;a<o;a++)if(i[a].id===e.id){var s={};s.id="s_"+e.id+"_"+i[a].tick,s.name=e.id+"."+e.tick,s.it=i[a],t.push(s);break}}))}},{key:"updateShapeSrcToRefresh",value:function(e,t,i,n){if(this.loadCount=n.length,n.length>0){var r=this;$.get(t+"?uid="+e+"&id="+i,(function(e){r.fillImageOnebyOne(e,n)}))}}},{key:"validateFormula",value:function(e){for(var t=0,i=0;i<e.length;i++)"("===e[i]?t++:")"===e[i]&&t--;return 0===t}},{key:"freezeIsActive",value:function(){var e=l()(this.freeze,2),t=e[0],i=e[1];return t>0||i>0}},{key:"resetScroll",value:function(e,t){var i=this.scroll;i.riact=e,i.ri=e,i.y=0,i.yact=0,i.x=0,i.ci=0}},{key:"setFreeze",value:function(e,t){var i=this;this.changeData((function(){i.freeze=[e,t]})),this.resetScroll(e,t)}},{key:"freezeTotalWidth",value:function(){return this.cols.sumWidth(0,this.freeze[1])}},{key:"freezeTotalHeight",value:function(){return this.rows.sumHeight(0,this.freeze[0],this.exceptRowSet)}},{key:"setRowHeight",value:function(e,t){var i=this;this.changeData((function(){i.rows.setHeight(e,t,(function(e){i.updateRowsHeight.add(e)}))}))}},{key:"setAllRowsHeight",value:function(e){var t=this;this.changeData((function(){t.rows.height=e,t.rows.setBatchHeight(e,(function(e){t.updateRowsHeight.add(e)}))}))}},{key:"setRowsHeight",value:function(e,t,i){var n=this;this.changeData((function(){n.rows.setRangeHeight(e,t,i,(function(e){n.updateRowsHeight.add(e)}))}))}},{key:"setColWidth",value:function(e,t){var i=this;this.changeData((function(){i.cols.setWidth(e,t,(function(e){i.updateCols.add(e)}))}))}},{key:"setAllColsWidth",value:function(e){var t=this;this.changeData((function(){t.cols.width=e,t.cols.setBatchWidth(e,(function(e){t.updateCols.add(e)}))}))}},{key:"setColsWidth",value:function(e,t,i){var n=this;this.changeData((function(){n.cols.setRangeWidth(e,t,i,(function(e){n.updateCols.add(e)}))}))}},{key:"viewHeight",value:function(){var e=this.settings,t=e.view,i=e.showToolbar,n=e.showFileName,r=t.height();return r-=26,r-=41,i&&(r-=41,this.menubarStatus()&&(r-=n?80:40)),r}},{key:"viewWidth",value:function(){return this.settings.view.width()}},{key:"freezeViewRange",value:function(){var e=l()(this.freeze,2),t=e[0],i=e[1];return new S(0,0,t-1,i-1,this.freezeTotalWidth(),this.freezeTotalHeight())}},{key:"contentRange",value:function(){var e=this.rows,t=this.cols,i=e.len-1,n=t.len-1,r=e.sumHeight(0,i+1),a=t.sumWidth(0,n+1);return new S(0,0,i,n,a,r)}},{key:"exceptRowTotalHeight",value:function(e,t){var i=this.exceptRowSet,n=this.rows,r=Array.from(i),a=0;return r.forEach((function(i){if(i<e||i>t){var r=n.getHeight(i);a+=r}})),a}},{key:"viewRange",value:function(){var e=this.scroll,t=this.rows,i=this.cols,n=this.freeze,r=this.exceptRowSet,a=e.ri,o=e.ci;a<=0&&(a=l()(n,1)[0]);o<=0&&(o=l()(n,2)[1]);for(var s=[this.freezeTotalWidth(),0],h=s[0],c=s[1],u=[t.len,i.len],d=u[0],f=u[1],v=a;v<t.len&&(r.has(v)||(c+=t.getHeight(v),d=v),!(c>this.viewHeight()/this.zoomlevel));v+=1);for(var g=o;g<i.len&&(f=g,!((h+=i.getWidth(g))>this.viewWidth()/this.zoomlevel));g+=1);var p=new S(a,o,d,f,h,c);return this.viewRangeCache=p,p}},{key:"eachMergesInView",value:function(e,t){this.merges.filterIntersects(e).forEach((function(e){return t(e)}))}},{key:"hideRowsOrCols",value:function(){var e=this.rows,t=this.cols,i=this.selector,n=i.size(),r=l()(n,2),a=r[0],o=r[1],s=i.range,h=s.sri,c=s.sci,u=s.eri,d=s.eci;if(a===e.len)for(var f=c;f<=d;f+=1)t.setHide(f,!0);else if(o===t.len)for(var v=h;v<=u;v+=1)e.setHide(v,!0)}},{key:"unhideRowsOrCols",value:function(e,t){this["".concat(e,"s")].unhide(t)}},{key:"rowEach",value:function(e,t,i){for(var n=0,r=this.rows,a=this.exceptRowSet,o=(y()(a),0),s=e+o;s<=t;s+=1)if(a.has(s))o+=1;else{var l=r.getHeight(s);if(l>0){if(i(s,n,l),n+=l,this.zoomlevel<1&&n>this.viewHeight()/this.zoomlevel)break;if(this.zoomlevel>=1&&n>this.viewHeight())break}}}},{key:"colEach",value:function(e,t,i){for(var n=0,r=this.cols,a=e;a<=t;a+=1){var o=r.getWidth(a);if(o>0){if(i(a,n,o),n+=o,this.zoomlevel<1&&n>this.viewWidth()/this.zoomlevel)break;if(this.zoomlevel>=1&&n>this.viewWidth())break}}}},{key:"generatePicItems",value:function(e,t,i){var n=new Array;null!=e&&e.forEach((function(e){if(null==e.src){var t={};t.id="p_"+e.id+"_"+e.tick,void 0===e.refid?t.name=e.id+"."+e.tick:t.name=e.refid+"."+e.tick,t.it=e,n.push(t)}})),null!=t&&t.forEach((function(e){if(null==e.src){var t={};t.id="s_"+e.id+"_"+e.tick,void 0===e.refid?t.name=e.id+"."+e.tick:t.name=e.refid+"."+e.tick,t.it=e,n.push(t)}})),this.loadCount=n.length,this.fillImageOnebyOne(i,n)}},{key:"defaultStyle",value:function(){return this.settings.style}},{key:"addStyle",value:function(e){for(var t=this.styles,i=0;i<t.length;i+=1){var n=t[i];if(j.equals(n,e))return i}return t.push(e),t.length-1}},{key:"changeData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,n=void 0!==i?i:this.selector.range;if(this.history.add(this.getRangeData(n)),e(),this.change(this.getData()),t)for(var r=n.sri,a=(n.sci,n.eri),o=(n.eci,r);o<=a;o++)this.updateRows.add(o)}},{key:"setRangeData",value:function(e){this.rows.setRangeData(e.rows,e.range),this.merges.setData(e.merges)}},{key:"setData",value:function(e){var t=this;return Object.keys(e).forEach((function(i){if("merges"===i||"rows"===i||"cols"===i||"validations"===i)t[i].setData(e[i]);else if("freeze"===i){var n=x(e[i]),r=l()(n,2),a=r[0],o=r[1];t.freeze=[o,a]}else if("autofilter"===i)t.autoFilter.setData(e[i]);else if("lautofilters"===i){var s=e[i],h=t;s.forEach((function(e){var t=new I;t.setData(e),h.TableAutoFilters.push(t)}))}else void 0!==e[i]&&(t[i]=e[i])})),this}},{key:"getData",value:function(){var e=this.name,t=this.freeze,i=this.styles,n=this.merges,r=this.rows,a=this.cols,o=this.validations,s=this.autoFilter,l=this.TableAutoFilters,h={name:e,freeze:k(t[1],t[0]),styles:i,merges:n.getData(),rows:r.getData(),cols:a.getData(),validations:o.getData(),autofilter:s.getData(),TableAutoFilters:[]};return l.forEach((function(e){h.TableAutoFilters.push(e.getData())})),h}},{key:"getRangeData",value:function(e){var t=this.merges,i=this.rows;this.styles;return{rows:i.getRangeData(e),merges:t.getData(),range:e}}},{key:"getDataForSave",value:function(){var e=this.name,t=this.freeze,i=this.styles,n=this.merges,r=this.rows,a=this.cols,o=this.validations,s=this.autoFilter,l=this.settings,h=this.updateRows,c=this.updateRowsHeight,u=this.updateCols,d=this.canselectlocked,f=this.sprotected,v=this.canselectunlocked,g=this.showGrid,p=this.comments,m=this.images,y=this.shapes;return{name:e,freeze:k(t[1],t[0]),styles:i,comments:p,canselectlocked:d,sprotected:f,canselectunlocked:v,showGrid:g,merges:n.getDataForSave(),settings:l,cols:a.getDataForSave(u),rows:r.getDataForRowsSet(h),rowh:r.getHeightForSave(c),validations:o.getData(),autofilter:s.getData(),images:null!=m?m.filter((function(e){return e.changed})).map((function(e){var t={};return t.left=e.left,t.top=e.top,t.originAngle=e.originAngle,t.angle=e.angle,t.zorder=e.zorder,t.width=e.originWidth*e.scaleX,t.height=e.originHeight*e.scaleY,t.op=e.op,t.id=e.id,e.hyperlink&&(t.hyperlink=e.hyperlink),t})):[],shapes:null!=y?y.filter((function(e){return e.changed})).map((function(e){var t={};return t.left=e.left,t.top=e.top,t.originAngle=e.originAngle,t.angle=e.angle,t.zorder=e.zorder,t.width=e.originWidth*e.scaleX,t.height=e.originHeight*e.scaleY,t.op=e.op,t.id=e.id,t.v=e.v,t.srcid=e.strid,t.type=e.type,e.hyperlink&&(t.hyperlink=e.hyperlink),t})):[]}}}]),e}(),ze=i(13),Pe=i.n(ze);function Fe(e,t,i){e.addEventListener(t,i)}function Le(e,t,i){e.removeEventListener(t,i)}function je(e){e.xclickoutside&&(Le(window.document.body,"click",e.xclickoutside),delete e.xclickoutside)}function He(e,t){e.xclickoutside=function(i){2===i.detail||e.contains(i.target)||(t?t(e):(e.hide(),je(e)))},Fe(window.document.body,"click",e.xclickoutside)}function Ne(e,t,i){Fe(e,"mousemove",t),e.xEvtUp=function(n){Le(e,"mousemove",t),Le(e,"mouseup",e.xEvtUp),i(n)},Fe(e,"mouseup",e.xEvtUp)}var Ue=null;function Xe(){clearInterval(Ue),Ue=null}function We(e,t){(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];Ue||(Ue=setInterval((function(){e.apply(void 0,i)}),400))})((function(){e.selectMoveDown(),e.canvas.publishEvent("object:scroll",e.data)}))}function Ye(e,t){var i="object"===("undefined"==typeof window?"undefined":Pe()(window))?window.navigator.userAgent:"";if(/Android/i.test(i)){var n=window.innerHeight;window.addEventListener("resize",(function(i){var r=window.innerHeight;n>r?"true"===document.activeElement.contentEditable&&t(i):e(i)}))}else/iPhone|iPod|iPad/i.test(i)&&(window.addEventListener("focusin",(function(e){t(e)})),window.addEventListener("focusout",(function(t){e(t)})))}var Ve=function(){function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;c()(this,e),this.moving=!1,this.sheet=r,this.vertical=i,this.el=p("div","".concat(xe,"-resizer ").concat(i?"vertical":"horizontal")).children(this.unhideHoverEl=p("div","".concat(xe,"-resizer-hover")).on("dblclick.stop",(function(e){return t.mousedblclickHandler(e)})).css("position","absolute").hide(),this.hoverEl=p("div","".concat(xe,"-resizer-hover")).on("mousedown.stop",(function(e){return t.mousedownHandler(e)})),this.lineEl=p("div","".concat(xe,"-resizer-line")).hide()).hide(),this.cRect=null,this.IsRight2Left=!1,this.finishedFn=null,this.minDistance=n,this.maxRowHeight=408,this.maxColWidth=254,this.unhideFn=function(){}}return o()(e,[{key:"showUnhide",value:function(e){this.unhideIndex=e,this.unhideHoverEl.show()}},{key:"hideUnhide",value:function(){this.unhideHoverEl.hide()}},{key:"show",value:function(e,t,i){var n=this.moving,r=this.vertical,a=this.hoverEl,o=this.lineEl,s=this.el,l=this.unhideHoverEl;if(!n){this.IsRight2Left=i,this.cRect=e;var h=e.left,c=e.top,u=e.width,d=e.height,f=i?h-u:h+u-5;s.offset({left:r?f:h,top:r?c:c+d-5}).show(),a.offset({width:r?5:u,height:r?d:5}),o.offset({width:r?0:t.width,height:r?t.height:0}),l.offset({left:r?5-u:h,top:r?c:5-d,width:r?5:u,height:r?d:5})}}},{key:"hide",value:function(){this.el.offset({left:0,top:0}).hide(),this.hideUnhide()}},{key:"mousedblclickHandler",value:function(){this.unhideIndex&&this.unhideFn(this.unhideIndex)}},{key:"mousedownHandler",value:function(e){var t=this,i=e,n=this.el,r=this.lineEl,a=this.cRect,o=this.vertical,s=this.minDistance,l=this.IsRight2Left,h=this.maxRowHeight,c=this.maxColWidth,u=o?a.width:a.height;u=Math.round(u),r.show(),Ne(window,(function(e){t.moving=!0,null!==i&&1===e.buttons&&(o?(l?u-=e.movementX:u+=e.movementX,u>s&&u<c&&(l?n.css("left","".concat(a.left-u,"px")):n.css("left","".concat(a.left+u,"px")))):(u+=e.movementY)>s&&u<h&&n.css("top","".concat(a.top+u,"px")),i=e)}),(function(){i=null,r.hide(),t.moving=!1,t.hide(),t.finishedFn&&(u<s&&(u=s),o?u>c&&(u=c):u>h&&(u=h),t.finishedFn(a,u))}))}}]),e}(),Ge=function(){function e(t){var i=this;c()(this,e),this.vertical=t,this.iscbcalled=!1,this.moveFn=null,this.moveCallback=null,this.el=p("div","".concat(xe,"-scrollbar ").concat(t?"vertical":"horizontal")).child(this.contentEl=p("div","")).on("mousemove.stop",(function(){})).on("scroll.stop",(function(e){var t=e.target,n=t.scrollTop,r=t.scrollLeft;i.moveFn&&i.moveFn(i.vertical?n:r,e),i.moveCallback&&!i.iscbcalled&&(i.iscbcalled=!0,i.moveCallback(),i.moveCallback=null),i.iscbcalled=!1}))}return o()(e,[{key:"move",value:function(e,t){this.moveCallback=t;this.el.scroll(e);return this}},{key:"scroll",value:function(){return this.el.scroll()}},{key:"set",value:function(e,t){var i=e-1;if(t>i){var n=this.vertical?"height":"width";this.el.css(n,"".concat(i-50,"px")).show(),this.contentEl.css(this.vertical?"width":"height","1px").css(n,"".concat(t,"px"))}else this.el.hide();return this}}]),e}(),Ke=10,Ze=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c()(this,e),this.isreadonly=t,this.useHideInput=i,this.inputChange=function(){},this.cornerEl=p("div","".concat(xe,"-selector-corner")),this.areaEl=p("div","".concat(xe,"-selector-area")).child(this.cornerEl).hide(),window.mobileAndTabletCheck()&&this.cornerEl.child(p("div","".concat(xe,"-selector-corner-shape"))),this.clipboardEl=p("div","".concat(xe,"-selector-clipboard")).hide(),this.autofillEl=p("div","".concat(xe,"-selector-autofill")).hide(),this.el=p("div","".concat(xe,"-selector")).css("z-index","".concat(Ke)).children(this.areaEl,this.clipboardEl,this.autofillEl).hide(),this.isreadonly&&this.cornerEl.hide(),Ke+=1}return o()(e,[{key:"setOffset",value:function(e){return this.el.offset(e).show(),this}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"setAreaOffset",value:function(e){var t=e.left,i=e.top,n=e.width,r=e.height,a={width:this.isreadonly?n-2:n-.8,height:(this.isreadonly,r-2),left:t-.8,top:i-.8};this.areaEl.offset(a).show()}},{key:"setClipboardOffset",value:function(e){var t=e.left,i=e.top,n=e.width,r=e.height;this.clipboardEl.offset({left:t,top:i,width:n-2.4,height:r-2.4})}},{key:"showAutofill",value:function(e){var t=e.left,i=e.top,n=e.width,r=e.height;this.autofillEl.offset({width:n-3,height:r-3,left:t,top:i}).show()}},{key:"hideAutofill",value:function(){this.autofillEl.hide()}},{key:"showClipboard",value:function(){this.clipboardEl.show()}},{key:"hideClipboard",value:function(){this.clipboardEl.hide()}}]),e}();function Je(e){var t=this.data,i=e.left,n=e.top,r=e.width,a=e.height,o=e.scroll,s=e.l,l=e.t,h=t.freezeTotalWidth(),c=t.freezeTotalHeight(),u=t.displayRight2Left?0===h?i:i-(t.viewWidth()-t.cols.indexWidth-h):i-h,d=r;void 0!==o&&(t.displayRight2Left?0===h||(u+r<0?u=19999:u<0&&(d-=o.x)):h>s&&(u-=o.x));var f=n-c;return void 0!==o&&c>l&&(f-=o.y),{left:u,top:f,width:d,height:a}}function $e(e){var t=this.data,i=e.left,n=e.width,r=e.height,a=e.l,o=e.t,s=e.scroll,l=t.freezeTotalWidth(),h=t.displayRight2Left?0===l?i:i-(t.viewWidth()-t.cols.indexWidth-l):i-l,c=n;return void 0!==s&&(t.displayRight2Left?0===l||(h+n<0?h=19999:h<0&&(c-=s.x)):l>a&&(h-=s.x)),{left:h,top:o,width:c,height:r}}function Qe(e){var t=this.data,i=e.top,n=e.width,r=e.height,a=e.l,o=e.t,s=e.scroll,l=e.left,h=t.freezeTotalHeight(),c=i-h;return h>o&&(c-=s.y),t.displayRight2Left?{left:l,top:c,width:n,height:r}:{left:a,top:c,width:n,height:r}}function et(e){this.br.setAreaOffset(Je.call(this,e))}function tt(e){this.tl.setAreaOffset(e)}function it(e){this.t.setAreaOffset($e.call(this,e))}function nt(e){this.l.setAreaOffset(Qe.call(this,e))}function rt(e){this.l.setClipboardOffset(Qe.call(this,e))}function at(e){this.br.setClipboardOffset(Je.call(this,e))}function ot(e){this.tl.setClipboardOffset(e)}function st(e){this.t.setClipboardOffset($e.call(this,e))}function lt(e){et.call(this,e),tt.call(this,e),it.call(this,e),nt.call(this,e)}function ht(e){at.call(this,e),ot.call(this,e),st.call(this,e),rt.call(this,e)}var ct=function(){function e(t){var i=this;c()(this,e),this.inputChange=function(){},this.data=t;var n="edit"!==t.settings.mode;this.br=new Ze(n,!0),this.t=new Ze(n),this.l=new Ze(n),this.tl=new Ze(n),this.br.inputChange=function(e){i.inputChange(e)},this.br.el.show(),this.offset=null,this.areaOffset=null,this.indexes=null,this.range=null,this.arange=null,this.el=p("div","".concat(xe,"-selectors")).children(this.tl.el,this.t.el,this.l.el,this.br.el).hide(),this.lastri=-1,this.lastci=-1,Ke+=1,this.mobilestartOffset=null,this.mobilestartRange=null,this.objId=null}return o()(e,[{key:"getObj",value:function(){if(null===this.objId)return null;var e=this.objId.split("_");return"s"===e[0]?this.data.shapes.filter((function(t){return Number(t.id)===Number(e[1])}))[0]:this.data.images.filter((function(t){return Number(t.id)===Number(e[1])}))[0]}},{key:"setObjId",value:function(e){this.objId=e}},{key:"setMobilestartOffsetAndRange",value:function(){this.mobilestartOffset=this.data.getSelectedRect(),this.mobilestartRange=this.range}},{key:"resetData",value:function(e){this.data=e,this.range=e.selector.range,this.mobilestartOffset=null,this.mobilestartRange=null,this.objId=null,this.lastri=-1,this.lastci=-1,this.resetAreaOffset()}},{key:"hide",value:function(){this.el.hide()}},{key:"resetOffset",value:function(){var e=this.data,t=this.tl,i=this.t,n=this.l,r=this.br,a=e.freezeTotalHeight(),o=e.freezeTotalWidth();if(a>0||o>0)if(this.data.displayRight2Left){var s=e.viewWidth()-e.cols.indexWidth;t.setOffset({width:s-o,height:a}),i.setOffset({left:s-o,height:a}),n.setOffset({width:s-o,top:a}),r.setOffset({left:s-o,top:a})}else t.setOffset({width:o,height:a}),i.setOffset({left:o,height:a}),n.setOffset({width:o,top:a}),r.setOffset({left:o,top:a});else t.hide(),i.hide(),n.hide(),r.setOffset({left:0,top:0})}},{key:"resetAreaOffset",value:function(){var e=this.data.getSelectedRect(),t=this.data.getClipboardRect();lt.call(this,e),ht.call(this,t),this.resetOffset()}},{key:"resetBRTAreaOffset",value:function(){var e=this.data.getSelectedRect(),t=this.data.getClipboardRect();this.data.displayRight2Left?0===this.data.freeze[1]?et.call(this,e):(nt.call(this,e),tt.call(this,e),rt.call(this,t),ot.call(this,t)):(et.call(this,e),it.call(this,e),at.call(this,t),st.call(this,t)),this.resetOffset()}},{key:"resetBRLAreaOffset",value:function(){var e=this.data.getSelectedRect(),t=this.data.getClipboardRect();et.call(this,e),nt.call(this,e),at.call(this,t),rt.call(this,t),this.resetOffset()}},{key:"set",value:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.data,r=n.calSelectedRangeByStart(e,t),a=r.sri,o=r.sci;if(i){var s=e,l=t;e<0&&(s=0),t<0&&(l=0),n.selector.setIndexes(s,l),this.indexes=[s,l]}this.moveIndexes=[a,o],this.range=r,this.resetAreaOffset(),this.el.show()}},{key:"setEnd",value:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.data,r=this.lastri,a=this.lastci;if(i){if(e===r&&t===a)return;this.lastri=e,this.lastci=t}this.moveIndexes=[e,t],this.range=n.calSelectedRangeByEnd(e,t),lt.call(this,this.data.getSelectedRect())}},{key:"setEndMobile",value:function(e,t){lt.call(this,{width:this.mobilestartOffset.width+e,height:this.mobilestartOffset.height+t,left:this.mobilestartOffset.left,top:this.mobilestartOffset.top})}},{key:"getMobileMultipleSelect",value:function(e,t){var i=this.mobilestartRange,n=i.sri,r=i.sci,a=i.eri,o=i.eci,s=0,l=0,h=a,c=o;if(t>0){for(var u=a+1;u<=this.data.rows.len-1;u++)if((s+=this.data.rows.getHeight(u))>t){h=u-1;break}}else{t=-t;for(u=a;u>=n;u--)if((s+=this.data.rows.getHeight(u))>t){h=u-1;break}h===n-1&&(h=n)}if(e>0){for(var d=o+1;d<=this.data.cols.len-1;d++)if((l+=this.data.cols.getWidth(d))>e){c=d-1;break}}else{e=-e;for(d=o;d>=r;d--)if((l+=this.data.cols.getWidth(d))>e){c=d-1;break}c===r-1&&(c=r)}return[h,c]}},{key:"setMobileMultipleSelect",value:function(e,t){var i=this.getMobileMultipleSelect(e,t),n=l()(i,2),r=n[0],a=n[1];this.setEnd(r,a,!1)}},{key:"setMobile",value:function(e,t,i,n){var r=this.range,a=r.eri,o=r.eci;this.set(e,t),this.lastri=this.lastci=0,this.setEnd(a,o);var s=this.data.getSelectedRect();i=i>s.width+s.left?s.width+s.left:i,n=n>s.height+s.top?s.height+s.top:n,lt.call(this,{width:s.width+(s.left-i),height:s.height+(s.top-n),left:i,top:n}),this.el.show()}},{key:"reset",value:function(){var e=this.data.selector.range,t=e.eri,i=e.eci;this.setEnd(t,i)}},{key:"showAutofill",value:function(e,t){if(-1!==e||-1!==t){var i=this.range,n=i.sri,r=i.sci,a=i.eri,o=i.eci,s=e,l=t,h=n-e,c=a-e,u=o-t;if(r-t>0)this.arange=new S(n,l,a,r-1);else if(h>0)this.arange=new S(s,r,n-1,o);else if(u<0)this.arange=new S(n,o+1,a,l);else{if(!(c<0))return void(this.arange=null);this.arange=new S(a+1,r,s,o)}if(null!==this.arange){var d=this.data.getRect(this.arange);d.width+=2,d.height+=2;var f=this.br,v=this.l,g=this.t,p=this.tl;f.showAutofill(Je.call(this,d)),v.showAutofill(Qe.call(this,d)),g.showAutofill($e.call(this,d)),p.showAutofill(d)}}}},{key:"hideAutofill",value:function(){var e=this;["br","l","t","tl"].forEach((function(t){e[t].hideAutofill()}))}},{key:"showClipboard",value:function(){var e=this,t=this.data.getClipboardRect();ht.call(this,t),["br","l","t","tl"].forEach((function(t){e[t].showClipboard()}))}},{key:"hideClipboard",value:function(){var e=this;["br","l","t","tl"].forEach((function(t){e[t].hideClipboard()}))}}]),e}();function ut(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var dt=function(e){me()(i,e);var t=ut(i);function i(e){var n;return c()(this,i),(n=t.call(this,"dialog")).show(),n.setContent(e),n}return o()(i,[{key:"hide",value:function(){this.removeAttr("open")}},{key:"show",value:function(){this.attr("open","")}},{key:"setContent",value:function(e){var t=p("p");t.child(e),this.child(t)}}],[{key:"findDialog",value:function(e){for(var t=[],i=0;i<e.children().length;i++)"dialog"===e.children()[i].localName&&t.push(i);return t}}]),i}(g);function ft(e){e.preventDefault(),e.stopPropagation();var t=this.filterItems;t.length<=0||(this.itemIndex>=0&&(t[this.itemIndex].toggle(),t[this.itemIndex].el.hideHelp()),this.itemIndex-=1,this.itemIndex<0&&(this.itemIndex=t.length-1),t[this.itemIndex].toggle(),t[this.itemIndex].el.showHelp())}function vt(e){e.stopPropagation();var t=this.filterItems;t.length<=0||(this.itemIndex>=0&&(t[this.itemIndex].toggle(),t[this.itemIndex].el.hideHelp()),this.itemIndex+=1,this.itemIndex>t.length-1&&(this.itemIndex=0),t[this.itemIndex].toggle(),t[this.itemIndex].el.showHelp())}function gt(e){e.preventDefault();var t=this.filterItems;t.length<=0||(e.stopPropagation(),this.itemIndex<0&&(this.itemIndex=0),t[this.itemIndex].el.click(),this.hide())}function pt(e,t){t.focusing=!0;var i=e.keyCode;switch(e.ctrlKey&&e.stopPropagation(),i){case 37:e.stopPropagation();break;case 38:ft.call(this,e);break;case 39:e.stopPropagation();break;case 40:vt.call(this,e);break;case 13:case 9:gt.call(this,e);break;default:e.stopPropagation()}}var mt=function(){function e(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"200px";c()(this,e),this.filterItems=[],this.items=t,this.el=p("div","".concat(xe,"-suggest")).css("width",n).hide(),this.itemClick=i,this.itemIndex=-1}return o()(e,[{key:"setOffset",value:function(e){this.el.cssRemoveKeys("top","bottom").offset(e)}},{key:"hide",value:function(){var e=this.el;this.filterItems=[],this.itemIndex=-1,e.hide();for(var t=dt.findDialog(e.parent()),i=0;i<t.length;i++)e.parent().removeChild(e.parent().children()[t[i]]);je(this.el.parent())}},{key:"setItems",value:function(e){this.items=e,e.length>10?this.el.css("height","200px"):this.el.cssRemoveKeys("height")}},{key:"search",value:function(e){var t,i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=this.items;if(/^\s*$/.test(e)||(r=r.filter((function(t){return(t.key||t).startsWith(e.toUpperCase())}))),r=r.map((function(e){var t=e.title;t?"function"==typeof t&&(t=t()):t=e;var r=p("div","".concat(xe,"-item")).child("f"===n?e.key:t).on("click.stop",(function(t){window.issugestclick=!0,i.itemClick(e),i.hide()}));return e.label&&r.child(p("div","label").html(e.label)),"f"===n&&(r.el.help=new dt(e.title())),r.el.showHelp=function(){var e=i.el.el.offsetTop+i.filterItems[i.itemIndex].el.offsetTop,t=i.el.el.offsetLeft+i.filterItems[i.itemIndex].el.clientWidth+20,n={top:"".concat(e,"px"),left:"".concat(t,"px"),"line-height":"16px",padding:"5px 2px"},r=i.filterItems[i.itemIndex].el.help;r.css(n),i.el.parent().child(r),He(r,(function(e){for(var t=dt.findDialog(i.el.parent()),n=0;n<t.length;n++)i.el.parent().removeChild(i.el.parent().children()[t[n]]);je(e)}))},r.el.hideHelp=function(){i.el.parent().contains(i.filterItems[i.itemIndex].el.help.el)&&i.el.parent().removeChild(i.filterItems[i.itemIndex].el.help.el),je(i.filterItems[i.itemIndex].el.help)},r})),this.filterItems=r,!(r.length<=0)){var a=this.el;if((t=a.html("")).children.apply(t,y()(r)).show(),"f"===n){for(var o=dt.findDialog(a.parent()),s=0;s<o.length;s++)a.parent().removeChild(a.parent().children()[o[s]]);this.itemIndex=0,this.filterItems[this.itemIndex].el.hideHelp(),this.filterItems[this.itemIndex].toggle(),this.filterItems[this.itemIndex].el.showHelp(),He(a.parent(),(function(){i.hide(),i.filterItems.forEach((function(e){return e.hideHelp()}))}))}}}},{key:"bindInputEvents",value:function(e,t){var i=this;e.on("keydown",(function(e){return pt.call(i,e,t)}))}}]),e}();function yt(e,t){e.setMonth(e.getMonth()+t)}function bt(e,t){var i=new Date(e);return i.setDate(t-e.getDay()+1),i}var wt=function(){function e(t){var i,n=this;c()(this,e),this.value=t,this.cvalue=new Date(t),this.headerLeftEl=p("div","calendar-header-left"),this.bodyEl=p("tbody",""),this.buildAll(),this.el=p("div","x-spreadsheet-calendar").children(p("div","calendar-header").children(this.headerLeftEl,p("div","calendar-header-right").children(p("a","calendar-prev").on("click.stop",(function(){return n.prev()})).child(new Ce("chevron-left")),p("a","calendar-next").on("click.stop",(function(){return n.next()})).child(new Ce("chevron-right")))),p("table","calendar-body").children(p("thead","").child((i=p("tr","")).children.apply(i,y()(Q("calendar.weeks").map((function(e){return p("th","cell").child(e)}))))),this.bodyEl)),this.selectChange=function(){}}return o()(e,[{key:"setValue",value:function(e){this.value=e,this.cvalue=new Date(e),this.buildAll()}},{key:"prev",value:function(){yt(this.value,-1),this.buildAll()}},{key:"next",value:function(){yt(this.value,1),this.buildAll()}},{key:"buildAll",value:function(){this.buildHeaderLeft(),this.buildBody()}},{key:"buildHeaderLeft",value:function(){var e=this.value;this.headerLeftEl.html("".concat(Q("calendar.months")[e.getMonth()]," ").concat(e.getFullYear()))}},{key:"buildBody",value:function(){var e,t=this,i=this.value,n=this.cvalue,r=this.bodyEl,a=function(e,t,i){for(var n=new Date(e,t,1,23,59,59),r=[[],[],[],[],[],[]],a=0;a<6;a+=1)for(var o=0;o<7;o+=1){var s=bt(n,7*a+o),l=s.getMonth()!==t,h=s.getMonth()===i.getMonth()&&s.getDate()===i.getDate();r[a][o]={d:s,disabled:l,active:h}}return r}(i.getFullYear(),i.getMonth(),n).map((function(e){var i,n=e.map((function(e){var i="cell";return e.disabled&&(i+=" disabled"),e.active&&(i+=" active"),p("td","").child(p("div",i).on("click.stop",(function(){t.selectChange(e.d)})).child(e.d.getDate().toString()))}));return(i=p("tr","")).children.apply(i,y()(n))}));(e=r.html("")).children.apply(e,y()(a))}}]),e}(),qt=function(){function e(){c()(this,e),this.calendar=new wt(new Date),this.el=p("div","".concat(xe,"-datepicker")).child(this.calendar.el).hide()}return o()(e,[{key:"setValue",value:function(e){var t=this.calendar;return"string"==typeof e?/^\d{4}-\d{1,2}-\d{1,2}$/.test(e)&&t.setValue(new Date(e.replace(new RegExp("-","g"),"/"))):e instanceof Date&&t.setValue(e),this}},{key:"change",value:function(e){var t=this;this.calendar.selectChange=function(i){e(i),t.hide()}}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}]),e}();function xt(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return kt(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return kt(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Ct=function(){function e(){c()(this,e),this.el=p("div").hide(),this.el.css({position:"absolute",padding:"5px",color:"#000","border-radius":"1px","font-size":"12px","z-index":"201","line-height":"10px","min-width":"20px",background:"#fff",border:"1px solid",top:"30px",left:"0px","white-space":"nowrap"})}return o()(e,[{key:"tipContent",value:function(e,t){if(void 0===e)return"";var i=e.tipInfo.args.slice(),n=e.tipInfo.repeat,r=e.tipInfo.repeatstart,a=e.tipInfo.repeatcount,o=[];if(n){void 0===r&&(r=i.length-1,a=1);for(var s=r;s<r+a;s++)o.push(i[s].name);i.splice(r,a)}var l=[];o.length>0&&function(){for(var e=1;i.length<t+2;)o.forEach((function(t){var n=t+e;i.push({name:n,required:!1})})),e++;i.push({name:"...",required:!0})}();for(var h=0;h<i.length;h++){var c=i[h].name;h>0&&!i[h].required&&h>=r+a&&((h-r)%a==0&&(c="["+c),(h-r)%a==a-1&&(c+="]")),l.push(c)}return l[t]="<strong>".concat(l[t],"</strong>"),"".concat(e.key.toUpperCase(),"(").concat(l.join(", "),")")}},{key:"hide",value:function(){this.el.hide()}},{key:"show",value:function(e){if(-1!==e.startsWith("=")){var t,i="",n=[],r=[],a=xt(e.substring(1));try{for(a.s();!(t=a.n()).done;){var o=t.value;switch(o){case"(":n.unshift(i),r.unshift(0),i="";break;case")":n.shift(),r.shift();break;case",":r[0]++,i="";break;case"=":break;default:i+=o}}}catch(e){a.e(e)}finally{a.f()}var s=se.find((function(e){return void 0!==n[0]&&e.key===n[0].toUpperCase()})),l=this.tipContent(s,r[0]);this.el.html(l),""!==l&&this.el.show(),""===l?this.el.hide():this.el.show(),He(this.el)}}}]),e}(),St=i(15),Tt=i.n(St),_t=[{key:"Arial",title:"Arial"},{key:"Arial Black",title:"Arial Black"},{key:"Comic Sans",title:"Comic Sans"},{key:"Comic Sans MS",title:"Comic Sans MS"},{key:"Courier New",title:"Courier New"},{key:"Georgia",title:"Georgia"},{key:"Impact",title:"Impact"},{key:"Lucida Console",title:"Lucida Console"},{key:"Lucida Sans",title:"Lucida Sans"},{key:"Palatino",title:"Palatino"},{key:"Tahoma",title:"Tahoma"},{key:"Times New Roman",title:"Times New Roman"},{key:"Trebuchet",title:"Trebuchet"},{key:"Verdana",title:"Verdana"},{key:"Lato",title:"Lato"},{key:"Helvetica",title:"Helvetica"},{key:"Source Sans Pro",title:"Source Sans Pro"}],Ot=[{pt:7.5,px:10},{pt:8,px:11},{pt:9,px:12},{pt:10,px:13},{pt:10.5,px:14},{pt:11,px:15},{pt:12,px:16},{pt:14,px:18.7},{pt:15,px:20},{pt:16,px:21.3},{pt:18,px:24},{pt:22,px:29.3},{pt:24,px:32},{pt:26,px:34.7},{pt:36,px:48},{pt:42,px:56}];function Rt(e){for(var t=0;t<Ot.length;t+=1){var i=Ot[t];if(i.pt===e)return i.px}return 4*e/3}var Et=function(e){return e},At=function(e){if(/^(-?\d*.?\d*)$/.test(e)){var t=Number(e).toFixed(2).toString().split("\\."),i=v()(t),n=i[0],r=i.slice(1);return[n.toLocaleString()].concat(y()(r))}return e},Mt=[{key:"normal",title:ee("format.normal"),type:"string",render:Et},{key:"text",title:ee("format.text"),type:"string",render:Et},{key:"number",title:ee("format.number"),type:"number",label:"1,000.12",render:At},{key:"percent",title:ee("format.percent"),type:"number",label:"10.12%",render:function(e){return"".concat(e,"%")}},{key:"rmb",title:ee("format.rmb"),type:"number",label:"¥10.00",render:function(e){return"¥".concat(At(e))}},{key:"usd",title:ee("format.usd"),type:"number",label:"$10.00",render:function(e){return"$".concat(At(e))}},{key:"eur",title:ee("format.eur"),type:"number",label:"€10.00",render:function(e){return"€".concat(At(e))}},{key:"date",title:ee("format.date"),type:"date",label:"26/09/2008",render:Et},{key:"time",title:ee("format.time"),type:"date",label:"15:59:00",render:Et},{key:"datetime",title:ee("format.datetime"),type:"date",label:"26/09/2008 15:59:00",render:Et},{key:"duration",title:ee("format.duration"),type:"date",label:"24:01:00",render:Et}],It={};function Bt(){return window.devicePixelRatio||1}function Dt(){return.5}function zt(e){return parseInt(e*Bt(),10)}function Pt(e){var t=Math.ceil(e/Bt());return zt(t)===e?t:t-1}function Ft(e){var t=zt(e);return t>0?t-.5:.5}function Lt(e,t){var i=e.slice(1);return"rgba("+[parseInt("0x"+i.slice(0,2)),parseInt("0x"+i.slice(2,4)),parseInt("0x"+i.slice(4,6)),1-t].toString()+")"}function jt(e){var t=document.createElement("canvas").getContext("2d");return t.font="".concat(e.italic?"italic":""," ").concat(e.bold?"bold":""," ").concat(zt(e.size),"px ").concat(e.name),t.measureText(" ").width}Mt.forEach((function(e){It[e.key]=e}));var Ht=function(){function e(t,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;c()(this,e),this.x=t,this.y=i,this.width=n,this.height=r,this.padding=a,this.bgcolor="#ffffff",this.borderTop=null,this.borderRight=null,this.borderBottom=null,this.borderLeft=null,this.pbgcolor=null,this.pattern=null}return o()(e,[{key:"setBorders",value:function(e){var t=e.top,i=e.bottom,n=e.left,r=e.right;t&&(this.borderTop=t),r&&(this.borderRight=r),i&&(this.borderBottom=i),n&&(this.borderLeft=n)}},{key:"setPading",value:function(e,t,i,n){this.lpading=e,this.rpading=t,this.tpading=i,this.bpading=n}},{key:"setPattern",value:function(e){e&&(this.pattern=e)}},{key:"setTwoColor",value:function(e){e&&(this.twocolor=e)}},{key:"resize",value:function(e,t){this.width=e,this.height=t}},{key:"innerWidth",value:function(){return this.lpading>=0&&this.rpading>=0?this.width-(this.lpading+this.rpading)-2:this.width-2*this.padding-2}},{key:"innerHeight",value:function(){return this.tpading>=0&&this.bpading>=0?this.height-(this.tpading+this.bpading)-2:this.height-2*this.padding-2}},{key:"textx",value:function(e){var t=this.width,i=this.padding,n=this.lpading,r=this.rpading,a=this.x;return"left"===e?a+=n>=0?n:i:"center"===e?a+=t/2:"right"===e&&(a+=t-(r>=0?r:i)),a}},{key:"texty",value:function(e,t){var i=this.height,n=this.padding,r=this.tpading,a=this.bpading,o=this.y;return"top"===e?o+=r>=0?r:n:"middle"===e?o+=i/2-t/2:"bottom"===e&&(o+=i-(a>=0?a:n)-t),o}},{key:"topxys",value:function(){var e=this.x,t=this.y;return[[e,t],[e+this.width,t]]}},{key:"rightxys",value:function(){var e=this.x,t=this.y,i=this.width;return[[e+i,t],[e+i,t+this.height]]}},{key:"bottomxys",value:function(){var e=this.x,t=this.y,i=this.width,n=this.height;return[[e,t+n],[e+i,t+n]]}},{key:"leftxys",value:function(){var e=this.x,t=this.y;return[[e,t],[e,t+this.height]]}}]),e}();function Nt(e,t,i,n,r,a,o){var s={x:0,y:0};"underline"===e?s.y="bottom"===r?0:"top"===r?-(a+2):-a/2:"strike"===e&&("bottom"===r?s.y=a/2:"top"===r&&(s.y=-(a/2+2))),"center"===n?s.x=o/2:"right"===n&&(s.x=o),this.line([t-s.x,i-s.y],[t-s.x+o,i-s.y])}function Ut(e,t,i,n,r,a){for(var o=i;o<r;o+=a)e.moveTo(t,o),e.lineTo(n,o)}function Xt(e,t,i,n){var r=document.createElement("canvas");r.width=e,r.height=e;var a=r.getContext("2d");return function(e,t,i,n,r){var a,o,s;switch(t){case"BottomLeft":a=e.createLinearGradient(0,0,r,r),o=e.createLinearGradient(r,r,0,0),s=e.createLinearGradient(r,0,0,r);break;case"BottomRight":a=e.createLinearGradient(r,0,0,r),o=e.createLinearGradient(0,r,r,0),s=e.createLinearGradient(0,0,r,r);break;case"TopRight":a=e.createLinearGradient(r,r,0,0),o=e.createLinearGradient(0,0,r,r),s=e.createLinearGradient(0,r,r,0);break;case"TopLeft":a=e.createLinearGradient(0,r,r,0),o=e.createLinearGradient(r,0,0,r),s=e.createLinearGradient(r,r,0,0)}return a.addColorStop(0,n),a.addColorStop(.5,i),a.addColorStop(1,Lt(n,1)),o.addColorStop(0,n),o.addColorStop(.5,i),o.addColorStop(1,Lt(n,1)),s.addColorStop(0,n),s.addColorStop(1,Lt(n,1)),[a,o,s]}(a,t,i,n,e).forEach((function(e){a.fillStyle=e,a.fillRect(0,0,r.width,r.height)})),r}function Wt(e,t,i,n,r,a,o,s){var l,h,c=document.createElement("canvas");c.width=400,c.height=400;var u=c.getContext("2d");switch(s){case"topToBottom":l=e.createLinearGradient(t,i,t,r);break;case"bottomToTop":l=e.createLinearGradient(t,r,t,i);break;case"rightToLeft":l=e.createLinearGradient(n,i,t,i);break;case"leftToRight":l=e.createLinearGradient(t,i,n,i);break;case"leftTopToRightBottom":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(0,0,c.width,c.height)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"rightBottomToLeftTop":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(c.width,c.height,0,0)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"leftBottomToRightTop":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(0,c.height,c.width,0)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"rightTopToLeftBottom":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(c.width,0,0,c.height)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"horizontalMiddleToSides":(l=e.createLinearGradient(t,i+(r-i)/2,n,i+(r-i)/2)).addColorStop(0,a),l.addColorStop(.5,o),l.addColorStop(1,a);break;case"verticalMiddleToSides":(l=e.createLinearGradient(t+(n-t)/2,i,t+(n-t)/2,r)).addColorStop(0,a),l.addColorStop(.5,o),l.addColorStop(1,a);break;case"leftDiagonalMiddleToSides":u.clearRect(0,0,c.width,c.height);var d=u.createLinearGradient(0,c.height,c.width,0);d.addColorStop(0,a),d.addColorStop(.5,o),d.addColorStop(1,Lt(o,1)),u.fillStyle=d,u.fillRect(0,0,c.width,c.height);var f=u.createLinearGradient(c.width,0,0,c.height);return f.addColorStop(0,a),f.addColorStop(.5,o),f.addColorStop(1,Lt(o,1)),u.fillStyle=f,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"rightDiagonalMiddleToSides":u.clearRect(0,0,c.width,c.height);var v=u.createLinearGradient(0,0,c.width,c.height);v.addColorStop(0,a),v.addColorStop(.5,o),v.addColorStop(1,Lt(o,1)),u.fillStyle=v,u.fillRect(0,0,c.width,c.height);var g=u.createLinearGradient(c.width,c.height,0,0);return g.addColorStop(0,a),g.addColorStop(.5,o),g.addColorStop(1,Lt(o,1)),u.fillStyle=g,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"centerRadiate":u.clearRect(0,0,c.width,c.height);var p=Xt(200,"BottomRight",a,o),m=Xt(200,"BottomLeft",a,o),y=Xt(200,"TopRight",a,o),b=Xt(200,"TopLeft",a,o);return u.drawImage(p,0,0,200,200),u.drawImage(m,200,0,200,200),u.drawImage(y,0,200,200,200),u.drawImage(b,200,200,200,200),void e.drawImage(c,t,i,n-t,r-i);case"angleRadiateTopLeft":return h=Xt(400,"TopLeft",a,o),void e.drawImage(h,t,i,n-t,r-i);case"angleRadiateTopRight":return h=Xt(400,"TopRight",a,o),void e.drawImage(h,t,i,n-t,r-i);case"angleRadiateBottomLeft":return h=Xt(400,"BottomLeft",a,o),void e.drawImage(h,t,i,n-t,r-i);case"angleRadiateBottomRight":return h=Xt(400,"BottomRight",a,o),void e.drawImage(h,t,i,n-t,r-i);default:throw new Error("Invalid direction provided.")}["horizontalMiddleToSides","leftTopToRightBottom","verticalMiddleToSides","leftDiagonalMiddleToSides","rightDiagonalMiddleToSides"].includes(s)||(l.addColorStop(0,a),l.addColorStop(1,o)),e.fillStyle=l,e.fillRect(t,i,n-t,r-i)}function Yt(e,t,i,n,r,a){for(var o=t;o<n;o+=a)e.moveTo(o,i),e.lineTo(o,r)}function Vt(e,t,i,n,r,a){for(var o=t,s=o+a;s<=n;s+=a)e.moveTo(s,r),e.lineTo(o,i),o+=a}function Gt(e,t,i,n,r,a){for(var o=t,s=o+a;s<=n;s+=a)e.moveTo(o,r),e.lineTo(s,i),o+=a}function Kt(e,t,i,n,r,a){for(var o=i;o<r;o+=a)e.moveTo(t,o),e.lineTo(n,o)}var Zt=function(){function e(t,i,n){c()(this,e),this.width=i,this.height=n,this.ctx=t,this.ctx.scale(Bt(),Bt())}return o()(e,[{key:"setel",value:function(e){var t=this.width,i=this.height;this.el=e,this.ctx=e.getContext("2d"),this.resize(t,i),this.ctx.scale(Bt(),Bt())}},{key:"resize",value:function(e,t){this.width=e,this.height=t,this.el.style.width="".concat(e,"px"),this.el.style.height="".concat(t,"px"),this.el.width=zt(e),this.el.height=zt(t)}},{key:"clear",value:function(){var e=this.width,t=this.height;return this.ctx.clearRect(0,0,zt(e),zt(t)),this}},{key:"attr",value:function(e){return Object.assign(this.ctx,e),this}},{key:"save",value:function(){return this.ctx.save(),this.ctx.beginPath(),this}},{key:"restore",value:function(){return this.ctx.restore(),this}},{key:"beginPath",value:function(){return this.ctx.beginPath(),this}},{key:"translate",value:function(e,t){return this.ctx.translate(zt(e),zt(t)),this}},{key:"scale",value:function(e,t){return this.ctx.scale(e,t),this}},{key:"scaledpr",value:function(e){this.scale(e,e)}},{key:"clearRect",value:function(e,t,i,n){return this.ctx.clearRect(e,t,i,n),this}},{key:"fillRectWithColor",value:function(e,t,i,n,r,a,o){var s=this.ctx;this.save(),void 0!==e&&(s.fillStyle=o?Lt(e,o):e),this.fillRect(t,i,n,r),a&&(s.globalCompositeOperation="lighter",s.fillStyle="rgba(255, 255, 255, 0.8)",this.fillRect(t,i,n,r)),this.restore()}},{key:"fillRect",value:function(e,t,i,n){return this.ctx.fillRect(zt(e)-.5,zt(t)-.5,zt(i),zt(n)),this}},{key:"fillText",value:function(e,t,i){return this.ctx.fillText(e,zt(t),zt(i)),this}},{key:"richtext",value:function(e,t,i,n){var r=this,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5?arguments[5]:void 0,s=this.ctx,l=e.bigfontsize,h=e.rtxt,c=e.text,u=e.isactiveeffect,d=c.length,f=t.exttxtwidth?t.exttxtwidth+t.innerWidth():t.innerWidth();if(!(f<=0)){var v=t.textx(i);s.save(),s.beginPath();var g=this;this.attr({textAlign:"center"===i?"right":i,textBaseline:"bottom"});var p=[],m=[],y=-1,b=-1,w=null,q=h.length;if(a)for(var x=0;x<q;x++){for(var k=h[x],C=[],S=0,T=0,_=0,O=0;O<k.length;O++){var R=k[O];w&&(R=w),g.attr({font:"".concat(R.font.italic?"italic":""," ").concat(R.font.bold?"bold":""," ").concat(zt(R.font.size),"pt ").concat(R.font.name)});var E=s.measureText(R.txt).width;if(T=S,(S+=E)>zt(f)){for(var A={w:T,len:0,start:0},M=0;M<R.txt.length;)if(" "===R.txt[M]&&(y=M,b=O),A.w+=s.measureText(R.txt[M]).width+1,A.w>=zt(f)){A.len===A.start&&0===C.length&&(A.len+=1,M++);var I=!1;if(y>-1&&y!=A.len&&b!=O)for(var B=C.length-1;B>=0;B--){var D=C[B].txt.lastIndexOf(" ");if(D>0){(w={}).font=C[B].font,w.txt=C[B].txt.substr(D+1),C.splice(1+B,C.length-1-B);var z=C[B].txt.substr(0,D+1),P={};P.font=C[B].font,P.txt=z,C[B]=P,C[C.length-1].notorigindivide=!0,p.push(C);for(var F=0,L=0;L<=B;L++)F<C[L].font.size&&(F=C[L].font.size);m.push(F),A={w:0,len:0,start:0},S=0,C=[],_=0,O=b-1,y=-1,I=!0;break}}if(I)break;if(w=null,A.len>A.start){var j={};j.font=R.font,j.txt=R.txt.substring(A.start,A.len),j.notorigindivide=!0,C.push(j),R.font.size>_&&(_=R.font.size)}C[C.length-1].notorigindivide=!0,p.push(C),m.push(_),A={w:0,len:M,start:M},S=0,C=[],_=0}else A.len+=1,M++;if(A.len>A.start){var H={};H.font=R.font,H.txt=R.txt.substring(A.start,A.len),C.push(H),R.font.size>_&&(_=R.font.size),S=A.w;var N=H.txt.lastIndexOf(" ");N>=0&&(y=N,b=O)}}else{w=null,C.push(R),R.font.size>_&&(_=R.font.size);var U=R.txt.lastIndexOf(" ");U>=0&&(y=U,b=O)}}p.push(C),m.push(_)}else p=h,m=l;for(var X=m.length,W=0,Y=0;Y<X;Y++)W+=m[Y]+8;var V=[],G=[];if("center"===i||"right"===i)for(var K=0;K<X;K++){var Z=p[K],J=0;Z.forEach((function(e){g.attr({font:"".concat(e.font.italic?"italic":""," ").concat(e.font.bold?"bold":""," ").concat(zt(e.font.size),"pt ").concat(e.font.name),fillStyle:e.font.color,strokeStyle:e.font.color}),J+=Pt(s.measureText(e.txt).width)})),G.push(J)}if(0==o.length&&o.push(null),o.forEach((function(e){for(var a=t.texty(n,W),o=0,l=!1,h=!1,f=function(t){var n=p[t],f=0,y=v,b=y,w=y,q=m[t]+8,x=G.length>0?G[t]:0;"center"===i?b=y-x/2:"right"===i&&(b=y-x);var k=b;a+=q,n.forEach((function(t){g.attr({font:"".concat(t.font.italic?"italic":""," ").concat(t.font.bold?"bold":""," ").concat(zt(t.font.size),"pt ").concat(t.font.name),fillStyle:u?"#217346":t.font.color,strokeStyle:u?"#217346":t.font.color});var n=Pt(s.measureText(t.txt).width);if(w=k+n,null!==e){for(var v=e.start;"\n"===c[v++]&&v<e.end&&v<d;)e.start=v;if(o<=e.start&&e.start<o+t.txt.length){l=!0;var p=t.txt.substr(0,e.start-o),m=Pt(s.measureText(p).width);b=k+m}if(o<=e.end&&e.end<=o+t.txt.length){var C=t.txt.substr(0,e.end-o),S=Pt(s.measureText(C).width);w=k+S,l=!1,V.push({x:b,y:a-q,w:w-b,h:q})}}f+=n;var T=0;"center"===i?T=x/2-f:"right"===i&&(T=x-f),h||r.fillText(t.txt,y-T,a),"center"===i&&(T+=n/2),!h&&t.font.strike&&Nt.call(r,"strike",y-T,a,i,"bottom",t.font.size,n),!h&&t.font.underline&&Nt.call(r,"underline",y-T,a,i,"bottom",t.font.size,n),"left"===i&&(y+=n),k+=n,o+=t.txt.length})),null!==e&&l&&V.push({x:b,y:a-q,w:w-b,h:q});var C=n.length;C>0&&n[C-1].notorigindivide||o++},y=0;y<X;y++)f(y);h||(h=!0)})),s.restore(),null!=o[0]){s.save(),this.attr({fillStyle:o[0].color});for(var $=0,Q=V.length;$<Q;$++){var ee=V[$];this.fillRect(ee.x,ee.y,ee.w,ee.h)}s.restore()}return this}}},{key:"text",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4?arguments[4]:void 0,o=this.ctx,s=n.align,l=n.valign,h=n.font,c=n.color,u=n.strike,d=n.underline,f=t.textx(s);o.save(),o.beginPath(),this.attr({textAlign:s,textBaseline:l,font:"".concat(h.italic?"italic":""," ").concat(h.bold?"bold":""," ").concat(zt(h.size),"px ").concat(h.name),fillStyle:c,strokeStyle:c});var v="".concat(e).split("\n"),g=t.exttxtwidth?t.exttxtwidth+t.innerWidth():t.innerWidth(),p=[],m=-1;v.forEach((function(e){var t=o.measureText(e).width;if(r&&t>zt(g)){for(var i={w:0,len:0,start:0},n=0;n<e.length;n+=1)" "===e[n]&&(m=n),i.len+=1,i.w+=o.measureText(e[n]).width+1,i.w>=zt(g)&&(m>i.start?(p.push(e.substring(i.start,m)),i={w:0,len:0,start:m+1},n=m):(p.push(e.substr(i.start,i.len)),i={w:0,len:0,start:n+1}),m=-1);i.len>0&&(p.push(e.substr(i.start,i.len)),m=-1)}else p.push(e)}));var y=(p.length-1)*(h.size+2),b=!1,w=[];if(0==a.length&&a.push(null),a.forEach((function(e){var n=t.texty(l,y),r=0,a=!1;p.forEach((function(t){var c=o.measureText(t).width,v=f,g=f+Pt(c);if(null!==e){if(r<=e.start&&e.start<r+t.length){a=!0;var p=t.substr(0,e.start-r),m=Pt(o.measureText(p).width);v+=m,Pt(c)-m}if(r<e.end&&e.end<r+t.length){var y=t.substr(0,e.end-r),q=Pt(o.measureText(y).width);g=f+q}if(r>e.end&&(a=!1),a){var x={x:0,y:0};x.y="bottom"===l?h.size+2:"top"===l?2:(h.size+2)/2,"center"===s?x.x=Pt(c/2):"right"===s&&(x.x=Pt(c)),w.push({x:v-x.x,y:n-x.y,w:g-v,h:h.size+2})}}b||(i.fillText(t,f,n),u&&Nt.call(i,"strike",f,n,s,l,h.size,Pt(c)),d&&Nt.call(i,"underline",f,n,s,l,h.size,Pt(c))),n+=h.size+2,r+=t.length+1})),b||(b=!0)})),o.restore(),null!==a[0]){o.save(),this.attr({fillStyle:a[0].color});for(var q=0,x=w.length;q<x;q++){var k=w[q];this.fillRect(k.x,k.y,k.w,k.h)}o.restore()}return this}},{key:"border",value:function(e,t){var i=this.ctx;return i.lineWidth=1,i.strokeStyle=t,"medium"===e?i.lineWidth=zt(2)-.5:"thick"===e?i.lineWidth=zt(3):"dashed"===e?i.setLineDash([zt(3),zt(2)]):"dotted"===e?i.setLineDash([zt(1),zt(1)]):"double"===e&&i.setLineDash([zt(2),0]),this}},{key:"line",value:function(){var e=this.ctx;if(arguments.length>1){e.beginPath();var t=arguments.length<=0?void 0:arguments[0],i=l()(t,2),n=i[0],r=i[1];e.moveTo(Ft(n),Ft(r));for(var a=1;a<arguments.length;a+=1){var o=a<0||arguments.length<=a?void 0:arguments[a],s=l()(o,2),h=s[0],c=s[1];e.lineTo(Ft(h),Ft(c))}e.stroke()}return this}},{key:"strokeBorders",value:function(e){var t=this.ctx;t.save();var i=e.borderTop,n=e.borderRight,r=e.borderBottom,a=e.borderLeft;i&&(this.border.apply(this,y()(i)),this.line.apply(this,y()(e.topxys()))),n&&(this.border.apply(this,y()(n)),this.line.apply(this,y()(e.rightxys()))),r&&(this.border.apply(this,y()(r)),this.line.apply(this,y()(e.bottomxys()))),a&&(this.border.apply(this,y()(a)),this.line.apply(this,y()(e.leftxys()))),t.restore()}},{key:"strokePattern",value:function(e){var t=this.ctx;t.save();var i=e.x,n=e.y,r=e.width,a=e.height,o=e.pattern;if(o){t.beginPath();var s=Ft(i),l=s+zt(r),h=Ft(n),c=h+zt(a);switch(o){case"None":case"Solid":break;case"HorizontalStripe":t.lineWidth=2,t.setLineDash([]),Ut(t,s,h,l,c,4);break;case"ThinHorizontalStripe":t.lineWidth=1,t.setLineDash([]),Ut(t,s,h,l,c,4);break;case"Gray75":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,3);break;case"VerticalStripe":t.lineWidth=2,t.setLineDash([]),Yt(t,s,h,l,c,4);break;case"ThinVerticalStripe":t.lineWidth=1,t.setLineDash([]),Yt(t,s,h,l,c,4);break;case"Gray50":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,3.5);break;case"ReverseDiagonalStripe":t.lineWidth=2,t.setLineDash([]),Vt(t,s,h,l,c,4);break;case"ThinReverseDiagonalStripe":t.lineWidth=1,t.setLineDash([]),Vt(t,s,h,l,c,4);break;case"Gray25":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,4);break;case"DiagonalStripe":t.lineWidth=2,t.setLineDash([]),Gt(t,s,h,l,c,4);break;case"ThinDiagonalStripe":t.lineWidth=1,t.setLineDash([]),Gt(t,s,h,l,c,4);break;case"Gray12":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,4.5);break;case"DiagonalCrosshatch":t.lineWidth=1.5,t.setLineDash([]),Vt(t,s,h,l,c,4),Gt(t,s,h,l,c,4);break;case"ThinHorizontalCrosshatch":t.lineWidth=1,t.setLineDash([]),Ut(t,s,h,l,c,4),Yt(t,s,h,l,c,4);break;case"Gray6":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,5);break;case"ThickDiagonalCrosshatch":t.lineWidth=2,t.setLineDash([]),Vt(t,s,h,l,c,4),Gt(t,s,h,l,c,4);break;case"ThinDiagonalCrosshatch":t.lineWidth=1,t.setLineDash([]),Vt(t,s,h,l,c,4),Gt(t,s,h,l,c,4)}t.closePath(),t.stroke()}t.restore()}},{key:"strokeTwoColor",value:function(e){var t=this.ctx;t.save();var i=e.x,n=e.y,r=e.width,a=e.height,o=e.twocolor;if(o){var s=o.c1,l=o.c2,h=o.type,c=o.v,u=Ft(i),d=u+zt(r),f=Ft(n),v=f+zt(a);switch(h){case 0:Wt(t,u,f,d,v,s,l,{1:"rightTopToLeftBottom",2:"leftBottomToRightTop",3:"leftDiagonalMiddleToSides"}[c]);break;case 1:Wt(t,u,f,d,v,s,l,{1:"leftTopToRightBottom",2:"rightBottomToLeftTop",3:"rightDiagonalMiddleToSides"}[c]);break;case 2:Wt(t,u,f,d,v,s,l,"centerRadiate",e);break;case 3:Wt(t,u,f,d,v,s,l,{1:"angleRadiateTopLeft",2:"angleRadiateTopRight",3:"angleRadiateBottomLeft",4:"angleRadiateBottomRight"}[c]);break;case 4:Wt(t,u,f,d,v,s,l,{1:"topToBottom",2:"bottomToTop",3:"verticalMiddleToSides"}[c]);break;case 5:Wt(t,u,f,d,v,s,l,{1:"leftToRight",2:"rightToLeft",3:"horizontalMiddleToSides"}[c])}}t.restore()}},{key:"dropdown",value:function(e){var t=this.ctx,i=e.x,n=e.y,r=i+e.width-15,a=n+e.height-15;t.save(),t.beginPath(),t.moveTo(zt(r),zt(a)),t.lineTo(zt(r+8),zt(a)),t.lineTo(zt(r+4),zt(a+6)),t.closePath(),t.fillStyle="rgba(0, 0, 0, .45)",t.fill(),t.restore()}},{key:"error",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=n+a-1;i.save(),i.beginPath(),t?(i.moveTo(zt(o-a+8),zt(r-1)),i.lineTo(zt(o-a),zt(r-1)),i.lineTo(zt(o-a),zt(r+8))):(i.moveTo(zt(o-8),zt(r-1)),i.lineTo(zt(o),zt(r-1)),i.lineTo(zt(o),zt(r+8))),i.closePath(),i.fillStyle="rgba(255, 0, 0, .65)",i.fill(),i.restore()}},{key:"frozen",value:function(e){var t=this.ctx,i=e.x,n=e.y,r=i+e.width-1;t.save(),t.beginPath(),t.moveTo(zt(r-8),zt(n-1)),t.lineTo(zt(r),zt(n-1)),t.lineTo(zt(r),zt(n+8)),t.closePath(),t.fillStyle="rgba(0, 255, 0, .85)",t.fill(),t.restore()}},{key:"line2",value:function(){var e=this.ctx;if(arguments.length>1){e.beginPath();var t=arguments.length<=0?void 0:arguments[0],i=l()(t,2),n=i[0],r=i[1];e.moveTo(n,r);for(var a=1;a<arguments.length;a+=1){var o=a<0||arguments.length<=a?void 0:arguments[a],s=l()(o,2),h=s[0],c=s[1];e.lineTo(h,c)}e.stroke()}return this}},{key:"rect3",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=e.height,s=t.bgColor,l=t.isactiveeffect,h=t.tp,c=t.borderColor;s&&this.fillRectWithColor(s,n,r,a,o,l,h),i.save(),i.beginPath(),i.rect(zt(n)-.5,zt(r)-.5,zt(a),zt(o)),i.closePath(),i.strokeStyle=c||"black",i.stroke(),i.restore()}},{key:"rect2",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=e.height,s=e.bgcolor,l=e.pbgcolor,h=e.exttxtwidthR,c=e.exttxtwidthL;if(i.save(),i.beginPath(),i.fillStyle=void 0!==s?s:void 0!==l?l:"#ffffff",i.rect(n+1,r+1,a-2,o-2),i.clip(),i.fill(),void 0!==h||void 0!==c){var u=void 0===h?0:h,d=void 0===c?0:c;i.restore(),i.save(),i.rect(n+1-d,r+1,a+u+d-2,o-2),i.clip(),t(),i.restore()}else t(),i.restore()}},{key:"rect",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=e.height,s=e.bgcolor,l=e.pbgcolor,h=e.exttxtwidthR,c=e.exttxtwidthL,u=e.needclear,d=e.clipleft,f=void 0===d?0:d,v=e.cliptop,g=void 0===v?0:v,p=e.fixwidth,m=void 0===p?0:p,y=e.fixheight,b=void 0===y?0:y;if(u){var w=m?zt(m):zt(a+n)-zt(n+f),q=b?zt(b):zt(o+r)-zt(r+g);i.clearRect(zt(n+1+f),zt(r+1+g),w-2,q-3)}var x=null;if(void 0!==s?x=s:void 0!==l&&(x=l),null!=x){var k=m?zt(m):zt(a+n)-zt(n+f),C=b?zt(b):zt(o+r)-zt(r+g);i.save(),i.beginPath(),i.fillStyle=x,i.rect(zt(n+f),zt(r+g),k,C),i.clip(),i.fill(),i.restore()}var S=void 0===h?0:h,T=void 0===c?0:c;i.save(),i.rect(zt(n+1-T+f),zt(r+1+g),zt(m||a+S+T-2),zt(b||o-2)),i.clip(),t(),i.restore()}}]),e}();function Jt(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return $t(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return $t(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function $t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Qt={fillStyle:"#f4f5f8"},ei={fillStyle:"#fff",lineWidth:Dt,strokeStyle:"#e6e6e6"};function ti(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=e.cellRect(t,i),o=a.left,s=a.top,l=a.width,h=a.height;return new Ht(o+n,s+r,l,h,3)}function ii(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=e.cellRect(t.sri,t.sci),r=n.left,a=n.top,o=e.cols.sumWidth(t.sci,t.eci+1),s=e.rows.sumHeight(t.sri,t.eri+1);return new Ht(r,a+i,o,s,3)}function ni(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=ii(e,t,i);return n.width+=3,n.height+=3,n}function ri(e,t,i,n,r,a,o){var s=e.cols,l=e.viewRangeCache;if(null==e.merges.getFirstIncludes(i,r)&&!o.textwrap&&a.text&&a.text.length>0){var h=0,c=0;if(void 0===o.align||"center"===o.align||"left"===o.align)for(var u=r+1;u<=l.eci&&e.canExtend(i,u);u++)h+=s.getWidth(u);if(o.align&&("center"===o.align||"right"===o.align))for(var d=r-1;d>=l.sci&&e.canExtend(i,d);d--)c+=s.getWidth(d);h>0&&(t.exttxtwidthR=h),c>0&&(t.exttxtwidthL=c)}}function ai(e){if(void 0!==e.rtxt&&void 0===e.bigfontsize){for(var t=[],i=[],n=[],r=0,a=e.rtxt.length,o=0;o<a;o++){var s=e.rtxt[o].txt.split("\n"),l=s.length,h=e.rtxt[o].font.size;if(1===l)n.push(e.rtxt[o]),h>r&&(r=h);else{if(0!==s[0].length){var c={};c.font=e.rtxt[o].font,c.txt=s[0],n.push(c),h>r&&(r=h)}i.push(r),t.push(n),n=[],r=0;for(var u=1;u<l-1;u++){var d={};d.font=e.rtxt[o].font,d.txt=s[u],n.push(d),t.push(n),i.push(h),n=[],r=0}if(0!==s[l-1].length){var f={};f.font=e.rtxt[o].font,f.txt=s[l-1],n.push(f),r=h}}}n.length>0&&(i.push(r),t.push(n)),e.rtxt=t,e.bigfontsize=i}}function oi(e,t,i,n,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8?arguments[8]:void 0,h=i.sortedRowMap,c=i.rows,u=i.cols,d=i.viewRangeCache,f=i.indentPx,v=i.freeze;if(!c.isHide(n)&&!u.isHide(r)){var g=n;h.has(n)&&(g=h.get(n));var p=i.getCell(g,r);if(null!==p&&(!p.merge||s)){ai(p);var m=!1;"editable"in p&&!1===p.editable&&(m=!0);var y=i.getCellStyleOrDefault(g,r),b=(i.getCellStyleOrDefault(g,r+1),ti(i,n,r,a,o));b.bgcolor=y.bgcolor,s&&void 0===y.bgcolor&&i.bgcolor&&(b.bgcolor=i.bgcolor),s&&d.sri>n&&("lb"==e||"rb"==e)&&(b.cliptop=i.rows.sumHeight(n,d.sri)),d.sci>r&&("ru"==e||"rb"==e)&&(b.clipleft=i.cols.sumWidth(r,d.sci)),r<v[1]&&("lu"==e||"lb"==e)&&(b.fixwidth=i.cols.sumWidth(r,v[1])),s&&n<v[0]&&("lu"==e||"ru"==e)&&(b.fixheight=i.rows.sumHeight(n,v[0])),b.pbgcolor=y.pbgcolor,s&&l&&(delete b.bgcolor,delete b.pbgcolor);var w,q=b;if(y.hasbgcolor&&(void 0===y.border||y.border.right),ri(i,b,g,0,r,p,y),!s&&b.fixwidth)b.width+(null!==(w=b.exttxtwidthR)&&void 0!==w?w:0)<b.fixwidth&&delete b.fixwidth;y.indent>0?"left"===y.align?b.setPading(y.indent*f,1):"right"===y.align&&b.setPading(1,y.indent*f):b.setPading(1,1),s&&!l&&(q.needclear=!0);var x=i.getHighlightCellTxt(n,r);t.rect(q,(function(){if(!s||l){void 0!==y.twocolor&&(b.setTwoColor(y.twocolor),t.strokeTwoColor(b));var e="";e=i.settings.evalPaused||"server"===i.settings.updateMode?p.text||"":oe(p.text||"",he,(function(e,t){return i.getCellTextOrDefault(t,e)})),y.format&&"server"!==i.settings.updateMode&&(e=It[y.format].render(e));var n=Object.assign({},y.font);n.size=Rt(n.size),void 0===p.rtxt?""!==e&&t.text(e,b,{align:y.align,valign:y.valign,font:n,color:y.color,strike:y.strike,underline:y.underline},y.textwrap,x):t.richtext(p,b,y.align,y.valign,y.textwrap,x),i.validations.getError(g,r)&&t.error(b),m&&t.frozen(b),void 0!==y.pattern&&(b.setPattern(y.pattern),t.strokePattern(b))}})),void 0!==y.border&&(b.setBorders(y.border),t.strokeBorders(b))}}}function si(e){var t=this.data,i=this.draw;if(e){var n=t.autoFilter,r=t.TableAutoFilters;li(t,e,i,n),r.forEach((function(n){li(t,e,i,n)}))}}function li(e,t,i,n){if(n.active()){var r=n.hrange();t.intersects(r)&&r.each((function(t,n){var r=ti(e,t,n);i.dropdown(r)}))}}function hi(e,t,i,n,r){var a=this.draw,o=this.data;a.save(),o.displayRight2Left?a.translate(-t,i).translate(n,r):a.translate(t,i).translate(n,r),o.comments.forEach((function(t){if(e.sri<=t.row&&e.eri>=t.row&&e.sci<=t.col&&e.eci>=t.col){var i=ti(o,t.row,t.col);a.error(i,o.displayRight2Left)}})),a.restore()}function ci(e,t,i,n,r){var a=this.draw,o=this.data;a.save(),o.displayRight2Left?a.translate(-t,i).translate(n,r):a.translate(t,i).translate(n,r);var s=o.exceptRowSet,l=new Set;a.save(),a.translate(0,-0),o.eachMergesInView(e,(function(t){var i=t.sri,n=t.sci,r=t.eri;if(s.has(i)){if(!l.has(i)){l.add(i);var h=o.rows.sumHeight(i,r+1);a.translate(0,-h)}}else oi(e.loc,a,o,i,n,e.left?-e.left:0,e.top?-e.top:0,!0,!1)})),a.restore(),a.save(),a.translate(0,-0),e.emptyFirst((function(t,i){oi(e.loc,a,o,t,i,e.left?-e.left:0,e.top?-e.top:0)}),(function(e){return function(e){return!s.has(e)}(e)}),(function(e,t){return o.canExtend(e,t)})),a.restore();var h=new Set;a.save(),a.translate(0,-0),o.eachMergesInView(e,(function(t){var i=t.sri,n=t.sci,r=t.eri;if(s.has(i)){if(!h.has(i)){h.add(i);var l=o.rows.sumHeight(i,r+1);a.translate(0,-l)}}else oi(e.loc,a,o,i,n,e.left?-e.left:0,e.top?-e.top:0,!0,!0)})),a.restore(),si.call(this,e),a.restore()}function ui(e,t,i,n){var r=this.draw;r.save(),r.attr({fillStyle:"rgba(75, 137, 255, 0.08)"}).fillRect(e,t,i,n),r.restore()}function di(e,t,i,n,r,a){var o=this,s=this.draw,l=this.data,h=t.h,c=t.w,u=a+n,d=r+i,f=l.displayRight2Left?l.viewWidth():0,v=l.displayRight2Left?f-i:0;if(s.save(),s.attr(Qt),"all"!==e&&"left"!==e||s.fillRect(v,u,i,h),"all"===e||"top"===e)if(l.displayRight2Left){var g=t.lineStartx?t.lineStartx:0;s.fillRect(g,0,c,n)}else s.fillRect(d,0,c,n);var p=l.selector.range,m=p.sri,y=p.sci,b=p.eri,q=p.eci;if(s.attr({textAlign:"center",textBaseline:"middle",font:"500 ".concat(zt(12),"px Source Sans Pro"),fillStyle:"#585757",lineWidth:.5,strokeStyle:"#e6e6e6"}),"all"===e||"left"===e){var x=v;l.rowEach(t.sri,t.eri,(function(e,t,n){var r=u+t,a=e;s.line([x,r],[x+i,r]),m<=a&&a<b+1&&ui.call(o,x,r,i,n),s.fillText(a+1,x+i/2,r+n/2),e>0&&l.rows.isHide(e-1)&&(s.save(),s.attr({strokeStyle:"#c6c6c6"}),s.line([x+5,r+5],[x+i-5,r+5]),s.restore())})),s.line([x,h+u],[x+i,h+u]),s.line([x+i,u],[x+i,h+u])}"all"!==e&&"top"!==e||(l.colEach(t.sci,t.eci,(function(e,t,i){var r=l.displayRight2Left?f-(d+t+i):d+t,a=e;s.line([r,0],[r,n]),y<=a&&a<q+1&&ui.call(o,r,0,i,n),s.fillText(w(a),r+i/2,n/2),e>0&&l.cols.isHide(e-1)&&(s.save(),s.attr({strokeStyle:"#c6c6c6"}),s.line([r+5,5],[r+5,n-5]),s.restore())})),s.line([c+d,0],[c+d,n]),s.line([0,n],[c+d,n])),s.restore()}function fi(e,t){var i=this.draw;i.save(),i.attr({fillStyle:"#f4f5f8"}).fillRect(0,0,e,t),i.restore()}function vi(e,t,i,n,r){var a=this.draw,o=this.data,s=(o.settings,o.displayRight2Left),h=o.scroll,c=e.sri,u=e.sci,d=e.eri,f=e.eci,v=e.w,g=e.h,p=e.clearStartx,m=void 0===p?0:p,y=e.lineStartx,b=void 0===y?0:y;if(a.save(),s?a.attr(ei).translate(-(t+n),i+r):a.attr(ei).translate(t+n,i+r),a.clearRect(m,0,v,g),o.bgcolor&&a.fillRectWithColor(o.bgcolor,m,0,v,g),o.showGrid&&!o.bgcolor){if(s){Tt()("w");var w=l()(o.freeze,2),q=(w[0],w[1]);q>0&&u>=q&&(h.x,Tt()("w")),0===q&&0==b&&(o.viewWidth(),Tt()("w")),o.rowEach(c,d,(function(e,t,i){e!==c&&a.line([b,t],[b+v,t]),e===d&&a.line([b,t+i],[b+v,t+i])}))}else o.rowEach(c,d,(function(e,t,i){e!==c&&a.line([0,t],[v,t]),e===d&&a.line([0,t+i],[v,t+i])}));if(s){var x=o.viewWidth();o.colEach(u,f,(function(e,t,i){a.line([x-t-i,0],[x-t-i,g]),e===u&&a.line([x-t,0],[x-t,g])}))}else o.colEach(u,f,(function(e,t,i){e!==u&&a.line([t,0],[t,g]),e===f&&a.line([t+i,0],[t+i,g])}));a.restore()}else a.restore()}function gi(e,t,i,n){var r=this.draw,a=this.data,o=a.viewWidth(),s=(o-e)/this.zoomlevel,l=(a.viewHeight()-t)/this.zoomlevel;a.displayRight2Left?r.save().translate(-e,t).attr({strokeStyle:"rgba(75, 137, 255, .6)"}):r.save().translate(e,t).attr({strokeStyle:"rgba(75, 137, 255, .6)"}),a.displayRight2Left?(r.line([0,n],[o,n]),r.line([o-i,0],[o-i,l])):(r.line([0,n],[s,n]),r.line([i,0],[i,l])),r.restore()}var pi=function(){function e(t,i){c()(this,e),this.el=t,this.draw=new Zt(t.getContext("2d"),i.viewWidth(),i.viewHeight()),this.draw.setel(t),this.data=i,this.zoomlevel=1}return o()(e,[{key:"resetData",value:function(e){this.data=e,this.render()}},{key:"clearSelectRender",value:function(){var e=this.data,t=this.draw,i=this.zoomlevel,n=e.selector,r=n.ri,a=n.ci,o=r;e.sortedRowMap.has(r)&&(o=e.sortedRowMap.get(r));var s=e.getCell(o,a);if(null!==s){var l=e.getCellStyleOrDefault(o,a),h=ti(e,r,a,0,0);ri(e,h,o,0,a,s,l);var c=e.cols.indexWidth,u=e.settings.row.height,d=e.scroll,f=d.x,v=d.y;t.save(),t.scaledpr(i),e.displayRight2Left?t.attr(ei).translate(-(c+0),u+0):t.attr(ei).translate(c+0,u+0);var g=void 0===h.exttxtwidthR?0:h.exttxtwidthR,p=void 0===h.exttxtwidthL?0:h.exttxtwidthL;t.fillRect(h.x+1-p-f,h.y+1-v,h.width+g+p-1,h.height-1),t.restore()}}},{key:"render",value:function(){var e=this.data,t=this.zoomlevel;if(!e.isupdating){var i=e.rows,n=e.cols;if(0!==Object.keys(i._).length){var r=n.indexWidth,a=e.settings.row.height;this.draw.resize(e.viewWidth(),e.viewHeight()),this.draw.scaledpr(t),this.clear();var o=e.viewRange(),s=e.freezeTotalWidth(),h=e.freezeTotalHeight(),c=e.scroll,u=c.x,d=c.y;o.loc="rb",vi.call(this,o,r,a,s,h),ci.call(this,o,r,a,-u,-d),hi.call(this,o,r,a,-u,-d),di.call(this,"all",o,r,a,s,h),fi.call(this,r,a);var f=l()(e.freeze,2),v=f[0],g=f[1],p=null;if(v>0||g>0){v>0&&((p=o.clone()).sri=0,p.eri=v-1,p.h=h,p.loc="ru",vi.call(this,p,r,a,s,0),ci.call(this,p,r,a,-u,0),hi.call(this,p,r,a,-u,0),di.call(this,"top",p,r,a,s,0),this.highlightRanges(p,r,a,u,0)),g>0&&((p=o.clone()).sci=0,p.eci=g-1,p.w=s,p.clearStartx=e.displayRight2Left?this.draw.ctx.canvas.width-s:0,p.lineStartx=e.displayRight2Left?e.viewWidth()-s:0,p.loc="lb",vi.call(this,p,r,a,0,h),di.call(this,"left",p,r,a,0,h),ci.call(this,p,r,a,0,-d),hi.call(this,p,r,a,0,-d),this.highlightRanges(p,r,a,0,d));var m=e.freezeViewRange();m.loc="lu",m.clearStartx=e.displayRight2Left?this.draw.ctx.canvas.width-s:0,m.lineStartx=e.displayRight2Left?e.viewWidth()-s:0,vi.call(this,m,r,a,0,0),di.call(this,"all",m,r,a,0,0),ci.call(this,m,r,a,0,0),hi.call(this,m,r,a,0,0),gi.call(this,r,a,s,h),this.highlightRanges(m,r,a,0,0)}this.highlightRanges(o,r,a,u,d)}}}},{key:"highlightRanges",value:function(e,t,i,n,r){var a=this.draw,o=this.data;if(o.showhighlight){if(a.save(),o.displayRight2Left?a.translate(-t,i).translate(-n,-r):a.translate(t,i).translate(-n,-r),o.highlightall){var s=ni(o,e);s.bgcolor=o.highlightstyle.color,a.rect(s,(function(){}))}else if(o.highlightIR){var l,h=Jt(e.difference(o.highlightIR));try{for(h.s();!(l=h.n()).done;){var c=ni(o,l.value);c.bgcolor=o.highlightstyle.color,a.rect(c,(function(){}))}}catch(e){h.e(e)}finally{h.f()}}else{var u,d=Jt(o.highlightrg);try{for(d.s();!(u=d.n()).done;){var f=u.value;if(e.intersects(f)){var v=f.clone();v.sri<e.sri&&(v.sri=e.sri),v.eri>e.eri&&(v.eri=e.eri),v.sci<e.sci&&(v.sci=e.sci),v.eci>e.eci&&(v.eci=e.eci);var g=ni(o,v);g.bgcolor=o.highlightstyle.color,a.rect(g,(function(){}))}}}catch(e){d.e(e)}finally{d.f()}}a.restore()}}},{key:"clear",value:function(){this.draw.clear()}}]),e}();function mi(e,t){e.hlstart||(e.hlstart=[]),e.hlstart.push(t)}function yi(e,t){e.hlend||(e.hlend=[]),e.hlend.push(t)}function bi(e,t){if(e.hlstart&&e.hlstart.length===e.hlend.length){for(var i="",n=[],r=e.innerText,a=0;a<e.hlstart.length;a++)n.push([e.hlstart[a],e.hlend[a]]);n.sort((function(e,t){return e[0]-t[0]}));for(var o=0,s=0;s<n.length;s++){var h=l()(n[s],2),c=h[0],u=h[1];i+=r.substring(o,c)+'<span style="background:'+t+'">'+r.substring(c,u)+"</span>",o=u}i+=r.substring(o),e.hlstart=[],e.hlend=[],e.innerHTML=i.replaceAll("\n","<br>")}}function wi(){var e=this.inputText;if(!/^\s*$/.test(e)){var t=this.textlineEl,i=this.textEl,n=this.areaOffset,r=e.split("\n"),a=Math.max.apply(Math,y()(r.map((function(e){return e.length})))),o=t.offset().width/e.length,s=(a+1)*o+5,l=this.viewFn().width-n.left-o,h=r.length;if(s>n.width){var c=s;s>l&&(c=l,h+=parseInt(s/l,10),h+=s%l>0?1:0),i.css("width","".concat(c,"px"))}h*=this.rowHeight,(h-=7)>n.height&&i.css("height","".concat(h,"px"))}}function qi(e){var t=e.target;if(window.getSelection){var i=window.getSelection(),n=i.getRangeAt(0),r=document.createElement("br");n.deleteContents(),n.insertNode(r),n.collapse(!1),i.removeAllRanges(),i.addRange(n),this.inputText=t.innerText,this.inputHtml=t.innerHTML,wi.call(this)}}function xi(e){var t=e.keyCode,i=e.altKey;13!==t&&9!==t&&e.stopPropagation(),13===t&&i&&(qi.call(this,e),e.stopPropagation()),13!==t||i||e.preventDefault()}function ki(e){var t=e.target.innerText,i=e.target.innerHTML,n=this.suggest,r=this.textlineEl,a=this.validator,o=this.cell;if(this.textbox)return this.textbox.ischange=!0,void(this.inputHtml=i);if(null!==o)if("editable"in o&&!0===o.editable||void 0===o.editable){if(this.inputText=t,this.inputHtml=i,a)"list"===a.type?n.search(t):n.hide();else{var s=t.lastIndexOf("=");-1!==s?(n.search(t.substring(s+1),"f"),"("===e.data&&n.hide(),this.formalaTip.show(t)):(n.hide(),this.formalaTip.hide())}r.html(i),wi.call(this),this.change("input",t)}else e.target.innerText="";else{if(this.inputText=t,this.inputHtml=i,a)"list"===a.type?n.search(t):n.hide();else{var l=t.lastIndexOf("=");-1!==l?(n.search(t.substring(l+1),"f"),"("===e.data&&n.hide(),this.formalaTip.show(t)):(n.hide(),this.formalaTip.hide())}r.html(t),wi.call(this),this.change("input",t)}}function Ci(e,t){var i=this.textEl.el;setTimeout((function(){if(t){var e=window.getSelection(),n=document.createRange();e.removeAllRanges(),n.selectNodeContents(i),n.collapse(!1),e.addRange(n),i.focus()}}),1)}function Si(e,t,i,n){var r=this.textEl,a=this.textlineEl;mobileAndTabletCheck()||r.el.blur();var o=!1;e.length>0?(o=!0,r.html(e)):r.html(t,!0,!0),o?a.html(e):a.html(t,!0,!0),Ci.call(this,i,n)}function Ti(e,t){var i=this.inputText,n=this.validator,r=0;if(n&&"list"===n.type)this.inputText=e.title?e.title:e,r=this.inputText.length;else{var a=i.lastIndexOf("="),o=i.substring(0,a+1),s=i.substring(a+1);s=-1!==s.indexOf(")")?s.substring(s.indexOf(")")):"",this.inputText="".concat(o+e.key,"("),r=this.inputText.length,this.inputText+="".concat(s),this.formalaTip.show(this.inputText)}Si.call(this,"",this.inputText,r,t)}function _i(){this.suggest.setItems(this.formulas)}var Oi=function(){function e(t,i,n,r){var a=this;c()(this,e),this.viewFn=i,this.rowHeight=n,this.formulas=t,this.formalaTip=new Ct,this.suggest=new mt(t,(function(e){Ti.call(a,e,!0)})),this.datepicker=new qt,this.datepicker.change((function(e){a.setText(function(e){var t=e.getMonth()+1,i=e.getDate();return t<10&&(t="0".concat(t)),i<10&&(i="0".concat(i)),"".concat(e.getFullYear(),"-").concat(t,"-").concat(i)}(e)),a.clear()})),this.areaEl=p("div","".concat(xe,"-editor-area")).children(this.textEl=p("div","htmlline").on("input",(function(e){return ki.call(a,e)})).on("paste.stop",(function(){})).on("keydown",(function(e){return xi.call(a,e)})),this.textlineEl=p("div","textline"),this.suggest.el,this.datepicker.el,this.formalaTip.el).on("mousemove.stop",(function(){})).on("mousedown.stop",(function(){})),this.el=p("div","".concat(xe,"-editor")).child(this.areaEl).hide(),this.suggest.bindInputEvents(this.textEl,r),this.areaOffset=null,this.freeze={w:0,h:0},this.cell=null,this.inputText="",this.inputHtml="",this.ishtml=!1,this.textbox=null,this.change=function(){},this.textboxChange=function(){}}var t;return o()(e,[{key:"setFreezeLengths",value:function(e,t){this.freeze.w=e,this.freeze.h=t}},{key:"insertTextNewLine",value:function(e){qi.call(this,e)}},{key:"clear",value:function(){this.textbox?(""!==this.inputHtml&&this.textboxChange(this.textbox,this.inputHtml),this.textbox.setVisible(!0)):""!==this.inputText&&this.change("finished",this.ishtml?this.inputHtml:this.inputText),this.cell=null,this.textbox=null,this.areaOffset=null,this.inputText="",this.inputHtml="",this.ishtml=!1,this.el.hide(),this.textEl.html(""),this.textEl.cssRemoveKeys("width","height","padding-left","padding-right","text-align","border","background-color"),this.textlineEl.html(""),_i.call(this),this.datepicker.hide()}},{key:"setOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i=this.textEl,n=this.areaEl,r=this.suggest,a=this.freeze,o=this.el;if(e){this.areaOffset=e;var s=e.left,l=e.top,h=e.width,c=e.height,u=e.l,d=e.t,f={left:0,top:0};a.w>u&&a.h>d||(a.w<u&&a.h<d?(f.left=a.w,f.top=a.h):a.w>u?f.top=a.h:a.h>d&&(f.left=a.w)),o.offset(f),n.offset({left:s-f.left-.8,top:l-f.top-.8}),i.offset({width:h-1.2,height:c-2.8});var v={left:0};v[t]=c,r.setOffset(v),r.hide()}}},{key:"setForTextBox",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.el,a=this.textEl;if(a.attr("contenteditable",i?"false":"true"),r.show(),this.textbox=e,this.textbox.setVisible(!1),this.ishtml=!0,this.inputText=e.text,this.inputHtml=e.html,Si.call(this,e.html,e.text,e.text.length,t),a.css("width","".concat(e.width-3,"px")),a.css("height","".concat(e.height,"px")),a.css("padding-left","".concat(e.lp,"pt")),a.css("padding-right","".concat(e.rp,"pt")),a.css("text-align",e.align),e.bgColor&&a.css("background-color",Lt(e.bgColor,e.tp)),n?a.css("border","black 1px solid"):(a.cssRemoveKeys("border"),a.css("height","".concat(e.height-2,"px"))),i&&a.css("user-select","text"),e.highlighttxts){for(var o=a.el.childNodes,s=null,l=0;l<e.highlighttxts.length;l++){var h=e.highlighttxts[l],c=h.start,u=h.end,d=h.color;if(!(c>=u)){s=d;for(var f=0,v=0,g=0,p=0,m=0;m<o.length;m++){if(v=o[m].innerText.length,c>=f&&c<=f+v-1&&(g=m,mi(o[m],c-f),yi(o[m],u<=f+v-1?u-f:v)),u>=f&&u<=f+v-1){m>g&&(mi(o[m],0),yi(o[m],u-f)),p=m;break}f+=v}for(var y=g+1;y<p;y++)o[y].style.background=d}}for(var b=0;b<o.length;b++)o[b].style.background||bi(o[b],s)}}},{key:"setCell",value:(t=r()(d.a.mark((function e(t,i,n){var r,a,o,s,l,h,c,u,f=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!(f.length>3&&void 0!==f[3])||f[3],a=this.el,o=this.datepicker,s=this.suggest,this.textEl.attr("contenteditable","true"),a.show(),this.cell=t,l=t&&t.text||"",h=t&&t.html||"",t&&(t.f?l=t.f:t.ufv&&(l=t.ufv)),this.ishtml=t&&t.html,this.setTextAndHtml(h,l,r),this.validator=i,!i){e.next=20;break}if("date"===(c=i.type)&&(o.show(),/^\s*$/.test(l)||o.setValue(l)),"list"!==c){e.next=20;break}return e.next=17,i.values(n);case 17:u=e.sent,s.setItems(u),s.search("");case 20:case"end":return e.stop()}}),e,this)}))),function(e,i,n){return t.apply(this,arguments)})},{key:"setTextAndHtml",value:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.inputText=t,this.inputHtml=e,Si.call(this,e,t,t.length,i),wi.call(this)}},{key:"setText",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.inputText=e,Si.call(this,"",e,e.length,t),wi.call(this)}}]),e}();function Ri(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ei=function(e){me()(i,e);var t=Ri(i);function i(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return c()(this,i),(n=t.call(this,"div","".concat(xe,"-button ").concat(r))).child(Q("button.".concat(e))),n}return i}(g),Ai={A3:[11.69,16.54],A4:[8.27,11.69],A5:[5.83,8.27],B4:[9.84,13.9],B5:[6.93,9.84]},Mi=["landscape","portrait"];function Ii(e){return parseInt(96*e,10)}function Bi(e){"cancel"===e?this.el.hide():this.toPrint()}var Di=function(){function e(t,i){c()(this,e),this.paper={w:Ii(Ai.A4[0]),h:Ii(Ai.A4[1]),padding:50,orientation:Mi[0],width:function(){return"landscape"===this.orientation?.9*this.h:.9*this.w},height:function(){return"landscape"===this.orientation?.9*this.w:.9*this.h}},this.totalviews=0,this.data=t,this.imageCanvas=i,this.el=p("div","".concat(xe,"-print")).children(p("div","".concat(xe,"-print-bar")).children(p("div","-title").child("Print settings"),p("div","-right").children(p("div","".concat(xe,"-buttons")).children(new Ei("cancel").on("click",Bi.bind(this,"cancel")),new Ei("next","primary").on("click",Bi.bind(this,"next"))))),p("div","".concat(xe,"-print-content")).children(this.contentEl=p("div","-content"))).hide()}return o()(e,[{key:"resetData",value:function(e,t){this.sheet=e,this.data=t}},{key:"preview",value:function(e){var t=this,i=this.sheet,n=this.data,r=this.paper,a=n.contentRange();r.orientation=e.orientation,r.size=e.size;var o=Ai[e.size];r.w=Ii(o[0]),r.h=Ii(o[1]);var s=r.padding,l=r.orientation,h=r.width(),c=r.height(),u=h-2*s,d=c-2*s,f=1;"fitsheet"===e.scale&&(a.w/u>a.h/d?e.scale="fitcolumns":e.scale="fitrows"),"fitcolumns"===e.scale?(f=a.w/u,u=a.w,d*=f):"fitrows"===e.scale&&(f=a.h/d,d=a.h,u*=f),console.log("paper info:"+l+" w:"+h+" ,h:"+c+",iw:"+u+",ih:"+d);var v=s,g=s,m="overdown"===e.order;this.contentEl.empty(),this.canvases=[];var y={sri:0,sci:0,eri:0,eci:0,left:0,top:0};this.totalviews=0,this.isRestoreFromCanvasReady=this.imageCanvas.data.isRestoreFromCanvasReady,this.isRestoreFromCanvas=this.imageCanvas.data.isRestoreFromCanvas;for(var b=i.table.draw,w=function(){t.totalviews++;var r=0,o=0,s=p("div","".concat(xe,"-canvas-card")),l=p("canvas","".concat(xe,"-canvas"));t.canvases.push(l.el);var b=y.sci;for(y.eci=a.eci,y.eri=a.eri;b<=a.eci;b++){if((o+=n.cols.getWidth(b))>u){y.eci=b-1,y.eci<y.sci&&(y.eci+=1,y.width=o);break}y.width=o}var w=new Zt(l.el.getContext("2d"),Math.max(h,y.width/f),c);w.setel(l.el),w.scale(.8/f,.8/f),w.save();for(var q=y.sri;q<=a.eri;q+=1){if(!((r+=n.rows.getHeight(q))<d)){y.eri=q-1,y.eri<y.sri&&(y.eri+=1,y.height=r);break}y.height=r}n.cols.indexWidth,n.settings.row.height;var x=new S(y.sri,y.sci,y.eri,y.eci,y.width,y.height);if(x.left=y.left,x.top=y.top,i.table.draw=w,ci.call(i.table,x,0,0,0,0),console.log("mViewRange :",y.sci,y.eci,y.sri,y.eri,y.left,y.top,y.width,y.height),console.log("mViewRange 22222: iw:"+u+" ,ih:"+d),w.restore(),"show"===e.showimage){var k=p("canvas","".concat(xe,"-canvas"));t.contentEl.child(p("div","".concat(xe,"-canvas-card-wraper")).child(s.child(k)));var C="canvas_"+(new Date).getTime()+"_"+t.totalviews;k.el.id=C,k.el.style.width=l.el.style.width,k.el.style.height=l.el.style.height,k.el.width=y.width+v,k.el.height=y.height+g,console.log("new fabcid is:"+C);var T=new fabric.StaticCanvas(C);T.clipPath=new fabric.Rect({width:y.width,height:y.height,top:t.imageCanvas.tOffset.top,left:t.imageCanvas.tOffset.left}),t.imageCanvas.rerenderCanvasBySavedJson(T,{x:-y.left,y:-y.top},T.clipPath,(function(){l.el.getContext("2d").drawImage(k.el,-t.imageCanvas.tOffset.left-15,-t.imageCanvas.tOffset.top-5),t.totalviews--,T.clear(),console.log("draw in fabcid:"+C+" "+t.totalviews)}),!0)}else t.totalviews--;m?(y.sci=y.eci+1,y.left+=y.width,y.sci>=a.eci&&(y.sri=y.eri+1,y.sci=0,y.left=0,y.top+=y.height)):(y.sri=y.eri+1,y.top+=y.height,y.sri>=a.eri&&(y.sri=0,y.sci=y.eci+1,y.top=0,y.left+=y.width)),y.eci=a.eci,y.eri=a.eri};y.sri<=y.eri&&y.sci<=y.eci;)w();i.table.draw=b}},{key:"toPrint",value:function(){var e=this;!function t(){0===e.totalviews?(e.imageCanvas.data.isRestoreFromCanvasReady=e.isRestoreFromCanvasReady,e.imageCanvas.data.isRestoreFromCanvas=e.isRestoreFromCanvas,e.contentEl.empty(),e.toPrintAct()):(console.log("wait for this.totalviews:"+e.totalviews),setTimeout(t,3e3))}()}},{key:"toPrintAct",value:function(){this.el.hide();var e=this.paper,t="gridjs-print-frm",i=document.getElementById(t);i?i.contentWindow.document.body.innerHTML="":(i=p("iframe","").hide().setId(t).el,window.document.body.appendChild(i));var n=i.contentWindow,r=n.document,a=document.createElement("style");a.innerHTML="\n @page {size: ".concat(e.size,"; orientation: ").concat(e.orientation,"; }\n canvas {\n page-break-before: auto;\n page-break-after: always;\n image-rendering: pixelated;\n };\n "),r.head.appendChild(a),this.canvases.forEach((function(e){var t=e.cloneNode(!1);t.getContext("2d").drawImage(e,0,0),r.body.appendChild(t)})),n.print(),this.canvases=[]}}]),e}(),zi=[{key:"copy",title:ee("contextmenu.copy"),label:"Ctrl+C"},{key:"cut",title:ee("contextmenu.cut"),label:"Ctrl+X"},{key:"paste",title:ee("contextmenu.paste"),label:"Ctrl+V"},{key:"paste-value",title:ee("contextmenu.pasteValue"),label:"Ctrl+Shift+V"},{key:"paste-format",title:ee("contextmenu.pasteFormat"),label:"Ctrl+Alt+V"},{key:"divider"},{key:"insert-row",title:ee("contextmenu.insertRow")},{key:"insert-column",title:ee("contextmenu.insertColumn")},{key:"divider"},{key:"delete-row",title:ee("contextmenu.deleteRow")},{key:"delete-column",title:ee("contextmenu.deleteColumn")},{key:"delete-cell-text",title:ee("contextmenu.deleteCellText")},{key:"hide",title:ee("contextmenu.hide")},{key:"divider"},{key:"link",title:ee("contextmenu.link")},{key:"openLink",title:ee("contextmenu.openLink")},{key:"removeLink",title:ee("contextmenu.removeLink")},{key:"divider"},{key:"validation",title:ee("contextmenu.validation")},{key:"cell-editable",title:ee("contextmenu.celleditable")},{key:"cell-non-editable",title:ee("contextmenu.cellnoneditable")}];function Pi(e,t){var i=this,n=null;return(n="divider"===e.key?p("div","".concat(xe,"-item divider")):p("div","".concat(xe,"-item")).on("click",(function(){e.callback?e.callback(t,t.selector.getObj()):i.itemClick(e.key),i.hide()})).children(e.text?e.text:e.title(),p("div","label").child(e.label||"").attr("k",e.key))).key=e.key,n}function Fi(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zi,i=arguments.length>1?arguments[1]:void 0;return t.map((function(t){return Pi.call(e,t,i)}))}function Li(e,t){return e.find((function(e){return e.key===t}))}var ji=function(){function e(t,i){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3?arguments[3]:void 0;if(c()(this,e),window.mobileAndTabletCheck()){var o={key:"merge",title:ee("contextmenu.merge"),label:""},s={key:"unmerge",title:ee("contextmenu.unmerge"),label:""},l={key:"edit",title:ee("contextmenu.edit"),label:""};zi.forEach((function(e){e.label=void 0,"delete-cell-text"===e.key&&(e.title=ee("contextmenu.clear"))})),zi.push(o),zi.push(s),zi.unshift(l)}this.customMenuItemsForImage=[{key:"delete-image",title:ee("contextmenu.deleteImage"),label:"Del"}],this.customsetting=a&&!a.usedefault,this.customItems=this.customsetting?a.customItems:[],this.menuItems=this.customsetting?Fi.call(this,a.customItems,i):Fi.call(this),this.el=(n=p("div","".concat(xe,"-contextmenu"))).children.apply(n,y()(this.menuItems)).hide(),this.viewFn=t,this.itemClick=function(){},this.showMenuBefore=function(){},this.isHide=r,this.setMode("range"),this.sheet=i}return o()(e,[{key:"getImageContextMenuItems",value:function(){return this.customMenuItemsForImage}},{key:"addImageContextMenuItems",value:function(e){var t=this.customMenuItemsForImage;e.forEach((function(e){var i=t.findIndex((function(t){return t.key===e.key}));i>=0&&t.splice(i,1)})),t.push.apply(t,e)}},{key:"delImageContextMenuItems",value:function(e){var t=this.customMenuItemsForImage;e.forEach((function(e){var i=t.findIndex((function(t){return t.key===e}));i>=0&&t.splice(i,1)}))}},{key:"updateImageContextMenuItems",value:function(e){this.addImageContextMenuItems([e])}},{key:"getCutomContextMenuItems",value:function(){if(this.customsetting)return this.customItems}},{key:"addCutomContextMenuItems",value:function(e){var t=this.customItems,i=this.customsetting,n=this.sheet,r=this.menuItems;if(i){var a=Fi.call(this,e,n);e.forEach((function(e,i){"divider"!==e.key&&Li(t,e.key)||(t.push(e),r.push(a[i]))})),this.rebuildMenuItems(r)}}},{key:"insertCutomContextMenuItem",value:function(e,t){var i=this.customItems,n=this.customsetting,r=this.sheet,a=this.menuItems;if(n&&("divider"===e.key||!Li(i,e.key))){var o=Pi.call(this,e,r);i.splice(t,0,e),a.splice(t,0,o),this.rebuildMenuItems(a)}}},{key:"updateCutomContextMenuItem",value:function(e,t){var i=this.customItems,n=this.customsetting,r=this.sheet,a=this.menuItems;if(n){var o=i.findIndex((function(t){return t.key==e}));if(-1!==o){t.text&&(i[o].text=t.text),t.callback&&(i[o].callback=t.callback);var s=Pi.call(this,i[o],r);a[o]=s,this.rebuildMenuItems(a)}}}},{key:"rebuildMenuItems",value:function(e){var t,i=this.sheet;(i.el.removeChild(this.el.el),e.length>0)?this.el=(t=p("div","".concat(xe,"-contextmenu"))).children.apply(t,y()(e)).hide():this.el=p("div","".concat(xe,"-contextmenu")).hide();i.el.child(this.el)}},{key:"delCutomContextMenuItems",value:function(e){var t=this.customItems,i=this.menuItems,n=this.customsetting;this.sheet;n&&(e.forEach((function(e){var n=t.findIndex((function(t){return t.key===e}));n>=0&&(t.splice(n,1),i.splice(n,1))})),this.rebuildMenuItems(i))}},{key:"setMode",value:function(e){if(!this.customsetting){var t=this.menuItems[12];"row-col"===e?t.show():t.hide()}}},{key:"hide",value:function(){var e=this.el;e.hide(),je(e)}},{key:"setPosition",value:function(e,t){if(!this.isHide){var i=this.el,n=this.sheet;this.showImageDeleteItem(i,n),this.showMenuBefore(this.menuItems);var r=i.show().offset(),a=r.width,o=r.height,s=this.viewFn(),l=e;s.width-e<=a&&(l-=a),i.css("left","".concat(l,"px"));var h=t;o+t>s.height&&(h-=o+t-s.height),i.css("top","".concat(h,"px")).css("max-height","".concat(s.height,"px")).css("bottom","auto"),He(i)}}},{key:"showImageDeleteItem",value:function(e,t){var i=this,n=this.customMenuItemsForImage;n.forEach((function(t){e.children().forEach((function(i){i.children[0]&&i.children[0].getAttribute("k")===t.key&&e.removeChild(i)}))})),this.el.children()[0].className.includes("divider")&&this.el.removeChild(this.el.children()[0]);var r=t.canvas.fabric.getActiveObject();null!=r&&("OleObject"===r.imgType?this.addImageContextMenuItems([{key:"ole",title:ee("contextmenu.download"),callback:function(){t.getOle(r.strid)}}]):this.delImageContextMenuItems(["ole"]),Fi.call(this,n,t).forEach((function(e){return i.el.child(e,!0)})),t.selector.hide(),t.selector.setObjId(r.id))}}]),e}(),Hi=i(11),Ni=i.n(Hi);var Ui=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;c()(this,e),this.tip=Q("toolbar.".concat(t.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()})))),this.activeTip=null===i?null:Q("toolbar.".concat(i.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()})))),n&&(this.tip+=" (".concat(n,")")),this.tag=t,this.shortcut=n,this.value=r,this.el=this.element(),this.change=function(){}}return o()(e,[{key:"element",value:function(){var e=this.tip,t=this.activeTip;return p("div","".concat(xe,"-toolbar-btn")).on("mouseenter",(function(i){""!==e&&function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t.classList.contains("active")||null!==i){var n=t.getBoundingClientRect(),r=n.left,a=n.top,o=n.width,s=n.height,l=t.classList.contains("active")?i:e,h=p("div","".concat(xe,"-tooltip")).html(l).show();document.body.appendChild(h.el);var c=h.box();h.css("left","".concat(r+o/2-c.width/2,"px")).css("top","".concat(a+s+2,"px")),Fe(t,"mouseleave",(function(){document.body.contains(h.el)&&document.body.removeChild(h.el)})),Fe(t,"click",(function(){document.body.contains(h.el)&&document.body.removeChild(h.el)}))}}(e,i.target,t)})).attr("data-tooltip",e)}},{key:"setState",value:function(){}}]),e}();function Xi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Wi=function(e){me()(i,e);var t=Xi(i);function i(){return c()(this,i),t.apply(this,arguments)}return o()(i,[{key:"dropdown",value:function(){}},{key:"getValue",value:function(e){return e}},{key:"element",value:function(){var e=this,t=this.tag;return this.dd=this.dropdown(),this.dd.change=function(i){return e.change(t,e.getValue(i))},Ni()(qe()(i.prototype),"element",this).call(this).child(this.dd)}},{key:"setState",value:function(e){e&&(this.value=e,this.dd.setTitle(e))}}]),i}(Ui);function Yi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Vi=function(e){me()(i,e);var t=Yi(i);function i(e,n,r,a){var o,s;c()(this,i),(s=t.call(this,"div","".concat(xe,"-dropdown ").concat(a))).title=e,s.change=function(){},s.headerClick=function(){},"string"==typeof e?s.title=p("div","".concat(xe,"-dropdown-title")).child(e):r&&s.title.addClass("arrow-left"),s.contentEl=p("div","".concat(xe,"-dropdown-content")).css("width",n).hide();for(var l=arguments.length,h=new Array(l>4?l-4:0),u=4;u<l;u++)h[u-4]=arguments[u];return s.contentEl.tags=h.map((function(e){return e.tag})),(o=s).setContentChildren.apply(o,h),s.headerEl=p("div","".concat(xe,"-dropdown-header")),s.headerEl.on("click",(function(){if("block"!==s.contentEl.css("display")){if(s.show(),mobileAndTabletCheck()&&window.document.body.offsetWidth!==window.document.body.scrollWidth){if(s.menuDiv){for(var e=s.menuDiv.el,t=s.menuDiv.el.offsetParent;e.offsetParent&&"BODY"!==e.offsetParent.nodeName;)e=e.offsetParent;s.contentEl.el.clientWidth-e.offsetLeft>100&&(s.el.classList.replace("bottom-left","bottom-center"),s.contentEl.el.style.top+=t.offsetTop)}s.el.classList.contains("bottom-left")&&s.el.classList.replace("bottom-left","bottom-right"),s.el.classList.contains("top-left")&&s.el.classList.replace("top-left","top-right")}}else s.hide()})).children(s.title,r?p("div","".concat(xe,"-icon arrow-right")).child(p("div","".concat(xe,"-icon-img arrow-down"))):""),s.children(s.headerEl,s.contentEl),s}return o()(i,[{key:"setContentChildren",value:function(){var e;(this.contentEl.html(""),arguments.length>0)&&(e=this.contentEl).children.apply(e,arguments)}},{key:"showExplain",value:function(e){var t=this;if(this.contentEl.children().length===e.length)for(var i=function(i){Fe(t.contentEl.children()[i],"mouseover",(function(){var n=new dt(e[i].title()),r=dt.findDialog(t.contentEl),a={top:"".concat(t.contentEl.children()[i].offsetTop,"px")};if(0!==r.length)for(var o=0;o<r.length;o++)t.contentEl.removeChild(t.contentEl.children()[r[o]]);n.css(a),t.contentEl.child(n)})),Fe(t.contentEl.children()[i],"mouseout",(function(){var e=dt.findDialog(t.contentEl);if(0!==e.length)for(var i=0;i<e.length;i++)t.contentEl.removeChild(t.contentEl.children()[e[i]])}))},n=0;n<e.length;n++)i(n)}},{key:"setTitle",value:function(e){this.title.html(e),this.hide()}},{key:"show",value:function(){var e=this;this.contentEl.show(),this.parent().active(),He(this.parent(),(function(){e.hide()}))}},{key:"hide",value:function(){this.parent().active(!1),this.contentEl.hide(),je(this.parent())}}]),i}(g);function Gi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ki=function(e){me()(i,e);var t=Gi(i);function i(e,n){var r;c()(this,i);var a=new Ce("align-".concat(n)),o=e.map((function(e){return Se("align-".concat(e)).on("click",(function(){r.setTitle(e),r.change(e)}))}));return r=t.call.apply(t,[this,a,"auto",!0,"bottom-left"].concat(y()(o)))}return o()(i,[{key:"setTitle",value:function(e){this.title.setName("align-".concat(e)),this.hide()}}]),i}(Vi);function Zi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ji=function(e){me()(i,e);var t=Zi(i);function i(e){return c()(this,i),t.call(this,"align",null,"",e)}return o()(i,[{key:"dropdown",value:function(){var e=this.value;return new Ki(["left","center","right"],e)}}]),i}(Wi);function $i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Qi=function(e){me()(i,e);var t=$i(i);function i(e){return c()(this,i),t.call(this,"valign",null,"",e)}return o()(i,[{key:"dropdown",value:function(){var e=this.value;return new Ki(["top","middle","bottom"],e)}}]),i}(Wi);function en(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var tn=function(e){me()(i,e);var t=en(i);function i(){return c()(this,i),t.apply(this,arguments)}return o()(i,[{key:"element",value:function(){var e=this,t=this.tag;return Ni()(qe()(i.prototype),"element",this).call(this).child(new Ce(t)).on("click",(function(){return e.click()}))}},{key:"click",value:function(){this.change(this.tag,this.toggle())}},{key:"setState",value:function(e){this.el.active(e)}},{key:"toggle",value:function(){return this.el.toggle()}},{key:"active",value:function(){return this.el.hasClass("active")}}]),i}(Ui);function nn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var rn=function(e){me()(i,e);var t=nn(i);function i(){return c()(this,i),t.call(this,"autofilter")}return o()(i,[{key:"setState",value:function(){}}]),i}(tn);function an(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var on=function(e){me()(i,e);var t=an(i);function i(){return c()(this,i),t.call(this,"font-bold",null,"Ctrl+B")}return i}(tn);function sn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ln=function(e){me()(i,e);var t=sn(i);function i(){return c()(this,i),t.call(this,"font-italic",null,"Ctrl+I")}return i}(tn);function hn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var cn=function(e){me()(i,e);var t=hn(i);function i(){return c()(this,i),t.call(this,"strike")}return i}(tn);function un(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var dn=function(e){me()(i,e);var t=un(i);function i(){return c()(this,i),t.call(this,"underline",null,"Ctrl+U")}return i}(tn),fn=["#ffffff","#000100","#e7e5e6","#445569","#5b9cd6","#ed7d31","#a5a5a5","#ffc001","#4371c6","#71ae47"],vn=[["#f2f2f2","#7f7f7f","#d0cecf","#d5dce4","#deeaf6","#fce5d5","#ededed","#fff2cd","#d9e2f3","#e3efd9"],["#d8d8d8","#595959","#afabac","#adb8ca","#bdd7ee","#f7ccac","#dbdbdb","#ffe59a","#b3c6e7","#c5e0b3"],["#bfbfbf","#3f3f3f","#756f6f","#8596b0","#9cc2e6","#f4b184","#c9c9c9","#fed964","#8eaada","#a7d08c"],["#a5a5a5","#262626","#3a3839","#333f4f","#2e75b5","#c45a10","#7b7b7b","#bf8e01","#2f5596","#538136"],["#7f7f7f","#0c0c0c","#171516","#222a35","#1f4e7a","#843c0a","#525252","#7e6000","#203864","#365624"]],gn=["#c00000","#fe0000","#fdc101","#ffff01","#93d051","#00b04e","#01b0f1","#0170c1","#012060","#7030a0"];function pn(e){var t=this;return p("td","").child(p("div","".concat(xe,"-color-palette-cell")).on("click.stop",(function(){return t.change(e)})).css("background-color",e))}var mn=function e(){var t,i,n,r=this;c()(this,e),this.el=p("div","".concat(xe,"-color-palette")),this.change=function(){};var a=p("table","").children((t=p("tbody","")).children.apply(t,[(i=p("tr","".concat(xe,"-theme-color-placeholders"))).children.apply(i,y()(fn.map((function(e){return pn.call(r,e)}))))].concat(y()(vn.map((function(e){var t;return(t=p("tr","".concat(xe,"-theme-colors"))).children.apply(t,y()(e.map((function(e){return pn.call(r,e)}))))}))),[(n=p("tr","".concat(xe,"-standard-colors"))).children.apply(n,y()(gn.map((function(e){return pn.call(r,e)}))))])));this.el.child(a)};function yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var bn=function(e){me()(i,e);var t=yn(i);function i(e,n){var r;c()(this,i);var a=new Ce(e).css("height","16px").css("border-bottom","3px solid ".concat(n)),o=new mn;return o.change=function(e){r.setTitle(e),r.change(e)},r=t.call(this,a,"max-content",!1,"bottom-left",o.el)}return o()(i,[{key:"setTitle",value:function(e){this.title.css("border-color",e),this.hide()}}]),i}(Vi);function wn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var qn=[["thin",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" style="user-select: none;"></line></svg>'],["medium",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="2" style="user-select: none;"><line x1="0" y1="1.0" x2="50" y2="1.0" stroke-width="2" stroke="black" style="user-select: none;"></line></svg>'],["thick",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="3" style="user-select: none;"><line x1="0" y1="1.5" x2="50" y2="1.5" stroke-width="3" stroke="black" style="user-select: none;"></line></svg>'],["dashed",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="2" style="user-select: none;"></line></svg>'],["dotted",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="1" style="user-select: none;"></line></svg>']],xn=function(e){me()(i,e);var t=wn(i);function i(e){var n;c()(this,i);var r=new Ce("line-type"),a=0,o=qn.map((function(t,i){return p("div","".concat(xe,"-item state ").concat(e===t[0]?"checked":"")).on("click",(function(){o[a].toggle("checked"),o[i].toggle("checked"),a=i,n.hide(),n.change(t)})).child(p("div","".concat(xe,"-line-type")).html(t[1]))}));return n=t.call.apply(t,[this,r,"max-content",!1,"bottom-left"].concat(y()(o)))}return i}(Vi);function kn(){var e;return p("table","").child((e=p("tbody","")).children.apply(e,arguments))}function Cn(e){var t=this;return p("td","").child(p("div","".concat(xe,"-border-palette-cell")).child(new Ce("border-".concat(e))).on("click",(function(){t.mode=e;var i=t.mode,n=t.style,r=t.color;t.change({mode:i,style:n,color:r})})))}var Sn=function e(){var t,i,n=this;c()(this,e),this.color="#000",this.style="thin",this.mode="all",this.change=function(){},this.ddColor=new bn("line-color",this.color),this.ddColor.change=function(e){n.color=e},this.ddType=new xn(this.style),this.ddType.change=function(e){var t=l()(e,1)[0];n.style=t},this.el=p("div","".concat(xe,"-border-palette"));var r=kn(p("tr","").children(p("td","".concat(xe,"-border-palette-left")).child(kn((t=p("tr","")).children.apply(t,y()(["all","inside","horizontal","vertical","outside"].map((function(e){return Cn.call(n,e)})))),(i=p("tr","")).children.apply(i,y()(["left","top","right","bottom","none"].map((function(e){return Cn.call(n,e)})))))),p("td","".concat(xe,"-border-palette-right")).children(p("div","".concat(xe,"-toolbar-btn")).child(this.ddColor.el),p("div","".concat(xe,"-toolbar-btn")).child(this.ddType.el))));this.el.child(r)};function Tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var _n=function(e){me()(i,e);var t=Tn(i);function i(){var e;c()(this,i);var n=new Ce("border-all"),r=new Sn;return r.change=function(t){e.change(t),e.hide()},e=t.call(this,n,"max-content",!1,"bottom-left",r.el)}return i}(Vi);function On(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Rn=function(e){me()(i,e);var t=On(i);function i(){return c()(this,i),t.call(this,"border")}return o()(i,[{key:"dropdown",value:function(){return new _n}}]),i}(Wi);function En(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var An=function(e){me()(i,e);var t=En(i);function i(){return c()(this,i),t.apply(this,arguments)}return o()(i,[{key:"element",value:function(){var e=this;return this.icon=new Ce(this.tag),Ni()(qe()(i.prototype),"element",this).call(this).child(this.icon).on("click",(function(){return e.change(e.tag)}))}},{key:"setState",value:function(e){this.el.disabled(e)}},{key:"setIcon",value:function(e){this.icon.setName(e)}}]),i}(Ui);function Mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var In=function(e){me()(i,e);var t=Mn(i);function i(){return c()(this,i),t.call(this,"clearformat")}return i}(An);function Bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Dn=function(e){me()(i,e);var t=Bn(i);function i(){return c()(this,i),t.call(this,"paintformat")}return o()(i,[{key:"setState",value:function(){}}]),i}(tn);function zn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Pn=function(e){me()(i,e);var t=zn(i);function i(e){return c()(this,i),t.call(this,"color",null,void 0,e)}return o()(i,[{key:"dropdown",value:function(){var e=this.tag,t=this.value;return new bn(e,t)}}]),i}(Wi);function Fn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ln=function(e){me()(i,e);var t=Fn(i);function i(e){return c()(this,i),t.call(this,"bgcolor",null,void 0,e)}return o()(i,[{key:"dropdown",value:function(){var e=this.tag,t=this.value;return new bn(e,t)}}]),i}(Wi);function jn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Hn=function(e){me()(i,e);var t=jn(i);function i(){var e;c()(this,i);var n=Ot.map((function(t){return p("div","".concat(xe,"-item")).on("click",(function(){e.setTitle("".concat(t.pt)),e.change(t)})).child("".concat(t.pt))}));return e=t.call.apply(t,[this,"10","60px",!0,"bottom-left"].concat(y()(n)))}return i}(Vi);function Nn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Un=function(e){me()(i,e);var t=Nn(i);function i(){return c()(this,i),t.call(this,"font-size")}return o()(i,[{key:"getValue",value:function(e){return e.pt}},{key:"dropdown",value:function(){return new Hn}}]),i}(Wi);function Xn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Wn=function(e){me()(i,e);var t=Xn(i);function i(){var e;c()(this,i);var n=[{text:"50%",number:.5},{text:"75%",number:.75},{text:"100%",number:1},{text:"125%",number:1.25},{text:"150%",number:1.5},{text:"175%",number:1.75},{text:"200%",number:2}].map((function(t){return p("div","".concat(xe,"-item")).on("click",(function(){e.setTitle("".concat(t.text)),e.change(t)})).child("".concat(t.text))}));return e=t.call.apply(t,[this,"10","60px",!0,"bottom-left"].concat(y()(n)))}return i}(Vi);function Yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Vn=function(e){me()(i,e);var t=Yn(i);function i(){return c()(this,i),t.call(this,"zoom-size")}return o()(i,[{key:"getValue",value:function(e){return e}},{key:"setState",value:function(e){"string"!=typeof e&&(e=100*e+"%"),Ni()(qe()(i.prototype),"setState",this).call(this,e)}},{key:"dropdown",value:function(){return new Wn}}]),i}(Wi);function Gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Kn=function(e){me()(i,e);var t=Gn(i);function i(){var e;c()(this,i);var n=_t.map((function(t){return p("div","".concat(xe,"-item")).on("click",(function(){e.setTitle(t.title),e.change(t)})).child(t.title)}));return e=t.call.apply(t,[this,_t[0].title,"max-content",!0,"bottom-left"].concat(y()(n)))}return i}(Vi);function Zn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Jn=function(e){me()(i,e);var t=Zn(i);function i(){return c()(this,i),t.call(this,"font-name")}return o()(i,[{key:"getValue",value:function(e){return e.key}},{key:"dropdown",value:function(){return new Kn}}]),i}(Wi);function $n(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Qn=function(e){me()(i,e);var t=$n(i);function i(){var e;c()(this,i);var n=Mt.slice(0);return n.splice(2,0,{key:"divider"}),n.splice(8,0,{key:"divider"}),n=n.map((function(t){var i=p("div","".concat(xe,"-item"));return"divider"===t.key?i.addClass("divider"):(i.child(t.title()).on("click",(function(){e.setTitle(t.title()),e.change(t)})),t.label&&i.child(p("div","label").html(t.label))),i})),e=t.call.apply(t,[this,"Normal","220px",!0,"bottom-left"].concat(y()(n)))}return o()(i,[{key:"setTitle",value:function(e){for(var t=0;t<Mt.length;t+=1)Mt[t].key===e&&this.title.html(Mt[t].title());this.hide()}}]),i}(Vi);function er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var tr=function(e){me()(i,e);var t=er(i);function i(){return c()(this,i),t.call(this,"format")}return o()(i,[{key:"getValue",value:function(e){return e.key}},{key:"dropdown",value:function(){return new Qn}}]),i}(Wi),ir=i(9),nr=i.n(ir);function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ar=function(e){me()(i,e);var t=rr(i);function i(){var e,n;c()(this,i);var r=se.map((function(e){return p("div","".concat(xe,"-item")).on("click",(function(){n.hide(),n.change(e)})).child(e.key)}));return n=t.call.apply(t,[this,new Ce("formula"),"max-content",!0,"bottom-left"].concat(y()(r))),Ni()((e=nr()(n),qe()(i.prototype)),"showExplain",e).call(e,se),n}return i}(Vi);function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var sr=function(e){me()(i,e);var t=or(i);function i(){return c()(this,i),t.call(this,"formula")}return o()(i,[{key:"getValue",value:function(e){return e.key}},{key:"dropdown",value:function(){return new ar}}]),i}(Wi);function lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var hr=function(e){me()(i,e);var t=lr(i);function i(){return c()(this,i),t.call(this,"freeze")}return i}(tn);function cr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ur=function(e){me()(i,e);var t=cr(i);function i(){return c()(this,i),t.call(this,"merge","unmerge")}return o()(i,[{key:"setState",value:function(e,t){this.el.active(e).disabled(t)}}]),i}(tn);function dr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var fr=function(e){me()(i,e);var t=dr(i);function i(){return c()(this,i),t.call(this,"print","Ctrl+P")}return i}(An);function vr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var gr=function(e){me()(i,e);var t=vr(i);function i(){return c()(this,i),t.call(this,"textwrap")}return i}(tn);function pr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var mr=function(e){me()(i,e);var t=pr(i);function i(){var e;c()(this,i);var n=new Ce("ellipsis"),r=p("div","".concat(xe,"-toolbar-more"));return(e=t.call(this,n,"max-content",!1,"bottom-right",r)).moreBtns=r,screen.width<500?e.contentEl.css("max-width","200px"):e.contentEl.css("max-width","420px"),e}return i}(Vi),yr=function(e){me()(i,e);var t=pr(i);function i(){var e;return c()(this,i),(e=t.call(this,"more")).el.hide(),e}return o()(i,[{key:"dropdown",value:function(){return new mr}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}]),i}(Wi);function br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var wr=function(e){me()(i,e);var t=br(i);function i(){return c()(this,i),t.call(this,"sort")}return i}(An);function qr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var xr=function(e){me()(i,e);var t=qr(i);function i(){return c()(this,i),t.call(this,"search")}return i}(An);function kr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Cr=function(e){me()(i,e);var t=kr(i);function i(){return c()(this,i),t.call(this,"commentEdit")}return i}(An);function Sr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Tr=function(e){me()(i,e);var t=Sr(i);function i(){return c()(this,i),t.call(this,"commentRemove")}return i}(An);function _r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Or=function(e){me()(i,e);var t=_r(i);function i(){return c()(this,i),t.call(this,"commentPrevious")}return i}(An);function Rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Er=function(e){me()(i,e);var t=Rr(i);function i(){return c()(this,i),t.call(this,"commentNext")}return i}(An);function Ar(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Mr=function(e){me()(i,e);var t=Ar(i);function i(){var e;c()(this,i);var n=new Ce("".concat(xe,"-icon-img insert-image")),r=p("div","".concat(xe,"-item")),a=p("input");a.attr({type:"file",name:"photo",id:"upload-image",style:"display:none;",accept:"image/*"}),r.tag="fromLocal";var o=p("label");o.attr("for","upload-image"),o.child(new Ce("".concat(xe,"-icon-img insert-image-local"))),o.child(" "+Q("menubar.".concat(r.tag))),r.child(a),r.child(o),r.on("click",(function(){e.change("local")}));var s=Se("".concat(xe,"-icon-img insert-image-url"));return s.tag="fromURL",s.child(" "+Q("menubar.".concat(s.tag))),s.on("click",(function(){e.change("url")})),e=t.call.apply(t,[this,n,"auto",!0,"bottom-left"].concat([r,s]))}return i}(Vi);function Ir(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Br=function(e){me()(i,e);var t=Ir(i);function i(e){return c()(this,i),t.call(this,"insert-image",null,"",e)}return o()(i,[{key:"dropdown",value:function(){return new Mr}}]),i}(Wi);function Dr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var zr=function(e){me()(i,e);var t=Dr(i);function i(){var e;c()(this,i);var n=new Ce("insertTextBox"),r=["TextBox","ComboBox","CheckBox","SpinButton","RadioButton"].map((function(t){return Se("insert".concat(t)," "+Q("toolbar.insert".concat(t))).on("click",(function(){e.setTitle(t),e.change(t)}))}));return e=t.call.apply(t,[this,n,"auto",!0,"bottom-left"].concat(y()(r)))}return o()(i,[{key:"setTitle",value:function(e){this.title.setName("insert".concat(e)),this.hide()}}]),i}(Vi);function Pr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Fr=function(e){me()(i,e);var t=Pr(i);function i(e){return c()(this,i),t.call(this,"insertControl",null,"",e)}return o()(i,[{key:"dropdown",value:function(){return new zr}}]),i}(Wi);function Lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var jr=function(e){me()(i,e);var t=Lr(i);function i(){var e;return c()(this,i),(e=t.call(this,"menu-display-hide","")).state="up",e}return o()(i,[{key:"setUp",value:function(){this.setIcon("menu-display-hide"),this.state="up"}},{key:"setDown",value:function(){this.setIcon("menu-display-show"),this.state="down"}}]),i}(An),Hr={NotPrimitive:0,Rectangle:1,RoundedRectangle:2,Oval:3,Diamond:4,IsoscelesTriangle:5,RightTriangle:6,Parallelogram:7,Trapezoid:8,Hexagon:9,Octagon:10,Cross:11,Star5:12,RightArrow:13,HomePlate:15,Cube:16,Balloon:17,Seal:18,Arc:19,Line:20,Plaque:21,Can:22,Donut:23,TextSimple:24,TextOctagon:25,TextHexagon:26,TextCurve:27,TextWave:28,TextRing:29,TextOnCurve:30,msosptTextOnRing:31,StraightConnector:32,BentConnector2:33,ElbowConnector:34,BentConnector4:35,BentConnector5:36,CurvedConnector2:37,CurvedConnector:38,CurvedConnector4:39,CurvedConnector5:40,LineCalloutNoBorder2:41,LineCalloutNoBorder3:42,LineCalloutNoBorder4:43,LineCalloutWithAccentBar2:44,LineCalloutWithAccentBar3:45,LineCalloutWithAccentBar4:46,LineCalloutWithBorder2:47,LineCalloutWithBorder3:48,LineCalloutWithBorder4:49,LineCalloutWithBorderAndAccentBar2:50,LineCalloutWithBorderAndAccentBar3:51,LineCalloutWithBorderAndAccentBar4:52,DownRibbon:53,UpRibbon:54,Chevron:55,RegularPentagon:56,NoSymbol:57,Star8:58,Star16:59,Star32:60,RectangularCallout:61,RoundedRectangularCallout:62,OvalCallout:63,Wave:64,FoldedCorner:65,LeftArrow:66,DownArrow:67,UpArrow:68,LeftRightArrow:69,UpDownArrow:70,Explosion1:71,Explosion2:72,LightningBolt:73,Heart:74,PictureFrame:75,QuadArrow:76,LeftArrowCallout:77,RightArrowCallout:78,UpArrowCallout:79,DownArrowCallout:80,LeftRightArrowCallout:81,UpDownArrowCallout:82,QuadArrowCallout:83,Bevel:84,LeftBracket:85,RightBracket:86,LeftBrace:87,RightBrace:88,LeftUpArrow:89,BentUpArrow:90,BentArrow:91,Star24:92,StripedRightArrow:93,NotchedRightArrow:94,BlockArc:95,SmileyFace:96,VerticalScroll:97,HorizontalScroll:98,CircularArrow:99,NotchedCircularArrow:100,UTurnArrow:101,CurvedRightArrow:102,CurvedLeftArrow:103,CurvedUpArrow:104,CurvedDownArrow:105,CloudCallout:106,CurvedDownRibbon:107,CurvedUpRibbon:108,FlowChartProcess:109,FlowChartDecision:110,FlowChartData:111,FlowChartPredefinedProcess:112,FlowChartInternalStorage:113,FlowChartDocument:114,FlowChartMultidocument:115,FlowChartTerminator:116,FlowChartPreparation:117,FlowChartManualInput:118,FlowChartManualOperation:119,FlowChartConnector:120,FlowChartCard:121,FlowChartPunchedTape:122,FlowChartSummingJunction:123,FlowChartOr:124,FlowChartCollate:125,FlowChartSort:126,FlowChartExtract:127,FlowChartMerge:128,FlowChartOfflineStorage:129,FlowChartStoredData:130,FlowChartSequentialAccessStorage:131,FlowChartMagneticDisk:132,FlowChartDirectAccessStorage:133,FlowChartDisplay:134,FlowChartDelay:135,TextPlainText:136,TextStop:137,TextTriangle:138,TextTriangleInverted:139,TextChevron:140,TextChevronInverted:141,TextRingInside:142,TextRingOutside:143,TextArchUpCurve:144,TextArchDownCurve:145,TextCircleCurve:146,TextButtonCurve:147,TextArchUpPour:148,TextArchDownPour:149,TextCirclePour:150,TextButtonPour:151,TextCurveUp:152,TextCurveDown:153,TextCascadeUp:154,TextCascadeDown:155,TextWave1:156,TextWave2:157,TextDoubleWave1:158,TextDoubleWave2:159,TextInflate:160,TextDeflate:161,TextInflateBottom:162,TextDeflateBottom:163,TextInflateTop:164,TextDeflateTop:165,TextDeflateInflate:166,TextDeflateInflateDeflate:167,TextFadeRight:168,TextFadeLeft:169,TextFadeUp:170,TextFadeDown:171,TextSlantUp:172,TextSlantDown:173,TextCanUp:174,TextCanDown:175,FlowChartAlternateProcess:176,FlowChartOffpageConnector:177,LineCalloutNoBorder1:178,LineCalloutWithAccentBar1:179,LineCalloutWithBorder1:180,LineCalloutWithBorderAndAccentBar1:181,LeftRightUpArrow:182,Sun:183,Moon:184,DoubleBracket:185,DoubleBrace:186,Star4:187,DoubleWave:188,BlankActionButton:189,HomeActionButton:190,HelpActionButton:191,InformationActionButton:192,ForwardNextActionButton:193,BackPreviousActionButton:194,EndActionButton:195,BeginningActionButton:196,ReturnActionButton:197,DocumentActionButton:198,SoundActionButton:199,MovieActionButton:200,HostControl:201,TextBox:202,Heptagon:2049,Decagon:2050,Dodecagon:2051,Star6:2052,Star7:2053,Star10:2054,Star12:2055,RoundSingleCornerRectangle:2056,RoundSameSideCornerRectangle:2057,RoundDiagonalCornerRectangle:2058,SnipRoundSingleCornerRectangle:2059,SnipSingleCornerRectangle:2060,SnipSameSideCornerRectangle:2061,SnipDiagonalCornerRectangle:2062,Teardrop:2063,Pie:2064,HalfFrame:2066,L_Shape:2067,DiagonalStripe:2068,Chord:2069,Cloud:2070,MathPlus:2071,MathMinus:2072,MathMultiply:2073,MathDivide:2074,MathEqual:2075,MathNotEqual:2076,LineInv:2077,NonIsoscelesTrapezoid:2078,PieWedge:2079,LeftCircularArrow:2080,LeftRightCircularArrow:2081,SwooshArrow:2082,LeftRightRibbon:2083,TextNoShape:2084,Gear6:2097,Gear9:2098,Funnel:2099,CornerTabs:2100,SquareTabs:2101,PlaqueTabs:2102,ChartX:2103,ChartStar:2104,ChartPlus:2105,Frame:2106,RoundCallout:2108,TextArchLeftPour:2109,TextArchRightPour:2110,TextArchLeftCurve:2111,TextArchRightCurve:2112,Unknown:4095},Nr={Rectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n \n >\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1740 v 1332 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path></svg>',RoundedRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path>\n <path\n type="path"\n d="M 456 1690 q -62 0 -117 -24 q -55 -24 -96 -65 q -41 -41 -65 -96 q -24 -55 -24 -118 v -726 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 1136 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 726 q 0 63 -24 118 q -24 55 -65 96 q -41 41 -96 65 q -55 24 -117 24 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path>\n</svg>',SnipSingleCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1434 h 1332 m 409 555 l -452 -452 h -1186 v 1228 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1258 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1434 h 1332 m 409 555 l -452 -452 h -1186 v 1228 h 1638 z"\n ></path>\n</svg>',SnipSameSideCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -922 l 512 -512 h 820 m 409 555 l -452 -452 h -734 l -452 452 v 776 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -850 l 482 -482 h 776 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -922 l 512 -512 h 820 m 409 555 l -452 -452 h -734 l -452 452 v 776 h 1638 z"\n ></path>\n</svg>',SnipDiagonalCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1332 l -512 -512 v -922 h 1332 m 409 555 l -452 -452 h -1186 v 776 l 452 452 h 1186 z"\n ></path>\n <path\n type="path"\n d="M 636 1690 l -482 -482 v -850 h 1258 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1332 l -512 -512 v -922 h 1332 m 409 555 l -452 -452 h -1186 v 776 l 452 452 h 1186 z"\n ></path>\n</svg>',SnipandRoundSingleCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 h 978 m 409 555 l -452 -452 h -935 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1029 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 956 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 h 978 m 409 555 l -452 -452 h -935 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n</svg>',RoundSingleCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1434 m 103 1331 h 1638 v -977 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1438 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 1029 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1434 m 103 1331 h 1638 v -977 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 z"\n ></path>\n</svg>',RoundSameSideCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1136 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1029 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 1136 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 1029 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1136 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n</svg>',RoundDiagonalCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1490 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -1080 m 1741 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 v 977 q 0 52 20 98 q 20 46 54 80 q 34 34 80 53 q 45 20 97 20 h 1387 z"\n ></path>\n <path\n type="path"\n d="M 456 1690 q -62 0 -117 -24 q -55 -24 -96 -65 q -41 -41 -65 -96 q -24 -55 -24 -118 v -1029 h 1438 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 1029 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1490 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -1080 m 1741 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 v 977 q 0 52 20 98 q 20 46 54 80 q 34 34 80 53 q 45 20 97 20 h 1387 z"\n ></path>\n</svg>'},Ur={Oval:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg" height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 307 q 127 0 245 25 q 118 26 221 73 q 102 47 186 112 q 84 65 144 145 q 60 80 93 171 q 33 92 33 191 q 0 99 -33 190 q -33 92 -93 172 q -60 80 -144 145 q -84 65 -186 112 q -103 47 -221 72 q -118 26 -245 26 q -127 0 -245 -26 q -118 -25 -220 -72 q -103 -47 -187 -112 q -84 -65 -144 -145 q -60 -80 -93 -172 q -33 -91 -33 -190 q 0 -99 33 -191 q 33 -91 93 -171 q 60 -80 144 -145 q 84 -65 187 -112 q 102 -47 220 -73 q 118 -25 245 -25 m 0 1331 q 113 0 218 -22 q 104 -22 195 -62 q 91 -40 166 -96 q 75 -56 128 -124 q 53 -68 83 -147 q 29 -78 29 -163 q 0 -85 -29 -164 q -30 -78 -83 -146 q -53 -68 -128 -124 q -75 -56 -166 -96 q -91 -40 -195 -62 q -105 -22 -218 -22 q -113 0 -217 22 q -105 22 -196 62 q -91 40 -166 96 q -75 56 -128 124 q -53 68 -82 146 q -30 79 -30 164 q 0 85 30 163 q 29 79 82 147 q 53 68 128 124 q 75 56 166 96 q 91 40 196 62 q 104 22 217 22 z"\n ></path>\n <path\n type="path"\n d="M 1024 1690 q -120 0 -231 -24 q -111 -24 -208 -68 q -97 -43 -176 -104 q -79 -60 -136 -134 q -57 -74 -88 -159 q -31 -85 -31 -177 q 0 -92 31 -177 q 31 -85 88 -159 q 57 -74 136 -135 q 79 -60 176 -104 q 97 -43 208 -67 q 111 -24 231 -24 q 120 0 231 24 q 111 24 208 67 q 97 44 176 104 q 79 61 136 135 q 57 74 88 159 q 31 85 31 177 q 0 92 -31 177 q -31 85 -88 159 q -57 74 -136 134 q -79 61 -176 104 q -97 44 -208 68 q -111 24 -231 24 z"\n ></path>\n <path\n type="path"\n d="M 1024 307 q 127 0 245 25 q 118 26 221 73 q 102 47 186 112 q 84 65 144 145 q 60 80 93 171 q 33 92 33 191 q 0 99 -33 190 q -33 92 -93 172 q -60 80 -144 145 q -84 65 -186 112 q -103 47 -221 72 q -118 26 -245 26 q -127 0 -245 -26 q -118 -25 -220 -72 q -103 -47 -187 -112 q -84 -65 -144 -145 q -60 -80 -93 -172 q -33 -91 -33 -190 q 0 -99 33 -191 q 33 -91 93 -171 q 60 -80 144 -145 q 84 -65 187 -112 q 102 -47 220 -73 q 118 -25 245 -25 m 0 1331 q 113 0 218 -22 q 104 -22 195 -62 q 91 -40 166 -96 q 75 -56 128 -124 q 53 -68 83 -147 q 29 -78 29 -163 q 0 -85 -29 -164 q -30 -78 -83 -146 q -53 -68 -128 -124 q -75 -56 -166 -96 q -91 -40 -195 -62 q -105 -22 -218 -22 q -113 0 -217 22 q -105 22 -196 62 q -91 40 -166 96 q -75 56 -128 124 q -53 68 -82 146 q -30 79 -30 164 q 0 85 30 163 q 29 79 82 147 q 53 68 128 124 q 75 56 166 96 q 91 40 196 62 q 104 22 217 22 z"\n ></path></svg>',IsoscelesTriangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path>\n <path\n type="path"\n d="M 185 1894 l 839 -1677 l 839 1677 z"\n ></path>\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path></svg>',RightTriangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1946 h -1844 v -1844 m 103 1741 h 1493 l -1493 -1493 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1668 l 1668 1668 z"\n ></path>\n <path\n type="path"\n d="M 1946 1946 h -1844 v -1844 m 103 1741 h 1493 l -1493 -1493 z"\n ></path></svg>',Parallelogram:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path>\n <path\n type="path"\n d="M 172 1792 l 480 -1536 h 1224 l -480 1536 z"\n ></path>\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path></svg>',Trapezoid:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1873 358 l -506 1332 h -686 l -506 -1332 z"\n ></path>\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path></svg>',Diamond:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 l -922 922 l -922 -922 l 922 -922 m 0 1699 l 777 -777 l -777 -777 l -777 777 z"\n ></path>\n <path\n type="path"\n d="M 175 1024 l 849 -849 l 849 849 l -849 849 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 l -922 922 l -922 -922 l 922 -922 m 0 1699 l 777 -777 l -777 -777 l -777 777 z"\n ></path></svg>',Pentagon:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 886 l -357 1060 h -1121 l -366 -1060 l 922 -784 m 801 817 l -801 -682 l -801 682 l 317 924 h 977 z"\n ></path>\n <path\n type="path"\n d="M 504 1894 l -341 -992 l 861 -732 l 861 732 l -332 992 z"\n ></path>\n <path\n type="path"\n d="M 1946 886 l -357 1060 h -1121 l -366 -1060 l 922 -784 m 801 817 l -801 -682 l -801 682 l 317 924 h 977 z"\n ></path></svg>',Pie:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 v 922 m 0 819 q 104 0 202 -25 q 97 -25 183 -71 q 86 -46 159 -111 q 73 -65 129 -145 q 55 -79 91 -172 q 36 -92 49 -193 h -915 v -915 q -101 13 -193 49 q -93 36 -172 91 q -80 56 -145 129 q -65 73 -111 159 q -46 86 -71 183 q -25 98 -25 202 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path>\n <path\n type="path"\n d="M 1024 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -109 26 -212 q 26 -102 75 -194 q 48 -92 117 -170 q 68 -78 153 -138 q 84 -59 183 -98 q 99 -39 207 -52 l 58 -7 v 922 h 922 l -7 58 q -13 109 -52 207 q -39 99 -98 183 q -60 85 -138 153 q -78 69 -170 117 q -92 49 -194 75 q -103 26 -212 26 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 v 922 m 0 819 q 104 0 202 -25 q 97 -25 183 -71 q 86 -46 159 -111 q 73 -65 129 -145 q 55 -79 91 -172 q 36 -92 49 -193 h -915 v -915 q -101 13 -193 49 q -93 36 -172 91 q -80 56 -145 129 q -65 73 -111 159 q -46 86 -71 183 q -25 98 -25 202 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path></svg>',Chord:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 109 0 211 -28 q 102 -27 191 -78 q 89 -50 164 -121 q 74 -70 128 -157 q 54 -86 87 -186 q 32 -100 37 -208 l -859 -859 q -108 5 -208 37 q -100 33 -186 87 q -87 54 -157 128 q -71 75 -121 164 q -51 89 -78 191 q -28 102 -28 211 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path>\n <path\n type="path"\n d="M 1024 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -116 29 -224 q 29 -108 82 -203 q 53 -94 128 -173 q 75 -79 167 -137 q 92 -57 198 -92 q 106 -34 222 -40 l 23 -1 l 891 891 l -1 23 q -6 116 -40 222 q -35 106 -92 198 q -58 92 -137 167 q -79 75 -173 128 q -95 53 -203 82 q -108 29 -224 29 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 109 0 211 -28 q 102 -27 191 -78 q 89 -50 164 -121 q 74 -70 128 -157 q 54 -86 87 -186 q 32 -100 37 -208 l -859 -859 q -108 5 -208 37 q -100 33 -186 87 q -87 54 -157 128 q -71 75 -121 164 q -51 89 -78 191 q -28 102 -28 211 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path></svg>',Teardrop:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 922 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 103 h -819 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 z"\n ></path>\n <path\n type="path"\n d="M 1024 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 136 -176 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 h 870 v 870 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 922 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 103 h -819 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 z"\n ></path></svg>',Frame:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 1741 103 h -1638 v 1638 h 1638 m -205 -1433 v 1228 h -1228 v -1228 m 1126 102 h -1024 v 1024 h 1024 z"\n ></path>\n <path\n type="path"\n d="M 1894 154 v 1740 h -1740 v -1740 m 1433 307 h -1126 v 1126 h 1126 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 1741 103 h -1638 v 1638 h 1638 m -205 -1433 v 1228 h -1228 v -1228 m 1126 102 h -1024 v 1024 h 1024 z"\n ></path></svg>',HalfFrame:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 l -410 410 h -1024 v 1024 l -410 410 v -1844 m 1596 103 h -1493 v 1493 l 205 -204 v -1084 h 1084 z"\n ></path>\n <path\n type="path"\n d="M 154 154 h 1668 l -307 307 h -1054 v 1054 l -307 307 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 l -410 410 h -1024 v 1024 l -410 410 v -1844 m 1596 103 h -1493 v 1493 l 205 -204 v -1084 h 1084 z"\n ></path></svg>',LShape:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1126 v 820 h -1844 v -1844 h 820 v 1024 m 921 103 h -1024 v -1024 h -614 v 1638 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 870 154 v 1024 h 1024 v 716 h -1740 v -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 1126 v 820 h -1844 v -1844 h 820 v 1024 m 921 103 h -1024 v -1024 h -614 v 1638 h 1638 z"\n ></path></svg>',DiagonalStripe:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 l -1844 1844 v -1024 l 820 -820 m -717 1596 l 1493 -1493 h -734 l -759 759 z"\n ></path>\n <path\n type="path"\n d="M 154 943 l 789 -789 h 879 l -1668 1668 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 l -1844 1844 v -1024 l 820 -820 m -717 1596 l 1493 -1493 h -734 l -759 759 z"\n ></path></svg>',Cross:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 614 v 820 h -512 v 512 h -820 v -512 h -512 v -820 h 512 v -512 h 820 v 512 m 409 103 h -512 v -512 h -614 v 512 h -512 v 614 h 512 v 512 h 614 v -512 h 512 z"\n ></path>\n <path\n type="path"\n d="M 666 1894 v -512 h -512 v -716 h 512 v -512 h 716 v 512 h 512 v 716 h -512 v 512 z"\n ></path>\n <path\n type="path"\n d="M 1946 614 v 820 h -512 v 512 h -820 v -512 h -512 v -820 h 512 v -512 h 820 v 512 m 409 103 h -512 v -512 h -614 v 512 h -512 v 614 h 512 v 512 h 614 v -512 h 512 z"\n ></path></svg>',Plaque:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 102 q 0 96 28 172 q 28 76 81 129 q 53 53 129 81 q 76 28 172 28 v 1024 q -96 0 -172 28 q -76 28 -129 81 q -53 53 -81 129 q -28 76 -28 172 h -1024 q 0 -94 -28 -170 q -28 -76 -81 -129 q -53 -53 -129 -82 q -76 -29 -172 -29 v -1024 q 96 0 172 -29 q 76 -29 129 -82 q 53 -53 81 -129 q 28 -76 28 -170 m 1331 512 q -77 0 -150 -35 q -74 -35 -131 -93 q -58 -57 -93 -131 q -35 -73 -35 -150 h -820 q 0 77 -35 150 q -35 74 -92 131 q -58 58 -131 93 q -74 35 -151 35 v 820 q 77 0 151 35 q 73 35 131 92 q 57 58 92 131 q 35 74 35 151 h 820 q 0 -77 35 -151 q 35 -73 93 -131 q 57 -57 131 -92 q 73 -35 150 -35 z"\n ></path>\n <path\n type="path"\n d="M 563 1894 v -51 q 0 -66 -31 -131 q -31 -64 -81 -115 q -51 -50 -115 -81 q -65 -31 -131 -31 h -51 v -922 h 51 q 66 0 131 -31 q 64 -31 115 -82 q 50 -50 81 -115 q 31 -64 31 -130 v -51 h 922 v 51 q 0 66 31 130 q 31 65 82 115 q 50 51 115 82 q 64 31 130 31 h 51 v 922 h -51 q -66 0 -130 31 q -65 31 -115 81 q -51 51 -82 115 q -31 65 -31 131 v 51 z"\n ></path>\n <path\n type="path"\n d="M 1536 102 q 0 96 28 172 q 28 76 81 129 q 53 53 129 81 q 76 28 172 28 v 1024 q -96 0 -172 28 q -76 28 -129 81 q -53 53 -81 129 q -28 76 -28 172 h -1024 q 0 -94 -28 -170 q -28 -76 -81 -129 q -53 -53 -129 -82 q -76 -29 -172 -29 v -1024 q 96 0 172 -29 q 76 -29 129 -82 q 53 -53 81 -129 q 28 -76 28 -170 m 1331 512 q -77 0 -150 -35 q -74 -35 -131 -93 q -58 -57 -93 -131 q -35 -73 -35 -150 h -820 q 0 77 -35 150 q -35 74 -92 131 q -58 58 -131 93 q -74 35 -151 35 v 820 q 77 0 151 35 q 73 35 131 92 q 57 58 92 131 q 35 74 35 151 h 820 q 0 -77 35 -151 q 35 -73 93 -131 q 57 -57 131 -92 q 73 -35 150 -35 z"\n ></path></svg>',Can:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 148 0 279 20 q 131 20 228 55 q 97 35 154 81 q 56 47 56 100 v 1383 q -25 44 -91 81 q -67 38 -162 65 q -96 28 -215 43 q -119 16 -249 16 q -130 0 -249 -16 q -119 -15 -214 -43 q -96 -27 -162 -65 q -67 -37 -92 -81 v -1383 q 0 -53 57 -100 q 56 -46 153 -81 q 97 -35 228 -55 q 130 -20 279 -20 m 615 405 q -42 25 -95 42 q -53 17 -111 29 q -58 12 -118 19 q -60 7 -114 11 q -54 4 -100 5 q -46 1 -77 1 q -31 0 -76 -1 q -46 -1 -100 -5 q -55 -4 -114 -11 q -60 -7 -118 -19 q -58 -12 -111 -29 q -53 -17 -95 -42 v 1199 q 22 20 73 44 q 50 24 128 44 q 77 21 181 35 q 104 14 232 14 q 128 0 232 -14 q 104 -14 182 -35 q 77 -20 128 -44 q 50 -24 72 -44 m -614 -1501 q -127 0 -239 12 q -112 12 -195 33 q -83 21 -131 49 q -49 28 -49 59 q 0 32 49 60 q 48 28 131 49 q 83 21 195 33 q 112 12 239 12 q 127 0 239 -12 q 112 -12 195 -33 q 83 -21 132 -49 q 48 -28 48 -60 q 0 -31 -48 -59 q -49 -28 -132 -49 q -83 -21 -195 -33 q -112 -12 -239 -12 z"\n ></path>\n <path\n type="path"\n d="M 1024 154 q 132 0 253 15 q 121 16 213 43 q 91 27 146 64 q 54 38 54 82 v 1332 q 0 44 -54 81 q -55 38 -146 65 q -92 27 -213 42 q -121 16 -253 16 q -132 0 -253 -16 q -121 -15 -212 -42 q -92 -27 -146 -65 q -55 -37 -55 -81 v -1332 q 0 -44 55 -82 q 54 -37 146 -64 q 91 -27 212 -43 q 121 -15 253 -15 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 148 0 279 20 q 131 20 228 55 q 97 35 154 81 q 56 47 56 100 v 1383 q -25 44 -91 81 q -67 38 -162 65 q -96 28 -215 43 q -119 16 -249 16 q -130 0 -249 -16 q -119 -15 -214 -43 q -96 -27 -162 -65 q -67 -37 -92 -81 v -1383 q 0 -53 57 -100 q 56 -46 153 -81 q 97 -35 228 -55 q 130 -20 279 -20 m 615 405 q -42 25 -95 42 q -53 17 -111 29 q -58 12 -118 19 q -60 7 -114 11 q -54 4 -100 5 q -46 1 -77 1 q -31 0 -76 -1 q -46 -1 -100 -5 q -55 -4 -114 -11 q -60 -7 -118 -19 q -58 -12 -111 -29 q -53 -17 -95 -42 v 1199 q 22 20 73 44 q 50 24 128 44 q 77 21 181 35 q 104 14 232 14 q 128 0 232 -14 q 104 -14 182 -35 q 77 -20 128 -44 q 50 -24 72 -44 m -614 -1501 q -127 0 -239 12 q -112 12 -195 33 q -83 21 -131 49 q -49 28 -49 59 q 0 32 49 60 q 48 28 131 49 q 83 21 195 33 q 112 12 239 12 q 127 0 239 -12 q 112 -12 195 -33 q 83 -21 132 -49 q 48 -28 48 -60 q 0 -31 -48 -59 q -49 -28 -132 -49 q -83 -21 -195 -33 q -112 -12 -239 -12 z"\n ></path></svg>',Cube:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1280 l -564 564 h -1280 v -1280 l 564 -564 m 665 615 h -1126 v 1126 h 1126 m 51 -1229 l 410 -409 h -1075 l -410 409 m 1536 -307 l -409 410 v 1024 l 409 -410 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1207 l 533 -533 h 1207 v 1207 l -533 533 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1280 l -564 564 h -1280 v -1280 l 564 -564 m 665 615 h -1126 v 1126 h 1126 m 51 -1229 l 410 -409 h -1075 l -410 409 m 1536 -307 l -409 410 v 1024 l 409 -410 z"\n ></path></svg>',Bevel:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 175 103 l 205 205 h 1084 l 205 -205 m -235 1331 v -1024 h -1024 v 1024 m -307 235 l 205 -205 v -1084 l -205 -205 m 1566 1566 l -205 -205 h -1084 l -205 205 m 1566 -1566 l -205 205 v 1084 l 205 205 z"\n ></path>\n <path\n type="path"\n d="M 154 154 h 1740 v 1740 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 175 103 l 205 205 h 1084 l 205 -205 m -235 1331 v -1024 h -1024 v 1024 m -307 235 l 205 -205 v -1084 l -205 -205 m 1566 1566 l -205 -205 h -1084 l -205 205 m 1566 -1566 l -205 205 v 1084 l 205 205 z"\n ></path></svg>',Donut:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 m 0 -1331 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 q 0 106 -40 199 q -40 94 -109 163 q -70 70 -163 110 q -94 40 -200 40 q -106 0 -199 -40 q -94 -40 -163 -110 q -70 -69 -110 -163 q -40 -93 -40 -199 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 m 0 922 q 85 0 160 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 159 33 z"\n ></path>\n <path\n type="path"\n d="M 1024 154 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 79 136 176 q 57 97 88 208 q 31 111 31 231 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 136 -176 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 m 0 1331 q 95 0 179 -37 q 84 -36 147 -99 q 62 -62 99 -146 q 36 -84 36 -179 q 0 -95 -36 -179 q -37 -84 -99 -147 q -63 -62 -147 -99 q -84 -36 -179 -36 q -95 0 -179 36 q -84 37 -146 99 q -63 63 -99 147 q -37 84 -37 179 q 0 95 37 179 q 36 84 99 146 q 62 63 146 99 q 84 37 179 37 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 m 0 -1331 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 q 0 106 -40 199 q -40 94 -109 163 q -70 70 -163 110 q -94 40 -200 40 q -106 0 -199 -40 q -94 -40 -163 -110 q -70 -69 -110 -163 q -40 -93 -40 -199 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 m 0 922 q 85 0 160 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 159 33 z"\n ></path></svg>',BlockArc:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 512 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 v 102 h -512 v -102 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 v 102 h -512 v -102 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 922 q 0 -113 -29 -218 q -30 -104 -83 -196 q -53 -91 -128 -166 q -75 -74 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 54 -166 128 q -75 75 -128 166 q -53 92 -82 196 q -30 105 -30 218 h 307 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 z"\n ></path>\n <path\n type="path"\n d="M 1485 1485 v -51 q 0 -96 -36 -180 q -37 -84 -99 -147 q -63 -62 -147 -98 q -84 -36 -179 -36 q -95 0 -179 36 q -84 36 -146 98 q -63 63 -99 147 q -37 84 -37 180 v 51 h -409 v -51 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 136 -177 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 177 q 57 97 88 208 q 31 111 31 231 v 51 z"\n ></path>\n <path\n type="path"\n d="M 1024 512 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 v 102 h -512 v -102 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 v 102 h -512 v -102 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 922 q 0 -113 -29 -218 q -30 -104 -83 -196 q -53 -91 -128 -166 q -75 -74 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 54 -166 128 q -75 75 -128 166 q -53 92 -82 196 q -30 105 -30 218 h 307 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 z"\n ></path></svg>',FoldedCorner:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1229 l -615 615 h -1229 v -1844 m 1229 1699 l 470 -470 h -470 m 512 -1126 h -1638 v 1638 h 1024 v -614 h 614 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 1740 v 1156 l -584 584 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1229 l -615 615 h -1229 v -1844 m 1229 1699 l 470 -470 h -470 m 512 -1126 h -1638 v 1638 h 1024 v -614 h 614 z"\n ></path></svg>',Heart:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1531 108 q 67 7 137 41 q 70 34 129 95 q 58 62 99 151 q 40 90 50 208 v 104 q -9 113 -59 239 q -51 126 -158 267 q -108 141 -280 298 q -172 157 -423 331 q -251 -174 -423 -331 q -172 -157 -280 -298 q -109 -141 -160 -267 q -52 -126 -61 -239 v -104 q 10 -118 51 -208 q 40 -89 99 -151 q 58 -61 128 -95 q 69 -34 137 -41 q 23 -2 44 -3 q 20 -1 40 -1 q 78 0 138 16 q 60 16 109 45 q 49 30 91 71 q 42 41 85 92 q 43 -51 85 -92 q 42 -41 91 -71 q 49 -29 109 -45 q 60 -16 138 -16 q 20 0 41 1 q 20 1 43 3 m 312 503 q -8 -96 -39 -169 q -31 -72 -76 -122 q -46 -50 -100 -78 q -54 -27 -107 -32 q -20 -2 -38 -3 q -19 -1 -36 -1 q -60 0 -106 11 q -46 11 -85 33 q -39 23 -75 58 q -37 36 -79 86 l -78 93 l -78 -93 q -42 -50 -78 -86 q -37 -35 -76 -58 q -40 -22 -85 -33 q -46 -11 -106 -11 q -17 0 -35 1 q -19 1 -39 3 q -53 5 -107 32 q -54 28 -99 77 q -46 49 -77 120 q -32 71 -39 164 v 96 q 17 227 224 482 q 206 256 597 535 q 389 -277 594 -531 q 205 -254 223 -478 z"\n ></path>\n <path\n type="path"\n d="M 997 1758 q -401 -286 -612 -551 q -212 -265 -231 -504 v -101 q 9 -106 45 -187 q 35 -80 87 -135 q 52 -55 114 -85 q 62 -30 122 -36 q 21 -2 41 -3 q 19 -1 38 -1 q 67 0 119 12 q 51 13 96 38 q 44 26 85 65 q 40 39 84 91 l 39 46 l 39 -46 q 44 -52 85 -91 q 40 -39 85 -65 q 44 -25 96 -38 q 51 -12 118 -12 q 19 0 39 1 q 19 1 40 3 q 60 6 122 36 q 62 31 114 86 q 51 56 87 137 q 36 82 45 189 v 100 q -19 240 -229 503 q -211 264 -609 548 l -30 21 z"\n ></path>\n <path\n type="path"\n d="M 1531 108 q 67 7 137 41 q 70 34 129 95 q 58 62 99 151 q 40 90 50 208 v 104 q -9 113 -59 239 q -51 126 -158 267 q -108 141 -280 298 q -172 157 -423 331 q -251 -174 -423 -331 q -172 -157 -280 -298 q -109 -141 -160 -267 q -52 -126 -61 -239 v -104 q 10 -118 51 -208 q 40 -89 99 -151 q 58 -61 128 -95 q 69 -34 137 -41 q 23 -2 44 -3 q 20 -1 40 -1 q 78 0 138 16 q 60 16 109 45 q 49 30 91 71 q 42 41 85 92 q 43 -51 85 -92 q 42 -41 91 -71 q 49 -29 109 -45 q 60 -16 138 -16 q 20 0 41 1 q 20 1 43 3 m 312 503 q -8 -96 -39 -169 q -31 -72 -76 -122 q -46 -50 -100 -78 q -54 -27 -107 -32 q -20 -2 -38 -3 q -19 -1 -36 -1 q -60 0 -106 11 q -46 11 -85 33 q -39 23 -75 58 q -37 36 -79 86 l -78 93 l -78 -93 q -42 -50 -78 -86 q -37 -35 -76 -58 q -40 -22 -85 -33 q -46 -11 -106 -11 q -17 0 -35 1 q -19 1 -39 3 q -53 5 -107 32 q -54 28 -99 77 q -46 49 -77 120 q -32 71 -39 164 v 96 q 17 227 224 482 q 206 256 597 535 q 389 -277 594 -531 q 205 -254 223 -478 z"\n ></path></svg>',LightningBolt:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 912 819 l -363 -717 h 587 l 605 1127 h -484 l 423 717 h -284 l -1089 -1127 m 1133 1024 h 61 l -424 -717 h 493 l -496 -921 h -358 l 363 717 h -530 z"\n ></path>\n <path\n type="path"\n d="M 1418 1894 l -990 -1024 h 568 l -363 -716 h 472 l 550 1024 h -488 l 424 716 z"\n ></path>\n <path\n type="path"\n d="M 912 819 l -363 -717 h 587 l 605 1127 h -484 l 423 717 h -284 l -1089 -1127 m 1133 1024 h 61 l -424 -717 h 493 l -496 -921 h -358 l 363 717 h -530 z"\n ></path></svg>',Sun:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 410 q 85 0 164 22 q 78 22 146 62 q 68 40 124 96 q 56 56 96 124 q 40 68 62 146 q 22 79 22 164 q 0 85 -22 163 q -22 79 -62 147 q -40 68 -96 124 q -56 56 -124 96 q -68 40 -146 62 q -79 22 -164 22 q -85 0 -163 -22 q -79 -22 -147 -62 q -68 -40 -124 -96 q -56 -56 -96 -124 q -40 -68 -62 -147 q -22 -78 -22 -163 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 124 -96 q 68 -40 147 -62 q 78 -22 163 -22 m 0 1126 q 106 0 199 -41 q 93 -40 163 -110 q 69 -69 110 -162 q 40 -93 40 -199 q 0 -106 -40 -199 q -41 -93 -110 -163 q -70 -69 -163 -110 q -93 -40 -199 -40 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 106 41 199 q 40 93 110 162 q 69 70 162 110 q 93 41 199 41 m 717 -1229 v 307 l -307 -307 m 512 717 l -205 205 v -410 m 0 615 v 307 h -307 m -820 -1434 l -307 307 v -307 m 0 512 v 410 l -205 -205 m 512 717 h -307 v -307 m 512 307 h 410 l -205 205 m 0 -1844 l 205 205 h -410 z"\n ></path>\n <path\n type="path"\n d="M 1024 1587 q -116 0 -218 -45 q -103 -44 -179 -121 q -77 -76 -121 -179 q -45 -102 -45 -218 q 0 -116 45 -219 q 44 -102 121 -179 q 76 -76 179 -121 q 102 -44 218 -44 q 116 0 219 44 q 102 45 179 121 q 76 77 121 179 q 44 103 44 219 q 0 116 -44 218 q -45 103 -121 179 q -77 77 -179 121 q -103 45 -219 45 z"\n ></path>\n <path\n type="path"\n d="M 1024 410 q 85 0 164 22 q 78 22 146 62 q 68 40 124 96 q 56 56 96 124 q 40 68 62 146 q 22 79 22 164 q 0 85 -22 163 q -22 79 -62 147 q -40 68 -96 124 q -56 56 -124 96 q -68 40 -146 62 q -79 22 -164 22 q -85 0 -163 -22 q -79 -22 -147 -62 q -68 -40 -124 -96 q -56 -56 -96 -124 q -40 -68 -62 -147 q -22 -78 -22 -163 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 124 -96 q 68 -40 147 -62 q 78 -22 163 -22 m 0 1126 q 106 0 199 -41 q 93 -40 163 -110 q 69 -69 110 -162 q 40 -93 40 -199 q 0 -106 -40 -199 q -41 -93 -110 -163 q -70 -69 -163 -110 q -93 -40 -199 -40 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 106 41 199 q 40 93 110 162 q 69 70 162 110 q 93 41 199 41 m 717 -1229 v 307 l -307 -307 m 512 717 l -205 205 v -410 m 0 615 v 307 h -307 m -820 -1434 l -307 307 v -307 m 0 512 v 410 l -205 -205 m 512 717 h -307 v -307 m 512 307 h 410 l -205 205 m 0 -1844 l 205 205 h -410 z"\n ></path></svg>',Moon:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 1024 q 0 143 42 274 q 41 131 116 241 q 74 111 178 196 q 103 86 227 138 q -83 35 -172 54 q -90 19 -186 19 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 q 96 0 186 19 q 89 19 172 54 q -124 53 -227 138 q -104 86 -178 196 q -75 110 -116 241 q -42 131 -42 274 m 205 819 q 24 0 48 -2 q 23 -1 47 -3 q -94 -72 -168 -163 q -75 -91 -127 -196 q -52 -105 -79 -220 q -28 -115 -28 -235 q 0 -120 28 -235 q 27 -115 79 -220 q 52 -105 127 -196 q 74 -91 168 -163 q -24 -2 -47 -4 q -24 -1 -48 -1 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path>\n <path\n type="path"\n d="M 1229 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 137 -176 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 q 114 0 227 29 q -111 65 -200 155 q -90 90 -153 199 q -63 109 -96 232 q -34 124 -34 255 q 0 131 34 254 q 33 124 96 233 q 63 109 153 199 q 89 90 200 155 q -113 29 -227 29 z"\n ></path>\n <path\n type="path"\n d="M 1024 1024 q 0 143 42 274 q 41 131 116 241 q 74 111 178 196 q 103 86 227 138 q -83 35 -172 54 q -90 19 -186 19 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 q 96 0 186 19 q 89 19 172 54 q -124 53 -227 138 q -104 86 -178 196 q -75 110 -116 241 q -42 131 -42 274 m 205 819 q 24 0 48 -2 q 23 -1 47 -3 q -94 -72 -168 -163 q -75 -91 -127 -196 q -52 -105 -79 -220 q -28 -115 -28 -235 q 0 -120 28 -235 q 27 -115 79 -220 q 52 -105 127 -196 q 74 -91 168 -163 q -24 -2 -47 -4 q -24 -1 -48 -1 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path></svg>',Cloud:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 666 q 0 84 -28 157 q -29 73 -78 133 q 49 55 78 124 q 28 70 28 149 q 0 85 -32 159 q -33 75 -88 130 q -56 56 -130 88 q -75 32 -160 32 q -38 0 -74 -7 q -36 -7 -70 -20 q -25 51 -63 94 q -38 43 -85 73 q -48 31 -103 48 q -56 17 -117 17 q -71 0 -134 -23 q -63 -22 -115 -62 q -52 -40 -89 -95 q -37 -55 -55 -120 q -42 45 -98 70 q -57 25 -123 25 q -64 0 -120 -24 q -56 -24 -98 -66 q -42 -41 -66 -97 q -24 -56 -24 -120 q 0 -60 22 -113 q 22 -52 60 -94 q -39 -69 -60 -145 q -22 -75 -22 -160 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 125 -96 q 68 -40 147 -62 q 78 -22 163 -22 q 121 0 228 44 q 107 44 189 120 q 64 -75 155 -120 q 90 -44 196 -44 q 95 0 179 36 q 84 36 147 98 q 62 63 99 147 q 36 84 36 180 m -103 563 q 0 -57 -20 -109 q -21 -52 -59 -95 l -59 -66 l 55 -68 q 42 -51 63 -107 q 20 -55 20 -118 q 0 -74 -28 -140 q -28 -65 -77 -114 q -49 -48 -114 -77 q -65 -28 -139 -28 q -79 0 -150 33 q -71 34 -123 96 l -69 82 l -78 -74 q -72 -67 -161 -101 q -90 -34 -187 -36 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 136 68 254 l 37 65 l -51 55 q -27 29 -40 65 q -14 36 -14 73 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 q 42 0 80 -17 q 37 -16 67 -47 l 124 -129 l 49 173 q 14 50 43 91 q 28 41 67 71 q 39 30 86 46 q 47 17 98 17 q 90 0 163 -47 q 72 -47 112 -128 l 41 -84 l 88 33 q 55 21 108 21 q 63 0 119 -24 q 56 -24 98 -66 q 42 -42 66 -98 q 24 -56 24 -119 z"\n ></path>\n <path\n type="path"\n d="M 1024 1792 q -60 0 -115 -20 q -55 -19 -100 -54 q -46 -34 -79 -83 q -34 -48 -50 -106 l -24 -86 l -62 65 q -37 38 -83 58 q -47 21 -101 21 q -54 0 -101 -21 q -47 -20 -81 -55 q -35 -35 -54 -83 q -20 -47 -20 -100 q 0 -48 18 -91 q 18 -42 50 -78 l 25 -28 l -19 -32 q -38 -64 -56 -135 q -18 -71 -18 -145 q 0 -116 44 -219 q 44 -102 121 -179 q 76 -76 179 -121 q 102 -44 219 -44 q 106 0 206 38 q 99 39 177 113 l 39 37 l 35 -41 q 61 -72 140 -110 q 79 -37 171 -37 q 85 0 160 32 q 74 33 130 88 q 55 56 87 130 q 32 75 32 160 q 0 70 -23 135 q -23 66 -71 123 l -28 34 l 30 32 q 45 51 69 112 q 23 61 23 127 q 0 74 -28 139 q -28 65 -76 114 q -49 49 -114 77 q -66 28 -140 28 q -63 0 -126 -24 l -44 -17 l -20 43 q -23 47 -56 84 q -34 38 -76 64 q -42 27 -90 41 q -48 14 -100 14 z"\n ></path>\n <path\n type="path"\n d="M 1946 666 q 0 84 -28 157 q -29 73 -78 133 q 49 55 78 124 q 28 70 28 149 q 0 85 -32 159 q -33 75 -88 130 q -56 56 -130 88 q -75 32 -160 32 q -38 0 -74 -7 q -36 -7 -70 -20 q -25 51 -63 94 q -38 43 -85 73 q -48 31 -103 48 q -56 17 -117 17 q -71 0 -134 -23 q -63 -22 -115 -62 q -52 -40 -89 -95 q -37 -55 -55 -120 q -42 45 -98 70 q -57 25 -123 25 q -64 0 -120 -24 q -56 -24 -98 -66 q -42 -41 -66 -97 q -24 -56 -24 -120 q 0 -60 22 -113 q 22 -52 60 -94 q -39 -69 -60 -145 q -22 -75 -22 -160 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 125 -96 q 68 -40 147 -62 q 78 -22 163 -22 q 121 0 228 44 q 107 44 189 120 q 64 -75 155 -120 q 90 -44 196 -44 q 95 0 179 36 q 84 36 147 98 q 62 63 99 147 q 36 84 36 180 m -103 563 q 0 -57 -20 -109 q -21 -52 -59 -95 l -59 -66 l 55 -68 q 42 -51 63 -107 q 20 -55 20 -118 q 0 -74 -28 -140 q -28 -65 -77 -114 q -49 -48 -114 -77 q -65 -28 -139 -28 q -79 0 -150 33 q -71 34 -123 96 l -69 82 l -78 -74 q -72 -67 -161 -101 q -90 -34 -187 -36 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 136 68 254 l 37 65 l -51 55 q -27 29 -40 65 q -14 36 -14 73 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 q 42 0 80 -17 q 37 -16 67 -47 l 124 -129 l 49 173 q 14 50 43 91 q 28 41 67 71 q 39 30 86 46 q 47 17 98 17 q 90 0 163 -47 q 72 -47 112 -128 l 41 -84 l 88 33 q 55 21 108 21 q 63 0 119 -24 q 56 -24 98 -66 q 42 -42 66 -98 q 24 -56 24 -119 z"\n ></path></svg>',Arc:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1843 h -103 q 0 -191 -22 -354 q -23 -162 -72 -300 q -50 -138 -128 -255 q -78 -116 -189 -214 q -107 -94 -226 -162 q -120 -67 -242 -113 q -122 -46 -240 -73 q -118 -27 -222 -42 q -104 -14 -188 -19 q -84 -4 -137 -4 q -35 0 -54 1 q -20 1 -21 1 v -102 q 4 0 21 -1 q 16 -1 44 -1 q 52 0 138 5 q 85 5 193 20 q 108 16 233 46 q 124 30 254 80 q 129 50 258 123 q 129 74 245 177 q 118 105 205 228 q 86 124 142 270 q 56 146 84 317 q 27 172 27 372 z"\n ></path>\n <path\n type="path"\n d="M 1946 1843 h -103 q 0 -191 -22 -354 q -23 -162 -72 -300 q -50 -138 -128 -255 q -78 -116 -189 -214 q -107 -94 -226 -162 q -120 -67 -242 -113 q -122 -46 -240 -73 q -118 -27 -222 -42 q -104 -14 -188 -19 q -84 -4 -137 -4 q -35 0 -54 1 q -20 1 -21 1 v -102 q 4 0 21 -1 q 16 -1 44 -1 q 52 0 138 5 q 85 5 193 20 q 108 16 233 46 q 124 30 254 80 q 129 50 258 123 q 129 74 245 177 q 118 105 205 228 q 86 124 142 270 q 56 146 84 317 q 27 172 27 372 z"\n ></path></svg>',DoubleBracket:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 717 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -25 -56 -25 -119 v -1228 q 0 -63 25 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 m 1228 -1741 q 63 0 119 24 q 56 25 98 67 q 42 42 67 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -25 56 -67 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path>\n <path\n type="path"\n d="M 717 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -25 -56 -25 -119 v -1228 q 0 -63 25 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 m 1228 -1741 q 63 0 119 24 q 56 25 98 67 q 42 42 67 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -25 56 -67 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path></svg>',DoubleBrace:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1843 1126 q -38 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 77 -22 118 q -23 42 -55 61 q -33 20 -68 23 q -35 3 -59 3 h -103 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 27 0 q 11 1 33 1 q 38 0 59 -16 q 20 -15 30 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 29 -39 66 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -66 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -35 -30 q -23 -11 -51 -13 h -103 v -103 h 103 q 57 3 102 26 q 19 10 38 24 q 18 15 32 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 37 10 75 10 m -1638 0 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path>\n <path\n type="path"\n d="M 1843 1126 q -38 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 77 -22 118 q -23 42 -55 61 q -33 20 -68 23 q -35 3 -59 3 h -103 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 27 0 q 11 1 33 1 q 38 0 59 -16 q 20 -15 30 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 29 -39 66 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -66 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -35 -30 q -23 -11 -51 -13 h -103 v -103 h 103 q 57 3 102 26 q 19 10 38 24 q 18 15 32 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 37 10 75 10 m -1638 0 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path></svg>',LeftBracket:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1331 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -24 -56 -24 -119 v -1228 q 0 -63 24 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 z"\n ></path>\n <path\n type="path"\n d="M 1331 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -24 -56 -24 -119 v -1228 q 0 -63 24 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 z"\n ></path></svg>',RightBracket:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 63 0 119 24 q 56 25 98 67 q 42 42 66 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -24 56 -66 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 63 0 119 24 q 56 25 98 67 q 42 42 66 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -24 56 -66 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path></svg>',LeftBrace:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 717 922 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path>\n <path\n type="path"\n d="M 717 922 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path></svg>',RightBrace:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1229 1126 q -39 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 51 -10 86 q -11 35 -28 58 q -18 23 -40 35 q -22 13 -44 18 q -23 6 -45 7 q -22 1 -38 1 h -102 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 26 0 q 11 1 33 1 q 38 0 59 -16 q 21 -15 31 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 28 -39 65 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -65 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -36 -30 q -23 -11 -51 -13 h -102 v -103 h 102 q 57 3 102 26 q 19 10 38 24 q 18 15 33 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 36 10 75 10 z"\n ></path>\n <path\n type="path"\n d="M 1229 1126 q -39 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 51 -10 86 q -11 35 -28 58 q -18 23 -40 35 q -22 13 -44 18 q -23 6 -45 7 q -22 1 -38 1 h -102 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 26 0 q 11 1 33 1 q 38 0 59 -16 q 21 -15 31 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 28 -39 65 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -65 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -36 -30 q -23 -11 -51 -13 h -102 v -103 h 102 q 57 3 102 26 q 19 10 38 24 q 18 15 33 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 36 10 75 10 z"\n ></path></svg>'},Xr={RightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 v -820 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -1024 v 614 z"\n ></path>\n <path\n type="path"\n d="M 1178 1382 h -1024 v -716 h 1024 v -338 l 695 696 l -695 696 z"\n ></path>\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 v -820 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -1024 v 614 z"\n ></path></svg>',LeftArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 922 205 v 409 h 1024 v 820 h -1024 v 409 l -820 -819 m 717 -307 v -265 l -572 572 l 572 572 v -265 h 1024 v -614 z"\n ></path>\n <path\n type="path"\n d="M 870 666 h 1024 v 716 h -1024 v 338 l -695 -696 l 695 -696 z"\n ></path>\n <path\n type="path"\n d="M 922 205 v 409 h 1024 v 820 h -1024 v 409 l -820 -819 m 717 -307 v -265 l -572 572 l 572 572 v -265 h 1024 v -614 z"\n ></path>\n</svg>',UpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1843 922 h -409 v 1024 h -820 v -1024 h -409 l 819 -820 m 307 717 h 265 l -572 -572 l -572 572 h 265 v 1024 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1382 870 v 1024 h -716 v -1024 h -338 l 696 -695 l 696 695 z"\n ></path>\n <path\n type="path"\n d="M 1843 922 h -409 v 1024 h -820 v -1024 h -409 l 819 -820 m 307 717 h 265 l -572 -572 l -572 572 h 265 v 1024 h 614 z"\n ></path>\n</svg>',DownArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 205 1126 h 409 v -1024 h 820 v 1024 h 409 l -819 820 m -307 -717 h -265 l 572 572 l 572 -572 h -265 v -1024 h -614 z"\n ></path>\n <path\n type="path"\n d="M 666 1178 v -1024 h 716 v 1024 h 338 l -696 695 l -696 -695 z"\n ></path>\n <path\n type="path"\n d="M 205 1126 h 409 v -1024 h 820 v 1024 h 409 l -819 820 m -307 -717 h -265 l 572 572 l 572 -572 h -265 v -1024 h -614 z"\n ></path>\n</svg>',LeftRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1331 1638 v -307 h -614 v 307 l -615 -614 l 615 -614 v 307 h 614 v -307 l 615 614 m -512 205 v 162 l 367 -367 l -367 -367 v 162 h -820 v -162 l -367 367 l 367 367 v -162 z"\n ></path>\n <path\n type="path"\n d="M 1382 1280 h -716 v 235 l -491 -491 l 491 -491 v 235 h 716 v -235 l 491 491 l -491 491 z"\n ></path>\n <path\n type="path"\n d="M 1331 1638 v -307 h -614 v 307 l -615 -614 l 615 -614 v 307 h 614 v -307 l 615 614 m -512 205 v 162 l 367 -367 l -367 -367 v 162 h -820 v -162 l -367 367 l 367 367 v -162 z"\n ></path>\n</svg>',UpDownArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 410 1331 h 307 v -614 h -307 l 614 -615 l 614 615 h -307 v 614 h 307 l -614 615 m -205 -512 h -162 l 367 367 l 367 -367 h -162 v -820 h 162 l -367 -367 l -367 367 h 162 z"\n ></path>\n <path\n type="path"\n d="M 768 1382 v -716 h -235 l 491 -491 l 491 491 h -235 v 716 h 235 l -491 491 l -491 -491 z"\n ></path>\n <path\n type="path"\n d="M 410 1331 h 307 v -614 h -307 l 614 -615 l 614 615 h -307 v 614 h 307 l -614 615 m -205 -512 h -162 l 367 367 l 367 -367 h -162 v -820 h 162 l -367 -367 l -367 367 h 162 z"\n ></path>\n</svg>',QuadArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1434 v -205 h -307 v 307 h 205 l -410 410 l -410 -410 h 205 v -307 h -307 v 205 l -410 -410 l 410 -410 v 205 h 307 v -307 h -205 l 410 -410 l 410 410 h -205 v 307 h 307 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -512 v -512 h 60 l -162 -163 l -162 163 h 60 v 512 h -512 v -60 l -163 162 l 163 162 v -60 h 512 v 512 h -60 l 162 163 l 162 -163 h -60 v -512 z"\n ></path>\n <path\n type="path"\n d="M 738 1587 h 132 v -409 h -409 v 132 l -286 -286 l 286 -286 v 132 h 409 v -409 h -132 l 286 -286 l 286 286 h -132 v 409 h 409 v -132 l 286 286 l -286 286 v -132 h -409 v 409 h 132 l -286 286 z"\n ></path>\n <path\n type="path"\n d="M 1536 1434 v -205 h -307 v 307 h 205 l -410 410 l -410 -410 h 205 v -307 h -307 v 205 l -410 -410 l 410 -410 v 205 h 307 v -307 h -205 l 410 -410 l 410 410 h -205 v 307 h 307 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -512 v -512 h 60 l -162 -163 l -162 163 h 60 v 512 h -512 v -60 l -163 162 l 163 162 v -60 h 512 v 512 h -60 l 162 163 l 162 -163 h -60 v -512 z"\n ></path>\n</svg>',LeftRightUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1741 v -205 h -1024 v 205 l -410 -410 l 410 -409 v 204 h 307 v -512 h -205 l 410 -409 l 410 409 h -205 v 512 h 307 v -204 l 410 409 m -308 103 v 60 l 163 -163 l -163 -162 v 60 h -512 v -717 h 60 l -162 -162 l -162 162 h 60 v 717 h -512 v -60 l -163 162 l 163 163 v -60 z"\n ></path>\n <path\n type="path"\n d="M 461 1485 v 132 l -286 -286 l 286 -286 v 133 h 409 v -615 h -132 l 286 -286 l 286 286 h -132 v 615 h 409 v -133 l 286 286 l -286 286 v -132 z"\n ></path>\n <path\n type="path"\n d="M 1536 1741 v -205 h -1024 v 205 l -410 -410 l 410 -409 v 204 h 307 v -512 h -205 l 410 -409 l 410 409 h -205 v 512 h 307 v -204 l 410 409 m -308 103 v 60 l 163 -163 l -163 -162 v 60 h -512 v -717 h 60 l -162 -162 l -162 162 h 60 v 717 h -512 v -60 l -163 162 l 163 163 v -60 z"\n ></path>\n</svg>',BentArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 1126 v -307 h -717 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 922 h -410 v -1178 q 0 -74 29 -139 q 28 -65 77 -114 q 48 -49 114 -77 q 65 -28 139 -28 h 973 v -308 l 512 512 m -410 103 v 162 l 265 -265 l -265 -264 v 162 h -1075 q -53 0 -99 20 q -47 20 -82 55 q -35 35 -55 81 q -20 47 -20 100 v 1075 h 205 v -819 q 0 -63 24 -119 q 24 -56 66 -98 q 41 -42 97 -66 q 56 -24 120 -24 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1126 q 0 -63 24 -119 q 24 -56 66 -98 q 41 -42 97 -66 q 56 -24 120 -24 h 1024 v -235 l 388 388 l -388 389 v -235 h -768 q -53 0 -99 20 q -47 20 -82 55 q -35 35 -55 81 q -20 47 -20 100 v 870 z"\n ></path>\n <path\n type="path"\n d="M 1434 1126 v -307 h -717 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 922 h -410 v -1178 q 0 -74 29 -139 q 28 -65 77 -114 q 48 -49 114 -77 q 65 -28 139 -28 h 973 v -308 l 512 512 m -410 103 v 162 l 265 -265 l -265 -264 v 162 h -1075 q -53 0 -99 20 q -47 20 -82 55 q -35 35 -55 81 q -20 47 -20 100 v 1075 h 205 v -819 q 0 -63 24 -119 q 24 -56 66 -98 q 41 -42 97 -66 q 56 -24 120 -24 z"\n ></path>\n</svg>',UTurnArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1126 l -512 512 l -512 -512 h 307 v -307 q 0 -63 -24 -119 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 119 v 1127 h -410 v -1127 q 0 -98 26 -190 q 26 -91 73 -171 q 46 -80 112 -146 q 65 -65 145 -112 q 80 -46 171 -72 q 91 -26 190 -26 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 146 q 47 80 73 171 q 25 92 25 190 v 307 m -204 368 l 264 -265 h -162 v -410 q 0 -127 -48 -239 q -49 -112 -132 -195 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -85 0 -163 22 q -79 22 -147 62 q -68 40 -124 96 q -56 56 -96 124 q -40 68 -62 146 q -22 79 -22 164 v 1024 h 205 v -1024 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -87 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 32 130 87 q 55 56 88 130 q 32 75 32 160 v 410 h -162 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1075 q 0 -92 24 -177 q 24 -85 67 -159 q 43 -73 104 -134 q 61 -61 135 -104 q 73 -43 158 -67 q 85 -24 177 -24 h 103 q 92 0 177 24 q 85 24 159 67 q 73 43 134 104 q 61 61 104 134 q 43 74 67 159 q 24 85 24 177 v 359 h 235 l -388 388 l -389 -388 h 235 v -359 q 0 -74 -28 -139 q -28 -65 -77 -114 q -49 -49 -114 -77 q -65 -28 -139 -28 h -103 q -74 0 -139 28 q -65 28 -114 77 q -49 49 -77 114 q -28 65 -28 139 v 1075 z"\n ></path>\n <path\n type="path"\n d="M 1946 1126 l -512 512 l -512 -512 h 307 v -307 q 0 -63 -24 -119 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 119 v 1127 h -410 v -1127 q 0 -98 26 -190 q 26 -91 73 -171 q 46 -80 112 -146 q 65 -65 145 -112 q 80 -46 171 -72 q 91 -26 190 -26 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 146 q 47 80 73 171 q 25 92 25 190 v 307 m -204 368 l 264 -265 h -162 v -410 q 0 -127 -48 -239 q -49 -112 -132 -195 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -85 0 -163 22 q -79 22 -147 62 q -68 40 -124 96 q -56 56 -96 124 q -40 68 -62 146 q -22 79 -22 164 v 1024 h 205 v -1024 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -87 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 32 130 87 q 55 56 88 130 q 32 75 32 160 v 410 h -162 z"\n ></path>\n</svg>',LeftUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 614 h -308 v 1024 h -1024 v 308 l -512 -512 l 512 -512 v 307 h 615 v -615 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 819 h -819 v -162 l -265 265 l 265 264 v -162 h 1024 v -1024 z"\n ></path>\n <path\n type="path"\n d="M 175 1434 l 388 -389 v 235 h 717 v -717 h -235 l 389 -388 l 388 388 h -235 v 1024 h -1024 v 235 z"\n ></path>\n <path\n type="path"\n d="M 1946 614 h -308 v 1024 h -1024 v 308 l -512 -512 l 512 -512 v 307 h 615 v -615 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 819 h -819 v -162 l -265 265 l 265 264 v -162 h 1024 v -1024 z"\n ></path>\n</svg>',BentUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 614 h -308 v 1332 h -1536 v -410 h 1127 v -922 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 1126 h -1126 v 205 h 1331 v -1331 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -307 h 1126 v -1024 h -235 l 389 -388 l 388 388 h -235 v 1331 z"\n ></path>\n <path\n type="path"\n d="M 1946 614 h -308 v 1332 h -1536 v -410 h 1127 v -922 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 1126 h -1126 v 205 h 1331 v -1331 z"\n ></path>\n</svg>',CurvedRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1229 1946 v -308 h -154 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -155 q -50 -85 -77 -184 q -28 -98 -28 -204 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 h 256 v 410 h -256 q -103 0 -197 30 q -95 30 -174 83 q -80 54 -142 128 q -62 75 -100 164 q 44 70 104 127 q 60 58 132 99 q 72 41 155 63 q 82 23 171 23 h 205 v -307 l 512 512 m -666 -1229 q -85 0 -163 20 q -79 21 -149 58 q -70 37 -129 89 q -59 53 -104 117 q -46 65 -75 139 q -30 75 -40 157 q 51 -87 123 -156 q 71 -69 156 -118 q 85 -49 182 -75 q 97 -26 199 -26 h 154 v -205 m 102 1331 v 162 l 265 -264 l -265 -265 v 162 h -307 q -86 0 -168 -19 q -83 -18 -158 -54 q -75 -35 -141 -87 q -67 -51 -122 -117 q 30 104 91 192 q 61 89 145 153 q 84 65 187 101 q 103 36 217 36 z"\n ></path>\n <path\n type="path"\n d="M 1280 1587 h -205 q -99 0 -190 -26 q -92 -25 -171 -72 q -80 -47 -145 -112 q -66 -65 -113 -145 q -47 -80 -72 -172 q -26 -91 -26 -190 q 0 -99 26 -191 q 25 -91 72 -171 q 47 -79 113 -145 q 65 -65 145 -112 q 79 -46 171 -72 q 91 -25 190 -25 h 205 v 307 h -205 q -108 0 -208 31 q -101 31 -187 88 q -87 57 -155 137 q -68 81 -110 180 l -10 25 l 14 23 q 50 79 116 141 q 66 62 144 105 q 78 43 166 66 q 87 23 179 23 h 256 v -235 l 388 389 l -388 388 z"\n ></path>\n <path\n type="path"\n d="M 1229 1946 v -308 h -154 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -155 q -50 -85 -77 -184 q -28 -98 -28 -204 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 h 256 v 410 h -256 q -103 0 -197 30 q -95 30 -174 83 q -80 54 -142 128 q -62 75 -100 164 q 44 70 104 127 q 60 58 132 99 q 72 41 155 63 q 82 23 171 23 h 205 v -307 l 512 512 m -666 -1229 q -85 0 -163 20 q -79 21 -149 58 q -70 37 -129 89 q -59 53 -104 117 q -46 65 -75 139 q -30 75 -40 157 q 51 -87 123 -156 q 71 -69 156 -118 q 85 -49 182 -75 q 97 -26 199 -26 h 154 v -205 m 102 1331 v 162 l 265 -264 l -265 -265 v 162 h -307 q -86 0 -168 -19 q -83 -18 -158 -54 q -75 -35 -141 -87 q -67 -51 -122 -117 q 30 104 91 192 q 61 89 145 153 q 84 65 187 101 q 103 36 217 36 z"\n ></path>\n</svg>',CurvedLeftArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 307 1434 l 512 -512 v 307 h 205 q 89 0 172 -23 q 82 -22 154 -63 q 72 -41 132 -99 q 60 -57 104 -127 q -38 -89 -100 -164 q -62 -74 -141 -128 q -80 -53 -174 -83 q -95 -30 -198 -30 h -256 v -410 h 256 q 106 0 204 27 q 98 28 184 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 q 0 106 -27 204 q -28 99 -78 184 q -50 85 -120 155 q -70 70 -155 120 q -86 50 -184 77 q -98 28 -204 28 h -154 v 308 m 814 -1161 q -11 -82 -40 -157 q -29 -74 -74 -139 q -46 -64 -105 -117 q -59 -52 -129 -89 q -70 -37 -149 -58 q -79 -20 -163 -20 h -154 v 205 h 154 q 102 0 199 26 q 97 26 182 75 q 85 49 157 118 q 71 69 122 156 m -660 751 q 114 0 217 -36 q 103 -36 187 -101 q 84 -64 145 -153 q 61 -88 91 -192 q -55 66 -121 117 q -67 52 -142 87 q -75 36 -157 54 q -83 19 -169 19 h -307 v -162 l -265 265 l 265 264 v -162 z"\n ></path>\n <path\n type="path"\n d="M 768 1822 l -388 -388 l 388 -389 v 235 h 256 q 92 0 180 -23 q 87 -23 165 -66 q 78 -43 144 -105 q 66 -62 116 -141 l 14 -23 l -10 -25 q -42 -99 -110 -180 q -68 -80 -154 -137 q -87 -57 -187 -88 q -101 -31 -209 -31 h -205 v -307 h 205 q 99 0 191 25 q 91 26 171 72 q 79 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 q 0 99 -25 190 q -26 92 -73 172 q -47 80 -112 145 q -66 65 -145 112 q -80 47 -171 72 q -92 26 -191 26 h -205 z"\n ></path>\n <path\n type="path"\n d="M 307 1434 l 512 -512 v 307 h 205 q 89 0 172 -23 q 82 -22 154 -63 q 72 -41 132 -99 q 60 -57 104 -127 q -38 -89 -100 -164 q -62 -74 -141 -128 q -80 -53 -174 -83 q -95 -30 -198 -30 h -256 v -410 h 256 q 106 0 204 27 q 98 28 184 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 q 0 106 -27 204 q -28 99 -78 184 q -50 85 -120 155 q -70 70 -155 120 q -86 50 -184 77 q -98 28 -204 28 h -154 v 308 m 814 -1161 q -11 -82 -40 -157 q -29 -74 -74 -139 q -46 -64 -105 -117 q -59 -52 -129 -89 q -70 -37 -149 -58 q -79 -20 -163 -20 h -154 v 205 h 154 q 102 0 199 26 q 97 26 182 75 q 85 49 157 118 q 71 69 122 156 m -660 751 q 114 0 217 -36 q 103 -36 187 -101 q 84 -64 145 -153 q 61 -88 91 -192 q -55 66 -121 117 q -67 52 -142 87 q -75 36 -157 54 q -83 19 -169 19 h -307 v -162 l -265 265 l 265 264 v -162 z"\n ></path>\n</svg>',CurvedUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 h -308 v 154 q 0 106 -27 204 q -28 98 -78 183 q -50 86 -120 156 q -70 70 -155 120 q -85 50 -183 77 q -99 28 -205 28 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -156 q -50 -85 -77 -183 q -28 -98 -28 -204 v -256 h 410 v 256 q 0 103 30 197 q 30 95 84 174 q 53 80 128 142 q 74 62 163 100 q 70 -44 128 -104 q 57 -60 98 -132 q 41 -72 64 -155 q 22 -82 22 -171 v -205 h -307 l 512 -512 m -1229 666 q 0 85 21 163 q 20 79 57 149 q 37 70 90 129 q 52 59 117 104 q 64 46 139 75 q 74 30 156 40 q -87 -51 -156 -123 q -69 -71 -118 -156 q -49 -85 -75 -182 q -26 -97 -26 -199 v -154 h -205 m 1331 -102 h 162 l -264 -265 l -265 265 h 162 v 307 q 0 86 -18 168 q -19 83 -54 158 q -36 75 -87 141 q -52 67 -118 122 q 104 -30 193 -91 q 88 -61 153 -145 q 64 -84 100 -187 q 36 -103 36 -217 z"\n ></path>\n <path\n type="path"\n d="M 1587 768 v 205 q 0 99 -25 190 q -26 92 -73 171 q -47 80 -112 145 q -65 66 -145 113 q -80 47 -171 72 q -92 26 -191 26 q -99 0 -190 -26 q -92 -25 -171 -72 q -80 -47 -145 -113 q -66 -65 -112 -145 q -47 -79 -72 -171 q -26 -91 -26 -190 v -205 h 307 v 205 q 0 108 31 208 q 31 101 88 187 q 57 87 138 155 q 80 68 179 110 l 25 10 l 23 -14 q 79 -50 141 -116 q 62 -66 105 -144 q 43 -78 66 -166 q 23 -87 23 -179 v -256 h -235 l 389 -388 l 388 388 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 h -308 v 154 q 0 106 -27 204 q -28 98 -78 183 q -50 86 -120 156 q -70 70 -155 120 q -85 50 -183 77 q -99 28 -205 28 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -156 q -50 -85 -77 -183 q -28 -98 -28 -204 v -256 h 410 v 256 q 0 103 30 197 q 30 95 84 174 q 53 80 128 142 q 74 62 163 100 q 70 -44 128 -104 q 57 -60 98 -132 q 41 -72 64 -155 q 22 -82 22 -171 v -205 h -307 l 512 -512 m -1229 666 q 0 85 21 163 q 20 79 57 149 q 37 70 90 129 q 52 59 117 104 q 64 46 139 75 q 74 30 156 40 q -87 -51 -156 -123 q -69 -71 -118 -156 q -49 -85 -75 -182 q -26 -97 -26 -199 v -154 h -205 m 1331 -102 h 162 l -264 -265 l -265 265 h 162 v 307 q 0 86 -18 168 q -19 83 -54 158 q -36 75 -87 141 q -52 67 -118 122 q 104 -30 193 -91 q 88 -61 153 -145 q 64 -84 100 -187 q 36 -103 36 -217 z"\n ></path>\n</svg>',CurvedDownArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 1741 l -512 -512 h 307 v -205 q 0 -89 -22 -172 q -23 -82 -64 -154 q -41 -72 -98 -132 q -58 -60 -128 -104 q -89 38 -163 100 q -75 62 -128 141 q -54 80 -84 174 q -30 95 -30 198 v 256 h -410 v -256 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 q 106 0 205 27 q 98 28 183 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 v 154 h 308 m -1161 -814 q -82 11 -156 40 q -75 29 -139 74 q -65 46 -117 105 q -53 59 -90 129 q -37 70 -57 149 q -21 79 -21 163 v 154 h 205 v -154 q 0 -102 26 -199 q 26 -97 75 -182 q 49 -85 118 -157 q 69 -71 156 -122 m 751 660 q 0 -114 -36 -217 q -36 -103 -100 -187 q -65 -84 -153 -145 q -89 -61 -193 -91 q 66 55 118 121 q 51 67 87 142 q 35 75 54 157 q 18 83 18 169 v 307 h -162 l 265 265 l 264 -265 h -162 z"\n ></path>\n <path\n type="path"\n d="M 1822 1280 l -388 388 l -389 -388 h 235 v -256 q 0 -92 -23 -180 q -23 -87 -66 -165 q -43 -78 -105 -144 q -62 -66 -141 -116 l -23 -14 l -25 10 q -99 42 -179 110 q -81 68 -138 154 q -57 87 -88 187 q -31 101 -31 209 v 205 h -307 v -205 q 0 -99 26 -191 q 25 -91 72 -171 q 46 -79 112 -145 q 65 -65 145 -112 q 79 -47 171 -73 q 91 -25 190 -25 q 99 0 191 25 q 91 26 171 73 q 80 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 v 205 z"\n ></path>\n <path\n type="path"\n d="M 1434 1741 l -512 -512 h 307 v -205 q 0 -89 -22 -172 q -23 -82 -64 -154 q -41 -72 -98 -132 q -58 -60 -128 -104 q -89 38 -163 100 q -75 62 -128 141 q -54 80 -84 174 q -30 95 -30 198 v 256 h -410 v -256 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 q 106 0 205 27 q 98 28 183 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 v 154 h 308 m -1161 -814 q -82 11 -156 40 q -75 29 -139 74 q -65 46 -117 105 q -53 59 -90 129 q -37 70 -57 149 q -21 79 -21 163 v 154 h 205 v -154 q 0 -102 26 -199 q 26 -97 75 -182 q 49 -85 118 -157 q 69 -71 156 -122 m 751 660 q 0 -114 -36 -217 q -36 -103 -100 -187 q -65 -84 -153 -145 q -89 -61 -193 -91 q 66 55 118 121 q 51 67 87 142 q 35 75 54 157 q 18 83 18 169 v 307 h -162 l 265 265 l 264 -265 h -162 z"\n ></path>\n</svg>',StripedRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 614 h 103 v 820 h -103 m 205 -820 h 103 v 820 h -103 m 819 409 v -409 h -614 v -820 h 614 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -615 v 614 z"\n ></path>\n <path\n type="path"\n d="M 1178 1382 h -615 v -716 h 615 v -338 l 695 696 l -695 696 z"\n ></path>\n <path\n type="path"\n d="M 102 614 h 103 v 820 h -103 m 205 -820 h 103 v 820 h -103 m 819 409 v -409 h -614 v -820 h 614 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -615 v 614 z"\n ></path>\n</svg>',NotchedRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 l 512 -410 l -512 -410 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -835 l 384 307 l -384 307 z"\n ></path>\n <path\n type="path"\n d="M 1178 1382 h -930 l 448 -358 l -448 -358 h 930 v -338 l 695 696 l -695 696 z"\n ></path>\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 l 512 -410 l -512 -410 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -835 l 384 307 l -384 307 z"\n ></path>\n</svg>',Pentagon:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 v -1536 h 1076 m 623 768 l -666 -666 h -930 v 1331 h 930 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1434 h 1002 l 717 717 l -717 717 z"\n ></path>\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 v -1536 h 1076 m 623 768 l -666 -666 h -930 v 1331 h 930 z"\n ></path>\n</svg>',Chevron:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 l 768 -768 l -768 -768 h 1076 m 623 768 l -666 -666 h -785 l 665 666 l -665 665 h 785 z"\n ></path>\n <path\n type="path"\n d="M 226 1690 l 717 -717 l -717 -717 h 930 l 717 717 l -717 717 z"\n ></path>\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 l 768 -768 l -768 -768 h 1076 m 623 768 l -666 -666 h -785 l 665 666 l -665 665 h 785 z"\n ></path>\n</svg>',RightArrowCallout:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 1536 v -307 h -205 v 717 h -1127 v -1844 h 1127 v 717 h 205 v -307 l 512 512 m -410 102 v 163 l 265 -265 l -265 -265 v 163 h -410 v -717 h -921 v 1638 h 921 v -717 z"\n ></path>\n <path\n type="path"\n d="M 154 154 h 1024 v 716 h 307 v -234 l 388 388 l -388 388 v -234 h -307 v 716 h -1024 z"\n ></path>\n <path\n type="path"\n d="M 1434 1536 v -307 h -205 v 717 h -1127 v -1844 h 1127 v 717 h 205 v -307 l 512 512 m -410 102 v 163 l 265 -265 l -265 -265 v 163 h -410 v -717 h -921 v 1638 h 921 v -717 z"\n ></path>\n</svg>',LeftRightArrowCallout:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 717 h -820 v -717 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -717 h 820 v 717 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -717 h -614 v 717 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 717 h 614 v -717 z"\n ></path>\n <path\n type="path"\n d="M 666 1894 v -716 h -205 v 132 l -286 -286 l 286 -286 v 132 h 205 v -716 h 716 v 716 h 205 v -132 l 286 286 l -286 286 v -132 h -205 v 716 z"\n ></path>\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 717 h -820 v -717 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -717 h 820 v 717 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -717 h -614 v 717 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 717 h 614 v -717 z"\n ></path>\n</svg>',QuadArrowCallout:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 205 h -205 v 102 h 205 l -410 410 l -410 -410 h 205 v -102 h -205 v -205 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -205 h 205 v -102 h -205 l 410 -410 l 410 410 h -205 v 102 h 205 v 205 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -205 h -205 v -307 h 60 l -162 -163 l -162 163 h 60 v 307 h -205 v 205 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 205 h 205 v 307 h -60 l 162 163 l 162 -163 h -60 v -307 h 205 v -205 z"\n ></path>\n <path\n type="path"\n d="M 738 1587 h 132 v -205 h -204 v -204 h -205 v 132 l -286 -286 l 286 -286 v 132 h 205 v -204 h 204 v -205 h -132 l 286 -286 l 286 286 h -132 v 205 h 204 v 204 h 205 v -132 l 286 286 l -286 286 v -132 h -205 v 204 h -204 v 205 h 132 l -286 286 z"\n ></path>\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 205 h -205 v 102 h 205 l -410 410 l -410 -410 h 205 v -102 h -205 v -205 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -205 h 205 v -102 h -205 l 410 -410 l 410 410 h -205 v 102 h 205 v 205 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -205 h -205 v -307 h 60 l -162 -163 l -162 163 h 60 v 307 h -205 v 205 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 205 h 205 v 307 h -60 l 162 163 l 162 -163 h -60 v -307 h 205 v -205 z"\n ></path>\n</svg>',CircularArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1331 l -512 512 l -512 -512 h 307 v -409 q 0 -64 -24 -120 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 120 v 716 h -410 v -716 q 0 -99 26 -191 q 26 -91 73 -171 q 46 -79 112 -145 q 65 -65 145 -112 q 80 -47 171 -73 q 91 -25 190 -25 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 v 409 m -204 367 l 264 -264 h -162 v -512 q 0 -127 -48 -239 q -49 -112 -132 -196 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -127 0 -239 48 q -112 49 -195 132 q -83 84 -131 196 q -49 112 -49 239 v 614 h 205 v -614 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -88 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 33 130 88 q 55 56 88 130 q 32 75 32 160 v 512 h -162 z"\n ></path>\n <path\n type="path"\n d="M 1045 1382 h 235 v -460 q 0 -74 -28 -140 q -28 -65 -77 -114 q -49 -48 -114 -77 q -65 -28 -139 -28 h -103 q -74 0 -139 28 q -65 29 -114 77 q -49 49 -77 114 q -28 66 -28 140 v 665 h -307 v -665 q 0 -92 24 -177 q 24 -85 67 -159 q 43 -74 104 -135 q 61 -60 135 -104 q 73 -43 158 -67 q 85 -24 177 -24 h 103 q 92 0 177 24 q 85 24 159 67 q 73 44 134 104 q 61 61 104 135 q 43 74 67 159 q 24 85 24 177 v 460 h 235 l -388 389 z"\n ></path>\n <path\n type="path"\n d="M 1946 1331 l -512 512 l -512 -512 h 307 v -409 q 0 -64 -24 -120 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 120 v 716 h -410 v -716 q 0 -99 26 -191 q 26 -91 73 -171 q 46 -79 112 -145 q 65 -65 145 -112 q 80 -47 171 -73 q 91 -25 190 -25 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 v 409 m -204 367 l 264 -264 h -162 v -512 q 0 -127 -48 -239 q -49 -112 -132 -196 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -127 0 -239 48 q -112 49 -195 132 q -83 84 -131 196 q -49 112 -49 239 v 614 h 205 v -614 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -88 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 33 130 88 q 55 56 88 130 q 32 75 32 160 v 512 h -162 z"\n ></path>\n</svg>'},Wr={MathPlus:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 717 v 614 h -615 v 615 h -614 v -615 h -615 v -614 h 615 v -615 h 614 v 615 m 512 102 h -614 v -614 h -410 v 614 h -614 v 410 h 614 v 614 h 410 v -614 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1894 1280 h -614 v 614 h -512 v -614 h -614 v -512 h 614 v -614 h 512 v 614 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1946 717 v 614 h -615 v 615 h -614 v -615 h -615 v -614 h 615 v -615 h 614 v 615 m 512 102 h -614 v -614 h -410 v 614 h -614 v 410 h 614 v 614 h 410 v -614 h 614 z"\n ></path></svg>',MathMinus:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 717 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 768 h 1740 v 512 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 717 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path></svg>',MathMultiply:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1843 1409 l -434 434 l -435 -434 l -434 434 l -435 -434 l 435 -435 l -435 -434 l 435 -435 l 434 435 l 435 -435 l 434 435 l -434 434 m 289 435 l -434 -435 l 434 -434 l -289 -290 l -435 435 l -434 -435 l -290 290 l 435 434 l -435 435 l 290 289 l 434 -434 l 435 434 z"\n ></path>\n <path\n type="path"\n d="M 1409 1771 l -435 -435 l -434 435 l -362 -362 l 434 -435 l -434 -434 l 362 -362 l 434 434 l 435 -434 l 362 362 l -435 434 l 435 435 z"\n ></path>\n <path\n type="path"\n d="M 1843 1409 l -434 434 l -435 -434 l -434 434 l -435 -434 l 435 -435 l -435 -434 l 435 -435 l 434 435 l 435 -435 l 434 435 l -434 434 m 289 435 l -434 -435 l 434 -434 l -289 -290 l -435 435 l -434 -435 l -290 290 l 435 434 l -435 435 l 290 289 l 434 -434 l 435 434 z"\n ></path></svg>',MathDivision:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 1434 q 42 0 80 16 q 37 16 65 43 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 66 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -28 -44 -66 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -27 66 -43 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -19 8 -40 q 0 -21 -8 -40 q -8 -18 -21 -32 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 32 q -8 19 -8 40 q 0 21 8 40 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 0 -1536 q 42 0 80 16 q 37 16 65 44 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 65 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -27 -44 -65 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -28 66 -44 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -18 8 -39 q 0 -21 -8 -40 q -8 -19 -21 -33 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 33 q -8 19 -8 40 q 0 21 8 39 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 922 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 1024 1792 q -32 0 -60 -12 q -28 -12 -49 -33 q -21 -21 -33 -49 q -12 -28 -12 -60 q 0 -31 12 -59 q 12 -28 33 -49 q 21 -21 49 -33 q 28 -12 60 -12 q 32 0 60 12 q 28 12 49 33 q 21 21 33 49 q 12 28 12 59 q 0 32 -12 60 q -12 28 -33 49 q -21 21 -49 33 q -28 12 -60 12 m 0 -1229 q -32 0 -60 -12 q -28 -12 -49 -33 q -21 -21 -33 -49 q -12 -27 -12 -59 q 0 -32 12 -60 q 12 -28 33 -49 q 21 -21 49 -33 q 28 -12 60 -12 q 32 0 60 12 q 28 12 49 33 q 21 21 33 49 q 12 28 12 60 q 0 32 -12 59 q -12 28 -33 49 q -21 21 -49 33 q -28 12 -60 12 m -870 205 h 1740 v 512 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1024 1434 q 42 0 80 16 q 37 16 65 43 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 66 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -28 -44 -66 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -27 66 -43 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -19 8 -40 q 0 -21 -8 -40 q -8 -18 -21 -32 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 32 q -8 19 -8 40 q 0 21 8 40 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 0 -1536 q 42 0 80 16 q 37 16 65 44 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 65 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -27 -44 -65 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -28 66 -44 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -18 8 -39 q 0 -21 -8 -40 q -8 -19 -21 -33 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 33 q -8 19 -8 40 q 0 21 8 39 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 922 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path></svg>',MathEqual:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 v 615 h -1844 v -615 m 1741 103 h -1638 v 409 h 1638 m 103 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 358 h 1740 v 512 h -1740 m 0 205 h 1740 v 512 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 615 h -1844 v -615 m 1741 103 h -1638 v 409 h 1638 m 103 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path></svg>',MathNotEqual:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1809 307 h 137 v 615 h -547 l -68 102 h 615 v 614 h -1024 l -205 308 h -512 l 205 -308 h -308 v -614 h 717 l 68 -102 h -785 v -615 h 1195 l 137 -205 h 512 m -990 717 l 273 -409 h -1024 v 409 m 273 717 l 273 -410 h -546 v 410 m 1549 -1331 h -266 l -1092 1638 h 266 m 601 -717 l -273 410 h 853 v -410 m -102 -716 l -273 409 h 375 v -409 z"\n ></path>\n <path\n type="path"\n d="M 1372 870 l -136 205 h 658 v 512 h -1000 l -205 307 h -389 l 205 -307 h -351 v -512 h 693 l 136 -205 h -829 v -512 h 1170 l 137 -204 h 389 l -137 204 h 181 v 512 z"\n ></path>\n <path\n type="path"\n d="M 1809 307 h 137 v 615 h -547 l -68 102 h 615 v 614 h -1024 l -205 308 h -512 l 205 -308 h -308 v -614 h 717 l 68 -102 h -785 v -615 h 1195 l 137 -205 h 512 m -990 717 l 273 -409 h -1024 v 409 m 273 717 l 273 -410 h -546 v 410 m 1549 -1331 h -266 l -1092 1638 h 266 m 601 -717 l -273 410 h 853 v -410 m -102 -716 l -273 409 h 375 v -409 z"\n ></path></svg>'},Yr={FlowChartProcess:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1740 v 1332 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path></svg>',FlowChartAlternateProcess:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path>\n <path\n type="path"\n d="M 456 1690 q -62 0 -117 -24 q -55 -24 -96 -65 q -41 -41 -65 -96 q -24 -55 -24 -118 v -726 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 1136 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 726 q 0 63 -24 118 q -24 55 -65 96 q -41 41 -96 65 q -55 24 -117 24 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path></svg>',FlowChartDecision:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 l -922 614 l -922 -614 l 922 -614 m 0 1105 l 737 -491 l -737 -491 l -737 491 z"\n ></path>\n <path\n type="path"\n d="M 195 1024 l 829 -553 l 829 553 l -829 553 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 l -922 614 l -922 -614 l 922 -614 m 0 1105 l 737 -491 l -737 -491 l -737 491 z"\n ></path></svg>',FlowChartData:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path>\n <path\n type="path"\n d="M 172 1792 l 480 -1536 h 1224 l -480 1536 z"\n ></path>\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path></svg>',FlowChartPredefinedProcess:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 102 h 1844 v 1844 h -1844 m 103 -103 h 205 v -1638 h -205 m 307 1638 h 1024 v -1638 h -1024 m 1331 1638 v -1638 h -205 v 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 1740 v 1740 z"\n ></path>\n <path\n type="path"\n d="M 102 102 h 1844 v 1844 h -1844 m 103 -103 h 205 v -1638 h -205 m 307 1638 h 1024 v -1638 h -1024 m 1331 1638 v -1638 h -205 v 1638 z"\n ></path></svg>',FlowChartInternalStorage:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 103 308 h 205 v -205 h -205 m 205 1638 v -1331 h -205 v 1331 m 1638 -1331 h -1331 v 1331 h 1331 m 0 -1638 h -1331 v 205 h 1331 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 1740 v 1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 103 308 h 205 v -205 h -205 m 205 1638 v -1331 h -205 v 1331 m 1638 -1331 h -1331 v 1331 h 1331 m 0 -1638 h -1331 v 205 h 1331 z"\n ></path></svg>',FlowChartDocument:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1434 q -8 -1 -19 -2 q -10 -1 -23 -2 q -14 0 -31 0 q -27 0 -63 2 q -36 3 -77 10 q -42 8 -88 20 q -47 13 -96 34 q -36 17 -80 49 q -44 32 -97 71 q -54 39 -117 79 q -64 41 -138 74 q -75 33 -162 54 q -87 21 -187 21 q -61 0 -121 -18 q -61 -17 -119 -46 q -59 -29 -113 -66 q -54 -36 -101 -75 q -111 -90 -212 -205 v -1434 m 1741 103 h -1638 v 1292 q 19 21 53 54 q 33 34 77 72 q 43 39 95 78 q 52 39 108 70 q 56 32 115 52 q 58 20 115 20 q 92 0 172 -20 q 80 -20 149 -52 q 69 -31 129 -70 q 59 -39 111 -77 q 51 -37 96 -70 q 44 -32 84 -50 q 97 -41 183 -57 q 86 -15 151 -17 z"\n ></path>\n <path\n type="path"\n d="M 768 1894 q -66 0 -133 -23 q -67 -23 -130 -60 q -63 -36 -120 -80 q -57 -44 -103 -86 q -47 -41 -80 -76 q -33 -35 -48 -52 v -1363 h 1740 v 1327 q -31 0 -71 2 q -40 2 -86 9 q -47 8 -99 21 q -53 14 -109 38 q -38 18 -82 50 q -44 33 -96 71 q -53 38 -114 77 q -62 40 -134 72 q -72 32 -155 52 q -84 21 -180 21 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1434 q -8 -1 -19 -2 q -10 -1 -23 -2 q -14 0 -31 0 q -27 0 -63 2 q -36 3 -77 10 q -42 8 -88 20 q -47 13 -96 34 q -36 17 -80 49 q -44 32 -97 71 q -54 39 -117 79 q -64 41 -138 74 q -75 33 -162 54 q -87 21 -187 21 q -61 0 -121 -18 q -61 -17 -119 -46 q -59 -29 -113 -66 q -54 -36 -101 -75 q -111 -90 -212 -205 v -1434 m 1741 103 h -1638 v 1292 q 19 21 53 54 q 33 34 77 72 q 43 39 95 78 q 52 39 108 70 q 56 32 115 52 q 58 20 115 20 q 92 0 172 -20 q 80 -20 149 -52 q 69 -31 129 -70 q 59 -39 111 -77 q 51 -37 96 -70 q 44 -32 84 -50 q 97 -41 183 -57 q 86 -15 151 -17 z"\n ></path></svg>',FlowChartMultidocument:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1127 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 205 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 204 q -11 -2 -25 -5 q -12 -2 -30 -4 q -18 -1 -40 -1 q -33 0 -74 5 q -41 5 -89 19 q -56 12 -110 38 q -54 27 -109 60 q -55 33 -111 67 q -57 35 -118 63 q -61 29 -127 47 q -66 19 -140 19 q -44 0 -87 -9 q -44 -9 -84 -23 q -41 -14 -78 -33 q -38 -18 -70 -37 q -76 -45 -142 -103 v -1229 h 205 v -205 h 205 v -205 m 922 512 h -1229 v 1078 q 24 18 63 44 q 38 26 86 50 q 48 24 102 40 q 53 17 107 17 q 55 0 106 -13 q 51 -13 100 -34 q 48 -21 95 -48 q 46 -27 91 -55 q 60 -37 119 -68 q 58 -30 117 -52 q 59 -22 119 -35 q 60 -12 124 -12 m 204 -1116 h -1228 v 102 h 1126 v 818 q 51 -9 102 -9 m 205 -1116 h -1229 v 102 h 1127 v 818 q 51 -9 102 -9 z"\n ></path>\n <path\n type="path"\n d="M 1894 154 v 1015 q -10 -1 -21 -2 q -11 0 -24 0 q -81 0 -159 22 v 185 q -11 -1 -22 -2 q -11 0 -24 0 q -80 0 -159 21 v 186 q -11 -1 -22 -2 q -11 0 -23 0 q -87 0 -176 26 q -56 12 -110 38 q -55 27 -110 59 q -55 33 -111 67 q -56 34 -115 62 q -59 29 -122 47 q -64 18 -133 18 q -66 0 -131 -22 q -65 -21 -120 -50 q -55 -29 -96 -59 q -42 -29 -62 -46 v -1154 h 204 v -205 h 205 v -204 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1127 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 205 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 204 q -11 -2 -25 -5 q -12 -2 -30 -4 q -18 -1 -40 -1 q -33 0 -74 5 q -41 5 -89 19 q -56 12 -110 38 q -54 27 -109 60 q -55 33 -111 67 q -57 35 -118 63 q -61 29 -127 47 q -66 19 -140 19 q -44 0 -87 -9 q -44 -9 -84 -23 q -41 -14 -78 -33 q -38 -18 -70 -37 q -76 -45 -142 -103 v -1229 h 205 v -205 h 205 v -205 m 922 512 h -1229 v 1078 q 24 18 63 44 q 38 26 86 50 q 48 24 102 40 q 53 17 107 17 q 55 0 106 -13 q 51 -13 100 -34 q 48 -21 95 -48 q 46 -27 91 -55 q 60 -37 119 -68 q 58 -30 117 -52 q 59 -22 119 -35 q 60 -12 124 -12 m 204 -1116 h -1228 v 102 h 1126 v 818 q 51 -9 102 -9 m 205 -1116 h -1229 v 102 h 1127 v 818 q 51 -9 102 -9 z"\n ></path></svg>',FlowChartTerminator:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 512 q 105 0 199 40 q 93 41 163 110 q 69 70 110 163 q 40 93 40 199 q 0 106 -40 199 q -41 93 -110 162 q -70 70 -163 110 q -94 41 -199 41 h -820 q -105 0 -198 -41 q -94 -40 -163 -110 q -70 -69 -110 -162 q -41 -93 -41 -199 q 0 -106 41 -199 q 40 -93 110 -163 q 69 -69 163 -110 q 93 -40 198 -40 m 820 922 q 84 0 159 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -159 -32 h -820 q -84 0 -158 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 158 33 z"\n ></path>\n <path\n type="path"\n d="M 614 1485 q -95 0 -179 -37 q -84 -36 -146 -99 q -63 -62 -99 -146 q -36 -84 -36 -179 q 0 -95 36 -179 q 36 -84 99 -147 q 62 -62 146 -99 q 84 -36 179 -36 h 820 q 95 0 179 36 q 84 37 147 99 q 62 63 98 147 q 36 84 36 179 q 0 95 -36 179 q -36 84 -98 146 q -63 63 -147 99 q -84 37 -179 37 z"\n ></path>\n <path\n type="path"\n d="M 1434 512 q 105 0 199 40 q 93 41 163 110 q 69 70 110 163 q 40 93 40 199 q 0 106 -40 199 q -41 93 -110 162 q -70 70 -163 110 q -94 41 -199 41 h -820 q -105 0 -198 -41 q -94 -40 -163 -110 q -70 -69 -110 -162 q -41 -93 -41 -199 q 0 -106 41 -199 q 40 -93 110 -163 q 69 -69 163 -110 q 93 -40 198 -40 m 820 922 q 84 0 159 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -159 -32 h -820 q -84 0 -158 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 158 33 z"\n ></path></svg>',FlowChartPreparation:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 l -410 512 h -1024 l -410 -512 l 410 -512 h 1024 m 278 512 l -327 -410 h -926 l -327 410 l 327 410 h 926 z"\n ></path>\n <path\n type="path"\n d="M 537 1485 l -369 -461 l 369 -461 h 974 l 369 461 l -369 461 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 l -410 512 h -1024 l -410 -512 l 410 -512 h 1024 m 278 512 l -327 -410 h -926 l -327 410 l 327 410 h 926 z"\n ></path></svg>',FlowChartManualInput:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -922 m 1741 -384 l -1638 466 v 737 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -830 l 1740 -489 v 1319 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -922 m 1741 -384 l -1638 466 v 737 h 1638 z"\n ></path></svg>',FlowChartManualOperation:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1873 358 l -506 1332 h -686 l -506 -1332 z"\n ></path>\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path></svg>',FlowChartConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 0 1639 q 159 0 299 -61 q 139 -60 244 -165 q 104 -104 165 -244 q 60 -139 60 -298 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -71 -70 -156 -120 q -85 -50 -183 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 106 28 204 q 27 98 77 183 q 50 85 120 155 q 70 71 156 121 q 85 50 183 77 q 98 28 204 28 z"\n ></path>\n <path\n type="path"\n d="M 973 1792 q -113 0 -217 -30 q -105 -29 -196 -82 q -91 -53 -166 -128 q -75 -75 -128 -166 q -53 -91 -82 -196 q -30 -104 -30 -217 q 0 -113 30 -218 q 29 -104 82 -195 q 53 -91 128 -166 q 75 -75 166 -128 q 91 -53 196 -83 q 104 -29 217 -29 q 113 0 218 29 q 104 30 195 83 q 91 53 166 128 q 75 75 128 166 q 53 91 83 195 q 29 105 29 218 q 0 113 -29 217 q -30 105 -83 196 q -53 91 -128 166 q -75 75 -166 128 q -91 53 -195 82 q -105 30 -218 30 z"\n ></path>\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 0 1639 q 159 0 299 -61 q 139 -60 244 -165 q 104 -104 165 -244 q 60 -139 60 -298 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -71 -70 -156 -120 q -85 -50 -183 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 106 28 204 q 27 98 77 183 q 50 85 120 155 q 70 71 156 121 q 85 50 183 77 q 98 28 204 28 z"\n ></path></svg>',FlowChartOffpageConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1741 102 v 1332 l -717 512 l -717 -512 v -1332 m 1331 103 h -1228 v 1176 l 614 439 l 614 -439 z"\n ></path>\n <path\n type="path"\n d="M 358 1407 v -1253 h 1332 v 1253 l -666 476 z"\n ></path>\n <path\n type="path"\n d="M 1741 102 v 1332 l -717 512 l -717 -512 v -1332 m 1331 103 h -1228 v 1176 l 614 439 l 614 -439 z"\n ></path></svg>',FlowChartCard:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 614 102 h 1332 v 1844 h -1844 v -1332 m 103 1229 h 1638 v -1638 h -1186 l -452 452 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1258 l 482 -482 h 1258 v 1740 z"\n ></path>\n <path\n type="path"\n d="M 614 102 h 1332 v 1844 h -1844 v -1332 m 103 1229 h 1638 v -1638 h -1186 l -452 452 z"\n ></path></svg>',FlowChartPunchedTape:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1485 102 q 95 0 179 16 q 84 16 147 44 q 62 28 99 65 q 36 38 36 80 v 1434 q 0 -42 -36 -80 q -37 -37 -99 -65 q -63 -28 -147 -44 q -84 -16 -179 -16 q -96 0 -180 16 q -84 16 -146 44 q -63 28 -99 65 q -36 38 -36 80 q 0 42 -36 79 q -36 38 -98 66 q -63 28 -147 44 q -84 16 -180 16 q -95 0 -179 -16 q -84 -16 -146 -44 q -63 -28 -99 -66 q -37 -37 -37 -79 v -1434 q 0 42 37 79 q 36 38 99 66 q 62 28 146 44 q 84 16 179 16 q 96 0 180 -16 q 84 -16 147 -44 q 62 -28 98 -66 q 36 -37 36 -79 q 0 -42 36 -80 q 36 -37 99 -65 q 62 -28 146 -44 q 84 -16 180 -16 m 358 208 q -3 -11 -28 -29 q -25 -17 -70 -34 q -46 -17 -111 -30 q -65 -12 -149 -12 q -84 0 -149 12 q -66 13 -111 29 q -46 17 -71 34 q -25 17 -28 27 q 0 67 -42 123 q -42 56 -117 97 q -75 41 -178 64 q -104 23 -226 23 q -102 0 -193 -17 q -92 -16 -165 -48 v 1189 q 3 11 28 28 q 25 18 71 35 q 45 17 110 29 q 65 13 149 13 q 84 0 150 -13 q 65 -12 111 -29 q 45 -16 70 -33 q 25 -17 28 -27 q 0 -67 42 -123 q 42 -56 117 -97 q 75 -41 179 -64 q 103 -23 225 -23 q 102 0 194 16 q 91 17 164 49 z"\n ></path>\n <path\n type="path"\n d="M 563 1894 q -94 0 -169 -15 q -76 -15 -129 -38 q -54 -23 -82 -50 q -29 -27 -29 -50 v -1276 q 69 45 175 71 q 105 27 234 27 q 109 0 203 -20 q 94 -19 163 -54 q 68 -34 107 -81 q 39 -46 39 -101 q 0 -23 29 -50 q 29 -27 83 -50 q 53 -23 129 -38 q 75 -15 169 -15 q 94 0 170 15 q 75 15 128 38 q 53 23 82 50 q 29 27 29 50 v 1276 q -69 -45 -174 -72 q -106 -26 -235 -26 q -110 0 -203 19 q -94 20 -162 54 q -69 35 -108 81 q -39 47 -39 102 q 0 23 -29 50 q -29 27 -82 50 q -54 23 -129 38 q -76 15 -170 15 z"\n ></path>\n <path\n type="path"\n d="M 1485 102 q 95 0 179 16 q 84 16 147 44 q 62 28 99 65 q 36 38 36 80 v 1434 q 0 -42 -36 -80 q -37 -37 -99 -65 q -63 -28 -147 -44 q -84 -16 -179 -16 q -96 0 -180 16 q -84 16 -146 44 q -63 28 -99 65 q -36 38 -36 80 q 0 42 -36 79 q -36 38 -98 66 q -63 28 -147 44 q -84 16 -180 16 q -95 0 -179 -16 q -84 -16 -146 -44 q -63 -28 -99 -66 q -37 -37 -37 -79 v -1434 q 0 42 37 79 q 36 38 99 66 q 62 28 146 44 q 84 16 179 16 q 96 0 180 -16 q 84 -16 147 -44 q 62 -28 98 -66 q 36 -37 36 -79 q 0 -42 36 -80 q 36 -37 99 -65 q 62 -28 146 -44 q 84 -16 180 -16 m 358 208 q -3 -11 -28 -29 q -25 -17 -70 -34 q -46 -17 -111 -30 q -65 -12 -149 -12 q -84 0 -149 12 q -66 13 -111 29 q -46 17 -71 34 q -25 17 -28 27 q 0 67 -42 123 q -42 56 -117 97 q -75 41 -178 64 q -104 23 -226 23 q -102 0 -193 -17 q -92 -16 -165 -48 v 1189 q 3 11 28 28 q 25 18 71 35 q 45 17 110 29 q 65 13 149 13 q 84 0 150 -13 q 65 -12 111 -29 q 45 -16 70 -33 q 25 -17 28 -27 q 0 -67 42 -123 q 42 -56 117 -97 q 75 -41 179 -64 q 103 -23 225 -23 q 102 0 194 16 q 91 17 164 49 z"\n ></path></svg>',FlowChartSummingJunction:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1588 357 q 64 64 112 136 q 47 73 79 152 q 32 79 48 161 q 16 83 16 167 q 0 83 -16 165 q -16 83 -48 162 q -32 79 -79 151 q -48 73 -112 137 q -64 64 -136 111 q -73 48 -152 80 q -79 32 -161 48 q -83 16 -167 16 q -83 0 -165 -16 q -83 -16 -162 -48 q -79 -32 -151 -80 q -73 -47 -137 -111 q -64 -64 -111 -137 q -48 -72 -80 -151 q -32 -79 -48 -162 q -16 -82 -16 -165 q 0 -84 16 -167 q 16 -82 48 -161 q 32 -79 80 -152 q 47 -72 111 -136 q 64 -64 137 -112 q 72 -47 151 -79 q 79 -32 162 -48 q 82 -16 165 -16 q 84 0 167 16 q 82 16 161 48 q 79 32 152 79 q 72 48 136 112 m -110 38 q -109 -95 -239 -143 q -130 -47 -266 -47 q -137 0 -267 47 q -130 48 -239 143 l 506 505 m -578 -433 q -96 109 -143 239 q -47 131 -47 267 q 0 137 47 266 q 47 130 143 239 l 505 -505 m -433 578 q 109 96 239 143 q 130 47 267 47 q 136 0 266 -47 q 130 -47 239 -143 l -505 -506 m 578 433 q 95 -109 143 -239 q 47 -129 47 -266 q 0 -136 -47 -267 q -48 -130 -143 -239 l -506 506 z"\n ></path>\n <path\n type="path"\n d="M 394 1552 q -60 -60 -105 -128 q -45 -68 -75 -142 q -30 -74 -45 -152 q -15 -78 -15 -157 q 0 -158 60 -308 q 59 -150 180 -271 q 121 -121 271 -181 q 150 -59 308 -59 q 158 0 308 59 q 150 60 271 181 q 120 121 180 271 q 59 150 59 308 q 0 79 -15 157 q -15 78 -45 152 q -30 74 -74 142 q -45 68 -105 128 q -121 121 -271 180 q -150 59 -308 59 q -79 0 -157 -15 q -78 -15 -152 -45 q -74 -29 -142 -74 q -68 -45 -128 -105 z"\n ></path>\n <path\n type="path"\n d="M 1588 357 q 64 64 112 136 q 47 73 79 152 q 32 79 48 161 q 16 83 16 167 q 0 83 -16 165 q -16 83 -48 162 q -32 79 -79 151 q -48 73 -112 137 q -64 64 -136 111 q -73 48 -152 80 q -79 32 -161 48 q -83 16 -167 16 q -83 0 -165 -16 q -83 -16 -162 -48 q -79 -32 -151 -80 q -73 -47 -137 -111 q -64 -64 -111 -137 q -48 -72 -80 -151 q -32 -79 -48 -162 q -16 -82 -16 -165 q 0 -84 16 -167 q 16 -82 48 -161 q 32 -79 80 -152 q 47 -72 111 -136 q 64 -64 137 -112 q 72 -47 151 -79 q 79 -32 162 -48 q 82 -16 165 -16 q 84 0 167 16 q 82 16 161 48 q 79 32 152 79 q 72 48 136 112 m -110 38 q -109 -95 -239 -143 q -130 -47 -266 -47 q -137 0 -267 47 q -130 48 -239 143 l 506 505 m -578 -433 q -96 109 -143 239 q -47 131 -47 267 q 0 137 47 266 q 47 130 143 239 l 505 -505 m -433 578 q 109 96 239 143 q 130 47 267 47 q 136 0 266 -47 q 130 -47 239 -143 l -505 -506 m 578 433 q 95 -109 143 -239 q 47 -129 47 -266 q 0 -136 -47 -267 q -48 -130 -143 -239 l -506 506 z"\n ></path></svg>',FlowChartOr:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 766 820 q -9 -144 -68 -270 q -59 -126 -155 -222 q -96 -96 -222 -155 q -126 -59 -270 -69 v 716 m -102 -716 q -144 10 -270 69 q -126 59 -222 155 q -96 96 -155 222 q -59 126 -69 270 h 716 m -716 102 q 10 144 69 270 q 59 126 155 222 q 96 96 222 155 q 126 59 270 68 v -715 m 102 715 q 144 -9 270 -68 q 126 -59 222 -155 q 96 -96 155 -222 q 59 -126 68 -270 h -715 z"\n ></path>\n <path\n type="path"\n d="M 394 1552 q -60 -60 -105 -128 q -45 -68 -75 -142 q -30 -74 -45 -152 q -15 -78 -15 -157 q 0 -158 60 -308 q 59 -150 180 -271 q 121 -121 271 -181 q 150 -59 308 -59 q 158 0 308 59 q 150 60 271 181 q 120 121 180 271 q 59 150 59 308 q 0 79 -15 157 q -15 78 -45 152 q -30 74 -74 142 q -45 68 -105 128 q -121 121 -271 180 q -150 59 -308 59 q -79 0 -157 -15 q -78 -15 -152 -45 q -74 -29 -142 -74 q -68 -45 -128 -105 z"\n ></path>\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 766 820 q -9 -144 -68 -270 q -59 -126 -155 -222 q -96 -96 -222 -155 q -126 -59 -270 -69 v 716 m -102 -716 q -144 10 -270 69 q -126 59 -222 155 q -96 96 -155 222 q -59 126 -69 270 h 716 m -716 102 q 10 144 69 270 q 59 126 155 222 q 96 96 222 155 q 126 59 270 68 v -715 m 102 715 q 144 -9 270 -68 q 126 -59 222 -155 q 96 -96 155 -222 q 59 -126 68 -270 h -715 z"\n ></path></svg>',FlowChartCollate:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1064 973 l 677 870 h -1434 l 677 -870 l -677 -871 h 1434 m -1224 103 l 507 652 l 507 -652 m 0 1536 l -507 -653 l -507 653 z"\n ></path>\n <path\n type="path"\n d="M 412 1792 l 612 -787 l 612 787 m -1224 -1638 h 1224 l -612 787 z"\n ></path>\n <path\n type="path"\n d="M 1064 973 l 677 870 h -1434 l 677 -870 l -677 -871 h 1434 m -1224 103 l 507 652 l 507 -652 m 0 1536 l -507 -653 l -507 653 z"\n ></path></svg>',FlowChartSort:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1741 973 l -717 870 l -717 -870 l 717 -871 m 0 161 l -542 659 h 1084 m -542 760 l 542 -658 h -1084 z"\n ></path>\n <path\n type="path"\n d="M 374 973 l 650 -790 l 650 790 l -650 790 z"\n ></path>\n <path\n type="path"\n d="M 1741 973 l -717 870 l -717 -870 l 717 -871 m 0 161 l -542 659 h 1084 m -542 760 l 542 -658 h -1084 z"\n ></path></svg>',FlowChartExtract:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path>\n <path\n type="path"\n d="M 185 1894 l 839 -1677 l 839 1677 z"\n ></path>\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path></svg>',FlowChartMerge:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 l -922 1844 l -922 -1844 m 922 1625 l 752 -1522 h -1504 z"\n ></path>\n <path\n type="path"\n d="M 187 154 h 1674 l -837 1682 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 l -922 1844 l -922 -1844 m 922 1625 l 752 -1522 h -1504 z"\n ></path></svg>',FlowChartStoredData:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 q -109 21 -202 86 q -94 65 -163 161 q -69 96 -108 216 q -39 121 -39 254 q 0 133 39 253 q 39 121 108 217 q 69 96 163 161 q 93 65 202 86 v 102 h -1127 q -99 0 -190 -30 q -92 -29 -172 -82 q -80 -53 -145 -128 q -65 -75 -112 -166 q -47 -91 -72 -196 q -26 -104 -26 -217 q 0 -113 26 -218 q 25 -104 72 -195 q 47 -91 112 -166 q 65 -75 145 -128 q 80 -53 172 -83 q 91 -29 190 -29 h 1127 m -615 819 q 0 -112 26 -218 q 25 -105 72 -198 q 47 -92 113 -169 q 65 -77 146 -132 h -869 q -127 0 -239 56 q -112 57 -195 154 q -83 98 -131 228 q -49 131 -49 279 q 0 148 49 278 q 48 131 131 228 q 83 98 195 154 q 112 57 239 57 h 869 q -81 -55 -146 -132 q -66 -77 -113 -170 q -47 -92 -72 -198 q -26 -105 -26 -217 z"\n ></path>\n <path\n type="path"\n d="M 819 1792 q -92 0 -177 -28 q -85 -27 -158 -77 q -74 -50 -135 -120 q -61 -70 -104 -156 q -43 -85 -67 -183 q -24 -98 -24 -204 q 0 -106 24 -204 q 24 -98 67 -184 q 43 -85 104 -155 q 61 -70 135 -120 q 73 -50 158 -78 q 85 -27 177 -27 h 1075 v 11 q -110 30 -204 102 q -94 72 -162 172 q -69 101 -107 224 q -39 124 -39 259 q 0 135 39 258 q 38 124 107 224 q 68 101 162 173 q 94 72 204 102 v 11 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 q -109 21 -202 86 q -94 65 -163 161 q -69 96 -108 216 q -39 121 -39 254 q 0 133 39 253 q 39 121 108 217 q 69 96 163 161 q 93 65 202 86 v 102 h -1127 q -99 0 -190 -30 q -92 -29 -172 -82 q -80 -53 -145 -128 q -65 -75 -112 -166 q -47 -91 -72 -196 q -26 -104 -26 -217 q 0 -113 26 -218 q 25 -104 72 -195 q 47 -91 112 -166 q 65 -75 145 -128 q 80 -53 172 -83 q 91 -29 190 -29 h 1127 m -615 819 q 0 -112 26 -218 q 25 -105 72 -198 q 47 -92 113 -169 q 65 -77 146 -132 h -869 q -127 0 -239 56 q -112 57 -195 154 q -83 98 -131 228 q -49 131 -49 279 q 0 148 49 278 q 48 131 131 228 q 83 98 195 154 q 112 57 239 57 h 869 q -81 -55 -146 -132 q -66 -77 -113 -170 q -47 -92 -72 -198 q -26 -105 -26 -217 z"\n ></path></svg>',FlowChartDelay:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -922 v -1844 m 922 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -819 v 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 870 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 79 136 176 q 57 97 88 208 q 31 111 31 231 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -922 v -1844 m 922 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -819 v 1638 z"\n ></path></svg>',FlowChartSequentialAccessStorage:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1536 v 410 h -973 q -115 0 -224 -33 q -110 -33 -206 -94 q -97 -61 -178 -148 q -81 -87 -139 -196 q -59 -108 -91 -235 q -33 -126 -33 -267 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 162 -55 305 q -56 143 -154 258 m 209 102 h -488 q 86 -48 157 -119 q 71 -70 122 -156 q 51 -86 79 -186 q 28 -99 28 -204 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -70 -70 -155 -120 q -86 -50 -184 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 102 25 206 q 25 104 72 200 q 47 97 115 181 q 67 85 152 148 q 85 63 187 99 q 102 36 217 36 h 870 z"\n ></path>\n <path\n type="path"\n d="M 1894 1587 v 307 h -972 v -7 q -101 -12 -197 -56 q -96 -44 -181 -111 q -86 -66 -157 -152 q -72 -86 -123 -184 q -52 -97 -81 -202 q -29 -105 -29 -209 q 0 -113 30 -218 q 29 -104 82 -195 q 53 -91 128 -166 q 75 -75 166 -128 q 91 -53 196 -83 q 104 -29 217 -29 q 113 0 218 29 q 104 30 195 83 q 91 53 166 128 q 75 75 128 166 q 53 91 83 195 q 29 105 29 218 q 0 92 -19 178 q -20 87 -56 165 q -37 78 -88 146 q -52 69 -116 125 z"\n ></path>\n <path\n type="path"\n d="M 1946 1536 v 410 h -973 q -115 0 -224 -33 q -110 -33 -206 -94 q -97 -61 -178 -148 q -81 -87 -139 -196 q -59 -108 -91 -235 q -33 -126 -33 -267 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 162 -55 305 q -56 143 -154 258 m 209 102 h -488 q 86 -48 157 -119 q 71 -70 122 -156 q 51 -86 79 -186 q 28 -99 28 -204 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -70 -70 -155 -120 q -86 -50 -184 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 102 25 206 q 25 104 72 200 q 47 97 115 181 q 67 85 152 148 q 85 63 187 99 q 102 36 217 36 h 870 z"\n ></path></svg>',FlowChartMagneticDisk:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 307 q 127 0 245 13 q 118 13 221 36 q 102 23 186 56 q 84 33 144 73 q 60 40 93 86 q 33 46 33 95 v 716 q 0 50 -33 95 q -33 46 -93 86 q -60 40 -144 73 q -84 33 -186 56 q -103 23 -221 36 q -118 13 -245 13 q -127 0 -245 -13 q -118 -13 -220 -36 q -103 -23 -187 -56 q -84 -33 -144 -73 q -60 -40 -93 -86 q -33 -45 -33 -95 v -716 q 0 -49 33 -95 q 33 -46 93 -86 q 60 -40 144 -73 q 84 -33 187 -56 q 102 -23 220 -36 q 118 -13 245 -13 m 0 103 q -199 0 -351 28 q -153 28 -257 67 q -104 40 -157 84 q -54 44 -54 77 q 0 32 54 76 q 53 44 157 84 q 104 40 257 68 q 152 28 351 28 q 199 0 352 -28 q 152 -28 256 -68 q 104 -40 158 -84 q 53 -44 53 -76 q 0 -33 -53 -77 q -54 -44 -158 -84 q -104 -39 -256 -67 q -153 -28 -352 -28 m 0 1228 q 199 0 352 -28 q 152 -28 256 -68 q 104 -39 158 -83 q 53 -44 53 -77 v -553 q -57 44 -142 79 q -85 36 -191 62 q -106 26 -229 40 q -123 14 -257 14 q -134 0 -257 -14 q -123 -14 -229 -40 q -106 -26 -191 -62 q -85 -35 -142 -79 v 553 q 0 33 54 77 q 53 44 157 83 q 104 40 257 68 q 152 28 351 28 z"\n ></path>\n <path\n type="path"\n d="M 1024 1690 q -128 0 -242 -13 q -115 -12 -211 -34 q -97 -22 -174 -52 q -78 -30 -131 -64 q -54 -34 -83 -71 q -29 -37 -29 -74 v -716 q 0 -36 29 -74 q 29 -37 83 -71 q 53 -34 131 -64 q 77 -30 174 -52 q 96 -22 211 -35 q 114 -12 242 -12 q 128 0 243 12 q 114 13 211 35 q 96 22 174 52 q 77 30 131 64 q 53 34 82 71 q 29 38 29 74 v 716 q 0 37 -29 74 q -29 37 -82 71 q -54 34 -131 64 q -78 30 -174 52 q -97 22 -211 34 q -115 13 -243 13 z"\n ></path>\n <path\n type="path"\n d="M 1024 307 q 127 0 245 13 q 118 13 221 36 q 102 23 186 56 q 84 33 144 73 q 60 40 93 86 q 33 46 33 95 v 716 q 0 50 -33 95 q -33 46 -93 86 q -60 40 -144 73 q -84 33 -186 56 q -103 23 -221 36 q -118 13 -245 13 q -127 0 -245 -13 q -118 -13 -220 -36 q -103 -23 -187 -56 q -84 -33 -144 -73 q -60 -40 -93 -86 q -33 -45 -33 -95 v -716 q 0 -49 33 -95 q 33 -46 93 -86 q 60 -40 144 -73 q 84 -33 187 -56 q 102 -23 220 -36 q 118 -13 245 -13 m 0 103 q -199 0 -351 28 q -153 28 -257 67 q -104 40 -157 84 q -54 44 -54 77 q 0 32 54 76 q 53 44 157 84 q 104 40 257 68 q 152 28 351 28 q 199 0 352 -28 q 152 -28 256 -68 q 104 -40 158 -84 q 53 -44 53 -76 q 0 -33 -53 -77 q -54 -44 -158 -84 q -104 -39 -256 -67 q -153 -28 -352 -28 m 0 1228 q 199 0 352 -28 q 152 -28 256 -68 q 104 -39 158 -83 q 53 -44 53 -77 v -553 q -57 44 -142 79 q -85 36 -191 62 q -106 26 -229 40 q -123 14 -257 14 q -134 0 -257 -14 q -123 -14 -229 -40 q -106 -26 -191 -62 q -85 -35 -142 -79 v 553 q 0 33 54 77 q 53 44 157 83 q 104 40 257 68 q 152 28 351 28 z"\n ></path></svg>',FlowChartDirectAccessStorage:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1741 1024 q 0 127 -13 245 q -13 118 -36 220 q -23 103 -56 187 q -33 84 -73 144 q -40 60 -86 93 q -46 33 -95 33 h -716 q -50 0 -95 -33 q -46 -33 -86 -93 q -40 -60 -73 -144 q -33 -84 -56 -187 q -23 -102 -36 -220 q -13 -118 -13 -245 q 0 -127 13 -245 q 13 -118 36 -221 q 23 -102 56 -186 q 33 -84 73 -144 q 40 -60 86 -93 q 45 -33 95 -33 h 716 q 49 0 95 33 q 46 33 86 93 q 40 60 73 144 q 33 84 56 186 q 23 103 36 221 q 13 118 13 245 m -103 0 q 0 -199 -28 -352 q -28 -152 -67 -256 q -40 -104 -84 -158 q -44 -53 -77 -53 q -32 0 -76 53 q -44 54 -84 158 q -40 104 -68 256 q -28 153 -28 352 q 0 199 28 351 q 28 153 68 257 q 40 104 84 157 q 44 54 76 54 q 33 0 77 -54 q 44 -53 84 -157 q 39 -104 67 -257 q 28 -152 28 -351 m -1228 0 q 0 199 28 351 q 28 153 68 257 q 39 104 83 157 q 44 54 77 54 h 553 q -44 -57 -79 -142 q -36 -85 -62 -191 q -26 -106 -40 -229 q -14 -123 -14 -257 q 0 -134 14 -257 q 14 -123 40 -229 q 26 -106 62 -191 q 35 -85 79 -142 h -553 q -33 0 -77 53 q -44 54 -83 158 q -40 104 -68 256 q -28 153 -28 352 z"\n ></path>\n <path\n type="path"\n d="M 358 1024 q 0 -128 13 -243 q 12 -114 34 -211 q 22 -96 52 -174 q 30 -77 64 -131 q 34 -53 71 -82 q 37 -29 74 -29 h 716 q 36 0 74 29 q 37 29 71 82 q 34 54 64 131 q 30 78 52 174 q 22 97 35 211 q 12 115 12 243 q 0 128 -12 242 q -13 115 -35 211 q -22 97 -52 174 q -30 78 -64 131 q -34 54 -71 83 q -38 29 -74 29 h -716 q -37 0 -74 -29 q -37 -29 -71 -83 q -34 -53 -64 -131 q -30 -77 -52 -174 q -22 -96 -34 -211 q -13 -114 -13 -242 z"\n ></path>\n <path\n type="path"\n d="M 1741 1024 q 0 127 -13 245 q -13 118 -36 220 q -23 103 -56 187 q -33 84 -73 144 q -40 60 -86 93 q -46 33 -95 33 h -716 q -50 0 -95 -33 q -46 -33 -86 -93 q -40 -60 -73 -144 q -33 -84 -56 -187 q -23 -102 -36 -220 q -13 -118 -13 -245 q 0 -127 13 -245 q 13 -118 36 -221 q 23 -102 56 -186 q 33 -84 73 -144 q 40 -60 86 -93 q 45 -33 95 -33 h 716 q 49 0 95 33 q 46 33 86 93 q 40 60 73 144 q 33 84 56 186 q 23 103 36 221 q 13 118 13 245 m -103 0 q 0 -199 -28 -352 q -28 -152 -67 -256 q -40 -104 -84 -158 q -44 -53 -77 -53 q -32 0 -76 53 q -44 54 -84 158 q -40 104 -68 256 q -28 153 -28 352 q 0 199 28 351 q 28 153 68 257 q 40 104 84 157 q 44 54 76 54 q 33 0 77 -54 q 44 -53 84 -157 q 39 -104 67 -257 q 28 -152 28 -351 m -1228 0 q 0 199 28 351 q 28 153 68 257 q 39 104 83 157 q 44 54 77 54 h 553 q -44 -57 -79 -142 q -36 -85 -62 -191 q -26 -106 -40 -229 q -14 -123 -14 -257 q 0 -134 14 -257 q 14 -123 40 -229 q 26 -106 62 -191 q 35 -85 79 -142 h -553 q -33 0 -77 53 q -44 54 -83 158 q -40 104 -68 256 q -28 153 -28 352 z"\n ></path></svg>',FlowChartDisplay:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -410 l -512 -922 l 512 -922 m 410 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -349 l -455 819 l 455 819 z"\n ></path>\n <path\n type="path"\n d="M 645 1894 l -484 -870 l 484 -870 h 379 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 79 136 176 q 57 97 88 208 q 31 111 31 231 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -410 l -512 -922 l 512 -922 m 410 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -349 l -455 819 l 455 819 z"\n ></path></svg>'},Vr={Line:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1873 1946 l -1771 -1771 l 73 -73 l 1771 1771 z"\n ></path>\n <path\n type="path"\n d="M 1873 1946 l -1771 -1771 l 73 -73 l 1771 1771 z"\n ></path></svg>',Arrow:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1669 -1668 l 73 -73 l 1668 1669 v -235 z"\n ></path>\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1669 -1668 l 73 -73 l 1668 1669 v -235 z"\n ></path></svg>',DoubleArrow:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1566 -1566 v 235 h -103 v -410 h 410 v 103 h -235 l 1566 1566 v -235 z"\n ></path>\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1566 -1566 v 235 h -103 v -410 h 410 v 103 h -235 l 1566 1566 v -235 z"\n ></path></svg>',ElbowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1741 h -1024 v -1331 h -820 v -103 h 922 v 1331 h 922 z"\n ></path>\n <path\n type="path"\n d="M 1946 1741 h -1024 v -1331 h -820 v -103 h 922 v 1331 h 922 z"\n ></path></svg>',ElbowArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1690 l -257 256 l -72 -73 l 132 -132 h -827 v -1331 h -820 v -103 h 922 v 1331 h 725 l -132 -132 l 72 -72 z"\n ></path>\n <path\n type="path"\n d="M 1946 1690 l -257 256 l -72 -73 l 132 -132 h -827 v -1331 h -820 v -103 h 922 v 1331 h 725 l -132 -132 l 72 -72 z"\n ></path></svg>',ElbowDoubleArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1690 l -256 256 l -73 -73 l 132 -132 h -827 v -1331 h -623 l 132 132 l -73 72 l -256 -256 l 256 -256 l 73 73 l -132 132 h 725 v 1331 h 725 l -132 -132 l 73 -72 z"\n ></path>\n <path\n type="path"\n d="M 1946 1690 l -256 256 l -73 -73 l 132 -132 h -827 v -1331 h -623 l 132 132 l -73 72 l -256 -256 l 256 -256 l 73 73 l -132 132 h 725 v 1331 h 725 l -132 -132 l 73 -72 z"\n ></path></svg>',CurvedConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1229 614 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 410 v 103 h -410 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 z"\n ></path>\n <path\n type="path"\n d="M 1229 614 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 410 v 103 h -410 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 z"\n ></path></svg>',CurvedArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -220 q -51 0 -108 -2 q -58 -2 -114 -14 q -56 -12 -107 -37 q -52 -25 -91 -71 q -39 -45 -62 -115 q -24 -70 -24 -171 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 214 l -132 -132 l 72 -72 z"\n ></path>\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -220 q -51 0 -108 -2 q -58 -2 -114 -14 q -56 -12 -107 -37 q -52 -25 -91 -71 q -39 -45 -62 -115 q -24 -70 -24 -171 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 214 l -132 -132 l 72 -72 z"\n ></path></svg>',CurvedDoubleArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -214 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -111 l 132 132 l -72 72 l -256 -256 l 256 -256 l 72 73 l -132 132 h 111 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 77 16 129 q 15 52 43 86 q 27 35 67 53 q 39 19 87 27 q 48 9 104 10 q 55 2 116 2 h 190 l -132 -132 l 72 -72 z"\n ></path>\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -214 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -111 l 132 132 l -72 72 l -256 -256 l 256 -256 l 72 73 l -132 132 h 111 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 77 16 129 q 15 52 43 86 q 27 35 67 53 q 39 19 87 27 q 48 9 104 10 q 55 2 116 2 h 190 l -132 -132 l 72 -72 z"\n ></path></svg>'};function Gr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Kr=function(e){me()(i,e);var t=Gr(i);function i(){var e;c()(this,i);var n=new Ce("".concat(xe,"-icon-img insert-shape")),r=function(t){var i,n=Object.keys(t),r=(n=n.filter((function(e){return Object.keys(Hr).includes(e)}))).map((function(i){var n=t[i],r=p("div","".concat(xe,"-item")),a=(new DOMParser).parseFromString(n,"image/svg+xml").documentElement;return r.child(a),r.on("click",(function(){e.change({svg:n,name:i}),e.hide()})),r}));if(r.length>12){for(var a,o=[],s=0;s<r.length/12;s++){var l=p("div","shape-group");l.css("display","flex"),l.children.apply(l,y()(r.slice(12*s,12*s+12))),o.push(l)}var h=(a=p("div","".concat(xe,"-button-group"))).children.apply(a,o);return h.css("flex-direction","column"),h}return(i=p("div","".concat(xe,"-button-group"))).children.apply(i,y()(r))},a=r(Nr),o=r(Ur),s=r(Xr),l=r(Wr),h=r(Yr),u=(r(Vr),[]);return u.push(a),u.push(o),u.push(s),u.push(l),u.push(h),u.forEach((function(e){e.el.style.display="flex"})),e=t.call.apply(t,[this,n,"auto",!0,"bottom-right"].concat(u))}return i}(Vi);function Zr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Jr=function(e){me()(i,e);var t=Zr(i);function i(e){return c()(this,i),t.call(this,"insert-shape",null,"",e)}return o()(i,[{key:"dropdown",value:function(){return new Kr}}]),i}(Wi);function $r(){return p("div","".concat(xe,"-toolbar-divider"))}function Qr(){var e=this;this.btns2=[],this.items.forEach((function(t){if(Array.isArray(t))t.forEach((function(t){var i=t.el,n=i.box(),r=i.computedStyle(),a=r.marginLeft,o=r.marginRight;e.btns2.push([i,n.width+parseInt(a,10)+parseInt(o,10)])}));else{var i=t.box(),n=t.computedStyle(),r=n.marginLeft,a=n.marginRight;e.btns2.push([t,i.width+parseInt(r,10)+parseInt(a,10)])}}))}function ea(){var e,t,i=this.el,n=this.btns,r=this.moreEl,a=this.btns2,o=r.dd,s=o.moreBtns,h=o.contentEl,c=i.box(),u=100,d=12,f=[],v=[];a.forEach((function(e,t){var i=l()(e,2),n=i[0],r=i[1];u+=r,t===a.length-1||u<c.width?f.push(n):(d+=r,v.push(n))})),(e=n.html("")).children.apply(e,f),(t=s.html("")).children.apply(t,v),h.css("width","".concat(d,"px")),v.length>0?r.show():r.hide()}var ta=function(){function e(t,i,n,r){var a=this;c()(this,e),this.data=t,this.change=function(){},this.widthFn=i,this.isHide=n;var o=t.defaultStyle();this.items=[[new fr,this.paintformatEl=new Dn,this.clearformatEl=new In],$r(),[this.formatEl=new tr],$r(),[this.fontEl=new Jn,this.fontSizeEl=new Un],$r(),[this.zoomSizeEl=new Vn,this.boldEl=new on,this.italicEl=new ln,this.underlineEl=new dn,this.strikeEl=new cn,this.textColorEl=new Pn(o.color)],$r(),[this.fillColorEl=new Ln(o.bgcolor),this.borderEl=new Rn,this.mergeEl=new ur],$r(),[this.alignEl=new Ji(o.align),this.valignEl=new Qi(o.valign),this.textwrapEl=new gr],$r(),[this.freezeEl=new hr,this.autofilterEl=new rn,this.formulaEl=new sr,this.sortEl=new wr,this.insertImageEL=new Br,this.insertShapeEL=new Jr,this.insertControlEL=new Fr,this.searchEl=new xr],$r(),[this.commentEditEl=new Cr,this.commentRemoveEl=new Tr,this.commentPreviousEl=new Or,this.commentNextEl=new Er],$r(),[this.moreEl=new yr]],screen.width<500&&this.items[0].splice(0,1),n&&r&&(this.items=[[new fr,this.moreEl=new yr,this.sortEl=new wr,this.searchEl=new xr]]),this.el=p("div","".concat(xe,"-toolbar")),this.btns=p("div","".concat(xe,"-toolbar-btns")),this.items.forEach((function(e){Array.isArray(e)?e.forEach((function(e){a.btns.child(e.el),e.change=function(){a.change.apply(a,arguments)}})):a.btns.child(e.el)}));var s=this.menuDisplay=new jr;if(s.change=function(){a.change.apply(a,arguments)},this.el.children(this.btns.el,s.el),n&&!r)this.el.hide();else{this.reset(),setTimeout((function(){Qr.call(a),ea.call(a)}),0);var l=this,h=function(){ea.call(l)};Fe(window,"resize",h),this.delWindowEvent=function(){Le(window,"resize",h)}}}return o()(e,[{key:"paintformatActive",value:function(){return this.paintformatEl.active()}},{key:"paintformatToggle",value:function(){this.paintformatEl.toggle()}},{key:"trigger",value:function(e){this["".concat(e,"El")].click()}},{key:"resetData",value:function(e){this.data=e,this.reset()}},{key:"reset",value:function(){if(!this.isHide){var e=this.data,t=e.getSelectedCellStyle();this.mergeEl.setState(e.canUnmerge(),!1),this.autofilterEl.setState(!e.canAutofilter());var i=t.font,n=t.format;this.formatEl.setState(n),this.fontEl.setState(i.name),this.fontSizeEl.setState(i.size),this.zoomSizeEl.setState(e.zoomlevel),this.boldEl.setState(i.bold),this.italicEl.setState(i.italic),this.underlineEl.setState(t.underline),this.strikeEl.setState(t.strike),this.textColorEl.setState(t.color),this.fillColorEl.setState(t.bgcolor),this.alignEl.setState(t.align),this.valignEl.setState(t.valign),this.textwrapEl.setState(t.textwrap),this.freezeEl.setState(e.freezeIsActive())}}}]),e}(),ia=function(){function e(t,i){var n,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"600px",o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c()(this,e),this.moving=!1,this.drag=s,this.title=t;var l=parseInt(a);screen.width<500&&l>300&&(a="300px"),this.el=p("div","".concat(xe,"-modal")).css("width",a).css("position","absolute").children(p("div","".concat(xe,"-modal-header")).children(new Ce("close").on("click.stop",(function(){return r.hide()})),this.title),(n=p("div","".concat(xe,"-modal-content"))).children.apply(n,y()(i))).hide(),this.showDimmer=o,this.drag&&this.el.on("mousedown.stop",(function(e){return r.mousedownHandler(e)}))}return o()(e,[{key:"show",value:function(){var e=this;if(!this.moving){this.showDimmer&&(this.dimmer=p("div","".concat(xe,"-dimmer active")),document.body.appendChild(this.dimmer.el));var t=this.el.show().box(),i=t.width,n=t.height,r=document.documentElement,a=r.clientHeight,o=r.clientWidth;this.el.offset({left:(o-i)/2,top:(a-n)/3}),window.xkeydownEsc=function(t){27===t.keyCode&&e.hide()},Fe(window,"keydown",window.xkeydownEsc)}}},{key:"hide",value:function(){this.el.hide(),this.showDimmer&&document.body.removeChild(this.dimmer.el),Le(window,"keydown",window.xkeydownEsc),delete window.xkeydownEsc}},{key:"mousedownHandler",value:function(e){var t=this,i=e;Ne(window,(function(e){if(t.moving=!0,null!==i){var n=t.el.offset(void 0);t.el.offset({left:n.left+e.movementX,top:n.top+e.movementY}),i=e}}),(function(){i=null,t.moving=!1}))}}]),e}(),na=function(){function e(t,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200;c()(this,e),this.vchange=function(){},this.el=p("div","".concat(xe,"-form-input")),this.input=p("input","").css("width",t).on("input",(function(e){return n.vchange(e)})).attr("placeholder",i).attr("maxlength",r),this.el.child(this.input)}return o()(e,[{key:"focus",value:function(){var e=this;setTimeout((function(){e.input.el.focus()}),10)}},{key:"hint",value:function(e){this.input.attr("placeholder",e)}},{key:"setReadonly",value:function(e){e?this.input.attr("readonly",""):this.input.removeAttr("readonly")}},{key:"val",value:function(e){return this.input.val(e)}}]),e}();function ra(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return aa(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return aa(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function aa(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var oa=function(){function e(t,i,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){};c()(this,e),this.key=t,this.getTitle=a,this.change=o,this.width=n,this.vchange=function(){},this.items=[],this.itemsmap=new Map,this.el=p("div","".concat(xe,"-form-select")),this.suggest=new mt(i.map((function(e){return{key:e,title:r.getTitle(e)}})),(function(e){r.itemClick(e.key),o(e.key),r.vchange(e.key)}),n,this.el),this.el.children(this.itemEl=p("div","input-text").html(this.getTitle(t)),this.suggest.el).on("click",(function(){return r.show()}))}return o()(e,[{key:"show",value:function(){this.suggest.search("")}},{key:"itemClick",value:function(e){this.key=e,this.itemsmap.size>0?this.itemEl.html(this.itemsmap.get(e)):this.itemEl.html(this.getTitle(e))}},{key:"setItemsMap",value:function(e){var t=this;this.itemsmap=e;var i,n=[],r=ra(e);try{for(r.s();!(i=r.n()).done;){var a=l()(i.value,2),o=a[0],s=a[1];n.push({key:o,title:s})}}catch(e){r.e(e)}finally{r.f()}this.suggest=new mt(n,(function(e){t.itemClick(e.key),t.change(e.key),t.vchange(e.key)}),this.width,this.el),e.size>6&&this.suggest.el.css("height","200px"),this.el.empty(),this.el.children(this.itemEl=p("div","input-text").html(n[0].title),this.suggest.el)}},{key:"val",value:function(e){return void 0!==e?(this.key=e,this.itemsmap.size>0?this.itemEl.html(this.itemsmap.get(e)):this.itemEl.html(this.getTitle(e)),this):this.key}}]),e}(),sa={number:/(^\d+$)|(^\d+(\.\d{0,4})?$)/,date:/^\d{4}-\d{1,2}-\d{1,2}$/},la=function(){function e(t,i,n,r){var a=this;c()(this,e),this.label="",this.rule=i,n&&(this.label=p("label","label").css("width","".concat(r,"px")).html(n)),this.tip=p("div","tip").child("tip").hide(),this.input=t,this.input.vchange=function(){return a.validate()},this.el=p("div","".concat(xe,"-form-field")).children(this.label,t.el,this.tip)}return o()(e,[{key:"isShow",value:function(){return"none"!==this.el.css("display")}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"val",value:function(e){return this.input.val(e)}},{key:"hint",value:function(e){this.input.hint(e)}},{key:"validate",value:function(){var e=this.input,t=this.rule,i=this.tip,n=this.el,r=e.val();if(t.required&&/^\s*$/.test(r))return i.html(Q("validation.required")),n.addClass("error"),!1;if((t.type||t.pattern)&&!(t.pattern||sa[t.type]).test(r))return i.html(Q("validation.notMatch")),n.addClass("error"),!1;return n.removeClass("error"),!0}},{key:"validateFail",value:function(e){var t=this.el,i=this.tip;t.addClass("error"),i.html(e),i.show()}},{key:"validateClear",value:function(){var e=this.el,t=this.tip;e.removeClass("error"),t.html(""),t.hide()}}]),e}();function ha(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ca=function(e){me()(i,e);var t=ha(i);function i(){var e;c()(this,i);var n=new la(new oa("cell",["cell"],"100%",(function(e){return Q("dataValidation.modeType.".concat(e))})),{required:!0},"".concat(Q("dataValidation.range"),":"),100),r=new la(new na("120px","E3 or E3:F12"),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/}),a=new la(new oa("list",["list","number","date","phone","email"],"100%",(function(e){return Q("dataValidation.type.".concat(e))}),(function(t){return e.criteriaSelected(t)})),{required:!0},"".concat(Q("dataValidation.criteria"),":"),100),o=new la(new oa("be",["be","nbe","eq","neq","lt","lte","gt","gte"],"160px",(function(e){return Q("dataValidation.operator.".concat(e))}),(function(t){return e.criteriaOperatorSelected(t)})),{required:!0}).hide(),s=new la(new na("70px","10"),{required:!0}).hide(),l=new la(new na("70px","100"),{required:!0,type:"number"}).hide(),h=new la(new na("120px","a,b,c"),{required:!0}),u=new la(new na("70px","10"),{required:!0,type:"number"}).hide();return(e=t.call(this,Q("contextmenu.validation"),[p("div","".concat(xe,"-form-fields")).children(n.el,r.el),p("div","".concat(xe,"-form-fields")).children(a.el,o.el,s.el,l.el,u.el,h.el),p("div","".concat(xe,"-buttons")).children(new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})),new Ei("remove").on("click",(function(){return e.btnClick("remove")})),new Ei("save","primary").on("click",(function(){return e.btnClick("save")})))])).mf=n,e.rf=r,e.cf=a,e.of=o,e.minvf=s,e.maxvf=l,e.vf=u,e.svf=h,e.change=function(){},e}return o()(i,[{key:"showVf",value:function(e){var t="date"===e?"2018-11-12":"10",i=this.vf;i.input.hint(t),i.show()}},{key:"criteriaSelected",value:function(e){var t=this.of,i=this.minvf,n=this.maxvf,r=this.vf,a=this.svf;"date"===e||"number"===e?(t.show(),i.rule.type=e,n.rule.type=e,"date"===e?(i.hint("2018-11-12"),n.hint("2019-11-12")):(i.hint("10"),n.hint("100")),i.show(),n.show(),r.hide(),a.hide()):("list"===e?a.show():a.hide(),r.hide(),t.hide(),i.hide(),n.hide())}},{key:"criteriaOperatorSelected",value:function(e){if(e){var t=this.minvf,i=this.maxvf,n=this.vf;if("be"===e||"nbe"===e)t.show(),i.show(),n.hide();else{var r=this.cf.val();n.rule.type=r,"date"===r?n.hint("2018-11-12"):n.hint("10"),n.show(),t.hide(),i.hide()}}}},{key:"btnClick",value:function(e){if("cancel"===e)this.hide();else if("remove"===e)this.change("remove"),this.hide();else if("save"===e){for(var t=["mf","rf","cf","of","svf","vf","minvf","maxvf"],i=0;i<t.length;i+=1){var n=this[t[i]];if(n.isShow()&&!n.validate())return}var r=this.mf.val(),a=this.rf.val(),o=this.cf.val(),s="phone"===o||"email"===o?"":this.of.val(),l=this.svf.val();"number"!==o&&"date"!==o||(l="be"===s||"nbe"===s?[this.minvf.val(),this.maxvf.val()]:this.vf.val()),this.change("save",r,a,{type:o,operator:s,required:!1,value:l}),this.hide()}}},{key:"setValue",value:function(e){if(e){var t=this.mf,i=this.rf,n=this.cf,r=this.of,a=this.svf,o=this.vf,s=this.minvf,l=this.maxvf,h=e.mode,c=e.ref,u=e.validator||{type:"list"},d=u.type,f=u.operator,v=u.value;t.val(h||"cell"),i.val(c),n.val(d),r.val(f),Array.isArray(v)?(s.val(v[0]),l.val(v[1])):(a.val(v||""),o.val(v||"")),this.criteriaSelected(d),this.criteriaOperatorSelected(f)}this.show()}}]),i}(ia),ua=function(){function e(t,i){c()(this,e),this.el=p("input","".concat(xe,"-form-checkbox")).css("width",t).attr("type","Checkbox")}return o()(e,[{key:"hint",value:function(e){this.el.attr("placeholder",e)}},{key:"val",value:function(e){if(void 0===e)return this.el.el.checked;this.el.el.checked=e}}]),e}();function da(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var fa=function(e){me()(i,e);var t=da(i);function i(){var e;c()(this,i);var n=new la(new na("60px",""),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/},"".concat(Q("dataSort.ci"),":"),60),r=new la(new oa(0,[],"180px",(function(){}),(function(){})),{required:!0},"".concat(Q("dataSort.sortby"),":"),60),a=new la(new oa("desc",["asc","desc"],"100%",(function(e){return Q("dataSort.order.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSort.criteria"),":"),60),o=new la(new oa(0,[],"180px",(function(){}),(function(){})),{required:!0},"".concat(Q("dataSort.sortby"),":"),60),s=new la(new oa("desc",["asc","desc"],"100%",(function(e){return Q("dataSort.order.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSort.criteria"),":"),60),l=new la(new oa(0,[],"180px",(function(){}),(function(){})),{required:!0},"".concat(Q("dataSort.sortby"),":"),60),h=new la(new oa("desc",["asc","desc"],"100%",(function(e){return Q("dataSort.order.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSort.criteria"),":"),60);n.input.setReadonly(!0);var u=new ua("60px","");u.el.on("click",(function(){return e.myHeaderClick()})),u.val(!0);var d=new Ei("del","formbt").on("click",(function(){return e.btnClick("del",1)})),f=p("div","".concat(xe,"-form-fields")).children(o.el,s.el,p("div","".concat(xe,"-buttons")).children(new Ei("add","formbt").on("click",(function(){return e.btnClick("add",2)})),d)),v=p("div","".concat(xe,"-form-fields")).children(l.el,h.el,new Ei("del","formbt").on("click",(function(){return e.btnClick("del",2)})));return(e=t.call(this,Q("contextmenu.sort"),[p("div","".concat(xe,"-form-fields")).children(n.el,new la(u,{required:!1},"".concat(Q("dataSort.header"),":"),120).el),p("div","".concat(xe,"-form-fields")).children(r.el,a.el,new Ei("add","formbt").on("click",(function(){return e.btnClick("add",1)}))),f,v,p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))])).cf=n,e.of1=a,e.sortby1=r,e.of2=s,e.sortby2=o,e.of3=h,e.sortby3=l,e.ci1=null,e.ci2=null,e.ci3=null,e.values=[],e.mcols=null,e.mcolsheader=null,e.cicount=1,e.div2=f,e.div3=v,e.but2=d,e.sc=1,e.myheader=u,f.hide(),v.hide(),e.change=function(){},e}return o()(i,[{key:"btnClick",value:function(e,t){if("ok"===e){if(!this.cf.validate())return;var i=[],n=[];if(i.push(this.of1.val()),n.push(this.sortby1.val()),this.sc>=2&&(i.push(this.of2.val()),n.push(this.sortby2.val())),this.sc>=3&&(i.push(this.of3.val()),n.push(this.sortby3.val())),new Set(n).size<n.length)return void Te("error","".concat(Q("dataSort.msg")));this.change("ok",n,i,this.myheader.val()),this.hide()}else"add"===e?1===t?(this.div2.css("display",""),this.sc=2):2===t&&(this.div3.css("display",""),this.but2.hide(),this.sc=3):"del"===e?1===t?(this.div2.hide(),this.sc=1):2===t&&(this.div3.hide(),this.but2.css("display",""),this.sc=2):"cancel"===e&&this.hide()}},{key:"myHeaderClick",value:function(){var e=this.mcols,t=this.mcolsheader,i=this.myheader,n=this.sortby1,r=this.sortby2,a=this.sortby3,o=i.val()?e:t;n.input.setItemsMap(o),n.val(0),r.input.setItemsMap(o),r.val(1),a.input.setItemsMap(o),a.val(2)}},{key:"setValue",value:function(e){if(null!=e){if(e){var t=this.cf,i=this.of1,n=this.sortby1,r=this.of2,a=this.sortby2,o=this.of3,s=this.sortby3,l=e.ref,h=e.sort,c=e.ci,u=e.m,d=e.mcols,f=e.mcolsheader,v=(h[0]||{order:"asc"}).order1,g=(h[1]||{order:"asc"}).order2,p=(h[2]||{order:"asc"}).order3;t.val(l),i.val(v),r.val(g),o.val(p),this.mcols=d,this.mcolsheader=f,this.myheader.val(1);for(var m=[],y=0;y<d.length;y++)m.push(y);n.input.setItemsMap(d),n.val(0),a.input.setItemsMap(d),a.val(1),s.input.setItemsMap(d),s.val(2),this.ci=c,this.values=u}this.show()}}}]),i}(ia);function va(e){return p("div","".concat(xe,"-item ").concat(e))}function ga(e){var t=this;return va("state").child(Q("sort.".concat(e))).on("click.stop",(function(){return t.itemClick(e)}))}function pa(e){var t=this,i=this.filterbEl,n=this.filterValues;i.html(""),Object.keys(e).forEach((function(r,a){var o=e[r].cnt,s=n.includes(r)?"checked":"";i.child(p("div","".concat(xe,"-item state ").concat(s)).on("click.stop",(function(){return t.filterClick(a,r)})).children(""===r?Q("filter.empty"):r,p("div","label").html("(".concat(o,")"))))}))}function ma(){var e=this.filterhEl,t=this.filterValues,i=this.values;e.html("".concat(t.length," / ").concat(i.length)),e.checked(t.length===i.length)}var ya=function(){function e(){var t=this;c()(this,e),this.filterbEl=p("div","".concat(xe,"-body")),this.filterhEl=p("div","".concat(xe,"-header state")).on("click.stop",(function(){return t.filterClick(0,"all")})),this.el=p("div","".concat(xe,"-sort-filter")).children(this.sortAscEl=ga.call(this,"asc"),this.sortDescEl=ga.call(this,"desc"),va("divider"),p("div","".concat(xe,"-filter")).children(this.filterhEl,this.filterbEl),p("div","".concat(xe,"-buttons")).children(new Ei("cancel").on("click",(function(){return t.btnClick("cancel")})),new Ei("ok","primary").on("click",(function(){return t.btnClick("ok")})))).hide(),this.ci=null,this.sortDesc=null,this.values=null,this.filterValues=[]}return o()(e,[{key:"btnClick",value:function(e){if("ok"===e){var t=this.ci,i=this.sort,n=this.filterValues;this.ok&&this.ok(t,i,"in",n)}this.hide()}},{key:"itemClick",value:function(e){this.sort=e;var t=this.sortAscEl,i=this.sortDescEl;t.checked("asc"===e),i.checked("desc"===e)}},{key:"filterClick",value:function(e,t){var i=this.filterbEl,n=this.filterValues,r=this.values,a=i.children();"all"===t?a.length===n.length?(this.filterValues=[],a.forEach((function(e){return p(e).checked(!1)}))):(this.filterValues=Array.from(r),a.forEach((function(e){return p(e).checked(!0)}))):p(a[e]).toggle("checked")?n.push(t):n.splice(n.findIndex((function(e){return e===t})),1);ma.call(this)}},{key:"set",value:function(e,t,i,n){this.ci=e;var r=this.sortAscEl,a=this.sortDescEl;null!==n?(this.sort=n.order,r.checked(n.asc()),a.checked(n.desc())):(this.sortDesc=null,r.checked(!1),a.checked(!1)),this.values=Object.keys(t),this.filterValues=i?Array.from(i.value):Object.keys(t),pa.call(this,t,i),ma.call(this)}},{key:"setOffset",value:function(e){var t=this;this.el.offset(e).show();var i=1;He(this.el,(function(){i<=0&&(t.hide(),i=5),i-=1}))}},{key:"setOffsetAdjustView",value:function(e,t,i){var n=this;this.el.show();var r=this.el.offset(),a=r.width,o=r.height;e.top+o>i&&(e.top=i-o),e.left+a>t&&(e.left=t-a),this.el.offset(e);var s=1;He(this.el,(function(){s<=0&&(n.hide(),s=5),s-=1}))}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide(),je(this.el)}}]),e}(),ba=function(){function e(){c()(this,e),X()(this,"onEdit",!1),this.el=p("div","".concat(xe,"-comment-tip")).hide()}return o()(e,[{key:"hide",value:function(){this.el.hide()}},{key:"setPosition",value:function(e,t,i){if(!0!==this.onEdit){var n=this.el,r=i?t.left-t.width-1:t.left+t.width,a=t.top-10;n.css("left","".concat(r,"px")),n.css("top","".concat(a,"px")),n.html(e).show(),i&&n.css("left","".concat(r-n.el.offsetWidth,"px"))}}}]),e}();function wa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var qa=function(e){me()(i,e);var t=wa(i);function i(){var e;c()(this,i);var n=new la(new na("80px",""),{required:!0},"".concat(Q("dataSearch.label"),":"),100),r=new la(new ua("80px",""),{required:!1},"".concat(Q("dataSort.casesense"),":"),100),a=new la(new ua("30px",""),{required:!1},"".concat(Q("dataSearch.matchwhole"),":"),150),o=new la(new oa("values",["values","formulas","comments"],"120px",(function(e){return Q("dataSearch.lookin.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSearch.lkinlb"),":"),100);return(e=t.call(this,Q("toolbar.search"),[p("div","".concat(xe,"-form-fields")).children(r.el,a.el),p("div","".concat(xe,"-form-fields")).child(n.el),p("div","".concat(xe,"-form-fields")).child(o.el),p("div","".concat(xe,"-buttons")).children(new Ei("previous").on("click",(function(){return e.btnClick("previous")})),new Ei("next").on("click",(function(){return e.btnClick("next")})),new Ei("close","primary").on("click",(function(){return e.btnClick("close")})))],"500px",!1,!0)).formField=n,e.casesense=r,e.lookin=o,e.matchwhole=a,e.change=function(){},e}return o()(i,[{key:"btnClick",value:function(e){if("close"!==e){if(!this.formField.validate())return;var t=this.casesense.val(),i=this.lookin.val(),n=this.matchwhole.val(),r=this.formField.val().trim();switch(e){case"previous":this.change("previous",r,t,i,n);break;case"next":this.change("next",r,t,i,n)}}else this.hide()}},{key:"show",value:function(){Ni()(qe()(i.prototype),"show",this).call(this),this.formField.input.focus()}}]),i}(ia);function xa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ka=function(e){me()(i,e);var t=xa(i);function i(e){var n;c()(this,i);var r=new la(new na("100%",""),{required:!0},"".concat(Q("menubar.commentDefault"),":"),100),a=new la(new na("100%",""),{required:!0},"".concat(Q("link.sheetCell"),":"),100),o=new na("100%",""),s=new la(o,{required:!0},"".concat(Q("dataValidation.range"),":"),100);o.hint("B1:B10");var l=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.min"),":"),100),h=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.max"),":"),100),u=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.cur"),":"),100),d=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.inc"),":"),100);new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.page"),":"),100);return(n=t.call(this,Q("print.setting"),[p("div","".concat(xe,"-form-fields")).children(s.el),p("div","".concat(xe,"-form-fields")).children(r.el),p("div","".concat(xe,"-form-fields")).children(a.el),p("div","".concat(xe,"-form-fields")).children(l.el),p("div","".concat(xe,"-form-fields")).children(h.el),p("div","".concat(xe,"-form-fields")).children(u.el),p("div","".concat(xe,"-form-fields")).children(d.el),p("br"),p("br"),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return n.btnClick("ok")})),new Ei("cancel").on("click",(function(){return n.btnClick("cancel")})))])).getText=function(){return r.val()},n.getCellLink=function(){return n.linkedcell},n.change=function(){},n.el.on("click",(function(e){e.preventDefault()})),n.celllink=a,n.textlabel=r,n.cellrange=s,n.data=e,n.linkedcell=[-1,-1],n.inputmin=l,n.inputmax=h,n.inputcur=u,n.inputinc=d,a.hint("A1"),n}return o()(i,[{key:"validate",value:function(){var e=this.type;if("SpinButton"===e||"ScrollBar"===e||"CheckBox"===e||"RadioButton"===e||"ComboBox"===e){var t=this.celllink.val();if(t){var i=x(t),n=l()(i,2),r=n[0],a=n[1];if(isNaN(a)||isNaN(r)||r>=this.data.cols.len||a>=this.data.rows.len)return this.celllink.validateFail(Q("validation.invalidcell")),!1;this.lc=t}}if(("TextBox"===e||"CheckBox"===e||"RadioButton"===e)&&!this.textlabel.validate())return!1;if("SpinButton"===e||"ScrollBar"===e){if(!(this.inputmin.validate()&&this.inputmax.validate()&&this.inputcur.validate()&&this.inputinc.validate()))return!1;var o=Number(this.inputmin.val()),s=Number(this.inputmax.val()),h=Number(this.inputcur.val()),c=Number(this.inputinc.val());if(o>=s)return this.inputmax.validateFail(Q("validation.invalid")),!1;if(h>s)return this.inputcur.validateFail(Q("validation.invalid")),!1;if(h<o)return this.inputcur.validateFail(Q("validation.invalid")),!1;if(c>s)return this.inputinc.validateFail(Q("validation.invalid")),!1;var u={};u.min=o,u.max=s,u.inc=c,u.cur=h,this.info=u}if("ComboBox"===e){if(!this.cellrange.validate())return!1;if(this.rg=this.cellrange.val(),al(this),!this.rg)return this.cellrange.validateFail(Q("validation.invalid")),!1;this.rg=this.cellrange.val()}return!0}},{key:"btnClick",value:function(e){if("ok"===e){if(!this.validate())return;this.change("ok",this)}this.hide()}},{key:"show",value:function(e){Ni()(qe()(i.prototype),"show",this).call(this),this.type=e,this.celllink.val(""),this.celllink.validateClear(),this.textlabel.val(""),this.textlabel.validateClear(),this.cellrange.val(""),this.cellrange.validateClear(),this.cellrange.hide(),this.inputmin.val("1"),this.inputmin.validateClear(),this.inputmin.hide(),this.inputmax.val("100"),this.inputmax.validateClear(),this.inputmax.hide(),this.inputcur.val("50"),this.inputcur.validateClear(),this.inputcur.hide(),this.inputinc.val("1"),this.inputinc.validateClear(),this.inputinc.hide(),this.linkedcell=[-1,-1],delete this.rg,delete this.lc,delete this.info,"TextBox"===e?(this.celllink.hide(),this.textlabel.show()):"SpinButton"===e||"ScrollBar"===e?(this.celllink.show(),this.inputmin.show(),this.inputmax.show(),this.inputcur.show(),this.inputinc.show(),this.textlabel.hide()):"RadioButton"===e||"CheckBox"===e?(this.celllink.show(),this.textlabel.show()):"ComboBox"===e&&(this.celllink.show(),this.textlabel.hide(),this.cellrange.show())}}]),i}(ia),Ca=function(){function e(t,i){var n=this;c()(this,e),this.data=t,this.mode=i,this.ishtml=!1,this.inputChange=function(){},this.enter=function(){},this.tab=function(){},this.focuson=function(){},this.el=p("div","".concat(xe,"-formula-bar")),this.barLabel=p("div","".concat(xe,"-bar-label")),this.formulaInput=p("div","".concat(xe,"-formula-input")).on("input",(function(e){n.inputChange(n.ishtml?e.target.innerHTML:e.target.innerText)})).on("focus",(function(e){n.focuson()})).on("keydown",(function(e){var t=e.keyCode||e.which;13===t?(e.altKey||n.formulaInput.el.blur(),n.enter(e,n.ishtml)):9===t&&(n.formulaInput.el.blur(),n.tab(e))})),"read"===this.mode?this.formulaInput.attr("disabled","disabled"):this.formulaInput.attr("contenteditable","true"),this.el.children(this.barLabel,this.formulaInput),this.reset()}return o()(e,[{key:"resetData",value:function(e){this.data=e,this.reset()}},{key:"reset",value:function(){var e=this.data,t=e.selector,i=w(t.ci)+""+(t.ri+1),n=e.getSelectedCell(),r="",a=!1;n&&(n.html?(r=n.html,this.ishtml=!0):(this.ishtml=!1,n.f?r=n.f:n.ufv?r=n.ufv:n.text&&(r=n.text,a=!0))),this.barLabel.html(i),this.formulaInput.html(r,!this.ishtml,a)}}]),e}();function Sa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ta=function(e){me()(i,e);var t=Sa(i);function i(){var e;return c()(this,i),e=t.call(this),X()(nr()(e),"col",void 0),X()(nr()(e),"row",void 0),e.el.attr("contentEditable","true"),e.el.attr("placeholder","".concat(Q("toolbar.commentDefault"))),e.el.attr("id","commentEdit"),e}return o()(i,[{key:"saveAndHide",value:function(e){var t=this;if(void 0!==this.col&&void 0!==this.row){if(""!==this.el.html()){for(var i=-1,n=0;n<e.data.comments.length;n++)if(e.data.comments[n].col===this.col&&e.data.comments[n].row===this.row){i=n;break}-1===i?e.data.comments.push({col:this.col,row:this.row,author:"Aspose",note:this.el.html()}):e.data.comments[i].note=this.el.html()}e.data.comments=e.data.comments.filter((function(e){return!t.checkEmptyContent(e.note)})),this.hide(),e.commentTip.onEdit=!1,this.col=void 0,this.row=void 0}}},{key:"checkEmptyContent",value:function(e){var t=document.createElement("div");return t.innerHTML=e,""===t.innerText}},{key:"setPosition",value:function(e,t,n){Ni()(qe()(i.prototype),"setPosition",this).call(this,e,t,n),this.el.focus()}}]),i}(ba),_a=i(8),Oa=function(){function e(){c()(this,e),X()(this,"name",void 0)}return o()(e,[{key:"execute",value:function(e){}}]),e}();function Ra(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}function Ea(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function Aa(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(i),!0).forEach((function(t){X()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ea(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Ma(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}function Ia(e,t,i){var n=e.canvas,r=e.data.getSelectedRect();n.setLoading(e,{top:r.top,left:r.left}),$.ajax({url:e.imageUploadByLocalUrl,type:"post",processData:!1,contentType:!1,data:t,success:function(e,t,n){(e=JSON.parse(e)).Error?Te("error",e.Error):i(e)}})}function Ba(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function Da(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ba(Object(i),!0).forEach((function(t){X()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ba(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function za(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Pa=[function(e){me()(i,e);var t=Ra(i);function i(){var e;c()(this,i);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),X()(nr()(e),"name","delete"),e}return o()(i,[{key:"execute",value:function(e){var t=e.canvas,i=e.data,n=t.fabric,r=n.getActiveObject();if(r){var a=t.findObjByData(r.id,i);if(!a)return;if(a.op="del",i.canvasFreeze){var o=i.canvasFreeze;[o.br,o.bl,o.tr,o.tl].forEach((function(e){e.remove(t.findObjInCanvas(e,r.id)),t.saveCanvasData(i,e),e.renderAll()}))}else n.remove(r),n.renderAll(),t.saveCanvasData(i,n)}}}]),i}(Oa),function(e){me()(a,e);var t,i,n=Ma(a);function a(){var e;c()(this,a);for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return e=n.call.apply(n,[this].concat(i)),X()(nr()(e),"name","paste"),X()(nr()(e),"canvas",void 0),X()(nr()(e),"sheet",void 0),X()(nr()(e),"inFreeze",void 0),e}return o()(a,[{key:"execute",value:(i=r()(d.a.mark((function e(t){var i,n,a,o,s,l;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.canvas.clipboard,this.canvas=null!==(i=this.canvas)&&void 0!==i?i:t.canvas.fabric,this.sheet=null!==(n=this.sheet)&&void 0!==n?n:t,this.inFreeze=null!==(a=this.inFreeze)&&void 0!==a?a:t.canvas.inFreeze,s=this,o){e.next=7;break}return e.abrupt("return");case 7:return l=t.data.getSelectedRect(),t.canvas.setLoading(t,{left:l.left,top:l.top}),e.next=11,o.clonedObj.clone(function(){var e=r()(d.a.mark((function e(i){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=fabric.util.object.clone(i),s.setImagePosition(n),e.next=5,s.addImageToData(n);case 5:s.setImageEventAndLayout(n),s.addImageToCanvas(n)?s.reactiveObj(n):s.rollback(s.sheet,n),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0),Te(e.t0);case 13:return e.prev=13,t.canvas.removeLoading(t),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[0,9,13,16]])})));return function(t){return e.apply(this,arguments)}}(),["id","tick","imgType","zorder","strid"]);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"rollback",value:function(e,t){var i=e.data,n=e.canvas;n.fabric.remove(n.fabric.getObjects()[n.fabric.getObjects().findIndex((function(e){return e.id===t.id}))]),n.saveCanvasData(e.data,n.fabric),n.inFreeze&&(n.inFreeze.removeImage(t.id),n.removeImageInData(i,t.id))}},{key:"uploadImg",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.canvas,r=new FormData;r.append("uid",e.uniqueid);var a={ri:e.data.selector.ri,ci:e.data.selector.ci,name:e.data.name};r.append("image",t),0!==Object.keys(i).length&&(a.type=i.name,a.w=i.w,a.h=i.h,r.delete("image")),r.append("p",JSON.stringify(a)),Ia(e,r,(function(t){n.doInsertImage(t,e)}))}},{key:"setImagePosition",value:function(e){var t=this.sheet.data,i=this.sheet.getTableOffset(),n=0,r=0;if(!e)throw"no cloneObj";if(!this.canvas)throw"no canvas";if(!this.sheet)throw"no sheet data";if(this.canvas.getActiveObject()){var a=this.canvas.getActiveObject();n=a.left+20,r=a.top+20}else{var o=t.getSelectedRect();if(!o)throw"get selected rect value is null";n=o.left+i.left,r=o.top+i.top}e.set({left:n,top:r,evented:!0}),this.sheet.canvas.edgeCollision(e)}},{key:"addImageToCanvas",value:function(e){var t=this,i=this.canvas,n=this.sheet.data;if(n.name!==this.sheet.canvas.clipboard.sheetName)return!1;if(n.canvasFreeze){var r=n.canvasFreeze;[r.br,r.bl,r.tr,r.tl].forEach((function(i){var r=fabric.util.object.clone(e),a=t.inFreeze.getOffsetWhenIndividualCanvasMovement(i.canvasName);r.set({top:r.top+a.y,left:r.left+a.x}),i.add(r),r.setCoords(),to(n,r)}))}else e.setCoords(),i.add(e),to(n,e);return!0}},{key:"addImageToData",value:(t=r()(d.a.mark((function e(t){var i,n,r,a,o,s,l,h,c,u;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.sheet,n=i.canvas.data,r=i.canvas.clipboard.newData,a=Aa({},r),o=i.getTableOffset(),s="Picture"!==a.type,l={ri:n.selector.ri,ci:n.selector.ci,name:n.name,srcid:a.strid,srcname:i.canvas.clipboard.sheetName,isshape:s},(h=new FormData).set("p",JSON.stringify(l)),h.set("uid",i.uniqueid),e.next=12,fetch(i.imageCopyUrl,{method:"POST",body:h});case 12:if((c=e.sent).ok){e.next=15;break}throw"upload copy image fail";case 15:return e.next=17,c.json();case 17:if(u=e.sent,u=JSON.parse(u)){e.next=21;break}throw"upload copy image return null ";case 21:if(!u.Error){e.next=23;break}throw u.Error;case 23:delete u.width,delete u.height,n.images||(n.images=[]),Object.assign(a,u),a.left=t.left-o.left,a.top=t.top-o.top,s?n.shapes.push(a):n.images.push(a),delete u.type,Object.assign(t,u),a.fabobj=t,"RadioButton"===a.type&&(a.v=!1),t.imgType=a.type,t.id=a.getIdtick(u.id,u.tick),t.strid=u.strid,t.zorder=i.data.topOrder++,$a(i,t,a),t.changed=!0;case 40:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"setImageEventAndLayout",value:function(e){"Chart"===e.imgType&&e.setControlsVisibility({mtr:!1}),this.sheet.canvas.setSelectionLayout(e),this.sheet.canvas.eventsOn(e,this.sheet.canvas.imgEvents)}},{key:"reactiveObj",value:function(e){var t=this.canvas,i=this.sheet,n=i.data;if(n.canvasFreeze){var r=n.canvasFreeze,a=r.br,o=r.bl,s=r.tr,l=r.tl;[a,o,s,l].forEach((function(t){t.discardActiveObject(),t.setActiveObject(t.getObjects().find((function(t){return t.id===e.id}))),t.requestRenderAll(),i.canvas.saveCanvasData(n,t),i.canvas.saveOriginalAngleInfoOfImage(l)}))}else t.discardActiveObject(),t.setActiveObject(e),t.requestRenderAll(),i.canvas.saveCanvasData(n,t),i.canvas.saveOriginalAngleInfoOfImage(t)}}]),a}(Oa),function(e){me()(i,e);var t=za(i);function i(){var e;c()(this,i);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),X()(nr()(e),"name","copy"),e}return o()(i,[{key:"execute",value:function(e){var t=e.canvas.fabric;if(t.getActiveObject()){var i=t;e.data.canvasFreeze&&(i=e.data.canvasFreeze.tl),i.getActiveObject().clone((function(t){e.canvas.clipboard={clonedObj:t,newData:Da({},e.canvas.findObjByData(t.id,e.data)),sheetName:e.data.name}}),["id","tick","imgType","zorder","strid"])}}}]),i}(Oa)],Fa=function(){function e(t){var i=this;c()(this,e),X()(this,"freezeXY",void 0),X()(this,"imageCanvas",void 0),X()(this,"freezeEvents",{"object:rotating":function(e){return function(t){i.imageCanvas.pubSub.publish("object:rotating",t,e)}},"object:moving":function(e){return function(t){i.imageCanvas.pubSub.publish("object:moving",t,e)}},"object:scaling":function(e){return function(t){i.imageCanvas.pubSub.publish("object:scaling",t,e)}},"selection:created":function(e){return function(t){i.imageCanvas.pubSub.publish("selection:created",t,e)}},"selection:cleared":function(e){return function(t){i.imageCanvas.pubSub.publish("selection:cleared",t,e)}},"selection:updated":function(e){return function(t){i.imageCanvas.pubSub.publish("selection:updated",t,e)}}}),this.imageCanvas=t;var n=t.canvasId,r=t.sheet.getTableOffset(),a=t.sheet.data,o=t.sheet;if(!a.displayRight2Left){var s=a.freezeTotalWidth()+r.left/o.table.zoomlevel,l=a.freezeTotalHeight()+r.top/o.table.zoomlevel;if(this.freezeXY={},this.freezeXY.x=s,this.freezeXY.y=l,JSON.stringify(a.freeze)!==JSON.stringify([0,0])&&!a.canvasFreeze){t.pubSub=t.initPubSub();var h=t.fabric;h.off("object:moving",t.canvasEvents["object:moving"]),h.set("canvasName","br");var u=this.createCanvas(o.overlayerEl,"bl",s,h.height,n+"-clip-bl"),d=this.createCanvas(o.overlayerEl,"tr",h.width,l,n+"-clip-tr"),f=this.createCanvas(o.overlayerEl,"tl",s,l,n+"-clip-tl");this.setEventAndClipPath(h,d,u,f);for(var v=0;v<document.getElementsByClassName("canvas-container").length;v++)document.getElementsByClassName("canvas-container")[v].setAttribute("style","position:absolute");a.originFreezeSize={tl:{width:f.width,height:f.height},bl:{width:u.width,height:u.height},tr:{width:d.width,height:d.height},br:{width:h.width,height:h.height}},a.canvasFreeze={tl:f,bl:u,tr:d,br:h},this.setZoom(this.imageCanvas.sheet.table.zoomlevel)}}}return o()(e,[{key:"getFreezeCanvasClipPath",value:function(e,t,i){var n=this.freezeXY,r=this.imageCanvas.sheet,a=this.imageCanvas.tOffset;a.left/=r.data.zoomlevel,a.top/=r.data.zoomlevel;var o=new _a.fabric.Rect({width:n.x,height:t.height-n.y,top:n.y,left:a.left}),s=new _a.fabric.Rect({width:n.x,height:n.y,left:a.left,top:a.top}),l=new _a.fabric.Rect({width:e.width-n.x,height:n.y,left:n.x,top:a.top}),h=new _a.fabric.Rect({width:i.width-n.x,height:i.height-n.y,left:n.x,top:n.y});return function(e){var t;switch(e){case"tr":t=l;break;case"bl":t=o;break;case"tl":t=s;break;default:t=h}return t}}},{key:"getOffsetsBetweenCanvases",value:function(e,t){var i=this.imageCanvas.data,n=i.scroll,r=i.displayRight2Left?n.x:-n.x,a=-n.y,o={offsetX:0,offsetY:0};switch(e+t){case"tlbl":case"trbr":o={offsetX:0,offsetY:-a};break;case"bltl":case"brtr":o={offsetX:0,offsetY:a};break;case"tltr":case"blbr":o={offsetX:-r,offsetY:0};break;case"brbl":case"trtl":o={offsetX:r,offsetY:0};break;case"trbl":o={offsetX:r,offsetY:-a};break;case"tlbr":o={offsetX:-r,offsetY:-a};break;case"bltr":o={offsetX:-r,offsetY:a};break;case"brtl":o={offsetX:r,offsetY:a}}return o}},{key:"setIndividualCanvasesToMoveInSync",value:function(e,t,i,n){var r=this.imageCanvas.findObjInCanvas(e,t.target.id);if(r){var a=this.getOffsetsBetweenCanvases(n,e.canvasName);r.set({left:t.target.left-a.offsetX,top:t.target.top-a.offsetY}),r.set(i),this.imageCanvas.edgeCollision(r,e.canvasName),r.dirty=!0,to(this.imageCanvas.data,r),e.renderAll()}}},{key:"setEventAndClipPath",value:function(e,t,i,n){var r=this;[e,t,i,n].forEach((function(e){var t=Object.keys(r.freezeEvents).map((function(t){return[t,r.freezeEvents[t](e.canvasName)]}));t=Object.fromEntries(t),r.imageCanvas.eventsOn(e,t)}));var a=this.getFreezeCanvasClipPath(t,i,e);this.freezeClipPath=a,[e,t,i,n].forEach((function(e){e.clipPath=a(e.canvasName),r.subscribeObjectEvent(e),r.subscribeSelectionEvent(e),r.subscribeCustomEvent(e,a)}))}},{key:"updateCanvasAllObjectAndRenderAll",value:function(e,t){e.getObjects().forEach(t),e.renderAll()}},{key:"subscribeObjectEvent",value:function(e){var t=this;this.imageCanvas.pubSub.subscribe("object:rotating",(function(i,n){var r={angle:i.target.angle};t.setIndividualCanvasesToMoveInSync(e,i,r,n)})),this.imageCanvas.pubSub.subscribe("object:moving",(function(i,n){var r=n===e.canvasName?{left:i.target.left,top:i.target.top}:{};t.setIndividualCanvasesToMoveInSync(e,i,r,n)})),this.imageCanvas.pubSub.subscribe("object:scaling",(function(i,n){var r={scaleX:i.target.scaleX,scaleY:i.target.scaleY};t.setIndividualCanvasesToMoveInSync(e,i,r,n)}))}},{key:"getOffsetWhenIndividualCanvasMovement",value:function(e){var t,i=this.imageCanvas.data,n=i.scroll,r=i.displayRight2Left?n.x:-n.x,a=-n.y;switch(e){case"tr":t={x:r,y:0};break;case"bl":t={x:0,y:a};break;case"br":t={x:r,y:a};break;default:t={x:0,y:0}}return t}},{key:"subscribeCustomEvent",value:function(e,t){var i=this;this.imageCanvas.pubSub.subscribe("reset",(function(){var t=i.getOffsetWhenIndividualCanvasMovement(e.canvasName);i.updateCanvasAllObjectAndRenderAll(e,(function(e){e.set({left:e.left-t.x,top:e.top-t.y}),e.setCoords(),e.dirty=!0}))})),this.imageCanvas.pubSub.subscribe("object:scroll",(function(t){i.imageCanvas.data.canvasData;var n=i.getOffsetWhenIndividualCanvasMovement(e.canvasName);e.getObjects().forEach((function(e){e.set({left:e.infoX+n.x,top:e.infoY+n.y}),e.setCoords()})),e.renderAll()}))}},{key:"clearFreeze",value:function(e){if(e.canvasFreeze){this.imageCanvas.eventsOff(this.imageCanvas.fabric,this.freezeEvents);var t=this.imageCanvas.canvasId;document.querySelectorAll('[id^="'.concat(t,'-clip-"]')).forEach((function(e){var i=document.querySelector('[id^="'.concat(t,'-clip-"]'));i&&i.fabricCanvas.dispose(),e.remove()}));var i={width:this.imageCanvas.fabric.width,height:this.imageCanvas.fabric.height,top:this.imageCanvas.tOffset.top/this.imageCanvas.sheet.table.zoomlevel,left:this.imageCanvas.tOffset.left/this.imageCanvas.sheet.table.zoomlevel};this.imageCanvas.fabric.clipPath=new _a.fabric.Rect(i),this.imageCanvas.eventsOn(this.imageCanvas.fabric,this.imageCanvas.canvasEvents),this.imageCanvas.pubSub=this.imageCanvas.initPubSub(),this.imageCanvas.pubSub.subscribe("object:scroll",this.imageCanvas.customEvents["object:scroll"]),this.imageCanvas.fabric.renderAll(),e.canvasFreeze=void 0}}},{key:"setZoom",value:function(e){var t=this.imageCanvas,i=t.data,n=(t.fabric,t.tOffset,i.originFreezeSize);this.foreachFreezeCanvas((function(t){t.setZoom(e),t.renderAll()})),this.foreachFreezeCanvas((function(t){t.setWidth(n[t.canvasName].width*e),t.setHeight(n[t.canvasName].height*e)}),"br")}},{key:"resize",value:function(){var e=this.imageCanvas,t=e.data,i=(e.fabric,t.canvasFreeze),n=(i.tl,i.bl),r=i.tr,a=i.br,o=this.getFreezeCanvasClipPath(r,n,a);this.foreachFreezeCanvas((function(e){e.clipPath=o(e.canvasName),e.renderAll()}))}},{key:"delAllEvent",value:function(){this.foreachFreezeCanvas((function(e){e.removeListeners()}))}},{key:"subscribeSelectionEvent",value:function(e){var t=this;this.imageCanvas.pubSub.subscribe("selection:created",(function(i,n){if(n!==e.canvasName){t.imageCanvas.checkHyperlink(t.imageCanvas.data.canvasFreeze.br)&&!i.e.ctrlKey&&t.imageCanvas.openLink(t.imageCanvas.data);var r=t.imageCanvas.findObjInCanvas(e,i.target.id);e._setActiveObject(r),e.renderAll()}})),this.imageCanvas.pubSub.subscribe("selection:cleared",(function(t,i){i!==e.canvasName&&(e._discardActiveObject(),e.renderAll())})),this.imageCanvas.pubSub.subscribe("selection:updated",(function(i,n){var r;if(n!==e.canvasName){var a=t.imageCanvas.findObjInCanvas(e,i.target.id);(null===(r=e.getActiveObject())||void 0===r?void 0:r.id)!==a.id&&(e._setActiveObject(a),e.renderAll())}}))}},{key:"setObjectOrderAndChangedInAllCanvas",value:function(e,t){var i=this;++e.topOrder,Object.keys(e.canvasFreeze).forEach((function(n){var r=i.imageCanvas.findObjInCanvas(e.canvasFreeze[n],t.id);r&&(r.changed=!0,i.imageCanvas.sendImageToFont(e.canvasFreeze[n],r),t.zorder=r.zorder=e.topOrder,"TextBox"===t.imgType&&n!==t.canvas.canvasName&&(r.width=t.width,r.height=t.height,r.scaleX=1,r.scaleY=1),e.canvasFreeze[n].renderAll())}))}},{key:"setOrderAndSaveData",value:function(e){var t=this.imageCanvas.data;this.setObjectOrderAndChangedInAllCanvas(t,e),this.imageCanvas.saveOriginalAngleInfoOfImage(t.canvasFreeze.br),this.imageCanvas.saveCanvasData(t,t.canvasFreeze.br)}},{key:"loadFreezeImage",value:function(){var e=this.imageCanvas.data;if(e.canvasFreeze){var t=e.canvasFreeze,i=t.tl,n=t.bl,r=t.tr;this.imageCanvas.rerenderCanvasBySavedJson(n,{x:0,y:0},n.clipPath),this.imageCanvas.rerenderCanvasBySavedJson(r,{x:0,y:0},r.clipPath),this.imageCanvas.rerenderCanvasBySavedJson(i,{x:0,y:0},i.clipPath)}}},{key:"createCanvas",value:function(e,t,i,n,r){var a=document.createElement("canvas");a.width=i,a.height=n,a.setAttribute("id",r),e.children(a),window.mobileAndTabletCheck()&&(_a.fabric.Object.prototype.selectable=!1);var o=new _a.fabric.Canvas(r);return o.set("canvasName",t),a.fabricCanvas=o,this.imageCanvas.initFabric(o),o}},{key:"removeImage",value:function(e){this.foreachFreezeCanvas((function(t){t.remove(t.getObjects()[t.getObjects().findIndex((function(t){return t.id===e}))])}),"br")}},{key:"setDirty",value:function(e){this.foreachFreezeCanvas((function(t){t.getObjects().find((function(t){return t.id===e})).dirty=!0,t.requestRenderAll()}))}},{key:"setVisible",value:function(e,t){this.foreachFreezeCanvas((function(i){var n=i.getObjects().find((function(t){return t.id===e}));n&&(n.visible=t)}))}},{key:"setControlable",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.foreachFreezeCanvas((function(n){var r=n.getObjects().find((function(t){return t.id===e}));r&&(eo(r,t,i),t&&n.setActiveObject(r))}))}},{key:"setFilter",value:function(e,t){this.foreachFreezeCanvas((function(i){var n=i.getObjects().find((function(t){return t.id===e}));n.filters[0]=t,n.applyFilters()}))}},{key:"setCustomHighlight",value:function(e,t,i){this.foreachFreezeCanvas((function(n){var r=n.getObjects().find((function(t){return t.id===e}));i(t,r)}))}},{key:"setOrder",value:function(){this.foreachFreezeCanvas((function(e){null!=e&&e.getObjects().find((function(e){return!e.zorder}))||e.getObjects().sort((function(e,t){return e.zorder<t.zorder?-1:1})).forEach((function(t){e.bringToFront(t)}))}))}},{key:"saveCanvasData",value:function(){var e=this,t=this.imageCanvas.data;this.foreachFreezeCanvas((function(i){e.imageCanvas.saveCanvasData(t,i)}))}},{key:"setCursor",value:function(e){this.foreachFreezeCanvas((function(t){t.defaultCursor=e}))}},{key:"renderAll",value:function(){this.foreachFreezeCanvas((function(e){e.renderAll()}))}},{key:"foreachFreezeCanvas",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=this.imageCanvas.data;if(r.canvasFreeze){var a=r.canvasFreeze,o=a.tl,s=a.bl,l=a.tr,h=a.br;[o,s,l,h].forEach((function(t){i.includes(t.canvasName)||e(t)}))}}}]),e}();function La(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ja=function(){function e(){c()(this,e),this.subscribers=[]}return o()(e,[{key:"subscribe",value:function(e,t){var i=this.subscribers[e];i?i.push(t):this.subscribers[e]=[t]}},{key:"publish",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=this.subscribers[e]||[];r.forEach((function(e){return e.apply(void 0,i)}))}}]),e}(),Ha=function(e,t){return"p_".concat(e,"_").concat(t)},Na=function(e,t){return"s_".concat(e,"_").concat(t)},Ua=function(e){this.visible=e,this.fabobj.visible=e;var t=this.getIdtick();this.inFreeze.setVisible(t,e),this.setDirty()},Xa=function(){this.fabobj.set("dirty",!0),this.fabobj.canvas.requestRenderAll();var e=this.getIdtick();this.inFreeze.setDirty(e)},Wa=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.fabobj;this.controlable=e,eo(i,e,t),i.canvas?(e&&i.canvas.setActiveObject(i),i.canvas.requestRenderAll()):console.error("todo:this.fabobj canvas not find may appear in freezepane as it not sync:"+i.id);var n=this.getIdtick();this.inFreeze.setControlable(n,e,t)},Ya=function(e){if(this.fabobj.filters){this.fabobj.filters[0]=e,this.fabobj.applyFilters();var t=this.getIdtick();this.inFreeze.setFilter(t,e)}else e&&console.info("unsupport highlight for control:"+this.type)},Va=function(e,t){t(e,this.fabobj);var i=this.getIdtick();this.inFreeze.setCustomHighlight(i,e,t)},Ga=function(e,t){this.showhighlight=e,t&&(this.hstyle=t),this.setDirty()},Ka=function(){delete this.showhighlight,delete this.hstyle,this.setDirty()},Za=function(){return"Picture"===this.type?Ha(this.id,this.tick):Na(this.id,this.tick)},Ja=function(e,t,i,n,r){var a,o,s;return{tick:e.tick,width:e.width,height:e.height,top:e.top+n.top/r,left:i+n.left/r,"z-index":t+e.zorder,originAngle:e.originAngle,rotate:e.angle,imgType:e.type,strid:e.strid,text:e.text,html:e.html,hyperlink:e.hyperlink,zorder:e.zorder,fromOutside:null!==(a=e.fromOutside)&&void 0!==a&&a,scaleX:null!==(o=e.scaleX)&&void 0!==o?o:1,scaleY:null!==(s=e.scaleY)&&void 0!==s?s:1}},$a=function(e,t,i){var n=e.data;(i.fabobj=t,t.shape=i,"read"===n.settings.mode&&eo(t,!1,!0),"CellsDrawing"!==i.type&&"Oval"!==i.type&&"Picture"!==i.type&&(i.controlable=!1,eo(t,!1,"read"===n.settings.mode)),"TextBox"===t.imgType&&(t.drawObject=so,t.on("modified",lo)),i.control)&&(console.log("fabObjSetForShapeRestore shape id:"+i.id+" linked shape id:"+i.scontrol.el.shape.id+" is equal:"+(i.id===i.scontrol.el.shape.id)),i.scontrol.el.shape=i,e.imageDiv.append(i.control.el))},Qa=function(e){window.lastcontrol&&window.lastshape&&(window.lastcontrol.hide(),window.lastshape.setVisible(!0),console.log("####lastshape at restoreControlShape "+window.lastshape.id),delete window.lastcontrol,delete window.lastshape)},eo=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.selectable=t,e.hoverCursor=t?"move":"pointer",t?(e.lockMovementX=!1,e.lockMovementY=!1,e.lockScalingX=!1,e.lockScalingY=!1,e.lockRotation=!1,e.hasControls=!0):(e.lockMovementX=!0,e.lockMovementY=!0,e.lockScalingX=!0,e.lockScalingY=!0,e.lockRotation=!0,e.hasControls=!0),i&&(e.hasControls=!0,e.selectable=!0)},to=function(e,t){var i=e.scroll,n=e.displayRight2Left?i.x:-i.x,r=-i.y;t.infoX=t.left-n,t.infoY=t.top-r},io=function(e,t){t.width===e.width&&t.height===e.height||(e.originWidth=t.width,e.originHeight=t.height,t.set({scaleX:e.width/t.width,scaleY:e.height/t.height}))},no=function(e,t){var i=e.canvas,n=i.findObjInCanvas(i.fabric,"loadingGif");n?(t.left=n.left,t.top=n.top,t.infoY=n.infoY,t.infoX=n.infoX,i.removeLoading(e),console.log("find loading gif top is:"+t.top)):console.log("cannot find loading gif id is:"+t.id)};function ro(e){return"TextBox"===e||"CheckBox"===e||"RadioButton"===e||"ComboBox"===e||"Spinner"===e||"SpinButton"===e}function ao(e,t,i){if(t.lc){var n=l()(t.lc,2),r=n[0],a=n[1];e.data.shapes.forEach((function(e){if(e.id!==t.id&&e.type==t.type&&e.lc){var n=l()(e.lc,2),o=n[0],s=n[1];o===r&&s===a&&(e.v=i,e.changed=!0,e.setDirty())}}))}}function oo(e,t){var i=e.width,n=e.height,r=e.shape,a=r.lp,o=r.rp,s=r.tp,l=r.bp;t.translate(-i/2,-n/2);var h=new Ht(0,0,i,n,10);h.setPading(a,o,s,l);var c=new Zt(t,i,n),u=1/Bt();return c.scale(u,u),c.scale(u,u),c.rect3(h,r),[c,h]}var so=function(e,t){var i=this.shape;e.save();var n=oo(this,e),r=l()(n,2),a=r[0],o=r[1];i.ishideText||a.richtext(i,o,i.align,i.valign,i.wrap,i.getHighlight()),e.restore()},lo=function(e){var t=this.getScaledWidth(),i=this.getScaledHeight();this.scaleX=1,this.scaleY=1,this.width=t,this.height=i,this.shape.originWidth=t,this.shape.originHeight=i,this.shape.setDirty()};function ho(e,t,i,n,r){var a=e.canvas,o=e.data,s=r.inFreeze,l=r.canvasEvents;t?(t.fabobj=n,n.shape=t,t.inFreeze=s,t.setVisible=Ua,t.setDirty=Xa,t.setControlable=Wa,t.setFilter=Ya,ro(i.imgType)||(t.setCustomHighlight=Va),"CheckBox"!==i.imgType&&"RadioButton"!==i.imgType&&"ComboBox"!==i.imgType&&"Spinner"!==i.imgType&&"SpinButton"!==i.imgType||(t.setHighlight=Ga,t.clearHighlights=Ka),t.getIdtick=Za,i.id||(i.id=t.getIdtick()),i.width?(i.fromOutside&&(delete i.width,delete i.height),n.set(i),n.angle=0):(n.scaleToWidth(i.scaleToWidth),n.scaleToHeight(i.scaleToHeight),n.set(i),t.fromOutside=!0,t.scaleX=n.scaleX,t.scaleY=n.scaleY),"Chart"===i.imgType&&n.setControlsVisibility({mtr:!1}),a.setSelectionLayout(n),a.eventsOn(n,a.imgEvents),a.eventsOn(a,l)):n.set(i);var h="read"===o.settings.mode;eo(n,!1,h)}_a.fabric.RadioRect=_a.fabric.util.createClass(_a.fabric.Rect,{type:"radio-rect",initialize:function(e){e||(e={}),this.callSuper("initialize",e),this.set("label",e.label||""),this.on("modified",lo),this.set("selected",e.selected||!1),this.set("radius",e.radius||8),this.set("ischeckbox",e.ischeckbox||!1)},toObject:function(){return _a.fabric.util.object.extend(this.callSuper("toObject"),{label:this.get("label"),selected:this.get("selected"),radius:this.get("radius"),ischeckbox:this.get("ischeckbox"),id:this.id,tick:this.tick,imgType:this.imgType,zorder:this.zorder,strid:this.strid,selectable:this.selectable,hoverCursor:this.hoverCursor,infoX:this.infoX,infoY:this.infoY})},_render:function(e){var t=this.width,i=this.height,n=this.shape,r=this.radius,a=this.ischeckbox,o=this.label;e.save(),n.showhighlight&&(e.fillStyle=n.hstyle.color,e.fillRect(-t/2,-i/2,t,i),e.fill()),e.beginPath(),e.strokeStyle="#333",a?(e.strokeRect(-t/2+r/2+5,0-r/2,r,r),e.stroke()):(e.arc(-t/2+r/2+5,0,r,0,2*Math.PI,!1),e.stroke()),n.v&&(e.beginPath(),this.ischeckbox?e.arc(-t/2+r+5,0,r/2-3,0,2*Math.PI,!1):e.arc(-t/2+r/2+5,0,r-3,0,2*Math.PI,!1),e.fillStyle="#000",e.fill());var s=oo(this,e),h=l()(s,2),c=h[0],u=h[1];""!==o&&c.text(o,u,{align:"left",valign:"middle",font:{name:"arial",size:12},color:"#333"},!0,[]),e.restore()}}),_a.fabric.RadioRect.fromObject=function(e,t){return _a.fabric.Object._fromObject("RadioRect",e,t)},_a.fabric.ComboRect=_a.fabric.util.createClass(_a.fabric.Rect,{type:"combo-rect",initialize:function(e){e||(e={}),this.callSuper("initialize",e),this.set("label",e.label||""),this.on("modified",lo)},toObject:function(){return _a.fabric.util.object.extend(this.callSuper("toObject"),{label:this.get("label"),id:this.id,tick:this.tick,imgType:this.imgType,zorder:this.zorder,strid:this.strid,selectable:this.selectable,hoverCursor:this.hoverCursor,infoX:this.infoX,infoY:this.infoY})},_render:function(e){var t=this.width,i=this.height,n=this.shape;e.save(),e.translate(-t/2,-i/2),e.rect(0,0,t,i),e.clip(),e.fillStyle=n.showhighlight?n.hstyle.color:"#FFF",e.fillRect(0,0,t,i),e.strokeStyle="#000",e.strokeRect(0,0,t,i),e.beginPath(),e.strokeStyle="#333",e.font="10px arial",e.fillStyle="#333",e.fillText(this.shape.v,2,i/2),e.fillStyle="lightgray",e.fillRect(t-20,0,20,i),e.fillStyle="#003",e.beginPath(),e.moveTo(t-18,i/3),e.lineTo(t-2,i/3),e.lineTo(t-10,2*i/3),e.closePath(),e.fill(),e.restore()}}),_a.fabric.ComboRect.fromObject=function(e,t){return _a.fabric.Object._fromObject("ComboRect",e,t)},_a.fabric.SpinRect=_a.fabric.util.createClass(_a.fabric.Rect,{type:"spin-rect",initialize:function(e){e||(e={}),this.callSuper("initialize",e)},toObject:function(){return _a.fabric.util.object.extend(this.callSuper("toObject"),{id:this.id,tick:this.tick,imgType:this.imgType,zorder:this.zorder,strid:this.strid,selectable:this.selectable,hoverCursor:this.hoverCursor,infoX:this.infoX,infoY:this.infoY})},_render:function(e){var t=this.width,i=this.height,n=this.shape;e.save(),e.translate(-t/2,-i/2),e.rect(0,0,t,i),e.clip(),e.fillStyle=n.showhighlight?n.hstyle.color:"#FFF",e.fillRect(0,0,t,i),e.strokeStyle="#000",e.strokeRect(0,0,t,i),e.beginPath(),e.moveTo(0,i/2),e.lineTo(t,i/2),e.stroke(),e.beginPath(),e.moveTo(t/2,i/10*2),e.lineTo(3*t/4,i/10*3),e.lineTo(t/4,i/10*3),e.closePath(),e.fillStyle="black",e.fill(),e.beginPath(),e.moveTo(t/4,i/10*7),e.lineTo(3*t/4,i/10*7),e.lineTo(t/2,i/10*8),e.closePath(),e.fillStyle="black",e.fill(),e.restore()}}),_a.fabric.SpinRect.fromObject=function(e,t){return _a.fabric.Object._fromObject("SpinRect",e,t)};var co=function(e){me()(i,e);var t=La(i);function i(){var e;c()(this,i),e=t.call(this,"canvas"),X()(nr()(e),"imgEvents",{mouseup:function(t){var i=nr()(e).sheet,n=i.data,r=t.target;if(!window.mobileAndTabletCheck()){var a=r.canvas;a||(a=e.fabric),n.canvasFreeze?e.inFreeze.setOrderAndSaveData(r):(r.changed=!0,e.sendImageToFont(a,r),r.zorder=++n.topOrder,e.findObjInCanvas(a,r.id).zorder=r.zorder,e.saveOriginalAngleInfoOfImage(a),e.saveCanvasData(n,a)),i.selector.setObjId(r.id);var o=i.selector.getObj();o&&o.loaded&&(i.trigger("object-selected",o),"edit"===n.settings.mode&&"Chart"!==n.type?2===t.e.button?o.setControlable(!0):0===t.e.button&&(o.singleClick&&!o.controlable&&o.singleClick(t.e),to(n,o.fabobj)):"read"===n.settings.mode&&"TextBox"===o.type&&0===t.e.button&&i.setEditForTextBox(o,!0,!1),2===t.e.button&&(a.getActiveObject()||a.setActiveObject(o.fabobj),i.contextMenu.setPosition(t.e.offsetX,t.e.offsetY)))}},mousedown:function(t){window.mobileAndTabletCheck()||(e.sheet.selector.hide(),e.sheet.editor.clear(),e.sheet.focusing=!1,null==t||t.e.stopPropagation()),Qa(t.target)},mousedblclick:function(t){if(!window.mobileAndTabletCheck()){var i=t.target,n=nr()(e).sheet;if("OleObject"===i.imgType)n.getOle(i.strid);else if("TextBox"===i.imgType){var r=e.findShape(i.id,n.data);n.setEditForTextBox(r),e.fabric.discardActiveObject().requestRenderAll()}}},mousemove:function(t){var i=e.findObjByData(t.target.id,e.sheet.data);i&&i.hyperlink?e.fabric.hoverCursor="pointer":e.fabric.hoverCursor="move"}}),X()(nr()(e),"pausePanning",!1),X()(nr()(e),"canvasEvents",{"mouse:move:before":function(){e.sheet.data.canvasFreeze&&e.sheet.data.canvasFreeze.tl.getObjects().length!==e.sheet.data.canvasFreeze.br.getObjects().length&&e.inFreeze.loadFreezeImage()},"object:moving":function(t){e.edgeCollision(t.target,"canvas")},"selection:created":function(t){e.checkHyperlink(e.fabric)&&!t.e.ctrlKey&&e.openLink(e.data)}}),X()(nr()(e),"customEvents",{"object:scroll":function(){if(e.data&&e.sheet.isLoaded()){var t=e.data,i=t.scroll,n=t.displayRight2Left,r=(t.canvasData,n?i.x:-i.x),a=-i.y;e.fabric.getObjects().forEach((function(e){e.set({left:e.infoX+r,top:e.infoY+a}),e.setCoords()})),e.fabric.renderAll()}}}),X()(nr()(e),"tOffset",void 0),X()(nr()(e),"data",void 0),X()(nr()(e),"fabric",void 0),X()(nr()(e),"freeze",void 0),X()(nr()(e),"freezeXY",{x:0,y:0}),X()(nr()(e),"pubSub",void 0),X()(nr()(e),"sheet",void 0),X()(nr()(e),"basicZorder",void 0),X()(nr()(e),"canvasId","canvas_".concat((new Date).getTime())),X()(nr()(e),"imageOperationList",{}),e.attr("id",e.canvasId),e.pubSub=e.initPubSub(),Pa.forEach((function(t){var i=new t;e.imageOperationList[i.name]=i}));var n=nr()(e),r=function(e){window.mobileAndTabletCheck()||n.resize(e)};return Fe(window,"resize",r),e.delWindowEvent=function(){Le(window,"resize",r),e.fabric.removeListeners(),e.inFreeze.delAllEvent()},e}return o()(i,[{key:"publishEvent",value:function(e,t){this.pubSub.publish(e,t)}},{key:"initPubSub",value:function(){return new ja}},{key:"setCursor",value:function(e){this.sheet.data.canvasFreeze?this.inFreeze.setCursor(e):this.fabric.defaultCursor=e}},{key:"doNewSheetPage",value:function(e){var t;this.fabric.clear(),null===(t=this.inFreeze)||void 0===t||t.clearFreeze(e)}},{key:"doSwitchSheetPage",value:function(e){var t,i=this;this.sheet.selector.el.show();setTimeout((function e(){var t,n,r,a;i.sheet.canvas.fabric.getObjects().length===(null!==(t=null===(n=i.sheet.data.images)||void 0===n?void 0:n.length)&&void 0!==t?t:0)+(null!==(r=null===(a=i.sheet.data.shapes)||void 0===a?void 0:a.length)&&void 0!==r?r:0)?i.doEndSwitchSheetPage():setTimeout(e,200)}),200);null===(t=this.inFreeze)||void 0===t||t.clearFreeze(e)}},{key:"doEndSwitchSheetPage",value:function(){var e;this.setOrder(this.fabric),null===(e=this.sheet.canvas.inFreeze)||void 0===e||e.setOrder()}},{key:"initFreeze",value:function(){this.inFreeze=new Fa(this)}},{key:"rerenderCanvasBySavedJson",value:function(e,t,i,n){var r=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.sheet;if(!this.data.canvasData||!this.fabric)return this.data.isRestoreFromCanvas=!1,void(n&&n());this.initFreeze();var s=JSON.parse(this.data.canvasData);delete s.clipPath,this.loadFromCanvasData(JSON.stringify(s),(function(e,i){if(i.set({left:e.left+t.x,top:e.top+t.y}),a){"TextBox"===i.imgType&&(i.drawObject=so);var n=r.findObjByData(e.id,r.data);i.shape=n}else{"Chart"===i.imgType&&i.setControlsVisibility({mtr:!1}),r.setSelectionLayout(i),r.eventsOn(i,r.imgEvents);var s=r.findObjByData(e.id,r.data);s&&(o.visibleFilter&&(i.visible=o.visibleFilter(o,s)),$a(o,i,s))}}),e,(function(){e.clipPath=i,n&&n()})),e.requestRenderAll()}},{key:"findObjInCanvas",value:function(e,t){return e.getObjects().find((function(e){return e.id===t}))}},{key:"recordCanvasData",value:function(e,t){var i,n,r=e.aCoords,a=this.tOffset,o=this.findObjByData(e.id,t);if(o){var s=r.tl.x+(r.tr.x-r.tl.x)/2-a.left,l=r.tl.y+(r.bl.y-r.tl.y)/2-a.top;o.centerX||(o.centerX=s),o.centerY||(o.centerY=l),o.currentCenterX=s,o.currentCenterY=l;var h=t.getCellRectByXY(r.tl.x,r.tl.y);o.width=o.originWidth*e.scaleX,o.height=o.originHeight*e.scaleY,o.scaleX=e.scaleX,o.scaleY=e.scaleY,o.top=e.top-a.top/t.zoomlevel+t.scroll.y,o.left=e.left-a.left/t.zoomlevel+t.scroll.x,o.row=null==h?void 0:h.ri,o.col=null==h?void 0:h.ci,o.changed=null!==(i=e.changed)&&void 0!==i&&i,o.zorder=null!==(n=e.zorder)&&void 0!==n?n:t.topOrder}}},{key:"edgeCollision",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"canvas",i=this.data,n=this.tOffset,r=n.top/i.zoomlevel,a=n.left/i.zoomlevel;0!==i.scroll.y&&["br","bl"].includes(t)&&(r-=i.scroll.y),0!==i.scroll.x&&["br","tr"].includes(t)&&(a-=i.scroll.x),e.setCoords();var o=e.getBoundingRect().top/i.zoomlevel,s=e.getBoundingRect().left/i.zoomlevel;(o<r||s<a)&&(e.top=Math.max(e.top,e.top-o+r),e.left=Math.max(e.left,e.left-s+a))}},{key:"init",value:function(e){var t=this;this.tOffset=e.getTableOffset();var i=this.tOffset;this.attr("width",i.width+i.left),this.attr("height",i.height+i.top),this.sheet=e,this.fabric=new _a.fabric.Canvas(this.canvasId),this.clipPath({width:this.fabric.width,height:this.fabric.height,top:this.tOffset.top/e.data.zoomlevel,left:this.tOffset.left/e.data.zoomlevel});var n=0,r=setInterval((function(){(e.data.isImageOk||300===n)&&(t.onSheetImageLoaded(),clearInterval(r)),n++}),200);this.initFabric(this.fabric),this.pubSub.subscribe("object:scroll",this.customEvents["object:scroll"])}},{key:"initFabric",value:function(e){var t=this.canvasEvents;window.mobileAndTabletCheck()&&(_a.fabric.Object.prototype.selectable=!1),e.fireRightClick=!0,_a.fabric.Object.prototype.objectCaching=!0,this.eventsOn(e,t),e.selection=!1,window.mobileAndTabletCheck()&&e.removeListeners()}},{key:"onSheetImageLoaded",value:function(){this.setOrder(this.sheet.canvas.fabric),this.inFreeze.setOrder()}},{key:"resetFreeze",value:function(e){var t,i=l()(e.freeze,2),n=i[0],r=i[1];0===n&&0===r?null===(t=this.inFreeze)||void 0===t||t.clearFreeze(e):this.initFreeze()}},{key:"reset",value:function(e){var t=this.sheet.imageDiv;this.data=e,this.fabric.clear(),t.empty(),t.css("left",0),t.css("top",0),this.initFreeze(),this.freezeXY=this.inFreeze.freezeXY,e.isImageOk&&(e.isRestoreFromCanvas=!0,e.isRestoreFromCanvasReady=!1,this.inFreeze.loadFreezeImage(),this.rerenderCanvasBySavedJson(this.fabric,{x:0,y:0},this.fabric.clipPath))}},{key:"resetForFreeze",value:function(e){e.isImageOk&&this.inFreeze.loadFreezeImage()}},{key:"doResetPosition",value:function(e){0===e&&this.pubSub.publish("reset")}},{key:"saveOriginalAngleInfoOfImage",value:function(e){var t=this,i={};e.getObjects().forEach((function(e){i[e.id]=e.angle,t.rotateObject(e,0)})),e.renderAll(),e.getObjects().forEach((function(e){t.recordCanvasData(e,t.sheet.data),t.setDataAngle(e,i[e.id],t.sheet.data),t.rotateObject(e,i[e.id])})),e.renderAll()}},{key:"setDataAngle",value:function(e,t,i){var n=this.findObjByData(e.id,i);n&&(n.angle=t)}},{key:"setInfoXY",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.fabric,t=this.data,i=t.scroll,n=t.displayRight2Left;i.x,i.y;e.getObjects().forEach((function(e){to(t,e)}))}},{key:"clipPath",value:function(e){this.fabric.clipPath=new _a.fabric.Rect(e)}},{key:"eventsOn",value:function(e,t){for(var i in t)e.on(i,t[i])}},{key:"eventsOff",value:function(e,t){for(var i in t)e.off(i,t[i])}},{key:"saveCanvasData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.fabric;this.sheet;if(t){var i=t.toDatalessJSON(["id","tick","imgType","zorder","strid","selectable","hoverCursor","infoX","infoY"]);i.objects.forEach((function(t){t.left+=e.scroll.x,t.top+=e.scroll.y})),e.canvasData=JSON.stringify(i),console.log(e.name+" save objects len:"+i.objects.length)}}},{key:"addFabToSavedCanvasData",value:function(e,t){var i=e.canvasData?JSON.parse(e.canvasData):{objects:[]};t.left+=e.scroll.x,t.top+=e.scroll.y,i.objects.push(t.toJSON(["id","tick","imgType","zorder","strid","selectable","hoverCursor","infoX","infoY"])),e.canvasData=JSON.stringify(i)}},{key:"loadFromCanvasData",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fabric,r=arguments.length>3?arguments[3]:void 0;if(e){var a=this.sheet.data,o=this;n.loadFromJSON(e,(function(){i.setOrder(n),a.isRestoreFromCanvasReady=!0,o.setInfoXY(n),console.log("restore from canvas json is ready "),r&&r()}),t)}else n.clear()}},{key:"findObjByData",value:function(e,t){var i=this.findImage(e,t);return null!=i?i:this.findShape(e,t)}},{key:"setZoom",value:function(e){var t=this.sheet.data;this.tOffset=this.sheet.getTableOffset(),this.sheet.verticalScrollbar.move({top:0}),this.sheet.horizontalScrollbar.move({left:0}),t.canvasFreeze?this.inFreeze.setZoom(e):(this.fabric.clipPath=new _a.fabric.Rect({width:this.fabric.width/t.zoomlevel,height:this.fabric.height/t.zoomlevel,left:this.tOffset.left/t.zoomlevel,top:this.tOffset.top/t.zoomlevel}),this.fabric.setZoom(e),this.fabric.renderAll())}},{key:"findImage",value:function(e,t){var i;return null===(i=t.images)||void 0===i?void 0:i.find((function(t){return e===Ha(t.id,t.tick)}))}},{key:"findShape",value:function(e,t){var i;return null===(i=t.shapes)||void 0===i?void 0:i.find((function(t){return e===Na(t.id,t.tick)}))}},{key:"resize",value:function(e){var t=this.sheet,i=this.fabric,n=this.tOffset;i&&(i.setWidth(e.target.outerWidth+n.left),i.setHeight(e.target.outerHeight+n.top),i.clipPath=new _a.fabric.Rect({width:i.getWidth(),height:i.getHeight(),top:this.tOffset.top/t.data.zoomlevel,left:this.tOffset.left/t.data.zoomlevel}),i.renderAll(),t.data.canvasFreeze&&this.inFreeze.resize())}},{key:"setSelectionLayout",value:function(e){e.set({borderColor:"gray",cornerColor:"gray",cornerSize:12,transparentCorners:!0})}},{key:"setupImageOrShapeByType",value:function(e,t,i){"TextBox"===t.type?this.setTextBox(e,t,i):"CheckBox"===t.type?this.setCheckBox(e,t,i):"RadioButton"===t.type?this.setRadioButton(e,t,i):"Spinner"===t.type||"SpinButton"===t.type?this.setSpinButton(e,t,i):"ComboBox"===t.type?this.setComboBox(e,t,i):t.src?this.setImage(e,t,i,t.src):this.setLoadingGif(e,t,i)}},{key:"setComboBox",value:function(e,t,i){e.canvas;var n=e.imageDiv,r=new _a.fabric.ComboRect;r.label=t.v,ho(e,t,i,r,this),t.borderColor="#ffffff",t.lp=0,t.loaded=!0,e.canvas.fabric.add(r),e.canvas.rotateObject(r,i.rotate);var a=p("div"),o=p("select","".concat(xe,"-cselector"));if(a.children(o),t.rg)for(var s=l()(t.rg,4),h=s[0],c=s[1],u=s[2],d=(s[3],h);d<=u;d++){var f=e.data.getCell(d,c),v=null!=f?f.text:"";o.el.options.add(new Option(v,v))}t.control=a,t.scontrol=o,o.el.shape=t,n.append(a.el),a.css("left","".concat(t.left,"px")).css("top","".concat(t.top,"px")).css("position","absolute"),o.css("width","".concat(t.width,"px")).css("height","".concat(t.height,"px")),o.on("change",(function(t){var i=t.srcElement.shape;if(i.v=o.el.value,r.label=i.v,ao(e,i,i.v),console.log("combobox click change shapeid:"+i.id+" "+i.v),i.lc){var n=l()(i.lc,2),a=n[0],s=n[1],h=i.isacx?o.el.value:o.el.selectedIndex+1;e.data.setCellText(a,s,h.toString(),"finished")}t.preventDefault(),Qa(t.target)})),a.hide(),t.singleClick=function(){var t=this.rg,i=this.left,n=this.top,r=this.lines;if(!t)return o.attr("size",1),void o.css("height","20px");var s=l()(t,4),h=s[0],c=s[1],u=s[2];s[3];o.el.options.length=0;for(var d=h;d<=u;d++){var f=e.data.getCell(d,c),v=null!=f?f.text:"";o.el.options.add(new Option(v,v))}o.attr("size",r),o.css("height","200px"),a.css("left","".concat(i,"px")).css("top","".concat(n,"px")),a.show(),this.setVisible(!1),window.lastcontrol=a,window.lastshape=this,console.log("@@@@lastshape at shape.singleClick "+window.lastshape.id)}}},{key:"setCheckBox",value:function(e,t,i){e.canvas,e.imageDiv;var n=new _a.fabric.RadioRect;n.ischeckbox=!0,n.selected=t.v,n.label=t.label,n.radius=12,ho(e,t,i,n,this),t.borderColor="#ffffff",t.lp=26,t.loaded=!0,e.canvas.fabric.add(n),e.canvas.rotateObject(n,i.rotate),t.singleClick=function(){if(this.v=!this.v,this.changed=!0,this.setDirty(),this.lc){var t=l()(this.lc,2),i=t[0],n=t[1];e.data.setCellText(i,n,this.v?"TRUE":"FALSE","finished"),ao(e,this,this.v)}}}},{key:"setRadioButton",value:function(e,t,i){e.canvas,e.imageDiv;var n=new _a.fabric.RadioRect;n.selected=t.v,n.label=t.label,ho(e,t,i,n,this),t.borderColor="#ffffff",t.lp=20,t.loaded=!0,e.canvas.fabric.add(n),e.canvas.rotateObject(n,i.rotate),t.singleClick=function(){if(this.v=!this.v,this.changed=!0,this.setDirty(),this.lc){var t=l()(this.lc,2),i=t[0],n=t[1];this.v&&this.idx&&(e.data.setCellText(i,n,this.idx.toString(),"finished"),ao(e,this,!1))}}}},{key:"setSpinButton",value:function(e,t,i){e.canvas;var n=new _a.fabric.SpinRect({fill:"#CCCCCC",hasBorders:!0});ho(e,t,i,n,this),t.borderColor="#ffffff",t.lp=20,t.loaded=!0,e.canvas.fabric.add(n),e.canvas.rotateObject(n,i.rotate),t.singleClick=function(t){this.width;var i=this.height,n=this.v,r=this.inc,a=this.min,o=this.max,s=this.fabobj,h=(t.offsetX,s.left,n);if(t.offsetY-s.top>i/2?(h-=r)<a&&(h=a):(h+=r)>o&&(h=o),this.v=h,this.lc){var c=l()(this.lc,2),u=c[0],d=c[1];e.data.setCellText(u,d,h.toString(),"finished"),ao(e,this,!1)}}}},{key:"setTextBox",value:function(e,t,i){e.canvas;var n=function(e,t,i,n){var r=new _a.fabric.Rect;return ho(e,t,i,r,n),t.loaded=!0,e.canvas.fabric.add(r),e.canvas.rotateObject(r,i.rotate),r}(e,t,i,this);ai(t),n.drawObject=so,n.on("modified",lo),t.setCustomHighlight=Va,t.updateTextBox=function(t,i){this.html=t,this.rtxt=i;var n=document.getElementById("aspose_shape_text");n||((n=document.createElement("span")).id="aspose_shape_text",e.el.el.appendChild(n)),n.style.display="block",n.innerHTML=t,this.text=n.innerText,delete this.bigfontsize,ai(this),this.setDirty(),n.style.display="none"},t.getHighlight=function(){return this.showhighlight?y()(this.highlighttxts):[]},t.addHighlight=function(e,t){var i={start:e,end:t},n=!1,r=this.highlighttxts.find((function(i){if(i.start===e&&i.end===t)return i;(e>=i.start&&e<i.end||t>=i.start&&t<i.end)&&(n=!0)}));n?console.error("The newly added area overlaps with the existing one"):r||(i.color=this.hstyle.color,this.highlighttxts.push(i),this.setDirty())},t.removeHighlight=function(e,t){if(this.highlighttxts){var i=this.highlighttxts.findIndex((function(i){return i.start===e&&i.end===t}));-1!==i&&(this.highlighttxts.splice(i,1),this.setDirty())}},t.clearHighlights=function(){this.highlighttxts=[],Ka.call(this)},t.setHighlight=function(e,t){this.highlighttxts?this.highlighttxts.forEach((function(e,i){e.color=t.color})):this.highlighttxts=[],Ga.call(this,e,t)},t.setBackgroundColor=function(e){this.bgColor=e,this.setDirty()},t.setActiveEffect=function(e){this.isactiveeffect=e,this.setDirty()},t.hideText=function(e){this.ishideText=e,this.setDirty()}}},{key:"setLoadingGif",value:function(e,t,i){var n=e.canvas,r=e.data,a=e.updatGif,o=this;a.clone((function(a){(ho(e,t,i,a,o),to(r,a),i.id.includes("loading"))?n.fabric.add(a):r.name===e.data.name&&(n.findObjInCanvas(n.fabric,i.id)||n.fabric.add(a))}))}},{key:"setImage",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"content/img/updating.gif",r=e.canvas,a=e.data,o=this;_a.fabric.Image.fromURL(n,(function(n){no(e,i),ho(e,t,i,n,o);try{if(!r.findObjByData(i.id,a))return;io(t,n),t.loaded=!0,"edit"===a.settings.mode&&"Picture"===t.type&&eo(n,!0),"edit"!==a.settings.mode||!Object.keys(Hr).includes(t.type)&&"CellsDrawing"!==t.type||eo(n,!0),"read"===a.settings.mode&&eo(n,!1,!0),a.name!==e.data.name?r.addFabToSavedCanvasData(a,n):(r.fabric.add(n),r.rotateObject(n,i.rotate))}catch(e){console.error(e),Te(e)}finally{r.saveCanvasData(e.data,r.fabric),r.inFreeze.saveCanvasData(),r.fabric.renderAll(),r.inFreeze.renderAll()}}))}},{key:"setLoading",value:function(e,t){var i=this.tOffset,n=e.data,r=n.displayRight2Left,a=n.cols,o=r?e.data.viewWidth()-a.indexWidth:0,s=r?o-t.left:t.left;t.top+=i.top,t.left=s+i.left,t.id="loadingGif",t.selectable=!1,this.setLoadingGif(e,null,t)}},{key:"removeLoading",value:function(e){var t=e.canvas;t.fabric.remove(t.fabric.getObjects()[t.fabric.getObjects().findIndex((function(e){return"loadingGif"===e.id}))]),t.inFreeze.removeImage("loadingGif")}},{key:"rotateObject",value:function(e,t){e&&(e._setOriginToCenter(),e.set("angle",t).setCoords(),e._resetOrigin())}},{key:"doInsertURLImage",value:function(e,t){this.doInsertImage(e,t,!0)}},{key:"doInsertImage",value:function(e,t){var i,n=t.data.getSelectedRect(),r=this.tOffset,a=t.data,o=a.displayRight2Left,s=a.cols,l=o?t.data.viewWidth()-s.indexWidth:0,h=e;h.src=h.url,h.left=n.l/t.table.zoomlevel,h.top=n.t/t.table.zoomlevel,h.originAngle=0,h.originHeight=h.height,h.originWidth=h.width,h.originLeft=n.left,h.originTop=n.top,h.infoX=h.originLeft,h.infoY=h.originTop,h.scaleX=1,h.scaleY=1,h.angle=0,h.col=t.data.selector.ci,h.row=t.data.selector.ri,h.zorder=null!==(i=t.data.topOrder)&&void 0!==i?i:0;var c=ro(h.type),u=Object.keys(Hr).includes(h.type)||"CellsDrawing"===h.type;this.findObjByData(h.id,t.data)||(c||u?(t.data.shapes||(t.data.shapes=[]),t.data.shapes.push(h)):(t.data.images||(t.data.images=[]),t.data.images.push(h)));var d=o?l-h.left-h.width:h.left,f=Ja(h,this.basicZorder,d,r,t.table.zoomlevel);f.id=c||u?Na(h.id,h.tick):Ha(h.id,h.tick),f.fromOutside=!c,c&&(ol(h,t),no(t,f)),this.setupImageOrShapeByType(t,h,f),"TextBox"===h.type&&(t.setEditForTextBox(h),this.fabric.discardActiveObject().requestRenderAll())}},{key:"isImageOnSelected",value:function(){return!!this.fabric.getActiveObject()}},{key:"setHyperlink",value:function(e){var t=this.getActiveObjInData(this.data);t&&(t.hyperlink=e)}},{key:"getActiveObjInData",value:function(e){var t=this.fabric.getActiveObject();if(t)return this.findObjByData(t.id,e)}},{key:"link",value:function(e){var t,i=this.getActiveObjInData(e);i&&this.sheet.modalLink.setValue(xs.datas.map((function(e){return e.name})),null!==(t=i.hyperlink)&&void 0!==t?t:{})}},{key:"removeLink",value:function(e){var t=this.getActiveObjInData(e);t&&(t.hyperlink=null)}},{key:"openLink",value:function(e){var t=this.getActiveObjInData(e);t&&(this.fabric._discardActiveObject(),this.fabric.renderAll(),this.sheet.hyperlink.access(t.hyperlink))}},{key:"sendImageToFont",value:function(e,t){e&&t&&e.bringToFront(t)}},{key:"doOperation",value:function(e){Object.keys(this.imageOperationList).includes(e)&&!window.mobileAndTabletCheck()&&this.imageOperationList[e].execute(this.sheet)}},{key:"removeImageInData",value:function(e,t){if(!t.includes("_")&&t.split("_").length-1!=2)throw new Error("not correct id");var i=t.split("_"),n=l()(i,3),r=n[0],a=n[1],o=n[2],s="s"===r?e.shapes:e.images;null==s||s.splice(s.findIndex((function(e){return e.id===a&&e.tick===o})),1)}},{key:"checkHyperlink",value:function(e){var t=e.getActiveObject();if(t)return!!this.findObjByData(t.id,this.data).hyperlink}},{key:"validType",value:function(e,t,i){var n=e.getActiveObject();if(n)return this.findObjByData(n.id,this.data)[t]===i}},{key:"setOrder",value:function(e){null==e||e.getObjects().sort((function(e,t){return e.zorder<t.zorder?-1:1})).forEach((function(t){e.bringToFront(t)}))}}]),i}(g);function uo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var fo=function(e){me()(i,e);var t=uo(i);function i(){var e;c()(this,i);var n=new la(new na("100%",Q("contextmenu.insertURL")),{required:!0},"",100);return(e=t.call(this,">",[p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})))])).url=n,e.values=[],e.change=function(){},e}return o()(i,[{key:"btnClick",value:function(e){"ok"===e?this.url.validate()&&this.checkIsImage(this.url.val(),this.validateImage,5e3):this.hide()}},{key:"validateImage",value:function(e,t){"success"===t?(this.change("ok",e),this.hide()):this.url.validateFail(Q("validation.downloadImageFail"))}},{key:"show",value:function(){Ni()(qe()(i.prototype),"show",this).call(this),this.url.input.focus()}},{key:"hide",value:function(){this.url.val(""),this.url.validateClear(),Ni()(qe()(i.prototype),"hide",this).call(this)}},{key:"checkIsImage",value:function(e,t,i){var n,r=!1,a=this,o=new Image;o.onerror=o.onabort=function(){r||(clearTimeout(n),t.call(a,e,"error"))},o.onload=function(){r||(clearTimeout(n),t.call(a,e,"success"))},o.src=e,n=setTimeout((function(){r=!0,o.src="//!!!!/test.jpg",t.call(a,e,"timeout")}),i)}}]),i}(ia);function vo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var go=function(e){me()(i,e);var t=vo(i);function i(){var e;c()(this,i);var n=new la(new oa("landscape",["landscape","portrait"],"max-content",(function(e){return Q("print.orientations.".concat(e))}),(function(t){e.orientation=t})),{required:!0},"".concat(Q("print.orientation"),":"),100),r=new la(new oa("A4",["A3","A4","A5","B4","B5"],"max-content",(function(e){return Q("print.sizes.".concat(e))}),(function(t){e.size=t})),{required:!0},"".concat(Q("print.size"),":"),100),a=new la(new oa("noscale",["noscale","fitsheet","fitcolumns","fitrows"],"max-content",(function(e){return Q("print.scales.".concat(e))}),(function(t){e.scale=t})),{required:!0},"".concat(Q("print.scale"),":"),100),o=new la(new oa("downover",["downover","overdown"],"max-content",(function(e){return Q("print.orders.".concat(e))}),(function(t){e.order=t})),{required:!0},"".concat(Q("print.order"),":"),100),s=new la(new oa("show",["show","hide"],"max-content",(function(e){return Q("print.imageshows.".concat(e))}),(function(t){e.showimage=t})),{required:!0},"".concat(Q("print.imageshow"),":"),100);return(e=t.call(this,Q("print.setting"),[p("div","".concat(xe,"-form-fields")).children(s.el),p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-form-fields")).children(o.el),p("div","".concat(xe,"-form-fields")).children(a.el),p("div","".concat(xe,"-form-fields")).children(r.el),p("br"),p("br"),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))])).orientation="landscape",e.size="A4",e.scale="noscale",e.order="downover",e.showimage="show",e.change=function(){},e.el.on("click",(function(e){e.preventDefault()})),e}return o()(i,[{key:"btnClick",value:function(e){"ok"===e&&this.change("ok",this),this.hide()}}]),i}(ia);function po(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}function mo(e){e.dd&&(e.dd.title.removeClass("arrow-left"),2===e.dd.headerEl.children().length&&e.dd.headerEl.removeChild(e.dd.headerEl.children()[1]))}function yo(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=" "+Q("menubar.".concat(e.tag.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))));e.dd?e.dd.headerEl.child(i,t):e.el.child(i)}function bo(e){var t=p("div","".concat(xe,"-item")).child(e.el);return e.dd&&(e.dd.contentEl.addClass("".concat(xe,"-menubar-dropdown-content")),t=p("div","".concat(xe,"-menubar-btn")).child(e.dd.el)),t}function wo(e,t){e.el.addEventListener("click",(function(i){t.dd?t.dd.menuDiv=e:(t.click?t.click():t.change(t.tag),i.stopPropagation())}),!0),e.el.addEventListener("mouseenter",(function(e){e.stopPropagation()}),!0)}var qo=function(e){me()(i,e);var t=po(i);function i(e,n){var r;c()(this,i);for(var a,o=[],s=["format","font-name","font-size"],l=0;l<n.length;l++){(a=n[l]).tip="",a.el.attr("style","margin:0"),a.el.attr("class",""),mo(n[l]);var h=s.includes(n[l].tag);yo(n[l],h);var u=bo(n[l]);wo(u,n[l]),o.push(u)}return(r=t.call.apply(t,[this,e,"max-content",!1,"bottom-left"].concat(o))).headerEl.on("mouseenter",(function(e){if(!window.mobileAndTabletCheck()){var t=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});e.target.dispatchEvent(t)}})),r}return i}(Vi);function xo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ko=function(e){me()(i,e);var t=xo(i);function i(e,n){return c()(this,i),t.call(this,e,null,"",n)}return o()(i,[{key:"dropdown",value:function(){return new qo(this.tag,this.value)}}]),i}(Wi);function Co(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var So=function(e){me()(i,e);var t=Co(i);function i(e){var n;c()(this,i);var r="download";return null!=e&&e&&(r+="_".concat(e)),n=t.call(this,r),"GOOGLE"===e||"DROPBOX"===e?n.setIcon("savetocloud"):n.setIcon("download"),n}return i}(An);function To(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var _o=function(e){me()(i,e);var t=To(i);function i(){return c()(this,i),t.call(this,"link")}return i}(An);function Oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ro=function(e){me()(i,e);var t=Oo(i);function i(){return c()(this,i),t.call(this,"insertColumn")}return i}(An);function Eo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ao=function(e){me()(i,e);var t=Eo(i);function i(){return c()(this,i),t.call(this,"insertRow")}return i}(An);function Mo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Io=function(e){me()(i,e);var t=Mo(i);function i(){return c()(this,i),t.call(this,"insertSheet")}return i}(An);var Bo=function(){function e(t,i,n,r,a){var o=this;c()(this,e),this.data=t;var s=t.defaultStyle();this.change=function(){},this.widthFn=i,this.isHide=n,this.dropdowns=[];var l=Q("menubar.menuEdit"),h=Q("menubar.menuComment"),u=Q("menubar.menuInsert"),d=Q("menubar.menuText"),f=Q("menubar.menuFile");this.items={},this.items[f]=[new fr,new So("Original"),new So("XLSX"),new So("PDF"),new So("HTML")],"ru"!==a&&"zh"!==a&&(this.items[f].push(new So("GOOGLE")),this.items[f].push(new So("DROPBOX"))),this.items[l]=[this.borderEl=new Rn,this.mergeEl=new ur,this.freezeEl=new hr,this.autofilterEl=new rn,this.sortEl=new wr,this.searchEl=new xr,this.paintformatEl=new Dn,this.clearformatEl=new In,this.fillColorEl=new Ln(s.bgcolor)],this.items[u]=[this.insertColumn=new Ro,this.insertRow=new Ao,this.insertSheet=new Io,this.insertImageEL=new Br,this.insertControlEL=new Fr,this.formulaEl=new sr,this.insertLink=new _o,this.insetCommentEl=new Cr],this.insetCommentEl.tag="insertComment",this.items[d]=[this.fontEl=new Jn,this.fontSizeEl=new Un,this.boldEl=new on,this.italicEl=new ln,this.underlineEl=new dn,this.strikeEl=new cn,this.alignEl=new Ji(s.align),this.valignEl=new Qi(s.valign),this.textwrapEl=new gr,this.textColorEl=new Pn(s.color)],this.items[h]=[this.commentEditEl=new Cr,this.commentRemoveEl=new Tr,this.commentPreviousEl=new Or,this.commentNextEl=new Er];for(var v=0;v<this.insertImageEL.dd.contentEl.children().length;v++)this.insertImageEL.dd.contentEl.children()[v].style="width:max-content";for(var g=0;g<this.insertControlEL.dd.contentEl.children().length;g++)this.insertControlEL.dd.contentEl.children()[g].style="width:max-content";this.el=p("div","".concat(xe,"-toolbar ").concat(xe,"-menubar")),n?this.el.hide():(this.el.css("text-transform","capitalize"),Object.keys(this.items).forEach((function(e){var t=new ko(e,o.items[e]);o.dropdowns.push(t),o.el.child(t.el),o.items[e].map((function(e){e.change=function(){o.change.apply(o,arguments)}}))})))}return o()(e,[{key:"hideDropdown",value:function(){this.dropdowns.forEach((function(e){return e.dd.hide()}))}}]),e}(),Do=function(){function e(){c()(this,e),X()(this,"setActiveSheetBySheetName",(function(){})),X()(this,"setActiveCell",(function(){})),X()(this,"linkPositions",[])}return o()(e,[{key:"checkAndAccess",value:function(e,t,i){var n=this.find(e,t,i);return n?this.access(n):null}},{key:"loadLinkPosition",value:function(e){var t=this,i=e.data;this.linkPositions=[];e.getTableOffset();i.hyperlinks.forEach((function(e){var n={},r=T.valueOf(e.area),a=i.scroll.ci,o=i.scroll.ri;a=a>0&&r.sci<a?0:a,o=o>0&&r.sri<o?0:o,n.x=[i.cols.sumWidth(a,r.sci+1)-i.cols.getWidth(r.sci),i.cols.sumWidth(a,r.eci+1)],n.y=[i.rows.sumHeight(o,r.sri+1)-i.rows.getHeight(r.eri),i.rows.sumHeight(o,r.eri+1)],i.canvasFreeze&&(i.scroll.ri>0||i.scroll.ci>0)||t.linkPositions.push(n)}))}},{key:"find",value:function(e,t,i){var n=e.hyperlinks;if(0!==n.length)return n.find((function(e){return e.area?T.valueOf(e.area).includes(t,i):null}))}},{key:"findByArea",value:function(e,t){var i=e.hyperlinks;if(0!==i.length)return i.find((function(e){return e.area?T.valueOf(e.area).contains(T.valueOf(t)):null}))}},{key:"check",value:function(e,t,i){return!!this.find(e,t,i)}},{key:"remove",value:function(e,t){var i=t.hyperlinks.findIndex((function(t){return t.area===e.area}));t.hyperlinks.splice(i,1)}},{key:"removeByRange",value:function(e,t){var i=this.findByRange(e,t.data);this.remove(i,t.data),this.setHyperlinkStyleByArea(i.area,t,!1)}},{key:"findByRange",value:function(e,t){var i=this.getSelectArea(e);return this.findByArea(t,i)}},{key:"getSelectArea",value:function(e){var t=k(e.sci,e.sri),i=k(e.eci,e.eri);return"".concat(t,":").concat(i)}},{key:"setHyperlinkStyleByArea",value:function(e,t,i){for(var n=T.valueOf(e),r=n.sri;r<=n.eri;r++)for(var a=n.sci;a<=n.eci;a++)t.data.setHyperlinkStyle(r,a,i);t.table.render()}},{key:"accessByRange",value:function(e,t){var i=this.getSelectArea(e),n=this.findByArea(t,i);this.access(n)}},{key:"access",value:function(e){if("number"==typeof e.type&&e.address){switch(e.type){case 0:case 2:window.open(e.address,"_blank");break;case 1:break;case 3:if(!e.address.includes("!"))break;var t=e.address.split("!"),i=l()(t,2),n=i[0],r=i[1];n.startsWith("'")&&n.endsWith("'")&&(n=n.substr(1,n.length-2)),this.setActiveSheetBySheetName(n);var a=x(r),o=l()(a,2),s=o[0],h=o[1],c=this;setTimeout((function(){c.setActiveCell(h,s)}),1e3)}return null}}}]),e}();function zo(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return Po(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Po(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function Po(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Fo=function(){function e(t){c()(this,e),this.sheet=t}return o()(e,[{key:"setCustomHighlightImgFunc",value:function(e){this.highlightImgFunc=e}},{key:"showHighlights",value:function(e){var t=this.sheet.data;t.showhighlight=!0,t.highlightstyle=e,this.AutoShowOrHide()}},{key:"updateHighlightStyle",value:function(e){this.sheet.data.highlightstyle=e,this.AutoShowOrHide()}},{key:"AutoShowOrHide",value:function(){var e=this.sheet,t=e.data,i=e.canvas;if(t.highlightall){var n=i.fabric;this.highlightAllImg(t.showhighlight,n)}else this.showHighlightImageShapesAuto(t.showhighlight)}},{key:"hideHighlights",value:function(){var e=this.sheet,t=e.data,i=e.table;t.showhighlight=!1,this.AutoShowOrHide(),i.render()}},{key:"getHighlightTexts",value:function(){return this.sheet.data.highlighttxts}},{key:"addHighlightText",value:function(e,t,i,n){var r=this.sheet.data,a={row:e,col:t,start:i,end:n};r.highlighttxts.find((function(r){if(r.row===e&&r.col===t&&r.start===i&&r.end===n)return r}))||r.highlighttxts.push(a)}},{key:"removeHighlightText",value:function(e,t,i,n){for(var r=this.sheet.data,a=0;a<r.highlighttxts.length;a++){var o=Number.isInteger(i)?i:r.highlighttxts[a].start,s=Number.isInteger(n)?n:r.highlighttxts[a].end;r.highlighttxts[a].row===e&&r.highlighttxts[a].col===t&&r.highlighttxts[a].start===o&&r.highlighttxts[a].end===s&&r.highlighttxts.splice(a,1)}}},{key:"getHighlightRanges",value:function(){return this.sheet.data.highlightrg}},{key:"addHighlightRange",value:function(e,t,i,n){for(var r=this.sheet.data,a=new T(e,t,i,n),o=0;o<r.highlightrg.length;o++)if(r.highlightrg[o].contains(a))return;r.highlightrg.push(a)}},{key:"removeHighlightRange",value:function(e,t,i,n){for(var r=this.sheet.data,a=new T(e,t,i,n),o=0;o<r.highlightrg.length;o++)r.highlightrg[o].equals(a)&&r.highlightrg.splice(o,1)}},{key:"setHighlightInverseRange",value:function(e,t,i,n){this.sheet.data.highlightIR=new T(e,t,i,n)}},{key:"getHighlightInverseRange",value:function(){return this.sheet.data.highlightIR}},{key:"removeHighlightInverseRange",value:function(){delete this.sheet.data.highlightIR}},{key:"getCanvasImgByid",value:function(e,t){return e.getObjects().find((function(e){return e.id===t}))}},{key:"highlightAllImg",value:function(e,t){var i=this.sheet,n=i.data,r=(i.canvas,n.shapes),a=n.images;if(r){var o,s=zo(r);try{for(s.s();!(o=s.n()).done;){var l=o.value;this.highlightImg(e,l,n.highlightstyle)}}catch(e){s.e(e)}finally{s.f()}}if(a){var h,c=zo(a);try{for(c.s();!(h=c.n()).done;){var u=h.value;this.highlightImg(e,u,n.highlightstyle)}}catch(e){c.e(e)}finally{c.f()}}t.requestRenderAll()}},{key:"showHighlightImageShapesAuto",value:function(e){var t,i=this,n=this.sheet,r=n.data,a=n.canvas.fabric,o=zo(r.highlighshapes);try{var s=function(){var n=t.value,a=r.shapes.find((function(e){return e.id===n}));if(a){if(i.sheet.visibleFilter&&!i.sheet.visibleFilter(i.sheet,a))return{v:void 0};i.highlightImg(e,a,r.highlightstyle)}};for(o.s();!(t=o.n()).done;){var l=s();if("object"===Pe()(l))return l.v}}catch(e){o.e(e)}finally{o.f()}var h,c=zo(r.highlighimgs);try{var u=function(){var t=h.value,n=r.images.find((function(e){return e.id===t}));if(n){if(i.sheet.visibleFilter&&!i.sheet.visibleFilter(i.sheet,n))return{v:void 0};i.highlightImg(e,n,r.highlightstyle)}};for(c.s();!(h=c.n()).done;){var d=u();if("object"===Pe()(d))return d.v}}catch(e){c.e(e)}finally{c.f()}a.requestRenderAll()}},{key:"highlightImg",value:function(e,t,i){var n=this.sheet;n.data,n.canvas;if(t)if(t.setHighlight)t.setHighlight(e,i);else if(this.highlightImgFunc)t.setCustomHighlight(e,this.highlightImgFunc);else{var r=!!e&&new fabric.Image.filters.Invert;t.setFilter(r)}}},{key:"getHighlightShaps",value:function(){return this.sheet.data.highlighshapes}},{key:"addHighlightShape",value:function(e){var t=this.sheet,i=t.data,n=t.canvas;if(-1===i.highlighshapes.indexOf(e)){var r=i.shapes.find((function(t){return t.id===e}));if(r){var a=n.fabric;i.highlighshapes.push(e),this.highlightImg(i.showhighlight,r,i.highlightstyle),i.showhighlight&&a.requestRenderAll()}}}},{key:"removeHighlightShape",value:function(e){var t=this.sheet,i=t.data,n=t.canvas.fabric,r=i.highlighshapes.indexOf(e);if(r>-1){i.highlighshapes.splice(r,1);var a=i.shapes.find((function(t){return t.id===e}));a&&(this.highlightImg(!1,a),n.requestRenderAll())}}},{key:"getHighlightImages",value:function(){return this.sheet.data.highlighimgs}},{key:"addHighlightImage",value:function(e){var t=this.sheet,i=t.data,n=t.canvas;if(-1===i.highlighimgs.indexOf(e)){var r=i.images.find((function(t){return t.id===e}));if(r){var a=n.fabric;i.highlighimgs.push(e),i.showhighlight&&(this.highlightImg(!0,r),a.requestRenderAll())}}}},{key:"removeHighlightImage",value:function(e){var t=this.sheet,i=t.data,n=t.canvas.fabric,r=i.highlighimgs.indexOf(e);if(r>-1){i.highlighimgs.splice(r,1);var a=i.images.find((function(t){return t.id===e}));a&&(this.highlightImg(!1,a),n.requestRenderAll())}}},{key:"setHighlightAll",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.sheet,n=i.data,r=i.canvas,a=i.table;if(n.showhighlight){var o=r.fabric;n.highlightall=e,this.highlightAllImg(e,o),e||this.showHighlightImageShapesAuto(!0)}t&&a.render()}},{key:"clearHighlights",value:function(){var e=this.sheet,t=e.data;e.canvas,e.table;delete t.highlightIR,t.highlightall=!1;var i,n=zo(t.highlighimgs);try{var r=function(){var e=i.value,n=t.images.find((function(t){return t.id===e}));n&&n.setFilter(!1)};for(n.s();!(i=n.n()).done;)r()}catch(e){n.e(e)}finally{n.f()}t.highlighimgs=[];var a,o=zo(t.highlighshapes);try{var s=function(){var e=a.value,i=t.shapes.find((function(t){return t.id===e}));i&&(i.clearHighlights?i.clearHighlights():i.setFilter(!1))};for(o.s();!(a=o.n()).done;)s()}catch(e){o.e(e)}finally{o.f()}t.highlighshapes=[],t.highlightrg=[],t.highlighttxts=[]}}]),e}();function Lo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var jo=function(e){me()(i,e);var t=Lo(i);function i(){var e;c()(this,i);var n=new la(new na("400px",""),{required:!0},"".concat(Q("download.fileName"),":"),100),r=new la(new oa("Original",["Original","XLSX","PDF","HTML"],"100%",(function(e){return Q("download.saveTypes.".concat(e))}),(function(t){var i=e.fileNameField.val();e.fileNameField.val(e.setSuffix(i,t)),e.fileNameField.validate()})),{required:!0},"".concat(Q("download.saveType"),":"),100);return e=t.call(this,Q("contextmenu.download"),[p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-form-fields")).children(r.el),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))]),X()(nr()(e),"defaultSuffix","xlsx"),e.fileNameField=n,e.saveTypeField=r,e.ci=null,e.values=[],e.change=function(){},e}return o()(i,[{key:"setSuffix",value:function(e,t){var i;return"Original"===t&&(t=this.originalType),e=(e=""===(null!==(i=e)&&void 0!==i?i:"")?this.originalFileName:e).includes(".")?e:e+"."+this.defaultSuffix,"".concat(e.substr(0,e.lastIndexOf(".")),".").concat(t.toLowerCase())}},{key:"btnClick",value:function(e){if("ok"===e){if(!this.fileNameField.validate())return;var t=this.saveTypeField.val(),i=this.fileNameField.val();i=this.setSuffix(i,t),this.change("ok",i,t)}this.hide()}},{key:"setValue",value:function(e){this.originalFileName=""===(null!=e?e:"")?"worksheet.xlsx":e,this.originalType=e.split(".").length>=2?e.substr(e.lastIndexOf(".")+1):this.defaultSuffix,this.fileNameField.val(this.originalFileName),this.show()}}]),i}(ia);function Ho(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var No=function(e){me()(i,e);var t=Ho(i);function i(){var e;c()(this,i);var n=new la(new na("100%",""),{required:!0},"".concat(Q("link.emailAddress"),":"),100),r=new la(new na("100%",""),{required:!0},"".concat(Q("link.emailSubject"),":"),100),a=p("div","".concat(xe,"-form-fields")).children(p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-form-fields")).children(r.el));a.hide();var o=new la(new na("100%",""),{required:!0},"".concat(Q("link.sheetCell"),":"),100),s=new la(new oa("",[""],"max-content",(function(e){return e}),(function(e){})),{required:!0},"".concat(Q("link.sheetPage"),":"),100);s.input.el.css("width","max-content");var l=p("div","".concat(xe,"-form-fields")).children(p("div","".concat(xe,"-form-fields")).children(o.el),p("div","".concat(xe,"-form-fields")).children(s.el));l.hide();var h=new la(new na("100%",""),{required:!0},"".concat(Q("link.webUrl"),":"),100),u=p("div","".concat(xe,"-form-fields")).children(h.el);u.hide();var d=new la(new oa("web",["web","sheet","email"],"max-content",(function(e){return Q("link.linkTypes.".concat(e))}),(function(t){switch(u.hide(),l.hide(),a.hide(),t){case"web":u.show(),e.active="web";break;case"sheet":l.show(),e.active="sheet";break;case"email":a.show(),e.active="email"}})),{required:!0},"".concat(Q("link.linkType"),":"),100);return e=t.call(this,Q("contextmenu.link"),[p("div","".concat(xe,"-form-fields")).children(d.el),p("div","".concat(xe,"-form-fields")).children(a.el,u.el,l.el),p("br"),p("br"),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))]),X()(nr()(e),"active",void 0),e.ci=null,e.values=[],e.sheetPageField=s,e.sheetField=l,e.webField=u,e.emailField=a,e.sheetCellField=o,e.webUrlField=h,e.emailAddressField=n,e.emailSubjectField=r,e.linkTypeField=d,e.change=function(){},e.el.on("click",(function(e){e.preventDefault()})),e}return o()(i,[{key:"btnClick",value:function(e){var t=this.link,i=this.type;if("ok"===e){switch(this.active){case"web":if(!this.webUrlField.validate())return;if(!this.isValidHttpUrl(this.webUrlField.val()))return void this.webUrlField.validateFail("Missing address network protocols such as http:// or https://");t.type=0,t.address=this.webUrlField.val();break;case"sheet":if(!this.sheetCellField.validate())return;t.type=3,t.address="".concat(this.sheetPageField.val(),"!").concat(this.sheetCellField.val());break;case"email":t.type=2,t.address="mailto:".concat(this.emailAddressField.val(),"?subject=").concat(this.emailSubjectField.val())}this.change("ok",t,i)}this.hide()}},{key:"clear",value:function(){this.sheetField.hide(),this.sheetPageField.val(this.sheets[0]),this.sheetCellField.val("A1"),this.webField.hide(),this.webUrlField.val(""),this.webUrlField.validateClear(),this.emailField.hide(),this.emailSubjectField.val(""),this.emailAddressField.val("")}},{key:"isValidHttpUrl",value:function(e){var t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol}},{key:"setValue",value:function(e,t,i){var n;if(this.type=i,this.sheets=e,this.link=t,this.clear(),this.sheetPageField.input.suggest.setItems(e.map((function(e){return{key:e,title:e}}))),""!==(null!==(n=null==t?void 0:t.type)&&void 0!==n?n:""))switch(t.type){case 1:case 0:this.webUrlField.input.val(t.address),this.linkTypeField.val("web"),this.webField.show(),this.active="web";break;case 2:var r=/mailto:([^\?]*)\?subject\=(.*)/.exec(t.address);this.emailSubjectField.val(r[2]),this.emailAddressField.val(r[1]),this.linkTypeField.val("email"),this.emailField.show(),this.active="email";break;case 3:var a=t.address.split("!");if(2!==a.length)break;this.sheetPageField.val(a[0]),this.sheetCellField.val(a[1]),this.linkTypeField.val("sheet"),this.sheetField.show(),this.active="sheet"}else this.linkTypeField.val("web"),this.webField.show(),this.active="web";this.show()}}]),i}(ia),Uo=function(){function e(t){c()(this,e),this.el=p("div","".concat(xe,t?"-banner-icon-s":"-banner-icon"))}return o()(e,[{key:"setHomeIcon",value:function(e,t){this.el.css({"background-image":"url(".concat(e,")"),"background-size":"contain","background-position":"center"});var i=p("a");i.attr("href",t),i.css({display:"block",height:"100%",width:"100%","text-decoration":"none"}),this.el.child(i)}}]),e}(),Xo=function(){function e(t){var i=this;c()(this,e),this.el=p("div","".concat(xe,"-banner-filename")),this.filename=p("div","".concat(xe,"-banner-filename-name")),this.filename.on("blur",(function(e){e.target.innerHTML=e.target.innerHTML.replace(/<[^>]+>/gi,"");var n=e.target.innerText;n=n.replace(/\r?\n|\r/g,""),t.filename=n+i.suffixStr,setTimeout((function(){t.selector.el.show()}),100)})),this.filename.on("focus",(function(e){window.mobileEditOnCell=!1,t.editor.el.hide()})),this.filename.on("keyup",(function(e){13===e.keyCode&&i.filename.el.blur()})),this.filename.attr("contenteditable",!0),this.filename.attr("spellcheck",!1),this.suffix=p("div"),this.el.children(this.filename,this.suffix)}return o()(e,[{key:"setValue",value:function(e){if(e.includes(".")){var t=e.substring(0,e.lastIndexOf(".")),i=this.suffixStr=e.substring(e.lastIndexOf("."));this.filename.html(t),this.suffix.html(i)}}}]),e}(),Wo=function(){function e(t,i,n,r,a,o,s){var l=this;c()(this,e),this.data=t;t.defaultStyle();this.change=function(){},this.widthFn=i,this.isHide=n,this.icon=new Uo(!a),this.filenamebar=new Xo(o),this.menubar=new Bo(t,i,n,r,s),this.el=p("div");var h=p("div","".concat(xe,"-banner"));n&&!r?(this.el.hide(),this.notShow=!0):(h.children(this.icon.el,p("div","".concat(xe,a?"-banner-info":"-banner-info-s")).children(this.filenamebar.el,this.menubar.el)),this.el.child(h)),a||this.filenamebar.el.hide(),this.menubar.change=function(){l.change.apply(l,arguments)}}return o()(e,[{key:"show",value:function(){this.notShow||this.el.show()}},{key:"hide",value:function(){this.el.hide()}},{key:"hideDropdown",value:function(){this.menubar.hideDropdown()}},{key:"setFileName",value:function(e){this.filenamebar.setValue(e)}}]),e}();function Yo(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Vo(e,t){var i=function(e,t){var i=Yo(e)*Yo(t);if(0===i)return 0;var n=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/i;return n>1&&(n=1),Math.acos(n)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(i*=-1),180*i/Math.PI}var Go=function(e){this.handlers=[],this.el=e};function Ko(e,t){var i=new Go(e);return i.add(t),i}function Zo(e,t){this.element="string"==typeof e?document.querySelector(e):e,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var i=function(){};this.rotate=Ko(this.element,t.rotate||i),this.touchStart=Ko(this.element,t.touchStart||i),this.multipointStart=Ko(this.element,t.multipointStart||i),this.multipointEnd=Ko(this.element,t.multipointEnd||i),this.pinch=Ko(this.element,t.pinch||i),this.swipe=Ko(this.element,t.swipe||i),this.tap=Ko(this.element,t.tap||i),this.doubleTap=Ko(this.element,t.doubleTap||i),this.longTap=Ko(this.element,t.longTap||i),this.singleTap=Ko(this.element,t.singleTap||i),this.pressMove=Ko(this.element,t.pressMove||i),this.twoFingerPressMove=Ko(this.element,t.twoFingerPressMove||i),this.touchMove=Ko(this.element,t.touchMove||i),this.touchEnd=Ko(this.element,t.touchEnd||i),this.touchCancel=Ko(this.element,t.touchCancel||i),this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}function Jo(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function $o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Jo(Object(i),!0).forEach((function(t){X()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Jo(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Qo(e,t){var i,n=this;return function(){for(var r=n,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l=o;i||(i=setTimeout((function(){i=null,e.apply(r,l)}),t))}}function es(){var e=this.data,t=this.verticalScrollbar,i=this.horizontalScrollbar,n=e.getSelectedRect(),r=n.l,a=n.t,o=n.left,s=n.top,l=n.width,h=n.height,c=this.getTableOffset();if(Math.abs(o)+l>c.width)i.move({left:r+l-c.width});else{var u=e.freezeTotalWidth();o<u&&i.move({left:r-1-u})}if(Math.abs(s)+h>c.height)t.move({top:a+h-c.height-1});else{var d=e.freezeTotalHeight();s<d&&t.move({top:a-1-d})}}function ts(){var e=this.data,t=this.verticalScrollbar,i=this.horizontalScrollbar,n=e.getSelectedRectBySearch(),r=n.l,a=n.t;i.move({left:r-1}),t.move({top:a-1})}function is(e,t,i){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(-1!==t||-1!==i){var a=this.table,o=this.selector,s=this.toolbar,l=this.formulaBar,h=this.data,c=this.contextMenu;if(!(t>=h.rows.len||i>=h.cols.len)&&(c.setMode(-1===t||-1===i?"row-col":"range"),h.canSelected(t,i))){var u=h.getCell(t,i);e?(o.setEnd(t,i,r),this.trigger("cells-selected",u,o.range)):(o.set(t,i,n),this.trigger("cell-selected",u,t,i)),this.focusing=!0;var d=o.getObj(),f="read"===h.settings.mode;null!=d&&"CellsDrawing"!==d.type&&"Oval"!==d.type&&"Picture"!==d.type&&d.setControlable(!1,f),o.setObjId(null),s.reset(),l.reset(),a.render()}}}function ns(e,t){var i=this.selector,n=this.data,r=n.rows,a=n.cols,o=l()(i.indexes,2),s=o[0],h=o[1],c=i.range,u=c.eri,d=c.eci;if(e){var f=l()(i.moveIndexes,2);s=f[0],h=f[1]}"left"===t?h>0&&(h-=1):"right"===t?(d!==h&&(h=d),h<a.len-1&&(h+=1)):"up"===t?s>0&&(s-=1):"down"===t?(u!==s&&(s=u),s<r.len-1&&(s+=1)):"row-first"===t?h=0:"row-last"===t?h=a.len-1:"col-first"===t?s=0:"col-last"===t&&(s=r.len-1),e&&(i.moveIndexes=[s,h]),is.call(this,e,s,h),es.call(this)}function rs(e){if(0===e.buttons&&e.target.className!=="".concat(xe,"-resizer-hover")){var t=e.offsetX,i=e.offsetY,n=this.rowResizer,r=this.colResizer,a=this.tableEl,o=this.data,s=o.rows,l=o.cols,h=o.displayRight2Left,c=o.settings.row.height;if(t>l.indexWidth&&i>c)return n.hide(),void r.hide();var u=a.box(),d=o.getCellRectByXY(e.offsetX/o.zoomlevel,e.offsetY/o.zoomlevel);d.ri>=0&&-1===d.ci?(d.width=l.indexWidth*o.zoomlevel,n.show(d,{width:u.width}),s.isHide(d.ri-1)?n.showUnhide(d.ri):n.hideUnhide()):n.hide(),-1===d.ri&&d.ci>=0?(d.height=c*o.zoomlevel,d.top=0,r.show(d,{height:u.height},h),l.isHide(d.ci-1)?r.showUnhide(d.ci):r.hideUnhide()):r.hide()}}function as(e){if(this.isLoaded()){var t=this.verticalScrollbar,i=this.horizontalScrollbar,n=this.data,r=t.scroll().top,a=i.scroll().left,o=n.rows,s=n.cols,l=e.deltaY,h=e.deltaX,c=function(e,t){var i=e,n=0;do{n=t(i),i+=1}while(n<=0);return n},u=function(e){if(e>0){var i=n.scroll.ri+1;if(i<o.len){var a=c(i,(function(e){return o.getHeight(e)}));t.move({top:r+a-1})}}else{var s=n.scroll.ri-1;if(s>=0){var l=c(s,(function(e){return o.getHeight(e)}));t.move({top:0===s?0:r-l})}}},d=Math.abs(l),f=Math.abs(h),v=Math.max(d,f);/Firefox/i.test(window.navigator.userAgent)&&Qo(u(e.detail),50),v===f&&Qo(function(e){if(e>0){var t=n.scroll.ci+1;if(t<s.len){var r=c(t,(function(e){return s.getWidth(e)}));i.move({left:a+r-1})}}else{var o=n.scroll.ci-1;if(o>=0){var l=c(o,(function(e){return s.getWidth(e)}));i.move({left:0===o?0:a-l})}}}(h),50),v===d&&Qo(u(l),50)}}function os(){var e=this.data,t=this.verticalScrollbar,i=(1!==e.zoomlevel?this.originTableOffset:this.getTableOffset()).height,n=e.exceptRowTotalHeight(0,-1),r=(e.rows.totalHeight()-n)*e.zoomlevel;window.mobileAndTabletCheck()&&(r+=document.documentElement.clientHeight/2),t.set(i,r)}function ss(){var e=this.data,t=this.horizontalScrollbar,i=(1!==e.zoomlevel?this.originTableOffset:this.getTableOffset()).width;e&&t.set(i,e.cols.totalWidth()*e.zoomlevel),e.displayRight2Left?t.el.attr("dir","rtl"):t.el.removeAttr("dir")}function ls(){var e=this.selector,t=this.data,i=this.editor,n=this.canvas,r=l()(t.freeze,2),a=r[0],o=r[1];if(t.resetScroll(a,o),a>0||o>0){var s=t.freezeTotalWidth(),h=t.freezeTotalHeight();i.setFreezeLengths(s,h)}else i.setFreezeLengths(0,0);n.resetFreeze(t),e.resetAreaOffset()}function hs(){var e=this.tableEl,t=this.overlayerEl,i=this.overlayerCEl,n=this.table,r=this.toolbar,a=this.formulaBar,o=this.selector,s=this.hyperlink,l=this.el;this.originTableOffset||(this.originTableOffset=this.getTableOffset()),1!==this.data.zoomlevel&&(o.br.useHideInput=!1);var h=this.getTableOffset(),c=this.getRect();e.attr(c),t.offset(c);var u=this.data.zoomlevel;i.offset($o($o({},h),{},{width:h.width/u,height:h.height/u})),l.css("width","".concat(c.width,"px")),os.call(this),ss.call(this),ls.call(this),n.render(),r.reset(),a.reset(),o.reset(),s.loadLinkPosition(this),1!==this.data.zoomlevel&&(o.br.useHideInput=!0)}function cs(){var e=this.data,t=this.selector;e.clearClipboard(),t.hideClipboard()}function us(){var e=this.data,t=this.selector,i=this.canvas;e.copy(),t.showClipboard(),i.clipboard=null}function ds(){var e=this.data,t=this.selector;e.cut(),t.showClipboard()}function fs(){return(fs=r()(d.a.mark((function e(){var t,i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.permissions.query({name:"clipboard-read"});case 3:return t=e.sent,i=t.state,e.abrupt("return","granted"===i);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))).apply(this,arguments)}function vs(e,t){var i=this.data,n=this;if("read"!==i.settings.mode&&!i.getLocked())if(i.paste(e,(function(e){return Te("Tip",e)})))hs.call(this);else if(t){if(null==i.clipboard.range){var r=t.clipboardData.getData("text/plain");r.length>0&&(this.data.pasteFromText(r),hs.call(this))}}else(function(){return fs.apply(this,arguments)})()&&navigator.permissions.query({name:"clipboard-read"}).then((function(e){!document.hasFocus()||"granted"!==e.state&&"prompt"!==e.state||navigator.clipboard.read().then((function(e){var t=e[0];t.types.includes("image/png")&&t.getType("image/png").then((function(e){var t=new File([e],Math.random(),{type:e.type});n.canvas.imageOperationList.paste.uploadImg(n,t)}))}))}))}function gs(){this.data.hideRowsOrCols(),hs.call(this)}function ps(e,t){this.data.unhideRowsOrCols(e,t),hs.call(this)}function ms(){this.data.autofilter(),hs.call(this)}function ys(){var e=document.createElement("div");e.id="aspose_mask_bg",e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.width="100%",e.style.height="100%",e.style.backgroundColor="#777",e.style.opacity=.6,e.style.zIndex=10001,document.body.appendChild(e);var t=document.createElement("div");t.style.position="absolute",t.style.top="33%",t.style.left="40%",t.style.backgroundColor="white",t.style.border="#336699 1px solid",t.style.textAlign="center",t.style.fontSize="medium",t.style.padding="1.5em 4em 1.5em 4em",t.innerText="updating , please wait...",e.appendChild(t)}function bs(){var e=document.getElementById("aspose_mask_bg");null!=e&&e.parentNode.removeChild(e)}function ws(e,t){return qs.apply(this,arguments)}function qs(){return(qs=r()(d.a.mark((function e(t,i){var n,r,a,o,s,l;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.data,r={sheetname:n.name,actrow:n.selector.ri,actcol:n.selector.ci,datas:xs.getUpdateDatas()},a={p:JSON.stringify(r),uid:this.uniqueid,file:t,outputType:i},o=this.fileDownloadUrl,s=new FormData,Object.keys(a).forEach((function(e){return s.set(e,a[e])})),ys(),e.next=9,fetch(o,{method:"POST",body:s});case 9:if((l=e.sent).ok){e.next=15;break}bs(),alert("Download failed, please try again"),e.next=22;break;case 15:return e.t0=Hs,e.next=18,l.json();case 18:e.t1=e.sent,e.t2=t,(0,e.t0)(e.t1,e.t2),bs();case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function ks(){var e=this.toolbar;e.paintformatActive()&&(vs.call(this,"format"),cs.call(this),e.paintformatToggle())}function Cs(){var e=this.editor,t=this.contextMenu,i=this.commentTip,n=this.commentEditable;e.clear(),t.hide(),i.hide(),n.saveAndHide(this)}function Ss(e){var t=this,i=this.selector,n=this.data,r=this.table,a=this.sortFilter,o=this.hyperlink,s=e.offsetX,h=e.offsetY,c=e.target.className==="".concat(xe,"-selector-corner");if(e.target.parentElement.className!=="".concat(xe,"-cselector")){var u=r.zoomlevel,d=n.getCellRectByXY(s/u,h/u),f=d.left,v=d.top,g=d.width,p=d.height;Qa(e.target);var m=n.viewHeight(),y=n.viewWidth(),b=d.ri,w=d.ci;if(!(b<-1||w<-1)&&"Chart"!==n.type){var q=n.autoFilter,x=n.TableAutoFilters;if(q.includes(b,w)&&f+g-20*u<s&&v+p-20*u<h){var k=q.items(w,(function(e,t){return n.rows.getCell(e,t)}));return a.set(w,k,q.getFilter(w),q.getSort(w)),a.setOffsetAdjustView({left:f,top:v+p+2},y,m),void(n.currentAutoFilter=q)}for(var C=0,S=x.length;C<S;C++){var T=x[C];if(T.includes(b,w)&&f+g-20*u<s&&v+p-20*u<h){var _=T.items(w,(function(e,t){return n.rows.getCell(e,t)}));return a.set(w,_,T.getFilter(w),T.getSort(w)),a.setOffsetAdjustView({left:f,top:v+p+2},y,m),void(n.currentAutoFilter=T)}}if(!e.shiftKey){if(c){if(window.mobileAndTabletCheck())return;i.showAutofill(b,w)}else if(is.call(this,!1,b,w),!e.ctrlKey&&2!==e.button){var O,R=null!==(O=o.checkAndAccess(n,b,w))&&void 0!==O?O:[w,b],E=l()(R,2);w=E[0],b=E[1]}window.mobileAndTabletCheck()||Ne(window,(function(e){var r=n.getCellRectByXY(e.offsetX/u,e.offsetY/u);if(b=r.ri,w=r.ci,c){if(window.mobileAndTabletCheck())return;i.showAutofill(b,w)}else 1!==e.buttons||e.shiftKey||is.call(t,!0,b,w,!0,!0)}),(function(){n.getLocked()||(c&&i.arange&&"read"!==n.settings.mode&&n.autofill(i.arange,"all",(function(e){return Te("Tip",e)}))&&r.render(),i.hideAutofill(),ks.call(t))}))}c||1!==e.buttons||e.shiftKey&&is.call(this,!0,b,w)}}}function Ts(){var e=this.data,t=this.editor.textbox,i=t?e.getRectForTextbox(t):e.getSelectedRect();_s.call(this,i)}function _s(e){var t=this.editor,i=this.getTableOffset(),n="top";e.top>i.height/2&&(n="bottom"),t.setOffset(e,n)}function Os(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.table,i=this.editor,n=this.data;"read"!==n.settings.mode&&(n.getLocked()||(delete i.textbox,Ts.call(this),t.clearSelectRender(),i.setCell(n.getSelectedCell(),n.getSelectedValidator(),n,e),cs.call(this)))}function Rs(e){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=(this.table,this.editor),n=this.data;if(!n.getLocked()){i.textbox=e;var r=n.getRectForTextbox(e);_s.call(this,r);var a="read"===n.settings.mode;i.setForTextBox(e,!0,a,t),cs.call(this)}}function Es(){var e=this.formulaBar,t=this.data;e.resetData(t)}function As(e){var t=this,i=this.data,n=this.table,r=this.selector,a=this.hyperlink;i.scrolly(e,(function(){1!==t.data.zoomlevel&&(r.br.useHideInput=!1),r.resetBRLAreaOffset(),Ts.call(t),n.render(),a.loadLinkPosition(t),i.scrollImagesShapes(),1!==t.data.zoomlevel&&(r.br.useHideInput=!0)}))}function Ms(e){var t=this,i=this.data,n=this.table,r=this.selector,a=this.hyperlink;i.scrollx(e,(function(){1!==t.data.zoomlevel&&(r.br.useHideInput=!1),r.resetBRTAreaOffset(),Ts.call(t),n.render(),a.loadLinkPosition(t),i.scrollImagesShapes(),1!==t.data.zoomlevel&&(r.br.useHideInput=!0)}))}function Is(e,t){var i=e.ri,n=this.table,r=this.selector,a=this.data,o=this.hyperlink,s=a.rows.getHeight(i);a.rows.setHeight(i,t),a.updateRowsHeight.add(i),a.updateConditionImagePositionForRow(i,t-s,t),n.render(),1!==this.data.zoomlevel&&(r.br.useHideInput=!1),r.resetAreaOffset(),o.loadLinkPosition(this),os.call(this),Ts.call(this),1!==this.data.zoomlevel&&(r.br.useHideInput=!0)}function Bs(e,t){var i=e.ci,n=this.table,r=this.selector,a=this.data,o=this.hyperlink,s=a.cols.getWidth(i);a.cols.setWidth(i,t),a.updateCols.add(i),a.updateConditionImagePositionForCol(i,t-s,t),n.render(),1!==this.data.zoomlevel&&(r.br.useHideInput=!1),r.resetAreaOffset(),o.loadLinkPosition(this),ss.call(this),Ts.call(this),1!==this.data.zoomlevel&&(r.br.useHideInput=!0)}function Ds(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"finished",i=this.data,n=this.table;if("read"!==i.settings.mode&&!i.getLocked()){i.setSelectedCellText(e,t);var r=i.selector,a=r.ri,o=r.ci;if("finished"===t){if("server"===i.settings.updateMode)return;n.render()}else this.trigger("cell-edited",e,a,o)}}function zs(e){var t=this.data;"insert-row"===e?t.insert("row"):"delete-row"===e?t.delete("row"):"insert-column"===e?t.insert("column"):"delete-column"===e?t.delete("column"):"delete-cell"===e?t.deleteCell():"delete-cell-format"===e?t.deleteCell("format"):"delete-cell-text"===e?t.deleteCell("text"):"cell-printable"===e?t.setSelectedCellAttr("printable",!0):"cell-non-printable"===e?t.setSelectedCellAttr("printable",!1):"cell-editable"===e?t.setSelectedCellAttr("editable",!0):"cell-non-editable"===e&&t.setSelectedCellAttr("editable",!1),cs.call(this),hs.call(this)}function Ps(e){for(var t=e,i=0,n=0;null!==t;)i+=t.offsetTop,n+=t.offsetLeft,t=t.offsetParent;return{top:i,left:n}}function Fs(e,t,i){var n=this,r=this.data,a=this.modalSort,o=this.modalDownload,s=this.modalLink,l=this.modalSearch,h=this.commentEditable,c=this.modalInsertURLImage,u=this.modalPrint,d=this.modelControl,f=(this.overlayerCEl,this.canvas,this.filename),v=this.toolbar;this.uniqueid;function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Device",i=this.filename;"Original"!==e&&(i="".concat(i.substr(0,i.lastIndexOf(".")),".").concat(e.toLowerCase())),"function"!=typeof this.fileDownloadCallFunc?ws.call(this,i,e):this.fileDownloadCallFunc(i,e,t)}if(window.mobileAndTabletCheck()&&v.moreEl.el.hasClass("active")&&v.moreEl.dd.hide(),"undo"===e)this.undo();else if("redo"===e)this.redo();else if("print"===e){if(!this.isLoaded())return;u.show()}else if("paintformat"===e)!0===t?us.call(this):cs.call(this);else if("clearformat"===e)zs.call(this,"delete-cell-format");else if("chart"===e);else if("autofilter"===e)ms.call(this);else if("freeze"===e)if(t){var p=r.selector,m=p.ri,y=p.ci;this.freeze(m,y)}else this.freeze(0,0);else if("sort"===e)a.setValue(r.getSelectedSort());else if("download"===e)o.setValue(f);else if("download_HTML"===e)g.call(this,"HTML");else if("download_Original"===e)g.call(this,"Original");else if("download_XLSX"===e)g.call(this,"XLSX");else if("download_PDF"===e)g.call(this,"PDF");else if("download_GOOGLE"===e)g.call(this,"Original","GoogleDrive");else if("download_DROPBOX"===e)g.call(this,"Original","Dropbox");else if("search"===e)l.show();else if("insertControl"===e)d.show(t);else if("menu-display-hide"===e)"up"===this.toolbar.menuDisplay.state?(this.toolbar.menuDisplay.setDown(),this.menubar.hide(),this.table.render()):(this.toolbar.menuDisplay.setUp(),this.menubar.show(),this.table.render());else if("insertComment"===e&&"commentEdit"===t||"insertComment"===e||"commentEdit"===e){var b=r.selector,w=b.ri,q=b.ci,x="";if(void 0!==r.comments)for(var k=0;k<r.comments.length;k++){var C=r.comments[k];C.row===w&&C.col===q&&(x=C.note)}this.scrollToRowCol(w,q,!0,(function(){var e=r.cellRectWithOutTransfer(w,q);h.col=q,h.row=w,h.setPosition(x,e,r.displayRight2Left),n.commentTip.onEdit=!0,"comments"===r.search.lookin&&(r.search.result=null)}))}else if("insertComment"===e&&"commentRemove"===t||"commentRemove"===e){var S=r.selector,T=S.ri,_=S.ci;if(void 0!==r.comments)for(var O=0;O<r.comments.length;O++)r.comments[O].col===_&&r.comments[O].row===T&&r.comments.splice(O,1);"comments"===r.search.lookin&&(r.search.result=null),this.table.render()}else if("insertComment"===e&&"commentPrevious"===t||"commentPrevious"===e)Ls(this,r,"previous");else if("insertComment"===e&&"commentNext"===t||"commentNext"===e)Ls(this,r,"next");else if("insert-image"===e)"url"===t&&c.show();else if("insert-shape"===e)this.drawShape(t.svg,t.name);else if("zoom-size"===e)this.setzoom(t.number);else if("insertSheet"===e)this.addSheet();else if("insertRow"===e)zs.call(this,"insert-row");else if("insertColumn"===e)zs.call(this,"insert-column");else if("link"===e){if(this.canvas.isImageOnSelected())return void this.canvas.link(this.data);var R=this.selector.range,E=this.hyperlink.getSelectArea(R),A=this.hyperlink.findByArea(this.data,E),M="edit";if(!A){(A={}).area=E;var I=this.data.getCell(R.sri,R.sci);A.text=I?I.text:"",M="add"}s.setValue(xs.datas.map((function(e){return e.name})),A,M)}else r.setSelectedCellAttr(e,t),"formula"!==e||r.selector.multiple()||Os.call(this),hs.call(this);i&&i()}function Ls(e,t,i){var n=e.selector,r=e.commentEditable,a=t.selector,o=a.ri,s=a.ci,l=o,h=s,c="";if(void 0!==t.comments){t.comments.sort((function(e,t){return e.row>t.row||e.row===t.row&&e.col>t.col?1:-1}));for(var u=0;u<t.comments.length;u++){var d=t.comments[u];if("previous"===i)(d.row<o||d.row===o&&d.col<s)&&(l=d.row,h=d.col,c=d.note);else if("next"===i&&(d.row>o||d.row===o&&d.col>s)){l=d.row,h=d.col,c=d.note;break}}}n.set(l,h),e.scrollToRowCol(l,h,!0,(function(){if(""!==c){var e=t.cellRectWithOutTransfer(l,h);r.col=h,r.row=l,r.onEdit=!1,r.setPosition(c,e)}}))}function js(e,t,i,n){this.data.setAutoFilter(e,t,i,n),hs.call(this),this.data.updateConditionImageVisible()}function Hs(e,t){var i=new XMLHttpRequest;i.open("get",e,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var e=this.response;Ns.call(this,e,t)}else alert("Download failed, please try again")},i.send()}function Ns(e,t){var i=document.createElement("a"),n=e;"string"==typeof e?i.target="_blank":n=window.URL.createObjectURL(e),i.href=n,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),"string"!=typeof e&&window.URL.revokeObjectURL(n)}function Us(e){var t=Ps(e.target);return[e.changedTouches[0].pageX-t.left,e.changedTouches[0].pageY-t.top]}function Xs(){var e=this,t=this.selector,i=this.overlayerEl,n=this.rowResizer,r=this.colResizer,a=this.verticalScrollbar,o=this.horizontalScrollbar,s=this.editor,h=this.contextMenu,c=this.commentTip,u=this.commentEditable,d=this.toolbar,f=this.menubar,v=this.formulaBar,g=this.modalValidation,m=this.modalSort,y=this.modalDownload,b=this.modalLink,w=(this.hyperlink,this.modalInsertURLImage),q=this.modalPrint,x=this.modelControl,k=this.modalSearch,C=this.sortFilter,S=this.canvas,_=this.el;function O(e,t){Cs.call(e),Ss.call(e,t)}if(window.mobileAndTabletCheck()||i.on("mousemove",(function(t){rs.call(e,t)})).on("mousedown",(function(t){Cs.call(e),2===t.buttons?(e.data.xyInSelectedRect(t.offsetX,t.offsetY)||Ss.call(e,t),h.setPosition(t.offsetX,t.offsetY),t.stopPropagation()):2===t.detail?Os.call(e):Ss.call(e,t)})).on("mousewheel.stop",(function(t){as.call(e,t)})).on("mouseout",(function(e){var t=e.offsetX;e.offsetY<=0&&r.hide(),t<=0&&n.hide()})),u.el.on("input",(function(t){if(1===e.commentEditable.el.el.childNodes.length&&"#text"===e.commentEditable.el.el.childNodes[0].nodeName){var i=p("font");i.attr("style","FONT-FAMILY: 宋体;FONT-SIZE: 9pt;COLOR: #000000;TEXT-ALIGN: left;"),i.child(document.createTextNode(e.commentEditable.el.el.textContent)),e.commentEditable.el.el.replaceChild(i.el,e.commentEditable.el.el.firstChild),t.target.focus();var n=window.getSelection();n.selectAllChildren(t.target),n.collapseToEnd()}})),t.inputChange=function(t){Ds.call(e,t,"input"),Os.call(e),Es.call(e)},v.inputChange=function(t){Ds.call(e,t,"input"),Os.call(e,!1)},v.enter=function(t,i){if(t.altKey){s.insertTextNewLine(t);var n=i?t.target.innerHTML:t.target.innerText;Ds.call(e,n,"input"),Os.call(e,!1)}else s.clear(),ns.call(e,!1,t.shiftKey?"up":"down"),e.focusing=!0;t.preventDefault()},v.tab=function(t){s.clear(),ns.call(e,!1,t.shiftKey?"left":"right"),e.focusing=!0,t.preventDefault()},v.focuson=function(){e.focusing=!1},Fe(_.el,"mousemove",(function(t){c.hide();var i=t.offsetX,n=t.offsetY,r=e.data,a=e.table,o=e.hyperlink,s=e.canvas,l=r.comments,h=a.zoomlevel,u=r.getCellRectByXY(i/h,n/h);if(0!==r.hyperlinks.length){var d=o.getSelectArea({sci:u.ci,eci:u.ci,sri:u.ri,eri:u.ri});o.findByArea(r,d)?s.setCursor("pointer"):s.setCursor("")}u.ri>=0&&u.ci>=0&&l.forEach((function(e){u.ri===e.row&&u.ci===e.col&&c.setPosition(e.note,u,r.displayRight2Left)}))})),window.mobileAndTabletCheck()){var R,E=this,A=!1,M=!1,I=function(){return A&&M},B=this.getTableOffset(),D="",z=[0,0],P=[0,0],F=[0,0],L=[0,0],j=!1,H=(E.table.zoomlevel,{});H.__proto__=Zo.prototype,Zo.call(H,this.el.el,{tap:function(e){},touchStart:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){!function(e,t){e.target.className.includes("item")||t.contextMenu.hide()}(e,E);var t=function(e,t){var i,n=e.target.className.includes("".concat(xe,"-selector-corner")),r=e.target.className.includes("tl")?"tl":"br",a=[],o=[],s=!1;return n&&(i=Ps(e.target.offsetParent.offsetParent),a[0]=e.changedTouches[0].pageX,a[1]=e.changedTouches[0].pageY,o[0]=t.data.scroll.x,o[1]=t.data.scroll.y,s=!0),[r,i,a,o,s]}(e,E),i=l()(t,5);D=i[0],R=i[1],z=i[2],F=i[3],(A=i[4])&&(j=!1,console.info("#####touchStart ..that.data.scroll.y...... "+E.data.scroll.y+",startscroll[0]:"+F[0]),F[0]=E.data.scroll.x,F[1]=E.data.scroll.y,E.selector.setMobilestartOffsetAndRange())}},touchEnd:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)&&I()){var i=P[0]-z[0]+E.data.scroll.x-F[0],n=P[1]-z[1]+E.data.scroll.y-F[1];t.setMobileMultipleSelect(i,n),function(e,t,i,n){if(t&&i){var r=e.br.areaEl.el.getBoundingClientRect(),a=r.right>window.screen.width?window.screen.width:r.right,o=r.top-i.top+n.top;o=o>window.screen.height?window.screen.height:o,h.setPosition(a,o)}}(t,!0,R,B);var r=(Xe(),[!1,!1,!1]),a=l()(r,3);A=a[0],M=a[1],j=a[2],E.table.render()}},doubleTap:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)&&"CANVAS"===e.target.nodeName){var t=Us(e),i=l()(t,2);e.offsetX=i[0],e.offsetY=i[1],window.mobileEditOnCell=!0,O(E,e),Os.call(E)}},longTap:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){var t=Us(e),i=l()(t,2),n=i[0],r=i[1];h.setPosition(n,r)}},singleTap:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)&&("CANVAS"===e.target.nodeName||e.target.className.endsWith("-selector-corner"))&&!function(e){return e.target.className.includes("item")}(e)){var i=Us(e),n=l()(i,2);e.offsetX=n[0],e.offsetY=n[1],window.mobileEditOnCell=!0,O(E,e),t.br.useHideInput=!1,window.keyboardShow?(t.br.useHideInput=!0,Os.call(E)):function(e,t){var i=Us(e),n=l()(i,2),r=n[0],a=n[1];if(e.target.className.includes("".concat(xe,"-selector-corner"))){var o=Ps(e.target);r=o.left,a=o.top}var s=r<=t.left&&a>=t.top,c=r>=t.left&&a<=t.top;if(s||c){var u=s?t.left:r,d=c?t.top:a;h.setPosition(u,d)}}(e,B)}},rotate:function(e){},pinch:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){E.editor.el.hide();var t=e.zoom;t>2&&(t=2),t<.5&&(t=.5),E.setzoom(t)}},pressMove:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){var t=E.selector;E.data;if(M=!0,I()){switch(function(e,t,i,n,r){e[0]=n.changedTouches[0].pageX,e[1]=n.changedTouches[0].pageY,t[0]=i.data.scroll.x,t[1]=i.data.scroll.y}(P,L,E,e),D){case"tl":break;case"br":var i=P[0]-z[0],n=P[1]-z[1];t.setEndMobile(i,n);var r=t.getMobileMultipleSelect(i,n),a=l()(r,2),o=a[0],s=a[1];o>=E.data.viewRange().eri-4&&!j&&(j=!0,t.setEnd(o,s),function(e,t){""!==e?We(t):Xe()}("down",E))}}else Math.abs(e.deltaX)>Math.abs(e.deltaY)?Math.abs(e.deltaX)>18&&(E.scrollH(e.deltaX),E.table.render()):Math.abs(e.deltaY)>18&&(E.scrollV(e.deltaY),E.table.render())}},swipe:function(e){}})}d.change=function(t,i){return Fs.call(e,t,i)},f.change=function(t,i){return Fs.call(e,t,i,(function(){return f.hideDropdown()}))},C.ok=function(t,i,n,r){return js.call(e,t,i,n,r)},n.finishedFn=function(t,i){Is.call(e,t,i)},r.finishedFn=function(t,i){Bs.call(e,t,i)},n.unhideFn=function(t){ps.call(e,"row",t)},r.unhideFn=function(t){ps.call(e,"col",t)},a.moveFn=function(t,i){As.call(e,t,i)},o.moveFn=function(t,i){Ms.call(e,t,i)},s.change=function(t,i){Ds.call(e,i,t),Es.call(e)},s.textboxChange=function(t,i){var n=e.data;e.table;n.updateTextbox(t,i)},g.change=function(t){if("save"===t){for(var i,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(i=e.data).addValidation.apply(i,r)}else e.data.removeValidation()},m.change=function(t,i,n,r){"ok"===t&&e.data.doSort(i,n,r)},y.change=function(t,i,n){"ok"===t&&ws.call(e,i,n)},b.change=function(t,i,n){"ok"===t&&(e.canvas.isImageOnSelected()?e.canvas.setHyperlink(i):"add"===n&&(e.data.hyperlinks=e.data.hyperlinks.filter((function(e){return!T.valueOf(i.area).contains(T.valueOf(e.area))})),e.data.hyperlinks.push(i),e.hyperlink.setHyperlinkStyleByArea(i.area,e,!0),e.hyperlink.loadLinkPosition(e)))},q.change=function(t,i){"ok"===t&&(e.print.preview(i),e.print.toPrint())},x.change=function(t,i){if("ok"===t){var n=e.data.selector,r=n.ri,a=n.ci,o=new FormData;o.append("uid",uniqueid);var s={ri:r,ci:a,name:e.data.name,type:i.type,clink:i.lc,label:i.getText(),range:i.rg,info:i.info};"ComboBox"===i.type?(s.w=120,s.h=20):"ScrolBar"===i.type||"SpinButton"===i.type?(s.w=20,s.h="ScrolBar"===i.type?120:80):"CheckBox"!==i.type&&"RadioButton"!==i.type||(s.w=150,s.h=40),o.append("p",JSON.stringify(s)),o.append("control","true"),e.scrollToRowCol(r,a,!0,(function(){Ia(e,o,(function(t){S.doInsertImage(t,e)}))}))}},w.change=function(t,i){var n=e.canvas,r=e.uniqueid,a=e,o=e.data.selector,s=o.ri,l=o.ci;"ok"===t&&e.scrollToRowCol(s,l,!0,(function(){var t=a.data.getSelectedRect();n.setLoading(a,{top:t.top,left:t.left});var o={ri:s,ci:l,name:e.data.name},h={p:JSON.stringify(o),uid:r,imageurl:i};$.ajax({url:a.imageUploadByUrlUrl,type:"post",data:h,success:function(e,t,i){(e=JSON.parse(e)).Error?Te("error",e.Error):n.doInsertURLImage(e,a)}})}))},$("#upload-image").on("change",(function(t){var i=e.data.selector,n=i.ri,r=i.ci,a=t.target.files[0];e.scrollToRowCol(n,r,!0,(function(){e.canvas.imageOperationList.paste.uploadImg(e,a),t.target.value=null}))})),k.change=function(i,n,r,a,o){if("close"!==i){r||(n=n.toUpperCase());var s=e.data,l=s.search,h=s.rows,c=s.comments,d=l.keywords,f=[];if(null!=l.result&&d===n&&l.iscasesense===r&&l.lookin===a&&l.matchwhole===o)f=l.result;else{var v=h.len>0?h._:{},g=null;if("comments"===a){for(var p=document.createElement("c"),m=0,y=c.length;m<y;m++)if(p.innerHTML=c[m].note,g=r?p.innerText:p.innerText.toUpperCase(),!o&&-1!==g.indexOf(n)||o&&g===n){var b={ri:c[m].row,ci:c[m].col};b.cmt=c[m],f.push(b)}}else for(var w in v){var q=v[w].cells;for(var x in q)if("values"===a?g=r?q[x].text:q[x].text.toUpperCase():"formulas"===a&&(g=void 0!==q[x].f?r?q[x].f:q[x].f.toUpperCase():null),null!=g&&(o&&g===n||!o&&-1!==g.indexOf(n))){var k={ri:w,ci:x};f.push(k)}}l.keywords=n,l.lookin=a,l.matchwhole=o,l.iscasesense=r,l.result=f}if(0===f.length)return void alert("We couldn't find what you were looking for.");var C=-1,S=Number(t.indexes[0]),T=Number(t.indexes[1]),_=f.length-1;if(1===f.length)C=0;else if("next"===i){for(var O=0,R=f.length;O<R;O++){if(Number(f[O].ri)===S&&Number(f[O].ci)>T){C=O;break}if(Number(f[O].ri)>S){C=O;break}}-1===C&&(C=0)}else{for(var E=_;E>=0;E--){if(Number(f[E].ri)===S&&Number(f[E].ci)<T){C=E;break}if(Number(f[E].ri)<S){C=E;break}}-1===C&&(C=_)}l.current=C;var A=f[C];if(t.set(A.ri,A.ci),f[C].cmt){var M=A.cmt.note;if(""!==M){var I=s.cellRectWithOutTransfer(A.ri,A.ci);u.col=A.ci,u.row=A.ri,u.onEdit=!1,u.setPosition(M,I)}}ts.call(e)}},h.showMenuBefore=function(t){var i=l()(e.selector.indexes,2),n=i[0],r=i[1],a=!1;if(t.forEach((function(e){return e.show()})),e.canvas.isImageOnSelected()){if(t.forEach((function(e){-1===["copy","cut","paste","link"].indexOf(e.key)&&e.hide()})),e.canvas.checkHyperlink(e.canvas.fabric))return;e.canvas.validType(e.canvas.fabric,"type","Chart")&&(a=!0)}if(!e.hyperlink.check(e.data,n,r)){var o=null;if(t.forEach((function(e){a&&"link"===e.key&&(o.hide(),e.hide()),"openLink"===e.key&&e.hide(),"removeLink"===e.key&&e.hide(),o=e})),window.mobileAndTabletCheck()){var s=["edit","cut","copy","paste","merge","unmerge","clear"].map((function(e){return Q("contextmenu.".concat(e))}));t.forEach((function(t){s.includes(t.el.innerText)||t.hide(),t.el.className.includes("divider")&&t.hide(),e.data.merges.equals(e.selector.range)&&t.el.innerText===Q("contextmenu.merge")&&t.hide(),e.data.merges.equals(e.selector.range)||t.el.innerText!==Q("contextmenu.unmerge")||t.hide()}))}}},h.itemClick=function(t){if("validation"===t)g.setValue(e.data.getSelectedValidation());else if("sort"===t)m.setValue(e.data.getSelectedSort());else if("download"===t)y.setValue(e.filename);else if("link"===t){if(e.canvas.isImageOnSelected())return void e.canvas.link(e.data);var i=e.selector.range,n=e.hyperlink.getSelectArea(i),r=e.hyperlink.findByArea(e.data,n),a="edit";if(!r){(r={}).area=n;var o=e.data.getCell(i.sri,i.sci);r.text=o?o.text:"",a="add"}b.setValue(xs.datas.map((function(e){return e.name})),r,a)}else"removeLink"===t?e.canvas.isImageOnSelected()?e.canvas.removeLink(e.data):e.hyperlink.removeByRange(e.selector.range,e):"openLink"===t?e.canvas.isImageOnSelected()?e.canvas.openLink(e.data):e.hyperlink.accessByRange(e.selector.range,e.data):"copy"===t?(us.call(e),e.canvas.doOperation("copy")):"cut"===t?(ds.call(e),e.canvas.doOperation("copy"),e.canvas.doOperation("delete")):"paste"===t?S.clipboard?e.canvas.doOperation("paste"):vs.call(e,"all"):"paste-value"===t?vs.call(e,"text"):"paste-format"===t?vs.call(e,"format"):"hide"===t?gs.call(e):"delete-image"===t?e.canvas.doOperation("delete"):"merge"===t?(e.data.setSelectedCellAttr(t,!0),e.table.render()):"unmerge"===t?(e.data.setSelectedCellAttr("merge",!1),e.table.render()):"edit"===t?Os.call(e):zs.call(e,t)}}function Ws(){var e=this,t=function(){window.mobileAndTabletCheck()||e.reload()},i=function(t){e.enableKeyEvent&&e.focusing&&"commentEdit"!==t.target.parentElement.id&&(t.target.parentElement.parentElement&&"commentEdit"===t.target.parentElement.parentElement.id||"x-spreadsheet-form-input"!==t.target.parentElement.className&&(vs.call(e,"all",t),t.preventDefault()))},n=function(t){if(e.enableKeyEvent&&e.focusing&&"commentEdit"!==t.target.id&&"x-spreadsheet-form-input"!==t.target.parentElement.className&&!t.target.className.startsWith("x-spreadsheet")){var i=t.keyCode||t.which,n=t.key,r=t.ctrlKey,a=t.shiftKey,o=t.metaKey,s=e.editor,l=e.contextMenu,h=e.commentTip,c=e.toolbar,u=e.canvas;e.el;if(r||o)switch(i){case 90:e.undo(),t.preventDefault();break;case 89:e.redo(),t.preventDefault();break;case 67:us.call(e),u.doOperation("copy"),t.preventDefault();break;case 88:ds.call(e),t.preventDefault();break;case 85:c.trigger("underline"),t.preventDefault();break;case 86:u.clipboard?u.doOperation("paste"):vs.call(e,"all"),t.preventDefault();break;case 37:ns.call(e,a,"row-first"),t.preventDefault();break;case 38:ns.call(e,a,"col-first"),t.preventDefault();break;case 39:ns.call(e,a,"row-last"),t.preventDefault();break;case 40:ns.call(e,a,"col-last"),t.preventDefault();break;case 32:is.call(e,!1,-1,e.data.selector.ci,!1),t.preventDefault();break;case 66:c.trigger("bold");break;case 73:c.trigger("italic")}else{switch(i){case 32:a&&is.call(e,!1,e.data.selector.ri,-1,!1);break;case 27:l.hide(),h.hide(),cs.call(e);break;case 37:ns.call(e,a,"left"),t.preventDefault();break;case 38:ns.call(e,a,"up"),t.preventDefault();break;case 39:ns.call(e,a,"right"),t.preventDefault();break;case 40:ns.call(e,a,"down"),t.preventDefault();break;case 9:s.clear(),ns.call(e,!1,a?"left":"right"),t.preventDefault();break;case 13:s.clear(),ns.call(e,!1,a?"up":"down"),t.preventDefault();break;case 8:zs.call(e,"delete-cell-text"),t.preventDefault()}"Delete"===n?(zs.call(e,"delete-cell-text"),u.doOperation("delete"),t.preventDefault()):i>=65&&i<=90||i>=48&&i<=57||i>=96&&i<=105||"="===t.key?(Ds.call(e,t.key,"input"),Os.call(e),Es.call(e)):113===i&&Os.call(e)}}};Fe(window,"resize",t),e.enableKeyEvent&&(Fe(window,"keydown",n),Fe(window,"paste",i)),this.delWindowEvent=function(){var r=e.toolbar,a=e.canvas;Le(window,"keydown",n),Le(window,"paste",i),Le(window,"resize",t),r.delWindowEvent&&r.delWindowEvent(),a.delWindowEvent&&a.delWindowEvent()}}Go.prototype.add=function(e){this.handlers.push(e)},Go.prototype.del=function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)},Go.prototype.dispatch=function(){for(var e=0,t=this.handlers.length;e<t;e++){var i=this.handlers[e];"function"==typeof i&&i.apply(this.el,arguments)}},Zo.prototype={start:function(e){if(e.touches){this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y,this.pinchStartLen=Yo(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this._inZoom||(this.longTap.dispatch(e,this.element),this._preventTap=!0)}.bind(this),750)}},move:function(e){if(e.touches){var t=this.preV,i=e.touches.length,n=e.touches[0].pageX,r=e.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var a=e.touches[1].pageX,o=e.touches[1].pageY,s={x:e.touches[1].pageX-n,y:e.touches[1].pageY-r};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=Yo(s)/this.pinchStartLen,this.pinch.dispatch(e,this.element),this._preventTap=!0,this._inZoom=!0),e.angle=Vo(s,t),this.rotate.dispatch(e,this.element)),t.x=s.x,t.y=s.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(n-this.x2+a-this.sx2)/2,e.deltaY=(r-this.y2+o-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=a,this.sy2=o}else{if(null!==this.x2){e.deltaX=n-this.x2,e.deltaY=r-this.y2;var l=Math.abs(this.x1-this.x2),h=Math.abs(this.y1-this.y2);(l>10||h>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=n,this.y2=r,i>1&&e.preventDefault()}},end:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){t.swipe.dispatch(e,t.element)}),0)):(this.tapTimeout=setTimeout((function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)}),0),t.isDoubleTap||t._preventTap||(t.singleTapTimeout=setTimeout((function(){t.singleTap.dispatch(e,t.element)}),250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}},cancelAll:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)},cancel:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)},_cancelLongTap:function(){clearTimeout(this.longTapTimeout)},_cancelSingleTap:function(){clearTimeout(this.singleTapTimeout)},_swipeDirection:function(e,t,i,n){return Math.abs(e-t)>=Math.abs(i-n)?e-t>0?"Left":"Right":i-n>0?"Up":"Down"},on:function(e,t){this[e]&&this[e].add(t)},off:function(e,t){this[e]&&this[e].del(t)},destroy:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}};var Ys=function(){function e(t,i){var n=this;c()(this,e),this.eventMap=new Map;var r=i.settings,a=r.view,o=r.showToolbar,s=r.showFileName,l=r.showContextmenu,h=r.mode,u=r.showPartToolbar,d=r.contextMenuItems,f=r.local;this.el=p("div","".concat(xe,"-sheet")),this.menubar=new Wo(i,a.width,!o,u,s,this,f),this.toolbar=new ta(i,a.width,!o,u),this.formulaBar=new Ca(i,h),this.canvas=new co,this.print=new Di(i,this.canvas),this.hyperlink=new Do,t.children(this.menubar.el,this.toolbar.el,this.formulaBar.el,this.el,this.print.el),this.data=i,this.tableEl=p("canvas","".concat(xe,"-table"));var v=i.settings.row.height;this.rowResizer=new Ve(!1,v,this),this.colResizer=new Ve(!0,i.cols.minWidth,this),this.verticalScrollbar=new Ge(!0),this.horizontalScrollbar=new Ge(!1),this.editor=new Oi(le,(function(){return n.getTableOffset()}),v,this),this.modalValidation=new ca,this.modalSort=new fa,this.modalDownload=new jo,this.modalLink=new No,this.modalSearch=new qa,this.modalInsertURLImage=new fo,this.modalPrint=new go,this.modelControl=new ka(i),this.contextMenu=new ji((function(){return n.getRect()}),this,!l,d),this.commentTip=new ba,this.commentEditable=new Ta,this.selector=new ct(i),this.highlight=new Fo(this),this.el.css("background-repeat","repeat"),this.el.css("background-attachment","scroll"),this.imageDiv=p("div").attr("id","imagediv").css("position","relative").css("pointer-events","auto").css("z-index","17"),this.overlayerCEl=p("div","".concat(xe,"-overlayer-content")).children(this.editor.el,this.selector.el,this.imageDiv.el),this.overlayerEl=p("div","".concat(xe,"-overlayer")).children(this.overlayerCEl,this.canvas),this.sortFilter=new ya,this.el.children(this.tableEl,this.overlayerEl.el,this.rowResizer.el,this.colResizer.el,this.verticalScrollbar.el,this.horizontalScrollbar.el,this.contextMenu.el,this.commentTip.el,this.commentEditable.el,this.modalValidation.el,this.modalSort.el,this.modalDownload.el,this.modalLink.el,this.modalSearch.el,this.modalInsertURLImage.el,this.modalPrint.el,this.modelControl.el,this.sortFilter.el),this.table=new pi(this.tableEl.el,i),Xs.call(this),this.delWindowEvent=null,this.enableKeyEvent="read"!==h,Ws.call(this),hs.call(this),is.call(this,!1,0,0),this.canvas.init(this),this.imageUploadByLocalUrl=null,this.imageUploadByUrlUrl=null,this.reloadUrl=null,this.fileDownloadUrl=null,this.oleDownloadUrl=null,this.uniqueid="",this.filename=""}var t;return o()(e,[{key:"setReloadUrl",value:function(e){this.reloadUrl=e}},{key:"getReloadUrl",value:function(){return this.reloadUrl+"?filename="+this.filename+"&uid="+this.uniqueid}},{key:"on",value:function(e,t){return this.eventMap.set(e,t),this}},{key:"preMousedown",value:function(){Cs.call(this)}},{key:"trigger",value:function(e){var t=this.eventMap;if(t.has(e)){for(var i,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(i=t.get(e)).call.apply(i,[this].concat(r))}}},{key:"resetData",value:function(e,t){var i=this;this.editor.clear(),this.data=e,os.call(this),ss.call(this);var n=this.getTableOffset();this.overlayerCEl.offset(n),e.displayRight2Left?this.overlayerCEl.el.setAttribute("dir","rtl"):this.overlayerCEl.el.removeAttribute("dir"),this.data.topOrder=0,this.toolbar.resetData(e),this.formulaBar.resetData(e),this.print.resetData(this,e),this.selector.resetData(e),this.table.resetData(e),this.canvas.reset(e),this.data.updateConditionImageDirection(),this.verticalScrollbar.el.el.style.overflowY="hidden",this.horizontalScrollbar.el.el.style.overflowX="hidden",this.data.reloadImagesShapes(),this.hyperlink.loadLinkPosition(this);var r=this.highlight;!function n(){i.isLoaded()?(i.verticalScrollbar.el.el.style.overflowY="scroll",i.horizontalScrollbar.el.el.style.overflowX="scroll",r.AutoShowOrHide(),i.trigger("sheet-loaded",t,e.name)):setTimeout(n,300)}()}},{key:"loadData",value:function(e){return this.data.setData(e),hs.call(this),this}},{key:"isLoaded",value:function(){var e=this.data;return!0===e.isImageOk&&!e.isRestoreFromCanvas||e.isRestoreFromCanvas&&e.isRestoreFromCanvasReady}},{key:"scrollV",value:function(e,t){var i=this.verticalScrollbar.scroll().top;this.verticalScrollbar.move({top:i-e},t);var n=this;setTimeout((function(){i===n.verticalScrollbar.scroll().top&&t&&t()}),3e3)}},{key:"scrollToRow",value:function(e,t,i){var n=this.data.viewRange(),r=n.sri,a=n.eri;if(r!==e)if(t&&e>r&&e<=a)i&&i();else{var o=e>r?-this.data.rows.sumHeight(r,e):this.data.rows.sumHeight(e,r);this.scrollV(o,i)}else i&&i()}},{key:"scrollToCol",value:function(e,t,i){var n=this.data.viewRange(),r=n.sci,a=n.eci;if(r!==e)if(t&&e>r&&e<a-1)i&&i();else{var o=e>r?-this.data.cols.sumWidth(r,e):this.data.cols.sumWidth(e,r);this.scrollH(o,i)}else i&&i()}},{key:"scrollToSelect",value:function(){var e=this.selector.range,t=e.sri,i=e.sci;this.scrollToRowCol(t,i)}},{key:"scrollToRowCol",value:function(e,t,i,n){var r=this;this.scrollToRow(e,i,(function(){r.scrollToCol(t,i,n)}))}},{key:"scrollH",value:function(e,t){var i=this.horizontalScrollbar.scroll().left;this.horizontalScrollbar.move({left:i-e},t);var n=this;setTimeout((function(){i===n.horizontalScrollbar.scroll().left&&t&&t()}),3e3)}},{key:"selectMoveDown",value:function(){ns.call(this,!0,"down")}},{key:"freeze",value:function(e,t){var i=this.data;return this.canvas.doResetPosition(e,t),i.setFreeze(e,t),hs.call(this),this}},{key:"setActiveCell",value:function(e,t){return is.call(this,!1,e,t),this.focusing=!0,this}},{key:"setEditForTextBox",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Rs.call(this,e,t,i),this}},{key:"undo",value:function(){this.data.undo(),hs.call(this)}},{key:"redo",value:function(){this.data.redo(),hs.call(this)}},{key:"reload",value:function(){return hs.call(this),this}},{key:"drawShape",value:function(e,t){if(document.getElementById("drawShapeCanvas")){var i=document.getElementById("drawShapeCanvas");i.fabricCanvas.dispose(),i.parentNode.removeChild(i)}var n=this,r=document.createElement("canvas");r.width=this.canvas.fabric.width,r.height=this.canvas.fabric.height,r.setAttribute("id","drawShapeCanvas"),this.overlayerEl.children(r);var a=new fabric.Canvas(r);a.wrapperEl.style.zIndex=100,a.wrapperEl.style.position="absolute",a.wrapperEl.style.top="0px",a.defaultCursor="crosshair",r.fabricCanvas=a,a.selection=!1;var o=!1,s=null,l=null,h=null;a.on("mouse:down",(function(t){s||fabric.loadSVGFromString(e,(function(e,i){(s=fabric.util.groupSVGElements(e,i)).set({left:t.e.clientX-r.offsetLeft,top:t.e.clientY-r.offsetTop-n.overlayerEl.el.getBoundingClientRect().top}),l=n.data.selector.ri,h=n.data.selector.ci,a.add(s).renderAll(),s.forEachObject((function(e){e.set({fill:"#3C67BC",opacity:.95})})),o=!0}))})),a.on("mouse:move",(function(e){if(o&&s){var t=e.e.clientX-s.left-r.offsetLeft,i=e.e.clientY-s.top-r.offsetTop-n.overlayerEl.el.getBoundingClientRect().top;s.set({scaleX:t/s.width,scaleY:i/s.height}),n.selector.hide(),a.renderAll()}})),a.on("mouse:up",(function(e){if(o=!1,s){var i=s.getBoundingRect();console.log("Coordinates:",i);var c={name:t,left:s.left,top:s.top,w:s.width*s.scaleX+10,h:s.height*s.scaleY+10};n.canvas.imageOperationList.paste.uploadImg(n,null,c),n.scrollToRowCol(l,h,!0,(function(){e.e.target.value=null})),a.dispose(),n.selector.showClipboard(),r.parentNode.removeChild(r)}}))}},{key:"setzoom",value:function(e){var t=this.data,i=this.table,n=this.canvas,r=this.selector;i.zoomlevel=e,t.zoomlevel=e;this.getTableOffset();1!==this.data.zoomlevel&&(r.br.useHideInput=!1),this.data.zoomlevel<1&&!window.mobileAndTabletCheck()&&(this.overlayerCEl.el.style.width="".concat(this.overlayerCEl.el.clientWidth/e,"px"),this.overlayerCEl.el.style.height="".concat(this.overlayerCEl.el.clientHeight/e,"px")),n.setZoom(e),hs.call(this),1!==this.data.zoomlevel&&(r.br.useHideInput=!0),t.updateConditionImageZoom()}},{key:"showHighlights",value:function(e){this.highlight.showHighlights(e)}},{key:"hideHighlights",value:function(){this.highlight.hideHighlights()}},{key:"updateHighlightStyle",value:function(e){this.highlight.updateHighlightStyle(e)}},{key:"clearHighlights",value:function(){this.highlight.clearHighlights()}},{key:"getHighlightTexts",value:function(){return this.highlight.getHighlightTexts()}},{key:"addHighlightText",value:function(e,t,i,n){this.highlight.addHighlightText(e,t,i,n)}},{key:"removeHighlightText",value:function(e,t,i,n){this.highlight.removeHighlightText(e,t,i,n)}},{key:"getHighlightRanges",value:function(){return this.highlight.getHighlightRanges()}},{key:"addHighlightRange",value:function(e,t,i,n){this.highlight.addHighlightRange(e,t,i,n)}},{key:"removeHighlightRange",value:function(e,t,i,n){this.highlight.removeHighlightRange(e,t,i,n)}},{key:"setHighlightInverseRange",value:function(e,t,i,n){this.highlight.setHighlightInverseRange(e,t,i,n)}},{key:"getHighlightInverseRange",value:function(){return this.highlight.getHighlightInverseRange()}},{key:"removeHighlightInverseRange",value:function(){this.highlight.removeHighlightInverseRange()}},{key:"getHighlightShaps",value:function(){return this.highlight.getHighlightShaps()}},{key:"addHighlightShape",value:function(e){this.highlight.addHighlightShape(e)}},{key:"removeHighlightShape",value:function(e){this.highlight.removeHighlightShape(e)}},{key:"addHighlightTextBox",value:function(e,t,i){var n=this.data,r=(this.table,this.highlight,n.shapes.find((function(t){return t.id===e})));r?"TextBox"===r.type?(this.addHighlightShape(e),r.addHighlight(t,i)):console.error("shape is not textbox"):console.error("shape does not exist")}},{key:"removeHighlightTextBox",value:function(e,t,i){var n=this.data,r=(this.table,n.shapes.find((function(t){return t.id===e})));r?"TextBox"===r.type?-1!==n.highlighshapes.indexOf(e)&&r.removeHighlight(t,i):console.error("shape is not textbox"):console.error("shape does not exist")}},{key:"getHighlightImages",value:function(){return this.highlight.getHighlightImages()}},{key:"addHighlightImage",value:function(e){this.highlight.addHighlightImage(e)}},{key:"removeHighlightImage",value:function(e){this.highlight.removeHighlightImage(e)}},{key:"setHighlightAll",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.highlight;i.setHighlightAll(e,t)}},{key:"setCustomHighlightImgFunc",value:function(e){this.highlight.setCustomHighlightImgFunc(e)}},{key:"getImageContextMenuItems",value:function(){return this.contextMenu.getImageContextMenuItems()}},{key:"addImageContextMenuItems",value:function(e){this.contextMenu.addImageContextMenuItems(e)}},{key:"delImageContextMenuItems",value:function(e){this.contextMenu.delImageContextMenuItems(e)}},{key:"getCustomContextMenuItems",value:function(){return this.contextMenu.getCutomContextMenuItems()}},{key:"addCustomContextMenuItems",value:function(e){this.contextMenu.addCutomContextMenuItems(e)}},{key:"insertCustomContextMenuItem",value:function(e,t){this.contextMenu.insertCutomContextMenuItem(e,t)}},{key:"updateCustomContextMenuItem",value:function(e,t){this.contextMenu.updateCutomContextMenuItem(e,t)}},{key:"delCustomContextMenuItems",value:function(e){this.contextMenu.delCutomContextMenuItems(e)}},{key:"getOle",value:(t=r()(d.a.mark((function e(t){var i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=this.oleDownloadUrl+"?id="+t+"&uid="+this.uniqueid+"&sheet="+this.data.name,Ns.call(this,i);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getRect",value:function(){var e=this.data;return{width:e.viewWidth(),height:e.viewHeight()}}},{key:"getTableOffset",value:function(){var e=this.data,t=e.rows,i=e.cols,n=e.displayRight2Left,r=this.table.zoomlevel,a=this.data.settings.row.height,o=this.getRect(),s=o.width,l=o.height;return{width:(s-i.indexWidth)*r,height:(l-t.height)*r,left:n?0:i.indexWidth*r,top:a*r}}},{key:"setBgImage",value:function(e,t,i){this.el.css("background-image","url("+e+")");var n=this.data.cols.indexWidth+"px",r=this.data.settings.row.height+"px";this.el.css("background-position",n+" "+r),this.el.css("background-size",t+" "+i)}},{key:"clearBgImage",value:function(){this.el.cssRemoveKeys("background-image","background-size")}},{key:"scrollBgImge",value:function(e,t){var i=this.data.cols.indexWidth+e+"px",n=this.data.settings.row.height+t+"px";this.el.css("background-position",i+" "+n)}}]),e}();function Vs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Gs=function(e){me()(i,e);var t=Vs(i);function i(e){var n;c()(this,i);var r=new Ce("ellipsis");return(n=t.call(this,r,"auto",!1,"top-left")).contentClick=e,n.activeEl=null,n.mylist=[],n}return o()(i,[{key:"reset",value:function(e){var t=this;this.mylist=[];var i=e.map((function(e,i){var n=p("div","".concat(xe,"-item")).css("width","150px").css("font-weight","normal").on("click",(function(){t.contentClick(i),t.hide()}));return n.key=e,t.mylist.push(n),n.child(e)}));this.setContentChildren.apply(this,y()(i))}},{key:"toggleAct",value:function(e){var t=this.mylist.find((function(t){return t.key===e}));this.activeEl&&this.activeEl.toggle(),this.activeEl=t,this.activeEl.toggle()}},{key:"setTitle",value:function(){}}]),i}(Vi),Ks=function(e){me()(i,e);var t=Vs(i);function i(e){var n;c()(this,i);var r=new Ce("pagination");return(n=t.call(this,r,"100px",!1,"top-left")).contentEl.css("max-height","298px"),n.contentEl.css("overflow-y","auto"),n.contentClick=e,n}return o()(i,[{key:"reset",value:function(e){var t=this,i=e.map((function(e,i){return p("div","".concat(xe,"-item")).css("width","auto").css("font-weight","normal").on("click",(function(){t.contentClick(i),t.hide()})).child(e)}));this.setContentChildren.apply(this,y()(i))}}]),i}(Vi),Zs=[{key:"delete",title:ee("contextmenu.deleteSheet")}];function Js(e){var t=this;return p("div","".concat(xe,"-item")).child(e.title()).on("click",(function(){t.itemClick(e.key),t.hide()}))}function $s(){var e=this;return Zs.map((function(t){return Js.call(e,t)}))}var Qs=function(){function e(){var t;c()(this,e),this.el=(t=p("div","".concat(xe,"-contextmenu")).css("width","160px")).children.apply(t,y()($s.call(this))).hide(),this.itemClick=function(){}}return o()(e,[{key:"hide",value:function(){var e=this.el;e.hide(),je(e)}},{key:"setOffset",value:function(e){var t=this.el;t.offset(e),t.show(),He(t)}}]),e}(),el=function(){function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},s=arguments.length>5?arguments[5]:void 0;c()(this,e),this.settings=s,this.addFunc=i,this.swapFunc=n,this.updateFunc=a,this.scrollFunc=o,this.dataNames=[],this.activeEl=null,this.deleteEl=null,this.items=[],this.moreEl=new Gs((function(e){t.clickSwap2(t.items[e])})),this.paginationEl=new Ks((function(e){t.scrollFunc(e)})),this.contextMenu=new Qs,this.contextMenu.itemClick=r,this.el=p("div","".concat(xe,"-bottombar")).children(this.contextMenu.el,this.menuEl=this.setMenuEl())}return o()(e,[{key:"setMenuEl",value:function(){var e=this;return"edit"===this.settings.mode?p("ul","".concat(xe,"-menu")).child(p("li","").children(new Ce("add").on("click",(function(){e.dataNames.length<10?e.addFunc():Te("Warning","It is less than or equal to 10")})),p("span","").child(this.moreEl))):p("ul","".concat(xe,"-menu")).child(p("li","").children(p("span","").child(this.moreEl)))}},{key:"addItem",value:function(e,t,i,n){this.dataNames.push(e);var r=p("li",t?"active":"").child(e);r.key=e,void 0!==i&&(r.el.style.color=n,r.el.style.backgroundColor=i),this.setItemEvent(r),this.items.push(r),this.menuEl.child(r),this.moreEl.reset(this.dataNames),t&&this.clickSwap(r)}},{key:"addPagination",value:function(e){for(var t=[],i=1;i<=e;i++){var n=i+"";t.push(n)}this.paginationEl.reset(t)}},{key:"setItemEvent",value:function(e){var t=this;"edit"===this.settings.mode?e.on("click",(function(){t.clickSwap2(e)})).on("contextmenu",(function(i){var n=i.target,r=n.offsetLeft,a=n.offsetHeight;t.contextMenu.setOffset({left:r,bottom:a+1}),t.deleteEl=e})).on("dblclick",(function(){if(!(e.el.children.length>0)){var i=e.html(),n=new na("auto","",31);n.val(i),n.input.on("blur",(function(e){var r=e.target.value,a=t.dataNames.findIndex((function(e){return e===i}));t.renameItem(a,r,n)})),e.html("").child(n.el),n.focus()}})):e.on("click",(function(){t.clickSwap2(e)}))}},{key:"renameItem",value:function(e,t,i){if(this.dataNames[e]!==t&&0!==t.length)if(t.length>31)Te("Error","The max length of the sheet name is 31",(function(){i.focus()}));else if(this.dataNames.indexOf(t)>=0)Te("Error","Same worksheet name already exist",(function(){i.focus()}));else{for(var n=0;n<t.length;n++)switch(t[n]){case":":case"\\":case"/":case"?":case"*":case"[":case"]":return void Te("Error","Worksheet name could not contain any following characters : : \\ / ? * [ or ]",(function(){i.focus()}))}this.dataNames.splice(e,1,t),this.moreEl.reset(this.dataNames),this.items[e].html("").child(t),this.updateFunc(e,t)}else this.items[e].html("").child(t)}},{key:"clear",value:function(){var e=this;this.items.forEach((function(t){e.menuEl.removeChild(t.el)})),this.items=[],this.dataNames=[],this.moreEl.reset(this.dataNames)}},{key:"hide",value:function(){var e=this.el;e.hide(),je(e)}},{key:"deleteItem",value:function(){var e=this.activeEl,t=this.deleteEl;if(this.items.length>1){var i=this.items.findIndex((function(e){return e===t}));if(this.items.splice(i,1),this.dataNames.splice(i,1),this.menuEl.removeChild(t.el),this.moreEl.reset(this.dataNames),e===t){var n=l()(this.items,1)[0];return this.activeEl=n,this.activeEl.toggle(),[i,0]}return[i,-1]}return[-1]}},{key:"clickSwap2",value:function(e){Qa(e.el);var t=this.items.findIndex((function(t){return t===e}));this.clickSwap(e),this.activeEl.toggle(),this.swapFunc(t)}},{key:"clickSwap",value:function(e){if(null!==this.activeEl){this.activeEl.toggle();var t=this.activeEl.el.style.backgroundColor;t&&(this.activeEl.el.style.backgroundColor=(i=t.match(/[\d.]+/g)).length>=3?"rgb("+i[0]+","+i[1]+","+i[2]+")":"")}var i;this.activeEl=e;var n=e.el.style.backgroundColor;n&&(this.activeEl.el.style.backgroundColor=function(e,t){var i=e.match(/[\d.]+/g);if(i.length>=3)return"rgba("+i[0]+","+i[1]+","+i[2]+","+t+")"}(n,.1)),this.moreEl.toggleAct(e.key)}},{key:"setDirection",value:function(e){e?this.el.attr("dir","rtl"):this.el.removeAttr("dir")}}]),e}();i(36);function tl(e){var t=[],i=0;this.run=function(e){var n=this;this.startHandler(e,(function(){i--,e.timestm,e.isfinish,t.length>0&&n.run(t.shift())}))},this.startHandler=function(n,r){var a=this;n.isfinish?t.length>0&&this.run(t.shift()):0!==i?setTimeout((function(){return a.startHandler(n,r)}),300):(i++,n.timestm,n.isfinish,e(n,r))},this.append=function(e){t.push(e),t.length,e.timestm,1===t.length&&this.run(e)},this.isFinish=function(){return 0===t.length&&0===i}}var il=function e(t,i,n,r){c()(this,e),this.item=t,this.url=i,this.callback=n,this.callbackerror=r,this.isfinish=!1,this.timestm="["+(new Date).getTime()+"] "};function nl(e,t){var i=$.ajax({url:e.url,type:"post",dataType:"json",data:e.item});e.timestm,e.isfinish,i.done((function(i){e.timestm,e.callback&&(e.callback(i),e.isfinish=!0),t()})),i.fail((function(i,n,r){e.timestm,e.callbackerror&&(e.callbackerror(i,n,r),e.isfinish=!0),t()}))}function rl(e){e.scaleX=1,e.scaleY=1,e.originAngle=e.angle;var t=e.originAngle;t<0&&(t+=360),t>90&&t<180?t=180-t:t>=180&&t<270?t-=180:t>=270&&(t=360-t),t>=45&&(t=90-t);Math.sin(.017453293*t),Math.cos(.017453293*t);e.originWidth=e.width,e.originHeight=e.height,e.originLeft=e.left,e.originTop=e.top}function al(e){if(e.rg&&!Array.isArray(e.rg)){var t=e.rg.replaceAll("$",""),i=t.indexOf(":");if(i>0){var n=x(t.substr(0,i)),r=l()(n,2),a=r[0],o=r[1],s=t.substr(i+1);if(s.length>0){var h=x(s),c=l()(h,2),u=c[0],d=c[1];e.rg=[o,a,d,u]}else delete e.rg}else delete e.rg}}function ol(e,t){if(e.lc&&!Array.isArray(e.lc)){var i=e.lc,n=i.indexOf(":");n>0&&(i=i.substr(0,n));var r=x(i=i.replaceAll("$","")),a=l()(r,2),o=a[0],s=a[1];t.data.setLinkedShape(s,o,e.id),e.lc=[s,o]}al(e)}var sl=function(){function e(t){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c()(this,e);var r=t;this.options=n,n.local&&ie(n.local),this.sheetIndex=0,this.datas=[],this.uniqueid="",this.filename="",n.loadingGif?this.updating=n.loadingGif:this.updating="content/img/updating.gif",this.imageUrl=null,this.basicZorder=0,this.istestforimage=!1,this.buffer=new tl(nl),"string"==typeof t&&(r=document.querySelector(t)),window.mobileAndTabletCheck=function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},window.mobileEditOnCell=!1,Ye((function(e){var t=i.sheet;t.data,t.selector,t.canvas,t.editor,t.verticalScrollbar;window.keyboardShow=!1,window.issugestclick?window.issugestclick=!1:(i.sheet.preMousedown(),i.reRender(),window.mobileEditOnCell=!1)}),(function(e){window.keyboardShow=!0;var t=i.sheet,n=t.data;t.selector,t.editor,t.verticalScrollbar;window.mobileEditOnCell&&i.sheet.scrollToRow(n.selector.ri)})),this.bottombar=new el((function(){if(i.uniqueid.endsWith(".csv"))Te("Warning","CSV file does not support more than one worksheet");else if(i.uniqueid.endsWith(".tsv"))Te("Warning","TSV file does not support more than one worksheet");else{i.sheet.canvas.doNewSheetPage(i.sheet.data);var e=i.addSheet();e.showGrid=!0,i.sheet.resetData(e)}}),(function(e){var t=i.datas[e];t.scroll={ci:0,ri:0,riact:0,x:0,y:0,yact:0},i.sheet.canvas.doSwitchSheetPage(i.sheet.data),i.sheet.resetData(t,e),i.bottombar.setDirection(t.displayRight2Left),i.resetPagination(t),i.sheet.verticalScrollbar.move({top:0}),i.setZoomLevel(t.zoomlevel),i.sheet.data.autoFilter.filters.length>0&&(i.sheet.data.resetAutoFilter(),i.sheet.data.deleteExceptRowHideForAutoFilter()),i.sheet.trigger("sheet-selected",e,i.sheet.data.name)}),(function(){i.deleteSheet()}),(function(e,t){i.renameSheet(e,t)}),(function(e){var t=e*i.data.settings.row.len,n=i.data.rows.sumHeight(0,t);i.sheet.verticalScrollbar.move({top:n-1})}),this.options),this.isloading=!0,this.data=this.addSheet(),this.isloading=!1,this.resetPagination(this.data);var a=p("div","".concat(xe)).on("contextmenu",(function(e){return e.preventDefault()}));r.appendChild(a.el),this.sheet=new Ys(a,this.data),this.sheet.hyperlink.setActiveSheetBySheetName=function(e){i.setActiveSheetByName(e)},this.sheet.hyperlink.setActiveCell=function(e,t){i.setActiveCell(e,t)},this.sheet.addSheet=this.bottombar.addFunc,a.child(this.bottombar.el);var o=this;fabric.Image.fromURL(this.updating,(function(e){o.sheet.updatGif=e,e.name="updategifing"}))}return o()(e,[{key:"setUniqueId",value:function(e){this.uniqueid=e,this.sheet.uniqueid=e}},{key:"setFileDownloadInfo",value:function(e){this.sheet.fileDownloadUrl=e}},{key:"setOleDownloadInfo",value:function(e){this.sheet.oleDownloadUrl=e}},{key:"setFileName",value:function(e){this.filename=e,this.sheet.filename=e,this.sheet.menubar.setFileName(e)}},{key:"setZoomLevel",value:function(e){this.sheet.setzoom(e)}},{key:"setReloadUrl",value:function(e){this.sheet.setReloadUrl(e)}},{key:"setVisibleFilter",value:function(e){this.sheet.visibleFilter=e}},{key:"setFileDownloadCallFunction",value:function(e){this.sheet.fileDownloadCallFunc=e}},{key:"setImageInfo",value:function(e,t,i,n,r,a){if(this.imageUrl=e,this.sheet.imageUploadByLocalUrl=t,this.sheet.imageUploadByUrlUrl=i,this.sheet.imageCopyUrl=n,this.basicZorder=r,a){this.updating=a,this.sheet.updatGif=null;var o=this;fabric.Image.fromURL(a,(function(e){o.sheet.updatGif=e,e.name="updategifing"}))}return this}},{key:"setImageForTest",value:function(e,t){return this.imageUrl=e,this.basicZorder=t,this.istestforimage=!0,this}},{key:"setDisplayRight2Left",value:function(e){var t=this.sheet,i=this.bottombar,n=t.data;if(n.displayRight2Left!==e){n.displayRight2Left=e;var r=t.getTableOffset();t.overlayerCEl.offset(r),t.resetData(n),i.setDirection(e)}}},{key:"enableKeyEvent",value:function(e){this.sheet.enableKeyEvent=e}},{key:"destroy",value:function(){this.sheet.delWindowEvent()}},{key:"isLoaded",value:function(){return this.sheet.isLoaded()}},{key:"getUpdateDatas",value:function(){for(var e=[],t=0,i=this.datas.length;t<i;t++)if("Chart"!==this.datas[t].type){var n=this.datas[t].getDataForSave();null!=n&&e.push(n)}return e}},{key:"addSheet",value:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,o=e||"sheet".concat(this.sheetIndex),s=new De(o,this.options);return s.rows.setCellText(0,0,""),s.change=function(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];(e=t.sheet).trigger.apply(e,["change"].concat(n))},s.updateCellsData=function(e){var i=t.sheet.data,n=i.updateCellError,r=i.updateMyCells,a=t.uniqueid,o=t.imageUrl;if(e.Error)e.cell&&(r.call(t.sheet.data,[e.cell]),t.reRender()),e.cells&&(r.call(t.sheet.data,e.cells),t.reRender()),e.p&&(t.sheet.data.updateRevertOpr(e.p),t.reRender()),n(e.Error);else if("update"===e.op)e.data.forEach((function(e,i,n){for(var r=0,s=new Array;r<t.datas.length;r++)if(t.datas[r].name===e.name){t.datas[r].updateMyCells(e.cells),t.datas[r].updateShapes(e.shapes,s),t.datas[r].updateMyConditionImages(e.conditionimg);break}t.sheet.data.updateShapeSrcToRefresh(a,o,e.pickey,s)})),t.reRender();else if("sort"===e.op)e.rowids&&e.rowids.length>0&&(t.sheet.data.sortByRowIdArray(e.r,e.rowids),t.reRender());else if("updateTextBox"===e.op){for(var s=0;s<t.sheet.data.shapes.length;s++)if(t.sheet.data.shapes[s].strid===e.id){t.sheet.data.shapes[s].updateTextBox(e.html,e.rtxt);break}t.reRender()}else"vlist"===e.op&&(window.grid_vlist=e.ret)},s.updateServerError=function(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];(e=t.sheet).trigger.apply(e,["updateServerError"].concat(n))},s.updateCellError=function(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];(e=t.sheet).trigger.apply(e,["updateCellError"].concat(n))},s.updateCellServer=function(e){var i=t.sheet.data,n=i.settings,r=i.updateServerError,a=i.updateCellsData,o=t.uniqueid,s=t.buffer;if("server"===n.updateMode){var l={p:JSON.stringify(e),uid:o,folderName:n.folderName,fileName:n.fileName};s.append(new il(l,n.updateUrl,(function(e){a(e)}),(function(e,t,i){r(e,t,i)})))}},s.waitUntil=function(){var e=r()(d.a.mark((function e(t,i){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=setInterval((function(){t()&&(clearInterval(r),e())}),200);setTimeout((function(){clearInterval(r),n(new Error("get list from server,time out"))}),i)})));case 1:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}(),s.getGridList=function(){var e=r()(d.a.mark((function e(t){var i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.updateCellServer(t),console.log("get result list pre:"),e.next=4,s.waitUntil((function(){return null!=window.grid_vlist}),1e4);case 4:return i=window.grid_vlist,console.log("get result list after:"+i.length),delete window.grid_vlist,e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s.getListValue=function(){var e=r()(d.a.mark((function e(i){var n,r,a,o,l,h,c,u,f,v,g,p,m;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.sheet.data.selector,r=n.ri,a=n.ci,o=t.sheet.data,l={name:o.name,ri:r,ci:a,op:"vlist"},!(i.indexOf("(")>=0&&i.indexOf(":")<0)){e.next=10;break}return e.next=6,s.getGridList(l);case 6:return h=e.sent,e.abrupt("return",h);case 10:if(!(i.indexOf("!")>0)){e.next=22;break}if(c=i.split("!"),"'"===(u=c[0])[0]&&(u=u.substr(1,u.length-2)),o=t.getDataByName(u),i=c[1],o){e.next=22;break}return console.error("cannot find data with name "+c[0]),e.next=20,s.getGridList(l);case 20:return f=e.sent,e.abrupt("return",f);case 22:if(v=S.valueOf(i),g=[],v.sri===v.eri)for(p=v.sci;p<=v.eci;p++)g.push(o.getCellTextOrDefault(v.sri,p));else for(m=v.sri;m<=v.eri;m++)g.push(o.getCellTextOrDefault(m,v.sci));return e.abrupt("return",g);case 26:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s.menubarStatus=function(){return!t.sheet||"up"===t.sheet.toolbar.menuDisplay.state},s.loadImages=function(){var e=t.sheet.data,i=e.images,n=e.displayRight2Left,r=e.cols;if(!e.isImageOk){var a=n?t.sheet.data.viewWidth()-r.indexWidth:0,o=(t.uniqueid,t.imageUrl,t.basicZorder),s=t.sheet;t.updating;s.canvas.basicZorder=null!=o?o:s.canvas.basicZorder;var l=s.getTableOffset();null!=i&&i.forEach((function(e){if("del"!==e.op&&(!s.visibleFilter||s.visibleFilter(s,e))){var t=n?a-e.left-e.width:e.left;s.data.topOrder=s.data.topOrder<e.zorder?e.zorder:s.data.topOrder;var i=Ja(e,o,t,l,s.table.zoomlevel);e.src?s.canvas.setImage(s,e,i,e.src):s.canvas.setLoadingGif(s,e,i)}}))}},s.loadShapes=function(){var e=t.sheet.data,i=e.shapes,n=e.displayRight2Left,r=e.cols;if(!e.isImageOk){var a=n?t.sheet.data.viewWidth()-r.indexWidth:0,o=(t.uniqueid,t.imageUrl,t.basicZorder),s=t.sheet;t.updating,t.sheet.imageDiv;s.canvas.basicZorder=null!=o?o:s.canvas.basicZorder;var l=s.getTableOffset();null!=i&&i.forEach((function(e){if("del"!==e.op&&(!s.visibleFilter||s.visibleFilter(s,e))){var t=n?a-e.left-e.width:e.left;s.data.topOrder=s.data.topOrder<e.zorder?e.zorder:s.data.topOrder;var i=Ja(e,o,t,l,s.table.zoomlevel);ol(e,s),s.canvas.setupImageOrShapeByType(s,e,i)}}))}},s.fillImageSrc=function(){var e=t.uniqueid,i=t.imageUrl,n=(t.basicZorder,t.sheet),r=n.data,a=r.images,o=r.shapes,s=r.sheetid,l=r.isImageOk,h=r.bgimage,c=r.bgurl;if(l){if(c){var u=new Image;u.src=c,u.onload=function(){n.setBgImage(c,.9*u.width+"px",.9*u.height+"px")}}}else if(void 0!==s&&(null!=o&&o.length>0||null!=a&&a.length>0||void 0!==h)){var d=null!=a&&a.length>0?a.filter((function(e){return!n.visibleFilter||n.visibleFilter&&n.visibleFilter(n,e)})):[],f=null!=o&&o.length>0?o.filter((function(e){return!n.visibleFilter||n.visibleFilter&&n.visibleFilter(n,e)})):[],v=t.istestforimage?i+"/"+e+"."+s+"_batch.zip":i+"?uid="+e+"&id="+s+"_batch.zip";t.istestforimage?n.data.generatePicItems(d,f,v):$.get(v,(function(e){n.data.generatePicItems(d,f,e)}))}else n.data.isImageOk=!0},s.fillImageOnebyOne=function(e,i){var n=new XMLHttpRequest,r=t.sheet,a=r.data,o=r.canvas,s=(r.imageDiv,setInterval((function(){r.data.name===a.name?a.loadCount<=0&&(o.setInfoXY(),o.saveCanvasData(a),o.inFreeze&&o.fabric.getObjects().length>0&&o.inFreeze.loadFreezeImage(),a.isImageOk=!0,o.fabric.requestRenderAll(),clearInterval(s)):clearInterval(s)}),300));n.onreadystatechange=function(){if(4==n.readyState){var e=n.response,t=new Uint8Array(e);JSZip.loadAsync(t).then((function(e){if(r.data.name===a.name){if(a.bgimage)e.file(a.bgimage).async("blob").then((function(e){var t=URL.createObjectURL(e),i=new Image;i.src=t,a.bgurl=t,i.onload=function(){r.setBgImage(t,.9*i.width+"px",.9*i.height+"px")}}));i.forEach((function(t,i,n){e.file(t.name).async("blob").then((function(e){var i=URL.createObjectURL(e),n=o.fabric.getObjects().find((function(e){return e.id===t.id}));n&&"TextBox"!==n.imgType&&"CheckBox"!==n.imgType&&"RadioButton"!==n.imgType&&"ComboBox"!==n.imgType&&"Spinner"!==n.imgType&&"SpinButton"!==n.imgType?(n.setSrc(i,(function(e){a.loadCount--,t.it.loaded=!0,io(t.it,e),o.rotateObject(e,t.it.angle);var i="read"===a.settings.mode;"edit"!==a.settings.mode||"Chart"===a.type?eo(e,!1,i):eo(e,!0,i),e.cache=!0})),t.it.src=i):a.loadCount--}))}))}}))}},n.open("GET",e,!0),n.responseType="arraybuffer",n.send()},s.loadConditionImage=function(){var e=t.sheet.data.conditionimg,i=t.basicZorder,n=t.sheet.imageDiv;e&&e.forEach((function(e){if(e.data){var t=s.createConditionImage(e,i);e.data=void 0,e.image=t,n.append(t)}else n.append(e.image)}))},s.insertConditionImage=function(e){var i=t.sheet.data.conditionimg,n=t.basicZorder,r=t.sheet.imageDiv;if(i)if(e.data){var a=s.createConditionImage(e,n);e.data=void 0,e.image=a,r.append(a),i.push(e)}else r.append(e.image)},s.reloadImagesShapes=function(){var e=t.sheet.imageDiv,i=t;t.sheet.clearBgImage(),null!=e&&s.loadConditionImage();var n=setInterval((function(){i.sheet.updatGif&&(clearInterval(n),s.loadImages(),s.loadShapes(),s.fillImageSrc())}),1e3)},s.scrollImagesShapes=function(){var e=t.sheet,i=e.imageDiv,n=e.canvas,r=t.sheet.data,a=r.scroll,o=r.displayRight2Left,s=r.zoomlevel,l=r.bgimage;n.publishEvent("object:scroll",t.sheet.data),n.initFreeze();var h=o?a.x*s:-a.x*s,c=-a.y*s;null!=i&&(i.css("left",h+"px"),i.css("top",c+"px")),l&&t.sheet.scrollBgImge(h,c)},this.datas.push(s),this.bottombar.addItem(o,i,n,a),this.sheetIndex+=1,this.isloading||this.sheet.data.addSheetOpr(o),s}},{key:"resetPagination",value:function(e){var t=e.rows.len,i=e.settings.row.len,n=t%i==0?t/i:Math.ceil(t/i);this.bottombar.addPagination(n)}},{key:"deleteSheet",value:function(){var e=this.bottombar.deleteItem(),t=l()(e,2),i=t[0],n=t[1];if(i>=0){var r=this.datas[i].name;this.sheet.data.delSheetOpr(r),this.datas.splice(i,1),n>=0&&this.sheet.resetData(this.datas[n])}}},{key:"renameSheet",value:function(e,t){var i=this.datas[e].name;this.datas[e].name=t,this.sheet.data.renameSheetOpr(i,t)}},{key:"loadData",value:function(e){this.isloading=!0;var t=Array.isArray(e)?e:[e];if(this.bottombar.clear(),this.datas=[],t.length>0)for(var i=0;i<t.length;i+=1){var n,r,a=t[i],o=this.addSheet(a.name,0===i,a.tabcolor,a.fontcolor);if(void 0!==a.merges)for(var s=0,h=a.merges.length;s<h;s++){var c=a.merges[s].split(":"),u=x(c[0]),d=l()(u,2),f=d[0],v=d[1],g=x(c[1]),p=l()(g,2),m=p[0],y=p[1];a.rows[v]&&a.rows[v].cells[f]&&(a.rows[v].cells[f].merge=[y-v,m-f])}if(null===(n=a.images)||void 0===n||n.forEach((function(e){rl(e)})),null===(r=a.shapes)||void 0===r||r.forEach((function(e){rl(e)})),a.defaultFont&&!a.indentPx){var b=Object.assign({},a.defaultFont);b.size=Rt(b.size),a.indentPx=jt(b)}for(var w in o.setData(a),a.rowinfo)o.rows.setInfo(w,a.rowinfo[w]);if(delete a.rowinfo,"Chart"===a.type){o.showGrid=!1,o.sprotected=!0;var q=Math.ceil(o.shapes[0].height/o.rows.height),k=Math.ceil(o.shapes[0].width/o.cols.width);o.rows.len=q+1,o.cols.len=k+1}if(o.cols.maxwidth){var C=o.cols.sumWidth(0,o.cols.len);o.cols.maxwidth>C&&(o.cols.len+=Math.ceil((o.cols.maxwidth-C)/o.cols.width)+1)}}return this.isloading=!1,this}},{key:"getData",value:function(){return this.datas.map((function(e){return e.getData()}))}},{key:"getDataByName",value:function(e){return this.datas.find((function(t){return t.name===e}))}},{key:"cellText",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.datas[n].setCellText(e,t,i,"finished"),this}},{key:"setActiveCell",value:function(e,t){return this.sheet.setActiveCell(e,t),this}},{key:"setActiveSheet",value:function(e){return this.bottombar.clickSwap2(this.bottombar.items[e]),this}},{key:"getActiveSheet",value:function(){return this.bottombar.dataNames.indexOf(this.sheet.data.name)}},{key:"getActiveSheetName",value:function(){return this.sheet.data.name}},{key:"setActiveSheetByName",value:function(e){for(var t=0;t<this.bottombar.dataNames.length;t++)if(this.bottombar.dataNames[t]===e){this.bottombar.clickSwap2(this.bottombar.items[t]);break}return this}},{key:"cell",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.datas[i].getCell(e,t)}},{key:"cellStyle",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.datas[i].getCellStyle(e,t)}},{key:"reRender",value:function(){return this.sheet.table.render(),this.sheet.canvas.fabric.requestRenderAll(),this}},{key:"showHighlights",value:function(e){this.sheet.showHighlights(e)}},{key:"hideHighlights",value:function(){this.sheet.hideHighlights()}},{key:"clearHighlights",value:function(){this.sheet.clearHighlights()}},{key:"on",value:function(e,t){return this.sheet.on(e,t),this}},{key:"validate",value:function(){return this.data.validations.errors.size<=0}},{key:"change",value:function(e){return this.sheet.on("change",e),this}},{key:"updateServerError",value:function(e){return this.sheet.on("updateServerError",e),this}},{key:"updateCellError",value:function(e){return this.sheet.on("updateCellError",e),this}}],[{key:"locale",value:function(e,t){te(e,t)}}]),e}(),ll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new sl(e,t)};window&&(window.x_spreadsheet=ll,window.x_spreadsheet.locale=function(e,t){return te(e,t)});t.default=sl}])}));
12
+ t.read=function(e,t,i,n,r){var a,o,s=8*r-n-1,l=(1<<s)-1,h=l>>1,c=-7,u=i?r-1:0,d=i?-1:1,f=e[t+u];for(u+=d,a=f&(1<<-c)-1,f>>=-c,c+=s;c>0;a=256*a+e[t+u],u+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+u],u+=d,c-=8);if(0===a)a=1-h;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=h}return(f?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,i,n,r,a){var o,s,l,h=8*a-r-1,c=(1<<h)-1,u=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,v=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+u>=1?d/l:d*Math.pow(2,1-u))*l>=2&&(o++,l/=2),o+u>=c?(s=0,o=c):o+u>=1?(s=(t*l-1)*Math.pow(2,r),o+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),o=0));r>=8;e[i+f]=255&s,f+=v,s/=256,r-=8);for(o=o<<r|s,h+=r;h>0;e[i+f]=255&o,f+=v,o/=256,h-=8);e[i+f-v]|=128*g}},function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},function(e,t){},function(e,t){},function(e,t){},function(e,t,i){},function(e,t,i){"use strict";i.r(t),i.d(t,"spreadsheet",(function(){return ll})),i.d(t,"setItemRang",(function(){return al})),i.d(t,"setLinkedCell",(function(){return ol}));var n=i(12),r=i.n(n),a=i(2),o=i.n(a),s=i(5),l=i.n(s),h=i(0),c=i.n(h),u=i(10),d=i.n(u),f=i(14),v=i.n(f),g=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c()(this,e),"string"==typeof t?(this.el=document.createElement(t),this.el.className=i):this.el=t,this.data={}}return o()(e,[{key:"data",value:function(e,t){return void 0!==t?(this.data[e]=t,this):this.data[e]}},{key:"on",value:function(e,t){var i=e.split("."),n=v()(i),r=n[0],a=n.slice(1),o=r;return"mousewheel"===o&&/Firefox/i.test(window.navigator.userAgent)&&(o="DOMMouseScroll"),this.el.addEventListener(o,(function(e){t(e);for(var i=0;i<a.length;i+=1){var n=a[i];if("left"===n&&0!==e.button)return;if("right"===n&&2!==e.button)return;"stop"===n&&e.stopPropagation()}})),this}},{key:"offset",value:function(e){var t=this;if(void 0!==e)return Object.keys(e).forEach((function(i){t.css(i,"".concat(e[i],"px"))})),this;var i=this.el;return{top:i.offsetTop,left:i.offsetLeft,height:i.offsetHeight,width:i.offsetWidth}}},{key:"scroll",value:function(e){var t=this.el;return void 0!==e&&(void 0!==e.left&&(t.scrollLeft=e.left),void 0!==e.top&&(t.scrollTop=e.top)),{left:t.scrollLeft,top:t.scrollTop}}},{key:"box",value:function(){return this.el.getBoundingClientRect()}},{key:"parent",value:function(){return new e(this.el.parentNode)}},{key:"children",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return 0===arguments.length?this.el.childNodes:(i.forEach((function(t){return e.child(t)})),this)}},{key:"removeChild",value:function(e){this.el.removeChild(e)}},{key:"empty",value:function(){this.el.innerHTML=""}},{key:"setId",value:function(e){return this.el.id=e,this}},{key:"child",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t;return"string"==typeof t?n=document.createTextNode(t):t instanceof e&&(n=t.el),i?this.el.prepend(n):this.el.appendChild(n),this}},{key:"append",value:function(e){this.el.appendChild(e)}},{key:"contains",value:function(e){return this.el.contains(e)}},{key:"className",value:function(e){return void 0!==e?(this.el.className=e,this):this.el.className}},{key:"addClass",value:function(e){return this.el.classList.add(e),this}},{key:"hasClass",value:function(e){return this.el.classList.contains(e)}},{key:"removeClass",value:function(e){return this.el&&this.el.classList.remove(e),this}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"active";return this.toggleClass(e)}},{key:"toggleClass",value:function(e){return this.el.classList.toggle(e)}},{key:"active",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"active";return e?this.addClass(t):this.removeClass(t),this}},{key:"checked",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.active(e,"checked"),this}},{key:"disabled",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.addClass("disabled"):this.removeClass("disabled"),this}},{key:"attr",value:function(e,t){var i=this;if(void 0!==t)this.el.setAttribute(e,t);else{if("string"==typeof e)return this.el.getAttribute(e);Object.keys(e).forEach((function(t){i.el.setAttribute(t,e[t])}))}return this}},{key:"removeAttr",value:function(e){return this.el.removeAttribute(e),this}},{key:"sanitizeHTML",value:function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}},{key:"html",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return void 0!==e?(this.el.innerHTML=t?i?this.sanitizeHTML(e).replace(/\n/g,"<br>"):this.sanitizeHTML(e):e,this):this.el.innerHTML}},{key:"val",value:function(e){return void 0!==e?(this.el.value=e,this):this.el.value}},{key:"focus",value:function(){this.el.focus()}},{key:"cssRemoveKeys",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return i.forEach((function(t){return e.el.style.removeProperty(t)})),this}},{key:"css",value:function(e,t){var i=this;return void 0===t&&"string"!=typeof e?(Object.keys(e).forEach((function(t){i.el.style[t]=e[t]})),this):void 0!==t?(this.el.style[e]=t,this):this.el.style[e]}},{key:"computedStyle",value:function(){return window.getComputedStyle(this.el,null)}},{key:"show",value:function(){return this.css("display","block"),this}},{key:"hide",value:function(){return this.css("display","none"),this}}]),e}(),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return new g(e,t)},m=i(7),y=i.n(m),b=(i(21),["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]);function w(e){for(var t="",i=e;i>=b.length;)i/=b.length,i-=1,t+=b[parseInt(i,10)%b.length];return t+=b[e%b.length]}function q(e){for(var t=0,i=0;i<e.length-1;i+=1){var n=e.charCodeAt(i)-65,r=e.length-1-i;t+=Math.pow(b.length,r)+b.length*n}return t+=e.charCodeAt(e.length-1)-65}function x(e){for(var t="",i="",n=0;n<e.length;n+=1)e.charAt(n)>="0"&&e.charAt(n)<="9"?i+=e.charAt(n):t+=e.charAt(n);return[q(t),parseInt(i,10)-1]}function k(e,t){return"".concat(w(e)).concat(t+1)}function C(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0};if(0===t&&0===i)return e;var r=x(e),a=l()(r,2),o=a[0],s=a[1];return n(o,s)?k(o+t,s+i):e}var S=function(){function e(t,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;c()(this,e),this.sri=t,this.sci=i,this.eri=n,this.eci=r,this.w=a,this.h=o}return o()(e,[{key:"set",value:function(e,t,i,n){this.sri=e,this.sci=t,this.eri=i,this.eci=n}},{key:"setToOther",value:function(e){this.sri=e.sri,this.sci=e.sci,this.eri=e.eri,this.eci=e.eci}},{key:"multiple",value:function(){return this.eri-this.sri>0||this.eci-this.sci>0}},{key:"includes",value:function(){for(var e=0,t=0,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];if(1===n.length){var a=x(n[0]),o=l()(a,2);t=o[0],e=o[1]}else 2===n.length&&(e=n[0],t=n[1]);var s=this.sri,h=this.sci,c=this.eri,u=this.eci;return s<=e&&e<=c&&h<=t&&t<=u}},{key:"each",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},i=this.sri,n=this.sci,r=this.eri,a=this.eci,o=i;o<=r;o+=1)if(t(o))for(var s=n;s<=a;s+=1)e(o,s)}},{key:"emptyFirst",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0},n=this.sri,r=this.sci,a=this.eri,o=this.eci,s=n;s<=a;s+=1)if(t(s)){for(var l=[],h=[],c=r;c<=o;c+=1)if(i(s,c)){if(l.push(c),c===r){for(var u=c-1;u>=0&&i(s,u);)u--;u>=0&&e(s,u)}}else h.push(c);for(var d=0;d<l.length;d++)e(s,l[d]);for(var f=0;f<h.length;f++)e(s,h[f])}}},{key:"contains",value:function(e){return this.sri<=e.sri&&this.sci<=e.sci&&this.eri>=e.eri&&this.eci>=e.eci}},{key:"within",value:function(e){return this.sri>=e.sri&&this.sci>=e.sci&&this.eri<=e.eri&&this.eci<=e.eci}},{key:"disjoint",value:function(e){return this.sri>e.eri||this.sci>e.eci||e.sri>this.eri||e.sci>this.eci}},{key:"intersects",value:function(e){return this.sri<=e.eri&&this.sci<=e.eci&&e.sri<=this.eri&&e.sci<=this.eci}},{key:"union",value:function(t){var i=this.sri,n=this.sci,r=this.eri,a=this.eci;return new e(t.sri<i?t.sri:i,t.sci<n?t.sci:n,t.eri>r?t.eri:r,t.eci>a?t.eci:a)}},{key:"extendRange",value:function(t){var i=this.sri,n=this.sci,r=this.eri,a=this.eci,o=t.eri-t.sri+1,s=t.eci-t.sci+1,l=r-i+1,h=a-n+1;return new e(i,n,i+(l<o?o:l-l%o)-1,n+(h<s?s:h-h%s)-1)}},{key:"difference",value:function(t){var i=[],n=function(t,n,r,a){i.push(new e(t,n,r,a))},r=this.sri,a=this.sci,o=this.eri,s=this.eci,l=t.sri-r,h=t.sci-a,c=o-t.eri,u=s-t.eci;return this.intersects(t)?l>0?(n(r,a,t.sri-1,s),c>0?(n(t.eri+1,a,o,s),h>0?(n(t.sri,a,t.eri,t.sci-1),u>0&&n(t.sri,t.eci+1,t.eri,s)):u>0&&n(t.sri,t.eci+1,t.eri,s)):h>0?(n(t.sri,a,o,t.sci-1),u>0&&n(t.sri,t.eci+1,o,s)):u>0&&n(t.sri,t.eci+1,o,s)):c>0?(n(t.eri+1,a,o,s),h>0?(n(r,a,t.eri,t.sci-1),u>0&&n(r,t.eci+1,t.eri,s)):u>0&&n(r,t.eci+1,t.eri,s)):h>0?(n(r,a,o,t.sci-1),u>0&&n(r,t.eci+1,o,s)):u>0&&n(r,t.eci+1,o,s):n(r,a,o,s),i}},{key:"size",value:function(){return[this.eri-this.sri+1,this.eci-this.sci+1]}},{key:"toString",value:function(){var e=this.sri,t=this.sci,i=this.eri,n=this.eci,r=k(t,e);return this.multiple()&&(r="".concat(r,":").concat(k(n,i))),r}},{key:"clone",value:function(){return new e(this.sri,this.sci,this.eri,this.eci,this.w,this.h)}},{key:"equals",value:function(e){return this.eri===e.eri&&this.eci===e.eci&&this.sri===e.sri&&this.sci===e.sci}}],[{key:"valueOf",value:function(t){var i=t.split(":"),n=x(i[0]),r=l()(n,2),a=r[0],o=r[1],s=o,h=a;if(i.length>1){var c=x(i[1]),u=l()(c,2);h=u[0],s=u[1]}return new e(o,a,s,h)}}]),e}(),T=S,_=function(){function e(){c()(this,e),this.range=new S(0,0,0,0),this.ri=0,this.ci=0}return o()(e,[{key:"multiple",value:function(){return this.range.multiple()}},{key:"setIndexes",value:function(e,t){this.ri=e,this.ci=t}},{key:"size",value:function(){return this.range.size()}}]),e}(),O=function e(){c()(this,e),this.x=0,this.y=0,this.ri=0,this.ci=0,this.riact=0},R=function(){function e(){c()(this,e),this.undoItems=[],this.redoItems=[]}return o()(e,[{key:"add",value:function(e){this.undoItems.push(JSON.stringify(e)),this.redoItems=[]}},{key:"canUndo",value:function(){return this.undoItems.length>0}},{key:"canRedo",value:function(){return this.redoItems.length>0}},{key:"undo",value:function(e,t){var i=this.undoItems,n=this.redoItems;if(this.canUndo()){var r=JSON.parse(i.pop());n.push(JSON.stringify(e(r))),t(r)}}},{key:"redo",value:function(e,t){var i=this.undoItems,n=this.redoItems;if(this.canRedo()){var r=JSON.parse(n.pop());i.push(JSON.stringify(e(r))),t(r)}}}]),e}(),E=function(){function e(){c()(this,e),this.range=null,this.state="clear",this.textdata=null}return o()(e,[{key:"copy",value:function(e,t){this.range=e,this.state="copy";for(var i=e.sri,n=e.sci,r=e.eri,a=e.eci,o="",s=i;s<=r;s+=1){if(t._[s])for(var l=n;l<=a;l+=1){if(t._[s].cells&&t._[s].cells[l]){var h=t._[s].cells[l].text;h&&(h.indexOf("\n")>=0&&(h='"'+h+'"'),o+=h)}o+="\t"}o+="\n"}return this.setData(o),this}},{key:"cut",value:function(e){return this.range=e,this.state="cut",this}},{key:"isCopy",value:function(){return"copy"===this.state}},{key:"isCut",value:function(){return"cut"===this.state}},{key:"isClear",value:function(){return"clear"===this.state}},{key:"clear",value:function(){this.range=null,this.state="clear"}},{key:"setData",value:function(e){this.textdata=e,this.copyTextToClipboard(e)}},{key:"fallbackCopyTextToClipboard",value:function(e){var t=document.createElement("textarea");t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(t)}},{key:"copyTextToClipboard",value:function(e){navigator.clipboard?navigator.clipboard.writeText(e).then((function(){}),(function(e){})):this.fallbackCopyTextToClipboard(e)}}]),e}(),A=function(){function e(t,i,n){c()(this,e),this.ci=t,this.operator=i,this.value=n}return o()(e,[{key:"set",value:function(e,t){this.operator=e,this.value=t}},{key:"includes",value:function(e,t){var i=this.operator;this.value;return"all"===i||"in"===i&&this.checkFilter(e,t)}},{key:"checkFilter",value:function(e,t){for(var i=this.value,n=0;n<i.length;n+=1){var r=i[n];if(r.startsWith("date:")){if(r=r.substr(5),t&&t.startsWith(r))return!0}else if(r===e)return!0}return!1}},{key:"vlength",value:function(){var e=this.operator,t=this.value;return"in"===e?t.length:0}},{key:"getData",value:function(){return{ci:this.ci,operator:this.operator,value:this.value}}}]),e}(),M=function(){function e(t,i){c()(this,e),this.ci=t,this.order=i}return o()(e,[{key:"asc",value:function(){return"asc"===this.order}},{key:"desc",value:function(){return"desc"===this.order}}]),e}(),I=function(){function e(){c()(this,e),this.ref=null,this.filters=[],this.sort=null}return o()(e,[{key:"setData",value:function(e){var t=e.ref,i=e.filters,n=e.sort;null!=t&&(this.ref=t,this.filters=i.map((function(e){return new A(e.ci,e.operator,e.value)})),n&&(this.sort=new M(n.ci,n.order)))}},{key:"getData",value:function(){if(this.active()){var e=this.ref,t=this.filters,i=this.sort;return{ref:e,filters:t.map((function(e){return e.getData()})),sort:i}}return{}}},{key:"addFilter",value:function(e,t,i){var n=this.getFilter(e);null==n?this.filters.push(new A(e,t,i)):n.set(t,i)}},{key:"setSort",value:function(e,t){this.sort=t?new M(e,t):null}},{key:"includes",value:function(e,t){return!!this.active()&&this.hrange().includes(e,t)}},{key:"getSort",value:function(e){var t=this.sort;return t&&t.ci===e?t:null}},{key:"getFilter",value:function(e){for(var t=this.filters,i=0;i<t.length;i+=1)if(t[i].ci===e)return t[i];return null}},{key:"filteredRows",value:function(e){var t=new Set,i=new Set;if(this.active())for(var n=this.range(),r=n.sri,a=n.eri,o=this.filters,s=r+1;s<=a;s+=1)for(var l=0;l<o.length;l+=1){var h=o[l],c=e(s,h.ci),u=c&&0!=c.text.trim().length?c.text:"",d=c?c.dt:void 0;if(!h.includes(u,d)){t.add(s);break}i.add(s)}return{rset:t,fset:i}}},{key:"items",value:function(e,t){var i={};if(this.active())for(var n=this.range(),r=n.sri,a=n.eri,o=r+1;o<=a;o+=1){var s=t(o,e);if(null===s||/^\s*$/.test(s.text))i[""]?i[""].cnt++:(i[""]={},i[""].cnt=1);else{var l=s.dt?"date:"+s.dt.substr(0,4):s.text;i[l]?i[l].cnt++:(i[l]={},i[l].cnt=1)}}return this.mergeWithExistFilterValue(i,e,t),i}},{key:"getKeyCountForDateTime",value:function(e,t,i){for(var n=0,r=this.range(),a=r.sri,o=r.eri,s=a+1;s<=o;s+=1){var l=i(s,t);l&&l.dt&&l.dt.startsWith(e)&&n++}return n}},{key:"mergeWithExistFilterValue",value:function(e,t,i){var n=this.getFilter(t);if(n)for(var r=0;r<n.value.length;r+=1){var a=n.value[r];a.startsWith("date:")&&!e[a]&&(e[a]={},e[a].cnt=this.getKeyCountForDateTime(a.substr(0,4),t,i))}}},{key:"range",value:function(){return S.valueOf(this.ref)}},{key:"hrange",value:function(){var e=this.range();return e.eri=e.sri,e}},{key:"clear",value:function(){this.ref=null,this.filters=[],this.sort=null}},{key:"active",value:function(){return null!==this.ref}}]),e}(),B=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c()(this,e),this._=t}return o()(e,[{key:"forEach",value:function(e){this._.forEach(e)}},{key:"deleteWithin",value:function(e){this._=this._.filter((function(t){return!t.within(e)}))}},{key:"getFirstIncludes",value:function(e,t){for(var i=0;i<this._.length;i+=1){var n=this._[i];if(n.includes(e,t))return n}return null}},{key:"filterIntersects",value:function(t){return new e(this._.filter((function(e){return e.intersects(t)})))}},{key:"intersects",value:function(e){for(var t=0;t<this._.length;t+=1){if(this._[t].intersects(e))return!0}return!1}},{key:"equals",value:function(e){for(var t=0;t<this._.length;t+=1){if(this._[t].equals(e))return!0}return!1}},{key:"union",value:function(e){var t=e;return this._.forEach((function(e){e.intersects(t)&&(t=e.union(t))})),t}},{key:"add",value:function(e){this.deleteWithin(e),this._.push(e)}},{key:"shift",value:function(e,t,i,n){this._.forEach((function(r){var a=r.sri,o=r.sci,s=r.eri,l=r.eci,h=r;"row"===e?a>=t?(h.sri+=i,h.eri+=i):a<t&&t<=s&&(h.eri+=i,n(a,o,i,0)):"column"===e&&(o>=t?(h.sci+=i,h.eci+=i):o<t&&t<=l&&(h.eci+=i,n(a,o,0,i)))}))}},{key:"move",value:function(e,t,i){this._.forEach((function(n){var r=n;r.within(e)&&(r.eri+=t,r.sri+=t,r.sci+=i,r.eci+=i)}))}},{key:"setData",value:function(e){return this._=e.map((function(e){return S.valueOf(e)})),this}},{key:"getData",value:function(){return this._.map((function(e){return e.toString()}))}},{key:"getDataForSave",value:function(){return this._.filter((function(e){return e.multiple()}))}}]),e}();var D=function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return n.forEach((function(i){Object.keys(i).forEach((function(n){var r=i[n];"string"==typeof r||"number"==typeof r||"boolean"==typeof r?t[n]=r:"function"!=typeof r&&!Array.isArray(r)&&r instanceof Object?(t[n]=t[n]||{},e(t[n],r)):t[n]=r}))})),t};function z(e){for(var t="".concat(e),i=0,n=!1,r=0;r<t.length;r+=1)!0===n&&(i+=1),"."===t.charAt(r)&&(n=!0);return i}function P(e,t,i){if(Number.isNaN(t)||Number.isNaN(i))return t+e+i;var n=z(t),r=z(i),a=Number(t),o=Number(i),s=0;return"-"===e?s=a-o:"+"===e?s=a+o:"*"===e?s=a*o:"/"===e&&(s=a/o),s.toFixed(Math.max(n,r))}var F,L,j={cloneDeep:function(e){return JSON.parse(JSON.stringify(e))},merge:function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return D.apply(void 0,[{}].concat(t))},equals:function e(t,i){var n=Object.keys(t);if(n.length!==Object.keys(i).length)return!1;for(var r=0;r<n.length;r+=1){var a=n[r],o=t[a],s=i[a];if(void 0===s)return!1;if("string"==typeof o||"number"==typeof o||"boolean"==typeof o){if(o!==s)return!1}else if(Array.isArray(o)){if(o.length!==s.length)return!1;for(var l=0;l<o.length;l+=1)if(!e(o[l],s[l]))return!1}else if("function"!=typeof o&&!Array.isArray(o)&&o instanceof Object&&!e(o,s))return!1}return!0},arrayEquals:function(e,t){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i+=1)if(e[i]!==t[i])return!1;return!0},sum:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},i=0,n=0;return Object.keys(e).forEach((function(r){i+=t(e[r],r),n+=1})),[i,n]},rangeEach:function(e,t,i){for(var n=e;n<t;n+=1)i(n)},rangeSum:function(e,t,i){for(var n=0,r=e;r<t;r+=1)n+=i(r);return n},rangeReduceIf:function(e,t,i,n,r,a){for(var o=i,s=n,l=e;l<t&&!(o>=r);l+=1)o+=s=a(l);return[l,o-s,s]},deleteProperty:function(e,t){var i=e["".concat(t)];return delete e["".concat(t)],i},numberCalc:P},H=function(){function e(t){var i=t.len,n=t.height;c()(this,e),this._={},this.len=i,this.height=n}return o()(e,[{key:"getHeight",value:function(e,t){if(this.isHide(e))return 0;if(t&&t.has(e))return 0;var i=this.get(e);return i&&i.height?i.height:this.height}},{key:"setHeight",value:function(e,t,i){this.getOrNew(e).height=t,i&&i(e)}},{key:"setBatchHeight",value:function(e,t){var i=this;Object.keys(this._).forEach((function(n){i._[n].height=e,t&&t(n)}))}},{key:"setRangeHeight",value:function(e,t,i,n){var r=this;Object.keys(this._).forEach((function(a){a>=e&&a<=t&&(r._[a].height=i,n&&n(a))}))}},{key:"setInfo",value:function(e,t){var i=this.getOrNew(e);i.height=t.h,t.hide&&(i.hide=!0)}},{key:"unhide",value:function(e){for(var t=e;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}},{key:"isHide",value:function(e){var t=this.get(e);return t&&t.hide}},{key:"setHide",value:function(e,t){var i=this.getOrNew(e);!0===t?i.hide=!0:delete i.hide}},{key:"setStyle",value:function(e,t){this.getOrNew(e).style=t}},{key:"sumHeight",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set;return j.rangeSum(e,t,(function(e){return n&&n.has(e)?0:i.getHeight(e)}))}},{key:"totalHeight",value:function(){return this.sumHeight(0,this.len)}},{key:"get",value:function(e){return this._[e]}},{key:"getOrNew",value:function(e){return this._[e]=this._[e]||{cells:{}},this._[e]}},{key:"getCell",value:function(e,t){var i=this.get(e);return void 0!==i&&void 0!==i.cells&&void 0!==i.cells[t]?i.cells[t]:null}},{key:"getCellMerge",value:function(e,t){var i=this.getCell(e,t);return i&&i.merge?i.merge:[0,0]}},{key:"getCellOrNew",value:function(e,t){var i=this.getOrNew(e);return i.cells[t]=i.cells[t]||{},i.cells[t]}},{key:"setCell",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"all",r=this.getOrNew(e);"all"===n?r.cells[t]=i:"text"===n?(r.cells[t]=r.cells[t]||{},r.cells[t].text=i.text):"format"===n&&(r.cells[t]=r.cells[t]||{},r.cells[t].style=i.style,i.merge&&(r.cells[t].merge=i.merge))}},{key:"setCellTextBasicAct",value:function(e,t,i,n){e.text=t,n?e.f=n:delete e.f,i?e.ufv=i:delete e.ufv,e.html&&t.startsWith("<font style=")&&t.endsWith("</font>")&&(e.html=t)}},{key:"setCellText",value:function(e,t,i,n,r){var a=this.getCellOrNew(e,t);this.setCellTextBasicAct(a,i,n,r)}},{key:"setCellTextAndGetRet",value:function(e){var t=this.getCellOrNew(e.ri,e.ci);return this.setCellTextBasicAct(t,e.text,e.ufv,e.f),t.rtxt=e.rtxt,t.html=e.html,delete t.bigfontsize,t}},{key:"updateOneCell",value:function(e){return this.setCellTextAndGetRet(e)}},{key:"copyPaste",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},a=e.sri,o=e.sci,s=e.eri,h=e.eci,c=new Array,u=new Array,d=t.sri>=0?t.sri:0,f=t.sci>=0?t.sci:0,v=t.eri,g=t.eci,p=e.size(),m=l()(p,2),y=m[0],b=m[1],w=t.size(),q=l()(w,2),x=q[0],k=q[1],S=!0,T=0;(v<a||g<o)&&(S=!1,T=v<a?x:k);for(var _=a;_<=s;_+=1)for(var O=o;O<=h;O+=1)for(var R=d;R<=v;R+=y)for(var E=f;E<=g;E+=b){var A=R+(_-a),M=E+(O-o);if(A!==_||M!==O){var I=this._[_]&&this._[_].cells&&this._[_].cells[O],B=I?j.cloneDeep(this._[_].cells[O]):{};if(A!==_||M!==O){n&&B&&B.text&&B.text.length>0&&function(){var e=B.text,t=E-f+(R-d)+2;if(S||(t-=T+1),"="===e[0])B.text=e.replace(/\w{1,3}\d/g,(function(e){var i=0,n=0;return a===d?i=t-1:n=t-1,/^\d+$/.test(e)?e:C(e,i,n)}));else if(y<=1&&b>1&&(d>s||v<a)||b<=1&&y>1&&(f>h||g<o)||y<=1&&b<=1){var i=/[\\.\d]+$/.exec(e);if(null!==i){var n=Number(i[0])+t-1;B.text=e.substring(0,i.index)+n}}}();var D={ri:A,ci:M,text:B.f?B.f:B.text},z={ri:A,ci:M,ncell:B};n&&(B.f||B.ufv)||c.push(D),u.push(z)}}}for(var P=0;P<u.length;P++)this.setCell(u[P].ri,u[P].ci,u[P].ncell,i),r(u[P].ri,u[P].ci,u[P].ncell);return c}},{key:"cutPaste",value:function(e,t){var i=this,n={};this.each((function(r){i.eachCells(r,(function(a){var o=parseInt(r,10),s=parseInt(a,10);e.includes(r,a)&&(o=t.sri+(o-e.sri),s=t.sci+(s-e.sci)),n[o]=n[o]||{cells:{}},n[o].cells[s]=i._[r].cells[a],n[o].height=i._[r].height}))})),this._=n}},{key:"paste",value:function(e,t){var i=this,n=new Array;if(!(e.length<=0)){var r=t.sri,a=t.sci;return e.forEach((function(e,t){var o=r+t;e.forEach((function(e,t){var r=a+t;if(r<=1e3){i.setCellText(o,r,e);var s={ri:o,ci:r,text:e};n.push(s)}}))})),n}}},{key:"insert",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n={};this.each((function(r,a){var o=parseInt(r,10);o>=e&&(o+=i,t.eachCells(r,(function(t,n){n.text&&"="===n.text[0]&&(n.text=n.text.replace(/\w{1,3}\d/g,(function(t){return C(t,0,i,(function(t,i){return i>=e}))})))}))),n[o]=a})),this._=n,this.len+=i,e>=1&&this.copyrow(e-1,i)}},{key:"copyrow",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.copyCellStyle,r=this._[e];if(void 0!==r)for(var a=function(i){var a=t.getOrNew(e+i);a.height=r.height,t.eachCells(e,(function(e,t){a.cells[e]={},n(a.cells[e],t)}))},o=1;o<=i;o++)a(o)}},{key:"copyCellStyle",value:function(e,t){e.style=t.style,t.isautoalign&&(e.isautoalign=t.isautoalign)}},{key:"delete",value:function(e,t){var i=this,n=t-e+1,r={};this.each((function(a,o){var s=parseInt(a,10);s<e?r[s]=o:a>t&&(r[s-n]=o,i.eachCells(a,(function(e,i){i.text&&"="===i.text[0]&&(i.text=i.text.replace(/\w{1,3}\d/g,(function(e){return C(e,0,-n,(function(e,i){return i>t}))})))})))})),this._=r,this.len-=n}},{key:"insertColumn",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.copyCellStyle;this.each((function(r,a){var o={};if(t.eachCells(r,(function(t,n){var r=parseInt(t,10);r>=e&&(r+=i,n.text&&"="===n.text[0]&&(n.text=n.text.replace(/\w{1,3}\d/g,(function(t){return C(t,i,0,(function(t){return t>=e}))})))),o[r]=n})),e>=1)for(var s=1;s<=i;s++)void 0!==o[e-1]&&(o[e-1+s]={},n(o[e-1+s],o[e-1]));a.cells=o}))}},{key:"deleteColumn",value:function(e,t){var i=this,n=t-e+1;this.each((function(r,a){var o={};i.eachCells(r,(function(i,r){var a=parseInt(i,10);a<e?o[a]=r:a>t&&(o[a-n]=r,r.text&&"="===r.text[0]&&(r.text=r.text.replace(/\w{1,3}\d/g,(function(e){return C(e,-n,0,(function(e){return e>t}))}))))})),a.cells=o}))}},{key:"deleteCells",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";e.each((function(e,n){t.deleteCell(e,n,i)}))}},{key:"deleteCell",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",n=this.get(e);if(null!==n){var r=this.getCell(e,t);null!==r&&("all"===i?delete n.cells[t]:"text"===i?(r.text&&delete r.text,r.value&&delete r.value):"format"===i?(void 0!==r.style&&delete r.style,r.merge&&delete r.merge):"merge"===i&&r.merge&&delete r.merge)}}},{key:"each",value:function(e){Object.entries(this._).forEach((function(t){var i=l()(t,2),n=i[0],r=i[1];e(n,r)}))}},{key:"eachCells",value:function(e,t){this._[e]&&this._[e].cells&&Object.entries(this._[e].cells).forEach((function(e){var i=l()(e,2),n=i[0],r=i[1];t(n,r)}))}},{key:"setData",value:function(e){e.len&&(this.len=e.len,delete e.len),void 0!==e.height&&(this.height=e.height,delete e.height),this._=e}},{key:"setRangeData",value:function(e,t){for(var i=t.sri;i<=t.eri;i++)void 0!==e[i]&&(this._[i]=e[i]),null===e[i]&&delete this._[i]}},{key:"getData",value:function(){var e=this.len,t=this.height;return Object.assign({len:e,height:t},this._)}},{key:"getRangeData",value:function(e){for(var t={},i=e.sri;i<=e.eri;i++)void 0!==this._[i]?t[i]=this._[i]:t[i]=null;return t}},{key:"getDataForRowsSet",value:function(e){var t=this,i=this.len,n=this.height,r={};return r.height=n,r.len=i,e.forEach((function(e){void 0!==t._[e]&&(r[e]=t._[e])})),r}},{key:"getHeightForSave",value:function(e){var t=this,i={};return e.forEach((function(e){void 0!==t._[e]&&(i[e]=t.getHeight(e))})),i}}]),e}(),N=function(){function e(t){var i=t.len,n=t.width,r=t.indexWidth,a=t.minWidth;c()(this,e),this._={},this.len=i,this.width=n,this.indexWidth=r,this.minWidth=a}return o()(e,[{key:"setData",value:function(e){e.len&&(this.len=e.len,delete e.len),e.maxwidth&&(this.maxwidth=e.maxwidth,delete e.maxwidth),this._=e}},{key:"getData",value:function(){var e=this.len;return Object.assign({len:e},this._)}},{key:"getDataForSave",value:function(e){var t=this,i={};return e.forEach((function(e){void 0!==t._[e]&&(i[e]=t._[e])})),i}},{key:"getWidth",value:function(e){if(this.isHide(e))return 0;var t=this._[e];return t&&t.width?t.width:this.width}},{key:"getOrNew",value:function(e){return this._[e]=this._[e]||{},this._[e]}},{key:"setWidth",value:function(e,t,i){this.getOrNew(e).width=t,i&&i(e)}},{key:"setBatchWidth",value:function(e,t){var i=this;Object.keys(this._).forEach((function(n){i._[n].width=e,t&&t(n)}))}},{key:"setRangeWidth",value:function(e,t,i,n){var r=this;Object.keys(this._).forEach((function(a){a>=e&&a<=t&&(r._[a].width=i,n&&n(a))}))}},{key:"unhide",value:function(e){for(var t=e;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}},{key:"isHide",value:function(e){var t=this._[e];return t&&t.hide}},{key:"setHide",value:function(e,t){var i=this.getOrNew(e);!0===t?i.hide=!0:delete i.hide}},{key:"setStyle",value:function(e,t){this.getOrNew(e).style=t}},{key:"sumWidth",value:function(e,t){var i=this;return j.rangeSum(e,t,(function(e){return i.getWidth(e)}))}},{key:"totalWidth",value:function(){return this.sumWidth(0,this.len)}}]),e}(),U=i(6),X=i.n(U),W={toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",unmerge:"Unmerge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More",sort:"Sort",download:"Download",pagination:"Pagination",search:"Search",commentDefault:"Please enter text",commentEdit:"Edit comment",commentRemove:"Remove comment",commentPrevious:"Previous comment",commentNext:"Next comment",insertImage:"Insert image",insertTextBox:"Insert Text Box",insertComboBox:"Insert Combo Box",insertCheckBox:"Insert Check Box",insertRadioButton:"Insert Option Button",insertSpinButton:"Insert Spin Button",insertScrollBar:"Insert Scroll Bar",insertLabel:"Insert Label"},menubar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font name:",fontSize:"Font size:",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",unmerge:"Unmerge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More",sort:"Sort",download:"Download",download_HTML:"Download As HTML",download_PDF:"Download As PDF",download_Original:"Download Original",download_XLSX:"Download As XLSX",download_GOOGLE:"Save To Google Drive",download_DROPBOX:"Save To Dropbox",pagination:"Pagination",search:"Search",commentDefault:"Please enter text",insertSheet:"Sheet",insertRow:"Row",insertColumn:"Column",link:"Link",insertComment:"Comment",commentEdit:"Edit comment",commentRemove:"Remove comment",commentPrevious:"Previous comment",commentNext:"Next comment",insertImage:"Image",insertControl:"Controls",fromURL:"From URL",fromLocal:"From Local",menuInsert:"Insert",menuComment:"Review",menuText:"Format",menuFont:"Font",menuEdit:"Home",menuFile:"File"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",sort:"Sort",link:"Link",removeLink:"Remove Link",editLink:"Edit Link",openLink:"Open Link",download:"Download",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing",insertURL:"Enter the image address",deleteImage:"Delete image",copyImage:"Copy image",pasteImage:"Paste image",merge:"Merge",unmerge:"Unmerge",edit:"Edit",clear:"Clear"},link:{emailAddress:"E-mail Address",emailSubject:"Subject",sheetPage:"Document Place",sheetCell:"Cell Reference",linkTypes:{web:"Web Page",sheet:"This Document",email:"E-mail Address"},webUrl:"Address",linkType:"Link To"},download:{fileName:"File Name",saveType:"Save As",saveTypes:{Original:"Original",XLSX:"XLSX",PDF:"PDF",HTML:"HTML"}},print:(F={setting:"Settings",size:"Paper size",orientation:"Page orientation",orientations:{landscape:"Landscape",portrait:"Portrait"}},X()(F,"size","Size"),X()(F,"sizes",{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"}),X()(F,"scale","Scale"),X()(F,"scales",{noscale:"No Scaling",fitsheet:"Fit Sheet on One Page",fitcolumns:"Fit All Columns on One Page",fitrows:"Fit All Rows on One Page"}),X()(F,"order","Order"),X()(F,"orders",{downover:"Down, then over",overdown:"Over, then down"}),X()(F,"imageshow","Images/Shapes"),X()(F,"imageshows",{show:"Show",hide:"Hide"}),F),format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Calculate the sum of a set of values",average:"Calculate the arithmetic mean of all parameters",max:"Calculate the maximum value in a set of numbers",min:"Calculate the smallest value in a set of numbers",_if:"According to the true or false result of the logical judgment of the specified condition, the calculation result triggered by the corresponding condition is returned",and:'Only when the results of the parameters are all logical "true", it returns logical "true", otherwise it returns logical "false"',or:'Only when all parameter values are logically "false", the result is returned as logical "false", otherwise it is returned as logical "true"',concat:"Connect multiple character text or data in cells together",count:"counts the number of cells that contain numbers, and counts numbers within the list of arguments",sumif:"Adds the cells specified by a given criteria",sumifs:"Adds the cells in a range that meet multiple criteria",vlookup:"Looks in the first column of an array and moves across the row to return the value of a cell",hlookup:"Searches for a value in the top row of a table or an array of values, and then returns a value in the same column from a row you specify in the table or array.",lookup:"Looks up values in a vector or array",match:"Looks up values in a reference or array",rank:"Returns the rank of a number in a list of numbers",frequency:"Returns a frequency distribution as a vertical array",text:"Formats a number and converts it to text",left:"Returns the leftmost characters from a text value",right:"Returns the rightmost characters from a text value",round:"Rounds a number to a specified number of digits",index:"Uses an index to choose a value from a reference or array",countif:"Counts the number of cells within a range that meet the given criteria",countifs:"Counts the number of cells within a range that meet multiple criteria",mid:"Returns a specific number of characters from a text string starting at the position you specify",len:"Returns the number of characters in a text string",power:"Returns the result of a number raised to a power",ceiling:"Rounds a number to the nearest integer or to the nearest multiple of significance",floor:"Rounds a number down, toward zero",substitute:"Substitutes new text for old text in a text string",replace:"Replaces characters within text",search:"Finds one text value within another (not case-sensitive)",find:"Finds one text value within another (case-sensitive)",isnumber:"Returns TRUE if the value is a number",istext:"Returns TRUE if the value is text",isblank:"Returns TRUE if the value is blank",upper:"Converts text to uppercase",lower:"Converts text to lowercase",product:"Multiplies its arguments",sumproduct:"Returns the sum of the products of corresponding array components",subtotal:"Returns a subtotal in a list or database",counta:"Counts how many values are in the list of arguments",averageif:"Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria",averageifs:"Returns the average (arithmetic mean) of all cells that meet multiple criteria.",trim:"Removes spaces from text",sign:"Returns the sign of a number",yield:"Returns the yield on a security that pays periodic interest",abs:"Returns the absolute value of a number",sin:"Returns the sine of the given angle",cos:"Returns the cosine of a number",tan:"Returns the tangent of a number"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}",downloadImageFail:"download image fail",invalidcell:"the linked cell is invalid",invalid:"invalid"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{add:"Add",del:"Delete",next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK",previous:"Previous",close:"Close"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Column",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not between",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}},dataSort:{ci:"Range",criteria:"Order",casesense:"Case Sensitive",sortby:"Sort by",header:"My data has headers",msg:"Please select diffrent columns for sort by fields",msg2:"The select range has merge areas,we do not support sort on merge areas ",order:{asc:"ASC",desc:"DESC"}},dataSearch:{label:"Find what",lkinlb:"Look in",matchwhole:"Match entire contents",lookin:{values:"Values",formulas:"Formulas",comments:"Comments"}},dataComment:{label:"Comment"},control:{min:"Minimum value",max:"Maximum value",cur:"Current value",inc:"Incremental change",page:"Page change"}},Y={toolbar:{undo:"Rückgängig machen",redo:"Wiederholen",print:"Drucken",paintformat:"Format Maler",clearformat:"übersichtliches Format",format:"Datei Format",fontName:"Schriftartenname",fontSize:"Schriftgröße",fontBold:"fette Schriftart",fontItalic:"Schriftart kursiv",underline:"unterstreichen",strike:"durchgestrichen",color:"Textfarbe",bgcolor:"Füllfarbe",border:"rahmen",merge:"Zellen verbinden",unmerge:"Zellen trennen",align:"Horizontale Ausrichtung",valign:"Vertikale Ausrichtung",textwrap:"Zeilenumbruch",freeze:"feste Ränge",autofilter:"Filter",formula:"Formel",more:"Mehr",sort:"Einstufung",download:"herunterladen",pagination:"Paging",search:"suchen",commentDefault:"Bitte Text eingeben",commentEdit:"Kommentare bearbeiten",commentRemove:"Kommentar löschen",commentPrevious:"Vorheriger Kommentar",commentNext:"nächster Kommentar",insertImage:"Bild einfügen",insertTextBox:"Textfeld einfügen",insertComboBox:"Kombinationsfeld einfügen",insertCheckBox:"CheckBox einfügen",insertRadioButton:"Optionsschaltfläche einfügen",insertSpinButton:"Spin-Button einfügen",insertScrollBar:"ScrollBar einfügen",insertLabel:"Beschriftung einfügen"},menubar:{undo:"rückgängig machen",redo:"wiederholen",print:"Drucken",paintformat:"Format Maler",clearformat:"übersichtliches Format",format:"Datei Format",fontName:"Schriftartenname:",fontSize:"Schriftgröße:",fontBold:"fette Schriftart",fontItalic:"Schriftart kursiv",underline:"unterstreichen",strike:"durchgestrichen",color:"Textfarbe",bgcolor:"Füllfarbe",border:"rahmen",merge:"Zellen verbinden",unmerge:"Zellen trennen",align:"Horizontale Ausrichtung",valign:"Vertikale Ausrichtung",textwrap:"Zeilenumbruch",freeze:"feste Ränge",autofilter:"Filter",formula:"Formel",more:"Mehr",sort:"Einstufung",download:"herunterladen",download_HTML:"Als HTML herunterladen",download_PDF:"Als PDF herunterladen",download_Original:"Original herunterladen",download_XLSX:"Als XLSX herunterladen",download_GOOGLE:"Auf Google Drive speichern",download_DROPBOX:"In Dropbox speichern",pagination:"Paging",search:"suchen",commentDefault:"Bitte Text eingeben",insertSheet:"Arbeitsblatt einfügen",insertRow:"Zeile einfügen",insertColumn:"Spalte einfügen",link:"Verknüpfung",insertComment:"einen Kommentar hinzufügen",commentEdit:"Kommentare bearbeiten",commentRemove:"Kommentar löschen",commentPrevious:"Vorheriger Kommentar",commentNext:"nächster Kommentar",insertImage:"Bild einfügen",insertControl:"Kontrolle",fromURL:"von URL",fromLocal:"von lokal",menuInsert:"ergänzen",menuComment:"Überprüfen",menuText:"Format",menuFont:"Schriftart",menuEdit:"Titelseite",menuFile:"dokumentieren"},contextmenu:{copy:"Kopieren",cut:"schneiden",paste:"Paste",pasteValue:"Fügen Sie nur den Wert ein",pasteFormat:"Nur Formatierung einfügen",hide:"verstecken",insertRow:"Zeile einfügen",insertColumn:"Spalte einfügen",deleteSheet:"Blatt löschen",deleteRow:"Zeile löschen",deleteColumn:"Spalte löschen",deleteCell:"Zelle löschen",deleteCellText:"Zelltext löschen",validation:"Datenüberprüfung",sort:"Einstufung",link:"Verknüpfung",removeLink:"Link löschen",editLink:"Link bearbeiten",openLink:"Verbindung öffnen",download:"herunterladen",cellprintable:"Export aktivieren",cellnonprintable:"Export deaktivieren",celleditable:"Bearbeitung aktivieren",cellnoneditable:"Bearbeitung deaktivieren",insertURL:"Bildadresse eingeben",deleteImage:"Foto löschen",copyImage:"Bild kopieren",pasteImage:"Bild einfügen",merge:"verschmelzen",unmerge:"aufheben",edit:"bearbeiten",clear:"zu löschen"},link:{emailAddress:"Email",emailSubject:"Thema",sheetPage:"Speicherort",sheetCell:"Zellbezug",linkTypes:{web:"Website",sheet:"Diese Datei",email:"Email"},webUrl:"URL",linkType:"Linktyp"},download:{fileName:"Dateinamen",saveType:"Speichern als",saveTypes:{Original:"Originalformat",XLSX:"XLSX-Format",PDF:"PDF-Format",HTML:"HTML-Format"}},print:(L={setting:"Einstellungen",size:"Papergröße",orientation:"Page orientation",orientations:{landscape:"Landschaft",portrait:"Portrature"}},X()(L,"size","Größe"),X()(L,"sizes",{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"}),X()(L,"scale","Scale"),X()(L,"scales",{noscale:"Keine Schaltung",fitsheet:"Eine Seite über alle Spalten anhängen",fitcolumns:"Alle Spalten über alle Zeilen anhängen",fitrows:"Alle Zeilen über alle Spalten anhängen"}),X()(L,"order","Auftragsweise"),X()(L,"orders",{downover:"Unter und vor",overdown:"Über und unter"}),X()(L,"imageshow","Bilder/Schnappen"),X()(L,"imageshows",{show:"Anzeigen",hide:"Verstecken"}),L),format:{normal:"normal",text:"Klartext",number:"Nummer",percent:"Prozentsatz",rmb:"Renminbi",usd:"Dollar",eur:"EUR",date:"Datum",time:"Zeit",datetime:"Terminzeit",duration:"Zeitraum"},formula:{sum:"Berechnet die Summe einer Reihe von Werten",average:"Berechnet das arithmetische Mittel aller Parameter",max:"Berechnet den Maximalwert in einer Reihe von Ziffern",min:"Berechnet den kleinsten Wert in einer Reihe von Ziffern",_if:"Je nachdem, ob das Ergebnis der logischen Beurteilung der angegebenen Bedingung wahr oder falsch ist, geben Sie das Berechnungsergebnis zurück, das durch die entsprechende Bedingung ausgelöst wurde",and:"Es gibt nur logisch „wahr“ zurück, wenn die Ergebnisse der Parameter beide logisch „wahr“ sind, andernfalls gibt es logisch „falsch“ zurück.",or:"Das Ergebnis wird nur dann als logisch „falsch“ zurückgegeben, wenn alle Parameterwerte logisch „falsch“ sind, ansonsten wird logisch „wahr“ zurückgegeben.",concat:"Mehreren Zeichentext oder Daten in Zellen miteinander verbinden",count:"zählt die Anzahl der Zellen, die Zahlen enthalten, und zählt Zahlen in der Liste der Argumente",sumif:"Fügt die durch ein bestimmtes Kriterium spezifizierten Zellen hinzu",sumifs:"Fügt die Zellen in einem Bereich hinzu, die mehrere Kriterien erfüllen",vlookup:"Sucht in der ersten Spalte eines Arrays und bewegt sich über die Zeile, um den Wert einer Zelle zurückzugeben",hlookup:"Sucht nach einem Wert in der obersten Zeile einer Tabelle oder einem Array von Werten und gibt dann einen Wert in derselben Spalte aus einer Zeile zurück, die Sie in der Tabelle oder dem Array angeben.",lookup:"Schlägt Werte in einem Vektor oder Array nach",match:"Schlägt Werte in einer Referenz oder einem Array nach",rank:"Gibt den Rang einer Zahl in einer Liste von Zahlen zurück",frequency:"Gibt eine Häufigkeitsverteilung als vertikales Array zurück",text:"Formatiert eine Zahl und wandelt sie in Text um",left:"Gibt die Zeichen ganz links von einem Textwert zurück",right:"Gibt die Zeichen ganz rechts von einem Textwert zurück",round:"Rundet eine Zahl auf eine bestimmte Anzahl von Stellen",index:"Verwendet einen Index, um einen Wert aus einer Referenz oder einem Array auszuwählen",countif:"Zählt die Anzahl der Zellen innerhalb eines Bereichs, die die angegebenen Kriterien erfüllen",countifs:"Zählt die Anzahl der Zellen innerhalb eines Bereichs, die mehrere Kriterien erfüllen",mid:"Gibt eine bestimmte Anzahl von Zeichen aus einer Textzeichenfolge zurück, beginnend an der von Ihnen angegebenen Position",len:"Gibt die Anzahl der Zeichen in einer Textzeichenfolge zurück",power:"Gibt das Ergebnis einer potenzierten Zahl zurück",ceiling:"Rundet eine Zahl auf die nächste ganze Zahl oder auf das nächste Vielfache der Wertigkeit",floor:"Rundet eine Zahl ab, gegen Null",substitute:"Ersetzt alten Text in einer Textzeichenfolge durch neuen Text",replace:"Ersetzt Zeichen im Text",search:"Sucht einen Textwert innerhalb eines anderen (Groß- und Kleinschreibung wird nicht beachtet)",find:"Sucht einen Textwert in einem anderen (Groß-/Kleinschreibung beachten)",isnumber:"Gibt TRUE zurück, wenn der Wert eine Zahl ist",istext:"Gibt TRUE zurück, wenn der Wert Text ist",isblank:"Gibt TRUE zurück, wenn der Wert leer ist",upper:"Konvertiert Text in Großbuchstaben",lower:"Konvertiert Text in Kleinbuchstaben",product:"Multipliziert seine Argumente",sumproduct:"Gibt die Summe der Produkte der entsprechenden Array-Komponenten zurück",subtotal:"Gibt eine Zwischensumme in einer Liste oder Datenbank zurück",counta:"Zählt, wie viele Werte in der Liste der Argumente sind",averageif:"Gibt den Durchschnitt (arithmetisches Mittel) aller Zellen in einem Bereich zurück, die ein bestimmtes Kriterium erfüllen",averageifs:"Gibt den Durchschnitt (arithmetisches Mittel) aller Zellen zurück, die mehrere Kriterien erfüllen.",trim:"Entfernt Leerzeichen aus Text",sign:"Gibt das Vorzeichen einer Zahl zurück",yield:"Gibt die Rendite eines Wertpapiers zurück, das periodisch Zinsen zahlt",abs:"Gibt den Absolutwert einer Zahl zurück",sin:"Gibt den Sinus des angegebenen Winkels zurück",cos:"Gibt den Kosinus einer Zahl zurück",tan:"Gibt den Tangens einer Zahl zurück"},validation:{required:"es muss erforderlich sein",notMatch:"es entspricht nicht seinen Validierungsregeln",between:"Es liegt zwischen {} und {}",notBetween:"es liegt nicht zwischen {} und {}",notIn:"es ist nicht in der liste",equal:"es ist gleich {}",notEqual:"es ist nicht gleich {}",lessThan:"es ist kleiner als {}",lessThanEqual:"es ist kleiner oder gleich {}",greaterThan:"es ist größer als {}",greaterThanEqual:"es ist größer oder gleich {}",downloadImageFail:"Bild konnte nicht heruntergeladen werden",invalidcell:"Fehler in verknüpften Zellen",invalid:"ungültig"},error:{pasteForMergedCell:"Dieser Vorgang kann nicht für verbundene Zellen ausgeführt werden"},calendar:{weeks:["Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag"],months:["Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember"]},button:{add:"ergänzen",del:"löschen",next:"Nächste",cancel:"Stornieren",remove:"entfernen",save:"speichern",ok:"bestätigen",previous:"Vorherige",close:"Schließung"},sort:{desc:"Z->A sortieren",asc:"A->Z sortieren"},filter:{empty:"leer"},dataValidation:{mode:"Modell",range:"Zellbereich",criteria:"Standard",modeType:{cell:"Einzelzelle",column:"Spalte",row:"Linie"},type:{list:"Liste",number:"Ziffer",date:"Datum",phone:"Telefon",email:"Email"},operator:{be:"zwischen",nbe:"nicht zwischen",lt:"weniger als",lte:"Gleich oder kleiner als",gt:"mehr als die",gte:"größer als oder gleich wie",eq:"gleich",neq:"Nicht gleichzusetzen mit"}},dataSort:{ci:"Umfang",criteria:"Befehl",casesense:"Groß- und Kleinschreibung beachten",sortby:"Sortieren nach",header:"Titel",msg:"Bitte wählen Sie eine andere Spalte sortiert nach Feld",msg2:"Der Auswahlbereich hat einen zusammengeführten Bereich, wir unterstützen das Sortieren des zusammengeführten Bereichs nicht",order:{asc:"Positive Folge",desc:"umgekehrte Reihenfolge"}},dataSearch:{label:"Inhalt finden",lkinlb:"Suchbereich",matchwhole:"entspricht dem gesamten Inhalt",lookin:{values:"Text",formulas:"Formel",comments:"Anmerkung"}},dataComment:{label:"Anmerkung"},control:{min:"Mindestwert",max:"Höchstwert",cur:"Aktueller Wert",inc:"Inkrementelle Veränderung",page:"Seitenwechsel"}};function V(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return G(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return G(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var K=["zh","en"],Z={en:W,de:Y,nl:{toolbar:{undo:"herroepen",redo:"opnieuw doen",print:"Afdrukken",paintformat:"Formaat schilder",clearformat:"duidelijk formaat",format:"Data formaat",fontName:"lettertype naam",fontSize:"lettertypegrootte",fontBold:"Lettertype vetgedrukt",fontItalic:"lettertype cursief",underline:"onderstrepen",strike:"doorhalen",color:"tekst kleur",bgcolor:"opvulkleur",border:"kader",merge:"Cellen samenvoegen",unmerge:"cellen samenvoegen",align:"Horizontale uitlijning",valign:"verticale uitlijning",textwrap:"woordomslag",freeze:"vaste rangen",autofilter:"filter",formula:"formule",more:"Meer",sort:"Classificatie",download:"downloaden",pagination:"paging",search:"zoekopdracht",commentDefault:"voer a.u.b. tekst in",commentEdit:"opmerkingen bewerken",commentRemove:"opmerking verwijderen",commentPrevious:"Vorige opmerking",commentNext:"volgende opmerking",insertImage:"plaatje invoegen",insertTextBox:"Indsæt tekstboks",insertComboBox:"Insert Combo Box",insertCheckBox:"Indsæt afkrydsningsfelt",insertRadioButton:"Insert Option Button",insertSpinButton:"Insert Spin Button",insertScrollBar:"Insert Scroll Bar",insertLabel:"Insert Label"},menubar:{undo:"ongedaan maken",redo:"opnieuw doen",print:"Afdrukken",paintformat:"Formaat schilder",clearformat:"duidelijk formaat",format:"Data formaat",fontName:"Lettertype naam:",fontSize:"lettertypegrootte:",fontBold:"Lettertype vetgedrukt",fontItalic:"lettertype cursief",underline:"onderstrepen",strike:"doorhalen",color:"tekst kleur",bgcolor:"opvulkleur",border:"kader",merge:"Cellen samenvoegen",unmerge:"cellen samenvoegen",align:"Horizontale uitlijning",valign:"verticale uitlijning",textwrap:"woordomslag",freeze:"vaste rangen",autofilter:"filter",formula:"formule",more:"Meer",sort:"Classificatie",download:"downloaden",download_HTML:"Downloaden als HTML",download_PDF:"Downloaden als PDF",download_Original:"origineel downloaden",download_XLSX:"Downloaden als XLSX",download_GOOGLE:"Opslaan in Google Drive",download_DROPBOX:"Sla op in Dropbox",pagination:"paging",search:"zoekopdracht",commentDefault:"voer a.u.b. tekst in",insertSheet:"werkblad invoegen",insertRow:"rij invoegen",insertColumn:"kolom invoegen",link:"koppeling",insertComment:"Voeg commentaar toe",commentEdit:"opmerkingen bewerken",commentRemove:"opmerking verwijderen",commentPrevious:"Vorige opmerking",commentNext:"volgende opmerking",insertImage:"plaatje invoegen",insertControl:"styring",fromURL:"van URL",fromLocal:"van lokaal",menuInsert:"Optellen bij",menuComment:"Rekening",menuText:"Formaat",menuFont:"lettertype",menuEdit:"voorpagina",menuFile:"document"},contextmenu:{copy:"kopiëren",cut:"snijden",paste:"Plakken",pasteValue:"Plak alleen de waarde",pasteFormat:"Alleen opmaak plakken",hide:"verbergen",insertRow:"rij invoegen",insertColumn:"kolom invoegen",deleteSheet:"blad verwijderen",deleteRow:"Verwijder rij",deleteColumn:"kolom verwijderen",deleteCell:"cel verwijderen",deleteCellText:"celtekst verwijderen",validation:"gegevens verificatie",sort:"Classificatie",link:"koppeling",removeLink:"koppeling verwijderen",editLink:"koppeling bewerken",openLink:"open link",download:"downloaden",cellprintable:"export inschakelen",cellnonprintable:"export uitschakelen",celleditable:"bewerking inschakelen",cellnoneditable:"bewerking uitschakelen",insertURL:"Voer het afbeeldingsadres in",deleteImage:"foto verwijderen",copyImage:"foto kopiëren",pasteImage:"foto plakken",merge:"samenvoegen",unmerge:"ongedaan maken",edit:"bewerking",clear:"wissen"},link:{emailAddress:"E-mailen",emailSubject:"thema",sheetPage:"bestandslocatie",sheetCell:"celverwijzing",linkTypes:{web:"webpagina",sheet:"dit bestand",email:"E-mailen"},webUrl:"url",linkType:"koppelingstype"},download:{fileName:"bestandsnaam",saveType:"Opslaan als",saveTypes:{Original:"origineel formaat",XLSX:"XLSX-formaat",PDF:"PDF-formaat",HTML:"HTML-indeling"}},print:{setting:"instelling",orientation:"vægten",orientations:{landscape:"højtal",portrait:"portrait"},size:"størrelse",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"skaliert",scales:{noscale:"uden skaliert",fitsheet:"formueil skaliert",fitcolumns:"alle kolonner skaliert",fitrows:"alle råde skaliert"},order:"ordet",orders:{downover:"fremhæv for ned ved over ned",overdown:"fremhæv for ned ved ned hævn"},imageshow:"illustration",imageshows:{show:"vis",hide:"skjult"}},format:{normal:"normaal",text:"platte tekst",number:"nummer",percent:"percentage",rmb:"RMB",usd:"Dollar",eur:"EUR",date:"datum",time:"tijd",datetime:"datum Tijd",duration:"periode"},formula:{sum:"Berekent de som van een reeks waarden",average:"Berekent het rekenkundig gemiddelde van alle parameters",max:"Berekent de maximale waarde in een reeks cijfers",min:"Berekent de kleinste waarde in een reeks cijfers",_if:"Volgens het logische oordeel is het resultaat van de opgegeven voorwaarde waar of onwaar, retourneert u het berekeningsresultaat dat wordt geactiveerd door de overeenkomstige voorwaarde",and:'Het retourneert alleen logisch "true" als de resultaten van de parameters beide logisch "true" zijn, anders retourneert het logisch "false"',or:'Het resultaat wordt alleen als logisch "false" geretourneerd als alle parameterwaarden logisch "false" zijn, anders wordt het logisch "true" geretourneerd',concat:"Forbind tekst eller data med flere tegn i celler sammen",count:"tæller antallet af celler, der indeholder tal, og tæller tal inden for listen over argumenter",sumif:"Tilføjer de celler, der er specificeret af et givet kriterium",sumifs:"Tilføjer cellerne i et område, der opfylder flere kriterier",vlookup:"Ser i den første kolonne i en matrix og bevæger sig hen over rækken for at returnere værdien af en celle",hlookup:"Søger efter en værdi i den øverste række af en tabel eller en matrix af værdier og returnerer derefter en værdi i den samme kolonne fra en række, du angiver i tabellen eller matrixen.",lookup:"Søger værdier i en vektor eller et array",match:"Søger værdier i en reference eller et array",rank:"Gengiver rangeringen af et tal i en liste over tal",frequency:"Returnerer en frekvensfordeling som en vertikal matrix",text:"Formater et tal og konverterer det til tekst",left:"Returnerer tegnene længst til venstre fra en tekstværdi",right:"Returnerer tegnene længst til højre fra en tekstværdi",round:"Runder et tal til et bestemt antal cifre",index:"Bruger et indeks til at vælge en værdi fra en reference eller et array",countif:"Tæller antallet af celler inden for et område, der opfylder de givne kriterier",countifs:"Tæller antallet af celler inden for et område, der opfylder flere kriterier",mid:"Returnerer et bestemt antal tegn fra en tekststreng, der starter på den position, du angiver",len:"Returnerer antallet af tegn i en tekststreng",power:"Returnerer resultatet af et tal hævet til en potens",ceiling:"Runder et tal til det nærmeste heltal eller til det nærmeste multiplum af betydning",floor:"Runder et tal nedad mod nul",substitute:"Erstatter ny tekst med gammel tekst i en tekststreng",replace:"Erstatter tegn i tekst",search:"Finder en tekstværdi i en anden (ikke skelner mellem store og små bogstaver)",find:"Finder en tekstværdi i en anden (forskel på store og små bogstaver)",isnumber:"Returnerer SAND, hvis værdien er et tal",istext:"Returnerer TRUE, hvis værdien er tekst",isblank:"Returnerer SAND, hvis værdien er tom",upper:"Konverterer tekst til store bogstaver",lower:"Konverterer tekst til små bogstaver",product:"Multiplicerer sine argumenter",sumproduct:"Returnerer summen af produkterne af tilsvarende array-komponenter",subtotal:"Returnerer en subtotal i en liste eller database",counta:"Tæller, hvor mange værdier der er på listen over argumenter",averageif:"Returnerer gennemsnittet (aritmetisk middelværdi) af alle celler i et område, der opfylder et givet kriterium",averageifs:"Returnerer gennemsnittet (aritmetisk middelværdi) af alle celler, der opfylder flere kriterier.",trim:"Fjerner mellemrum fra tekst",sign:"Returnerer tegnet på et tal",yield:"Gengiver afkastet på et værdipapir, der betaler periodisk rente",abs:"Returnerer den absolutte værdi af et tal",sin:"Returnerer sinus for den givne vinkel",cos:"Returnerer cosinus af et tal",tan:"Returnerer tangens af et tal"},validation:{required:"het moet verplicht zijn",notMatch:"het komt niet overeen met de validatieregels",between:"Het is tussen {} en {}",notBetween:"het is niet tussen {} en {}",notIn:"het staat niet in de lijst",equal:"het is gelijk aan {}",notEqual:"het is niet gelijk aan {}",lessThan:"het is minder dan {}",lessThanEqual:"het is kleiner dan of gelijk aan {}",greaterThan:"het is groter dan {}",greaterThanEqual:"het is groter dan of gelijk aan {}",downloadImageFail:"Kan de afbeelding niet downloaden",invalidcell:"Fejl i sammenkædede celler",invalid:"ugyldig"},error:{pasteForMergedCell:"Kan deze bewerking niet uitvoeren op samengevoegde cellen"},calendar:{weeks:["Zondag maandag dinsdag woensdag donderdag vrijdag zaterdag"],months:["Januari, februari, maart, april, mei, juni, juli, augustus, september, oktober, november, december"]},button:{add:"Optellen bij",del:"verwijderen",next:"Volgende",cancel:"Annuleren",remove:"verwijderen",save:"redden ",ok:"bevestigen",previous:"Vorig",close:"sluiting"},sort:{desc:"Sorteer Z->A",asc:"Sorteer A->Z"},filter:{empty:"leeg"},dataValidation:{mode:"model",range:"cel bereik",criteria:"standaard",modeType:{cell:"eencellig",column:"kolom",row:"lijn"},type:{list:"lijst",number:"cijfer",date:"datum",phone:"Telefoon",email:"e-mailen"},operator:{be:"tussen",nbe:"niet tussen",lt:"minder dan",lte:"minder dan of gelijk aan",gt:"meer dan de",gte:"groter dan of gelijk aan",eq:"gelijkwaardig",neq:"niet gelijk aan"}},dataSort:{ci:"domein",criteria:"volgorde",casesense:"hoofdlettergevoelig",sortby:"sorteer op",header:"titel",msg:"Kies een andere kolom gesorteerd op veld",msg2:"Het selectiegebied heeft een samengevoegd gebied, we ondersteunen het sorteren van het samengevoegde gebied niet",order:{asc:"Positieve volgorde",desc:"omgekeerde volgorde"}},dataSearch:{label:"inhoud vinden",lkinlb:"zoek bereik",matchwhole:"komt overeen met de volledige inhoud",lookin:{values:"tekst",formulas:"formule",comments:"annotatie"}},dataComment:{label:"annotatie"},control:{min:"Minimumwaarde",max:"Maximumwaarde",cur:"Huidige waarde",inc:"Incrementele verandering",page:"Pagina wijzigen"}},zh:{toolbar:{undo:"撤消",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"数据格式",fontName:"字体名称",fontSize:"字体大小",fontBold:"字体粗体",fontItalic:"字体斜体",underline:"下划线",strike:"删除线",color:"文字颜色",bgcolor:"填充颜色",border:"边框",merge:"合并单元格",unmerge:"取消合并单元格",align:"水平对齐",valign:"垂直对齐",textwrap:"文字换行",freeze:"固定行列",autofilter:"过滤器",formula:"公式",more:"更多",sort:"分类",download:"下载",pagination:"分页",search:"搜索",commentDefault:"请输入文字",commentEdit:"编辑批注",commentRemove:"删除批注",commentPrevious:"上一条批注",commentNext:"下一条批注",insertImage:"插入图片",insertTextBox:"插入文本框",insertComboBox:"插入下拉框",insertCheckBox:"插入复选框",insertRadioButton:"插入单选框",insertSpinButton:"插入增减按钮",insertScrollBar:"插入滚动条",insertLabel:"插入标签"},menubar:{undo:"撤消",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"数据格式",fontName:"字体名称:",fontSize:"字体大小:",fontBold:"字体粗体",fontItalic:"字体斜体",underline:"下划线",strike:"删除线",color:"文字颜色",bgcolor:"填充颜色",border:"边框",merge:"合并单元格",unmerge:"取消合并单元格",align:"水平对齐",valign:"垂直对齐",textwrap:"文字换行",freeze:"固定行列",autofilter:"过滤器",formula:"公式",more:"更多",sort:"分类",download:"下载",download_HTML:"下载为HTML",download_PDF:"下载为PDF",download_Original:"下载原件",download_XLSX:"下载为XLSX",download_GOOGLE:"保存至GoogleDrive",download_DROPBOX:"保存至Dropbox",pagination:"分页",search:"搜索",commentDefault:"请输入文字",insertSheet:"插入工作表",insertRow:"插入行",insertColumn:"插入列",link:"连接",insertComment:"添加批注",commentEdit:"编辑批注",commentRemove:"删除批注",commentPrevious:"上一条批注",commentNext:"下一条批注",insertImage:"插入图片",insertControl:"控件",fromURL:"来自URL",fromLocal:"来自本地",menuInsert:"添加",menuComment:"查看",menuText:"格式",menuFont:"字体",menuEdit:"首页",menuFile:"文件"},contextmenu:{copy:"复制",cut:"剪切",paste:"粘贴",pasteValue:"仅粘贴值",pasteFormat:"仅粘贴格式",hide:"隐藏",insertRow:"插入行",insertColumn:"插入列",deleteSheet:"删去工作表",deleteRow:"删除行",deleteColumn:"删除列",deleteCell:"删除储存格",deleteCellText:"删除储存格文字",validation:"数据验证",sort:"分类",link:"连接",removeLink:"删除连接",editLink:"编辑连接",openLink:"打开连接",download:"下载",cellprintable:"启用导出",cellnonprintable:"禁用导出",celleditable:"启用编辑",cellnoneditable:"禁用编辑",insertURL:"输入图像地址",deleteImage:"删除图片",copyImage:"复制图片",pasteImage:"粘贴图片",merge:"合并",unmerge:"取消合并",edit:"编辑",clear:"清除"},link:{emailAddress:"电子邮箱",emailSubject:"主题",sheetPage:"档案位置",sheetCell:"储存格引用",linkTypes:{web:"网页",sheet:"本档案",email:"电子邮箱"},webUrl:"网址",linkType:"连接类型"},download:{fileName:"文档名称",saveType:"另存为",saveTypes:{Original:"原格式",XLSX:"XLSX格式",PDF:"PDF格式",HTML:"HTML格式"}},print:{setting:"设置",orientation:"页面方向",orientations:{landscape:"横向",portrait:"纵向"},size:"纸张尺寸",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"比例",scales:{noscale:"无缩放",fitsheet:"单页适应表格",fitcolumns:"单页适应所有列",fitrows:"单页适应所有行"},order:"顺序",orders:{downover:"先向下再向右",overdown:"先向右再向下"},imageshow:"图片",imageshows:{show:"显示",hide:"隐藏"}},format:{normal:"普通",text:"纯文字",number:"数字",percent:"百分比",rmb:"人民币",usd:"美元",eur:"欧元",date:"日期",time:"时间",datetime:"日期时间",duration:"期间"},formula:{sum:"计算一组值的总和",average:"计算所有参数的算术平均值",max:"计算一组数位中的最大值",min:"计算一组数位中的最小值",_if:"根据指定条件的逻辑判断结果的真或假,返回相应条件触发的计算结果",and:"只有当参数的结果都是逻辑“true”时,它才会返回逻辑“true”,否则返回逻辑“false”",or:"只有当所有参数值在逻辑上都为“false”时,结果才返回为逻辑“false”,否则返回为逻辑上的“true”",concat:"将单元格中的多个字符文本或数据连接在一起",count:"计算包含数字的单元格数量,并计算参数列表中的数字",sumif:"添加给定条件指定的单元格",sumifs:"添加满足多个条件的范围内的单元格",vlookup:"查看数组的第一列并跨行移动以返回单元格的值",hlookup:"在表的第一行或值数组中搜索一个值,然后从您在表或数组中指定的行的同一列中返回一个值",lookup:"在向量或数组中查找值",match:"在引用或数组中查找值",rank:"返回一个数字在数字列表中的排名",frequency:"以垂直数组形式返回频率分布",text:"格式化数字并将其转换为文本",left:"返回文本值最左边的字符",right:"返回文本值中最右边的字符",round:"将数字四舍五入到指定位数",index:"使用索引从引用或数组中选择一个值",countif:"计算范围内满足给定条件的单元格数",countifs:"计算范围内满足多个条件的单元格数",mid:"从指定位置开始的文本字符串中返回特定数量的字符",len:"返回文本字符串中的字符数",power:"返回一个数的幂的结果",ceiling:"将数字四舍五入到最接近的整数或最接近的有效倍数",floor:"将数字向下舍入为零",substitute:"用新文本替换文本字符串中的旧文本",replace:"替换文本中的字符",search:"在另一个文本值中查找一个文本值(不区分大小写)",find:"在一个文本值中查找另一个文本值(区分大小写)",isnumber:"如果值为数字则返回 TRUE",istext:"如果值为文本则返回 TRUE",isblank:"如果值为空则返回 TRUE",upper:"将文本转换为大写",lower:"将文本转换为小写",product:"乘以它的论点",sumproduct:"返回对应数组元素的乘积之和",subtotal:"返回列表或数据库中的小计",counta:"计算参数列表中有多少个值",averageif:"返回范围内满足给定条件的所有单元格的平均值(算术平均值)",averageifs:"返回满足多个条件的所有单元格的平均值(算术平均值)。",trim:"从文本中删除空格",sign:"返回数字的符号",yield:"返回支付定期利息的证券的收益率",abs:"返回数字的绝对值",sin:"返回给定角度的正弦值",cos:"返回数字的余弦值",tan:"返回数字的正切"},validation:{required:"它必须是必需的",notMatch:"它与其验证规则不匹配",between:"它介于{}和{}之间",notBetween:"它不在{}和{}之间",notIn:"它不在清单中",equal:"它等于{}",notEqual:"它不等于{}",lessThan:"它小于{}",lessThanEqual:"它小于或等于{}",greaterThan:"它大于{}",greaterThanEqual:"它大于或等于{}",downloadImageFail:"下载图像失败",invalidcell:" 链接的单元格有误",invalid:"无效"},error:{pasteForMergedCell:"无法对合并的储存格执行此操作"},calendar:{weeks:["周日、周一、周二、周三、周四、周五、周六"],months:["一月、二月、三月、四月、五月、六月、七月、八月、九月、十月、十一月、十二月"]},button:{add:"添加",del:"删除",next:"下一个",cancel:"取消",remove:"去除",save:"保存",ok:"确认",previous:"前一个",close:"关闭"},sort:{desc:"排序Z->A",asc:"排序A->Z"},filter:{empty:"空的"},dataValidation:{mode:"模式",range:"储存格范围",criteria:"标准",modeType:{cell:"单间牢房",column:"柱",row:"一行"},type:{list:"清单",number:"数位",date:"日期",phone:"电话",email:"电子邮件"},operator:{be:"之间",nbe:"不介于",lt:"少于",lte:"小于或等于",gt:"大于",gte:"大于或等于",eq:"等于",neq:"不等于"}},dataSort:{ci:"范围",criteria:"顺序",casesense:"区分大小写",sortby:"排序依据",header:"标题",msg:"请选择按字段排序的不同列",msg2:"选择区域有合并区域,我们不支持对合并区域进行排序",order:{asc:"正序",desc:"逆序"}},dataSearch:{label:"查找内容",lkinlb:"查找范围",matchwhole:"匹配整个内容",lookin:{values:"文本",formulas:"公式",comments:"批注"}},dataComment:{label:"批注"},control:{min:"最小值",max:"最大值",cur:"当前值",inc:"增量更改",page:"页面更改"}},ru:{toolbar:{undo:"отозвать",redo:"переделывать",print:"Распечатать",paintformat:"Формат Painter",clearformat:"чистый формат",format:"Формат данных",fontName:"имя шрифта",fontSize:"размер шрифта",fontBold:"шрифт полужирный",fontItalic:"курсив",underline:"подчеркнуть",strike:"зачеркнутый",color:"цвет текста",bgcolor:"Цвет заливки",border:"рамка",merge:"Объединить ячейки",unmerge:"разъединить ячейки",align:"Горизонтальное выравнивание",valign:"вертикальное выравнивание",textwrap:"перенос слова",freeze:"фиксированные ранги",autofilter:"фильтр",formula:"формула",more:"Более",sort:"Классификация",download:"скачать",pagination:"пейджинг",search:"поиск",commentDefault:"пожалуйста, введите текст",commentEdit:"редактировать комментарии",commentRemove:"удалить комментарий",commentPrevious:"Предыдущий комментарий",commentNext:"следующий комментарий",insertImage:"вставить картинку",InsertTextBox:"Вставить текстовое поле",InsertComboBox:"Вставить поле со списком",InsertCheckBox:"Вставить флажок",InsertRadioButton:"Вставить кнопку выбора",InsertSpinButton:"Вставить кнопку прокрутки",InsertScrollBar:"Вставить полосу прокрутки",InsertLabel:"Вставить метку"},menubar:{undo:"отменить",redo:"переделывать",print:"Распечатать",paintformat:"Формат Painter",clearformat:"чистый формат",format:"Формат данных",fontName:"Название шрифта:",fontSize:"размер шрифта:",fontBold:"шрифт полужирный",fontItalic:"курсив",underline:"подчеркнуть",strike:"зачеркнутый",color:"цвет текста",bgcolor:"Цвет заливки",border:"рамка",merge:"Объединить ячейки",unmerge:"разъединить ячейки",align:"Горизонтальное выравнивание",valign:"вертикальное выравнивание",textwrap:"перенос слова",freeze:"фиксированные ранги",autofilter:"фильтр",formula:"формула",more:"Более",sort:"Классификация",download:"скачать",download_HTML:"Скачать как HTML",download_PDF:"Скачать в формате PDF",download_Original:"скачать оригинал",download_XLSX:"Скачать как XLSX",download_GOOGLE:"Сохранить на Google Диск",download_DROPBOX:"Сохранить в Dropbox",pagination:"пейджинг",search:"поиск",commentDefault:"пожалуйста, введите текст",insertSheet:"вставить рабочий лист",insertRow:"вставить строку",insertColumn:"вставить столбец",link:"связь",insertComment:"добавить комментарий",commentEdit:"редактировать комментарии",commentRemove:"удалить комментарий",commentPrevious:"Предыдущий комментарий",commentNext:"следующий комментарий",insertImage:"вставить картинку",insertControl:"контроль",fromURL:"из URL",fromLocal:"от местного",menuInsert:"добавить в",menuComment:"Проверять",menuText:"Формат",menuFont:"шрифт",menuEdit:"титульная страница",menuFile:"документ"},contextmenu:{copy:"копировать",cut:"вырезать",paste:"вставить",pasteValue:"Вставьте только значение",pasteFormat:"Вставить только форматирование",hide:"скрывать",insertRow:"вставить строку",insertColumn:"вставить столбец",deleteSheet:"удалить лист",deleteRow:"удалить строку",deleteColumn:"удалить столбец",deleteCell:"удалить ячейку",deleteCellText:"удалить текст ячейки",validation:"проверка данных",sort:"Классификация",link:"связь",removeLink:"удалить ссылку",editLink:"изменить ссылку",openLink:"открыть ссылку",download:"скачать",cellprintable:"включить экспорт",cellnonprintable:"отключить экспорт",celleditable:"разрешить редактирование",cellnoneditable:"отключить редактирование",insertURL:"Введите адрес изображения",deleteImage:"удалить картинку",copyImage:"копировать картинку",pasteImage:"вставить картинку",merge:"сливаться",unmerge:"разъединять",edit:"редактировать",clear:"очистить"},link:{emailAddress:"Электронная почта",emailSubject:"тема",sheetPage:"местоположение файла",sheetCell:"ссылка на ячейку",linkTypes:{web:"веб-страница",sheet:"этот файл",email:"Электронная почта"},webUrl:"URL",linkType:"тип ссылки"},download:{fileName:"имя файла",saveType:"Сохранить как",saveTypes:{Original:"исходный формат",XLSX:"XLSX-формат",PDF:"PDF-формат",HTML:"HTML-формат"}},print:{setting:"основная настройка",orientation:"горизонтальное подстояние",orientations:{landscape:"сторонаруженная по горизонталю",portrait:"сторонаруженная по портретах"},size:"размер",sizes:{A3:"А3",A4:"А4",A5:"А5",B4:"B4",B5:"B5"},scale:"скорость",scales:{noscale:"без скорости",fitsheet:"строительное расширение таблицы",fitcolumns:"строительное расширение кластеров",fitrows:"строительное расширение строк"},order:"порядок",orders:{downover:"перетащивать по вершине за вершину далее",overdown:"перетащивать по вершину назад"},imageshow:"экран",imageshows:{show:"раскрыть",hide:"скрыть"}},format:{normal:"обычный",text:"простой текст",number:"число",percent:"процент",rmb:"юаней",usd:"доллар",eur:"евро",date:"дата",time:"время",datetime:"дата время",duration:"период"},formula:{sum:"Вычисляет сумму набора значений",average:"Вычисляет среднее арифметическое всех параметров",max:"Вычисляет максимальное значение в наборе цифр",min:"Вычисляет наименьшее значение в наборе цифр",_if:"Согласно логическому заключению, результат указанного условия является истинным или ложным, вернуть результат вычисления, вызванный соответствующим условием.",and:"Он возвращает логическое «истина» только в том случае, если результаты обоих параметров являются логическими «истинами», в противном случае он возвращает логическое «ложь».",or:"Результат возвращается как логическое «ложь», только если все значения параметров являются логически «ложными», в противном случае возвращается логическое «истина».",concat:"Conecte vários caracteres de texto ou dados em células juntos",count:"conta o número de células que contêm números e conta os números dentro da lista de argumentos",sumif:"Adiciona as células especificadas por um determinado critério",sumifs:"Adiciona as células em um intervalo que atendem a vários critérios",vlookup:"Olha na primeira coluna de uma matriz e move-se pela linha para retornar o valor de uma célula",hlookup:"Procura um valor na linha superior de uma tabela ou uma matriz de valores e, em seguida, retorna um valor na mesma coluna de uma linha especificada na tabela ou matriz.",lookup:"Procura valores em um vetor ou array",match:"Procura valores em uma referência ou array",rank:"Retorna a classificação de um número em uma lista de números",frequency:"Retorna uma distribuição de frequência como uma matriz vertical",text:"Formata um número e o converte em texto",left:"Retorna os caracteres mais à esquerda de um valor de texto",right:"Retorna os caracteres mais à direita de um valor de texto",round:"Arredonda um número para um número especificado de dígitos",index:"Usa um índice para escolher um valor de uma referência ou array",countif:"Conta o número de células dentro de um intervalo que atendem aos critérios fornecidos",countifs:"Conta o número de células dentro de um intervalo que atendem a vários critérios",mid:"Retorna um número específico de caracteres de uma string de texto começando na posição que você especificar",len:"Retorna o número de caracteres em uma string de texto",power:"Retorna o resultado de um número elevado a uma potência",ceiling:"Arredonda um número para o inteiro mais próximo ou para o múltiplo de significância mais próximo",floor:"Arredonda um número para baixo, para zero",substitute:"Substitui o novo texto pelo texto antigo em uma string de texto",replace:"Substitui caracteres no texto",search:"Encontra um valor de texto dentro de outro (sem distinção entre maiúsculas e minúsculas)",find:"Encontra um valor de texto dentro de outro (diferencia maiúsculas de minúsculas)",isnumber:"Retorna TRUE se o valor for um número",istext:"Retorna TRUE se o valor for texto",isblank:"Retorna TRUE se o valor estiver em branco",upper:"Converte o texto em letras maiúsculas",lower:"Converte o texto em minúsculas",product:"Multiplica seus argumentos",sumproduct:"Retorna a soma dos produtos dos componentes do array correspondente",subtotal:"Retorna um subtotal em uma lista ou banco de dados",counta:"Conta quantos valores estão na lista de argumentos",averageif:"Retorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério",averageifs:"Retorna a média (média aritmética) de todas as células que atendem a vários critérios.",trim:"Remove espaços do texto",sign:"Retorna o sinal de um número",yield:"Retorna o rendimento de um título que paga juros periódicos",abs:"Retorna o valor absoluto de um número",sin:"Retorna o seno do ângulo dado",cos:"Retorna o cosseno de um número",tan:"Retorna a tangente de um número"},validation:{required:"это должно быть необходимо",notMatch:"это не соответствует его правилам проверки",between:"Это между {} и {}",notBetween:"это не между {} и {}",notIn:"его нет в списке",equal:"он равен {}",notEqual:"это не равно {}",lessThan:"это меньше, чем {}",lessThanEqual:"меньше или равно {}",greaterThan:"это больше, чем {}",greaterThanEqual:"это больше или равно {}",downloadImageFail:"Не удалось загрузить изображение",invalidcell:" Ошибка ссылки на ячейки ",invalid:"Неверный "},error:{pasteForMergedCell:"Невозможно выполнить эту операцию с объединенными ячейками"},calendar:{weeks:["Воскресенье понедельник вторник среда четверг пятница суббота"],months:["Январь, февраль, март, апрель, май, июнь, июль, август, сентябрь, октябрь, ноябрь, декабрь"]},button:{add:"добавить в",del:"удалить",next:"Следующий",cancel:"Отмена",remove:"удалять",save:"сохранять",ok:"подтверждать",previous:"Предыдущий",close:"закрытие"},sort:{desc:"Сортировать Я->А",asc:"Сортировать А->Я"},filter:{empty:"пустой"},dataValidation:{mode:"модель",range:"диапазон ячеек",criteria:"стандартный",modeType:{cell:"одна ячейка",column:"столбец",row:"линия"},type:{list:"список",number:"цифра",date:"дата",phone:"телефон",email:"электронная почта"},operator:{be:"между",nbe:"не между",lt:"меньше, чем",lte:"меньше или равно",gt:"больше, чем",gte:"больше или равно",eq:"равный",neq:"не равно"}},dataSort:{ci:"объем",criteria:"заказ",casesense:"с учетом регистра",sortby:"Сортировать по",header:"заголовок",msg:"Пожалуйста, выберите другой столбец, отсортированный по полю",msg2:"Область выбора имеет объединенную область, мы не поддерживаем сортировку объединенной области",order:{asc:"Положительная последовательность",desc:"обратный порядок"}},dataSearch:{label:"найти контент",lkinlb:"диапазон поиска",matchwhole:"соответствует всему содержимому",lookin:{values:"текст",formulas:"формула",comments:"аннотация"}},dataComment:{label:"аннотация"},control:{min:"Минимальное значение",max:"Максимальное значение",cur:"Текущее значение",inc:"Дополнительные изменения",page:"Изменить страницу"}},es:{toolbar:{undo:"revocar",redo:"rehacer",print:"Imprimir",paintformat:"Copiar formato",clearformat:"formato claro",format:"Formato de datos",fontName:"nombre de la fuente",fontSize:"tamaño de fuente",fontBold:"negrita",fontItalic:"letra cursiva",underline:"subrayar",strike:"tachado",color:"color de texto",bgcolor:"color de relleno",border:"marco",merge:"Combinar células",unmerge:"separar celdas",align:"Alineación horizontal",valign:"alineamiento vertical",textwrap:"ajuste de línea",freeze:"rangos fijos",autofilter:"filtrar",formula:"fórmula",more:"Más",sort:"Clasificación",download:"descargar",pagination:"paginación",search:"buscar",commentDefault:"por favor ingrese texto",commentEdit:"editar comentarios",commentRemove:"Eliminar comentario",commentPrevious:"comentario anterior",commentNext:"siguiente comentario",insertImage:"Insertar imagen",insertTextBox:"Insertar cuadro de texto",insertComboBox:"Insertar cuadro combinado",insertCheckBox:"Insertar casilla de verificación",insertRadioButton:"Insertar botón de opción",insertSpinButton:"Insertar botón de giro",insertScrollBar:"Insertar barra de desplazamiento",insertLabel:"Insertar etiqueta"},menubar:{undo:"deshacer",redo:"rehacer",print:"Imprimir",paintformat:"Copiar formato",clearformat:"formato claro",format:"Formato de datos",fontName:"Nombre de la fuente:",fontSize:"tamaño de fuente:",fontBold:"negrita",fontItalic:"letra cursiva",underline:"subrayar",strike:"tachado",color:"color de texto",bgcolor:"color de relleno",border:"marco",merge:"Combinar células",unmerge:"separar celdas",align:"Alineación horizontal",valign:"alineamiento vertical",textwrap:"ajuste de línea",freeze:"rangos fijos",autofilter:"filtrar",formula:"fórmula",more:"Más",sort:"Clasificación",download:"Descargar",download_HTML:"Descargar como HTML",download_PDF:"Descargar como PDF",download_Original:"Descargar originales",download_XLSX:"Descargar como XLSX",download_GOOGLE:"Guardar en Google Drive",download_DROPBOX:"Guardar en dropbox",pagination:"paginación",search:"buscar",commentDefault:"por favor ingrese texto",insertSheet:"insertar hoja de trabajo",insertRow:"insertar fila",insertColumn:"insertar columna",link:"enlace",insertComment:"agregar comentario",commentEdit:"editar comentarios",commentRemove:"Eliminar comentario",commentPrevious:"comentario anterior",commentNext:"siguiente comentario",insertImage:"Insertar imagen",insertControl:"Control",fromURL:"de URL",fromLocal:"del local",menuInsert:"añadir",menuComment:"Controlar",menuText:"Formato",menuFont:"fuente",menuEdit:"página delantera",menuFile:"documento"},contextmenu:{copy:"Copiar",cut:"cortar",paste:"pegar",pasteValue:"Pegar solo el valor",pasteFormat:"Pegar solo formato",hide:"esconder",insertRow:"insertar fila",insertColumn:"insertar columna",deleteSheet:"borrar hoja",deleteRow:"borrar fila",deleteColumn:"eliminar columna",deleteCell:"borrar celda",deleteCellText:"eliminar texto de celda",validation:"verificación de datos",sort:"Clasificación",link:"enlace",removeLink:"eliminar enlace",editLink:"editar enlace",openLink:"enlace abierto",download:"descargar",cellprintable:"habilitar exportar",cellnonprintable:"deshabilitar la exportación",celleditable:"permitir la edición",cellnoneditable:"deshabilitar la edición",insertURL:"Ingrese la dirección de la imagen",deleteImage:"borrar imagen",copyImage:"copiar foto",pasteImage:"pegar foto",merge:"unir",unmerge:"desunir",edit:"editar",clear:"limpiar"},link:{emailAddress:"Correo electrónico",emailSubject:"tema",sheetPage:"ubicación del archivo",sheetCell:"referencia de celda",linkTypes:{web:"Página web",sheet:"Este archivo",email:"Correo electrónico"},webUrl:"URL",linkType:"Tipo de enlace"},download:{fileName:"Nombre del archivo",saveType:"Guardar como",saveTypes:{Original:"formato original",XLSX:"formato XLSX",PDF:"formato PDF",HTML:"formato HTML"}},print:{setting:"Configuración",orientation:"Orientación del papel",orientations:{landscape:"Landscape",portrait:"Portrait"},size:"Tamaño de papel",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Scale",scales:{noscale:"Sin ajuste",fitsheet:"Adaptable al tablón de una página",fitcolumns:"Adaptable a todos los columnas de una página",fitrows:"Adaptable a todos los filas de una página"},order:"Orden",orders:{downover:"Primero bajar y siguiente a la derecha",overdown:"Primero a la derecha y luego bajar"},imageshow:"Imagen",imageshows:{show:"Mostrar",hide:"Ocultar"}},format:{normal:"común",text:"Texto sin formato",number:"número",percent:"porcentaje",rmb:"RMB",usd:"Dólar",eur:"EUR",date:"fecha",time:"tiempo",datetime:"fecha y hora",duration:"período"},formula:{sum:"Calcula la suma de un conjunto de valores",average:"Calcula la media aritmética de todos los parámetros",max:"Calcula el valor máximo en un conjunto de dígitos",min:"Calcula el valor más pequeño en un conjunto de dígitos",_if:"Según el resultado del juicio lógico de la condición especificada es verdadero o falso, devuelva el resultado del cálculo desencadenado por la condición correspondiente",and:'Devuelve "verdadero" lógico solo si los resultados de los parámetros son ambos "verdaderos" lógicos; de lo contrario, devuelve "falso" lógico',or:'El resultado se devuelve como lógico "falso" solo si todos los valores de los parámetros son lógicamente "falsos", de lo contrario, devuelve lógicamente "verdadero".',concat:"Conectar texto de varios caracteres o datos en celdas juntos",count:"cuenta el número de celdas que contienen números y cuenta los números dentro de la lista de argumentos",sumif:"Agrega las celdas especificadas por un criterio dado",sumifs:"Agrega las celdas en un rango que cumple con múltiples criterios",vlookup:"Busca en la primera columna de una matriz y se mueve por la fila para devolver el valor de una celda",hlookup:"Busca un valor en la fila superior de una tabla o una matriz de valores, y luego devuelve un valor en la misma columna de una fila que especifique en la tabla o matriz.",lookup:"Busca valores en un vector o matriz",match:"Busca valores en una referencia o matriz",rank:"Devuelve el rango de un número en una lista de números",frequency:"Devuelve una distribución de frecuencias como una matriz vertical",text:"Dar formato a un número y convertirlo en texto",left:"Devuelve los caracteres más a la izquierda de un valor de texto",right:"Devuelve los caracteres más a la derecha de un valor de texto",round:"Redondea un número a un número específico de dígitos",index:"Usa un índice para elegir un valor de una referencia o matriz",countif:"Cuenta el número de celdas dentro de un rango que cumple con los criterios dados",countifs:"Cuenta el número de celdas dentro de un rango que cumplen múltiples criterios",mid:"Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que especifique",len:"Devuelve el número de caracteres en una cadena de texto",power:"Devuelve el resultado de un número elevado a una potencia",ceiling:"Redondea un número al entero más cercano o al múltiplo significativo más cercano",floor:"Redondea un número hacia abajo, hacia cero",substitute:"Sustituye texto nuevo por texto antiguo en una cadena de texto",replace:"Reemplaza caracteres dentro del texto",search:"Encuentra un valor de texto dentro de otro (no distingue entre mayúsculas y minúsculas)",find:"Encuentra un valor de texto dentro de otro (distingue entre mayúsculas y minúsculas)",isnumber:"Devuelve VERDADERO si el valor es un número",istext:"Devuelve VERDADERO si el valor es texto",isblank:"Devuelve VERDADERO si el valor está en blanco",upper:"Convierte texto a mayúsculas",lower:"Convierte texto a minúsculas",product:"Multiplica sus argumentos",sumproduct:"Devuelve la suma de los productos de los componentes de matriz correspondientes",subtotal:"Devuelve un subtotal en una lista o base de datos",counta:"Cuenta cuántos valores hay en la lista de argumentos",averageif:"Devuelve el promedio (media aritmética) de todas las celdas en un rango que cumplen con un criterio dado",averageifs:"Devuelve el promedio (media aritmética) de todas las celdas que cumplen varios criterios.",trim:"Quita espacios del texto",sign:"Devuelve el signo de un número",yield:"Devuelve el rendimiento de un valor que paga intereses periódicos",abs:"Devuelve el valor absoluto de un número",sin:"Devuelve el seno del ángulo dado",cos:"Devuelve el coseno de un número",tan:"Devuelve la tangente de un número"},validation:{required:"debe ser requerido",notMatch:"no coincide con sus reglas de validación",between:"Está entre {} y {}",notBetween:"no está entre {} y {}",notIn:"no esta en la lista",equal:"es igual a {}",notEqual:"no es igual a {}",lessThan:"es menos que {}",lessThanEqual:"es menor o igual que {}",greaterThan:"es mayor que {}",greaterThanEqual:"es mayor o igual que {}",downloadImageFail:"Error al descargar la imagen",invalidcell:"La celda enlazada es incorrecta",invalid:"Inválido"},error:{pasteForMergedCell:"No se puede realizar esta operación en celdas combinadas"},calendar:{weeks:["Domingo Lunes Martes Miércoles Jueves Viernes Sábado"],months:["Enero, febrero, marzo, abril, mayo, junio, julio, agosto, septiembre, octubre, noviembre, diciembre"]},button:{add:"añadir",del:"borrar",next:"Próximo",cancel:"Cancelar",remove:"eliminar",save:"ahorrar",ok:"confirmar",previous:"Anterior",close:"cierre"},sort:{desc:"Ordenar Z->A",asc:"Ordenar A->Z"},filter:{empty:"vacío"},dataValidation:{mode:"modelo",range:"rango de celdas",criteria:"estándar",modeType:{cell:"unicelular",column:"columna",row:"línea"},type:{list:"lista",number:"dígito",date:"fecha",phone:"Teléfono",email:"correo electrónico"},operator:{be:"entre",nbe:"no entre",lt:"menos que",lte:"Menos que o igual a",gt:"más que el",gte:"Mayor qué o igual a",eq:"igual",neq:"no igual a"}},dataSort:{ci:"alcance",criteria:"orden",casesense:"distingue mayúsculas y minúsculas",sortby:"Ordenar por",header:"título",msg:"Elija una columna diferente ordenada por campo",msg2:"El área de selección tiene un área fusionada, no admitimos ordenar el área fusionada",order:{asc:"secuencia positiva",desc:"orden inverso"}},dataSearch:{label:"encontrar contenido",lkinlb:"rango de búsqueda",matchwhole:"coincide con todo el contenido",lookin:{values:"texto",formulas:"fórmula",comments:"anotación"}},dataComment:{label:"anotación"},control:{min:"Valor mínimo",max:"Valor máximo",cur:"Valor actual",inc:"Cambios incrementales",page:"Cambios de página"}},pt:{toolbar:{undo:"revogar",redo:"refazer",print:"Imprimir",paintformat:"Pincel de Formatação",clearformat:"formato claro",format:"Formato de dados",fontName:"nome da fonte",fontSize:"tamanho da fonte",fontBold:"Negrito",fontItalic:"fonte em itálico",underline:"sublinhado",strike:"tachado",color:"cor do texto",bgcolor:"cor de preenchimento",border:"quadro",merge:"Mesclar Células",unmerge:"unmerge células",align:"Alinhamento horizontal",valign:"Alinhamento vertical",textwrap:"quebra de linha",freeze:"fileiras fixas",autofilter:"filtro",formula:"Fórmula",more:"Mais",sort:"Classificação",download:"download",pagination:"paginação",search:"procurar",commentDefault:"por favor digite o texto",commentEdit:"editar comentários",commentRemove:"excluir comentário",commentPrevious:"comentário anterior",commentNext:"próximo comentário",insertImage:"inserir imagem",insertTextBox:"Inserir caixa de texto",insertComboBox:"Inserir caixa de combinação",insertCheckBox:"Inserir caixa de seleção",insertRadioButton:"Inserir botão de opção",insertSpinButton:"Inserir botão de rotação",insertScrollBar:"Inserir barra de rolagem",insertLabel:"Inserir etiqueta"},menubar:{undo:"desfazer",redo:"refazer",print:"Imprimir",paintformat:"Pincel de Formatação",clearformat:"formato claro",format:"Formato de dados",fontName:"Nome da fonte:",fontSize:"tamanho da fonte:",fontBold:"Negrito",fontItalic:"fonte em itálico",underline:"sublinhado",strike:"tachado",color:"cor do texto",bgcolor:"cor de preenchimento",border:"quadro",merge:"Mesclar Células",unmerge:"unmerge células",align:"Alinhamento horizontal",valign:"Alinhamento vertical",textwrap:"quebra de linha",freeze:"fileiras fixas",autofilter:"filtro",formula:"Fórmula",more:"Mais",sort:"Classificação",download:"download",download_HTML:"Baixar como HTML",download_PDF:"Baixar como PDF",download_Original:"baixar original",download_XLSX:"Baixar como XLSX",download_GOOGLE:"Salvar no Google Drive",download_DROPBOX:"Salvar no Dropbox",pagination:"paginação",search:"procurar",commentDefault:"por favor digite o texto",insertSheet:"inserir planilha",insertRow:"inserir linha",insertColumn:"inserir coluna",link:"link",insertComment:"adicionar comentário",commentEdit:"editar comentários",commentRemove:"excluir comentário",commentPrevious:"comentário anterior",commentNext:"próximo comentário",insertImage:"inserir imagem",insertControl:"ao controle",fromURL:"da URL",fromLocal:"do local",menuInsert:"adicionar à",menuComment:"Verificar",menuText:"Formatar",menuFont:"Fonte",menuEdit:"primeira página",menuFile:"documento"},contextmenu:{copy:"cópia de",cut:"cortar",paste:"colar",pasteValue:"Cole apenas o valor",pasteFormat:"Colar apenas a formatação",hide:"esconder",insertRow:"inserir linha",insertColumn:"inserir coluna",deleteSheet:"excluir folha",deleteRow:"excluir linha",deleteColumn:"excluir coluna",deleteCell:"excluir célula",deleteCellText:"excluir texto da célula",validation:"verificação de dados",sort:"Classificação",link:"link",removeLink:"excluir link",editLink:"editar link",openLink:"link aberto",download:"download",cellprintable:"habilitar exportação",cellnonprintable:"desabilitar exportação",celleditable:"habilitar a edição",cellnoneditable:"desabilitar a edição",insertURL:"Insira o endereço da imagem",deleteImage:"deletar foto",copyImage:"copiar foto",pasteImage:"colar foto",merge:"fundir",unmerge:"desagregar",edit:"editar",clear:"limpar"},link:{emailAddress:"E-mail",emailSubject:"tema",sheetPage:"localização de arquivo",sheetCell:"referência de célula",linkTypes:{web:"página da Internet",sheet:"este ficheiro",email:"E-mail"},webUrl:"url",linkType:"tipo de link"},download:{fileName:"nome do arquivo",saveType:"Salvar como",saveTypes:{Original:"formato original",XLSX:"Formato XLSX",PDF:"formato PDF",HTML:"formato HTML"}},print:{setting:"Configuração",orientation:"Orientação",orientations:{landscape:"Landscape",portrait:"Portrait"},size:"Tamanho da folha",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Escala",scales:{noscale:"Sem escala",fitsheet:"Fit Sheet",fitcolumns:"Fit to All Columns",fitrows:"Fit to All Rows"},order:"Ordem",orders:{downover:"Cima-Direita-Esquerda",overdown:"Direita-Cima-Esquerda"},imageshow:"Imagem",imageshows:{show:"Exibir",hide:"Ocultar"}},format:{normal:"ordinário",text:"texto simples",number:"número",percent:"percentagem",rmb:"RMB",usd:"Dólar",eur:"EUR",date:"data",time:"tempo",datetime:"data hora",duration:"período"},formula:{sum:"Calcula a soma de um conjunto de valores",average:"Calcula a média aritmética de todos os parâmetros",max:"Calcula o valor máximo em um conjunto de dígitos",min:"Calcula o menor valor em um conjunto de dígitos",_if:"De acordo com o resultado do julgamento lógico da condição especificada é verdadeiro ou falso, retorne o resultado do cálculo acionado pela condição correspondente",and:'Ele retorna "verdadeiro" lógico somente se os resultados dos parâmetros forem "verdadeiros" lógicos, caso contrário, ele retorna "falso" lógico',or:'O resultado é retornado como lógico "falso" somente se todos os valores dos parâmetros forem logicamente "falsos", caso contrário, ele retorna logicamente "verdadeiro"',concat:"Conecte vários caracteres de texto ou dados em células juntos",count:"conta o número de células que contêm números e conta os números dentro da lista de argumentos",sumif:"Adiciona as células especificadas por um determinado critério",sumifs:"Adiciona as células em um intervalo que atendem a vários critérios",vlookup:"Olha na primeira coluna de uma matriz e move-se pela linha para retornar o valor de uma célula",hlookup:"Procura um valor na linha superior de uma tabela ou uma matriz de valores e, em seguida, retorna um valor na mesma coluna de uma linha especificada na tabela ou matriz.",lookup:"Procura valores em um vetor ou array",match:"Procura valores em uma referência ou array",rank:"Retorna a classificação de um número em uma lista de números",frequency:"Retorna uma distribuição de frequência como uma matriz vertical",text:"Formata um número e o converte em texto",left:"Retorna os caracteres mais à esquerda de um valor de texto",right:"Retorna os caracteres mais à direita de um valor de texto",round:"Arredonda um número para um número especificado de dígitos",index:"Usa um índice para escolher um valor de uma referência ou array",countif:"Conta o número de células dentro de um intervalo que atendem aos critérios fornecidos",countifs:"Conta o número de células dentro de um intervalo que atendem a vários critérios",mid:"Retorna um número específico de caracteres de uma string de texto começando na posição que você especificar",len:"Retorna o número de caracteres em uma string de texto",power:"Retorna o resultado de um número elevado a uma potência",ceiling:"Arredonda um número para o inteiro mais próximo ou para o múltiplo de significância mais próximo",floor:"Arredonda um número para baixo, para zero",substitute:"Substitui o novo texto pelo texto antigo em uma string de texto",replace:"Substitui caracteres no texto",search:"Encontra um valor de texto dentro de outro (sem distinção entre maiúsculas e minúsculas)",find:"Encontra um valor de texto dentro de outro (diferencia maiúsculas de minúsculas)",isnumber:"Retorna TRUE se o valor for um número",istext:"Retorna TRUE se o valor for texto",isblank:"Retorna TRUE se o valor estiver em branco",upper:"Converte o texto em letras maiúsculas",lower:"Converte o texto em minúsculas",product:"Multiplica seus argumentos",sumproduct:"Retorna a soma dos produtos dos componentes do array correspondente",subtotal:"Retorna um subtotal em uma lista ou banco de dados",counta:"Conta quantos valores estão na lista de argumentos",averageif:"Retorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério",averageifs:"Retorna a média (média aritmética) de todas as células que atendem a vários critérios.",trim:"Remove espaços do texto",sign:"Retorna o sinal de um número",yield:"Retorna o rendimento de um título que paga juros periódicos",abs:"Retorna o valor absoluto de um número",sin:"Retorna o seno do ângulo dado",cos:"Retorna o cosseno de um número",tan:"Retorna a tangente de um número"},validation:{required:"deve ser exigido",notMatch:"não corresponde às suas regras de validação",between:"Está entre {} e {}",notBetween:"não está entre {} e {}",notIn:"não está na lista",equal:"é igual a {}",notEqual:"não é igual a {}",lessThan:"é menor que {}",lessThanEqual:"é menor ou igual a {}",greaterThan:"é maior que {}",greaterThanEqual:"é maior ou igual a {}",downloadImageFail:"Falha ao baixar a imagem",invalidcell:"Erro nas células ligadas",invalid:"inválido"},error:{pasteForMergedCell:"Não é possível executar esta operação em células mescladas"},calendar:{weeks:["Domingo segunda terça quarta quinta sexta sábado"],months:["janeiro, fevereiro, março, abril, maio, junho, julho, agosto, setembro, outubro, novembro, dezembro"]},button:{add:"adicionar à",del:"excluir",next:"Próximo",cancel:"Cancelar",remove:"remover",save:"salvar",ok:"confirme",previous:"Anterior",close:"fecho"},sort:{desc:"Ordenar Z->A",asc:"Ordenar A->Z"},filter:{empty:"vazio"},dataValidation:{mode:"modelo",range:"intervalo de células",criteria:"padrão",modeType:{cell:"célula única",column:"coluna",row:"linha"},type:{list:"lista",number:"dígito",date:"data",phone:"Telefone",email:"e-mail"},operator:{be:"entre",nbe:"não entre",lt:"menor que",lte:"menos que ou igual a",gt:"mais do que o",gte:"Melhor que ou igual a",eq:"igual",neq:"não igual a"}},dataSort:{ci:"escopo",criteria:"ordem",casesense:"maiúsculas e minúsculas",sortby:"ordenar por",header:"título",msg:"Escolha uma coluna diferente classificada por campo",msg2:"A área de seleção tem uma área mesclada, não oferecemos suporte para classificação da área mesclada",order:{asc:"sequência positiva",desc:"ordem reversa"}},dataSearch:{label:"encontrar conteúdo",lkinlb:"intervalo de pesquisa",matchwhole:"corresponde a todo o conteúdo",lookin:{values:"texto",formulas:"Fórmula",comments:"anotação"}},dataComment:{label:"anotação"},control:{min:"Valor mínimo",max:"Valor máximo",cur:"Valor actual",inc:"Alteração incremental",page:"Alteração da página"}},id:{toolbar:{undo:"menarik kembali",redo:"mengulangi",print:"Mencetak",paintformat:"Pelukis Format",clearformat:"format yang jelas",format:"Format data",fontName:"nama font",fontSize:"ukuran huruf",fontBold:"huruf tebal",fontItalic:"huruf miring",underline:"menggarisbawahi",strike:"dicoret",color:"warna teks",bgcolor:"mengisi warna",border:"bingkai",merge:"Menggabungkan Sel",unmerge:"memisahkan sel",align:"Penjajaran horizontal",valign:"penjajaran vertikal",textwrap:"bungkus kata",freeze:"peringkat tetap",autofilter:"Saring",formula:"rumus",more:"Lagi",sort:"Klasifikasi",download:"unduh",pagination:"paging",search:"mencari",commentDefault:"harap masukkan teks",commentEdit:"mengedit komentar",commentRemove:"hapus komentar",commentPrevious:"Komentar sebelumnya",commentNext:"komentar berikutnya",insertImage:"menyisipkan gambar",insertTextBox:"Masukkan Kotak Teks",insertComboBox:"Masukkan Kotak Kombo",insertCheckBox:"Masukkan Kotak Centang",insertRadioButton:"Sisipkan Tombol Opsi",insertSpinButton:"Masukkan Tombol Putar",masukkanScrollBar:"Masukkan Scroll Bar",insertLabel:"Masukkan Label"},menubar:{undo:"membuka",redo:"mengulangi",print:"Mencetak",paintformat:"Pelukis Format",clearformat:"format yang jelas",format:"Format data",fontName:"Nama font:",fontSize:"ukuran huruf:",fontBold:"huruf tebal",fontItalic:"huruf miring",underline:"menggarisbawahi",strike:"dicoret",color:"warna teks",bgcolor:"mengisi warna",border:"bingkai",merge:"Menggabungkan Sel",unmerge:"memisahkan sel",align:"Penjajaran horizontal",valign:"penjajaran vertikal",textwrap:"bungkus kata",freeze:"peringkat tetap",autofilter:"Saring",formula:"rumus",more:"Lagi",sort:"Klasifikasi",download:"unduh",download_HTML:"Unduh sebagai HTML",download_PDF:"Unduh sebagai PDF",download_Original:"unduh asli",download_XLSX:"Unduh sebagai XLSX",download_GOOGLE:"Simpan ke Google Drive",download_DROPBOX:"Simpan ke Dropbox",pagination:"paging",search:"mencari",commentDefault:"harap masukkan teks",insertSheet:"menyisipkan lembar kerja",insertRow:"sisipkan baris",insertColumn:"sisipkan kolom",link:"tautan",insertComment:"Tambahkan komentar",commentEdit:"mengedit komentar",commentRemove:"hapus komentar",commentPrevious:"Komentar sebelumnya",commentNext:"komentar berikutnya",insertImage:"menyisipkan gambar",insertControl:"kontrol",fromURL:"dari URL",fromLocal:"dari lokal",menuInsert:"Tambahkan",menuComment:"Memeriksa",menuText:"Format",menuFont:"font",menuEdit:"halaman Depan",menuFile:"dokumen"},contextmenu:{copy:"menyalin",cut:"untuk memotong",paste:"tempel",pasteValue:"Tempelkan hanya nilainya",pasteFormat:"Hanya tempel pemformatan",hide:"bersembunyi",insertRow:"sisipkan baris",insertColumn:"sisipkan kolom",deleteSheet:"hapus lembar",deleteRow:"hapus baris",deleteColumn:"hapus kolom",deleteCell:"hapus sel",deleteCellText:"menghapus teks sel",validation:"verifikasi data",sort:"Klasifikasi",link:"tautan",removeLink:"hapus tautan",editLink:"tautan edit",openLink:"Buka tautan",download:"unduh",cellprintable:"mengaktifkan ekspor",cellnonprintable:"nonaktifkan ekspor",celleditable:"aktifkan pengeditan",cellnoneditable:"nonaktifkan pengeditan",insertURL:"Masukkan alamat gambar",deleteImage:"hapus gambar",copyImage:"menyalin gambar",pasteImage:"tempel gambar",merge:"menggabungkan",unmerge:"pisahkan",edit:"sunting",clear:"untuk membersihkan"},link:{emailAddress:"Surel",emailSubject:"tema",sheetPage:"lokasi file",sheetCell:"referensi sel",linkTypes:{web:"halaman web",sheet:"file ini",email:"Surel"},webUrl:"url",linkType:"jenis tautan"},download:{fileName:"nama file",saveType:"Simpan sebagai",saveTypes:{Original:"format asli",XLSX:"berformat XLSX",PDF:"format PDF",HTML:"format HTML"}},print:{setting:"mempersiapkan",orientation:"orientasi halaman",orientations:{landscape:"horisontal",portrait:"potret"},size:"ukuran kertas",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"rasio skala",scales:{noscale:"tidak ada pembesaran",fitsheet:"Lembar kerja pas satu halaman",fitcolumns:"Satu halaman cocok untuk semua kolom",fitrows:"Satu Halaman Cocok untuk Semua Baris"},order:"Ordre",orders:{downover:"pertama ke bawah lalu ke kanan",overdown:"pertama ke kanan lalu ke bawah"},imageshow:"gambar",imageshows:{show:"menunjukkan",hide:"bersembunyi"}},format:{normal:"biasa",text:"teks biasa",number:"nomor",percent:"persentase",rmb:"RMB",usd:"Dolar",eur:"EUR",date:"tanggal",time:"waktu",datetime:"tanggal Waktu",duration:"periode"},formula:{sum:"Menghitung jumlah dari sekumpulan nilai",average:"Menghitung rata-rata aritmatika dari semua parameter",max:"Menghitung nilai maksimum dalam satu set digit",min:"Menghitung nilai terkecil dalam satu set digit",_if:"Menurut hasil penilaian logis dari kondisi yang ditentukan benar atau salah, kembalikan hasil perhitungan yang dipicu oleh kondisi yang sesuai",and:'Ini mengembalikan logika "benar" hanya jika hasil dari parameter keduanya logis "benar", jika tidak maka mengembalikan logika "salah"',or:'Hasilnya dikembalikan sebagai logis "salah" hanya jika semua nilai parameter secara logis "salah", jika tidak, hasilnya secara logis "benar"',concat:"Hubungkan beberapa karakter teks atau data dalam sel bersama-sama",count:"menghitung jumlah sel yang berisi angka, dan menghitung angka dalam daftar argumen",sumif:"Menambahkan sel yang ditentukan oleh kriteria tertentu",sumifs:"Menambahkan sel dalam rentang yang memenuhi beberapa kriteria",vlookup:"Tampak di kolom pertama larik dan bergerak melintasi baris untuk mengembalikan nilai sel",hlookup:"Mencari nilai di baris atas tabel atau larik nilai, lalu mengembalikan nilai di kolom yang sama dari baris yang Anda tentukan di tabel atau larik.",lookup:"Mencari nilai dalam vektor atau larik",match:"Mencari nilai dalam referensi atau larik",rank:"Mengembalikan peringkat nomor dalam daftar nomor",frequency:"Mengembalikan distribusi frekuensi sebagai larik vertikal",text:"Memformat angka dan mengubahnya menjadi teks",left:"Mengembalikan karakter paling kiri dari nilai teks",right:"Mengembalikan karakter paling kanan dari nilai teks",round:"Membulatkan angka ke jumlah digit yang ditentukan",index:"Menggunakan indeks untuk memilih nilai dari referensi atau larik",countif:"Menghitung jumlah sel dalam rentang yang memenuhi kriteria yang diberikan",countifs:"Menghitung jumlah sel dalam rentang yang memenuhi beberapa kriteria",mid:"Mengembalikan sejumlah karakter tertentu dari string teks mulai dari posisi yang Anda tentukan",len:"Mengembalikan jumlah karakter dalam string teks",power:"Mengembalikan hasil angka yang dipangkatkan",ceiling:"Membulatkan angka ke bilangan bulat terdekat atau ke kelipatan signifikansi terdekat",floor:"Membulatkan angka ke bawah, menuju nol",substitute:"Mengganti teks baru dengan teks lama dalam string teks",replace:"Mengganti karakter dalam teks",search:"Menemukan satu nilai teks di dalam yang lain (tidak peka huruf besar/kecil)",find:"Menemukan satu nilai teks di dalam yang lain (peka huruf besar kecil)",isnumber:"Mengembalikan BENAR jika nilainya berupa angka",istext:"Mengembalikan BENAR jika nilainya adalah teks",isblank:"Mengembalikan BENAR jika nilainya kosong",upper:"Mengubah teks menjadi huruf besar",lower:"Mengubah teks menjadi huruf kecil",product:"Kalikan argumennya",sumproduct:"Mengembalikan jumlah produk dari komponen array yang sesuai",subtotal:"Mengembalikan subtotal dalam daftar atau basis data",counta:"Menghitung berapa banyak nilai dalam daftar argumen",averageif:"Mengembalikan rata-rata (rata-rata aritmatika) dari semua sel dalam rentang yang memenuhi kriteria tertentu",averageifs:"Mengembalikan rata-rata (rata-rata aritmatika) dari semua sel yang memenuhi beberapa kriteria.",trim:"Menghapus spasi dari teks",sign:"Mengembalikan tanda angka",yield:"Mengembalikan hasil pada sekuritas yang membayar bunga berkala",abs:"Mengembalikan nilai absolut dari angka",sin:"Mengembalikan sinus dari sudut yang diberikan",cos:"Mengembalikan cosinus angka",tan:"Mengembalikan garis singgung sebuah angka"},validation:{required:"itu harus diperlukan",notMatch:"itu tidak cocok dengan aturan validasinya",between:"Itu antara {} dan {}",notBetween:"itu bukan antara {} dan {}",notIn:"itu tidak ada dalam daftar",equal:"itu sama dengan {}",notEqual:"tidak sama dengan {}",lessThan:"kurang dari {}",lessThanEqual:"kurang dari atau sama dengan {}",greaterThan:"ini lebih besar dari {}",greaterThanEqual:"lebih besar atau sama dengan {}",downloadImageFail:"Gagal mengunduh gambar",invalidcell:"Galat dalam sel terhubung",invalid:"tidak valid"},error:{pasteForMergedCell:"Tidak dapat melakukan operasi ini pada sel yang digabungkan"},calendar:{weeks:["Minggu Senin Selasa Rabu Kamis Jumat Sabtu"],months:["Januari, Februari, Maret, April, Mei, Juni, Juli, Agustus, September, Oktober, November, Desember"]},button:{add:"Tambahkan",del:"menghapus",next:"Berikutnya",cancel:"Membatalkan",remove:"menghapus",save:"menyimpan",ok:"mengonfirmasi",previous:"Sebelumnya",close:"penutup"},sort:{desc:"Urutkan Z->A",asc:"Urutkan A->Z"},filter:{empty:"kosong"},dataValidation:{mode:"model",range:"jangkauan sel",criteria:"standar",modeType:{cell:"sel tunggal",column:"kolom",row:"garis"},type:{list:"daftar",number:"angka",date:"tanggal",phone:"Telepon",email:"surel"},operator:{be:"di antara",nbe:"tidak diantara",lt:"kurang dari",lte:"kurang dari atau sama dengan",gt:"lebih dari",gte:"lebih dari atau sama dengan",eq:"setara",neq:"tidak sama dengan"}},dataSort:{ci:"cakupan",criteria:"memesan",casesense:"hal - hal sensitif",sortby:"Sortir dengan",header:"judul",msg:"Harap pilih kolom lain yang diurutkan berdasarkan kolom",msg2:"Area pemilihan memiliki area gabungan, kami tidak mendukung penyortiran area gabungan",order:{asc:"Urutan positif",desc:"urutan terbalik"}},dataSearch:{label:"menemukan konten",lkinlb:"rentang pencarian",matchwhole:"cocok dengan seluruh konten",lookin:{values:"teks",formulas:"rumus",comments:"anotasi"}},dataComment:{label:"anotasi"},control:{min:"Nilai maksimum",max:"nilai minimum",cur:"Nilai saat ini",inc:"Perubahan incremental",page:"Perubahan Halaman"}},fr:{toolbar:{undo:"révoquer",redo:"refaire",print:"Imprimer",paintformat:"Peintre de format",clearformat:"mise en forme claire",format:"Format de données",fontName:"nom de la police",fontSize:"taille de police",fontBold:"Caractères gras",fontItalic:"police en italique",underline:"souligner",strike:"barré",color:"couleur du texte",bgcolor:"la couleur de remplissage",border:"cadre",merge:"Fusionner des cellules",unmerge:"dissocier des cellules",align:"Alignement horizontal",valign:"alignement vertical",textwrap:"retour à la ligne",freeze:"rangs fixes",autofilter:"filtre",formula:"formule",more:"Plus",sort:"Classification",download:"télécharger",pagination:"pagination",search:"recherche",commentDefault:"veuillez entrer du texte",commentEdit:"modifier les commentaires",commentRemove:"supprimer le commentaire",commentPrevious:"Commentaire précédent",commentNext:"commentaire suivant",insertImage:"insérer une image",insertTextBox:"Insérer une zone de texte",insertComboBox:"Insérer une zone de liste déroulante",insertCheckBox:"Insérer une case à cocher",insertRadioButton:"Insérer un bouton d'option",insertSpinButton:"Insérer un bouton Spin",insertScrollBar:"Insérer une barre de défilement",insertLabel:"Insérer une étiquette"},menubar:{undo:"annuler",redo:"refaire",print:"Imprimer",paintformat:"Peintre de format",clearformat:"mise en forme claire",format:"Format de données",fontName:"Nom de la police :",fontSize:"taille de police:",fontBold:"Caractères gras",fontItalic:"police en italique",underline:"souligner",strike:"barré",color:"couleur du texte",bgcolor:"la couleur de remplissage",border:"cadre",merge:"Fusionner des cellules",unmerge:"dissocier des cellules",align:"Alignement horizontal",valign:"alignement vertical",textwrap:"retour à la ligne",freeze:"rangs fixes",autofilter:"filtre",formula:"formule",more:"Plus",sort:"Classification",download:"télécharger",download_HTML:"Télécharger au format HTML",download_PDF:"Télécharger au format PDF",download_Original:"télécharger l'original",download_XLSX:"Télécharger au format XLSX",download_GOOGLE:"Enregistrer sur Google Drive",download_DROPBOX:"Enregistrer dans Dropbox",pagination:"pagination",search:"recherche",commentDefault:"veuillez entrer du texte",insertSheet:"insérer une feuille de calcul",insertRow:"insérer une ligne",insertColumn:"insérer une colonne",link:"lien",insertComment:"ajouter un commentaire",commentEdit:"modifier les commentaires",commentRemove:"supprimer le commentaire",commentPrevious:"Commentaire précédent",commentNext:"commentaire suivant",insertImage:"insérer une image",insertControl:"contrôle",fromURL:"à partir de l'URL",fromLocal:"du local",menuInsert:"Ajouter à",menuComment:"Vérifier",menuText:"Format",menuFont:"Police de caractère",menuEdit:"page de garde",menuFile:"document"},contextmenu:{copy:"copie",cut:"couper",paste:"pâte",pasteValue:"Coller uniquement la valeur",pasteFormat:"Coller la mise en forme uniquement",hide:"cacher",insertRow:"insérer une ligne",insertColumn:"insérer une colonne",deleteSheet:"supprimer une feuille",deleteRow:"Supprimer la ligne",deleteColumn:"supprimer la colonne",deleteCell:"supprimer la cellule",deleteCellText:"supprimer le texte de la cellule",validation:"verification des données",sort:"Classification",link:"lien",removeLink:"supprimer le lien",editLink:"modifier le lien",openLink:"ouvrir le lien",download:"télécharger",cellprintable:"activer l'exportation",cellnonprintable:"désactiver l'exportation",celleditable:"activer la modification",cellnoneditable:"désactiver l'édition",insertURL:"Entrez l'adresse de l'image",deleteImage:"supprimer l'image",copyImage:"copier l'image",pasteImage:"coller une image",merge:"fusionner",unmerge:"dissocier",edit:"modifier",clear:"nettoyer"},link:{emailAddress:"E-mail",emailSubject:"thème",sheetPage:"emplacement du fichier",sheetCell:"référence de cellule",linkTypes:{web:"page web",sheet:"ce fichier",email:"E-mail"},webUrl:"URL",linkType:"type de lien"},download:{fileName:"nom de fichier",saveType:"Enregistrer sous",saveTypes:{Original:"format d'origine",XLSX:"Format XLSX",PDF:"Format PDF",HTML:"Format HTML"}},print:{setting:"Réglage",orientation:"Orientation du page",orientations:{landscape:"Horizontal",portrait:"Verticale"},size:"Taille de la page",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Proportionnement",scales:{noscale:"Aucune proportionnement",fitsheet:"Adaptée à la formule de tableau",fitcolumns:"Adaptée à toutes les colonnes",fitrows:"Adaptée à toutes les lignes"},order:"Ordre",orders:{downover:"d'abord en bas puis à droite",overdown:"d'abord à droite puis en bas"},imageshow:"Images",imageshows:{show:"Montre",hide:"Cacher"}},format:{normal:"ordinaire",text:"texte brut",number:"nombre",percent:"pourcentage",rmb:"RMB",usd:"Dollar",eur:"EUR",date:"date",time:"temps",datetime:"date et heure",duration:"période"},formula:{sum:"Calcule la somme d'un ensemble de valeurs",average:"Calcule la moyenne arithmétique de tous les paramètres",max:"Calcule la valeur maximale dans un ensemble de chiffres",min:"Calcule la plus petite valeur dans un ensemble de chiffres",_if:"Selon le résultat du jugement logique de la condition spécifiée est vrai ou faux, renvoie le résultat du calcul déclenché par la condition correspondante",and:'Il renvoie "vrai" logique uniquement si les résultats des paramètres sont tous les deux "vrais" logiques, sinon il renvoie "faux" logique',or:'Le résultat est renvoyé comme "faux" logique uniquement si toutes les valeurs des paramètres sont logiquement "faux", sinon il renvoie logiquement "vrai"',concat:"Connecter plusieurs caractères texte ou données dans des cellules ensemble",count:"compte le nombre de cellules contenant des nombres et compte les nombres dans la liste des arguments",sumif:"Ajoute les cellules spécifiées par un critère donné",sumifs:"Ajoute les cellules d'une plage qui répondent à plusieurs critères",vlookup:"Regarde dans la première colonne d'un tableau et se déplace sur la ligne pour renvoyer la valeur d'une cellule",hlookup:"Recherche une valeur dans la ligne supérieure d'un tableau ou d'un tableau de valeurs, puis renvoie une valeur dans la même colonne à partir d'une ligne que vous spécifiez dans le tableau ou le tableau.",lookup:"Recherche des valeurs dans un vecteur ou un tableau",match:"Recherche des valeurs dans une référence ou un tableau",rank:"Renvoie le rang d'un nombre dans une liste de nombres",frequency:"Renvoie une distribution de fréquence sous la forme d'un tableau vertical",text:"Formate un nombre et le convertit en texte",left:"Renvoie les caractères les plus à gauche d'une valeur de texte",right:"Renvoie les caractères les plus à droite d'une valeur de texte",round:"Arrondit un nombre à un nombre de chiffres spécifié",index:"Utilise un index pour choisir une valeur dans une référence ou un tableau",countif:"Compte le nombre de cellules dans une plage qui répondent aux critères donnés",countifs:"Compte le nombre de cellules dans une plage qui répondent à plusieurs critères",mid:"Renvoie un nombre spécifique de caractères d'une chaîne de texte à partir de la position que vous spécifiez",len:"Renvoie le nombre de caractères d'une chaîne de texte",power:"Renvoie le résultat d'un nombre élevé à une puissance",ceiling:"Arrondit un nombre à l'entier le plus proche ou au multiple de signification le plus proche",floor:"Arrondit un nombre vers le bas, vers zéro",substitute:"Remplace le nouveau texte par l'ancien texte dans une chaîne de texte",replace:"Remplace les caractères dans le texte",search:"Trouve une valeur de texte dans une autre (non sensible à la casse)",find:"Trouve une valeur de texte dans une autre (sensible à la casse)",isnumber:"Renvoie TRUE si la valeur est un nombre",istext:"Renvoie TRUE si la valeur est du texte",isblank:"Renvoie TRUE si la valeur est vide",upper:"Convertit le texte en majuscule",lower:"Convertit le texte en minuscules",product:"Multiplie ses arguments",sumproduct:"Renvoie la somme des produits des composants du tableau correspondants",subtotal:"Renvoie un sous-total dans une liste ou une base de données",counta:"Compte le nombre de valeurs dans la liste des arguments",averageif:"Renvoie la moyenne (moyenne arithmétique) de toutes les cellules d'une plage qui répondent à un critère donné",averageifs:"Renvoie la moyenne (moyenne arithmétique) de toutes les cellules répondant à plusieurs critères.",trim:"Supprime les espaces du texte",sign:"Renvoie le signe d'un nombre",yield:"Rend le rendement d'un titre qui paie des intérêts périodiques",abs:"Renvoie la valeur absolue d'un nombre",sin:"Renvoie le sinus de l'angle donné",cos:"Renvoie le cosinus d'un nombre",tan:"Renvoie la tangente d'un nombre"},validation:{required:"ça doit être obligatoire",notMatch:"il ne correspond pas à ses règles de validation",between:"c'est entre {} et {}",notBetween:"ce n'est pas entre {} et {}",notIn:"il n'est pas dans la liste",equal:"il est égal à {}",notEqual:"il n'est pas égal à {}",lessThan:"c'est moins de {}",lessThanEqual:"il est inférieur ou égal à {}",greaterThan:"il est supérieur à {}",greaterThanEqual:"il est supérieur ou égal à {}",downloadImageFail:"Échec du téléchargement de l'image",invalidcell:"Les cellules liées sont incorrectes",invalid:"Invalide"},error:{pasteForMergedCell:"Impossible d'effectuer cette opération sur des cellules fusionnées"},calendar:{weeks:["Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi"],months:["janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre"]},button:{add:"Ajouter à",del:"supprimer",next:"Suivant",cancel:"Annuler",remove:"retirer",save:"sauvegarder",ok:"confirmer",previous:"Précédent",close:"fermeture"},sort:{desc:"Trier Z->A",asc:"Trier A->Z"},filter:{empty:"vide"},dataValidation:{mode:"modèle",range:"plage de cellules",criteria:"standard",modeType:{cell:"unicellulaire",column:"colonne",row:"doubler"},type:{list:"liste",number:"chiffre",date:"date",phone:"Téléphone",email:"e-mail"},operator:{be:"entre",nbe:"pas entre",lt:"moins que",lte:"inférieur ou égal à",gt:"plus que le",gte:"Plus grand ou égal à",eq:"égal",neq:"pas égal à"}},dataSort:{ci:"portée",criteria:"commande",casesense:"sensible aux majuscules et minuscules",sortby:"Trier par",header:"titre",msg:"Veuillez choisir une autre colonne triée par champ",msg2:"La zone de sélection a une zone fusionnée, nous ne prenons pas en charge le tri de la zone fusionnée",order:{asc:"Séquence positive",desc:"ordre inverse"}},dataSearch:{label:"trouver du contenu",lkinlb:"plage de recherche",matchwhole:"correspond à tout le contenu",lookin:{values:"texte",formulas:"formule",comments:"annotation"}},dataComment:{label:"annotation"},control:{min:"Valeur minimale",max:"Valeur maximale",cur:"Valeur actuelle",inc:"Changement incrémental",page:"Changement de page"}},vi:{toolbar:{undo:"thu hồi",redo:"làm lại",print:"In",paintformat:"Trình vẽ định dạng",clearformat:"định dạng rõ ràng",format:"Định dạng dữ liệu",fontName:"tên phông chữ",fontSize:"cỡ chữ",fontBold:"phông chữ đậm",fontItalic:"phông chữ nghiêng",underline:"gạch dưới",strike:"gạch ngang",color:"văn bản màu",bgcolor:"tô màu",border:"khung",merge:"Hợp nhất các ô",unmerge:"hủy hợp nhất các ô",align:"Căn ngang",valign:"căn lề dọc",textwrap:"gói từ",freeze:"cấp bậc cố định",autofilter:"lọc",formula:"công thức",more:"Hơn",sort:"phân loại",download:"Tải xuống",pagination:"phân trang",search:"tìm kiếm",commentDefault:"vui lòng nhập văn bản",commentEdit:"chỉnh sửa nhận xét",commentRemove:"Xóa nhận xét",commentPrevious:"Nhận xét trước",commentNext:"bình luận tiếp theo",insertImage:"chèn ảnh",InsertTextBox:"Chèn hộp văn bản",InsertComboBox:"Chèn Hộp Tổ hợp",InsertCheckBox:"Chèn hộp kiểm",InsertRadioButton:"Chèn nút tùy chọn",InsertSpinButton:"Chèn nút xoay",InsertScrollBar:"Chèn thanh cuộn",InsertLabel:"Chèn nhãn"},menubar:{undo:"Hoàn tác",redo:"làm lại",print:"In",paintformat:"Trình vẽ định dạng",clearformat:"định dạng rõ ràng",format:"Định dạng dữ liệu",fontName:"Tên phông chữ:",fontSize:"cỡ chữ:",fontBold:"phông chữ đậm",fontItalic:"phông chữ nghiêng",underline:"gạch dưới",strike:"gạch ngang",color:"văn bản màu",bgcolor:"tô màu",border:"khung",merge:"Hợp nhất các ô",unmerge:"hủy hợp nhất các ô",align:"Căn ngang",valign:"căn lề dọc",textwrap:"gói từ",freeze:"cấp bậc cố định",autofilter:"lọc",formula:"công thức",more:"Hơn",sort:"phân loại",download:"Tải xuống",download_HTML:"Tải xuống dưới dạng HTML",download_PDF:"Tải xuống dưới dạng PDF",download_Original:"tải xuống bản gốc",download_XLSX:"Tải xuống dưới dạng XLSX",download_GOOGLE:"Lưu vào Google Drive",download_DROPBOX:"Lưu vào hộp chứa",pagination:"phân trang",search:"tìm kiếm",commentDefault:"vui lòng nhập văn bản",insertSheet:"chèn bảng tính",insertRow:"Chèn hàng",insertColumn:"chèn cột",link:"liên kết",insertComment:"thêm bình luận",commentEdit:"chỉnh sửa bình luận",commentRemove:"Xóa nhận xét",commentPrevious:"Nhận xét trước",commentNext:"bình luận tiếp theo",insertImage:"chèn ảnh",insertControl:"điều khiển",fromURL:"từ URL",fromLocal:"từ địa phương",menuInsert:"Thêm vào",menuComment:"Kiểm tra",menuText:"Định dạng",menuFont:"nét chữ",menuEdit:"trang đầu",menuFile:"tài liệu"},contextmenu:{copy:"sao chép",cut:"cắt",paste:"dán",pasteValue:"Chỉ dán giá trị",pasteFormat:"Chỉ dán định dạng",hide:"trốn",insertRow:"Chèn hàng",insertColumn:"chèn cột",deleteSheet:"xóa tờ",deleteRow:"xóa hàng",deleteColumn:"xóa cột",deleteCell:"xóa ô",deleteCellText:"xóa văn bản ô",validation:"xác minh dữ liệu",sort:"phân loại",link:"liên kết",removeLink:"xóa liên kết",editLink:"chỉnh sửa liên kết",openLink:"mở liên kết",download:"Tải xuống",cellprintable:"bật xuất",cellnonprintable:"tắt xuất",celleditable:"cho phép chỉnh sửa",cellnoneditable:"tắt chỉnh sửa",insertURL:"Nhập địa chỉ hình ảnh",deleteImage:"xóa ảnh",copyImage:"sao chép hình ảnh",pasteImage:"dán hình",merge:"hợp nhất",unmerge:"hủy hợp nhất",edit:"biên tập",clear:"xóa"},link:{emailAddress:"E-mail",emailSubject:"chủ đề",sheetPage:"vị trí tập tin",sheetCell:"tham chiếu ô",linkTypes:{web:"trang web",sheet:"tập tin này",email:"E-mail"},webUrl:"url",linkType:"Loại liên kết"},download:{fileName:"tên tập tin",saveType:"Lưu thành",saveTypes:{Original:"định dạng ban đầu",XLSX:"định dạng XLSX",PDF:"định dạng PDF",HTML:"định dạng HTML"}},print:{setting:"cài đặt",orientation:"Định hướng trang",orientations:{landscape:"nằm ngang",portrait:"chân dung"},size:"khổ giấy",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"tỷ lệ chia tỷ lệ",scales:{noscale:"không thu phóng",fitsheet:"Bảng tính vừa với một trang",fitcolumns:"Một trang phù hợp với tất cả các cột",fitrows:"Một trang phù hợp với tất cả các hàng"},order:"đặt hàng",orders:{downover:"đầu tiên xuống rồi sang phải",overdown:"đầu tiên phải rồi xuống"},imageshow:"hình ảnh",imageshows:{show:"trình diễn",hide:"trốn"}},format:{normal:"bình thường",text:"văn bản thô",number:"con số",percent:"phần trăm",rmb:"nhân dân tệ",usd:"đô la",eur:"EUR",date:"ngày",time:"thời gian",datetime:"ngày giờ",duration:"Giai đoạn"},formula:{sum:"Tính tổng của một tập hợp các giá trị",average:"Tính giá trị trung bình cộng của tất cả các tham số",max:"Tính giá trị lớn nhất trong một tập hợp các chữ số",min:"Tính giá trị nhỏ nhất trong một tập hợp các chữ số",_if:"Theo kết quả phán đoán logic của điều kiện đã chỉ định là đúng hay sai, trả về kết quả tính toán được kích hoạt bởi điều kiện tương ứng",and:'Nó chỉ trả về logic "true" nếu kết quả của các tham số đều logic "true", nếu không, nó trả về logic "false"',or:'Kết quả chỉ được trả về dưới dạng logic "false" nếu tất cả các giá trị tham số là "false" về mặt logic, nếu không, nó trả về dạng logic "true"',concat:"Kết nối nhiều ký tự văn bản hoặc dữ liệu trong các ô với nhau",count:"đếm số ô chứa số và đếm số trong danh sách đối số",sumif:"Thêm các ô được chỉ định bởi một tiêu chí nhất định",sumifs:"Thêm các ô trong một phạm vi đáp ứng nhiều tiêu chí",vlookup:"Tìm trong cột đầu tiên của một mảng và di chuyển qua hàng để trả về giá trị của một ô",hlookup:"Tìm kiếm một giá trị ở hàng trên cùng của một bảng hoặc một mảng các giá trị, sau đó trả về một giá trị trong cùng một cột từ một hàng mà bạn chỉ định trong bảng hoặc mảng.",lookup:"Tra cứu các giá trị trong một vectơ hoặc mảng",match:"Tra cứu các giá trị trong một tham chiếu hoặc mảng",rank:"Trả về thứ hạng của một số trong danh sách các số",frequency:"Trả về phân bố tần suất dưới dạng mảng dọc",text:"Định dạng một số và chuyển đổi nó thành văn bản",left:"Trả về các ký tự ngoài cùng bên trái từ một giá trị văn bản",right:"Trả về các ký tự ngoài cùng bên phải từ một giá trị văn bản",round:"Làm tròn một số thành một số chữ số đã chỉ định",index:"Sử dụng chỉ mục để chọn giá trị từ tham chiếu hoặc mảng",countif:"Đếm số lượng ô trong một phạm vi đáp ứng tiêu chí đã cho",countifs:"Đếm số lượng ô trong một phạm vi đáp ứng nhiều tiêu chí",mid:"Trả về một số ký tự cụ thể từ một chuỗi văn bản bắt đầu từ vị trí bạn chỉ định",len:"Trả về số ký tự trong chuỗi văn bản",power:"Trả về kết quả của một số được nâng lên lũy thừa",ceiling:"Làm tròn một số thành số nguyên gần nhất hoặc bội số gần nhất",floor:"Làm tròn một số xuống, về 0",substitute:"Thay thế văn bản mới cho văn bản cũ trong một chuỗi văn bản",replace:"Thay thế ký tự trong văn bản",search:"Tìm một giá trị văn bản trong một giá trị văn bản khác (không phân biệt chữ hoa chữ thường)",find:"Tìm một giá trị văn bản trong một giá trị văn bản khác (phân biệt chữ hoa chữ thường)",isnumber:"Trả về TRUE nếu giá trị là số",istext:"Trả về TRUE nếu giá trị là văn bản",isblank:"Trả về TRUE nếu giá trị trống",upper:"Chuyển văn bản thành chữ hoa",lower:"Chuyển văn bản thành chữ thường",product:"Nhân lên các đối số của nó",sumproduct:"Trả về tổng tích của các thành phần mảng tương ứng",subtotal:"Trả về tổng phụ trong danh sách hoặc cơ sở dữ liệu",counta:"Đếm xem có bao nhiêu giá trị trong danh sách đối số",averageif:"Trả về giá trị trung bình (trung bình cộng) của tất cả các ô trong một phạm vi đáp ứng một tiêu chí nhất định",averageifs:"Trả về giá trị trung bình (trung bình cộng) của tất cả các ô đáp ứng nhiều tiêu chí.",trim:"Xóa khoảng trắng khỏi văn bản",sign:"Trả về dấu của một số",yield:"Trả về lợi tức của chứng khoán trả lãi định kỳ",abs:"Trả về giá trị tuyệt đối của một số",sin:"Trả về sin của góc đã cho",cos:"Trả về cosin của một số",tan:"Trả về tang của một số"},validation:{required:"nó phải được yêu cầu",notMatch:"nó không phù hợp với quy tắc xác thực của nó",between:"Nó nằm giữa {} và {}",notBetween:"nó không nằm giữa {} và {}",notIn:"nó không có trong danh sách",equal:"nó bằng {}",notEqual:"nó không bằng {}",lessThan:"nó nhỏ hơn {}",lessThanEqual:"nó nhỏ hơn hoặc bằng {}",greaterThan:"nó lớn hơn {}",greaterThanEqual:"nó lớn hơn hoặc bằng {}",downloadImageFail:"Không thể tải xuống hình ảnh",invalidcell:"Các ô được liên kết sai",invalid:"Không hợp lệ"},error:{pasteForMergedCell:"Không thể thực hiện thao tác này trên các ô đã hợp nhất"},calendar:{weeks:["Chủ nhật thứ hai thứ ba thứ tư thứ năm thứ sáu Thứ Bảy"],months:["Tháng 1, tháng 2, tháng 3, tháng 4, tháng 5, tháng 6, tháng 7, tháng 8, tháng 9, tháng 10, tháng 11, tháng 12"]},button:{add:"Thêm vào",del:"xóa bỏ",next:"Kế tiếp",cancel:"Hủy bỏ",remove:"di dời",save:"cứu",ok:"xác nhận",previous:"Trước",close:"Khép kín"},sort:{desc:"Sắp xếp Z->A",asc:"Sắp xếp A->Z"},filter:{empty:"trống"},dataValidation:{mode:"người mẫu",range:"phạm vi ô",criteria:"tiêu chuẩn",modeType:{cell:"đơn bào",column:"cột",row:"đường kẻ"},type:{list:"danh sách",number:"chữ số",date:"ngày",phone:"Điện thoại",email:"e-mail"},operator:{be:"giữa",nbe:"không phải ở giữa",lt:"ít hơn",lte:"ít hơn hoặc bằng",gt:"nhiều hơn",gte:"lớn hơn hoặc bằng",eq:"bình đẳng",neq:"không bằng"}},dataSort:{ci:"phạm vi",criteria:"đặt hàng",casesense:"trường hợp nhạy cảm",sortby:"sắp xếp theo",header:"tiêu đề",msg:"Vui lòng chọn một cột khác được sắp xếp theo trường",msg2:"Khu vực lựa chọn có khu vực đã hợp nhất, chúng tôi không hỗ trợ sắp xếp khu vực đã hợp nhất",order:{asc:"trình tự tích cực",desc:"thứ tự đảo ngược"}},dataSearch:{label:"tìm nội dung",lkinlb:"phạm vi tìm kiếm",matchwhole:"phù hợp với toàn bộ nội dung",lookin:{values:"chữ",formulas:"công thức",comments:"chú thích"}},dataComment:{label:"chú thích"},control:{min:"Tối thiểu",max:"Tối đa",cur:"Giá trị hiện tại",inc:"Thay đổi gia tăng",page:"Thay đổi trang"}},ko:{toolbar:{undo:"취소",redo:"다시 하다",print:"인쇄",paintformat:"포맷 페인터",clearformat:"명확한 형식",format:"데이터 형식",fontName:"글꼴 이름",fontSize:"글꼴 크기",fontBold:"글꼴 굵게",fontItalic:"글꼴 이탤릭체",underline:"밑줄",strike:"취소선",color:"텍스트 색상",bgcolor:"채우기 색상",border:"액자",merge:"셀 병합",unmerge:"셀 병합 해제",align:"수평 정렬",valign:"수직 정렬",textwrap:"줄 바꿈",freeze:"고정 순위",autofilter:"필터",formula:"공식",more:"더",sort:"분류",download:"다운로드",pagination:"페이징",search:"찾다",commentDefault:"텍스트를 입력하십시오",commentEdit:"댓글 수정",commentRemove:"댓글 삭제",commentPrevious:"이전 댓글",commentNext:"다음 댓글",insertImage:"그림 삽입",insertTextBox:"텍스트 상자 삽입",insertComboBox:"콤보 상자 삽입",insertCheckBox:"체크박스 삽입",insertRadioButton:"옵션 버튼 삽입",insertSpinButton:"스핀 버튼 삽입",insertScrollBar:"스크롤 막대 삽입",insertLabel:"라벨 삽입"},menubar:{undo:"실행 취소",redo:"다시 하다",print:"인쇄",paintformat:"포맷 페인터",clearformat:"명확한 형식",format:"데이터 형식",fontName:"글꼴 이름:",fontSize:"글꼴 크기:",fontBold:"글꼴 굵게",fontItalic:"글꼴 이탤릭체",underline:"밑줄",strike:"취소선",color:"텍스트 색상",bgcolor:"채우기 색상",border:"액자",merge:"셀 병합",unmerge:"셀 병합 해제",align:"수평 정렬",valign:"수직 정렬",textwrap:"줄 바꿈",freeze:"고정 순위",autofilter:"필터",formula:"공식",more:"더",sort:"분류",download:"다운로드",download_HTML:"HTML로 다운로드",download_PDF:"PDF로 다운로드",download_Original:"원본 다운로드",download_XLSX:"XLSX로 다운로드",download_GOOGLE:"Google 드라이브에 저장",download_DROPBOX:"드롭박스에 저장",pagination:"페이징",search:"찾다",commentDefault:"텍스트를 입력하십시오",insertSheet:"워크시트 삽입",insertRow:"행 삽입",insertColumn:"열 삽입",link:"링크",insertComment:"댓글 추가",commentEdit:"댓글 수정",commentRemove:"댓글 삭제",commentPrevious:"이전 댓글",commentNext:"다음 댓글",insertImage:"그림 삽입",insertControl:"제어",fromURL:"URL에서",fromLocal:"현지에서",menuInsert:"에 추가",menuComment:"확인하다",menuText:"체재",menuFont:"폰트",menuEdit:"첫 장",menuFile:"문서"},contextmenu:{copy:"복사",cut:"자르다",paste:"반죽",pasteValue:"값만 붙여넣기",pasteFormat:"서식만 붙여넣기",hide:"숨다",insertRow:"행 삽입",insertColumn:"열 삽입",deleteSheet:"시트 삭제",deleteRow:"행 삭제",deleteColumn:"열 삭제",deleteCell:"셀 삭제",deleteCellText:"셀 텍스트 삭제",validation:"데이터 검증",sort:"분류",link:"링크",removeLink:"링크 삭제",editLink:"링크 편집",openLink:"링크 열기",download:"다운로드",cellprintable:"내보내기 활성화",cellnonprintable:"내보내기 비활성화",celleditable:"편집 가능",cellnoneditable:"편집 비활성화",insertURL:"이미지 주소 입력",deleteImage:"사진 삭제",copyImage:"사진 복사",pasteImage:"그림 붙여넣기",merge:"병합",unmerge:"병합 해제",edit:"편집하다",clear:"지우다"},link:{emailAddress:"이메일",emailSubject:"주제",sheetPage:"파일 위치",sheetCell:"셀 참조",linkTypes:{web:"웹 페이지",sheet:"이 파일",email:"이메일"},webUrl:"URL",linkType:"링크 유형"},download:{fileName:"파일 이름",saveType:"다른 이름으로 저장",saveTypes:{Original:"원래 형식",XLSX:"XLSX 형식",PDF:"PDF 형식",HTML:"HTML 형식"}},print:{setting:"설정",orientation:"쪽지 방향",orientations:{landscape:"가로",portrait:"세로"},size:"석격",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"크기 유형",scales:{noscale:"없는 크기",fitsheet:"스테이트 사이클",fitcolumns:"스테이트 모든 열을 맞추고",fitrows:"스테이트 모든 행을 맞추고"},order:"순서",orders:{downover:"먼저 세로로, 다시 가로로",overdown:"먼저 수평 후 수직"},imageshow:"이미지",imageshows:{show:"보여줍니다",hide:"숨겨져"}},format:{normal:"평범한",text:"일반 텍스트",number:"숫자",percent:"백분율",rmb:"인민폐",usd:"달러",eur:"유로",date:"날짜",time:"시간",datetime:"날짜 시간",duration:"기간"},formula:{sum:"값 집합의 합계를 계산합니다.",average:"모든 매개변수의 산술 평균을 계산합니다.",max:"일련의 자릿수에서 최대값을 계산합니다.",min:"숫자 집합에서 가장 작은 값을 계산합니다.",_if:"지정된 조건의 논리적 판단 결과가 참 또는 거짓에 따라 해당 조건에 의해 트리거된 계산 결과를 반환합니다.",and:'매개변수의 결과가 둘 다 논리적 "true"인 경우에만 논리적 "true"를 반환하고, 그렇지 않으면 논리적 "false"를 반환합니다.',or:'결과는 모든 매개변수 값이 논리적으로 "false"인 경우에만 논리적 "false"로 반환되고, 그렇지 않으면 논리적으로 "true"로 반환됩니다.',concat:"셀의 여러 문자 텍스트 또는 데이터 연결",count:"숫자를 포함하는 셀의 수를 계산하고 인수 목록 내의 숫자를 계산",sumif:"지정된 기준으로 지정된 셀을 추가합니다.",sumifs:"여러 기준을 충족하는 범위의 셀을 추가합니다.",vlookup:"배열의 첫 번째 열을 보고 행을 가로질러 이동하여 셀 값을 반환합니다.",hlookup:"테이블의 맨 위 행 또는 값 배열에서 값을 검색한 다음 테이블 또는 배열에서 지정한 행에서 동일한 열의 값을 반환합니다.",lookup:"벡터 또는 배열에서 값 조회",match:"참조 또는 배열에서 값 조회",rank:"숫자 목록에서 숫자의 순위를 반환합니다",frequency:"도수 분포를 수직 배열로 반환",text:"숫자를 형식화하고 텍스트로 변환",left:"텍스트 값에서 가장 왼쪽에 있는 문자를 반환합니다.",right:"텍스트 값에서 가장 오른쪽 문자를 반환",round:"숫자를 지정된 자릿수로 반올림",index:"인덱스를 사용하여 참조 또는 배열에서 값을 선택합니다.",countif:"주어진 기준을 충족하는 범위 내의 셀 수를 계산합니다.",countifs:"여러 기준을 충족하는 범위 내의 셀 수를 계산합니다.",mid:"지정한 위치에서 시작하는 텍스트 문자열에서 특정 수의 문자를 반환합니다.",len:"텍스트 문자열의 문자 수를 반환합니다.",power:"숫자의 거듭제곱 결과를 반환합니다.",ceiling:"숫자를 가장 가까운 정수 또는 가장 가까운 유효 배수로 반올림",floor:"숫자를 0에 가깝게 반올림",substitute:"텍스트 문자열의 기존 텍스트를 새 텍스트로 대체",replace:"텍스트 내 문자 교체",search:"다른 텍스트 값 내에서 하나의 텍스트 값 찾기(대소문자 구분 안 함)",find:"다른 텍스트 값 내에서 하나의 텍스트 값 찾기(대소문자 구분)",isnumber:"값이 숫자이면 TRUE를 반환",istext:"값이 텍스트이면 TRUE를 반환",isblank:"값이 비어 있으면 TRUE를 반환",upper:"텍스트를 대문자로 변환",lower:"텍스트를 소문자로 변환",product:"인수를 곱합니다",sumproduct:"해당 배열 구성요소의 곱의 합을 반환합니다.",subtotal:"목록 또는 데이터베이스에서 소계를 반환합니다.",counta:"인수 목록에 얼마나 많은 값이 있는지 계산",averageif:"지정된 기준을 충족하는 범위 내 모든 셀의 평균(산술 평균)을 반환합니다.",averageifs:"여러 기준을 충족하는 모든 셀의 평균(산술 평균)을 반환합니다.",trim:"텍스트에서 공백 제거",sign:"숫자의 부호를 반환합니다",yield:"주기적으로 이자를 지급하는 유가 증권의 수익률을 반환합니다",abs:"숫자의 절대값을 반환합니다.",sin:"주어진 각도의 사인을 반환합니다",cos:"숫자의 코사인을 반환합니다",tan:"숫자의 탄젠트를 반환합니다"},validation:{required:"반드시 필요하다",notMatch:"유효성 검사 규칙과 일치하지 않습니다.",between:"{}와 {} 사이입니다.",notBetween:"{}와 {} 사이가 아닙니다.",notIn:"목록에 없습니다",equal:"{}와 같습니다.",notEqual:"{}와 같지 않습니다.",lessThan:"{}보다 작습니다.",lessThanEqual:"{}보다 작거나 같습니다.",greaterThan:"{}보다 큽니다.",greaterThanEqual:"{}보다 크거나 같습니다.",downloadImageFail:"이미지를 다운로드하지 못했습니다.",invalidcell:"잘못된 링크 셀",invalid:"유효"},error:{pasteForMergedCell:"병합된 셀에서 이 작업을 수행할 수 없습니다."},calendar:{weeks:["일요일 월요일 화요일 수요일 목요일 금요일 토요일"],months:["1월, 2월, 3월, 4월, 5월, 6월, 7월, 8월, 9월, 10월, 11월, 12월"]},button:{add:"에 추가",del:"삭제",next:"다음",cancel:"취소",remove:"제거하다",save:"구하다",ok:"확인하다",previous:"이전의",close:"폐쇄"},sort:{desc:"정렬 Z->A",asc:"정렬 A->Z"},filter:{empty:"비어 있는"},dataValidation:{mode:"모델",range:"셀 범위",criteria:"기준",modeType:{cell:"단세포",column:"열",row:"선"},type:{list:"목록",number:"숫자",date:"날짜",phone:"전화",email:"이메일"},operator:{be:"~ 사이",nbe:"사이가 아니다",lt:"미만",lte:"이하",gt:"보다 더",gte:"보다 크거나 같음",eq:"동일한",neq:"같지 않다"}},dataSort:{ci:"범위",criteria:"주문하다",casesense:"대소문자 구분",sortby:"정렬 기준",header:"제목",msg:"필드별로 정렬된 다른 열을 선택하세요.",msg2:"선택 영역에 병합된 영역이 있습니다. 병합된 영역 정렬을 지원하지 않습니다.",order:{asc:"양성 서열",desc:"역순으로"}},dataSearch:{label:"콘텐츠 찾기",lkinlb:"검색 범위",matchwhole:"전체 내용과 일치",lookin:{values:"텍스트",formulas:"공식",comments:"주석"}},dataComment:{label:"주석"},control:{min:"최소",max:"최대값",cur:"현재 값",inc:"변동분 변경",page:"페이지 변경 내용"}},it:{toolbar:{undo:"revocare",redo:"rifare",print:"Stampa",paintformat:"Formato pittore",clearformat:"formato chiaro",format:"Formato dei dati",fontName:"nome del carattere",fontSize:"dimensione del font",fontBold:"carattere grassetto",fontItalic:"carattere corsivo",underline:"sottolineare",strike:"barrato",color:"colore del testo",bgcolor:"colore di riempimento",border:"telaio",merge:"Unire le celle",unmerge:"separare le celle",align:"Allineamento orizzontale",valign:"allineamento verticale",textwrap:"a capo automatico",freeze:"ranghi fissi",autofilter:"filtro",formula:"formula",more:"Di più",sort:"Classificazione",download:"scaricamento",pagination:"paginazione",search:"ricerca",commentDefault:"si prega di inserire il testo",commentEdit:"modificare i commenti",commentRemove:"eliminare il commento",commentPrevious:"Commento precedente",commentNext:"prossimo commento",insertImage:"inserire immagine",insertTextBox:"Inserisci casella di testo",insertComboBox:"Inserisci casella combinata",insertCheckBox:"Inserisci casella di controllo",insertRadioButton:"Inserisci pulsante opzione",insertSpinButton:"Inserisci pulsante di selezione",insertScrollBar:"Inserisci barra di scorrimento",insertLabel:"Inserisci etichetta"},menubar:{undo:"disfare",redo:"rifare",print:"Stampa",paintformat:"Formato pittore",clearformat:"formato chiaro",format:"Formato dei dati",fontName:"Nome carattere:",fontSize:"dimensione del font:",fontBold:"carattere grassetto",fontItalic:"carattere corsivo",underline:"sottolineare",strike:"barrato",color:"colore del testo",bgcolor:"colore di riempimento",border:"telaio",merge:"Unire le celle",unmerge:"separare le celle",align:"Allineamento orizzontale",valign:"allineamento verticale",textwrap:"a capo automatico",freeze:"ranghi fissi",autofilter:"filtro",formula:"formula",more:"Di più",sort:"Classificazione",download:"scaricamento",download_HTML:"Scarica come HTML",download_PDF:"Scarica come PDF",download_Original:"scarica originale",download_XLSX:"Scarica come XLSX",download_GOOGLE:"Salva su Google Drive",download_DROPBOX:"Salva su Dropbox",pagination:"paginazione",search:"ricerca",commentDefault:"si prega di inserire il testo",insertSheet:"inserire foglio di lavoro",insertRow:"inserire riga",insertColumn:"inserire colonna",link:"collegamento",insertComment:"Aggiungi un commento",commentEdit:"modificare i commenti",commentRemove:"eliminare il commento",commentPrevious:"Commento precedente",commentNext:"prossimo commento",insertImage:"inserire immagine",insertControl:"controllo",fromURL:"dall'URL",fromLocal:"dal locale",menuInsert:"aggiungere a",menuComment:"Controllo",menuText:"Formato",menuFont:"font",menuEdit:"prima pagina",menuFile:"documento"},contextmenu:{copy:"copia",cut:"tagliare",paste:"impasto",pasteValue:"Incolla solo il valore",pasteFormat:"Incolla solo la formattazione",hide:"nascondere",insertRow:"inserire riga",insertColumn:"inserire colonna",deleteSheet:"eliminare foglio",deleteRow:"elimina riga",deleteColumn:"elimina colonna",deleteCell:"eliminare cella",deleteCellText:"eliminare il testo della cella",validation:"verifica dei dati",sort:"Classificazione",link:"collegamento",removeLink:"eliminare il collegamento",editLink:"modifica collegamento",openLink:"link aperto",download:"scaricamento",cellprintable:"abilitare l'esportazione",cellnonprintable:"disabilitare l'esportazione",celleditable:"permettere la modifica",cellnoneditable:"disabilitare la modifica",insertURL:"Inserisci l'indirizzo dell'immagine",deleteImage:"eliminare l'immagine",copyImage:"copia immagine",pasteImage:"incollare l'immagine",merge:"unire",unmerge:"separare",edit:"modificare",clear:"cancellare"},link:{emailAddress:"E-mail",emailSubject:"tema",sheetPage:"posizione del file",sheetCell:"riferimento di cella",linkTypes:{web:"pagina web",sheet:"questa vita",email:"E-mail"},webUrl:"URL",linkType:"tipo di collegamento"},download:{fileName:"nome del file",saveType:"Salva come",saveTypes:{Original:"formato originale",XLSX:"Formato XLSX",PDF:"Formato PDF",HTML:"Formato HTML"}},print:{setting:"Configurazione",orientation:"Orientamento dello schermo",orientations:{landscape:"Largo ulango",portrait:"Prosilio perenne"},size:"Dimensione cartoneria",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"Proporzionalità",scales:{noscale:"Nessuno è disponibile",fitsheet:"Disponibile per la freccia",fitcolumns:"Disponibile per tutti i colonni",fitrows:"Disponibile per tutti i righetto"},order:"Ordine",orders:{downover:"prima in basso poi a destra",overdown:"prima a destra poi in basso"},imageshow:"immagine",imageshows:{show:"Mostra",hide:"Nascondi"}},format:{normal:"ordinario",text:"testo semplice",number:"numero",percent:"percentuale",rmb:"RMB",usd:"Dollaro",eur:"euro",date:"data",time:"tempo",datetime:"appuntamento",duration:"periodo"},formula:{sum:"Calcola la somma di un insieme di valori",average:"Calcola la media aritmetica di tutti i parametri",max:"Calcola il valore massimo in un insieme di cifre",min:"Calcola il valore più piccolo in un set di cifre",_if:"A seconda che il risultato del giudizio logico della condizione specificata sia vero o falso, restituisce il risultato del calcolo attivato dalla condizione corrispondente",and:'Restituisce "vero" logico solo se i risultati dei parametri sono entrambi "veri" logici, altrimenti restituisce "falso" logico',or:'Il risultato viene restituito come logico "falso" solo se tutti i valori dei parametri sono logicamente "falsi", altrimenti restituisce logicamente "vero"',concat:"Collega insieme più caratteri di testo o dati nelle celle",count:"conta il numero di celle che contengono numeri e conta i numeri all'interno dell'elenco di argomenti",sumif:"Aggiunge le celle specificate da un determinato criterio",sumifs:"Aggiunge le celle in un intervallo che soddisfano più criteri",vlookup:"Cerca nella prima colonna di un array e si sposta lungo la riga per restituire il valore di una cella",hlookup:"Cerca un valore nella prima riga di una tabella o di un array di valori, quindi restituisce un valore nella stessa colonna da una riga specificata nella tabella o nell'array.",lookup:"Cerca i valori in un vettore o in un array",match:"Cerca i valori in un riferimento o in un array",rank:"Restituisce il rango di un numero in un elenco di numeri",frequency:"Restituisce una distribuzione di frequenza come matrice verticale",text:"Formatta un numero e lo converte in testo",left:"Restituisce i caratteri più a sinistra da un valore di testo",right:"Restituisce i caratteri più a destra da un valore di testo",round:"Arrotonda un numero a un numero di cifre specificato",index:"Utilizza un indice per scegliere un valore da un riferimento o un array",countif:"Conta il numero di celle all'interno di un intervallo che soddisfano i criteri specificati",countifs:"Conta il numero di celle all'interno di un intervallo che soddisfano più criteri",mid:"Restituisce un numero specifico di caratteri da una stringa di testo a partire dalla posizione specificata",len:"Restituisce il numero di caratteri in una stringa di testo",power:"Restituisce il risultato di un numero elevato a potenza",ceiling:"Arrotonda un numero all'intero più vicino o al multiplo significativo più vicino",floor:"Arrotonda un numero per difetto, verso lo zero",substitute:"Sostituisce il nuovo testo con il vecchio testo in una stringa di testo",replace:"Sostituisce i caratteri all'interno del testo",search:"Trova un valore di testo all'interno di un altro (senza distinzione tra maiuscole e minuscole)",find:"Trova un valore di testo all'interno di un altro (con distinzione tra maiuscole e minuscole)",isnumber:"Restituisce TRUE se il valore è un numero",istext:"Restituisce TRUE se il valore è testo",isblank:"Restituisce TRUE se il valore è vuoto",upper:"Converte il testo in maiuscolo",lower:"Converte il testo in minuscolo",product:"Moltiplica i suoi argomenti",sumproduct:"Restituisce la somma dei prodotti dei corrispondenti componenti dell'array",subtotal:"Restituisce un totale parziale in un elenco o database",counta:"Conta quanti valori ci sono nell'elenco degli argomenti",averageif:"Restituisce la media (media aritmetica) di tutte le celle in un intervallo che soddisfano un dato criterio",averageifs:"Restituisce la media (media aritmetica) di tutte le celle che soddisfano più criteri.",trim:"Rimuove gli spazi dal testo",sign:"Restituisce il segno di un numero",yield:"Restituisce il rendimento di un titolo che paga interessi periodici",abs:"Restituisce il valore assoluto di un numero",sin:"Restituisce il seno dell'angolo dato",cos:"Restituisce il coseno di un numero",tan:"Restituisce la tangente di un numero"},validation:{required:"deve essere richiesto",notMatch:"non corrisponde alle sue regole di convalida",between:"È compreso tra {} e {}",notBetween:"non è tra {} e {}",notIn:"non è nella lista",equal:"è uguale a {}",notEqual:"non è uguale a {}",lessThan:"è minore di {}",lessThanEqual:"è minore o uguale a {}",greaterThan:"è maggiore di {}",greaterThanEqual:"è maggiore o uguale a {}",downloadImageFail:"Impossibile scaricare l'immagine",invalidcell:"Errore nelle celle collegate",invalid:"non valido"},error:{pasteForMergedCell:"Impossibile eseguire questa operazione sulle celle unite"},calendar:{weeks:["Domenica lunedì martedì mercoledì giovedì venerdì sabato"],months:["Gennaio, Febbraio, Marzo, Aprile, Maggio, Giugno, Luglio, Agosto, Settembre, Ottobre, Novembre, Dicembre"]},button:{add:"aggiungere a",del:"eliminare",next:"Prossimo",cancel:"Annulla",remove:"rimuovere",save:"salva",ok:"Confermare",previous:"Precedente",close:"chiusura"},sort:{desc:"Ordina Z->A",asc:"Ordina A->Z"},filter:{empty:"vuoto"},dataValidation:{mode:"modello",range:"intervallo di celle",criteria:"standard",modeType:{cell:"singola cella",column:"colonna",row:"linea"},type:{list:"elenco",number:"cifra",date:"data",phone:"Telefono",email:"e-mail"},operator:{be:"fra",nbe:"non in mezzo",lt:"meno di",lte:"minore o uguale a",gt:"più del",gte:"maggiore o uguale a",eq:"pari",neq:"non uguale a"}},dataSort:{ci:"scopo",criteria:"ordine",casesense:"maiuscole e minuscole",sortby:"ordina per",header:"titolo",msg:"Scegli una colonna diversa ordinata per campo",msg2:"L'area di selezione ha un'area unita, non supportiamo l'ordinamento dell'area unita",order:{asc:"Sequenza positiva",desc:"ordine inverso"}},dataSearch:{label:"trovare contenuti",lkinlb:"intervallo di ricerca",matchwhole:"corrisponde all'intero contenuto",lookin:{values:"testo",formulas:"formula",comments:"annotazione"}},dataComment:{label:"annotazione"},control:{min:"Valore minimo",max:"Valore massimo",cur:"Valore corrente",inc:"Variazione incrementale",page:"Modifica pagina"}},ar:{toolbar:{undo:"سحب او إبطال",redo:"إعادة",print:"مطبعة",paintformat:"شكل الرسام",clearformat:"شكل واضح",format:"تنسيق البيانات",fontName:"اسم الخط",fontSize:"حجم الخط",fontBold:"خط عريض",fontItalic:"مائل الخط",underline:"تسطير",strike:"يتوسطه خط",color:"لون الخط",bgcolor:"لون التعبئة",border:"إطار",merge:"دمج الخلايا",unmerge:"فك دمج الخلايا",align:"محاذاة أفقية",valign:"انحياز عمودي",textwrap:"التفاف النص",freeze:"رتب ثابتة",autofilter:"منقي",formula:"معادلة",more:"أكثر",sort:"تصنيف",download:"تحميل",pagination:"الترحيل",search:"يبحث",commentDefault:"الرجاء إدخال النص",commentEdit:"تحرير التعليقات",commentRemove:"حذف تعليق",commentPrevious:"التعليق السابق",commentNext:"التعليق التالي",insertImage:"إدراج الصورة",InsertTextBox:"إدراج مربع نص",InsertComboBox:"إدراج مربع تحرير وسرد",InsertCheckBox:"إدراج خانة اختيار",InsertRadioButton:"إدراج زر الخيار",InsertSpinButton:"إدراج زر الدوران",InsertScrollBar:"إدراج شريط التمرير",InsertLabel:"إدراج تسمية"},menubar:{undo:"الغاء التحميل",redo:"إعادة",print:"مطبعة",paintformat:"شكل الرسام",clearformat:"شكل واضح",format:"تنسيق البيانات",fontName:"اسم الخط:",fontSize:"حجم الخط:",fontBold:"خط عريض",fontItalic:"مائل الخط",underline:"تسطير",strike:"يتوسطه خط",color:"لون الخط",bgcolor:"لون التعبئة",border:"إطار",merge:"دمج الخلايا",unmerge:"فك دمج الخلايا",align:"محاذاة أفقية",valign:"انحياز عمودي",textwrap:"التفاف النص",freeze:"رتب ثابتة",autofilter:"منقي",formula:"معادلة",more:"أكثر",sort:"تصنيف",download:"تحميل",download_HTML:"تنزيل بتنسيق HTML",download_PDF:"تنزيل كملف PDF",download_Original:"تحميل الاصلي",download_XLSX:"تنزيل بتنسيق XLSX",download_GOOGLE:"حفظ في Google Drive",download_DROPBOX:"حفظ إلى المنسدل",pagination:"الترحيل",search:"يبحث",commentDefault:"الرجاء إدخال النص",insertSheet:"أدخل ورقة العمل",insertRow:"الصف إدراج",insertColumn:"إدراج العمود",link:"وصلة",insertComment:"أضف تعليق",commentEdit:"تحرير التعليقات",commentRemove:"حذف تعليق",commentPrevious:"التعليق السابق",commentNext:"التعليق التالي",insertImage:"إدراج الصورة",insertControl:"يتحكم",fromURL:"من URL",fromLocal:"من المحلية",menuInsert:"اضف إليه",menuComment:"يفحص",menuText:"شكل",menuFont:"الخط",menuEdit:"الصفحة الأمامية",menuFile:"وثيقة"},contextmenu:{copy:"ينسخ",cut:"لقطع",paste:"معجون",pasteValue:"الصق القيمة فقط",pasteFormat:"لصق التنسيق فقط",hide:"يخفي",insertRow:"الصف إدراج",insertColumn:"إدراج العمود",deleteSheet:"حذف الورقة",deleteRow:"احذف صف",deleteColumn:"حذف العمود",deleteCell:"حذف الخلية",deleteCellText:"حذف نص الخلية",validation:"التحقق من البيانات",sort:"تصنيف",link:"وصلة",removeLink:"حذف الارتباط",editLink:"تعديل الارتباط",openLink:"افتح الرابط",download:"تحميل",cellprintable:"تمكين التصدير",cellnonprintable:"تعطيل التصدير",celleditable:"تفعيل التحرير",cellnoneditable:"تعطيل التحرير",insertURL:"أدخل عنوان الصورة",deleteImage:"حذف الصورة",copyImage:"نسخ الصورة",pasteImage:"لصق الصورة",merge:"دمج",unmerge:"تفكك",edit:"يحرر",clear:"لتوضيح"},link:{emailAddress:"بريد إلكتروني",emailSubject:"سمة",sheetPage:"مكان الملف",sheetCell:"مرجع الخلية",linkTypes:{web:"صفحة على الإنترنت",sheet:"هذا الملف",email:"بريد إلكتروني"},webUrl:"عنوان url",linkType:"نوع الارتباط"},download:{fileName:"اسم الملف",saveType:"حفظ باسم",saveTypes:{Original:"التنسيق الأصلي",XLSX:"تنسيق XLSX",PDF:"تنسيق PDF",HTML:"تنسيق HTML"}},print:{setting:"تأكد الأسئلة",orientation:"اتجاه الصفحة",orientations:{landscape:"أفقي",portrait:"لَوحَة"},size:"حجم الورق",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"نسبة التحجيم",scales:{noscale:"لا التكبير",fitsheet:"صفحة واحدة تناسب ورقة العمل",fitcolumns:"صفحة واحدة تناسب كافة الأعمدة",fitrows:"صفحة واحدة تناسب جميع الصفوف"},order:"طلب",orders:{downover:"أولاً للأسفل ثم لليمين",overdown:"أولًا لليمين ثم للأسفل"},imageshow:"صورة",imageshows:{show:"يعرض",hide:"يخفي"}},format:{normal:"عادي",text:"نص عادي",number:"رقم",percent:"نسبة مئوية",rmb:"يوان",usd:"دولار",eur:"يورو",date:"تاريخ",time:"وقت",datetime:"وقت التاريخ",duration:"فترة"},formula:{sum:"تحسب مجموع مجموعة من القيم",average:"يحسب المتوسط ​​الحسابي لجميع المعلمات",max:"تحسب القيمة القصوى في مجموعة من الأرقام",min:"تحسب أصغر قيمة في مجموعة من الأرقام",_if:"وفقًا لنتيجة الحكم المنطقي للشرط المحدد هي صواب أو خطأ ، قم بإرجاع نتيجة الحساب التي تم تشغيلها بواسطة الشرط المقابل",and:'تقوم بإرجاع "صواب" منطقيًا فقط إذا كانت نتائج المعلمات "صواب" منطقية ، وإلا فإنها ترجع "خطأ" منطقيًا',or:'يتم إرجاع النتيجة على أنها "خطأ" منطقية فقط إذا كانت جميع قيم المعلمات "خطأ" منطقيًا ، وإلا فإنها ترجع "صواب" منطقيًا',concat:"ربط نصوص أو بيانات متعددة الأحرف في الخلايا معًا",count:"تحسب عدد الخلايا التي تحتوي على أرقام ,وتحسب الأرقام في قائمة الوسائط",sumif:"إضافة الخلايا المحددة بمعايير معينة",sumifs:"إضافة الخلايا في نطاق يلبي معايير متعددة",vlookup:"البحث في العمود الأول من المصفوفة ويتحرك عبر الصف لإرجاع قيمة الخلية",hlookup:"البحث عن قيمة في الصف العلوي من جدول أو مصفوفة من القيم ,ثم إرجاع قيمة في نفس العمود من صف تحدده في الجدول أو المصفوفة.",lookup:"البحث عن القيم في متجه أو مصفوفة",match:"البحث عن القيم في مرجع أو مصفوفة",rank:"إرجاع رتبة رقم في قائمة الأرقام",frequency:"ترجع توزيع التردد كصفيف عمودي",text:"تنسيق رقم وتحويله إلى نص",left:"إرجاع الأحرف الموجودة في أقصى اليسار من قيمة نصية",right:"إرجاع الأحرف الموجودة في أقصى اليمين من قيمة نصية",round:"لتقريب رقم إلى عدد محدد من الأرقام",index:"يستخدم فهرسًا لاختيار قيمة من مرجع أو مصفوفة",countif:"تحسب عدد الخلايا داخل النطاق الذي يفي بالمعايير المحددة",countifs:"تحسب عدد الخلايا الموجودة في النطاق التي تفي بمعايير متعددة",mid:"ترجع عددًا محددًا من الأحرف من سلسلة نصية تبدأ من الموضع الذي تحدده",len:"إرجاع عدد الأحرف في سلسلة نصية",power:"إرجاع نتيجة رقم مرفوع إلى أس",ceiling:"تقريب رقم إلى أقرب عدد صحيح أو إلى أقرب مضاعف ذي أهمية",floor:"تقريب رقم لأسفل باتجاه الصفر",substitute:"استبدال نص جديد بالنص القديم في سلسلة نصية",replace:"يستبدل الأحرف داخل النص",search:"البحث عن قيمة نصية داخل قيمة أخرى (ليست حساسة لحالة الأحرف)",find:"البحث عن قيمة نصية داخل أخرى (حساسة لحالة الأحرف)",isnumber:"ترجع TRUE إذا كانت القيمة رقمًا",istext:"ترجع TRUE إذا كانت القيمة نصًا",isblank:"ترجع TRUE إذا كانت القيمة فارغة",upper:"تحويل النص إلى أحرف كبيرة",lower:"تحويل النص إلى أحرف صغيرة",product:"تضاعف حججها",sumproduct:"إرجاع مجموع حاصل ضرب مكونات المصفوفة المقابلة",subtotal:"إرجاع إجمالي فرعي في قائمة أو قاعدة بيانات",counta:"تحسب عدد القيم الموجودة في قائمة الوسائط",averageif:"إرجاع المتوسط (الوسط الحسابي) لجميع الخلايا في النطاق الذي يفي بمعايير معينة",averageifs:"إرجاع المتوسط (الوسط الحسابي) لجميع الخلايا التي تفي بمعايير متعددة.",trim:"يزيل المسافات من النص",sign:"إرجاع علامة الرقم",yield:"إرجاع العائد على ورقة مالية ذات فائدة دورية",abs:"إعادة القيمة المطلقة لرقم",sin:"إرجاع جيب الزاوية لزاوية معينة",cos:"إرجاع جيب التمام لرقم",tan:"إرجاع ظل الرقم"},validation:{required:"يجب أن يكون مطلوبًا",notMatch:"لا يتطابق مع قواعد التحقق من الصحة الخاصة به",between:"ما بين {} و {}",notBetween:"إنه ليس بين {} و {}",notIn:"ليس في القائمة",equal:"انها تساوي {}",notEqual:"لا تساوي {}",lessThan:"إنه أقل من {}",lessThanEqual:"إنه أصغر من أو يساوي {}",greaterThan:"أكبر من {}",greaterThanEqual:"أكبر من أو يساوي {}",downloadImageFail:"فشل تحميل الصورة",invalidcell:" خطأ في ربط الخلايا ",invalid:"باطل "},error:{pasteForMergedCell:"لا يمكن إجراء هذه العملية على الخلايا المدمجة"},calendar:{weeks:["الاحد الاثنين الثلاثاء الاربعاء الخميس الجمعة السبت"],months:["يناير ، فبراير ، مارس ، أبريل ، مايو ، يونيو ، يوليو ، أغسطس ، سبتمبر ، أكتوبر ، نوفمبر ، ديسمبر"]},button:{add:"اضف إليه",del:"يمسح",next:"التالي",cancel:"يلغي",remove:"يزيل",save:"يحفظ",ok:"يتأكد",previous:"سابق",close:"إنهاء"},sort:{desc:"فرز Z-> A",asc:"فرز A-> Z"},filter:{empty:"فارغ"},dataValidation:{mode:"نموذج",range:"نطاق الخلايا",criteria:"معيار",modeType:{cell:"خلية واحدة",column:"عمود",row:"خط"},type:{list:"قائمة",number:"رقم",date:"تاريخ",phone:"هاتف",email:"بريد إلكتروني"},operator:{be:"بين",nbe:"ليس بينهما",lt:"أقل من",lte:"اقل او يساوي",gt:"أكثر من",gte:"أكبر من أو يساوي",eq:"متساوي",neq:"لا يساوي"}},dataSort:{ci:"نِطَاق",criteria:"طلب",casesense:"حساسية الموضوع",sortby:"ترتيب حسب",header:"عنوان",msg:"الرجاء اختيار عمود مختلف مرتبة حسب المجال",msg2:"منطقة التحديد بها منطقة مدمجة ، لا ندعم فرز المنطقة المدمجة",order:{asc:"تسلسل إيجابي",desc:"ترتيب عكسي"}},dataSearch:{label:"العثور على المحتوى",lkinlb:"نطاق البحث",matchwhole:"يطابق المحتوى بأكمله",lookin:{values:"نص",formulas:"معادلة",comments:"حاشية. ملاحظة"}},dataComment:{label:"حاشية. ملاحظة"},control:{min:"قيمة الحد الأدنى",max:"القيمة القصوى",cur:"القيمة الحالية",inc:"تغيير تدريجي",page:"تغيير الصفحة"}},ja:{toolbar:{undo:"取り消す",redo:"やり直す",print:"印刷する",paintformat:"フォーマットペインター",clearformat:"クリアフォーマット",format:"データ形式",fontName:"フォント名",fontSize:"フォントサイズ",fontBold:"太字",fontItalic:"フォント斜体",underline:"下線",strike:"取り消し線",color:"テキストの色",bgcolor:"塗りつぶしの色",border:"フレーム",merge:"セルを結合します",unmerge:"セルの結合を解除する",align:"水平方向の配置",valign:"垂直方向の配置",textwrap:"ワードラップ",freeze:"固定ランク",autofilter:"フィルター",formula:"方式",more:"もっと",sort:"分類",download:"ダウンロード",pagination:"ページング",search:"検索",commentDefault:"テキストを入力してください",commentEdit:"コメントを編集",commentRemove:"コメントを削除",commentPrevious:"前のコメント",commentNext:"次のコメント",insertImage:"画像を挿入",insertTextBox:"テキスト ボックスの挿入",insertComboBox:"コンボ ボックスの挿入",insertCheckBox:"チェックボックスを挿入",insertRadioButton:"オプション ボタンの挿入",insertSpinButton:"スピン ボタンの挿入",insertScrollBar:"スクロール バーの挿入",insertLabel:"ラベルの挿入"},menubar:{undo:"元に戻す",redo:"やり直す",print:"印刷する",paintformat:"フォーマットペインター",clearformat:"クリアフォーマット",format:"データ形式",fontName:"フォント名:",fontSize:"フォントサイズ:",fontBold:"太字",fontItalic:"フォント斜体",underline:"下線",strike:"取り消し線",color:"テキストの色",bgcolor:"塗りつぶしの色",border:"フレーム",merge:"セルを結合します",unmerge:"セルの結合を解除する",align:"水平方向の配置",valign:"垂直方向の配置",textwrap:"ワードラップ",freeze:"固定ランク",autofilter:"フィルター",formula:"方式",more:"もっと",sort:"分類",download:"ダウンロード",download_HTML:"HTMLとしてダウンロード",download_PDF:"PDFとしてダウンロード",download_Original:"オリジナルをダウンロード",download_XLSX:"XLSXとしてダウンロード",download_GOOGLE:"Google ドライブに保存",download_DROPBOX:"ドロップボックスに保存",pagination:"ページング",search:"検索",commentDefault:"テキストを入力してください",insertSheet:"ワークシートを挿入",insertRow:"行を挿入",insertColumn:"列を挿入",link:"リンク",insertComment:"コメントを追加",commentEdit:"コメントを編集",commentRemove:"コメントを削除",commentPrevious:"前のコメント",commentNext:"次のコメント",insertImage:"画像を挿入",insertControl:"コントロール",fromURL:"URLから",fromLocal:"ローカルから",menuInsert:"追加",menuComment:"チェック",menuText:"フォーマット",menuFont:"フォント",menuEdit:"表紙",menuFile:"書類"},contextmenu:{copy:"コピー",cut:"切る",paste:"ペースト",pasteValue:"値のみを貼り付けます",pasteFormat:"書式のみ貼り付け",hide:"隠れる",insertRow:"行を挿入",insertColumn:"列を挿入",deleteSheet:"シートを削除",deleteRow:"行を削除",deleteColumn:"列を削除",deleteCell:"セルを削除",deleteCellText:"セルのテキストを削除",validation:"データ検証",sort:"分類",link:"リンク",removeLink:"リンクを削除",editLink:"リンクを編集",openLink:"リンクを開く",download:"ダウンロード",cellprintable:"エクスポートを有効にする",cellnonprintable:"エクスポートを無効にする",celleditable:"編集を有効に",cellnoneditable:"編集を無効にする",insertURL:"画像アドレスを入力",deleteImage:"画像を削除",copyImage:"コピー画像",pasteImage:"絵を貼り付ける",merge:"マージ",unmerge:"マージを解除する",edit:"編集",clear:"クリアする"},link:{emailAddress:"Eメール",emailSubject:"テーマ",sheetPage:"ファイルの場所",sheetCell:"セル参照",linkTypes:{web:"ウェブページ",sheet:"このファイル",email:"Eメール"},webUrl:"URL",linkType:"リンクタイプ"},download:{fileName:"ファイル名",saveType:"名前を付けて保存",saveTypes:{Original:"オリジナルフォーマット",XLSX:"XLSX形式",PDF:"PDF形式",HTML:"HTML形式"}},print:{setting:"設定",orientation:"ページの方向",orientations:{landscape:"横",portrait:"縦"},size:"紙の寸",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"比例",scales:{noscale:"無縮放",fitsheet:"单一のページで適応",fitcolumns:"すべてのカラムに適応",fitrows:"すべてのレベルに適応"},order:"順序",orders:{downover:"先下を向右にしたら続ける",overdown:"先右を向下にしたら続ける"},imageshow:"イメージ",imageshows:{show:"表示",hide:"隠す"}},format:{normal:"普通",text:"プレーンテキスト",number:"番号",percent:"パーセンテージ",rmb:"人民元",usd:"ドル",eur:"ユーロ",date:"日にち",time:"時間",datetime:"日付時刻",duration:"期間"},formula:{sum:"一連の値の合計を計算します",average:"すべてのパラメータの算術平均を計算します",max:"一連の桁の最大値を計算します",min:"一連の数字の最小値を計算します",_if:"指定した条件の論理判定結果が真か偽かに従って、該当する条件でトリガーされた計算結果を返す",and:"パラメータの結果が両方とも論理「真」の場合にのみ論理「真」を返し、それ以外の場合は論理「偽」を返します。",or:"結果は、すべてのパラメーター値が論理的に「false」である場合にのみ論理的な「false」として返され、それ以外の場合は論理的に「true」が返されます。",concat:"セル内の複数の文字テキストまたはデータを結合する",count:"数値を含むセルの数をカウントし、引数のリスト内の数値をカウントします",sumif:"特定の条件で指定されたセルを追加します",sumifs:"複数の基準を満たす範囲内のセルを追加します",vlookup:"配列の最初の列を調べ、行全体を移動してセルの値を返します",hlookup:"テーブルまたは値の配列の一番上の行の値を検索し、テーブルまたは配列で指定した行から同じ列の値を返します。",lookup:"ベクトルまたは配列内の値を検索します",match:"参照または配列内の値を検索します",rank:"数値のリスト内の数値のランクを返します",frequency:"度数分布を垂直配列として返します",text:"数値をフォーマットしてテキストに変換",left:"テキスト値から左端の文字を返します",right:"テキスト値から右端の文字を返します",round:"数値を指定された桁数に丸める",index:"インデックスを使用して、参照または配列から値を選択します",countif:"指定された基準を満たす範囲内のセルの数をカウントします",countifs:"複数の基準を満たす範囲内のセルの数をカウントします",mid:"指定した位置から始まるテキスト文字列から特定の文字数を返します",len:"テキスト文字列の文字数を返す",power:"累乗した数値の結果を返します",ceiling:"数値を最も近い整数または最も近い有効倍数に丸めます",floor:"数値をゼロに向かって切り捨てます",substitute:"テキスト文字列内の古いテキストを新しいテキストに置き換えます",replace:"テキスト内の文字を置き換えます",search:"別のテキスト値を検索します (大文字と小文字を区別しません)",find:"別のテキスト値を検索します (大文字と小文字を区別します)",isnumber:"値が数値の場合に TRUE を返します",istext:"値がテキストの場合、TRUE を返します",isblank:"値が空白の場合は TRUE を返します",upper:"テキストを大文字に変換します",lower:"テキストを小文字に変換します",product:"その引数を乗算します",sumproduct:"対応する配列コンポーネントの積の合計を返します",subtotal:"リストまたはデータベースの小計を返します",counta:"引数のリストにある値の数を数えます",averageif:"指定された基準を満たす範囲内のすべてのセルの平均 (算術平均) を返します",averageifs:"複数の基準を満たすすべてのセルの平均 (算術平均) を返します。",trim:"テキストからスペースを削除します",sign:"数値の符号を返します",yield:"定期的に利息を支払う証券の利回りを返します",abs:"数値の絶対値を返します",sin:"指定された角度の正弦を返します",cos:"数値のコサインを返します",tan:"数値のタンジェントを返します"},validation:{required:"必須でなければなりません",notMatch:"検証ルールと一致しません",between:"{} と {} の間にあります",notBetween:"{} と {} の間にありません",notIn:"それはリストにありません",equal:"{} に等しい",notEqual:"{} と等しくありません",lessThan:"{} 未満です",lessThanEqual:"{}以下です",greaterThan:"{} より大きい",greaterThanEqual:"{}以上です",downloadImageFail:"画像のダウンロードに失敗しました",invalidcell:"リンクされたセルに誤りがあります",invalid:"無効です"},error:{pasteForMergedCell:"結合されたセルに対してこの操作を実行できません"},calendar:{weeks:["日曜日月曜日火曜日水曜日の木曜日金曜日土曜日"],months:["1月、2月、3月、4月、5月、6月、7月、8月、9月、10月、11月、12月"]},button:{add:"追加",del:"消去",next:"次",cancel:"キャンセル",remove:"削除",save:"保存",ok:"確認",previous:"前",close:"閉鎖"},sort:{desc:"Z->A で並べ替え",asc:"A->Z で並べ替え"},filter:{empty:"空"},dataValidation:{mode:"モデル",range:"セル範囲",criteria:"標準",modeType:{cell:"単細胞",column:"桁",row:"ライン"},type:{list:"リスト",number:"桁",date:"日にち",phone:"電話",email:"Eメール"},operator:{be:"間",nbe:"間にない",lt:"未満",lte:"以下",gt:"以上",gte:"以上",eq:"同等",neq:"等しくない"}},dataSort:{ci:"範囲",criteria:"注文",casesense:"大文字と小文字を区別",sortby:"並び替え",header:"タイトル",msg:"フィールドでソートされた別の列を選択してください",msg2:"選択領域には結合領域があります。結合領域の並べ替えはサポートされていません",order:{asc:"ポジティブシーケンス",desc:"逆順"}},dataSearch:{label:"コンテンツを見つける",lkinlb:"検索範囲",matchwhole:"コンテンツ全体に一致",lookin:{values:"文章",formulas:"方式",comments:"注釈"}},dataComment:{label:"注釈"},control:{min:"最小値",max:"最大値",cur:"現在の値",inc:"増分変更",page:"ページの変更"}},tr:{toolbar:{undo:"geri çekmek",redo:"yeniden yapmak",print:"Yazdır",paintformat:"Biçim boyacısı",clearformat:"formatı temizle",format:"Veri formatı",fontName:"Yazı tipi adı",fontSize:"yazı Boyutu",fontBold:"Yazı tipi kalın",fontItalic:"italik yazı tipi",underline:"altını çizmek",strike:"üstü çizili",color:"metin rengi",bgcolor:"dolgu rengi",border:"çerçeve",merge:"Hücreleri Birleştir",unmerge:"hücreleri ayır",align:"Yatay hizalama",valign:"dikey hizalama",textwrap:"kelime sarma",freeze:"sabit rütbeler",autofilter:"filtre",formula:"formül",more:"Daha",sort:"sınıflandırma",download:"indirmek",pagination:"çağrı",search:"aramak",commentDefault:"lütfen metni girin",commentEdit:"yorumları düzenle",commentRemove:"yorumu sil",commentPrevious:"Önceki yorum",commentNext:"sonraki yorum",insertImage:"resim ekle",insertTextBox:"Metin Kutusu Ekle",insertComboBox:"Birleşik Kutu Ekle",insertCheckBox:"Onay Kutusu Ekle",insertRadioButton:"Seçenek Düğmesini Ekle",insertSpinButton:"Döndürme Düğmesini Ekle",insertScrollBar:"Kaydırma Çubuğunu Ekle",insertLabel:"Etiket Ekle"},menubar:{undo:"geri alma",redo:"yeniden yapmak",print:"Yazdır",paintformat:"Biçim boyacısı",clearformat:"formatı temizle",format:"Veri formatı",fontName:"Yazı tipi adı:",fontSize:"yazı Boyutu:",fontBold:"Yazı tipi kalın",fontItalic:"italik yazı tipi",underline:"altını çizmek",strike:"üstü çizili",color:"metin rengi",bgcolor:"dolgu rengi",border:"çerçeve",merge:"Hücreleri Birleştir",unmerge:"hücreleri ayır",align:"Yatay hizalama",valign:"dikey hizalama",textwrap:"kelime sarma",freeze:"sabit rütbeler",autofilter:"filtre",formula:"formül",more:"Daha",sort:"sınıflandırma",download:"indirmek",download_HTML:"HTML olarak indir",download_PDF:"PDF olarak indir",download_Original:"orijinali indir",download_XLSX:"XLSX olarak indir",download_GOOGLE:"Google Drive'a kaydet",download_DROPBOX:"Dropbox'a kaydet",pagination:"çağrı",search:"aramak",commentDefault:"lütfen metni girin",insertSheet:"çalışma sayfası ekle",insertRow:"satır ekle",insertColumn:"sütun ekle",link:"bağlantı",insertComment:"yorum ekle",commentEdit:"yorumları düzenle",commentRemove:"yorumu sil",commentPrevious:"Önceki yorum",commentNext:"sonraki yorum",insertImage:"resim ekle",insertControl:"kontrol",fromURL:"URL'den",fromLocal:"yerelden",menuInsert:"a ekle",menuComment:"Kontrol etmek",menuText:"Biçim",menuFont:"yazı tipi",menuEdit:"ön Sayfa",menuFile:"belge"},contextmenu:{copy:"kopyalamak",cut:"kesmek",paste:"yapıştırmak",pasteValue:"Yalnızca değeri yapıştırın",pasteFormat:"Yalnızca biçimlendirmeyi yapıştır",hide:"saklamak",insertRow:"satır ekle",insertColumn:"sütun ekle",deleteSheet:"sayfayı sil",deleteRow:"sırayı sil",deleteColumn:"sütunu sil",deleteCell:"hücreyi sil",deleteCellText:"hücre metnini sil",validation:"Veri doğrulama",sort:"sınıflandırma",link:"bağlantı",removeLink:"bağlantıyı sil",editLink:"bağlantıyı düzenle",openLink:"linki aç",download:"indirmek",cellprintable:"dışa aktarmayı etkinleştir",cellnonprintable:"dışa aktarmayı devre dışı bırak",celleditable:"düzenlemeyi etkinleştir",cellnoneditable:"düzenlemeyi devre dışı bırak",insertURL:"Resim adresini girin",deleteImage:"resmi sil",copyImage:"resmi kopyala",pasteImage:"resim yapıştır",merge:"birleştirmek",unmerge:"çözmek",edit:"düzenlemek",clear:"temizlemek için"},link:{emailAddress:"e-posta",emailSubject:"tema",sheetPage:"dosya konumu",sheetCell:"hücre referansı",linkTypes:{web:"web sayfası",sheet:"bu dosya",email:"e-posta"},webUrl:"url",linkType:"bağlantı türü"},download:{fileName:"dosya adı",saveType:"Farklı kaydet",saveTypes:{Original:"orijinal biçim",XLSX:"XLSX formatı",PDF:"PDF biçimi",HTML:"HTML biçimi"}},print:{setting:"kurmak",orientation:"Sayfa yönlendirmesi",orientations:{landscape:"yatay",portrait:"Vesika"},size:"kağıt boyutu",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"ölçeklendirme oranı",scales:{noscale:"yakınlaştırma yok",fitsheet:"Tek sayfaya sığdır çalışma sayfası",fitcolumns:"Tek sayfa tüm sütunlara uyar",fitrows:"Tek Sayfa Tüm Satırlara Sığar"},order:"emir",orders:{downover:"önce aşağı sonra sağa",overdown:"önce sağa sonra aşağıya"},imageshow:"resim",imageshows:{show:"göstermek",hide:"saklamak"}},format:{normal:"sıradan",text:"düz metin",number:"sayı",percent:"yüzde",rmb:"Yuan",usd:"Dolar",eur:"EUR",date:"tarih",time:"zaman",datetime:"tarih saat",duration:"dönem"},formula:{sum:"Bir dizi değerin toplamını hesaplar",average:"Tüm parametrelerin aritmetik ortalamasını hesaplar",max:"Bir dizi basamaktaki maksimum değeri hesaplar",min:"Bir dizi basamaktaki en küçük değeri hesaplar",_if:"Belirtilen koşulun mantıksal yargı sonucuna göre doğru veya yanlış, karşılık gelen koşul tarafından tetiklenen hesaplama sonucunu döndür",and:'Yalnızca parametrelerin sonuçlarının her ikisi de mantıksal "true" ise mantıksal "true" değerini döndürür, aksi takdirde mantıksal "false" değerini döndürür.',or:'Sonuç, yalnızca tüm parametre değerleri mantıksal olarak "yanlış" ise mantıksal olarak "yanlış" olarak döndürülür, aksi takdirde mantıksal olarak "doğru" olarak döner.',concat:"Hücrelerdeki birden çok karakterli metni veya verileri birbirine bağlayın",count:"sayı içeren hücrelerin sayısını sayar ve bağımsız değişkenler listesindeki sayıları sayar",sumif:"Belirli bir kritere göre belirtilen hücreleri ekler",sumifs:"Birden çok kriteri karşılayan bir aralıktaki hücreleri ekler",vlookup:"Bir dizinin ilk sütununa bakar ve bir hücrenin değerini döndürmek için satır boyunca hareket eder",hlookup:"Bir tablonun veya bir değerler dizisinin üst satırında bir değer arar ve ardından tablo veya dizide belirttiğiniz bir satırdan aynı sütunda bir değer döndürür.",lookup:"Bir vektör veya dizideki değerleri arar",match:"Bir başvuru veya dizideki değerleri arar",rank:"Bir sayı listesindeki bir sayının sırasını döndürür",frequency:"Dikey bir dizi olarak bir frekans dağılımı döndürür",text:"Bir sayıyı biçimlendirir ve metne dönüştürür",left:"Bir metin değerinden en soldaki karakterleri döndürür",right:"Bir metin değerinden en sağdaki karakterleri döndürür",round:"Bir sayıyı belirtilen basamak sayısına yuvarlar",index:"Bir başvurudan veya diziden bir değer seçmek için bir dizin kullanır",countif:"Belirtilen ölçütleri karşılayan bir aralıktaki hücre sayısını sayar",countifs:"Bir aralıktaki birden çok kriteri karşılayan hücre sayısını sayar",mid:"Belirttiğiniz konumdan başlayarak bir metin dizisinden belirli sayıda karakter döndürür",len:"Bir metin dizisindeki karakter sayısını döndürür",power:"Bir kuvvete yükseltilmiş bir sayının sonucunu döndürür",ceiling:"Bir sayıyı en yakın tamsayıya veya en yakın anlamlılık katına yuvarlar",floor:"Bir sayıyı sıfıra doğru aşağı yuvarlar",substitute:"Bir metin dizisindeki eski metnin yerine yeni metni koyar",replace:"Metin içindeki karakterleri değiştirir",search:"Bir metin değerini diğerinin içinde bulur (büyük/küçük harfe duyarlı değildir)",find:"Bir metin değerini diğerinin içinde bulur (büyük/küçük harfe duyarlı)",isnumber:"Değer bir sayı ise DOĞRU döndürür",istext:"Değer metin ise DOĞRU döndürür",isblank:"Değer boşsa DOĞRU döndürür",upper:"Metni büyük harfe dönüştürür",lower:"Metni küçük harfe dönüştürür",product:"Argümanlarını çoğaltır",sumproduct:"Karşılık gelen dizi bileşenlerinin çarpımlarının toplamını döndürür",subtotal:"Listede veya veritabanında bir ara toplam döndürür",counta:"Argüman listesinde kaç tane değer olduğunu sayar",averageif:"Belirli bir kriteri karşılayan bir aralıktaki tüm hücrelerin ortalamasını (aritmetik ortalama) verir",averageifs:"Birden çok kriteri karşılayan tüm hücrelerin ortalamasını (aritmetik ortalama) döndürür.",trim:"Metindeki boşlukları kaldırır",sign:"Bir sayının işaretini döndürür",yield:"Periyodik faiz ödeyen bir menkul kıymetin getirisini verir",abs:"Bir sayının mutlak değerini döndürür",sin:"Verilen açının sinüsünü verir",cos:"Bir sayının kosinüsünü döndürür",tan:"Bir sayının teğetini döndürür"},validation:{required:"gerekli olmalı",notMatch:"doğrulama kurallarına uymuyor",between:"{} ile {} arasındadır",notBetween:"{} ile {} arasında değil",notIn:"listede yok",equal:"{} eşittir",notEqual:"{}'e eşit değil",lessThan:"{} değerinden küçük",lessThanEqual:"{}'den küçük veya eşittir",greaterThan:"{} değerinden büyük",greaterThanEqual:"{}'den büyük veya eşittir",downloadImageFail:"Resim indirilemedi",invalidcell:"Bağlantı hücrelerde hata",invalid:"Keçersiz"},error:{pasteForMergedCell:"Birleştirilmiş hücrelerde bu işlem gerçekleştirilemez"},calendar:{weeks:["Pazar Pazartesi Salı Çarşamba Perşembe Cuma Cumartesi"],months:["Ocak, Şubat, Mart, Nisan, Mayıs, Haziran, Temmuz, Ağustos, Eylül, Ekim, Kasım, Aralık"]},button:{add:"a ekle",del:"silmek",next:"Sonraki",cancel:"İptal etmek",remove:"kaldırmak",save:"kaydetmek",ok:"onaylamak",previous:"Öncesi",close:"kapanış"},sort:{desc:"Sırala Z->A",asc:"A->Z Sırala"},filter:{empty:"boş"},dataValidation:{mode:"modeli",range:"hücre aralığı",criteria:"standart",modeType:{cell:"tek hücre",column:"kolon",row:"astar"},type:{list:"liste",number:"hane",date:"tarih",phone:"Telefon",email:"e-posta"},operator:{be:"arasında",nbe:"arasında değil",lt:"daha az",lte:"küçük veya eşit",gt:"daha fazla",gte:"büyük veya eşittir",eq:"eşit",neq:"eşit değil"}},dataSort:{ci:"kapsam",criteria:"emir",casesense:"harfe duyarlı",sortby:"göre sırala",header:"başlık",msg:"Lütfen alana göre sıralanmış farklı bir sütun seçin",msg2:"Seçim alanında birleştirilmiş alan var, birleştirilmiş alanın sıralanmasını desteklemiyoruz",order:{asc:"Pozitif dizi",desc:"Ters sipariş"}},dataSearch:{label:"içerik bul",lkinlb:"arama aralığı",matchwhole:"tüm içerikle eşleşir",lookin:{values:"metin",formulas:"formül",comments:"dipnot"}},dataComment:{label:"dipnot"},control:{min:"En yüksek değer",max:"en az değer",cur:"Ağımdaki değer",inc:"Artımlı değişiklikler",page:"Sayfa Değişimleri"}},th:{toolbar:{undo:"ถอน",redo:"ทำซ้ำ",print:"พิมพ์",paintformat:"ฟอร์แมตจิตรกร",clearformat:"รูปแบบที่ชัดเจน",format:"รูปแบบข้อมูล",fontName:"ชื่อแบบอักษร",fontSize:"ขนาดตัวอักษร",fontBold:"แบบอักษรตัวหนา",fontItalic:"ตัวอักษรตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดทับ",color:"สีข้อความ",bgcolor:"เติมสี",border:"กรอบ",merge:"ผสานเซลล์",unmerge:"ยกเลิกการผสานเซลล์",align:"การจัดตำแหน่งแนวนอน",valign:"การจัดตำแหน่งแนวตั้ง",textwrap:"ตัดคำ",freeze:"อันดับคงที่",autofilter:"กรอง",formula:"สูตร",more:"มากกว่า",sort:"การจัดหมวดหมู่",download:"ดาวน์โหลด",pagination:"เพจ",search:"ค้นหา",commentDefault:"กรุณาใส่ข้อความ",commentEdit:"แก้ไขความคิดเห็น",commentRemove:"ลบความคิดเห็น",commentPrevious:"ความคิดเห็นที่แล้ว",commentNext:"ความคิดเห็นถัดไป",insertImage:"แทรกรูปภาพ",insertTextBox:"ใส่กล่องข้อความ",insertComboBox:"ใส่กล่องคำสั่งผสม",insertCheckBox:"ใส่กล่องกาเครื่องหมาย",insertRadioButton:"แทรกปุ่มตัวเลือก",insertSpinButton:"ใส่ปุ่มหมุน",insertScrollBar:"แทรกแถบเลื่อน",insertLabel:"ใส่ป้ายกำกับ"},menubar:{undo:"เลิกทำ",redo:"ทำซ้ำ",print:"พิมพ์",paintformat:"ฟอร์แมตจิตรกร",clearformat:"รูปแบบที่ชัดเจน",format:"รูปแบบข้อมูล",fontName:"ชื่อแบบอักษร:",fontSize:"ขนาดตัวอักษร:",fontBold:"แบบอักษรตัวหนา",fontItalic:"ตัวอักษรตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดทับ",color:"สีข้อความ",bgcolor:"เติมสี",border:"กรอบ",merge:"ผสานเซลล์",unmerge:"ยกเลิกการผสานเซลล์",align:"การจัดตำแหน่งแนวนอน",valign:"การจัดตำแหน่งแนวตั้ง",textwrap:"ตัดคำ",freeze:"อันดับคงที่",autofilter:"กรอง",formula:"สูตร",more:"มากกว่า",sort:"การจัดหมวดหมู่",download:"ดาวน์โหลด",download_HTML:"ดาวน์โหลดเป็น HTML",download_PDF:"ดาวน์โหลดเป็น PDF",download_Original:"ดาวน์โหลดต้นฉบับ",download_XLSX:"ดาวน์โหลดเป็น XLSX",download_GOOGLE:"บันทึกไปยัง Google ไดรฟ์",download_DROPBOX:"บันทึกไปยัง Dropbox",pagination:"เพจ",search:"ค้นหา",commentDefault:"กรุณาใส่ข้อความ",insertSheet:"ใส่แผ่นงาน",insertRow:"แทรกแถว",insertColumn:"แทรกคอลัมน์",link:"ลิงค์",insertComment:"เพิ่มความเห็น",commentEdit:"แก้ไขความคิดเห็น",commentRemove:"ลบความคิดเห็น",commentPrevious:"ความคิดเห็นที่แล้ว",commentNext:"ความคิดเห็นถัดไป",insertImage:"แทรกรูปภาพ",insertControl:"ควบคุม",fromURL:"จาก URL",fromLocal:"จากท้องถิ่น",menuInsert:"เพิ่ม",menuComment:"ตรวจสอบ",menuText:"รูปแบบ",menuFont:"แบบอักษร",menuEdit:"หน้าแรก",menuFile:"เอกสาร"},contextmenu:{copy:"สำเนา",cut:"ที่จะตัด",paste:"แปะ",pasteValue:"วางเฉพาะค่า",pasteFormat:"วางรูปแบบเท่านั้น",hide:"ซ่อน",insertRow:"แทรกแถว",insertColumn:"แทรกคอลัมน์",deleteSheet:"ลบแผ่นงาน",deleteRow:"ลบแถว",deleteColumn:"ลบคอลัมน์",deleteCell:"ลบเซลล์",deleteCellText:"ลบข้อความในเซลล์",validation:"การตรวจสอบข้อมูล",sort:"การจัดหมวดหมู่",link:"ลิงค์",removeLink:"ลบลิงค์",editLink:"แก้ไขลิงค์",openLink:"เปิดลิ้งค์",download:"ดาวน์โหลด",cellprintable:"เปิดใช้งานการส่งออก",cellnonprintable:"ปิดใช้งานการส่งออก",celleditable:"เปิดใช้งานการแก้ไข",cellnoneditable:"ปิดใช้งานการแก้ไข",insertURL:"ป้อนที่อยู่รูปภาพ",deleteImage:"ลบรูปภาพ",copyImage:"คัดลอกรูปภาพ",pasteImage:"วางรูปภาพ",merge:"ผสาน",unmerge:"ยกเลิกการผสาน",edit:"แก้ไข",clear:"เพื่อล้าง"},link:{emailAddress:"อีเมล",emailSubject:"ธีม",sheetPage:"ตำแหน่งไฟล์",sheetCell:"การอ้างอิงเซลล์",linkTypes:{web:"หน้าเว็บ",sheet:"ไฟล์นี้",email:"อีเมล"},webUrl:"URL",linkType:"ประเภทลิงค์"},download:{fileName:"ชื่อไฟล์",saveType:"บันทึกเป็น",saveTypes:{Original:"รูปแบบเดิม",XLSX:"รูปแบบ XLSX",PDF:"รูปแบบ PDF",HTML:"รูปแบบ HTML"}},print:{setting:"ตั้งแต่",orientation:"หน้าของการแสดง",orientations:{landscape:"ไม่ลง",portrait:"เนื้อหา"},size:"ขยาย",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"เกิดของ",scales:{noscale:"ไม่ความสามารถช่วยเพื่อเกิดของ",fitsheet:"เพื่อช่วยเพื่อทั้งหมดคลาย",fitcolumns:"เพื่อทั้งหมดที่ช่วยสูง",fitrows:"หน้าเดียวเหมาะกับทุกแถว"},order:"กำลัง",orders:{downover:"ตั้งแต่ตายๆ",overdown:"ตั้งแต่จันทร์ๆ"},imageshow:"ภาพ",imageshows:{show:"แสดง",hide:"Hide"}},format:{normal:"สามัญ",text:"ข้อความธรรมดา",number:"ตัวเลข",percent:"เปอร์เซ็นต์",rmb:"หยวน",usd:"ดอลลาร์",eur:"ยูโร",date:"วันที่",time:"เวลา",datetime:"วันเวลา",duration:"ระยะเวลา"},formula:{sum:"คำนวณผลรวมของชุดค่าต่างๆ",average:"คำนวณค่าเฉลี่ยเลขคณิตของพารามิเตอร์ทั้งหมด",max:"คำนวณค่าสูงสุดในชุดของหลัก",min:"คำนวณค่าที่น้อยที่สุดในชุดของหลัก",_if:"ตามผลการตัดสินเชิงตรรกะของเงื่อนไขที่ระบุเป็นจริงหรือเท็จ ให้ส่งคืนผลการคำนวณที่ทริกเกอร์ตามเงื่อนไขที่สอดคล้องกัน",and:'จะส่งกลับตรรกะ "จริง" ก็ต่อเมื่อผลลัพธ์ของพารามิเตอร์มีทั้งตรรกะ "จริง" มิฉะนั้นจะส่งกลับตรรกะ "เท็จ"',or:'ผลลัพธ์จะถูกส่งกลับเป็นตรรกะ "เท็จ" เฉพาะในกรณีที่ค่าพารามิเตอร์ทั้งหมดเป็น "เท็จ" ทางตรรกะ มิฉะนั้นจะส่งกลับทางตรรกะ "จริง"',concat:"เชื่อมต่อข้อความหรือข้อมูลหลายตัวในเซลล์เข้าด้วยกัน",count:"นับจำนวนเซลล์ที่มีตัวเลข และนับจำนวนภายในรายการอาร์กิวเมนต์",sumif:"เพิ่มเซลล์ที่ระบุโดยเกณฑ์ที่กำหนด",sumifs:"เพิ่มเซลล์ในช่วงที่ตรงตามเกณฑ์หลายข้อ",vlookup:"ดูในคอลัมน์แรกของอาร์เรย์และเลื่อนข้ามแถวเพื่อส่งกลับค่าของเซลล์",hlookup:"ค้นหาค่าในแถวบนสุดของตารางหรืออาร์เรย์ของค่า แล้วส่งกลับค่าในคอลัมน์เดียวกันจากแถวที่คุณระบุในตารางหรืออาร์เรย์",lookup:"ค้นหาค่าในเวกเตอร์หรืออาร์เรย์",match:"ค้นหาค่าในการอ้างอิงหรืออาร์เรย์",rank:"ส่งกลับอันดับของตัวเลขในรายการตัวเลข",frequency:"ส่งกลับการแจกแจงความถี่เป็นอาร์เรย์แนวตั้ง",text:"จัดรูปแบบตัวเลขและแปลงเป็นข้อความ",left:"ส่งกลับอักขระซ้ายสุดจากค่าข้อความ",right:"ส่งกลับอักขระที่อยู่ขวาสุดจากค่าข้อความ",round:"ปัดเศษตัวเลขเป็นจำนวนหลักที่ระบุ",index:"ใช้ดัชนีเพื่อเลือกค่าจากการอ้างอิงหรืออาร์เรย์",countif:"นับจำนวนเซลล์ภายในช่วงที่ตรงตามเกณฑ์ที่กำหนด",countifs:"นับจำนวนเซลล์ภายในช่วงที่ตรงตามเกณฑ์หลายข้อ",mid:"ส่งคืนอักขระจำนวนหนึ่งจากสตริงข้อความที่เริ่มต้นที่ตำแหน่งที่คุณระบุ",len:"ส่งกลับจำนวนอักขระในสตริงข้อความ",power:"ส่งคืนผลลัพธ์ของตัวเลขที่ยกกำลัง",ceiling:"ปัดเศษตัวเลขให้เป็นจำนวนเต็มที่ใกล้เคียงที่สุดหรือเป็นผลคูณของนัยสำคัญที่ใกล้ที่สุด",floor:"ปัดตัวเลขลง เข้าหาศูนย์",substitute:"แทนที่ข้อความใหม่สำหรับข้อความเก่าในสตริงข้อความ",replace:"แทนที่อักขระภายในข้อความ",search:"ค้นหาค่าข้อความหนึ่งค่าภายในค่าอื่น (ไม่คำนึงถึงตัวพิมพ์เล็กและใหญ่)",find:"ค้นหาค่าข้อความหนึ่งค่าภายในค่าอื่น (คำนึงถึงตัวพิมพ์เล็กและใหญ่)",isnumber:"ส่งกลับค่า TRUE หากค่าเป็นตัวเลข",istext:"คืนค่า TRUE หากค่าเป็นข้อความ",isblank:"คืนค่า TRUE หากค่าเป็นค่าว่าง",upper:"แปลงข้อความเป็นตัวพิมพ์ใหญ่",lower:"แปลงข้อความเป็นตัวพิมพ์เล็ก",product:"ทวีคูณอาร์กิวเมนต์",sumproduct:"ส่งคืนผลรวมของผลคูณของส่วนประกอบอาร์เรย์ที่สอดคล้องกัน",subtotal:"ส่งคืนผลรวมย่อยในรายการหรือฐานข้อมูล",counta:"นับจำนวนค่าที่อยู่ในรายการอาร์กิวเมนต์",averageif:"ส่งกลับค่าเฉลี่ย (ค่าเฉลี่ยเลขคณิต) ของเซลล์ทั้งหมดในช่วงที่ตรงกับเกณฑ์ที่กำหนด",averageifs:"ส่งกลับค่าเฉลี่ย (ค่าเฉลี่ยเลขคณิต) ของเซลล์ทั้งหมดที่ตรงกับหลายเกณฑ์",trim:"ลบช่องว่างออกจากข้อความ",sign:"ส่งคืนเครื่องหมายของตัวเลข",yield:"ส่งคืนผลตอบแทนของหลักทรัพย์ที่จ่ายดอกเบี้ยเป็นงวด",abs:"คืนค่าสัมบูรณ์ของตัวเลข",sin:"คืนค่าไซน์ของมุมที่กำหนด",cos:"คืนค่าโคไซน์ของตัวเลข",tan:"ส่งคืนแทนเจนต์ของตัวเลข"},validation:{required:"จะต้องมี",notMatch:"ไม่ตรงกับกฎการตรวจสอบ",between:"อยู่ระหว่าง {} ถึง {}",notBetween:"ไม่อยู่ระหว่าง {} ถึง {}",notIn:"มันไม่ได้อยู่ในรายการ",equal:"มันเท่ากับ {}",notEqual:"มันไม่เท่ากับ {}",lessThan:"มีค่าน้อยกว่า {}",lessThanEqual:"มันน้อยกว่าหรือเท่ากับ {}",greaterThan:"มันมากกว่า {}",greaterThanEqual:"มันมากกว่าหรือเท่ากับ {}",downloadImageFail:"ดาวน์โหลดภาพไม่สำเร็จ",invalidcell:"เซลล์ที่เชื่อมโยงมีข้อผิดพลาด",invalid:"ไม่ถูกต้อง"},error:{pasteForMergedCell:"ไม่สามารถดำเนินการนี้กับเซลล์ที่ผสาน"},calendar:{weeks:["อาทิตย์, จันทร์, อังคาร, พุธ, พฤหัสบดี, ศุกร์, เสาร์"],months:["มกราคม กุมภาพันธ์ มีนาคม เมษายน พฤษภาคม มิถุนายน กรกฎาคม สิงหาคม กันยายน ตุลาคม พฤศจิกายน ธันวาคม"]},button:{add:"เพิ่ม",del:"ลบ",next:"ต่อไป",cancel:"ยกเลิก",remove:"ลบ",save:"บันทึก",ok:"ยืนยัน",previous:"ก่อนหน้า",close:"ปิด"},sort:{desc:"เรียง Z->A",asc:"เรียง A->Z"},filter:{empty:"ว่างเปล่า"},dataValidation:{mode:"แบบอย่าง",range:"ช่วงเซลล์",criteria:"มาตรฐาน",modeType:{cell:"เซลล์เดียว",column:"คอลัมน์",row:"เส้น"},type:{list:"รายการ",number:"หลัก",date:"วันที่",phone:"โทรศัพท์",email:"อีเมล"},operator:{be:"ระหว่าง",nbe:"ไม่ใช่ระหว่าง",lt:"น้อยกว่า",lte:"น้อยกว่าหรือเท่ากับ",gt:"มากกว่า",gte:"มากกว่าหรือเท่ากับ",eq:"เท่ากัน",neq:"ไม่เท่ากับ"}},dataSort:{ci:"ขอบเขต",criteria:"คำสั่ง",casesense:"กรณีที่สำคัญ",sortby:"จัดเรียงตาม",header:"ชื่อ",msg:"โปรดเลือกคอลัมน์อื่นที่จัดเรียงตามฟิลด์",msg2:"พื้นที่การเลือกมีพื้นที่ที่ผสาน เราไม่สนับสนุนการเรียงลำดับพื้นที่ที่ผสาน",order:{asc:"ลำดับที่เป็นบวก",desc:"ลำดับย้อนกลับ"}},dataSearch:{label:"ค้นหาเนื้อหา",lkinlb:"ช่วงการค้นหา",matchwhole:"ตรงกับเนื้อหาทั้งหมด",lookin:{values:"ข้อความ",formulas:"สูตร",comments:"คำอธิบายประกอบ"}},dataComment:{label:"คำอธิบายประกอบ"},control:{min:"ค่าต่ำสุด",max:"สูงสุด",cur:"ค่าปัจจุบัน",inc:"การเปลี่ยนแปลงที่เพิ่มขึ้น",page:"การเปลี่ยนแปลงหน้า"}},cht:{toolbar:{undo:"撤銷",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"數據格式",fontName:"字體名稱",fontSize:"字體大小",fontBold:"字體粗體",fontItalic:"字體斜體",underline:"下劃綫",strike:"刪除綫",color:"文字顏色",bgcolor:"填充顏色",border:"邊框",merge:"合併單元格",unmerge:"取消合併單元格",align:"水平對齊",valign:"垂直對齊",textwrap:"文字換行",freeze:"固定行列",autofilter:"過濾器",formula:"公式",more:"更多",sort:"分類",download:"下載",pagination:"分頁",search:"搜索",commentDefault:"請輸入文字",commentEdit:"編輯批注",commentRemove:"删除批注",commentPrevious:"上一條批注",commentNext:"下一條批注",insertImage:"插入圖片",insertTextBox:"插入文本框",insertComboBox:"插入組合框",insertCheckBox:"插入複選框",insertRadioButton:"插入選項按鈕",insertSpinButton:"插入增減按鈕",insertScrollBar:"插入滾動條",insertLabel:"插入標籤"},menubar:{undo:"撤消",redo:"重做",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"數據格式",fontName:"字體名稱:",fontSize:"字體大小:",fontBold:"字體粗體",fontItalic:"字體斜體",underline:"下劃綫",strike:"刪除綫",color:"文字顏色",bgcolor:"填充顏色",border:"邊框",merge:"合併單元格",unmerge:"取消合併單元格",align:"水平對齊",valign:"垂直對齊",textwrap:"文字換行",freeze:"固定行列",autofilter:"過濾器",formula:"公式",more:"更多",sort:"分類",download:"下載",download_HTML:"下載為HTML",download_PDF:"下載為PDF",download_Original:"下載原件",download_XLSX:"下載為XLSX",download_GOOGLE:"保存至GoogleDrive",download_DROPBOX:"保存至Dropbox",pagination:"分頁",search:"搜索",commentDefault:"請輸入文字",insertSheet:"插入工作表",insertRow:"插入行",insertColumn:"插入列",link:"連結",insertComment:"添加批注",commentEdit:"編輯批注",commentRemove:"删除批注",commentPrevious:"上一條批注",commentNext:"下一條批注",insertImage:"插入圖片",insertControl:"控件",fromURL:"來自URL",fromLocal:"來自本地",menuInsert:"添加",menuComment:"查看",menuText:"格式",menuFont:"字體",menuEdit:"首頁",menuFile:"文件"},contextmenu:{copy:"複製",cut:"剪切",paste:"粘貼",pasteValue:"僅粘貼值",pasteFormat:"僅粘貼格式",hide:"隱藏",insertRow:"插入行",insertColumn:"插入列",deleteSheet:"删去工作表",deleteRow:"删除行",deleteColumn:"删除列",deleteCell:"删除儲存格",deleteCellText:"删除儲存格文字",validation:"數據驗證",sort:"分類",link:"連結",removeLink:"删除連結",editLink:"編輯連結",openLink:"打開連結",download:"下載",cellprintable:"啟用匯出",cellnonprintable:"禁用匯出",celleditable:"啟用編輯",cellnoneditable:"禁用編輯",insertURL:"輸入影像地址",deleteImage:"删除圖片",copyImage:"複製圖片",pasteImage:"粘貼圖片",merge:"合併",unmerge:"取消合併",edit:"編輯",clear:"清除"},link:{emailAddress:"電子郵箱",emailSubject:"主題",sheetPage:"檔案位置",sheetCell:"儲存格引用",linkTypes:{web:"網頁",sheet:"本檔案",email:"電子郵箱"},webUrl:"網址",linkType:"連結類型"},download:{fileName:"文檔名稱",saveType:"另存為",saveTypes:{Original:"原格式",XLSX:"XLSX格式",PDF:"PDF格式",HTML:"HTML格式"}},print:{setting:"設定",orientation:"頁面方向",orientations:{landscape:"橫向",portrait:"縱向"},size:"紙張尺寸",sizes:{A3:"A3",A4:"A4",A5:"A5",B4:"B4",B5:"B5"},scale:"比例",scales:{noscale:"無縮放",fitsheet:"單頁適應表格",fitcolumns:"單頁適應所有列",fitrows:"單頁適應所有行"},order:"順序",orders:{downover:"先向下再向右",overdown:"先向右再向下"},imageShow:"圖片",imageShows:{show:"顯示",hide:"隱藏"}},format:{normal:"普通",text:"純文字",number:"數字",percent:"百分比",rmb:"人民幣",usd:"美元",eur:"歐元",date:"日期",time:"時間",datetime:"日期時間",duration:"期間"},formula:{sum:"計算一組值的總和",average:"計算所有參數的算術平均值",max:"計算一組數位中的最大值",min:"計算一組數位中的最小值",_if:"根據指定條件的邏輯判斷結果的真或假,返回相應條件觸發的計算結果",and:"只有當參數的結果都是邏輯“true”時,它才會返回邏輯“true”,否則返回邏輯“false”",or:"只有當所有參數值在邏輯上都為“false”時,結果才返回為邏輯“false”,否則返回為邏輯上的“true”",concat:"將單元格中的多個字符文本或數據連接在一起",count:"計算包含數字的單元格數量,併計算參數列表中的數字",sumif:"添加給定條件指定的單元格",sumifs:"添加滿足多個條件的範圍內的單元格",vlookup:"查看數組的第一列並跨行移動以返回單元格的值",hlookup:"在表的第一行或值數組中搜索一個值,然後從您在表或數組中指定的行的同一列中返回一個值",lookup:"在向量或數組中查找值",match:"在引用或數組中查找值",rank:"返回一個數字在數字列表中的排名",frequency:"以垂直數組形式返回頻率分佈",text:"格式化數字並將其轉換為文本",left:"返回文本值最左邊的字符",right:"返回文本值中最右邊的字符",round:"將數字四捨五入到指定位數",index:"使用索引從引用或數組中選擇一個值",countif:"計算範圍內滿足給定條件的單元格數",countifs:"計算範圍內滿足多個條件的單元格數",mid:"從指定位置開始的文本字符串中返回特定數量的字符",len:"返回文本字符串中的字符數",power:"返回一個數的冪的結果",ceiling:"將數字四捨五入到最接近的整數或最接近的有效倍數",floor:"將數字向下舍入為零",substitute:"用新文本替換文本字符串中的舊文本",replace:"替換文本中的字符",search:"在另一個文本值中查找一個文本值(不區分大小寫)",find:"在一個文本值中查找另一個文本值(區分大小寫)",isnumber:"如果值為數字則返回 TRUE",istext:"如果值為文本則返回 TRUE",isblank:"如果值為空則返回 TRUE",upper:"將文本轉換為大寫",lower:"將文本轉換為小寫",product:"乘以它的論點",sumproduct:"返回對應數組元素的乘積之和",subtotal:"返回列表或數據庫中的小計",counta:"計算參數列表中有多少個值",averageif:"返回範圍內滿足給定條件的所有單元格的平均值(算術平均值)",averageifs:"返回滿足多個條件的所有單元格的平均值(算術平均值)。",trim:"從文本中刪除空格",sign:"返回數字的符號",yield:"返回支付定期利息的證券的收益率",abs:"返回數字的絕對值",sin:"返回給定角度的正弦值",cos:"返回數字的餘弦值",tan:"返回數字的正切"},validation:{required:"它必須是必需的",notMatch:"它與其驗證規則不匹配",between:"它介於{}和{}之間",notBetween:"它不在{}和{}之間",notIn:"它不在清單中",equal:"它等於{}",notEqual:"它不等於{}",lessThan:"它小於{}",lessThanEqual:"它小於或等於{}",greaterThan:"它大於{}",greaterThanEqual:"它大於或等於{}",downloadImageFail:"下載影像失敗",invalidcell:"連結的儲存格有誤",invalid:"無效"},error:{pasteForMergedCell:"無法對合併的儲存格執行此操作"},calendar:{weeks:["周日、週一、週二、週三、週四、週五、週六"],months:["一月、二月、三月、四月、五月、六月、七月、八月、九月、十月、十一月、十二月"]},button:{add:"添加",del:"删除",next:"下一個",cancel:"取消",remove:"去除",save:"保存",ok:"確認",previous:"前一個",close:"關閉"},sort:{desc:"排序Z->A",asc:"排序A->Z"},filter:{empty:"空的"},dataValidation:{mode:"模式",range:"儲存格範圍",criteria:"標準",modeType:{cell:"單間牢房",column:"柱",row:"一行"},type:{list:"清單",number:"數位",date:"日期",phone:"電話",email:"電子郵件"},operator:{be:"之間",nbe:"不介於",lt:"少於",lte:"小於或等於",gt:"大於",gte:"大於或等於",eq:"等於",neq:"不等於"}},dataSort:{ci:"範圍",criteria:"順序",casesense:"區分大小寫",sortby:"排序依據",header:"標題",msg:"請選擇按欄位排序的不同列",msg2:"選擇區域有合併區域,我們不支持對合併區域進行排序",order:{asc:"正序",desc:"逆序"}},dataSearch:{label:"查找內容",lkinlb:"查找範圍",matchwhole:"匹配整個內容",lookin:{values:"文本",formulas:"公式",comments:"批注"}},dataComment:{label:"批注"},control:{min:"最小值",max:"最大值",cur:"當前值",inc:"增量更改",page:"頁面更改"}}};function J(e,t){if(t){var i,n=V(K);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(!t[r])break;for(var a=t[r],o=e.match(/(?:\\.|[^.])+/g),s=0;s<o.length;s+=1){var l=a[o[s]];if(!l)break;if(s===o.length-1)return l;a=l}}}catch(e){n.e(e)}finally{n.f()}}}function Q(e){var t=J(e,Z);return!t&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(t=J(e,window.x_spreadsheet.$messages)),t||""}function ee(e){return function(){return Q(e)}}function te(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i?K=[e]:K.unshift(e),t&&(Z[e]=t)}function ie(e){Z[e]||(e="en"),K[0]=e}var ne=function(e){for(var t=[],i=[],n=[],r=0,a="",o=1,s="",h=0;h<e.length;h+=1){var c=e.charAt(h);if(" "!==c){if(c>="a"&&c<="z")n.push(c.toUpperCase());else if(c>="0"&&c<="9"||c>="A"&&c<="Z"||"."===c)n.push(c);else if('"'===c){for(h+=1;'"'!==e.charAt(h);)n.push(e.charAt(h)),h+=1;i.push('"'.concat(n.join(""))),n=[]}else if("-"===c&&/[+\-*/,(]/.test(s))n.push(c);else{if("("!==c&&n.length>0&&i.push(n.join("")),")"===c){var u=t.pop();if(2===r)try{for(var d=x(i.pop()),f=l()(d,2),v=f[0],g=f[1],p=x(i.pop()),m=l()(p,2),y=m[0],b=m[1],w=0,q=y;q<=v;q+=1)for(var C=b;C<=g;C+=1)i.push(k(q,C)),w+=1;i.push([u,w])}catch(e){}else if(1===r||3===r)3===r&&i.push(a),i.push([u,o]),o=1;else for(;"("!==u&&(i.push(u),!(t.length<=0));)u=t.pop();r=0}else if("="===c||">"===c||"<"===c){var S=e.charAt(h+1);a=c,"="!==S&&"-"!==S||(a+=S,h+=1),r=3}else if(":"===c)r=2;else if(","===c)3===r&&i.push(a),r=1,o+=1;else if("("===c&&n.length>0)t.push(n.join(""));else{if(t.length>0&&("+"===c||"-"===c)){var T=t[t.length-1];if("("!==T&&i.push(t.pop()),"*"===T||"/"===T)for(;t.length>0&&"("!==(T=t[t.length-1]);)i.push(t.pop())}t.push(c)}n=[]}s=c}}for(n.length>0&&i.push(n.join(""));t.length>0;)i.push(t.pop());return i},re=function(e,t){var i=l()(e,1)[0],n=e;if('"'===i)return e.substring(1);var r=1;if("-"===i&&(n=e.substring(1),r=-1),n[0]>="0"&&n[0]<="9")return r*Number(n);var a,o=x(n),s=l()(o,2),h=t(s[0],s[1]);return 0===h.length?"":(a=h,!isNaN(parseFloat(a))&&isFinite(a)?r*Number(h):h)},ae=function(e,t,i,n){for(var r=[],a=0;a<e.length;a+=1){var o=e[a],s=o[0];if("+"===o){var h=r.pop();r.push(P("+",r.pop(),h))}else if("-"===o)if(1===r.length){var c=r.pop();r.push(P("*",c,-1))}else{var u=r.pop();r.push(P("-",r.pop(),u))}else if("LEN"===o)r.push(r.pop().length);else if("*"===o)r.push(P("*",r.pop(),r.pop()));else if("/"===o){var d=r.pop();r.push(P("/",r.pop(),d))}else if("="===s||">"===s||"<"===s){var f=r.pop();Number.isNaN(f)||(f=Number(f));var v=r.pop();Number.isNaN(v)||(v=Number(v));var g=!1;"="===s?g=v===f:">"===o?g=v>f:">="===o?g=v>=f:"<"===o?g=v<f:"<="===o&&(g=v<=f),r.push(g)}else if(Array.isArray(o)){for(var p=l()(o,2),m=p[0],y=p[1],b=[],w=0;w<y;w+=1)b.push(r.pop());r.push(t[m].render(b.reverse()))}else{if(n.includes(o))return 0;(s>="a"&&s<="z"||s>="A"&&s<="Z")&&n.push(o),r.push(re(o,i)),n.pop()}}return r[0]},oe=function e(t,i,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if("="===t[0]){var a=ne(t.substring(1));return a.length<=0?t:ae(a,i,(function(t,a){return e(n(t,a),i,n,r)}),r)}return t},se=[{key:"SUM",title:ee("formula.sum"),render:function(e){return e.reduce((function(e,t){return P("+",e,t)}),0)},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"AVERAGE",title:ee("formula.average"),render:function(e){return e.reduce((function(e,t){return Number(e)+Number(t)}),0)/e.length},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"MAX",title:ee("formula.max"),render:function(e){return Math.max.apply(Math,y()(e.map((function(e){return Number(e)}))))},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"MIN",title:ee("formula.min"),render:function(e){return Math.min.apply(Math,y()(e.map((function(e){return Number(e)}))))},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"IF",title:ee("formula._if"),render:function(e){var t=l()(e,3),i=t[0],n=t[1],r=t[2];return i?n:r},tipInfo:{repeat:!1,args:[{name:"logical_test",required:!0},{name:"value_if_true",required:!1},{name:"value_if_false",required:!1}]}},{key:"AND",title:ee("formula.and"),render:function(e){return e.every((function(e){return e}))},tipInfo:{repeat:!0,args:[{name:"logical",required:!1}]}},{key:"OR",title:ee("formula.or"),render:function(e){return e.some((function(e){return e}))},tipInfo:{repeat:!0,args:[{name:"logical",required:!1}]}},{key:"CONCAT",title:ee("formula.concat"),render:function(e){return e.join("")},tipInfo:{repeat:!0,args:[{name:"text",required:!1}]}},{key:"COUNT",title:ee("formula.count"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"value",required:!1}]}},{key:"SUMIF",title:ee("formula.sumif"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"range",required:!0},{name:"criteria",required:!1},{name:"sum_range",required:!1}]}},{key:"SUMIFS",title:ee("formula.sumifs"),render:function(e){return e},tipInfo:{repeat:!0,repeatstart:1,repeatcount:2,args:[{name:"sum_range",required:!0},{name:"criteria_range",required:!1},{name:"criteria",required:!1}]}},{key:"VLOOKUP",title:ee("formula.vlookup"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"table_array",required:!0},{name:"col_index_num",required:!0},{name:"range_lookup",required:!1}]}},{key:"HLOOKUP",title:ee("formula.hlookup"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"table_array",required:!0},{name:"row_index_num",required:!0},{name:"range_lookup",required:!1}]}},{key:"LOOKUP",title:ee("formula.lookup"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"lookup_vector|array",required:!0},{name:"result_vector",required:!1}]}},{key:"MATCH",title:ee("formula.match"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"lookup_value",required:!0},{name:"lookup_array",required:!0},{name:"match_type",required:!1}]}},{key:"RANK",title:ee("formula.frequency"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"ref",required:!0},{name:"order",required:!1}]}},{key:"FREQUENCY",title:ee("formula.frequency"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"data_array",required:!0},{name:"bins_array",required:!0}]}},{key:"TEXT",title:ee("formula.text"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0},{name:"format_text",required:!0}]}},{key:"LEFT",title:ee("formula.left"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"num_chars",required:!0}]}},{key:"RIGHT",title:ee("formula.right"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"num_chars",required:!0}]}},{key:"ROUND",title:ee("formula.round"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"num_digits",required:!0}]}},{key:"INDEX",title:ee("formula.index"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"array",required:!0},{name:"row_num",required:!0},{name:"col_num",required:!1}]}},{key:"COUNTIF",title:ee("formula.countif"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"range",required:!0},{name:"criteria",required:!0}]}},{key:"COUNTIFS",title:ee("formula.countifs"),render:function(e){return e},tipInfo:{repeat:!0,repeatstart:0,repeatcount:2,args:[{name:"criteria_range",required:!1},{name:"criteria",required:!1}]}},{key:"COUNTA",title:ee("formula.counta"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"value",required:!1}]}},{key:"AVERAGEIF",title:ee("formula.averageif"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"range",required:!0},{name:"criteria",required:!0},{name:"average_range",required:!1}]}},{key:"AVERAGEIFS",title:ee("formula.averageifs"),render:function(e){return e},tipInfo:{repeat:!0,repeatstart:1,repeatcount:2,args:[{name:"average_range",required:!0},{name:"criteria_range",required:!1},{name:"criteria",required:!1}]}},{key:"TRIM",title:ee("formula.trim"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"SIGN",title:ee("formula.sign"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"ABS",title:ee("formula.abs"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"TAN",title:ee("formula.tan"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"SIN",title:ee("formula.sin"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"COS",title:ee("formula.cos"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0}]}},{key:"YIELD",title:ee("formula.yield"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"settlement",required:!0},{name:"maturity",required:!0},{name:"rate",required:!0},{name:"pr",required:!0},{name:"redemption",required:!0},{name:"frequency",required:!0},{name:"basis",required:!1}]}},{key:"MID",title:ee("formula.mid"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"start_num",required:!0},{name:"num_chars",required:!0}]}},{key:"LEN",title:ee("formula.len"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"POWER",title:ee("formula.power"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"power",required:!0}]}},{key:"CEILING",title:ee("formula.ceiling"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"significance",required:!0}]}},{key:"FLOOR",title:ee("formula.floor"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"number",required:!0},{name:"significance",required:!0}]}},{key:"SUBSTITUTE",title:ee("formula.substitute"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0},{name:"old_text",required:!0},{name:"new_text",required:!0},{name:"instance_num",required:!1}]}},{key:"REPLACE",title:ee("formula.replace"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"old_text",required:!0},{name:"start_num",required:!0},{name:"num_chars",required:!0},{name:"new_text",required:!0}]}},{key:"SEARCH",title:ee("formula.search"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"find_text",required:!0},{name:"within_text",required:!0},{name:"start_num",required:!1}]}},{key:"FIND",title:ee("formula.find"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"find_text",required:!0},{name:"within_text",required:!0},{name:"start_num",required:!1}]}},{key:"ISNUMBER",title:ee("formula.isnumber"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0}]}},{key:"ISTEXT",title:ee("formula.istext"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0}]}},{key:"ISBLANK",title:ee("formula.isblank"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"value",required:!0}]}},{key:"UPPER",title:ee("formula.upper"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"LOWER",title:ee("formula.lower"),render:function(e){return e},tipInfo:{repeat:!1,args:[{name:"text",required:!0}]}},{key:"PRODUCT",title:ee("formula.product"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"number",required:!1}]}},{key:"SUMPRODUCT",title:ee("formula.sumproduct"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"array",required:!1}]}},{key:"SUBTOTAL",title:ee("formula.subtotal"),render:function(e){return e},tipInfo:{repeat:!0,args:[{name:"function_num",required:!0},{name:"ref",required:!1}]}}],le=se,he={};se.forEach((function(e){he[e.key]=e}));var ce={phone:/^[1-9]\d{10}$/,email:/^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/};function ue(e,t){var i="";if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];i=Q.apply(void 0,["validation.".concat(t)].concat(r))}return[e,i]}var de=function(){function e(t,i,n,r){c()(this,e),this.required=i,this.value=n,this.type=t,this.operator=r,this.message=""}var t,i;return o()(e,[{key:"parseValueInput",value:function(e){e=function(e){if(/<[a-z][\s\S]*>/i.test(e)){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}return e}(e);var t=this.type;return"date"===t?new Date(e):"number"===t||"decimal"===t?Number(e):"textlength"===t?e.length:e}},{key:"parseValue",value:function(e,t){"="===e[0]&&(e=oe(e||"",he,(function(e,i){return t.getCellTextOrDefault(i,e)})));var i=this.type;return"date"===i?new Date(e):"number"===i||"decimal"===i?e.endsWith("%")?Number(e.substr(0,e.length-1))/100:Number(e):e}},{key:"equals",value:function(e){var t=this.type===e.type&&this.required===e.required&&this.operator===e.operator;return t&&(t=Array.isArray(this.value)?j.arrayEquals(this.value,e.value):this.value===e.value),t}},{key:"values",value:(i=r()(d.a.mark((function e(t){var i,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("="!==(i=this.value)[0]){e.next=8;break}return e.next=4,t.getListValue(i.substr(1));case 4:return n=e.sent,e.abrupt("return",n.map((function(e){return""===e.v&&(e.v=" "),e.v&&(e.title=e.v,delete e.v),e})));case 8:return e.abrupt("return",i.split(","));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"validate",value:(t=r()(d.a.mark((function e(t,i){var n,r,a,o,s,h,c,u,f,v,g,p;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.required,r=this.operator,a=this.value,o=this.type,!n||!/^\s*$/.test(t)){e.next=3;break}return e.abrupt("return",ue(!1,"required"));case 3:if(!/^\s*$/.test(t)){e.next=5;break}return e.abrupt("return",[!0]);case 5:if(!ce[o]||ce[o].test(t)){e.next=7;break}return e.abrupt("return",ue(!1,"notMatch"));case 7:if("list"!==o){e.next=12;break}return e.next=10,this.values(i);case 10:return s=e.sent,e.abrupt("return",ue(s.map((function(e){return e.title?e.title:e})).includes(t),"notIn"));case 12:if(!r){e.next=32;break}if(h=this.parseValueInput(t),"be"!==r){e.next=17;break}return c=l()(a,2),u=c[0],f=c[1],e.abrupt("return",ue(h>=this.parseValue(u,i)&&h<=this.parseValue(f,i),"between",u,f));case 17:if("nbe"!==r){e.next=20;break}return v=l()(a,2),g=v[0],p=v[1],e.abrupt("return",ue(h<this.parseValue(g,i)||h>this.parseValue(p,i),"notBetween",g,p));case 20:if("eq"!==r){e.next=22;break}return e.abrupt("return",ue(h===this.parseValue(a,i),"equal",a));case 22:if("neq"!==r){e.next=24;break}return e.abrupt("return",ue(h!==this.parseValue(a,i),"notEqual",a));case 24:if("lt"!==r){e.next=26;break}return e.abrupt("return",ue(h<this.parseValue(a,i),"lessThan",a));case 26:if("lte"!==r){e.next=28;break}return e.abrupt("return",ue(h<=this.parseValue(a,i),"lessThanEqual",a));case 28:if("gt"!==r){e.next=30;break}return e.abrupt("return",ue(h>this.parseValue(a,i),"greaterThan",a));case 30:if("gte"!==r){e.next=32;break}return e.abrupt("return",ue(h>=this.parseValue(a,i),"greaterThanEqual",a));case 32:return e.abrupt("return",[!0]);case 33:case"end":return e.stop()}}),e,this)}))),function(e,i){return t.apply(this,arguments)})}]),e}(),fe=function(){function e(t,i,n){c()(this,e),this.refs=i,this.mode=t,this.validator=n}return o()(e,[{key:"includes",value:function(e,t){for(var i=this.refs,n=0;n<i.length;n+=1){if(S.valueOf(i[n]).includes(e,t))return!0}return!1}},{key:"addRef",value:function(e){this.remove(S.valueOf(e)),this.refs.push(e)}},{key:"remove",value:function(e){var t=[];this.refs.forEach((function(i){var n=S.valueOf(i);n.intersects(e)?n.difference(e).forEach((function(e){return t.push(e.toString())})):t.push(i)})),this.refs=t}},{key:"getData",value:function(){var e=this.refs,t=this.mode,i=this.validator;return{refs:e,mode:t,type:i.type,required:i.required,operator:i.operator,value:i.value}}}],[{key:"valueOf",value:function(t){var i=t.refs,n=t.mode,r=t.type,a=t.required,o=t.operator,s=t.value;return new e(n,i,new de(r,a,s,o))}}]),e}(),ve=function(){function e(){c()(this,e),this._=[],this.errors=new Map}var t;return o()(e,[{key:"getError",value:function(e,t){return this.errors.get("".concat(e,"_").concat(t))}},{key:"validate",value:(t=r()(d.a.mark((function e(t,i,n,r){var a,o,s,h,c,u,f;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=this.get(t,i),o="".concat(t,"_").concat(i),s=this.errors,null===a){e.next=13;break}return e.next=6,a.validator.validate(n,r);case 6:h=e.sent,c=l()(h,2),u=c[0],f=c[1],u?s.delete(o):s.set(o,f),e.next=14;break;case 13:s.delete(o);case 14:return e.abrupt("return",!0);case 15:case"end":return e.stop()}}),e,this)}))),function(e,i,n,r){return t.apply(this,arguments)})},{key:"add",value:function(e,t,i){var n=i.type,r=i.required,a=i.value,o=i.operator,s=new de(n,r,a,o),l=this.getByValidator(s);null!==l?l.addRef(t):this._.push(new fe(e,[t],s))}},{key:"getByValidator",value:function(e){for(var t=0;t<this._.length;t+=1){var i=this._[t];if(i.validator.equals(e))return i}return null}},{key:"get",value:function(e,t){for(var i=0;i<this._.length;i+=1){var n=this._[i];if(n.includes(e,t))return n}return null}},{key:"remove",value:function(e){var t="".concat(e.sri,"_").concat(e.sci);this.errors.has(t)&&this.errors.delete(t),this.each((function(t){t.remove(e)}))}},{key:"each",value:function(e){this._.forEach((function(t){return e(t)}))}},{key:"getData",value:function(){return this._.filter((function(e){return e.refs.length>0})).map((function(e){return e.getData()}))}},{key:"setData",value:function(e){this._=e.map((function(e){return fe.valueOf(e)}))}}]),e}(),ge=function e(){c()(this,e),this.keywords="",this.current=1,this.result=[]},pe=i(3),me=i.n(pe),ye=i(4),be=i.n(ye),we=i(1),qe=i.n(we),xe="x-spreadsheet";window.devicePixelRatio;function ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ce=function(e){me()(i,e);var t=ke(i);function i(e){var n;return c()(this,i),(n=t.call(this,"div","".concat(xe,"-icon"))).iconNameEl=p("div","".concat(xe,"-icon-img ").concat(e)),n.child(n.iconNameEl),n}return o()(i,[{key:"setName",value:function(e){this.iconNameEl.className("".concat(xe,"-icon-img ").concat(e))}}]),i}(g),Se=function(e,t){var i=p("div","".concat(xe,"-item")).child(new Ce(e));return t&&i.child(t),i};function Te(e,t,i){var n=p("div","".concat(xe,"-toast")),r=p("div","".concat(xe,"-dimmer active"));n.children(p("div","".concat(xe,"-toast-header")).children(new Ce("close").on("click.stop",(function(){return document.body.removeChild(n.el),document.body.removeChild(r.el),void(i&&i())})),e),p("div","".concat(xe,"-toast-content")).html(t)),document.body.appendChild(n.el),document.body.appendChild(r.el);var a=n.box(),o=a.width,s=a.height,l=document.documentElement,h=l.clientHeight,c=l.clientWidth;n.offset({left:(c-o)/2,top:(h-s)/3})}var _e={mode:"edit",updateMode:"client",updateUrl:"",folderName:"",fileName:"",view:{height:function(){return document.documentElement.clientHeight},width:function(){return document.documentElement.clientWidth}},showToolbar:!0,showPartToolbar:!1,allowSelectTextInTextBoxInReadMode:!1,showContextmenu:!0,showFileName:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}};function Oe(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},n=this.merges,r=t.clone(),a=e.size(),o=l()(a,2),s=o[0],h=o[1],c=t.size(),u=l()(c,2),d=u[0],f=u[1];return s>d&&(r.eri=t.sri+s-1),h>f&&(r.eci=t.sci+h-1),this.getRangeLocked(r)?(i("Protected worksheet,the target area contains locked cells"),!1):n.intersects(r)?(i(Q("error.pasteForMergedCell")),!1):e.equals(r)?(i("The selection area is same "),!1):!e.intersects(r)||!(d>s&&Math.abs(t.sri-e.sri)%s!=0||f>h&&Math.abs(t.sci-e.sci)%h!=0)||(i("Invalid selection area"),!1)}function Re(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.rows,a=this.merges,o=this.name,s=r.copyPaste(e,t,i,n,(function(e,t,i){if(i&&i.merge){var n=l()(i.merge,2),r=n[0],o=n[1];if(r<=0&&o<=0)return;a.add(new S(e,t,e+r,t+o))}}));n?this.updateBatchCellsOpr(o,s,e,t,i):this.copyPasteRangeOpr(o,e,t,i)}function Ee(e,t){var i=this.clipboard,n=this.rows,r=this.merges,a=this.name;n.cutPaste(e,t),r.move(e,t.sri-e.sri,t.sci-e.sci),i.clear(),this.cutPasteRangeOpr(a,e,t)}function Ae(e,t,i){var n=this.styles,r=this.rows.getCellOrNew(e,t),a={};void 0!==r.style&&(a=j.cloneDeep(n[r.style])),a=j.merge(a,{border:i}),r.style=this.addStyle(a)}function Me(e){var t=this,i=e.mode,n=e.style,r=e.color,a=this.styles,o=this.selector,s=this.rows,h=o.range,c=h.sri,u=h.sci,d=h.eri,f=h.eci,v=!this.isSignleSelected();if(v||"inside"!==i&&"horizontal"!==i&&"vertical"!==i)if("outside"!==i||v){if("none"===i)o.range.each((function(e,i){var n=s.getCell(e,i);if(n&&void 0!==n.style){var r=j.cloneDeep(a[n.style]);delete r.border,n.style=t.addStyle(r)}}));else if("all"===i||"inside"===i||"outside"===i||"horizontal"===i||"vertical"===i)!function(){for(var e=[],a=c;a<=d;a+=1)for(var o=u;o<=f;o+=1){for(var h=[],g=0;g<e.length;g+=1){var p=l()(e[g],4),m=p[0],y=p[1],b=p[2],w=p[3];if(a===m+b+1&&h.push(g),m<=a&&a<=m+b&&o===y){o+=w+1;break}}if(h.forEach((function(t){return e.splice(t,1)})),o>f)break;var q=s.getCell(a,o),x=0,k=0;if(q&&q.merge){var C=l()(q.merge,2);x=C[0],k=C[1],e.push([a,o,x,k])}var S=x>0&&a+x===d,T=k>0&&o+k===f,_={};"all"===i?_={bottom:[n,r],top:[n,r],left:[n,r],right:[n,r]}:"inside"===i?(!T&&o<f&&(_.right=[n,r]),!S&&a<d&&(_.bottom=[n,r])):"horizontal"===i?!S&&a<d&&(_.bottom=[n,r]):"vertical"===i?!T&&o<f&&(_.right=[n,r]):"outside"===i&&v&&(c===a&&(_.top=[n,r]),(S||d===a)&&(_.bottom=[n,r]),u===o&&(_.left=[n,r]),(T||f===o)&&(_.right=[n,r])),Object.keys(_).length>0&&Ae.call(t,a,o,_),o+=k}}();else if("top"===i||"bottom"===i)for(var g=u;g<=f;g+=1)"top"===i&&(Ae.call(this,c,g,{top:[n,r]}),g+=s.getCellMerge(c,g)[1]),"bottom"===i&&(Ae.call(this,d,g,{bottom:[n,r]}),g+=s.getCellMerge(d,g)[1]);else if("left"===i||"right"===i)for(var p=c;p<=d;p+=1)"left"===i&&(Ae.call(this,p,u,{left:[n,r]}),p+=s.getCellMerge(p,u)[0]),"right"===i&&(Ae.call(this,p,f,{right:[n,r]}),p+=s.getCellMerge(p,f)[0])}else Ae.call(this,c,u,{top:[n,r],bottom:[n,r],left:[n,r],right:[n,r]})}function Ie(e,t){var i=this.rows,n=this.scroll,r=this.freezeTotalHeight(),a=this.settings.row.height,o=this.exceptRowSet;0===n.riact&&this.freeze[0]>0&&(n.riact=this.freeze[0]);var s=a+r,l=e>s?n.riact:0;0===l&&(s=a);for(var h=0;l<i.len&&!(s>e);l+=1)o.has(l)||(s+=h=i.getHeight(l));return{ri:l-1,top:s-=h,height:h}}function Be(e,t){var i=this.cols,n=this.displayRight2Left,r=this.freezeTotalWidth(),a=i.indexWidth;if(n){var o=this.viewWidth();r+i.indexWidth<o-e&&(a-=t);var s=j.rangeReduceIf(0,i.len,a,i.indexWidth,o-e,(function(e){return i.getWidth(e)})),h=l()(s,3),c=h[0],u=h[1],d=h[2];return u<=0?{ci:-1,left:o,width:i.indexWidth}:{ci:c-1,left:o-u,width:d}}r+i.indexWidth<e&&(a-=t);var f=j.rangeReduceIf(0,i.len,a,i.indexWidth,e,(function(e){return i.getWidth(e)})),v=l()(f,3),g=v[0],p=v[1],m=v[2];return p<=0?{ci:-1,left:0,width:i.indexWidth}:{ci:g-1,left:p,width:m}}var De=function(){function e(t,i){c()(this,e),this.settings=j.merge(_e,i||{}),this.name=t||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new B,this.rows=new H(this.settings.row),this.cols=new N(this.settings.col),this.validations=new ve,this.hyperlinks=[],this.comments=[],this.viewRangeCache={},this.highlighttxts=[],this.highlightrg=[],this.highlighshapes=[],this.highlighimgs=[],this.highlightIR=null,this.highlightall=!1,this.showhighlight=!1,this.highlightstyle=null,this.selector=new _,this.scroll=new O,this.history=new R,this.updateRows=new Set,this.updateCols=new Set,this.updateRowsHeight=new Set,this.clipboard=new E,this.autoFilter=new I,this.TableAutoFilters=[],this.menubarStatus=function(){},this.change=function(){},this.updateCellsData=function(){},this.updateCellServer=function(){},this.updateServerError=function(){},this.updateCellError=function(){},this.getListValue=function(){},this.loadImages=function(){},this.loadShapes=function(){},this.fillImageSrc=function(){},this.fillImageOnebyOne=function(){},this.loadConditionImage=function(){},this.reloadImagesShapes=function(){},this.scrollImagesShapes=function(){},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,this.isupdating=!1,this.search=new ge,this.showGrid=!0,this.zoomlevel=1,this.isImageOk=!1}return o()(e,[{key:"addValidation",value:function(e,t,i){var n=this;this.changeData((function(){n.validations.add(e,t,i)}))}},{key:"removeValidation",value:function(){var e=this,t=this.selector.range;this.changeData((function(){e.validations.remove(t)}))}},{key:"getHighlightCellTxt",value:function(e,t){var i=this;return this.showhighlight&&!this.highlightall?this.highlighttxts.reduce((function(n,r){return r.row===e&&r.col===t&&(r.color=i.highlightstyle.color,n.push(r)),n}),[]):[]}},{key:"getSelectedValidator",value:function(){var e=this.selector,t=e.ri,i=e.ci,n=this.validations.get(t,i);return n?n.validator:null}},{key:"getSelectedValidation",value:function(){var e=this.selector,t=e.ri,i=e.ci,n=e.range,r=this.validations.get(t,i),a={ref:n.toString()};return null!==r&&(a.mode=r.mode,a.validator=r.validator),a}},{key:"getSelectedSort",value:function(){var e=this.selector,t=e.ci,i=e.range,n={ref:i.toString(),ci:[0,1,2]},r=this.merges;n.sort=[];for(var a=[],o=i.sri,s=i.eri,l=i.sci,h=i.eci,c=0;c<r._.length;c+=1){var u=r._[c];if(u.sri>=o&&u.eri<=s&&u.sci>=l&&u.eci<=h)return Te("error","".concat(Q("dataSort.msg2"))),null}for(var d=o+1;d<=s;d+=1){var f=this.getCell(d,t);null===f||/^\s*$/.test(f.text)||a.push(f.text)}n.m=a;for(var v=new Map,g=new Map,p=0,m=l;m<=h;m++,p++){var y=this.getCell(o,m),b="";b=null===y||/^\s*$/.test(y.text)?"(Column "+w(m)+")":y.text,v.set(p,b),g.set(p,"(Column "+w(m)+")")}return n.mcols=v,n.mcolsheader=g,n}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"undo",value:function(){var e=this;this.history.undo((function(t){return e.getRangeData(t.range)}),(function(t){e.setRangeData(t)}))}},{key:"redo",value:function(){var e=this;this.history.redo((function(t){return e.getRangeData(t.range)}),(function(t){e.setRangeData(t)}))}},{key:"copy",value:function(){this.clipboard.copy(this.selector.range,this.rows)}},{key:"cut",value:function(){this.clipboard.cut(this.selector.range)}},{key:"paste",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=this.clipboard,r=this.selector;return!n.isClear()&&(!!Oe.call(this,n.range,r.range,i)&&(this.changeData((function(){var i=r.range.extendRange(n.range);r.range.setToOther(i),n.isCopy()?Re.call(e,n.range,i,t):n.isCut()&&Ee.call(e,n.range,i)})),!0))}},{key:"pasteFromText",value:function(e){var t=this,i=this.name,n=e.split("\r\n").map((function(e){return e.replace(/"/g,"").split("\t")}));if(n.length>0&&""==n[n.length-1]&&(n.length-=1),n.length>=1){var r=this.rows,a=this.selector;this.changeData((function(){var e=r.paste(n,a.range);t.updateBatchCellsOpr(i,e)}))}}},{key:"autofill",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=this.selector.range;return-1==r.sci&&(r.sci=0),-1==r.sri&&(r.sri=0),-1==e.sci&&(e.sci=0),-1==e.sri&&(e.sri=0),!!Oe.call(this,r,e,n)&&(this.changeData((function(){Re.call(i,r,e,t,!0)}),!0,e),!0)}},{key:"clearClipboard",value:function(){this.clipboard.clear()}},{key:"calSelectedRangeByEnd",value:function(e,t){var i=this.selector,n=this.rows,r=this.cols,a=this.merges,o=i.range,s=o.sri,l=o.sci,h=o.eri,c=o.eci,u=i.ri,d=i.ci,f=e,v=t;return e<0&&(f=n.len-1),t<0&&(v=r.len-1),f>u?(s=u,h=f):(s=f,h=u),v>d?(l=d,c=v):(l=v,c=d),i.range=a.union(new S(s,l,h,c)),i.range=a.union(i.range),i.range}},{key:"calSelectedRangeByStart",value:function(e,t){var i=this.selector,n=this.rows,r=this.cols,a=this.merges.getFirstIncludes(e,t);return null===a&&(a=new S(e,t,e,t),-1===e&&(a.sri=0,a.eri=n.len-1),-1===t&&(a.sci=0,a.eci=r.len-1)),i.range=a,a}},{key:"setSelectedCellAttr",value:function(e,t){var i=this;this.changeData((function(){var n=i.selector,r=i.styles,a=i.rows,o=i.name;if("merge"===e)t?i.merge():i.unmerge();else if("border"===e)Me.call(i,t);else if("formula"===e){var s=n.ri,h=n.ci,c=n.range;if(n.multiple()){var u=n.size(),d=l()(u,2),f=d[0],v=d[1],g=c.sri,p=c.sci,m=c.eri,y=c.eci;if(f>1)for(var b=p;b<=y;b+=1){a.getCellOrNew(m+1,b).text="=".concat(t,"(").concat(k(b,g),":").concat(k(b,m),")")}else if(v>1){a.getCellOrNew(s,y+1).text="=".concat(t,"(").concat(k(p,s),":").concat(k(y,s),")")}}else{a.getCellOrNew(s,h).text="=".concat(t,"()")}}else n.range.each((function(n,s){var l=a.getCellOrNew(n,s),h={};if(void 0!==l.style&&(h=j.cloneDeep(r[l.style])),"format"===e)h.format=t,"normal"===t?(delete h.number,delete h.custom):"text"===t?(h.number=49,delete h.custom):"number"===t?(h.custom="#,##0.00_",delete h.number):"percent"===t?(h.number=10,delete h.custom):"rmb"===t?(h.custom="[$¥-804]#,##0.00",delete h.number):"usd"===t?(h.custom="$#,##0.00",delete h.number):"eur"===t?(h.custom="[$€-408]#,##0.00",delete h.number):"date"===t?(h.custom="mm/dd/yyyy",delete h.number):"time"===t?(h.number=21,delete h.custom):"datetime"===t?(h.custom="mm/dd/yyyy hh:mm:ss",delete h.number):"duration"===t&&(h.custom="[h]:mm:ss",delete h.number),l.style=i.addStyle(h),i.updateCellStyleOpr(o,n,s,h);else if("font-bold"===e||"font-italic"===e||"font-name"===e||"font-size"===e){var c={};c[e.split("-")[1]]=t,h.font=Object.assign(h.font||{},c),l.style=i.addStyle(h)}else"strike"===e||"textwrap"===e||"underline"===e||"align"===e||"valign"===e||"color"===e||"bgcolor"===e||"pbgcolor"===e||"pattern"===e?(h[e]=t,l.style=i.addStyle(h),"align"===e&&delete l.isautoalign):l[e]=t}))}))}},{key:"setHyperlinkStyle",value:function(e,t,i){var n=this.rows,r=this.styles,a=n.getCellOrNew(e,t),o={};void 0!==a.style&&(o=j.cloneDeep(r[a.style])),o.underline=i,o.color=i?"#0000ff":"Black",a.style=this.addStyle(o)}},{key:"setSelectedCellText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"input",i=this.autoFilter,n=this.selector,r=this.rows,a=n.ri,o=n.ci,s=a;this.unsortedRowMap.has(a)&&(s=this.unsortedRowMap.get(a));var l=r.getCell(s,o),h=l?l.text:"";if(this.setCellText(s,o,e,t),i.active()){var c=i.getFilter(o);if(c){var u=c.value.findIndex((function(e){return e===h}));u>=0&&c.value.splice(u,1,e)}}}},{key:"getSelectedCell",value:function(){var e=this.selector,t=e.ri,i=e.ci,n=t;return this.unsortedRowMap.has(t)&&(n=this.unsortedRowMap.get(t)),this.rows.getCell(n,i)}},{key:"canSelected",value:function(e,t){if(!this.sprotected)return!0;var i=e;this.unsortedRowMap.has(e)&&(i=this.unsortedRowMap.get(e));var n=this.getCellStyle(i,t);return null==n?this.canselectlocked:!(!n.unlocked||!this.canselectunlocked)||!(n.unlocked||!this.canselectlocked)}},{key:"isfirstRowCellsContainsFormula",value:function(e){for(var t=e.sci;t<=e.eci;t+=1){var i=this.getCell(e.sri,t);if(null!=i&&void 0!==i.f)return!0}return!1}},{key:"getLocked",value:function(){var e=this.selector,t=e.ri,i=e.ci;return this.getCellLocked(t,i)}},{key:"getCellLocked",value:function(e,t){if(!this.sprotected)return!1;var i=e;this.unsortedRowMap.has(e)&&(i=this.unsortedRowMap.get(e));var n=this.getCellStyle(i,t);return!(null!=n&&n.unlocked)}},{key:"getRangeLocked",value:function(e){for(var t=e.sri;t<=e.eri;t+=1)for(var i=e.sci;i<=e.eci;i+=1)if(this.getCellLocked(t,i))return!0;return!1}},{key:"xyInSelectedRect",value:function(e,t){var i=this.getSelectedRect(),n=i.left,r=i.top,a=i.width,o=i.height,s=this.settings.row.height,l=e-this.cols.indexWidth,h=t-s;return l>n&&l<n+a&&h>r&&h<r+o}},{key:"getSelectedRectBySearch",value:function(){return this.getRect(this.selector.range)}},{key:"getSelectedRect",value:function(){var e=this.selector.range.clone();if(this.freezeIsActive()){if(e.sri>=this.freeze[0]&&e.eri<this.scroll.riact)return{left:-99999,top:-99999};e.sri>=this.freeze[0]&&e.sri<this.scroll.riact&&(e.sri=this.scroll.riact)}else{if(e.eri<this.scroll.riact)return{left:-99999,top:-99999};e.sri<this.scroll.riact&&(e.sri=this.scroll.riact)}return this.getRect(e)}},{key:"getRectForTextbox",value:function(e){var t=this.scroll,i=(this.rows,this.cols),n=(this.exceptRowSet,this.displayRight2Left),r=this.freeze,a=this.zoomlevel,o=new S(e.row,e.col,e.row,e.col),s=o.sri,h=o.sci,c=(o.eri,o.eci);if(s<0&&h<0)return{left:0,l:0,top:0,t:0,scroll:t};var u=l()(r,2)[1],d=n?e.left+i.indexWidth:e.left,f=e.top,v=e.height,g=e.width,p=n?u>0&&c>=u||0===u?d-t.x:d:d-t.x,m=this.freezeTotalHeight(),y=this.freezeTotalWidth(),b=e.top-t.y;return y>0&&y>d&&!n&&(p=d),m>0&&m>f&&(b=f),{l:d*a,t:f*a,left:p*a,top:b*a,height:v*a,width:g*a,scroll:t}}},{key:"getClipboardRect",value:function(){var e=this.clipboard;return e.isClear()?{left:-100,top:-100}:this.getRect(e.range)}},{key:"getRect",value:function(e){var t=this.scroll,i=this.rows,n=this.cols,r=this.exceptRowSet,a=this.displayRight2Left,o=this.freeze,s=this.zoomlevel,h=e.sri,c=e.sci,u=e.eri,d=e.eci;if(h<0&&c<0)return{left:0,l:0,top:0,t:0,scroll:t};var f=l()(o,2)[1],v=a?this.viewWidth()-n.indexWidth-n.sumWidth(0,d+1):n.sumWidth(0,c),g=i.sumHeight(0,h,r),p=i.sumHeight(h,u+1,r)*s,m=n.sumWidth(c,d+1)*s,y=a?f>0&&d>=f||0===f?v+t.x:v:v-t.x,b=this.freezeTotalHeight(),w=this.freezeTotalWidth(),q=i.sumHeight(t.riact,h,r)+b;return w>0&&w>v&&!a&&(y=v),b>0&&b>g&&(q=g),{l:v*s,t:g*s,left:y*s,top:q*s,height:p,width:m,scroll:t}}},{key:"getCellRectByXY",value:function(e,t){var i=this.scroll,n=this.merges,r=this.rows,a=this.cols,o=this.zoomlevel,s=Ie.call(this,t,i.y),l=s.ri,h=s.top,c=s.height,u=Be.call(this,e,i.x),d=u.ci,f=u.left,v=u.width;if(-1===d&&(v=a.totalWidth()),-1===l&&(c=r.totalHeight()),l>=0||d>=0){var g=n.getFirstIncludes(l,d);if(g){l=g.sri,d=g.sci;var p=this.cellRectWithOutTransfer(l,d);f=p.left,h=p.top,v=p.width,c=p.height}}return{ri:l,ci:d,left:f*o,top:h*o,width:v*o,height:c*o}}},{key:"isSignleSelected",value:function(){var e=this.selector.range,t=e.sri,i=e.sci,n=e.eri,r=e.eci,a=this.getCell(t,i);if(a&&a.merge){var o=l()(a.merge,2),s=o[0],h=o[1];if(t+s===n&&i+h===r)return!0}return!this.selector.multiple()}},{key:"canUnmerge",value:function(){var e=this.selector.range,t=e.sri,i=e.sci,n=e.eri,r=e.eci,a=this.getCell(t,i);if(a&&a.merge){var o=l()(a.merge,2),s=o[0],h=o[1];if(t+s===n&&i+h===r)return!0}return!1}},{key:"merge",value:function(){var e=this.selector,t=this.rows;if(!this.isSignleSelected()){var i=e.size(),n=l()(i,2),r=n[0],a=n[1];if(r>1||a>1){var o=e.range,s=o.sri,h=o.sci,c=t.getCellOrNew(s,h);c.merge=[r-1,a-1],this.merges.add(e.range),this.rows.deleteCells(e.range),this.rows.setCell(s,h,c)}}}},{key:"unmerge",value:function(){var e=this.selector;if(this.isSignleSelected()){var t=e.range,i=t.sri,n=t.sci;this.rows.deleteCell(i,n,"merge"),this.merges.deleteWithin(e.range)}}},{key:"canAutofilter",value:function(){return!this.autoFilter.active()}},{key:"autofilter",value:function(){var e=this,t=this.autoFilter,i=this.selector,n=this.TableAutoFilters;if(!t.active())for(var r=0,a=n.length;r<a;r++){var o=n[r],s=S.valueOf(o.ref);if(!(s.eci<i.range.sci||i.range.eci<s.sci))return void Te("Warning","there is already table autofilter in the selected range")}this.changeData((function(){t.active()?(t.clear(),e.exceptRowSet=new Set,e.sortedRowMap=new Map,e.unsortedRowMap=new Map):t.ref=i.range.toString()}))}},{key:"autoSort",value:function(){var e=this.autoFilter,t=this.selector;this.changeData((function(){e.filters=[],e.ref=t.range.toString()}))}},{key:"sortByRowIdArray",value:function(e,t){for(var i=this.rows,n=e.sri,r=e.eri,a=e.sci,o=e.eci,s=[],l=0,h=t.length;l<h;l++){for(var c=i._[t[l]].cells,u=[],d=a;d<=o;d++)void 0!==c[d]&&u.push({id:d,v:j.cloneDeep(c[d])});s.push(u)}for(var f=0,v=n;v<=r;v++)if(t[f++]!==v){for(var g=i._[v].cells,p=a;p<=o;p++)delete g[p];for(var m=s[f-1],y=0,b=m.length;y<b;y++){var w=m[y];g[w.id]=w.v}}}},{key:"doSort",value:function(e,t,i){var n=this.name,r=this.selector.range,a=(r.sri,r.eri,r.sci,r.eci,{name:n,src:r,ci:e,order:t,isheader:i,op:"sort"});this.updateCellServer(a)}},{key:"setAutoFilter",value:function(e,t,i,n){var r=this.currentAutoFilter;void 0===r&&(r=this.autoFilter),r.addFilter(e,i,n),r.setSort(e,t),this.resetAutoFilter()}},{key:"resetAutoFilter",value:function(){var e=this,t=this.currentAutoFilter,i=this.rows,n=t;if(void 0===n&&(n=this.autoFilter),n.active()){var r=n.sort,a=n.filteredRows((function(e,t){return i.getCell(e,t)})),o=a.rset,s=a.fset,l=Array.from(s),h=Array.from(s);r&&l.sort((function(e,t){if("desc"===r.order){var n=e;e=t,t=n}var a=i.getCell(e,r.ci),o=i.getCell(t,r.ci);if(null!=a&&""===a.text&&(a=null),null!=o&&""===o.text&&(o=null),null==a&&null==o)return e-t;if(null==a)return"asc"===r.order?1:-1;if(null==o)return"asc"===r.order?-1:1;a=a.text,o=o.text;var s=isNaN(Number(a)),l=isNaN(Number(o));return s&&l?a.localeCompare(o):s&&!l?1:!s&&l?-1:Number(a)-Number(o)})),this.exceptRowSet=o,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,l.forEach((function(t,i){e.sortedRowMap.set(h[i],t),e.unsortedRowMap.set(t,h[i])}))}}},{key:"deleteExceptRowHideForAutoFilter",value:function(){var e=this.exceptRowSet,t=this.rows;e.forEach((function(e){t.get(e)&&(t.get(e).hide=void 0)}))}},{key:"updateMyConditionImages",value:function(e){var t=this.conditionimg,i=(this.rows,this.styles,this);e&&e.forEach((function(e){if(t){var n=t.find((function(t){return t.row===e.row&&t.col===e.col}));n?n.image.src="data:image/png;base64,"+e.data:i.insertConditionImage(e)}}))}},{key:"createConditionImage",value:function(e,t){var i=this.displayRight2Left,n=new Image;n.src="data:image/png;base64,"+e.data;var r=this.cols.sumWidth(0,e.col),a=this.rows.sumHeight(0,e.row);if(0===e.type){n.style.zIndex=t+1;var o=this.getCellStyle(e.row,e.col);null!=o&&"bottom"===o.valign&&(a+=this.rows.getHeight(e.row)-16)}else n.style.zIndex=t,n.style.opacity=.88;if((this.rows.isHide(e.row)||this.cols.isHide(e.col)||this.exceptRowSet.has(e.row))&&(n.style.display="none"),i){var s=this.viewWidth();n.style.left=s-r+"px"}else n.style.left=r+"px";if(n.style.top=a+"px",n.style.position="absolute",void 0===e.ol){var l=parseInt(n.style.left),h=parseInt(n.style.top);e.ol=l,e.ot=h}return n}},{key:"updateConditionImageVisible",value:function(){var e=this.exceptRowSet,t=this.rows,i=this.cols;this.conditionimg&&this.conditionimg.forEach((function(n){t.isHide(n.row)||i.isHide(n.col)||e.has(n.row)?n.image.style.display="none":n.image.style.display="block"}))}},{key:"updateConditionImageDirection",value:function(){var e=this.displayRight2Left,t=this.cols,i=this.zoomlevel,n=this.viewWidth()-t.indexWidth;this.conditionimg&&this.conditionimg.forEach((function(r){r.image&&(r.image.style.left=e?(n-r.ol-t.getWidth(r.col))*i+"px":r.ol*i+"px")}))}},{key:"updateConditionImageZoom",value:function(){this.exceptRowSet,this.rows,this.cols;var e=this.zoomlevel;this.conditionimg&&this.conditionimg.forEach((function(t){if(t.ow||(t.ow=t.image.width,t.oh=t.image.height),t.image.style.left=t.ol*e+"px",t.image.style.top=t.ot*e+"px",t.ow){t.image.height;t.image.width=t.ow*e,1===t.type&&(t.image.height=t.oh*e)}}))}},{key:"updateConditionImagePositionForCol",value:function(e,t,i){var n=this.displayRight2Left,r=this.cols,a=this.zoomlevel;if(this.conditionimg){var o=this.viewWidth()-r.indexWidth;this.conditionimg.forEach((function(s){if(s.col>e)s.ol+=t,s.image.style.left=n?(o-s.ol-r.getWidth(s.col))*a+"px":s.ol*a+"px";else if(s.col===e){if(1===s.type){var l=s.image.height;s.image.width=i*a,s.ow=i,s.image.height=l}n&&(s.image.style.left=(o-s.ol-r.getWidth(s.col))*a+"px")}}))}}},{key:"updateConditionImagePositionForRow",value:function(e,t,i){var n=this.zoomlevel;this.conditionimg&&this.conditionimg.forEach((function(r){if(r.row>e)r.ot+=t,r.image.style.top=r.ot*n+"px";else if(r.row===e&&1===r.type){var a=r.image.width;r.image.height=i*n,r.oh=i,r.image.width=a}}))}},{key:"updateConditionImageForColInsert",value:function(e,t){var i=this.conditionimg,n=this.cols,r=this.displayRight2Left,a=this.zoomlevel;if(i){var o=this.viewWidth()-n.indexWidth,s=n.sumWidth(e,t+1),l=t-e+1;i.forEach((function(t){t.col>=e&&(t.ol+=s,t.image.style.left=r?(o-t.ol-n.getWidth(t.col))*a+"px":t.ol*a+"px",l&&(t.col+=l))}))}}},{key:"updateConditionImageForRowInsert",value:function(e,t){var i=this.conditionimg,n=this.rows,r=this.zoomlevel;if(i){var a=n.sumHeight(e,t+1),o=t-e+1;i.forEach((function(t){t.row>=e&&(t.ot+=a,t.image.style.top=t.ot*r+"px",o&&(t.row+=o))}))}}},{key:"updateConditionImageForRowDelete",value:function(e,t,i){var n=this.conditionimg,r=(this.rows,this.zoomlevel);if(n)for(var a=t-e+1,o=n.length-1;o>=0;o--){var s=n[o];s.row>=e&&s.row<=t?(s.image.remove(),n.splice(o,1)):s.row>t&&(s.ot+=i,s.image.style.top=s.ot*r+"px",a&&(s.row-=a))}}},{key:"updateConditionImageForColDelete",value:function(e,t,i){var n=this.conditionimg,r=this.cols,a=this.displayRight2Left,o=this.zoomlevel;if(n)for(var s=this.viewWidth()-r.indexWidth,l=n.length-1;l>=0;l--){var h=n[l];if(h.col>=e&&h.col<=t)h.image.remove(),n.splice(l,1);else if(h.col>t){h.ol+=i,h.image.style.left=a?(s-h.ol-r.getWidth(h.col))*o+"px":h.ol*o+"px";var c=t-e+1;c&&(h.col-=c)}}}},{key:"deleteCell",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all",i=this.selector,n=this.name;this.changeData((function(){e.rows.deleteCells(i.range,t),"all"!==t&&"format"!==t||e.merges.deleteWithin(i.range),e.delCellOpr(n,i.range,t)}))}},{key:"insert",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.changeData((function(){var n=t.selector.range,r=n.sri,a=n.sci,o=t.rows,s=t.merges,l=t.cols,h=t.name,c=r;if("row"===e){o.insert(r,i),t.updateConditionImageForRowInsert(r,r+i-1);var u=o.getHeight(r-1);t.insertRowOpr(h,r,i,u)}else if("column"===e){o.insertColumn(a,i),c=a,l.len+=i;for(var d=l.getWidth(a-1),f=l.len,v=0;v<i;v++)l._[f-1-v]={};for(var g=f-1;g>=a;g--)l._[g].width=g>=i?l._[g-i].width:l.width;t.insertColumnOpr(h,a,i,d),t.updateConditionImageForColInsert(a,a+i-1)}s.shift(e,c,i,(function(e,t,i,n){var r=o.getCell(e,t);r.merge[0]+=i,r.merge[1]+=n}))}),!1)}},{key:"delete",value:function(e){var t=this,i=this.selector.range,n=i.sri,r=i.sci,a=i.eri,o=i.eci;n<0&&(n=0),a<n||(r<0&&(r=0),o<r||this.changeData((function(){var i=t.rows,n=t.merges,r=t.selector,a=t.cols,o=t.name,s=r.range,l=r.range,h=l.sri,c=l.sci,u=l.eri,d=l.eci,f=h,v=0;if("row"===e){if(h<0&&(h=0),u<h)return;if(confirm("sure to delete rows from "+(h+1)+" to "+(u+1))){v=u-h+1;var g=-i.sumHeight(h,u+1);i.delete(h,u),t.deleteRowOpr(o,h,u),t.updateConditionImageForRowDelete(h,u,g)}}else if("column"===e){if(c<0&&(c=0),d<c)return;if(confirm("sure to delete columns from "+(c+1)+" to "+(d+1))){var p=-a.sumWidth(c,d+1);i.deleteColumn(c,d),f=s.sci,v=d-c+1,a.len-=v;for(var m=c;m<a.len-v;m++)a._[m].width=a._[m+v].width;for(var y=a.len;y<a.len+v;y++)delete a._[y];t.deleteColumnOpr(o,c,d),t.updateConditionImageForColDelete(c,d,p)}}n.shift(e,f,-v,(function(e,t,n,r){var a=i.getCell(e,t);a.merge[0]+=n,a.merge[1]+=r,0===a.merge[0]&&0===a.merge[1]&&delete a.merge}))}),!1))}},{key:"deletelocalonly",value:function(e,t,i){var n=this;this.changeData((function(){var r=n.rows,a=n.merges;n.cols;"row"===e?r.delete(t,t+i-1):"column"===e&&r.deleteColumn(t,t+i-1),a.shift(e,t,-i,(function(e,t,i,n){var a=r.getCell(e,t);a.merge[0]+=i,a.merge[1]+=n,0===a.merge[0]&&0===a.merge[1]&&delete a.merge}))}),!1)}},{key:"updateRevertOpr",value:function(e){"insertrow"===e.op?this.deletelocalonly("row",e.ri,e.n):"insertcol"===e.op&&this.deletelocalonly("column",e.ci,e.n)}},{key:"scrollx",value:function(e,t){var i=this.scroll,n=this.freeze,r=this.cols;this.displayRight2Left&&(e=-e);var a=l()(n,2)[1],o=j.rangeReduceIf(a,r.len,0,0,e,(function(e){return r.getWidth(e)})),s=l()(o,3),h=s[0],c=s[1],u=s[2],d=c;e>0&&(d+=u),i.x!==d&&(i.ci=e>0?h:0,i.x=d),t&&t()}},{key:"scrolly",value:function(e,t){var i=this.scroll,n=this.freeze,r=this.rows,a=this.exceptRowSet,o=l()(n,1)[0],s=j.rangeReduceIf(o,r.len,0,0,e,(function(e){return r.getHeight(e,a)})),h=l()(s,3),c=h[0],u=h[1],d=h[2],f=u;if(e>0&&(f+=d),i.y!==f)for(i.ri=e>0?c:0,i.y=f,0===i.ri&&this.freeze[0]>0&&(i.ri=this.freeze[0],i.y=0),i.yact=i.y,i.riact=i.ri;this.isInvisibleRow(i.riact);)i.yact+=r.getHeight(i.riact,a),i.riact++;t&&t()}},{key:"isInvisibleRow",value:function(e){var t=this.exceptRowSet;return this.rows.isHide(e)||t.has(e)}},{key:"cellRect",value:function(e,t){var i=this.rows,n=this.cols,r=this.exceptRowSet,a=this.displayRight2Left,o=this.scroll,s=i.sumHeight(0,e,r),h=i.getCell(e,t),c=n.getWidth(t),u=i.getHeight(e);if(null!==h&&h.merge){var d=l()(h.merge,2),f=d[0],v=d[1];if(f>0)for(var g=1;g<=f;g+=1)u+=i.getHeight(e+g);if(v>0)for(var p=1;p<=v;p+=1)c+=n.getWidth(t+p)}var m=a?this.viewWidth()-n.sumWidth(0,t)-c+2*o.x:n.sumWidth(0,t);if(a){var y=l()(this.freeze,2),b=(y[0],y[1]);b>0&&t<b&&(m-=2*o.x)}return{left:m,top:s,width:c,height:u,cell:h}}},{key:"cellRectWithOutTransfer",value:function(e,t){var i=this.cellRect(e,t),n=this.displayRight2Left,r=this.cols,a=this.scroll,o=this.zoomlevel,s=r.indexWidth,h=this.settings.row.height;i.top+=h;var c=l()(this.freeze,2),u=c[0],d=c[1];return n?(i.left-=s,i.left+=i.width,t>d&&(i.left-=a.x)):(i.left+=s,t>d&&(i.left-=a.x)),e>u&&(i.top-=a.y),i.left*=o,i.top*=o,i.width*=o,i.height*=o,i}},{key:"getCell",value:function(e,t){return this.rows.getCell(e,t)}},{key:"getCellTextOrDefault",value:function(e,t){var i=this.getCell(e,t);return i&&i.text?i.text:""}},{key:"isEmptyText",value:function(e,t){var i=this.merges.getFirstIncludes(e,t),n=this.getCell(i?i.sri:e,i?i.sci:t);return!n||!n.text||0===n.text.trim().length}},{key:"canExtend",value:function(e,t){if(null==this.merges.getFirstIncludes(e,t)){var i=this.getCell(e,t);return!i||!i.text||0===i.text.trim().length}return!1}},{key:"getCellStyle",value:function(e,t){var i=this.getCell(e,t);return i&&void 0!==i.style?this.styles[i.style]:null}},{key:"getCellStyleOrDefault",value:function(e,t){var i=this.styles,n=this.rows,r=this.displayRight2Left,a=n.getCell(e,t),o=a&&void 0!==a.style?i[a.style]:{},s=j.merge(this.defaultStyle(),o);if(void 0!==o.bgcolor&&(s.hasbgcolor=!0),a&&void 0!==a.merge){if(0!=a.merge[1]){var l=n.getCell(e,t+a.merge[1]),h=l&&void 0!==l.style?i[l.style]:{};h.border&&void 0!==h.border.right&&(void 0===o.border&&(o.border={}),o.border.right=h.border.right)}if(0!=a.merge[0]){var c=n.getCell(e+a.merge[0],t),u=c&&void 0!==c.style?i[c.style]:{};u.border&&void 0!==u.border.bottom&&(void 0===o.border&&(o.border={}),o.border.bottom=u.border.bottom)}}if(void 0!==s.border&&r){var d=s.border.right;s.border.right=s.border.left,s.border.left=d}return s}},{key:"getSelectedCellStyle",value:function(){var e=this.selector,t=e.ri,i=e.ci;return this.getCellStyleOrDefault(t,i)}},{key:"setCellText",value:function(e,t,i,n){var r=this.rows,a=this.history,o=this.validations,s=this.settings,l=this.name;"finished"===n?("server"!==s.updateMode&&(r.setCellText(e,t,""),a.add(this.getData()),r.setCellText(e,t,i)),"server"===s.updateMode&&this.updateCellTextOpr(l,e,t,i)):r.setCellText(e,t,i),o.validate(e,t,i,this)}},{key:"updateTextbox",value:function(e,t){this.settings;var i=this.name;e.ischange&&(e.ischange=!1,this.updateTextboxOpr(i,e,t))}},{key:"isNumber",value:function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},{key:"isDate",value:function(e){return isNaN(e)&&!isNaN(Date.parse(e))}},{key:"setLinkedShape",value:function(e,t,i){var n=this.rows.getCellOrNew(e,t);n.lc||(n.lc=[]),n.lc.push(i)}},{key:"setCellAutoAlignment",value:function(e,t,i){var n=this.styles,r=this.rows.getCellOrNew(e,t),a={};void 0!==r.style&&(a=j.cloneDeep(n[r.style])),(r.isautoalign||void 0===a.align)&&(a.align=i,r.style=this.addStyle(a),r.isautoalign=!0)}},{key:"cutPasteRangeOpr",value:function(e,t,i){var n={name:e,src:t,dest:i,op:"cutpaste"};this.updateCellServer(n)}},{key:"copyPasteRangeOpr",value:function(e,t,i,n){var r={name:e,src:t,dest:i,op:"copypaste",what:n};this.updateCellServer(r)}},{key:"autofillRangeOpr",value:function(e,t,i,n){var r={name:e,src:t,dest:i,op:"autofill",what:n};this.updateCellServer(r)}},{key:"updateBatchCellsOpr",value:function(e,t,i,n,r){var a={name:e,cells:t,src:i,dest:n,what:r,op:"batchupdate"};this.updateCellServer(a)}},{key:"updateCellStyleOpr",value:function(e,t,i,n){var r={name:e,ri:t,ci:i,number:n.number,custom:n.custom,op:"updatestyle"};this.updateCellServer(r)}},{key:"updateCellTextOpr",value:function(e,t,i,n){var r=n.startsWith("<font style=")||n.startsWith("<Font Style=")?"updatehtml":"update",a={name:e,ri:t,ci:i,text:n,op:r};this.updateCellServer(a)}},{key:"updateTextboxOpr",value:function(e,t,i){var n={name:e,id:t.strid,text:i,w:t.width,h:t.height,op:"updateTextBox"};this.updateCellServer(n)}},{key:"delCellOpr",value:function(e,t,i){var n={name:e,range:t,what:i,op:"delcells"};this.updateCellServer(n)}},{key:"addSheetOpr",value:function(e){var t={name:e,op:"add"};this.updateCellServer(t)}},{key:"delSheetOpr",value:function(e){var t={name:e,op:"del"};this.updateCellServer(t)}},{key:"renameSheetOpr",value:function(e,t){var i={oldname:e,name:t,op:"rename"};this.updateCellServer(i)}},{key:"insertRowOpr",value:function(e,t,i,n){var r={name:e,ri:t,n:i,h:n,op:"insertrow"};this.updateCellServer(r)}},{key:"insertColumnOpr",value:function(e,t,i,n){var r={name:e,ci:t,n:i,w:n,op:"insertcol"};this.updateCellServer(r)}},{key:"deleteRowOpr",value:function(e,t,i){var n={name:e,sri:t,eri:i,op:"delrow"};this.updateCellServer(n)}},{key:"deleteColumnOpr",value:function(e,t,i){var n={name:e,sci:t,eci:i,op:"delcol"};this.updateCellServer(n)}},{key:"setAutoAlignForCell",value:function(e){e.ufv||this.isNumber(e.text)||this.isDate(e.text)?this.setCellAutoAlignment(e.ri,e.ci,"right"):this.setCellAutoAlignment(e.ri,e.ci,"left")}},{key:"updateMyCells",value:function(e){var t=this,i=this.styles,n=this.rows,r=this.search,a=this.shapes,o=this;e.forEach((function(e,r,s){var h=n.updateOneCell(e);if(e.bgcolor){var c={};void 0!==h.style&&(c=j.cloneDeep(i[h.style])),c.bgcolor=e.bgcolor,h.style=o.addStyle(c)}t.setAutoAlignForCell(e),h.lc&&h.lc.forEach((function(e,t){var i=a.find((function(t){return t.id===e}));if(i){if("TextBox"===i.type)i.text=h.text,i.rtxt&&(i.rtxt[0][0].txt=h.text);else if("CheckBox"===i.type)h.text?("true"===h.text.toLowerCase()?i.v=!0:"false"===h.text.toLowerCase()&&(i.v=!1),isNaN(h.text)||(i.v=0!==h.text)):i.v=!1;else if("ComboBox"===i.type){if(h.text&&!isNaN(h.text))if(i.isacx)i.v=h.text;else if(i.rg){var n=l()(i.rg,4),r=n[0],s=n[1],c=n[2],u=(n[3],r+Number(h.text)-1);if(u<=c){var d=o.getCell(u,s);i.v=d?d.text:""}}}else"RadioButton"===i.type&&h.text&&!isNaN(h.text)&&(i.v=i.idx===Number(h.text));i.setDirty()}}))})),"comments"!==r.lookin&&(r.result=null)}},{key:"updateShapes",value:function(e,t){var i=this.shapes;null!=i&&null!=e&&e.forEach((function(e,n,r){for(var a=0,o=i.length;a<o;a++)if(i[a].id===e.id){var s={};s.id="s_"+e.id+"_"+i[a].tick,s.name=e.id+"."+e.tick,s.it=i[a],t.push(s);break}}))}},{key:"updateShapeSrcToRefresh",value:function(e,t,i,n){if(this.loadCount=n.length,n.length>0){var r=this;$.get(t+"?uid="+e+"&id="+i,(function(e){r.fillImageOnebyOne(e,n)}))}}},{key:"validateFormula",value:function(e){for(var t=0,i=0;i<e.length;i++)"("===e[i]?t++:")"===e[i]&&t--;return 0===t}},{key:"freezeIsActive",value:function(){var e=l()(this.freeze,2),t=e[0],i=e[1];return t>0||i>0}},{key:"resetScroll",value:function(e,t){var i=this.scroll;i.riact=e,i.ri=e,i.y=0,i.yact=0,i.x=0,i.ci=0}},{key:"setFreeze",value:function(e,t){var i=this;this.changeData((function(){i.freeze=[e,t]})),this.resetScroll(e,t)}},{key:"freezeTotalWidth",value:function(){return this.cols.sumWidth(0,this.freeze[1])}},{key:"freezeTotalHeight",value:function(){return this.rows.sumHeight(0,this.freeze[0],this.exceptRowSet)}},{key:"setRowHeight",value:function(e,t){var i=this;this.changeData((function(){i.rows.setHeight(e,t,(function(e){i.updateRowsHeight.add(e)}))}))}},{key:"setAllRowsHeight",value:function(e){var t=this;this.changeData((function(){t.rows.height=e,t.rows.setBatchHeight(e,(function(e){t.updateRowsHeight.add(e)}))}))}},{key:"setRowsHeight",value:function(e,t,i){var n=this;this.changeData((function(){n.rows.setRangeHeight(e,t,i,(function(e){n.updateRowsHeight.add(e)}))}))}},{key:"setColWidth",value:function(e,t){var i=this;this.changeData((function(){i.cols.setWidth(e,t,(function(e){i.updateCols.add(e)}))}))}},{key:"setAllColsWidth",value:function(e){var t=this;this.changeData((function(){t.cols.width=e,t.cols.setBatchWidth(e,(function(e){t.updateCols.add(e)}))}))}},{key:"setColsWidth",value:function(e,t,i){var n=this;this.changeData((function(){n.cols.setRangeWidth(e,t,i,(function(e){n.updateCols.add(e)}))}))}},{key:"viewHeight",value:function(){var e=this.settings,t=e.view,i=e.showToolbar,n=e.showFileName,r=t.height();return r-=26,r-=41,i&&(r-=41,this.menubarStatus()&&(r-=n?80:40)),r}},{key:"viewWidth",value:function(){return this.settings.view.width()}},{key:"freezeViewRange",value:function(){var e=l()(this.freeze,2),t=e[0],i=e[1];return new S(0,0,t-1,i-1,this.freezeTotalWidth(),this.freezeTotalHeight())}},{key:"contentRange",value:function(){var e=this.rows,t=this.cols,i=e.len-1,n=t.len-1,r=e.sumHeight(0,i+1),a=t.sumWidth(0,n+1);return new S(0,0,i,n,a,r)}},{key:"exceptRowTotalHeight",value:function(e,t){var i=this.exceptRowSet,n=this.rows,r=Array.from(i),a=0;return r.forEach((function(i){if(i<e||i>t){var r=n.getHeight(i);a+=r}})),a}},{key:"viewRange",value:function(){var e=this.scroll,t=this.rows,i=this.cols,n=this.freeze,r=this.exceptRowSet,a=e.ri,o=e.ci;a<=0&&(a=l()(n,1)[0]);o<=0&&(o=l()(n,2)[1]);for(var s=[this.freezeTotalWidth(),0],h=s[0],c=s[1],u=[t.len,i.len],d=u[0],f=u[1],v=a;v<t.len&&(r.has(v)||(c+=t.getHeight(v),d=v),!(c>this.viewHeight()/this.zoomlevel));v+=1);for(var g=o;g<i.len&&(f=g,!((h+=i.getWidth(g))>this.viewWidth()/this.zoomlevel));g+=1);var p=new S(a,o,d,f,h,c);return this.viewRangeCache=p,p}},{key:"eachMergesInView",value:function(e,t){this.merges.filterIntersects(e).forEach((function(e){return t(e)}))}},{key:"hideRowsOrCols",value:function(){var e=this.rows,t=this.cols,i=this.selector,n=i.size(),r=l()(n,2),a=r[0],o=r[1],s=i.range,h=s.sri,c=s.sci,u=s.eri,d=s.eci;if(a===e.len)for(var f=c;f<=d;f+=1)t.setHide(f,!0);else if(o===t.len)for(var v=h;v<=u;v+=1)e.setHide(v,!0)}},{key:"unhideRowsOrCols",value:function(e,t){this["".concat(e,"s")].unhide(t)}},{key:"rowEach",value:function(e,t,i){for(var n=0,r=this.rows,a=this.exceptRowSet,o=(y()(a),0),s=e+o;s<=t;s+=1)if(a.has(s))o+=1;else{var l=r.getHeight(s);if(l>0){if(i(s,n,l),n+=l,this.zoomlevel<1&&n>this.viewHeight()/this.zoomlevel)break;if(this.zoomlevel>=1&&n>this.viewHeight())break}}}},{key:"colEach",value:function(e,t,i){for(var n=0,r=this.cols,a=e;a<=t;a+=1){var o=r.getWidth(a);if(o>0){if(i(a,n,o),n+=o,this.zoomlevel<1&&n>this.viewWidth()/this.zoomlevel)break;if(this.zoomlevel>=1&&n>this.viewWidth())break}}}},{key:"generatePicItems",value:function(e,t,i){var n=new Array;null!=e&&e.forEach((function(e){if(null==e.src){var t={};t.id="p_"+e.id+"_"+e.tick,void 0===e.refid?t.name=e.id+"."+e.tick:t.name=e.refid+"."+e.tick,t.it=e,n.push(t)}})),null!=t&&t.forEach((function(e){if(null==e.src){var t={};t.id="s_"+e.id+"_"+e.tick,void 0===e.refid?t.name=e.id+"."+e.tick:t.name=e.refid+"."+e.tick,t.it=e,n.push(t)}})),this.loadCount=n.length,this.fillImageOnebyOne(i,n)}},{key:"defaultStyle",value:function(){return this.settings.style}},{key:"addStyle",value:function(e){for(var t=this.styles,i=0;i<t.length;i+=1){var n=t[i];if(j.equals(n,e))return i}return t.push(e),t.length-1}},{key:"changeData",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0,n=void 0!==i?i:this.selector.range;if(this.history.add(this.getRangeData(n)),e(),this.change(this.getData()),t)for(var r=n.sri,a=(n.sci,n.eri),o=(n.eci,r);o<=a;o++)this.updateRows.add(o)}},{key:"setRangeData",value:function(e){this.rows.setRangeData(e.rows,e.range),this.merges.setData(e.merges)}},{key:"setData",value:function(e){var t=this;return Object.keys(e).forEach((function(i){if("merges"===i||"rows"===i||"cols"===i||"validations"===i)t[i].setData(e[i]);else if("freeze"===i){var n=x(e[i]),r=l()(n,2),a=r[0],o=r[1];t.freeze=[o,a]}else if("autofilter"===i)t.autoFilter.setData(e[i]);else if("lautofilters"===i){var s=e[i],h=t;s.forEach((function(e){var t=new I;t.setData(e),h.TableAutoFilters.push(t)}))}else void 0!==e[i]&&(t[i]=e[i])})),this}},{key:"getData",value:function(){var e=this.name,t=this.freeze,i=this.styles,n=this.merges,r=this.rows,a=this.cols,o=this.validations,s=this.autoFilter,l=this.TableAutoFilters,h={name:e,freeze:k(t[1],t[0]),styles:i,merges:n.getData(),rows:r.getData(),cols:a.getData(),validations:o.getData(),autofilter:s.getData(),TableAutoFilters:[]};return l.forEach((function(e){h.TableAutoFilters.push(e.getData())})),h}},{key:"getRangeData",value:function(e){var t=this.merges,i=this.rows;this.styles;return{rows:i.getRangeData(e),merges:t.getData(),range:e}}},{key:"getDataForSave",value:function(){var e=this.name,t=this.freeze,i=this.styles,n=this.merges,r=this.rows,a=this.cols,o=this.validations,s=this.autoFilter,l=this.settings,h=this.updateRows,c=this.updateRowsHeight,u=this.updateCols,d=this.canselectlocked,f=this.sprotected,v=this.canselectunlocked,g=this.showGrid,p=this.comments,m=this.images,y=this.shapes;return{name:e,freeze:k(t[1],t[0]),styles:i,comments:p,canselectlocked:d,sprotected:f,canselectunlocked:v,showGrid:g,merges:n.getDataForSave(),settings:l,cols:a.getDataForSave(u),rows:r.getDataForRowsSet(h),rowh:r.getHeightForSave(c),validations:o.getData(),autofilter:s.getData(),images:null!=m?m.filter((function(e){return e.changed})).map((function(e){var t={};return t.left=e.left,t.top=e.top,t.originAngle=e.originAngle,t.angle=e.angle,t.zorder=e.zorder,t.width=e.originWidth*e.scaleX,t.height=e.originHeight*e.scaleY,t.op=e.op,t.id=e.id,e.hyperlink&&(t.hyperlink=e.hyperlink),t})):[],shapes:null!=y?y.filter((function(e){return e.changed})).map((function(e){var t={};return t.left=e.left,t.top=e.top,t.originAngle=e.originAngle,t.angle=e.angle,t.zorder=e.zorder,t.width=e.originWidth*e.scaleX,t.height=e.originHeight*e.scaleY,t.op=e.op,t.id=e.id,t.v=e.v,t.srcid=e.strid,t.type=e.type,e.hyperlink&&(t.hyperlink=e.hyperlink),t})):[]}}}]),e}(),ze=i(13),Pe=i.n(ze);function Fe(e,t,i){e.addEventListener(t,i)}function Le(e,t,i){e.removeEventListener(t,i)}function je(e){e.xclickoutside&&(Le(window.document.body,"click",e.xclickoutside),delete e.xclickoutside)}function He(e,t){e.xclickoutside=function(i){2===i.detail||e.contains(i.target)||(t?t(e):(e.hide(),je(e)))},Fe(window.document.body,"click",e.xclickoutside)}function Ne(e,t,i){Fe(e,"mousemove",t),e.xEvtUp=function(n){Le(e,"mousemove",t),Le(e,"mouseup",e.xEvtUp),i(n)},Fe(e,"mouseup",e.xEvtUp)}var Ue=null;function Xe(){clearInterval(Ue),Ue=null}function We(e,t){(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];Ue||(Ue=setInterval((function(){e.apply(void 0,i)}),400))})((function(){e.selectMoveDown(),e.canvas.publishEvent("object:scroll",e.data)}))}function Ye(e,t){var i="object"===("undefined"==typeof window?"undefined":Pe()(window))?window.navigator.userAgent:"";if(/Android/i.test(i)){var n=window.innerHeight;window.addEventListener("resize",(function(i){var r=window.innerHeight;n>r?"true"===document.activeElement.contentEditable&&t(i):e(i)}))}else/iPhone|iPod|iPad/i.test(i)&&(window.addEventListener("focusin",(function(e){t(e)})),window.addEventListener("focusout",(function(t){e(t)})))}var Ve=function(){function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;c()(this,e),this.moving=!1,this.sheet=r,this.vertical=i,this.el=p("div","".concat(xe,"-resizer ").concat(i?"vertical":"horizontal")).children(this.unhideHoverEl=p("div","".concat(xe,"-resizer-hover")).on("dblclick.stop",(function(e){return t.mousedblclickHandler(e)})).css("position","absolute").hide(),this.hoverEl=p("div","".concat(xe,"-resizer-hover")).on("mousedown.stop",(function(e){return t.mousedownHandler(e)})),this.lineEl=p("div","".concat(xe,"-resizer-line")).hide()).hide(),this.cRect=null,this.IsRight2Left=!1,this.finishedFn=null,this.minDistance=n,this.maxRowHeight=408,this.maxColWidth=254,this.unhideFn=function(){}}return o()(e,[{key:"showUnhide",value:function(e){this.unhideIndex=e,this.unhideHoverEl.show()}},{key:"hideUnhide",value:function(){this.unhideHoverEl.hide()}},{key:"show",value:function(e,t,i){var n=this.moving,r=this.vertical,a=this.hoverEl,o=this.lineEl,s=this.el,l=this.unhideHoverEl;if(!n){this.IsRight2Left=i,this.cRect=e;var h=e.left,c=e.top,u=e.width,d=e.height,f=i?h-u:h+u-5;s.offset({left:r?f:h,top:r?c:c+d-5}).show(),a.offset({width:r?5:u,height:r?d:5}),o.offset({width:r?0:t.width,height:r?t.height:0}),l.offset({left:r?5-u:h,top:r?c:5-d,width:r?5:u,height:r?d:5})}}},{key:"hide",value:function(){this.el.offset({left:0,top:0}).hide(),this.hideUnhide()}},{key:"mousedblclickHandler",value:function(){this.unhideIndex&&this.unhideFn(this.unhideIndex)}},{key:"mousedownHandler",value:function(e){var t=this,i=e,n=this.el,r=this.lineEl,a=this.cRect,o=this.vertical,s=this.minDistance,l=this.IsRight2Left,h=this.maxRowHeight,c=this.maxColWidth,u=o?a.width:a.height;u=Math.round(u),r.show(),Ne(window,(function(e){t.moving=!0,null!==i&&1===e.buttons&&(o?(l?u-=e.movementX:u+=e.movementX,u>s&&u<c&&(l?n.css("left","".concat(a.left-u,"px")):n.css("left","".concat(a.left+u,"px")))):(u+=e.movementY)>s&&u<h&&n.css("top","".concat(a.top+u,"px")),i=e)}),(function(){i=null,r.hide(),t.moving=!1,t.hide(),t.finishedFn&&(u<s&&(u=s),o?u>c&&(u=c):u>h&&(u=h),t.finishedFn(a,u))}))}}]),e}(),Ge=function(){function e(t){var i=this;c()(this,e),this.vertical=t,this.iscbcalled=!1,this.moveFn=null,this.moveCallback=null,this.el=p("div","".concat(xe,"-scrollbar ").concat(t?"vertical":"horizontal")).child(this.contentEl=p("div","")).on("mousemove.stop",(function(){})).on("scroll.stop",(function(e){var t=e.target,n=t.scrollTop,r=t.scrollLeft;i.moveFn&&i.moveFn(i.vertical?n:r,e),i.moveCallback&&!i.iscbcalled&&(i.iscbcalled=!0,i.moveCallback(),i.moveCallback=null),i.iscbcalled=!1}))}return o()(e,[{key:"move",value:function(e,t){this.moveCallback=t;this.el.scroll(e);return this}},{key:"scroll",value:function(){return this.el.scroll()}},{key:"set",value:function(e,t){var i=e-1;if(t>i){var n=this.vertical?"height":"width";this.el.css(n,"".concat(i-50,"px")).show(),this.contentEl.css(this.vertical?"width":"height","1px").css(n,"".concat(t,"px"))}else this.el.hide();return this}}]),e}(),Ke=10,Ze=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c()(this,e),this.isreadonly=t,this.useHideInput=i,this.inputChange=function(){},this.cornerEl=p("div","".concat(xe,"-selector-corner")),this.areaEl=p("div","".concat(xe,"-selector-area")).child(this.cornerEl).hide(),window.mobileAndTabletCheck()&&this.cornerEl.child(p("div","".concat(xe,"-selector-corner-shape"))),this.clipboardEl=p("div","".concat(xe,"-selector-clipboard")).hide(),this.autofillEl=p("div","".concat(xe,"-selector-autofill")).hide(),this.el=p("div","".concat(xe,"-selector")).css("z-index","".concat(Ke)).children(this.areaEl,this.clipboardEl,this.autofillEl).hide(),this.isreadonly&&this.cornerEl.hide(),Ke+=1}return o()(e,[{key:"setOffset",value:function(e){return this.el.offset(e).show(),this}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"setAreaOffset",value:function(e){var t=e.left,i=e.top,n=e.width,r=e.height,a={width:this.isreadonly?n-2:n-.8,height:(this.isreadonly,r-2),left:t-.8,top:i-.8};this.areaEl.offset(a).show()}},{key:"setClipboardOffset",value:function(e){var t=e.left,i=e.top,n=e.width,r=e.height;this.clipboardEl.offset({left:t,top:i,width:n-2.4,height:r-2.4})}},{key:"showAutofill",value:function(e){var t=e.left,i=e.top,n=e.width,r=e.height;this.autofillEl.offset({width:n-3,height:r-3,left:t,top:i}).show()}},{key:"hideAutofill",value:function(){this.autofillEl.hide()}},{key:"showClipboard",value:function(){this.clipboardEl.show()}},{key:"hideClipboard",value:function(){this.clipboardEl.hide()}}]),e}();function Je(e){var t=this.data,i=e.left,n=e.top,r=e.width,a=e.height,o=e.scroll,s=e.l,l=e.t,h=t.freezeTotalWidth(),c=t.freezeTotalHeight(),u=t.displayRight2Left?0===h?i:i-(t.viewWidth()-t.cols.indexWidth-h):i-h,d=r;void 0!==o&&(t.displayRight2Left?0===h||(u+r<0?u=19999:u<0&&(d-=o.x)):h>s&&(u-=o.x));var f=n-c;return void 0!==o&&c>l&&(f-=o.y),{left:u,top:f,width:d,height:a}}function $e(e){var t=this.data,i=e.left,n=e.width,r=e.height,a=e.l,o=e.t,s=e.scroll,l=t.freezeTotalWidth(),h=t.displayRight2Left?0===l?i:i-(t.viewWidth()-t.cols.indexWidth-l):i-l,c=n;return void 0!==s&&(t.displayRight2Left?0===l||(h+n<0?h=19999:h<0&&(c-=s.x)):l>a&&(h-=s.x)),{left:h,top:o,width:c,height:r}}function Qe(e){var t=this.data,i=e.top,n=e.width,r=e.height,a=e.l,o=e.t,s=e.scroll,l=e.left,h=t.freezeTotalHeight(),c=i-h;return h>o&&(c-=s.y),t.displayRight2Left?{left:l,top:c,width:n,height:r}:{left:a,top:c,width:n,height:r}}function et(e){this.br.setAreaOffset(Je.call(this,e))}function tt(e){this.tl.setAreaOffset(e)}function it(e){this.t.setAreaOffset($e.call(this,e))}function nt(e){this.l.setAreaOffset(Qe.call(this,e))}function rt(e){this.l.setClipboardOffset(Qe.call(this,e))}function at(e){this.br.setClipboardOffset(Je.call(this,e))}function ot(e){this.tl.setClipboardOffset(e)}function st(e){this.t.setClipboardOffset($e.call(this,e))}function lt(e){et.call(this,e),tt.call(this,e),it.call(this,e),nt.call(this,e)}function ht(e){at.call(this,e),ot.call(this,e),st.call(this,e),rt.call(this,e)}var ct=function(){function e(t){var i=this;c()(this,e),this.inputChange=function(){},this.data=t;var n="edit"!==t.settings.mode;this.br=new Ze(n,!0),this.t=new Ze(n),this.l=new Ze(n),this.tl=new Ze(n),this.br.inputChange=function(e){i.inputChange(e)},this.br.el.show(),this.offset=null,this.areaOffset=null,this.indexes=null,this.range=null,this.arange=null,this.el=p("div","".concat(xe,"-selectors")).children(this.tl.el,this.t.el,this.l.el,this.br.el).hide(),this.lastri=-1,this.lastci=-1,Ke+=1,this.mobilestartOffset=null,this.mobilestartRange=null,this.objId=null}return o()(e,[{key:"getObj",value:function(){if(null===this.objId)return null;var e=this.objId.split("_");return"s"===e[0]?this.data.shapes.filter((function(t){return Number(t.id)===Number(e[1])}))[0]:this.data.images.filter((function(t){return Number(t.id)===Number(e[1])}))[0]}},{key:"setObjId",value:function(e){this.objId=e}},{key:"setMobilestartOffsetAndRange",value:function(){this.mobilestartOffset=this.data.getSelectedRect(),this.mobilestartRange=this.range}},{key:"resetData",value:function(e){this.data=e,this.range=e.selector.range,this.mobilestartOffset=null,this.mobilestartRange=null,this.objId=null,this.lastri=-1,this.lastci=-1,this.resetAreaOffset()}},{key:"hide",value:function(){this.el.hide()}},{key:"resetOffset",value:function(){var e=this.data,t=this.tl,i=this.t,n=this.l,r=this.br,a=e.freezeTotalHeight(),o=e.freezeTotalWidth();if(a>0||o>0)if(this.data.displayRight2Left){var s=e.viewWidth()-e.cols.indexWidth;t.setOffset({width:s-o,height:a}),i.setOffset({left:s-o,height:a}),n.setOffset({width:s-o,top:a}),r.setOffset({left:s-o,top:a})}else t.setOffset({width:o,height:a}),i.setOffset({left:o,height:a}),n.setOffset({width:o,top:a}),r.setOffset({left:o,top:a});else t.hide(),i.hide(),n.hide(),r.setOffset({left:0,top:0})}},{key:"resetAreaOffset",value:function(){var e=this.data.getSelectedRect(),t=this.data.getClipboardRect();lt.call(this,e),ht.call(this,t),this.resetOffset()}},{key:"resetBRTAreaOffset",value:function(){var e=this.data.getSelectedRect(),t=this.data.getClipboardRect();this.data.displayRight2Left?0===this.data.freeze[1]?et.call(this,e):(nt.call(this,e),tt.call(this,e),rt.call(this,t),ot.call(this,t)):(et.call(this,e),it.call(this,e),at.call(this,t),st.call(this,t)),this.resetOffset()}},{key:"resetBRLAreaOffset",value:function(){var e=this.data.getSelectedRect(),t=this.data.getClipboardRect();et.call(this,e),nt.call(this,e),at.call(this,t),rt.call(this,t),this.resetOffset()}},{key:"set",value:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.data,r=n.calSelectedRangeByStart(e,t),a=r.sri,o=r.sci;if(i){var s=e,l=t;e<0&&(s=0),t<0&&(l=0),n.selector.setIndexes(s,l),this.indexes=[s,l]}this.moveIndexes=[a,o],this.range=r,this.resetAreaOffset(),this.el.show()}},{key:"setEnd",value:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.data,r=this.lastri,a=this.lastci;if(i){if(e===r&&t===a)return;this.lastri=e,this.lastci=t}this.moveIndexes=[e,t],this.range=n.calSelectedRangeByEnd(e,t),lt.call(this,this.data.getSelectedRect())}},{key:"setEndMobile",value:function(e,t){lt.call(this,{width:this.mobilestartOffset.width+e,height:this.mobilestartOffset.height+t,left:this.mobilestartOffset.left,top:this.mobilestartOffset.top})}},{key:"getMobileMultipleSelect",value:function(e,t){var i=this.mobilestartRange,n=i.sri,r=i.sci,a=i.eri,o=i.eci,s=0,l=0,h=a,c=o;if(t>0){for(var u=a+1;u<=this.data.rows.len-1;u++)if((s+=this.data.rows.getHeight(u))>t){h=u-1;break}}else{t=-t;for(u=a;u>=n;u--)if((s+=this.data.rows.getHeight(u))>t){h=u-1;break}h===n-1&&(h=n)}if(e>0){for(var d=o+1;d<=this.data.cols.len-1;d++)if((l+=this.data.cols.getWidth(d))>e){c=d-1;break}}else{e=-e;for(d=o;d>=r;d--)if((l+=this.data.cols.getWidth(d))>e){c=d-1;break}c===r-1&&(c=r)}return[h,c]}},{key:"setMobileMultipleSelect",value:function(e,t){var i=this.getMobileMultipleSelect(e,t),n=l()(i,2),r=n[0],a=n[1];this.setEnd(r,a,!1)}},{key:"setMobile",value:function(e,t,i,n){var r=this.range,a=r.eri,o=r.eci;this.set(e,t),this.lastri=this.lastci=0,this.setEnd(a,o);var s=this.data.getSelectedRect();i=i>s.width+s.left?s.width+s.left:i,n=n>s.height+s.top?s.height+s.top:n,lt.call(this,{width:s.width+(s.left-i),height:s.height+(s.top-n),left:i,top:n}),this.el.show()}},{key:"reset",value:function(){var e=this.data.selector.range,t=e.eri,i=e.eci;this.setEnd(t,i)}},{key:"showAutofill",value:function(e,t){if(-1!==e||-1!==t){var i=this.range,n=i.sri,r=i.sci,a=i.eri,o=i.eci,s=e,l=t,h=n-e,c=a-e,u=o-t;if(r-t>0)this.arange=new S(n,l,a,r-1);else if(h>0)this.arange=new S(s,r,n-1,o);else if(u<0)this.arange=new S(n,o+1,a,l);else{if(!(c<0))return void(this.arange=null);this.arange=new S(a+1,r,s,o)}if(null!==this.arange){var d=this.data.getRect(this.arange);d.width+=2,d.height+=2;var f=this.br,v=this.l,g=this.t,p=this.tl;f.showAutofill(Je.call(this,d)),v.showAutofill(Qe.call(this,d)),g.showAutofill($e.call(this,d)),p.showAutofill(d)}}}},{key:"hideAutofill",value:function(){var e=this;["br","l","t","tl"].forEach((function(t){e[t].hideAutofill()}))}},{key:"showClipboard",value:function(){var e=this,t=this.data.getClipboardRect();ht.call(this,t),["br","l","t","tl"].forEach((function(t){e[t].showClipboard()}))}},{key:"hideClipboard",value:function(){var e=this;["br","l","t","tl"].forEach((function(t){e[t].hideClipboard()}))}}]),e}();function ut(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var dt=function(e){me()(i,e);var t=ut(i);function i(e){var n;return c()(this,i),(n=t.call(this,"dialog")).show(),n.setContent(e),n}return o()(i,[{key:"hide",value:function(){this.removeAttr("open")}},{key:"show",value:function(){this.attr("open","")}},{key:"setContent",value:function(e){var t=p("p");t.child(e),this.child(t)}}],[{key:"findDialog",value:function(e){for(var t=[],i=0;i<e.children().length;i++)"dialog"===e.children()[i].localName&&t.push(i);return t}}]),i}(g);function ft(e){e.preventDefault(),e.stopPropagation();var t=this.filterItems;t.length<=0||(this.itemIndex>=0&&(t[this.itemIndex].toggle(),t[this.itemIndex].el.hideHelp()),this.itemIndex-=1,this.itemIndex<0&&(this.itemIndex=t.length-1),t[this.itemIndex].toggle(),t[this.itemIndex].el.showHelp())}function vt(e){e.stopPropagation();var t=this.filterItems;t.length<=0||(this.itemIndex>=0&&(t[this.itemIndex].toggle(),t[this.itemIndex].el.hideHelp()),this.itemIndex+=1,this.itemIndex>t.length-1&&(this.itemIndex=0),t[this.itemIndex].toggle(),t[this.itemIndex].el.showHelp())}function gt(e){e.preventDefault();var t=this.filterItems;t.length<=0||(e.stopPropagation(),this.itemIndex<0&&(this.itemIndex=0),t[this.itemIndex].el.click(),this.hide())}function pt(e,t){t.focusing=!0;var i=e.keyCode;switch(e.ctrlKey&&e.stopPropagation(),i){case 37:e.stopPropagation();break;case 38:ft.call(this,e);break;case 39:e.stopPropagation();break;case 40:vt.call(this,e);break;case 13:case 9:gt.call(this,e);break;default:e.stopPropagation()}}var mt=function(){function e(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"200px";c()(this,e),this.filterItems=[],this.items=t,this.el=p("div","".concat(xe,"-suggest")).css("width",n).hide(),this.itemClick=i,this.itemIndex=-1}return o()(e,[{key:"setOffset",value:function(e){this.el.cssRemoveKeys("top","bottom").offset(e)}},{key:"hide",value:function(){var e=this.el;this.filterItems=[],this.itemIndex=-1,e.hide();for(var t=dt.findDialog(e.parent()),i=0;i<t.length;i++)e.parent().removeChild(e.parent().children()[t[i]]);je(this.el.parent())}},{key:"setItems",value:function(e){this.items=e,e.length>10?this.el.css("height","200px"):this.el.cssRemoveKeys("height")}},{key:"search",value:function(e){var t,i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=this.items;if(/^\s*$/.test(e)||(r=r.filter((function(t){return(t.key||t).startsWith(e.toUpperCase())}))),r=r.map((function(e){var t=e.title;t?"function"==typeof t&&(t=t()):t=e;var r=p("div","".concat(xe,"-item")).child("f"===n?e.key:t).on("click.stop",(function(t){window.issugestclick=!0,i.itemClick(e),i.hide()}));return e.label&&r.child(p("div","label").html(e.label)),"f"===n&&(r.el.help=new dt(e.title())),r.el.showHelp=function(){var e=i.el.el.offsetTop+i.filterItems[i.itemIndex].el.offsetTop,t=i.el.el.offsetLeft+i.filterItems[i.itemIndex].el.clientWidth+20,n={top:"".concat(e,"px"),left:"".concat(t,"px"),"line-height":"16px",padding:"5px 2px"},r=i.filterItems[i.itemIndex].el.help;r.css(n),i.el.parent().child(r),He(r,(function(e){for(var t=dt.findDialog(i.el.parent()),n=0;n<t.length;n++)i.el.parent().removeChild(i.el.parent().children()[t[n]]);je(e)}))},r.el.hideHelp=function(){i.el.parent().contains(i.filterItems[i.itemIndex].el.help.el)&&i.el.parent().removeChild(i.filterItems[i.itemIndex].el.help.el),je(i.filterItems[i.itemIndex].el.help)},r})),this.filterItems=r,!(r.length<=0)){var a=this.el;if((t=a.html("")).children.apply(t,y()(r)).show(),"f"===n){for(var o=dt.findDialog(a.parent()),s=0;s<o.length;s++)a.parent().removeChild(a.parent().children()[o[s]]);this.itemIndex=0,this.filterItems[this.itemIndex].el.hideHelp(),this.filterItems[this.itemIndex].toggle(),this.filterItems[this.itemIndex].el.showHelp(),He(a.parent(),(function(){i.hide(),i.filterItems.forEach((function(e){return e.hideHelp()}))}))}}}},{key:"bindInputEvents",value:function(e,t){var i=this;e.on("keydown",(function(e){return pt.call(i,e,t)}))}}]),e}();function yt(e,t){e.setMonth(e.getMonth()+t)}function bt(e,t){var i=new Date(e);return i.setDate(t-e.getDay()+1),i}var wt=function(){function e(t){var i,n=this;c()(this,e),this.value=t,this.cvalue=new Date(t),this.headerLeftEl=p("div","calendar-header-left"),this.bodyEl=p("tbody",""),this.buildAll(),this.el=p("div","x-spreadsheet-calendar").children(p("div","calendar-header").children(this.headerLeftEl,p("div","calendar-header-right").children(p("a","calendar-prev").on("click.stop",(function(){return n.prev()})).child(new Ce("chevron-left")),p("a","calendar-next").on("click.stop",(function(){return n.next()})).child(new Ce("chevron-right")))),p("table","calendar-body").children(p("thead","").child((i=p("tr","")).children.apply(i,y()(Q("calendar.weeks").map((function(e){return p("th","cell").child(e)}))))),this.bodyEl)),this.selectChange=function(){}}return o()(e,[{key:"setValue",value:function(e){this.value=e,this.cvalue=new Date(e),this.buildAll()}},{key:"prev",value:function(){yt(this.value,-1),this.buildAll()}},{key:"next",value:function(){yt(this.value,1),this.buildAll()}},{key:"buildAll",value:function(){this.buildHeaderLeft(),this.buildBody()}},{key:"buildHeaderLeft",value:function(){var e=this.value;this.headerLeftEl.html("".concat(Q("calendar.months")[e.getMonth()]," ").concat(e.getFullYear()))}},{key:"buildBody",value:function(){var e,t=this,i=this.value,n=this.cvalue,r=this.bodyEl,a=function(e,t,i){for(var n=new Date(e,t,1,23,59,59),r=[[],[],[],[],[],[]],a=0;a<6;a+=1)for(var o=0;o<7;o+=1){var s=bt(n,7*a+o),l=s.getMonth()!==t,h=s.getMonth()===i.getMonth()&&s.getDate()===i.getDate();r[a][o]={d:s,disabled:l,active:h}}return r}(i.getFullYear(),i.getMonth(),n).map((function(e){var i,n=e.map((function(e){var i="cell";return e.disabled&&(i+=" disabled"),e.active&&(i+=" active"),p("td","").child(p("div",i).on("click.stop",(function(){t.selectChange(e.d)})).child(e.d.getDate().toString()))}));return(i=p("tr","")).children.apply(i,y()(n))}));(e=r.html("")).children.apply(e,y()(a))}}]),e}(),qt=function(){function e(){c()(this,e),this.calendar=new wt(new Date),this.el=p("div","".concat(xe,"-datepicker")).child(this.calendar.el).hide()}return o()(e,[{key:"setValue",value:function(e){var t=this.calendar;return"string"==typeof e?/^\d{4}-\d{1,2}-\d{1,2}$/.test(e)&&t.setValue(new Date(e.replace(new RegExp("-","g"),"/"))):e instanceof Date&&t.setValue(e),this}},{key:"change",value:function(e){var t=this;this.calendar.selectChange=function(i){e(i),t.hide()}}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}]),e}();function xt(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return kt(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return kt(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Ct=function(){function e(){c()(this,e),this.el=p("div").hide(),this.el.css({position:"absolute",padding:"5px",color:"#000","border-radius":"1px","font-size":"12px","z-index":"201","line-height":"10px","min-width":"20px",background:"#fff",border:"1px solid",top:"30px",left:"0px","white-space":"nowrap"})}return o()(e,[{key:"tipContent",value:function(e,t){if(void 0===e)return"";var i=e.tipInfo.args.slice(),n=e.tipInfo.repeat,r=e.tipInfo.repeatstart,a=e.tipInfo.repeatcount,o=[];if(n){void 0===r&&(r=i.length-1,a=1);for(var s=r;s<r+a;s++)o.push(i[s].name);i.splice(r,a)}var l=[];o.length>0&&function(){for(var e=1;i.length<t+2;)o.forEach((function(t){var n=t+e;i.push({name:n,required:!1})})),e++;i.push({name:"...",required:!0})}();for(var h=0;h<i.length;h++){var c=i[h].name;h>0&&!i[h].required&&h>=r+a&&((h-r)%a==0&&(c="["+c),(h-r)%a==a-1&&(c+="]")),l.push(c)}return l[t]="<strong>".concat(l[t],"</strong>"),"".concat(e.key.toUpperCase(),"(").concat(l.join(", "),")")}},{key:"hide",value:function(){this.el.hide()}},{key:"show",value:function(e){if(-1!==e.startsWith("=")){var t,i="",n=[],r=[],a=xt(e.substring(1));try{for(a.s();!(t=a.n()).done;){var o=t.value;switch(o){case"(":n.unshift(i),r.unshift(0),i="";break;case")":n.shift(),r.shift();break;case",":r[0]++,i="";break;case"=":break;default:i+=o}}}catch(e){a.e(e)}finally{a.f()}var s=se.find((function(e){return void 0!==n[0]&&e.key===n[0].toUpperCase()})),l=this.tipContent(s,r[0]);this.el.html(l),""!==l&&this.el.show(),""===l?this.el.hide():this.el.show(),He(this.el)}}}]),e}(),St=i(15),Tt=i.n(St),_t=[{key:"Arial",title:"Arial"},{key:"Arial Black",title:"Arial Black"},{key:"Comic Sans",title:"Comic Sans"},{key:"Comic Sans MS",title:"Comic Sans MS"},{key:"Courier New",title:"Courier New"},{key:"Georgia",title:"Georgia"},{key:"Impact",title:"Impact"},{key:"Lucida Console",title:"Lucida Console"},{key:"Lucida Sans",title:"Lucida Sans"},{key:"Palatino",title:"Palatino"},{key:"Tahoma",title:"Tahoma"},{key:"Times New Roman",title:"Times New Roman"},{key:"Trebuchet",title:"Trebuchet"},{key:"Verdana",title:"Verdana"},{key:"Lato",title:"Lato"},{key:"Helvetica",title:"Helvetica"},{key:"Source Sans Pro",title:"Source Sans Pro"}],Ot=[{pt:7.5,px:10},{pt:8,px:11},{pt:9,px:12},{pt:10,px:13},{pt:10.5,px:14},{pt:11,px:15},{pt:12,px:16},{pt:14,px:18.7},{pt:15,px:20},{pt:16,px:21.3},{pt:18,px:24},{pt:22,px:29.3},{pt:24,px:32},{pt:26,px:34.7},{pt:36,px:48},{pt:42,px:56}];function Rt(e){for(var t=0;t<Ot.length;t+=1){var i=Ot[t];if(i.pt===e)return i.px}return 4*e/3}var Et=function(e){return e},At=function(e){if(/^(-?\d*.?\d*)$/.test(e)){var t=Number(e).toFixed(2).toString().split("\\."),i=v()(t),n=i[0],r=i.slice(1);return[n.toLocaleString()].concat(y()(r))}return e},Mt=[{key:"normal",title:ee("format.normal"),type:"string",render:Et},{key:"text",title:ee("format.text"),type:"string",render:Et},{key:"number",title:ee("format.number"),type:"number",label:"1,000.12",render:At},{key:"percent",title:ee("format.percent"),type:"number",label:"10.12%",render:function(e){return"".concat(e,"%")}},{key:"rmb",title:ee("format.rmb"),type:"number",label:"¥10.00",render:function(e){return"¥".concat(At(e))}},{key:"usd",title:ee("format.usd"),type:"number",label:"$10.00",render:function(e){return"$".concat(At(e))}},{key:"eur",title:ee("format.eur"),type:"number",label:"€10.00",render:function(e){return"€".concat(At(e))}},{key:"date",title:ee("format.date"),type:"date",label:"26/09/2008",render:Et},{key:"time",title:ee("format.time"),type:"date",label:"15:59:00",render:Et},{key:"datetime",title:ee("format.datetime"),type:"date",label:"26/09/2008 15:59:00",render:Et},{key:"duration",title:ee("format.duration"),type:"date",label:"24:01:00",render:Et}],It={};function Bt(){return window.devicePixelRatio||1}function Dt(){return.5}function zt(e){return parseInt(e*Bt(),10)}function Pt(e){var t=Math.ceil(e/Bt());return zt(t)===e?t:t-1}function Ft(e){var t=zt(e);return t>0?t-.5:.5}function Lt(e,t){var i=e.slice(1);return"rgba("+[parseInt("0x"+i.slice(0,2)),parseInt("0x"+i.slice(2,4)),parseInt("0x"+i.slice(4,6)),1-t].toString()+")"}function jt(e){var t=document.createElement("canvas").getContext("2d");return t.font="".concat(e.italic?"italic":""," ").concat(e.bold?"bold":""," ").concat(zt(e.size),"px ").concat(e.name),t.measureText(" ").width}Mt.forEach((function(e){It[e.key]=e}));var Ht=function(){function e(t,i,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;c()(this,e),this.x=t,this.y=i,this.width=n,this.height=r,this.padding=a,this.bgcolor="#ffffff",this.borderTop=null,this.borderRight=null,this.borderBottom=null,this.borderLeft=null,this.pbgcolor=null,this.pattern=null}return o()(e,[{key:"setBorders",value:function(e){var t=e.top,i=e.bottom,n=e.left,r=e.right;t&&(this.borderTop=t),r&&(this.borderRight=r),i&&(this.borderBottom=i),n&&(this.borderLeft=n)}},{key:"setPading",value:function(e,t,i,n){this.lpading=e,this.rpading=t,this.tpading=i,this.bpading=n}},{key:"setPattern",value:function(e){e&&(this.pattern=e)}},{key:"setTwoColor",value:function(e){e&&(this.twocolor=e)}},{key:"resize",value:function(e,t){this.width=e,this.height=t}},{key:"innerWidth",value:function(){return this.lpading>=0&&this.rpading>=0?this.width-(this.lpading+this.rpading)-2:this.width-2*this.padding-2}},{key:"innerHeight",value:function(){return this.tpading>=0&&this.bpading>=0?this.height-(this.tpading+this.bpading)-2:this.height-2*this.padding-2}},{key:"textx",value:function(e){var t=this.width,i=this.padding,n=this.lpading,r=this.rpading,a=this.x;return"left"===e?a+=n>=0?n:i:"center"===e?a+=t/2:"right"===e&&(a+=t-(r>=0?r:i)),a}},{key:"texty",value:function(e,t){var i=this.height,n=this.padding,r=this.tpading,a=this.bpading,o=this.y;return"top"===e?o+=r>=0?r:n:"middle"===e?o+=i/2-t/2:"bottom"===e&&(o+=i-(a>=0?a:n)-t),o}},{key:"topxys",value:function(){var e=this.x,t=this.y;return[[e,t],[e+this.width,t]]}},{key:"rightxys",value:function(){var e=this.x,t=this.y,i=this.width;return[[e+i,t],[e+i,t+this.height]]}},{key:"bottomxys",value:function(){var e=this.x,t=this.y,i=this.width,n=this.height;return[[e,t+n],[e+i,t+n]]}},{key:"leftxys",value:function(){var e=this.x,t=this.y;return[[e,t],[e,t+this.height]]}}]),e}();function Nt(e,t,i,n,r,a,o){var s={x:0,y:0};"underline"===e?s.y="bottom"===r?0:"top"===r?-(a+2):-a/2:"strike"===e&&("bottom"===r?s.y=a/2:"top"===r&&(s.y=-(a/2+2))),"center"===n?s.x=o/2:"right"===n&&(s.x=o),this.line([t-s.x,i-s.y],[t-s.x+o,i-s.y])}function Ut(e,t,i,n,r,a){for(var o=i;o<r;o+=a)e.moveTo(t,o),e.lineTo(n,o)}function Xt(e,t,i,n){var r=document.createElement("canvas");r.width=e,r.height=e;var a=r.getContext("2d");return function(e,t,i,n,r){var a,o,s;switch(t){case"BottomLeft":a=e.createLinearGradient(0,0,r,r),o=e.createLinearGradient(r,r,0,0),s=e.createLinearGradient(r,0,0,r);break;case"BottomRight":a=e.createLinearGradient(r,0,0,r),o=e.createLinearGradient(0,r,r,0),s=e.createLinearGradient(0,0,r,r);break;case"TopRight":a=e.createLinearGradient(r,r,0,0),o=e.createLinearGradient(0,0,r,r),s=e.createLinearGradient(0,r,r,0);break;case"TopLeft":a=e.createLinearGradient(0,r,r,0),o=e.createLinearGradient(r,0,0,r),s=e.createLinearGradient(r,r,0,0)}return a.addColorStop(0,n),a.addColorStop(.5,i),a.addColorStop(1,Lt(n,1)),o.addColorStop(0,n),o.addColorStop(.5,i),o.addColorStop(1,Lt(n,1)),s.addColorStop(0,n),s.addColorStop(1,Lt(n,1)),[a,o,s]}(a,t,i,n,e).forEach((function(e){a.fillStyle=e,a.fillRect(0,0,r.width,r.height)})),r}function Wt(e,t,i,n,r,a,o,s){var l,h,c=document.createElement("canvas");c.width=400,c.height=400;var u=c.getContext("2d");switch(s){case"topToBottom":l=e.createLinearGradient(t,i,t,r);break;case"bottomToTop":l=e.createLinearGradient(t,r,t,i);break;case"rightToLeft":l=e.createLinearGradient(n,i,t,i);break;case"leftToRight":l=e.createLinearGradient(t,i,n,i);break;case"leftTopToRightBottom":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(0,0,c.width,c.height)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"rightBottomToLeftTop":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(c.width,c.height,0,0)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"leftBottomToRightTop":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(0,c.height,c.width,0)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"rightTopToLeftBottom":return u.clearRect(0,0,c.width,c.height),(l=u.createLinearGradient(c.width,0,0,c.height)).addColorStop(0,a),l.addColorStop(1,o),u.fillStyle=l,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"horizontalMiddleToSides":(l=e.createLinearGradient(t,i+(r-i)/2,n,i+(r-i)/2)).addColorStop(0,a),l.addColorStop(.5,o),l.addColorStop(1,a);break;case"verticalMiddleToSides":(l=e.createLinearGradient(t+(n-t)/2,i,t+(n-t)/2,r)).addColorStop(0,a),l.addColorStop(.5,o),l.addColorStop(1,a);break;case"leftDiagonalMiddleToSides":u.clearRect(0,0,c.width,c.height);var d=u.createLinearGradient(0,c.height,c.width,0);d.addColorStop(0,a),d.addColorStop(.5,o),d.addColorStop(1,Lt(o,1)),u.fillStyle=d,u.fillRect(0,0,c.width,c.height);var f=u.createLinearGradient(c.width,0,0,c.height);return f.addColorStop(0,a),f.addColorStop(.5,o),f.addColorStop(1,Lt(o,1)),u.fillStyle=f,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"rightDiagonalMiddleToSides":u.clearRect(0,0,c.width,c.height);var v=u.createLinearGradient(0,0,c.width,c.height);v.addColorStop(0,a),v.addColorStop(.5,o),v.addColorStop(1,Lt(o,1)),u.fillStyle=v,u.fillRect(0,0,c.width,c.height);var g=u.createLinearGradient(c.width,c.height,0,0);return g.addColorStop(0,a),g.addColorStop(.5,o),g.addColorStop(1,Lt(o,1)),u.fillStyle=g,u.fillRect(0,0,c.width,c.height),void e.drawImage(c,t,i,n-t,r-i);case"centerRadiate":u.clearRect(0,0,c.width,c.height);var p=Xt(200,"BottomRight",a,o),m=Xt(200,"BottomLeft",a,o),y=Xt(200,"TopRight",a,o),b=Xt(200,"TopLeft",a,o);return u.drawImage(p,0,0,200,200),u.drawImage(m,200,0,200,200),u.drawImage(y,0,200,200,200),u.drawImage(b,200,200,200,200),void e.drawImage(c,t,i,n-t,r-i);case"angleRadiateTopLeft":return h=Xt(400,"TopLeft",a,o),void e.drawImage(h,t,i,n-t,r-i);case"angleRadiateTopRight":return h=Xt(400,"TopRight",a,o),void e.drawImage(h,t,i,n-t,r-i);case"angleRadiateBottomLeft":return h=Xt(400,"BottomLeft",a,o),void e.drawImage(h,t,i,n-t,r-i);case"angleRadiateBottomRight":return h=Xt(400,"BottomRight",a,o),void e.drawImage(h,t,i,n-t,r-i);default:throw new Error("Invalid direction provided.")}["horizontalMiddleToSides","leftTopToRightBottom","verticalMiddleToSides","leftDiagonalMiddleToSides","rightDiagonalMiddleToSides"].includes(s)||(l.addColorStop(0,a),l.addColorStop(1,o)),e.fillStyle=l,e.fillRect(t,i,n-t,r-i)}function Yt(e,t,i,n,r,a){for(var o=t;o<n;o+=a)e.moveTo(o,i),e.lineTo(o,r)}function Vt(e,t,i,n,r,a){for(var o=t,s=o+a;s<=n;s+=a)e.moveTo(s,r),e.lineTo(o,i),o+=a}function Gt(e,t,i,n,r,a){for(var o=t,s=o+a;s<=n;s+=a)e.moveTo(o,r),e.lineTo(s,i),o+=a}function Kt(e,t,i,n,r,a){for(var o=i;o<r;o+=a)e.moveTo(t,o),e.lineTo(n,o)}var Zt=function(){function e(t,i,n){c()(this,e),this.width=i,this.height=n,this.ctx=t,this.ctx.scale(Bt(),Bt())}return o()(e,[{key:"setel",value:function(e){var t=this.width,i=this.height;this.el=e,this.ctx=e.getContext("2d"),this.resize(t,i),this.ctx.scale(Bt(),Bt())}},{key:"resize",value:function(e,t){this.width=e,this.height=t,this.el.style.width="".concat(e,"px"),this.el.style.height="".concat(t,"px"),this.el.width=zt(e),this.el.height=zt(t)}},{key:"clear",value:function(){var e=this.width,t=this.height;return this.ctx.clearRect(0,0,zt(e),zt(t)),this}},{key:"attr",value:function(e){return Object.assign(this.ctx,e),this}},{key:"save",value:function(){return this.ctx.save(),this.ctx.beginPath(),this}},{key:"restore",value:function(){return this.ctx.restore(),this}},{key:"beginPath",value:function(){return this.ctx.beginPath(),this}},{key:"translate",value:function(e,t){return this.ctx.translate(zt(e),zt(t)),this}},{key:"scale",value:function(e,t){return this.ctx.scale(e,t),this}},{key:"scaledpr",value:function(e){this.scale(e,e)}},{key:"clearRect",value:function(e,t,i,n){return this.ctx.clearRect(e,t,i,n),this}},{key:"fillRectWithColor",value:function(e,t,i,n,r,a,o){var s=this.ctx;this.save(),void 0!==e&&(s.fillStyle=o?Lt(e,o):e),this.fillRect(t,i,n,r),a&&(s.globalCompositeOperation="lighter",s.fillStyle="rgba(255, 255, 255, 0.8)",this.fillRect(t,i,n,r)),this.restore()}},{key:"fillRect",value:function(e,t,i,n){return this.ctx.fillRect(zt(e)-.5,zt(t)-.5,zt(i),zt(n)),this}},{key:"fillText",value:function(e,t,i){return this.ctx.fillText(e,zt(t),zt(i)),this}},{key:"richtext",value:function(e,t,i,n){var r=this,a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5?arguments[5]:void 0,s=this.ctx,l=e.bigfontsize,h=e.rtxt,c=e.text,u=e.isactiveeffect,d=c.length,f=t.exttxtwidth?t.exttxtwidth+t.innerWidth():t.innerWidth();if(!(f<=0)){var v=t.textx(i);s.save(),s.beginPath();var g=this;this.attr({textAlign:"center"===i?"right":i,textBaseline:"bottom"});var p=[],m=[],y=-1,b=-1,w=null,q=h.length;if(a)for(var x=0;x<q;x++){for(var k=h[x],C=[],S=0,T=0,_=0,O=0;O<k.length;O++){var R=k[O];w&&(R=w),g.attr({font:"".concat(R.font.italic?"italic":""," ").concat(R.font.bold?"bold":""," ").concat(zt(R.font.size),"pt ").concat(R.font.name)});var E=s.measureText(R.txt).width;if(T=S,(S+=E)>zt(f)){for(var A={w:T,len:0,start:0},M=0;M<R.txt.length;)if(" "===R.txt[M]&&(y=M,b=O),A.w+=s.measureText(R.txt[M]).width+1,A.w>=zt(f)){A.len===A.start&&0===C.length&&(A.len+=1,M++);var I=!1;if(y>-1&&y!=A.len&&b!=O)for(var B=C.length-1;B>=0;B--){var D=C[B].txt.lastIndexOf(" ");if(D>0){(w={}).font=C[B].font,w.txt=C[B].txt.substr(D+1),C.splice(1+B,C.length-1-B);var z=C[B].txt.substr(0,D+1),P={};P.font=C[B].font,P.txt=z,C[B]=P,C[C.length-1].notorigindivide=!0,p.push(C);for(var F=0,L=0;L<=B;L++)F<C[L].font.size&&(F=C[L].font.size);m.push(F),A={w:0,len:0,start:0},S=0,C=[],_=0,O=b-1,y=-1,I=!0;break}}if(I)break;if(w=null,A.len>A.start){var j={};j.font=R.font,j.txt=R.txt.substring(A.start,A.len),j.notorigindivide=!0,C.push(j),R.font.size>_&&(_=R.font.size)}C[C.length-1].notorigindivide=!0,p.push(C),m.push(_),A={w:0,len:M,start:M},S=0,C=[],_=0}else A.len+=1,M++;if(A.len>A.start){var H={};H.font=R.font,H.txt=R.txt.substring(A.start,A.len),C.push(H),R.font.size>_&&(_=R.font.size),S=A.w;var N=H.txt.lastIndexOf(" ");N>=0&&(y=N,b=O)}}else{w=null,C.push(R),R.font.size>_&&(_=R.font.size);var U=R.txt.lastIndexOf(" ");U>=0&&(y=U,b=O)}}p.push(C),m.push(_)}else p=h,m=l;for(var X=m.length,W=0,Y=0;Y<X;Y++)W+=m[Y]+8;var V=[],G=[];if("center"===i||"right"===i)for(var K=0;K<X;K++){var Z=p[K],J=0;Z.forEach((function(e){g.attr({font:"".concat(e.font.italic?"italic":""," ").concat(e.font.bold?"bold":""," ").concat(zt(e.font.size),"pt ").concat(e.font.name),fillStyle:e.font.color,strokeStyle:e.font.color}),J+=Pt(s.measureText(e.txt).width)})),G.push(J)}if(0==o.length&&o.push(null),o.forEach((function(e){for(var a=t.texty(n,W),o=0,l=!1,h=!1,f=function(t){var n=p[t],f=0,y=v,b=y,w=y,q=m[t]+8,x=G.length>0?G[t]:0;"center"===i?b=y-x/2:"right"===i&&(b=y-x);var k=b;a+=q,n.forEach((function(t){g.attr({font:"".concat(t.font.italic?"italic":""," ").concat(t.font.bold?"bold":""," ").concat(zt(t.font.size),"pt ").concat(t.font.name),fillStyle:u?"#217346":t.font.color,strokeStyle:u?"#217346":t.font.color});var n=Pt(s.measureText(t.txt).width);if(w=k+n,null!==e){for(var v=e.start;"\n"===c[v++]&&v<e.end&&v<d;)e.start=v;if(o<=e.start&&e.start<o+t.txt.length){l=!0;var p=t.txt.substr(0,e.start-o),m=Pt(s.measureText(p).width);b=k+m}if(o<=e.end&&e.end<=o+t.txt.length){var C=t.txt.substr(0,e.end-o),S=Pt(s.measureText(C).width);w=k+S,l=!1,V.push({x:b,y:a-q,w:w-b,h:q})}}f+=n;var T=0;"center"===i?T=x/2-f:"right"===i&&(T=x-f),h||r.fillText(t.txt,y-T,a),"center"===i&&(T+=n/2),!h&&t.font.strike&&Nt.call(r,"strike",y-T,a,i,"bottom",t.font.size,n),!h&&t.font.underline&&Nt.call(r,"underline",y-T,a,i,"bottom",t.font.size,n),"left"===i&&(y+=n),k+=n,o+=t.txt.length})),null!==e&&l&&V.push({x:b,y:a-q,w:w-b,h:q});var C=n.length;C>0&&n[C-1].notorigindivide||o++},y=0;y<X;y++)f(y);h||(h=!0)})),s.restore(),null!=o[0]){s.save(),this.attr({fillStyle:o[0].color});for(var $=0,Q=V.length;$<Q;$++){var ee=V[$];this.fillRect(ee.x,ee.y,ee.w,ee.h)}s.restore()}return this}}},{key:"text",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4?arguments[4]:void 0,o=this.ctx,s=n.align,l=n.valign,h=n.font,c=n.color,u=n.strike,d=n.underline,f=t.textx(s);o.save(),o.beginPath(),this.attr({textAlign:s,textBaseline:l,font:"".concat(h.italic?"italic":""," ").concat(h.bold?"bold":""," ").concat(zt(h.size),"px ").concat(h.name),fillStyle:c,strokeStyle:c});var v="".concat(e).split("\n"),g=t.exttxtwidth?t.exttxtwidth+t.innerWidth():t.innerWidth(),p=[],m=-1;v.forEach((function(e){var t=o.measureText(e).width;if(r&&t>zt(g)){for(var i={w:0,len:0,start:0},n=0;n<e.length;n+=1)" "===e[n]&&(m=n),i.len+=1,i.w+=o.measureText(e[n]).width+1,i.w>=zt(g)&&(m>i.start?(p.push(e.substring(i.start,m)),i={w:0,len:0,start:m+1},n=m):(p.push(e.substr(i.start,i.len)),i={w:0,len:0,start:n+1}),m=-1);i.len>0&&(p.push(e.substr(i.start,i.len)),m=-1)}else p.push(e)}));var y=(p.length-1)*(h.size+2),b=!1,w=[];if(0==a.length&&a.push(null),a.forEach((function(e){var n=t.texty(l,y),r=0,a=!1;p.forEach((function(t){var c=o.measureText(t).width,v=f,g=f+Pt(c);if(null!==e){if(r<=e.start&&e.start<r+t.length){a=!0;var p=t.substr(0,e.start-r),m=Pt(o.measureText(p).width);v+=m,Pt(c)-m}if(r<e.end&&e.end<r+t.length){var y=t.substr(0,e.end-r),q=Pt(o.measureText(y).width);g=f+q}if(r>e.end&&(a=!1),a){var x={x:0,y:0};x.y="bottom"===l?h.size+2:"top"===l?2:(h.size+2)/2,"center"===s?x.x=Pt(c/2):"right"===s&&(x.x=Pt(c)),w.push({x:v-x.x,y:n-x.y,w:g-v,h:h.size+2})}}b||(i.fillText(t,f,n),u&&Nt.call(i,"strike",f,n,s,l,h.size,Pt(c)),d&&Nt.call(i,"underline",f,n,s,l,h.size,Pt(c))),n+=h.size+2,r+=t.length+1})),b||(b=!0)})),o.restore(),null!==a[0]){o.save(),this.attr({fillStyle:a[0].color});for(var q=0,x=w.length;q<x;q++){var k=w[q];this.fillRect(k.x,k.y,k.w,k.h)}o.restore()}return this}},{key:"border",value:function(e,t){var i=this.ctx;return i.lineWidth=1,i.strokeStyle=t,"medium"===e?i.lineWidth=zt(2)-.5:"thick"===e?i.lineWidth=zt(3):"dashed"===e?i.setLineDash([zt(3),zt(2)]):"dotted"===e?i.setLineDash([zt(1),zt(1)]):"double"===e&&i.setLineDash([zt(2),0]),this}},{key:"line",value:function(){var e=this.ctx;if(arguments.length>1){e.beginPath();var t=arguments.length<=0?void 0:arguments[0],i=l()(t,2),n=i[0],r=i[1];e.moveTo(Ft(n),Ft(r));for(var a=1;a<arguments.length;a+=1){var o=a<0||arguments.length<=a?void 0:arguments[a],s=l()(o,2),h=s[0],c=s[1];e.lineTo(Ft(h),Ft(c))}e.stroke()}return this}},{key:"strokeBorders",value:function(e){var t=this.ctx;t.save();var i=e.borderTop,n=e.borderRight,r=e.borderBottom,a=e.borderLeft;i&&(this.border.apply(this,y()(i)),this.line.apply(this,y()(e.topxys()))),n&&(this.border.apply(this,y()(n)),this.line.apply(this,y()(e.rightxys()))),r&&(this.border.apply(this,y()(r)),this.line.apply(this,y()(e.bottomxys()))),a&&(this.border.apply(this,y()(a)),this.line.apply(this,y()(e.leftxys()))),t.restore()}},{key:"strokePattern",value:function(e){var t=this.ctx;t.save();var i=e.x,n=e.y,r=e.width,a=e.height,o=e.pattern;if(o){t.beginPath();var s=Ft(i),l=s+zt(r),h=Ft(n),c=h+zt(a);switch(o){case"None":case"Solid":break;case"HorizontalStripe":t.lineWidth=2,t.setLineDash([]),Ut(t,s,h,l,c,4);break;case"ThinHorizontalStripe":t.lineWidth=1,t.setLineDash([]),Ut(t,s,h,l,c,4);break;case"Gray75":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,3);break;case"VerticalStripe":t.lineWidth=2,t.setLineDash([]),Yt(t,s,h,l,c,4);break;case"ThinVerticalStripe":t.lineWidth=1,t.setLineDash([]),Yt(t,s,h,l,c,4);break;case"Gray50":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,3.5);break;case"ReverseDiagonalStripe":t.lineWidth=2,t.setLineDash([]),Vt(t,s,h,l,c,4);break;case"ThinReverseDiagonalStripe":t.lineWidth=1,t.setLineDash([]),Vt(t,s,h,l,c,4);break;case"Gray25":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,4);break;case"DiagonalStripe":t.lineWidth=2,t.setLineDash([]),Gt(t,s,h,l,c,4);break;case"ThinDiagonalStripe":t.lineWidth=1,t.setLineDash([]),Gt(t,s,h,l,c,4);break;case"Gray12":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,4.5);break;case"DiagonalCrosshatch":t.lineWidth=1.5,t.setLineDash([]),Vt(t,s,h,l,c,4),Gt(t,s,h,l,c,4);break;case"ThinHorizontalCrosshatch":t.lineWidth=1,t.setLineDash([]),Ut(t,s,h,l,c,4),Yt(t,s,h,l,c,4);break;case"Gray6":t.lineWidth=2,t.setLineDash([2]),Kt(t,s,h,l,c,5);break;case"ThickDiagonalCrosshatch":t.lineWidth=2,t.setLineDash([]),Vt(t,s,h,l,c,4),Gt(t,s,h,l,c,4);break;case"ThinDiagonalCrosshatch":t.lineWidth=1,t.setLineDash([]),Vt(t,s,h,l,c,4),Gt(t,s,h,l,c,4)}t.closePath(),t.stroke()}t.restore()}},{key:"strokeTwoColor",value:function(e){var t=this.ctx;t.save();var i=e.x,n=e.y,r=e.width,a=e.height,o=e.twocolor;if(o){var s=o.c1,l=o.c2,h=o.type,c=o.v,u=Ft(i),d=u+zt(r),f=Ft(n),v=f+zt(a);switch(h){case 0:Wt(t,u,f,d,v,s,l,{1:"rightTopToLeftBottom",2:"leftBottomToRightTop",3:"leftDiagonalMiddleToSides"}[c]);break;case 1:Wt(t,u,f,d,v,s,l,{1:"leftTopToRightBottom",2:"rightBottomToLeftTop",3:"rightDiagonalMiddleToSides"}[c]);break;case 2:Wt(t,u,f,d,v,s,l,"centerRadiate",e);break;case 3:Wt(t,u,f,d,v,s,l,{1:"angleRadiateTopLeft",2:"angleRadiateTopRight",3:"angleRadiateBottomLeft",4:"angleRadiateBottomRight"}[c]);break;case 4:Wt(t,u,f,d,v,s,l,{1:"topToBottom",2:"bottomToTop",3:"verticalMiddleToSides"}[c]);break;case 5:Wt(t,u,f,d,v,s,l,{1:"leftToRight",2:"rightToLeft",3:"horizontalMiddleToSides"}[c])}}t.restore()}},{key:"dropdown",value:function(e){var t=this.ctx,i=e.x,n=e.y,r=i+e.width-15,a=n+e.height-15;t.save(),t.beginPath(),t.moveTo(zt(r),zt(a)),t.lineTo(zt(r+8),zt(a)),t.lineTo(zt(r+4),zt(a+6)),t.closePath(),t.fillStyle="rgba(0, 0, 0, .45)",t.fill(),t.restore()}},{key:"error",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=n+a-1;i.save(),i.beginPath(),t?(i.moveTo(zt(o-a+8),zt(r-1)),i.lineTo(zt(o-a),zt(r-1)),i.lineTo(zt(o-a),zt(r+8))):(i.moveTo(zt(o-8),zt(r-1)),i.lineTo(zt(o),zt(r-1)),i.lineTo(zt(o),zt(r+8))),i.closePath(),i.fillStyle="rgba(255, 0, 0, .65)",i.fill(),i.restore()}},{key:"frozen",value:function(e){var t=this.ctx,i=e.x,n=e.y,r=i+e.width-1;t.save(),t.beginPath(),t.moveTo(zt(r-8),zt(n-1)),t.lineTo(zt(r),zt(n-1)),t.lineTo(zt(r),zt(n+8)),t.closePath(),t.fillStyle="rgba(0, 255, 0, .85)",t.fill(),t.restore()}},{key:"line2",value:function(){var e=this.ctx;if(arguments.length>1){e.beginPath();var t=arguments.length<=0?void 0:arguments[0],i=l()(t,2),n=i[0],r=i[1];e.moveTo(n,r);for(var a=1;a<arguments.length;a+=1){var o=a<0||arguments.length<=a?void 0:arguments[a],s=l()(o,2),h=s[0],c=s[1];e.lineTo(h,c)}e.stroke()}return this}},{key:"rect3",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=e.height,s=t.bgColor,l=t.isactiveeffect,h=t.tp,c=t.borderColor;s&&this.fillRectWithColor(s,n,r,a,o,l,h),i.save(),i.beginPath(),i.rect(zt(n)-.5,zt(r)-.5,zt(a),zt(o)),i.closePath(),i.strokeStyle=c||"black",i.stroke(),i.restore()}},{key:"rect2",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=e.height,s=e.bgcolor,l=e.pbgcolor,h=e.exttxtwidthR,c=e.exttxtwidthL;if(i.save(),i.beginPath(),i.fillStyle=void 0!==s?s:void 0!==l?l:"#ffffff",i.rect(n+1,r+1,a-2,o-2),i.clip(),i.fill(),void 0!==h||void 0!==c){var u=void 0===h?0:h,d=void 0===c?0:c;i.restore(),i.save(),i.rect(n+1-d,r+1,a+u+d-2,o-2),i.clip(),t(),i.restore()}else t(),i.restore()}},{key:"rect",value:function(e,t){var i=this.ctx,n=e.x,r=e.y,a=e.width,o=e.height,s=e.bgcolor,l=e.pbgcolor,h=e.exttxtwidthR,c=e.exttxtwidthL,u=e.needclear,d=e.clipleft,f=void 0===d?0:d,v=e.cliptop,g=void 0===v?0:v,p=e.fixwidth,m=void 0===p?0:p,y=e.fixheight,b=void 0===y?0:y;if(u){var w=m?zt(m):zt(a+n)-zt(n+f),q=b?zt(b):zt(o+r)-zt(r+g);i.clearRect(zt(n+1+f),zt(r+1+g),w-2,q-3)}var x=null;if(void 0!==s?x=s:void 0!==l&&(x=l),null!=x){var k=m?zt(m):zt(a+n)-zt(n+f),C=b?zt(b):zt(o+r)-zt(r+g);i.save(),i.beginPath(),i.fillStyle=x,i.rect(zt(n+f),zt(r+g),k,C),i.clip(),i.fill(),i.restore()}var S=void 0===h?0:h,T=void 0===c?0:c;i.save(),i.rect(zt(n+1-T+f),zt(r+1+g),zt(m||a+S+T-2),zt(b||o-2)),i.clip(),t(),i.restore()}}]),e}();function Jt(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return $t(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return $t(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function $t(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Qt={fillStyle:"#f4f5f8"},ei={fillStyle:"#fff",lineWidth:Dt,strokeStyle:"#e6e6e6"};function ti(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=e.cellRect(t,i),o=a.left,s=a.top,l=a.width,h=a.height;return new Ht(o+n,s+r,l,h,3)}function ii(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=e.cellRect(t.sri,t.sci),r=n.left,a=n.top,o=e.cols.sumWidth(t.sci,t.eci+1),s=e.rows.sumHeight(t.sri,t.eri+1);return new Ht(r,a+i,o,s,3)}function ni(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=ii(e,t,i);return n.width+=3,n.height+=3,n}function ri(e,t,i,n,r,a,o){var s=e.cols,l=e.viewRangeCache;if(null==e.merges.getFirstIncludes(i,r)&&!o.textwrap&&a.text&&a.text.length>0){var h=0,c=0;if(void 0===o.align||"center"===o.align||"left"===o.align)for(var u=r+1;u<=l.eci&&e.canExtend(i,u);u++)h+=s.getWidth(u);if(o.align&&("center"===o.align||"right"===o.align))for(var d=r-1;d>=l.sci&&e.canExtend(i,d);d--)c+=s.getWidth(d);h>0&&(t.exttxtwidthR=h),c>0&&(t.exttxtwidthL=c)}}function ai(e){if(void 0!==e.rtxt&&void 0===e.bigfontsize){for(var t=[],i=[],n=[],r=0,a=e.rtxt.length,o=0;o<a;o++){var s=e.rtxt[o].txt.split("\n"),l=s.length,h=e.rtxt[o].font.size;if(1===l)n.push(e.rtxt[o]),h>r&&(r=h);else{if(0!==s[0].length){var c={};c.font=e.rtxt[o].font,c.txt=s[0],n.push(c),h>r&&(r=h)}i.push(r),t.push(n),n=[],r=0;for(var u=1;u<l-1;u++){var d={};d.font=e.rtxt[o].font,d.txt=s[u],n.push(d),t.push(n),i.push(h),n=[],r=0}if(0!==s[l-1].length){var f={};f.font=e.rtxt[o].font,f.txt=s[l-1],n.push(f),r=h}}}n.length>0&&(i.push(r),t.push(n)),e.rtxt=t,e.bigfontsize=i}}function oi(e,t,i,n,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8?arguments[8]:void 0,h=i.sortedRowMap,c=i.rows,u=i.cols,d=i.viewRangeCache,f=i.indentPx,v=i.freeze;if(!c.isHide(n)&&!u.isHide(r)){var g=n;h.has(n)&&(g=h.get(n));var p=i.getCell(g,r);if(null!==p&&(!p.merge||s)){ai(p);var m=!1;"editable"in p&&!1===p.editable&&(m=!0);var y=i.getCellStyleOrDefault(g,r),b=(i.getCellStyleOrDefault(g,r+1),ti(i,n,r,a,o));b.bgcolor=y.bgcolor,s&&void 0===y.bgcolor&&i.bgcolor&&(b.bgcolor=i.bgcolor),s&&d.sri>n&&("lb"==e||"rb"==e)&&(b.cliptop=i.rows.sumHeight(n,d.sri)),d.sci>r&&("ru"==e||"rb"==e)&&(b.clipleft=i.cols.sumWidth(r,d.sci)),r<v[1]&&("lu"==e||"lb"==e)&&(b.fixwidth=i.cols.sumWidth(r,v[1])),s&&n<v[0]&&("lu"==e||"ru"==e)&&(b.fixheight=i.rows.sumHeight(n,v[0])),b.pbgcolor=y.pbgcolor,s&&l&&(delete b.bgcolor,delete b.pbgcolor);var w,q=b;if(y.hasbgcolor&&(void 0===y.border||y.border.right),ri(i,b,g,0,r,p,y),!s&&b.fixwidth)b.width+(null!==(w=b.exttxtwidthR)&&void 0!==w?w:0)<b.fixwidth&&delete b.fixwidth;y.indent>0?"left"===y.align?b.setPading(y.indent*f,1):"right"===y.align&&b.setPading(1,y.indent*f):b.setPading(1,1),s&&!l&&(q.needclear=!0);var x=i.getHighlightCellTxt(n,r);t.rect(q,(function(){if(!s||l){void 0!==y.twocolor&&(b.setTwoColor(y.twocolor),t.strokeTwoColor(b));var e="";e=i.settings.evalPaused||"server"===i.settings.updateMode?p.text||"":oe(p.text||"",he,(function(e,t){return i.getCellTextOrDefault(t,e)})),y.format&&"server"!==i.settings.updateMode&&(e=It[y.format].render(e));var n=Object.assign({},y.font);n.size=Rt(n.size),void 0===p.rtxt?""!==e&&t.text(e,b,{align:y.align,valign:y.valign,font:n,color:y.color,strike:y.strike,underline:y.underline},y.textwrap,x):t.richtext(p,b,y.align,y.valign,y.textwrap,x),i.validations.getError(g,r)&&t.error(b),m&&t.frozen(b),void 0!==y.pattern&&(b.setPattern(y.pattern),t.strokePattern(b))}})),void 0!==y.border&&(b.setBorders(y.border),t.strokeBorders(b))}}}function si(e){var t=this.data,i=this.draw;if(e){var n=t.autoFilter,r=t.TableAutoFilters;li(t,e,i,n),r.forEach((function(n){li(t,e,i,n)}))}}function li(e,t,i,n){if(n.active()){var r=n.hrange();t.intersects(r)&&r.each((function(t,n){var r=ti(e,t,n);i.dropdown(r)}))}}function hi(e,t,i,n,r){var a=this.draw,o=this.data;a.save(),o.displayRight2Left?a.translate(-t,i).translate(n,r):a.translate(t,i).translate(n,r),o.comments.forEach((function(t){if(e.sri<=t.row&&e.eri>=t.row&&e.sci<=t.col&&e.eci>=t.col){var i=ti(o,t.row,t.col);a.error(i,o.displayRight2Left)}})),a.restore()}function ci(e,t,i,n,r){var a=this.draw,o=this.data;a.save(),o.displayRight2Left?a.translate(-t,i).translate(n,r):a.translate(t,i).translate(n,r);var s=o.exceptRowSet,l=new Set;a.save(),a.translate(0,-0),o.eachMergesInView(e,(function(t){var i=t.sri,n=t.sci,r=t.eri;if(s.has(i)){if(!l.has(i)){l.add(i);var h=o.rows.sumHeight(i,r+1);a.translate(0,-h)}}else oi(e.loc,a,o,i,n,e.left?-e.left:0,e.top?-e.top:0,!0,!1)})),a.restore(),a.save(),a.translate(0,-0),e.emptyFirst((function(t,i){oi(e.loc,a,o,t,i,e.left?-e.left:0,e.top?-e.top:0)}),(function(e){return function(e){return!s.has(e)}(e)}),(function(e,t){return o.canExtend(e,t)})),a.restore();var h=new Set;a.save(),a.translate(0,-0),o.eachMergesInView(e,(function(t){var i=t.sri,n=t.sci,r=t.eri;if(s.has(i)){if(!h.has(i)){h.add(i);var l=o.rows.sumHeight(i,r+1);a.translate(0,-l)}}else oi(e.loc,a,o,i,n,e.left?-e.left:0,e.top?-e.top:0,!0,!0)})),a.restore(),si.call(this,e),a.restore()}function ui(e,t,i,n){var r=this.draw;r.save(),r.attr({fillStyle:"rgba(75, 137, 255, 0.08)"}).fillRect(e,t,i,n),r.restore()}function di(e,t,i,n,r,a){var o=this,s=this.draw,l=this.data,h=t.h,c=t.w,u=a+n,d=r+i,f=l.displayRight2Left?l.viewWidth():0,v=l.displayRight2Left?f-i:0;if(s.save(),s.attr(Qt),"all"!==e&&"left"!==e||s.fillRect(v,u,i,h),"all"===e||"top"===e)if(l.displayRight2Left){var g=t.lineStartx?t.lineStartx:0;s.fillRect(g,0,c,n)}else s.fillRect(d,0,c,n);var p=l.selector.range,m=p.sri,y=p.sci,b=p.eri,q=p.eci;if(s.attr({textAlign:"center",textBaseline:"middle",font:"500 ".concat(zt(12),"px Source Sans Pro"),fillStyle:"#585757",lineWidth:.5,strokeStyle:"#e6e6e6"}),"all"===e||"left"===e){var x=v;l.rowEach(t.sri,t.eri,(function(e,t,n){var r=u+t,a=e;s.line([x,r],[x+i,r]),m<=a&&a<b+1&&ui.call(o,x,r,i,n),s.fillText(a+1,x+i/2,r+n/2),e>0&&l.rows.isHide(e-1)&&(s.save(),s.attr({strokeStyle:"#c6c6c6"}),s.line([x+5,r+5],[x+i-5,r+5]),s.restore())})),s.line([x,h+u],[x+i,h+u]),s.line([x+i,u],[x+i,h+u])}"all"!==e&&"top"!==e||(l.colEach(t.sci,t.eci,(function(e,t,i){var r=l.displayRight2Left?f-(d+t+i):d+t,a=e;s.line([r,0],[r,n]),y<=a&&a<q+1&&ui.call(o,r,0,i,n),s.fillText(w(a),r+i/2,n/2),e>0&&l.cols.isHide(e-1)&&(s.save(),s.attr({strokeStyle:"#c6c6c6"}),s.line([r+5,5],[r+5,n-5]),s.restore())})),s.line([c+d,0],[c+d,n]),s.line([0,n],[c+d,n])),s.restore()}function fi(e,t){var i=this.draw;i.save(),i.attr({fillStyle:"#f4f5f8"}).fillRect(0,0,e,t),i.restore()}function vi(e,t,i,n,r){var a=this.draw,o=this.data,s=(o.settings,o.displayRight2Left),h=o.scroll,c=e.sri,u=e.sci,d=e.eri,f=e.eci,v=e.w,g=e.h,p=e.clearStartx,m=void 0===p?0:p,y=e.lineStartx,b=void 0===y?0:y;if(a.save(),s?a.attr(ei).translate(-(t+n),i+r):a.attr(ei).translate(t+n,i+r),a.clearRect(m,0,v,g),o.bgcolor&&a.fillRectWithColor(o.bgcolor,m,0,v,g),o.showGrid&&!o.bgcolor){if(s){Tt()("w");var w=l()(o.freeze,2),q=(w[0],w[1]);q>0&&u>=q&&(h.x,Tt()("w")),0===q&&0==b&&(o.viewWidth(),Tt()("w")),o.rowEach(c,d,(function(e,t,i){e!==c&&a.line([b,t],[b+v,t]),e===d&&a.line([b,t+i],[b+v,t+i])}))}else o.rowEach(c,d,(function(e,t,i){e!==c&&a.line([0,t],[v,t]),e===d&&a.line([0,t+i],[v,t+i])}));if(s){var x=o.viewWidth();o.colEach(u,f,(function(e,t,i){a.line([x-t-i,0],[x-t-i,g]),e===u&&a.line([x-t,0],[x-t,g])}))}else o.colEach(u,f,(function(e,t,i){e!==u&&a.line([t,0],[t,g]),e===f&&a.line([t+i,0],[t+i,g])}));a.restore()}else a.restore()}function gi(e,t,i,n){var r=this.draw,a=this.data,o=a.viewWidth(),s=(o-e)/this.zoomlevel,l=(a.viewHeight()-t)/this.zoomlevel;a.displayRight2Left?r.save().translate(-e,t).attr({strokeStyle:"rgba(75, 137, 255, .6)"}):r.save().translate(e,t).attr({strokeStyle:"rgba(75, 137, 255, .6)"}),a.displayRight2Left?(r.line([0,n],[o,n]),r.line([o-i,0],[o-i,l])):(r.line([0,n],[s,n]),r.line([i,0],[i,l])),r.restore()}var pi=function(){function e(t,i){c()(this,e),this.el=t,this.draw=new Zt(t.getContext("2d"),i.viewWidth(),i.viewHeight()),this.draw.setel(t),this.data=i,this.zoomlevel=1}return o()(e,[{key:"resetData",value:function(e){this.data=e,this.render()}},{key:"clearSelectRender",value:function(){var e=this.data,t=this.draw,i=this.zoomlevel,n=e.selector,r=n.ri,a=n.ci,o=r;e.sortedRowMap.has(r)&&(o=e.sortedRowMap.get(r));var s=e.getCell(o,a);if(null!==s){var l=e.getCellStyleOrDefault(o,a),h=ti(e,r,a,0,0);ri(e,h,o,0,a,s,l);var c=e.cols.indexWidth,u=e.settings.row.height,d=e.scroll,f=d.x,v=d.y;t.save(),t.scaledpr(i),e.displayRight2Left?t.attr(ei).translate(-(c+0),u+0):t.attr(ei).translate(c+0,u+0);var g=void 0===h.exttxtwidthR?0:h.exttxtwidthR,p=void 0===h.exttxtwidthL?0:h.exttxtwidthL;t.fillRect(h.x+1-p-f,h.y+1-v,h.width+g+p-1,h.height-1),t.restore()}}},{key:"render",value:function(){var e=this.data,t=this.zoomlevel;if(!e.isupdating){var i=e.rows,n=e.cols;if(0!==Object.keys(i._).length){var r=n.indexWidth,a=e.settings.row.height;this.draw.resize(e.viewWidth(),e.viewHeight()),this.draw.scaledpr(t),this.clear();var o=e.viewRange(),s=e.freezeTotalWidth(),h=e.freezeTotalHeight(),c=e.scroll,u=c.x,d=c.y;o.loc="rb",vi.call(this,o,r,a,s,h),ci.call(this,o,r,a,-u,-d),hi.call(this,o,r,a,-u,-d),di.call(this,"all",o,r,a,s,h),fi.call(this,r,a);var f=l()(e.freeze,2),v=f[0],g=f[1],p=null;if(v>0||g>0){v>0&&((p=o.clone()).sri=0,p.eri=v-1,p.h=h,p.loc="ru",vi.call(this,p,r,a,s,0),ci.call(this,p,r,a,-u,0),hi.call(this,p,r,a,-u,0),di.call(this,"top",p,r,a,s,0),this.highlightRanges(p,r,a,u,0)),g>0&&((p=o.clone()).sci=0,p.eci=g-1,p.w=s,p.clearStartx=e.displayRight2Left?this.draw.ctx.canvas.width-s:0,p.lineStartx=e.displayRight2Left?e.viewWidth()-s:0,p.loc="lb",vi.call(this,p,r,a,0,h),di.call(this,"left",p,r,a,0,h),ci.call(this,p,r,a,0,-d),hi.call(this,p,r,a,0,-d),this.highlightRanges(p,r,a,0,d));var m=e.freezeViewRange();m.loc="lu",m.clearStartx=e.displayRight2Left?this.draw.ctx.canvas.width-s:0,m.lineStartx=e.displayRight2Left?e.viewWidth()-s:0,vi.call(this,m,r,a,0,0),di.call(this,"all",m,r,a,0,0),ci.call(this,m,r,a,0,0),hi.call(this,m,r,a,0,0),gi.call(this,r,a,s,h),this.highlightRanges(m,r,a,0,0)}this.highlightRanges(o,r,a,u,d)}}}},{key:"highlightRanges",value:function(e,t,i,n,r){var a=this.draw,o=this.data;if(o.showhighlight){if(a.save(),o.displayRight2Left?a.translate(-t,i).translate(-n,-r):a.translate(t,i).translate(-n,-r),o.highlightall){var s=ni(o,e);s.bgcolor=o.highlightstyle.color,a.rect(s,(function(){}))}else if(o.highlightIR){var l,h=Jt(e.difference(o.highlightIR));try{for(h.s();!(l=h.n()).done;){var c=ni(o,l.value);c.bgcolor=o.highlightstyle.color,a.rect(c,(function(){}))}}catch(e){h.e(e)}finally{h.f()}}else{var u,d=Jt(o.highlightrg);try{for(d.s();!(u=d.n()).done;){var f=u.value;if(e.intersects(f)){var v=f.clone();v.sri<e.sri&&(v.sri=e.sri),v.eri>e.eri&&(v.eri=e.eri),v.sci<e.sci&&(v.sci=e.sci),v.eci>e.eci&&(v.eci=e.eci);var g=ni(o,v);g.bgcolor=o.highlightstyle.color,a.rect(g,(function(){}))}}}catch(e){d.e(e)}finally{d.f()}}a.restore()}}},{key:"clear",value:function(){this.draw.clear()}}]),e}();function mi(e,t){e.hlstart||(e.hlstart=[]),e.hlstart.push(t)}function yi(e,t){e.hlend||(e.hlend=[]),e.hlend.push(t)}function bi(e,t){if(e.hlstart&&e.hlstart.length===e.hlend.length){for(var i="",n=[],r=e.innerText,a=0;a<e.hlstart.length;a++)n.push([e.hlstart[a],e.hlend[a]]);n.sort((function(e,t){return e[0]-t[0]}));for(var o=0,s=0;s<n.length;s++){var h=l()(n[s],2),c=h[0],u=h[1];i+=r.substring(o,c)+'<span style="background:'+t+'">'+r.substring(c,u)+"</span>",o=u}i+=r.substring(o),e.hlstart=[],e.hlend=[],e.innerHTML=i.replaceAll("\n","<br>")}}function wi(){var e=this.inputText;if(!/^\s*$/.test(e)){var t=this.textlineEl,i=this.textEl,n=this.areaOffset,r=e.split("\n"),a=Math.max.apply(Math,y()(r.map((function(e){return e.length})))),o=t.offset().width/e.length,s=(a+1)*o+5,l=this.viewFn().width-n.left-o,h=r.length;if(s>n.width){var c=s;s>l&&(c=l,h+=parseInt(s/l,10),h+=s%l>0?1:0),i.css("width","".concat(c,"px"))}h*=this.rowHeight,(h-=7)>n.height&&i.css("height","".concat(h,"px"))}}function qi(e){var t=e.target;if(window.getSelection){var i=window.getSelection(),n=i.getRangeAt(0),r=document.createElement("br");n.deleteContents(),n.insertNode(r),n.collapse(!1),i.removeAllRanges(),i.addRange(n),this.inputText=t.innerText,this.inputHtml=t.innerHTML,wi.call(this)}}function xi(e){var t=e.keyCode,i=e.altKey;13!==t&&9!==t&&e.stopPropagation(),13===t&&i&&(qi.call(this,e),e.stopPropagation()),13!==t||i||e.preventDefault()}function ki(e){var t=e.target.innerText,i=e.target.innerHTML,n=this.suggest,r=this.textlineEl,a=this.validator,o=this.cell;if(this.textbox)return this.textbox.ischange=!0,void(this.inputHtml=i);if(null!==o)if("editable"in o&&!0===o.editable||void 0===o.editable){if(this.inputText=t,this.inputHtml=i,a)"list"===a.type?n.search(t):n.hide();else{var s=t.lastIndexOf("=");-1!==s?(n.search(t.substring(s+1),"f"),"("===e.data&&n.hide(),this.formalaTip.show(t)):(n.hide(),this.formalaTip.hide())}r.html(i),wi.call(this),this.change("input",t)}else e.target.innerText="";else{if(this.inputText=t,this.inputHtml=i,a)"list"===a.type?n.search(t):n.hide();else{var l=t.lastIndexOf("=");-1!==l?(n.search(t.substring(l+1),"f"),"("===e.data&&n.hide(),this.formalaTip.show(t)):(n.hide(),this.formalaTip.hide())}r.html(t),wi.call(this),this.change("input",t)}}function Ci(e,t){var i=this.textEl.el;setTimeout((function(){if(t){var e=window.getSelection(),n=document.createRange();e.removeAllRanges(),n.selectNodeContents(i),n.collapse(!1),e.addRange(n),i.focus()}}),1)}function Si(e,t,i,n){var r=this.textEl,a=this.textlineEl;mobileAndTabletCheck()||r.el.blur();var o=!1;e.length>0?(o=!0,r.html(e)):r.html(t,!0,!0),o?a.html(e):a.html(t,!0,!0),Ci.call(this,i,n)}function Ti(e,t){var i=this.inputText,n=this.validator,r=0;if(n&&"list"===n.type)this.inputText=e.title?e.title:e,r=this.inputText.length;else{var a=i.lastIndexOf("="),o=i.substring(0,a+1),s=i.substring(a+1);s=-1!==s.indexOf(")")?s.substring(s.indexOf(")")):"",this.inputText="".concat(o+e.key,"("),r=this.inputText.length,this.inputText+="".concat(s),this.formalaTip.show(this.inputText)}Si.call(this,"",this.inputText,r,t)}function _i(){this.suggest.setItems(this.formulas)}var Oi=function(){function e(t,i,n,r){var a=this;c()(this,e),this.viewFn=i,this.rowHeight=n,this.formulas=t,this.formalaTip=new Ct,this.suggest=new mt(t,(function(e){Ti.call(a,e,!0)})),this.datepicker=new qt,this.datepicker.change((function(e){a.setText(function(e){var t=e.getMonth()+1,i=e.getDate();return t<10&&(t="0".concat(t)),i<10&&(i="0".concat(i)),"".concat(e.getFullYear(),"-").concat(t,"-").concat(i)}(e)),a.clear()})),this.areaEl=p("div","".concat(xe,"-editor-area")).children(this.textEl=p("div","htmlline").on("input",(function(e){return ki.call(a,e)})).on("paste.stop",(function(){})).on("keydown",(function(e){return xi.call(a,e)})),this.textlineEl=p("div","textline"),this.suggest.el,this.datepicker.el,this.formalaTip.el).on("mousemove.stop",(function(){})).on("mousedown.stop",(function(){})),this.el=p("div","".concat(xe,"-editor")).child(this.areaEl).hide(),this.suggest.bindInputEvents(this.textEl,r),this.areaOffset=null,this.freeze={w:0,h:0},this.cell=null,this.inputText="",this.inputHtml="",this.ishtml=!1,this.textbox=null,this.change=function(){},this.textboxChange=function(){}}var t;return o()(e,[{key:"setFreezeLengths",value:function(e,t){this.freeze.w=e,this.freeze.h=t}},{key:"insertTextNewLine",value:function(e){qi.call(this,e)}},{key:"clear",value:function(){this.textbox?(""!==this.inputHtml&&this.textboxChange(this.textbox,this.inputHtml),this.textbox.setVisible(!0)):""!==this.inputText&&this.change("finished",this.ishtml?this.inputHtml:this.inputText),this.cell=null,this.textbox=null,this.areaOffset=null,this.inputText="",this.inputHtml="",this.ishtml=!1,this.el.hide(),this.textEl.html(""),this.textEl.cssRemoveKeys("width","height","padding-left","padding-right","text-align","border","background-color"),this.textlineEl.html(""),_i.call(this),this.datepicker.hide()}},{key:"setOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i=this.textEl,n=this.areaEl,r=this.suggest,a=this.freeze,o=this.el;if(e){this.areaOffset=e;var s=e.left,l=e.top,h=e.width,c=e.height,u=e.l,d=e.t,f={left:0,top:0};a.w>u&&a.h>d||(a.w<u&&a.h<d?(f.left=a.w,f.top=a.h):a.w>u?f.top=a.h:a.h>d&&(f.left=a.w)),o.offset(f),n.offset({left:s-f.left-.8,top:l-f.top-.8}),i.offset({width:h-1.2,height:c-2.8});var v={left:0};v[t]=c,r.setOffset(v),r.hide()}}},{key:"setForTextBox",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.el,a=this.textEl;if(a.attr("contenteditable",i?"false":"true"),r.show(),this.textbox=e,this.textbox.setVisible(!1),this.ishtml=!0,this.inputText=e.text,this.inputHtml=e.html,Si.call(this,e.html,e.text,e.text.length,t),a.css("width","".concat(e.width-3,"px")),a.css("height","".concat(e.height,"px")),a.css("padding-left","".concat(e.lp,"pt")),a.css("padding-right","".concat(e.rp,"pt")),a.css("text-align",e.align),e.bgColor&&a.css("background-color",Lt(e.bgColor,e.tp)),n?a.css("border","black 1px solid"):(a.cssRemoveKeys("border"),a.css("height","".concat(e.height-2,"px"))),i&&a.css("user-select","text"),e.highlighttxts){for(var o=a.el.childNodes,s=null,l=0;l<e.highlighttxts.length;l++){var h=e.highlighttxts[l],c=h.start,u=h.end,d=h.color;if(!(c>=u)){s=d;for(var f=0,v=0,g=0,p=0,m=0;m<o.length;m++){if(v=o[m].innerText.length,c>=f&&c<=f+v-1&&(g=m,mi(o[m],c-f),yi(o[m],u<=f+v-1?u-f:v)),u>=f&&u<=f+v-1){m>g&&(mi(o[m],0),yi(o[m],u-f)),p=m;break}f+=v}for(var y=g+1;y<p;y++)o[y].style.background=d}}for(var b=0;b<o.length;b++)o[b].style.background||bi(o[b],s)}}},{key:"setCell",value:(t=r()(d.a.mark((function e(t,i,n){var r,a,o,s,l,h,c,u,f=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!(f.length>3&&void 0!==f[3])||f[3],a=this.el,o=this.datepicker,s=this.suggest,this.textEl.attr("contenteditable","true"),a.show(),this.cell=t,l=t&&t.text||"",h=t&&t.html||"",t&&(t.f?l=t.f:t.ufv&&(l=t.ufv)),this.ishtml=t&&t.html,this.setTextAndHtml(h,l,r),this.validator=i,!i){e.next=20;break}if("date"===(c=i.type)&&(o.show(),/^\s*$/.test(l)||o.setValue(l)),"list"!==c){e.next=20;break}return e.next=17,i.values(n);case 17:u=e.sent,s.setItems(u),s.search("");case 20:case"end":return e.stop()}}),e,this)}))),function(e,i,n){return t.apply(this,arguments)})},{key:"setTextAndHtml",value:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.inputText=t,this.inputHtml=e,Si.call(this,e,t,t.length,i),wi.call(this)}},{key:"setText",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.inputText=e,Si.call(this,"",e,e.length,t),wi.call(this)}}]),e}();function Ri(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ei=function(e){me()(i,e);var t=Ri(i);function i(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return c()(this,i),(n=t.call(this,"div","".concat(xe,"-button ").concat(r))).child(Q("button.".concat(e))),n}return i}(g),Ai={A3:[11.69,16.54],A4:[8.27,11.69],A5:[5.83,8.27],B4:[9.84,13.9],B5:[6.93,9.84]},Mi=["landscape","portrait"];function Ii(e){return parseInt(96*e,10)}function Bi(e){"cancel"===e?this.el.hide():this.toPrint()}var Di=function(){function e(t,i){c()(this,e),this.paper={w:Ii(Ai.A4[0]),h:Ii(Ai.A4[1]),padding:50,orientation:Mi[0],width:function(){return"landscape"===this.orientation?.9*this.h:.9*this.w},height:function(){return"landscape"===this.orientation?.9*this.w:.9*this.h}},this.totalviews=0,this.data=t,this.imageCanvas=i,this.el=p("div","".concat(xe,"-print")).children(p("div","".concat(xe,"-print-bar")).children(p("div","-title").child("Print settings"),p("div","-right").children(p("div","".concat(xe,"-buttons")).children(new Ei("cancel").on("click",Bi.bind(this,"cancel")),new Ei("next","primary").on("click",Bi.bind(this,"next"))))),p("div","".concat(xe,"-print-content")).children(this.contentEl=p("div","-content"))).hide()}return o()(e,[{key:"resetData",value:function(e,t){this.sheet=e,this.data=t}},{key:"preview",value:function(e){var t=this,i=this.sheet,n=this.data,r=this.paper,a=n.contentRange();r.orientation=e.orientation,r.size=e.size;var o=Ai[e.size];r.w=Ii(o[0]),r.h=Ii(o[1]);var s=r.padding,l=r.orientation,h=r.width(),c=r.height(),u=h-2*s,d=c-2*s,f=1;"fitsheet"===e.scale&&(a.w/u>a.h/d?e.scale="fitcolumns":e.scale="fitrows"),"fitcolumns"===e.scale?(f=a.w/u,u=a.w,d*=f):"fitrows"===e.scale&&(f=a.h/d,d=a.h,u*=f),console.log("paper info:"+l+" w:"+h+" ,h:"+c+",iw:"+u+",ih:"+d);var v=s,g=s,m="overdown"===e.order;this.contentEl.empty(),this.canvases=[];var y={sri:0,sci:0,eri:0,eci:0,left:0,top:0};this.totalviews=0,this.isRestoreFromCanvasReady=this.imageCanvas.data.isRestoreFromCanvasReady,this.isRestoreFromCanvas=this.imageCanvas.data.isRestoreFromCanvas;for(var b=i.table.draw,w=function(){t.totalviews++;var r=0,o=0,s=p("div","".concat(xe,"-canvas-card")),l=p("canvas","".concat(xe,"-canvas"));t.canvases.push(l.el);var b=y.sci;for(y.eci=a.eci,y.eri=a.eri;b<=a.eci;b++){if((o+=n.cols.getWidth(b))>u){y.eci=b-1,y.eci<y.sci&&(y.eci+=1,y.width=o);break}y.width=o}var w=new Zt(l.el.getContext("2d"),Math.max(h,y.width/f),c);w.setel(l.el),w.scale(.8/f,.8/f),w.save();for(var q=y.sri;q<=a.eri;q+=1){if(!((r+=n.rows.getHeight(q))<d)){y.eri=q-1,y.eri<y.sri&&(y.eri+=1,y.height=r);break}y.height=r}n.cols.indexWidth,n.settings.row.height;var x=new S(y.sri,y.sci,y.eri,y.eci,y.width,y.height);if(x.left=y.left,x.top=y.top,i.table.draw=w,ci.call(i.table,x,0,0,0,0),console.log("mViewRange :",y.sci,y.eci,y.sri,y.eri,y.left,y.top,y.width,y.height),console.log("mViewRange 22222: iw:"+u+" ,ih:"+d),w.restore(),"show"===e.showimage){var k=p("canvas","".concat(xe,"-canvas"));t.contentEl.child(p("div","".concat(xe,"-canvas-card-wraper")).child(s.child(k)));var C="canvas_"+(new Date).getTime()+"_"+t.totalviews;k.el.id=C,k.el.style.width=l.el.style.width,k.el.style.height=l.el.style.height,k.el.width=y.width+v,k.el.height=y.height+g,console.log("new fabcid is:"+C);var T=new fabric.StaticCanvas(C);T.clipPath=new fabric.Rect({width:y.width,height:y.height,top:t.imageCanvas.tOffset.top,left:t.imageCanvas.tOffset.left}),t.imageCanvas.rerenderCanvasBySavedJson(T,{x:-y.left,y:-y.top},T.clipPath,(function(){l.el.getContext("2d").drawImage(k.el,-t.imageCanvas.tOffset.left-15,-t.imageCanvas.tOffset.top-5),t.totalviews--,T.clear(),console.log("draw in fabcid:"+C+" "+t.totalviews)}),!0)}else t.totalviews--;m?(y.sci=y.eci+1,y.left+=y.width,y.sci>=a.eci&&(y.sri=y.eri+1,y.sci=0,y.left=0,y.top+=y.height)):(y.sri=y.eri+1,y.top+=y.height,y.sri>=a.eri&&(y.sri=0,y.sci=y.eci+1,y.top=0,y.left+=y.width)),y.eci=a.eci,y.eri=a.eri};y.sri<=y.eri&&y.sci<=y.eci;)w();i.table.draw=b}},{key:"toPrint",value:function(){var e=this;!function t(){0===e.totalviews?(e.imageCanvas.data.isRestoreFromCanvasReady=e.isRestoreFromCanvasReady,e.imageCanvas.data.isRestoreFromCanvas=e.isRestoreFromCanvas,e.contentEl.empty(),e.toPrintAct()):(console.log("wait for this.totalviews:"+e.totalviews),setTimeout(t,3e3))}()}},{key:"toPrintAct",value:function(){this.el.hide();var e=this.paper,t="gridjs-print-frm",i=document.getElementById(t);i?i.contentWindow.document.body.innerHTML="":(i=p("iframe","").hide().setId(t).el,window.document.body.appendChild(i));var n=i.contentWindow,r=n.document,a=document.createElement("style");a.innerHTML="\n @page {size: ".concat(e.size,"; orientation: ").concat(e.orientation,"; }\n canvas {\n page-break-before: auto;\n page-break-after: always;\n image-rendering: pixelated;\n };\n "),r.head.appendChild(a),this.canvases.forEach((function(e){var t=e.cloneNode(!1);t.getContext("2d").drawImage(e,0,0),r.body.appendChild(t)})),n.print(),this.canvases=[]}}]),e}(),zi=[{key:"copy",title:ee("contextmenu.copy"),label:"Ctrl+C"},{key:"cut",title:ee("contextmenu.cut"),label:"Ctrl+X"},{key:"paste",title:ee("contextmenu.paste"),label:"Ctrl+V"},{key:"paste-value",title:ee("contextmenu.pasteValue"),label:"Ctrl+Shift+V"},{key:"paste-format",title:ee("contextmenu.pasteFormat"),label:"Ctrl+Alt+V"},{key:"divider"},{key:"insert-row",title:ee("contextmenu.insertRow")},{key:"insert-column",title:ee("contextmenu.insertColumn")},{key:"divider"},{key:"delete-row",title:ee("contextmenu.deleteRow")},{key:"delete-column",title:ee("contextmenu.deleteColumn")},{key:"delete-cell-text",title:ee("contextmenu.deleteCellText")},{key:"hide",title:ee("contextmenu.hide")},{key:"divider"},{key:"link",title:ee("contextmenu.link")},{key:"openLink",title:ee("contextmenu.openLink")},{key:"removeLink",title:ee("contextmenu.removeLink")},{key:"divider"},{key:"validation",title:ee("contextmenu.validation")},{key:"cell-editable",title:ee("contextmenu.celleditable")},{key:"cell-non-editable",title:ee("contextmenu.cellnoneditable")}];function Pi(e,t){var i=this,n=null;return(n="divider"===e.key?p("div","".concat(xe,"-item divider")):p("div","".concat(xe,"-item")).on("click",(function(){e.callback?e.callback(t,t.selector.getObj()):i.itemClick(e.key),i.hide()})).children(e.text?e.text:e.title(),p("div","label").child(e.label||"").attr("k",e.key))).key=e.key,n}function Fi(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zi,i=arguments.length>1?arguments[1]:void 0;return t.map((function(t){return Pi.call(e,t,i)}))}function Li(e,t){return e.find((function(e){return e.key===t}))}var ji=function(){function e(t,i){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3?arguments[3]:void 0;if(c()(this,e),window.mobileAndTabletCheck()){var o={key:"merge",title:ee("contextmenu.merge"),label:""},s={key:"unmerge",title:ee("contextmenu.unmerge"),label:""},l={key:"edit",title:ee("contextmenu.edit"),label:""};zi.forEach((function(e){e.label=void 0,"delete-cell-text"===e.key&&(e.title=ee("contextmenu.clear"))})),zi.push(o),zi.push(s),zi.unshift(l)}this.customMenuItemsForImage=[{key:"delete-image",title:ee("contextmenu.deleteImage"),label:"Del"}],this.customsetting=a&&!a.usedefault,this.customItems=this.customsetting?a.customItems:[],this.menuItems=this.customsetting?Fi.call(this,a.customItems,i):Fi.call(this),this.el=(n=p("div","".concat(xe,"-contextmenu"))).children.apply(n,y()(this.menuItems)).hide(),this.viewFn=t,this.itemClick=function(){},this.showMenuBefore=function(){},this.isHide=r,this.setMode("range"),this.sheet=i}return o()(e,[{key:"getImageContextMenuItems",value:function(){return this.customMenuItemsForImage}},{key:"addImageContextMenuItems",value:function(e){var t=this.customMenuItemsForImage;e.forEach((function(e){var i=t.findIndex((function(t){return t.key===e.key}));i>=0&&t.splice(i,1)})),t.push.apply(t,e)}},{key:"delImageContextMenuItems",value:function(e){var t=this.customMenuItemsForImage;e.forEach((function(e){var i=t.findIndex((function(t){return t.key===e}));i>=0&&t.splice(i,1)}))}},{key:"updateImageContextMenuItems",value:function(e){this.addImageContextMenuItems([e])}},{key:"getCutomContextMenuItems",value:function(){if(this.customsetting)return this.customItems}},{key:"addCutomContextMenuItems",value:function(e){var t=this.customItems,i=this.customsetting,n=this.sheet,r=this.menuItems;if(i){var a=Fi.call(this,e,n);e.forEach((function(e,i){"divider"!==e.key&&Li(t,e.key)||(t.push(e),r.push(a[i]))})),this.rebuildMenuItems(r)}}},{key:"insertCutomContextMenuItem",value:function(e,t){var i=this.customItems,n=this.customsetting,r=this.sheet,a=this.menuItems;if(n&&("divider"===e.key||!Li(i,e.key))){var o=Pi.call(this,e,r);i.splice(t,0,e),a.splice(t,0,o),this.rebuildMenuItems(a)}}},{key:"updateCutomContextMenuItem",value:function(e,t){var i=this.customItems,n=this.customsetting,r=this.sheet,a=this.menuItems;if(n){var o=i.findIndex((function(t){return t.key==e}));if(-1!==o){t.text&&(i[o].text=t.text),t.callback&&(i[o].callback=t.callback);var s=Pi.call(this,i[o],r);a[o]=s,this.rebuildMenuItems(a)}}}},{key:"rebuildMenuItems",value:function(e){var t,i=this.sheet;(i.el.removeChild(this.el.el),e.length>0)?this.el=(t=p("div","".concat(xe,"-contextmenu"))).children.apply(t,y()(e)).hide():this.el=p("div","".concat(xe,"-contextmenu")).hide();i.el.child(this.el)}},{key:"delCutomContextMenuItems",value:function(e){var t=this.customItems,i=this.menuItems,n=this.customsetting;this.sheet;n&&(e.forEach((function(e){var n=t.findIndex((function(t){return t.key===e}));n>=0&&(t.splice(n,1),i.splice(n,1))})),this.rebuildMenuItems(i))}},{key:"setMode",value:function(e){if(!this.customsetting){var t=this.menuItems[12];"row-col"===e?t.show():t.hide()}}},{key:"hide",value:function(){var e=this.el;e.hide(),je(e)}},{key:"setPosition",value:function(e,t){if(!this.isHide){var i=this.el,n=this.sheet;this.showImageDeleteItem(i,n),this.showMenuBefore(this.menuItems);var r=i.show().offset(),a=r.width,o=r.height,s=this.viewFn(),l=e;s.width-e<=a&&(l-=a),i.css("left","".concat(l,"px"));var h=t;o+t>s.height&&(h-=o+t-s.height),i.css("top","".concat(h,"px")).css("max-height","".concat(s.height,"px")).css("bottom","auto"),He(i)}}},{key:"showImageDeleteItem",value:function(e,t){var i=this,n=this.customMenuItemsForImage;n.forEach((function(t){e.children().forEach((function(i){i.children[0]&&i.children[0].getAttribute("k")===t.key&&e.removeChild(i)}))})),this.el.children()[0].className.includes("divider")&&this.el.removeChild(this.el.children()[0]);var r=t.canvas.fabric.getActiveObject();null!=r&&("OleObject"===r.imgType?this.addImageContextMenuItems([{key:"ole",title:ee("contextmenu.download"),callback:function(){t.getOle(r.strid)}}]):this.delImageContextMenuItems(["ole"]),Fi.call(this,n,t).forEach((function(e){return i.el.child(e,!0)})),t.selector.hide(),t.selector.setObjId(r.id))}}]),e}(),Hi=i(11),Ni=i.n(Hi);var Ui=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;c()(this,e),this.tip=Q("toolbar.".concat(t.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()})))),this.activeTip=null===i?null:Q("toolbar.".concat(i.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()})))),n&&(this.tip+=" (".concat(n,")")),this.tag=t,this.shortcut=n,this.value=r,this.el=this.element(),this.change=function(){}}return o()(e,[{key:"element",value:function(){var e=this.tip,t=this.activeTip;return p("div","".concat(xe,"-toolbar-btn")).on("mouseenter",(function(i){""!==e&&function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t.classList.contains("active")||null!==i){var n=t.getBoundingClientRect(),r=n.left,a=n.top,o=n.width,s=n.height,l=t.classList.contains("active")?i:e,h=p("div","".concat(xe,"-tooltip")).html(l).show();document.body.appendChild(h.el);var c=h.box();h.css("left","".concat(r+o/2-c.width/2,"px")).css("top","".concat(a+s+2,"px")),Fe(t,"mouseleave",(function(){document.body.contains(h.el)&&document.body.removeChild(h.el)})),Fe(t,"click",(function(){document.body.contains(h.el)&&document.body.removeChild(h.el)}))}}(e,i.target,t)})).attr("data-tooltip",e)}},{key:"setState",value:function(){}}]),e}();function Xi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Wi=function(e){me()(i,e);var t=Xi(i);function i(){return c()(this,i),t.apply(this,arguments)}return o()(i,[{key:"dropdown",value:function(){}},{key:"getValue",value:function(e){return e}},{key:"element",value:function(){var e=this,t=this.tag;return this.dd=this.dropdown(),this.dd.change=function(i){return e.change(t,e.getValue(i))},Ni()(qe()(i.prototype),"element",this).call(this).child(this.dd)}},{key:"setState",value:function(e){e&&(this.value=e,this.dd.setTitle(e))}}]),i}(Ui);function Yi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Vi=function(e){me()(i,e);var t=Yi(i);function i(e,n,r,a){var o,s;c()(this,i),(s=t.call(this,"div","".concat(xe,"-dropdown ").concat(a))).title=e,s.change=function(){},s.headerClick=function(){},"string"==typeof e?s.title=p("div","".concat(xe,"-dropdown-title")).child(e):r&&s.title.addClass("arrow-left"),s.contentEl=p("div","".concat(xe,"-dropdown-content")).css("width",n).hide();for(var l=arguments.length,h=new Array(l>4?l-4:0),u=4;u<l;u++)h[u-4]=arguments[u];return s.contentEl.tags=h.map((function(e){return e.tag})),(o=s).setContentChildren.apply(o,h),s.headerEl=p("div","".concat(xe,"-dropdown-header")),s.headerEl.on("click",(function(){if("block"!==s.contentEl.css("display")){if(s.show(),mobileAndTabletCheck()&&window.document.body.offsetWidth!==window.document.body.scrollWidth){if(s.menuDiv){for(var e=s.menuDiv.el,t=s.menuDiv.el.offsetParent;e.offsetParent&&"BODY"!==e.offsetParent.nodeName;)e=e.offsetParent;s.contentEl.el.clientWidth-e.offsetLeft>100&&(s.el.classList.replace("bottom-left","bottom-center"),s.contentEl.el.style.top+=t.offsetTop)}s.el.classList.contains("bottom-left")&&s.el.classList.replace("bottom-left","bottom-right"),s.el.classList.contains("top-left")&&s.el.classList.replace("top-left","top-right")}}else s.hide()})).children(s.title,r?p("div","".concat(xe,"-icon arrow-right")).child(p("div","".concat(xe,"-icon-img arrow-down"))):""),s.children(s.headerEl,s.contentEl),s}return o()(i,[{key:"setContentChildren",value:function(){var e;(this.contentEl.html(""),arguments.length>0)&&(e=this.contentEl).children.apply(e,arguments)}},{key:"showExplain",value:function(e){var t=this;if(this.contentEl.children().length===e.length)for(var i=function(i){Fe(t.contentEl.children()[i],"mouseover",(function(){var n=new dt(e[i].title()),r=dt.findDialog(t.contentEl),a={top:"".concat(t.contentEl.children()[i].offsetTop,"px")};if(0!==r.length)for(var o=0;o<r.length;o++)t.contentEl.removeChild(t.contentEl.children()[r[o]]);n.css(a),t.contentEl.child(n)})),Fe(t.contentEl.children()[i],"mouseout",(function(){var e=dt.findDialog(t.contentEl);if(0!==e.length)for(var i=0;i<e.length;i++)t.contentEl.removeChild(t.contentEl.children()[e[i]])}))},n=0;n<e.length;n++)i(n)}},{key:"setTitle",value:function(e){this.title.html(e),this.hide()}},{key:"show",value:function(){var e=this;this.contentEl.show(),this.parent().active(),He(this.parent(),(function(){e.hide()}))}},{key:"hide",value:function(){this.parent().active(!1),this.contentEl.hide(),je(this.parent())}}]),i}(g);function Gi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ki=function(e){me()(i,e);var t=Gi(i);function i(e,n){var r;c()(this,i);var a=new Ce("align-".concat(n)),o=e.map((function(e){return Se("align-".concat(e)).on("click",(function(){r.setTitle(e),r.change(e)}))}));return r=t.call.apply(t,[this,a,"auto",!0,"bottom-left"].concat(y()(o)))}return o()(i,[{key:"setTitle",value:function(e){this.title.setName("align-".concat(e)),this.hide()}}]),i}(Vi);function Zi(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ji=function(e){me()(i,e);var t=Zi(i);function i(e){return c()(this,i),t.call(this,"align",null,"",e)}return o()(i,[{key:"dropdown",value:function(){var e=this.value;return new Ki(["left","center","right"],e)}}]),i}(Wi);function $i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Qi=function(e){me()(i,e);var t=$i(i);function i(e){return c()(this,i),t.call(this,"valign",null,"",e)}return o()(i,[{key:"dropdown",value:function(){var e=this.value;return new Ki(["top","middle","bottom"],e)}}]),i}(Wi);function en(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var tn=function(e){me()(i,e);var t=en(i);function i(){return c()(this,i),t.apply(this,arguments)}return o()(i,[{key:"element",value:function(){var e=this,t=this.tag;return Ni()(qe()(i.prototype),"element",this).call(this).child(new Ce(t)).on("click",(function(){return e.click()}))}},{key:"click",value:function(){this.change(this.tag,this.toggle())}},{key:"setState",value:function(e){this.el.active(e)}},{key:"toggle",value:function(){return this.el.toggle()}},{key:"active",value:function(){return this.el.hasClass("active")}}]),i}(Ui);function nn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var rn=function(e){me()(i,e);var t=nn(i);function i(){return c()(this,i),t.call(this,"autofilter")}return o()(i,[{key:"setState",value:function(){}}]),i}(tn);function an(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var on=function(e){me()(i,e);var t=an(i);function i(){return c()(this,i),t.call(this,"font-bold",null,"Ctrl+B")}return i}(tn);function sn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ln=function(e){me()(i,e);var t=sn(i);function i(){return c()(this,i),t.call(this,"font-italic",null,"Ctrl+I")}return i}(tn);function hn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var cn=function(e){me()(i,e);var t=hn(i);function i(){return c()(this,i),t.call(this,"strike")}return i}(tn);function un(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var dn=function(e){me()(i,e);var t=un(i);function i(){return c()(this,i),t.call(this,"underline",null,"Ctrl+U")}return i}(tn),fn=["#ffffff","#000100","#e7e5e6","#445569","#5b9cd6","#ed7d31","#a5a5a5","#ffc001","#4371c6","#71ae47"],vn=[["#f2f2f2","#7f7f7f","#d0cecf","#d5dce4","#deeaf6","#fce5d5","#ededed","#fff2cd","#d9e2f3","#e3efd9"],["#d8d8d8","#595959","#afabac","#adb8ca","#bdd7ee","#f7ccac","#dbdbdb","#ffe59a","#b3c6e7","#c5e0b3"],["#bfbfbf","#3f3f3f","#756f6f","#8596b0","#9cc2e6","#f4b184","#c9c9c9","#fed964","#8eaada","#a7d08c"],["#a5a5a5","#262626","#3a3839","#333f4f","#2e75b5","#c45a10","#7b7b7b","#bf8e01","#2f5596","#538136"],["#7f7f7f","#0c0c0c","#171516","#222a35","#1f4e7a","#843c0a","#525252","#7e6000","#203864","#365624"]],gn=["#c00000","#fe0000","#fdc101","#ffff01","#93d051","#00b04e","#01b0f1","#0170c1","#012060","#7030a0"];function pn(e){var t=this;return p("td","").child(p("div","".concat(xe,"-color-palette-cell")).on("click.stop",(function(){return t.change(e)})).css("background-color",e))}var mn=function e(){var t,i,n,r=this;c()(this,e),this.el=p("div","".concat(xe,"-color-palette")),this.change=function(){};var a=p("table","").children((t=p("tbody","")).children.apply(t,[(i=p("tr","".concat(xe,"-theme-color-placeholders"))).children.apply(i,y()(fn.map((function(e){return pn.call(r,e)}))))].concat(y()(vn.map((function(e){var t;return(t=p("tr","".concat(xe,"-theme-colors"))).children.apply(t,y()(e.map((function(e){return pn.call(r,e)}))))}))),[(n=p("tr","".concat(xe,"-standard-colors"))).children.apply(n,y()(gn.map((function(e){return pn.call(r,e)}))))])));this.el.child(a)};function yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var bn=function(e){me()(i,e);var t=yn(i);function i(e,n){var r;c()(this,i);var a=new Ce(e).css("height","16px").css("border-bottom","3px solid ".concat(n)),o=new mn;return o.change=function(e){r.setTitle(e),r.change(e)},r=t.call(this,a,"max-content",!1,"bottom-left",o.el)}return o()(i,[{key:"setTitle",value:function(e){this.title.css("border-color",e),this.hide()}}]),i}(Vi);function wn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var qn=[["thin",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" style="user-select: none;"></line></svg>'],["medium",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="2" style="user-select: none;"><line x1="0" y1="1.0" x2="50" y2="1.0" stroke-width="2" stroke="black" style="user-select: none;"></line></svg>'],["thick",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="3" style="user-select: none;"><line x1="0" y1="1.5" x2="50" y2="1.5" stroke-width="3" stroke="black" style="user-select: none;"></line></svg>'],["dashed",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="2" style="user-select: none;"></line></svg>'],["dotted",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="1" style="user-select: none;"></line></svg>']],xn=function(e){me()(i,e);var t=wn(i);function i(e){var n;c()(this,i);var r=new Ce("line-type"),a=0,o=qn.map((function(t,i){return p("div","".concat(xe,"-item state ").concat(e===t[0]?"checked":"")).on("click",(function(){o[a].toggle("checked"),o[i].toggle("checked"),a=i,n.hide(),n.change(t)})).child(p("div","".concat(xe,"-line-type")).html(t[1]))}));return n=t.call.apply(t,[this,r,"max-content",!1,"bottom-left"].concat(y()(o)))}return i}(Vi);function kn(){var e;return p("table","").child((e=p("tbody","")).children.apply(e,arguments))}function Cn(e){var t=this;return p("td","").child(p("div","".concat(xe,"-border-palette-cell")).child(new Ce("border-".concat(e))).on("click",(function(){t.mode=e;var i=t.mode,n=t.style,r=t.color;t.change({mode:i,style:n,color:r})})))}var Sn=function e(){var t,i,n=this;c()(this,e),this.color="#000",this.style="thin",this.mode="all",this.change=function(){},this.ddColor=new bn("line-color",this.color),this.ddColor.change=function(e){n.color=e},this.ddType=new xn(this.style),this.ddType.change=function(e){var t=l()(e,1)[0];n.style=t},this.el=p("div","".concat(xe,"-border-palette"));var r=kn(p("tr","").children(p("td","".concat(xe,"-border-palette-left")).child(kn((t=p("tr","")).children.apply(t,y()(["all","inside","horizontal","vertical","outside"].map((function(e){return Cn.call(n,e)})))),(i=p("tr","")).children.apply(i,y()(["left","top","right","bottom","none"].map((function(e){return Cn.call(n,e)})))))),p("td","".concat(xe,"-border-palette-right")).children(p("div","".concat(xe,"-toolbar-btn")).child(this.ddColor.el),p("div","".concat(xe,"-toolbar-btn")).child(this.ddType.el))));this.el.child(r)};function Tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var _n=function(e){me()(i,e);var t=Tn(i);function i(){var e;c()(this,i);var n=new Ce("border-all"),r=new Sn;return r.change=function(t){e.change(t),e.hide()},e=t.call(this,n,"max-content",!1,"bottom-left",r.el)}return i}(Vi);function On(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Rn=function(e){me()(i,e);var t=On(i);function i(){return c()(this,i),t.call(this,"border")}return o()(i,[{key:"dropdown",value:function(){return new _n}}]),i}(Wi);function En(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var An=function(e){me()(i,e);var t=En(i);function i(){return c()(this,i),t.apply(this,arguments)}return o()(i,[{key:"element",value:function(){var e=this;return this.icon=new Ce(this.tag),Ni()(qe()(i.prototype),"element",this).call(this).child(this.icon).on("click",(function(){return e.change(e.tag)}))}},{key:"setState",value:function(e){this.el.disabled(e)}},{key:"setIcon",value:function(e){this.icon.setName(e)}}]),i}(Ui);function Mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var In=function(e){me()(i,e);var t=Mn(i);function i(){return c()(this,i),t.call(this,"clearformat")}return i}(An);function Bn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Dn=function(e){me()(i,e);var t=Bn(i);function i(){return c()(this,i),t.call(this,"paintformat")}return o()(i,[{key:"setState",value:function(){}}]),i}(tn);function zn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Pn=function(e){me()(i,e);var t=zn(i);function i(e){return c()(this,i),t.call(this,"color",null,void 0,e)}return o()(i,[{key:"dropdown",value:function(){var e=this.tag,t=this.value;return new bn(e,t)}}]),i}(Wi);function Fn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ln=function(e){me()(i,e);var t=Fn(i);function i(e){return c()(this,i),t.call(this,"bgcolor",null,void 0,e)}return o()(i,[{key:"dropdown",value:function(){var e=this.tag,t=this.value;return new bn(e,t)}}]),i}(Wi);function jn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Hn=function(e){me()(i,e);var t=jn(i);function i(){var e;c()(this,i);var n=Ot.map((function(t){return p("div","".concat(xe,"-item")).on("click",(function(){e.setTitle("".concat(t.pt)),e.change(t)})).child("".concat(t.pt))}));return e=t.call.apply(t,[this,"10","60px",!0,"bottom-left"].concat(y()(n)))}return i}(Vi);function Nn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Un=function(e){me()(i,e);var t=Nn(i);function i(){return c()(this,i),t.call(this,"font-size")}return o()(i,[{key:"getValue",value:function(e){return e.pt}},{key:"dropdown",value:function(){return new Hn}}]),i}(Wi);function Xn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Wn=function(e){me()(i,e);var t=Xn(i);function i(){var e;c()(this,i);var n=[{text:"50%",number:.5},{text:"75%",number:.75},{text:"100%",number:1},{text:"125%",number:1.25},{text:"150%",number:1.5},{text:"175%",number:1.75},{text:"200%",number:2}].map((function(t){return p("div","".concat(xe,"-item")).on("click",(function(){e.setTitle("".concat(t.text)),e.change(t)})).child("".concat(t.text))}));return e=t.call.apply(t,[this,"10","60px",!0,"bottom-left"].concat(y()(n)))}return i}(Vi);function Yn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Vn=function(e){me()(i,e);var t=Yn(i);function i(){return c()(this,i),t.call(this,"zoom-size")}return o()(i,[{key:"getValue",value:function(e){return e}},{key:"setState",value:function(e){"string"!=typeof e&&(e=100*e+"%"),Ni()(qe()(i.prototype),"setState",this).call(this,e)}},{key:"dropdown",value:function(){return new Wn}}]),i}(Wi);function Gn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Kn=function(e){me()(i,e);var t=Gn(i);function i(){var e;c()(this,i);var n=_t.map((function(t){return p("div","".concat(xe,"-item")).on("click",(function(){e.setTitle(t.title),e.change(t)})).child(t.title)}));return e=t.call.apply(t,[this,_t[0].title,"max-content",!0,"bottom-left"].concat(y()(n)))}return i}(Vi);function Zn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Jn=function(e){me()(i,e);var t=Zn(i);function i(){return c()(this,i),t.call(this,"font-name")}return o()(i,[{key:"getValue",value:function(e){return e.key}},{key:"dropdown",value:function(){return new Kn}}]),i}(Wi);function $n(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Qn=function(e){me()(i,e);var t=$n(i);function i(){var e;c()(this,i);var n=Mt.slice(0);return n.splice(2,0,{key:"divider"}),n.splice(8,0,{key:"divider"}),n=n.map((function(t){var i=p("div","".concat(xe,"-item"));return"divider"===t.key?i.addClass("divider"):(i.child(t.title()).on("click",(function(){e.setTitle(t.title()),e.change(t)})),t.label&&i.child(p("div","label").html(t.label))),i})),e=t.call.apply(t,[this,"Normal","220px",!0,"bottom-left"].concat(y()(n)))}return o()(i,[{key:"setTitle",value:function(e){for(var t=0;t<Mt.length;t+=1)Mt[t].key===e&&this.title.html(Mt[t].title());this.hide()}}]),i}(Vi);function er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var tr=function(e){me()(i,e);var t=er(i);function i(){return c()(this,i),t.call(this,"format")}return o()(i,[{key:"getValue",value:function(e){return e.key}},{key:"dropdown",value:function(){return new Qn}}]),i}(Wi),ir=i(9),nr=i.n(ir);function rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ar=function(e){me()(i,e);var t=rr(i);function i(){var e,n;c()(this,i);var r=se.map((function(e){return p("div","".concat(xe,"-item")).on("click",(function(){n.hide(),n.change(e)})).child(e.key)}));return n=t.call.apply(t,[this,new Ce("formula"),"max-content",!0,"bottom-left"].concat(y()(r))),Ni()((e=nr()(n),qe()(i.prototype)),"showExplain",e).call(e,se),n}return i}(Vi);function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var sr=function(e){me()(i,e);var t=or(i);function i(){return c()(this,i),t.call(this,"formula")}return o()(i,[{key:"getValue",value:function(e){return e.key}},{key:"dropdown",value:function(){return new ar}}]),i}(Wi);function lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var hr=function(e){me()(i,e);var t=lr(i);function i(){return c()(this,i),t.call(this,"freeze")}return i}(tn);function cr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ur=function(e){me()(i,e);var t=cr(i);function i(){return c()(this,i),t.call(this,"merge","unmerge")}return o()(i,[{key:"setState",value:function(e,t){this.el.active(e).disabled(t)}}]),i}(tn);function dr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var fr=function(e){me()(i,e);var t=dr(i);function i(){return c()(this,i),t.call(this,"print","Ctrl+P")}return i}(An);function vr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var gr=function(e){me()(i,e);var t=vr(i);function i(){return c()(this,i),t.call(this,"textwrap")}return i}(tn);function pr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var mr=function(e){me()(i,e);var t=pr(i);function i(){var e;c()(this,i);var n=new Ce("ellipsis"),r=p("div","".concat(xe,"-toolbar-more"));return(e=t.call(this,n,"max-content",!1,"bottom-right",r)).moreBtns=r,screen.width<500?e.contentEl.css("max-width","200px"):e.contentEl.css("max-width","420px"),e}return i}(Vi),yr=function(e){me()(i,e);var t=pr(i);function i(){var e;return c()(this,i),(e=t.call(this,"more")).el.hide(),e}return o()(i,[{key:"dropdown",value:function(){return new mr}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide()}}]),i}(Wi);function br(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var wr=function(e){me()(i,e);var t=br(i);function i(){return c()(this,i),t.call(this,"sort")}return i}(An);function qr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var xr=function(e){me()(i,e);var t=qr(i);function i(){return c()(this,i),t.call(this,"search")}return i}(An);function kr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Cr=function(e){me()(i,e);var t=kr(i);function i(){return c()(this,i),t.call(this,"commentEdit")}return i}(An);function Sr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Tr=function(e){me()(i,e);var t=Sr(i);function i(){return c()(this,i),t.call(this,"commentRemove")}return i}(An);function _r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Or=function(e){me()(i,e);var t=_r(i);function i(){return c()(this,i),t.call(this,"commentPrevious")}return i}(An);function Rr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Er=function(e){me()(i,e);var t=Rr(i);function i(){return c()(this,i),t.call(this,"commentNext")}return i}(An);function Ar(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Mr=function(e){me()(i,e);var t=Ar(i);function i(){var e;c()(this,i);var n=new Ce("".concat(xe,"-icon-img insert-image")),r=p("div","".concat(xe,"-item")),a=p("input");a.attr({type:"file",name:"photo",id:"upload-image",style:"display:none;",accept:"image/*"}),r.tag="fromLocal";var o=p("label");o.attr("for","upload-image"),o.child(new Ce("".concat(xe,"-icon-img insert-image-local"))),o.child(" "+Q("menubar.".concat(r.tag))),r.child(a),r.child(o),r.on("click",(function(){e.change("local")}));var s=Se("".concat(xe,"-icon-img insert-image-url"));return s.tag="fromURL",s.child(" "+Q("menubar.".concat(s.tag))),s.on("click",(function(){e.change("url")})),e=t.call.apply(t,[this,n,"auto",!0,"bottom-left"].concat([r,s]))}return i}(Vi);function Ir(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Br=function(e){me()(i,e);var t=Ir(i);function i(e){return c()(this,i),t.call(this,"insert-image",null,"",e)}return o()(i,[{key:"dropdown",value:function(){return new Mr}}]),i}(Wi);function Dr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var zr=function(e){me()(i,e);var t=Dr(i);function i(){var e;c()(this,i);var n=new Ce("insertTextBox"),r=["TextBox","ComboBox","CheckBox","SpinButton","RadioButton"].map((function(t){return Se("insert".concat(t)," "+Q("toolbar.insert".concat(t))).on("click",(function(){e.setTitle(t),e.change(t)}))}));return e=t.call.apply(t,[this,n,"auto",!0,"bottom-left"].concat(y()(r)))}return o()(i,[{key:"setTitle",value:function(e){this.title.setName("insert".concat(e)),this.hide()}}]),i}(Vi);function Pr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Fr=function(e){me()(i,e);var t=Pr(i);function i(e){return c()(this,i),t.call(this,"insertControl",null,"",e)}return o()(i,[{key:"dropdown",value:function(){return new zr}}]),i}(Wi);function Lr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var jr=function(e){me()(i,e);var t=Lr(i);function i(){var e;return c()(this,i),(e=t.call(this,"menu-display-hide","")).state="up",e}return o()(i,[{key:"setUp",value:function(){this.setIcon("menu-display-hide"),this.state="up"}},{key:"setDown",value:function(){this.setIcon("menu-display-show"),this.state="down"}}]),i}(An),Hr={NotPrimitive:0,Rectangle:1,RoundedRectangle:2,Oval:3,Diamond:4,IsoscelesTriangle:5,RightTriangle:6,Parallelogram:7,Trapezoid:8,Hexagon:9,Octagon:10,Cross:11,Star5:12,RightArrow:13,HomePlate:15,Cube:16,Balloon:17,Seal:18,Arc:19,Line:20,Plaque:21,Can:22,Donut:23,TextSimple:24,TextOctagon:25,TextHexagon:26,TextCurve:27,TextWave:28,TextRing:29,TextOnCurve:30,msosptTextOnRing:31,StraightConnector:32,BentConnector2:33,ElbowConnector:34,BentConnector4:35,BentConnector5:36,CurvedConnector2:37,CurvedConnector:38,CurvedConnector4:39,CurvedConnector5:40,LineCalloutNoBorder2:41,LineCalloutNoBorder3:42,LineCalloutNoBorder4:43,LineCalloutWithAccentBar2:44,LineCalloutWithAccentBar3:45,LineCalloutWithAccentBar4:46,LineCalloutWithBorder2:47,LineCalloutWithBorder3:48,LineCalloutWithBorder4:49,LineCalloutWithBorderAndAccentBar2:50,LineCalloutWithBorderAndAccentBar3:51,LineCalloutWithBorderAndAccentBar4:52,DownRibbon:53,UpRibbon:54,Chevron:55,RegularPentagon:56,NoSymbol:57,Star8:58,Star16:59,Star32:60,RectangularCallout:61,RoundedRectangularCallout:62,OvalCallout:63,Wave:64,FoldedCorner:65,LeftArrow:66,DownArrow:67,UpArrow:68,LeftRightArrow:69,UpDownArrow:70,Explosion1:71,Explosion2:72,LightningBolt:73,Heart:74,PictureFrame:75,QuadArrow:76,LeftArrowCallout:77,RightArrowCallout:78,UpArrowCallout:79,DownArrowCallout:80,LeftRightArrowCallout:81,UpDownArrowCallout:82,QuadArrowCallout:83,Bevel:84,LeftBracket:85,RightBracket:86,LeftBrace:87,RightBrace:88,LeftUpArrow:89,BentUpArrow:90,BentArrow:91,Star24:92,StripedRightArrow:93,NotchedRightArrow:94,BlockArc:95,SmileyFace:96,VerticalScroll:97,HorizontalScroll:98,CircularArrow:99,NotchedCircularArrow:100,UTurnArrow:101,CurvedRightArrow:102,CurvedLeftArrow:103,CurvedUpArrow:104,CurvedDownArrow:105,CloudCallout:106,CurvedDownRibbon:107,CurvedUpRibbon:108,FlowChartProcess:109,FlowChartDecision:110,FlowChartData:111,FlowChartPredefinedProcess:112,FlowChartInternalStorage:113,FlowChartDocument:114,FlowChartMultidocument:115,FlowChartTerminator:116,FlowChartPreparation:117,FlowChartManualInput:118,FlowChartManualOperation:119,FlowChartConnector:120,FlowChartCard:121,FlowChartPunchedTape:122,FlowChartSummingJunction:123,FlowChartOr:124,FlowChartCollate:125,FlowChartSort:126,FlowChartExtract:127,FlowChartMerge:128,FlowChartOfflineStorage:129,FlowChartStoredData:130,FlowChartSequentialAccessStorage:131,FlowChartMagneticDisk:132,FlowChartDirectAccessStorage:133,FlowChartDisplay:134,FlowChartDelay:135,TextPlainText:136,TextStop:137,TextTriangle:138,TextTriangleInverted:139,TextChevron:140,TextChevronInverted:141,TextRingInside:142,TextRingOutside:143,TextArchUpCurve:144,TextArchDownCurve:145,TextCircleCurve:146,TextButtonCurve:147,TextArchUpPour:148,TextArchDownPour:149,TextCirclePour:150,TextButtonPour:151,TextCurveUp:152,TextCurveDown:153,TextCascadeUp:154,TextCascadeDown:155,TextWave1:156,TextWave2:157,TextDoubleWave1:158,TextDoubleWave2:159,TextInflate:160,TextDeflate:161,TextInflateBottom:162,TextDeflateBottom:163,TextInflateTop:164,TextDeflateTop:165,TextDeflateInflate:166,TextDeflateInflateDeflate:167,TextFadeRight:168,TextFadeLeft:169,TextFadeUp:170,TextFadeDown:171,TextSlantUp:172,TextSlantDown:173,TextCanUp:174,TextCanDown:175,FlowChartAlternateProcess:176,FlowChartOffpageConnector:177,LineCalloutNoBorder1:178,LineCalloutWithAccentBar1:179,LineCalloutWithBorder1:180,LineCalloutWithBorderAndAccentBar1:181,LeftRightUpArrow:182,Sun:183,Moon:184,DoubleBracket:185,DoubleBrace:186,Star4:187,DoubleWave:188,BlankActionButton:189,HomeActionButton:190,HelpActionButton:191,InformationActionButton:192,ForwardNextActionButton:193,BackPreviousActionButton:194,EndActionButton:195,BeginningActionButton:196,ReturnActionButton:197,DocumentActionButton:198,SoundActionButton:199,MovieActionButton:200,HostControl:201,TextBox:202,Heptagon:2049,Decagon:2050,Dodecagon:2051,Star6:2052,Star7:2053,Star10:2054,Star12:2055,RoundSingleCornerRectangle:2056,RoundSameSideCornerRectangle:2057,RoundDiagonalCornerRectangle:2058,SnipRoundSingleCornerRectangle:2059,SnipSingleCornerRectangle:2060,SnipSameSideCornerRectangle:2061,SnipDiagonalCornerRectangle:2062,Teardrop:2063,Pie:2064,HalfFrame:2066,L_Shape:2067,DiagonalStripe:2068,Chord:2069,Cloud:2070,MathPlus:2071,MathMinus:2072,MathMultiply:2073,MathDivide:2074,MathEqual:2075,MathNotEqual:2076,LineInv:2077,NonIsoscelesTrapezoid:2078,PieWedge:2079,LeftCircularArrow:2080,LeftRightCircularArrow:2081,SwooshArrow:2082,LeftRightRibbon:2083,TextNoShape:2084,Gear6:2097,Gear9:2098,Funnel:2099,CornerTabs:2100,SquareTabs:2101,PlaqueTabs:2102,ChartX:2103,ChartStar:2104,ChartPlus:2105,Frame:2106,RoundCallout:2108,TextArchLeftPour:2109,TextArchRightPour:2110,TextArchLeftCurve:2111,TextArchRightCurve:2112,Unknown:4095},Nr={Rectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n \n >\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1740 v 1332 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path></svg>',RoundedRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path>\n <path\n type="path"\n d="M 456 1690 q -62 0 -117 -24 q -55 -24 -96 -65 q -41 -41 -65 -96 q -24 -55 -24 -118 v -726 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 1136 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 726 q 0 63 -24 118 q -24 55 -65 96 q -41 41 -96 65 q -55 24 -117 24 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path>\n</svg>',SnipSingleCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1434 h 1332 m 409 555 l -452 -452 h -1186 v 1228 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1258 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1434 h 1332 m 409 555 l -452 -452 h -1186 v 1228 h 1638 z"\n ></path>\n</svg>',SnipSameSideCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -922 l 512 -512 h 820 m 409 555 l -452 -452 h -734 l -452 452 v 776 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -850 l 482 -482 h 776 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -922 l 512 -512 h 820 m 409 555 l -452 -452 h -734 l -452 452 v 776 h 1638 z"\n ></path>\n</svg>',SnipDiagonalCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1332 l -512 -512 v -922 h 1332 m 409 555 l -452 -452 h -1186 v 776 l 452 452 h 1186 z"\n ></path>\n <path\n type="path"\n d="M 636 1690 l -482 -482 v -850 h 1258 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1332 l -512 -512 v -922 h 1332 m 409 555 l -452 -452 h -1186 v 776 l 452 452 h 1186 z"\n ></path>\n</svg>',SnipandRoundSingleCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 h 978 m 409 555 l -452 -452 h -935 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1029 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 956 l 482 482 v 850 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 v 922 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 h 978 m 409 555 l -452 -452 h -935 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n</svg>',RoundSingleCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1434 m 103 1331 h 1638 v -977 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1438 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 1029 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1434 m 103 1331 h 1638 v -977 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 z"\n ></path>\n</svg>',RoundSameSideCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1136 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1029 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 1136 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 1029 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1844 v -1080 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1136 q -52 0 -97 19 q -46 20 -80 54 q -34 34 -54 80 q -20 46 -20 98 v 977 h 1638 z"\n ></path>\n</svg>',RoundDiagonalCornerRectangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0 0 2048 2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1490 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -1080 m 1741 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 v 977 q 0 52 20 98 q 20 46 54 80 q 34 34 80 53 q 45 20 97 20 h 1387 z"\n ></path>\n <path\n type="path"\n d="M 456 1690 q -62 0 -117 -24 q -55 -24 -96 -65 q -41 -41 -65 -96 q -24 -55 -24 -118 v -1029 h 1438 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 1029 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 1080 h -1490 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -1080 m 1741 354 q 0 -52 -20 -98 q -20 -46 -54 -80 q -34 -34 -79 -54 q -46 -19 -98 -19 h -1387 v 977 q 0 52 20 98 q 20 46 54 80 q 34 34 80 53 q 45 20 97 20 h 1387 z"\n ></path>\n</svg>'},Ur={Oval:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg" height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 307 q 127 0 245 25 q 118 26 221 73 q 102 47 186 112 q 84 65 144 145 q 60 80 93 171 q 33 92 33 191 q 0 99 -33 190 q -33 92 -93 172 q -60 80 -144 145 q -84 65 -186 112 q -103 47 -221 72 q -118 26 -245 26 q -127 0 -245 -26 q -118 -25 -220 -72 q -103 -47 -187 -112 q -84 -65 -144 -145 q -60 -80 -93 -172 q -33 -91 -33 -190 q 0 -99 33 -191 q 33 -91 93 -171 q 60 -80 144 -145 q 84 -65 187 -112 q 102 -47 220 -73 q 118 -25 245 -25 m 0 1331 q 113 0 218 -22 q 104 -22 195 -62 q 91 -40 166 -96 q 75 -56 128 -124 q 53 -68 83 -147 q 29 -78 29 -163 q 0 -85 -29 -164 q -30 -78 -83 -146 q -53 -68 -128 -124 q -75 -56 -166 -96 q -91 -40 -195 -62 q -105 -22 -218 -22 q -113 0 -217 22 q -105 22 -196 62 q -91 40 -166 96 q -75 56 -128 124 q -53 68 -82 146 q -30 79 -30 164 q 0 85 30 163 q 29 79 82 147 q 53 68 128 124 q 75 56 166 96 q 91 40 196 62 q 104 22 217 22 z"\n ></path>\n <path\n type="path"\n d="M 1024 1690 q -120 0 -231 -24 q -111 -24 -208 -68 q -97 -43 -176 -104 q -79 -60 -136 -134 q -57 -74 -88 -159 q -31 -85 -31 -177 q 0 -92 31 -177 q 31 -85 88 -159 q 57 -74 136 -135 q 79 -60 176 -104 q 97 -43 208 -67 q 111 -24 231 -24 q 120 0 231 24 q 111 24 208 67 q 97 44 176 104 q 79 61 136 135 q 57 74 88 159 q 31 85 31 177 q 0 92 -31 177 q -31 85 -88 159 q -57 74 -136 134 q -79 61 -176 104 q -97 44 -208 68 q -111 24 -231 24 z"\n ></path>\n <path\n type="path"\n d="M 1024 307 q 127 0 245 25 q 118 26 221 73 q 102 47 186 112 q 84 65 144 145 q 60 80 93 171 q 33 92 33 191 q 0 99 -33 190 q -33 92 -93 172 q -60 80 -144 145 q -84 65 -186 112 q -103 47 -221 72 q -118 26 -245 26 q -127 0 -245 -26 q -118 -25 -220 -72 q -103 -47 -187 -112 q -84 -65 -144 -145 q -60 -80 -93 -172 q -33 -91 -33 -190 q 0 -99 33 -191 q 33 -91 93 -171 q 60 -80 144 -145 q 84 -65 187 -112 q 102 -47 220 -73 q 118 -25 245 -25 m 0 1331 q 113 0 218 -22 q 104 -22 195 -62 q 91 -40 166 -96 q 75 -56 128 -124 q 53 -68 83 -147 q 29 -78 29 -163 q 0 -85 -29 -164 q -30 -78 -83 -146 q -53 -68 -128 -124 q -75 -56 -166 -96 q -91 -40 -195 -62 q -105 -22 -218 -22 q -113 0 -217 22 q -105 22 -196 62 q -91 40 -166 96 q -75 56 -128 124 q -53 68 -82 146 q -30 79 -30 164 q 0 85 30 163 q 29 79 82 147 q 53 68 128 124 q 75 56 166 96 q 91 40 196 62 q 104 22 217 22 z"\n ></path></svg>',IsoscelesTriangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path>\n <path\n type="path"\n d="M 185 1894 l 839 -1677 l 839 1677 z"\n ></path>\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path></svg>',RightTriangle:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1946 h -1844 v -1844 m 103 1741 h 1493 l -1493 -1493 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1668 l 1668 1668 z"\n ></path>\n <path\n type="path"\n d="M 1946 1946 h -1844 v -1844 m 103 1741 h 1493 l -1493 -1493 z"\n ></path></svg>',Parallelogram:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path>\n <path\n type="path"\n d="M 172 1792 l 480 -1536 h 1224 l -480 1536 z"\n ></path>\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path></svg>',Trapezoid:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1873 358 l -506 1332 h -686 l -506 -1332 z"\n ></path>\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path></svg>',Diamond:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 l -922 922 l -922 -922 l 922 -922 m 0 1699 l 777 -777 l -777 -777 l -777 777 z"\n ></path>\n <path\n type="path"\n d="M 175 1024 l 849 -849 l 849 849 l -849 849 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 l -922 922 l -922 -922 l 922 -922 m 0 1699 l 777 -777 l -777 -777 l -777 777 z"\n ></path></svg>',Pentagon:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 886 l -357 1060 h -1121 l -366 -1060 l 922 -784 m 801 817 l -801 -682 l -801 682 l 317 924 h 977 z"\n ></path>\n <path\n type="path"\n d="M 504 1894 l -341 -992 l 861 -732 l 861 732 l -332 992 z"\n ></path>\n <path\n type="path"\n d="M 1946 886 l -357 1060 h -1121 l -366 -1060 l 922 -784 m 801 817 l -801 -682 l -801 682 l 317 924 h 977 z"\n ></path></svg>',Pie:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 v 922 m 0 819 q 104 0 202 -25 q 97 -25 183 -71 q 86 -46 159 -111 q 73 -65 129 -145 q 55 -79 91 -172 q 36 -92 49 -193 h -915 v -915 q -101 13 -193 49 q -93 36 -172 91 q -80 56 -145 129 q -65 73 -111 159 q -46 86 -71 183 q -25 98 -25 202 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path>\n <path\n type="path"\n d="M 1024 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -109 26 -212 q 26 -102 75 -194 q 48 -92 117 -170 q 68 -78 153 -138 q 84 -59 183 -98 q 99 -39 207 -52 l 58 -7 v 922 h 922 l -7 58 q -13 109 -52 207 q -39 99 -98 183 q -60 85 -138 153 q -78 69 -170 117 q -92 49 -194 75 q -103 26 -212 26 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 v 922 m 0 819 q 104 0 202 -25 q 97 -25 183 -71 q 86 -46 159 -111 q 73 -65 129 -145 q 55 -79 91 -172 q 36 -92 49 -193 h -915 v -915 q -101 13 -193 49 q -93 36 -172 91 q -80 56 -145 129 q -65 73 -111 159 q -46 86 -71 183 q -25 98 -25 202 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path></svg>',Chord:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 109 0 211 -28 q 102 -27 191 -78 q 89 -50 164 -121 q 74 -70 128 -157 q 54 -86 87 -186 q 32 -100 37 -208 l -859 -859 q -108 5 -208 37 q -100 33 -186 87 q -87 54 -157 128 q -71 75 -121 164 q -51 89 -78 191 q -28 102 -28 211 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path>\n <path\n type="path"\n d="M 1024 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -116 29 -224 q 29 -108 82 -203 q 53 -94 128 -173 q 75 -79 167 -137 q 92 -57 198 -92 q 106 -34 222 -40 l 23 -1 l 891 891 l -1 23 q -6 116 -40 222 q -35 106 -92 198 q -58 92 -137 167 q -79 75 -173 128 q -95 53 -203 82 q -108 29 -224 29 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 109 0 211 -28 q 102 -27 191 -78 q 89 -50 164 -121 q 74 -70 128 -157 q 54 -86 87 -186 q 32 -100 37 -208 l -859 -859 q -108 5 -208 37 q -100 33 -186 87 q -87 54 -157 128 q -71 75 -121 164 q -51 89 -78 191 q -28 102 -28 211 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path></svg>',Teardrop:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 922 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 103 h -819 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 z"\n ></path>\n <path\n type="path"\n d="M 1024 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 136 -176 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 h 870 v 870 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 922 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 103 h -819 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 z"\n ></path></svg>',Frame:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 1741 103 h -1638 v 1638 h 1638 m -205 -1433 v 1228 h -1228 v -1228 m 1126 102 h -1024 v 1024 h 1024 z"\n ></path>\n <path\n type="path"\n d="M 1894 154 v 1740 h -1740 v -1740 m 1433 307 h -1126 v 1126 h 1126 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 1741 103 h -1638 v 1638 h 1638 m -205 -1433 v 1228 h -1228 v -1228 m 1126 102 h -1024 v 1024 h 1024 z"\n ></path></svg>',HalfFrame:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 l -410 410 h -1024 v 1024 l -410 410 v -1844 m 1596 103 h -1493 v 1493 l 205 -204 v -1084 h 1084 z"\n ></path>\n <path\n type="path"\n d="M 154 154 h 1668 l -307 307 h -1054 v 1054 l -307 307 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 l -410 410 h -1024 v 1024 l -410 410 v -1844 m 1596 103 h -1493 v 1493 l 205 -204 v -1084 h 1084 z"\n ></path></svg>',LShape:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1126 v 820 h -1844 v -1844 h 820 v 1024 m 921 103 h -1024 v -1024 h -614 v 1638 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 870 154 v 1024 h 1024 v 716 h -1740 v -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 1126 v 820 h -1844 v -1844 h 820 v 1024 m 921 103 h -1024 v -1024 h -614 v 1638 h 1638 z"\n ></path></svg>',DiagonalStripe:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 l -1844 1844 v -1024 l 820 -820 m -717 1596 l 1493 -1493 h -734 l -759 759 z"\n ></path>\n <path\n type="path"\n d="M 154 943 l 789 -789 h 879 l -1668 1668 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 l -1844 1844 v -1024 l 820 -820 m -717 1596 l 1493 -1493 h -734 l -759 759 z"\n ></path></svg>',Cross:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 614 v 820 h -512 v 512 h -820 v -512 h -512 v -820 h 512 v -512 h 820 v 512 m 409 103 h -512 v -512 h -614 v 512 h -512 v 614 h 512 v 512 h 614 v -512 h 512 z"\n ></path>\n <path\n type="path"\n d="M 666 1894 v -512 h -512 v -716 h 512 v -512 h 716 v 512 h 512 v 716 h -512 v 512 z"\n ></path>\n <path\n type="path"\n d="M 1946 614 v 820 h -512 v 512 h -820 v -512 h -512 v -820 h 512 v -512 h 820 v 512 m 409 103 h -512 v -512 h -614 v 512 h -512 v 614 h 512 v 512 h 614 v -512 h 512 z"\n ></path></svg>',Plaque:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 102 q 0 96 28 172 q 28 76 81 129 q 53 53 129 81 q 76 28 172 28 v 1024 q -96 0 -172 28 q -76 28 -129 81 q -53 53 -81 129 q -28 76 -28 172 h -1024 q 0 -94 -28 -170 q -28 -76 -81 -129 q -53 -53 -129 -82 q -76 -29 -172 -29 v -1024 q 96 0 172 -29 q 76 -29 129 -82 q 53 -53 81 -129 q 28 -76 28 -170 m 1331 512 q -77 0 -150 -35 q -74 -35 -131 -93 q -58 -57 -93 -131 q -35 -73 -35 -150 h -820 q 0 77 -35 150 q -35 74 -92 131 q -58 58 -131 93 q -74 35 -151 35 v 820 q 77 0 151 35 q 73 35 131 92 q 57 58 92 131 q 35 74 35 151 h 820 q 0 -77 35 -151 q 35 -73 93 -131 q 57 -57 131 -92 q 73 -35 150 -35 z"\n ></path>\n <path\n type="path"\n d="M 563 1894 v -51 q 0 -66 -31 -131 q -31 -64 -81 -115 q -51 -50 -115 -81 q -65 -31 -131 -31 h -51 v -922 h 51 q 66 0 131 -31 q 64 -31 115 -82 q 50 -50 81 -115 q 31 -64 31 -130 v -51 h 922 v 51 q 0 66 31 130 q 31 65 82 115 q 50 51 115 82 q 64 31 130 31 h 51 v 922 h -51 q -66 0 -130 31 q -65 31 -115 81 q -51 51 -82 115 q -31 65 -31 131 v 51 z"\n ></path>\n <path\n type="path"\n d="M 1536 102 q 0 96 28 172 q 28 76 81 129 q 53 53 129 81 q 76 28 172 28 v 1024 q -96 0 -172 28 q -76 28 -129 81 q -53 53 -81 129 q -28 76 -28 172 h -1024 q 0 -94 -28 -170 q -28 -76 -81 -129 q -53 -53 -129 -82 q -76 -29 -172 -29 v -1024 q 96 0 172 -29 q 76 -29 129 -82 q 53 -53 81 -129 q 28 -76 28 -170 m 1331 512 q -77 0 -150 -35 q -74 -35 -131 -93 q -58 -57 -93 -131 q -35 -73 -35 -150 h -820 q 0 77 -35 150 q -35 74 -92 131 q -58 58 -131 93 q -74 35 -151 35 v 820 q 77 0 151 35 q 73 35 131 92 q 57 58 92 131 q 35 74 35 151 h 820 q 0 -77 35 -151 q 35 -73 93 -131 q 57 -57 131 -92 q 73 -35 150 -35 z"\n ></path></svg>',Can:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 148 0 279 20 q 131 20 228 55 q 97 35 154 81 q 56 47 56 100 v 1383 q -25 44 -91 81 q -67 38 -162 65 q -96 28 -215 43 q -119 16 -249 16 q -130 0 -249 -16 q -119 -15 -214 -43 q -96 -27 -162 -65 q -67 -37 -92 -81 v -1383 q 0 -53 57 -100 q 56 -46 153 -81 q 97 -35 228 -55 q 130 -20 279 -20 m 615 405 q -42 25 -95 42 q -53 17 -111 29 q -58 12 -118 19 q -60 7 -114 11 q -54 4 -100 5 q -46 1 -77 1 q -31 0 -76 -1 q -46 -1 -100 -5 q -55 -4 -114 -11 q -60 -7 -118 -19 q -58 -12 -111 -29 q -53 -17 -95 -42 v 1199 q 22 20 73 44 q 50 24 128 44 q 77 21 181 35 q 104 14 232 14 q 128 0 232 -14 q 104 -14 182 -35 q 77 -20 128 -44 q 50 -24 72 -44 m -614 -1501 q -127 0 -239 12 q -112 12 -195 33 q -83 21 -131 49 q -49 28 -49 59 q 0 32 49 60 q 48 28 131 49 q 83 21 195 33 q 112 12 239 12 q 127 0 239 -12 q 112 -12 195 -33 q 83 -21 132 -49 q 48 -28 48 -60 q 0 -31 -48 -59 q -49 -28 -132 -49 q -83 -21 -195 -33 q -112 -12 -239 -12 z"\n ></path>\n <path\n type="path"\n d="M 1024 154 q 132 0 253 15 q 121 16 213 43 q 91 27 146 64 q 54 38 54 82 v 1332 q 0 44 -54 81 q -55 38 -146 65 q -92 27 -213 42 q -121 16 -253 16 q -132 0 -253 -16 q -121 -15 -212 -42 q -92 -27 -146 -65 q -55 -37 -55 -81 v -1332 q 0 -44 55 -82 q 54 -37 146 -64 q 91 -27 212 -43 q 121 -15 253 -15 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 148 0 279 20 q 131 20 228 55 q 97 35 154 81 q 56 47 56 100 v 1383 q -25 44 -91 81 q -67 38 -162 65 q -96 28 -215 43 q -119 16 -249 16 q -130 0 -249 -16 q -119 -15 -214 -43 q -96 -27 -162 -65 q -67 -37 -92 -81 v -1383 q 0 -53 57 -100 q 56 -46 153 -81 q 97 -35 228 -55 q 130 -20 279 -20 m 615 405 q -42 25 -95 42 q -53 17 -111 29 q -58 12 -118 19 q -60 7 -114 11 q -54 4 -100 5 q -46 1 -77 1 q -31 0 -76 -1 q -46 -1 -100 -5 q -55 -4 -114 -11 q -60 -7 -118 -19 q -58 -12 -111 -29 q -53 -17 -95 -42 v 1199 q 22 20 73 44 q 50 24 128 44 q 77 21 181 35 q 104 14 232 14 q 128 0 232 -14 q 104 -14 182 -35 q 77 -20 128 -44 q 50 -24 72 -44 m -614 -1501 q -127 0 -239 12 q -112 12 -195 33 q -83 21 -131 49 q -49 28 -49 59 q 0 32 49 60 q 48 28 131 49 q 83 21 195 33 q 112 12 239 12 q 127 0 239 -12 q 112 -12 195 -33 q 83 -21 132 -49 q 48 -28 48 -60 q 0 -31 -48 -59 q -49 -28 -132 -49 q -83 -21 -195 -33 q -112 -12 -239 -12 z"\n ></path></svg>',Cube:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1280 l -564 564 h -1280 v -1280 l 564 -564 m 665 615 h -1126 v 1126 h 1126 m 51 -1229 l 410 -409 h -1075 l -410 409 m 1536 -307 l -409 410 v 1024 l 409 -410 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1207 l 533 -533 h 1207 v 1207 l -533 533 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1280 l -564 564 h -1280 v -1280 l 564 -564 m 665 615 h -1126 v 1126 h 1126 m 51 -1229 l 410 -409 h -1075 l -410 409 m 1536 -307 l -409 410 v 1024 l 409 -410 z"\n ></path></svg>',Bevel:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 175 103 l 205 205 h 1084 l 205 -205 m -235 1331 v -1024 h -1024 v 1024 m -307 235 l 205 -205 v -1084 l -205 -205 m 1566 1566 l -205 -205 h -1084 l -205 205 m 1566 -1566 l -205 205 v 1084 l 205 205 z"\n ></path>\n <path\n type="path"\n d="M 154 154 h 1740 v 1740 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 175 103 l 205 205 h 1084 l 205 -205 m -235 1331 v -1024 h -1024 v 1024 m -307 235 l 205 -205 v -1084 l -205 -205 m 1566 1566 l -205 -205 h -1084 l -205 205 m 1566 -1566 l -205 205 v 1084 l 205 205 z"\n ></path></svg>',Donut:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 m 0 -1331 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 q 0 106 -40 199 q -40 94 -109 163 q -70 70 -163 110 q -94 40 -200 40 q -106 0 -199 -40 q -94 -40 -163 -110 q -70 -69 -110 -163 q -40 -93 -40 -199 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 m 0 922 q 85 0 160 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 159 33 z"\n ></path>\n <path\n type="path"\n d="M 1024 154 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 79 136 176 q 57 97 88 208 q 31 111 31 231 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -79 -79 -136 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 136 -176 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 m 0 1331 q 95 0 179 -37 q 84 -36 147 -99 q 62 -62 99 -146 q 36 -84 36 -179 q 0 -95 -36 -179 q -37 -84 -99 -147 q -63 -62 -147 -99 q -84 -36 -179 -36 q -95 0 -179 36 q -84 37 -146 99 q -63 63 -99 147 q -37 84 -37 179 q 0 95 37 179 q 36 84 99 146 q 62 63 146 99 q 84 37 179 37 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 0 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 m 0 -1331 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 q 0 106 -40 199 q -40 94 -109 163 q -70 70 -163 110 q -94 40 -200 40 q -106 0 -199 -40 q -94 -40 -163 -110 q -70 -69 -110 -163 q -40 -93 -40 -199 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 m 0 922 q 85 0 160 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 159 33 z"\n ></path></svg>',BlockArc:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 512 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 v 102 h -512 v -102 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 v 102 h -512 v -102 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 922 q 0 -113 -29 -218 q -30 -104 -83 -196 q -53 -91 -128 -166 q -75 -74 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 54 -166 128 q -75 75 -128 166 q -53 92 -82 196 q -30 105 -30 218 h 307 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 z"\n ></path>\n <path\n type="path"\n d="M 1485 1485 v -51 q 0 -96 -36 -180 q -37 -84 -99 -147 q -63 -62 -147 -98 q -84 -36 -179 -36 q -95 0 -179 36 q -84 36 -146 98 q -63 63 -99 147 q -37 84 -37 180 v 51 h -409 v -51 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 136 -177 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 177 q 57 97 88 208 q 31 111 31 231 v 51 z"\n ></path>\n <path\n type="path"\n d="M 1024 512 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 v 102 h -512 v -102 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -160 -32 q -85 0 -159 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 v 102 h -512 v -102 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 m 819 922 q 0 -113 -29 -218 q -30 -104 -83 -196 q -53 -91 -128 -166 q -75 -74 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 q -113 0 -217 29 q -105 30 -196 83 q -91 54 -166 128 q -75 75 -128 166 q -53 92 -82 196 q -30 105 -30 218 h 307 q 0 -106 40 -200 q 40 -93 110 -163 q 69 -69 163 -109 q 93 -40 199 -40 q 106 0 200 40 q 93 40 163 109 q 69 70 109 163 q 40 94 40 200 z"\n ></path></svg>',FoldedCorner:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1229 l -615 615 h -1229 v -1844 m 1229 1699 l 470 -470 h -470 m 512 -1126 h -1638 v 1638 h 1024 v -614 h 614 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 1740 v 1156 l -584 584 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1229 l -615 615 h -1229 v -1844 m 1229 1699 l 470 -470 h -470 m 512 -1126 h -1638 v 1638 h 1024 v -614 h 614 z"\n ></path></svg>',Heart:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1531 108 q 67 7 137 41 q 70 34 129 95 q 58 62 99 151 q 40 90 50 208 v 104 q -9 113 -59 239 q -51 126 -158 267 q -108 141 -280 298 q -172 157 -423 331 q -251 -174 -423 -331 q -172 -157 -280 -298 q -109 -141 -160 -267 q -52 -126 -61 -239 v -104 q 10 -118 51 -208 q 40 -89 99 -151 q 58 -61 128 -95 q 69 -34 137 -41 q 23 -2 44 -3 q 20 -1 40 -1 q 78 0 138 16 q 60 16 109 45 q 49 30 91 71 q 42 41 85 92 q 43 -51 85 -92 q 42 -41 91 -71 q 49 -29 109 -45 q 60 -16 138 -16 q 20 0 41 1 q 20 1 43 3 m 312 503 q -8 -96 -39 -169 q -31 -72 -76 -122 q -46 -50 -100 -78 q -54 -27 -107 -32 q -20 -2 -38 -3 q -19 -1 -36 -1 q -60 0 -106 11 q -46 11 -85 33 q -39 23 -75 58 q -37 36 -79 86 l -78 93 l -78 -93 q -42 -50 -78 -86 q -37 -35 -76 -58 q -40 -22 -85 -33 q -46 -11 -106 -11 q -17 0 -35 1 q -19 1 -39 3 q -53 5 -107 32 q -54 28 -99 77 q -46 49 -77 120 q -32 71 -39 164 v 96 q 17 227 224 482 q 206 256 597 535 q 389 -277 594 -531 q 205 -254 223 -478 z"\n ></path>\n <path\n type="path"\n d="M 997 1758 q -401 -286 -612 -551 q -212 -265 -231 -504 v -101 q 9 -106 45 -187 q 35 -80 87 -135 q 52 -55 114 -85 q 62 -30 122 -36 q 21 -2 41 -3 q 19 -1 38 -1 q 67 0 119 12 q 51 13 96 38 q 44 26 85 65 q 40 39 84 91 l 39 46 l 39 -46 q 44 -52 85 -91 q 40 -39 85 -65 q 44 -25 96 -38 q 51 -12 118 -12 q 19 0 39 1 q 19 1 40 3 q 60 6 122 36 q 62 31 114 86 q 51 56 87 137 q 36 82 45 189 v 100 q -19 240 -229 503 q -211 264 -609 548 l -30 21 z"\n ></path>\n <path\n type="path"\n d="M 1531 108 q 67 7 137 41 q 70 34 129 95 q 58 62 99 151 q 40 90 50 208 v 104 q -9 113 -59 239 q -51 126 -158 267 q -108 141 -280 298 q -172 157 -423 331 q -251 -174 -423 -331 q -172 -157 -280 -298 q -109 -141 -160 -267 q -52 -126 -61 -239 v -104 q 10 -118 51 -208 q 40 -89 99 -151 q 58 -61 128 -95 q 69 -34 137 -41 q 23 -2 44 -3 q 20 -1 40 -1 q 78 0 138 16 q 60 16 109 45 q 49 30 91 71 q 42 41 85 92 q 43 -51 85 -92 q 42 -41 91 -71 q 49 -29 109 -45 q 60 -16 138 -16 q 20 0 41 1 q 20 1 43 3 m 312 503 q -8 -96 -39 -169 q -31 -72 -76 -122 q -46 -50 -100 -78 q -54 -27 -107 -32 q -20 -2 -38 -3 q -19 -1 -36 -1 q -60 0 -106 11 q -46 11 -85 33 q -39 23 -75 58 q -37 36 -79 86 l -78 93 l -78 -93 q -42 -50 -78 -86 q -37 -35 -76 -58 q -40 -22 -85 -33 q -46 -11 -106 -11 q -17 0 -35 1 q -19 1 -39 3 q -53 5 -107 32 q -54 28 -99 77 q -46 49 -77 120 q -32 71 -39 164 v 96 q 17 227 224 482 q 206 256 597 535 q 389 -277 594 -531 q 205 -254 223 -478 z"\n ></path></svg>',LightningBolt:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 912 819 l -363 -717 h 587 l 605 1127 h -484 l 423 717 h -284 l -1089 -1127 m 1133 1024 h 61 l -424 -717 h 493 l -496 -921 h -358 l 363 717 h -530 z"\n ></path>\n <path\n type="path"\n d="M 1418 1894 l -990 -1024 h 568 l -363 -716 h 472 l 550 1024 h -488 l 424 716 z"\n ></path>\n <path\n type="path"\n d="M 912 819 l -363 -717 h 587 l 605 1127 h -484 l 423 717 h -284 l -1089 -1127 m 1133 1024 h 61 l -424 -717 h 493 l -496 -921 h -358 l 363 717 h -530 z"\n ></path></svg>',Sun:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 410 q 85 0 164 22 q 78 22 146 62 q 68 40 124 96 q 56 56 96 124 q 40 68 62 146 q 22 79 22 164 q 0 85 -22 163 q -22 79 -62 147 q -40 68 -96 124 q -56 56 -124 96 q -68 40 -146 62 q -79 22 -164 22 q -85 0 -163 -22 q -79 -22 -147 -62 q -68 -40 -124 -96 q -56 -56 -96 -124 q -40 -68 -62 -147 q -22 -78 -22 -163 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 124 -96 q 68 -40 147 -62 q 78 -22 163 -22 m 0 1126 q 106 0 199 -41 q 93 -40 163 -110 q 69 -69 110 -162 q 40 -93 40 -199 q 0 -106 -40 -199 q -41 -93 -110 -163 q -70 -69 -163 -110 q -93 -40 -199 -40 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 106 41 199 q 40 93 110 162 q 69 70 162 110 q 93 41 199 41 m 717 -1229 v 307 l -307 -307 m 512 717 l -205 205 v -410 m 0 615 v 307 h -307 m -820 -1434 l -307 307 v -307 m 0 512 v 410 l -205 -205 m 512 717 h -307 v -307 m 512 307 h 410 l -205 205 m 0 -1844 l 205 205 h -410 z"\n ></path>\n <path\n type="path"\n d="M 1024 1587 q -116 0 -218 -45 q -103 -44 -179 -121 q -77 -76 -121 -179 q -45 -102 -45 -218 q 0 -116 45 -219 q 44 -102 121 -179 q 76 -76 179 -121 q 102 -44 218 -44 q 116 0 219 44 q 102 45 179 121 q 76 77 121 179 q 44 103 44 219 q 0 116 -44 218 q -45 103 -121 179 q -77 77 -179 121 q -103 45 -219 45 z"\n ></path>\n <path\n type="path"\n d="M 1024 410 q 85 0 164 22 q 78 22 146 62 q 68 40 124 96 q 56 56 96 124 q 40 68 62 146 q 22 79 22 164 q 0 85 -22 163 q -22 79 -62 147 q -40 68 -96 124 q -56 56 -124 96 q -68 40 -146 62 q -79 22 -164 22 q -85 0 -163 -22 q -79 -22 -147 -62 q -68 -40 -124 -96 q -56 -56 -96 -124 q -40 -68 -62 -147 q -22 -78 -22 -163 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 124 -96 q 68 -40 147 -62 q 78 -22 163 -22 m 0 1126 q 106 0 199 -41 q 93 -40 163 -110 q 69 -69 110 -162 q 40 -93 40 -199 q 0 -106 -40 -199 q -41 -93 -110 -163 q -70 -69 -163 -110 q -93 -40 -199 -40 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 106 41 199 q 40 93 110 162 q 69 70 162 110 q 93 41 199 41 m 717 -1229 v 307 l -307 -307 m 512 717 l -205 205 v -410 m 0 615 v 307 h -307 m -820 -1434 l -307 307 v -307 m 0 512 v 410 l -205 -205 m 512 717 h -307 v -307 m 512 307 h 410 l -205 205 m 0 -1844 l 205 205 h -410 z"\n ></path></svg>',Moon:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 1024 q 0 143 42 274 q 41 131 116 241 q 74 111 178 196 q 103 86 227 138 q -83 35 -172 54 q -90 19 -186 19 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 q 96 0 186 19 q 89 19 172 54 q -124 53 -227 138 q -104 86 -178 196 q -75 110 -116 241 q -42 131 -42 274 m 205 819 q 24 0 48 -2 q 23 -1 47 -3 q -94 -72 -168 -163 q -75 -91 -127 -196 q -52 -105 -79 -220 q -28 -115 -28 -235 q 0 -120 28 -235 q 27 -115 79 -220 q 52 -105 127 -196 q 74 -91 168 -163 q -24 -2 -47 -4 q -24 -1 -48 -1 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path>\n <path\n type="path"\n d="M 1229 1894 q -120 0 -231 -31 q -111 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -231 q 31 -111 88 -208 q 57 -97 137 -176 q 79 -79 176 -136 q 97 -57 208 -88 q 111 -31 231 -31 q 114 0 227 29 q -111 65 -200 155 q -90 90 -153 199 q -63 109 -96 232 q -34 124 -34 255 q 0 131 34 254 q 33 124 96 233 q 63 109 153 199 q 89 90 200 155 q -113 29 -227 29 z"\n ></path>\n <path\n type="path"\n d="M 1024 1024 q 0 143 42 274 q 41 131 116 241 q 74 111 178 196 q 103 86 227 138 q -83 35 -172 54 q -90 19 -186 19 q -127 0 -245 -33 q -118 -33 -220 -93 q -103 -60 -187 -144 q -84 -84 -144 -187 q -60 -102 -93 -220 q -33 -118 -33 -245 q 0 -127 33 -245 q 33 -118 93 -221 q 60 -102 144 -186 q 84 -84 187 -144 q 102 -60 220 -93 q 118 -33 245 -33 q 96 0 186 19 q 89 19 172 54 q -124 53 -227 138 q -104 86 -178 196 q -75 110 -116 241 q -42 131 -42 274 m 205 819 q 24 0 48 -2 q 23 -1 47 -3 q -94 -72 -168 -163 q -75 -91 -127 -196 q -52 -105 -79 -220 q -28 -115 -28 -235 q 0 -120 28 -235 q 27 -115 79 -220 q 52 -105 127 -196 q 74 -91 168 -163 q -24 -2 -47 -4 q -24 -1 -48 -1 q -113 0 -217 29 q -105 30 -196 83 q -91 53 -166 128 q -75 75 -128 166 q -53 91 -82 195 q -30 105 -30 218 q 0 113 30 217 q 29 105 82 196 q 53 91 128 166 q 75 75 166 128 q 91 53 196 82 q 104 30 217 30 z"\n ></path></svg>',Cloud:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 666 q 0 84 -28 157 q -29 73 -78 133 q 49 55 78 124 q 28 70 28 149 q 0 85 -32 159 q -33 75 -88 130 q -56 56 -130 88 q -75 32 -160 32 q -38 0 -74 -7 q -36 -7 -70 -20 q -25 51 -63 94 q -38 43 -85 73 q -48 31 -103 48 q -56 17 -117 17 q -71 0 -134 -23 q -63 -22 -115 -62 q -52 -40 -89 -95 q -37 -55 -55 -120 q -42 45 -98 70 q -57 25 -123 25 q -64 0 -120 -24 q -56 -24 -98 -66 q -42 -41 -66 -97 q -24 -56 -24 -120 q 0 -60 22 -113 q 22 -52 60 -94 q -39 -69 -60 -145 q -22 -75 -22 -160 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 125 -96 q 68 -40 147 -62 q 78 -22 163 -22 q 121 0 228 44 q 107 44 189 120 q 64 -75 155 -120 q 90 -44 196 -44 q 95 0 179 36 q 84 36 147 98 q 62 63 99 147 q 36 84 36 180 m -103 563 q 0 -57 -20 -109 q -21 -52 -59 -95 l -59 -66 l 55 -68 q 42 -51 63 -107 q 20 -55 20 -118 q 0 -74 -28 -140 q -28 -65 -77 -114 q -49 -48 -114 -77 q -65 -28 -139 -28 q -79 0 -150 33 q -71 34 -123 96 l -69 82 l -78 -74 q -72 -67 -161 -101 q -90 -34 -187 -36 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 136 68 254 l 37 65 l -51 55 q -27 29 -40 65 q -14 36 -14 73 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 q 42 0 80 -17 q 37 -16 67 -47 l 124 -129 l 49 173 q 14 50 43 91 q 28 41 67 71 q 39 30 86 46 q 47 17 98 17 q 90 0 163 -47 q 72 -47 112 -128 l 41 -84 l 88 33 q 55 21 108 21 q 63 0 119 -24 q 56 -24 98 -66 q 42 -42 66 -98 q 24 -56 24 -119 z"\n ></path>\n <path\n type="path"\n d="M 1024 1792 q -60 0 -115 -20 q -55 -19 -100 -54 q -46 -34 -79 -83 q -34 -48 -50 -106 l -24 -86 l -62 65 q -37 38 -83 58 q -47 21 -101 21 q -54 0 -101 -21 q -47 -20 -81 -55 q -35 -35 -54 -83 q -20 -47 -20 -100 q 0 -48 18 -91 q 18 -42 50 -78 l 25 -28 l -19 -32 q -38 -64 -56 -135 q -18 -71 -18 -145 q 0 -116 44 -219 q 44 -102 121 -179 q 76 -76 179 -121 q 102 -44 219 -44 q 106 0 206 38 q 99 39 177 113 l 39 37 l 35 -41 q 61 -72 140 -110 q 79 -37 171 -37 q 85 0 160 32 q 74 33 130 88 q 55 56 87 130 q 32 75 32 160 q 0 70 -23 135 q -23 66 -71 123 l -28 34 l 30 32 q 45 51 69 112 q 23 61 23 127 q 0 74 -28 139 q -28 65 -76 114 q -49 49 -114 77 q -66 28 -140 28 q -63 0 -126 -24 l -44 -17 l -20 43 q -23 47 -56 84 q -34 38 -76 64 q -42 27 -90 41 q -48 14 -100 14 z"\n ></path>\n <path\n type="path"\n d="M 1946 666 q 0 84 -28 157 q -29 73 -78 133 q 49 55 78 124 q 28 70 28 149 q 0 85 -32 159 q -33 75 -88 130 q -56 56 -130 88 q -75 32 -160 32 q -38 0 -74 -7 q -36 -7 -70 -20 q -25 51 -63 94 q -38 43 -85 73 q -48 31 -103 48 q -56 17 -117 17 q -71 0 -134 -23 q -63 -22 -115 -62 q -52 -40 -89 -95 q -37 -55 -55 -120 q -42 45 -98 70 q -57 25 -123 25 q -64 0 -120 -24 q -56 -24 -98 -66 q -42 -41 -66 -97 q -24 -56 -24 -120 q 0 -60 22 -113 q 22 -52 60 -94 q -39 -69 -60 -145 q -22 -75 -22 -160 q 0 -85 22 -164 q 22 -78 62 -146 q 40 -68 96 -124 q 56 -56 125 -96 q 68 -40 147 -62 q 78 -22 163 -22 q 121 0 228 44 q 107 44 189 120 q 64 -75 155 -120 q 90 -44 196 -44 q 95 0 179 36 q 84 36 147 98 q 62 63 99 147 q 36 84 36 180 m -103 563 q 0 -57 -20 -109 q -21 -52 -59 -95 l -59 -66 l 55 -68 q 42 -51 63 -107 q 20 -55 20 -118 q 0 -74 -28 -140 q -28 -65 -77 -114 q -49 -48 -114 -77 q -65 -28 -139 -28 q -79 0 -150 33 q -71 34 -123 96 l -69 82 l -78 -74 q -72 -67 -161 -101 q -90 -34 -187 -36 q -106 0 -199 40 q -93 41 -162 110 q -70 70 -110 163 q -41 93 -41 199 q 0 136 68 254 l 37 65 l -51 55 q -27 29 -40 65 q -14 36 -14 73 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 q 42 0 80 -17 q 37 -16 67 -47 l 124 -129 l 49 173 q 14 50 43 91 q 28 41 67 71 q 39 30 86 46 q 47 17 98 17 q 90 0 163 -47 q 72 -47 112 -128 l 41 -84 l 88 33 q 55 21 108 21 q 63 0 119 -24 q 56 -24 98 -66 q 42 -42 66 -98 q 24 -56 24 -119 z"\n ></path></svg>',Arc:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1843 h -103 q 0 -191 -22 -354 q -23 -162 -72 -300 q -50 -138 -128 -255 q -78 -116 -189 -214 q -107 -94 -226 -162 q -120 -67 -242 -113 q -122 -46 -240 -73 q -118 -27 -222 -42 q -104 -14 -188 -19 q -84 -4 -137 -4 q -35 0 -54 1 q -20 1 -21 1 v -102 q 4 0 21 -1 q 16 -1 44 -1 q 52 0 138 5 q 85 5 193 20 q 108 16 233 46 q 124 30 254 80 q 129 50 258 123 q 129 74 245 177 q 118 105 205 228 q 86 124 142 270 q 56 146 84 317 q 27 172 27 372 z"\n ></path>\n <path\n type="path"\n d="M 1946 1843 h -103 q 0 -191 -22 -354 q -23 -162 -72 -300 q -50 -138 -128 -255 q -78 -116 -189 -214 q -107 -94 -226 -162 q -120 -67 -242 -113 q -122 -46 -240 -73 q -118 -27 -222 -42 q -104 -14 -188 -19 q -84 -4 -137 -4 q -35 0 -54 1 q -20 1 -21 1 v -102 q 4 0 21 -1 q 16 -1 44 -1 q 52 0 138 5 q 85 5 193 20 q 108 16 233 46 q 124 30 254 80 q 129 50 258 123 q 129 74 245 177 q 118 105 205 228 q 86 124 142 270 q 56 146 84 317 q 27 172 27 372 z"\n ></path></svg>',DoubleBracket:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 717 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -25 -56 -25 -119 v -1228 q 0 -63 25 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 m 1228 -1741 q 63 0 119 24 q 56 25 98 67 q 42 42 67 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -25 56 -67 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path>\n <path\n type="path"\n d="M 717 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -25 -56 -25 -119 v -1228 q 0 -63 25 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 m 1228 -1741 q 63 0 119 24 q 56 25 98 67 q 42 42 67 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -25 56 -67 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path></svg>',DoubleBrace:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1843 1126 q -38 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 77 -22 118 q -23 42 -55 61 q -33 20 -68 23 q -35 3 -59 3 h -103 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 27 0 q 11 1 33 1 q 38 0 59 -16 q 20 -15 30 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 29 -39 66 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -66 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -35 -30 q -23 -11 -51 -13 h -103 v -103 h 103 q 57 3 102 26 q 19 10 38 24 q 18 15 32 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 37 10 75 10 m -1638 0 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path>\n <path\n type="path"\n d="M 1843 1126 q -38 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 77 -22 118 q -23 42 -55 61 q -33 20 -68 23 q -35 3 -59 3 h -103 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 27 0 q 11 1 33 1 q 38 0 59 -16 q 20 -15 30 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 29 -39 66 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -66 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -35 -30 q -23 -11 -51 -13 h -103 v -103 h 103 q 57 3 102 26 q 19 10 38 24 q 18 15 32 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 37 10 75 10 m -1638 0 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path></svg>',LeftBracket:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1331 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -24 -56 -24 -119 v -1228 q 0 -63 24 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 z"\n ></path>\n <path\n type="path"\n d="M 1331 1843 v 103 h -307 q -63 0 -119 -25 q -56 -24 -98 -66 q -42 -42 -66 -98 q -24 -56 -24 -119 v -1228 q 0 -63 24 -119 q 24 -56 66 -98 q 42 -42 98 -67 q 56 -24 119 -24 h 307 v 103 h -307 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 1228 q 0 42 16 79 q 16 38 44 66 q 28 28 66 44 q 37 16 79 16 z"\n ></path></svg>',RightBracket:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 63 0 119 24 q 56 25 98 67 q 42 42 66 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -24 56 -66 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 63 0 119 24 q 56 25 98 67 q 42 42 66 98 q 24 56 24 119 v 1228 q 0 63 -24 119 q -24 56 -66 98 q -42 42 -98 66 q -56 25 -119 25 h -307 v -103 h 307 q 42 0 80 -16 q 37 -16 65 -44 q 28 -28 44 -66 q 16 -37 16 -79 v -1228 q 0 -42 -16 -80 q -16 -37 -44 -65 q -28 -28 -65 -44 q -38 -16 -80 -16 h -307 v -103 z"\n ></path></svg>',LeftBrace:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 717 922 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path>\n <path\n type="path"\n d="M 717 922 q 38 0 75 -10 q 37 -10 66 -34 q 29 -24 47 -63 q 17 -39 17 -98 v -410 q 0 -38 9 -67 q 9 -29 23 -51 q 14 -22 33 -37 q 18 -14 37 -24 q 45 -23 102 -26 h 103 v 103 h -103 q -29 2 -51 13 q -20 10 -35 30 q -16 21 -16 59 v 410 q 0 59 -17 109 q -18 51 -47 91 q -29 40 -65 67 q -37 28 -76 40 q 39 12 76 38 q 36 27 65 66 q 29 39 47 90 q 17 51 17 113 v 410 q 2 29 13 51 q 10 20 31 35 q 20 16 58 16 q 22 0 33 -1 q 11 0 27 0 q 8 0 19 0 q 10 0 24 1 v 103 h -103 q -24 0 -59 -3 q -35 -3 -67 -23 q -33 -19 -55 -61 q -23 -41 -23 -118 v -410 q 0 -63 -17 -103 q -18 -39 -47 -62 q -29 -23 -66 -32 q -37 -8 -75 -8 z"\n ></path></svg>',RightBrace:'<svg\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1229 1126 q -39 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 51 -10 86 q -11 35 -28 58 q -18 23 -40 35 q -22 13 -44 18 q -23 6 -45 7 q -22 1 -38 1 h -102 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 26 0 q 11 1 33 1 q 38 0 59 -16 q 21 -15 31 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 28 -39 65 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -65 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -36 -30 q -23 -11 -51 -13 h -102 v -103 h 102 q 57 3 102 26 q 19 10 38 24 q 18 15 33 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 36 10 75 10 z"\n ></path>\n <path\n type="path"\n d="M 1229 1126 q -39 0 -75 8 q -37 9 -66 32 q -29 23 -46 62 q -18 40 -18 103 v 410 q 0 51 -10 86 q -11 35 -28 58 q -18 23 -40 35 q -22 13 -44 18 q -23 6 -45 7 q -22 1 -38 1 h -102 v -103 q 14 -1 25 -1 q 10 0 18 0 q 15 0 26 0 q 11 1 33 1 q 38 0 59 -16 q 21 -15 31 -35 q 11 -22 13 -51 v -410 q 0 -62 18 -113 q 17 -51 46 -90 q 28 -39 65 -66 q 36 -26 75 -38 q -39 -12 -75 -40 q -37 -27 -65 -67 q -29 -40 -46 -91 q -18 -50 -18 -109 v -410 q 0 -38 -16 -59 q -16 -20 -36 -30 q -23 -11 -51 -13 h -102 v -103 h 102 q 57 3 102 26 q 19 10 38 24 q 18 15 33 37 q 14 22 23 51 q 9 29 9 67 v 410 q 0 59 18 98 q 17 39 46 63 q 29 24 66 34 q 36 10 75 10 z"\n ></path></svg>'},Xr={RightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 v -820 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -1024 v 614 z"\n ></path>\n <path\n type="path"\n d="M 1178 1382 h -1024 v -716 h 1024 v -338 l 695 696 l -695 696 z"\n ></path>\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 v -820 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -1024 v 614 z"\n ></path></svg>',LeftArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 922 205 v 409 h 1024 v 820 h -1024 v 409 l -820 -819 m 717 -307 v -265 l -572 572 l 572 572 v -265 h 1024 v -614 z"\n ></path>\n <path\n type="path"\n d="M 870 666 h 1024 v 716 h -1024 v 338 l -695 -696 l 695 -696 z"\n ></path>\n <path\n type="path"\n d="M 922 205 v 409 h 1024 v 820 h -1024 v 409 l -820 -819 m 717 -307 v -265 l -572 572 l 572 572 v -265 h 1024 v -614 z"\n ></path>\n</svg>',UpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1843 922 h -409 v 1024 h -820 v -1024 h -409 l 819 -820 m 307 717 h 265 l -572 -572 l -572 572 h 265 v 1024 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1382 870 v 1024 h -716 v -1024 h -338 l 696 -695 l 696 695 z"\n ></path>\n <path\n type="path"\n d="M 1843 922 h -409 v 1024 h -820 v -1024 h -409 l 819 -820 m 307 717 h 265 l -572 -572 l -572 572 h 265 v 1024 h 614 z"\n ></path>\n</svg>',DownArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 205 1126 h 409 v -1024 h 820 v 1024 h 409 l -819 820 m -307 -717 h -265 l 572 572 l 572 -572 h -265 v -1024 h -614 z"\n ></path>\n <path\n type="path"\n d="M 666 1178 v -1024 h 716 v 1024 h 338 l -696 695 l -696 -695 z"\n ></path>\n <path\n type="path"\n d="M 205 1126 h 409 v -1024 h 820 v 1024 h 409 l -819 820 m -307 -717 h -265 l 572 572 l 572 -572 h -265 v -1024 h -614 z"\n ></path>\n</svg>',LeftRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1331 1638 v -307 h -614 v 307 l -615 -614 l 615 -614 v 307 h 614 v -307 l 615 614 m -512 205 v 162 l 367 -367 l -367 -367 v 162 h -820 v -162 l -367 367 l 367 367 v -162 z"\n ></path>\n <path\n type="path"\n d="M 1382 1280 h -716 v 235 l -491 -491 l 491 -491 v 235 h 716 v -235 l 491 491 l -491 491 z"\n ></path>\n <path\n type="path"\n d="M 1331 1638 v -307 h -614 v 307 l -615 -614 l 615 -614 v 307 h 614 v -307 l 615 614 m -512 205 v 162 l 367 -367 l -367 -367 v 162 h -820 v -162 l -367 367 l 367 367 v -162 z"\n ></path>\n</svg>',UpDownArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 410 1331 h 307 v -614 h -307 l 614 -615 l 614 615 h -307 v 614 h 307 l -614 615 m -205 -512 h -162 l 367 367 l 367 -367 h -162 v -820 h 162 l -367 -367 l -367 367 h 162 z"\n ></path>\n <path\n type="path"\n d="M 768 1382 v -716 h -235 l 491 -491 l 491 491 h -235 v 716 h 235 l -491 491 l -491 -491 z"\n ></path>\n <path\n type="path"\n d="M 410 1331 h 307 v -614 h -307 l 614 -615 l 614 615 h -307 v 614 h 307 l -614 615 m -205 -512 h -162 l 367 367 l 367 -367 h -162 v -820 h 162 l -367 -367 l -367 367 h 162 z"\n ></path>\n</svg>',QuadArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1434 v -205 h -307 v 307 h 205 l -410 410 l -410 -410 h 205 v -307 h -307 v 205 l -410 -410 l 410 -410 v 205 h 307 v -307 h -205 l 410 -410 l 410 410 h -205 v 307 h 307 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -512 v -512 h 60 l -162 -163 l -162 163 h 60 v 512 h -512 v -60 l -163 162 l 163 162 v -60 h 512 v 512 h -60 l 162 163 l 162 -163 h -60 v -512 z"\n ></path>\n <path\n type="path"\n d="M 738 1587 h 132 v -409 h -409 v 132 l -286 -286 l 286 -286 v 132 h 409 v -409 h -132 l 286 -286 l 286 286 h -132 v 409 h 409 v -132 l 286 286 l -286 286 v -132 h -409 v 409 h 132 l -286 286 z"\n ></path>\n <path\n type="path"\n d="M 1536 1434 v -205 h -307 v 307 h 205 l -410 410 l -410 -410 h 205 v -307 h -307 v 205 l -410 -410 l 410 -410 v 205 h 307 v -307 h -205 l 410 -410 l 410 410 h -205 v 307 h 307 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -512 v -512 h 60 l -162 -163 l -162 163 h 60 v 512 h -512 v -60 l -163 162 l 163 162 v -60 h 512 v 512 h -60 l 162 163 l 162 -163 h -60 v -512 z"\n ></path>\n</svg>',LeftRightUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1741 v -205 h -1024 v 205 l -410 -410 l 410 -409 v 204 h 307 v -512 h -205 l 410 -409 l 410 409 h -205 v 512 h 307 v -204 l 410 409 m -308 103 v 60 l 163 -163 l -163 -162 v 60 h -512 v -717 h 60 l -162 -162 l -162 162 h 60 v 717 h -512 v -60 l -163 162 l 163 163 v -60 z"\n ></path>\n <path\n type="path"\n d="M 461 1485 v 132 l -286 -286 l 286 -286 v 133 h 409 v -615 h -132 l 286 -286 l 286 286 h -132 v 615 h 409 v -133 l 286 286 l -286 286 v -132 z"\n ></path>\n <path\n type="path"\n d="M 1536 1741 v -205 h -1024 v 205 l -410 -410 l 410 -409 v 204 h 307 v -512 h -205 l 410 -409 l 410 409 h -205 v 512 h 307 v -204 l 410 409 m -308 103 v 60 l 163 -163 l -163 -162 v 60 h -512 v -717 h 60 l -162 -162 l -162 162 h 60 v 717 h -512 v -60 l -163 162 l 163 163 v -60 z"\n ></path>\n</svg>',BentArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 1126 v -307 h -717 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 922 h -410 v -1178 q 0 -74 29 -139 q 28 -65 77 -114 q 48 -49 114 -77 q 65 -28 139 -28 h 973 v -308 l 512 512 m -410 103 v 162 l 265 -265 l -265 -264 v 162 h -1075 q -53 0 -99 20 q -47 20 -82 55 q -35 35 -55 81 q -20 47 -20 100 v 1075 h 205 v -819 q 0 -63 24 -119 q 24 -56 66 -98 q 41 -42 97 -66 q 56 -24 120 -24 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1126 q 0 -63 24 -119 q 24 -56 66 -98 q 41 -42 97 -66 q 56 -24 120 -24 h 1024 v -235 l 388 388 l -388 389 v -235 h -768 q -53 0 -99 20 q -47 20 -82 55 q -35 35 -55 81 q -20 47 -20 100 v 870 z"\n ></path>\n <path\n type="path"\n d="M 1434 1126 v -307 h -717 q -42 0 -79 16 q -38 16 -66 44 q -28 28 -44 65 q -16 38 -16 80 v 922 h -410 v -1178 q 0 -74 29 -139 q 28 -65 77 -114 q 48 -49 114 -77 q 65 -28 139 -28 h 973 v -308 l 512 512 m -410 103 v 162 l 265 -265 l -265 -264 v 162 h -1075 q -53 0 -99 20 q -47 20 -82 55 q -35 35 -55 81 q -20 47 -20 100 v 1075 h 205 v -819 q 0 -63 24 -119 q 24 -56 66 -98 q 41 -42 97 -66 q 56 -24 120 -24 z"\n ></path>\n</svg>',UTurnArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1126 l -512 512 l -512 -512 h 307 v -307 q 0 -63 -24 -119 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 119 v 1127 h -410 v -1127 q 0 -98 26 -190 q 26 -91 73 -171 q 46 -80 112 -146 q 65 -65 145 -112 q 80 -46 171 -72 q 91 -26 190 -26 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 146 q 47 80 73 171 q 25 92 25 190 v 307 m -204 368 l 264 -265 h -162 v -410 q 0 -127 -48 -239 q -49 -112 -132 -195 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -85 0 -163 22 q -79 22 -147 62 q -68 40 -124 96 q -56 56 -96 124 q -40 68 -62 146 q -22 79 -22 164 v 1024 h 205 v -1024 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -87 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 32 130 87 q 55 56 88 130 q 32 75 32 160 v 410 h -162 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1075 q 0 -92 24 -177 q 24 -85 67 -159 q 43 -73 104 -134 q 61 -61 135 -104 q 73 -43 158 -67 q 85 -24 177 -24 h 103 q 92 0 177 24 q 85 24 159 67 q 73 43 134 104 q 61 61 104 134 q 43 74 67 159 q 24 85 24 177 v 359 h 235 l -388 388 l -389 -388 h 235 v -359 q 0 -74 -28 -139 q -28 -65 -77 -114 q -49 -49 -114 -77 q -65 -28 -139 -28 h -103 q -74 0 -139 28 q -65 28 -114 77 q -49 49 -77 114 q -28 65 -28 139 v 1075 z"\n ></path>\n <path\n type="path"\n d="M 1946 1126 l -512 512 l -512 -512 h 307 v -307 q 0 -63 -24 -119 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 119 v 1127 h -410 v -1127 q 0 -98 26 -190 q 26 -91 73 -171 q 46 -80 112 -146 q 65 -65 145 -112 q 80 -46 171 -72 q 91 -26 190 -26 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 146 q 47 80 73 171 q 25 92 25 190 v 307 m -204 368 l 264 -265 h -162 v -410 q 0 -127 -48 -239 q -49 -112 -132 -195 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -85 0 -163 22 q -79 22 -147 62 q -68 40 -124 96 q -56 56 -96 124 q -40 68 -62 146 q -22 79 -22 164 v 1024 h 205 v -1024 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -87 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 32 130 87 q 55 56 88 130 q 32 75 32 160 v 410 h -162 z"\n ></path>\n</svg>',LeftUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 614 h -308 v 1024 h -1024 v 308 l -512 -512 l 512 -512 v 307 h 615 v -615 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 819 h -819 v -162 l -265 265 l 265 264 v -162 h 1024 v -1024 z"\n ></path>\n <path\n type="path"\n d="M 175 1434 l 388 -389 v 235 h 717 v -717 h -235 l 389 -388 l 388 388 h -235 v 1024 h -1024 v 235 z"\n ></path>\n <path\n type="path"\n d="M 1946 614 h -308 v 1024 h -1024 v 308 l -512 -512 l 512 -512 v 307 h 615 v -615 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 819 h -819 v -162 l -265 265 l 265 264 v -162 h 1024 v -1024 z"\n ></path>\n</svg>',BentUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 614 h -308 v 1332 h -1536 v -410 h 1127 v -922 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 1126 h -1126 v 205 h 1331 v -1331 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -307 h 1126 v -1024 h -235 l 389 -388 l 388 388 h -235 v 1331 z"\n ></path>\n <path\n type="path"\n d="M 1946 614 h -308 v 1332 h -1536 v -410 h 1127 v -922 h -307 l 512 -512 m 264 410 l -264 -265 l -265 265 h 162 v 1126 h -1126 v 205 h 1331 v -1331 z"\n ></path>\n</svg>',CurvedRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1229 1946 v -308 h -154 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -155 q -50 -85 -77 -184 q -28 -98 -28 -204 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 h 256 v 410 h -256 q -103 0 -197 30 q -95 30 -174 83 q -80 54 -142 128 q -62 75 -100 164 q 44 70 104 127 q 60 58 132 99 q 72 41 155 63 q 82 23 171 23 h 205 v -307 l 512 512 m -666 -1229 q -85 0 -163 20 q -79 21 -149 58 q -70 37 -129 89 q -59 53 -104 117 q -46 65 -75 139 q -30 75 -40 157 q 51 -87 123 -156 q 71 -69 156 -118 q 85 -49 182 -75 q 97 -26 199 -26 h 154 v -205 m 102 1331 v 162 l 265 -264 l -265 -265 v 162 h -307 q -86 0 -168 -19 q -83 -18 -158 -54 q -75 -35 -141 -87 q -67 -51 -122 -117 q 30 104 91 192 q 61 89 145 153 q 84 65 187 101 q 103 36 217 36 z"\n ></path>\n <path\n type="path"\n d="M 1280 1587 h -205 q -99 0 -190 -26 q -92 -25 -171 -72 q -80 -47 -145 -112 q -66 -65 -113 -145 q -47 -80 -72 -172 q -26 -91 -26 -190 q 0 -99 26 -191 q 25 -91 72 -171 q 47 -79 113 -145 q 65 -65 145 -112 q 79 -46 171 -72 q 91 -25 190 -25 h 205 v 307 h -205 q -108 0 -208 31 q -101 31 -187 88 q -87 57 -155 137 q -68 81 -110 180 l -10 25 l 14 23 q 50 79 116 141 q 66 62 144 105 q 78 43 166 66 q 87 23 179 23 h 256 v -235 l 388 389 l -388 388 z"\n ></path>\n <path\n type="path"\n d="M 1229 1946 v -308 h -154 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -155 q -50 -85 -77 -184 q -28 -98 -28 -204 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 h 256 v 410 h -256 q -103 0 -197 30 q -95 30 -174 83 q -80 54 -142 128 q -62 75 -100 164 q 44 70 104 127 q 60 58 132 99 q 72 41 155 63 q 82 23 171 23 h 205 v -307 l 512 512 m -666 -1229 q -85 0 -163 20 q -79 21 -149 58 q -70 37 -129 89 q -59 53 -104 117 q -46 65 -75 139 q -30 75 -40 157 q 51 -87 123 -156 q 71 -69 156 -118 q 85 -49 182 -75 q 97 -26 199 -26 h 154 v -205 m 102 1331 v 162 l 265 -264 l -265 -265 v 162 h -307 q -86 0 -168 -19 q -83 -18 -158 -54 q -75 -35 -141 -87 q -67 -51 -122 -117 q 30 104 91 192 q 61 89 145 153 q 84 65 187 101 q 103 36 217 36 z"\n ></path>\n</svg>',CurvedLeftArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 307 1434 l 512 -512 v 307 h 205 q 89 0 172 -23 q 82 -22 154 -63 q 72 -41 132 -99 q 60 -57 104 -127 q -38 -89 -100 -164 q -62 -74 -141 -128 q -80 -53 -174 -83 q -95 -30 -198 -30 h -256 v -410 h 256 q 106 0 204 27 q 98 28 184 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 q 0 106 -27 204 q -28 99 -78 184 q -50 85 -120 155 q -70 70 -155 120 q -86 50 -184 77 q -98 28 -204 28 h -154 v 308 m 814 -1161 q -11 -82 -40 -157 q -29 -74 -74 -139 q -46 -64 -105 -117 q -59 -52 -129 -89 q -70 -37 -149 -58 q -79 -20 -163 -20 h -154 v 205 h 154 q 102 0 199 26 q 97 26 182 75 q 85 49 157 118 q 71 69 122 156 m -660 751 q 114 0 217 -36 q 103 -36 187 -101 q 84 -64 145 -153 q 61 -88 91 -192 q -55 66 -121 117 q -67 52 -142 87 q -75 36 -157 54 q -83 19 -169 19 h -307 v -162 l -265 265 l 265 264 v -162 z"\n ></path>\n <path\n type="path"\n d="M 768 1822 l -388 -388 l 388 -389 v 235 h 256 q 92 0 180 -23 q 87 -23 165 -66 q 78 -43 144 -105 q 66 -62 116 -141 l 14 -23 l -10 -25 q -42 -99 -110 -180 q -68 -80 -154 -137 q -87 -57 -187 -88 q -101 -31 -209 -31 h -205 v -307 h 205 q 99 0 191 25 q 91 26 171 72 q 79 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 q 0 99 -25 190 q -26 92 -73 172 q -47 80 -112 145 q -66 65 -145 112 q -80 47 -171 72 q -92 26 -191 26 h -205 z"\n ></path>\n <path\n type="path"\n d="M 307 1434 l 512 -512 v 307 h 205 q 89 0 172 -23 q 82 -22 154 -63 q 72 -41 132 -99 q 60 -57 104 -127 q -38 -89 -100 -164 q -62 -74 -141 -128 q -80 -53 -174 -83 q -95 -30 -198 -30 h -256 v -410 h 256 q 106 0 204 27 q 98 28 184 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 q 0 106 -27 204 q -28 99 -78 184 q -50 85 -120 155 q -70 70 -155 120 q -86 50 -184 77 q -98 28 -204 28 h -154 v 308 m 814 -1161 q -11 -82 -40 -157 q -29 -74 -74 -139 q -46 -64 -105 -117 q -59 -52 -129 -89 q -70 -37 -149 -58 q -79 -20 -163 -20 h -154 v 205 h 154 q 102 0 199 26 q 97 26 182 75 q 85 49 157 118 q 71 69 122 156 m -660 751 q 114 0 217 -36 q 103 -36 187 -101 q 84 -64 145 -153 q 61 -88 91 -192 q -55 66 -121 117 q -67 52 -142 87 q -75 36 -157 54 q -83 19 -169 19 h -307 v -162 l -265 265 l 265 264 v -162 z"\n ></path>\n</svg>',CurvedUpArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 819 h -308 v 154 q 0 106 -27 204 q -28 98 -78 183 q -50 86 -120 156 q -70 70 -155 120 q -85 50 -183 77 q -99 28 -205 28 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -156 q -50 -85 -77 -183 q -28 -98 -28 -204 v -256 h 410 v 256 q 0 103 30 197 q 30 95 84 174 q 53 80 128 142 q 74 62 163 100 q 70 -44 128 -104 q 57 -60 98 -132 q 41 -72 64 -155 q 22 -82 22 -171 v -205 h -307 l 512 -512 m -1229 666 q 0 85 21 163 q 20 79 57 149 q 37 70 90 129 q 52 59 117 104 q 64 46 139 75 q 74 30 156 40 q -87 -51 -156 -123 q -69 -71 -118 -156 q -49 -85 -75 -182 q -26 -97 -26 -199 v -154 h -205 m 1331 -102 h 162 l -264 -265 l -265 265 h 162 v 307 q 0 86 -18 168 q -19 83 -54 158 q -36 75 -87 141 q -52 67 -118 122 q 104 -30 193 -91 q 88 -61 153 -145 q 64 -84 100 -187 q 36 -103 36 -217 z"\n ></path>\n <path\n type="path"\n d="M 1587 768 v 205 q 0 99 -25 190 q -26 92 -73 171 q -47 80 -112 145 q -65 66 -145 113 q -80 47 -171 72 q -92 26 -191 26 q -99 0 -190 -26 q -92 -25 -171 -72 q -80 -47 -145 -113 q -66 -65 -112 -145 q -47 -79 -72 -171 q -26 -91 -26 -190 v -205 h 307 v 205 q 0 108 31 208 q 31 101 88 187 q 57 87 138 155 q 80 68 179 110 l 25 10 l 23 -14 q 79 -50 141 -116 q 62 -66 105 -144 q 43 -78 66 -166 q 23 -87 23 -179 v -256 h -235 l 389 -388 l 388 388 z"\n ></path>\n <path\n type="path"\n d="M 1946 819 h -308 v 154 q 0 106 -27 204 q -28 98 -78 183 q -50 86 -120 156 q -70 70 -155 120 q -85 50 -183 77 q -99 28 -205 28 q -106 0 -204 -28 q -98 -27 -183 -77 q -86 -50 -156 -120 q -70 -70 -120 -156 q -50 -85 -77 -183 q -28 -98 -28 -204 v -256 h 410 v 256 q 0 103 30 197 q 30 95 84 174 q 53 80 128 142 q 74 62 163 100 q 70 -44 128 -104 q 57 -60 98 -132 q 41 -72 64 -155 q 22 -82 22 -171 v -205 h -307 l 512 -512 m -1229 666 q 0 85 21 163 q 20 79 57 149 q 37 70 90 129 q 52 59 117 104 q 64 46 139 75 q 74 30 156 40 q -87 -51 -156 -123 q -69 -71 -118 -156 q -49 -85 -75 -182 q -26 -97 -26 -199 v -154 h -205 m 1331 -102 h 162 l -264 -265 l -265 265 h 162 v 307 q 0 86 -18 168 q -19 83 -54 158 q -36 75 -87 141 q -52 67 -118 122 q 104 -30 193 -91 q 88 -61 153 -145 q 64 -84 100 -187 q 36 -103 36 -217 z"\n ></path>\n</svg>',CurvedDownArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 1741 l -512 -512 h 307 v -205 q 0 -89 -22 -172 q -23 -82 -64 -154 q -41 -72 -98 -132 q -58 -60 -128 -104 q -89 38 -163 100 q -75 62 -128 141 q -54 80 -84 174 q -30 95 -30 198 v 256 h -410 v -256 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 q 106 0 205 27 q 98 28 183 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 v 154 h 308 m -1161 -814 q -82 11 -156 40 q -75 29 -139 74 q -65 46 -117 105 q -53 59 -90 129 q -37 70 -57 149 q -21 79 -21 163 v 154 h 205 v -154 q 0 -102 26 -199 q 26 -97 75 -182 q 49 -85 118 -157 q 69 -71 156 -122 m 751 660 q 0 -114 -36 -217 q -36 -103 -100 -187 q -65 -84 -153 -145 q -89 -61 -193 -91 q 66 55 118 121 q 51 67 87 142 q 35 75 54 157 q 18 83 18 169 v 307 h -162 l 265 265 l 264 -265 h -162 z"\n ></path>\n <path\n type="path"\n d="M 1822 1280 l -388 388 l -389 -388 h 235 v -256 q 0 -92 -23 -180 q -23 -87 -66 -165 q -43 -78 -105 -144 q -62 -66 -141 -116 l -23 -14 l -25 10 q -99 42 -179 110 q -81 68 -138 154 q -57 87 -88 187 q -31 101 -31 209 v 205 h -307 v -205 q 0 -99 26 -191 q 25 -91 72 -171 q 46 -79 112 -145 q 65 -65 145 -112 q 79 -47 171 -73 q 91 -25 190 -25 q 99 0 191 25 q 91 26 171 73 q 80 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 v 205 z"\n ></path>\n <path\n type="path"\n d="M 1434 1741 l -512 -512 h 307 v -205 q 0 -89 -22 -172 q -23 -82 -64 -154 q -41 -72 -98 -132 q -58 -60 -128 -104 q -89 38 -163 100 q -75 62 -128 141 q -54 80 -84 174 q -30 95 -30 198 v 256 h -410 v -256 q 0 -106 28 -204 q 27 -98 77 -184 q 50 -85 120 -155 q 70 -70 156 -120 q 85 -50 183 -78 q 98 -27 204 -27 q 106 0 205 27 q 98 28 183 78 q 85 50 155 120 q 70 70 120 155 q 50 86 78 184 q 27 98 27 204 v 154 h 308 m -1161 -814 q -82 11 -156 40 q -75 29 -139 74 q -65 46 -117 105 q -53 59 -90 129 q -37 70 -57 149 q -21 79 -21 163 v 154 h 205 v -154 q 0 -102 26 -199 q 26 -97 75 -182 q 49 -85 118 -157 q 69 -71 156 -122 m 751 660 q 0 -114 -36 -217 q -36 -103 -100 -187 q -65 -84 -153 -145 q -89 -61 -193 -91 q 66 55 118 121 q 51 67 87 142 q 35 75 54 157 q 18 83 18 169 v 307 h -162 l 265 265 l 264 -265 h -162 z"\n ></path>\n</svg>',StripedRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 614 h 103 v 820 h -103 m 205 -820 h 103 v 820 h -103 m 819 409 v -409 h -614 v -820 h 614 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -615 v 614 z"\n ></path>\n <path\n type="path"\n d="M 1178 1382 h -615 v -716 h 615 v -338 l 695 696 l -695 696 z"\n ></path>\n <path\n type="path"\n d="M 102 614 h 103 v 820 h -103 m 205 -820 h 103 v 820 h -103 m 819 409 v -409 h -614 v -820 h 614 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -615 v 614 z"\n ></path>\n</svg>',NotchedRightArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 l 512 -410 l -512 -410 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -835 l 384 307 l -384 307 z"\n ></path>\n <path\n type="path"\n d="M 1178 1382 h -930 l 448 -358 l -448 -358 h 930 v -338 l 695 696 l -695 696 z"\n ></path>\n <path\n type="path"\n d="M 1126 1843 v -409 h -1024 l 512 -410 l -512 -410 h 1024 v -409 l 820 819 m -717 307 v 265 l 572 -572 l -572 -572 v 265 h -835 l 384 307 l -384 307 z"\n ></path>\n</svg>',Pentagon:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 v -1536 h 1076 m 623 768 l -666 -666 h -930 v 1331 h 930 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1434 h 1002 l 717 717 l -717 717 z"\n ></path>\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 v -1536 h 1076 m 623 768 l -666 -666 h -930 v 1331 h 930 z"\n ></path>\n</svg>',Chevron:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 l 768 -768 l -768 -768 h 1076 m 623 768 l -666 -666 h -785 l 665 666 l -665 665 h 785 z"\n ></path>\n <path\n type="path"\n d="M 226 1690 l 717 -717 l -717 -717 h 930 l 717 717 l -717 717 z"\n ></path>\n <path\n type="path"\n d="M 1946 973 l -768 768 h -1076 l 768 -768 l -768 -768 h 1076 m 623 768 l -666 -666 h -785 l 665 666 l -665 665 h 785 z"\n ></path>\n</svg>',RightArrowCallout:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 1536 v -307 h -205 v 717 h -1127 v -1844 h 1127 v 717 h 205 v -307 l 512 512 m -410 102 v 163 l 265 -265 l -265 -265 v 163 h -410 v -717 h -921 v 1638 h 921 v -717 z"\n ></path>\n <path\n type="path"\n d="M 154 154 h 1024 v 716 h 307 v -234 l 388 388 l -388 388 v -234 h -307 v 716 h -1024 z"\n ></path>\n <path\n type="path"\n d="M 1434 1536 v -307 h -205 v 717 h -1127 v -1844 h 1127 v 717 h 205 v -307 l 512 512 m -410 102 v 163 l 265 -265 l -265 -265 v 163 h -410 v -717 h -921 v 1638 h 921 v -717 z"\n ></path>\n</svg>',LeftRightArrowCallout:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 717 h -820 v -717 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -717 h 820 v 717 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -717 h -614 v 717 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 717 h 614 v -717 z"\n ></path>\n <path\n type="path"\n d="M 666 1894 v -716 h -205 v 132 l -286 -286 l 286 -286 v 132 h 205 v -716 h 716 v 716 h 205 v -132 l 286 286 l -286 286 v -132 h -205 v 716 z"\n ></path>\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 717 h -820 v -717 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -717 h 820 v 717 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -717 h -614 v 717 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 717 h 614 v -717 z"\n ></path>\n</svg>',QuadArrowCallout:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 205 h -205 v 102 h 205 l -410 410 l -410 -410 h 205 v -102 h -205 v -205 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -205 h 205 v -102 h -205 l 410 -410 l 410 410 h -205 v 102 h 205 v 205 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -205 h -205 v -307 h 60 l -162 -163 l -162 163 h 60 v 307 h -205 v 205 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 205 h 205 v 307 h -60 l 162 163 l 162 -163 h -60 v -307 h 205 v -205 z"\n ></path>\n <path\n type="path"\n d="M 738 1587 h 132 v -205 h -204 v -204 h -205 v 132 l -286 -286 l 286 -286 v 132 h 205 v -204 h 204 v -205 h -132 l 286 -286 l 286 286 h -132 v 205 h 204 v 204 h 205 v -132 l 286 286 l -286 286 v -132 h -205 v 204 h -204 v 205 h 132 l -286 286 z"\n ></path>\n <path\n type="path"\n d="M 1536 1434 v -205 h -102 v 205 h -205 v 102 h 205 l -410 410 l -410 -410 h 205 v -102 h -205 v -205 h -102 v 205 l -410 -410 l 410 -410 v 205 h 102 v -205 h 205 v -102 h -205 l 410 -410 l 410 410 h -205 v 102 h 205 v 205 h 102 v -205 l 410 410 m -308 102 v 60 l 163 -162 l -163 -162 v 60 h -307 v -205 h -205 v -307 h 60 l -162 -163 l -162 163 h 60 v 307 h -205 v 205 h -307 v -60 l -163 162 l 163 162 v -60 h 307 v 205 h 205 v 307 h -60 l 162 163 l 162 -163 h -60 v -307 h 205 v -205 z"\n ></path>\n</svg>',CircularArrow:'<svg\n\n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1331 l -512 512 l -512 -512 h 307 v -409 q 0 -64 -24 -120 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 120 v 716 h -410 v -716 q 0 -99 26 -191 q 26 -91 73 -171 q 46 -79 112 -145 q 65 -65 145 -112 q 80 -47 171 -73 q 91 -25 190 -25 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 v 409 m -204 367 l 264 -264 h -162 v -512 q 0 -127 -48 -239 q -49 -112 -132 -196 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -127 0 -239 48 q -112 49 -195 132 q -83 84 -131 196 q -49 112 -49 239 v 614 h 205 v -614 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -88 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 33 130 88 q 55 56 88 130 q 32 75 32 160 v 512 h -162 z"\n ></path>\n <path\n type="path"\n d="M 1045 1382 h 235 v -460 q 0 -74 -28 -140 q -28 -65 -77 -114 q -49 -48 -114 -77 q -65 -28 -139 -28 h -103 q -74 0 -139 28 q -65 29 -114 77 q -49 49 -77 114 q -28 66 -28 140 v 665 h -307 v -665 q 0 -92 24 -177 q 24 -85 67 -159 q 43 -74 104 -135 q 61 -60 135 -104 q 73 -43 158 -67 q 85 -24 177 -24 h 103 q 92 0 177 24 q 85 24 159 67 q 73 44 134 104 q 61 61 104 135 q 43 74 67 159 q 24 85 24 177 v 460 h 235 l -388 389 z"\n ></path>\n <path\n type="path"\n d="M 1946 1331 l -512 512 l -512 -512 h 307 v -409 q 0 -64 -24 -120 q -24 -56 -66 -98 q -42 -42 -98 -66 q -56 -24 -119 -24 h -103 q -63 0 -119 24 q -56 24 -98 66 q -42 42 -66 98 q -24 56 -24 120 v 716 h -410 v -716 q 0 -99 26 -191 q 26 -91 73 -171 q 46 -79 112 -145 q 65 -65 145 -112 q 80 -47 171 -73 q 91 -25 190 -25 h 103 q 98 0 190 25 q 91 26 171 73 q 79 47 145 112 q 65 66 112 145 q 47 80 73 171 q 25 92 25 191 v 409 m -204 367 l 264 -264 h -162 v -512 q 0 -127 -48 -239 q -49 -112 -132 -196 q -84 -83 -195 -132 q -112 -48 -239 -48 h -103 q -127 0 -239 48 q -112 49 -195 132 q -83 84 -131 196 q -49 112 -49 239 v 614 h 205 v -614 q 0 -85 32 -160 q 32 -74 88 -130 q 55 -55 130 -88 q 74 -32 159 -32 h 103 q 84 0 159 32 q 74 33 130 88 q 55 56 88 130 q 32 75 32 160 v 512 h -162 z"\n ></path>\n</svg>'},Wr={MathPlus:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 717 v 614 h -615 v 615 h -614 v -615 h -615 v -614 h 615 v -615 h 614 v 615 m 512 102 h -614 v -614 h -410 v 614 h -614 v 410 h 614 v 614 h 410 v -614 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1894 1280 h -614 v 614 h -512 v -614 h -614 v -512 h 614 v -614 h 512 v 614 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1946 717 v 614 h -615 v 615 h -614 v -615 h -615 v -614 h 615 v -615 h 614 v 615 m 512 102 h -614 v -614 h -410 v 614 h -614 v 410 h 614 v 614 h 410 v -614 h 614 z"\n ></path></svg>',MathMinus:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 717 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 768 h 1740 v 512 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 717 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path></svg>',MathMultiply:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1843 1409 l -434 434 l -435 -434 l -434 434 l -435 -434 l 435 -435 l -435 -434 l 435 -435 l 434 435 l 435 -435 l 434 435 l -434 434 m 289 435 l -434 -435 l 434 -434 l -289 -290 l -435 435 l -434 -435 l -290 290 l 435 434 l -435 435 l 290 289 l 434 -434 l 435 434 z"\n ></path>\n <path\n type="path"\n d="M 1409 1771 l -435 -435 l -434 435 l -362 -362 l 434 -435 l -434 -434 l 362 -362 l 434 434 l 435 -434 l 362 362 l -435 434 l 435 435 z"\n ></path>\n <path\n type="path"\n d="M 1843 1409 l -434 434 l -435 -434 l -434 434 l -435 -434 l 435 -435 l -435 -434 l 435 -435 l 434 435 l 435 -435 l 434 435 l -434 434 m 289 435 l -434 -435 l 434 -434 l -289 -290 l -435 435 l -434 -435 l -290 290 l 435 434 l -435 435 l 290 289 l 434 -434 l 435 434 z"\n ></path></svg>',MathDivision:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 1434 q 42 0 80 16 q 37 16 65 43 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 66 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -28 -44 -66 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -27 66 -43 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -19 8 -40 q 0 -21 -8 -40 q -8 -18 -21 -32 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 32 q -8 19 -8 40 q 0 21 8 40 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 0 -1536 q 42 0 80 16 q 37 16 65 44 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 65 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -27 -44 -65 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -28 66 -44 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -18 8 -39 q 0 -21 -8 -40 q -8 -19 -21 -33 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 33 q -8 19 -8 40 q 0 21 8 39 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 922 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 1024 1792 q -32 0 -60 -12 q -28 -12 -49 -33 q -21 -21 -33 -49 q -12 -28 -12 -60 q 0 -31 12 -59 q 12 -28 33 -49 q 21 -21 49 -33 q 28 -12 60 -12 q 32 0 60 12 q 28 12 49 33 q 21 21 33 49 q 12 28 12 59 q 0 32 -12 60 q -12 28 -33 49 q -21 21 -49 33 q -28 12 -60 12 m 0 -1229 q -32 0 -60 -12 q -28 -12 -49 -33 q -21 -21 -33 -49 q -12 -27 -12 -59 q 0 -32 12 -60 q 12 -28 33 -49 q 21 -21 49 -33 q 28 -12 60 -12 q 32 0 60 12 q 28 12 49 33 q 21 21 33 49 q 12 28 12 60 q 0 32 -12 59 q -12 28 -33 49 q -21 21 -49 33 q -28 12 -60 12 m -870 205 h 1740 v 512 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1024 1434 q 42 0 80 16 q 37 16 65 43 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 66 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -28 -44 -66 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -27 66 -43 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -19 8 -40 q 0 -21 -8 -40 q -8 -18 -21 -32 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 32 q -8 19 -8 40 q 0 21 8 40 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 0 -1536 q 42 0 80 16 q 37 16 65 44 q 28 28 44 65 q 16 38 16 80 q 0 42 -16 79 q -16 38 -44 65 q -28 28 -65 44 q -38 16 -80 16 q -42 0 -79 -16 q -38 -16 -66 -44 q -28 -27 -44 -65 q -16 -37 -16 -79 q 0 -42 16 -80 q 16 -37 44 -65 q 28 -28 66 -44 q 37 -16 79 -16 m 0 307 q 21 0 40 -8 q 19 -8 33 -22 q 13 -14 21 -33 q 8 -18 8 -39 q 0 -21 -8 -40 q -8 -19 -21 -33 q -14 -14 -33 -22 q -19 -8 -40 -8 q -21 0 -40 8 q -19 8 -32 22 q -14 14 -22 33 q -8 19 -8 40 q 0 21 8 39 q 8 19 22 33 q 13 14 32 22 q 19 8 40 8 m 922 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path></svg>',MathEqual:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 v 615 h -1844 v -615 m 1741 103 h -1638 v 409 h 1638 m 103 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 358 h 1740 v 512 h -1740 m 0 205 h 1740 v 512 h -1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 615 h -1844 v -615 m 1741 103 h -1638 v 409 h 1638 m 103 205 v 614 h -1844 v -614 m 1741 102 h -1638 v 410 h 1638 z"\n ></path></svg>',MathNotEqual:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1809 307 h 137 v 615 h -547 l -68 102 h 615 v 614 h -1024 l -205 308 h -512 l 205 -308 h -308 v -614 h 717 l 68 -102 h -785 v -615 h 1195 l 137 -205 h 512 m -990 717 l 273 -409 h -1024 v 409 m 273 717 l 273 -410 h -546 v 410 m 1549 -1331 h -266 l -1092 1638 h 266 m 601 -717 l -273 410 h 853 v -410 m -102 -716 l -273 409 h 375 v -409 z"\n ></path>\n <path\n type="path"\n d="M 1372 870 l -136 205 h 658 v 512 h -1000 l -205 307 h -389 l 205 -307 h -351 v -512 h 693 l 136 -205 h -829 v -512 h 1170 l 137 -204 h 389 l -137 204 h 181 v 512 z"\n ></path>\n <path\n type="path"\n d="M 1809 307 h 137 v 615 h -547 l -68 102 h 615 v 614 h -1024 l -205 308 h -512 l 205 -308 h -308 v -614 h 717 l 68 -102 h -785 v -615 h 1195 l 137 -205 h 512 m -990 717 l 273 -409 h -1024 v 409 m 273 717 l 273 -410 h -546 v 410 m 1549 -1331 h -266 l -1092 1638 h 266 m 601 -717 l -273 410 h 853 v -410 m -102 -716 l -273 409 h 375 v -409 z"\n ></path></svg>'},Yr={FlowChartProcess:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -1332 h 1740 v 1332 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -1434 m 1741 103 h -1638 v 1228 h 1638 z"\n ></path></svg>',FlowChartAlternateProcess:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path>\n <path\n type="path"\n d="M 456 1690 q -62 0 -117 -24 q -55 -24 -96 -65 q -41 -41 -65 -96 q -24 -55 -24 -118 v -726 q 0 -63 24 -118 q 24 -55 65 -96 q 41 -41 96 -65 q 55 -24 117 -24 h 1136 q 62 0 117 24 q 55 24 96 65 q 41 41 65 96 q 24 55 24 118 v 726 q 0 63 -24 118 q -24 55 -65 96 q -41 41 -96 65 q -55 24 -117 24 z"\n ></path>\n <path\n type="path"\n d="M 1592 307 q 73 0 138 28 q 64 28 112 76 q 48 48 76 112 q 28 65 28 138 v 726 q 0 73 -28 137 q -28 65 -76 113 q -48 48 -112 76 q -65 28 -138 28 h -1136 q -73 0 -137 -28 q -65 -28 -113 -76 q -48 -48 -76 -113 q -28 -64 -28 -137 v -726 q 0 -73 28 -138 q 28 -64 76 -112 q 48 -48 113 -76 q 64 -28 137 -28 m 1387 354 q 0 -52 -20 -98 q -20 -45 -54 -79 q -34 -34 -79 -54 q -46 -20 -98 -20 h -1136 q -52 0 -97 20 q -46 20 -80 54 q -34 34 -54 79 q -20 46 -20 98 v 726 q 0 52 20 97 q 20 46 54 80 q 34 34 80 54 q 45 20 97 20 h 1136 q 52 0 98 -20 q 45 -20 79 -54 q 34 -34 54 -80 q 20 -45 20 -97 z"\n ></path></svg>',FlowChartDecision:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 l -922 614 l -922 -614 l 922 -614 m 0 1105 l 737 -491 l -737 -491 l -737 491 z"\n ></path>\n <path\n type="path"\n d="M 195 1024 l 829 -553 l 829 553 l -829 553 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 l -922 614 l -922 -614 l 922 -614 m 0 1105 l 737 -491 l -737 -491 l -737 491 z"\n ></path></svg>',FlowChartData:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path>\n <path\n type="path"\n d="M 172 1792 l 480 -1536 h 1224 l -480 1536 z"\n ></path>\n <path\n type="path"\n d="M 1946 205 l -512 1638 h -1332 l 512 -1638 m 1192 102 h -1116 l -448 1434 h 1116 z"\n ></path></svg>',FlowChartPredefinedProcess:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 102 h 1844 v 1844 h -1844 m 103 -103 h 205 v -1638 h -205 m 307 1638 h 1024 v -1638 h -1024 m 1331 1638 v -1638 h -205 v 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 1740 v 1740 z"\n ></path>\n <path\n type="path"\n d="M 102 102 h 1844 v 1844 h -1844 m 103 -103 h 205 v -1638 h -205 m 307 1638 h 1024 v -1638 h -1024 m 1331 1638 v -1638 h -205 v 1638 z"\n ></path></svg>',FlowChartInternalStorage:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 103 308 h 205 v -205 h -205 m 205 1638 v -1331 h -205 v 1331 m 1638 -1331 h -1331 v 1331 h 1331 m 0 -1638 h -1331 v 205 h 1331 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 1740 v 1740 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1844 h -1844 v -1844 m 103 308 h 205 v -205 h -205 m 205 1638 v -1331 h -205 v 1331 m 1638 -1331 h -1331 v 1331 h 1331 m 0 -1638 h -1331 v 205 h 1331 z"\n ></path></svg>',FlowChartDocument:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1434 q -8 -1 -19 -2 q -10 -1 -23 -2 q -14 0 -31 0 q -27 0 -63 2 q -36 3 -77 10 q -42 8 -88 20 q -47 13 -96 34 q -36 17 -80 49 q -44 32 -97 71 q -54 39 -117 79 q -64 41 -138 74 q -75 33 -162 54 q -87 21 -187 21 q -61 0 -121 -18 q -61 -17 -119 -46 q -59 -29 -113 -66 q -54 -36 -101 -75 q -111 -90 -212 -205 v -1434 m 1741 103 h -1638 v 1292 q 19 21 53 54 q 33 34 77 72 q 43 39 95 78 q 52 39 108 70 q 56 32 115 52 q 58 20 115 20 q 92 0 172 -20 q 80 -20 149 -52 q 69 -31 129 -70 q 59 -39 111 -77 q 51 -37 96 -70 q 44 -32 84 -50 q 97 -41 183 -57 q 86 -15 151 -17 z"\n ></path>\n <path\n type="path"\n d="M 768 1894 q -66 0 -133 -23 q -67 -23 -130 -60 q -63 -36 -120 -80 q -57 -44 -103 -86 q -47 -41 -80 -76 q -33 -35 -48 -52 v -1363 h 1740 v 1327 q -31 0 -71 2 q -40 2 -86 9 q -47 8 -99 21 q -53 14 -109 38 q -38 18 -82 50 q -44 33 -96 71 q -53 38 -114 77 q -62 40 -134 72 q -72 32 -155 52 q -84 21 -180 21 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1434 q -8 -1 -19 -2 q -10 -1 -23 -2 q -14 0 -31 0 q -27 0 -63 2 q -36 3 -77 10 q -42 8 -88 20 q -47 13 -96 34 q -36 17 -80 49 q -44 32 -97 71 q -54 39 -117 79 q -64 41 -138 74 q -75 33 -162 54 q -87 21 -187 21 q -61 0 -121 -18 q -61 -17 -119 -46 q -59 -29 -113 -66 q -54 -36 -101 -75 q -111 -90 -212 -205 v -1434 m 1741 103 h -1638 v 1292 q 19 21 53 54 q 33 34 77 72 q 43 39 95 78 q 52 39 108 70 q 56 32 115 52 q 58 20 115 20 q 92 0 172 -20 q 80 -20 149 -52 q 69 -31 129 -70 q 59 -39 111 -77 q 51 -37 96 -70 q 44 -32 84 -50 q 97 -41 183 -57 q 86 -15 151 -17 z"\n ></path></svg>',FlowChartMultidocument:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 v 1127 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 205 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 204 q -11 -2 -25 -5 q -12 -2 -30 -4 q -18 -1 -40 -1 q -33 0 -74 5 q -41 5 -89 19 q -56 12 -110 38 q -54 27 -109 60 q -55 33 -111 67 q -57 35 -118 63 q -61 29 -127 47 q -66 19 -140 19 q -44 0 -87 -9 q -44 -9 -84 -23 q -41 -14 -78 -33 q -38 -18 -70 -37 q -76 -45 -142 -103 v -1229 h 205 v -205 h 205 v -205 m 922 512 h -1229 v 1078 q 24 18 63 44 q 38 26 86 50 q 48 24 102 40 q 53 17 107 17 q 55 0 106 -13 q 51 -13 100 -34 q 48 -21 95 -48 q 46 -27 91 -55 q 60 -37 119 -68 q 58 -30 117 -52 q 59 -22 119 -35 q 60 -12 124 -12 m 204 -1116 h -1228 v 102 h 1126 v 818 q 51 -9 102 -9 m 205 -1116 h -1229 v 102 h 1127 v 818 q 51 -9 102 -9 z"\n ></path>\n <path\n type="path"\n d="M 1894 154 v 1015 q -10 -1 -21 -2 q -11 0 -24 0 q -81 0 -159 22 v 185 q -11 -1 -22 -2 q -11 0 -24 0 q -80 0 -159 21 v 186 q -11 -1 -22 -2 q -11 0 -23 0 q -87 0 -176 26 q -56 12 -110 38 q -55 27 -110 59 q -55 33 -111 67 q -56 34 -115 62 q -59 29 -122 47 q -64 18 -133 18 q -66 0 -131 -22 q -65 -21 -120 -50 q -55 -29 -96 -59 q -42 -29 -62 -46 v -1154 h 204 v -205 h 205 v -204 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 v 1127 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 205 q -11 -2 -26 -5 q -13 -2 -31 -4 q -18 -2 -41 -2 q -23 0 -49 2 q -27 3 -58 9 v 204 q -11 -2 -25 -5 q -12 -2 -30 -4 q -18 -1 -40 -1 q -33 0 -74 5 q -41 5 -89 19 q -56 12 -110 38 q -54 27 -109 60 q -55 33 -111 67 q -57 35 -118 63 q -61 29 -127 47 q -66 19 -140 19 q -44 0 -87 -9 q -44 -9 -84 -23 q -41 -14 -78 -33 q -38 -18 -70 -37 q -76 -45 -142 -103 v -1229 h 205 v -205 h 205 v -205 m 922 512 h -1229 v 1078 q 24 18 63 44 q 38 26 86 50 q 48 24 102 40 q 53 17 107 17 q 55 0 106 -13 q 51 -13 100 -34 q 48 -21 95 -48 q 46 -27 91 -55 q 60 -37 119 -68 q 58 -30 117 -52 q 59 -22 119 -35 q 60 -12 124 -12 m 204 -1116 h -1228 v 102 h 1126 v 818 q 51 -9 102 -9 m 205 -1116 h -1229 v 102 h 1127 v 818 q 51 -9 102 -9 z"\n ></path></svg>',FlowChartTerminator:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1434 512 q 105 0 199 40 q 93 41 163 110 q 69 70 110 163 q 40 93 40 199 q 0 106 -40 199 q -41 93 -110 162 q -70 70 -163 110 q -94 41 -199 41 h -820 q -105 0 -198 -41 q -94 -40 -163 -110 q -70 -69 -110 -162 q -41 -93 -41 -199 q 0 -106 41 -199 q 40 -93 110 -163 q 69 -69 163 -110 q 93 -40 198 -40 m 820 922 q 84 0 159 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -159 -32 h -820 q -84 0 -158 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 158 33 z"\n ></path>\n <path\n type="path"\n d="M 614 1485 q -95 0 -179 -37 q -84 -36 -146 -99 q -63 -62 -99 -146 q -36 -84 -36 -179 q 0 -95 36 -179 q 36 -84 99 -147 q 62 -62 146 -99 q 84 -36 179 -36 h 820 q 95 0 179 36 q 84 37 147 99 q 62 63 98 147 q 36 84 36 179 q 0 95 -36 179 q -36 84 -98 146 q -63 63 -147 99 q -84 37 -179 37 z"\n ></path>\n <path\n type="path"\n d="M 1434 512 q 105 0 199 40 q 93 41 163 110 q 69 70 110 163 q 40 93 40 199 q 0 106 -40 199 q -41 93 -110 162 q -70 70 -163 110 q -94 41 -199 41 h -820 q -105 0 -198 -41 q -94 -40 -163 -110 q -70 -69 -110 -162 q -41 -93 -41 -199 q 0 -106 41 -199 q 40 -93 110 -163 q 69 -69 163 -110 q 93 -40 198 -40 m 820 922 q 84 0 159 -33 q 74 -32 130 -88 q 55 -55 88 -130 q 32 -74 32 -159 q 0 -85 -32 -160 q -33 -74 -88 -130 q -56 -55 -130 -88 q -75 -32 -159 -32 h -820 q -84 0 -158 32 q -75 33 -130 88 q -56 56 -88 130 q -33 75 -33 160 q 0 85 33 159 q 32 75 88 130 q 55 56 130 88 q 74 33 158 33 z"\n ></path></svg>',FlowChartPreparation:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1024 l -410 512 h -1024 l -410 -512 l 410 -512 h 1024 m 278 512 l -327 -410 h -926 l -327 410 l 327 410 h 926 z"\n ></path>\n <path\n type="path"\n d="M 537 1485 l -369 -461 l 369 -461 h 974 l 369 461 l -369 461 z"\n ></path>\n <path\n type="path"\n d="M 1946 1024 l -410 512 h -1024 l -410 -512 l 410 -512 h 1024 m 278 512 l -327 -410 h -926 l -327 410 l 327 410 h 926 z"\n ></path></svg>',FlowChartManualInput:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -922 m 1741 -384 l -1638 466 v 737 h 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1690 v -830 l 1740 -489 v 1319 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 v 1434 h -1844 v -922 m 1741 -384 l -1638 466 v 737 h 1638 z"\n ></path></svg>',FlowChartManualOperation:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path>\n <path\n type="path"\n d="M 1873 358 l -506 1332 h -686 l -506 -1332 z"\n ></path>\n <path\n type="path"\n d="M 102 307 h 1844 l -543 1434 h -758 m 1155 -1331 h -1552 l 469 1228 h 614 z"\n ></path></svg>',FlowChartConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 0 1639 q 159 0 299 -61 q 139 -60 244 -165 q 104 -104 165 -244 q 60 -139 60 -298 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -71 -70 -156 -120 q -85 -50 -183 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 106 28 204 q 27 98 77 183 q 50 85 120 155 q 70 71 156 121 q 85 50 183 77 q 98 28 204 28 z"\n ></path>\n <path\n type="path"\n d="M 973 1792 q -113 0 -217 -30 q -105 -29 -196 -82 q -91 -53 -166 -128 q -75 -75 -128 -166 q -53 -91 -82 -196 q -30 -104 -30 -217 q 0 -113 30 -218 q 29 -104 82 -195 q 53 -91 128 -166 q 75 -75 166 -128 q 91 -53 196 -83 q 104 -29 217 -29 q 113 0 218 29 q 104 30 195 83 q 91 53 166 128 q 75 75 128 166 q 53 91 83 195 q 29 105 29 218 q 0 113 -29 217 q -30 105 -83 196 q -53 91 -128 166 q -75 75 -166 128 q -91 53 -195 82 q -105 30 -218 30 z"\n ></path>\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 0 1639 q 159 0 299 -61 q 139 -60 244 -165 q 104 -104 165 -244 q 60 -139 60 -298 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -71 -70 -156 -120 q -85 -50 -183 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 106 28 204 q 27 98 77 183 q 50 85 120 155 q 70 71 156 121 q 85 50 183 77 q 98 28 204 28 z"\n ></path></svg>',FlowChartOffpageConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1741 102 v 1332 l -717 512 l -717 -512 v -1332 m 1331 103 h -1228 v 1176 l 614 439 l 614 -439 z"\n ></path>\n <path\n type="path"\n d="M 358 1407 v -1253 h 1332 v 1253 l -666 476 z"\n ></path>\n <path\n type="path"\n d="M 1741 102 v 1332 l -717 512 l -717 -512 v -1332 m 1331 103 h -1228 v 1176 l 614 439 l 614 -439 z"\n ></path></svg>',FlowChartCard:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 614 102 h 1332 v 1844 h -1844 v -1332 m 103 1229 h 1638 v -1638 h -1186 l -452 452 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1258 l 482 -482 h 1258 v 1740 z"\n ></path>\n <path\n type="path"\n d="M 614 102 h 1332 v 1844 h -1844 v -1332 m 103 1229 h 1638 v -1638 h -1186 l -452 452 z"\n ></path></svg>',FlowChartPunchedTape:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1485 102 q 95 0 179 16 q 84 16 147 44 q 62 28 99 65 q 36 38 36 80 v 1434 q 0 -42 -36 -80 q -37 -37 -99 -65 q -63 -28 -147 -44 q -84 -16 -179 -16 q -96 0 -180 16 q -84 16 -146 44 q -63 28 -99 65 q -36 38 -36 80 q 0 42 -36 79 q -36 38 -98 66 q -63 28 -147 44 q -84 16 -180 16 q -95 0 -179 -16 q -84 -16 -146 -44 q -63 -28 -99 -66 q -37 -37 -37 -79 v -1434 q 0 42 37 79 q 36 38 99 66 q 62 28 146 44 q 84 16 179 16 q 96 0 180 -16 q 84 -16 147 -44 q 62 -28 98 -66 q 36 -37 36 -79 q 0 -42 36 -80 q 36 -37 99 -65 q 62 -28 146 -44 q 84 -16 180 -16 m 358 208 q -3 -11 -28 -29 q -25 -17 -70 -34 q -46 -17 -111 -30 q -65 -12 -149 -12 q -84 0 -149 12 q -66 13 -111 29 q -46 17 -71 34 q -25 17 -28 27 q 0 67 -42 123 q -42 56 -117 97 q -75 41 -178 64 q -104 23 -226 23 q -102 0 -193 -17 q -92 -16 -165 -48 v 1189 q 3 11 28 28 q 25 18 71 35 q 45 17 110 29 q 65 13 149 13 q 84 0 150 -13 q 65 -12 111 -29 q 45 -16 70 -33 q 25 -17 28 -27 q 0 -67 42 -123 q 42 -56 117 -97 q 75 -41 179 -64 q 103 -23 225 -23 q 102 0 194 16 q 91 17 164 49 z"\n ></path>\n <path\n type="path"\n d="M 563 1894 q -94 0 -169 -15 q -76 -15 -129 -38 q -54 -23 -82 -50 q -29 -27 -29 -50 v -1276 q 69 45 175 71 q 105 27 234 27 q 109 0 203 -20 q 94 -19 163 -54 q 68 -34 107 -81 q 39 -46 39 -101 q 0 -23 29 -50 q 29 -27 83 -50 q 53 -23 129 -38 q 75 -15 169 -15 q 94 0 170 15 q 75 15 128 38 q 53 23 82 50 q 29 27 29 50 v 1276 q -69 -45 -174 -72 q -106 -26 -235 -26 q -110 0 -203 19 q -94 20 -162 54 q -69 35 -108 81 q -39 47 -39 102 q 0 23 -29 50 q -29 27 -82 50 q -54 23 -129 38 q -76 15 -170 15 z"\n ></path>\n <path\n type="path"\n d="M 1485 102 q 95 0 179 16 q 84 16 147 44 q 62 28 99 65 q 36 38 36 80 v 1434 q 0 -42 -36 -80 q -37 -37 -99 -65 q -63 -28 -147 -44 q -84 -16 -179 -16 q -96 0 -180 16 q -84 16 -146 44 q -63 28 -99 65 q -36 38 -36 80 q 0 42 -36 79 q -36 38 -98 66 q -63 28 -147 44 q -84 16 -180 16 q -95 0 -179 -16 q -84 -16 -146 -44 q -63 -28 -99 -66 q -37 -37 -37 -79 v -1434 q 0 42 37 79 q 36 38 99 66 q 62 28 146 44 q 84 16 179 16 q 96 0 180 -16 q 84 -16 147 -44 q 62 -28 98 -66 q 36 -37 36 -79 q 0 -42 36 -80 q 36 -37 99 -65 q 62 -28 146 -44 q 84 -16 180 -16 m 358 208 q -3 -11 -28 -29 q -25 -17 -70 -34 q -46 -17 -111 -30 q -65 -12 -149 -12 q -84 0 -149 12 q -66 13 -111 29 q -46 17 -71 34 q -25 17 -28 27 q 0 67 -42 123 q -42 56 -117 97 q -75 41 -178 64 q -104 23 -226 23 q -102 0 -193 -17 q -92 -16 -165 -48 v 1189 q 3 11 28 28 q 25 18 71 35 q 45 17 110 29 q 65 13 149 13 q 84 0 150 -13 q 65 -12 111 -29 q 45 -16 70 -33 q 25 -17 28 -27 q 0 -67 42 -123 q 42 -56 117 -97 q 75 -41 179 -64 q 103 -23 225 -23 q 102 0 194 16 q 91 17 164 49 z"\n ></path></svg>',FlowChartSummingJunction:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1588 357 q 64 64 112 136 q 47 73 79 152 q 32 79 48 161 q 16 83 16 167 q 0 83 -16 165 q -16 83 -48 162 q -32 79 -79 151 q -48 73 -112 137 q -64 64 -136 111 q -73 48 -152 80 q -79 32 -161 48 q -83 16 -167 16 q -83 0 -165 -16 q -83 -16 -162 -48 q -79 -32 -151 -80 q -73 -47 -137 -111 q -64 -64 -111 -137 q -48 -72 -80 -151 q -32 -79 -48 -162 q -16 -82 -16 -165 q 0 -84 16 -167 q 16 -82 48 -161 q 32 -79 80 -152 q 47 -72 111 -136 q 64 -64 137 -112 q 72 -47 151 -79 q 79 -32 162 -48 q 82 -16 165 -16 q 84 0 167 16 q 82 16 161 48 q 79 32 152 79 q 72 48 136 112 m -110 38 q -109 -95 -239 -143 q -130 -47 -266 -47 q -137 0 -267 47 q -130 48 -239 143 l 506 505 m -578 -433 q -96 109 -143 239 q -47 131 -47 267 q 0 137 47 266 q 47 130 143 239 l 505 -505 m -433 578 q 109 96 239 143 q 130 47 267 47 q 136 0 266 -47 q 130 -47 239 -143 l -505 -506 m 578 433 q 95 -109 143 -239 q 47 -129 47 -266 q 0 -136 -47 -267 q -48 -130 -143 -239 l -506 506 z"\n ></path>\n <path\n type="path"\n d="M 394 1552 q -60 -60 -105 -128 q -45 -68 -75 -142 q -30 -74 -45 -152 q -15 -78 -15 -157 q 0 -158 60 -308 q 59 -150 180 -271 q 121 -121 271 -181 q 150 -59 308 -59 q 158 0 308 59 q 150 60 271 181 q 120 121 180 271 q 59 150 59 308 q 0 79 -15 157 q -15 78 -45 152 q -30 74 -74 142 q -45 68 -105 128 q -121 121 -271 180 q -150 59 -308 59 q -79 0 -157 -15 q -78 -15 -152 -45 q -74 -29 -142 -74 q -68 -45 -128 -105 z"\n ></path>\n <path\n type="path"\n d="M 1588 357 q 64 64 112 136 q 47 73 79 152 q 32 79 48 161 q 16 83 16 167 q 0 83 -16 165 q -16 83 -48 162 q -32 79 -79 151 q -48 73 -112 137 q -64 64 -136 111 q -73 48 -152 80 q -79 32 -161 48 q -83 16 -167 16 q -83 0 -165 -16 q -83 -16 -162 -48 q -79 -32 -151 -80 q -73 -47 -137 -111 q -64 -64 -111 -137 q -48 -72 -80 -151 q -32 -79 -48 -162 q -16 -82 -16 -165 q 0 -84 16 -167 q 16 -82 48 -161 q 32 -79 80 -152 q 47 -72 111 -136 q 64 -64 137 -112 q 72 -47 151 -79 q 79 -32 162 -48 q 82 -16 165 -16 q 84 0 167 16 q 82 16 161 48 q 79 32 152 79 q 72 48 136 112 m -110 38 q -109 -95 -239 -143 q -130 -47 -266 -47 q -137 0 -267 47 q -130 48 -239 143 l 506 505 m -578 -433 q -96 109 -143 239 q -47 131 -47 267 q 0 137 47 266 q 47 130 143 239 l 505 -505 m -433 578 q 109 96 239 143 q 130 47 267 47 q 136 0 266 -47 q 130 -47 239 -143 l -505 -506 m 578 433 q 95 -109 143 -239 q 47 -129 47 -266 q 0 -136 -47 -267 q -48 -130 -143 -239 l -506 506 z"\n ></path></svg>',FlowChartOr:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 766 820 q -9 -144 -68 -270 q -59 -126 -155 -222 q -96 -96 -222 -155 q -126 -59 -270 -69 v 716 m -102 -716 q -144 10 -270 69 q -126 59 -222 155 q -96 96 -155 222 q -59 126 -69 270 h 716 m -716 102 q 10 144 69 270 q 59 126 155 222 q 96 96 222 155 q 126 59 270 68 v -715 m 102 715 q 144 -9 270 -68 q 126 -59 222 -155 q 96 -96 155 -222 q 59 -126 68 -270 h -715 z"\n ></path>\n <path\n type="path"\n d="M 394 1552 q -60 -60 -105 -128 q -45 -68 -75 -142 q -30 -74 -45 -152 q -15 -78 -15 -157 q 0 -158 60 -308 q 59 -150 180 -271 q 121 -121 271 -181 q 150 -59 308 -59 q 158 0 308 59 q 150 60 271 181 q 120 121 180 271 q 59 150 59 308 q 0 79 -15 157 q -15 78 -45 152 q -30 74 -74 142 q -45 68 -105 128 q -121 121 -271 180 q -150 59 -308 59 q -79 0 -157 -15 q -78 -15 -152 -45 q -74 -29 -142 -74 q -68 -45 -128 -105 z"\n ></path>\n <path\n type="path"\n d="M 973 102 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 q -120 0 -231 -31 q -112 -31 -208 -88 q -97 -57 -176 -136 q -80 -79 -137 -176 q -57 -97 -88 -208 q -31 -111 -31 -231 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 m 766 820 q -9 -144 -68 -270 q -59 -126 -155 -222 q -96 -96 -222 -155 q -126 -59 -270 -69 v 716 m -102 -716 q -144 10 -270 69 q -126 59 -222 155 q -96 96 -155 222 q -59 126 -69 270 h 716 m -716 102 q 10 144 69 270 q 59 126 155 222 q 96 96 222 155 q 126 59 270 68 v -715 m 102 715 q 144 -9 270 -68 q 126 -59 222 -155 q 96 -96 155 -222 q 59 -126 68 -270 h -715 z"\n ></path></svg>',FlowChartCollate:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1064 973 l 677 870 h -1434 l 677 -870 l -677 -871 h 1434 m -1224 103 l 507 652 l 507 -652 m 0 1536 l -507 -653 l -507 653 z"\n ></path>\n <path\n type="path"\n d="M 412 1792 l 612 -787 l 612 787 m -1224 -1638 h 1224 l -612 787 z"\n ></path>\n <path\n type="path"\n d="M 1064 973 l 677 870 h -1434 l 677 -870 l -677 -871 h 1434 m -1224 103 l 507 652 l 507 -652 m 0 1536 l -507 -653 l -507 653 z"\n ></path></svg>',FlowChartSort:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1741 973 l -717 870 l -717 -870 l 717 -871 m 0 161 l -542 659 h 1084 m -542 760 l 542 -658 h -1084 z"\n ></path>\n <path\n type="path"\n d="M 374 973 l 650 -790 l 650 790 l -650 790 z"\n ></path>\n <path\n type="path"\n d="M 1741 973 l -717 870 l -717 -870 l 717 -871 m 0 161 l -542 659 h 1084 m -542 760 l 542 -658 h -1084 z"\n ></path></svg>',FlowChartExtract:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path>\n <path\n type="path"\n d="M 185 1894 l 839 -1677 l 839 1677 z"\n ></path>\n <path\n type="path"\n d="M 1946 1946 h -1844 l 922 -1844 m -756 1741 h 1512 l -756 -1512 z"\n ></path></svg>',FlowChartMerge:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 102 l -922 1844 l -922 -1844 m 922 1625 l 752 -1522 h -1504 z"\n ></path>\n <path\n type="path"\n d="M 187 154 h 1674 l -837 1682 z"\n ></path>\n <path\n type="path"\n d="M 1946 102 l -922 1844 l -922 -1844 m 922 1625 l 752 -1522 h -1504 z"\n ></path></svg>',FlowChartStoredData:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 307 q -109 21 -202 86 q -94 65 -163 161 q -69 96 -108 216 q -39 121 -39 254 q 0 133 39 253 q 39 121 108 217 q 69 96 163 161 q 93 65 202 86 v 102 h -1127 q -99 0 -190 -30 q -92 -29 -172 -82 q -80 -53 -145 -128 q -65 -75 -112 -166 q -47 -91 -72 -196 q -26 -104 -26 -217 q 0 -113 26 -218 q 25 -104 72 -195 q 47 -91 112 -166 q 65 -75 145 -128 q 80 -53 172 -83 q 91 -29 190 -29 h 1127 m -615 819 q 0 -112 26 -218 q 25 -105 72 -198 q 47 -92 113 -169 q 65 -77 146 -132 h -869 q -127 0 -239 56 q -112 57 -195 154 q -83 98 -131 228 q -49 131 -49 279 q 0 148 49 278 q 48 131 131 228 q 83 98 195 154 q 112 57 239 57 h 869 q -81 -55 -146 -132 q -66 -77 -113 -170 q -47 -92 -72 -198 q -26 -105 -26 -217 z"\n ></path>\n <path\n type="path"\n d="M 819 1792 q -92 0 -177 -28 q -85 -27 -158 -77 q -74 -50 -135 -120 q -61 -70 -104 -156 q -43 -85 -67 -183 q -24 -98 -24 -204 q 0 -106 24 -204 q 24 -98 67 -184 q 43 -85 104 -155 q 61 -70 135 -120 q 73 -50 158 -78 q 85 -27 177 -27 h 1075 v 11 q -110 30 -204 102 q -94 72 -162 172 q -69 101 -107 224 q -39 124 -39 259 q 0 135 39 258 q 38 124 107 224 q 68 101 162 173 q 94 72 204 102 v 11 z"\n ></path>\n <path\n type="path"\n d="M 1946 307 q -109 21 -202 86 q -94 65 -163 161 q -69 96 -108 216 q -39 121 -39 254 q 0 133 39 253 q 39 121 108 217 q 69 96 163 161 q 93 65 202 86 v 102 h -1127 q -99 0 -190 -30 q -92 -29 -172 -82 q -80 -53 -145 -128 q -65 -75 -112 -166 q -47 -91 -72 -196 q -26 -104 -26 -217 q 0 -113 26 -218 q 25 -104 72 -195 q 47 -91 112 -166 q 65 -75 145 -128 q 80 -53 172 -83 q 91 -29 190 -29 h 1127 m -615 819 q 0 -112 26 -218 q 25 -105 72 -198 q 47 -92 113 -169 q 65 -77 146 -132 h -869 q -127 0 -239 56 q -112 57 -195 154 q -83 98 -131 228 q -49 131 -49 279 q 0 148 49 278 q 48 131 131 228 q 83 98 195 154 q 112 57 239 57 h 869 q -81 -55 -146 -132 q -66 -77 -113 -170 q -47 -92 -72 -198 q -26 -105 -26 -217 z"\n ></path></svg>',FlowChartDelay:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -922 v -1844 m 922 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -819 v 1638 z"\n ></path>\n <path\n type="path"\n d="M 154 1894 v -1740 h 870 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 79 136 176 q 57 97 88 208 q 31 111 31 231 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -922 v -1844 m 922 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -819 v 1638 z"\n ></path></svg>',FlowChartSequentialAccessStorage:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1536 v 410 h -973 q -115 0 -224 -33 q -110 -33 -206 -94 q -97 -61 -178 -148 q -81 -87 -139 -196 q -59 -108 -91 -235 q -33 -126 -33 -267 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 162 -55 305 q -56 143 -154 258 m 209 102 h -488 q 86 -48 157 -119 q 71 -70 122 -156 q 51 -86 79 -186 q 28 -99 28 -204 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -70 -70 -155 -120 q -86 -50 -184 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 102 25 206 q 25 104 72 200 q 47 97 115 181 q 67 85 152 148 q 85 63 187 99 q 102 36 217 36 h 870 z"\n ></path>\n <path\n type="path"\n d="M 1894 1587 v 307 h -972 v -7 q -101 -12 -197 -56 q -96 -44 -181 -111 q -86 -66 -157 -152 q -72 -86 -123 -184 q -52 -97 -81 -202 q -29 -105 -29 -209 q 0 -113 30 -218 q 29 -104 82 -195 q 53 -91 128 -166 q 75 -75 166 -128 q 91 -53 196 -83 q 104 -29 217 -29 q 113 0 218 29 q 104 30 195 83 q 91 53 166 128 q 75 75 128 166 q 53 91 83 195 q 29 105 29 218 q 0 92 -19 178 q -20 87 -56 165 q -37 78 -88 146 q -52 69 -116 125 z"\n ></path>\n <path\n type="path"\n d="M 1946 1536 v 410 h -973 q -115 0 -224 -33 q -110 -33 -206 -94 q -97 -61 -178 -148 q -81 -87 -139 -196 q -59 -108 -91 -235 q -33 -126 -33 -267 q 0 -120 31 -232 q 31 -111 88 -208 q 57 -96 137 -176 q 79 -79 176 -136 q 96 -57 208 -88 q 111 -31 231 -31 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 80 136 176 q 57 97 88 208 q 31 112 31 232 q 0 162 -55 305 q -56 143 -154 258 m 209 102 h -488 q 86 -48 157 -119 q 71 -70 122 -156 q 51 -86 79 -186 q 28 -99 28 -204 q 0 -106 -27 -204 q -28 -98 -78 -184 q -50 -85 -120 -155 q -70 -70 -155 -120 q -86 -50 -184 -78 q -98 -27 -204 -27 q -106 0 -204 27 q -98 28 -183 78 q -86 50 -156 120 q -70 70 -120 155 q -50 86 -77 184 q -28 98 -28 204 q 0 102 25 206 q 25 104 72 200 q 47 97 115 181 q 67 85 152 148 q 85 63 187 99 q 102 36 217 36 h 870 z"\n ></path></svg>',FlowChartMagneticDisk:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 307 q 127 0 245 13 q 118 13 221 36 q 102 23 186 56 q 84 33 144 73 q 60 40 93 86 q 33 46 33 95 v 716 q 0 50 -33 95 q -33 46 -93 86 q -60 40 -144 73 q -84 33 -186 56 q -103 23 -221 36 q -118 13 -245 13 q -127 0 -245 -13 q -118 -13 -220 -36 q -103 -23 -187 -56 q -84 -33 -144 -73 q -60 -40 -93 -86 q -33 -45 -33 -95 v -716 q 0 -49 33 -95 q 33 -46 93 -86 q 60 -40 144 -73 q 84 -33 187 -56 q 102 -23 220 -36 q 118 -13 245 -13 m 0 103 q -199 0 -351 28 q -153 28 -257 67 q -104 40 -157 84 q -54 44 -54 77 q 0 32 54 76 q 53 44 157 84 q 104 40 257 68 q 152 28 351 28 q 199 0 352 -28 q 152 -28 256 -68 q 104 -40 158 -84 q 53 -44 53 -76 q 0 -33 -53 -77 q -54 -44 -158 -84 q -104 -39 -256 -67 q -153 -28 -352 -28 m 0 1228 q 199 0 352 -28 q 152 -28 256 -68 q 104 -39 158 -83 q 53 -44 53 -77 v -553 q -57 44 -142 79 q -85 36 -191 62 q -106 26 -229 40 q -123 14 -257 14 q -134 0 -257 -14 q -123 -14 -229 -40 q -106 -26 -191 -62 q -85 -35 -142 -79 v 553 q 0 33 54 77 q 53 44 157 83 q 104 40 257 68 q 152 28 351 28 z"\n ></path>\n <path\n type="path"\n d="M 1024 1690 q -128 0 -242 -13 q -115 -12 -211 -34 q -97 -22 -174 -52 q -78 -30 -131 -64 q -54 -34 -83 -71 q -29 -37 -29 -74 v -716 q 0 -36 29 -74 q 29 -37 83 -71 q 53 -34 131 -64 q 77 -30 174 -52 q 96 -22 211 -35 q 114 -12 242 -12 q 128 0 243 12 q 114 13 211 35 q 96 22 174 52 q 77 30 131 64 q 53 34 82 71 q 29 38 29 74 v 716 q 0 37 -29 74 q -29 37 -82 71 q -54 34 -131 64 q -78 30 -174 52 q -97 22 -211 34 q -115 13 -243 13 z"\n ></path>\n <path\n type="path"\n d="M 1024 307 q 127 0 245 13 q 118 13 221 36 q 102 23 186 56 q 84 33 144 73 q 60 40 93 86 q 33 46 33 95 v 716 q 0 50 -33 95 q -33 46 -93 86 q -60 40 -144 73 q -84 33 -186 56 q -103 23 -221 36 q -118 13 -245 13 q -127 0 -245 -13 q -118 -13 -220 -36 q -103 -23 -187 -56 q -84 -33 -144 -73 q -60 -40 -93 -86 q -33 -45 -33 -95 v -716 q 0 -49 33 -95 q 33 -46 93 -86 q 60 -40 144 -73 q 84 -33 187 -56 q 102 -23 220 -36 q 118 -13 245 -13 m 0 103 q -199 0 -351 28 q -153 28 -257 67 q -104 40 -157 84 q -54 44 -54 77 q 0 32 54 76 q 53 44 157 84 q 104 40 257 68 q 152 28 351 28 q 199 0 352 -28 q 152 -28 256 -68 q 104 -40 158 -84 q 53 -44 53 -76 q 0 -33 -53 -77 q -54 -44 -158 -84 q -104 -39 -256 -67 q -153 -28 -352 -28 m 0 1228 q 199 0 352 -28 q 152 -28 256 -68 q 104 -39 158 -83 q 53 -44 53 -77 v -553 q -57 44 -142 79 q -85 36 -191 62 q -106 26 -229 40 q -123 14 -257 14 q -134 0 -257 -14 q -123 -14 -229 -40 q -106 -26 -191 -62 q -85 -35 -142 -79 v 553 q 0 33 54 77 q 53 44 157 83 q 104 40 257 68 q 152 28 351 28 z"\n ></path></svg>',FlowChartDirectAccessStorage:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1741 1024 q 0 127 -13 245 q -13 118 -36 220 q -23 103 -56 187 q -33 84 -73 144 q -40 60 -86 93 q -46 33 -95 33 h -716 q -50 0 -95 -33 q -46 -33 -86 -93 q -40 -60 -73 -144 q -33 -84 -56 -187 q -23 -102 -36 -220 q -13 -118 -13 -245 q 0 -127 13 -245 q 13 -118 36 -221 q 23 -102 56 -186 q 33 -84 73 -144 q 40 -60 86 -93 q 45 -33 95 -33 h 716 q 49 0 95 33 q 46 33 86 93 q 40 60 73 144 q 33 84 56 186 q 23 103 36 221 q 13 118 13 245 m -103 0 q 0 -199 -28 -352 q -28 -152 -67 -256 q -40 -104 -84 -158 q -44 -53 -77 -53 q -32 0 -76 53 q -44 54 -84 158 q -40 104 -68 256 q -28 153 -28 352 q 0 199 28 351 q 28 153 68 257 q 40 104 84 157 q 44 54 76 54 q 33 0 77 -54 q 44 -53 84 -157 q 39 -104 67 -257 q 28 -152 28 -351 m -1228 0 q 0 199 28 351 q 28 153 68 257 q 39 104 83 157 q 44 54 77 54 h 553 q -44 -57 -79 -142 q -36 -85 -62 -191 q -26 -106 -40 -229 q -14 -123 -14 -257 q 0 -134 14 -257 q 14 -123 40 -229 q 26 -106 62 -191 q 35 -85 79 -142 h -553 q -33 0 -77 53 q -44 54 -83 158 q -40 104 -68 256 q -28 153 -28 352 z"\n ></path>\n <path\n type="path"\n d="M 358 1024 q 0 -128 13 -243 q 12 -114 34 -211 q 22 -96 52 -174 q 30 -77 64 -131 q 34 -53 71 -82 q 37 -29 74 -29 h 716 q 36 0 74 29 q 37 29 71 82 q 34 54 64 131 q 30 78 52 174 q 22 97 35 211 q 12 115 12 243 q 0 128 -12 242 q -13 115 -35 211 q -22 97 -52 174 q -30 78 -64 131 q -34 54 -71 83 q -38 29 -74 29 h -716 q -37 0 -74 -29 q -37 -29 -71 -83 q -34 -53 -64 -131 q -30 -77 -52 -174 q -22 -96 -34 -211 q -13 -114 -13 -242 z"\n ></path>\n <path\n type="path"\n d="M 1741 1024 q 0 127 -13 245 q -13 118 -36 220 q -23 103 -56 187 q -33 84 -73 144 q -40 60 -86 93 q -46 33 -95 33 h -716 q -50 0 -95 -33 q -46 -33 -86 -93 q -40 -60 -73 -144 q -33 -84 -56 -187 q -23 -102 -36 -220 q -13 -118 -13 -245 q 0 -127 13 -245 q 13 -118 36 -221 q 23 -102 56 -186 q 33 -84 73 -144 q 40 -60 86 -93 q 45 -33 95 -33 h 716 q 49 0 95 33 q 46 33 86 93 q 40 60 73 144 q 33 84 56 186 q 23 103 36 221 q 13 118 13 245 m -103 0 q 0 -199 -28 -352 q -28 -152 -67 -256 q -40 -104 -84 -158 q -44 -53 -77 -53 q -32 0 -76 53 q -44 54 -84 158 q -40 104 -68 256 q -28 153 -28 352 q 0 199 28 351 q 28 153 68 257 q 40 104 84 157 q 44 54 76 54 q 33 0 77 -54 q 44 -53 84 -157 q 39 -104 67 -257 q 28 -152 28 -351 m -1228 0 q 0 199 28 351 q 28 153 68 257 q 39 104 83 157 q 44 54 77 54 h 553 q -44 -57 -79 -142 q -36 -85 -62 -191 q -26 -106 -40 -229 q -14 -123 -14 -257 q 0 -134 14 -257 q 14 -123 40 -229 q 26 -106 62 -191 q 35 -85 79 -142 h -553 q -33 0 -77 53 q -44 54 -83 158 q -40 104 -68 256 q -28 153 -28 352 z"\n ></path></svg>',FlowChartDisplay:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -410 l -512 -922 l 512 -922 m 410 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -349 l -455 819 l 455 819 z"\n ></path>\n <path\n type="path"\n d="M 645 1894 l -484 -870 l 484 -870 h 379 q 120 0 231 31 q 111 31 208 88 q 97 57 176 136 q 79 79 136 176 q 57 97 88 208 q 31 111 31 231 q 0 120 -31 231 q -31 111 -88 208 q -57 97 -136 176 q -79 79 -176 136 q -97 57 -208 88 q -111 31 -231 31 z"\n ></path>\n <path\n type="path"\n d="M 1024 102 q 127 0 245 33 q 118 33 221 93 q 102 60 186 144 q 84 84 144 186 q 60 103 93 221 q 33 118 33 245 q 0 127 -33 245 q -33 118 -93 220 q -60 103 -144 187 q -84 84 -186 144 q -103 60 -221 93 q -118 33 -245 33 h -410 l -512 -922 l 512 -922 m 410 1741 q 113 0 218 -30 q 104 -29 195 -82 q 91 -53 166 -128 q 75 -75 128 -166 q 53 -91 83 -196 q 29 -104 29 -217 q 0 -113 -29 -218 q -30 -104 -83 -195 q -53 -91 -128 -166 q -75 -75 -166 -128 q -91 -53 -195 -83 q -105 -29 -218 -29 h -349 l -455 819 l 455 819 z"\n ></path></svg>'},Vr={Line:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1873 1946 l -1771 -1771 l 73 -73 l 1771 1771 z"\n ></path>\n <path\n type="path"\n d="M 1873 1946 l -1771 -1771 l 73 -73 l 1771 1771 z"\n ></path></svg>',Arrow:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1669 -1668 l 73 -73 l 1668 1669 v -235 z"\n ></path>\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1669 -1668 l 73 -73 l 1668 1669 v -235 z"\n ></path></svg>',DoubleArrow:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1566 -1566 v 235 h -103 v -410 h 410 v 103 h -235 l 1566 1566 v -235 z"\n ></path>\n <path\n type="path"\n d="M 1946 1536 v 410 h -410 v -103 h 235 l -1566 -1566 v 235 h -103 v -410 h 410 v 103 h -235 l 1566 1566 v -235 z"\n ></path></svg>',ElbowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1741 h -1024 v -1331 h -820 v -103 h 922 v 1331 h 922 z"\n ></path>\n <path\n type="path"\n d="M 1946 1741 h -1024 v -1331 h -820 v -103 h 922 v 1331 h 922 z"\n ></path></svg>',ElbowArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1690 l -257 256 l -72 -73 l 132 -132 h -827 v -1331 h -820 v -103 h 922 v 1331 h 725 l -132 -132 l 72 -72 z"\n ></path>\n <path\n type="path"\n d="M 1946 1690 l -257 256 l -72 -73 l 132 -132 h -827 v -1331 h -820 v -103 h 922 v 1331 h 725 l -132 -132 l 72 -72 z"\n ></path></svg>',ElbowDoubleArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1946 1690 l -256 256 l -73 -73 l 132 -132 h -827 v -1331 h -623 l 132 132 l -73 72 l -256 -256 l 256 -256 l 73 73 l -132 132 h 725 v 1331 h 725 l -132 -132 l 73 -72 z"\n ></path>\n <path\n type="path"\n d="M 1946 1690 l -256 256 l -73 -73 l 132 -132 h -827 v -1331 h -623 l 132 132 l -73 72 l -256 -256 l 256 -256 l 73 73 l -132 132 h 725 v 1331 h 725 l -132 -132 l 73 -72 z"\n ></path></svg>',CurvedConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1229 614 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 410 v 103 h -410 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 z"\n ></path>\n <path\n type="path"\n d="M 1229 614 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 410 v 103 h -410 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 z"\n ></path></svg>',CurvedArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -220 q -51 0 -108 -2 q -58 -2 -114 -14 q -56 -12 -107 -37 q -52 -25 -91 -71 q -39 -45 -62 -115 q -24 -70 -24 -171 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 214 l -132 -132 l 72 -72 z"\n ></path>\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -220 q -51 0 -108 -2 q -58 -2 -114 -14 q -56 -12 -107 -37 q -52 -25 -91 -71 q -39 -45 -62 -115 q -24 -70 -24 -171 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -307 v -103 h 307 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 111 32 172 q 31 62 86 92 q 55 30 130 36 q 75 7 161 7 h 214 l -132 -132 l 72 -72 z"\n ></path></svg>',CurvedDoubleArrowConnector:'<svg\n \n fill="#3C67BC"\n xmlns="http://www.w3.org/2000/svg"\n height="16"\n width="16"\n viewBox="0,0,2048,2048"\n focusable="false"\n >\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -214 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -111 l 132 132 l -72 72 l -256 -256 l 256 -256 l 72 73 l -132 132 h 111 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 77 16 129 q 15 52 43 86 q 27 35 67 53 q 39 19 87 27 q 48 9 104 10 q 55 2 116 2 h 190 l -132 -132 l 72 -72 z"\n ></path>\n <path\n type="path"\n d="M 1536 1690 l -256 256 l -72 -73 l 132 -132 h -214 q -51 0 -109 -2 q -58 -2 -114 -14 q -57 -11 -109 -36 q -53 -24 -92 -70 q -40 -45 -64 -116 q -24 -70 -24 -172 q 0 -72 28 -126 q 28 -54 73 -96 q 44 -41 100 -74 q 55 -32 109 -61 q 71 -38 128 -73 q 56 -35 96 -76 q 39 -40 60 -91 q 21 -51 21 -120 q 0 -44 -19 -77 q -20 -32 -53 -55 q -33 -23 -75 -37 q -43 -14 -88 -22 q -46 -8 -91 -11 q -46 -2 -84 -2 h -111 l 132 132 l -72 72 l -256 -256 l 256 -256 l 72 73 l -132 132 h 111 q 51 0 109 4 q 58 5 115 17 q 57 13 109 35 q 52 22 92 56 q 40 34 64 82 q 23 48 23 113 q 0 87 -26 152 q -27 66 -70 115 q -43 50 -98 87 q -55 37 -113 69 q -58 32 -113 61 q -55 29 -98 62 q -43 34 -69 75 q -27 41 -27 96 q 0 77 16 129 q 15 52 43 86 q 27 35 67 53 q 39 19 87 27 q 48 9 104 10 q 55 2 116 2 h 190 l -132 -132 l 72 -72 z"\n ></path></svg>'};function Gr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Kr=function(e){me()(i,e);var t=Gr(i);function i(){var e;c()(this,i);var n=new Ce("".concat(xe,"-icon-img insert-shape")),r=function(t){var i,n=Object.keys(t),r=(n=n.filter((function(e){return Object.keys(Hr).includes(e)}))).map((function(i){var n=t[i],r=p("div","".concat(xe,"-item")),a=(new DOMParser).parseFromString(n,"image/svg+xml").documentElement;return r.child(a),r.on("click",(function(){e.change({svg:n,name:i}),e.hide()})),r}));if(r.length>12){for(var a,o=[],s=0;s<r.length/12;s++){var l=p("div","shape-group");l.css("display","flex"),l.children.apply(l,y()(r.slice(12*s,12*s+12))),o.push(l)}var h=(a=p("div","".concat(xe,"-button-group"))).children.apply(a,o);return h.css("flex-direction","column"),h}return(i=p("div","".concat(xe,"-button-group"))).children.apply(i,y()(r))},a=r(Nr),o=r(Ur),s=r(Xr),l=r(Wr),h=r(Yr),u=(r(Vr),[]);return u.push(a),u.push(o),u.push(s),u.push(l),u.push(h),u.forEach((function(e){e.el.style.display="flex"})),e=t.call.apply(t,[this,n,"auto",!0,"bottom-right"].concat(u))}return i}(Vi);function Zr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Jr=function(e){me()(i,e);var t=Zr(i);function i(e){return c()(this,i),t.call(this,"insert-shape",null,"",e)}return o()(i,[{key:"dropdown",value:function(){return new Kr}}]),i}(Wi);function $r(){return p("div","".concat(xe,"-toolbar-divider"))}function Qr(){var e=this;this.btns2=[],this.items.forEach((function(t){if(Array.isArray(t))t.forEach((function(t){var i=t.el,n=i.box(),r=i.computedStyle(),a=r.marginLeft,o=r.marginRight;e.btns2.push([i,n.width+parseInt(a,10)+parseInt(o,10)])}));else{var i=t.box(),n=t.computedStyle(),r=n.marginLeft,a=n.marginRight;e.btns2.push([t,i.width+parseInt(r,10)+parseInt(a,10)])}}))}function ea(){var e,t,i=this.el,n=this.btns,r=this.moreEl,a=this.btns2,o=r.dd,s=o.moreBtns,h=o.contentEl,c=i.box(),u=100,d=12,f=[],v=[];a.forEach((function(e,t){var i=l()(e,2),n=i[0],r=i[1];u+=r,t===a.length-1||u<c.width?f.push(n):(d+=r,v.push(n))})),(e=n.html("")).children.apply(e,f),(t=s.html("")).children.apply(t,v),h.css("width","".concat(d,"px")),v.length>0?r.show():r.hide()}var ta=function(){function e(t,i,n,r){var a=this;c()(this,e),this.data=t,this.change=function(){},this.widthFn=i,this.isHide=n;var o=t.defaultStyle();this.items=[[new fr,this.paintformatEl=new Dn,this.clearformatEl=new In],$r(),[this.formatEl=new tr],$r(),[this.fontEl=new Jn,this.fontSizeEl=new Un],$r(),[this.zoomSizeEl=new Vn,this.boldEl=new on,this.italicEl=new ln,this.underlineEl=new dn,this.strikeEl=new cn,this.textColorEl=new Pn(o.color)],$r(),[this.fillColorEl=new Ln(o.bgcolor),this.borderEl=new Rn,this.mergeEl=new ur],$r(),[this.alignEl=new Ji(o.align),this.valignEl=new Qi(o.valign),this.textwrapEl=new gr],$r(),[this.freezeEl=new hr,this.autofilterEl=new rn,this.formulaEl=new sr,this.sortEl=new wr,this.insertImageEL=new Br,this.insertShapeEL=new Jr,this.insertControlEL=new Fr,this.searchEl=new xr],$r(),[this.commentEditEl=new Cr,this.commentRemoveEl=new Tr,this.commentPreviousEl=new Or,this.commentNextEl=new Er],$r(),[this.moreEl=new yr]],screen.width<500&&this.items[0].splice(0,1),n&&r&&(this.items=[[new fr,this.moreEl=new yr,this.sortEl=new wr,this.searchEl=new xr]]),this.el=p("div","".concat(xe,"-toolbar")),this.btns=p("div","".concat(xe,"-toolbar-btns")),this.items.forEach((function(e){Array.isArray(e)?e.forEach((function(e){a.btns.child(e.el),e.change=function(){a.change.apply(a,arguments)}})):a.btns.child(e.el)}));var s=this.menuDisplay=new jr;if(s.change=function(){a.change.apply(a,arguments)},this.el.children(this.btns.el,s.el),n&&!r)this.el.hide();else{this.reset(),setTimeout((function(){Qr.call(a),ea.call(a)}),0);var l=this,h=function(){ea.call(l)};Fe(window,"resize",h),this.delWindowEvent=function(){Le(window,"resize",h)}}}return o()(e,[{key:"paintformatActive",value:function(){return this.paintformatEl.active()}},{key:"paintformatToggle",value:function(){this.paintformatEl.toggle()}},{key:"trigger",value:function(e){this["".concat(e,"El")].click()}},{key:"resetData",value:function(e){this.data=e,this.reset()}},{key:"reset",value:function(){if(!this.isHide){var e=this.data,t=e.getSelectedCellStyle();this.mergeEl.setState(e.canUnmerge(),!1),this.autofilterEl.setState(!e.canAutofilter());var i=t.font,n=t.format;this.formatEl.setState(n),this.fontEl.setState(i.name),this.fontSizeEl.setState(i.size),this.zoomSizeEl.setState(e.zoomlevel),this.boldEl.setState(i.bold),this.italicEl.setState(i.italic),this.underlineEl.setState(t.underline),this.strikeEl.setState(t.strike),this.textColorEl.setState(t.color),this.fillColorEl.setState(t.bgcolor),this.alignEl.setState(t.align),this.valignEl.setState(t.valign),this.textwrapEl.setState(t.textwrap),this.freezeEl.setState(e.freezeIsActive())}}}]),e}(),ia=function(){function e(t,i){var n,r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"600px",o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c()(this,e),this.moving=!1,this.drag=s,this.title=t;var l=parseInt(a);screen.width<500&&l>300&&(a="300px"),this.el=p("div","".concat(xe,"-modal")).css("width",a).css("position","absolute").children(p("div","".concat(xe,"-modal-header")).children(new Ce("close").on("click.stop",(function(){return r.hide()})),this.title),(n=p("div","".concat(xe,"-modal-content"))).children.apply(n,y()(i))).hide(),this.showDimmer=o,this.drag&&this.el.on("mousedown.stop",(function(e){return r.mousedownHandler(e)}))}return o()(e,[{key:"show",value:function(){var e=this;if(!this.moving){this.showDimmer&&(this.dimmer=p("div","".concat(xe,"-dimmer active")),document.body.appendChild(this.dimmer.el));var t=this.el.show().box(),i=t.width,n=t.height,r=document.documentElement,a=r.clientHeight,o=r.clientWidth;this.el.offset({left:(o-i)/2,top:(a-n)/3}),window.xkeydownEsc=function(t){27===t.keyCode&&e.hide()},Fe(window,"keydown",window.xkeydownEsc)}}},{key:"hide",value:function(){this.el.hide(),this.showDimmer&&document.body.removeChild(this.dimmer.el),Le(window,"keydown",window.xkeydownEsc),delete window.xkeydownEsc}},{key:"mousedownHandler",value:function(e){var t=this,i=e;Ne(window,(function(e){if(t.moving=!0,null!==i){var n=t.el.offset(void 0);t.el.offset({left:n.left+e.movementX,top:n.top+e.movementY}),i=e}}),(function(){i=null,t.moving=!1}))}}]),e}(),na=function(){function e(t,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200;c()(this,e),this.vchange=function(){},this.el=p("div","".concat(xe,"-form-input")),this.input=p("input","").css("width",t).on("input",(function(e){return n.vchange(e)})).attr("placeholder",i).attr("maxlength",r),this.el.child(this.input)}return o()(e,[{key:"focus",value:function(){var e=this;setTimeout((function(){e.input.el.focus()}),10)}},{key:"hint",value:function(e){this.input.attr("placeholder",e)}},{key:"setReadonly",value:function(e){e?this.input.attr("readonly",""):this.input.removeAttr("readonly")}},{key:"val",value:function(e){return this.input.val(e)}}]),e}();function ra(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return aa(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return aa(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function aa(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var oa=function(){function e(t,i,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){};c()(this,e),this.key=t,this.getTitle=a,this.change=o,this.width=n,this.vchange=function(){},this.items=[],this.itemsmap=new Map,this.el=p("div","".concat(xe,"-form-select")),this.suggest=new mt(i.map((function(e){return{key:e,title:r.getTitle(e)}})),(function(e){r.itemClick(e.key),o(e.key),r.vchange(e.key)}),n,this.el),this.el.children(this.itemEl=p("div","input-text").html(this.getTitle(t)),this.suggest.el).on("click",(function(){return r.show()}))}return o()(e,[{key:"show",value:function(){this.suggest.search("")}},{key:"itemClick",value:function(e){this.key=e,this.itemsmap.size>0?this.itemEl.html(this.itemsmap.get(e)):this.itemEl.html(this.getTitle(e))}},{key:"setItemsMap",value:function(e){var t=this;this.itemsmap=e;var i,n=[],r=ra(e);try{for(r.s();!(i=r.n()).done;){var a=l()(i.value,2),o=a[0],s=a[1];n.push({key:o,title:s})}}catch(e){r.e(e)}finally{r.f()}this.suggest=new mt(n,(function(e){t.itemClick(e.key),t.change(e.key),t.vchange(e.key)}),this.width,this.el),e.size>6&&this.suggest.el.css("height","200px"),this.el.empty(),this.el.children(this.itemEl=p("div","input-text").html(n[0].title),this.suggest.el)}},{key:"val",value:function(e){return void 0!==e?(this.key=e,this.itemsmap.size>0?this.itemEl.html(this.itemsmap.get(e)):this.itemEl.html(this.getTitle(e)),this):this.key}}]),e}(),sa={number:/(^\d+$)|(^\d+(\.\d{0,4})?$)/,date:/^\d{4}-\d{1,2}-\d{1,2}$/},la=function(){function e(t,i,n,r){var a=this;c()(this,e),this.label="",this.rule=i,n&&(this.label=p("label","label").css("width","".concat(r,"px")).html(n)),this.tip=p("div","tip").child("tip").hide(),this.input=t,this.input.vchange=function(){return a.validate()},this.el=p("div","".concat(xe,"-form-field")).children(this.label,t.el,this.tip)}return o()(e,[{key:"isShow",value:function(){return"none"!==this.el.css("display")}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){return this.el.hide(),this}},{key:"val",value:function(e){return this.input.val(e)}},{key:"hint",value:function(e){this.input.hint(e)}},{key:"validate",value:function(){var e=this.input,t=this.rule,i=this.tip,n=this.el,r=e.val();if(t.required&&/^\s*$/.test(r))return i.html(Q("validation.required")),n.addClass("error"),!1;if((t.type||t.pattern)&&!(t.pattern||sa[t.type]).test(r))return i.html(Q("validation.notMatch")),n.addClass("error"),!1;return n.removeClass("error"),!0}},{key:"validateFail",value:function(e){var t=this.el,i=this.tip;t.addClass("error"),i.html(e),i.show()}},{key:"validateClear",value:function(){var e=this.el,t=this.tip;e.removeClass("error"),t.html(""),t.hide()}}]),e}();function ha(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ca=function(e){me()(i,e);var t=ha(i);function i(){var e;c()(this,i);var n=new la(new oa("cell",["cell"],"100%",(function(e){return Q("dataValidation.modeType.".concat(e))})),{required:!0},"".concat(Q("dataValidation.range"),":"),100),r=new la(new na("120px","E3 or E3:F12"),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/}),a=new la(new oa("list",["list","number","date","phone","email"],"100%",(function(e){return Q("dataValidation.type.".concat(e))}),(function(t){return e.criteriaSelected(t)})),{required:!0},"".concat(Q("dataValidation.criteria"),":"),100),o=new la(new oa("be",["be","nbe","eq","neq","lt","lte","gt","gte"],"160px",(function(e){return Q("dataValidation.operator.".concat(e))}),(function(t){return e.criteriaOperatorSelected(t)})),{required:!0}).hide(),s=new la(new na("70px","10"),{required:!0}).hide(),l=new la(new na("70px","100"),{required:!0,type:"number"}).hide(),h=new la(new na("120px","a,b,c"),{required:!0}),u=new la(new na("70px","10"),{required:!0,type:"number"}).hide();return(e=t.call(this,Q("contextmenu.validation"),[p("div","".concat(xe,"-form-fields")).children(n.el,r.el),p("div","".concat(xe,"-form-fields")).children(a.el,o.el,s.el,l.el,u.el,h.el),p("div","".concat(xe,"-buttons")).children(new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})),new Ei("remove").on("click",(function(){return e.btnClick("remove")})),new Ei("save","primary").on("click",(function(){return e.btnClick("save")})))])).mf=n,e.rf=r,e.cf=a,e.of=o,e.minvf=s,e.maxvf=l,e.vf=u,e.svf=h,e.change=function(){},e}return o()(i,[{key:"showVf",value:function(e){var t="date"===e?"2018-11-12":"10",i=this.vf;i.input.hint(t),i.show()}},{key:"criteriaSelected",value:function(e){var t=this.of,i=this.minvf,n=this.maxvf,r=this.vf,a=this.svf;"date"===e||"number"===e?(t.show(),i.rule.type=e,n.rule.type=e,"date"===e?(i.hint("2018-11-12"),n.hint("2019-11-12")):(i.hint("10"),n.hint("100")),i.show(),n.show(),r.hide(),a.hide()):("list"===e?a.show():a.hide(),r.hide(),t.hide(),i.hide(),n.hide())}},{key:"criteriaOperatorSelected",value:function(e){if(e){var t=this.minvf,i=this.maxvf,n=this.vf;if("be"===e||"nbe"===e)t.show(),i.show(),n.hide();else{var r=this.cf.val();n.rule.type=r,"date"===r?n.hint("2018-11-12"):n.hint("10"),n.show(),t.hide(),i.hide()}}}},{key:"btnClick",value:function(e){if("cancel"===e)this.hide();else if("remove"===e)this.change("remove"),this.hide();else if("save"===e){for(var t=["mf","rf","cf","of","svf","vf","minvf","maxvf"],i=0;i<t.length;i+=1){var n=this[t[i]];if(n.isShow()&&!n.validate())return}var r=this.mf.val(),a=this.rf.val(),o=this.cf.val(),s="phone"===o||"email"===o?"":this.of.val(),l=this.svf.val();"number"!==o&&"date"!==o||(l="be"===s||"nbe"===s?[this.minvf.val(),this.maxvf.val()]:this.vf.val()),this.change("save",r,a,{type:o,operator:s,required:!1,value:l}),this.hide()}}},{key:"setValue",value:function(e){if(e){var t=this.mf,i=this.rf,n=this.cf,r=this.of,a=this.svf,o=this.vf,s=this.minvf,l=this.maxvf,h=e.mode,c=e.ref,u=e.validator||{type:"list"},d=u.type,f=u.operator,v=u.value;t.val(h||"cell"),i.val(c),n.val(d),r.val(f),Array.isArray(v)?(s.val(v[0]),l.val(v[1])):(a.val(v||""),o.val(v||"")),this.criteriaSelected(d),this.criteriaOperatorSelected(f)}this.show()}}]),i}(ia),ua=function(){function e(t,i){c()(this,e),this.el=p("input","".concat(xe,"-form-checkbox")).css("width",t).attr("type","Checkbox")}return o()(e,[{key:"hint",value:function(e){this.el.attr("placeholder",e)}},{key:"val",value:function(e){if(void 0===e)return this.el.el.checked;this.el.el.checked=e}}]),e}();function da(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var fa=function(e){me()(i,e);var t=da(i);function i(){var e;c()(this,i);var n=new la(new na("60px",""),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/},"".concat(Q("dataSort.ci"),":"),60),r=new la(new oa(0,[],"180px",(function(){}),(function(){})),{required:!0},"".concat(Q("dataSort.sortby"),":"),60),a=new la(new oa("desc",["asc","desc"],"100%",(function(e){return Q("dataSort.order.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSort.criteria"),":"),60),o=new la(new oa(0,[],"180px",(function(){}),(function(){})),{required:!0},"".concat(Q("dataSort.sortby"),":"),60),s=new la(new oa("desc",["asc","desc"],"100%",(function(e){return Q("dataSort.order.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSort.criteria"),":"),60),l=new la(new oa(0,[],"180px",(function(){}),(function(){})),{required:!0},"".concat(Q("dataSort.sortby"),":"),60),h=new la(new oa("desc",["asc","desc"],"100%",(function(e){return Q("dataSort.order.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSort.criteria"),":"),60);n.input.setReadonly(!0);var u=new ua("60px","");u.el.on("click",(function(){return e.myHeaderClick()})),u.val(!0);var d=new Ei("del","formbt").on("click",(function(){return e.btnClick("del",1)})),f=p("div","".concat(xe,"-form-fields")).children(o.el,s.el,p("div","".concat(xe,"-buttons")).children(new Ei("add","formbt").on("click",(function(){return e.btnClick("add",2)})),d)),v=p("div","".concat(xe,"-form-fields")).children(l.el,h.el,new Ei("del","formbt").on("click",(function(){return e.btnClick("del",2)})));return(e=t.call(this,Q("contextmenu.sort"),[p("div","".concat(xe,"-form-fields")).children(n.el,new la(u,{required:!1},"".concat(Q("dataSort.header"),":"),120).el),p("div","".concat(xe,"-form-fields")).children(r.el,a.el,new Ei("add","formbt").on("click",(function(){return e.btnClick("add",1)}))),f,v,p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))])).cf=n,e.of1=a,e.sortby1=r,e.of2=s,e.sortby2=o,e.of3=h,e.sortby3=l,e.ci1=null,e.ci2=null,e.ci3=null,e.values=[],e.mcols=null,e.mcolsheader=null,e.cicount=1,e.div2=f,e.div3=v,e.but2=d,e.sc=1,e.myheader=u,f.hide(),v.hide(),e.change=function(){},e}return o()(i,[{key:"btnClick",value:function(e,t){if("ok"===e){if(!this.cf.validate())return;var i=[],n=[];if(i.push(this.of1.val()),n.push(this.sortby1.val()),this.sc>=2&&(i.push(this.of2.val()),n.push(this.sortby2.val())),this.sc>=3&&(i.push(this.of3.val()),n.push(this.sortby3.val())),new Set(n).size<n.length)return void Te("error","".concat(Q("dataSort.msg")));this.change("ok",n,i,this.myheader.val()),this.hide()}else"add"===e?1===t?(this.div2.css("display",""),this.sc=2):2===t&&(this.div3.css("display",""),this.but2.hide(),this.sc=3):"del"===e?1===t?(this.div2.hide(),this.sc=1):2===t&&(this.div3.hide(),this.but2.css("display",""),this.sc=2):"cancel"===e&&this.hide()}},{key:"myHeaderClick",value:function(){var e=this.mcols,t=this.mcolsheader,i=this.myheader,n=this.sortby1,r=this.sortby2,a=this.sortby3,o=i.val()?e:t;n.input.setItemsMap(o),n.val(0),r.input.setItemsMap(o),r.val(1),a.input.setItemsMap(o),a.val(2)}},{key:"setValue",value:function(e){if(null!=e){if(e){var t=this.cf,i=this.of1,n=this.sortby1,r=this.of2,a=this.sortby2,o=this.of3,s=this.sortby3,l=e.ref,h=e.sort,c=e.ci,u=e.m,d=e.mcols,f=e.mcolsheader,v=(h[0]||{order:"asc"}).order1,g=(h[1]||{order:"asc"}).order2,p=(h[2]||{order:"asc"}).order3;t.val(l),i.val(v),r.val(g),o.val(p),this.mcols=d,this.mcolsheader=f,this.myheader.val(1);for(var m=[],y=0;y<d.length;y++)m.push(y);n.input.setItemsMap(d),n.val(0),a.input.setItemsMap(d),a.val(1),s.input.setItemsMap(d),s.val(2),this.ci=c,this.values=u}this.show()}}}]),i}(ia);function va(e){return p("div","".concat(xe,"-item ").concat(e))}function ga(e){var t=this;return va("state").child(Q("sort.".concat(e))).on("click.stop",(function(){return t.itemClick(e)}))}function pa(e){var t=this,i=this.filterbEl,n=this.filterValues;i.html(""),Object.keys(e).forEach((function(r,a){var o=e[r].cnt,s=n.includes(r)?"checked":"";i.child(p("div","".concat(xe,"-item state ").concat(s)).on("click.stop",(function(){return t.filterClick(a,r)})).children(""===r?Q("filter.empty"):r,p("div","label").html("(".concat(o,")"))))}))}function ma(){var e=this.filterhEl,t=this.filterValues,i=this.values;e.html("".concat(t.length," / ").concat(i.length)),e.checked(t.length===i.length)}var ya=function(){function e(){var t=this;c()(this,e),this.filterbEl=p("div","".concat(xe,"-body")),this.filterhEl=p("div","".concat(xe,"-header state")).on("click.stop",(function(){return t.filterClick(0,"all")})),this.el=p("div","".concat(xe,"-sort-filter")).children(this.sortAscEl=ga.call(this,"asc"),this.sortDescEl=ga.call(this,"desc"),va("divider"),p("div","".concat(xe,"-filter")).children(this.filterhEl,this.filterbEl),p("div","".concat(xe,"-buttons")).children(new Ei("cancel").on("click",(function(){return t.btnClick("cancel")})),new Ei("ok","primary").on("click",(function(){return t.btnClick("ok")})))).hide(),this.ci=null,this.sortDesc=null,this.values=null,this.filterValues=[]}return o()(e,[{key:"btnClick",value:function(e){if("ok"===e){var t=this.ci,i=this.sort,n=this.filterValues;this.ok&&this.ok(t,i,"in",n)}this.hide()}},{key:"itemClick",value:function(e){this.sort=e;var t=this.sortAscEl,i=this.sortDescEl;t.checked("asc"===e),i.checked("desc"===e)}},{key:"filterClick",value:function(e,t){var i=this.filterbEl,n=this.filterValues,r=this.values,a=i.children();"all"===t?a.length===n.length?(this.filterValues=[],a.forEach((function(e){return p(e).checked(!1)}))):(this.filterValues=Array.from(r),a.forEach((function(e){return p(e).checked(!0)}))):p(a[e]).toggle("checked")?n.push(t):n.splice(n.findIndex((function(e){return e===t})),1);ma.call(this)}},{key:"set",value:function(e,t,i,n){this.ci=e;var r=this.sortAscEl,a=this.sortDescEl;null!==n?(this.sort=n.order,r.checked(n.asc()),a.checked(n.desc())):(this.sortDesc=null,r.checked(!1),a.checked(!1)),this.values=Object.keys(t),this.filterValues=i?Array.from(i.value):Object.keys(t),pa.call(this,t,i),ma.call(this)}},{key:"setOffset",value:function(e){var t=this;this.el.offset(e).show();var i=1;He(this.el,(function(){i<=0&&(t.hide(),i=5),i-=1}))}},{key:"setOffsetAdjustView",value:function(e,t,i){var n=this;this.el.show();var r=this.el.offset(),a=r.width,o=r.height;e.top+o>i&&(e.top=i-o),e.left+a>t&&(e.left=t-a),this.el.offset(e);var s=1;He(this.el,(function(){s<=0&&(n.hide(),s=5),s-=1}))}},{key:"show",value:function(){this.el.show()}},{key:"hide",value:function(){this.el.hide(),je(this.el)}}]),e}(),ba=function(){function e(){c()(this,e),X()(this,"onEdit",!1),this.el=p("div","".concat(xe,"-comment-tip")).hide()}return o()(e,[{key:"hide",value:function(){this.el.hide()}},{key:"setPosition",value:function(e,t,i){if(!0!==this.onEdit){var n=this.el,r=i?t.left-t.width-1:t.left+t.width,a=t.top-10;n.css("left","".concat(r,"px")),n.css("top","".concat(a,"px")),n.html(e).show(),i&&n.css("left","".concat(r-n.el.offsetWidth,"px"))}}}]),e}();function wa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var qa=function(e){me()(i,e);var t=wa(i);function i(){var e;c()(this,i);var n=new la(new na("80px",""),{required:!0},"".concat(Q("dataSearch.label"),":"),100),r=new la(new ua("80px",""),{required:!1},"".concat(Q("dataSort.casesense"),":"),100),a=new la(new ua("30px",""),{required:!1},"".concat(Q("dataSearch.matchwhole"),":"),150),o=new la(new oa("values",["values","formulas","comments"],"120px",(function(e){return Q("dataSearch.lookin.".concat(e))}),(function(){})),{required:!0},"".concat(Q("dataSearch.lkinlb"),":"),100);return(e=t.call(this,Q("toolbar.search"),[p("div","".concat(xe,"-form-fields")).children(r.el,a.el),p("div","".concat(xe,"-form-fields")).child(n.el),p("div","".concat(xe,"-form-fields")).child(o.el),p("div","".concat(xe,"-buttons")).children(new Ei("previous").on("click",(function(){return e.btnClick("previous")})),new Ei("next").on("click",(function(){return e.btnClick("next")})),new Ei("close","primary").on("click",(function(){return e.btnClick("close")})))],"500px",!1,!0)).formField=n,e.casesense=r,e.lookin=o,e.matchwhole=a,e.change=function(){},e}return o()(i,[{key:"btnClick",value:function(e){if("close"!==e){if(!this.formField.validate())return;var t=this.casesense.val(),i=this.lookin.val(),n=this.matchwhole.val(),r=this.formField.val().trim();switch(e){case"previous":this.change("previous",r,t,i,n);break;case"next":this.change("next",r,t,i,n)}}else this.hide()}},{key:"show",value:function(){Ni()(qe()(i.prototype),"show",this).call(this),this.formField.input.focus()}}]),i}(ia);function xa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ka=function(e){me()(i,e);var t=xa(i);function i(e){var n;c()(this,i);var r=new la(new na("100%",""),{required:!0},"".concat(Q("menubar.commentDefault"),":"),100),a=new la(new na("100%",""),{required:!0},"".concat(Q("link.sheetCell"),":"),100),o=new na("100%",""),s=new la(o,{required:!0},"".concat(Q("dataValidation.range"),":"),100);o.hint("B1:B10");var l=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.min"),":"),100),h=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.max"),":"),100),u=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.cur"),":"),100),d=new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.inc"),":"),100);new la(new na("100%",""),{required:!0,type:"number"},"".concat(Q("control.page"),":"),100);return(n=t.call(this,Q("print.setting"),[p("div","".concat(xe,"-form-fields")).children(s.el),p("div","".concat(xe,"-form-fields")).children(r.el),p("div","".concat(xe,"-form-fields")).children(a.el),p("div","".concat(xe,"-form-fields")).children(l.el),p("div","".concat(xe,"-form-fields")).children(h.el),p("div","".concat(xe,"-form-fields")).children(u.el),p("div","".concat(xe,"-form-fields")).children(d.el),p("br"),p("br"),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return n.btnClick("ok")})),new Ei("cancel").on("click",(function(){return n.btnClick("cancel")})))])).getText=function(){return r.val()},n.getCellLink=function(){return n.linkedcell},n.change=function(){},n.el.on("click",(function(e){e.preventDefault()})),n.celllink=a,n.textlabel=r,n.cellrange=s,n.data=e,n.linkedcell=[-1,-1],n.inputmin=l,n.inputmax=h,n.inputcur=u,n.inputinc=d,a.hint("A1"),n}return o()(i,[{key:"validate",value:function(){var e=this.type;if("SpinButton"===e||"ScrollBar"===e||"CheckBox"===e||"RadioButton"===e||"ComboBox"===e){var t=this.celllink.val();if(t){var i=x(t),n=l()(i,2),r=n[0],a=n[1];if(isNaN(a)||isNaN(r)||r>=this.data.cols.len||a>=this.data.rows.len)return this.celllink.validateFail(Q("validation.invalidcell")),!1;this.lc=t}}if(("TextBox"===e||"CheckBox"===e||"RadioButton"===e)&&!this.textlabel.validate())return!1;if("SpinButton"===e||"ScrollBar"===e){if(!(this.inputmin.validate()&&this.inputmax.validate()&&this.inputcur.validate()&&this.inputinc.validate()))return!1;var o=Number(this.inputmin.val()),s=Number(this.inputmax.val()),h=Number(this.inputcur.val()),c=Number(this.inputinc.val());if(o>=s)return this.inputmax.validateFail(Q("validation.invalid")),!1;if(h>s)return this.inputcur.validateFail(Q("validation.invalid")),!1;if(h<o)return this.inputcur.validateFail(Q("validation.invalid")),!1;if(c>s)return this.inputinc.validateFail(Q("validation.invalid")),!1;var u={};u.min=o,u.max=s,u.inc=c,u.cur=h,this.info=u}if("ComboBox"===e){if(!this.cellrange.validate())return!1;if(this.rg=this.cellrange.val(),al(this),!this.rg)return this.cellrange.validateFail(Q("validation.invalid")),!1;this.rg=this.cellrange.val()}return!0}},{key:"btnClick",value:function(e){if("ok"===e){if(!this.validate())return;this.change("ok",this)}this.hide()}},{key:"show",value:function(e){Ni()(qe()(i.prototype),"show",this).call(this),this.type=e,this.celllink.val(""),this.celllink.validateClear(),this.textlabel.val(""),this.textlabel.validateClear(),this.cellrange.val(""),this.cellrange.validateClear(),this.cellrange.hide(),this.inputmin.val("1"),this.inputmin.validateClear(),this.inputmin.hide(),this.inputmax.val("100"),this.inputmax.validateClear(),this.inputmax.hide(),this.inputcur.val("50"),this.inputcur.validateClear(),this.inputcur.hide(),this.inputinc.val("1"),this.inputinc.validateClear(),this.inputinc.hide(),this.linkedcell=[-1,-1],delete this.rg,delete this.lc,delete this.info,"TextBox"===e?(this.celllink.hide(),this.textlabel.show()):"SpinButton"===e||"ScrollBar"===e?(this.celllink.show(),this.inputmin.show(),this.inputmax.show(),this.inputcur.show(),this.inputinc.show(),this.textlabel.hide()):"RadioButton"===e||"CheckBox"===e?(this.celllink.show(),this.textlabel.show()):"ComboBox"===e&&(this.celllink.show(),this.textlabel.hide(),this.cellrange.show())}}]),i}(ia),Ca=function(){function e(t,i){var n=this;c()(this,e),this.data=t,this.mode=i,this.ishtml=!1,this.inputChange=function(){},this.enter=function(){},this.tab=function(){},this.focuson=function(){},this.el=p("div","".concat(xe,"-formula-bar")),this.barLabel=p("div","".concat(xe,"-bar-label")),this.formulaInput=p("div","".concat(xe,"-formula-input")).on("input",(function(e){n.inputChange(n.ishtml?e.target.innerHTML:e.target.innerText)})).on("focus",(function(e){n.focuson()})).on("keydown",(function(e){var t=e.keyCode||e.which;13===t?(e.altKey||n.formulaInput.el.blur(),n.enter(e,n.ishtml)):9===t&&(n.formulaInput.el.blur(),n.tab(e))})),"read"===this.mode?this.formulaInput.attr("disabled","disabled"):this.formulaInput.attr("contenteditable","true"),this.el.children(this.barLabel,this.formulaInput),this.reset()}return o()(e,[{key:"resetData",value:function(e){this.data=e,this.reset()}},{key:"reset",value:function(){var e=this.data,t=e.selector,i=w(t.ci)+""+(t.ri+1),n=e.getSelectedCell(),r="",a=!1;n&&(n.html?(r=n.html,this.ishtml=!0):(this.ishtml=!1,n.f?r=n.f:n.ufv?r=n.ufv:n.text&&(r=n.text,a=!0))),this.barLabel.html(i),this.formulaInput.html(r,!this.ishtml,a)}}]),e}();function Sa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ta=function(e){me()(i,e);var t=Sa(i);function i(){var e;return c()(this,i),e=t.call(this),X()(nr()(e),"col",void 0),X()(nr()(e),"row",void 0),e.el.attr("contentEditable","true"),e.el.attr("placeholder","".concat(Q("toolbar.commentDefault"))),e.el.attr("id","commentEdit"),e}return o()(i,[{key:"saveAndHide",value:function(e){var t=this;if(void 0!==this.col&&void 0!==this.row){if(""!==this.el.html()){for(var i=-1,n=0;n<e.data.comments.length;n++)if(e.data.comments[n].col===this.col&&e.data.comments[n].row===this.row){i=n;break}-1===i?e.data.comments.push({col:this.col,row:this.row,author:"Aspose",note:this.el.html()}):e.data.comments[i].note=this.el.html()}e.data.comments=e.data.comments.filter((function(e){return!t.checkEmptyContent(e.note)})),this.hide(),e.commentTip.onEdit=!1,this.col=void 0,this.row=void 0}}},{key:"checkEmptyContent",value:function(e){var t=document.createElement("div");return t.innerHTML=e,""===t.innerText}},{key:"setPosition",value:function(e,t,n){Ni()(qe()(i.prototype),"setPosition",this).call(this,e,t,n),this.el.focus()}}]),i}(ba),_a=i(8),Oa=function(){function e(){c()(this,e),X()(this,"name",void 0)}return o()(e,[{key:"execute",value:function(e){}}]),e}();function Ra(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}function Ea(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function Aa(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(i),!0).forEach((function(t){X()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ea(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Ma(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}function Ia(e,t,i){var n=e.canvas,r=e.data.getSelectedRect();n.setLoading(e,{top:r.top,left:r.left}),$.ajax({url:e.imageUploadByLocalUrl,type:"post",processData:!1,contentType:!1,data:t,success:function(e,t,n){(e=JSON.parse(e)).Error?Te("error",e.Error):i(e)}})}function Ba(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function Da(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ba(Object(i),!0).forEach((function(t){X()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Ba(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function za(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Pa=[function(e){me()(i,e);var t=Ra(i);function i(){var e;c()(this,i);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),X()(nr()(e),"name","delete"),e}return o()(i,[{key:"execute",value:function(e){var t=e.canvas,i=e.data,n=t.fabric,r=n.getActiveObject();if(r){var a=t.findObjByData(r.id,i);if(!a)return;if(a.op="del",i.canvasFreeze){var o=i.canvasFreeze;[o.br,o.bl,o.tr,o.tl].forEach((function(e){e.remove(t.findObjInCanvas(e,r.id)),t.saveCanvasData(i,e),e.renderAll()}))}else n.remove(r),n.renderAll(),t.saveCanvasData(i,n)}}}]),i}(Oa),function(e){me()(a,e);var t,i,n=Ma(a);function a(){var e;c()(this,a);for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return e=n.call.apply(n,[this].concat(i)),X()(nr()(e),"name","paste"),X()(nr()(e),"canvas",void 0),X()(nr()(e),"sheet",void 0),X()(nr()(e),"inFreeze",void 0),e}return o()(a,[{key:"execute",value:(i=r()(d.a.mark((function e(t){var i,n,a,o,s,l;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.canvas.clipboard,this.canvas=null!==(i=this.canvas)&&void 0!==i?i:t.canvas.fabric,this.sheet=null!==(n=this.sheet)&&void 0!==n?n:t,this.inFreeze=null!==(a=this.inFreeze)&&void 0!==a?a:t.canvas.inFreeze,s=this,o){e.next=7;break}return e.abrupt("return");case 7:return l=t.data.getSelectedRect(),t.canvas.setLoading(t,{left:l.left,top:l.top}),e.next=11,o.clonedObj.clone(function(){var e=r()(d.a.mark((function e(i){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=fabric.util.object.clone(i),s.setImagePosition(n),e.next=5,s.addImageToData(n);case 5:s.setImageEventAndLayout(n),s.addImageToCanvas(n)?s.reactiveObj(n):s.rollback(s.sheet,n),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0),Te(e.t0);case 13:return e.prev=13,t.canvas.removeLoading(t),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[0,9,13,16]])})));return function(t){return e.apply(this,arguments)}}(),["id","tick","imgType","zorder","strid"]);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"rollback",value:function(e,t){var i=e.data,n=e.canvas;n.fabric.remove(n.fabric.getObjects()[n.fabric.getObjects().findIndex((function(e){return e.id===t.id}))]),n.saveCanvasData(e.data,n.fabric),n.inFreeze&&(n.inFreeze.removeImage(t.id),n.removeImageInData(i,t.id))}},{key:"uploadImg",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.canvas,r=new FormData;r.append("uid",e.uniqueid);var a={ri:e.data.selector.ri,ci:e.data.selector.ci,name:e.data.name};r.append("image",t),0!==Object.keys(i).length&&(a.type=i.name,a.w=i.w,a.h=i.h,r.delete("image")),r.append("p",JSON.stringify(a)),Ia(e,r,(function(t){n.doInsertImage(t,e)}))}},{key:"setImagePosition",value:function(e){var t=this.sheet.data,i=this.sheet.getTableOffset(),n=0,r=0;if(!e)throw"no cloneObj";if(!this.canvas)throw"no canvas";if(!this.sheet)throw"no sheet data";if(this.canvas.getActiveObject()){var a=this.canvas.getActiveObject();n=a.left+20,r=a.top+20}else{var o=t.getSelectedRect();if(!o)throw"get selected rect value is null";n=o.left+i.left,r=o.top+i.top}e.set({left:n,top:r,evented:!0}),this.sheet.canvas.edgeCollision(e)}},{key:"addImageToCanvas",value:function(e){var t=this,i=this.canvas,n=this.sheet.data;if(n.name!==this.sheet.canvas.clipboard.sheetName)return!1;if(n.canvasFreeze){var r=n.canvasFreeze;[r.br,r.bl,r.tr,r.tl].forEach((function(i){var r=fabric.util.object.clone(e),a=t.inFreeze.getOffsetWhenIndividualCanvasMovement(i.canvasName);r.set({top:r.top+a.y,left:r.left+a.x}),i.add(r),r.setCoords(),to(n,r)}))}else e.setCoords(),i.add(e),to(n,e);return!0}},{key:"addImageToData",value:(t=r()(d.a.mark((function e(t){var i,n,r,a,o,s,l,h,c,u;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.sheet,n=i.canvas.data,r=i.canvas.clipboard.newData,a=Aa({},r),o=i.getTableOffset(),s="Picture"!==a.type,l={ri:n.selector.ri,ci:n.selector.ci,name:n.name,srcid:a.strid,srcname:i.canvas.clipboard.sheetName,isshape:s},(h=new FormData).set("p",JSON.stringify(l)),h.set("uid",i.uniqueid),e.next=12,fetch(i.imageCopyUrl,{method:"POST",body:h});case 12:if((c=e.sent).ok){e.next=15;break}throw"upload copy image fail";case 15:return e.next=17,c.json();case 17:if(u=e.sent,u=JSON.parse(u)){e.next=21;break}throw"upload copy image return null ";case 21:if(!u.Error){e.next=23;break}throw u.Error;case 23:delete u.width,delete u.height,n.images||(n.images=[]),Object.assign(a,u),a.left=t.left-o.left,a.top=t.top-o.top,s?n.shapes.push(a):n.images.push(a),delete u.type,Object.assign(t,u),a.fabobj=t,"RadioButton"===a.type&&(a.v=!1),t.imgType=a.type,t.id=a.getIdtick(u.id,u.tick),t.strid=u.strid,t.zorder=i.data.topOrder++,$a(i,t,a),t.changed=!0;case 40:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"setImageEventAndLayout",value:function(e){"Chart"===e.imgType&&e.setControlsVisibility({mtr:!1}),this.sheet.canvas.setSelectionLayout(e),this.sheet.canvas.eventsOn(e,this.sheet.canvas.imgEvents)}},{key:"reactiveObj",value:function(e){var t=this.canvas,i=this.sheet,n=i.data;if(n.canvasFreeze){var r=n.canvasFreeze,a=r.br,o=r.bl,s=r.tr,l=r.tl;[a,o,s,l].forEach((function(t){t.discardActiveObject(),t.setActiveObject(t.getObjects().find((function(t){return t.id===e.id}))),t.requestRenderAll(),i.canvas.saveCanvasData(n,t),i.canvas.saveOriginalAngleInfoOfImage(l)}))}else t.discardActiveObject(),t.setActiveObject(e),t.requestRenderAll(),i.canvas.saveCanvasData(n,t),i.canvas.saveOriginalAngleInfoOfImage(t)}}]),a}(Oa),function(e){me()(i,e);var t=za(i);function i(){var e;c()(this,i);for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r)),X()(nr()(e),"name","copy"),e}return o()(i,[{key:"execute",value:function(e){var t=e.canvas.fabric;if(t.getActiveObject()){var i=t;e.data.canvasFreeze&&(i=e.data.canvasFreeze.tl),i.getActiveObject().clone((function(t){e.canvas.clipboard={clonedObj:t,newData:Da({},e.canvas.findObjByData(t.id,e.data)),sheetName:e.data.name}}),["id","tick","imgType","zorder","strid"])}}}]),i}(Oa)],Fa=function(){function e(t){var i=this;c()(this,e),X()(this,"freezeXY",void 0),X()(this,"imageCanvas",void 0),X()(this,"freezeEvents",{"object:rotating":function(e){return function(t){i.imageCanvas.pubSub.publish("object:rotating",t,e)}},"object:moving":function(e){return function(t){i.imageCanvas.pubSub.publish("object:moving",t,e)}},"object:scaling":function(e){return function(t){i.imageCanvas.pubSub.publish("object:scaling",t,e)}},"selection:created":function(e){return function(t){i.imageCanvas.pubSub.publish("selection:created",t,e)}},"selection:cleared":function(e){return function(t){i.imageCanvas.pubSub.publish("selection:cleared",t,e)}},"selection:updated":function(e){return function(t){i.imageCanvas.pubSub.publish("selection:updated",t,e)}}}),this.imageCanvas=t;var n=t.canvasId,r=t.sheet.getTableOffset(),a=t.sheet.data,o=t.sheet;if(!a.displayRight2Left){var s=a.freezeTotalWidth()+r.left/o.table.zoomlevel,l=a.freezeTotalHeight()+r.top/o.table.zoomlevel;if(this.freezeXY={},this.freezeXY.x=s,this.freezeXY.y=l,JSON.stringify(a.freeze)!==JSON.stringify([0,0])&&!a.canvasFreeze){t.pubSub=t.initPubSub();var h=t.fabric;h.off("object:moving",t.canvasEvents["object:moving"]),h.set("canvasName","br");var u=this.createCanvas(o.overlayerEl,"bl",s,h.height,n+"-clip-bl"),d=this.createCanvas(o.overlayerEl,"tr",h.width,l,n+"-clip-tr"),f=this.createCanvas(o.overlayerEl,"tl",s,l,n+"-clip-tl");this.setEventAndClipPath(h,d,u,f);for(var v=0;v<document.getElementsByClassName("canvas-container").length;v++)document.getElementsByClassName("canvas-container")[v].setAttribute("style","position:absolute");a.originFreezeSize={tl:{width:f.width,height:f.height},bl:{width:u.width,height:u.height},tr:{width:d.width,height:d.height},br:{width:h.width,height:h.height}},a.canvasFreeze={tl:f,bl:u,tr:d,br:h},this.setZoom(this.imageCanvas.sheet.table.zoomlevel)}}}return o()(e,[{key:"getFreezeCanvasClipPath",value:function(e,t,i){var n=this.freezeXY,r=this.imageCanvas.sheet,a=this.imageCanvas.tOffset;a.left/=r.data.zoomlevel,a.top/=r.data.zoomlevel;var o=new _a.fabric.Rect({width:n.x,height:t.height-n.y,top:n.y,left:a.left}),s=new _a.fabric.Rect({width:n.x,height:n.y,left:a.left,top:a.top}),l=new _a.fabric.Rect({width:e.width-n.x,height:n.y,left:n.x,top:a.top}),h=new _a.fabric.Rect({width:i.width-n.x,height:i.height-n.y,left:n.x,top:n.y});return function(e){var t;switch(e){case"tr":t=l;break;case"bl":t=o;break;case"tl":t=s;break;default:t=h}return t}}},{key:"getOffsetsBetweenCanvases",value:function(e,t){var i=this.imageCanvas.data,n=i.scroll,r=i.displayRight2Left?n.x:-n.x,a=-n.y,o={offsetX:0,offsetY:0};switch(e+t){case"tlbl":case"trbr":o={offsetX:0,offsetY:-a};break;case"bltl":case"brtr":o={offsetX:0,offsetY:a};break;case"tltr":case"blbr":o={offsetX:-r,offsetY:0};break;case"brbl":case"trtl":o={offsetX:r,offsetY:0};break;case"trbl":o={offsetX:r,offsetY:-a};break;case"tlbr":o={offsetX:-r,offsetY:-a};break;case"bltr":o={offsetX:-r,offsetY:a};break;case"brtl":o={offsetX:r,offsetY:a}}return o}},{key:"setIndividualCanvasesToMoveInSync",value:function(e,t,i,n){var r=this.imageCanvas.findObjInCanvas(e,t.target.id);if(r){var a=this.getOffsetsBetweenCanvases(n,e.canvasName);r.set({left:t.target.left-a.offsetX,top:t.target.top-a.offsetY}),r.set(i),this.imageCanvas.edgeCollision(r,e.canvasName),r.dirty=!0,to(this.imageCanvas.data,r),e.renderAll()}}},{key:"setEventAndClipPath",value:function(e,t,i,n){var r=this;[e,t,i,n].forEach((function(e){var t=Object.keys(r.freezeEvents).map((function(t){return[t,r.freezeEvents[t](e.canvasName)]}));t=Object.fromEntries(t),r.imageCanvas.eventsOn(e,t)}));var a=this.getFreezeCanvasClipPath(t,i,e);this.freezeClipPath=a,[e,t,i,n].forEach((function(e){e.clipPath=a(e.canvasName),r.subscribeObjectEvent(e),r.subscribeSelectionEvent(e),r.subscribeCustomEvent(e,a)}))}},{key:"updateCanvasAllObjectAndRenderAll",value:function(e,t){e.getObjects().forEach(t),e.renderAll()}},{key:"subscribeObjectEvent",value:function(e){var t=this;this.imageCanvas.pubSub.subscribe("object:rotating",(function(i,n){var r={angle:i.target.angle};t.setIndividualCanvasesToMoveInSync(e,i,r,n)})),this.imageCanvas.pubSub.subscribe("object:moving",(function(i,n){var r=n===e.canvasName?{left:i.target.left,top:i.target.top}:{};t.setIndividualCanvasesToMoveInSync(e,i,r,n)})),this.imageCanvas.pubSub.subscribe("object:scaling",(function(i,n){var r={scaleX:i.target.scaleX,scaleY:i.target.scaleY};t.setIndividualCanvasesToMoveInSync(e,i,r,n)}))}},{key:"getOffsetWhenIndividualCanvasMovement",value:function(e){var t,i=this.imageCanvas.data,n=i.scroll,r=i.displayRight2Left?n.x:-n.x,a=-n.y;switch(e){case"tr":t={x:r,y:0};break;case"bl":t={x:0,y:a};break;case"br":t={x:r,y:a};break;default:t={x:0,y:0}}return t}},{key:"subscribeCustomEvent",value:function(e,t){var i=this;this.imageCanvas.pubSub.subscribe("reset",(function(){var t=i.getOffsetWhenIndividualCanvasMovement(e.canvasName);i.updateCanvasAllObjectAndRenderAll(e,(function(e){e.set({left:e.left-t.x,top:e.top-t.y}),e.setCoords(),e.dirty=!0}))})),this.imageCanvas.pubSub.subscribe("object:scroll",(function(t){i.imageCanvas.data.canvasData;var n=i.getOffsetWhenIndividualCanvasMovement(e.canvasName);e.getObjects().forEach((function(e){e.set({left:e.infoX+n.x,top:e.infoY+n.y}),e.setCoords()})),e.renderAll()}))}},{key:"clearFreeze",value:function(e){if(e.canvasFreeze){this.imageCanvas.eventsOff(this.imageCanvas.fabric,this.freezeEvents);var t=this.imageCanvas.canvasId;document.querySelectorAll('[id^="'.concat(t,'-clip-"]')).forEach((function(e){var i=document.querySelector('[id^="'.concat(t,'-clip-"]'));i&&i.fabricCanvas.dispose(),e.remove()}));var i={width:this.imageCanvas.fabric.width,height:this.imageCanvas.fabric.height,top:this.imageCanvas.tOffset.top/this.imageCanvas.sheet.table.zoomlevel,left:this.imageCanvas.tOffset.left/this.imageCanvas.sheet.table.zoomlevel};this.imageCanvas.fabric.clipPath=new _a.fabric.Rect(i),this.imageCanvas.eventsOn(this.imageCanvas.fabric,this.imageCanvas.canvasEvents),this.imageCanvas.pubSub=this.imageCanvas.initPubSub(),this.imageCanvas.pubSub.subscribe("object:scroll",this.imageCanvas.customEvents["object:scroll"]),this.imageCanvas.fabric.renderAll(),e.canvasFreeze=void 0}}},{key:"setZoom",value:function(e){var t=this.imageCanvas,i=t.data,n=(t.fabric,t.tOffset,i.originFreezeSize);this.foreachFreezeCanvas((function(t){t.setZoom(e),t.renderAll()})),this.foreachFreezeCanvas((function(t){t.setWidth(n[t.canvasName].width*e),t.setHeight(n[t.canvasName].height*e)}),"br")}},{key:"resize",value:function(){var e=this.imageCanvas,t=e.data,i=(e.fabric,t.canvasFreeze),n=(i.tl,i.bl),r=i.tr,a=i.br,o=this.getFreezeCanvasClipPath(r,n,a);this.foreachFreezeCanvas((function(e){e.clipPath=o(e.canvasName),e.renderAll()}))}},{key:"delAllEvent",value:function(){this.foreachFreezeCanvas((function(e){e.removeListeners()}))}},{key:"subscribeSelectionEvent",value:function(e){var t=this;this.imageCanvas.pubSub.subscribe("selection:created",(function(i,n){if(n!==e.canvasName){t.imageCanvas.checkHyperlink(t.imageCanvas.data.canvasFreeze.br)&&!i.e.ctrlKey&&t.imageCanvas.openLink(t.imageCanvas.data);var r=t.imageCanvas.findObjInCanvas(e,i.target.id);e._setActiveObject(r),e.renderAll()}})),this.imageCanvas.pubSub.subscribe("selection:cleared",(function(t,i){i!==e.canvasName&&(e._discardActiveObject(),e.renderAll())})),this.imageCanvas.pubSub.subscribe("selection:updated",(function(i,n){var r;if(n!==e.canvasName){var a=t.imageCanvas.findObjInCanvas(e,i.target.id);(null===(r=e.getActiveObject())||void 0===r?void 0:r.id)!==a.id&&(e._setActiveObject(a),e.renderAll())}}))}},{key:"setObjectOrderAndChangedInAllCanvas",value:function(e,t){var i=this;++e.topOrder,Object.keys(e.canvasFreeze).forEach((function(n){var r=i.imageCanvas.findObjInCanvas(e.canvasFreeze[n],t.id);r&&(r.changed=!0,i.imageCanvas.sendImageToFont(e.canvasFreeze[n],r),t.zorder=r.zorder=e.topOrder,"TextBox"===t.imgType&&n!==t.canvas.canvasName&&(r.width=t.width,r.height=t.height,r.scaleX=1,r.scaleY=1),e.canvasFreeze[n].renderAll())}))}},{key:"setOrderAndSaveData",value:function(e){var t=this.imageCanvas.data;this.setObjectOrderAndChangedInAllCanvas(t,e),this.imageCanvas.saveOriginalAngleInfoOfImage(t.canvasFreeze.br),this.imageCanvas.saveCanvasData(t,t.canvasFreeze.br)}},{key:"loadFreezeImage",value:function(){var e=this.imageCanvas.data;if(e.canvasFreeze){var t=e.canvasFreeze,i=t.tl,n=t.bl,r=t.tr;this.imageCanvas.rerenderCanvasBySavedJson(n,{x:0,y:0},n.clipPath),this.imageCanvas.rerenderCanvasBySavedJson(r,{x:0,y:0},r.clipPath),this.imageCanvas.rerenderCanvasBySavedJson(i,{x:0,y:0},i.clipPath)}}},{key:"createCanvas",value:function(e,t,i,n,r){var a=document.createElement("canvas");a.width=i,a.height=n,a.setAttribute("id",r),e.children(a),window.mobileAndTabletCheck()&&(_a.fabric.Object.prototype.selectable=!1);var o=new _a.fabric.Canvas(r);return o.set("canvasName",t),a.fabricCanvas=o,this.imageCanvas.initFabric(o),o}},{key:"removeImage",value:function(e){this.foreachFreezeCanvas((function(t){t.remove(t.getObjects()[t.getObjects().findIndex((function(t){return t.id===e}))])}),"br")}},{key:"setDirty",value:function(e){this.foreachFreezeCanvas((function(t){t.getObjects().find((function(t){return t.id===e})).dirty=!0,t.requestRenderAll()}))}},{key:"setVisible",value:function(e,t){this.foreachFreezeCanvas((function(i){var n=i.getObjects().find((function(t){return t.id===e}));n&&(n.visible=t)}))}},{key:"setControlable",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.foreachFreezeCanvas((function(n){var r=n.getObjects().find((function(t){return t.id===e}));r&&(eo(r,t,i),t&&n.setActiveObject(r))}))}},{key:"setFilter",value:function(e,t){this.foreachFreezeCanvas((function(i){var n=i.getObjects().find((function(t){return t.id===e}));n.filters[0]=t,n.applyFilters()}))}},{key:"setCustomHighlight",value:function(e,t,i){this.foreachFreezeCanvas((function(n){var r=n.getObjects().find((function(t){return t.id===e}));i(t,r)}))}},{key:"setOrder",value:function(){this.foreachFreezeCanvas((function(e){null!=e&&e.getObjects().find((function(e){return!e.zorder}))||e.getObjects().sort((function(e,t){return e.zorder<t.zorder?-1:1})).forEach((function(t){e.bringToFront(t)}))}))}},{key:"saveCanvasData",value:function(){var e=this,t=this.imageCanvas.data;this.foreachFreezeCanvas((function(i){e.imageCanvas.saveCanvasData(t,i)}))}},{key:"setCursor",value:function(e){this.foreachFreezeCanvas((function(t){t.defaultCursor=e}))}},{key:"renderAll",value:function(){this.foreachFreezeCanvas((function(e){e.renderAll()}))}},{key:"foreachFreezeCanvas",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=this.imageCanvas.data;if(r.canvasFreeze){var a=r.canvasFreeze,o=a.tl,s=a.bl,l=a.tr,h=a.br;[o,s,l,h].forEach((function(t){i.includes(t.canvasName)||e(t)}))}}}]),e}();function La(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ja=function(){function e(){c()(this,e),this.subscribers=[]}return o()(e,[{key:"subscribe",value:function(e,t){var i=this.subscribers[e];i?i.push(t):this.subscribers[e]=[t]}},{key:"publish",value:function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=this.subscribers[e]||[];r.forEach((function(e){return e.apply(void 0,i)}))}}]),e}(),Ha=function(e,t){return"p_".concat(e,"_").concat(t)},Na=function(e,t){return"s_".concat(e,"_").concat(t)},Ua=function(e){this.visible=e,this.fabobj.visible=e;var t=this.getIdtick();this.inFreeze.setVisible(t,e),this.setDirty()},Xa=function(){this.fabobj.set("dirty",!0),this.fabobj.canvas.requestRenderAll();var e=this.getIdtick();this.inFreeze.setDirty(e)},Wa=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.fabobj;this.controlable=e,eo(i,e,t),i.canvas?(e&&i.canvas.setActiveObject(i),i.canvas.requestRenderAll()):console.error("todo:this.fabobj canvas not find may appear in freezepane as it not sync:"+i.id);var n=this.getIdtick();this.inFreeze.setControlable(n,e,t)},Ya=function(e){if(this.fabobj.filters){this.fabobj.filters[0]=e,this.fabobj.applyFilters();var t=this.getIdtick();this.inFreeze.setFilter(t,e)}else e&&console.info("unsupport highlight for control:"+this.type)},Va=function(e,t){t(e,this.fabobj);var i=this.getIdtick();this.inFreeze.setCustomHighlight(i,e,t)},Ga=function(e,t){this.showhighlight=e,t&&(this.hstyle=t),this.setDirty()},Ka=function(){delete this.showhighlight,delete this.hstyle,this.setDirty()},Za=function(){return"Picture"===this.type?Ha(this.id,this.tick):Na(this.id,this.tick)},Ja=function(e,t,i,n,r){var a,o,s;return{tick:e.tick,width:e.width,height:e.height,top:e.top+n.top/r,left:i+n.left/r,"z-index":t+e.zorder,originAngle:e.originAngle,rotate:e.angle,imgType:e.type,strid:e.strid,text:e.text,html:e.html,hyperlink:e.hyperlink,zorder:e.zorder,fromOutside:null!==(a=e.fromOutside)&&void 0!==a&&a,scaleX:null!==(o=e.scaleX)&&void 0!==o?o:1,scaleY:null!==(s=e.scaleY)&&void 0!==s?s:1}},$a=function(e,t,i){var n=e.data;(i.fabobj=t,t.shape=i,"read"===n.settings.mode&&eo(t,!1,!0),"CellsDrawing"!==i.type&&"Oval"!==i.type&&"Picture"!==i.type&&(i.controlable=!1,eo(t,!1,"read"===n.settings.mode)),"TextBox"===t.imgType&&(t.drawObject=so,t.on("modified",lo)),i.control)&&(console.log("fabObjSetForShapeRestore shape id:"+i.id+" linked shape id:"+i.scontrol.el.shape.id+" is equal:"+(i.id===i.scontrol.el.shape.id)),i.scontrol.el.shape=i,e.imageDiv.append(i.control.el))},Qa=function(e){window.lastcontrol&&window.lastshape&&(window.lastcontrol.hide(),window.lastshape.setVisible(!0),console.log("####lastshape at restoreControlShape "+window.lastshape.id),delete window.lastcontrol,delete window.lastshape)},eo=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.selectable=t,e.hoverCursor=t?"move":"pointer",t?(e.lockMovementX=!1,e.lockMovementY=!1,e.lockScalingX=!1,e.lockScalingY=!1,e.lockRotation=!1,e.hasControls=!0):(e.lockMovementX=!0,e.lockMovementY=!0,e.lockScalingX=!0,e.lockScalingY=!0,e.lockRotation=!0,e.hasControls=!0),i&&(e.hasControls=!0,e.selectable=!0)},to=function(e,t){var i=e.scroll,n=e.displayRight2Left?i.x:-i.x,r=-i.y;t.infoX=t.left-n,t.infoY=t.top-r},io=function(e,t){t.width===e.width&&t.height===e.height||(e.originWidth=t.width,e.originHeight=t.height,t.set({scaleX:e.width/t.width,scaleY:e.height/t.height}))},no=function(e,t){var i=e.canvas,n=i.findObjInCanvas(i.fabric,"loadingGif");n?(t.left=n.left,t.top=n.top,t.infoY=n.infoY,t.infoX=n.infoX,i.removeLoading(e),console.log("find loading gif top is:"+t.top)):console.log("cannot find loading gif id is:"+t.id)};function ro(e){return"TextBox"===e||"CheckBox"===e||"RadioButton"===e||"ComboBox"===e||"Spinner"===e||"SpinButton"===e}function ao(e,t,i){if(t.lc){var n=l()(t.lc,2),r=n[0],a=n[1];e.data.shapes.forEach((function(e){if(e.id!==t.id&&e.type==t.type&&e.lc){var n=l()(e.lc,2),o=n[0],s=n[1];o===r&&s===a&&(e.v=i,e.changed=!0,e.setDirty())}}))}}function oo(e,t){var i=e.width,n=e.height,r=e.shape,a=r.lp,o=r.rp,s=r.tp,l=r.bp;t.translate(-i/2,-n/2);var h=new Ht(0,0,i,n,10);h.setPading(a,o,s,l);var c=new Zt(t,i,n),u=1/Bt();return c.scale(u,u),c.scale(u,u),c.rect3(h,r),[c,h]}var so=function(e,t){var i=this.shape;e.save();var n=oo(this,e),r=l()(n,2),a=r[0],o=r[1];i.ishideText||a.richtext(i,o,i.align,i.valign,i.wrap,i.getHighlight()),e.restore()},lo=function(e){var t=this.getScaledWidth(),i=this.getScaledHeight();this.scaleX=1,this.scaleY=1,this.width=t,this.height=i,this.shape.originWidth=t,this.shape.originHeight=i,this.shape.setDirty()};function ho(e,t,i,n,r){var a=e.canvas,o=e.data,s=r.inFreeze,l=r.canvasEvents;t?(t.fabobj=n,n.shape=t,t.inFreeze=s,t.setVisible=Ua,t.setDirty=Xa,t.setControlable=Wa,t.setFilter=Ya,ro(i.imgType)||(t.setCustomHighlight=Va),"CheckBox"!==i.imgType&&"RadioButton"!==i.imgType&&"ComboBox"!==i.imgType&&"Spinner"!==i.imgType&&"SpinButton"!==i.imgType||(t.setHighlight=Ga,t.clearHighlights=Ka),t.getIdtick=Za,i.id||(i.id=t.getIdtick()),i.width?(i.fromOutside&&(delete i.width,delete i.height),n.set(i),n.angle=0):(n.scaleToWidth(i.scaleToWidth),n.scaleToHeight(i.scaleToHeight),n.set(i),t.fromOutside=!0,t.scaleX=n.scaleX,t.scaleY=n.scaleY),"Chart"===i.imgType&&n.setControlsVisibility({mtr:!1}),a.setSelectionLayout(n),a.eventsOn(n,a.imgEvents),a.eventsOn(a,l)):n.set(i);var h="read"===o.settings.mode;eo(n,!1,h)}_a.fabric.RadioRect=_a.fabric.util.createClass(_a.fabric.Rect,{type:"radio-rect",initialize:function(e){e||(e={}),this.callSuper("initialize",e),this.set("label",e.label||""),this.on("modified",lo),this.set("selected",e.selected||!1),this.set("radius",e.radius||8),this.set("ischeckbox",e.ischeckbox||!1)},toObject:function(){return _a.fabric.util.object.extend(this.callSuper("toObject"),{label:this.get("label"),selected:this.get("selected"),radius:this.get("radius"),ischeckbox:this.get("ischeckbox"),id:this.id,tick:this.tick,imgType:this.imgType,zorder:this.zorder,strid:this.strid,selectable:this.selectable,hoverCursor:this.hoverCursor,infoX:this.infoX,infoY:this.infoY})},_render:function(e){var t=this.width,i=this.height,n=this.shape,r=this.radius,a=this.ischeckbox,o=this.label;e.save(),n.showhighlight&&(e.fillStyle=n.hstyle.color,e.fillRect(-t/2,-i/2,t,i),e.fill()),e.beginPath(),e.strokeStyle="#333",a?(e.strokeRect(-t/2+r/2+5,0-r/2,r,r),e.stroke()):(e.arc(-t/2+r/2+5,0,r,0,2*Math.PI,!1),e.stroke()),n.v&&(e.beginPath(),this.ischeckbox?e.arc(-t/2+r+5,0,r/2-3,0,2*Math.PI,!1):e.arc(-t/2+r/2+5,0,r-3,0,2*Math.PI,!1),e.fillStyle="#000",e.fill());var s=oo(this,e),h=l()(s,2),c=h[0],u=h[1];""!==o&&c.text(o,u,{align:"left",valign:"middle",font:{name:"arial",size:12},color:"#333"},!0,[]),e.restore()}}),_a.fabric.RadioRect.fromObject=function(e,t){return _a.fabric.Object._fromObject("RadioRect",e,t)},_a.fabric.ComboRect=_a.fabric.util.createClass(_a.fabric.Rect,{type:"combo-rect",initialize:function(e){e||(e={}),this.callSuper("initialize",e),this.set("label",e.label||""),this.on("modified",lo)},toObject:function(){return _a.fabric.util.object.extend(this.callSuper("toObject"),{label:this.get("label"),id:this.id,tick:this.tick,imgType:this.imgType,zorder:this.zorder,strid:this.strid,selectable:this.selectable,hoverCursor:this.hoverCursor,infoX:this.infoX,infoY:this.infoY})},_render:function(e){var t=this.width,i=this.height,n=this.shape;e.save(),e.translate(-t/2,-i/2),e.rect(0,0,t,i),e.clip(),e.fillStyle=n.showhighlight?n.hstyle.color:"#FFF",e.fillRect(0,0,t,i),e.strokeStyle="#000",e.strokeRect(0,0,t,i),e.beginPath(),e.strokeStyle="#333",e.font="10px arial",e.fillStyle="#333",e.fillText(this.shape.v,2,i/2),e.fillStyle="lightgray",e.fillRect(t-20,0,20,i),e.fillStyle="#003",e.beginPath(),e.moveTo(t-18,i/3),e.lineTo(t-2,i/3),e.lineTo(t-10,2*i/3),e.closePath(),e.fill(),e.restore()}}),_a.fabric.ComboRect.fromObject=function(e,t){return _a.fabric.Object._fromObject("ComboRect",e,t)},_a.fabric.SpinRect=_a.fabric.util.createClass(_a.fabric.Rect,{type:"spin-rect",initialize:function(e){e||(e={}),this.callSuper("initialize",e)},toObject:function(){return _a.fabric.util.object.extend(this.callSuper("toObject"),{id:this.id,tick:this.tick,imgType:this.imgType,zorder:this.zorder,strid:this.strid,selectable:this.selectable,hoverCursor:this.hoverCursor,infoX:this.infoX,infoY:this.infoY})},_render:function(e){var t=this.width,i=this.height,n=this.shape;e.save(),e.translate(-t/2,-i/2),e.rect(0,0,t,i),e.clip(),e.fillStyle=n.showhighlight?n.hstyle.color:"#FFF",e.fillRect(0,0,t,i),e.strokeStyle="#000",e.strokeRect(0,0,t,i),e.beginPath(),e.moveTo(0,i/2),e.lineTo(t,i/2),e.stroke(),e.beginPath(),e.moveTo(t/2,i/10*2),e.lineTo(3*t/4,i/10*3),e.lineTo(t/4,i/10*3),e.closePath(),e.fillStyle="black",e.fill(),e.beginPath(),e.moveTo(t/4,i/10*7),e.lineTo(3*t/4,i/10*7),e.lineTo(t/2,i/10*8),e.closePath(),e.fillStyle="black",e.fill(),e.restore()}}),_a.fabric.SpinRect.fromObject=function(e,t){return _a.fabric.Object._fromObject("SpinRect",e,t)};var co=function(e){me()(i,e);var t=La(i);function i(){var e;c()(this,i),e=t.call(this,"canvas"),X()(nr()(e),"imgEvents",{mouseup:function(t){var i=nr()(e).sheet,n=i.data,r=t.target;if(!window.mobileAndTabletCheck()){var a=r.canvas;a||(a=e.fabric),n.canvasFreeze?e.inFreeze.setOrderAndSaveData(r):(r.changed=!0,e.sendImageToFont(a,r),r.zorder=++n.topOrder,e.findObjInCanvas(a,r.id).zorder=r.zorder,e.saveOriginalAngleInfoOfImage(a),e.saveCanvasData(n,a)),i.selector.setObjId(r.id);var o=i.selector.getObj();o&&o.loaded&&(i.trigger("object-selected",o),"edit"===n.settings.mode&&"Chart"!==n.type?2===t.e.button?o.setControlable(!0):0===t.e.button&&(o.singleClick&&!o.controlable&&o.singleClick(t.e),to(n,o.fabobj)):"read"===n.settings.mode&&"TextBox"===o.type&&0===t.e.button&&n.settings.allowSelectTextInTextBoxInReadMode&&i.setEditForTextBox(o,!0,!1),2===t.e.button&&(a.getActiveObject()||a.setActiveObject(o.fabobj),i.contextMenu.setPosition(t.e.offsetX,t.e.offsetY)))}},mousedown:function(t){window.mobileAndTabletCheck()||(e.sheet.selector.hide(),e.sheet.editor.clear(),e.sheet.focusing=!1,null==t||t.e.stopPropagation()),Qa(t.target)},mousedblclick:function(t){if(!window.mobileAndTabletCheck()){var i=t.target,n=nr()(e).sheet;if("OleObject"===i.imgType)n.getOle(i.strid);else if("TextBox"===i.imgType){var r=e.findShape(i.id,n.data);n.setEditForTextBox(r),e.fabric.discardActiveObject().requestRenderAll()}}},mousemove:function(t){var i=e.findObjByData(t.target.id,e.sheet.data);i&&i.hyperlink?e.fabric.hoverCursor="pointer":e.fabric.hoverCursor="move"}}),X()(nr()(e),"pausePanning",!1),X()(nr()(e),"canvasEvents",{"mouse:move:before":function(){e.sheet.data.canvasFreeze&&e.sheet.data.canvasFreeze.tl.getObjects().length!==e.sheet.data.canvasFreeze.br.getObjects().length&&e.inFreeze.loadFreezeImage()},"object:moving":function(t){e.edgeCollision(t.target,"canvas")},"selection:created":function(t){e.checkHyperlink(e.fabric)&&!t.e.ctrlKey&&e.openLink(e.data)}}),X()(nr()(e),"customEvents",{"object:scroll":function(){if(e.data&&e.sheet.isLoaded()){var t=e.data,i=t.scroll,n=t.displayRight2Left,r=(t.canvasData,n?i.x:-i.x),a=-i.y;e.fabric.getObjects().forEach((function(e){e.set({left:e.infoX+r,top:e.infoY+a}),e.setCoords()})),e.fabric.renderAll()}}}),X()(nr()(e),"tOffset",void 0),X()(nr()(e),"data",void 0),X()(nr()(e),"fabric",void 0),X()(nr()(e),"freeze",void 0),X()(nr()(e),"freezeXY",{x:0,y:0}),X()(nr()(e),"pubSub",void 0),X()(nr()(e),"sheet",void 0),X()(nr()(e),"basicZorder",void 0),X()(nr()(e),"canvasId","canvas_".concat((new Date).getTime())),X()(nr()(e),"imageOperationList",{}),e.attr("id",e.canvasId),e.pubSub=e.initPubSub(),Pa.forEach((function(t){var i=new t;e.imageOperationList[i.name]=i}));var n=nr()(e),r=function(e){window.mobileAndTabletCheck()||n.resize(e)};return Fe(window,"resize",r),e.delWindowEvent=function(){Le(window,"resize",r),e.fabric.removeListeners(),e.inFreeze.delAllEvent()},e}return o()(i,[{key:"publishEvent",value:function(e,t){this.pubSub.publish(e,t)}},{key:"initPubSub",value:function(){return new ja}},{key:"setCursor",value:function(e){this.sheet.data.canvasFreeze?this.inFreeze.setCursor(e):this.fabric.defaultCursor=e}},{key:"doNewSheetPage",value:function(e){var t;this.fabric.clear(),null===(t=this.inFreeze)||void 0===t||t.clearFreeze(e)}},{key:"doSwitchSheetPage",value:function(e){var t,i=this;this.sheet.selector.el.show();setTimeout((function e(){var t,n,r,a;i.sheet.canvas.fabric.getObjects().length===(null!==(t=null===(n=i.sheet.data.images)||void 0===n?void 0:n.length)&&void 0!==t?t:0)+(null!==(r=null===(a=i.sheet.data.shapes)||void 0===a?void 0:a.length)&&void 0!==r?r:0)?i.doEndSwitchSheetPage():setTimeout(e,200)}),200);null===(t=this.inFreeze)||void 0===t||t.clearFreeze(e)}},{key:"doEndSwitchSheetPage",value:function(){var e;this.setOrder(this.fabric),null===(e=this.sheet.canvas.inFreeze)||void 0===e||e.setOrder()}},{key:"initFreeze",value:function(){this.inFreeze=new Fa(this)}},{key:"rerenderCanvasBySavedJson",value:function(e,t,i,n){var r=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this.sheet;if(!this.data.canvasData||!this.fabric)return this.data.isRestoreFromCanvas=!1,void(n&&n());this.initFreeze();var s=JSON.parse(this.data.canvasData);delete s.clipPath,this.loadFromCanvasData(JSON.stringify(s),(function(e,i){if(i.set({left:e.left+t.x,top:e.top+t.y}),a){"TextBox"===i.imgType&&(i.drawObject=so);var n=r.findObjByData(e.id,r.data);i.shape=n}else{"Chart"===i.imgType&&i.setControlsVisibility({mtr:!1}),r.setSelectionLayout(i),r.eventsOn(i,r.imgEvents);var s=r.findObjByData(e.id,r.data);s&&(o.visibleFilter&&(i.visible=o.visibleFilter(o,s)),$a(o,i,s))}}),e,(function(){e.clipPath=i,n&&n()})),e.requestRenderAll()}},{key:"findObjInCanvas",value:function(e,t){return e.getObjects().find((function(e){return e.id===t}))}},{key:"recordCanvasData",value:function(e,t){var i,n,r=e.aCoords,a=this.tOffset,o=this.findObjByData(e.id,t);if(o){var s=r.tl.x+(r.tr.x-r.tl.x)/2-a.left,l=r.tl.y+(r.bl.y-r.tl.y)/2-a.top;o.centerX||(o.centerX=s),o.centerY||(o.centerY=l),o.currentCenterX=s,o.currentCenterY=l;var h=t.getCellRectByXY(r.tl.x,r.tl.y);o.width=o.originWidth*e.scaleX,o.height=o.originHeight*e.scaleY,o.scaleX=e.scaleX,o.scaleY=e.scaleY,o.top=e.top-a.top/t.zoomlevel+t.scroll.y,o.left=e.left-a.left/t.zoomlevel+t.scroll.x,o.row=null==h?void 0:h.ri,o.col=null==h?void 0:h.ci,o.changed=null!==(i=e.changed)&&void 0!==i&&i,o.zorder=null!==(n=e.zorder)&&void 0!==n?n:t.topOrder}}},{key:"edgeCollision",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"canvas",i=this.data,n=this.tOffset,r=n.top/i.zoomlevel,a=n.left/i.zoomlevel;0!==i.scroll.y&&["br","bl"].includes(t)&&(r-=i.scroll.y),0!==i.scroll.x&&["br","tr"].includes(t)&&(a-=i.scroll.x),e.setCoords();var o=e.getBoundingRect().top/i.zoomlevel,s=e.getBoundingRect().left/i.zoomlevel;(o<r||s<a)&&(e.top=Math.max(e.top,e.top-o+r),e.left=Math.max(e.left,e.left-s+a))}},{key:"init",value:function(e){var t=this;this.tOffset=e.getTableOffset();var i=this.tOffset;this.attr("width",i.width+i.left),this.attr("height",i.height+i.top),this.sheet=e,this.fabric=new _a.fabric.Canvas(this.canvasId),this.clipPath({width:this.fabric.width,height:this.fabric.height,top:this.tOffset.top/e.data.zoomlevel,left:this.tOffset.left/e.data.zoomlevel});var n=0,r=setInterval((function(){(e.data.isImageOk||300===n)&&(t.onSheetImageLoaded(),clearInterval(r)),n++}),200);this.initFabric(this.fabric),this.pubSub.subscribe("object:scroll",this.customEvents["object:scroll"])}},{key:"initFabric",value:function(e){var t=this.canvasEvents;window.mobileAndTabletCheck()&&(_a.fabric.Object.prototype.selectable=!1),e.fireRightClick=!0,_a.fabric.Object.prototype.objectCaching=!0,this.eventsOn(e,t),e.selection=!1,window.mobileAndTabletCheck()&&e.removeListeners()}},{key:"onSheetImageLoaded",value:function(){this.setOrder(this.sheet.canvas.fabric),this.inFreeze.setOrder()}},{key:"resetFreeze",value:function(e){var t,i=l()(e.freeze,2),n=i[0],r=i[1];0===n&&0===r?null===(t=this.inFreeze)||void 0===t||t.clearFreeze(e):this.initFreeze()}},{key:"reset",value:function(e){var t=this.sheet.imageDiv;this.data=e,this.fabric.clear(),t.empty(),t.css("left",0),t.css("top",0),this.initFreeze(),this.freezeXY=this.inFreeze.freezeXY,e.isImageOk&&(e.isRestoreFromCanvas=!0,e.isRestoreFromCanvasReady=!1,this.inFreeze.loadFreezeImage(),this.rerenderCanvasBySavedJson(this.fabric,{x:0,y:0},this.fabric.clipPath))}},{key:"resetForFreeze",value:function(e){e.isImageOk&&this.inFreeze.loadFreezeImage()}},{key:"doResetPosition",value:function(e){0===e&&this.pubSub.publish("reset")}},{key:"saveOriginalAngleInfoOfImage",value:function(e){var t=this,i={};e.getObjects().forEach((function(e){i[e.id]=e.angle,t.rotateObject(e,0)})),e.renderAll(),e.getObjects().forEach((function(e){t.recordCanvasData(e,t.sheet.data),t.setDataAngle(e,i[e.id],t.sheet.data),t.rotateObject(e,i[e.id])})),e.renderAll()}},{key:"setDataAngle",value:function(e,t,i){var n=this.findObjByData(e.id,i);n&&(n.angle=t)}},{key:"setInfoXY",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.fabric,t=this.data,i=t.scroll,n=t.displayRight2Left;i.x,i.y;e.getObjects().forEach((function(e){to(t,e)}))}},{key:"clipPath",value:function(e){this.fabric.clipPath=new _a.fabric.Rect(e)}},{key:"eventsOn",value:function(e,t){for(var i in t)e.on(i,t[i])}},{key:"eventsOff",value:function(e,t){for(var i in t)e.off(i,t[i])}},{key:"saveCanvasData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.fabric;this.sheet;if(t){var i=t.toDatalessJSON(["id","tick","imgType","zorder","strid","selectable","hoverCursor","infoX","infoY"]);i.objects.forEach((function(t){t.left+=e.scroll.x,t.top+=e.scroll.y})),e.canvasData=JSON.stringify(i),console.log(e.name+" save objects len:"+i.objects.length)}}},{key:"addFabToSavedCanvasData",value:function(e,t){var i=e.canvasData?JSON.parse(e.canvasData):{objects:[]};t.left+=e.scroll.x,t.top+=e.scroll.y,i.objects.push(t.toJSON(["id","tick","imgType","zorder","strid","selectable","hoverCursor","infoX","infoY"])),e.canvasData=JSON.stringify(i)}},{key:"loadFromCanvasData",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.fabric,r=arguments.length>3?arguments[3]:void 0;if(e){var a=this.sheet.data,o=this;n.loadFromJSON(e,(function(){i.setOrder(n),a.isRestoreFromCanvasReady=!0,o.setInfoXY(n),console.log("restore from canvas json is ready "),r&&r()}),t)}else n.clear()}},{key:"findObjByData",value:function(e,t){var i=this.findImage(e,t);return null!=i?i:this.findShape(e,t)}},{key:"setZoom",value:function(e){var t=this.sheet.data;this.tOffset=this.sheet.getTableOffset(),this.sheet.verticalScrollbar.move({top:0}),this.sheet.horizontalScrollbar.move({left:0}),t.canvasFreeze?this.inFreeze.setZoom(e):(this.fabric.clipPath=new _a.fabric.Rect({width:this.fabric.width/t.zoomlevel,height:this.fabric.height/t.zoomlevel,left:this.tOffset.left/t.zoomlevel,top:this.tOffset.top/t.zoomlevel}),this.fabric.setZoom(e),this.fabric.renderAll())}},{key:"findImage",value:function(e,t){var i;return null===(i=t.images)||void 0===i?void 0:i.find((function(t){return e===Ha(t.id,t.tick)}))}},{key:"findShape",value:function(e,t){var i;return null===(i=t.shapes)||void 0===i?void 0:i.find((function(t){return e===Na(t.id,t.tick)}))}},{key:"resize",value:function(e){var t=this.sheet,i=this.fabric,n=this.tOffset;i&&(i.setWidth(e.target.outerWidth+n.left),i.setHeight(e.target.outerHeight+n.top),i.clipPath=new _a.fabric.Rect({width:i.getWidth(),height:i.getHeight(),top:this.tOffset.top/t.data.zoomlevel,left:this.tOffset.left/t.data.zoomlevel}),i.renderAll(),t.data.canvasFreeze&&this.inFreeze.resize())}},{key:"setSelectionLayout",value:function(e){e.set({borderColor:"gray",cornerColor:"gray",cornerSize:12,transparentCorners:!0})}},{key:"setupImageOrShapeByType",value:function(e,t,i){"TextBox"===t.type?this.setTextBox(e,t,i):"CheckBox"===t.type?this.setCheckBox(e,t,i):"RadioButton"===t.type?this.setRadioButton(e,t,i):"Spinner"===t.type||"SpinButton"===t.type?this.setSpinButton(e,t,i):"ComboBox"===t.type?this.setComboBox(e,t,i):t.src?this.setImage(e,t,i,t.src):this.setLoadingGif(e,t,i)}},{key:"setComboBox",value:function(e,t,i){e.canvas;var n=e.imageDiv,r=new _a.fabric.ComboRect;r.label=t.v,ho(e,t,i,r,this),t.borderColor="#ffffff",t.lp=0,t.loaded=!0,e.canvas.fabric.add(r),e.canvas.rotateObject(r,i.rotate);var a=p("div"),o=p("select","".concat(xe,"-cselector"));if(a.children(o),t.rg)for(var s=l()(t.rg,4),h=s[0],c=s[1],u=s[2],d=(s[3],h);d<=u;d++){var f=e.data.getCell(d,c),v=null!=f?f.text:"";o.el.options.add(new Option(v,v))}t.control=a,t.scontrol=o,o.el.shape=t,n.append(a.el),a.css("left","".concat(t.left,"px")).css("top","".concat(t.top,"px")).css("position","absolute"),o.css("width","".concat(t.width,"px")).css("height","".concat(t.height,"px")),o.on("change",(function(t){var i=t.srcElement.shape;if(i.v=o.el.value,r.label=i.v,ao(e,i,i.v),console.log("combobox click change shapeid:"+i.id+" "+i.v),i.lc){var n=l()(i.lc,2),a=n[0],s=n[1],h=i.isacx?o.el.value:o.el.selectedIndex+1;e.data.setCellText(a,s,h.toString(),"finished")}t.preventDefault(),Qa(t.target)})),a.hide(),t.singleClick=function(){var t=this.rg,i=this.left,n=this.top,r=this.lines;if(!t)return o.attr("size",1),void o.css("height","20px");var s=l()(t,4),h=s[0],c=s[1],u=s[2];s[3];o.el.options.length=0;for(var d=h;d<=u;d++){var f=e.data.getCell(d,c),v=null!=f?f.text:"";o.el.options.add(new Option(v,v))}o.attr("size",r),o.css("height","200px"),a.css("left","".concat(i,"px")).css("top","".concat(n,"px")),a.show(),this.setVisible(!1),window.lastcontrol=a,window.lastshape=this,console.log("@@@@lastshape at shape.singleClick "+window.lastshape.id)}}},{key:"setCheckBox",value:function(e,t,i){e.canvas,e.imageDiv;var n=new _a.fabric.RadioRect;n.ischeckbox=!0,n.selected=t.v,n.label=t.label,n.radius=12,ho(e,t,i,n,this),t.borderColor="#ffffff",t.lp=26,t.loaded=!0,e.canvas.fabric.add(n),e.canvas.rotateObject(n,i.rotate),t.singleClick=function(){if(this.v=!this.v,this.changed=!0,this.setDirty(),this.lc){var t=l()(this.lc,2),i=t[0],n=t[1];e.data.setCellText(i,n,this.v?"TRUE":"FALSE","finished"),ao(e,this,this.v)}}}},{key:"setRadioButton",value:function(e,t,i){e.canvas,e.imageDiv;var n=new _a.fabric.RadioRect;n.selected=t.v,n.label=t.label,ho(e,t,i,n,this),t.borderColor="#ffffff",t.lp=20,t.loaded=!0,e.canvas.fabric.add(n),e.canvas.rotateObject(n,i.rotate),t.singleClick=function(){if(this.v=!this.v,this.changed=!0,this.setDirty(),this.lc){var t=l()(this.lc,2),i=t[0],n=t[1];this.v&&this.idx&&(e.data.setCellText(i,n,this.idx.toString(),"finished"),ao(e,this,!1))}}}},{key:"setSpinButton",value:function(e,t,i){e.canvas;var n=new _a.fabric.SpinRect({fill:"#CCCCCC",hasBorders:!0});ho(e,t,i,n,this),t.borderColor="#ffffff",t.lp=20,t.loaded=!0,e.canvas.fabric.add(n),e.canvas.rotateObject(n,i.rotate),t.singleClick=function(t){this.width;var i=this.height,n=this.v,r=this.inc,a=this.min,o=this.max,s=this.fabobj,h=(t.offsetX,s.left,n);if(t.offsetY-s.top>i/2?(h-=r)<a&&(h=a):(h+=r)>o&&(h=o),this.v=h,this.lc){var c=l()(this.lc,2),u=c[0],d=c[1];e.data.setCellText(u,d,h.toString(),"finished"),ao(e,this,!1)}}}},{key:"setTextBox",value:function(e,t,i){e.canvas;var n=function(e,t,i,n){var r=new _a.fabric.Rect;return ho(e,t,i,r,n),t.loaded=!0,e.canvas.fabric.add(r),e.canvas.rotateObject(r,i.rotate),r}(e,t,i,this);ai(t),n.drawObject=so,n.on("modified",lo),t.setCustomHighlight=Va,t.updateTextBox=function(t,i){this.html=t,this.rtxt=i;var n=document.getElementById("aspose_shape_text");n||((n=document.createElement("span")).id="aspose_shape_text",e.el.el.appendChild(n)),n.style.display="block",n.innerHTML=t,this.text=n.innerText,delete this.bigfontsize,ai(this),this.setDirty(),n.style.display="none"},t.getHighlight=function(){return this.showhighlight?y()(this.highlighttxts):[]},t.addHighlight=function(e,t){var i={start:e,end:t},n=!1,r=this.highlighttxts.find((function(i){if(i.start===e&&i.end===t)return i;(e>=i.start&&e<i.end||t>=i.start&&t<i.end)&&(n=!0)}));n?console.error("The newly added area overlaps with the existing one"):r||(i.color=this.hstyle.color,this.highlighttxts.push(i),this.setDirty())},t.removeHighlight=function(e,t){if(this.highlighttxts){var i=this.highlighttxts.findIndex((function(i){return i.start===e&&i.end===t}));-1!==i&&(this.highlighttxts.splice(i,1),this.setDirty())}},t.clearHighlights=function(){this.highlighttxts=[],Ka.call(this)},t.setHighlight=function(e,t){this.highlighttxts?this.highlighttxts.forEach((function(e,i){e.color=t.color})):this.highlighttxts=[],Ga.call(this,e,t)},t.setBackgroundColor=function(e){this.bgColor=e,this.setDirty()},t.setActiveEffect=function(e){this.isactiveeffect=e,this.setDirty()},t.hideText=function(e){this.ishideText=e,this.setDirty()}}},{key:"setLoadingGif",value:function(e,t,i){var n=e.canvas,r=e.data,a=e.updatGif,o=this;a.clone((function(a){(ho(e,t,i,a,o),to(r,a),i.id.includes("loading"))?n.fabric.add(a):r.name===e.data.name&&(n.findObjInCanvas(n.fabric,i.id)||n.fabric.add(a))}))}},{key:"setImage",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"content/img/updating.gif",r=e.canvas,a=e.data,o=this;_a.fabric.Image.fromURL(n,(function(n){no(e,i),ho(e,t,i,n,o);try{if(!r.findObjByData(i.id,a))return;io(t,n),t.loaded=!0,"edit"===a.settings.mode&&"Picture"===t.type&&eo(n,!0),"edit"!==a.settings.mode||!Object.keys(Hr).includes(t.type)&&"CellsDrawing"!==t.type||eo(n,!0),"read"===a.settings.mode&&eo(n,!1,!0),a.name!==e.data.name?r.addFabToSavedCanvasData(a,n):(r.fabric.add(n),r.rotateObject(n,i.rotate))}catch(e){console.error(e),Te(e)}finally{r.saveCanvasData(e.data,r.fabric),r.inFreeze.saveCanvasData(),r.fabric.renderAll(),r.inFreeze.renderAll()}}))}},{key:"setLoading",value:function(e,t){var i=this.tOffset,n=e.data,r=n.displayRight2Left,a=n.cols,o=r?e.data.viewWidth()-a.indexWidth:0,s=r?o-t.left:t.left;t.top+=i.top,t.left=s+i.left,t.id="loadingGif",t.selectable=!1,this.setLoadingGif(e,null,t)}},{key:"removeLoading",value:function(e){var t=e.canvas;t.fabric.remove(t.fabric.getObjects()[t.fabric.getObjects().findIndex((function(e){return"loadingGif"===e.id}))]),t.inFreeze.removeImage("loadingGif")}},{key:"rotateObject",value:function(e,t){e&&(e._setOriginToCenter(),e.set("angle",t).setCoords(),e._resetOrigin())}},{key:"doInsertURLImage",value:function(e,t){this.doInsertImage(e,t,!0)}},{key:"doInsertImage",value:function(e,t){var i,n=t.data.getSelectedRect(),r=this.tOffset,a=t.data,o=a.displayRight2Left,s=a.cols,l=o?t.data.viewWidth()-s.indexWidth:0,h=e;h.src=h.url,h.left=n.l/t.table.zoomlevel,h.top=n.t/t.table.zoomlevel,h.originAngle=0,h.originHeight=h.height,h.originWidth=h.width,h.originLeft=n.left,h.originTop=n.top,h.infoX=h.originLeft,h.infoY=h.originTop,h.scaleX=1,h.scaleY=1,h.angle=0,h.col=t.data.selector.ci,h.row=t.data.selector.ri,h.zorder=null!==(i=t.data.topOrder)&&void 0!==i?i:0;var c=ro(h.type),u=Object.keys(Hr).includes(h.type)||"CellsDrawing"===h.type;this.findObjByData(h.id,t.data)||(c||u?(t.data.shapes||(t.data.shapes=[]),t.data.shapes.push(h)):(t.data.images||(t.data.images=[]),t.data.images.push(h)));var d=o?l-h.left-h.width:h.left,f=Ja(h,this.basicZorder,d,r,t.table.zoomlevel);f.id=c||u?Na(h.id,h.tick):Ha(h.id,h.tick),f.fromOutside=!c,c&&(ol(h,t),no(t,f)),this.setupImageOrShapeByType(t,h,f),"TextBox"===h.type&&(t.setEditForTextBox(h),this.fabric.discardActiveObject().requestRenderAll())}},{key:"isImageOnSelected",value:function(){return!!this.fabric.getActiveObject()}},{key:"setHyperlink",value:function(e){var t=this.getActiveObjInData(this.data);t&&(t.hyperlink=e)}},{key:"getActiveObjInData",value:function(e){var t=this.fabric.getActiveObject();if(t)return this.findObjByData(t.id,e)}},{key:"link",value:function(e){var t,i=this.getActiveObjInData(e);i&&this.sheet.modalLink.setValue(xs.datas.map((function(e){return e.name})),null!==(t=i.hyperlink)&&void 0!==t?t:{})}},{key:"removeLink",value:function(e){var t=this.getActiveObjInData(e);t&&(t.hyperlink=null)}},{key:"openLink",value:function(e){var t=this.getActiveObjInData(e);t&&(this.fabric._discardActiveObject(),this.fabric.renderAll(),this.sheet.hyperlink.access(t.hyperlink))}},{key:"sendImageToFont",value:function(e,t){e&&t&&e.bringToFront(t)}},{key:"doOperation",value:function(e){Object.keys(this.imageOperationList).includes(e)&&!window.mobileAndTabletCheck()&&this.imageOperationList[e].execute(this.sheet)}},{key:"removeImageInData",value:function(e,t){if(!t.includes("_")&&t.split("_").length-1!=2)throw new Error("not correct id");var i=t.split("_"),n=l()(i,3),r=n[0],a=n[1],o=n[2],s="s"===r?e.shapes:e.images;null==s||s.splice(s.findIndex((function(e){return e.id===a&&e.tick===o})),1)}},{key:"checkHyperlink",value:function(e){var t=e.getActiveObject();if(t)return!!this.findObjByData(t.id,this.data).hyperlink}},{key:"validType",value:function(e,t,i){var n=e.getActiveObject();if(n)return this.findObjByData(n.id,this.data)[t]===i}},{key:"setOrder",value:function(e){null==e||e.getObjects().sort((function(e,t){return e.zorder<t.zorder?-1:1})).forEach((function(t){e.bringToFront(t)}))}}]),i}(g);function uo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var fo=function(e){me()(i,e);var t=uo(i);function i(){var e;c()(this,i);var n=new la(new na("100%",Q("contextmenu.insertURL")),{required:!0},"",100);return(e=t.call(this,">",[p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})))])).url=n,e.values=[],e.change=function(){},e}return o()(i,[{key:"btnClick",value:function(e){"ok"===e?this.url.validate()&&this.checkIsImage(this.url.val(),this.validateImage,5e3):this.hide()}},{key:"validateImage",value:function(e,t){"success"===t?(this.change("ok",e),this.hide()):this.url.validateFail(Q("validation.downloadImageFail"))}},{key:"show",value:function(){Ni()(qe()(i.prototype),"show",this).call(this),this.url.input.focus()}},{key:"hide",value:function(){this.url.val(""),this.url.validateClear(),Ni()(qe()(i.prototype),"hide",this).call(this)}},{key:"checkIsImage",value:function(e,t,i){var n,r=!1,a=this,o=new Image;o.onerror=o.onabort=function(){r||(clearTimeout(n),t.call(a,e,"error"))},o.onload=function(){r||(clearTimeout(n),t.call(a,e,"success"))},o.src=e,n=setTimeout((function(){r=!0,o.src="//!!!!/test.jpg",t.call(a,e,"timeout")}),i)}}]),i}(ia);function vo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var go=function(e){me()(i,e);var t=vo(i);function i(){var e;c()(this,i);var n=new la(new oa("landscape",["landscape","portrait"],"max-content",(function(e){return Q("print.orientations.".concat(e))}),(function(t){e.orientation=t})),{required:!0},"".concat(Q("print.orientation"),":"),100),r=new la(new oa("A4",["A3","A4","A5","B4","B5"],"max-content",(function(e){return Q("print.sizes.".concat(e))}),(function(t){e.size=t})),{required:!0},"".concat(Q("print.size"),":"),100),a=new la(new oa("noscale",["noscale","fitsheet","fitcolumns","fitrows"],"max-content",(function(e){return Q("print.scales.".concat(e))}),(function(t){e.scale=t})),{required:!0},"".concat(Q("print.scale"),":"),100),o=new la(new oa("downover",["downover","overdown"],"max-content",(function(e){return Q("print.orders.".concat(e))}),(function(t){e.order=t})),{required:!0},"".concat(Q("print.order"),":"),100),s=new la(new oa("show",["show","hide"],"max-content",(function(e){return Q("print.imageshows.".concat(e))}),(function(t){e.showimage=t})),{required:!0},"".concat(Q("print.imageshow"),":"),100);return(e=t.call(this,Q("print.setting"),[p("div","".concat(xe,"-form-fields")).children(s.el),p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-form-fields")).children(o.el),p("div","".concat(xe,"-form-fields")).children(a.el),p("div","".concat(xe,"-form-fields")).children(r.el),p("br"),p("br"),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))])).orientation="landscape",e.size="A4",e.scale="noscale",e.order="downover",e.showimage="show",e.change=function(){},e.el.on("click",(function(e){e.preventDefault()})),e}return o()(i,[{key:"btnClick",value:function(e){"ok"===e&&this.change("ok",this),this.hide()}}]),i}(ia);function po(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}function mo(e){e.dd&&(e.dd.title.removeClass("arrow-left"),2===e.dd.headerEl.children().length&&e.dd.headerEl.removeChild(e.dd.headerEl.children()[1]))}function yo(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=" "+Q("menubar.".concat(e.tag.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))));e.dd?e.dd.headerEl.child(i,t):e.el.child(i)}function bo(e){var t=p("div","".concat(xe,"-item")).child(e.el);return e.dd&&(e.dd.contentEl.addClass("".concat(xe,"-menubar-dropdown-content")),t=p("div","".concat(xe,"-menubar-btn")).child(e.dd.el)),t}function wo(e,t){e.el.addEventListener("click",(function(i){t.dd?t.dd.menuDiv=e:(t.click?t.click():t.change(t.tag),i.stopPropagation())}),!0),e.el.addEventListener("mouseenter",(function(e){e.stopPropagation()}),!0)}var qo=function(e){me()(i,e);var t=po(i);function i(e,n){var r;c()(this,i);for(var a,o=[],s=["format","font-name","font-size"],l=0;l<n.length;l++){(a=n[l]).tip="",a.el.attr("style","margin:0"),a.el.attr("class",""),mo(n[l]);var h=s.includes(n[l].tag);yo(n[l],h);var u=bo(n[l]);wo(u,n[l]),o.push(u)}return(r=t.call.apply(t,[this,e,"max-content",!1,"bottom-left"].concat(o))).headerEl.on("mouseenter",(function(e){if(!window.mobileAndTabletCheck()){var t=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});e.target.dispatchEvent(t)}})),r}return i}(Vi);function xo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var ko=function(e){me()(i,e);var t=xo(i);function i(e,n){return c()(this,i),t.call(this,e,null,"",n)}return o()(i,[{key:"dropdown",value:function(){return new qo(this.tag,this.value)}}]),i}(Wi);function Co(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var So=function(e){me()(i,e);var t=Co(i);function i(e){var n;c()(this,i);var r="download";return null!=e&&e&&(r+="_".concat(e)),n=t.call(this,r),"GOOGLE"===e||"DROPBOX"===e?n.setIcon("savetocloud"):n.setIcon("download"),n}return i}(An);function To(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var _o=function(e){me()(i,e);var t=To(i);function i(){return c()(this,i),t.call(this,"link")}return i}(An);function Oo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ro=function(e){me()(i,e);var t=Oo(i);function i(){return c()(this,i),t.call(this,"insertColumn")}return i}(An);function Eo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Ao=function(e){me()(i,e);var t=Eo(i);function i(){return c()(this,i),t.call(this,"insertRow")}return i}(An);function Mo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Io=function(e){me()(i,e);var t=Mo(i);function i(){return c()(this,i),t.call(this,"insertSheet")}return i}(An);var Bo=function(){function e(t,i,n,r,a){var o=this;c()(this,e),this.data=t;var s=t.defaultStyle();this.change=function(){},this.widthFn=i,this.isHide=n,this.dropdowns=[];var l=Q("menubar.menuEdit"),h=Q("menubar.menuComment"),u=Q("menubar.menuInsert"),d=Q("menubar.menuText"),f=Q("menubar.menuFile");this.items={},this.items[f]=[new fr,new So("Original"),new So("XLSX"),new So("PDF"),new So("HTML")],"ru"!==a&&"zh"!==a&&(this.items[f].push(new So("GOOGLE")),this.items[f].push(new So("DROPBOX"))),this.items[l]=[this.borderEl=new Rn,this.mergeEl=new ur,this.freezeEl=new hr,this.autofilterEl=new rn,this.sortEl=new wr,this.searchEl=new xr,this.paintformatEl=new Dn,this.clearformatEl=new In,this.fillColorEl=new Ln(s.bgcolor)],this.items[u]=[this.insertColumn=new Ro,this.insertRow=new Ao,this.insertSheet=new Io,this.insertImageEL=new Br,this.insertControlEL=new Fr,this.formulaEl=new sr,this.insertLink=new _o,this.insetCommentEl=new Cr],this.insetCommentEl.tag="insertComment",this.items[d]=[this.fontEl=new Jn,this.fontSizeEl=new Un,this.boldEl=new on,this.italicEl=new ln,this.underlineEl=new dn,this.strikeEl=new cn,this.alignEl=new Ji(s.align),this.valignEl=new Qi(s.valign),this.textwrapEl=new gr,this.textColorEl=new Pn(s.color)],this.items[h]=[this.commentEditEl=new Cr,this.commentRemoveEl=new Tr,this.commentPreviousEl=new Or,this.commentNextEl=new Er];for(var v=0;v<this.insertImageEL.dd.contentEl.children().length;v++)this.insertImageEL.dd.contentEl.children()[v].style="width:max-content";for(var g=0;g<this.insertControlEL.dd.contentEl.children().length;g++)this.insertControlEL.dd.contentEl.children()[g].style="width:max-content";this.el=p("div","".concat(xe,"-toolbar ").concat(xe,"-menubar")),n?this.el.hide():(this.el.css("text-transform","capitalize"),Object.keys(this.items).forEach((function(e){var t=new ko(e,o.items[e]);o.dropdowns.push(t),o.el.child(t.el),o.items[e].map((function(e){e.change=function(){o.change.apply(o,arguments)}}))})))}return o()(e,[{key:"hideDropdown",value:function(){this.dropdowns.forEach((function(e){return e.dd.hide()}))}}]),e}(),Do=function(){function e(){c()(this,e),X()(this,"setActiveSheetBySheetName",(function(){})),X()(this,"setActiveCell",(function(){})),X()(this,"linkPositions",[])}return o()(e,[{key:"checkAndAccess",value:function(e,t,i){var n=this.find(e,t,i);return n?this.access(n):null}},{key:"loadLinkPosition",value:function(e){var t=this,i=e.data;this.linkPositions=[];e.getTableOffset();i.hyperlinks.forEach((function(e){var n={},r=T.valueOf(e.area),a=i.scroll.ci,o=i.scroll.ri;a=a>0&&r.sci<a?0:a,o=o>0&&r.sri<o?0:o,n.x=[i.cols.sumWidth(a,r.sci+1)-i.cols.getWidth(r.sci),i.cols.sumWidth(a,r.eci+1)],n.y=[i.rows.sumHeight(o,r.sri+1)-i.rows.getHeight(r.eri),i.rows.sumHeight(o,r.eri+1)],i.canvasFreeze&&(i.scroll.ri>0||i.scroll.ci>0)||t.linkPositions.push(n)}))}},{key:"find",value:function(e,t,i){var n=e.hyperlinks;if(0!==n.length)return n.find((function(e){return e.area?T.valueOf(e.area).includes(t,i):null}))}},{key:"findByArea",value:function(e,t){var i=e.hyperlinks;if(0!==i.length)return i.find((function(e){return e.area?T.valueOf(e.area).contains(T.valueOf(t)):null}))}},{key:"check",value:function(e,t,i){return!!this.find(e,t,i)}},{key:"remove",value:function(e,t){var i=t.hyperlinks.findIndex((function(t){return t.area===e.area}));t.hyperlinks.splice(i,1)}},{key:"removeByRange",value:function(e,t){var i=this.findByRange(e,t.data);this.remove(i,t.data),this.setHyperlinkStyleByArea(i.area,t,!1)}},{key:"findByRange",value:function(e,t){var i=this.getSelectArea(e);return this.findByArea(t,i)}},{key:"getSelectArea",value:function(e){var t=k(e.sci,e.sri),i=k(e.eci,e.eri);return"".concat(t,":").concat(i)}},{key:"setHyperlinkStyleByArea",value:function(e,t,i){for(var n=T.valueOf(e),r=n.sri;r<=n.eri;r++)for(var a=n.sci;a<=n.eci;a++)t.data.setHyperlinkStyle(r,a,i);t.table.render()}},{key:"accessByRange",value:function(e,t){var i=this.getSelectArea(e),n=this.findByArea(t,i);this.access(n)}},{key:"access",value:function(e){if("number"==typeof e.type&&e.address){switch(e.type){case 0:case 2:window.open(e.address,"_blank");break;case 1:break;case 3:if(!e.address.includes("!"))break;var t=e.address.split("!"),i=l()(t,2),n=i[0],r=i[1];n.startsWith("'")&&n.endsWith("'")&&(n=n.substr(1,n.length-2)),this.setActiveSheetBySheetName(n);var a=x(r),o=l()(a,2),s=o[0],h=o[1],c=this;setTimeout((function(){c.setActiveCell(h,s)}),1e3)}return null}}}]),e}();function zo(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return Po(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Po(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw a}}}}function Po(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var Fo=function(){function e(t){c()(this,e),this.sheet=t}return o()(e,[{key:"setCustomHighlightImgFunc",value:function(e){this.highlightImgFunc=e}},{key:"showHighlights",value:function(e){var t=this.sheet.data;t.showhighlight=!0,t.highlightstyle=e,this.AutoShowOrHide()}},{key:"updateHighlightStyle",value:function(e){this.sheet.data.highlightstyle=e,this.AutoShowOrHide()}},{key:"AutoShowOrHide",value:function(){var e=this.sheet,t=e.data,i=e.canvas;if(t.highlightall){var n=i.fabric;this.highlightAllImg(t.showhighlight,n)}else this.showHighlightImageShapesAuto(t.showhighlight)}},{key:"hideHighlights",value:function(){var e=this.sheet,t=e.data,i=e.table;t.showhighlight=!1,this.AutoShowOrHide(),i.render()}},{key:"getHighlightTexts",value:function(){return this.sheet.data.highlighttxts}},{key:"addHighlightText",value:function(e,t,i,n){var r=this.sheet.data,a={row:e,col:t,start:i,end:n};r.highlighttxts.find((function(r){if(r.row===e&&r.col===t&&r.start===i&&r.end===n)return r}))||r.highlighttxts.push(a)}},{key:"removeHighlightText",value:function(e,t,i,n){for(var r=this.sheet.data,a=0;a<r.highlighttxts.length;a++){var o=Number.isInteger(i)?i:r.highlighttxts[a].start,s=Number.isInteger(n)?n:r.highlighttxts[a].end;r.highlighttxts[a].row===e&&r.highlighttxts[a].col===t&&r.highlighttxts[a].start===o&&r.highlighttxts[a].end===s&&r.highlighttxts.splice(a,1)}}},{key:"getHighlightRanges",value:function(){return this.sheet.data.highlightrg}},{key:"addHighlightRange",value:function(e,t,i,n){for(var r=this.sheet.data,a=new T(e,t,i,n),o=0;o<r.highlightrg.length;o++)if(r.highlightrg[o].contains(a))return;r.highlightrg.push(a)}},{key:"removeHighlightRange",value:function(e,t,i,n){for(var r=this.sheet.data,a=new T(e,t,i,n),o=0;o<r.highlightrg.length;o++)r.highlightrg[o].equals(a)&&r.highlightrg.splice(o,1)}},{key:"setHighlightInverseRange",value:function(e,t,i,n){this.sheet.data.highlightIR=new T(e,t,i,n)}},{key:"getHighlightInverseRange",value:function(){return this.sheet.data.highlightIR}},{key:"removeHighlightInverseRange",value:function(){delete this.sheet.data.highlightIR}},{key:"getCanvasImgByid",value:function(e,t){return e.getObjects().find((function(e){return e.id===t}))}},{key:"highlightAllImg",value:function(e,t){var i=this.sheet,n=i.data,r=(i.canvas,n.shapes),a=n.images;if(r){var o,s=zo(r);try{for(s.s();!(o=s.n()).done;){var l=o.value;this.highlightImg(e,l,n.highlightstyle)}}catch(e){s.e(e)}finally{s.f()}}if(a){var h,c=zo(a);try{for(c.s();!(h=c.n()).done;){var u=h.value;this.highlightImg(e,u,n.highlightstyle)}}catch(e){c.e(e)}finally{c.f()}}t.requestRenderAll()}},{key:"showHighlightImageShapesAuto",value:function(e){var t,i=this,n=this.sheet,r=n.data,a=n.canvas.fabric,o=zo(r.highlighshapes);try{var s=function(){var n=t.value,a=r.shapes.find((function(e){return e.id===n}));if(a){if(i.sheet.visibleFilter&&!i.sheet.visibleFilter(i.sheet,a))return{v:void 0};i.highlightImg(e,a,r.highlightstyle)}};for(o.s();!(t=o.n()).done;){var l=s();if("object"===Pe()(l))return l.v}}catch(e){o.e(e)}finally{o.f()}var h,c=zo(r.highlighimgs);try{var u=function(){var t=h.value,n=r.images.find((function(e){return e.id===t}));if(n){if(i.sheet.visibleFilter&&!i.sheet.visibleFilter(i.sheet,n))return{v:void 0};i.highlightImg(e,n,r.highlightstyle)}};for(c.s();!(h=c.n()).done;){var d=u();if("object"===Pe()(d))return d.v}}catch(e){c.e(e)}finally{c.f()}a.requestRenderAll()}},{key:"highlightImg",value:function(e,t,i){var n=this.sheet;n.data,n.canvas;if(t)if(t.setHighlight)t.setHighlight(e,i);else if(this.highlightImgFunc)t.setCustomHighlight(e,this.highlightImgFunc);else{var r=!!e&&new fabric.Image.filters.Invert;t.setFilter(r)}}},{key:"getHighlightShaps",value:function(){return this.sheet.data.highlighshapes}},{key:"addHighlightShape",value:function(e){var t=this.sheet,i=t.data,n=t.canvas;if(-1===i.highlighshapes.indexOf(e)){var r=i.shapes.find((function(t){return t.id===e}));if(r){var a=n.fabric;i.highlighshapes.push(e),this.highlightImg(i.showhighlight,r,i.highlightstyle),i.showhighlight&&a.requestRenderAll()}}}},{key:"removeHighlightShape",value:function(e){var t=this.sheet,i=t.data,n=t.canvas.fabric,r=i.highlighshapes.indexOf(e);if(r>-1){i.highlighshapes.splice(r,1);var a=i.shapes.find((function(t){return t.id===e}));a&&(this.highlightImg(!1,a),n.requestRenderAll())}}},{key:"getHighlightImages",value:function(){return this.sheet.data.highlighimgs}},{key:"addHighlightImage",value:function(e){var t=this.sheet,i=t.data,n=t.canvas;if(-1===i.highlighimgs.indexOf(e)){var r=i.images.find((function(t){return t.id===e}));if(r){var a=n.fabric;i.highlighimgs.push(e),i.showhighlight&&(this.highlightImg(!0,r),a.requestRenderAll())}}}},{key:"removeHighlightImage",value:function(e){var t=this.sheet,i=t.data,n=t.canvas.fabric,r=i.highlighimgs.indexOf(e);if(r>-1){i.highlighimgs.splice(r,1);var a=i.images.find((function(t){return t.id===e}));a&&(this.highlightImg(!1,a),n.requestRenderAll())}}},{key:"setHighlightAll",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.sheet,n=i.data,r=i.canvas,a=i.table;if(n.showhighlight){var o=r.fabric;n.highlightall=e,this.highlightAllImg(e,o),e||this.showHighlightImageShapesAuto(!0)}t&&a.render()}},{key:"clearHighlights",value:function(){var e=this.sheet,t=e.data;e.canvas,e.table;delete t.highlightIR,t.highlightall=!1;var i,n=zo(t.highlighimgs);try{var r=function(){var e=i.value,n=t.images.find((function(t){return t.id===e}));n&&n.setFilter(!1)};for(n.s();!(i=n.n()).done;)r()}catch(e){n.e(e)}finally{n.f()}t.highlighimgs=[];var a,o=zo(t.highlighshapes);try{var s=function(){var e=a.value,i=t.shapes.find((function(t){return t.id===e}));i&&(i.clearHighlights?i.clearHighlights():i.setFilter(!1))};for(o.s();!(a=o.n()).done;)s()}catch(e){o.e(e)}finally{o.f()}t.highlighshapes=[],t.highlightrg=[],t.highlighttxts=[]}}]),e}();function Lo(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var jo=function(e){me()(i,e);var t=Lo(i);function i(){var e;c()(this,i);var n=new la(new na("400px",""),{required:!0},"".concat(Q("download.fileName"),":"),100),r=new la(new oa("Original",["Original","XLSX","PDF","HTML"],"100%",(function(e){return Q("download.saveTypes.".concat(e))}),(function(t){var i=e.fileNameField.val();e.fileNameField.val(e.setSuffix(i,t)),e.fileNameField.validate()})),{required:!0},"".concat(Q("download.saveType"),":"),100);return e=t.call(this,Q("contextmenu.download"),[p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-form-fields")).children(r.el),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))]),X()(nr()(e),"defaultSuffix","xlsx"),e.fileNameField=n,e.saveTypeField=r,e.ci=null,e.values=[],e.change=function(){},e}return o()(i,[{key:"setSuffix",value:function(e,t){var i;return"Original"===t&&(t=this.originalType),e=(e=""===(null!==(i=e)&&void 0!==i?i:"")?this.originalFileName:e).includes(".")?e:e+"."+this.defaultSuffix,"".concat(e.substr(0,e.lastIndexOf(".")),".").concat(t.toLowerCase())}},{key:"btnClick",value:function(e){if("ok"===e){if(!this.fileNameField.validate())return;var t=this.saveTypeField.val(),i=this.fileNameField.val();i=this.setSuffix(i,t),this.change("ok",i,t)}this.hide()}},{key:"setValue",value:function(e){this.originalFileName=""===(null!=e?e:"")?"worksheet.xlsx":e,this.originalType=e.split(".").length>=2?e.substr(e.lastIndexOf(".")+1):this.defaultSuffix,this.fileNameField.val(this.originalFileName),this.show()}}]),i}(ia);function Ho(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var No=function(e){me()(i,e);var t=Ho(i);function i(){var e;c()(this,i);var n=new la(new na("100%",""),{required:!0},"".concat(Q("link.emailAddress"),":"),100),r=new la(new na("100%",""),{required:!0},"".concat(Q("link.emailSubject"),":"),100),a=p("div","".concat(xe,"-form-fields")).children(p("div","".concat(xe,"-form-fields")).children(n.el),p("div","".concat(xe,"-form-fields")).children(r.el));a.hide();var o=new la(new na("100%",""),{required:!0},"".concat(Q("link.sheetCell"),":"),100),s=new la(new oa("",[""],"max-content",(function(e){return e}),(function(e){})),{required:!0},"".concat(Q("link.sheetPage"),":"),100);s.input.el.css("width","max-content");var l=p("div","".concat(xe,"-form-fields")).children(p("div","".concat(xe,"-form-fields")).children(o.el),p("div","".concat(xe,"-form-fields")).children(s.el));l.hide();var h=new la(new na("100%",""),{required:!0},"".concat(Q("link.webUrl"),":"),100),u=p("div","".concat(xe,"-form-fields")).children(h.el);u.hide();var d=new la(new oa("web",["web","sheet","email"],"max-content",(function(e){return Q("link.linkTypes.".concat(e))}),(function(t){switch(u.hide(),l.hide(),a.hide(),t){case"web":u.show(),e.active="web";break;case"sheet":l.show(),e.active="sheet";break;case"email":a.show(),e.active="email"}})),{required:!0},"".concat(Q("link.linkType"),":"),100);return e=t.call(this,Q("contextmenu.link"),[p("div","".concat(xe,"-form-fields")).children(d.el),p("div","".concat(xe,"-form-fields")).children(a.el,u.el,l.el),p("br"),p("br"),p("div","".concat(xe,"-buttons")).children(new Ei("ok","primary").on("click",(function(){return e.btnClick("ok")})),new Ei("cancel").on("click",(function(){return e.btnClick("cancel")})))]),X()(nr()(e),"active",void 0),e.ci=null,e.values=[],e.sheetPageField=s,e.sheetField=l,e.webField=u,e.emailField=a,e.sheetCellField=o,e.webUrlField=h,e.emailAddressField=n,e.emailSubjectField=r,e.linkTypeField=d,e.change=function(){},e.el.on("click",(function(e){e.preventDefault()})),e}return o()(i,[{key:"btnClick",value:function(e){var t=this.link,i=this.type;if("ok"===e){switch(this.active){case"web":if(!this.webUrlField.validate())return;if(!this.isValidHttpUrl(this.webUrlField.val()))return void this.webUrlField.validateFail("Missing address network protocols such as http:// or https://");t.type=0,t.address=this.webUrlField.val();break;case"sheet":if(!this.sheetCellField.validate())return;t.type=3,t.address="".concat(this.sheetPageField.val(),"!").concat(this.sheetCellField.val());break;case"email":t.type=2,t.address="mailto:".concat(this.emailAddressField.val(),"?subject=").concat(this.emailSubjectField.val())}this.change("ok",t,i)}this.hide()}},{key:"clear",value:function(){this.sheetField.hide(),this.sheetPageField.val(this.sheets[0]),this.sheetCellField.val("A1"),this.webField.hide(),this.webUrlField.val(""),this.webUrlField.validateClear(),this.emailField.hide(),this.emailSubjectField.val(""),this.emailAddressField.val("")}},{key:"isValidHttpUrl",value:function(e){var t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol}},{key:"setValue",value:function(e,t,i){var n;if(this.type=i,this.sheets=e,this.link=t,this.clear(),this.sheetPageField.input.suggest.setItems(e.map((function(e){return{key:e,title:e}}))),""!==(null!==(n=null==t?void 0:t.type)&&void 0!==n?n:""))switch(t.type){case 1:case 0:this.webUrlField.input.val(t.address),this.linkTypeField.val("web"),this.webField.show(),this.active="web";break;case 2:var r=/mailto:([^\?]*)\?subject\=(.*)/.exec(t.address);this.emailSubjectField.val(r[2]),this.emailAddressField.val(r[1]),this.linkTypeField.val("email"),this.emailField.show(),this.active="email";break;case 3:var a=t.address.split("!");if(2!==a.length)break;this.sheetPageField.val(a[0]),this.sheetCellField.val(a[1]),this.linkTypeField.val("sheet"),this.sheetField.show(),this.active="sheet"}else this.linkTypeField.val("web"),this.webField.show(),this.active="web";this.show()}}]),i}(ia),Uo=function(){function e(t){c()(this,e),this.el=p("div","".concat(xe,t?"-banner-icon-s":"-banner-icon"))}return o()(e,[{key:"setHomeIcon",value:function(e,t){this.el.css({"background-image":"url(".concat(e,")"),"background-size":"contain","background-position":"center"});var i=p("a");i.attr("href",t),i.css({display:"block",height:"100%",width:"100%","text-decoration":"none"}),this.el.child(i)}}]),e}(),Xo=function(){function e(t){var i=this;c()(this,e),this.el=p("div","".concat(xe,"-banner-filename")),this.filename=p("div","".concat(xe,"-banner-filename-name")),this.filename.on("blur",(function(e){e.target.innerHTML=e.target.innerHTML.replace(/<[^>]+>/gi,"");var n=e.target.innerText;n=n.replace(/\r?\n|\r/g,""),t.filename=n+i.suffixStr,setTimeout((function(){t.selector.el.show()}),100)})),this.filename.on("focus",(function(e){window.mobileEditOnCell=!1,t.editor.el.hide()})),this.filename.on("keyup",(function(e){13===e.keyCode&&i.filename.el.blur()})),this.filename.attr("contenteditable",!0),this.filename.attr("spellcheck",!1),this.suffix=p("div"),this.el.children(this.filename,this.suffix)}return o()(e,[{key:"setValue",value:function(e){if(e.includes(".")){var t=e.substring(0,e.lastIndexOf(".")),i=this.suffixStr=e.substring(e.lastIndexOf("."));this.filename.html(t),this.suffix.html(i)}}}]),e}(),Wo=function(){function e(t,i,n,r,a,o,s){var l=this;c()(this,e),this.data=t;t.defaultStyle();this.change=function(){},this.widthFn=i,this.isHide=n,this.icon=new Uo(!a),this.filenamebar=new Xo(o),this.menubar=new Bo(t,i,n,r,s),this.el=p("div");var h=p("div","".concat(xe,"-banner"));n&&!r?(this.el.hide(),this.notShow=!0):(h.children(this.icon.el,p("div","".concat(xe,a?"-banner-info":"-banner-info-s")).children(this.filenamebar.el,this.menubar.el)),this.el.child(h)),a||this.filenamebar.el.hide(),this.menubar.change=function(){l.change.apply(l,arguments)}}return o()(e,[{key:"show",value:function(){this.notShow||this.el.show()}},{key:"hide",value:function(){this.el.hide()}},{key:"hideDropdown",value:function(){this.menubar.hideDropdown()}},{key:"setFileName",value:function(e){this.filenamebar.setValue(e)}}]),e}();function Yo(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function Vo(e,t){var i=function(e,t){var i=Yo(e)*Yo(t);if(0===i)return 0;var n=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/i;return n>1&&(n=1),Math.acos(n)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(i*=-1),180*i/Math.PI}var Go=function(e){this.handlers=[],this.el=e};function Ko(e,t){var i=new Go(e);return i.add(t),i}function Zo(e,t){this.element="string"==typeof e?document.querySelector(e):e,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var i=function(){};this.rotate=Ko(this.element,t.rotate||i),this.touchStart=Ko(this.element,t.touchStart||i),this.multipointStart=Ko(this.element,t.multipointStart||i),this.multipointEnd=Ko(this.element,t.multipointEnd||i),this.pinch=Ko(this.element,t.pinch||i),this.swipe=Ko(this.element,t.swipe||i),this.tap=Ko(this.element,t.tap||i),this.doubleTap=Ko(this.element,t.doubleTap||i),this.longTap=Ko(this.element,t.longTap||i),this.singleTap=Ko(this.element,t.singleTap||i),this.pressMove=Ko(this.element,t.pressMove||i),this.twoFingerPressMove=Ko(this.element,t.twoFingerPressMove||i),this.touchMove=Ko(this.element,t.touchMove||i),this.touchEnd=Ko(this.element,t.touchEnd||i),this.touchCancel=Ko(this.element,t.touchCancel||i),this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}function Jo(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function $o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Jo(Object(i),!0).forEach((function(t){X()(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Jo(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function Qo(e,t){var i,n=this;return function(){for(var r=n,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l=o;i||(i=setTimeout((function(){i=null,e.apply(r,l)}),t))}}function es(){var e=this.data,t=this.verticalScrollbar,i=this.horizontalScrollbar,n=e.getSelectedRect(),r=n.l,a=n.t,o=n.left,s=n.top,l=n.width,h=n.height,c=this.getTableOffset();if(Math.abs(o)+l>c.width)i.move({left:r+l-c.width});else{var u=e.freezeTotalWidth();o<u&&i.move({left:r-1-u})}if(Math.abs(s)+h>c.height)t.move({top:a+h-c.height-1});else{var d=e.freezeTotalHeight();s<d&&t.move({top:a-1-d})}}function ts(){var e=this.data,t=this.verticalScrollbar,i=this.horizontalScrollbar,n=e.getSelectedRectBySearch(),r=n.l,a=n.t;i.move({left:r-1}),t.move({top:a-1})}function is(e,t,i){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(-1!==t||-1!==i){var a=this.table,o=this.selector,s=this.toolbar,l=this.formulaBar,h=this.data,c=this.contextMenu;if(!(t>=h.rows.len||i>=h.cols.len)&&(c.setMode(-1===t||-1===i?"row-col":"range"),h.canSelected(t,i))){var u=h.getCell(t,i);e?(o.setEnd(t,i,r),this.trigger("cells-selected",u,o.range)):(o.set(t,i,n),this.trigger("cell-selected",u,t,i)),this.focusing=!0;var d=o.getObj(),f="read"===h.settings.mode;null!=d&&"CellsDrawing"!==d.type&&"Oval"!==d.type&&"Picture"!==d.type&&d.setControlable(!1,f),o.setObjId(null),s.reset(),l.reset(),a.render()}}}function ns(e,t){var i=this.selector,n=this.data,r=n.rows,a=n.cols,o=l()(i.indexes,2),s=o[0],h=o[1],c=i.range,u=c.eri,d=c.eci;if(e){var f=l()(i.moveIndexes,2);s=f[0],h=f[1]}"left"===t?h>0&&(h-=1):"right"===t?(d!==h&&(h=d),h<a.len-1&&(h+=1)):"up"===t?s>0&&(s-=1):"down"===t?(u!==s&&(s=u),s<r.len-1&&(s+=1)):"row-first"===t?h=0:"row-last"===t?h=a.len-1:"col-first"===t?s=0:"col-last"===t&&(s=r.len-1),e&&(i.moveIndexes=[s,h]),is.call(this,e,s,h),es.call(this)}function rs(e){if(0===e.buttons&&e.target.className!=="".concat(xe,"-resizer-hover")){var t=e.offsetX,i=e.offsetY,n=this.rowResizer,r=this.colResizer,a=this.tableEl,o=this.data,s=o.rows,l=o.cols,h=o.displayRight2Left,c=o.settings.row.height;if(t>l.indexWidth&&i>c)return n.hide(),void r.hide();var u=a.box(),d=o.getCellRectByXY(e.offsetX/o.zoomlevel,e.offsetY/o.zoomlevel);d.ri>=0&&-1===d.ci?(d.width=l.indexWidth*o.zoomlevel,n.show(d,{width:u.width}),s.isHide(d.ri-1)?n.showUnhide(d.ri):n.hideUnhide()):n.hide(),-1===d.ri&&d.ci>=0?(d.height=c*o.zoomlevel,d.top=0,r.show(d,{height:u.height},h),l.isHide(d.ci-1)?r.showUnhide(d.ci):r.hideUnhide()):r.hide()}}function as(e){if(this.isLoaded()){var t=this.verticalScrollbar,i=this.horizontalScrollbar,n=this.data,r=t.scroll().top,a=i.scroll().left,o=n.rows,s=n.cols,l=e.deltaY,h=e.deltaX,c=function(e,t){var i=e,n=0;do{n=t(i),i+=1}while(n<=0);return n},u=function(e){if(e>0){var i=n.scroll.ri+1;if(i<o.len){var a=c(i,(function(e){return o.getHeight(e)}));t.move({top:r+a-1})}}else{var s=n.scroll.ri-1;if(s>=0){var l=c(s,(function(e){return o.getHeight(e)}));t.move({top:0===s?0:r-l})}}},d=Math.abs(l),f=Math.abs(h),v=Math.max(d,f);/Firefox/i.test(window.navigator.userAgent)&&Qo(u(e.detail),50),v===f&&Qo(function(e){if(e>0){var t=n.scroll.ci+1;if(t<s.len){var r=c(t,(function(e){return s.getWidth(e)}));i.move({left:a+r-1})}}else{var o=n.scroll.ci-1;if(o>=0){var l=c(o,(function(e){return s.getWidth(e)}));i.move({left:0===o?0:a-l})}}}(h),50),v===d&&Qo(u(l),50)}}function os(){var e=this.data,t=this.verticalScrollbar,i=(1!==e.zoomlevel?this.originTableOffset:this.getTableOffset()).height,n=e.exceptRowTotalHeight(0,-1),r=(e.rows.totalHeight()-n)*e.zoomlevel;window.mobileAndTabletCheck()&&(r+=document.documentElement.clientHeight/2),t.set(i,r)}function ss(){var e=this.data,t=this.horizontalScrollbar,i=(1!==e.zoomlevel?this.originTableOffset:this.getTableOffset()).width;e&&t.set(i,e.cols.totalWidth()*e.zoomlevel),e.displayRight2Left?t.el.attr("dir","rtl"):t.el.removeAttr("dir")}function ls(){var e=this.selector,t=this.data,i=this.editor,n=this.canvas,r=l()(t.freeze,2),a=r[0],o=r[1];if(t.resetScroll(a,o),a>0||o>0){var s=t.freezeTotalWidth(),h=t.freezeTotalHeight();i.setFreezeLengths(s,h)}else i.setFreezeLengths(0,0);n.resetFreeze(t),e.resetAreaOffset()}function hs(){var e=this.tableEl,t=this.overlayerEl,i=this.overlayerCEl,n=this.table,r=this.toolbar,a=this.formulaBar,o=this.selector,s=this.hyperlink,l=this.el;this.originTableOffset||(this.originTableOffset=this.getTableOffset()),1!==this.data.zoomlevel&&(o.br.useHideInput=!1);var h=this.getTableOffset(),c=this.getRect();e.attr(c),t.offset(c);var u=this.data.zoomlevel;i.offset($o($o({},h),{},{width:h.width/u,height:h.height/u})),l.css("width","".concat(c.width,"px")),os.call(this),ss.call(this),ls.call(this),n.render(),r.reset(),a.reset(),o.reset(),s.loadLinkPosition(this),1!==this.data.zoomlevel&&(o.br.useHideInput=!0)}function cs(){var e=this.data,t=this.selector;e.clearClipboard(),t.hideClipboard()}function us(){var e=this.data,t=this.selector,i=this.canvas;e.copy(),t.showClipboard(),i.clipboard=null}function ds(){var e=this.data,t=this.selector;e.cut(),t.showClipboard()}function fs(){return(fs=r()(d.a.mark((function e(){var t,i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.permissions.query({name:"clipboard-read"});case 3:return t=e.sent,i=t.state,e.abrupt("return","granted"===i);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))).apply(this,arguments)}function vs(e,t){var i=this.data,n=this;if("read"!==i.settings.mode&&!i.getLocked())if(i.paste(e,(function(e){return Te("Tip",e)})))hs.call(this);else if(t){if(null==i.clipboard.range){var r=t.clipboardData.getData("text/plain");r.length>0&&(this.data.pasteFromText(r),hs.call(this))}}else(function(){return fs.apply(this,arguments)})()&&navigator.permissions.query({name:"clipboard-read"}).then((function(e){!document.hasFocus()||"granted"!==e.state&&"prompt"!==e.state||navigator.clipboard.read().then((function(e){var t=e[0];t.types.includes("image/png")&&t.getType("image/png").then((function(e){var t=new File([e],Math.random(),{type:e.type});n.canvas.imageOperationList.paste.uploadImg(n,t)}))}))}))}function gs(){this.data.hideRowsOrCols(),hs.call(this)}function ps(e,t){this.data.unhideRowsOrCols(e,t),hs.call(this)}function ms(){this.data.autofilter(),hs.call(this)}function ys(){var e=document.createElement("div");e.id="aspose_mask_bg",e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.width="100%",e.style.height="100%",e.style.backgroundColor="#777",e.style.opacity=.6,e.style.zIndex=10001,document.body.appendChild(e);var t=document.createElement("div");t.style.position="absolute",t.style.top="33%",t.style.left="40%",t.style.backgroundColor="white",t.style.border="#336699 1px solid",t.style.textAlign="center",t.style.fontSize="medium",t.style.padding="1.5em 4em 1.5em 4em",t.innerText="updating , please wait...",e.appendChild(t)}function bs(){var e=document.getElementById("aspose_mask_bg");null!=e&&e.parentNode.removeChild(e)}function ws(e,t){return qs.apply(this,arguments)}function qs(){return(qs=r()(d.a.mark((function e(t,i){var n,r,a,o,s,l;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.data,r={sheetname:n.name,actrow:n.selector.ri,actcol:n.selector.ci,datas:xs.getUpdateDatas()},a={p:JSON.stringify(r),uid:this.uniqueid,file:t,outputType:i},o=this.fileDownloadUrl,s=new FormData,Object.keys(a).forEach((function(e){return s.set(e,a[e])})),ys(),e.next=9,fetch(o,{method:"POST",body:s});case 9:if((l=e.sent).ok){e.next=15;break}bs(),alert("Download failed, please try again"),e.next=22;break;case 15:return e.t0=Hs,e.next=18,l.json();case 18:e.t1=e.sent,e.t2=t,(0,e.t0)(e.t1,e.t2),bs();case 22:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function ks(){var e=this.toolbar;e.paintformatActive()&&(vs.call(this,"format"),cs.call(this),e.paintformatToggle())}function Cs(){var e=this.editor,t=this.contextMenu,i=this.commentTip,n=this.commentEditable;e.clear(),t.hide(),i.hide(),n.saveAndHide(this)}function Ss(e){var t=this,i=this.selector,n=this.data,r=this.table,a=this.sortFilter,o=this.hyperlink,s=e.offsetX,h=e.offsetY,c=e.target.className==="".concat(xe,"-selector-corner");if(e.target.parentElement.className!=="".concat(xe,"-cselector")){var u=r.zoomlevel,d=n.getCellRectByXY(s/u,h/u),f=d.left,v=d.top,g=d.width,p=d.height;Qa(e.target);var m=n.viewHeight(),y=n.viewWidth(),b=d.ri,w=d.ci;if(!(b<-1||w<-1)&&"Chart"!==n.type){var q=n.autoFilter,x=n.TableAutoFilters;if(q.includes(b,w)&&f+g-20*u<s&&v+p-20*u<h){var k=q.items(w,(function(e,t){return n.rows.getCell(e,t)}));return a.set(w,k,q.getFilter(w),q.getSort(w)),a.setOffsetAdjustView({left:f,top:v+p+2},y,m),void(n.currentAutoFilter=q)}for(var C=0,S=x.length;C<S;C++){var T=x[C];if(T.includes(b,w)&&f+g-20*u<s&&v+p-20*u<h){var _=T.items(w,(function(e,t){return n.rows.getCell(e,t)}));return a.set(w,_,T.getFilter(w),T.getSort(w)),a.setOffsetAdjustView({left:f,top:v+p+2},y,m),void(n.currentAutoFilter=T)}}if(!e.shiftKey){if(c){if(window.mobileAndTabletCheck())return;i.showAutofill(b,w)}else if(is.call(this,!1,b,w),!e.ctrlKey&&2!==e.button){var O,R=null!==(O=o.checkAndAccess(n,b,w))&&void 0!==O?O:[w,b],E=l()(R,2);w=E[0],b=E[1]}window.mobileAndTabletCheck()||Ne(window,(function(e){var r=n.getCellRectByXY(e.offsetX/u,e.offsetY/u);if(b=r.ri,w=r.ci,c){if(window.mobileAndTabletCheck())return;i.showAutofill(b,w)}else 1!==e.buttons||e.shiftKey||is.call(t,!0,b,w,!0,!0)}),(function(){n.getLocked()||(c&&i.arange&&"read"!==n.settings.mode&&n.autofill(i.arange,"all",(function(e){return Te("Tip",e)}))&&r.render(),i.hideAutofill(),ks.call(t))}))}c||1!==e.buttons||e.shiftKey&&is.call(this,!0,b,w)}}}function Ts(){var e=this.data,t=this.editor.textbox,i=t?e.getRectForTextbox(t):e.getSelectedRect();_s.call(this,i)}function _s(e){var t=this.editor,i=this.getTableOffset(),n="top";e.top>i.height/2&&(n="bottom"),t.setOffset(e,n)}function Os(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.table,i=this.editor,n=this.data;"read"!==n.settings.mode&&(n.getLocked()||(delete i.textbox,Ts.call(this),t.clearSelectRender(),i.setCell(n.getSelectedCell(),n.getSelectedValidator(),n,e),cs.call(this)))}function Rs(e){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=(this.table,this.editor),n=this.data;if(!n.getLocked()){i.textbox=e;var r=n.getRectForTextbox(e);_s.call(this,r);var a="read"===n.settings.mode;i.setForTextBox(e,!0,a,t),cs.call(this)}}function Es(){var e=this.formulaBar,t=this.data;e.resetData(t)}function As(e){var t=this,i=this.data,n=this.table,r=this.selector,a=this.hyperlink;i.scrolly(e,(function(){1!==t.data.zoomlevel&&(r.br.useHideInput=!1),r.resetBRLAreaOffset(),Ts.call(t),n.render(),a.loadLinkPosition(t),i.scrollImagesShapes(),1!==t.data.zoomlevel&&(r.br.useHideInput=!0)}))}function Ms(e){var t=this,i=this.data,n=this.table,r=this.selector,a=this.hyperlink;i.scrollx(e,(function(){1!==t.data.zoomlevel&&(r.br.useHideInput=!1),r.resetBRTAreaOffset(),Ts.call(t),n.render(),a.loadLinkPosition(t),i.scrollImagesShapes(),1!==t.data.zoomlevel&&(r.br.useHideInput=!0)}))}function Is(e,t){var i=e.ri,n=this.table,r=this.selector,a=this.data,o=this.hyperlink,s=a.rows.getHeight(i);a.rows.setHeight(i,t),a.updateRowsHeight.add(i),a.updateConditionImagePositionForRow(i,t-s,t),n.render(),1!==this.data.zoomlevel&&(r.br.useHideInput=!1),r.resetAreaOffset(),o.loadLinkPosition(this),os.call(this),Ts.call(this),1!==this.data.zoomlevel&&(r.br.useHideInput=!0)}function Bs(e,t){var i=e.ci,n=this.table,r=this.selector,a=this.data,o=this.hyperlink,s=a.cols.getWidth(i);a.cols.setWidth(i,t),a.updateCols.add(i),a.updateConditionImagePositionForCol(i,t-s,t),n.render(),1!==this.data.zoomlevel&&(r.br.useHideInput=!1),r.resetAreaOffset(),o.loadLinkPosition(this),ss.call(this),Ts.call(this),1!==this.data.zoomlevel&&(r.br.useHideInput=!0)}function Ds(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"finished",i=this.data,n=this.table;if("read"!==i.settings.mode&&!i.getLocked()){i.setSelectedCellText(e,t);var r=i.selector,a=r.ri,o=r.ci;if("finished"===t){if("server"===i.settings.updateMode)return;n.render()}else this.trigger("cell-edited",e,a,o)}}function zs(e){var t=this.data;"insert-row"===e?t.insert("row"):"delete-row"===e?t.delete("row"):"insert-column"===e?t.insert("column"):"delete-column"===e?t.delete("column"):"delete-cell"===e?t.deleteCell():"delete-cell-format"===e?t.deleteCell("format"):"delete-cell-text"===e?t.deleteCell("text"):"cell-printable"===e?t.setSelectedCellAttr("printable",!0):"cell-non-printable"===e?t.setSelectedCellAttr("printable",!1):"cell-editable"===e?t.setSelectedCellAttr("editable",!0):"cell-non-editable"===e&&t.setSelectedCellAttr("editable",!1),cs.call(this),hs.call(this)}function Ps(e){for(var t=e,i=0,n=0;null!==t;)i+=t.offsetTop,n+=t.offsetLeft,t=t.offsetParent;return{top:i,left:n}}function Fs(e,t,i){var n=this,r=this.data,a=this.modalSort,o=this.modalDownload,s=this.modalLink,l=this.modalSearch,h=this.commentEditable,c=this.modalInsertURLImage,u=this.modalPrint,d=this.modelControl,f=(this.overlayerCEl,this.canvas,this.filename),v=this.toolbar;this.uniqueid;function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Device",i=this.filename;"Original"!==e&&(i="".concat(i.substr(0,i.lastIndexOf(".")),".").concat(e.toLowerCase())),"function"!=typeof this.fileDownloadCallFunc?ws.call(this,i,e):this.fileDownloadCallFunc(i,e,t)}if(window.mobileAndTabletCheck()&&v.moreEl.el.hasClass("active")&&v.moreEl.dd.hide(),"undo"===e)this.undo();else if("redo"===e)this.redo();else if("print"===e){if(!this.isLoaded())return;u.show()}else if("paintformat"===e)!0===t?us.call(this):cs.call(this);else if("clearformat"===e)zs.call(this,"delete-cell-format");else if("chart"===e);else if("autofilter"===e)ms.call(this);else if("freeze"===e)if(t){var p=r.selector,m=p.ri,y=p.ci;this.freeze(m,y)}else this.freeze(0,0);else if("sort"===e)a.setValue(r.getSelectedSort());else if("download"===e)o.setValue(f);else if("download_HTML"===e)g.call(this,"HTML");else if("download_Original"===e)g.call(this,"Original");else if("download_XLSX"===e)g.call(this,"XLSX");else if("download_PDF"===e)g.call(this,"PDF");else if("download_GOOGLE"===e)g.call(this,"Original","GoogleDrive");else if("download_DROPBOX"===e)g.call(this,"Original","Dropbox");else if("search"===e)l.show();else if("insertControl"===e)d.show(t);else if("menu-display-hide"===e)"up"===this.toolbar.menuDisplay.state?(this.toolbar.menuDisplay.setDown(),this.menubar.hide(),this.table.render()):(this.toolbar.menuDisplay.setUp(),this.menubar.show(),this.table.render());else if("insertComment"===e&&"commentEdit"===t||"insertComment"===e||"commentEdit"===e){var b=r.selector,w=b.ri,q=b.ci,x="";if(void 0!==r.comments)for(var k=0;k<r.comments.length;k++){var C=r.comments[k];C.row===w&&C.col===q&&(x=C.note)}this.scrollToRowCol(w,q,!0,(function(){var e=r.cellRectWithOutTransfer(w,q);h.col=q,h.row=w,h.setPosition(x,e,r.displayRight2Left),n.commentTip.onEdit=!0,"comments"===r.search.lookin&&(r.search.result=null)}))}else if("insertComment"===e&&"commentRemove"===t||"commentRemove"===e){var S=r.selector,T=S.ri,_=S.ci;if(void 0!==r.comments)for(var O=0;O<r.comments.length;O++)r.comments[O].col===_&&r.comments[O].row===T&&r.comments.splice(O,1);"comments"===r.search.lookin&&(r.search.result=null),this.table.render()}else if("insertComment"===e&&"commentPrevious"===t||"commentPrevious"===e)Ls(this,r,"previous");else if("insertComment"===e&&"commentNext"===t||"commentNext"===e)Ls(this,r,"next");else if("insert-image"===e)"url"===t&&c.show();else if("insert-shape"===e)this.drawShape(t.svg,t.name);else if("zoom-size"===e)this.setzoom(t.number);else if("insertSheet"===e)this.addSheet();else if("insertRow"===e)zs.call(this,"insert-row");else if("insertColumn"===e)zs.call(this,"insert-column");else if("link"===e){if(this.canvas.isImageOnSelected())return void this.canvas.link(this.data);var R=this.selector.range,E=this.hyperlink.getSelectArea(R),A=this.hyperlink.findByArea(this.data,E),M="edit";if(!A){(A={}).area=E;var I=this.data.getCell(R.sri,R.sci);A.text=I?I.text:"",M="add"}s.setValue(xs.datas.map((function(e){return e.name})),A,M)}else r.setSelectedCellAttr(e,t),"formula"!==e||r.selector.multiple()||Os.call(this),hs.call(this);i&&i()}function Ls(e,t,i){var n=e.selector,r=e.commentEditable,a=t.selector,o=a.ri,s=a.ci,l=o,h=s,c="";if(void 0!==t.comments){t.comments.sort((function(e,t){return e.row>t.row||e.row===t.row&&e.col>t.col?1:-1}));for(var u=0;u<t.comments.length;u++){var d=t.comments[u];if("previous"===i)(d.row<o||d.row===o&&d.col<s)&&(l=d.row,h=d.col,c=d.note);else if("next"===i&&(d.row>o||d.row===o&&d.col>s)){l=d.row,h=d.col,c=d.note;break}}}n.set(l,h),e.scrollToRowCol(l,h,!0,(function(){if(""!==c){var e=t.cellRectWithOutTransfer(l,h);r.col=h,r.row=l,r.onEdit=!1,r.setPosition(c,e)}}))}function js(e,t,i,n){this.data.setAutoFilter(e,t,i,n),hs.call(this),this.data.updateConditionImageVisible()}function Hs(e,t){var i=new XMLHttpRequest;i.open("get",e,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var e=this.response;Ns.call(this,e,t)}else alert("Download failed, please try again")},i.send()}function Ns(e,t){var i=document.createElement("a"),n=e;"string"==typeof e?i.target="_blank":n=window.URL.createObjectURL(e),i.href=n,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),"string"!=typeof e&&window.URL.revokeObjectURL(n)}function Us(e){var t=Ps(e.target);return[e.changedTouches[0].pageX-t.left,e.changedTouches[0].pageY-t.top]}function Xs(){var e=this,t=this.selector,i=this.overlayerEl,n=this.rowResizer,r=this.colResizer,a=this.verticalScrollbar,o=this.horizontalScrollbar,s=this.editor,h=this.contextMenu,c=this.commentTip,u=this.commentEditable,d=this.toolbar,f=this.menubar,v=this.formulaBar,g=this.modalValidation,m=this.modalSort,y=this.modalDownload,b=this.modalLink,w=(this.hyperlink,this.modalInsertURLImage),q=this.modalPrint,x=this.modelControl,k=this.modalSearch,C=this.sortFilter,S=this.canvas,_=this.el;function O(e,t){Cs.call(e),Ss.call(e,t)}if(window.mobileAndTabletCheck()||i.on("mousemove",(function(t){rs.call(e,t)})).on("mousedown",(function(t){Cs.call(e),2===t.buttons?(e.data.xyInSelectedRect(t.offsetX,t.offsetY)||Ss.call(e,t),h.setPosition(t.offsetX,t.offsetY),t.stopPropagation()):2===t.detail?Os.call(e):Ss.call(e,t)})).on("mousewheel.stop",(function(t){as.call(e,t)})).on("mouseout",(function(e){var t=e.offsetX;e.offsetY<=0&&r.hide(),t<=0&&n.hide()})),u.el.on("input",(function(t){if(1===e.commentEditable.el.el.childNodes.length&&"#text"===e.commentEditable.el.el.childNodes[0].nodeName){var i=p("font");i.attr("style","FONT-FAMILY: 宋体;FONT-SIZE: 9pt;COLOR: #000000;TEXT-ALIGN: left;"),i.child(document.createTextNode(e.commentEditable.el.el.textContent)),e.commentEditable.el.el.replaceChild(i.el,e.commentEditable.el.el.firstChild),t.target.focus();var n=window.getSelection();n.selectAllChildren(t.target),n.collapseToEnd()}})),t.inputChange=function(t){Ds.call(e,t,"input"),Os.call(e),Es.call(e)},v.inputChange=function(t){Ds.call(e,t,"input"),Os.call(e,!1)},v.enter=function(t,i){if(t.altKey){s.insertTextNewLine(t);var n=i?t.target.innerHTML:t.target.innerText;Ds.call(e,n,"input"),Os.call(e,!1)}else s.clear(),ns.call(e,!1,t.shiftKey?"up":"down"),e.focusing=!0;t.preventDefault()},v.tab=function(t){s.clear(),ns.call(e,!1,t.shiftKey?"left":"right"),e.focusing=!0,t.preventDefault()},v.focuson=function(){e.focusing=!1},Fe(_.el,"mousemove",(function(t){c.hide();var i=t.offsetX,n=t.offsetY,r=e.data,a=e.table,o=e.hyperlink,s=e.canvas,l=r.comments,h=a.zoomlevel,u=r.getCellRectByXY(i/h,n/h);if(0!==r.hyperlinks.length){var d=o.getSelectArea({sci:u.ci,eci:u.ci,sri:u.ri,eri:u.ri});o.findByArea(r,d)?s.setCursor("pointer"):s.setCursor("")}u.ri>=0&&u.ci>=0&&l.forEach((function(e){u.ri===e.row&&u.ci===e.col&&c.setPosition(e.note,u,r.displayRight2Left)}))})),window.mobileAndTabletCheck()){var R,E=this,A=!1,M=!1,I=function(){return A&&M},B=this.getTableOffset(),D="",z=[0,0],P=[0,0],F=[0,0],L=[0,0],j=!1,H=(E.table.zoomlevel,{});H.__proto__=Zo.prototype,Zo.call(H,this.el.el,{tap:function(e){},touchStart:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){!function(e,t){e.target.className.includes("item")||t.contextMenu.hide()}(e,E);var t=function(e,t){var i,n=e.target.className.includes("".concat(xe,"-selector-corner")),r=e.target.className.includes("tl")?"tl":"br",a=[],o=[],s=!1;return n&&(i=Ps(e.target.offsetParent.offsetParent),a[0]=e.changedTouches[0].pageX,a[1]=e.changedTouches[0].pageY,o[0]=t.data.scroll.x,o[1]=t.data.scroll.y,s=!0),[r,i,a,o,s]}(e,E),i=l()(t,5);D=i[0],R=i[1],z=i[2],F=i[3],(A=i[4])&&(j=!1,console.info("#####touchStart ..that.data.scroll.y...... "+E.data.scroll.y+",startscroll[0]:"+F[0]),F[0]=E.data.scroll.x,F[1]=E.data.scroll.y,E.selector.setMobilestartOffsetAndRange())}},touchEnd:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)&&I()){var i=P[0]-z[0]+E.data.scroll.x-F[0],n=P[1]-z[1]+E.data.scroll.y-F[1];t.setMobileMultipleSelect(i,n),function(e,t,i,n){if(t&&i){var r=e.br.areaEl.el.getBoundingClientRect(),a=r.right>window.screen.width?window.screen.width:r.right,o=r.top-i.top+n.top;o=o>window.screen.height?window.screen.height:o,h.setPosition(a,o)}}(t,!0,R,B);var r=(Xe(),[!1,!1,!1]),a=l()(r,3);A=a[0],M=a[1],j=a[2],E.table.render()}},doubleTap:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)&&"CANVAS"===e.target.nodeName){var t=Us(e),i=l()(t,2);e.offsetX=i[0],e.offsetY=i[1],window.mobileEditOnCell=!0,O(E,e),Os.call(E)}},longTap:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){var t=Us(e),i=l()(t,2),n=i[0],r=i[1];h.setPosition(n,r)}},singleTap:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)&&("CANVAS"===e.target.nodeName||e.target.className.endsWith("-selector-corner"))&&!function(e){return e.target.className.includes("item")}(e)){var i=Us(e),n=l()(i,2);e.offsetX=n[0],e.offsetY=n[1],window.mobileEditOnCell=!0,O(E,e),t.br.useHideInput=!1,window.keyboardShow?(t.br.useHideInput=!0,Os.call(E)):function(e,t){var i=Us(e),n=l()(i,2),r=n[0],a=n[1];if(e.target.className.includes("".concat(xe,"-selector-corner"))){var o=Ps(e.target);r=o.left,a=o.top}var s=r<=t.left&&a>=t.top,c=r>=t.left&&a<=t.top;if(s||c){var u=s?t.left:r,d=c?t.top:a;h.setPosition(u,d)}}(e,B)}},rotate:function(e){},pinch:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){E.editor.el.hide();var t=e.zoom;t>2&&(t=2),t<.5&&(t=.5),E.setzoom(t)}},pressMove:function(e){if(!(e.target.parentElement&&"true"===e.target.parentElement.contentEditable||"true"===e.target.contentEditable)){var t=E.selector;E.data;if(M=!0,I()){switch(function(e,t,i,n,r){e[0]=n.changedTouches[0].pageX,e[1]=n.changedTouches[0].pageY,t[0]=i.data.scroll.x,t[1]=i.data.scroll.y}(P,L,E,e),D){case"tl":break;case"br":var i=P[0]-z[0],n=P[1]-z[1];t.setEndMobile(i,n);var r=t.getMobileMultipleSelect(i,n),a=l()(r,2),o=a[0],s=a[1];o>=E.data.viewRange().eri-4&&!j&&(j=!0,t.setEnd(o,s),function(e,t){""!==e?We(t):Xe()}("down",E))}}else Math.abs(e.deltaX)>Math.abs(e.deltaY)?Math.abs(e.deltaX)>18&&(E.scrollH(e.deltaX),E.table.render()):Math.abs(e.deltaY)>18&&(E.scrollV(e.deltaY),E.table.render())}},swipe:function(e){}})}d.change=function(t,i){return Fs.call(e,t,i)},f.change=function(t,i){return Fs.call(e,t,i,(function(){return f.hideDropdown()}))},C.ok=function(t,i,n,r){return js.call(e,t,i,n,r)},n.finishedFn=function(t,i){Is.call(e,t,i)},r.finishedFn=function(t,i){Bs.call(e,t,i)},n.unhideFn=function(t){ps.call(e,"row",t)},r.unhideFn=function(t){ps.call(e,"col",t)},a.moveFn=function(t,i){As.call(e,t,i)},o.moveFn=function(t,i){Ms.call(e,t,i)},s.change=function(t,i){Ds.call(e,i,t),Es.call(e)},s.textboxChange=function(t,i){var n=e.data;e.table;n.updateTextbox(t,i)},g.change=function(t){if("save"===t){for(var i,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(i=e.data).addValidation.apply(i,r)}else e.data.removeValidation()},m.change=function(t,i,n,r){"ok"===t&&e.data.doSort(i,n,r)},y.change=function(t,i,n){"ok"===t&&ws.call(e,i,n)},b.change=function(t,i,n){"ok"===t&&(e.canvas.isImageOnSelected()?e.canvas.setHyperlink(i):"add"===n&&(e.data.hyperlinks=e.data.hyperlinks.filter((function(e){return!T.valueOf(i.area).contains(T.valueOf(e.area))})),e.data.hyperlinks.push(i),e.hyperlink.setHyperlinkStyleByArea(i.area,e,!0),e.hyperlink.loadLinkPosition(e)))},q.change=function(t,i){"ok"===t&&(e.print.preview(i),e.print.toPrint())},x.change=function(t,i){if("ok"===t){var n=e.data.selector,r=n.ri,a=n.ci,o=new FormData;o.append("uid",uniqueid);var s={ri:r,ci:a,name:e.data.name,type:i.type,clink:i.lc,label:i.getText(),range:i.rg,info:i.info};"ComboBox"===i.type?(s.w=120,s.h=20):"ScrolBar"===i.type||"SpinButton"===i.type?(s.w=20,s.h="ScrolBar"===i.type?120:80):"CheckBox"!==i.type&&"RadioButton"!==i.type||(s.w=150,s.h=40),o.append("p",JSON.stringify(s)),o.append("control","true"),e.scrollToRowCol(r,a,!0,(function(){Ia(e,o,(function(t){S.doInsertImage(t,e)}))}))}},w.change=function(t,i){var n=e.canvas,r=e.uniqueid,a=e,o=e.data.selector,s=o.ri,l=o.ci;"ok"===t&&e.scrollToRowCol(s,l,!0,(function(){var t=a.data.getSelectedRect();n.setLoading(a,{top:t.top,left:t.left});var o={ri:s,ci:l,name:e.data.name},h={p:JSON.stringify(o),uid:r,imageurl:i};$.ajax({url:a.imageUploadByUrlUrl,type:"post",data:h,success:function(e,t,i){(e=JSON.parse(e)).Error?Te("error",e.Error):n.doInsertURLImage(e,a)}})}))},$("#upload-image").on("change",(function(t){var i=e.data.selector,n=i.ri,r=i.ci,a=t.target.files[0];e.scrollToRowCol(n,r,!0,(function(){e.canvas.imageOperationList.paste.uploadImg(e,a),t.target.value=null}))})),k.change=function(i,n,r,a,o){if("close"!==i){r||(n=n.toUpperCase());var s=e.data,l=s.search,h=s.rows,c=s.comments,d=l.keywords,f=[];if(null!=l.result&&d===n&&l.iscasesense===r&&l.lookin===a&&l.matchwhole===o)f=l.result;else{var v=h.len>0?h._:{},g=null;if("comments"===a){for(var p=document.createElement("c"),m=0,y=c.length;m<y;m++)if(p.innerHTML=c[m].note,g=r?p.innerText:p.innerText.toUpperCase(),!o&&-1!==g.indexOf(n)||o&&g===n){var b={ri:c[m].row,ci:c[m].col};b.cmt=c[m],f.push(b)}}else for(var w in v){var q=v[w].cells;for(var x in q)if("values"===a?g=r?q[x].text:q[x].text.toUpperCase():"formulas"===a&&(g=void 0!==q[x].f?r?q[x].f:q[x].f.toUpperCase():null),null!=g&&(o&&g===n||!o&&-1!==g.indexOf(n))){var k={ri:w,ci:x};f.push(k)}}l.keywords=n,l.lookin=a,l.matchwhole=o,l.iscasesense=r,l.result=f}if(0===f.length)return void alert("We couldn't find what you were looking for.");var C=-1,S=Number(t.indexes[0]),T=Number(t.indexes[1]),_=f.length-1;if(1===f.length)C=0;else if("next"===i){for(var O=0,R=f.length;O<R;O++){if(Number(f[O].ri)===S&&Number(f[O].ci)>T){C=O;break}if(Number(f[O].ri)>S){C=O;break}}-1===C&&(C=0)}else{for(var E=_;E>=0;E--){if(Number(f[E].ri)===S&&Number(f[E].ci)<T){C=E;break}if(Number(f[E].ri)<S){C=E;break}}-1===C&&(C=_)}l.current=C;var A=f[C];if(t.set(A.ri,A.ci),f[C].cmt){var M=A.cmt.note;if(""!==M){var I=s.cellRectWithOutTransfer(A.ri,A.ci);u.col=A.ci,u.row=A.ri,u.onEdit=!1,u.setPosition(M,I)}}ts.call(e)}},h.showMenuBefore=function(t){var i=l()(e.selector.indexes,2),n=i[0],r=i[1],a=!1;if(t.forEach((function(e){return e.show()})),e.canvas.isImageOnSelected()){if(t.forEach((function(e){-1===["copy","cut","paste","link"].indexOf(e.key)&&e.hide()})),e.canvas.checkHyperlink(e.canvas.fabric))return;e.canvas.validType(e.canvas.fabric,"type","Chart")&&(a=!0)}if(!e.hyperlink.check(e.data,n,r)){var o=null;if(t.forEach((function(e){a&&"link"===e.key&&(o.hide(),e.hide()),"openLink"===e.key&&e.hide(),"removeLink"===e.key&&e.hide(),o=e})),window.mobileAndTabletCheck()){var s=["edit","cut","copy","paste","merge","unmerge","clear"].map((function(e){return Q("contextmenu.".concat(e))}));t.forEach((function(t){s.includes(t.el.innerText)||t.hide(),t.el.className.includes("divider")&&t.hide(),e.data.merges.equals(e.selector.range)&&t.el.innerText===Q("contextmenu.merge")&&t.hide(),e.data.merges.equals(e.selector.range)||t.el.innerText!==Q("contextmenu.unmerge")||t.hide()}))}}},h.itemClick=function(t){if("validation"===t)g.setValue(e.data.getSelectedValidation());else if("sort"===t)m.setValue(e.data.getSelectedSort());else if("download"===t)y.setValue(e.filename);else if("link"===t){if(e.canvas.isImageOnSelected())return void e.canvas.link(e.data);var i=e.selector.range,n=e.hyperlink.getSelectArea(i),r=e.hyperlink.findByArea(e.data,n),a="edit";if(!r){(r={}).area=n;var o=e.data.getCell(i.sri,i.sci);r.text=o?o.text:"",a="add"}b.setValue(xs.datas.map((function(e){return e.name})),r,a)}else"removeLink"===t?e.canvas.isImageOnSelected()?e.canvas.removeLink(e.data):e.hyperlink.removeByRange(e.selector.range,e):"openLink"===t?e.canvas.isImageOnSelected()?e.canvas.openLink(e.data):e.hyperlink.accessByRange(e.selector.range,e.data):"copy"===t?(us.call(e),e.canvas.doOperation("copy")):"cut"===t?(ds.call(e),e.canvas.doOperation("copy"),e.canvas.doOperation("delete")):"paste"===t?S.clipboard?e.canvas.doOperation("paste"):vs.call(e,"all"):"paste-value"===t?vs.call(e,"text"):"paste-format"===t?vs.call(e,"format"):"hide"===t?gs.call(e):"delete-image"===t?e.canvas.doOperation("delete"):"merge"===t?(e.data.setSelectedCellAttr(t,!0),e.table.render()):"unmerge"===t?(e.data.setSelectedCellAttr("merge",!1),e.table.render()):"edit"===t?Os.call(e):zs.call(e,t)}}function Ws(){var e=this,t=function(){window.mobileAndTabletCheck()||e.reload()},i=function(t){e.enableKeyEvent&&e.focusing&&"commentEdit"!==t.target.parentElement.id&&(t.target.parentElement.parentElement&&"commentEdit"===t.target.parentElement.parentElement.id||"x-spreadsheet-form-input"!==t.target.parentElement.className&&(vs.call(e,"all",t),t.preventDefault()))},n=function(t){if(e.enableKeyEvent&&e.focusing&&"commentEdit"!==t.target.id&&"x-spreadsheet-form-input"!==t.target.parentElement.className&&!t.target.className.startsWith("x-spreadsheet")){var i=t.keyCode||t.which,n=t.key,r=t.ctrlKey,a=t.shiftKey,o=t.metaKey,s=e.editor,l=e.contextMenu,h=e.commentTip,c=e.toolbar,u=e.canvas;e.el;if(r||o)switch(i){case 90:e.undo(),t.preventDefault();break;case 89:e.redo(),t.preventDefault();break;case 67:us.call(e),u.doOperation("copy"),t.preventDefault();break;case 88:ds.call(e),t.preventDefault();break;case 85:c.trigger("underline"),t.preventDefault();break;case 86:u.clipboard?u.doOperation("paste"):vs.call(e,"all"),t.preventDefault();break;case 37:ns.call(e,a,"row-first"),t.preventDefault();break;case 38:ns.call(e,a,"col-first"),t.preventDefault();break;case 39:ns.call(e,a,"row-last"),t.preventDefault();break;case 40:ns.call(e,a,"col-last"),t.preventDefault();break;case 32:is.call(e,!1,-1,e.data.selector.ci,!1),t.preventDefault();break;case 66:c.trigger("bold");break;case 73:c.trigger("italic")}else{switch(i){case 32:a&&is.call(e,!1,e.data.selector.ri,-1,!1);break;case 27:l.hide(),h.hide(),cs.call(e);break;case 37:ns.call(e,a,"left"),t.preventDefault();break;case 38:ns.call(e,a,"up"),t.preventDefault();break;case 39:ns.call(e,a,"right"),t.preventDefault();break;case 40:ns.call(e,a,"down"),t.preventDefault();break;case 9:s.clear(),ns.call(e,!1,a?"left":"right"),t.preventDefault();break;case 13:s.clear(),ns.call(e,!1,a?"up":"down"),t.preventDefault();break;case 8:zs.call(e,"delete-cell-text"),t.preventDefault()}"Delete"===n?(zs.call(e,"delete-cell-text"),u.doOperation("delete"),t.preventDefault()):i>=65&&i<=90||i>=48&&i<=57||i>=96&&i<=105||"="===t.key?(Ds.call(e,t.key,"input"),Os.call(e),Es.call(e)):113===i&&Os.call(e)}}};Fe(window,"resize",t),e.enableKeyEvent&&(Fe(window,"keydown",n),Fe(window,"paste",i)),this.delWindowEvent=function(){var r=e.toolbar,a=e.canvas;Le(window,"keydown",n),Le(window,"paste",i),Le(window,"resize",t),r.delWindowEvent&&r.delWindowEvent(),a.delWindowEvent&&a.delWindowEvent()}}Go.prototype.add=function(e){this.handlers.push(e)},Go.prototype.del=function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)},Go.prototype.dispatch=function(){for(var e=0,t=this.handlers.length;e<t;e++){var i=this.handlers[e];"function"==typeof i&&i.apply(this.el,arguments)}},Zo.prototype={start:function(e){if(e.touches){this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y,this.pinchStartLen=Yo(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this._inZoom||(this.longTap.dispatch(e,this.element),this._preventTap=!0)}.bind(this),750)}},move:function(e){if(e.touches){var t=this.preV,i=e.touches.length,n=e.touches[0].pageX,r=e.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var a=e.touches[1].pageX,o=e.touches[1].pageY,s={x:e.touches[1].pageX-n,y:e.touches[1].pageY-r};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=Yo(s)/this.pinchStartLen,this.pinch.dispatch(e,this.element),this._preventTap=!0,this._inZoom=!0),e.angle=Vo(s,t),this.rotate.dispatch(e,this.element)),t.x=s.x,t.y=s.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(n-this.x2+a-this.sx2)/2,e.deltaY=(r-this.y2+o-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=a,this.sy2=o}else{if(null!==this.x2){e.deltaX=n-this.x2,e.deltaY=r-this.y2;var l=Math.abs(this.x1-this.x2),h=Math.abs(this.y1-this.y2);(l>10||h>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=n,this.y2=r,i>1&&e.preventDefault()}},end:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){t.swipe.dispatch(e,t.element)}),0)):(this.tapTimeout=setTimeout((function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)}),0),t.isDoubleTap||t._preventTap||(t.singleTapTimeout=setTimeout((function(){t.singleTap.dispatch(e,t.element)}),250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}},cancelAll:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)},cancel:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)},_cancelLongTap:function(){clearTimeout(this.longTapTimeout)},_cancelSingleTap:function(){clearTimeout(this.singleTapTimeout)},_swipeDirection:function(e,t,i,n){return Math.abs(e-t)>=Math.abs(i-n)?e-t>0?"Left":"Right":i-n>0?"Up":"Down"},on:function(e,t){this[e]&&this[e].add(t)},off:function(e,t){this[e]&&this[e].del(t)},destroy:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}};var Ys=function(){function e(t,i){var n=this;c()(this,e),this.eventMap=new Map;var r=i.settings,a=r.view,o=r.showToolbar,s=r.showFileName,l=r.showContextmenu,h=r.mode,u=r.showPartToolbar,d=r.contextMenuItems,f=r.local;this.el=p("div","".concat(xe,"-sheet")),this.menubar=new Wo(i,a.width,!o,u,s,this,f),this.toolbar=new ta(i,a.width,!o,u),this.formulaBar=new Ca(i,h),this.canvas=new co,this.print=new Di(i,this.canvas),this.hyperlink=new Do,t.children(this.menubar.el,this.toolbar.el,this.formulaBar.el,this.el,this.print.el),this.data=i,this.tableEl=p("canvas","".concat(xe,"-table"));var v=i.settings.row.height;this.rowResizer=new Ve(!1,v,this),this.colResizer=new Ve(!0,i.cols.minWidth,this),this.verticalScrollbar=new Ge(!0),this.horizontalScrollbar=new Ge(!1),this.editor=new Oi(le,(function(){return n.getTableOffset()}),v,this),this.modalValidation=new ca,this.modalSort=new fa,this.modalDownload=new jo,this.modalLink=new No,this.modalSearch=new qa,this.modalInsertURLImage=new fo,this.modalPrint=new go,this.modelControl=new ka(i),this.contextMenu=new ji((function(){return n.getRect()}),this,!l,d),this.commentTip=new ba,this.commentEditable=new Ta,this.selector=new ct(i),this.highlight=new Fo(this),this.el.css("background-repeat","repeat"),this.el.css("background-attachment","scroll"),this.imageDiv=p("div").attr("id","imagediv").css("position","relative").css("pointer-events","auto").css("z-index","17"),this.overlayerCEl=p("div","".concat(xe,"-overlayer-content")).children(this.editor.el,this.selector.el,this.imageDiv.el),this.overlayerEl=p("div","".concat(xe,"-overlayer")).children(this.overlayerCEl,this.canvas),this.sortFilter=new ya,this.el.children(this.tableEl,this.overlayerEl.el,this.rowResizer.el,this.colResizer.el,this.verticalScrollbar.el,this.horizontalScrollbar.el,this.contextMenu.el,this.commentTip.el,this.commentEditable.el,this.modalValidation.el,this.modalSort.el,this.modalDownload.el,this.modalLink.el,this.modalSearch.el,this.modalInsertURLImage.el,this.modalPrint.el,this.modelControl.el,this.sortFilter.el),this.table=new pi(this.tableEl.el,i),Xs.call(this),this.delWindowEvent=null,this.enableKeyEvent="read"!==h,Ws.call(this),hs.call(this),is.call(this,!1,0,0),this.canvas.init(this),this.imageUploadByLocalUrl=null,this.imageUploadByUrlUrl=null,this.reloadUrl=null,this.fileDownloadUrl=null,this.oleDownloadUrl=null,this.uniqueid="",this.filename=""}var t;return o()(e,[{key:"setReloadUrl",value:function(e){this.reloadUrl=e}},{key:"getReloadUrl",value:function(){return this.reloadUrl+"?filename="+this.filename+"&uid="+this.uniqueid}},{key:"on",value:function(e,t){return this.eventMap.set(e,t),this}},{key:"preMousedown",value:function(){Cs.call(this)}},{key:"trigger",value:function(e){var t=this.eventMap;if(t.has(e)){for(var i,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];(i=t.get(e)).call.apply(i,[this].concat(r))}}},{key:"resetData",value:function(e,t){var i=this;this.editor.clear(),this.data=e,os.call(this),ss.call(this);var n=this.getTableOffset();this.overlayerCEl.offset(n),e.displayRight2Left?this.overlayerCEl.el.setAttribute("dir","rtl"):this.overlayerCEl.el.removeAttribute("dir"),this.data.topOrder=0,this.toolbar.resetData(e),this.formulaBar.resetData(e),this.print.resetData(this,e),this.selector.resetData(e),this.table.resetData(e),this.canvas.reset(e),this.data.updateConditionImageDirection(),this.verticalScrollbar.el.el.style.overflowY="hidden",this.horizontalScrollbar.el.el.style.overflowX="hidden",this.data.reloadImagesShapes(),this.hyperlink.loadLinkPosition(this);var r=this.highlight;!function n(){i.isLoaded()?(i.verticalScrollbar.el.el.style.overflowY="scroll",i.horizontalScrollbar.el.el.style.overflowX="scroll",r.AutoShowOrHide(),i.trigger("sheet-loaded",t,e.name)):setTimeout(n,300)}()}},{key:"loadData",value:function(e){return this.data.setData(e),hs.call(this),this}},{key:"isLoaded",value:function(){var e=this.data;return!0===e.isImageOk&&!e.isRestoreFromCanvas||e.isRestoreFromCanvas&&e.isRestoreFromCanvasReady}},{key:"scrollV",value:function(e,t){var i=this.verticalScrollbar.scroll().top;this.verticalScrollbar.move({top:i-e},t);var n=this;setTimeout((function(){i===n.verticalScrollbar.scroll().top&&t&&t()}),3e3)}},{key:"scrollToRow",value:function(e,t,i){var n=this.data.viewRange(),r=n.sri,a=n.eri;if(r!==e)if(t&&e>r&&e<=a)i&&i();else{var o=e>r?-this.data.rows.sumHeight(r,e):this.data.rows.sumHeight(e,r);this.scrollV(o,i)}else i&&i()}},{key:"scrollToCol",value:function(e,t,i){var n=this.data.viewRange(),r=n.sci,a=n.eci;if(r!==e)if(t&&e>r&&e<a-1)i&&i();else{var o=e>r?-this.data.cols.sumWidth(r,e):this.data.cols.sumWidth(e,r);this.scrollH(o,i)}else i&&i()}},{key:"scrollToSelect",value:function(){var e=this.selector.range,t=e.sri,i=e.sci;this.scrollToRowCol(t,i)}},{key:"scrollToRowCol",value:function(e,t,i,n){var r=this;this.scrollToRow(e,i,(function(){r.scrollToCol(t,i,n)}))}},{key:"scrollH",value:function(e,t){var i=this.horizontalScrollbar.scroll().left;this.horizontalScrollbar.move({left:i-e},t);var n=this;setTimeout((function(){i===n.horizontalScrollbar.scroll().left&&t&&t()}),3e3)}},{key:"selectMoveDown",value:function(){ns.call(this,!0,"down")}},{key:"freeze",value:function(e,t){var i=this.data;return this.canvas.doResetPosition(e,t),i.setFreeze(e,t),hs.call(this),this}},{key:"setActiveCell",value:function(e,t){return is.call(this,!1,e,t),this.focusing=!0,this}},{key:"setEditForTextBox",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Rs.call(this,e,t,i),this}},{key:"undo",value:function(){this.data.undo(),hs.call(this)}},{key:"redo",value:function(){this.data.redo(),hs.call(this)}},{key:"reload",value:function(){return hs.call(this),this}},{key:"drawShape",value:function(e,t){if(document.getElementById("drawShapeCanvas")){var i=document.getElementById("drawShapeCanvas");i.fabricCanvas.dispose(),i.parentNode.removeChild(i)}var n=this,r=document.createElement("canvas");r.width=this.canvas.fabric.width,r.height=this.canvas.fabric.height,r.setAttribute("id","drawShapeCanvas"),this.overlayerEl.children(r);var a=new fabric.Canvas(r);a.wrapperEl.style.zIndex=100,a.wrapperEl.style.position="absolute",a.wrapperEl.style.top="0px",a.defaultCursor="crosshair",r.fabricCanvas=a,a.selection=!1;var o=!1,s=null,l=null,h=null;a.on("mouse:down",(function(t){s||fabric.loadSVGFromString(e,(function(e,i){(s=fabric.util.groupSVGElements(e,i)).set({left:t.e.clientX-r.offsetLeft,top:t.e.clientY-r.offsetTop-n.overlayerEl.el.getBoundingClientRect().top}),l=n.data.selector.ri,h=n.data.selector.ci,a.add(s).renderAll(),s.forEachObject((function(e){e.set({fill:"#3C67BC",opacity:.95})})),o=!0}))})),a.on("mouse:move",(function(e){if(o&&s){var t=e.e.clientX-s.left-r.offsetLeft,i=e.e.clientY-s.top-r.offsetTop-n.overlayerEl.el.getBoundingClientRect().top;s.set({scaleX:t/s.width,scaleY:i/s.height}),n.selector.hide(),a.renderAll()}})),a.on("mouse:up",(function(e){if(o=!1,s){var i=s.getBoundingRect();console.log("Coordinates:",i);var c={name:t,left:s.left,top:s.top,w:s.width*s.scaleX+10,h:s.height*s.scaleY+10};n.canvas.imageOperationList.paste.uploadImg(n,null,c),n.scrollToRowCol(l,h,!0,(function(){e.e.target.value=null})),a.dispose(),n.selector.showClipboard(),r.parentNode.removeChild(r)}}))}},{key:"setzoom",value:function(e){var t=this.data,i=this.table,n=this.canvas,r=this.selector;i.zoomlevel=e,t.zoomlevel=e;this.getTableOffset();1!==this.data.zoomlevel&&(r.br.useHideInput=!1),this.data.zoomlevel<1&&!window.mobileAndTabletCheck()&&(this.overlayerCEl.el.style.width="".concat(this.overlayerCEl.el.clientWidth/e,"px"),this.overlayerCEl.el.style.height="".concat(this.overlayerCEl.el.clientHeight/e,"px")),n.setZoom(e),hs.call(this),1!==this.data.zoomlevel&&(r.br.useHideInput=!0),t.updateConditionImageZoom()}},{key:"showHighlights",value:function(e){this.highlight.showHighlights(e)}},{key:"hideHighlights",value:function(){this.highlight.hideHighlights()}},{key:"updateHighlightStyle",value:function(e){this.highlight.updateHighlightStyle(e)}},{key:"clearHighlights",value:function(){this.highlight.clearHighlights()}},{key:"getHighlightTexts",value:function(){return this.highlight.getHighlightTexts()}},{key:"addHighlightText",value:function(e,t,i,n){this.highlight.addHighlightText(e,t,i,n)}},{key:"removeHighlightText",value:function(e,t,i,n){this.highlight.removeHighlightText(e,t,i,n)}},{key:"getHighlightRanges",value:function(){return this.highlight.getHighlightRanges()}},{key:"addHighlightRange",value:function(e,t,i,n){this.highlight.addHighlightRange(e,t,i,n)}},{key:"removeHighlightRange",value:function(e,t,i,n){this.highlight.removeHighlightRange(e,t,i,n)}},{key:"setHighlightInverseRange",value:function(e,t,i,n){this.highlight.setHighlightInverseRange(e,t,i,n)}},{key:"getHighlightInverseRange",value:function(){return this.highlight.getHighlightInverseRange()}},{key:"removeHighlightInverseRange",value:function(){this.highlight.removeHighlightInverseRange()}},{key:"getHighlightShaps",value:function(){return this.highlight.getHighlightShaps()}},{key:"addHighlightShape",value:function(e){this.highlight.addHighlightShape(e)}},{key:"removeHighlightShape",value:function(e){this.highlight.removeHighlightShape(e)}},{key:"addHighlightTextBox",value:function(e,t,i){var n=this.data,r=(this.table,this.highlight,n.shapes.find((function(t){return t.id===e})));r?"TextBox"===r.type?(this.addHighlightShape(e),r.addHighlight(t,i)):console.error("shape is not textbox"):console.error("shape does not exist")}},{key:"removeHighlightTextBox",value:function(e,t,i){var n=this.data,r=(this.table,n.shapes.find((function(t){return t.id===e})));r?"TextBox"===r.type?-1!==n.highlighshapes.indexOf(e)&&r.removeHighlight(t,i):console.error("shape is not textbox"):console.error("shape does not exist")}},{key:"getHighlightImages",value:function(){return this.highlight.getHighlightImages()}},{key:"addHighlightImage",value:function(e){this.highlight.addHighlightImage(e)}},{key:"removeHighlightImage",value:function(e){this.highlight.removeHighlightImage(e)}},{key:"setHighlightAll",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.highlight;i.setHighlightAll(e,t)}},{key:"setCustomHighlightImgFunc",value:function(e){this.highlight.setCustomHighlightImgFunc(e)}},{key:"getImageContextMenuItems",value:function(){return this.contextMenu.getImageContextMenuItems()}},{key:"addImageContextMenuItems",value:function(e){this.contextMenu.addImageContextMenuItems(e)}},{key:"delImageContextMenuItems",value:function(e){this.contextMenu.delImageContextMenuItems(e)}},{key:"getCustomContextMenuItems",value:function(){return this.contextMenu.getCutomContextMenuItems()}},{key:"addCustomContextMenuItems",value:function(e){this.contextMenu.addCutomContextMenuItems(e)}},{key:"insertCustomContextMenuItem",value:function(e,t){this.contextMenu.insertCutomContextMenuItem(e,t)}},{key:"updateCustomContextMenuItem",value:function(e,t){this.contextMenu.updateCutomContextMenuItem(e,t)}},{key:"delCustomContextMenuItems",value:function(e){this.contextMenu.delCutomContextMenuItems(e)}},{key:"getOle",value:(t=r()(d.a.mark((function e(t){var i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=this.oleDownloadUrl+"?id="+t+"&uid="+this.uniqueid+"&sheet="+this.data.name,Ns.call(this,i);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getRect",value:function(){var e=this.data;return{width:e.viewWidth(),height:e.viewHeight()}}},{key:"getTableOffset",value:function(){var e=this.data,t=e.rows,i=e.cols,n=e.displayRight2Left,r=this.table.zoomlevel,a=this.data.settings.row.height,o=this.getRect(),s=o.width,l=o.height;return{width:(s-i.indexWidth)*r,height:(l-t.height)*r,left:n?0:i.indexWidth*r,top:a*r}}},{key:"setBgImage",value:function(e,t,i){this.el.css("background-image","url("+e+")");var n=this.data.cols.indexWidth+"px",r=this.data.settings.row.height+"px";this.el.css("background-position",n+" "+r),this.el.css("background-size",t+" "+i)}},{key:"clearBgImage",value:function(){this.el.cssRemoveKeys("background-image","background-size")}},{key:"scrollBgImge",value:function(e,t){var i=this.data.cols.indexWidth+e+"px",n=this.data.settings.row.height+t+"px";this.el.css("background-position",i+" "+n)}}]),e}();function Vs(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=qe()(e);if(t){var r=qe()(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return be()(this,i)}}var Gs=function(e){me()(i,e);var t=Vs(i);function i(e){var n;c()(this,i);var r=new Ce("ellipsis");return(n=t.call(this,r,"auto",!1,"top-left")).contentClick=e,n.activeEl=null,n.mylist=[],n}return o()(i,[{key:"reset",value:function(e){var t=this;this.mylist=[];var i=e.map((function(e,i){var n=p("div","".concat(xe,"-item")).css("width","150px").css("font-weight","normal").on("click",(function(){t.contentClick(i),t.hide()}));return n.key=e,t.mylist.push(n),n.child(e)}));this.setContentChildren.apply(this,y()(i))}},{key:"toggleAct",value:function(e){var t=this.mylist.find((function(t){return t.key===e}));this.activeEl&&this.activeEl.toggle(),this.activeEl=t,this.activeEl.toggle()}},{key:"setTitle",value:function(){}}]),i}(Vi),Ks=function(e){me()(i,e);var t=Vs(i);function i(e){var n;c()(this,i);var r=new Ce("pagination");return(n=t.call(this,r,"100px",!1,"top-left")).contentEl.css("max-height","298px"),n.contentEl.css("overflow-y","auto"),n.contentClick=e,n}return o()(i,[{key:"reset",value:function(e){var t=this,i=e.map((function(e,i){return p("div","".concat(xe,"-item")).css("width","auto").css("font-weight","normal").on("click",(function(){t.contentClick(i),t.hide()})).child(e)}));this.setContentChildren.apply(this,y()(i))}}]),i}(Vi),Zs=[{key:"delete",title:ee("contextmenu.deleteSheet")}];function Js(e){var t=this;return p("div","".concat(xe,"-item")).child(e.title()).on("click",(function(){t.itemClick(e.key),t.hide()}))}function $s(){var e=this;return Zs.map((function(t){return Js.call(e,t)}))}var Qs=function(){function e(){var t;c()(this,e),this.el=(t=p("div","".concat(xe,"-contextmenu")).css("width","160px")).children.apply(t,y()($s.call(this))).hide(),this.itemClick=function(){}}return o()(e,[{key:"hide",value:function(){var e=this.el;e.hide(),je(e)}},{key:"setOffset",value:function(e){var t=this.el;t.offset(e),t.show(),He(t)}}]),e}(),el=function(){function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},s=arguments.length>5?arguments[5]:void 0;c()(this,e),this.settings=s,this.addFunc=i,this.swapFunc=n,this.updateFunc=a,this.scrollFunc=o,this.dataNames=[],this.activeEl=null,this.deleteEl=null,this.items=[],this.moreEl=new Gs((function(e){t.clickSwap2(t.items[e])})),this.paginationEl=new Ks((function(e){t.scrollFunc(e)})),this.contextMenu=new Qs,this.contextMenu.itemClick=r,this.el=p("div","".concat(xe,"-bottombar")).children(this.contextMenu.el,this.menuEl=this.setMenuEl())}return o()(e,[{key:"setMenuEl",value:function(){var e=this;return"edit"===this.settings.mode?p("ul","".concat(xe,"-menu")).child(p("li","").children(new Ce("add").on("click",(function(){e.dataNames.length<10?e.addFunc():Te("Warning","It is less than or equal to 10")})),p("span","").child(this.moreEl))):p("ul","".concat(xe,"-menu")).child(p("li","").children(p("span","").child(this.moreEl)))}},{key:"addItem",value:function(e,t,i,n){this.dataNames.push(e);var r=p("li",t?"active":"").child(e);r.key=e,void 0!==i&&(r.el.style.color=n,r.el.style.backgroundColor=i),this.setItemEvent(r),this.items.push(r),this.menuEl.child(r),this.moreEl.reset(this.dataNames),t&&this.clickSwap(r)}},{key:"addPagination",value:function(e){for(var t=[],i=1;i<=e;i++){var n=i+"";t.push(n)}this.paginationEl.reset(t)}},{key:"setItemEvent",value:function(e){var t=this;"edit"===this.settings.mode?e.on("click",(function(){t.clickSwap2(e)})).on("contextmenu",(function(i){var n=i.target,r=n.offsetLeft,a=n.offsetHeight;t.contextMenu.setOffset({left:r,bottom:a+1}),t.deleteEl=e})).on("dblclick",(function(){if(!(e.el.children.length>0)){var i=e.html(),n=new na("auto","",31);n.val(i),n.input.on("blur",(function(e){var r=e.target.value,a=t.dataNames.findIndex((function(e){return e===i}));t.renameItem(a,r,n)})),e.html("").child(n.el),n.focus()}})):e.on("click",(function(){t.clickSwap2(e)}))}},{key:"renameItem",value:function(e,t,i){if(this.dataNames[e]!==t&&0!==t.length)if(t.length>31)Te("Error","The max length of the sheet name is 31",(function(){i.focus()}));else if(this.dataNames.indexOf(t)>=0)Te("Error","Same worksheet name already exist",(function(){i.focus()}));else{for(var n=0;n<t.length;n++)switch(t[n]){case":":case"\\":case"/":case"?":case"*":case"[":case"]":return void Te("Error","Worksheet name could not contain any following characters : : \\ / ? * [ or ]",(function(){i.focus()}))}this.dataNames.splice(e,1,t),this.moreEl.reset(this.dataNames),this.items[e].html("").child(t),this.updateFunc(e,t)}else this.items[e].html("").child(t)}},{key:"clear",value:function(){var e=this;this.items.forEach((function(t){e.menuEl.removeChild(t.el)})),this.items=[],this.dataNames=[],this.moreEl.reset(this.dataNames)}},{key:"hide",value:function(){var e=this.el;e.hide(),je(e)}},{key:"deleteItem",value:function(){var e=this.activeEl,t=this.deleteEl;if(this.items.length>1){var i=this.items.findIndex((function(e){return e===t}));if(this.items.splice(i,1),this.dataNames.splice(i,1),this.menuEl.removeChild(t.el),this.moreEl.reset(this.dataNames),e===t){var n=l()(this.items,1)[0];return this.activeEl=n,this.activeEl.toggle(),[i,0]}return[i,-1]}return[-1]}},{key:"clickSwap2",value:function(e){Qa(e.el);var t=this.items.findIndex((function(t){return t===e}));this.clickSwap(e),this.activeEl.toggle(),this.swapFunc(t)}},{key:"clickSwap",value:function(e){if(null!==this.activeEl){this.activeEl.toggle();var t=this.activeEl.el.style.backgroundColor;t&&(this.activeEl.el.style.backgroundColor=(i=t.match(/[\d.]+/g)).length>=3?"rgb("+i[0]+","+i[1]+","+i[2]+")":"")}var i;this.activeEl=e;var n=e.el.style.backgroundColor;n&&(this.activeEl.el.style.backgroundColor=function(e,t){var i=e.match(/[\d.]+/g);if(i.length>=3)return"rgba("+i[0]+","+i[1]+","+i[2]+","+t+")"}(n,.1)),this.moreEl.toggleAct(e.key)}},{key:"setDirection",value:function(e){e?this.el.attr("dir","rtl"):this.el.removeAttr("dir")}}]),e}();i(36);function tl(e){var t=[],i=0;this.run=function(e){var n=this;this.startHandler(e,(function(){i--,e.timestm,e.isfinish,t.length>0&&n.run(t.shift())}))},this.startHandler=function(n,r){var a=this;n.isfinish?t.length>0&&this.run(t.shift()):0!==i?setTimeout((function(){return a.startHandler(n,r)}),300):(i++,n.timestm,n.isfinish,e(n,r))},this.append=function(e){t.push(e),t.length,e.timestm,1===t.length&&this.run(e)},this.isFinish=function(){return 0===t.length&&0===i}}var il=function e(t,i,n,r){c()(this,e),this.item=t,this.url=i,this.callback=n,this.callbackerror=r,this.isfinish=!1,this.timestm="["+(new Date).getTime()+"] "};function nl(e,t){var i=$.ajax({url:e.url,type:"post",dataType:"json",data:e.item});e.timestm,e.isfinish,i.done((function(i){e.timestm,e.callback&&(e.callback(i),e.isfinish=!0),t()})),i.fail((function(i,n,r){e.timestm,e.callbackerror&&(e.callbackerror(i,n,r),e.isfinish=!0),t()}))}function rl(e){e.scaleX=1,e.scaleY=1,e.originAngle=e.angle;var t=e.originAngle;t<0&&(t+=360),t>90&&t<180?t=180-t:t>=180&&t<270?t-=180:t>=270&&(t=360-t),t>=45&&(t=90-t);Math.sin(.017453293*t),Math.cos(.017453293*t);e.originWidth=e.width,e.originHeight=e.height,e.originLeft=e.left,e.originTop=e.top}function al(e){if(e.rg&&!Array.isArray(e.rg)){var t=e.rg.replaceAll("$",""),i=t.indexOf(":");if(i>0){var n=x(t.substr(0,i)),r=l()(n,2),a=r[0],o=r[1],s=t.substr(i+1);if(s.length>0){var h=x(s),c=l()(h,2),u=c[0],d=c[1];e.rg=[o,a,d,u]}else delete e.rg}else delete e.rg}}function ol(e,t){if(e.lc&&!Array.isArray(e.lc)){var i=e.lc,n=i.indexOf(":");n>0&&(i=i.substr(0,n));var r=x(i=i.replaceAll("$","")),a=l()(r,2),o=a[0],s=a[1];t.data.setLinkedShape(s,o,e.id),e.lc=[s,o]}al(e)}var sl=function(){function e(t){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c()(this,e);var r=t;this.options=n,n.local&&ie(n.local),this.sheetIndex=0,this.datas=[],this.uniqueid="",this.filename="",n.loadingGif?this.updating=n.loadingGif:this.updating="content/img/updating.gif",this.imageUrl=null,this.basicZorder=0,this.istestforimage=!1,this.buffer=new tl(nl),"string"==typeof t&&(r=document.querySelector(t)),window.mobileAndTabletCheck=function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},window.mobileEditOnCell=!1,Ye((function(e){var t=i.sheet;t.data,t.selector,t.canvas,t.editor,t.verticalScrollbar;window.keyboardShow=!1,window.issugestclick?window.issugestclick=!1:(i.sheet.preMousedown(),i.reRender(),window.mobileEditOnCell=!1)}),(function(e){window.keyboardShow=!0;var t=i.sheet,n=t.data;t.selector,t.editor,t.verticalScrollbar;window.mobileEditOnCell&&i.sheet.scrollToRow(n.selector.ri)})),this.bottombar=new el((function(){if(i.uniqueid.endsWith(".csv"))Te("Warning","CSV file does not support more than one worksheet");else if(i.uniqueid.endsWith(".tsv"))Te("Warning","TSV file does not support more than one worksheet");else{i.sheet.canvas.doNewSheetPage(i.sheet.data);var e=i.addSheet();e.showGrid=!0,i.sheet.resetData(e)}}),(function(e){var t=i.datas[e];t.scroll={ci:0,ri:0,riact:0,x:0,y:0,yact:0},i.sheet.canvas.doSwitchSheetPage(i.sheet.data),i.sheet.resetData(t,e),i.bottombar.setDirection(t.displayRight2Left),i.resetPagination(t),i.sheet.verticalScrollbar.move({top:0}),i.setZoomLevel(t.zoomlevel),i.sheet.data.autoFilter.filters.length>0&&(i.sheet.data.resetAutoFilter(),i.sheet.data.deleteExceptRowHideForAutoFilter()),i.sheet.trigger("sheet-selected",e,i.sheet.data.name)}),(function(){i.deleteSheet()}),(function(e,t){i.renameSheet(e,t)}),(function(e){var t=e*i.data.settings.row.len,n=i.data.rows.sumHeight(0,t);i.sheet.verticalScrollbar.move({top:n-1})}),this.options),this.isloading=!0,this.data=this.addSheet(),this.isloading=!1,this.resetPagination(this.data);var a=p("div","".concat(xe)).on("contextmenu",(function(e){return e.preventDefault()}));r.appendChild(a.el),this.sheet=new Ys(a,this.data),this.sheet.hyperlink.setActiveSheetBySheetName=function(e){i.setActiveSheetByName(e)},this.sheet.hyperlink.setActiveCell=function(e,t){i.setActiveCell(e,t)},this.sheet.addSheet=this.bottombar.addFunc,a.child(this.bottombar.el);var o=this;fabric.Image.fromURL(this.updating,(function(e){o.sheet.updatGif=e,e.name="updategifing"}))}return o()(e,[{key:"setUniqueId",value:function(e){this.uniqueid=e,this.sheet.uniqueid=e}},{key:"setFileDownloadInfo",value:function(e){this.sheet.fileDownloadUrl=e}},{key:"setOleDownloadInfo",value:function(e){this.sheet.oleDownloadUrl=e}},{key:"setFileName",value:function(e){this.filename=e,this.sheet.filename=e,this.sheet.menubar.setFileName(e)}},{key:"setZoomLevel",value:function(e){this.sheet.setzoom(e)}},{key:"setReloadUrl",value:function(e){this.sheet.setReloadUrl(e)}},{key:"setVisibleFilter",value:function(e){this.sheet.visibleFilter=e}},{key:"setFileDownloadCallFunction",value:function(e){this.sheet.fileDownloadCallFunc=e}},{key:"setImageInfo",value:function(e,t,i,n,r,a){if(this.imageUrl=e,this.sheet.imageUploadByLocalUrl=t,this.sheet.imageUploadByUrlUrl=i,this.sheet.imageCopyUrl=n,this.basicZorder=r,a){this.updating=a,this.sheet.updatGif=null;var o=this;fabric.Image.fromURL(a,(function(e){o.sheet.updatGif=e,e.name="updategifing"}))}return this}},{key:"setImageForTest",value:function(e,t){return this.imageUrl=e,this.basicZorder=t,this.istestforimage=!0,this}},{key:"setDisplayRight2Left",value:function(e){var t=this.sheet,i=this.bottombar,n=t.data;if(n.displayRight2Left!==e){n.displayRight2Left=e;var r=t.getTableOffset();t.overlayerCEl.offset(r),t.resetData(n),i.setDirection(e)}}},{key:"enableKeyEvent",value:function(e){this.sheet.enableKeyEvent=e}},{key:"destroy",value:function(){this.sheet.delWindowEvent()}},{key:"isLoaded",value:function(){return this.sheet.isLoaded()}},{key:"getUpdateDatas",value:function(){for(var e=[],t=0,i=this.datas.length;t<i;t++)if("Chart"!==this.datas[t].type){var n=this.datas[t].getDataForSave();null!=n&&e.push(n)}return e}},{key:"addSheet",value:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,o=e||"sheet".concat(this.sheetIndex),s=new De(o,this.options);return s.rows.setCellText(0,0,""),s.change=function(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];(e=t.sheet).trigger.apply(e,["change"].concat(n))},s.updateCellsData=function(e){var i=t.sheet.data,n=i.updateCellError,r=i.updateMyCells,a=t.uniqueid,o=t.imageUrl;if(e.Error)e.cell&&(r.call(t.sheet.data,[e.cell]),t.reRender()),e.cells&&(r.call(t.sheet.data,e.cells),t.reRender()),e.p&&(t.sheet.data.updateRevertOpr(e.p),t.reRender()),n(e.Error);else if("update"===e.op)e.data.forEach((function(e,i,n){for(var r=0,s=new Array;r<t.datas.length;r++)if(t.datas[r].name===e.name){t.datas[r].updateMyCells(e.cells),t.datas[r].updateShapes(e.shapes,s),t.datas[r].updateMyConditionImages(e.conditionimg);break}t.sheet.data.updateShapeSrcToRefresh(a,o,e.pickey,s)})),t.reRender();else if("sort"===e.op)e.rowids&&e.rowids.length>0&&(t.sheet.data.sortByRowIdArray(e.r,e.rowids),t.reRender());else if("updateTextBox"===e.op){for(var s=0;s<t.sheet.data.shapes.length;s++)if(t.sheet.data.shapes[s].strid===e.id){t.sheet.data.shapes[s].updateTextBox(e.html,e.rtxt);break}t.reRender()}else"vlist"===e.op&&(window.grid_vlist=e.ret)},s.updateServerError=function(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];(e=t.sheet).trigger.apply(e,["updateServerError"].concat(n))},s.updateCellError=function(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];(e=t.sheet).trigger.apply(e,["updateCellError"].concat(n))},s.updateCellServer=function(e){var i=t.sheet.data,n=i.settings,r=i.updateServerError,a=i.updateCellsData,o=t.uniqueid,s=t.buffer;if("server"===n.updateMode){var l={p:JSON.stringify(e),uid:o,folderName:n.folderName,fileName:n.fileName};s.append(new il(l,n.updateUrl,(function(e){a(e)}),(function(e,t,i){r(e,t,i)})))}},s.waitUntil=function(){var e=r()(d.a.mark((function e(t,i){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=setInterval((function(){t()&&(clearInterval(r),e())}),200);setTimeout((function(){clearInterval(r),n(new Error("get list from server,time out"))}),i)})));case 1:case"end":return e.stop()}}),e)})));return function(t,i){return e.apply(this,arguments)}}(),s.getGridList=function(){var e=r()(d.a.mark((function e(t){var i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.updateCellServer(t),console.log("get result list pre:"),e.next=4,s.waitUntil((function(){return null!=window.grid_vlist}),1e4);case 4:return i=window.grid_vlist,console.log("get result list after:"+i.length),delete window.grid_vlist,e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s.getListValue=function(){var e=r()(d.a.mark((function e(i){var n,r,a,o,l,h,c,u,f,v,g,p,m;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.sheet.data.selector,r=n.ri,a=n.ci,o=t.sheet.data,l={name:o.name,ri:r,ci:a,op:"vlist"},!(i.indexOf("(")>=0&&i.indexOf(":")<0)){e.next=10;break}return e.next=6,s.getGridList(l);case 6:return h=e.sent,e.abrupt("return",h);case 10:if(!(i.indexOf("!")>0)){e.next=22;break}if(c=i.split("!"),"'"===(u=c[0])[0]&&(u=u.substr(1,u.length-2)),o=t.getDataByName(u),i=c[1],o){e.next=22;break}return console.error("cannot find data with name "+c[0]),e.next=20,s.getGridList(l);case 20:return f=e.sent,e.abrupt("return",f);case 22:if(v=S.valueOf(i),g=[],v.sri===v.eri)for(p=v.sci;p<=v.eci;p++)g.push(o.getCellTextOrDefault(v.sri,p));else for(m=v.sri;m<=v.eri;m++)g.push(o.getCellTextOrDefault(m,v.sci));return e.abrupt("return",g);case 26:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s.menubarStatus=function(){return!t.sheet||"up"===t.sheet.toolbar.menuDisplay.state},s.loadImages=function(){var e=t.sheet.data,i=e.images,n=e.displayRight2Left,r=e.cols;if(!e.isImageOk){var a=n?t.sheet.data.viewWidth()-r.indexWidth:0,o=(t.uniqueid,t.imageUrl,t.basicZorder),s=t.sheet;t.updating;s.canvas.basicZorder=null!=o?o:s.canvas.basicZorder;var l=s.getTableOffset();null!=i&&i.forEach((function(e){if("del"!==e.op&&(!s.visibleFilter||s.visibleFilter(s,e))){var t=n?a-e.left-e.width:e.left;s.data.topOrder=s.data.topOrder<e.zorder?e.zorder:s.data.topOrder;var i=Ja(e,o,t,l,s.table.zoomlevel);e.src?s.canvas.setImage(s,e,i,e.src):s.canvas.setLoadingGif(s,e,i)}}))}},s.loadShapes=function(){var e=t.sheet.data,i=e.shapes,n=e.displayRight2Left,r=e.cols;if(!e.isImageOk){var a=n?t.sheet.data.viewWidth()-r.indexWidth:0,o=(t.uniqueid,t.imageUrl,t.basicZorder),s=t.sheet;t.updating,t.sheet.imageDiv;s.canvas.basicZorder=null!=o?o:s.canvas.basicZorder;var l=s.getTableOffset();null!=i&&i.forEach((function(e){if("del"!==e.op&&(!s.visibleFilter||s.visibleFilter(s,e))){var t=n?a-e.left-e.width:e.left;s.data.topOrder=s.data.topOrder<e.zorder?e.zorder:s.data.topOrder;var i=Ja(e,o,t,l,s.table.zoomlevel);ol(e,s),s.canvas.setupImageOrShapeByType(s,e,i)}}))}},s.fillImageSrc=function(){var e=t.uniqueid,i=t.imageUrl,n=(t.basicZorder,t.sheet),r=n.data,a=r.images,o=r.shapes,s=r.sheetid,l=r.isImageOk,h=r.bgimage,c=r.bgurl;if(l){if(c){var u=new Image;u.src=c,u.onload=function(){n.setBgImage(c,.9*u.width+"px",.9*u.height+"px")}}}else if(void 0!==s&&(null!=o&&o.length>0||null!=a&&a.length>0||void 0!==h)){var d=null!=a&&a.length>0?a.filter((function(e){return!n.visibleFilter||n.visibleFilter&&n.visibleFilter(n,e)})):[],f=null!=o&&o.length>0?o.filter((function(e){return!n.visibleFilter||n.visibleFilter&&n.visibleFilter(n,e)})):[],v=t.istestforimage?i+"/"+e+"."+s+"_batch.zip":i+"?uid="+e+"&id="+s+"_batch.zip";t.istestforimage?n.data.generatePicItems(d,f,v):$.get(v,(function(e){n.data.generatePicItems(d,f,e)}))}else n.data.isImageOk=!0},s.fillImageOnebyOne=function(e,i){var n=new XMLHttpRequest,r=t.sheet,a=r.data,o=r.canvas,s=(r.imageDiv,setInterval((function(){r.data.name===a.name?a.loadCount<=0&&(o.setInfoXY(),o.saveCanvasData(a),o.inFreeze&&o.fabric.getObjects().length>0&&o.inFreeze.loadFreezeImage(),a.isImageOk=!0,o.fabric.requestRenderAll(),clearInterval(s)):clearInterval(s)}),300));n.onreadystatechange=function(){if(4==n.readyState){var e=n.response,t=new Uint8Array(e);JSZip.loadAsync(t).then((function(e){if(r.data.name===a.name){if(a.bgimage)e.file(a.bgimage).async("blob").then((function(e){var t=URL.createObjectURL(e),i=new Image;i.src=t,a.bgurl=t,i.onload=function(){r.setBgImage(t,.9*i.width+"px",.9*i.height+"px")}}));i.forEach((function(t,i,n){e.file(t.name).async("blob").then((function(e){var i=URL.createObjectURL(e),n=o.fabric.getObjects().find((function(e){return e.id===t.id}));n&&"TextBox"!==n.imgType&&"CheckBox"!==n.imgType&&"RadioButton"!==n.imgType&&"ComboBox"!==n.imgType&&"Spinner"!==n.imgType&&"SpinButton"!==n.imgType?(n.setSrc(i,(function(e){a.loadCount--,t.it.loaded=!0,io(t.it,e),o.rotateObject(e,t.it.angle);var i="read"===a.settings.mode;"edit"!==a.settings.mode||"Chart"===a.type?eo(e,!1,i):eo(e,!0,i),e.cache=!0})),t.it.src=i):a.loadCount--}))}))}}))}},n.open("GET",e,!0),n.responseType="arraybuffer",n.send()},s.loadConditionImage=function(){var e=t.sheet.data.conditionimg,i=t.basicZorder,n=t.sheet.imageDiv;e&&e.forEach((function(e){if(e.data){var t=s.createConditionImage(e,i);e.data=void 0,e.image=t,n.append(t)}else n.append(e.image)}))},s.insertConditionImage=function(e){var i=t.sheet.data.conditionimg,n=t.basicZorder,r=t.sheet.imageDiv;if(i)if(e.data){var a=s.createConditionImage(e,n);e.data=void 0,e.image=a,r.append(a),i.push(e)}else r.append(e.image)},s.reloadImagesShapes=function(){var e=t.sheet.imageDiv,i=t;t.sheet.clearBgImage(),null!=e&&s.loadConditionImage();var n=setInterval((function(){i.sheet.updatGif&&(clearInterval(n),s.loadImages(),s.loadShapes(),s.fillImageSrc())}),1e3)},s.scrollImagesShapes=function(){var e=t.sheet,i=e.imageDiv,n=e.canvas,r=t.sheet.data,a=r.scroll,o=r.displayRight2Left,s=r.zoomlevel,l=r.bgimage;n.publishEvent("object:scroll",t.sheet.data),n.initFreeze();var h=o?a.x*s:-a.x*s,c=-a.y*s;null!=i&&(i.css("left",h+"px"),i.css("top",c+"px")),l&&t.sheet.scrollBgImge(h,c)},this.datas.push(s),this.bottombar.addItem(o,i,n,a),this.sheetIndex+=1,this.isloading||this.sheet.data.addSheetOpr(o),s}},{key:"resetPagination",value:function(e){var t=e.rows.len,i=e.settings.row.len,n=t%i==0?t/i:Math.ceil(t/i);this.bottombar.addPagination(n)}},{key:"deleteSheet",value:function(){var e=this.bottombar.deleteItem(),t=l()(e,2),i=t[0],n=t[1];if(i>=0){var r=this.datas[i].name;this.sheet.data.delSheetOpr(r),this.datas.splice(i,1),n>=0&&this.sheet.resetData(this.datas[n])}}},{key:"renameSheet",value:function(e,t){var i=this.datas[e].name;this.datas[e].name=t,this.sheet.data.renameSheetOpr(i,t)}},{key:"loadData",value:function(e){this.isloading=!0;var t=Array.isArray(e)?e:[e];if(this.bottombar.clear(),this.datas=[],t.length>0)for(var i=0;i<t.length;i+=1){var n,r,a=t[i],o=this.addSheet(a.name,0===i,a.tabcolor,a.fontcolor);if(void 0!==a.merges)for(var s=0,h=a.merges.length;s<h;s++){var c=a.merges[s].split(":"),u=x(c[0]),d=l()(u,2),f=d[0],v=d[1],g=x(c[1]),p=l()(g,2),m=p[0],y=p[1];a.rows[v]&&a.rows[v].cells[f]&&(a.rows[v].cells[f].merge=[y-v,m-f])}if(null===(n=a.images)||void 0===n||n.forEach((function(e){rl(e)})),null===(r=a.shapes)||void 0===r||r.forEach((function(e){rl(e)})),a.defaultFont&&!a.indentPx){var b=Object.assign({},a.defaultFont);b.size=Rt(b.size),a.indentPx=jt(b)}for(var w in o.setData(a),a.rowinfo)o.rows.setInfo(w,a.rowinfo[w]);if(delete a.rowinfo,"Chart"===a.type){o.showGrid=!1,o.sprotected=!0;var q=Math.ceil(o.shapes[0].height/o.rows.height),k=Math.ceil(o.shapes[0].width/o.cols.width);o.rows.len=q+1,o.cols.len=k+1}if(o.cols.maxwidth){var C=o.cols.sumWidth(0,o.cols.len);o.cols.maxwidth>C&&(o.cols.len+=Math.ceil((o.cols.maxwidth-C)/o.cols.width)+1)}}return this.isloading=!1,this}},{key:"getData",value:function(){return this.datas.map((function(e){return e.getData()}))}},{key:"getDataByName",value:function(e){return this.datas.find((function(t){return t.name===e}))}},{key:"cellText",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.datas[n].setCellText(e,t,i,"finished"),this}},{key:"setActiveCell",value:function(e,t){return this.sheet.setActiveCell(e,t),this}},{key:"setActiveSheet",value:function(e){return this.bottombar.clickSwap2(this.bottombar.items[e]),this}},{key:"getActiveSheet",value:function(){return this.bottombar.dataNames.indexOf(this.sheet.data.name)}},{key:"getActiveSheetName",value:function(){return this.sheet.data.name}},{key:"setActiveSheetByName",value:function(e){for(var t=0;t<this.bottombar.dataNames.length;t++)if(this.bottombar.dataNames[t]===e){this.bottombar.clickSwap2(this.bottombar.items[t]);break}return this}},{key:"cell",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.datas[i].getCell(e,t)}},{key:"cellStyle",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.datas[i].getCellStyle(e,t)}},{key:"reRender",value:function(){return this.sheet.table.render(),this.sheet.canvas.fabric.requestRenderAll(),this}},{key:"showHighlights",value:function(e){this.sheet.showHighlights(e)}},{key:"hideHighlights",value:function(){this.sheet.hideHighlights()}},{key:"clearHighlights",value:function(){this.sheet.clearHighlights()}},{key:"on",value:function(e,t){return this.sheet.on(e,t),this}},{key:"validate",value:function(){return this.data.validations.errors.size<=0}},{key:"change",value:function(e){return this.sheet.on("change",e),this}},{key:"updateServerError",value:function(e){return this.sheet.on("updateServerError",e),this}},{key:"updateCellError",value:function(e){return this.sheet.on("updateCellError",e),this}}],[{key:"locale",value:function(e,t){te(e,t)}}]),e}(),ll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new sl(e,t)};window&&(window.x_spreadsheet=ll,window.x_spreadsheet.locale=function(e,t){return te(e,t)});t.default=sl}])}));