zj-plugin-intelligent 1.2.25 → 1.2.26
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.
|
@@ -35,7 +35,7 @@ function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:r});else
|
|
|
35
35
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */function ge(){return he||(he=1,function(e){var t=function(){if(ue)return pe;ue=1,pe.byteLength=function(e){var t=o(e),r=t[0],n=t[1];return 3*(r+n)/4-n},pe.toByteArray=function(e){var n,i,a=o(e),s=a[0],c=a[1],l=new r(function(e,t,r){return 3*(t+r)/4-r}(0,s,c)),u=0,d=c>0?s-4:s;for(i=0;i<d;i+=4)n=t[e.charCodeAt(i)]<<18|t[e.charCodeAt(i+1)]<<12|t[e.charCodeAt(i+2)]<<6|t[e.charCodeAt(i+3)],l[u++]=n>>16&255,l[u++]=n>>8&255,l[u++]=255&n;2===c&&(n=t[e.charCodeAt(i)]<<2|t[e.charCodeAt(i+1)]>>4,l[u++]=255&n);1===c&&(n=t[e.charCodeAt(i)]<<10|t[e.charCodeAt(i+1)]<<4|t[e.charCodeAt(i+2)]>>2,l[u++]=n>>8&255,l[u++]=255&n);return l},pe.fromByteArray=function(t){for(var r,n=t.length,i=n%3,a=[],o=0,c=n-i;o<c;o+=16383)a.push(s(t,o,o+16383>c?c:o+16383));1===i?(r=t[n-1],a.push(e[r>>2]+e[r<<4&63]+"==")):2===i&&(r=(t[n-2]<<8)+t[n-1],a.push(e[r>>10]+e[r>>4&63]+e[r<<2&63]+"="));return a.join("")};for(var e=[],t=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=n.length;i<a;++i)e[i]=n[i],t[n.charCodeAt(i)]=i;function o(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function s(t,r,n){for(var i,a,o=[],s=r;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(e[(a=i)>>18&63]+e[a>>12&63]+e[a>>6&63]+e[63&a]);return o.join("")}return t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63,pe}(),r=(fe||(fe=1,Ae.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,c=(1<<s)-1,l=c>>1,u=-7,d=r?i-1:0,p=r?-1:1,f=e[t+d];for(d+=p,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=p,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===a)a=1-l;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=l}return(f?-1:1)*o*Math.pow(2,a-n)},Ae.write=function(e,t,r,n,i,a){var o,s,c,l=8*a-i-1,u=(1<<l)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,h=n?1:-1,A=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=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+d>=1?p/c:p*Math.pow(2,1-d))*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+f]=255&s,f+=h,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[r+f]=255&o,f+=h,o/=256,l-=8);e[r+f-h]|=128*A}),Ae),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},e.INSPECT_MAX_BYTES=50;function i(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return c(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=i(r),o=n.write(e,t);o!==r&&(n=n.slice(0,o));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(P(e,Uint8Array)){var t=new Uint8Array(e);return u(t.buffer,t.byteOffset,t.byteLength)}return l(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer))return u(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return u(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var o=function(e){if(a.isBuffer(e)){var t=0|d(e.length),r=i(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||R(e.length)?i(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return s(e),i(e<0?0:0|d(e))}function l(e){for(var t=e.length<0?0:0|d(e.length),r=i(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function u(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,a.prototype),n}function d(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(i)return n?-1:L(e).length;t=(""+t).toLowerCase(),i=!0}}function f(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return x(this,t,r);case"ascii":return _(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return w(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function A(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),R(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var a,o=1,s=e.length,c=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,c/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=r;a<s;a++)if(l(e,a)===l(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===c)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(r+c>s&&(r=s-c),a=r;a>=0;a--){for(var d=!0,p=0;p<c;p++)if(l(e,a+p)!==l(t,p)){d=!1;break}if(d)return a}return-1}function m(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(R(s))return o;e[r+o]=s}return o}function v(e,t,r,n){return M(L(t,e.length-r),e,r,n)}function b(e,t,r,n){return M(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function k(e,t,r,n){return M(O(t),e,r,n)}function y(e,t,r,n){return M(function(e,t){for(var r,n,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function w(e,r,n){return 0===r&&n===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(r,n))}function x(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,c,l=e[i],u=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(a=e[i+1]))&&(c=(31&l)<<6|63&a)>127&&(u=c);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(c=(15&l)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(c=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}e.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?i(e):void 0!==t?"string"==typeof r?i(e).fill(t,r):i(e).fill(t):i(e)}(e,t,r)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(P(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),P(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},a.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}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(P(o,Uint8Array))i+o.length>n.length?a.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.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)h(this,t,t+1);return this},a.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)h(this,t,t+3),h(this,t+1,t+2);return this},a.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)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?x(this,0,e):f.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(P(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),c=Math.min(o,s),l=this.slice(n,i),u=e.slice(t,r),d=0;d<c;++d)if(l[d]!==u[d]){o=l[d],s=u[d];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return A(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return A(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<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 m(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":case"latin1":case"binary":return b(this,e,t,r);case"base64":return k(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function E(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=N[e[a]];return i}function T(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function B(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function S(e,t,r,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function U(e,t,n,i,a){return t=+t,n>>>=0,a||D(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function F(e,t,n,i,a){return t=+t,n>>>=0,a||D(e,0,n,8),r.write(e,t,n,i,52,8),n+8}a.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||B(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||B(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||B(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||B(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||S(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||S(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);S(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);S(this,e,t,r,i-1,-i)}var a=r-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+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),c=s.length;if(0===c)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%c]}return this};var I=/[^+/0-9A-Za-z-_]/g;function L(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function O(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function R(e){return e!=e}var N=function(){for(var e=new Array(256),t=0;t<16;++t)for(var r=16*t,n=0;n<16;++n)e[r+n]="0123456789abcdef"[t]+"0123456789abcdef"[n];return e}()}(de)),de}var me,ve,be,ke,ye,we,xe,_e,Ce,Ee,Te,Be,Se,De,Ue,Fe,Ie={},Le={};function Oe(){return ve?me:(ve=1,me=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0})}function Me(){if(ke)return be;ke=1;var e=Oe();return be=function(){return e()&&!!Symbol.toStringTag}}function Pe(){if(Be)return Te;Be=1;var e=function(){if(Ee)return Ce;Ee=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},a=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};return Ce=function(o){var s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw new TypeError(e+s);for(var c,l=i(arguments,1),u=function(){if(this instanceof c){var e=s.apply(this,n(l,arguments));return Object(e)===e?e:this}return s.apply(o,n(l,arguments))},d=r(0,s.length-l.length),p=[],f=0;f<d;f++)p[f]="$"+f;if(c=Function("binder","return function ("+a(p,",")+"){ return binder.apply(this,arguments); }")(u),s.prototype){var h=function(){};h.prototype=s.prototype,c.prototype=new h,h.prototype=null}return c}}();return Te=Function.prototype.bind||e}function Re(){if(Fe)return Ue;Fe=1;var e=SyntaxError,t=Function,r=TypeError,n=function(e){try{return t('"use strict"; return ('+e+").constructor;")()}catch(e){}},i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch(e){i=null}var a=function(){throw new r},o=i?function(){try{return a}catch(e){try{return i(arguments,"callee").get}catch(e){return a}}}():a,s=function(){if(we)return ye;we=1;var e="undefined"!=typeof Symbol&&Symbol,t=Oe();return ye=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),c=function(){if(_e)return xe;_e=1;var e={foo:{}},t=Object;return xe=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof t)}}()(),l=Object.getPrototypeOf||(c?function(e){return e.__proto__}:null),u={},d="undefined"!=typeof Uint8Array&&l?l(Uint8Array):void 0,p={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":s&&l?l([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":u,"%AsyncGenerator%":u,"%AsyncGeneratorFunction%":u,"%AsyncIteratorPrototype%":u,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":t,"%GeneratorFunction%":u,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s&&l?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s&&l?l((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s&&l?l((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":s&&l?l(""[Symbol.iterator]()):void 0,"%Symbol%":s?Symbol:void 0,"%SyntaxError%":e,"%ThrowTypeError%":o,"%TypedArray%":d,"%TypeError%":r,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet};if(l)try{null.error}catch(e){var f=l(l(e));p["%Error.prototype%"]=f}var h={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},A=Pe(),g=function(){if(De)return Se;De=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Pe();return Se=r.call(e,t)}(),m=A.call(Function.call,Array.prototype.concat),v=A.call(Function.apply,Array.prototype.splice),b=A.call(Function.call,String.prototype.replace),k=A.call(Function.call,String.prototype.slice),y=A.call(Function.call,RegExp.prototype.exec),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,_=function(t){var r=k(t,0,1),n=k(t,-1);if("%"===r&&"%"!==n)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==r)throw new e("invalid intrinsic syntax, expected opening `%`");var i=[];return b(t,w,(function(e,t,r,n){i[i.length]=r?b(n,x,"$1"):t||e})),i},C=function(t,i){var a,o=t;if(g(h,o)&&(o="%"+(a=h[o])[0]+"%"),g(p,o)){var s=p[o];if(s===u&&(s=function e(t){var r;if("%AsyncFunction%"===t)r=n("async function () {}");else if("%GeneratorFunction%"===t)r=n("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=n("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&l&&(r=l(a.prototype))}return p[t]=r,r}(o)),void 0===s&&!i)throw new r("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:o,value:s}}throw new e("intrinsic "+t+" does not exist!")};return Ue=function(t,n){if("string"!=typeof t||0===t.length)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof n)throw new r('"allowMissing" argument must be a boolean');if(null===y(/^%?[^%]*%?$/,t))throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=_(t),o=a.length>0?a[0]:"",s=C("%"+o+"%",n),c=s.name,l=s.value,u=!1,d=s.alias;d&&(o=d[0],v(a,m([0,1],d)));for(var f=1,h=!0;f<a.length;f+=1){var A=a[f],b=k(A,0,1),w=k(A,-1);if(('"'===b||"'"===b||"`"===b||'"'===w||"'"===w||"`"===w)&&b!==w)throw new e("property names with quotes must have matching quotes");if("constructor"!==A&&h||(u=!0),g(p,c="%"+(o+="."+A)+"%"))l=p[c];else if(null!=l){if(!(A in l)){if(!n)throw new r("base intrinsic for "+t+" exists, but the property is not available.");return}if(i&&f+1>=a.length){var x=i(l,A);l=(h=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:l[A]}else h=g(l,A),l=l[A];h&&!u&&(p[c]=l)}}return l}}var Ne,ze,He,je,Qe,qe,We,Ke,Ve,Ge,Ye,Xe,$e,Ze,Je,et,tt,rt,nt,it,at,ot,st,ct,lt,ut,dt,pt,ft,ht,At,gt,mt,vt={exports:{}};function bt(){if(ze)return Ne;ze=1;var e=Re()("%Object.defineProperty%",!0),t=function(){if(e)try{return e({},"a",{value:1}),!0}catch(e){return!1}return!1};return t.hasArrayLengthDefineBug=function(){if(!t())return null;try{return 1!==e([],"length",{value:1}).length}catch(e){return!0}},Ne=t}function kt(){if(je)return He;je=1;var e=Re()("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch(t){e=null}return He=e}function yt(){if(Ke)return We;Ke=1;var e=Re(),t=function(){if(qe)return Qe;qe=1;var e=bt()(),t=Re(),r=e&&t("%Object.defineProperty%",!0);if(r)try{r({},"a",{value:1})}catch(e){r=!1}var n=t("%SyntaxError%"),i=t("%TypeError%"),a=kt();return Qe=function(e,t,o){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&d?d.configurable:!l,enumerable:null===s&&d?d.enumerable:!s,value:o,writable:null===c&&d?d.writable:!c});else{if(!u&&(s||c||l))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=o}}}(),r=bt()(),n=kt(),i=e("%TypeError%"),a=e("%Math.floor%");return We=function(e,o){if("function"!=typeof e)throw new i("`fn` is not a function");if("number"!=typeof o||o<0||o>4294967295||a(o)!==o)throw new i("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],c=!0,l=!0;if("length"in e&&n){var u=n(e,"length");u&&!u.configurable&&(c=!1),u&&!u.writable&&(l=!1)}return(c||l||!s)&&(r?t(e,"length",o,!0,!0):t(e,"length",o)),e}}function wt(){return Ve||(Ve=1,function(e){var t=Pe(),r=Re(),n=yt(),i=r("%TypeError%"),a=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(o,a),c=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var r=s(t,o,arguments);return n(r,1+l(0,e.length-(arguments.length-1)),!0)};var u=function(){return s(t,a,arguments)};c?c(e.exports,"apply",{value:u}):e.exports.apply=u}(vt)),vt.exports}function xt(){if(Ye)return Ge;Ye=1;var e=Re(),t=wt(),r=t(e("String.prototype.indexOf"));return Ge=function(n,i){var a=e(n,!!i);return"function"==typeof a&&r(n,".prototype.")>-1?t(a):a}}function _t(){if(Je)return Ze;Je=1;var e,t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i=Me()(),a=Object.getPrototypeOf;return Ze=function(o){if("function"!=typeof o)return!1;if(n.test(r.call(o)))return!0;if(!i)return"[object GeneratorFunction]"===t.call(o);if(!a)return!1;if(void 0===e){var s=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}();e=!!s&&a(s)}return a(o)===e}}function Ct(){if(nt)return rt;nt=1;var e=function(){if(tt)return et;tt=1;var e,t,r=Function.prototype.toString,n="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof n&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw t}}),t={},n((function(){throw 42}),null,e)}catch(e){e!==t&&(n=null)}else n=null;var i=/^\s*class\b/,a=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},o=function(e){try{return!a(e)&&(r.call(e),!0)}catch(e){return!1}},s=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var d=document.all;s.call(d)===s.call(document.all)&&(u=function(e){if((l||!e)&&(void 0===e||"object"==typeof e))try{var t=s.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}return et=n?function(r){if(u(r))return!0;if(!r)return!1;if("function"!=typeof r&&"object"!=typeof r)return!1;try{n(r,null,e)}catch(e){if(e!==t)return!1}return!a(r)&&o(r)}:function(e){if(u(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return o(e);if(a(e))return!1;var t=s.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&o(e)}}(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(e,t,n){for(var i=0,a=e.length;i<a;i++)r.call(e,i)&&(null==n?t(e[i],i,e):t.call(n,e[i],i,e))},i=function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)},a=function(e,t,n){for(var i in e)r.call(e,i)&&(null==n?t(e[i],i,e):t.call(n,e[i],i,e))};return rt=function(r,o,s){if(!e(o))throw new TypeError("iterator must be a function");var c;arguments.length>=3&&(c=s),"[object Array]"===t.call(r)?n(r,o,c):"string"==typeof r?i(r,o,c):a(r,o,c)}}function Et(){if(st)return ot;st=1;var e=Ct(),t=function(){if(at)return it;at=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],t="undefined"==typeof globalThis?w:globalThis;return it=function(){for(var r=[],n=0;n<e.length;n++)"function"==typeof t[e[n]]&&(r[r.length]=e[n]);return r}}(),r=wt(),n=xt(),i=kt(),a=n("Object.prototype.toString"),o=Me()(),s="undefined"==typeof globalThis?w:globalThis,c=t(),l=n("String.prototype.slice"),u=Object.getPrototypeOf,d=n("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},p={__proto__:null};e(c,o&&i&&u?function(e){var t=new s[e];if(Symbol.toStringTag in t){var n=u(t),a=i(n,Symbol.toStringTag);if(!a){var o=u(n);a=i(o,Symbol.toStringTag)}p["$"+e]=r(a.get)}}:function(e){var t=new s[e],n=t.slice||t.set;n&&(p["$"+e]=r(n))});return ot=function(t){if(!t||"object"!=typeof t)return!1;if(!o){var r=l(a(t),8,-1);return d(c,r)>-1?r:"Object"===r&&function(t){var r=!1;return e(p,(function(e,n){if(!r)try{e(t),r=l(n,1)}catch(e){}})),r}(t)}return i?function(t){var r=!1;return e(p,(function(e,n){if(!r)try{"$"+e(t)===n&&(r=l(n,1))}catch(e){}})),r}(t):null}}function Tt(){return ut||(ut=1,function(e){var t=function(){if($e)return Xe;$e=1;var e=Me()(),t=xt()("Object.prototype.toString"),r=function(r){return!(e&&r&&"object"==typeof r&&Symbol.toStringTag in r)&&"[object Arguments]"===t(r)},n=function(e){return!!r(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==t(e)&&"[object Function]"===t(e.callee)},i=function(){return r(arguments)}();return r.isLegacyArguments=n,Xe=i?r:n}(),r=_t(),n=Et(),i=function(){if(lt)return ct;lt=1;var e=Et();return ct=function(t){return!!e(t)}}();function a(e){return e.call.bind(e)}var o="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,c=a(Object.prototype.toString),l=a(Number.prototype.valueOf),u=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);if(o)var p=a(BigInt.prototype.valueOf);if(s)var f=a(Symbol.prototype.valueOf);function h(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function A(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function m(e){return"[object WeakMap]"===c(e)}function v(e){return"[object WeakSet]"===c(e)}function b(e){return"[object ArrayBuffer]"===c(e)}function k(e){return"undefined"!=typeof ArrayBuffer&&(b.working?b(e):e instanceof ArrayBuffer)}function y(e){return"[object DataView]"===c(e)}function w(e){return"undefined"!=typeof DataView&&(y.working?y(e):e instanceof DataView)}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=i,e.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},e.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||w(e)},e.isUint8Array=function(e){return"Uint8Array"===n(e)},e.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===n(e)},e.isUint16Array=function(e){return"Uint16Array"===n(e)},e.isUint32Array=function(e){return"Uint32Array"===n(e)},e.isInt8Array=function(e){return"Int8Array"===n(e)},e.isInt16Array=function(e){return"Int16Array"===n(e)},e.isInt32Array=function(e){return"Int32Array"===n(e)},e.isFloat32Array=function(e){return"Float32Array"===n(e)},e.isFloat64Array=function(e){return"Float64Array"===n(e)},e.isBigInt64Array=function(e){return"BigInt64Array"===n(e)},e.isBigUint64Array=function(e){return"BigUint64Array"===n(e)},A.working="undefined"!=typeof Map&&A(new Map),e.isMap=function(e){return"undefined"!=typeof Map&&(A.working?A(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),e.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},m.working="undefined"!=typeof WeakMap&&m(new WeakMap),e.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(m.working?m(e):e instanceof WeakMap)},v.working="undefined"!=typeof WeakSet&&v(new WeakSet),e.isWeakSet=function(e){return v(e)},b.working="undefined"!=typeof ArrayBuffer&&b(new ArrayBuffer),e.isArrayBuffer=k,y.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&y(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=w;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(e){return"[object SharedArrayBuffer]"===c(e)}function C(e){return void 0!==x&&(void 0===_.working&&(_.working=_(new x)),_.working?_(e):e instanceof x)}function E(e){return h(e,l)}function T(e){return h(e,u)}function B(e){return h(e,d)}function S(e){return o&&h(e,p)}function D(e){return s&&h(e,f)}e.isSharedArrayBuffer=C,e.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},e.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},e.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},e.isGeneratorObject=function(e){return"[object Generator]"===c(e)},e.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},e.isNumberObject=E,e.isStringObject=T,e.isBooleanObject=B,e.isBigIntObject=S,e.isSymbolObject=D,e.isBoxedPrimitive=function(e){return E(e)||T(e)||B(e)||S(e)||D(e)},e.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(k(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))}(Le)),Le}function Bt(){return ft||(ft=1,function(e){var t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},r=/%[sdj%]/g;e.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(o(arguments[n]));return t.join(" ")}n=1;for(var i=arguments,a=i.length,s=String(e).replace(r,(function(e){if("%%"===e)return"%";if(n>=a)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return e}})),c=i[n];n<a;c=i[++n])h(c)||!b(c)?s+=" "+c:s+=" "+o(c);return s},e.deprecate=function(t,r){if(void 0!==oe&&!0===oe.noDeprecation)return t;if(void 0===oe)return function(){return e.deprecate(t,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(oe.throwDeprecation)throw new Error(r);oe.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}};var n={},i=/^$/;if(oe.env.NODE_DEBUG){var a=oe.env.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+a+"$","i")}function o(t,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),f(r)?n.showHidden=r:r&&e._extend(n,r),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=s),l(n,t,n.depth)}function s(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function c(e,t){return e}function l(t,r,n){if(t.customInspect&&r&&w(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return g(i)||(i=l(t,i,n)),i}var a=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(A(t))return e.stylize(""+t,"number");if(f(t))return e.stylize(""+t,"boolean");if(h(t))return e.stylize("null","null")}(t,r);if(a)return a;var o=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(r)),y(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return u(r);if(0===o.length){if(w(r)){var c=r.name?": "+r.name:"";return t.stylize("[Function"+c+"]","special")}if(v(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return t.stylize(Date.prototype.toString.call(r),"date");if(y(r))return u(r)}var b,x="",_=!1,C=["{","}"];(p(r)&&(_=!0,C=["[","]"]),w(r))&&(x=" [Function"+(r.name?": "+r.name:"")+"]");return v(r)&&(x=" "+RegExp.prototype.toString.call(r)),k(r)&&(x=" "+Date.prototype.toUTCString.call(r)),y(r)&&(x=" "+u(r)),0!==o.length||_&&0!=r.length?n<0?v(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),b=_?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)T(t,String(o))?a.push(d(e,t,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(d(e,t,r,n,i,!0))})),a}(t,r,n,s,o):o.map((function(e){return d(t,r,n,s,e,_)})),t.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(b,x,C)):C[0]+x+C[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,i,a){var o,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),T(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(c.value)<0?(s=h(r)?l(e,c.value,null):l(e,c.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),m(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function p(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function h(e){return null===e}function A(e){return"number"==typeof e}function g(e){return"string"==typeof e}function m(e){return void 0===e}function v(e){return b(e)&&"[object RegExp]"===x(e)}function b(e){return"object"==typeof e&&null!==e}function k(e){return b(e)&&"[object Date]"===x(e)}function y(e){return b(e)&&("[object Error]"===x(e)||e instanceof Error)}function w(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!n[t])if(i.test(t)){var r=oe.pid;n[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else n[t]=function(){};return n[t]},e.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=Tt(),e.isArray=p,e.isBoolean=f,e.isNull=h,e.isNullOrUndefined=function(e){return null==e},e.isNumber=A,e.isString=g,e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=m,e.isRegExp=v,e.types.isRegExp=v,e.isObject=b,e.isDate=k,e.types.isDate=k,e.isError=y,e.types.isNativeError=y,e.isFunction=w,e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},e.isBuffer=pt?dt:(pt=1,dt=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8});var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var e=new Date,t=[_(e.getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.log=function(){console.log("%s - %s",E(),e.format.apply(e,arguments))},e.inherits=Q,e._extend=function(e,t){if(!t||!b(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var B="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function S(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}e.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(B&&e[B]){var r;if("function"!=typeof(r=e[B]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,B,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),B&&Object.defineProperty(r,B,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,t(e))},e.promisify.custom=B,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return n.apply(i,arguments)};e.apply(this,t).then((function(e){oe.nextTick(a.bind(null,null,e))}),(function(e){oe.nextTick(S.bind(null,e,a))}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,t(e)),r}}(Ie)),Ie}function St(){if(At)return ht;function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}At=1;var n=ge().Buffer,i=Bt().inspect,a=i&&i.custom||"inspect";return ht=function(){function o(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),this.head=null,this.tail=null,this.length=0}var s,c,l;return s=o,(c=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,n.prototype.copy.call(t,r,i),s+=o.data.length,o=o.next;return a}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?n+=i:n+=i.slice(0,e),0==(e-=a)){a===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(a));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=n.allocUnsafe(e),r=this.head,i=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(a.copy(t,t.length-e,0,o),0==(e-=o)){o===a.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=a.slice(o));break}++i}return this.length-=i,t}},{key:a,value:function(r,n){return i(this,function(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach((function(e){t(r,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}({},n,{depth:0,customInspect:!1}))}}])&&r(s.prototype,c),l&&r(s,l),o}()}function Dt(){if(mt)return gt;function e(e,n){r(e,n),t(e)}function t(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}return mt=1,gt={destroy:function(n,i){var a=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(i?i(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,oe.nextTick(r,this,n)):oe.nextTick(r,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,(function(r){!i&&r?a._writableState?a._writableState.errorEmitted?oe.nextTick(t,a):(a._writableState.errorEmitted=!0,oe.nextTick(e,a,r)):oe.nextTick(e,a,r):i?(oe.nextTick(t,a),i(r)):oe.nextTick(t,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}var Ut,Ft,It,Lt,Ot,Mt,Pt,Rt,Nt,zt={};function Ht(){if(Ut)return zt;Ut=1;var e={};function t(t,r,n){n||(n=Error);var i=function(e){var t,n;function i(t,n,i){return e.call(this,function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(t,n,i))||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i}(n);i.prototype.name=n.name,i.prototype.code=t,e[t]=i}function r(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}return t("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),t("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,a,o,s;if("string"==typeof t&&(a="not ",t.substr(!o||o<0?0:+o,a.length)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(c," ").concat(i," ").concat(r(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),zt.codes=e,zt}function jt(){if(It)return Ft;It=1;var e=Ht().codes.ERR_INVALID_OPT_VALUE;return Ft={getHighWaterMark:function(t,r,n,i){var a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(r,i,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new e(i?n:"highWaterMark",a);return Math.floor(a)}return t.objectMode?16:16384}}}function Qt(){if(Ot)return Lt;function e(e){try{if(!w.localStorage)return!1}catch(e){return!1}var t=w.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}return Ot=1,Lt=function(t,r){if(e("noDeprecation"))return t;var n=!1;return function(){if(!n){if(e("throwDeprecation"))throw new Error(r);e("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return t.apply(this,arguments)}}}function qt(){if(Pt)return Mt;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var t;Pt=1,Mt=y,y.WritableState=k;var r={deprecate:Qt()},n=le(),i=ge().Buffer,a=w.Uint8Array||function(){};var o,s=Dt(),c=jt().getHighWaterMark,l=Ht().codes,u=l.ERR_INVALID_ARG_TYPE,d=l.ERR_METHOD_NOT_IMPLEMENTED,p=l.ERR_MULTIPLE_CALLBACK,f=l.ERR_STREAM_CANNOT_PIPE,h=l.ERR_STREAM_DESTROYED,A=l.ERR_STREAM_NULL_VALUES,g=l.ERR_STREAM_WRITE_AFTER_END,m=l.ERR_UNKNOWN_ENCODING,v=s.errorOrDestroy;function b(){}function k(r,n,i){t=t||Wt(),r=r||{},"boolean"!=typeof i&&(i=n instanceof t),this.objectMode=!!r.objectMode,i&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=c(this,r,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===r.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(oe.nextTick(i,n),oe.nextTick(B,e,t),e._writableState.errorEmitted=!0,v(e,n)):(i(n),e._writableState.errorEmitted=!0,v(e,n),B(e,t))}(e,r,n,t,i);else{var a=E(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(e,r),n?oe.nextTick(_,e,r,a,i):_(e,r,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function y(e){var r=this instanceof(t=t||Wt());if(!r&&!o.call(y,this))return new y(e);this._writableState=new k(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),n.call(this)}function x(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new h("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function _(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),B(e,t)}function C(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)a[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;a.allBuffers=c,x(t,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new e(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,d=n.callback;if(x(t,r,!1,r.objectMode?1:l.length,l,u,d),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(e,t){e._final((function(r){t.pendingcb--,r&&v(e,r),t.prefinished=!0,e.emit("prefinish"),B(e,t)}))}function B(e,t){var r=E(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,oe.nextTick(T,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}return Q(y,n),k.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(k.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===y&&(e&&e._writableState instanceof k)}})):o=function(e){return e instanceof this},y.prototype.pipe=function(){v(this,new f)},y.prototype.write=function(e,t,r){var n,o=this._writableState,s=!1,c=!o.objectMode&&(n=e,i.isBuffer(n)||n instanceof a);return c&&!i.isBuffer(e)&&(e=function(e){return i.from(e)}(e)),"function"==typeof t&&(r=t,t=null),c?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=b),o.ending?function(e,t){var r=new g;v(e,r),oe.nextTick(t,r)}(this,r):(c||function(e,t,r,n){var i;return null===r?i=new A:"string"==typeof r||t.objectMode||(i=new u("chunk",["string","Buffer"],r)),!i||(v(e,i),oe.nextTick(n,i),!1)}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,a,o){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=i.from(t,r));return t}(t,n,a);n!==s&&(r=!0,a="buffer",n=s)}var c=t.objectMode?1:n.length;t.length+=c;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:a,isBuf:r,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else x(e,t,!1,c,n,a,o);return l}(this,o,c,e,t,r)),s},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||C(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new m(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new d("_write()"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,B(e,t),r&&(t.finished?oe.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(y.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(y.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=s.destroy,y.prototype._undestroy=s.undestroy,y.prototype._destroy=function(e,t){t(e)},Mt}function Wt(){if(Nt)return Rt;Nt=1;var e=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Rt=o;var t=fr(),r=qt();Q(o,t);for(var n=e(r.prototype),i=0;i<n.length;i++){var a=n[i];o.prototype[a]||(o.prototype[a]=r.prototype[a])}function o(e){if(!(this instanceof o))return new o(e);t.call(this,e),r.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",s)))}function s(){this._writableState.ended||oe.nextTick(c,this)}function c(e){e.end()}return Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(o.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(o.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),Rt}var Kt,Vt,Gt,Yt,Xt,$t,Zt,Jt,er,tr,rr,nr,ir,ar,or,sr,cr={},lr={exports:{}};function ur(){if(Vt)return cr;Vt=1;var e=(Kt||(Kt=1,function(e,t){var r=ge(),n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(n,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(lr,lr.exports)),lr.exports).Buffer,t=e.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=o,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=c,n=3;break;default:return this.write=l,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function a(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function o(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function c(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function u(e){return e&&e.length?this.write(e):""}return cr.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var a=n(t[i]);if(a>=0)return a>0&&(e.lastNeed=a-1),a;if(--i<r||-2===a)return 0;if((a=n(t[i]))>=0)return a>0&&(e.lastNeed=a-2),a;if(--i<r||-2===a)return 0;if((a=n(t[i]))>=0)return a>0&&(2===a?a=0:e.lastNeed=a-3),a;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},cr}function dr(){if(Yt)return Gt;Yt=1;var e=Ht().codes.ERR_STREAM_PREMATURE_CLOSE;function t(){}return Gt=function r(n,i,a){if("function"==typeof i)return r(n,null,i);i||(i={}),a=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(a||t);var o=i.readable||!1!==i.readable&&n.readable,s=i.writable||!1!==i.writable&&n.writable,c=function(){n.writable||u()},l=n._writableState&&n._writableState.finished,u=function(){s=!1,l=!0,o||a.call(n)},d=n._readableState&&n._readableState.endEmitted,p=function(){o=!1,d=!0,s||a.call(n)},f=function(e){a.call(n,e)},h=function(){var t;return o&&!d?(n._readableState&&n._readableState.ended||(t=new e),a.call(n,t)):s&&!l?(n._writableState&&n._writableState.ended||(t=new e),a.call(n,t)):void 0},A=function(){n.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(n)?s&&!n._writableState&&(n.on("end",c),n.on("close",c)):(n.on("complete",u),n.on("abort",h),n.req?A():n.on("request",A)),n.on("end",p),n.on("finish",u),!1!==i.error&&n.on("error",f),n.on("close",h),function(){n.removeListener("complete",u),n.removeListener("abort",h),n.removeListener("request",A),n.req&&n.req.removeListener("finish",u),n.removeListener("end",c),n.removeListener("close",c),n.removeListener("finish",u),n.removeListener("end",p),n.removeListener("error",f),n.removeListener("close",h)}}}function pr(){if($t)return Xt;var e;function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}$t=1;var r=dr(),n=Symbol("lastResolve"),i=Symbol("lastReject"),a=Symbol("error"),o=Symbol("ended"),s=Symbol("lastPromise"),c=Symbol("handlePromise"),l=Symbol("stream");function u(e,t){return{value:e,done:t}}function d(e){var t=e[n];if(null!==t){var r=e[l].read();null!==r&&(e[s]=null,e[n]=null,e[i]=null,t(u(r,!1)))}}function p(e){oe.nextTick(d,e)}var f=Object.getPrototypeOf((function(){})),h=Object.setPrototypeOf((t(e={get stream(){return this[l]},next:function(){var e=this,t=this[a];if(null!==t)return Promise.reject(t);if(this[o])return Promise.resolve(u(void 0,!0));if(this[l].destroyed)return new Promise((function(t,r){oe.nextTick((function(){e[a]?r(e[a]):t(u(void 0,!0))}))}));var r,n=this[s];if(n)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[o]?r(u(void 0,!0)):t[c](r,n)}),n)}}(n,this));else{var i=this[l].read();if(null!==i)return Promise.resolve(u(i,!1));r=new Promise(this[c])}return this[s]=r,r}},Symbol.asyncIterator,(function(){return this})),t(e,"return",(function(){var e=this;return new Promise((function(t,r){e[l].destroy(null,(function(e){e?r(e):t(u(void 0,!0))}))}))})),e),f);return Xt=function(e){var d,f=Object.create(h,(t(d={},l,{value:e,writable:!0}),t(d,n,{value:null,writable:!0}),t(d,i,{value:null,writable:!0}),t(d,a,{value:null,writable:!0}),t(d,o,{value:e._readableState.endEmitted,writable:!0}),t(d,c,{value:function(e,t){var r=f[l].read();r?(f[s]=null,f[n]=null,f[i]=null,e(u(r,!1))):(f[n]=e,f[i]=t)},writable:!0}),d));return f[s]=null,r(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=f[i];return null!==t&&(f[s]=null,f[n]=null,f[i]=null,t(e)),void(f[a]=e)}var r=f[n];null!==r&&(f[s]=null,f[n]=null,f[i]=null,r(u(void 0,!0))),f[o]=!0})),e.on("readable",p.bind(null,f)),f}}function fr(){if(tr)return er;var e;tr=1,er=y,y.ReadableState=k,H.EventEmitter;var t=function(e,t){return e.listeners(t).length},r=le(),n=ge().Buffer,i=w.Uint8Array||function(){};var a,o=Bt();a=o&&o.debuglog?o.debuglog("stream"):function(){};var s,c,l,u=St(),d=Dt(),p=jt().getHighWaterMark,f=Ht().codes,h=f.ERR_INVALID_ARG_TYPE,A=f.ERR_STREAM_PUSH_AFTER_EOF,g=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;Q(y,r);var v=d.errorOrDestroy,b=["error","close","destroy","pause","resume"];function k(t,r,n){e=e||Wt(),t=t||{},"boolean"!=typeof n&&(n=r instanceof e),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=p(this,t,"readableHighWaterMark",n),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(s||(s=ur().StringDecoder),this.decoder=new s(t.encoding),this.encoding=t.encoding)}function y(t){if(e=e||Wt(),!(this instanceof y))return new y(t);var n=this instanceof e;this._readableState=new k(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function x(e,t,r,o,s){a("readableAddChunk",t);var c,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(a("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?E(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,T(e)))}(e,l);else if(s||(c=function(e,t){var r;a=t,n.isBuffer(a)||a instanceof i||"string"==typeof t||void 0===t||e.objectMode||(r=new h("chunk",["string","Buffer","Uint8Array"],t));var a;return r}(l,t)),c)v(e,c);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===n.prototype||(t=function(e){return n.from(e)}(t)),o)l.endEmitted?v(e,new m):_(e,l,t,!0);else if(l.ended)v(e,new A);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?_(e,l,t,!1):B(e,l)):_(e,l,t,!1)}else o||(l.reading=!1,B(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function _(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),B(e,t)}Object.defineProperty(y.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=d.destroy,y.prototype._undestroy=d.undestroy,y.prototype._destroy=function(e,t){t(e)},y.prototype.push=function(e,t){var r,i=this._readableState;return i.objectMode?r=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=n.from(e,t),t=""),r=!0),x(this,e,t,!1,r)},y.prototype.unshift=function(e){return x(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){s||(s=ur().StringDecoder);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};function C(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,oe.nextTick(T,e))}function T(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,I(e)}function B(e,t){t.readingMore||(t.readingMore=!0,oe.nextTick(S,e,t))}function S(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(a("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function D(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function U(e){a("readable nexttick read 0"),e.read(0)}function F(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),I(e),t.flowing&&!t.reading&&e.read(0)}function I(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function O(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,oe.nextTick(M,t,e))}function M(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function P(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return y.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return a("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):E(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,i=t.needReadable;return a("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&a("length less than watermark",i=!0),t.ended||t.reading?a("reading or ended",i=!1):i&&(a("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=C(r,t))),null===(n=e>0?L(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){v(this,new g("_read()"))},y.prototype.pipe=function(e,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,a("pipe count=%d opts=%j",i.pipesCount,r);var o=(!r||!1!==r.end)&&e!==oe.stdout&&e!==oe.stderr?c:A;function s(t,r){a("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,a("cleanup"),e.removeListener("close",f),e.removeListener("finish",h),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",s),n.removeListener("end",c),n.removeListener("end",A),n.removeListener("data",d),u=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){a("onend"),e.end()}i.endEmitted?oe.nextTick(o):n.once("end",o),e.on("unpipe",s);var l=function(e){return function(){var r=e._readableState;a("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&t(e,"data")&&(r.flowing=!0,I(e))}}(n);e.on("drain",l);var u=!1;function d(t){a("ondata");var r=e.write(t);a("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==P(i.pipes,e))&&!u&&(a("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function p(r){a("onerror",r),A(),e.removeListener("error",p),0===t(e,"error")&&v(e,r)}function f(){e.removeListener("finish",h),A()}function h(){a("onfinish"),e.removeListener("close",f),A()}function A(){a("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",f),e.once("finish",h),e.emit("pipe",n),i.flowing||(a("pipe resume"),n.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=P(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(e,t){var n=r.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,a("on readable",i.length,i.reading),i.length?E(this):i.reading||oe.nextTick(U,this))),n},y.prototype.addListener=y.prototype.on,y.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&oe.nextTick(D,this),n},y.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||oe.nextTick(D,this),t},y.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,oe.nextTick(F,e,t))}(this,e)),e.paused=!1,this},y.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(a("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){a("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(y.prototype[Symbol.asyncIterator]=function(){return void 0===c&&(c=pr()),c(this)}),Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(y.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(y.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),y._fromList=L,Object.defineProperty(y.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(y.from=function(e,t){return void 0===l&&(l=Jt?Zt:(Jt=1,Zt=function(){throw new Error("Readable.from is not available in the browser")})),l(y,e,t)}),er}function hr(){if(nr)return rr;nr=1,rr=s;var e=Ht().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,i=e.ERR_TRANSFORM_WITH_LENGTH_0,a=Wt();function o(e,t){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new r);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),i(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function s(e){if(!(this instanceof s))return new s(e);a.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",c)}function c(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?l(this,null,null):this._flush((function(t,r){l(e,t,r)}))}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new i;if(e._transformState.transforming)throw new n;return e.push(null)}return Q(s,a),s.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},s.prototype._transform=function(e,r,n){n(new t("_transform()"))},s.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},s.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},s.prototype._destroy=function(e,t){a.prototype._destroy.call(this,e,(function(e){t(e)}))},rr}var Ar=mr,gr=H.EventEmitter;function mr(){gr.call(this)}Q(mr,gr),mr.Readable=fr(),mr.Writable=qt(),mr.Duplex=Wt(),mr.Transform=hr(),mr.PassThrough=function(){if(ar)return ir;ar=1,ir=t;var e=hr();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return Q(t,e),t.prototype._transform=function(e,t,r){r(null,e)},ir}(),mr.finished=dr(),mr.pipeline=function(){if(sr)return or;var e;sr=1;var t=Ht().codes,r=t.ERR_MISSING_ARGS,n=t.ERR_STREAM_DESTROYED;function i(e){if(e)throw e}function a(t,r,i,a){a=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(a);var o=!1;t.on("close",(function(){o=!0})),void 0===e&&(e=dr()),e(t,{readable:r,writable:i},(function(e){if(e)return a(e);o=!0,a()}));var s=!1;return function(e){if(!o&&!s)return s=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void a(e||new n("pipe"))}}function o(e){e()}function s(e,t){return e.pipe(t)}function c(e){return e.length?"function"!=typeof e[e.length-1]?i:e.pop():i}return or=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i,l=c(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new r("streams");var u=t.map((function(e,r){var n=r<t.length-1;return a(e,n,r>0,(function(e){i||(i=e),e&&u.forEach(o),n||(u.forEach(o),l(i))}))}));return t.reduce(s)}}(),mr.Stream=mr,mr.prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",o),r.on("close",s));var a=!1;function o(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(l(),0===gr.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",c),e.on("error",c),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e},function(e){!function(e){e.parser=function(e,t){return new i(e,t)},e.SAXParser=i,e.SAXStream=o,e.createStream=function(e,t){return new o(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(t,n){if(!(this instanceof i))return new i(t,n);!function(e){for(var t=0,n=r.length;t<n;t++)e[r[t]]=""}(this),this.q=this.c="",this.bufferCheckPosition=e.MAX_BUFFER_LENGTH,this.opt=n||{},this.opt.lowercase=this.opt.lowercase||this.opt.lowercasetags,this.looseCase=this.opt.lowercase?"toLowerCase":"toUpperCase",this.tags=[],this.closed=this.closedRoot=this.sawRoot=!1,this.tag=this.error=null,this.strict=!!t,this.noscript=!(!t&&!this.opt.noscript),this.state=y.BEGIN,this.strictEntities=this.opt.strictEntities,this.ENTITIES=this.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),this.attribList=[],this.opt.xmlns&&(this.ns=Object.create(c)),this.trackPosition=!1!==this.opt.position,this.trackPosition&&(this.position=this.line=this.column=0),x(this,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}),i.prototype={end:function(){B(this)},write:function(t){if(this.error)throw this.error;if(this.closed)return T(this,"Cannot write after close. Assign an onready handler.");if(null===t)return B(this);"object"==typeof t&&(t=t.toString());var n=0,i="";for(;i=P(t,n++),this.c=i,i;)switch(this.trackPosition&&(this.position++,"\n"===i?(this.line++,this.column=0):this.column++),this.state){case y.BEGIN:if(this.state=y.BEGIN_WHITESPACE,"\ufeff"===i)continue;M(this,i);continue;case y.BEGIN_WHITESPACE:M(this,i);continue;case y.TEXT:if(this.sawRoot&&!this.closedRoot){for(var a=n-1;i&&"<"!==i&&"&"!==i;)(i=P(t,n++))&&this.trackPosition&&(this.position++,"\n"===i?(this.line++,this.column=0):this.column++);this.textNode+=t.substring(a,n-1)}"<"!==i||this.sawRoot&&this.closedRoot&&!this.strict?(f(i)||this.sawRoot&&!this.closedRoot||S(this,"Text data outside of root node."),"&"===i?this.state=y.TEXT_ENTITY:this.textNode+=i):(this.state=y.OPEN_WAKA,this.startTagPosition=this.position);continue;case y.SCRIPT:"<"===i?this.state=y.SCRIPT_ENDING:this.script+=i;continue;case y.SCRIPT_ENDING:"/"===i?this.state=y.CLOSE_TAG:(this.script+="<"+i,this.state=y.SCRIPT);continue;case y.OPEN_WAKA:if("!"===i)this.state=y.SGML_DECL,this.sgmlDecl="";else if(f(i));else if(g(l,i))this.state=y.OPEN_TAG,this.tagName=i;else if("/"===i)this.state=y.CLOSE_TAG,this.tagName="";else if("?"===i)this.state=y.PROC_INST,this.procInstName=this.procInstBody="";else{if(S(this,"Unencoded <"),this.startTagPosition+1<this.position){var o=this.position-this.startTagPosition;i=new Array(o).join(" ")+i}this.textNode+="<"+i,this.state=y.TEXT}continue;case y.SGML_DECL:"[CDATA["===(this.sgmlDecl+i).toUpperCase()?(_(this,"onopencdata"),this.state=y.CDATA,this.sgmlDecl="",this.cdata=""):this.sgmlDecl+i==="--"?(this.state=y.COMMENT,this.comment="",this.sgmlDecl=""):"DOCTYPE"===(this.sgmlDecl+i).toUpperCase()?(this.state=y.DOCTYPE,(this.doctype||this.sawRoot)&&S(this,"Inappropriately located doctype declaration"),this.doctype="",this.sgmlDecl=""):">"===i?(_(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=y.TEXT):h(i)?(this.state=y.SGML_DECL_QUOTED,this.sgmlDecl+=i):this.sgmlDecl+=i;continue;case y.SGML_DECL_QUOTED:i===this.q&&(this.state=y.SGML_DECL,this.q=""),this.sgmlDecl+=i;continue;case y.DOCTYPE:">"===i?(this.state=y.TEXT,_(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=i,"["===i?this.state=y.DOCTYPE_DTD:h(i)&&(this.state=y.DOCTYPE_QUOTED,this.q=i));continue;case y.DOCTYPE_QUOTED:this.doctype+=i,i===this.q&&(this.q="",this.state=y.DOCTYPE);continue;case y.DOCTYPE_DTD:this.doctype+=i,"]"===i?this.state=y.DOCTYPE:h(i)&&(this.state=y.DOCTYPE_DTD_QUOTED,this.q=i);continue;case y.DOCTYPE_DTD_QUOTED:this.doctype+=i,i===this.q&&(this.state=y.DOCTYPE_DTD,this.q="");continue;case y.COMMENT:"-"===i?this.state=y.COMMENT_ENDING:this.comment+=i;continue;case y.COMMENT_ENDING:"-"===i?(this.state=y.COMMENT_ENDED,this.comment=E(this.opt,this.comment),this.comment&&_(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+i,this.state=y.COMMENT);continue;case y.COMMENT_ENDED:">"!==i?(S(this,"Malformed comment"),this.comment+="--"+i,this.state=y.COMMENT):this.state=y.TEXT;continue;case y.CDATA:"]"===i?this.state=y.CDATA_ENDING:this.cdata+=i;continue;case y.CDATA_ENDING:"]"===i?this.state=y.CDATA_ENDING_2:(this.cdata+="]"+i,this.state=y.CDATA);continue;case y.CDATA_ENDING_2:">"===i?(this.cdata&&_(this,"oncdata",this.cdata),_(this,"onclosecdata"),this.cdata="",this.state=y.TEXT):"]"===i?this.cdata+="]":(this.cdata+="]]"+i,this.state=y.CDATA);continue;case y.PROC_INST:"?"===i?this.state=y.PROC_INST_ENDING:f(i)?this.state=y.PROC_INST_BODY:this.procInstName+=i;continue;case y.PROC_INST_BODY:if(!this.procInstBody&&f(i))continue;"?"===i?this.state=y.PROC_INST_ENDING:this.procInstBody+=i;continue;case y.PROC_INST_ENDING:">"===i?(_(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=y.TEXT):(this.procInstBody+="?"+i,this.state=y.PROC_INST_BODY);continue;case y.OPEN_TAG:g(u,i)?this.tagName+=i:(D(this),">"===i?I(this):"/"===i?this.state=y.OPEN_TAG_SLASH:(f(i)||S(this,"Invalid character in tag name"),this.state=y.ATTRIB));continue;case y.OPEN_TAG_SLASH:">"===i?(I(this,!0),L(this)):(S(this,"Forward-slash in opening tag not followed by >"),this.state=y.ATTRIB);continue;case y.ATTRIB:if(f(i))continue;">"===i?I(this):"/"===i?this.state=y.OPEN_TAG_SLASH:g(l,i)?(this.attribName=i,this.attribValue="",this.state=y.ATTRIB_NAME):S(this,"Invalid attribute name");continue;case y.ATTRIB_NAME:"="===i?this.state=y.ATTRIB_VALUE:">"===i?(S(this,"Attribute without value"),this.attribValue=this.attribName,F(this),I(this)):f(i)?this.state=y.ATTRIB_NAME_SAW_WHITE:g(u,i)?this.attribName+=i:S(this,"Invalid attribute name");continue;case y.ATTRIB_NAME_SAW_WHITE:if("="===i)this.state=y.ATTRIB_VALUE;else{if(f(i))continue;S(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",_(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===i?I(this):g(l,i)?(this.attribName=i,this.state=y.ATTRIB_NAME):(S(this,"Invalid attribute name"),this.state=y.ATTRIB)}continue;case y.ATTRIB_VALUE:if(f(i))continue;h(i)?(this.q=i,this.state=y.ATTRIB_VALUE_QUOTED):(S(this,"Unquoted attribute value"),this.state=y.ATTRIB_VALUE_UNQUOTED,this.attribValue=i);continue;case y.ATTRIB_VALUE_QUOTED:if(i!==this.q){"&"===i?this.state=y.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=i;continue}F(this),this.q="",this.state=y.ATTRIB_VALUE_CLOSED;continue;case y.ATTRIB_VALUE_CLOSED:f(i)?this.state=y.ATTRIB:">"===i?I(this):"/"===i?this.state=y.OPEN_TAG_SLASH:g(l,i)?(S(this,"No whitespace between attributes"),this.attribName=i,this.attribValue="",this.state=y.ATTRIB_NAME):S(this,"Invalid attribute name");continue;case y.ATTRIB_VALUE_UNQUOTED:if(!A(i)){"&"===i?this.state=y.ATTRIB_VALUE_ENTITY_U:this.attribValue+=i;continue}F(this),">"===i?I(this):this.state=y.ATTRIB;continue;case y.CLOSE_TAG:if(this.tagName)">"===i?L(this):g(u,i)?this.tagName+=i:this.script?(this.script+="</"+this.tagName,this.tagName="",this.state=y.SCRIPT):(f(i)||S(this,"Invalid tagname in closing tag"),this.state=y.CLOSE_TAG_SAW_WHITE);else{if(f(i))continue;m(l,i)?this.script?(this.script+="</"+i,this.state=y.SCRIPT):S(this,"Invalid tagname in closing tag."):this.tagName=i}continue;case y.CLOSE_TAG_SAW_WHITE:if(f(i))continue;">"===i?L(this):S(this,"Invalid characters in closing tag");continue;case y.TEXT_ENTITY:case y.ATTRIB_VALUE_ENTITY_Q:case y.ATTRIB_VALUE_ENTITY_U:var s,c;switch(this.state){case y.TEXT_ENTITY:s=y.TEXT,c="textNode";break;case y.ATTRIB_VALUE_ENTITY_Q:s=y.ATTRIB_VALUE_QUOTED,c="attribValue";break;case y.ATTRIB_VALUE_ENTITY_U:s=y.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===i?(this[c]+=O(this),this.entity="",this.state=s):g(this.entity.length?p:d,i)?this.entity+=i:(S(this,"Invalid character in entity name"),this[c]+="&"+this.entity+i,this.entity="",this.state=s);continue;default:throw new Error(this,"Unknown state: "+this.state)}this.position>=this.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,a=0,o=r.length;a<o;a++){var s=t[r[a]].length;if(s>n)switch(r[a]){case"textNode":C(t);break;case"cdata":_(t,"oncdata",t.cdata),t.cdata="";break;case"script":_(t,"onscript",t.script),t.script="";break;default:T(t,"Max buffer length exceeded: "+r[a])}i=Math.max(i,s)}var c=e.MAX_BUFFER_LENGTH-i;t.bufferCheckPosition=c+t.position}(this);return this}
|
|
36
36
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;C(e=this),""!==e.cdata&&(_(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(_(e,"onscript",e.script),e.script="")}};try{t=Ar.Stream}catch(e){t=function(){}}var a=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function o(e,r){if(!(this instanceof o))return new o(e,r);t.apply(this),this._parser=new i(e,r),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,a.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}o.prototype=Object.create(t.prototype,{constructor:{value:o}}),o.prototype.write=function(e){if("function"==typeof n&&"function"==typeof n.isBuffer&&n.isBuffer(e)){if(!this._decoder){var t=ur().StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},o.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},o.prototype.on=function(e,r){var n=this;return n._parser["on"+e]||-1===a.indexOf(e)||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),t.prototype.on.call(n,e,r)};var s="http://www.w3.org/XML/1998/namespace",c={xml:s,xmlns:"http://www.w3.org/2000/xmlns/"},l=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function f(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function h(e){return'"'===e||"'"===e}function A(e){return">"===e||f(e)}function g(e,t){return e.test(t)}function m(e,t){return!g(e,t)}var v,b,k,y=0;for(var w in e.STATE={BEGIN:y++,BEGIN_WHITESPACE:y++,TEXT:y++,TEXT_ENTITY:y++,OPEN_WAKA:y++,SGML_DECL:y++,SGML_DECL_QUOTED:y++,DOCTYPE:y++,DOCTYPE_QUOTED:y++,DOCTYPE_DTD:y++,DOCTYPE_DTD_QUOTED:y++,COMMENT_STARTING:y++,COMMENT:y++,COMMENT_ENDING:y++,COMMENT_ENDED:y++,CDATA:y++,CDATA_ENDING:y++,CDATA_ENDING_2:y++,PROC_INST:y++,PROC_INST_BODY:y++,PROC_INST_ENDING:y++,OPEN_TAG:y++,OPEN_TAG_SLASH:y++,ATTRIB:y++,ATTRIB_NAME:y++,ATTRIB_NAME_SAW_WHITE:y++,ATTRIB_VALUE:y++,ATTRIB_VALUE_QUOTED:y++,ATTRIB_VALUE_CLOSED:y++,ATTRIB_VALUE_UNQUOTED:y++,ATTRIB_VALUE_ENTITY_Q:y++,ATTRIB_VALUE_ENTITY_U:y++,CLOSE_TAG:y++,CLOSE_TAG_SAW_WHITE:y++,SCRIPT:y++,SCRIPT_ENDING:y++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var r=e.ENTITIES[t],n="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=n})),e.STATE)e.STATE[e.STATE[w]]=w;function x(e,t,r){e[t]&&e[t](r)}function _(e,t,r){e.textNode&&C(e),x(e,t,r)}function C(e){e.textNode=E(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function E(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function T(e,t){return C(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,x(e,"onerror",t),e}function B(e){return e.sawRoot&&!e.closedRoot&&S(e,"Unclosed root tag"),e.state!==y.BEGIN&&e.state!==y.BEGIN_WHITESPACE&&e.state!==y.TEXT&&T(e,"Unexpected end"),C(e),e.c="",e.closed=!0,x(e,"onend"),i.call(e,e.strict,e.opt),e}function S(e,t){if("object"!=typeof e||!(e instanceof i))throw new Error("bad call to strictFail");e.strict&&T(e,t)}function D(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,r=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(r.ns=t.ns),e.attribList.length=0,_(e,"onopentagstart",r)}function U(e,t){var r=e.indexOf(":")<0?["",e]:e.split(":"),n=r[0],i=r[1];return t&&"xmlns"===e&&(n="xmlns",i=""),{prefix:n,local:i}}function F(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=U(e.attribName,!0),r=t.prefix,n=t.local;if("xmlns"===r)if("xml"===n&&e.attribValue!==s)S(e,"xml: prefix must be bound to "+s+"\nActual: "+e.attribValue);else if("xmlns"===n&&"http://www.w3.org/2000/xmlns/"!==e.attribValue)S(e,"xmlns: prefix must be bound to http://www.w3.org/2000/xmlns/\nActual: "+e.attribValue);else{var i=e.tag,a=e.tags[e.tags.length-1]||e;i.ns===a.ns&&(i.ns=Object.create(a.ns)),i.ns[n]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,_(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function I(e,t){if(e.opt.xmlns){var r=e.tag,n=U(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(S(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix);var i=e.tags[e.tags.length-1]||e;r.ns&&i.ns!==r.ns&&Object.keys(r.ns).forEach((function(t){_(e,"onopennamespace",{prefix:t,uri:r.ns[t]})}));for(var a=0,o=e.attribList.length;a<o;a++){var s=e.attribList[a],c=s[0],l=s[1],u=U(c,!0),d=u.prefix,p=u.local,f=""===d?"":r.ns[d]||"",h={name:c,value:l,prefix:d,local:p,uri:f};d&&"xmlns"!==d&&!f&&(S(e,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),e.tag.attributes[c]=h,_(e,"onattribute",h)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),_(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=y.TEXT:e.state=y.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function L(e){if(!e.tagName)return S(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=y.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=y.SCRIPT);_(e,"onscript",e.script),e.script=""}var t=e.tags.length,r=e.tagName;e.strict||(r=r[e.looseCase]());for(var n=r;t--;){if(e.tags[t].name===n)break;S(e,"Unexpected close tag")}if(t<0)return S(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=y.TEXT);e.tagName=r;for(var i=e.tags.length;i-- >t;){var a=e.tag=e.tags.pop();e.tagName=e.tag.name,_(e,"onclosetag",e.tagName);var o={};for(var s in a.ns)o[s]=a.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&a.ns!==c.ns&&Object.keys(a.ns).forEach((function(t){var r=a.ns[t];_(e,"onclosenamespace",{prefix:t,uri:r})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=y.TEXT}function O(e){var t,r=e.entity,n=r.toLowerCase(),i="";return e.ENTITIES[r]?e.ENTITIES[r]:e.ENTITIES[n]?e.ENTITIES[n]:("#"===(r=n).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),i=(t=parseInt(r,16)).toString(16)):(r=r.slice(1),i=(t=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==r?(S(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function M(e,t){"<"===t?(e.state=y.OPEN_WAKA,e.startTagPosition=e.position):f(t)||(S(e,"Non-whitespace before first tag."),e.textNode=t,e.state=y.TEXT)}function P(e,t){var r="";return t<e.length&&(r=e.charAt(t)),r}y=e.STATE,String.fromCodePoint||(v=String.fromCharCode,b=Math.floor,k=function(){var e,t,r=16384,n=[],i=-1,a=arguments.length;if(!a)return"";for(var o="";++i<a;){var s=Number(arguments[i]);if(!isFinite(s)||s<0||s>1114111||b(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?n.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,n.push(e,t)),(i+1===a||n.length>r)&&(o+=v.apply(null,n),n.length=0)}return o},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:k,configurable:!0,writable:!0}):String.fromCodePoint=k)}(e)}(C);var vr,br,kr=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},yr=kr,wr={copyOptions:function(e){var t,r={};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){"alwaysArray"in e&&("boolean"==typeof e.alwaysArray||yr(e.alwaysArray))||(e.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}},xr=C,_r=wr,Cr=kr;function Er(e){var t=Number(e);if(!isNaN(t))return t;var r=e.toLowerCase();return"true"===r||"false"!==r&&e}function Tr(e,t){var r;if(vr.compact){if(!br[vr[e+"Key"]]&&(Cr(vr.alwaysArray)?-1!==vr.alwaysArray.indexOf(vr[e+"Key"]):vr.alwaysArray)&&(br[vr[e+"Key"]]=[]),br[vr[e+"Key"]]&&!Cr(br[vr[e+"Key"]])&&(br[vr[e+"Key"]]=[br[vr[e+"Key"]]]),e+"Fn"in vr&&"string"==typeof t&&(t=vr[e+"Fn"](t,br)),"instruction"===e&&("instructionFn"in vr||"instructionNameFn"in vr))for(r in t)if(t.hasOwnProperty(r))if("instructionFn"in vr)t[r]=vr.instructionFn(t[r],r,br);else{var n=t[r];delete t[r],t[vr.instructionNameFn(r,n,br)]=n}Cr(br[vr[e+"Key"]])?br[vr[e+"Key"]].push(t):br[vr[e+"Key"]]=t}else{br[vr.elementsKey]||(br[vr.elementsKey]=[]);var i={};if(i[vr.typeKey]=e,"instruction"===e){for(r in t)if(t.hasOwnProperty(r))break;i[vr.nameKey]="instructionNameFn"in vr?vr.instructionNameFn(r,t,br):r,vr.instructionHasAttributes?(i[vr.attributesKey]=t[r][vr.attributesKey],"instructionFn"in vr&&(i[vr.attributesKey]=vr.instructionFn(i[vr.attributesKey],r,br))):("instructionFn"in vr&&(t[r]=vr.instructionFn(t[r],r,br)),i[vr.instructionKey]=t[r])}else e+"Fn"in vr&&(t=vr[e+"Fn"](t,br)),i[vr[e+"Key"]]=t;vr.addParent&&(i[vr.parentKey]=br),br[vr.elementsKey].push(i)}}function Br(e){var t;if("attributesFn"in vr&&e&&(e=vr.attributesFn(e,br)),(vr.trim||"attributeValueFn"in vr||"attributeNameFn"in vr||vr.nativeTypeAttributes)&&e)for(t in e)if(e.hasOwnProperty(t)&&(vr.trim&&(e[t]=e[t].trim()),vr.nativeTypeAttributes&&(e[t]=Er(e[t])),"attributeValueFn"in vr&&(e[t]=vr.attributeValueFn(e[t],t,br)),"attributeNameFn"in vr)){var r=e[t];delete e[t],e[vr.attributeNameFn(t,e[t],br)]=r}return e}function Sr(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||vr.instructionHasAttributes)){for(var r,n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(r=n.exec(e.body));)t[r[1]]=r[2]||r[3]||r[4];t=Br(t)}if("xml"===e.name.toLowerCase()){if(vr.ignoreDeclaration)return;br[vr.declarationKey]={},Object.keys(t).length&&(br[vr.declarationKey][vr.attributesKey]=t),vr.addParent&&(br[vr.declarationKey][vr.parentKey]=br)}else{if(vr.ignoreInstruction)return;vr.trim&&(e.body=e.body.trim());var i={};vr.instructionHasAttributes&&Object.keys(t).length?(i[e.name]={},i[e.name][vr.attributesKey]=t):i[e.name]=e.body,Tr("instruction",i)}}function Dr(e,t){var r;if("object"==typeof e&&(t=e.attributes,e=e.name),t=Br(t),"elementNameFn"in vr&&(e=vr.elementNameFn(e,br)),vr.compact){var n;if(r={},!vr.ignoreAttributes&&t&&Object.keys(t).length)for(n in r[vr.attributesKey]={},t)t.hasOwnProperty(n)&&(r[vr.attributesKey][n]=t[n]);!(e in br)&&(Cr(vr.alwaysArray)?-1!==vr.alwaysArray.indexOf(e):vr.alwaysArray)&&(br[e]=[]),br[e]&&!Cr(br[e])&&(br[e]=[br[e]]),Cr(br[e])?br[e].push(r):br[e]=r}else br[vr.elementsKey]||(br[vr.elementsKey]=[]),(r={})[vr.typeKey]="element",r[vr.nameKey]=e,!vr.ignoreAttributes&&t&&Object.keys(t).length&&(r[vr.attributesKey]=t),vr.alwaysChildren&&(r[vr.elementsKey]=[]),br[vr.elementsKey].push(r);r[vr.parentKey]=br,br=r}function Ur(e){vr.ignoreText||(e.trim()||vr.captureSpacesBetweenElements)&&(vr.trim&&(e=e.trim()),vr.nativeType&&(e=Er(e)),vr.sanitize&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),Tr("text",e))}function Fr(e){vr.ignoreComment||(vr.trim&&(e=e.trim()),Tr("comment",e))}function Ir(e){var t=br[vr.parentKey];vr.addParent||delete br[vr.parentKey],br=t}function Lr(e){vr.ignoreCdata||(vr.trim&&(e=e.trim()),Tr("cdata",e))}function Or(e){vr.ignoreDoctype||(e=e.replace(/^ /,""),vr.trim&&(e=e.trim()),Tr("doctype",e))}function Mr(e){e.note=e}var Pr=function(e,t){var r=xr.parser(!0,{}),n={};if(br=n,vr=function(e){return vr=_r.copyOptions(e),_r.ensureFlagExists("ignoreDeclaration",vr),_r.ensureFlagExists("ignoreInstruction",vr),_r.ensureFlagExists("ignoreAttributes",vr),_r.ensureFlagExists("ignoreText",vr),_r.ensureFlagExists("ignoreComment",vr),_r.ensureFlagExists("ignoreCdata",vr),_r.ensureFlagExists("ignoreDoctype",vr),_r.ensureFlagExists("compact",vr),_r.ensureFlagExists("alwaysChildren",vr),_r.ensureFlagExists("addParent",vr),_r.ensureFlagExists("trim",vr),_r.ensureFlagExists("nativeType",vr),_r.ensureFlagExists("nativeTypeAttributes",vr),_r.ensureFlagExists("sanitize",vr),_r.ensureFlagExists("instructionHasAttributes",vr),_r.ensureFlagExists("captureSpacesBetweenElements",vr),_r.ensureAlwaysArrayExists(vr),_r.ensureKeyExists("declaration",vr),_r.ensureKeyExists("instruction",vr),_r.ensureKeyExists("attributes",vr),_r.ensureKeyExists("text",vr),_r.ensureKeyExists("comment",vr),_r.ensureKeyExists("cdata",vr),_r.ensureKeyExists("doctype",vr),_r.ensureKeyExists("type",vr),_r.ensureKeyExists("name",vr),_r.ensureKeyExists("elements",vr),_r.ensureKeyExists("parent",vr),_r.checkFnExists("doctype",vr),_r.checkFnExists("instruction",vr),_r.checkFnExists("cdata",vr),_r.checkFnExists("comment",vr),_r.checkFnExists("text",vr),_r.checkFnExists("instructionName",vr),_r.checkFnExists("elementName",vr),_r.checkFnExists("attributeName",vr),_r.checkFnExists("attributeValue",vr),_r.checkFnExists("attributes",vr),vr}(t),r.opt={strictEntities:!0},r.onopentag=Dr,r.ontext=Ur,r.oncomment=Fr,r.onclosetag=Ir,r.onerror=Mr,r.oncdata=Lr,r.ondoctype=Or,r.onprocessinginstruction=Sr,r.write(e).close(),n[vr.elementsKey]){var i=n[vr.elementsKey];delete n[vr.elementsKey],n[vr.elementsKey]=i,delete n.text}return n},Rr=wr,Nr=Pr;var zr,Hr,jr=wr,Qr=kr;function qr(e,t,r){return(!r&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function Wr(e,t,r){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,Hr,zr));var n,i,a,o,s=[];for(n in e)e.hasOwnProperty(n)&&null!==e[n]&&void 0!==e[n]&&(o=t.noQuotesForNativeAttributes&&"string"!=typeof e[n]?"":'"',i=(i=""+e[n]).replace(/"/g,"""),a="attributeNameFn"in t?t.attributeNameFn(n,i,Hr,zr):n,s.push(t.spaces&&t.indentAttributes?qr(t,r+1,!1):" "),s.push(a+"="+o+("attributeValueFn"in t?t.attributeValueFn(i,n,Hr,zr):i)+o));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&s.push(qr(t,r,!1)),s.join("")}function Kr(e,t,r){return zr=e,Hr="xml",t.ignoreDeclaration?"":"<?xml"+Wr(e[t.attributesKey],t,r)+"?>"}function Vr(e,t,r){if(t.ignoreInstruction)return"";var n;for(n in e)if(e.hasOwnProperty(n))break;var i="instructionNameFn"in t?t.instructionNameFn(n,e[n],Hr,zr):n;if("object"==typeof e[n])return zr=e,Hr=i,"<?"+i+Wr(e[n][t.attributesKey],t,r)+"?>";var a=e[n]?e[n]:"";return"instructionFn"in t&&(a=t.instructionFn(a,n,Hr,zr)),"<?"+i+(a?" "+a:"")+"?>"}function Gr(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,Hr,zr):e)+"--\x3e"}function Yr(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,Hr,zr):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function Xr(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,Hr,zr):e)+">"}function $r(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in t?t.textFn(e,Hr,zr):e)}function Zr(e,t,r,n){return e.reduce((function(e,i){var a=qr(t,r,n&&!e);switch(i.type){case"element":return e+a+function(e,t,r){zr=e,Hr=e.name;var n=[],i="elementNameFn"in t?t.elementNameFn(e.name,e):e.name;n.push("<"+i),e[t.attributesKey]&&n.push(Wr(e[t.attributesKey],t,r));var a=e[t.elementsKey]&&e[t.elementsKey].length||e[t.attributesKey]&&"preserve"===e[t.attributesKey]["xml:space"];return a||(a="fullTagEmptyElementFn"in t?t.fullTagEmptyElementFn(e.name,e):t.fullTagEmptyElement),a?(n.push(">"),e[t.elementsKey]&&e[t.elementsKey].length&&(n.push(Zr(e[t.elementsKey],t,r+1)),zr=e,Hr=e.name),n.push(t.spaces&&function(e,t){var r;if(e.elements&&e.elements.length)for(r=0;r<e.elements.length;++r)switch(e.elements[r][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;case"doctype":case"comment":case"element":default:return!0}return!1}(e,t)?"\n"+Array(r+1).join(t.spaces):""),n.push("</"+i+">")):n.push("/>"),n.join("")}(i,t,r);case"comment":return e+a+Gr(i[t.commentKey],t);case"doctype":return e+a+Xr(i[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?a:"")+Yr(i[t.cdataKey],t);case"text":return e+(t.indentText?a:"")+$r(i[t.textKey],t);case"instruction":var o={};return o[i[t.nameKey]]=i[t.attributesKey]?i:i[t.instructionKey],e+(t.indentInstruction?a:"")+Vr(o,t,r)}}),"")}function Jr(e,t,r){var n;for(n in e)if(e.hasOwnProperty(n))switch(n){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||r)return!0;break;case t.cdataKey:if(t.indentCdata||r)return!0;break;case t.instructionKey:if(t.indentInstruction||r)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function en(e,t,r,n,i){zr=e,Hr=t;var a="elementNameFn"in r?r.elementNameFn(t,e):t;if(null==e||""===e)return"fullTagEmptyElementFn"in r&&r.fullTagEmptyElementFn(t,e)||r.fullTagEmptyElement?"<"+a+"></"+a+">":"<"+a+"/>";var o=[];if(t){if(o.push("<"+a),"object"!=typeof e)return o.push(">"+$r(e,r)+"</"+a+">"),o.join("");e[r.attributesKey]&&o.push(Wr(e[r.attributesKey],r,n));var s=Jr(e,r,!0)||e[r.attributesKey]&&"preserve"===e[r.attributesKey]["xml:space"];if(s||(s="fullTagEmptyElementFn"in r?r.fullTagEmptyElementFn(t,e):r.fullTagEmptyElement),!s)return o.push("/>"),o.join("");o.push(">")}return o.push(tn(e,r,n+1,!1)),zr=e,Hr=t,t&&o.push((i?qr(r,n,!1):"")+"</"+a+">"),o.join("")}function tn(e,t,r,n){var i,a,o,s=[];for(a in e)if(e.hasOwnProperty(a))for(o=Qr(e[a])?e[a]:[e[a]],i=0;i<o.length;++i){switch(a){case t.declarationKey:s.push(Kr(o[i],t,r));break;case t.instructionKey:s.push((t.indentInstruction?qr(t,r,n):"")+Vr(o[i],t,r));break;case t.attributesKey:case t.parentKey:break;case t.textKey:s.push((t.indentText?qr(t,r,n):"")+$r(o[i],t));break;case t.cdataKey:s.push((t.indentCdata?qr(t,r,n):"")+Yr(o[i],t));break;case t.doctypeKey:s.push(qr(t,r,n)+Xr(o[i],t));break;case t.commentKey:s.push(qr(t,r,n)+Gr(o[i],t));break;default:s.push(qr(t,r,n)+en(o[i],a,t,r,Jr(o[i],t)))}n=n&&!s.length}return s.join("")}var rn=function(e,t){t=function(e){var t=jr.copyOptions(e);return jr.ensureFlagExists("ignoreDeclaration",t),jr.ensureFlagExists("ignoreInstruction",t),jr.ensureFlagExists("ignoreAttributes",t),jr.ensureFlagExists("ignoreText",t),jr.ensureFlagExists("ignoreComment",t),jr.ensureFlagExists("ignoreCdata",t),jr.ensureFlagExists("ignoreDoctype",t),jr.ensureFlagExists("compact",t),jr.ensureFlagExists("indentText",t),jr.ensureFlagExists("indentCdata",t),jr.ensureFlagExists("indentAttributes",t),jr.ensureFlagExists("indentInstruction",t),jr.ensureFlagExists("fullTagEmptyElement",t),jr.ensureFlagExists("noQuotesForNativeAttributes",t),jr.ensureSpacesExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),jr.ensureKeyExists("declaration",t),jr.ensureKeyExists("instruction",t),jr.ensureKeyExists("attributes",t),jr.ensureKeyExists("text",t),jr.ensureKeyExists("comment",t),jr.ensureKeyExists("cdata",t),jr.ensureKeyExists("doctype",t),jr.ensureKeyExists("type",t),jr.ensureKeyExists("name",t),jr.ensureKeyExists("elements",t),jr.checkFnExists("doctype",t),jr.checkFnExists("instruction",t),jr.checkFnExists("cdata",t),jr.checkFnExists("comment",t),jr.checkFnExists("text",t),jr.checkFnExists("instructionName",t),jr.checkFnExists("elementName",t),jr.checkFnExists("attributeName",t),jr.checkFnExists("attributeValue",t),jr.checkFnExists("attributes",t),jr.checkFnExists("fullTagEmptyElement",t),t}(t);var r=[];return zr=e,Hr="_root_",t.compact?r.push(tn(e,t,0,!0)):(e[t.declarationKey]&&r.push(Kr(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&r.push(Zr(e[t.elementsKey],t,0,!r.length))),r.join("")},nn=rn,an={xml2js:Pr,xml2json:function(e,t){var r,n,i;return r=function(e){var t=Rr.copyOptions(e);return Rr.ensureSpacesExists(t),t}(t),n=Nr(e,r),i="compact"in r&&r.compact?"_parent":"parent",("addParent"in r&&r.addParent?JSON.stringify(n,(function(e,t){return e===i?"_":t}),r.spaces):JSON.stringify(n,null,r.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},js2xml:rn,json2xml:function(e,t){e instanceof n&&(e=e.toString());var r=null;if("string"==typeof e)try{r=JSON.parse(e)}catch(e){throw new Error("The JSON structure is invalid")}else r=e;return nn(r,t)}};const on=e=>{switch(e.type){case void 0:case"element":const t=new cn(e.name,e.attributes),r=e.elements||[];for(const e of r){const r=on(e);void 0!==r&&t.push(r)}return t;case"text":return e.text;default:return}};class sn extends b{}class cn extends m{static fromXmlString(e){const t=an.xml2js(e,{compact:!1});return on(t)}constructor(e,t){super(e),t&&this.root.push(new sn(t))}push(e){this.root.push(e)}}class ln extends m{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}}class un extends m{constructor(e,t){super(e),t&&(this.root=t.root)}}const dn=e=>{if(isNaN(e))throw new Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},pn=e=>{const t=dn(e);if(t<0)throw new Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},fn=(e,t)=>{const r=2*t;if(e.length!==r||isNaN(Number("0x"+e)))throw new Error(`Invalid hex value '${e}'. Expected ${r} digit hex value`);return e},hn=e=>fn(e,1),An=e=>{const t=e.slice(-2),r=e.substring(0,e.length-2);return`${Number(r)}${t}`},gn=e=>{const t=An(e);if(parseFloat(t)<0)throw new Error(`Invalid value '${t}' specified. Expected a positive number.`);return t},mn=e=>{if("auto"===e)return e;const t="#"===e.charAt(0)?e.substring(1):e;return fn(t,3)},vn=e=>"string"==typeof e?An(e):dn(e),bn=e=>"string"==typeof e?gn(e):pn(e),kn=e=>"string"==typeof e?gn(e):pn(e),yn=pn,wn=pn;class xn extends m{constructor(e,t=!0){super(e),!0!==t&&this.root.push(new y({val:t}))}}class _n extends m{constructor(e,t){super(e),this.root.push(new y({val:bn(t)}))}}class Cn extends m{constructor(e,t){super(e),this.root.push(new y({val:t}))}}const En=(e,t)=>new Sn({name:e,attributes:{value:{key:"w:val",value:t}}});class Tn extends m{constructor(e,t){super(e),this.root.push(new y({val:t}))}}class Bn extends m{constructor(e,t){super(e),this.root.push(t)}}class Sn extends m{constructor({name:e,attributes:t,children:r}){super(e),t&&this.root.push(new k(t)),r&&this.root.push(...r)}}const Dn="start",Un="left";class Fn extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val"})}}class In extends m{constructor(e){super("w:jc"),this.root.push(new Fn({val:e}))}}class Ln extends m{constructor(e,{color:t,size:r,space:n,style:i}){super(e),this.root.push(new On({style:i,color:void 0===t?void 0:mn(t),size:void 0===r?void 0:yn(r),space:void 0===n?void 0:wn(n)}))}}class On extends b{constructor(){super(...arguments),f(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const Mn="single",Pn="none";class Rn extends v{constructor(e){super("w:pBdr"),e.top&&this.root.push(new Ln("w:top",e.top)),e.bottom&&this.root.push(new Ln("w:bottom",e.bottom)),e.left&&this.root.push(new Ln("w:left",e.left)),e.right&&this.root.push(new Ln("w:right",e.right))}}class Nn extends m{constructor(){super("w:pBdr");const e=new Ln("w:bottom",{color:"auto",space:1,style:Mn,size:6});this.root.push(e)}}class zn extends m{constructor({start:e,end:t,left:r,right:n,hanging:i,firstLine:a}){super("w:ind"),this.root.push(new k({start:{key:"w:start",value:void 0===e?void 0:vn(e)},end:{key:"w:end",value:void 0===t?void 0:vn(t)},left:{key:"w:left",value:void 0===r?void 0:vn(r)},right:{key:"w:right",value:void 0===n?void 0:vn(n)},hanging:{key:"w:hanging",value:void 0===i?void 0:kn(i)},firstLine:{key:"w:firstLine",value:void 0===a?void 0:kn(a)}}))}}let Hn=class extends m{constructor(){super("w:br")}};const jn="begin",Qn="end",qn="separate";class Wn extends b{constructor(){super(...arguments),f(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class Kn extends m{constructor(e){super("w:fldChar"),this.root.push(new Wn({type:jn,dirty:e}))}}class Vn extends m{constructor(e){super("w:fldChar"),this.root.push(new Wn({type:qn,dirty:e}))}}class Gn extends m{constructor(e){super("w:fldChar"),this.root.push(new Wn({type:Qn,dirty:e}))}}const Yn="default",Xn="preserve";class $n extends b{constructor(){super(...arguments),f(this,"xmlKeys",{space:"xml:space"})}}class Zn extends m{constructor(){super("w:instrText"),this.root.push(new $n({space:Xn})),this.root.push("PAGE")}}class Jn extends m{constructor(){super("w:instrText"),this.root.push(new $n({space:Xn})),this.root.push("NUMPAGES")}}class ei extends m{constructor(){super("w:instrText"),this.root.push(new $n({space:Xn})),this.root.push("SECTIONPAGES")}}class ti extends m{constructor(){super("w:instrText"),this.root.push(new $n({space:Xn})),this.root.push("SECTION")}}class ri extends b{constructor(){super(...arguments),f(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class ni extends m{constructor({fill:e,color:t,type:r}){super("w:shd"),this.root.push(new ri({fill:void 0===e?void 0:mn(e),color:void 0===t?void 0:mn(t),type:r}))}}class ii extends b{constructor(){super(...arguments),f(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}const ai="dot";class oi extends m{constructor(e){super("w:em"),this.root.push(new y({val:e}))}}class si extends oi{constructor(e=ai){super(e)}}class ci extends m{constructor(e){super("w:spacing"),this.root.push(new y({val:vn(e)}))}}class li extends m{constructor(e){super("w:color"),this.root.push(new y({val:mn(e)}))}}class ui extends m{constructor(e){super("w:highlight"),this.root.push(new y({val:e}))}}class di extends m{constructor(e){super("w:highlightCs"),this.root.push(new y({val:e}))}}class pi extends b{constructor(){super(...arguments),f(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class fi extends m{constructor(e,t){if(super("w:rFonts"),"string"==typeof e){const r=e;this.root.push(new pi({ascii:r,cs:r,eastAsia:r,hAnsi:r,hint:t}))}else{const t=e;this.root.push(new pi(t))}}}let hi=class extends m{constructor(e){super("w:vertAlign"),this.root.push(new y({val:e}))}};class Ai extends hi{constructor(){super("superscript")}}class gi extends hi{constructor(){super("subscript")}}const mi="single";class vi extends m{constructor(e=mi,t){super("w:u"),this.root.push(new y({val:e,color:void 0===t?void 0:mn(t)}))}}class bi extends v{constructor(e){var t,r;if(super("w:rPr"),!e)return;void 0!==e.noProof&&this.push(new xn("w:noProof",e.noProof)),void 0!==e.bold&&this.push(new xn("w:b",e.bold)),(void 0===e.boldComplexScript&&void 0!==e.bold||e.boldComplexScript)&&this.push(new xn("w:bCs",null!=(t=e.boldComplexScript)?t:e.bold)),void 0!==e.italics&&this.push(new xn("w:i",e.italics)),(void 0===e.italicsComplexScript&&void 0!==e.italics||e.italicsComplexScript)&&this.push(new xn("w:iCs",null!=(r=e.italicsComplexScript)?r:e.italics)),e.underline&&this.push(new vi(e.underline.type,e.underline.color)),e.effect&&this.push(new Cn("w:effect",e.effect)),e.emphasisMark&&this.push(new si(e.emphasisMark.type)),e.color&&this.push(new li(e.color)),e.kern&&this.push(new _n("w:kern",e.kern)),e.position&&this.push(new Cn("w:position",e.position)),void 0!==e.size&&this.push(new _n("w:sz",e.size));const n=void 0===e.sizeComplexScript||!0===e.sizeComplexScript?e.size:e.sizeComplexScript;n&&this.push(new _n("w:szCs",n)),void 0!==e.rightToLeft&&this.push(new xn("w:rtl",e.rightToLeft)),void 0!==e.smallCaps?this.push(new xn("w:smallCaps",e.smallCaps)):void 0!==e.allCaps&&this.push(new xn("w:caps",e.allCaps)),void 0!==e.strike&&this.push(new xn("w:strike",e.strike)),void 0!==e.doubleStrike&&this.push(new xn("w:dstrike",e.doubleStrike)),e.subScript&&this.push(new gi),e.superScript&&this.push(new Ai),e.style&&this.push(new Cn("w:rStyle",e.style)),e.font&&("string"==typeof e.font?this.push(new fi(e.font)):"name"in e.font?this.push(new fi(e.font.name,e.font.hint)):this.push(new fi(e.font))),e.highlight&&this.push(new ui(e.highlight));const i=void 0===e.highlightComplexScript||!0===e.highlightComplexScript?e.highlight:e.highlightComplexScript;i&&this.push(new di(i)),e.characterSpacing&&this.push(new ci(e.characterSpacing)),void 0!==e.emboss&&this.push(new xn("w:emboss",e.emboss)),void 0!==e.imprint&&this.push(new xn("w:imprint",e.imprint)),e.shading&&this.push(new ni(e.shading)),e.revision&&this.push(new ki(e.revision)),e.border&&this.push(new Ln("w:bdr",e.border)),void 0!==e.snapToGrid&&this.push(new xn("w:snapToGrid",e.snapToGrid)),e.vanish&&this.push(new xn("w:vanish",e.vanish)),e.specVanish&&this.push(new xn("w:specVanish",e.vanish)),void 0!==e.scale&&this.push(new Tn("w:w",e.scale)),e.language&&this.push((e=>new Sn({name:"w:lang",attributes:{value:{key:"w:val",value:e.value},eastAsia:{key:"w:eastAsia",value:e.eastAsia},bidirectional:{key:"w:bidi",value:e.bidirectional}}}))(e.language)),e.math&&this.push(new xn("w:oMath",e.math))}push(e){this.root.push(e)}}class ki extends m{constructor(e){super("w:rPrChange"),this.root.push(new ii({id:e.id,author:e.author,date:e.date})),this.addChildElement(new bi(e))}}class yi extends m{constructor(e){var t;return super("w:t"),"string"==typeof e?(this.root.push(new $n({space:Xn})),this.root.push(e),this):(this.root.push(new $n({space:null!=(t=e.space)?t:Yn})),this.root.push(e.text),this)}}const wi="CURRENT",xi="TOTAL_PAGES",_i="TOTAL_PAGES_IN_SECTION",Ci="SECTION";class Ei extends m{constructor(e){if(super("w:r"),f(this,"properties"),this.properties=new bi(e),this.root.push(this.properties),e.break)for(let t=0;t<e.break;t++)this.root.push(new Hn);if(e.children)for(const t of e.children)if("string"!=typeof t)this.root.push(t);else switch(t){case wi:this.root.push(new Kn),this.root.push(new Zn),this.root.push(new Vn),this.root.push(new Gn);break;case xi:this.root.push(new Kn),this.root.push(new Jn),this.root.push(new Vn),this.root.push(new Gn);break;case _i:this.root.push(new Kn),this.root.push(new ei),this.root.push(new Vn),this.root.push(new Gn);break;case Ci:this.root.push(new Kn),this.root.push(new ti),this.root.push(new Vn),this.root.push(new Gn);break;default:this.root.push(new yi(t))}else e.text&&this.root.push(new yi(e.text))}}class Ti extends Ei{constructor(e){if("string"==typeof e)return super({}),this.root.push(new yi(e)),this;super(e)}}const Bi=e=>Math.floor(72*e*20),Si=(e=0)=>{let t=e;return()=>++t},Di=()=>((e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t})().toLowerCase(),Ui=e=>((e,t=21)=>(r=t)=>{let n="",i=r;for(;i--;)n+=e[Math.random()*e.length|0];return n})("1234567890abcdef",e)();class Fi extends b{constructor(){super(...arguments),f(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class Ii extends b{constructor(){super(...arguments),f(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class Li extends m{constructor({id:e,initials:t,author:r,date:n=new Date,children:i}){super("w:comment"),this.root.push(new Fi({id:e,initials:t,author:r,date:n.toISOString()}));for(const e of i)this.root.push(e)}}class Oi extends m{constructor({children:e}){super("w:comments"),this.root.push(new Ii({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));for(const t of e)this.root.push(new Li(t))}}class Mi extends m{constructor(){super("w:pageBreakBefore")}}const Pi="auto";class Ri extends b{constructor(){super(...arguments),f(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"})}}class Ni extends m{constructor(e){super("w:spacing"),this.root.push(new Ri(e))}}const zi={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"};let Hi=class extends m{constructor(e){super("w:pStyle"),this.root.push(new y({val:e}))}};class ji extends m{constructor(e){super("w:tabs");for(const t of e)this.root.push(new Ki(t))}}const Qi="left",qi="right";class Wi extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class Ki extends m{constructor({type:e,position:t,leader:r}){super("w:tab"),this.root.push(new Wi({val:e,pos:t,leader:r}))}}class Vi extends m{constructor(e,t){super("w:numPr"),this.root.push(new Gi(t)),this.root.push(new Yi(e))}}class Gi extends m{constructor(e){if(super("w:ilvl"),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new y({val:e}))}}class Yi extends m{constructor(e){super("w:numId"),this.root.push(new y({val:"string"==typeof e?`{${e}}`:e}))}}class Xi extends m{constructor(){super(...arguments),f(this,"fileChild",Symbol())}}class $i extends b{constructor(){super(...arguments),f(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}const Zi="External";class Ji extends m{constructor(e,t,r,n){super("Relationship"),this.root.push(new $i({id:e,type:t,target:r,targetMode:n}))}}class ea extends b{constructor(){super(...arguments),f(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class ta extends m{constructor(e,t,r){super("w:hyperlink"),f(this,"linkId"),this.linkId=t;const n={history:1,anchor:r||void 0,id:r?void 0:"rId"+this.linkId},i=new ea(n);this.root.push(i),e.forEach(e=>{this.root.push(e)})}}class ra extends m{constructor(e){super("w:externalHyperlink"),this.options=e}}class na extends b{constructor(){super(...arguments),f(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class ia extends b{constructor(){super(...arguments),f(this,"xmlKeys",{id:"w:id"})}}class aa{constructor(e){f(this,"bookmarkUniqueNumericId",Si()),f(this,"start"),f(this,"children"),f(this,"end");const t=this.bookmarkUniqueNumericId();this.start=new oa(e.id,t),this.children=e.children,this.end=new sa(t)}}class oa extends m{constructor(e,t){super("w:bookmarkStart");const r=new na({name:e,id:t});this.root.push(r)}}class sa extends m{constructor(e){super("w:bookmarkEnd");const t=new ia({id:e});this.root.push(t)}}class ca extends m{constructor(e){super("w:outlineLvl"),this.level=e,this.root.push(new y({val:e}))}}class la extends b{constructor(){super(...arguments),f(this,"xmlKeys",{verticalAlign:"w:val"})}}class ua extends m{constructor(e){super("w:vAlign"),this.root.push(new la({verticalAlign:e}))}}const da="default",pa="first",fa="even";class ha extends b{constructor(){super(...arguments),f(this,"xmlKeys",{type:"w:type",id:"r:id"})}}const Aa="w:headerReference",ga="w:footerReference";class ma extends m{constructor(e,t){super(e),this.root.push(new ha({type:t.type||da,id:"rId"+t.id}))}}class va extends m{constructor({space:e,count:t,separate:r,equalWidth:n,children:i}){super("w:cols"),this.root.push(new k({space:{key:"w:space",value:void 0===e?void 0:kn(e)},count:{key:"w:num",value:void 0===t?void 0:dn(t)},separate:{key:"w:sep",value:r},equalWidth:{key:"w:equalWidth",value:n}})),!n&&i&&i.forEach(e=>this.addChildElement(e))}}class ba extends b{constructor(){super(...arguments),f(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class ka extends m{constructor(e,t,r){super("w:docGrid"),this.root.push(new ba({type:r,linePitch:dn(e),charSpace:t?dn(t):void 0}))}}class ya extends b{constructor(){super(...arguments),f(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class wa extends v{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new ya({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new ya({})),e.pageBorderTop&&this.root.push(new Ln("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(new Ln("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(new Ln("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(new Ln("w:right",e.pageBorderRight))}}class xa extends m{constructor(e,t,r,n,i,a,o){super("w:pgMar"),this.root.push(new k({top:{key:"w:top",value:vn(e)},right:{key:"w:right",value:kn(t)},bottom:{key:"w:bottom",value:vn(r)},left:{key:"w:left",value:kn(n)},header:{key:"w:header",value:kn(i)},footer:{key:"w:footer",value:kn(a)},gutter:{key:"w:gutter",value:kn(o)}}))}}class _a extends b{constructor(){super(...arguments),f(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class Ca extends m{constructor({start:e,formatType:t,separator:r}){super("w:pgNumType"),this.root.push(new _a({start:void 0===e?void 0:dn(e),formatType:t,separator:r}))}}const Ea="portrait",Ta="landscape";class Ba extends m{constructor(e,t,r){super("w:pgSz");const n=r===Ta,i=kn(e),a=kn(t);this.root.push(new k({width:{key:"w:w",value:n?a:i},height:{key:"w:h",value:n?i:a},orientation:{key:"w:orient",value:r}}))}}class Sa extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val"})}}class Da extends m{constructor(e){super("w:textDirection"),this.root.push(new Sa({val:e}))}}class Ua extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val"})}}class Fa extends m{constructor(e){super("w:type"),this.root.push(new Ua({val:e}))}}const Ia=1440,La=1440,Oa=1440,Ma=1440,Pa=708,Ra=708,Na=0,za=11906,Ha=16838,ja=Ea;class Qa extends m{constructor({page:{size:{width:e=za,height:t=Ha,orientation:r=ja}={},margin:{top:n=Ia,right:i=La,bottom:a=Oa,left:o=Ma,header:s=Pa,footer:c=Ra,gutter:l=Na}={},pageNumbers:u={},borders:d,textDirection:p}={},grid:{linePitch:f=360,charSpace:h,type:A}={},headerWrapperGroup:g={},footerWrapperGroup:m={},lineNumbers:v,titlePage:b,verticalAlign:k,column:y,type:w}={}){super("w:sectPr"),this.addHeaderFooterGroup(Aa,g),this.addHeaderFooterGroup(ga,m),w&&this.root.push(new Fa(w)),this.root.push(new Ba(e,t,r)),this.root.push(new xa(n,i,a,o,s,c,l)),d&&this.root.push(new wa(d)),v&&this.root.push((({countBy:e,start:t,restart:r,distance:n})=>new Sn({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===e?void 0:dn(e)},start:{key:"w:start",value:void 0===t?void 0:dn(t)},restart:{key:"w:restart",value:r},distance:{key:"w:distance",value:void 0===n?void 0:kn(n)}}}))(v)),this.root.push(new Ca(u)),y&&this.root.push(new va(y)),k&&this.root.push(new ua(k)),void 0!==b&&this.root.push(new xn("w:titlePg",b)),p&&this.root.push(new Da(p)),this.root.push(new ka(f,h,A))}addHeaderFooterGroup(e,t){t.default&&this.root.push(new ma(e,{type:da,id:t.default.View.ReferenceId})),t.first&&this.root.push(new ma(e,{type:pa,id:t.first.View.ReferenceId})),t.even&&this.root.push(new ma(e,{type:fa,id:t.even.View.ReferenceId}))}}class qa extends m{constructor(){super("w:body"),f(this,"sections",[])}addSection(e){const t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new Qa(e))}prepForXml(e){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}createSectionParagraph(e){const t=new to({}),r=new eo({});return r.push(e),t.addChildElement(r),t}}class Wa extends b{constructor(){super(...arguments),f(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",aink:"xmlns:aink",am3d:"xmlns:am3d",w16cex:"xmlns:w16cex",w16cid:"xmlns:w16cid",w16:"xmlns:w16",w16sdtdh:"xmlns:w16sdtdh",w16se:"xmlns:w16se"})}}class Ka extends b{constructor(){super(...arguments),f(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class Va extends m{constructor(e){super("w:background"),this.root.push(new Ka({color:void 0===e.color?void 0:mn(e.color),themeColor:e.themeColor,themeShade:void 0===e.themeShade?void 0:hn(e.themeShade),themeTint:void 0===e.themeTint?void 0:hn(e.themeTint)}))}}class Ga extends m{constructor(e){super("w:document"),f(this,"body"),this.root.push(new Wa({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",Ignorable:"w14 w15 wp14"})),this.body=new qa,e.background&&this.root.push(new Va(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}class Ya extends b{constructor(){super(...arguments),f(this,"xmlKeys",{xmlns:"xmlns"})}}class Xa extends m{constructor(){super("Relationships"),this.root.push(new Ya({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(e,t,r,n){const i=new Ji("rId"+e,t,r,n);return this.root.push(i),i}get RelationshipCount(){return this.root.length-1}}class $a{constructor(e){f(this,"document"),f(this,"relationships"),this.document=new Ga(e),this.relationships=new Xa}get View(){return this.document}get Relationships(){return this.relationships}}class Za extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val"})}}class Ja extends m{constructor(){super("w:wordWrap"),this.root.push(new Za({val:0}))}}class eo extends v{constructor(e){var t,r;if(super("w:pPr"),f(this,"numberingReferences",[]),!e)return this;e.heading&&this.push(new Hi(e.heading)),e.bullet&&this.push(new Hi("ListParagraph")),e.numbering&&(e.style||e.heading||e.numbering.custom||this.push(new Hi("ListParagraph"))),e.style&&this.push(new Hi(e.style)),void 0!==e.keepNext&&this.push(new xn("w:keepNext",e.keepNext)),void 0!==e.keepLines&&this.push(new xn("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new Mi),e.frame&&this.push((e=>{var t,r;return new Sn({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:e.anchorLock},dropCap:{key:"w:dropCap",value:e.dropCap},width:{key:"w:w",value:e.width},height:{key:"w:h",value:e.height},x:{key:"w:x",value:e.position?e.position.x:void 0},y:{key:"w:y",value:e.position?e.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:e.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:e.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(t=e.space)?void 0:t.horizontal},spaceVertical:{key:"w:vSpace",value:null==(r=e.space)?void 0:r.vertical},rule:{key:"w:hRule",value:e.rule},alignmentX:{key:"w:xAlign",value:e.alignment?e.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:e.alignment?e.alignment.y:void 0},lines:{key:"w:lines",value:e.lines},wrap:{key:"w:wrap",value:e.wrap}}})})(e.frame)),void 0!==e.widowControl&&this.push(new xn("w:widowControl",e.widowControl)),e.bullet&&this.push(new Vi(1,e.bullet.level)),e.numbering&&(this.numberingReferences.push({reference:e.numbering.reference,instance:null!=(t=e.numbering.instance)?t:0}),this.push(new Vi(`${e.numbering.reference}-${null!=(r=e.numbering.instance)?r:0}`,e.numbering.level))),e.border&&this.push(new Rn(e.border)),e.thematicBreak&&this.push(new Nn),e.shading&&this.push(new ni(e.shading)),e.wordWrap&&this.push(new Ja),e.overflowPunctuation&&this.push(new xn("w:overflowPunct",e.overflowPunctuation));const n=[...void 0!==e.rightTabStop?[{type:qi,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...void 0!==e.leftTabStop?[{type:Qi,position:e.leftTabStop}]:[]];n.length>0&&this.push(new ji(n)),void 0!==e.bidirectional&&this.push(new xn("w:bidi",e.bidirectional)),e.spacing&&this.push(new Ni(e.spacing)),e.indent&&this.push(new zn(e.indent)),void 0!==e.contextualSpacing&&this.push(new xn("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(new In(e.alignment)),void 0!==e.outlineLevel&&this.push(new ca(e.outlineLevel)),void 0!==e.suppressLineNumbers&&this.push(new xn("w:suppressLineNumbers",e.suppressLineNumbers)),void 0!==e.autoSpaceEastAsianText&&this.push(new xn("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new bi(e.run))}push(e){this.root.push(e)}prepForXml(e){if(e.viewWrapper instanceof $a)for(const t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}}class to extends Xi{constructor(e){if(super("w:p"),f(this,"properties"),"string"==typeof e)return this.properties=new eo({}),this.root.push(this.properties),this.root.push(new Ti(e)),this;if(this.properties=new eo(e),this.root.push(this.properties),e.text&&this.root.push(new Ti(e.text)),e.children)for(const t of e.children)if(t instanceof aa){this.root.push(t.start);for(const e of t.children)this.root.push(e);this.root.push(t.end)}else this.root.push(t)}prepForXml(e){for(const t of this.root)if(t instanceof ra){const r=this.root.indexOf(t),n=new ta(t.options.children,Di());e.viewWrapper.Relationships.createRelationship(n.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",t.options.link,Zi),this.root[r]=n}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}}const ro={style:Pn,size:0,color:"auto"},no={style:Mn,size:4,color:"auto"};class io extends m{constructor(e){super("w:tblBorders"),e.top?this.root.push(new Ln("w:top",e.top)):this.root.push(new Ln("w:top",no)),e.left?this.root.push(new Ln("w:left",e.left)):this.root.push(new Ln("w:left",no)),e.bottom?this.root.push(new Ln("w:bottom",e.bottom)):this.root.push(new Ln("w:bottom",no)),e.right?this.root.push(new Ln("w:right",e.right)):this.root.push(new Ln("w:right",no)),e.insideHorizontal?this.root.push(new Ln("w:insideH",e.insideHorizontal)):this.root.push(new Ln("w:insideH",no)),e.insideVertical?this.root.push(new Ln("w:insideV",e.insideVertical)):this.root.push(new Ln("w:insideV",no))}}f(io,"NONE",{top:ro,bottom:ro,left:ro,right:ro,insideHorizontal:ro,insideVertical:ro});class ao extends b{constructor(){super(...arguments),f(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class oo extends m{constructor(){super("Properties"),this.root.push(new ao({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class so extends b{constructor(){super(...arguments),f(this,"xmlKeys",{xmlns:"xmlns"})}}class co extends b{constructor(){super(...arguments),f(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class lo extends m{constructor(e,t){super("Default"),this.root.push(new co({contentType:e,extension:t}))}}class uo extends b{constructor(){super(...arguments),f(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class po extends m{constructor(e,t){super("Override"),this.root.push(new uo({contentType:e,partName:t}))}}class fo extends m{constructor(){super("Types"),this.root.push(new so({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new lo("image/png","png")),this.root.push(new lo("image/jpeg","jpeg")),this.root.push(new lo("image/jpeg","jpg")),this.root.push(new lo("image/bmp","bmp")),this.root.push(new lo("image/gif","gif")),this.root.push(new lo("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new lo("application/xml","xml")),this.root.push(new lo("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new po("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(e){this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(new po("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}class ho extends m{constructor(e){super("cp:coreProperties"),this.root.push(new Wa({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),e.title&&this.root.push(new Bn("dc:title",e.title)),e.subject&&this.root.push(new Bn("dc:subject",e.subject)),e.creator&&this.root.push(new Bn("dc:creator",e.creator)),e.keywords&&this.root.push(new Bn("cp:keywords",e.keywords)),e.description&&this.root.push(new Bn("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new Bn("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new Bn("cp:revision",String(e.revision))),this.root.push(new Ao("dcterms:created")),this.root.push(new Ao("dcterms:modified"))}}class Ao extends m{constructor(e){super(e),this.root.push(new Wa({type:"dcterms:W3CDTF"})),this.root.push((new Date).toISOString())}}class go extends b{constructor(){super(...arguments),f(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class mo extends b{constructor(){super(...arguments),f(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class vo extends m{constructor(e,t){super("property"),this.root.push(new mo({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:t.name})),this.root.push(new bo(t.value))}}class bo extends m{constructor(e){super("vt:lpwstr"),this.root.push(e)}}class ko extends m{constructor(e){super("Properties"),f(this,"nextId"),f(this,"properties",[]),this.root.push(new go({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;for(const t of e)this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(e=>this.root.push(e)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new vo(this.nextId++,e))}}class yo extends b{constructor(){super(...arguments),f(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}}let wo=class extends un{constructor(e,t){super("w:ftr",t),f(this,"refId"),this.refId=e,t||this.root.push(new yo({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class xo{constructor(e,t,r){f(this,"footer"),f(this,"relationships"),this.media=e,this.footer=new wo(t,r),this.relationships=new Xa}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class _o extends b{constructor(){super(...arguments),f(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class Co extends m{constructor(){super("w:footnoteRef")}}class Eo extends Ei{constructor(){super({style:"FootnoteReference"}),this.root.push(new Co)}}const To="separator",Bo="continuationSeparator";class So extends m{constructor(e){super("w:footnote"),this.root.push(new _o({type:e.type,id:e.id}));for(let t=0;t<e.children.length;t++){const r=e.children[t];0===t&&r.addRunToFront(new Eo),this.root.push(r)}}}class Do extends m{constructor(){super("w:continuationSeparator")}}class Uo extends Ei{constructor(){super({}),this.root.push(new Do)}}class Fo extends m{constructor(){super("w:separator")}}class Io extends Ei{constructor(){super({}),this.root.push(new Fo)}}class Lo extends b{constructor(){super(...arguments),f(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class Oo extends m{constructor(){super("w:footnotes"),this.root.push(new Lo({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new So({id:-1,type:To,children:[new to({spacing:{after:0,line:240,lineRule:Pi},children:[new Io]})]});this.root.push(e);const t=new So({id:0,type:Bo,children:[new to({spacing:{after:0,line:240,lineRule:Pi},children:[new Uo]})]});this.root.push(t)}createFootNote(e,t){const r=new So({id:e,children:t});this.root.push(r)}}class Mo{constructor(){f(this,"footnotess"),f(this,"relationships"),this.footnotess=new Oo,this.relationships=new Xa}get View(){return this.footnotess}get Relationships(){return this.relationships}}class Po extends b{constructor(){super(...arguments),f(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}}let Ro=class extends un{constructor(e,t){super("w:hdr",t),f(this,"refId"),this.refId=e,t||this.root.push(new Po({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(e){this.root.push(e)}};class No{constructor(e,t,r){f(this,"header"),f(this,"relationships"),this.media=e,this.header=new Ro(t,r),this.relationships=new Xa}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class zo{constructor(){f(this,"map"),this.map=new Map}addImage(e,t){this.map.set(e,t)}get Array(){return Array.from(this.map.values())}}const Ho="bullet";class jo extends b{constructor(){super(...arguments),f(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class Qo extends m{constructor(e){super("w:numFmt"),this.root.push(new y({val:e}))}}class qo extends m{constructor(e){super("w:lvlText"),this.root.push(new y({val:e}))}}class Wo extends m{constructor(e){super("w:lvlJc"),this.root.push(new y({val:e}))}}class Ko extends m{constructor(e){super("w:suff"),this.root.push(new y({val:e}))}}class Vo extends m{constructor(){super("w:isLgl")}}class Go extends m{constructor({level:e,format:t,text:r,alignment:n=Dn,start:i=1,style:a,suffix:o,isLegalNumberingStyle:s}){if(super("w:lvl"),f(this,"paragraphProperties"),f(this,"runProperties"),this.root.push(new Tn("w:start",dn(i))),t&&this.root.push(new Qo(t)),o&&this.root.push(new Ko(o)),s&&this.root.push(new Vo),r&&this.root.push(new qo(r)),this.root.push(new Wo(n)),this.paragraphProperties=new eo(a&&a.paragraph),this.runProperties=new bi(a&&a.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new jo({ilvl:dn(e),tentative:1}))}}class Yo extends Go{}class Xo extends m{constructor(e){super("w:multiLevelType"),this.root.push(new y({val:e}))}}class $o extends b{constructor(){super(...arguments),f(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class Zo extends m{constructor(e,t){super("w:abstractNum"),f(this,"id"),this.root.push(new $o({abstractNumId:dn(e),restartNumberingAfterBreak:0})),this.root.push(new Xo("hybridMultilevel")),this.id=e;for(const e of t)this.root.push(new Yo(e))}}class Jo extends m{constructor(e){super("w:abstractNumId"),this.root.push(new y({val:e}))}}class es extends b{constructor(){super(...arguments),f(this,"xmlKeys",{numId:"w:numId"})}}class ts extends m{constructor(e){if(super("w:num"),f(this,"numId"),f(this,"reference"),f(this,"instance"),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new es({numId:dn(e.numId)})),this.root.push(new Jo(dn(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(const t of e.overrideLevels)this.root.push(new ns(t.num,t.start))}}class rs extends b{constructor(){super(...arguments),f(this,"xmlKeys",{ilvl:"w:ilvl"})}}class ns extends m{constructor(e,t){super("w:lvlOverride"),this.root.push(new rs({ilvl:e})),void 0!==t&&this.root.push(new as(t))}}class is extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val"})}}class as extends m{constructor(e){super("w:startOverride"),this.root.push(new is({val:e}))}}class os extends m{constructor(e){super("w:numbering"),f(this,"abstractNumberingMap",new Map),f(this,"concreteNumberingMap",new Map),f(this,"referenceConfigMap",new Map),f(this,"abstractNumUniqueNumericId",Si()),f(this,"concreteNumUniqueNumericId",Si(1)),this.root.push(new Wa({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const t=new Zo(this.abstractNumUniqueNumericId(),[{level:0,format:Ho,text:"●",alignment:Un,style:{paragraph:{indent:{left:Bi(.5),hanging:Bi(.25)}}}},{level:1,format:Ho,text:"○",alignment:Un,style:{paragraph:{indent:{left:Bi(1),hanging:Bi(.25)}}}},{level:2,format:Ho,text:"■",alignment:Un,style:{paragraph:{indent:{left:2160,hanging:Bi(.25)}}}},{level:3,format:Ho,text:"●",alignment:Un,style:{paragraph:{indent:{left:2880,hanging:Bi(.25)}}}},{level:4,format:Ho,text:"○",alignment:Un,style:{paragraph:{indent:{left:3600,hanging:Bi(.25)}}}},{level:5,format:Ho,text:"■",alignment:Un,style:{paragraph:{indent:{left:4320,hanging:Bi(.25)}}}},{level:6,format:Ho,text:"●",alignment:Un,style:{paragraph:{indent:{left:5040,hanging:Bi(.25)}}}},{level:7,format:Ho,text:"●",alignment:Un,style:{paragraph:{indent:{left:5760,hanging:Bi(.25)}}}},{level:8,format:Ho,text:"●",alignment:Un,style:{paragraph:{indent:{left:6480,hanging:Bi(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new ts({numId:1,abstractNumId:t.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",t);for(const t of e.config)this.abstractNumberingMap.set(t.reference,new Zo(this.abstractNumUniqueNumericId(),t.levels)),this.referenceConfigMap.set(t.reference,t.levels)}prepForXml(e){for(const e of this.abstractNumberingMap.values())this.root.push(e);for(const e of this.concreteNumberingMap.values())this.root.push(e);return super.prepForXml(e)}createConcreteNumberingInstance(e,t){const r=this.abstractNumberingMap.get(e);if(!r)return;const n=`${e}-${t}`;if(this.concreteNumberingMap.has(n))return;const i=this.referenceConfigMap.get(e),a=i&&i[0].start,o={numId:this.concreteNumUniqueNumericId(),abstractNumId:r.id,reference:e,instance:t,overrideLevels:[a&&Number.isInteger(a)?{num:0,start:a}:{num:0,start:1}]};this.concreteNumberingMap.set(n,new ts(o))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class ss extends b{constructor(){super(...arguments),f(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class cs extends m{constructor(e){super("w:compatSetting"),this.root.push(new ss({version:e,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class ls extends m{constructor(e){super("w:compat"),e.version&&this.root.push(new cs(e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new xn("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new xn("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new xn("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new xn("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new xn("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new xn("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new xn("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new xn("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new xn("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new xn("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new xn("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new xn("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new xn("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new xn("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new xn("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new xn("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new xn("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new xn("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new xn("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new xn("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new xn("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new xn("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new xn("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new xn("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new xn("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new xn("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new xn("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new xn("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new xn("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new xn("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new xn("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new xn("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new xn("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new xn("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new xn("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new xn("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new xn("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new xn("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new xn("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new xn("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new xn("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new xn("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new xn("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new xn("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new xn("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new xn("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new xn("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new xn("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new xn("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new xn("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new xn("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new xn("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new xn("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new xn("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new xn("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new xn("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new xn("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new xn("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new xn("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new xn("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new xn("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new xn("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new xn("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new xn("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new xn("w:cachedColBalance",e.cachedColumnBalance))}}class us extends b{constructor(){super(...arguments),f(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class ds extends m{constructor(e){var t,r,n,i;super("w:settings"),this.root.push(new us({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new xn("w:displayBackgroundShape",!0)),void 0!==e.trackRevisions&&this.root.push(new xn("w:trackRevisions",e.trackRevisions)),void 0!==e.evenAndOddHeaders&&this.root.push(new xn("w:evenAndOddHeaders",e.evenAndOddHeaders)),void 0!==e.updateFields&&this.root.push(new xn("w:updateFields",e.updateFields)),void 0!==e.defaultTabStop&&this.root.push(new Tn("w:defaultTabStop",e.defaultTabStop)),this.root.push(new ls(p(d({},null!=(t=e.compatibility)?t:{}),{version:null!=(i=null!=(n=null==(r=e.compatibility)?void 0:r.version)?n:e.compatibilityModeVersion)?i:15})))}}class ps extends b{constructor(){super(...arguments),f(this,"xmlKeys",{val:"w:val"})}}class fs extends m{constructor(e){super("w:name"),this.root.push(new ps({val:e}))}}class hs extends m{constructor(e){super("w:uiPriority"),this.root.push(new ps({val:dn(e)}))}}class As extends b{constructor(){super(...arguments),f(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class gs extends m{constructor(e,t){super("w:style"),this.root.push(new As(e)),t.name&&this.root.push(new fs(t.name)),t.basedOn&&this.root.push(new Cn("w:basedOn",t.basedOn)),t.next&&this.root.push(new Cn("w:next",t.next)),t.link&&this.root.push(new Cn("w:link",t.link)),void 0!==t.uiPriority&&this.root.push(new hs(t.uiPriority)),void 0!==t.semiHidden&&this.root.push(new xn("w:semiHidden",t.semiHidden)),void 0!==t.unhideWhenUsed&&this.root.push(new xn("w:unhideWhenUsed",t.unhideWhenUsed)),void 0!==t.quickFormat&&this.root.push(new xn("w:qFormat",t.quickFormat))}}class ms extends gs{constructor(e){super({type:"paragraph",styleId:e.id},e),f(this,"paragraphProperties"),f(this,"runProperties"),this.paragraphProperties=new eo(e.paragraph),this.runProperties=new bi(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class vs extends gs{constructor(e){super({type:"character",styleId:e.id},d({uiPriority:99,unhideWhenUsed:!0},e)),f(this,"runProperties"),this.runProperties=new bi(e.run),this.root.push(this.runProperties)}}class bs extends ms{constructor(e){super(d({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}}class ks extends bs{constructor(e){super(d({id:"Title",name:"Title"},e))}}class ys extends bs{constructor(e){super(d({id:"Heading1",name:"Heading 1"},e))}}class ws extends bs{constructor(e){super(d({id:"Heading2",name:"Heading 2"},e))}}class xs extends bs{constructor(e){super(d({id:"Heading3",name:"Heading 3"},e))}}class _s extends bs{constructor(e){super(d({id:"Heading4",name:"Heading 4"},e))}}class Cs extends bs{constructor(e){super(d({id:"Heading5",name:"Heading 5"},e))}}class Es extends bs{constructor(e){super(d({id:"Heading6",name:"Heading 6"},e))}}class Ts extends bs{constructor(e){super(d({id:"Strong",name:"Strong"},e))}}class Bs extends ms{constructor(e){super(d({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}}class Ss extends ms{constructor(e){super(d({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:Pi}},run:{size:20}},e))}}class Ds extends vs{constructor(e){super(d({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class Us extends vs{constructor(e){super(d({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}}class Fs extends vs{constructor(e){super(d({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:mi}}},e))}}class Is extends m{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(const t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(const t of e.paragraphStyles)this.root.push(new ms(t));if(e.characterStyles)for(const t of e.characterStyles)this.root.push(new vs(t))}}class Ls extends m{constructor(e){super("w:pPrDefault"),this.root.push(new eo(e))}}class Os extends m{constructor(e){super("w:rPrDefault"),this.root.push(new bi(e))}}class Ms extends m{constructor(e){super("w:docDefaults"),f(this,"runPropertiesDefaults"),f(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new Os(e.run),this.paragraphPropertiesDefaults=new Ls(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class Ps{newInstance(e){const t=an.xml2js(e,{compact:!1});let r;for(const e of t.elements||[])"w:styles"===e.name&&(r=e);if(void 0===r)throw new Error("can not find styles element");const n=r.elements||[];return new Is({initialStyles:new ln(r.attributes),importedStyles:n.map(e=>on(e))})}}class Rs{newInstance(e={}){var t;return{initialStyles:new Wa({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new Ms(null!=(t=e.document)?t:{}),new ks(d({run:{size:56}},e.title)),new ys(d({run:{color:"2E74B5",size:32}},e.heading1)),new ws(d({run:{color:"2E74B5",size:26}},e.heading2)),new xs(d({run:{color:"1F4D78",size:24}},e.heading3)),new _s(d({run:{color:"2E74B5",italics:!0}},e.heading4)),new Cs(d({run:{color:"2E74B5"}},e.heading5)),new Es(d({run:{color:"1F4D78"}},e.heading6)),new Ts(d({run:{bold:!0}},e.strong)),new Bs(e.listParagraph||{}),new Fs(e.hyperlink||{}),new Ds(e.footnoteReference||{}),new Ss(e.footnoteText||{}),new Us(e.footnoteTextChar||{})]}}}const Ns=({id:e,fontKey:t,subsetted:r},n)=>new Sn({name:n,attributes:d({id:{key:"r:id",value:e}},t?{fontKey:{key:"w:fontKey",value:`{${t}}`}}:{}),children:[...r?[new xn("w:subsetted",r)]:[]]}),zs=({name:e,index:t,fontKey:r,characterSet:n})=>(({name:e,altName:t,panose1:r,charset:n,family:i,notTrueType:a,pitch:o,sig:s,embedRegular:c,embedBold:l,embedItalic:u,embedBoldItalic:d})=>new Sn({name:"w:font",attributes:{name:{key:"w:name",value:e}},children:[...t?[En("w:altName",t)]:[],...r?[En("w:panose1",r)]:[],...n?[En("w:charset",n)]:[],...i?[En("w:family",i)]:[],...a?[new xn("w:notTrueType",a)]:[],...o?[En("w:pitch",o)]:[],...s?[new Sn({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:s.usb0},usb1:{key:"w:usb1",value:s.usb1},usb2:{key:"w:usb2",value:s.usb2},usb3:{key:"w:usb3",value:s.usb3},csb0:{key:"w:csb0",value:s.csb0},csb1:{key:"w:csb1",value:s.csb1}}})]:[],...c?[Ns(c,"w:embedRegular")]:[],...l?[Ns(l,"w:embedBold")]:[],...u?[Ns(u,"w:embedItalic")]:[],...d?[Ns(d,"w:embedBoldItalic")]:[]]}))({name:e,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:n,family:"auto",pitch:"variable",embedRegular:{fontKey:r,id:"rId"+t}});class Hs{constructor(e){var t;f(this,"fontTable"),f(this,"relationships"),f(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(e=>p(d({},e),{fontKey:`${Ui(8)}-${Ui(4)}-${Ui(4)}-${Ui(4)}-${Ui(12)}`})),this.fontTable=(t=this.fontOptionsWithKey,new Sn({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:t.map((e,t)=>zs({name:e.name,index:t+1,fontKey:e.fontKey}))})),this.relationships=new Xa;for(let t=0;t<e.length;t++)this.relationships.createRelationship(t+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/${e[t].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}class js{constructor(e){var t,r,n,i,a,o,s,c;if(f(this,"currentRelationshipId",1),f(this,"documentWrapper"),f(this,"headers",[]),f(this,"footers",[]),f(this,"coreProperties"),f(this,"numbering"),f(this,"media"),f(this,"fileRelationships"),f(this,"footnotesWrapper"),f(this,"settings"),f(this,"contentTypes"),f(this,"customProperties"),f(this,"appProperties"),f(this,"styles"),f(this,"comments"),f(this,"fontWrapper"),this.coreProperties=new ho(p(d({},e),{creator:null!=(t=e.creator)?t:"Un-named",revision:null!=(r=e.revision)?r:1,lastModifiedBy:null!=(n=e.lastModifiedBy)?n:"Un-named"})),this.numbering=new os(e.numbering?e.numbering:{config:[]}),this.comments=new Oi(null!=(i=e.comments)?i:{children:[]}),this.fileRelationships=new Xa,this.customProperties=new ko(null!=(a=e.customProperties)?a:[]),this.appProperties=new oo,this.footnotesWrapper=new Mo,this.contentTypes=new fo,this.documentWrapper=new $a({background:e.background}),this.settings=new ds({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:null==(o=e.features)?void 0:o.trackRevisions,updateFields:null==(s=e.features)?void 0:s.updateFields,defaultTabStop:e.defaultTabStop}),this.media=new zo,e.externalStyles){const t=new Ps;this.styles=t.newInstance(e.externalStyles)}else if(e.styles){const t=(new Rs).newInstance(e.styles.default);this.styles=new Is(d(d({},t),e.styles))}else{const e=new Rs;this.styles=new Is(e.newInstance())}this.addDefaultRelationships();for(const t of e.sections)this.addSection(t);if(e.footnotes)for(const t in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(t),e.footnotes[t].children);this.fontWrapper=new Hs(null!=(c=e.fonts)?c:[])}addSection({headers:e={},footers:t={},children:r,properties:n}){this.documentWrapper.View.Body.addSection(p(d({},n),{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}}));for(const e of r)this.documentWrapper.View.add(e)}createHeader(e){const t=new No(this.media,this.currentRelationshipId++);for(const r of e.options.children)t.add(r);return this.addHeaderToDocument(t),t}createFooter(e){const t=new xo(this.media,this.currentRelationshipId++);for(const r of e.options.children)t.add(r);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=da){this.headers.push({header:e,type:t}),this.documentWrapper.Relationships.createRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=da){this.footers.push({footer:e,type:t}),this.documentWrapper.Relationships.createRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.createRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}function Qs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var qs={exports:{}};!function(e,t){e.exports=function e(t,r,n){function i(o,s){if(!r[o]){if(!t[o]){if(!s&&Qs)return Qs(o);if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[o]={exports:{}};t[o][0].call(l.exports,(function(e){return i(t[o][1][e]||e)}),l,l.exports,e,t,r,n)}return r[o].exports}for(var a=Qs,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,r){var n=e("./utils"),i=e("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,i,o,s,c,l,u=[],d=0,p=e.length,f=p,h="string"!==n.getTypeOf(e);d<e.length;)f=p-d,i=h?(t=e[d++],r=d<p?e[d++]:0,d<p?e[d++]:0):(t=e.charCodeAt(d++),r=d<p?e.charCodeAt(d++):0,d<p?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|r>>4,c=1<f?(15&r)<<2|i>>6:64,l=2<f?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join("")},r.decode=function(e){var t,r,n,o,s,c,l=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var p,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&f--,e.charAt(e.length-2)===a.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=i.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,r=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,n=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),p[u++]=t,64!==s&&(p[u++]=r),64!==c&&(p[u++]=n);return p}},{"./support":30,"./utils":32}],2:[function(e,t,r){var n=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var a=i,o=0+r;e^=-1;for(var s=0;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,r,n){var a=i,o=0+r;e^=-1;for(var s=0;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){var n;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=n?"uint8array":"array";function c(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new c("Deflate",e)},r.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,o,u){var d,p,f=e.file,h=e.compression,A=u!==s.utf8encode,g=a.transformTo("string",u(f.name)),m=a.transformTo("string",s.utf8encode(f.name)),v=f.comment,b=a.transformTo("string",u(v)),k=a.transformTo("string",s.utf8encode(v)),y=m.length!==f.name.length,w=k.length!==v.length,x="",_="",C="",E=f.dir,T=f.date,B={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(B.crc32=e.crc32,B.compressedSize=e.compressedSize,B.uncompressedSize=e.uncompressedSize);var S=0;t&&(S|=8),A||!y&&!w||(S|=2048);var D,U,F,I=0,L=0;E&&(I|=16),"UNIX"===o?(L=798,I|=(D=f.unixPermissions,U=E,F=D,D||(F=U?16893:33204),(65535&F)<<16)):(L=20,I|=function(e){return 63&(e||0)}(f.dosPermissions)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,p=T.getUTCFullYear()-1980,p<<=4,p|=T.getUTCMonth()+1,p<<=5,p|=T.getUTCDate(),y&&(_=n(1,1)+n(c(g),4)+m,x+="up"+n(_.length,2)+_),w&&(C=n(1,1)+n(c(b),4)+k,x+="uc"+n(C.length,2)+C);var O="";return O+="\n\0",O+=n(S,2),O+=h.magic,O+=n(d,2),O+=n(p,2),O+=n(B.crc32,4),O+=n(B.compressedSize,4),O+=n(B.uncompressedSize,4),O+=n(g.length,2),O+=n(x.length,2),{fileRecord:l.LOCAL_FILE_HEADER+O+g+x,dirRecord:l.CENTRAL_FILE_HEADER+n(L,2)+O+n(b.length,2)+"\0\0\0\0"+n(I,4)+n(i,4)+g+x+b}}var a=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),c=e("../crc32"),l=e("../signature");function u(e,t,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t,r=this.streamFiles&&!e.file.dir,a=i(e,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(a.dirRecord),r)this.push({data:(t=e,l.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:a.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r,i,o,s,c,u,d=this.bytesWritten-e,p=(r=this.dirRecords.length,i=d,o=e,s=this.zipComment,c=this.encodeFileName,u=a.transformTo("string",c(s)),l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(r,2)+n(r,2)+n(i,4)+n(o,4)+n(u.length,2)+u);this.push({data:p,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var a=new i(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,r){o++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},c=r.dir,l=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:c,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(a)})),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){var n=e("./utils"),i=e("./external"),a=e("./utf8"),o=e("./zipEntries"),s=e("./stream/Crc32Probe"),c=e("./nodejsUtils");function l(e){return new i.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new o(t);return r.load(e),r})).then((function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var a=0;a<n.length;a++)r.push(l(n[a]));return i.Promise.all(r)})).then((function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=n.resolve(s.fileNameStr);r.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){var n=e("../utils"),i=e("../stream/GenericWorker");function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){var n=e("readable-stream").Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),r&&r(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){t.exports={isNode:void 0!==n,newBufferFrom:function(e,t){if(n.from&&n.from!==Uint8Array.from)return n.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new n(e,t)},allocBuffer:function(e){if(n.alloc)return n.alloc(e);var t=new n(e);return t.fill(0),t},isBuffer:function(e){return n.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){function n(e,t,r){var n,i=a.getTypeOf(t),s=a.extend(r||{},c);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=A(e)),s.createFolders&&(n=h(e))&&g.call(this,n,!0);var d,m="string"===i&&!1===s.binary&&!1===s.base64;r&&void 0!==r.binary||(s.binary=!m),(t instanceof l&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",i="string"),d=t instanceof l||t instanceof o?t:p.isNode&&p.isStream(t)?new f(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,d,s);this.files[e]=v}var i=e("./utf8"),a=e("./utils"),o=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),c=e("./defaults"),l=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),p=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),h=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},A=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:c.createFolders,e=A(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function m(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(m(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(m(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=a.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");a.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=d.generateWorker(this,r,n)}catch(e){(t=new o("error")).error(e)}return new s(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){var n=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new c(n.transformTo("uint8array",e)):new a(n.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){var n=e("./GenericWorker"),i=e("../utils");function a(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){var n=e("./GenericWorker"),i=e("../crc32");function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){var i=e("../utils"),a=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),c=e("../support"),l=e("../external"),u=null;if(c.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,i.checkSupport(n),this._worker=e.pipe(new a(n)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return function(e,t){return new l.Promise((function(r,a){var o=[],c=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",(function(e,r){o.push(e),t&&t(r)})).on("error",(function(e){o=[],a(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var r,i=0,a=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(o),r=0;r<t.length;r++)a.set(t[r],i),i+=t[r].length;return a;case"nodebuffer":return n.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(c,o),u);r(e)}catch(e){a(e)}o=[]})).resume()}))}(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,r)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer=void 0!==n,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var i=new ArrayBuffer(0);try{r.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),r.blob=0===a.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){for(var n=e("./utils"),i=e("./support"),a=e("./nodejsUtils"),o=e("./stream/GenericWorker"),s=new Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function l(){o.call(this,"utf-8 decode"),this.leftOver=null}function u(){o.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,r,n,a,o,s=e.length,c=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),c+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(c):new Array(c),a=o=0;o<c;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,a,o=e.length,c=new Array(2*o);for(t=r=0;t<o;)if((i=e[t++])<128)c[r++]=i;else if(4<(a=s[i]))c[r++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;1<a?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(l,o),l.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:r.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=l,n.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){var n=e("./support"),i=e("./base64"),a=e("./nodejsUtils"),o=e("./external");function s(e){return e}function c(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=u;var p={};p.string={string:s,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},p.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},p.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},p.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return p[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&a.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,a,s,l){return o.Promise.resolve(t).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var u,d=r.getTypeOf(t);return d?("arraybuffer"===d?t=r.transformTo("uint8array",t):"string"===d&&(l?t=i.decode(t):a&&!0!==s&&(t=c(u=t,n.uint8array?new Uint8Array(u.length):new Array(u.length)))),t):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),a=e("./signature"),o=e("./zipEntry"),s=e("./support");function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){var n=e("./reader/readerFor"),i=e("./utils"),a=e("./compressedObject"),o=e("./crc32"),s=e("./utf8"),c=e("./compressions"),l=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),a=e("./stream/DataWorker"),o=e("./utf8"),s=e("./compressedObject"),c=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var a=!this._dataBinary;a&&!n&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&n&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new c("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof c?this._data:new a(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)n.prototype[l[d]]=u;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(u),s=e.document.createTextNode("");o.observe(s,{characterData:!0}),r=function(){s.data=a=++a%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,r=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;n=!0;for(var r=l.length;r;){for(t=l,l=[],e=-1;++e<r;)t[e]();r=l.length}n=!1}t.exports=function(e){1!==l.push(e)||n||r()}}).call(this,void 0!==w?w:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){var n=e("immediate");function i(){}var a={},o=["REJECTED"],s=["FULFILLED"],c=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function u(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){n((function(){var n;try{n=t(r)}catch(t){return a.reject(e,t)}n===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,n)}))}function p(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var r=!1;function n(t){r||(r=!0,a.reject(e,t))}function i(t){r||(r=!0,a.resolve(e,t))}var o=h((function(){t(i,n)}));"error"===o.status&&n(o.value)}function h(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===o)return this;var r=new this.constructor(i);return this.state!==c?d(r,this.state===s?e:t,this.outcome):this.queue.push(new u(r,e,t)),r},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var r=h(p,t);if("error"===r.status)return a.reject(e,r.value);var n=r.value;if(n)f(e,n);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return a.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o=new Array(r),s=0,c=-1,l=new this(i);++c<r;)u(e[c],c);return l;function u(e,i){t.resolve(e).then((function(e){o[i]=e,++s!==r||n||(n=!0,a.resolve(l,o))}),(function(e){n||(n=!0,a.reject(l,e))}))}},l.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,r=!1;if(!t)return this.resolve([]);for(var n,o=-1,s=new this(i);++o<t;)n=e[o],this.resolve(n).then((function(e){r||(r=!0,a.resolve(s,e))}),(function(e){r||(r=!0,a.reject(s,e))}));return s}},{immediate:36}],38:[function(e,t,r){var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){var n=e("./zlib/deflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/messages"),s=e("./zlib/zstream"),c=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var u;if(u="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,u)))throw new Error(o[r]);this._dict_set=!0}}function u(e,t){var r=new l(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}l.prototype.push=function(e,t){var r,o,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===c.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(r=n.deflate(s,o))&&0!==r)return this.onEnd(r),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==o||(this.onEnd(0),!(s.avail_out=0))},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=l,r.deflate=u,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,u(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){var n=e("./zlib/inflate"),i=e("./utils/common"),a=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),c=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);this.header=new l,n.inflateGetHeader(this.strm,this.header)}function p(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,c,l,d,p,f=this.strm,h=this.options.chunkSize,A=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?f.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(h),f.next_out=0,f.avail_out=h),(r=n.inflate(f,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&A&&(p="string"==typeof A?a.string2buf(A):"[object ArrayBuffer]"===u.call(A)?new Uint8Array(A):A,r=n.inflateSetDictionary(this.strm,p)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&r!==o.Z_STREAM_END&&(0!==f.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=a.utf8border(f.output,f.next_out),l=f.next_out-c,d=a.buf2string(f.output,c),f.next_out=l,f.avail_out=h-l,l&&i.arraySet(f.output,f.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=d,r.inflate=p,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},r.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),t=i=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],42:[function(e,t,r){var n=e("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function c(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),c+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(c),a=o=0;o<c;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},r.buf2binstring=function(e){return c(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,i,a,s=t||e.length,l=new Array(2*s);for(r=n=0;r<s;)if((i=e[r++])<128)l[n++]=i;else if(4<(a=o[i]))l[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;1<a&&r<s;)i=i<<6|63&e[r++],a--;1<a?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return c(l,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){t.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;a=a+(i=i+t[n++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,r){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var a=n,o=i+r;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,r){var n,i=e("../utils/common"),a=e("./trees"),o=e("./adler32"),s=e("./crc32"),c=e("./messages"),l=-2,u=258,d=262,p=113;function f(e,t){return e.msg=c[t],t}function h(e){return(e<<1)-(4<e?9:0)}function A(e){for(var t=e.length;0<=--t;)e[t]=0}function g(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function m(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,g(e.strm)}function v(e,t){e.pending_buf[e.pending++]=t}function b(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function k(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,l=e.window,p=e.w_mask,f=e.prev,h=e.strstart+u,A=l[a+o-1],g=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+o]===g&&l[r+o-1]===A&&l[r]===l[a]&&l[++r]===l[a+1]){a+=2,r++;do{}while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<h);if(n=u-(h-a),a=h-u,o<n){if(e.match_start=t,s<=(o=n))break;A=l[a+o-1],g=l[a+o]}}}while((t=f[t&p])>c&&0!=--i);return o<=e.lookahead?o:e.lookahead}function y(e){var t,r,n,a,c,l,u,p,f,h,A=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=A+(A-d)){for(i.arraySet(e.window,e.window,A,A,0),e.match_start-=A,e.strstart-=A,e.block_start-=A,t=r=e.hash_size;n=e.head[--t],e.head[t]=A<=n?n-A:0,--r;);for(t=r=A;n=e.prev[--t],e.prev[t]=A<=n?n-A:0,--r;);a+=A}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,p=e.strstart+e.lookahead,h=void 0,(f=a)<(h=l.avail_in)&&(h=f),r=0===h?0:(l.avail_in-=h,i.arraySet(u,l.input,l.next_in,h,p),1===l.state.wrap?l.adler=o(l.adler,u,h,p):2===l.state.wrap&&(l.adler=s(l.adler,u,h,p)),l.next_in+=h,l.total_in+=h,h),e.lookahead+=r,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+3-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<d&&0!==e.strm.avail_in)}function w(e,t){for(var r,n;;){if(e.lookahead<d){if(y(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-d&&(e.match_length=k(e,r)),e.match_length>=3)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}function x(e,t){for(var r,n,i;;){if(e.lookahead<d){if(y(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-d&&(e.match_length=k(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(m(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=a._tr_tally(e,0,e.window[e.strstart-1]))&&m(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}function _(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function C(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),A(this.dyn_ltree),A(this.dyn_dtree),A(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),A(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),A(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function E(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:p,e.adler=2===t.wrap?0:1,t.last_flush=0,a._tr_init(t),0):f(e,l)}function T(e){var t,r=E(e);return 0===r&&((t=e.state).window_size=2*t.w_size,A(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function B(e,t,r,n,a,o){if(!e)return l;var s=1;if(-1===t&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),a<1||9<a||8!==r||n<8||15<n||t<0||9<t||o<0||4<o)return f(e,l);8===n&&(n=9);var c=new C;return(e.state=c).strm=e,c.wrap=s,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=r,T(e)}n=[new _(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,m(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(m(e,!1),e.strm.avail_out),1)})),new _(4,4,8,4,w),new _(4,5,16,8,w),new _(4,6,32,32,w),new _(4,4,16,16,x),new _(8,16,32,32,x),new _(8,16,128,128,x),new _(8,32,128,256,x),new _(32,128,258,1024,x),new _(32,258,258,4096,x)],r.deflateInit=function(e,t){return B(e,t,8,15,8,0)},r.deflateInit2=B,r.deflateReset=T,r.deflateResetKeep=E,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?l:(e.state.gzhead=t,0):l},r.deflate=function(e,t){var r,i,o,c;if(!e||!e.state||5<t||t<0)return e?f(e,l):l;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return f(e,0===e.avail_out?-5:l);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,v(i,31),v(i,139),v(i,8),i.gzhead?(v(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),v(i,255&i.gzhead.time),v(i,i.gzhead.time>>8&255),v(i,i.gzhead.time>>16&255),v(i,i.gzhead.time>>24&255),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(v(i,255&i.gzhead.extra.length),v(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(v(i,0),v(i,0),v(i,0),v(i,0),v(i,0),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,3),i.status=p);else{var d=8+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=p,b(i,d),0!==i.strstart&&(b(i,e.adler>>>16),b(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),g(e),o=i.pending,i.pending!==i.pending_buf_size));)v(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),g(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,v(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),g(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,v(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&g(e),i.pending+2<=i.pending_buf_size&&(v(i,255&e.adler),v(i,e.adler>>8&255),e.adler=0,i.status=p)):i.status=p),0!==i.pending){if(g(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&h(t)<=h(r)&&4!==t)return f(e,-5);if(666===i.status&&0!==e.avail_in)return f(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var k=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=u){if(y(e),e.lookahead<=u&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+u;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=u-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==k&&4!==k||(i.status=666),1===k||3===k)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===k&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(A(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),g(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(v(i,255&e.adler),v(i,e.adler>>8&255),v(i,e.adler>>16&255),v(i,e.adler>>24&255),v(i,255&e.total_in),v(i,e.total_in>>8&255),v(i,e.total_in>>16&255),v(i,e.total_in>>24&255)):(b(i,e.adler>>>16),b(i,65535&e.adler)),g(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&t!==p&&666!==t?f(e,l):(e.state=null,t===p?f(e,-3):0):l},r.deflateSetDictionary=function(e,t){var r,n,a,s,c,u,d,p,f=t.length;if(!e||!e.state)return l;if(2===(s=(r=e.state).wrap)||1===s&&42!==r.status||r.lookahead)return l;for(1===s&&(e.adler=o(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===s&&(A(r.head),r.strstart=0,r.block_start=0,r.insert=0),p=new i.Buf8(r.w_size),i.arraySet(p,t,f-r.w_size,r.w_size,0),t=p,f=r.w_size),c=e.avail_in,u=e.next_in,d=e.input,e.avail_in=f,e.next_in=0,e.input=t,y(r);r.lookahead>=3;){for(n=r.strstart,a=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--a;);r.strstart=n,r.lookahead=2,y(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=u,e.input=d,e.avail_in=c,r.wrap=s,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){t.exports=function(e,t){var r,n,i,a,o,s,c,l,u,d,p,f,h,A,g,m,v,b,k,y,w,x,_,C,E;r=e.state,n=e.next_in,C=e.input,i=n+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=r.dmax,l=r.wsize,u=r.whave,d=r.wnext,p=r.window,f=r.hold,h=r.bits,A=r.lencode,g=r.distcode,m=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;e:do{h<15&&(f+=C[n++]<<h,h+=8,f+=C[n++]<<h,h+=8),b=A[f&m];t:for(;;){if(f>>>=k=b>>>24,h-=k,0==(k=b>>>16&255))E[a++]=65535&b;else{if(!(16&k)){if(0==(64&k)){b=A[(65535&b)+(f&(1<<k)-1)];continue t}if(32&k){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}y=65535&b,(k&=15)&&(h<k&&(f+=C[n++]<<h,h+=8),y+=f&(1<<k)-1,f>>>=k,h-=k),h<15&&(f+=C[n++]<<h,h+=8,f+=C[n++]<<h,h+=8),b=g[f&v];r:for(;;){if(f>>>=k=b>>>24,h-=k,!(16&(k=b>>>16&255))){if(0==(64&k)){b=g[(65535&b)+(f&(1<<k)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(w=65535&b,h<(k&=15)&&(f+=C[n++]<<h,(h+=8)<k&&(f+=C[n++]<<h,h+=8)),c<(w+=f&(1<<k)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=k,h-=k,(k=a-o)<w){if(u<(k=w-k)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(_=p,(x=0)===d){if(x+=l-k,k<y){for(y-=k;E[a++]=p[x++],--k;);x=a-w,_=E}}else if(d<k){if(x+=l+d-k,(k-=d)<y){for(y-=k;E[a++]=p[x++],--k;);if(x=0,d<y){for(y-=k=d;E[a++]=p[x++],--k;);x=a-w,_=E}}}else if(x+=d-k,k<y){for(y-=k;E[a++]=p[x++],--k;);x=a-w,_=E}for(;2<y;)E[a++]=_[x++],E[a++]=_[x++],E[a++]=_[x++],y-=3;y&&(E[a++]=_[x++],1<y&&(E[a++]=_[x++]))}else{for(x=a-w;E[a++]=E[x++],E[a++]=E[x++],E[a++]=E[x++],2<(y-=3););y&&(E[a++]=E[x++],1<y&&(E[a++]=E[x++]))}break}}break}}while(n<i&&a<s);n-=y=h>>3,f&=(1<<(h-=y<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=f,r.bits=h}},{}],49:[function(e,t,r){var n=e("../utils/common"),i=e("./adler32"),a=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),c=-2;function l(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):c}function p(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):c}function f(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?c:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,p(e))):c}function h(e,t){var r,n;return e?(n=new u,(e.state=n).window=null,0!==(r=f(e,t))&&(e.state=null),r):c}var A,g,m=!0;function v(e){if(m){var t;for(A=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,A,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=A,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),(i-=a)?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}r.inflateReset=p,r.inflateReset2=f,r.inflateResetKeep=d,r.inflateInit=function(e){return h(e,15)},r.inflateInit2=h,r.inflate=function(e,t){var r,u,d,p,f,h,A,g,m,k,y,w,x,_,C,E,T,B,S,D,U,F,I,L,O=0,M=new n.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return c;12===(r=e.state).mode&&(r.mode=13),f=e.next_out,d=e.output,A=e.avail_out,p=e.next_in,u=e.input,h=e.avail_in,g=r.hold,m=r.bits,k=h,y=A,F=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;m<16;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(2&r.wrap&&35615===g){M[r.check=0]=255&g,M[1]=g>>>8&255,r.check=a(r.check,M,2,0),m=g=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,U=8+(15&(g>>>=4)),0===r.wbits)r.wbits=U;else if(U>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<U,e.adler=r.check=1,r.mode=512&g?10:12,m=g=0;break;case 2:for(;m<16;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(r.flags=g,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=g>>8&1),512&r.flags&&(M[0]=255&g,M[1]=g>>>8&255,r.check=a(r.check,M,2,0)),m=g=0,r.mode=3;case 3:for(;m<32;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}r.head&&(r.head.time=g),512&r.flags&&(M[0]=255&g,M[1]=g>>>8&255,M[2]=g>>>16&255,M[3]=g>>>24&255,r.check=a(r.check,M,4,0)),m=g=0,r.mode=4;case 4:for(;m<16;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}r.head&&(r.head.xflags=255&g,r.head.os=g>>8),512&r.flags&&(M[0]=255&g,M[1]=g>>>8&255,r.check=a(r.check,M,2,0)),m=g=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}r.length=g,r.head&&(r.head.extra_len=g),512&r.flags&&(M[0]=255&g,M[1]=g>>>8&255,r.check=a(r.check,M,2,0)),m=g=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(h<(w=r.length)&&(w=h),w&&(r.head&&(U=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,u,p,w,U)),512&r.flags&&(r.check=a(r.check,u,w,p)),h-=w,p+=w,r.length-=w),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===h)break e;for(w=0;U=u[p+w++],r.head&&U&&r.length<65536&&(r.head.name+=String.fromCharCode(U)),U&&w<h;);if(512&r.flags&&(r.check=a(r.check,u,w,p)),h-=w,p+=w,U)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===h)break e;for(w=0;U=u[p+w++],r.head&&U&&r.length<65536&&(r.head.comment+=String.fromCharCode(U)),U&&w<h;);if(512&r.flags&&(r.check=a(r.check,u,w,p)),h-=w,p+=w,U)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;m<16;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(g!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}m=g=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}e.adler=r.check=l(g),m=g=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=f,e.avail_out=A,e.next_in=p,e.avail_in=h,r.hold=g,r.bits=m,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){g>>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}switch(r.last=1&g,m-=1,3&(g>>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6!==t)break;g>>>=2,m-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if((65535&g)!=(g>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,m=g=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(w=r.length){if(h<w&&(w=h),A<w&&(w=A),0===w)break e;n.arraySet(d,u,p,w,f),h-=w,p+=w,A-=w,f+=w,r.length-=w;break}r.mode=12;break;case 17:for(;m<14;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(r.nlen=257+(31&g),g>>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;m<3;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}r.lens[P[r.have++]]=7&g,g>>>=3,m-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,I={bits:r.lenbits},F=s(0,r.lens,0,19,r.lencode,0,r.work,I),r.lenbits=I.bits,F){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;E=(O=r.lencode[g&(1<<r.lenbits)-1])>>>16&255,T=65535&O,!((C=O>>>24)<=m);){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(T<16)g>>>=C,m-=C,r.lens[r.have++]=T;else{if(16===T){for(L=C+2;m<L;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(g>>>=C,m-=C,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}U=r.lens[r.have-1],w=3+(3&g),g>>>=2,m-=2}else if(17===T){for(L=C+3;m<L;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}m-=C,U=0,w=3+(7&(g>>>=C)),g>>>=3,m-=3}else{for(L=C+7;m<L;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}m-=C,U=0,w=11+(127&(g>>>=C)),g>>>=7,m-=7}if(r.have+w>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;w--;)r.lens[r.have++]=U}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,I={bits:r.lenbits},F=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,I),r.lenbits=I.bits,F){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,I={bits:r.distbits},F=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,I),r.distbits=I.bits,F){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=h&&258<=A){e.next_out=f,e.avail_out=A,e.next_in=p,e.avail_in=h,r.hold=g,r.bits=m,o(e,y),f=e.next_out,d=e.output,A=e.avail_out,p=e.next_in,u=e.input,h=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;E=(O=r.lencode[g&(1<<r.lenbits)-1])>>>16&255,T=65535&O,!((C=O>>>24)<=m);){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(E&&0==(240&E)){for(B=C,S=E,D=T;E=(O=r.lencode[D+((g&(1<<B+S)-1)>>B)])>>>16&255,T=65535&O,!(B+(C=O>>>24)<=m);){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}g>>>=B,m-=B,r.back+=B}if(g>>>=C,m-=C,r.back+=C,r.length=T,0===E){r.mode=26;break}if(32&E){r.back=-1,r.mode=12;break}if(64&E){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&E,r.mode=22;case 22:if(r.extra){for(L=r.extra;m<L;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}r.length+=g&(1<<r.extra)-1,g>>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;E=(O=r.distcode[g&(1<<r.distbits)-1])>>>16&255,T=65535&O,!((C=O>>>24)<=m);){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(0==(240&E)){for(B=C,S=E,D=T;E=(O=r.distcode[D+((g&(1<<B+S)-1)>>B)])>>>16&255,T=65535&O,!(B+(C=O>>>24)<=m);){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}g>>>=B,m-=B,r.back+=B}if(g>>>=C,m-=C,r.back+=C,64&E){e.msg="invalid distance code",r.mode=30;break}r.offset=T,r.extra=15&E,r.mode=24;case 24:if(r.extra){for(L=r.extra;m<L;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}r.offset+=g&(1<<r.extra)-1,g>>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===A)break e;if(w=y-A,r.offset>w){if((w=r.offset-w)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}x=w>r.wnext?(w-=r.wnext,r.wsize-w):r.wnext-w,w>r.length&&(w=r.length),_=r.window}else _=d,x=f-r.offset,w=r.length;for(A<w&&(w=A),A-=w,r.length-=w;d[f++]=_[x++],--w;);0===r.length&&(r.mode=21);break;case 26:if(0===A)break e;d[f++]=r.length,A--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===h)break e;h--,g|=u[p++]<<m,m+=8}if(y-=A,e.total_out+=y,r.total+=y,y&&(e.adler=r.check=r.flags?a(r.check,d,y,f-y):i(r.check,d,y,f-y)),y=A,(r.flags?g:l(g))!==r.check){e.msg="incorrect data check",r.mode=30;break}m=g=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;m<32;){if(0===h)break e;h--,g+=u[p++]<<m,m+=8}if(g!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}m=g=0}r.mode=29;case 29:F=1;break e;case 30:F=-3;break e;case 31:return-4;case 32:default:return c}return e.next_out=f,e.avail_out=A,e.next_in=p,e.avail_in=h,r.hold=g,r.bits=m,(r.wsize||y!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&b(e,e.output,e.next_out,y-e.avail_out)?(r.mode=31,-4):(k-=e.avail_in,y-=e.avail_out,e.total_in+=k,e.total_out+=y,r.total+=y,r.wrap&&y&&(e.adler=r.check=r.flags?a(r.check,d,y,e.next_out-y):i(r.check,d,y,e.next_out-y)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==k&&0===y||4===t)&&0===F&&(F=-5),F)},r.inflateEnd=function(e){if(!e||!e.state)return c;var t=e.state;return t.window&&(t.window=null),e.state=null,0},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?c:((r.head=t).done=!1,0):c},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?c:11===r.mode&&i(1,t,n,0)!==r.check?-3:b(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):c},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){var n=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,c,l,u,d,p){var f,h,A,g,m,v,b,k,y,w=p.bits,x=0,_=0,C=0,E=0,T=0,B=0,S=0,D=0,U=0,F=0,I=null,L=0,O=new n.Buf16(16),M=new n.Buf16(16),P=null,R=0;for(x=0;x<=15;x++)O[x]=0;for(_=0;_<c;_++)O[t[r+_]]++;for(T=w,E=15;1<=E&&0===O[E];E--);if(E<T&&(T=E),0===E)return l[u++]=20971520,l[u++]=20971520,p.bits=1,0;for(C=1;C<E&&0===O[C];C++);for(T<C&&(T=C),x=D=1;x<=15;x++)if(D<<=1,(D-=O[x])<0)return-1;if(0<D&&(0===e||1!==E))return-1;for(M[1]=0,x=1;x<15;x++)M[x+1]=M[x]+O[x];for(_=0;_<c;_++)0!==t[r+_]&&(d[M[t[r+_]]++]=_);if(v=0===e?(I=P=d,19):1===e?(I=i,L-=257,P=a,R-=257,256):(I=o,P=s,-1),x=C,m=u,S=_=F=0,A=-1,g=(U=1<<(B=T))-1,1===e&&852<U||2===e&&592<U)return 1;for(;;){for(b=x-S,y=d[_]<v?(k=0,d[_]):d[_]>v?(k=P[R+d[_]],I[L+d[_]]):(k=96,0),f=1<<x-S,C=h=1<<B;l[m+(F>>S)+(h-=f)]=b<<24|k<<16|y|0,0!==h;);for(f=1<<x-1;F&f;)f>>=1;if(0!==f?(F&=f-1,F+=f):F=0,_++,0==--O[x]){if(x===E)break;x=t[r+d[_]]}if(T<x&&(F&g)!==A){for(0===S&&(S=T),m+=C,D=1<<(B=x-S);B+S<E&&!((D-=O[B+S])<=0);)B++,D<<=1;if(U+=1<<B,1===e&&852<U||2===e&&592<U)return 1;l[A=F&g]=T<<24|B<<16|m-u|0}}return 0!==F&&(l[m+F]=x-S<<24|64<<16|0),p.bits=T,0}},{"../utils/common":41}],51:[function(e,t,r){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){var n=e("../utils/common");function i(e){for(var t=e.length;0<=--t;)e[t]=0}var a=256,o=286,s=30,c=15,l=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],u=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],p=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],f=new Array(576);i(f);var h=new Array(60);i(h);var A=new Array(512);i(A);var g=new Array(256);i(g);var m=new Array(29);i(m);var v,b,k,y=new Array(s);function w(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function x(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function _(e){return e<256?A[e]:A[256+(e>>>7)]}function C(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function E(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,C(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function T(e,t,r){E(e,r[2*t],r[2*t+1])}function B(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function S(e,t,r){var n,i,a=new Array(16),o=0;for(n=1;n<=c;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=B(a[s]++,s))}}function D(e){var t;for(t=0;t<o;t++)e.dyn_ltree[2*t]=0;for(t=0;t<s;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function U(e){8<e.bi_valid?C(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function F(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function I(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&F(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!F(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function L(e,t,r){var n,i,o,s,c=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],i=e.pending_buf[e.l_buf+c],c++,0===n?T(e,i,t):(T(e,(o=g[i])+a+1,t),0!==(s=l[o])&&E(e,i-=m[o],s),T(e,o=_(--n),r),0!==(s=u[o])&&E(e,n-=y[o],s)),c<e.last_lit;);T(e,256,t)}function O(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)I(e,a,r);for(i=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],I(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,I(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,l=t.dyn_tree,u=t.max_code,d=t.stat_desc.static_tree,p=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,A=t.stat_desc.max_length,g=0;for(a=0;a<=c;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)A<(a=l[2*l[2*(n=e.heap[r])+1]+1]+1)&&(a=A,g++),l[2*n+1]=a,u<n||(e.bl_count[a]++,o=0,h<=n&&(o=f[n-h]),s=l[2*n],e.opt_len+=s*(a+o),p&&(e.static_len+=s*(d[2*n+1]+o)));if(0!==g){do{for(a=A-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[A]--,g-=2}while(0<g);for(a=A;0!==a;a--)for(n=e.bl_count[a];0!==n;)u<(i=e.heap[--r])||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),n--)}}(e,t),S(a,u,e.bl_count)}function M(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4))}function P(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<c&&i===o)){if(s<l)for(;T(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==a&&(T(e,i,e.bl_tree),s--),T(e,16,e.bl_tree),E(e,s-3,2)):s<=10?(T(e,17,e.bl_tree),E(e,s-3,3)):(T(e,18,e.bl_tree),E(e,s-11,7));a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4)}}i(y);var R=!1;function N(e,t,r,i){var a,o,s;E(e,0+(i?1:0),3),o=t,s=r,U(a=e),C(a,s),C(a,~s),n.arraySet(a.pending_buf,a.window,o,s,a.pending),a.pending+=s}r._tr_init=function(e){R||(function(){var e,t,r,n,i,a=new Array(16);for(n=r=0;n<28;n++)for(m[n]=r,e=0;e<1<<l[n];e++)g[r++]=n;for(g[r-1]=n,n=i=0;n<16;n++)for(y[n]=i,e=0;e<1<<u[n];e++)A[i++]=n;for(i>>=7;n<s;n++)for(y[n]=i<<7,e=0;e<1<<u[n]-7;e++)A[256+i++]=n;for(t=0;t<=c;t++)a[t]=0;for(e=0;e<=143;)f[2*e+1]=8,e++,a[8]++;for(;e<=255;)f[2*e+1]=9,e++,a[9]++;for(;e<=279;)f[2*e+1]=7,e++,a[7]++;for(;e<=287;)f[2*e+1]=8,e++,a[8]++;for(S(f,287,a),e=0;e<s;e++)h[2*e+1]=5,h[2*e]=B(e,5);v=new w(f,l,257,o,c),b=new w(h,u,0,s,c),k=new w(new Array(0),d,0,19,7)}(),R=!0),e.l_desc=new x(e.dyn_ltree,v),e.d_desc=new x(e.dyn_dtree,b),e.bl_desc=new x(e.bl_tree,k),e.bi_buf=0,e.bi_valid=0,D(e)},r._tr_stored_block=N,r._tr_flush_block=function(e,t,r,n){var i,o,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<a;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),O(e,e.l_desc),O(e,e.d_desc),s=function(e){var t;for(M(e,e.dyn_ltree,e.l_desc.max_code),M(e,e.dyn_dtree,e.d_desc.max_code),O(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*p[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?N(e,t,r,n):4===e.strategy||o===i?(E(e,2+(n?1:0),3),L(e,f,h)):(E(e,4+(n?1:0),3),function(e,t,r,n){var i;for(E(e,t-257,5),E(e,r-1,5),E(e,n-4,4),i=0;i<n;i++)E(e,e.bl_tree[2*p[i]+1],3);P(e,e.dyn_ltree,t-1),P(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),L(e,e.dyn_ltree,e.dyn_dtree)),D(e),n&&U(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(g[r]+a+1)]++,e.dyn_dtree[2*_(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){var t;E(e,2,3),T(e,256,f),16===(t=e).bi_valid?(C(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,r){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(e,t){if(!e.setImmediate){var r,n,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,r="[object process]"==={}.toString.call(e.process)?function(e){oe.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",f,!1):e.attachEvent("onmessage",f),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){i.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(p,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return s[o]=i,r(o),o++},u.clearImmediate=d}function d(e){delete s[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=s[e];if(t){c=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{d(e),c=!1}}}}function f(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==w?w:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}(qs);const Ws=x(qs.exports);var Ks={exports:{}},Vs={"&":"&",'"':""","'":"'","<":"<",">":">"};var Gs=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,(function(e,t){return Vs[t]})):e},Ys=Ar.Stream;function Xs(e,t,r){r=r||0;var n,i,a=(n=t,new Array(r||0).join(n||"")),o=e;if("object"==typeof e&&((o=e[i=Object.keys(e)[0]])&&o._elem))return o._elem.name=i,o._elem.icount=r,o._elem.indent=t,o._elem.indents=a,o._elem.interrupt=o,o._elem;var s,c=[],l=[];function u(e){Object.keys(e).forEach((function(t){c.push(function(e,t){return e+'="'+Gs(t)+'"'}(t,e[t]))}))}switch(typeof o){case"object":if(null===o)break;o._attr&&u(o._attr),o._cdata&&l.push(("<![CDATA["+o._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),o.forEach&&(s=!1,l.push(""),o.forEach((function(e){"object"==typeof e?"_attr"==Object.keys(e)[0]?u(e._attr):l.push(Xs(e,t,r+1)):(l.pop(),s=!0,l.push(Gs(e)))})),s||l.push(""));break;default:l.push(Gs(o))}return{name:i,interrupt:!1,attributes:c,content:l,icount:r,indents:a,indent:t}}function $s(e,t,r){if("object"!=typeof t)return e(!1,t);var n=t.interrupt?1:t.content.length;function i(){for(;t.content.length;){var i=t.content.shift();if(void 0!==i){if(a(i))return;$s(e,i)}}e(!1,(n>1?t.indents:"")+(t.name?"</"+t.name+">":"")+(t.indent&&!r?"\n":"")),r&&r()}function a(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=i,t.interrupt=!1,e(!0),!0)}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(n?t.name?">":"":t.name?"/>":"")+(t.indent&&n>1?"\n":"")),!n)return e(!1,t.indent?"\n":"");a(t)||i()}Ks.exports=function(e,t){"object"!=typeof t&&(t={indent:t});var r,n,i=t.stream?new Ys:null,a="",o=!1,s=t.indent?!0===t.indent?" ":t.indent:"",c=!0;function l(e){c?oe.nextTick(e):e()}function u(e,t){if(void 0!==t&&(a+=t),e&&!o&&(i=i||new Ys,o=!0),e&&o){var r=a;l((function(){i.emit("data",r)})),a=""}}function d(e,t){$s(u,Xs(e,s,s?1:0),t)}function p(){if(i){var e=a;l((function(){i.emit("data",e),i.emit("end"),i.readable=!1,i.emit("close")}))}}return l((function(){c=!1})),t.declaration&&(r=t.declaration,n={version:"1.0",encoding:r.encoding||"UTF-8"},r.standalone&&(n.standalone=r.standalone),d({"?xml":{_attr:n}}),a=a.replace("/>","?>")),e&&e.forEach?e.forEach((function(t,r){var n;r+1===e.length&&(n=p),d(t,n)})):d(e,p),i?(i.readable=!0,i):a},Ks.exports.element=Ks.exports.Element=function(){var e=Array.prototype.slice.call(arguments),t={_elem:Xs(e),push:function(e){if(!this.append)throw new Error("not assigned to a parent!");var t=this,r=this._elem.indent;$s(this.append,Xs(e,r,this._elem.icount+(r?1:0)),(function(){t.append(!0)}))},close:function(e){void 0!==e&&this.push(e),this.end&&this.end()}};return t};const Zs=x(Ks.exports),Js=(e,t)=>{const r=t.replace(/-/g,"");if(32!==r.length)throw new Error("Error: Cannot extract GUID from font filename: "+t);const i=r.replace(/(..)/g,"$1 ").trim().split(" ").map(e=>parseInt(e,16));i.reverse();const a=e.slice(0,32).map((e,t)=>e^i[t%i.length]);return n.concat([e.slice(0,0),a,e.slice(32)])};class ec{format(e,t={stack:[]}){const r=e.prepForXml(t);if(r)return r;throw Error("XMLComponent did not format correctly")}}class tc{replace(e,t,r){let n=e;return t.forEach((e,t)=>{n=n.replace(new RegExp(`{${e.fileName}}`,"g"),(r+t).toString())}),n}getMediaData(e,t){return t.Array.filter(t=>e.search(`{${t.fileName}}`)>0)}}class rc{replace(e,t){let r=e;for(const e of t)r=r.replace(new RegExp(`{${e.reference}-${e.instance}}`,"g"),e.numId.toString());return r}}const nc=" ",ic=e=>!0===e?nc:!1===e?void 0:e;class ac{static toString(e,t){return h(this,null,(function*(){const r=this.compiler.compile(e,ic(t));return yield r.generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBuffer(e,t){return h(this,null,(function*(){const r=this.compiler.compile(e,ic(t));return yield r.generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBase64String(e,t){return h(this,null,(function*(){const r=this.compiler.compile(e,ic(t));return yield r.generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toBlob(e,t){return h(this,null,(function*(){const r=this.compiler.compile(e,ic(t));return yield r.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}))}static toStream(e,t){const r=new Ar.Stream;return this.compiler.compile(e,ic(t)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(e=>{r.emit("data",e),r.emit("end")}),r}}f(ac,"compiler",new class{constructor(){f(this,"formatter"),f(this,"imageReplacer"),f(this,"numberingReplacer"),this.formatter=new ec,this.imageReplacer=new tc,this.numberingReplacer=new rc}compile(e,t){const r=new Ws,n=this.xmlifyFile(e,t),i=new Map(Object.entries(n));for(const[,e]of i)if(Array.isArray(e))for(const t of e)r.file(t.path,t.data);else r.file(e.path,e.data);for(const{stream:t,fileName:n}of e.Media.Array)r.file("word/media/"+n,t);for(const{data:t,name:n,fontKey:i}of e.FontTable.fontOptionsWithKey){const[e]=n.split(".");r.file(`word/fonts/${e}.odttf`,Js(t,i))}return r}xmlifyFile(e,t){const r=e.Document.Relationships.RelationshipCount+1,n=Zs(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),i=this.imageReplacer.getMediaData(n,e.Media);return{Relationships:{data:(()=>(i.forEach((t,n)=>{e.Document.Relationships.createRelationship(r+n,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image","media/"+t.fileName)}),Zs(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const t=this.imageReplacer.replace(n,i,r);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const r=Zs(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(r,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:Zs(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:Zs(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:Zs(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((r,n)=>{const i=Zs(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,e.Media).forEach((e,t)=>{r.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image","media/"+e.fileName)}),{data:Zs(this.formatter.format(r.Relationships,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${n+1}.xml.rels`}}),FooterRelationships:e.Footers.map((r,n)=>{const i=Zs(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,e.Media).forEach((e,t)=>{r.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image","media/"+e.fileName)}),{data:Zs(this.formatter.format(r.Relationships,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${n+1}.xml.rels`}}),Headers:e.Headers.map((r,n)=>{const i=Zs(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),a=this.imageReplacer.getMediaData(i,e.Media),o=this.imageReplacer.replace(i,a,0);return{data:this.numberingReplacer.replace(o,e.Numbering.ConcreteNumbering),path:`word/header${n+1}.xml`}}),Footers:e.Footers.map((r,n)=>{const i=Zs(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),a=this.imageReplacer.getMediaData(i,e.Media),o=this.imageReplacer.replace(i,a,0);return{data:this.numberingReplacer.replace(o,e.Numbering.ConcreteNumbering),path:`word/footer${n+1}.xml`}}),ContentTypes:{data:Zs(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:Zs(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:Zs(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:Zs(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:Zs(this.formatter.format(e.FootNotes.Relationships,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:Zs(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:Zs(this.formatter.format(e.Comments,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:Zs(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(()=>Zs(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}))(),path:"word/_rels/fontTable.xml.rels"}}}});new ec,new ec,new tc}).call(this,r("c8ba"),r("b639").Buffer)},"54dd":function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,p,f,h,A,g,m,v,b,k,y,w={}.hasOwnProperty;y=r("45f3"),b=y.isObject,v=y.isFunction,k=y.isPlainObject,m=y.getValue,d=r("b8ee"),n=r("536e"),i=r("8930"),f=r("50d7"),g=r("9d2f"),p=r("f016"),l=r("528d"),u=r("d7e3"),a=r("188f"),s=r("1585"),o=r("3b32"),c=r("b6e1"),t=r("2280"),A=r("5a61"),h=r("1f08"),e.exports=function(){function e(e,t,r){var n;this.name="?xml",e||(e={}),e.writer?k(e.writer)&&(n=e.writer,e.writer=new h(n)):e.writer=new h(e),this.options=e,this.writer=e.writer,this.stringify=new A(e),this.onDataCallback=t||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.node=function(e,t,r){var n,i;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=m(e),null===t&&null==r&&(t=(n=[{},null])[0],r=n[1]),null==t&&(t={}),t=m(t),b(t)||(r=(i=[t,r])[0],t=i[1]),this.currentNode=new d(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this},e.prototype.element=function(e,t,r){return this.currentNode&&this.currentNode instanceof u?this.dtdElement.apply(this,arguments):this.node(e,t,r)},e.prototype.attribute=function(e,r){var n,i;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=m(e)),b(e))for(n in e)w.call(e,n)&&(i=e[n],this.attribute(n,i));else v(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.currentNode.attributes[e]=new t(this,e,r));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new g(this,e),this.onData(this.writer.text(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new n(this,e),this.onData(this.writer.cdata(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.comment(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new f(this,e),this.onData(this.writer.raw(t,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var r,n,i,a,o;if(this.openCurrent(),null!=e&&(e=m(e)),null!=t&&(t=m(t)),Array.isArray(e))for(r=0,a=e.length;r<a;r++)n=e[r],this.instruction(n);else if(b(e))for(n in e)w.call(e,n)&&(i=e[n],this.instruction(n,i));else v(t)&&(t=t.apply()),o=new p(this,e,t),this.onData(this.writer.processingInstruction(o,this.currentLevel+1),this.currentLevel+1);return this},e.prototype.declaration=function(e,t,r){var n;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return n=new l(this,e,t,r),this.onData(this.writer.declaration(n,this.currentLevel+1),this.currentLevel+1),this},e.prototype.doctype=function(e,t,r){if(this.openCurrent(),null==e)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new u(this,t,r),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},e.prototype.dtdElement=function(e,t){var r;return this.openCurrent(),r=new o(this,e,t),this.onData(this.writer.dtdElement(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.attList=function(e,t,r,n,i){var o;return this.openCurrent(),o=new a(this,e,t,r,n,i),this.onData(this.writer.dtdAttList(o,this.currentLevel+1),this.currentLevel+1),this},e.prototype.entity=function(e,t){var r;return this.openCurrent(),r=new s(this,!1,e,t),this.onData(this.writer.dtdEntity(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.pEntity=function(e,t){var r;return this.openCurrent(),r=new s(this,!0,e,t),this.onData(this.writer.dtdEntity(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.notation=function(e,t){var r;return this.openCurrent(),r=new c(this,e,t),this.onData(this.writer.dtdNotation(r,this.currentLevel+1),this.currentLevel+1),this},e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){if(!e.isOpen)return!this.root&&0===this.currentLevel&&e instanceof d&&(this.root=e),this.onData(this.writer.openNode(e,this.currentLevel),this.currentLevel),e.isOpen=!0},e.prototype.closeNode=function(e){if(!e.isClosed)return this.onData(this.writer.closeNode(e,this.currentLevel),this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.dtd=function(e,t,r){return this.doctype(e,t,r)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode instanceof u?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode instanceof u?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},5580:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}]},5692:function(e,t,r){var n=r("c430"),i=r("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,r){var n=r("d066"),i=r("241c"),a=r("7418"),o=r("825a");e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=a.f;return r?t.concat(r(e)):t}},5772:function(e,t,r){(t=r("24fb")(!1)).push([e.i,'.zj-style[data-v-169ec644]{position:relative;overflow:hidden}.zjkf__root.zjkf-body[data-v-169ec644]{font-family:Microsoft YaHei,微软雅黑,宋体,helvetica,Hiragino Sans GB,MicrosoftYaHei;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0!important;font-size:14px;background:#fff}.zjkf__root.zjkf-body .clearfix[data-v-169ec644]:after{content:"020";display:block;height:0;clear:both;visibility:hidden}.zjkf__root.zjkf-body .clearfix[data-v-169ec644]{zoom:1}.zjkf__root.zjkf-body i.zj-iconfont[data-v-169ec644]{speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.zjkf-scrollbar[data-v-169ec644] ::-webkit-scrollbar{width:7px!important;height:7px!important}.zjkf-scrollbar[data-v-169ec644] ::-webkit-scrollbar-button{display:none!important}.zjkf-scrollbar[data-v-169ec644] ::-webkit-scrollbar-thumb{border-radius:3px!important;background:#dddfe0!important}.zjkf-scrollbar[data-v-169ec644] ::-webkit-scrollbar-track{width:7px!important;height:7px!important}.zjkf-scrollbar[data-v-169ec644] ::-webkit-scrollbar-track-piece{background:transparent!important}.zjkf-common-e-ui .el-button.el-button--primary[data-v-169ec644]{background:#0074fd!important;border-color:#0074fd!important}.zjkf-common-e-ui .el-button.el-button--primary.is-plain[data-v-169ec644]{color:#0074fd!important;background:#fff!important;border-color:#0074fd!important}.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-169ec644],.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-169ec644]:active,.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-169ec644]:focus,.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-169ec644]:hover{color:#fff!important;background-color:#a0cfff!important;border-color:#a0cfff!important}.zj-chat-msg[data-v-169ec644]{min-width:380px;max-width:80%;box-sizing:border-box;border:1px solid #ebeef5;position:absolute;left:50%;top:-46px;transform:translateX(-50%);background-color:#edf2fc;transition:opacity .3s,transform .4s,top .4s;padding:15px 15px 15px 20px;border-radius:4px;overflow:hidden;z-index:2000}.zj-chat-msg.actived[data-v-169ec644]{top:60px}.zj-chat-msg.chat-msg--success[data-v-169ec644]{background-color:#f0f9eb;border-color:#e1f3d8}.zj-chat-msg.chat-msg--success .msg[data-v-169ec644]{color:#67c23a}.zj-chat-msg.chat-msg--error[data-v-169ec644]{background-color:#fef0f0;border-color:#fde2e2}.zj-chat-msg.chat-msg--error .msg[data-v-169ec644]{color:#f56c6c}.zj-chat-msg .msg[data-v-169ec644]{padding:0;font-size:14px;line-height:1;color:#909399}',""]),e.exports=t},"57b1":function(e,t,r){var n=r("c46f"),i=r("ebf8"),a=r("a80f");t.read=s,t.readXmlFromZipFile=function(e,t){return e.exists(t)?e.read(t,"utf-8").then(c).then(s):i.resolve(null)};var o={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","urn:schemas-microsoft-com:vml":"v","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:office:word":"office-word"};function s(e){return a.readString(e,o).then((function(e){return l(e)[0]}))}function c(e){return e.replace(/^\uFEFF/g,"")}function l(e){return"element"===e.type?"mc:AlternateContent"===e.name?e.first("mc:Fallback").children:(e.children=n.flatten(e.children.map(l,!0)),[e]):[e]}},"57c9":function(e,t,r){"use strict";e.exports=function(e,t,n,i,a){var o=r("6df9");o.isArray;function s(r){var n=this._promise=new e(t);r instanceof e&&n._propagateFrom(r,3),n._setOnCancel(this),this._values=r,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.inherits(s,a),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function t(r,a){var s=n(this._values,this._promise);if(s instanceof e){var c=(s=s._target())._bitField;if(this._values=s,0==(50397184&c))return this._promise._setAsyncGuaranteed(),s._then(t,this._reject,void 0,this,a);if(0==(33554432&c))return 0!=(16777216&c)?this._reject(s._reason()):this._cancel();s=s._value()}if(null!==(s=o.asArray(s)))0!==s.length?this._iterate(s):-5===a?this._resolveEmptyArray():this._resolve(function(e){switch(e){case-2:return[];case-3:return{}}}(a));else{var l=i("expecting an array or an iterable object but got "+o.classString(s)).reason();this._promise._rejectCallback(l,!1)}},s.prototype._iterate=function(t){var r=this.getActualLength(t.length);this._length=r,this._values=this.shouldCopyValues()?new Array(r):this._values;for(var i=this._promise,a=!1,o=null,s=0;s<r;++s){var c=n(t[s],i);o=c instanceof e?(c=c._target())._bitField:null,a?null!==o&&c.suppressUnhandledRejections():null!==o?0==(50397184&o)?(c._proxy(this,s),this._values[s]=c):a=0!=(33554432&o)?this._promiseFulfilled(c._value(),s):0!=(16777216&o)?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):a=this._promiseFulfilled(c,s)}a||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var r=0;r<t.length;++r)t[r]instanceof e&&t[r].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},5899:function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(e,t,r){var n=r("1d80"),i="["+r("5899")+"]",a=RegExp("^"+i+i+"*"),o=RegExp(i+i+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(a,"")),2&e&&(r=r.replace(o,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},"58e0":function(e,t,r){"use strict";(function(e){var n=r("26ee"),i=r("2f74"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?n.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||i.a;t.a=c}).call(this,r("dd40")(e))},"597b":function(e,t,r){"use strict";r.r(t),r.d(t,"TokUI",(function(){return Y})),r.d(t,"default",(function(){return G})),r.d(t,"el",(function(){return X})),r.d(t,"getLocale",(function(){return K})),r.d(t,"getTheme",(function(){return q})),r.d(t,"registerHandler",(function(){return H})),r.d(t,"registerLocale",(function(){return V})),r.d(t,"removeHandler",(function(){return j})),r.d(t,"setLocale",(function(){return W})),r.d(t,"setTheme",(function(){return Q}));var n=r("b85c"),i=r("3835"),a=r("d4ec"),o=r("bee2"),s=r("53ca"),c=(r("e439"),r("7039"),r("3410"),r("ac1f"),r("1276"),r("5319"),r("d3b7"),r("6062"),r("3ca3"),r("ddb0"),r("b64b"),r("fb6a"),r("a15b"),r("d81d"),r("4d90"),r("25f0"),r("a9e3"),r("b680"),r("466d"),r("498a"),r("159b"),r("2ca0"),r("99af"),r("4c53"),r("4fad"),r("4de4"),r("4d63"),r("b0c0"),r("6b93"),r("2b3d"),r("caad"),r("2532"),r("a630"),r("7db0"),r("841c"),r("a434"),Object.create),l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=function(e,t){return function(){return t||(e((t={exports:{}}).exports,t),e=null),t.exports}},A=function(e,t,r,n){if(t&&"object"==Object(s.a)(t)||"function"==typeof t)for(var i,a=d(t),o=0,c=a.length;o<c;o++)i=a[o],!f.call(e,i)&&i!==r&&l(e,i,{get:function(e){return t[e]}.bind(null,i),enumerable:!(n=u(t,i))||n.enumerable});return e},g=function(e,t,r){return r=null==e?{}:c(p(e)),A(!t&&e&&e.__esModule?r:l(r,"default",{value:e,enumerable:!0}),e)},m=function(e){return Object(s.a)(r("d498"))<"u"?r("d498"):("undefined"==typeof Proxy?"undefined":Object(s.a)(Proxy))<"u"?new Proxy(e,{get:function(e,t){return(Object(s.a)(r("d498"))<"u"?r("d498"):e)[t]}}):e}((function(e){if(Object(s.a)(r("d498"))<"u")return r("d498").apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")})),v=h((function(e,t){var r={"zh-CN":{"common.close":"关闭","common.ok":"确定","common.cancel":"取消","common.delete":"删除","common.copy":"复制","common.copied":"已复制","common.download":"下载","common.view":"查看","common.send":"发送","common.stop":"停止生成","common.loading":"加载中","common.renderFailed":"渲染失败","time.today":"今天","time.yesterday":"昨天","time.earlier":"更早","lightbox.preview":"图片预览","lightbox.zoomIn":"放大","lightbox.zoomOut":"缩小","lightbox.reset":"重置","lightbox.rotateLeft":"左旋90°","lightbox.rotateRight":"右旋90°","lightbox.flipH":"水平翻转","lightbox.flipV":"垂直翻转","layout.collapseDefault":"展开","layout.gallery":"图片画廊","layout.carouselPrev":"上一张","layout.carouselNext":"下一张","layout.carouselIndex":"第{n}张","pagination.aria":"分页","pagination.totalCount":"共{count}条","pagination.totalPages":"共{total}页","menu.defaultTrigger":"菜单","trigger.default":"点击","think.title":"思考过程","thinkChain.title":"推理过程","like.up":"点赞","like.down":"点踩","actions.copy":"复制","actions.regenerate":"重新生成","actions.like":"赞","actions.dislike":"踩","actions.delete":"删除","actions.approve":"批准","actions.deny":"拒绝","bubble.you":"你","bubble.ai":"AI","bubble.system":"系统","bubble.assistant":"助手","rule.required":"该字段为必填项","rule.email":"请输入有效的邮箱地址","rule.url":"请输入有效的 URL(http/https)","rule.number":"请输入数字","rule.len":"长度须为 {n} 个字符","rule.min":"至少输入 {n} 个字符","rule.max":"最多输入 {n} 个字符","rule.re":"格式不正确","file.unnamed":"未知文件","countdown.ended":"已结束","duration.day":"天","duration.hour":"时","duration.minute":"分","duration.second":"秒","popconfirm.trigger":"确认","popconfirm.aria":"确认操作","backToTop.aria":"回到顶部","datepicker.title":"{y}年{m}月","datepicker.weekday.0":"日","datepicker.weekday.1":"一","datepicker.weekday.2":"二","datepicker.weekday.3":"三","datepicker.weekday.4":"四","datepicker.weekday.5":"五","datepicker.weekday.6":"六","chat.emptySessions":"暂无会话","inputTag.placeholder":"输入后按回车添加","command.placeholder":"输入关键词搜索...","command.aria":"命令面板","command.noResult":"没有找到匹配结果","status.pending":"等待中","status.running":"运行中","status.done":"完成","status.error":"出错","status.denied":"已拒绝","status.idle":"空闲","status.paused":"已暂停","agent.thinking":"思考","agent.generating":"生成","agent.total":"总计","picker.noMatch":"无匹配项","rate.defaultLabel":"评分","select.placeholder":"请选择","upload.hint":"点击或拖拽文件至此处上传","upload.browse":"浏览文件","upload.uploading":"上传中","upload.done":"已上传","upload.failed":"上传失败","upload.retry":"重试","chart.empty":"暂无数据","chart.seriesDefault":"系列{n}","chart.itemDefault":"项目{n}","chart.sliceDefault":"项{n}","chart.groupDefault":"组{n}","chart.ringDefault":"环{n}","chart.dimensionDefault":"维度{n}","chart.stageDefault":"阶段{n}","chart.taskDefault":"任务{n}","chart.conversion":"转化{pct}%","chart.cumulative":"累计{n}","chart.median":"中位","chart.monthLabel":"{m}月","chart.unsupportedType":"不支持的图表类型: {type}","chart.copyFailed":"复制失败","chart.unsupported":"不支持","chart.copyImage":"复制图片","chart.downloadImage":"下载图片","chart.fullscreen":"放大查看","gauge.statusGood":"良好","gauge.statusWarn":"注意","gauge.statusDanger":"告警","gauge.statusInfo":"正常","gauge.currentValue":"当前值","gantt.skipped":"⚠ 跳过 {n} 条无效任务","gantt.noTasks":"无任务数据","gantt.progress":"进度"},"en-US":{"common.close":"Close","common.ok":"OK","common.cancel":"Cancel","common.delete":"Delete","common.copy":"Copy","common.copied":"Copied","common.download":"Download","common.view":"View","common.send":"Send","common.stop":"Stop generating","common.loading":"Loading","common.renderFailed":"Render failed","time.today":"Today","time.yesterday":"Yesterday","time.earlier":"Earlier","lightbox.preview":"Image preview","lightbox.zoomIn":"Zoom in","lightbox.zoomOut":"Zoom out","lightbox.reset":"Reset","lightbox.rotateLeft":"Rotate 90° left","lightbox.rotateRight":"Rotate 90° right","lightbox.flipH":"Flip horizontal","lightbox.flipV":"Flip vertical","layout.collapseDefault":"Expand","layout.gallery":"Image gallery","layout.carouselPrev":"Previous","layout.carouselNext":"Next","layout.carouselIndex":"Image {n}","pagination.aria":"Pagination","pagination.totalCount":"{count} items","pagination.totalPages":"{total} pages","menu.defaultTrigger":"Menu","trigger.default":"Click","think.title":"Reasoning","thinkChain.title":"Reasoning process","like.up":"Like","like.down":"Dislike","actions.copy":"Copy","actions.regenerate":"Regenerate","actions.like":"Like","actions.dislike":"Dislike","actions.delete":"Delete","actions.approve":"Approve","actions.deny":"Deny","rule.required":"This field is required","rule.email":"Please enter a valid email address","rule.url":"Please enter a valid URL (http/https)","rule.number":"Please enter a number","rule.len":"Must be exactly {n} characters","rule.min":"At least {n} characters required","rule.max":"At most {n} characters allowed","rule.re":"Invalid format","file.unnamed":"Unnamed file","countdown.ended":"Ended","duration.day":"d","duration.hour":"h","duration.minute":"m","duration.second":"s","popconfirm.trigger":"Confirm","popconfirm.aria":"Confirm action","backToTop.aria":"Back to top","datepicker.title":"{m}/{y}","datepicker.weekday.0":"Sun","datepicker.weekday.1":"Mon","datepicker.weekday.2":"Tue","datepicker.weekday.3":"Wed","datepicker.weekday.4":"Thu","datepicker.weekday.5":"Fri","datepicker.weekday.6":"Sat","chat.emptySessions":"No conversations","inputTag.placeholder":"Press Enter to add","command.placeholder":"Type to search...","command.aria":"Command palette","command.noResult":"No results found","status.pending":"Pending","status.running":"Running","status.done":"Done","status.error":"Error","status.denied":"Denied","status.idle":"Idle","status.paused":"Paused","agent.thinking":"Thinking","agent.generating":"Generating","agent.total":"Total","bubble.you":"You","bubble.ai":"AI","bubble.system":"System","bubble.assistant":"Assistant","picker.noMatch":"No matches","rate.defaultLabel":"Rating","select.placeholder":"Select...","upload.hint":"Click or drag files here to upload","upload.browse":"Browse","upload.uploading":"Uploading","upload.done":"Uploaded","upload.failed":"Upload failed","upload.retry":"Retry","chart.empty":"No data","chart.seriesDefault":"Series {n}","chart.itemDefault":"Item {n}","chart.sliceDefault":"Slice {n}","chart.groupDefault":"Group {n}","chart.ringDefault":"Ring {n}","chart.dimensionDefault":"Dim {n}","chart.stageDefault":"Stage {n}","chart.taskDefault":"Task {n}","chart.conversion":"{pct}% conv","chart.cumulative":"Cumulative {n}","chart.median":"median","chart.monthLabel":"{m}-","chart.unsupportedType":"Unsupported chart type: {type}","chart.copyFailed":"Copy failed","chart.unsupported":"Unsupported","chart.copyImage":"Copy image","chart.downloadImage":"Download image","chart.fullscreen":"Fullscreen","gauge.statusGood":"Good","gauge.statusWarn":"Warning","gauge.statusDanger":"Critical","gauge.statusInfo":"Normal","gauge.currentValue":"Current","gantt.skipped":"⚠ Skipped {n} invalid tasks","gantt.noTasks":"No task data","gantt.progress":"Progress"}},n="zh-CN",i=n,a=r[n];function o(e){if("string"==typeof e&&r[e])return e;if("string"==typeof e){var t=e.toLowerCase();if(r[t])return t;var i=t.split("-")[0];if(r[i])return i;if("zh"===i)return"zh-CN";if("en"===i)return"en-US"}return n}function c(e,t){var i=a[e];return void 0===i&&(i=r[n][e]),void 0===i?e:t?function(e,t){return t?e.replace(/\{(\w+)\}/g,(function(e,r){return null==t[r]?e:String(t[r])})):e}(i,t):i}var l={init:function(e){var t=o(null!=e?e:function(){try{if(("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.documentElement&&document.documentElement.lang)return document.documentElement.lang}catch(e){}try{if(("undefined"==typeof navigator?"undefined":Object(s.a)(navigator))<"u"&&navigator.language)return navigator.language}catch(e){}return n}());return i=t,a=r[t]||r[n],t},setLocale:function(e){var t=o(e);return i=t,a=r[t]||r[n],t},getLocale:function(){return i},registerLocale:function(e,t){!e||"string"!=typeof e||!t||"object"!=Object(s.a)(t)||(r[e]=Object.assign({},r[e]||{},t),i===e&&(a=r[e]))},t:c};("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.TokUII18n=l,window.TokUI._internal.t=c,window.TokUI.setLocale=l.setLocale,window.TokUI.getLocale=l.getLocale,window.TokUI.registerLocale=l.registerLocale,l.init()),void 0!==t&&t.exports&&(t.exports=l)})),b=h((function(e,t){var r=new Set(["__proto__","constructor","prototype"]),n={handlers:{},registerHandler:function(e,t){if(!r.has(e)){if("function"!=typeof t)throw TypeError("TokUI EventBUS: handler must be a function, got "+Object(s.a)(t));this.handlers[e]&&console.warn('TokUI EventBUS: handler "'+e+'" 已被覆盖'),this.handlers[e]=t}},removeHandler:function(e){delete this.handlers[e]},getHandler:function(e){return this.handlers[e]||null},clearAll:function(){this.handlers={}},getHandlerNames:function(){return Object.keys(this.handlers)}};("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.TokUIEventBus=n,window.TokUI.registerHandler=n.registerHandler.bind(n),window.TokUI.removeHandler=n.removeHandler.bind(n)),void 0!==t&&t.exports&&(t.exports=n)})),k=h((function(e,t){function r(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function n(e){var t=function(e){return Math.max(0,Math.min(255,Math.round(e)))};return"#"+[t(e.r),t(e.g),t(e.b)].map((function(e){return e.toString(16).padStart(2,"0")})).join("")}function i(e,t,r){e=(e%360+360)%360,t=Math.max(0,Math.min(1,t));var n=(r=Math.max(0,Math.min(1,r)))*t,i=n*(1-Math.abs(e/60%2-1)),a=r-n,o=0,s=0,c=0;return e<60?(o=n,s=i,c=0):e<120?(o=i,s=n,c=0):e<180?(o=0,s=n,c=i):e<240?(o=0,s=i,c=n):e<300?(o=i,s=0,c=n):(o=n,s=0,c=i),{r:Math.round(255*(o+a)),g:Math.round(255*(s+a)),b:Math.round(255*(c+a))}}var a=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function o(e,t,r){var n=Math.round(e.h)>=60&&Math.round(e.h)<=240?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t;return n<0?n+=360:n>=360&&(n-=360),n}function c(e,t,r){if(0===e.h&&0===e.s)return e.s;var n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t;return n>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function l(e,t,r){var n=r?e.v+.05*t:e.v-.15*t;return n>1&&(n=1),Number(n.toFixed(2))}function u(e){for(var t=[],a=r(e),s=function(e,t,r){e/=255,t/=255,r/=255;var n=Math.max(e,t,r),i=n-Math.min(e,t,r),a=0;return 0!==i&&(a=n===e?((t-r)/i+(t<r?6:0))/6:n===t?((r-e)/i+2)/6:((e-t)/i+4)/6),{h:360*a,s:0===n?0:i/n,v:n}}(a.r,a.g,a.b),u=5;u>0;--u){var d=o(s,u,!0),p=c(s,u,!0),f=l(s,u,!0);t.push(n(i(d,p,f)))}t.push(n(a));for(var h=1;h<=4;h+=1){var A=o(s,h,!1),g=c(s,h,!1),m=l(s,h,!1);t.push(n(i(A,g,m)))}return t}function d(e,t){var i=u(e),o=r(t||"#141414");return a.map((function(e){return n(function(e,t,r){var n=r/100;return{r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b}}(o,r(i[e.index-1]),100*e.opacity))}))}function p(e,t){var r=t||{};return r.dark?d(e,r.backgroundColor):u(e)}function f(e,t){for(var r=t||{},n={},i=["primary","danger","success","warning"],a=0;a<i.length;a++){var o=i[a],s=e[o];if(s)for(var c=p(s,{dark:r.dark}),l=0;l<10;l++)n["--tokui-"+o+"-"+(l+1)]=c[l]}return n}var h={generatePalette:p,generateThemeTokens:f};("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.generatePalette=p,window.TokUI._internal.generateThemeTokens=f,window.TokUI._internal.ColorGenerator=h),void 0!==t&&t.exports&&(t.exports=h)})),y=h((function(e,t){var r={container:null,currentTheme:"default",init:function(e){this.container="string"==typeof e?document.querySelector(e):e,this.container?this.container.setAttribute("data-tokui-theme",this.currentTheme):e&&console.warn("TokUI Theme: 容器未找到,主题不会生效")},setTheme:function(e){"string"==typeof e&&e?(this.currentTheme=e,this.container&&this.container.setAttribute("data-tokui-theme",e)):console.warn("TokUI Theme: themeName 必须为非空字符串")},getTheme:function(){return this.currentTheme},setSeedColor:function(e,t){t||(t={});var r=t._document||(("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"?document:null);if(r&&f(e)&&(!t.danger||f(t.danger))&&(!t.success||f(t.success))&&(!t.warning||f(t.warning))){var n="function"==typeof m?k().generateThemeTokens:window.TokUI._internal.generateThemeTokens,i={primary:e};t.danger&&(i.danger=t.danger),t.success&&(i.success=t.success),t.warning&&(i.warning=t.warning);for(var a=n(i,{dark:"dark"===this.currentTheme}),o=':root, [data-tokui-theme="default"], [data-tokui-theme="dark"] {\n',c=Object.keys(a),l=0;l<c.length;l++){var u=a[c[l]];"string"!=typeof u||/[\{\}]/.test(u)||(o+=" "+c[l]+": "+u+";\n")}o+="}";var d=r.querySelector("style[data-tokui-dynamic-palette]");d&&d.parentNode.removeChild(d);var p=r.createElement("style");p.setAttribute("data-tokui-dynamic-palette",""),p.innerHTML=o,r.head.appendChild(p)}function f(e){return/^#[0-9a-fA-F]{6}$/.test(e)}}};("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.TokUITheme=r,window.TokUI.setTheme=r.setTheme.bind(r),window.TokUI.getTheme=r.getTheme.bind(r),window.TokUI.initTheme=r.init.bind(r),window.TokUI.setSeedColor=r.setSeedColor.bind(r)),void 0!==t&&t.exports&&(t.exports=r)})),w=h((function(e,t){function r(e){for(var t=!1,r=0;r<e.length;r++)if('"'===e[r])t=!t;else if("]"===e[r]&&!t)return r;return-1}function n(e){for(var t=!1,r=0,n=0;n<e.length;n++){var i=e[n];if('"'===i)t=!t;else if(!t)if("["===i)r++;else if("]"===i){if(0===r)return n;r--}}return-1}var i=new Set("form.table.thead.tbody.card.ft.row.col.list.select.radio.checkbox.code.imgs.md.textarea.tabs.tab.accordion.collapse.dialog.btngroup.picker.timeline.steps.drawer.ol.ul.i.item.think.think-chain.think-step.bubble.toolbar.badge-box.dropdown.transfer.callout.cascader.tree.tn.desc.carousel.popover.input-tag.watermark.menu.print-area.chat-input.msg-actions.tool-call.diff.quick-reply.plan.file-tree.ft-folder.terminal.sandbox.test-result.quote.toggle-group.conversations.welcome.welcome-feature.suggestions.attachments.artifact.artifact-code.artifact-preview.scroll-area.sidebar.sidebar-content.sidebar-footer.command.command-group.hover-card.hover-trigger.hover-content.resizable.canvas.canvas-content.chart.ins.katex.mermaid.p".split("."));function c(e){if(!e||"chart"!==e.type)return!1;var t=e.attrs||{};return!!(t.d||t.tasks||t.rows||t.nodes&&t.flows||void 0!==t.v&&("gauge"===t.t||"progress"===t.t))}function l(e){return("radio"===e.type||"select"===e.type||"checkbox"===e.type)&&!(!e.attrs||!e.attrs.opt)}function u(e){return"checkbox"===e.type&&void 0===(e.attrs?e.attrs.multi:void 0)&&!l(e)}var d=new Set(["stat","img","avatar","result","empty","video","audio","file","attach","commit"]),p=/^(stat|img|avatar|result|empty|video|audio|file|attach|commit)\b/,f=new Set(["a","_text","tag","b","i","code","spin","strong","em","mark","sub","sup"]),h=new Set("stripe.dis.ro.req.chk.multi.disabled.readonly.required.checked.multiple.striped.auto.plain.round.closable.bordered.open.pill.dot.leaf.inline.rounded.container.copy.regenerate.like.dislike.visible.delete.controls.open.active.collapsible.toggle.search.thumb.reset.print.show-total.live.approval.streaming.range.half.sortable.filter.virtual.lazy.pagination".split(".")),A=null;function g(e){A=e}function m(e){if(A)return A[e];if(("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal){var t=window.TokUI._internal.VARIANTS;return t?t[e]:null}return null}var v=new Set("t.l.tx.tt.ph.u.s.n.v.w.h.clk.sub.act.mtd.dis.ro.req.chk.id.bg.fc.cap.cols.span.min.max.step.alt.target.src.name.value.pre.pos".split("."));function b(e,t){for(var r=[];;){var n=t.match(/^([\s\S]*?[^\x00-\x7f])([a-zA-Z][a-zA-Z0-9]{0,6}):([\s\S]*)$/);if(!n)break;var i=n[2];if(!v.has(i))break;r.push([e,n[1]]),e=i,t=n[3]}return r.push([e,t]),r}function k(e){if(!e||!e.trim())return{type:"_text",attrs:{},content:"",children:[]};var t={type:"",attrs:{},content:"",children:[]},r=[],n=e.replace(/"((?:[^"\\]|\\.)*)"/g,(function(e,t){return r.push(t.replace(/\\"/g,'"')),"__QUOTE".concat(r.length-1,"__")})).split(/\s+/);t.type=n[0];for(var i=[],a=1;a<n.length;a++){var o=n[a],s=o.indexOf(":");if(s>0){var c=o.slice(0,s);if(/^[a-zA-Z][a-zA-Z0-9_-]*$/.test(c)){var l=o.slice(s+1);l=l.replace(/__QUOTE(\d+)__/g,(function(e,t){return r[parseInt(t)]})),/[^\x00-\x7f]/.test(l)&&-1!==l.indexOf(":")?b(c,l).forEach((function(e){t.attrs[e[0]]=e[1]})):t.attrs[c]=l}else{var u=o.replace(/__QUOTE(\d+)__/g,(function(e,t){return'"'.concat(r[parseInt(t)],'"')}));i.push(u)}}else{var d=o.replace(/__QUOTE(\d+)__/g,(function(e,t){return r[parseInt(t)]}));if(t.attrs.v){var p=m(t.type);if(p&&p.has&&p.has(d)){t.attrs.v=t.attrs.v+","+d;continue}}if(h.has(d))t.attrs[d]=!0;else{var f=o.match(/^__QUOTE(\d+)__$/);if(f)i.push(r[parseInt(f[1])]);else{var A=o.replace(/__QUOTE(\d+)__/g,(function(e,t){return'"'.concat(r[parseInt(t)],'"')}));i.push(A)}}}}t.content=i.join(" ");var g={ol:"list",ul:"list",i:"item"};return g[t.type]&&(("ol"===t.type||"ul"===t.type)&&(t.attrs.t=t.type),t.type=g[t.type]),t}var y=function(){function e(t,r){Object(a.a)(this,e),this.onNode=t||function(){},this.streaming=r&&!1!==r.streaming,this.maxBuffer=r&&r.maxBuffer||1048576,this.maxDepth=r&&r.maxDepth||100,this.buffer="",this.stack=[],this.state="TEXT",this._totalOffset=0,this._dslText="",this._tagStartPos=-1}return Object(o.a)(e,[{key:"reset",value:function(){this.buffer="",this.stack=[],this.state="TEXT",this._totalOffset=0,this._dslText="",this._tagStartPos=-1,this._lastTrPreview="",this._trOpenKey=-2}},{key:"feed",value:function(e){if(this.buffer.length+e.length>this.maxBuffer&&(console.warn("TokUI Parser: buffer 超过 maxBuffer ("+this.maxBuffer+"),截断输入"),e=e.slice(0,this.maxBuffer-this.buffer.length)),this._dslText+=e,this.buffer+=e,this._tryParse(),this.streaming&&"TEXT"===this.state&&this.stack.length>0&&!this._isRawContent()&&!this.buffer.startsWith("[")){var t=this.buffer.trim();if(t){var r={type:"_text",attrs:{},content:t,children:[]};this.stack[this.stack.length-1].children.push(r),this.onNode(r),this._totalOffset+=this.buffer.length,this.buffer=""}}if(this.streaming&&"TEXT"===this.state&&this.stack.length>0&&this._isRawContent()){for(var n=this.stack[this.stack.length-1],i="[/"+n.type+"]",a=0,o=Math.min(this.buffer.length,i.length);o>0;o--)if(i.startsWith(this.buffer.slice(this.buffer.length-o))){a=o;break}for(var s=this.buffer.length-a,l=0,u=s-1;u>=0&&"\\"===this.buffer[u];u--)l++;var d=l%2==1?s-1:s,f=n._rawEmittedLen||0;if(d>f){var h=this._unescapeRaw(this.buffer.slice(f,d),n.type);if(h){var A={type:"_text",attrs:{},content:h,children:[]};n.children.push(A),this.onNode(A)}n._rawEmittedLen=d}}if(this.streaming&&"TAG_OPEN"===this.state&&/^chart\s/.test(this.buffer)&&/\b(d|tasks|rows|nodes|flows)\s*:/.test(this.buffer)&&this.buffer!==this._lastChartPreview){var g=this.buffer;if((g.match(/"/g)||[]).length%2==1&&(/\b(d|tasks|rows|nodes|flows)\s*:\s*"[^"]*$/.test(g)?g+='"':g=null),null!==g){this._lastChartPreview=this.buffer;var m=k(g);"chart"===m.type&&c(m)&&(m._streamPreview=!0,m._previewKey=this._tagStartPos,this.onNode(m))}}if(this.streaming&&"TAG_OPEN"===this.state&&/^(hrow|flow)\s/.test(this.buffer)&&/\bv\s*:/.test(this.buffer)&&this.buffer!==this._lastKidPreview){var v=this.buffer;if((v.match(/"/g)||[]).length%2==1&&(/\bv\s*:\s*"[^"]*$/.test(v)?v+='"':v=null),null!==v){this._lastKidPreview=this.buffer;var b=k(v);("hrow"===b.type||"flow"===b.type)&&(b._kidPreview=!0,this.onNode(b))}}if(this.streaming&&"TAG_OPEN"===this.state&&/^tr\b/.test(this.buffer)&&this.buffer!==this._lastTrPreview){var y=this.buffer;if((y.match(/"/g)||[]).length%2==1&&(/"[^"]*$/.test(y)?y+='"':y=null),null!==y){this._lastTrPreview=this.buffer;var w=k(y);"tr"===w.type&&(this._trOpenKey!==this._tagStartPos&&(this._trOpenKey=this._tagStartPos,this.onNode({type:"tr",_stream:"open",_trKey:this._tagStartPos,attrs:w.attrs})),w._stream="preview",w._trKey=this._tagStartPos,this.onNode(w))}}this.streaming&&"TAG_OPEN"===this.state&&this._skelEmittedKey!==this._tagStartPos&&p.test(this.buffer)&&this.buffer.length>p.exec(this.buffer)[0].length&&(this._skelEmittedKey=this._tagStartPos,this.onNode({type:p.exec(this.buffer)[1],_stream:"skeleton-pending",_skelKey:this._tagStartPos,attrs:{}}))}},{key:"parse",value:function(e){this.reset(),this._dslText=e,this.buffer=e,this._tryParse(),this._flush()}},{key:"_flush",value:function(){if(this.buffer.trim()&&this._tryParse(),this.buffer.trim()){var e;if(this._isRawContent()){var t=this.stack[this.stack.length-1],r=this.streaming&&t&&t._rawEmittedLen?t._rawEmittedLen:0;e=this._unescapeRaw(this.buffer.slice(r).trim(),t&&t.type)}else e=this.buffer.trim();if(e){var n={type:"_text",attrs:{},content:e,children:[]};this.stack.length>0?this.stack[this.stack.length-1].children.push(n):this.onNode(n)}this._totalOffset+=this.buffer.length,this.buffer=""}for(;this.stack.length;){var i=this.stack.pop();i._dslEnd=this._dslText.length,i._dsl=this._dslText.slice(i._dslStart),this.streaming&&(i._stream="close"),this.onNode(i)}}},{key:"_isRawContent",value:function(){for(var e=this.stack.length-1;e>=0;e--){var t=this.stack[e].type;if("code"===t||"md"===t||"diff"===t||"terminal"===t||"sandbox"===t||"artifact-code"===t||"katex"===t||"mermaid"===t)return!0}return!1}},{key:"_unescapeRaw",value:function(e,t){return"string"!=typeof e||-1===e.indexOf("\\")||"katex"===t||"md"===t?e:e.replace(/\\(.)/g,(function(e,t){return"n"===t?"\n":"t"===t?"\t":"r"===t?"\r":"\\"===t?"\\":"\\"+t}))}},{key:"_tryParse",value:function(){for(var e=5e4;e-- >0;){if("TEXT"===this.state){if(this._isRawContent()){var t=this.stack[this.stack.length-1],a=t.type,o="[/".concat(a,"]"),s=this.buffer.indexOf(o);if(-1===s)break;if(s>0){var c=this.streaming&&t._rawEmittedLen?t._rawEmittedLen:0;if(s>c){var l=this._unescapeRaw(this.buffer.slice(c,s),a);if(l){var u={type:"_text",attrs:{},content:l,children:[]};this.streaming&&this.stack.length>0?(this.stack[this.stack.length-1].children.push(u),this.onNode(u)):this.stack.length>0?this.stack[this.stack.length-1].children.push(u):this.onNode(u)}}this._totalOffset+=s,this.buffer=this.buffer.slice(s);continue}}var d=this.stack.length>0?this.stack[this.stack.length-1]:null;if(d&&d._implicitOpen&&!this._isRawContent()){var p=this.buffer,f=0;'"'===p[0]&&-1!==p.indexOf("]")&&(p=p.slice(1),f=1);var h=r(p),A=p.indexOf("[");if(-1!==h&&(-1===A||h<A)){if(h>0){var g=p.slice(0,h).trim();if(g){var m={type:"_text",attrs:{},content:g,children:[]};this.streaming?(d.children.push(m),this.onNode(m)):d.children.push(m)}}var v=f+h,b=this._totalOffset+v+1,y=this.stack.pop();y._dslEnd=b,y._dsl=this._dslText.slice(y._dslStart,b),this._totalOffset=b,this.buffer=this.buffer.slice(v+1),this.streaming?(y._stream="close",this.onNode(y)):this.stack.length>0?this.stack[this.stack.length-1].children.push(y):this.onNode(y);continue}}var w=this.buffer.indexOf("[");if(-1===w)break;if(this._tagStartPos=this._totalOffset+w,w>0){var x=this.buffer.slice(0,w);if(x.trim()){var _={type:"_text",attrs:{},content:x,children:[]};this.streaming&&this.stack.length>0?(this.stack[this.stack.length-1].children.push(_),this.onNode(_)):this.stack.length>0?this.stack[this.stack.length-1].children.push(_):this.onNode(_)}}this.buffer=this.buffer.slice(w+1),this._totalOffset=this._tagStartPos+1,this.state="TAG_OPEN"}if("TAG_OPEN"===this.state){if(0===this.buffer.length)break;if(this._isRawContent()){var C=this.stack[this.stack.length-1].type;if(!this.buffer.startsWith("/"+C)){this.buffer="["+this.buffer,--this._totalOffset,this.state="TEXT";continue}}if("/"===this.buffer[0]){this.buffer=this.buffer.slice(1),this._totalOffset+=1,this.state="TAG_CLOSE";continue}var E=/^tr\b/.test(this.buffer)?n(this.buffer):r(this.buffer);if(-1===E)break;for(var T=E,B=!0,S=this.buffer.slice(0,E),D=-1,U=!1,F=0;F<S.length;F++){var I=S[F];if('"'===I)U=!U;else if("["===I&&!U){D=F;break}}if(D>0&&!this._isRawContent()){var L=k(S.slice(0,D).trim());i.has(L.type)&&(T=D,B=!1)}var O=this.buffer.slice(0,T);this.buffer=this.buffer.slice(T+ +!!B);var M=k(O);if(B||(M._implicitOpen=!0),M._dslStart=this._tagStartPos,M._dslEnd=this._totalOffset+T+ +!!B,M._dsl=this._dslText.slice(M._dslStart,M._dslEnd),this._totalOffset=M._dslEnd,this.streaming?this._emitStreaming(M):this._emitBuffered(M),this.state="TEXT",!B)continue}if("TAG_CLOSE"===this.state){var P=this.buffer.indexOf("]");if(-1===P)break;var R=this.buffer.slice(0,P).trim();this.buffer=this.buffer.slice(P+1);var N={ol:"list",ul:"list",i:"item"};N[R]&&(R=N[R]);var z=this._totalOffset+P+1;if(this._totalOffset=z,this.streaming){for(var H=this.stack.length-1;H>=0;H--)if(this.stack[H].type===R){for(;this.stack.length>H+1;){var j=this.stack.pop();j._stream="close",j._dslEnd=z,j._dsl=this._dslText.slice(j._dslStart,z),this.onNode(j)}var Q=this.stack.pop();Q._dslEnd=z,Q._dsl=this._dslText.slice(Q._dslStart,z),this.onNode({type:R,_stream:"close"});break}}else{for(var q=!1,W=this.stack.length-1;W>=0;W--)if(this.stack[W].type===R){for(var K=[];this.stack.length>W+1;){var V=this.stack.pop();V._dslEnd=z,V._dsl=this._dslText.slice(V._dslStart,z),K.unshift(V)}var G=this.stack.pop();G._dslEnd=z,G._dsl=this._dslText.slice(G._dslStart,z),G.children=G.children.concat(K),this.stack.length>0?this.stack[this.stack.length-1].children.push(G):this.onNode(G),q=!0;break}q||console.warn("TokUI Parser: 未匹配的闭合标签 [/"+R+"]")}this.state="TEXT"}}}},{key:"_emitStreaming",value:function(e){if("item"===e.type)for(;this.stack.length>0&&"item"===this.stack[this.stack.length-1].type;){var t=this.stack.pop();t._stream="close",this.onNode(t)}var r=this.stack.length>0&&"p"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1]:null;if(r&&r.content&&!f.has(e.type)){var n=this.stack.pop();n._stream="close",this.onNode(n)}"tr"===e.type&&this._trOpenKey===e._dslStart&&(e._stream="finalize",e._trKey=e._dslStart),d.has(e.type)&&this._skelEmittedKey===e._dslStart&&(e._stream="skeleton-finalize",e._skelKey=e._dslStart);var a=new Set(["tn","popover","input-tag","watermark","badge-box"]),o=i.has(e.type)&&!a.has(e.type)&&e.attrs.tx,s="tn"===e.type&&void 0!==e.attrs.leaf,p="input-tag"===e.type&&e.attrs.tags,h="katex"===e.type&&!!e.attrs.f,A=o||s||p||h||l(e)||u(e),g=e.attrs.cols&&"desc"!==e.type&&"suggestions"!==e.type&&"chart"!==e.type,m=c(e);m&&(e._previewKey=e._dslStart),!i.has(e.type)||g||A||m?(this.stack.length>0&&this.stack[this.stack.length-1].children.push(e),this.onNode(e)):this.stack.length>=this.maxDepth?(console.warn("TokUI Parser: 嵌套深度超过 maxDepth ("+this.maxDepth+"),按自闭合处理"),this.stack.length>0&&this.stack[this.stack.length-1].children.push(e),this.onNode(e)):(e._stream="open",this.stack.push(e),this.onNode(e))}},{key:"_emitBuffered",value:function(e){if("item"===e.type)for(;this.stack.length>0&&"item"===this.stack[this.stack.length-1].type;){var t=this.stack.pop();this.stack.length>0&&this.stack[this.stack.length-1].children.push(t)}var r=this.stack.length>0&&"p"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1]:null;if(r&&r.content&&!f.has(e.type)){var n=this.stack.pop();this.stack.length>0?this.stack[this.stack.length-1].children.push(n):this.onNode(n)}var a=new Set(["tn","popover","input-tag","watermark","badge-box"]),o=i.has(e.type)&&!a.has(e.type)&&e.attrs.tx,s="tn"===e.type&&void 0!==e.attrs.leaf,d="input-tag"===e.type&&e.attrs.tags,p="katex"===e.type&&!!e.attrs.f,h=o||s||d||p||l(e)||u(e),A=e.attrs.cols&&"desc"!==e.type&&"suggestions"!==e.type&&"chart"!==e.type,g=c(e);g&&(e._previewKey=e._dslStart),!i.has(e.type)||A||h||g?this.stack.length>0?this.stack[this.stack.length-1].children.push(e):this.onNode(e):this.stack.length>=this.maxDepth?(console.warn("TokUI Parser: 嵌套深度超过 maxDepth ("+this.maxDepth+"),按自闭合处理"),this.stack.length>0?this.stack[this.stack.length-1].children.push(e):this.onNode(e)):this.stack.push(e)}},{key:"startStream",value:function(){this.reset()}},{key:"endStream",value:function(){this._flush()}}]),e}();("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.TokUIParser=y,window.TokUI._internal.parseTag=k,window.TokUI._internal.setVariantHints=g,window.TokUI._internal.CONTAINERS=i),void 0!==t&&t.exports&&(t.exports={TokUIParser:y,parseTag:k,setVariantHints:g,CONTAINERS:i})})),x=h((function(e,t){function r(e){var t=e||{},r=null!=t.form&&""!==t.form?String(t.form):null;return void 0===t.print?void 0===t.reset?void 0!==t.sub&&!1!==t.sub&&""!==t.sub?{act:"submit",formId:r,handler:!0===t.sub?null:String(t.sub),target:null,trigger:!1}:"submit"===t.t?{act:"submit",formId:r,handler:t.clk?String(t.clk):null,target:null,trigger:!1}:{act:null,formId:r,handler:t.clk?String(t.clk):null,target:null,trigger:!1}:{act:"reset",formId:r,handler:!0===t.reset||""===t.reset||null==t.reset?null:String(t.reset),target:null,trigger:!1}:{act:"print",formId:r,handler:null,target:!0===t.print||""===t.print||null==t.print?"self":String(t.print),trigger:!0}}function c(e,t){if(!e)return null;if(t){var r=e.ownerDocument&&e.ownerDocument.getElementById?e.ownerDocument:("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"?document:null,n=r&&r.getElementById?r.getElementById(t):null;if(n&&"FORM"===n.tagName)return n}return e.closest?e.closest("form"):null}function l(e,t){if(!e)return null;if(t&&"self"!==t){var r=e.ownerDocument&&e.ownerDocument.getElementById?e.ownerDocument:("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"?document:null;return r&&r.getElementById?r.getElementById(t):null}return e.closest&&(e.closest(".tokui-print-area")||e.closest(".tokui-card"))||null}function u(e){if(e&&"function"==typeof CustomEvent&&"function"==typeof e.dispatchEvent)try{e.dispatchEvent(new CustomEvent("tokuireset",{bubbles:!0}))}catch(e){}}var d="function"==typeof m?v().t:("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&window.TokUI._internal.t||function(e){return e};function p(e,t,r){var n=document.createElement(e);return t&&Object.entries(t).forEach((function(e){var t=Object(i.a)(e,2),r=t[0],a=t[1];if(null!=a&&!r.startsWith("on")&&"formaction"!==r){if("style"===r)return void(n.style.cssText=String(a));!0===a?n.setAttribute(r,""):!1===a||n.setAttribute(r,String(a))}})),null!=r&&(n.textContent=r),n}function f(e){var t={};return!e||"string"!=typeof e||e.split(",").forEach((function(e){var r=e.indexOf(":");if(!(r<=0)){var n=e.slice(0,r).trim(),i=e.slice(r+1).trim();/^[\w-]+$/.test(n)&&/^[\w-]+$/.test(i)&&(t[n]=i)}})),t}function h(e,t){var r=null,n=function(){var n=arguments;r&&clearTimeout(r),r=setTimeout((function(){r=null,e.apply(null,n)}),t)};return n.cancel=function(){r&&(clearTimeout(r),r=null)},n}function A(e,t){for(var r=String(null!=e?e:""),n=""===r.trim(),i=String(t||"").split("|").map((function(e){return e.trim()})).filter(Boolean),a=0;a<i.length;a++){var o=i[a],s=o.indexOf(":"),c=-1===s?o:o.slice(0,s),l=-1===s?"":o.slice(s+1);if(!n||"required"===c)switch(c){case"required":if(n)return{name:"required"};break;case"email":if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r))return{name:"email"};break;case"url":if(!/^https?:\/\/\S+$/.test(r))return{name:"url"};break;case"number":if(isNaN(Number(r)))return{name:"number"};break;case"len":var u=parseInt(l,10);if(u>0&&r.length!==u)return{name:"len",n:u};break;case"min":var d=parseInt(l,10);if(d>0&&r.length<d)return{name:"min",n:d};break;case"max":var p=parseInt(l,10);if(p>0&&r.length>p)return{name:"max",n:p};break;case"re":try{if(l&&!new RegExp(l).test(r))return{name:"re"}}catch(e){console.warn('TokUI: 非法校验正则 "'+l+'",已跳过')}break;default:console.warn('TokUI: 未知校验规则 "'+c+'",已跳过')}}return null}var g={img:new Set(["avatar","rounded","bordered"]),card:new Set(["highlight","flat","bordered","center","right"]),btn:new Set(["primary","danger","success","warning","ghost","sm","lg","pill","square","block"]),btngroup:new Set(["vertical","pill"]),table:new Set(["bordered","compact"]),input:new Set(["error","success","sm","lg","underline","pill"]),pwd:new Set(["error","success","sm","lg","underline","pill"]),select:new Set(["error","success"]),picker:new Set(["error","success"]),h1:new Set(["left","center","right","ribbon","underline","badge","pill"]),h2:new Set(["left","center","right","ribbon","underline","badge","pill"]),h3:new Set(["left","center","right","ribbon","underline","badge","pill"]),h4:new Set(["left","center","right","ribbon","underline","badge","pill"]),h5:new Set(["left","center","right","ribbon","underline","badge","pill"]),h6:new Set(["left","center","right","ribbon","underline","badge","pill"]),p:new Set(["left","center","right","muted","bold","sm","lg"]),a:new Set(["muted","danger","success","underline"]),ft:new Set(["left","center","right"]),row:new Set(["left","center","right","inline"]),dv:new Set(["dashed","dotted","sm","md","lg","vert","plain"]),dot:new Set(["sm","lg"]),avatar:new Set(["sm","md","lg","xl"]),tooltip:new Set(["top","bottom","left","right"]),pagination:new Set(["sm","lg"]),switch:new Set(["sm","lg"]),drawer:new Set(["left","right","top","bottom"]),breadcrumb:new Set(["arrow"]),slider:new Set(["sm","lg"]),rate:new Set(["sm","lg"]),transfer:new Set(["sm","lg"]),cascader:new Set(["error","success"]),upload:new Set(["sm","lg"]),tree:new Set(["sm","lg"])},b=function(){function e(t){Object(a.a)(this,e),this.registry={},this.eventBus=t,this.slotStack=[],this._boundElements=[],this._onError=null,this._onComponentEvent=null}return Object(o.a)(e,[{key:"createReporter",value:function(e,t,r){var n=this,i=f(t&&t.on),a=t&&null!=t.id&&""!==t.id?String(t.id):null;return function(t,o){var s=i[t];if(s&&n.eventBus){var c=n.eventBus.getHandler(s);if(c)try{c(null!=o?o:null,null,r||null)}catch(e){console.warn("TokUI: on:"+t+" handler error",e)}else n._warnMissingHandler(s)}if(n._onComponentEvent)try{n._onComponentEvent({type:e,id:a,event:t,detail:null!=o?o:null})}catch(e){}}}},{key:"_warnMissingHandler",value:function(e){this._warnedHandlers=this._warnedHandlers||{},!this._warnedHandlers[e]&&(this._warnedHandlers[e]=!0,console.warn('TokUI: 事件处理器未注册 "'+e+'"(需先 TokUI.registerHandler("'+e+'", fn)),事件已丢弃'))}},{key:"debounce",value:function(e,t){return h(e,t)}},{key:"register",value:function(e,t){this.registry[e]=t}},{key:"onError",value:function(e){this._onError=e}},{key:"render",value:function(e,t,r){if((r||0)>50)return console.warn("TokUI Renderer: 渲染深度超过 50,可能存在循环嵌套"),document.createTextNode("");if("_text"===e.type)return document.createTextNode(e.content);var n=this.registry[e.type];if(!n){var i=p("div",{class:"tokui-unknown","data-tokui-type":e.type});return e.content&&(i.textContent=e.content),i}var a,o=this,s=r||0;try{a=n(e,(function(t){return t.map((function(t){return o.render(t,e.type,s+1)}))}),t)}catch(t){if(console.warn("TokUI Renderer: 组件渲染异常",e.type,t),o._onError)try{o._onError(e.type,t,e)}catch(e){}var c=p("details",{class:"tokui-error","data-tokui-type":e.type}),l=p("summary",{class:"tokui-error__summary"});l.textContent="["+e.type+"] "+d("common.renderFailed"),c.appendChild(l);var u=p("div",{class:"tokui-error__detail"});u.textContent=String(t.message||t),c.appendChild(u),a=c}return this._applyVariants(a,e),a&&1===a.nodeType&&e.type&&"_text"!==e.type&&a.setAttribute("data-tokui-tag",e.type),a}},{key:"_applyVariants",value:function(e,t){var r=t.attrs&&t.attrs.v;if(r&&e&&1===e.nodeType){var n=g[t.type];if(n){var i=e._variantTarget||e;r.split(",").map((function(e){return e.trim()})).filter(Boolean).forEach((function(e){n.has(e)&&i.classList.add("tokui-"+t.type+"--"+e)}))}}}},{key:"mount",value:function(e,t){this._mountRoot=t;var r=this.render(e);return 1===r.nodeType&&(r.style.animation="tokuiFadeIn 0.3s ease"),t.appendChild(r),this.bindEvents(r),r._streamCloseHook&&r._streamCloseHook(),r}},{key:"mountStreaming",value:function(e,t){return this._mountRoot=t,"skeleton-pending"===e._stream?this._streamSkeletonPending(e,t):"skeleton-finalize"===e._stream?this._streamSkeletonFinalize(e,t):e._streamPreview?this._streamChartPreview(e,t):"tr"===e.type&&"open"===e._stream?this._streamTrOpen(e,t):"tr"===e.type&&"preview"===e._stream?this._streamTrPreview(e):"tr"===e.type&&"finalize"===e._stream?this._streamTrFinalize(e,t):"open"===e._stream?this._streamOpen(e,t):"close"===e._stream?this._streamClose(e):"chart"===e.type&&void 0!==e._previewKey?this._streamChartFinalize(e,t):this._streamChild(e,t)}},{key:"_streamChartPreview",value:function(e,t){this._pendingCharts=this._pendingCharts||{};var r=e._previewKey,n=this._pendingCharts[r];if(n)return n._tokuiChartUpdate&&n._tokuiChartUpdate(e.attrs),n;var i=this.render(e),a=this.slotStack.length>0?this.slotStack[this.slotStack.length-1]:null,o=a?a.slot:t;return 1===i.nodeType&&(i.style.animation="tokuiFadeIn 0.3s ease"),o.appendChild(i),this._pendingCharts[r]=i,i}},{key:"_streamChartFinalize",value:function(e,t){this._pendingCharts=this._pendingCharts||{};var r=e._previewKey,n=this._pendingCharts[r];return n?(n._tokuiChartUpdate&&n._tokuiChartUpdate(e.attrs),delete this._pendingCharts[r],n):this._streamChild(e,t)}},{key:"_streamTrOpen",value:function(e,t){var r=this.slotStack.length>0?this.slotStack[this.slotStack.length-1]:null;r&&r.el&&(e._tbodyEl=r.el);var n=this.render(e,r?r.containerType:void 0);return n&&1===n.nodeType&&(n.style.animation="tokuiFadeIn 0.3s ease"),(r?r.slot:t).appendChild(n),this._trRegistry=this._trRegistry||{},this._trRegistry[e._trKey]=n,n}},{key:"_streamTrPreview",value:function(e){this._trRegistry=this._trRegistry||{};var t=this._trRegistry[e._trKey];return t&&t._tokuiTrReconcile&&t._tokuiTrReconcile(e.content||"",!1,e.attrs),t}},{key:"_streamTrFinalize",value:function(e,t){this._trRegistry=this._trRegistry||{};var r=this._trRegistry[e._trKey];return r?(r._tokuiTrReconcile&&r._tokuiTrReconcile(e.content||"",!0,e.attrs),delete this._trRegistry[e._trKey],r):this._streamChild(e,t)}},{key:"_streamSkeletonPending",value:function(e,t){this._pendingSkeletons=this._pendingSkeletons||{};var r=this.slotStack.length>0?this.slotStack[this.slotStack.length-1]:null,n=r?r.slot:t,i=this._buildSkeleton(e.type);return i&&1===i.nodeType&&(i.style.animation="tokuiFadeIn 0.3s ease"),n&&n.appendChild(i),this._pendingSkeletons[e._skelKey]=i,i}},{key:"_streamSkeletonFinalize",value:function(e,t){this._pendingSkeletons=this._pendingSkeletons||{};var r=this._pendingSkeletons[e._skelKey],n=this.slotStack.length>0?this.slotStack[this.slotStack.length-1]:null,i=n?n.containerType:void 0;e._stream=void 0;var a=this.render(e,i);if(r&&r.parentNode)r.parentNode.insertBefore(a,r),r.parentNode.removeChild(r);else if(a){var o=n?n.slot:t;o&&o.appendChild(a)}return delete this._pendingSkeletons[e._skelKey],a}},{key:"_buildSkeleton",value:function(e){return p("div",{class:"tokui-stream-skeleton tokui-stream-skeleton--"+e,"aria-label":d("common.loading"),role:"status"})}},{key:"_streamOpen",value:function(e,t){var r=this.slotStack.length>0?this.slotStack[this.slotStack.length-1]:null,n=this.render(e,r?r.containerType:void 0);n&&1===n.nodeType&&(n._tokuiStreamActive=!0),1===n.nodeType&&!n.classList.contains("tokui-hover-card__content-temp")&&(n.style.animation="tokuiFadeIn 0.3s ease");var i=this.slotStack.length>0?this.slotStack[this.slotStack.length-1].slot:t;if("ft"===e.type&&this.slotStack.length>0){var a=this.slotStack[this.slotStack.length-1];("card"===a.containerType||"dialog"===a.containerType||"drawer"===a.containerType)&&(i=a.el)}if("tab"===e.type&&n._isTab&&this.slotStack.length>0){var o=this.slotStack[this.slotStack.length-1];if("tabs"===o.containerType&&o.el._tabId){var s=o.el,c=s._tabId,l=s._tabCount||0,u=document.createElement("input");u.type="radio",u.name=c,u.className="tokui-tabs-input",u.id=c+"-"+l,u.setAttribute("data-index",String(l)),u.checked=!0,s.appendChild(u);var d=document.createElement("label");return d.className="tokui-tabs-label",d.setAttribute("for",c+"-"+l),d.setAttribute("data-index",String(l)),d.setAttribute("data-tokui-tag","tab"),d.textContent=n._tabTitle||"Tab "+(l+1),s.appendChild(d),n.setAttribute("data-index",String(l)),s.appendChild(n),s._tabCount=l+1,this.slotStack.push({slot:n._slot||n,el:n,containerType:e.type}),n}}if("collapse"===e.type&&this.slotStack.length>0&&"accordion"===this.slotStack[this.slotStack.length-1].containerType){for(var p=this.slotStack[this.slotStack.length-1].el.querySelectorAll(".tokui-collapse"),f=0;f<p.length;f++)p[f]!==n&&(p[f].removeAttribute("open"),p[f].setAttribute("aria-expanded","false"));n.setAttribute("open",""),n.setAttribute("aria-expanded","true")}i.appendChild(n);var h=n._slot||n;return this.slotStack.push({slot:h,el:n,containerType:e.type}),n}},{key:"_streamClose",value:function(e){for(;this.slotStack.length>0;){var t=this.slotStack.pop();if(this.bindEvents(t.el),t.el._streamCloseHook&&t.el._streamCloseHook(),t.el._tokuiType===e.type||this._getNodeType(t.el)===e.type)break}return null}},{key:"_streamChild",value:function(e,t){var r=this.slotStack.length>0?this.slotStack[this.slotStack.length-1]:null,n=r?r.containerType:void 0,i=r?r.slot:t;if(r&&"chart"===r.containerType&&r.el._tokuiChartAppend)return r.el._tokuiChartAppend(e),null;if("ft"===e.type&&r&&("card"===r.containerType||"dialog"===r.containerType||"drawer"===r.containerType)&&(i=r.el),"opt"===e.type&&r&&r.el._slot&&r.el._slot._radioName){var a=r.el._slot._radioName,o=this.render(e,"radio");if(a&&o.querySelector){var s=o.querySelector("input[type=radio]");s&&(s.name=a)}return 1===o.nodeType&&(o.style.animation="tokuiFadeIn 0.3s ease"),i.appendChild(o),o}if("opt"===e.type&&r&&r.el._slot&&r.el._slot._checkboxName){var c=r.el._slot._checkboxName,l=this.render(e,"checkbox");if(c&&l.querySelector){var u=l.querySelector("input[type=checkbox]");u&&(u.name=c)}return 1===l.nodeType&&(l.style.animation="tokuiFadeIn 0.3s ease"),i.appendChild(l),l}if("opt"===e.type&&r&&"picker"===r.containerType){var d=r.slot,p=this.render(e,"picker");1===p.nodeType&&(p.style.animation="tokuiFadeIn 0.3s ease");var f=d.querySelector(".tokui-picker-empty");return f?d.insertBefore(p,f):d.appendChild(p),p}if("opt"===e.type&&r&&"transfer"===r.containerType&&r.el._tokuiTransferAppend){var h=r.el._tokuiTransferAppend(e);return h&&1===h.nodeType&&(h.style.animation="tokuiFadeIn 0.3s ease"),null}var A=this.render(e,n);return 1===A.nodeType&&(A.style.animation="tokuiFadeIn 0.3s ease"),i.appendChild(A),r&&r.el&&r.el._streamAppendHook&&r.el._streamAppendHook(e),0===this.slotStack.length&&this.bindEvents(A),A}},{key:"_collectFormData",value:function(e){var t,r={},a=Object(n.a)(new FormData(e));try{for(a.s();!(t=a.n()).done;){var o=Object(i.a)(t.value,2),s=o[0],c=o[1];void 0===r[s]?r[s]=c:(Array.isArray(r[s])||(r[s]=[r[s]]),r[s].push(c))}}catch(e){a.e(e)}finally{a.f()}return r}},{key:"_reportValidity",value:function(e){return!e||("function"==typeof e.reportValidity?e.reportValidity():"function"!=typeof e.checkValidity||e.checkValidity())}},{key:"_validateRuleFields",value:function(e){if(!e||"function"!=typeof e.querySelectorAll)return!0;var t=null;if(e.querySelectorAll("[data-tokui-rule]").forEach((function(e){"function"==typeof e._tokuiValidate&&e._tokuiValidate()&&!t&&(t=e)})),t){var r=t.querySelector("input, textarea, select");if(r&&"function"==typeof r.focus)try{r.focus()}catch(e){}}return!t}},{key:"_checkFormValidity",value:function(e){return!!this._validateRuleFields(e)&&this._reportValidity(e)}},{key:"_getNodeType",value:function(e){if(e._tokuiType)return e._tokuiType;var t=e.className&&e.className.match&&e.className.match(/tokui-(\w+)/);return t?t[1]:""}},{key:"destroy",value:function(){this._boundElements.forEach((function(e){e.listeners.forEach((function(t){e.element.removeEventListener(t.type,t.fn)})),delete e.element._tokuiBound,delete e.element._tokuiClickBound})),this._boundElements=[],this.slotStack=[]}},{key:"resetSlotStack",value:function(){for(;this.slotStack.length>0;){var e=this.slotStack.pop();this.bindEvents(e.el)}}},{key:"bindEvents",value:function(e){if(this.eventBus&&1===e.nodeType&&!e._tokuiBound){e._tokuiBound=!0;var t=this;e.querySelectorAll("[data-tokui-clk]").forEach((function(r){if(!r._tokuiBound){r._tokuiBound=!0;var n=r.getAttribute("data-tokui-clk");if(n){var i=null;if("submit"===r.getAttribute("type")&&!r.closest("form"))for(var a=r.parentElement;a&&a!==e.parentElement;){var o=a.querySelector("form[data-tokui-sub]");if(o){i=o;break}a=a.parentElement}var s=function(e){if(e.preventDefault(),i){if(!t._checkFormValidity(i))return;var a=i.getAttribute("data-tokui-sub"),o=a?t.eventBus.getHandler(a):null;o&&o(t._collectFormData(i),e,i)}else{var s=t.eventBus.getHandler(n);if(s){var l=r.closest("form");if(!l){var u=r.getAttribute("data-tokui-form");u&&(l=c(r,u))}if(l&&"submit"===r.getAttribute("type")&&!t._checkFormValidity(l))return;s(l?t._collectFormData(l):null,e,r)}else t._warnMissingHandler(n)}};r.addEventListener("click",s),t._boundElements.push({element:r,listeners:[{type:"click",fn:s}]})}}}));var r=[];if("FORM"===e.tagName&&(e.hasAttribute("data-tokui-sub")||e.hasAttribute("data-tokui-clk"))&&r.push(e),e.querySelectorAll("form[data-tokui-sub], form[data-tokui-clk]").forEach((function(e){return r.push(e)})),r.forEach((function(e){if(!e._tokuiFormBound){e._tokuiFormBound=!0;var r=e.getAttribute("data-tokui-sub")||e.getAttribute("data-tokui-clk");if(r){var n=function(n){if(n.preventDefault(),t._checkFormValidity(e)){var i=t.eventBus.getHandler(r);i?i(t._collectFormData(e),n,e):t._warnMissingHandler(r)}};e.addEventListener("submit",n),t._boundElements.push({element:e,listeners:[{type:"submit",fn:n}]})}}})),e.hasAttribute&&e.hasAttribute("data-tokui-clk")&&!e._tokuiClickBound){e._tokuiClickBound=!0;var n=e.getAttribute("data-tokui-clk");if(n){var i=function(r){r.preventDefault();var i=t.eventBus.getHandler(n);if(i){var a=e.closest("form");i(a?t._collectFormData(a):null,r,e)}else t._warnMissingHandler(n)};e.addEventListener("click",i),t._boundElements.push({element:e,listeners:[{type:"click",fn:i}]})}}var a=[];e.hasAttribute&&e.hasAttribute("data-tokui-act")&&a.push(e),e.querySelectorAll("[data-tokui-act]").forEach((function(e){return a.push(e)})),a.forEach((function(e){if(!e._tokuiActBound){e._tokuiActBound=!0;var r=e.getAttribute("data-tokui-act"),n=e.getAttribute("data-tokui-form"),i=function(i){i&&"function"==typeof i.preventDefault&&i.preventDefault(),"submit"===r?t._doSubmit(e,n):"reset"===r?t._doReset(e,n):"print"===r&&t._triggerPrint(e)};e.addEventListener("click",i),t._boundElements.push({element:e,listeners:[{type:"click",fn:i}]})}}))}}},{key:"_doSubmit",value:function(e,t){var r=c(e,t),n=e.getAttribute("data-tokui-sub");if(r){if(this._checkFormValidity(r)&&(n||(n=r.getAttribute("data-tokui-sub")||r.getAttribute("data-tokui-clk")),n)){var i=this.eventBus.getHandler(n);i&&i(this._collectFormData(r),null,r)}}else if(n){var a=this.eventBus.getHandler(n);a&&a(null,null,e)}}},{key:"_doReset",value:function(e,t){var r=c(e,t);if(r){if("function"==typeof r.reset)try{r.reset()}catch(e){}u(r),r.querySelectorAll("[data-tokui-resettable]").forEach((function(e){"function"==typeof e._tokuiReset&&e._tokuiReset()}));var n=e.getAttribute("data-tokui-handler");if(n){var i=this.eventBus.getHandler(n);i&&i(null,null,r)}}}},{key:"_triggerPrint",value:function(e){var t=l(e,e.getAttribute("data-tokui-target")||"self");if(t&&!(("undefined"==typeof window?"undefined":Object(s.a)(window))>"u"||("undefined"==typeof document?"undefined":Object(s.a)(document))>"u")&&document.body&&"function"==typeof window.print){t.classList.add("tokui-print-target"),document.body.setAttribute("data-tokui-printing","1");for(var r=[],n=document.body.children||[],i=0;i<n.length;i++){var a=n[i];a&&1===a.nodeType&&a!==t&&(!a.contains||!a.contains(t))&&(a.setAttribute("data-tokui-print-hidden","1"),r.push(a))}for(var o=[["position","static"],["transform","none"],["perspective","none"],["filter","none"],["backdrop-filter","none"],["will-change","auto"],["contain","none"]],c=[],u=t.parentNode;u&&1===u.nodeType&&u!==document.documentElement;){var d="function"==typeof getComputedStyle?getComputedStyle(u):null;if(d){for(var p=null,f=0;f<o.length;f++){var h=o[f][0],A=o[f][1],g=d.getPropertyValue(h);g&&g!==A&&"normal"!==g&&(p||(p={}),p[h]={v:u.style.getPropertyValue(h),p:u.style.getPropertyPriority(h)},u.style.setProperty(h,A,"important"))}p&&c.push({el:u,saved:p})}u=u.parentNode}var m=!1,v=function e(){if(!m){m=!0,t.classList.remove("tokui-print-target"),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.body&&document.body.removeAttribute("data-tokui-printing");for(var n=0;n<r.length;n++)r[n].removeAttribute("data-tokui-print-hidden");for(var i=0;i<c.length;i++){var a=c[i];for(var o in a.saved)Object.prototype.hasOwnProperty.call(a.saved,o)&&a.el.style.setProperty(o,a.saved[o].v,a.saved[o].p)}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&"function"==typeof window.removeEventListener&&window.removeEventListener("afterprint",e)}};"function"==typeof window.addEventListener&&window.addEventListener("afterprint",v);try{window.print()}catch(e){}setTimeout(v,1e3)}}}]),e}();("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.el=p,window.TokUI._internal.VARIANTS=g,window.TokUI._internal.TokUIRenderer=b,window.TokUI._internal.resolveButtonAction=r,window.TokUI._internal.resolveTargetForm=c,window.TokUI._internal.resolvePrintScope=l,window.TokUI._internal.broadcastTokuiReset=u,window.TokUI._internal.parseOnSpec=f,window.TokUI._internal.debounce=h,window.TokUI._internal.evaluateRules=A),void 0!==t&&t.exports&&(t.exports={el:p,TokUIRenderer:b,VARIANTS:g,resolveButtonAction:r,resolveTargetForm:c,resolvePrintScope:l,broadcastTokuiReset:u,parseOnSpec:f,debounce:h,evaluateRules:A})})),_=h((function(e,t){var r="function"==typeof m?v().t:window.TokUI&&window.TokUI._internal&&window.TokUI._internal.t||function(e){return e};function n(e){var t=null,n=0,i=[],a=null,o=null,s=1,c=0,l=!1,u=!1;function d(){s=1,c=0,l=!1,u=!1}function p(){var e=t.querySelector(".tokui-lightbox__img"),r=[];r.push("scale("+s+")"),r.push("rotate("+c+"deg)"),l&&r.push("scaleX(-1)"),u&&r.push("scaleY(-1)"),e.style.transform=r.join(" "),e.style.cursor=s>1?"grab":"",f()}function f(){if(t){var e=t.querySelector(".tokui-lightbox__scale");e&&(e.textContent=Math.round(100*s)+"%")}}function h(){(t=e.createElement("div")).className="tokui-lightbox",t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true"),t.setAttribute("aria-label",r("lightbox.preview"));var n=e.createElement("img");n.className="tokui-lightbox__img",t.appendChild(n);var i=e.createElement("div");i.className="tokui-lightbox__toolbar";var a=e.createElement("button");a.className="tokui-lightbox__tool",a.setAttribute("aria-label",r("lightbox.zoomIn")),a.innerHTML="+",a.addEventListener("click",(function(e){e.stopPropagation(),A()}));var o=e.createElement("span");o.className="tokui-lightbox__scale",o.textContent="100%";var s=e.createElement("button");s.className="tokui-lightbox__tool",s.setAttribute("aria-label",r("lightbox.zoomOut")),s.innerHTML="−",s.addEventListener("click",(function(e){e.stopPropagation(),g()}));var c=e.createElement("button");c.className="tokui-lightbox__tool",c.setAttribute("aria-label",r("lightbox.reset")),c.innerHTML="↺",c.addEventListener("click",(function(e){e.stopPropagation(),b()}));var l=e.createElement("button");l.className="tokui-lightbox__tool",l.setAttribute("aria-label",r("lightbox.rotateLeft")),l.innerHTML="↺L",l.addEventListener("click",(function(e){e.stopPropagation(),m(-90)}));var u=e.createElement("button");u.className="tokui-lightbox__tool",u.setAttribute("aria-label",r("lightbox.rotateRight")),u.innerHTML="↻R",u.addEventListener("click",(function(e){e.stopPropagation(),m(90)}));var d=e.createElement("button");d.className="tokui-lightbox__tool",d.setAttribute("aria-label",r("lightbox.flipH")),d.innerHTML="↔",d.addEventListener("click",(function(e){e.stopPropagation(),v("h")}));var p=e.createElement("button");p.className="tokui-lightbox__tool",p.setAttribute("aria-label",r("lightbox.flipV")),p.innerHTML="↕",p.addEventListener("click",(function(e){e.stopPropagation(),v("v")}));var f=e.createElement("span");f.className="tokui-lightbox__sep";var h=e.createElement("span");h.className="tokui-lightbox__counter",i.appendChild(s),i.appendChild(o),i.appendChild(a),i.appendChild(c),i.appendChild(f),i.appendChild(l),i.appendChild(u),i.appendChild(d),i.appendChild(p),i.appendChild(f.cloneNode()),i.appendChild(h),t.appendChild(i);var k=e.createElement("div");k.className="tokui-lightbox__filename",t.appendChild(k);var w=e.createElement("button");w.className="tokui-lightbox__prev",w.textContent="‹",w.setAttribute("aria-label","Previous"),t.appendChild(w);var _=e.createElement("button");_.className="tokui-lightbox__next",_.textContent="›",_.setAttribute("aria-label","Next"),t.appendChild(_);var C=e.createElement("button");return C.className="tokui-lightbox__close",C.innerHTML="×",C.setAttribute("aria-label",r("common.close")),C.addEventListener("click",(function(e){e.stopPropagation(),x()})),t.appendChild(C),t.addEventListener("wheel",(function(e){e.preventDefault(),e.deltaY<0?A():g()})),t.addEventListener("click",(function(e){e.target===t&&x()})),w.addEventListener("click",(function(e){e.stopPropagation(),y(-1)})),_.addEventListener("click",(function(e){e.stopPropagation(),y(1)})),t}function A(){s=Math.min(s+.25,5),p()}function g(){s=Math.max(s-.25,.25),p()}function m(e){c=(c+e)%360,p()}function v(e){"h"===e?l=!l:u=!u,p()}function b(){d(),p()}function k(){var e=t.querySelector(".tokui-lightbox__img"),r=t.querySelector(".tokui-lightbox__counter"),a=t.querySelector(".tokui-lightbox__prev"),o=t.querySelector(".tokui-lightbox__next"),s=t.querySelector(".tokui-lightbox__filename");e.src=i[n],r.textContent=i.length>1?n+1+"/"+i.length:"",a.style.display=i.length>1?"":"none",o.style.display=i.length>1?"":"none";var c=function(e){try{var t=e.split("?")[0].split("/"),r=t[t.length-1];return r&&r.length<60?decodeURIComponent(r):""}catch(e){return""}}(i[n]);s.textContent=c,s.style.display=c?"":"none",d(),e.style.transform="",e.style.cursor="",f()}function y(e){n=(n+e+i.length)%i.length,k()}function w(r){if("Escape"===r.key&&x(),"ArrowLeft"===r.key&&y(-1),"ArrowRight"===r.key&&y(1),("+"===r.key||"="===r.key)&&A(),"-"===r.key&&g(),("r"===r.key||"R"===r.key)&&m(r.shiftKey?-90:90),("h"===r.key||"H"===r.key)&&v("h"),("v"===r.key||"V"===r.key)&&v("v"),"0"===r.key&&b(),"Tab"===r.key&&t){var n=t.querySelectorAll("button, [tabindex]");if(0===n.length)return;var i=n[0],a=n[n.length-1];r.shiftKey&&e.activeElement===i?(r.preventDefault(),a.focus()):!r.shiftKey&&e.activeElement===a&&(r.preventDefault(),i.focus())}}function x(){t&&t.parentNode&&t.parentNode.removeChild(t),a&&(e.removeEventListener("keydown",a),a=null),o&&o.focus&&(o.focus(),o=null)}return{open:function(r,s){o=e.activeElement,(n=(i=s||[r]).indexOf(r))<0&&(n=0),t||h(),e.body.appendChild(t),k(),e.addEventListener("keydown",w),a=w;var c=t.querySelector(".tokui-lightbox__close");c&&c.focus()},destroy:x}}var i=null;function a(e){return i||(i=n(e||document)),i}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.createLightbox=n,window.TokUI._internal.getLightbox=a),void 0!==t&&t.exports&&(t.exports={createLightbox:n,getLightbox:a})})),C=h((function(e,t){var r="function"==typeof m?v().t:window.TokUI&&window.TokUI._internal&&window.TokUI._internal.t||function(e){return e},n={},i=["#1677ff","#52c41a","#faad14","#f5222d","#722ed1","#13c2c2","#eb2f96","#fa8c16","#2f54eb","#a0d911"],a=22;function o(e,t){var r=document.createElementNS("http://www.w3.org/2000/svg",e);return t&&Object.keys(t).forEach((function(e){r.setAttribute(e,String(t[e]))})),r}function c(e){return e?String(e).split(",").map((function(e){return parseFloat(e.trim())||0})):[]}function l(e){return e?String(e).split(",").map((function(e){return e.trim()})):[]}function u(e){return e?String(e).split("|").map((function(e){return e.split(",").map((function(e){return parseFloat(e.trim())||0}))})):[]}function d(e){return e?String(e).split(";").map((function(e){var t=e.split(",").map((function(e){return parseFloat(e.trim())||0}));return{x:t[0]||0,y:t[1]||0}})):[]}function p(e){return e?String(e).split(",").map((function(e){return e.trim().replace(/^["']|["']$/g,"")})).filter(f):[]}function f(e){return!(!e||(e=e.trim(),!e))&&!!(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e)||/^var\(--[^)]+\)$/.test(e)||/^(rgba?|hsla?)\([^)]*\)$/i.test(e))}function h(e){if(e.c){var t=String(e.c).split(",").map((function(e){return e.trim().replace(/^["']|["']$/g,"")})).filter(f);if(t.length)return t}return i}function A(e){return Math.max.apply(null,e)}function g(e){return Math.min.apply(null,e)}function b(e,t,r){return Math.max(t,Math.min(r,e))}function k(e,t,r,n,i,a,o){if(void 0!==e[t]&&""!==e[t]){var s=parseInt(e[t],10);if(!isNaN(s)&&s>0)return s}return b(Math.round(n+Math.max(0,r)*i),a,o)}function y(e,t,r,n){return e/t>r&&(t=Math.round(e/r)),Math.min(t,n)}function w(e,t){var r=0,n=o("g",{class:"tokui-chart-tips-layer"});return{layer:n,add:function(i,a,s,c){var l=String(r++);i.setAttribute("data-tip-id",l);var u=a.split(" "),d=0;u.forEach((function(e){d=Math.max(d,function(e){for(var t=0,r=0;r<e.length;r++)t+=e.charCodeAt(r)>127?10:5.5;return t}(e))}));var p=d+16,f=14*u.length+8,h=s-p/2,A=c-f-6;h<2&&(h=2),h+p>e-2&&(h=e-p-2),A<2&&(A=c+10),A+f>t-2&&(A=t-f-2);var g=o("g",{class:"tokui-chart-tip","data-tip-id":l});g.setAttribute("data-tx",s),g.setAttribute("data-ty",c),g.appendChild(o("rect",{x:h,y:A,width:p,height:f,rx:4,fill:"rgba(0,0,0,0.78)"})),u.forEach((function(e,t){var r=o("text",{x:h+p/2,y:A+4+14*(t+.5),"text-anchor":"middle","dominant-baseline":"central",fill:"#fff","font-size":"10"});r.textContent=e,g.appendChild(r)})),n.appendChild(g)}}}function x(e){e.querySelectorAll(".tokui-chart-tip-group").forEach((function(t){t.addEventListener("mouseenter",(function(){var r=t.getAttribute("data-tip-id"),n=e.querySelector('.tokui-chart-tips-layer [data-tip-id="'+r+'"]');n&&(n.style.opacity="1")})),t.addEventListener("mouseleave",(function(){var r=t.getAttribute("data-tip-id"),n=e.querySelector('.tokui-chart-tips-layer [data-tip-id="'+r+'"]');n&&(n.style.opacity="")}))}))}function _(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function C(e,t){if(e.createSVGPoint&&e.getScreenCTM)try{var r=e.createSVGPoint();r.x=t,r.y=0;var n=e.getScreenCTM();if(n)return r.matrixTransform(n.inverse()).x}catch(e){}var i=e.getBoundingClientRect(),a=e.viewBox&&e.viewBox.baseVal;return i&&i.width&&a?(t-i.left)/i.width*a.width+a.x:t-(i?i.left:0)}function E(e){if(!(("undefined"==typeof document?"undefined":Object(s.a)(document))>"u")){var t=e.svg,r=e.padL,n=e.padT,i=e.cw,a=e.ch,c=e.n,l=e.series,u=e.labels,d=o("g",{class:"tokui-chart-axis-pointer"});e.tipLayer.appendChild(d);var p=o("line",{y1:n,y2:n+a,stroke:"var(--tokui-chart-axis, #bbb)","stroke-width":1,"stroke-dasharray":"4,3",opacity:"0","pointer-events":"none"}),f=o("line",{x1:r,x2:r+i,stroke:"var(--tokui-chart-axis, #bbb)","stroke-width":1,"stroke-dasharray":"4,3",opacity:"0","pointer-events":"none"});d.appendChild(p),d.appendChild(f);var h=l.map((function(e){var t=o("circle",{r:5,fill:"var(--tokui-card-bg, #fff)",stroke:e.color,"stroke-width":2.5,opacity:"0","pointer-events":"none"});return d.appendChild(t),t})),A=o("g",{class:"tokui-chart-tip tokui-chart-tip--axis",opacity:"0","pointer-events":"none",style:"transition:opacity .12s ease;"}),g=o("rect",{rx:4,fill:"rgba(0,0,0,0.82)"});A.appendChild(g);var m=o("text",{"text-anchor":"start",fill:"#fff","font-weight":"600"});A.appendChild(m);var v=l.map((function(){var e=o("g",{});return e.appendChild(o("rect",{width:8,height:8,rx:1})),e.appendChild(o("text",{"text-anchor":"start",fill:"#fff"})),A.appendChild(e),e}));d.appendChild(A);var b=o("rect",{x:r,y:n,width:i,height:a,fill:"transparent",style:"cursor:crosshair;"});return t.appendChild(b),b.addEventListener("mousemove",(function(e){y(C(t,e.clientX),function(e,t){if(e.createSVGPoint&&e.getScreenCTM)try{var r=e.createSVGPoint();r.x=0,r.y=t;var n=e.getScreenCTM();if(n)return r.matrixTransform(n.inverse()).y}catch(e){}var i=e.getBoundingClientRect(),a=e.viewBox&&e.viewBox.baseVal;return i&&i.height&&a?(t-i.top)/i.height*a.height+a.y:t-(i?i.top:0)}(t,e.clientY))})),b.addEventListener("mouseleave",k),{show:y,hide:k,overlay:b}}function k(){p.setAttribute("opacity","0"),f.setAttribute("opacity","0"),h.forEach((function(e){e.setAttribute("opacity","0")})),A.style.opacity="0"}function y(r,n){var i=e.toIdx(r);if(i<0||i>=c||!e.inWindow(i))k();else{var a=e.toViewX(i);p.setAttribute("x1",a),p.setAttribute("x2",a),p.setAttribute("opacity","0.9"),f.setAttribute("y1",n),f.setAttribute("y2",n),f.setAttribute("opacity","0.9");var o=t._tokuiBumpedFs||e.bfs||10,s=o+4,d=String(null==u[i]?i+1:u[i]);m.textContent=d,m.setAttribute("font-size",o);var b=D(d)*o/7;v.forEach((function(t,r){var n=l[r].vals[i],s=l[r].markerVals?l[r].markerVals[i]:n,c=(l[r].name?l[r].name+": ":"")+(null!=n?n:"—");t.querySelector("text").textContent=c,t.querySelector("text").setAttribute("font-size",o),t.querySelector("rect").setAttribute("fill",l[r].color);var u=D(c)*o/7;u>b&&(b=u),h[r].setAttribute("cx",a),h[r].setAttribute("cy",null==s?0:e.yOf(s)),h[r].setAttribute("opacity",null==s||null==n?"0":"1")}));var y=b+8+8+14,w=s*(1+l.length)+14,x=r+12,_=n+12;x+y>e.w-2&&(x=r-y-12),x<2&&(x=2),_+w>e.h-2&&(_=n-w-12),_<2&&(_=2),g.setAttribute("x",x),g.setAttribute("y",_),g.setAttribute("width",y),g.setAttribute("height",w),m.setAttribute("x",x+7),m.setAttribute("y",_+7+.85*o),v.forEach((function(e,t){var r=_+7+s*(t+1)+.85*o;e.querySelector("rect").setAttribute("x",x+7),e.querySelector("rect").setAttribute("y",r-.7*o),e.querySelector("text").setAttribute("x",x+7+8+8),e.querySelector("text").setAttribute("y",r)})),A.style.opacity="1"}}}function T(e,t){var r=t.padL,n=t.cw,i=t.n,a=t.plotG,c="tokui-chart-clip-"+ ++F,l=o("defs"),u=o("clipPath",{id:c});u.appendChild(o("rect",{x:r-1,y:t.padT-1,width:n+2,height:t.ch+2})),l.appendChild(u),e.appendChild(l);var d=o("g",{"clip-path":"url(#"+c+")"}),p=a.parentNode,f=a.nextSibling;d.appendChild(a),f?p.insertBefore(d,f):p.appendChild(d);var h=o("g",{class:"tokui-chart-plot-labels"});p.appendChild(h);var A=o("rect",{x:0,y:0,width:0,height:0,rx:4,fill:"rgba(0,0,0,0.78)"}),g=o("text",{"text-anchor":"middle","dominant-baseline":"central",fill:"#fff","font-size":"10"}),m=o("g",{class:"tokui-chart-tip tokui-chart-tip--shared"});m.appendChild(A),m.appendChild(g),t.tipLayer.appendChild(m);var v={s:0,e:i-1,sx:1,tx:0};function k(i,o,s){var c=t.srcLeft(i),l=n/(t.srcRight(o)-c),u=r-l*c;a.setAttribute("transform","matrix("+l+" 0 0 1 "+u+" 0)"),v.s=i,v.e=o,v.sx=l,v.tx=u,_(h),s&&(t.renderLabels(h,i,o),W(h,e)),t.onZoom&&t.onZoom(i,o,l,u)}var y=o("g",{class:"tokui-chart-zoom"});p.appendChild(y);var w=t.h+6,x=16,E=x-2,T=o("rect",{x:r,y:w,width:n,height:x,fill:"var(--tokui-chart-grid, #e8e8e8)",rx:3,class:"tokui-chart-zoom-track"});y.appendChild(T);for(var B=n/i,S=[],D=0;D<i;D++){var O=t.overview[D]||0,M=Math.max(1,(O-t.valMin)/t.range*E),P=o("rect",{x:r+D*B+.5,y:w+x-1-M,width:Math.max(1,B-1),height:M,fill:"var(--tokui-chart-text, #bbb)",opacity:"0.55",class:"tokui-chart-zoom-overview"});y.appendChild(P),S.push({el:P,val:O})}var R=o("rect",{y:w-1,height:x+2,fill:"rgba(0,120,212,0.12)",stroke:"var(--tokui-primary-6, #1a73e8)","stroke-width":1,rx:2,class:"tokui-chart-zoom-window",style:"cursor:grab;"}),N=o("rect",{width:6,height:x+6,y:w-3,fill:"var(--tokui-primary-6, #1a73e8)",rx:2,class:"tokui-chart-zoom-handle tokui-chart-zoom-handle--l",style:"cursor:ew-resize;"}),z=o("rect",{width:6,height:x+6,y:w-3,fill:"var(--tokui-primary-6, #1a73e8)",rx:2,class:"tokui-chart-zoom-handle tokui-chart-zoom-handle--r",style:"cursor:ew-resize;"});y.appendChild(R),y.appendChild(N),y.appendChild(z);var H=0,Q=1,q=Math.max(2,Math.floor(.1*i))/(i-1);function K(e,t){var i=r+e*n,a=r+t*n;R.setAttribute("x",i),R.setAttribute("width",Math.max(2,a-i)),N.setAttribute("x",i-3),z.setAttribute("x",a-3)}K(H,Q);var V=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&"function"==typeof window.requestAnimationFrame,G=!1,Y=null;function X(e){K(H,Q);var t=j(i,H,Q);e?function(e,t){Y=[e,t],!G&&(G=!0,V?window.requestAnimationFrame((function(){G=!1,Y&&k(Y[0],Y[1],!1)})):(G=!1,k(e,t,!1)))}(t.s,t.e):(Y=null,k(t.s,t.e,!0))}function $(t,i){function a(a,o){var s=!0,c=a;function l(t){t.preventDefault(),function(e){if(s){var t=b((e-r)/n,0,1);if("l"===i)H=Math.min(t,Q-q);else if("r"===i)Q=Math.max(t,H+q);else{var a=Q-H;H=b(H+(e-c)/n,0,1-a),Q=H+a}c=e,X(!0)}}(C(e,t.clientX))}t.addEventListener("pointermove",l),t.addEventListener("pointerup",(function e(){s=!1,t.removeEventListener("pointermove",l),t.removeEventListener("pointerup",e);try{t.releasePointerCapture(o)}catch(e){}X(!1)}))}t.style.touchAction="none",t.style.userSelect="none",t.style.webkitUserDrag="none",t.addEventListener("pointerdown",(function(r){r.preventDefault(),r.stopPropagation();try{t.setPointerCapture(r.pointerId)}catch(e){}a(C(e,r.clientX),r.pointerId)}))}return $(N,"l"),$(z,"r"),$(R,"pan"),k(0,i-1,!0),e._tokuiZoomRelayout=function(r){if(r>0){var n=L(9,r,U,I);e._tokuiBumpedFs=n,g&&g.setAttribute("font-size",n);var i=Math.min(26,Math.max(16,14/r)),a=Math.min(24,Math.max(6,10/r));E=(x=i)-2,T.setAttribute("height",x),R.setAttribute("height",x+2),N.setAttribute("width",a),N.setAttribute("height",x+6),z.setAttribute("width",a),z.setAttribute("height",x+6);for(var o=0;o<S.length;o++){var s=Math.max(1,(S[o].val-t.valMin)/t.range*E);S[o].el.setAttribute("y",w+x-1-s),S[o].el.setAttribute("height",s)}}},{showTip:function(r,n,i){for(var a=e._tokuiBumpedFs||10,o=a/10,s=0,c=0;c<r.length;c++)s+=r.charCodeAt(c)>127?10:5.5;var l=s*o+16,u=18*o,d=n-l/2,p=i-u-6;d<2&&(d=2),d+l>t.w-2&&(d=t.w-l-2),p<2&&(p=i+10),A.setAttribute("x",d),A.setAttribute("y",p),A.setAttribute("width",l),A.setAttribute("height",u),g.setAttribute("x",d+l/2),g.setAttribute("y",p+u/2+1),g.setAttribute("font-size",a),g.textContent=r,m.style.opacity="1"},winState:v,sharedTip:m,clipG:d}}function B(e,t,r,n,i,a){if(t&&t.length){i>0||(i=7);var s=t.map((function(e){return{e:e,w:12+D(e.text)*(i/7)}})),c=s.reduce((function(e,t){return e+t.w}),0),l=14;if(a&&s.length>1){var u=Math.max(0,r-8-c)/(s.length-1);l=Math.max(18,Math.min(56,u))}var d=c+l*(s.length-1),p=Math.max(4,(r-d)/2);s.forEach((function(t){e.appendChild(o("rect",{x:p,y:n+1,width:8,height:8,fill:t.e.color,rx:1.5}));var r=o("text",{x:p+8+4,y:n+7,fill:"var(--tokui-chart-text, #999)","font-size":String(i)});r.textContent=t.e.text,e.appendChild(r),p+=t.w+l}))}}function S(e,t,n){var i=o("svg",{viewBox:"0 0 "+e+" "+t,class:"tokui-chart__svg tokui-chart__svg--empty",preserveAspectRatio:"xMidYMid meet"}),a=o("text",{x:e/2,y:t/2,"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-chart-text, #bbb)","font-size":"11"});return a.textContent=n||r("chart.empty"),i.appendChild(a),i}function D(e){for(var t=0,r=0;r<e.length;r++)t+=e.charCodeAt(r)>127?8:4.5;return t}var U=14,F=0,I=16;function L(e,t,r,n){if(!(t>0))return e;var i=e*t;return n>0&&i>n?n/t:r>0&&i<r?r/t:e}function O(e,t){if(t>0){var r=L(10,t,U,I)/10;if(!(Math.abs(r-1)<.005))for(var n=e.querySelectorAll(".tokui-chart-tips-layer .tokui-chart-tip:not(.tokui-chart-tip--shared):not(.tokui-chart-tip--axis)"),i=0;i<n.length;i++){var a=n[i],o=parseFloat(a.getAttribute("data-tx")),s=parseFloat(a.getAttribute("data-ty"));if(!isFinite(o)||!isFinite(s)){var c=a.querySelector("rect");c?(o=parseFloat(c.getAttribute("x"))+parseFloat(c.getAttribute("width"))/2,s=parseFloat(c.getAttribute("y"))+parseFloat(c.getAttribute("height"))/2):(o=0,s=0)}a.setAttribute("transform","translate("+o+" "+s+") scale("+Math.round(1e3*r)/1e3+") translate("+-o+" "+-s+")")}}}function M(e,t,r,n,i){if(!(e>0&&t>=0&&n>=0&&i>0))return 0;var a=e-2*i*(n-1);return a<=0?0:2*i*(t+r)/a}function P(e,t){(!(e>0)||!isFinite(e))&&(e=1);var r=Math.floor(Math.log10(e)),n=e/Math.pow(10,r);return(t?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,r)}function R(e,t){if(!isFinite(e)||!isFinite(t))return[0,1];e===t&&(--e,t+=1);var r=P(P(t-e,!1)/5,!0)||1;return[Math.floor(e/r)*r,Math.ceil(t/r)*r]}function N(e,t,r,n){if(void 0!==e[t]&&""!==e[t]){var i=parseFloat(e[t]);if(!isNaN(i))return i}return void 0===e[r]?n:+e[r]}function z(e,t,r,n,i,a){var o=e.length,s=r||30;if(!o)return{rotate:!1,padB:s,interval:1};for(var c=n||t*o,l=0,u=0;u<o;u++)if(null!=e[u]&&""!==e[u]){var d=D(String(e[u]));d>l&&(l=d)}var p=I/7*l,f=Math.max(38,1.15*p),h=Math.max(27.36,.72*p),A=Math.max(1,Math.floor(c/f)),g=Math.max(1,Math.floor(c/h)),m=1,v=!1,b=void 0===i?"auto":String(i);if("0"===b)m=1,v=o>A&&(o<=g||o<=10);else if("auto"===b)o<=A?(m=1,v=!1):o<=10||o<=g?(m=1,v=!0):(m=Math.ceil(o/A),v=!1);else{var k=parseInt(b,10);!isNaN(k)&&k>1?(m=k,v=Math.ceil(o/m)>A&&Math.ceil(o/m)<=g):(m=1,v=o>A)}return v&&(s=Math.max(r||30,Math.ceil(12+p*Math.SQRT1_2+3+(a?12:0)))),{rotate:v,padB:s,interval:m}}function H(e,t){var r=e.zoom;if(void 0===r)return!1;var n=String(r);if(""===n||"auto"===n||"on"===n||"true"===n)return t>30;if("off"===n||"false"===n||"0"===n)return!1;var i=parseInt(n,10);return isNaN(i)?t>30:t>i}function j(e,t,r){if(e<=1)return{s:0,e:Math.max(0,e-1)};var n=Math.round(t*(e-1)),i=Math.round(r*(e-1));if(n<0&&(n=0),i>e-1&&(i=e-1),n>i){var a=n;n=i,i=a}var o=Math.min(e-1,Math.max(2,Math.floor(.1*e)));return i-n<o&&(n+o<=e-1?i=n+o:(i=e-1,n=Math.max(0,i-o))),{s:n,e:i}}function Q(e,t,r,n){return r?e-t+12:e-8-(n?12:0)}function q(e,t,r,n,i,a,s){var c=.9*(i||40),l="boolean"==typeof a,u=s&&s>1?s:1,d=t.length-1;t.forEach((function(t,i){if(null!=t&&""!==t&&!(u>1&&0!==i&&i!==d&&i%u!=0)){var s=r[i],p=l?a:D(String(t))>c,f=o("text",{x:s,y:n,"text-anchor":p?"end":"middle",fill:"var(--tokui-chart-text, #999)","font-size":"9"});p&&f.setAttribute("transform","rotate(-45 "+s+" "+n+")"),f.textContent=t,e.appendChild(f)}}))}function W(e,t){var r=t&&t._tokuiBumpedFs;if(r>0)for(var n=e.querySelectorAll("text"),i=0;i<n.length;i++)n[i].setAttribute("font-size",r)}function K(e,t,r,n,i){var a=o("text",{x:r,y:n,"text-anchor":"middle",fill:"var(--tokui-chart-text, #666)","font-size":"9"});i&&a.setAttribute("transform","rotate(-90 "+r+" "+n+")"),a.textContent=t,e.appendChild(a)}function V(e,t,r,n){var i=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&"function"==typeof window.requestAnimationFrame,a=i&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(r>0&&i&&!a){var o=null;window.requestAnimationFrame((function i(a){null===o&&(o=a);var s=Math.min(1,(a-o)/r),c=1-Math.pow(1-s,3);n(e+(t-e)*c),s<1&&window.requestAnimationFrame(i)}))}else n(t)}function G(e){return 3===(e=String(e).replace("#","")).length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),/^[0-9a-fA-F]{6}$/.test(e)?[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]:null}function Y(e,t){if(t=b(t,0,1),1===e.length)return e[0];var r=t*(e.length-1),n=Math.min(e.length-2,Math.floor(r));return function(e,t,r){var n=G(e),i=G(t);return n&&i?"rgb("+Math.round(n[0]+(i[0]-n[0])*r)+","+Math.round(n[1]+(i[1]-n[1])*r)+","+Math.round(n[2]+(i[2]-n[2])*r)+")":e}(e[n],e[n+1],r-n)}function X(e,t,n,i){var c="h"===i.orient||"h"===i.orientation,l=void 0!==i.stack||void 0!==i.stacked,d=u(i.d);if(d.length||(d=[e]),d.every((function(e){return!e.length})))return S(parseInt(i.w)||400,parseInt(i.h)||200);var p,f,h=Math.max.apply(null,d.map((function(e){return e.length})));c?(p=parseInt(i.w)||480,f=k(i,"h",h,36,26,200,1200)):(p=k(i,"w",h,52,26,360,2400),f=y(p,parseInt(i.h)||200,4,560));var A=d.length>1,g=!c&&H(i,h),m=f+(A?a:0)+(g?28:0),v=0,E=0;if(l)for(var T=0;T<h;T++){var D=0,U=0;d.forEach((function(e){var t=e[T]||0;t>=0?D+=t:U+=t})),D>v&&(v=D),U<E&&(E=U)}else d.forEach((function(e){e.forEach((function(e){e>v&&(v=e),e<E&&(E=e)}))}));var I=(v=N(i,"ymax","_yMax",v||1))-E||1,L=o("svg",{viewBox:"0 0 "+p+" "+m,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),O=w(p,m);var M=[],P=[];if(c){var R=i.xl?30:22,V=14,G=i.yl?30:16,Y=p-70-G,X=f-V-R,$=X/h,Z=Math.max(3,l?.6*$:.6*$/d.length);function J(e){return 70+Y*(e-E)/I}for(var ee=0;ee<=4;ee++){var te=E+I*ee/4,re=J(te);L.appendChild(o("line",{x1:re,y1:V,x2:re,y2:V+X,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),L.appendChild(o("text",{x:re,y:V+X+10,"text-anchor":"middle",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(te)}d.forEach((function(e,a){e.forEach((function(e,s){if(null!=e){var c=function(e,t,r){var n=l?r>=0?M[t]||0:P[t]||0:0,i=r>=0?n+r:n,a=r>=0?n:n+r;return l&&(r>=0?M[t]=i:P[t]=a),[a,i]}(0,s,e),u=J(c[0]),p=Math.max(0,J(c[1])-u),f=V+s*$+.2*$+(l?0:a*Z),h=o("g",{class:"tokui-chart-tip-group"});if(h.appendChild(o("rect",{x:u,y:f,width:p,height:Z-1,fill:n[a%n.length],rx:2,class:"tokui-chart-bar"})),O.add(h,(t[s]||"")+": "+e+(d.length>1?" ("+r("chart.seriesDefault",{n:a+1})+")":""),u+p/2,f),L.appendChild(h),void 0!==i.vals){var A=o("text",{x:u+p+3,y:f+Z/2+2,"text-anchor":"start",fill:"var(--tokui-chart-text, #666)","font-size":"8"});A.textContent=e,L.appendChild(A)}}}))})),t.slice(0,h).forEach((function(e,t){if(null!=e&&""!==e){var r=V+t*$+$/2;L.appendChild(o("text",{x:64,y:r+3,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=e}})),i.xl&&K(L,i.xl,70+Y/2,V+X+22,!1),i.yl&&K(L,i.yl,12,V+X/2,!0)}else{var ne=i._padL?+i._padL:i.yl?46:40,ie=p-ne-12,ae=ie/h,oe=z(t.slice(0,h),ae,i.xl?38:28,ie,i.interval,!!i.xl),se=oe.padB,ce=f-18-se;function le(e){return 18+ce*(1-(e-E)/I)}for(var ue=0;ue<=4;ue++){var de=E+I*ue/4,pe=le(de);L.appendChild(o("line",{x1:ne,y1:pe,x2:p-12,y2:pe,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),L.appendChild(o("text",{x:ne-4,y:pe+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(de)}if(E<0){var fe=le(0);L.appendChild(o("line",{x1:ne,y1:fe,x2:p-12,y2:fe,stroke:"var(--tokui-chart-axis, #bbb)","stroke-width":1}))}var he=o("g",{class:"tokui-chart-plot"});L.appendChild(he);var Ae=g&&1===d.length&&!l,ge=null,me=null,ve=null,be=null,ke=null,ye=null,we=ie/h,xe=Math.max(4,.6*we),_e={s:0,e:h-1,sx:1,tx:0};if(Ae){var Ce="tokui-chart-clip-"+ ++F,Ee=o("defs");(D=o("clipPath",{id:Ce})).appendChild(o("rect",{x:ne-1,y:17,width:ie+2,height:ce+2})),Ee.appendChild(D),L.appendChild(Ee);var Te=o("g",{"clip-path":"url(#"+Ce+")"});he.appendChild(Te),me=o("g",{class:"tokui-chart-plot-bars"}),Te.appendChild(me),ge=[];for(var Be=d[0],Se=0;Se<h;Se++){var De=Be[Se],Ue=o("rect",{x:ne+Se*we+.2*we,y:le(De),width:Math.max(1,xe-1),height:Math.max(0,De/I*ce),rx:2,fill:n[0],class:"tokui-chart-bar"});me.appendChild(Ue),ge.push(Ue)}ve=o("g",{class:"tokui-chart-plot-labels"}),he.appendChild(ve),ke=o("rect",{x:0,y:0,width:0,height:0,rx:4,fill:"rgba(0,0,0,0.78)"}),ye=o("text",{"text-anchor":"middle","dominant-baseline":"central",fill:"#fff","font-size":"10"}),(be=o("g",{class:"tokui-chart-tip tokui-chart-tip--shared"})).appendChild(ke),be.appendChild(ye),O.layer.appendChild(be)}function Fe(e,a,s){var c=a-e+1;if(Ae){var u=h/c,p=ne-u*(ne+e*we);if(me.setAttribute("transform","matrix("+u+" 0 0 1 "+p+" 0)"),_e.s=e,_e.e=a,_e.sx=u,_e.tx=p,_(ve),s){for(var A=ie/c,m=[],v=0;v<c;v++)m.push(ne+v*A+A/2);q(ve,t.slice(e,a+1),m,Q(f,se,oe.rotate,!!i.xl),A,oe.rotate,oe.interval),W(ve,L)}}else{var b=ie/c;_(he),s&&_(O.layer);var k=Math.max(4,l?.6*b:.6*b/d.length),y=[],w=[];d.forEach((function(c,u){for(var p=e;p<=a;p++){var f=c[p];if(null!=f){var h=l?f>=0?y[p]||0:w[p]||0:0,A=f>=0?h+f:h,g=f>=0?h:h+f;l&&(f>=0?y[p]=A:w[p]=g);var m=le(A),v=Math.max(0,(A-g)/I*ce),x=ne+(p-e)*b+.2*b+(l?0:u*k),_=o("g",{class:"tokui-chart-tip-group"});if(_.appendChild(o("rect",{x:x,y:m,width:k-1,height:v,fill:n[u%n.length],rx:2,class:"tokui-chart-bar"})),s&&O.add(_,(t[p]||"")+": "+f+(d.length>1?" ("+r("chart.seriesDefault",{n:u+1})+")":""),x+(k-1)/2,m),he.appendChild(_),void 0!==i.vals){var C=o("text",{x:x+(k-1)/2,y:m-3,"text-anchor":"middle",fill:"var(--tokui-chart-text, #666)","font-size":"8"});C.textContent=f,he.appendChild(C)}}}}));for(var x=[],C=0;C<c;C++)x.push(ne+C*b+b/2);q(he,t.slice(e,a+1),x,Q(f,se,oe.rotate,!!i.xl),b,oe.rotate,oe.interval),W(he,L),s&&g&&function(e,t){e.querySelectorAll(".tokui-chart-tip-group:not([data-tip-bound])").forEach((function(e){e.setAttribute("data-tip-bound","1"),e.addEventListener("mouseenter",(function(){var r=e.getAttribute("data-tip-id"),n=t.querySelector('.tokui-chart-tips-layer [data-tip-id="'+r+'"]');n&&(n.style.opacity="1")})),e.addEventListener("mouseleave",(function(){var r=e.getAttribute("data-tip-id"),n=t.querySelector('.tokui-chart-tips-layer [data-tip-id="'+r+'"]');n&&(n.style.opacity="")}))}))}(he,L)}}if(Fe(0,h-1,!0),Ae){ge.forEach((function(e,r){e.addEventListener("mouseenter",(function(){var e=d[0][r];if(null!=e){var n=ne+r*we+.2*we+(xe-1)/2,i=_e.sx*n+_e.tx,a=le(e);!function(e,t,r){for(var n=L._tokuiBumpedFs||10,i=n/10,a=0,o=0;o<e.length;o++)a+=e.charCodeAt(o)>127?10:5.5;var s=a*i+16,c=18*i,l=t-s/2,u=r-c-6;l<2&&(l=2),l+s>p-2&&(l=p-s-2),u<2&&(u=r+10),ke.setAttribute("x",l),ke.setAttribute("y",u),ke.setAttribute("width",s),ke.setAttribute("height",c),ye.setAttribute("x",l+s/2),ye.setAttribute("y",u+c/2+1),ye.setAttribute("font-size",n),ye.textContent=e,be.style.opacity="1"}((t[r]||"")+": "+e,i,a)}})),e.addEventListener("mouseleave",(function(){be.style.opacity=""}))}))}i.xl&&K(L,i.xl,ne+ie/2,f-3,!1),i.yl&&K(L,i.yl,12,18+ce/2,!0),g&&function(){var e=o("g",{class:"tokui-chart-zoom"});L.appendChild(e);var t=f+6,r=16;e.appendChild(o("rect",{x:ne,y:t,width:ie,height:r,fill:"var(--tokui-chart-grid, #e8e8e8)",rx:3,class:"tokui-chart-zoom-track"}));var n=[];d.forEach((function(e){for(var t=0;t<e.length;t++){var r=e[t]||0;n[t]=l?(n[t]||0)+r:Math.max(n[t]||0,r)}}));for(var i=ie/h,a=0;a<h;a++){var c=Math.max(1,(n[a]-E)/I*14);e.appendChild(o("rect",{x:ne+a*i+.5,y:t+r-1-c,width:Math.max(1,i-1),height:c,fill:"var(--tokui-chart-text, #bbb)",opacity:"0.55",class:"tokui-chart-zoom-overview"}))}var u=o("rect",{y:t-1,height:18,fill:"rgba(0,120,212,0.12)",stroke:"var(--tokui-primary-6, #1a73e8)","stroke-width":1,rx:2,class:"tokui-chart-zoom-window",style:"cursor:grab;"}),p=o("rect",{width:6,height:22,y:t-3,fill:"var(--tokui-primary-6, #1a73e8)",rx:2,class:"tokui-chart-zoom-handle tokui-chart-zoom-handle--l",style:"cursor:ew-resize;"}),A=o("rect",{width:6,height:22,y:t-3,fill:"var(--tokui-primary-6, #1a73e8)",rx:2,class:"tokui-chart-zoom-handle tokui-chart-zoom-handle--r",style:"cursor:ew-resize;"});e.appendChild(u),e.appendChild(p),e.appendChild(A);var g=0,m=1,v=Math.max(2,Math.floor(.1*h))/(h-1);function k(e,t){var r=ne+e*ie,n=ne+t*ie;u.setAttribute("x",r),u.setAttribute("width",Math.max(2,n-r)),p.setAttribute("x",r-3),A.setAttribute("x",n-3)}k(g,m);var y=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&"function"==typeof window.requestAnimationFrame,w=!1,x=null;function _(e){k(g,m);var t=j(h,g,m);e?function(e,t){x=[e,t],!w&&(w=!0,y?window.requestAnimationFrame((function(){w=!1,x&&Fe(x[0],x[1],!1)})):(w=!1,Fe(e,t,!1)))}(t.s,t.e):(x=null,Fe(t.s,t.e,!0))}function T(e,t){function r(r,n){var i=!0,a=r;function o(e){e.preventDefault(),function(e){if(i){var r=b((e-ne)/ie,0,1);if("l"===t)g=Math.min(r,m-v);else if("r"===t)m=Math.max(r,g+v);else{var n=m-g;g=b(g+(e-a)/ie,0,1-n),m=g+n}a=e,_(!0)}}(C(L,e.clientX))}e.addEventListener("pointermove",o),e.addEventListener("pointerup",(function t(){i=!1,e.removeEventListener("pointermove",o),e.removeEventListener("pointerup",t);try{e.releasePointerCapture(n)}catch(e){}_(!1)}))}e.style.touchAction="none",e.style.userSelect="none",e.style.webkitUserDrag="none",e.addEventListener("pointerdown",(function(t){t.preventDefault(),t.stopPropagation();try{e.setPointerCapture(t.pointerId)}catch(e){}r(C(L,t.clientX),t.pointerId)}))}T(p,"l"),T(A,"r"),T(u,"pan")}()}return A&&B(L,d.map((function(e,t){return{color:n[t%n.length],text:r("chart.seriesDefault",{n:t+1})}})),p,f+6),L.appendChild(O.layer),g||x(L),L}function $(e,t,n,i){var s=void 0!==i.stack||void 0!==i.stacked,c=void 0!==i.smooth,l=u(i.d);if(l.length||(l=[e]),l.every((function(e){return!e.length})))return S(parseInt(i.w)||400,parseInt(i.h)||200);var d=Math.max.apply(null,l.map((function(e){return e.length}))),p=k(i,"w",d,52,24,360,2400),f=y(p,parseInt(i.h)||200,4,560),h=l.length>1,A=H(i,d),g=f+(h?a:0)+(A?28:0),m=l.map((function(e){return e.slice()}));if(s)for(var v=1;v<m.length;v++)for(var b=0;b<d;b++)m[v][b]=(m[v][b]||0)+(m[v-1][b]||0);var _=0,C=1/0;m.forEach((function(e){e.forEach((function(e){e>_&&(_=e),e<C&&(C=e)}))})),C===1/0&&(C=0),C>0&&!s&&(C=0);var D=_-C||1,U=18,F=i._padL?+i._padL:i.yl?46:40,I=p-F-12,L=d>1?I/(d-1):I,O=z(t.slice(0,d),L,i.xl?38:28,I,i.interval,!!i.xl),M=O.padB,P=f-U-M,R=o("svg",{viewBox:"0 0 "+p+" "+g,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),N=w(p,g);function j(e){return F+(d>1?e*I/(d-1):I/2)}function W(e){return U+P*(1-(e-C)/D)}for(var V=0;V<=4;V++){var G=C+D*V/4,Y=W(G);R.appendChild(o("line",{x1:F,y1:Y,x2:p-12,y2:Y,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),R.appendChild(o("text",{x:F-4,y:Y+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(10*G)/10}function X(e){if(e.length<2)return e.length?"M"+e[0].x+","+e[0].y:"";if(2===e.length)return"M"+e[0].x+","+e[0].y+" L"+e[1].x+","+e[1].y;for(var t="M"+e[0].x+","+e[0].y,r=0;r<e.length-1;r++){var n=e[r-1]||e[r],i=e[r],a=e[r+1],o=e[r+2]||a;t+=" C"+(i.x+(a.x-n.x)/6)+","+(i.y+(a.y-n.y)/6)+" "+(a.x-(o.x-i.x)/6)+","+(a.y-(o.y-i.y)/6)+" "+a.x+","+a.y}return t}var $=A?o("g",{class:"tokui-chart-plot"}):null;$&&R.appendChild($);var Z=A?o("g",{class:"tokui-chart-plot-dots"}):null;Z&&R.appendChild(Z);var J=$||R,ee=[];if(m.forEach((function(e,t){for(var r=[],a=0;a<e.length;a++){var u=e[a];null!=u&&r.push({x:j(a),y:W(u),idx:a})}if(r.length){if(void 0!==i.area||s)if(s&&t>0){for(var d=[],p=0;p<m[t-1].length;p++)void 0!==m[t-1][p]&&d.push({x:j(p),y:W(m[t-1][p])});var f="M"+r[0].x+","+r[0].y;r.forEach((function(e){f+=" L"+e.x+","+e.y}));for(var h=d.length-1;h>=0;h--)f+=" L"+d[h].x+","+d[h].y;f+=" Z",J.appendChild(o("path",{d:f,fill:n[t%n.length],opacity:"0.4"}))}else{var g=W(Math.max(0,C)),v="M"+r[0].x+","+g;r.forEach((function(e){v+=" L"+e.x+","+e.y})),v+=" L"+r[r.length-1].x+","+g+" Z",J.appendChild(o("path",{d:v,fill:n[t%n.length],opacity:"0.15"}))}c?J.appendChild(o("path",{d:X(r),fill:"none",stroke:n[t%n.length],"stroke-width":2,"stroke-linejoin":"round","stroke-linecap":"round"})):J.appendChild(o("polyline",{points:r.map((function(e){return e.x+","+e.y})).join(" "),fill:"none",stroke:n[t%n.length],"stroke-width":2,"stroke-linejoin":"round"}));var b=l[t];r.forEach((function(r){var a=A?Z:R,s=o("circle",{cx:r.x,cy:r.y,r:3,fill:"#fff",stroke:n[t%n.length],"stroke-width":2,class:"tokui-chart-dot"});a.appendChild(s),A&&ee.push({circle:s,idx:r.idx,x:r.x,si:t}),void 0!==i.vals&&(J.appendChild(o("text",{x:r.x,y:r.y-6,"text-anchor":"middle",fill:n[t%n.length],"font-size":"8"})).textContent=void 0===b[r.idx]?e[r.idx]:b[r.idx])}))}})),A){var te=T(R,{plotG:$,tipLayer:N.layer,padL:F,cw:I,padT:U,ch:P,h:f,w:p,n:d,srcLeft:function(e){return F+(d>1?e*I/(d-1):0)},srcRight:function(e){return F+(d>1?e*I/(d-1):I)},overview:l.reduce((function(e,t){for(var r=0;r<t.length;r++){var n=t[r]||0;e[r]=Math.max(e[r]||0,n)}return e}),[]),valMin:C,range:D,renderLabels:function(e,r,n){for(var a=n-r,o=[],s=r;s<=n;s++)o.push(a>0?F+(s-r)*I/a:F+I/2);q(e,t.slice(r,n+1),o,Q(f,M,O.rotate,!!i.xl),L,O.rotate,O.interval)},onZoom:function(e,t,r,n){for(var i=0;i<ee.length;i++){var a=ee[i];a.circle.setAttribute("cx",r*a.x+n)}}});te.clipG.appendChild(Z),E({svg:R,padL:F,padT:U,cw:I,ch:P,w:p,h:f,n:d,labels:t,series:l.map((function(e,t){return{color:n[t%n.length],name:r("chart.seriesDefault",{n:t+1}),vals:e,markerVals:m[t]}})),valMin:C,range:D,yOf:W,tipLayer:N.layer,bfs:9,toViewX:function(e){return te.winState.sx*j(e)+te.winState.tx},toIdx:function(e){var t=(e-te.winState.tx)/te.winState.sx;return Math.round((t-F)*(d-1)/I)},inWindow:function(e){return e>=te.winState.s&&e<=te.winState.e}})}else{for(var re=[],ne=0;ne<d;ne++)re.push(j(ne));q(R,t.slice(0,d),re,Q(f,M,O.rotate,!!i.xl),L,O.rotate,O.interval),E({svg:R,padL:F,padT:U,cw:I,ch:P,w:p,h:f,n:d,labels:t,series:l.map((function(e,t){return{color:n[t%n.length],name:r("chart.seriesDefault",{n:t+1}),vals:e,markerVals:m[t]}})),valMin:C,range:D,yOf:W,tipLayer:N.layer,bfs:9,toViewX:j,toIdx:function(e){return Math.round((e-F)*(d-1)/I)},inWindow:function(){return!0}})}return i.xl&&K(R,i.xl,F+I/2,f-3,!1),i.yl&&K(R,i.yl,12,U+P/2,!0),h&&B(R,l.map((function(e,t){return{color:n[t%n.length],text:r("chart.seriesDefault",{n:t+1})}})),p,f+6),R.appendChild(N.layer),A||x(R),R}function Z(e,t,r,n,i){n>0||(n=7);var o=0;e.forEach((function(e,r){if(t[r]){var n=Math.round(e/i*100),a=D(t[r]+" "+e+"("+n+"%)");a>o&&(o=a)}}));var s=o/7,c=30+s*n,l=parseInt(r.w)||280,u=parseInt(r.h)||280,d=10+n+4,p=Math.max(8,Math.min(l,u)/2-d),f=p+c;return{fs:n,leadLen:10,tailLen:12,gap:4,margin:4,maxLabelW:o,coefB:s,fixedA:30,labelSpace:c,vertPad:d,r:p,cx:f,cy:d+p,W:2*f,H:2*(d+p),totalH:2*(d+p)+a}}function J(e,t,n,i){var s=parseInt(i.w)||280,c=parseInt(i.h)||280;if(!e.length)return S(s,c+a);var l=e.reduce((function(e,t){return e+t}),0)||1,u=void 0!==i._pieFs&&""!==i._pieFs?parseFloat(i._pieFs):7;(!(u>0)||!isFinite(u))&&(u=7);var d=Z(e,t,i,u,l),p=[],f=-Math.PI/2;e.forEach((function(e,t){var r=e/l*2*Math.PI;p.push({val:e,idx:t,start:f,end:f+r,mid:f+r/2}),f+=r}));var h=d.cx,A=d.cy,g=d.r,m=o("svg",{viewBox:"0 0 "+d.W+" "+d.totalH,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),v=w(d.W,d.totalH);p.forEach((function(e){var i=e.idx,a=e.end-e.start,s=Math.round(e.val/l*100),c=o("g",{class:"tokui-chart-tip-group"});if(a>=2*Math.PI-1e-9)c.appendChild(o("circle",{cx:h,cy:A,r:g,fill:n[i%n.length],stroke:"var(--tokui-chart-slice-stroke, #fff)","stroke-width":2,class:"tokui-chart-slice"}));else{var u=h+g*Math.cos(e.start),d=A+g*Math.sin(e.start),p=h+g*Math.cos(e.end),f=A+g*Math.sin(e.end),b=+(a>Math.PI),k="M"+h+","+A+" L"+u+","+d+" A"+g+","+g+" 0 "+b+" 1 "+p+","+f+" Z";c.appendChild(o("path",{d:k,fill:n[i%n.length],stroke:"var(--tokui-chart-slice-stroke, #fff)","stroke-width":2,class:"tokui-chart-slice"}))}var y=h+.6*g*Math.cos(e.mid),w=A+.6*g*Math.sin(e.mid);v.add(c,(t[i]||r("chart.itemDefault",{n:i+1}))+": "+e.val+" ("+s+"%)",y,w),m.appendChild(c)}));var b=d.leadLen,k=d.tailLen,y=d.gap;return p.forEach((function(e){var r=e.idx;if(t[r]){var i=e.mid,a=Math.round(e.val/l*100),s=Math.cos(i)>=0,c=h+g*Math.cos(i),d=A+g*Math.sin(i),p=h+(g+b)*Math.cos(i),f=A+(g+b)*Math.sin(i),v=p+(s?k:-k);m.appendChild(o("polyline",{points:c+","+d+" "+p+","+f+" "+v+","+f,fill:"none",stroke:n[r%n.length],"stroke-width":1}));var w=o("text",{x:v+(s?y:-y),y:f+1,"text-anchor":s?"start":"end","dominant-baseline":"central",fill:"var(--tokui-chart-text, #666)","font-size":String(u)});w.textContent=t[r]+" "+e.val+"("+a+"%)",m.appendChild(w)}})),B(m,e.map((function(e,i){return{color:n[i%n.length],text:t[i]||r("chart.itemDefault",{n:i+1})}})),d.W,d.H+6,d.fs),m.appendChild(v.layer),x(m),m}function ee(e,t,n,i){var s=parseInt(i.w)||240,c=parseInt(i.h)||240,l=c+a,d=s/2,p=c/2,f=u(i.d);if(f.length||(f=[e]),f.every((function(e){return!e.length})))return S(s,c+a);var h=f.length>1,A=Math.min(d,p)-16,g=o("svg",{viewBox:"0 0 "+s+" "+l,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),m=w(s,l),v=h?.82*A/f.length:.4*A,b=h?2.5:0;return f.forEach((function(e,i){var a=A-i*(v+b),s=h?a-v+b:.6*A,c=e.reduce((function(e,t){return e+t}),0)||1,l=-Math.PI/2;e.forEach((function(e,u){var f=e/c*2*Math.PI,A=l+f/2,v=d+a*Math.cos(l),b=p+a*Math.sin(l),k=d+a*Math.cos(l+f),y=p+a*Math.sin(l+f),w=d+s*Math.cos(l+f),x=p+s*Math.sin(l+f),_=d+s*Math.cos(l),C=p+s*Math.sin(l),E=+(f>Math.PI),T="M"+v+","+b+" A"+a+","+a+" 0 "+E+" 1 "+k+","+y+" L"+w+","+x+" A"+s+","+s+" 0 "+E+" 0 "+_+","+C+" Z",B=o("g",{class:"tokui-chart-tip-group"});B.appendChild(o("path",{d:T,fill:n[u%n.length],stroke:"var(--tokui-chart-slice-stroke, #fff)","stroke-width":2,class:"tokui-chart-slice"}));var S=(a+s)/2;m.add(B,(t[u]||r("chart.itemDefault",{n:u+1}))+": "+e+(h?" ("+r("chart.ringDefault",{n:i+1})+")":""),d+S*Math.cos(A),p+S*Math.sin(A)),g.appendChild(B),l+=f}))})),!h&&void 0!==i.v&&(g.appendChild(o("text",{x:d,y:p,"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-text, #333)","font-size":"16","font-weight":"700",class:"tokui-chart-donut-value"})).textContent=i.v+"%"),B(g,f[0].map((function(e,i){return{color:n[i%n.length],text:(t[i]||r("chart.itemDefault",{n:i+1}))+" "+e}})),s,c+6),g.appendChild(m.layer),x(g),g}function te(e,t,n,i){var a=e.length,s=parseInt(i.w)||480,c=parseInt(i.h)||320;if(!a)return S(s,c);var l=c-14-12,u=a?l/a:l,d=e[0]||0,p=A(e)||1,f=Math.round(.6*s),h=f-14-6,g=14+h/2,m=f+10,v=o("svg",{viewBox:"0 0 "+s+" "+c,class:"tokui-chart__svg tokui-chart__svg--funnel",preserveAspectRatio:"xMidYMid meet"}),b=w(s,c);return e.forEach((function(i,a){var s=14+a*u,c=s+u,l=(0===a?p:e[a-1])/p*h,f=i/p*h,A=l/2,k=f/2,y=g-A+","+s+" "+(g+A)+","+s+" "+(g+k)+","+c+" "+(g-k)+","+c,w=(s+c)/2,x=d?Math.round(i/d*100):0,_=t[a]||r("chart.stageDefault",{n:a+1}),C=n[a%n.length],E=g+(A+k)/2,T=o("g",{class:"tokui-chart-tip-group"});if(T.appendChild(o("polygon",{points:y,fill:C,stroke:"var(--tokui-chart-slice-stroke, #fff)","stroke-width":2,class:"tokui-chart-funnel"})),f>=40){var B=o("text",{x:g,y:w-2,"text-anchor":"middle","dominant-baseline":"central",fill:"#fff","font-size":"14","font-weight":"700"});if(B.textContent=i,T.appendChild(B),f>=60){var S=o("text",{x:g,y:w+13,"text-anchor":"middle","dominant-baseline":"central",fill:"#fff","font-size":"11",opacity:"0.88"});S.textContent=x+"%",T.appendChild(S)}}T.appendChild(o("line",{x1:E,y1:w,x2:m-4,y2:w,stroke:C,"stroke-width":1.2,opacity:"0.5"}));var D=o("text",{x:m,y:w-2,"text-anchor":"start","dominant-baseline":"central",fill:"var(--tokui-text, #333)","font-size":"13","font-weight":"600"});if(D.textContent=_,T.appendChild(D),f<40){var U=o("text",{x:m,y:w+12,"text-anchor":"start","dominant-baseline":"central",fill:"var(--tokui-chart-text, #999)","font-size":"11"});U.textContent=i+" ("+x+"%)",T.appendChild(U)}b.add(T,_+": "+i+" ("+r("chart.conversion",{pct:x})+")",g,w),v.appendChild(T)})),v.appendChild(b.layer),x(v),v}function re(e,t,n,i){var a=parseInt(i.w)||280,s=parseInt(i.h)||200,c=a/2,l=parseInt(i.range,10);(isNaN(l)||180!==l&&270!==l&&360!==l)&&(l=180);var u=l*Math.PI/180,d=1.5*Math.PI,h=d-u/2,A=d+u/2,g=180===l?s-34:s/2,m=g,v=Math.max(0,Math.sin(h)),k=180===l?Math.max(40,Math.min(c-34,g-24)):Math.max(36,Math.min(c-30,(s-28)/(1+v+.35))),y=parseFloat(i.min);isNaN(y)&&(y=0);var _=parseFloat(i.max);isNaN(_)&&(_=100);var C=_-y||1,E=parseFloat(i.v);isNaN(E)&&e.length&&(E=e[0]),isNaN(E)&&(E=0),E=b(E,y,_);var T=void 0===i.u?0===y&&100===_?"%":"":i.u,B=parseInt(i.dec,10);isNaN(B)&&(B=+(C<=10));var S={success:"var(--tokui-success, #52c41a)",warning:"var(--tokui-warning, #faad14)",danger:"var(--tokui-danger, #f5222d)",info:"var(--tokui-info, #1677ff)",primary:"var(--tokui-primary, #1677ff)"},D={success:r("gauge.statusGood"),warning:r("gauge.statusWarn"),danger:r("gauge.statusDanger"),info:r("gauge.statusInfo")},U=function(e){return e?String(e).split(",").map((function(e){return parseFloat(e.trim())})).filter((function(e){return!isNaN(e)})):[]}(i.zones).filter((function(e){return e>y&&e<_})).sort((function(e,t){return e-t})),F=p(i.zc);F.length||(F=["#52c41a","#faad14","#f5222d"]);var I=[y].concat(U,[_]);var L=U.length?function(e){for(var t=0;t<I.length-1;t++)if(e>=I[t]&&e<=I[t+1])return F[t%F.length];return F[0]}(E):S[i.status]||(f(i.c)?i.c:null)||n[0]||S.primary;function O(e,t){return[c+t*Math.cos(e),m+t*Math.sin(e)]}function M(e,t,r){var n=O(e,r),i=O(t,r),a=+(t-e>Math.PI);return"M"+n[0]+","+n[1]+" A"+r+","+r+" 0 "+a+" 1 "+i[0]+","+i[1]}function P(e){return h+b((e-y)/C,0,1)*(A-h)}function R(e){return B>0?e.toFixed(B):String(Math.round(e))}var N=14,z=o("svg",{viewBox:"0 0 "+a+" "+s,class:"tokui-chart__svg tokui-chart__svg--gauge",preserveAspectRatio:"xMidYMid meet"}),H=w(a,s);if(U.length)for(var j=0;j<I.length-1;j++)z.appendChild(o("path",{d:M(P(I[j]),P(I[j+1]),k),fill:"none",stroke:F[j%F.length],"stroke-width":N,"stroke-linecap":"butt",opacity:"0.28",class:"tokui-chart-gauge-track"}));else z.appendChild(o("path",{d:M(h,A,k),fill:"none",stroke:"var(--tokui-chart-grid, #ececec)","stroke-width":N,"stroke-linecap":"round",class:"tokui-chart-gauge-track"}));var Q=parseInt(i.ticks,10);isNaN(Q)&&(Q=6);var q={};[y,_].concat(U).forEach((function(e){q[Math.round(100*e)/100]=!0}));for(var W=0;W<=Q;W++){var K=h+W/Q*(A-h),G=0===W||W===Q,Y=O(K,k-7-1),X=O(K,k+7+2);z.appendChild(o("line",{x1:Y[0],y1:Y[1],x2:X[0],y2:X[1],stroke:"var(--tokui-chart-text, #bbb)","stroke-width":G?1.2:.6,opacity:G?.8:.35}));var $=y+W/Q*C,Z=Math.round(100*$)/100;if(G||q[Z]){var J=O(K,k+7+12),ee=o("text",{x:J[0],y:J[1],"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-chart-text, #999)","font-size":"8"});ee.textContent=B>0?$.toFixed(B):Math.round($),z.appendChild(ee)}}var te=o("g",{class:"tokui-chart-tip-group"}),re=o("path",{fill:"none",stroke:L,"stroke-width":N,"stroke-linecap":"round",class:"tokui-chart-gauge-arc"});te.appendChild(re),H.add(te,(i.l||r("gauge.currentValue"))+": "+R(E)+T+" ("+Math.round(100*b((E-y)/C,0,1))+"%)",c,m-k),z.appendChild(te);var ne=o("line",{stroke:L,"stroke-width":2.5,"stroke-linecap":"round",class:"tokui-chart-gauge-needle"});z.appendChild(ne),z.appendChild(o("circle",{cx:c,cy:m,r:5,fill:L,stroke:"#fff","stroke-width":1.5,class:"tokui-chart-gauge-hub"}));var ie=m-k*(180===l?.5:270===l?.2:.12),ae=o("text",{x:c,y:ie,"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-text, #333)","font-size":"24","font-weight":"700",class:"tokui-chart-gauge-value tokui-chart-gauge-label"});z.appendChild(ae);var oe=ie+20;if(i.l){var se=o("text",{x:c,y:oe,"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-chart-text, #999)","font-size":"10",class:"tokui-chart-gauge-label"});se.textContent=i.l,z.appendChild(se),oe+=15}if(i.status&&D[i.status]){var ce=o("text",{x:c,y:oe,"text-anchor":"middle","dominant-baseline":"central",fill:S[i.status],"font-size":"9","font-weight":"600",class:"tokui-chart-gauge-label"});ce.textContent=D[i.status],z.appendChild(ce)}if(i.sub){var le=o("text",{x:c,y:180===l?m+14:s-8,"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-chart-text, #aaa)","font-size":"9",class:"tokui-chart-gauge-label"});le.textContent=i.sub,z.appendChild(le)}return z.appendChild(H.layer),x(z),V(y,E,parseInt(i.anim,10)||0,(function(e){var t=P(e);re.setAttribute("d",M(h,t,k));var r=O(t,k-7-3);ne.setAttribute("x1",c),ne.setAttribute("y1",m),ne.setAttribute("x2",r[0]),ne.setAttribute("y2",r[1]),ae.textContent=R(e)+T})),z}function ne(e,t,n,i){var s=parseInt(i.w)||240,c=parseInt(i.h)||240,l=s/2,d=c/2,p=u(i.d);if(p.length||(p=[e]),p.every((function(e){return!e.length})))return S(s,c);var f=p.length>1,h=c+(f?a:0),A=Math.min(l,d)-30,g=Math.max(t.length,p[0].length,3),m=0;p.forEach((function(e){e.forEach((function(e){e>m&&(m=e)}))})),m||(m=100);for(var v=o("svg",{viewBox:"0 0 "+s+" "+h,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),b=w(s,h),k=1;k<=4;k++){for(var y=A*k/4,_=[],C=0;C<g;C++){var E=2*Math.PI*C/g-Math.PI/2;_.push(l+y*Math.cos(E)+","+(d+y*Math.sin(E)))}v.appendChild(o("polygon",{points:_.join(" "),fill:"none",stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1}))}for(C=0;C<g;C++){E=2*Math.PI*C/g-Math.PI/2;v.appendChild(o("line",{x1:l,y1:d,x2:l+A*Math.cos(E),y2:d+A*Math.sin(E),stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),t[C]&&(v.appendChild(o("text",{x:l+(A+14)*Math.cos(E),y:d+(A+14)*Math.sin(E),"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-chart-text, #999)","font-size":"7"})).textContent=t[C])}return p.forEach((function(e,i){var a=n[i%n.length],s=[];e.forEach((function(e,t){var r=2*Math.PI*t/g-Math.PI/2,n=e/m*A;s.push({x:l+n*Math.cos(r),y:d+n*Math.sin(r),idx:t})})),v.appendChild(o("polygon",{points:s.map((function(e){return e.x+","+e.y})).join(" "),fill:a,"fill-opacity":"0.2",stroke:a,"stroke-width":2})),s.forEach((function(n){var s=o("g",{class:"tokui-chart-tip-group"});s.appendChild(o("circle",{cx:n.x,cy:n.y,r:8,fill:"transparent"})),s.appendChild(o("circle",{cx:n.x,cy:n.y,r:3,fill:a,class:"tokui-chart-point"})),b.add(s,(t[n.idx]||r("chart.dimensionDefault",{n:n.idx+1}))+": "+e[n.idx]+(p.length>1?" ("+r("chart.seriesDefault",{n:i+1})+")":""),n.x,n.y),v.appendChild(s)}))})),f&&B(v,p.map((function(e,t){return{color:n[t%n.length],text:r("chart.seriesDefault",{n:t+1})}})),s,c+6),v.appendChild(b.layer),x(v),v}function ie(e,t,r,n){var i=d(n.d);if(!i.length)return S(parseInt(n.w)||400,parseInt(n.h)||200);for(var a=k(n,"w",i.length,50,22,360,2400),s=y(a,parseInt(n.h)||200,4,560),c=s,l=a-40-10,u=s-18-30,p=n.xl||"X",f=n.yl||"Y",h=N(n,"xmin","_xMin",g(i.map((function(e){return e.x})))),m=N(n,"xmax","_xMax",A(i.map((function(e){return e.x})))),v=N(n,"ymin","_yMin",g(i.map((function(e){return e.y})))),b=N(n,"ymax","_yMax",A(i.map((function(e){return e.y})))),_=m-h||1,C=b-v||1,E=o("svg",{viewBox:"0 0 "+a+" "+c,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),T=w(a,c),B=0;B<=4;B++){var D=18+u*(1-B/4);E.appendChild(o("line",{x1:40,y1:D,x2:a-10,y2:D,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),E.appendChild(o("text",{x:36,y:D+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(v+C*B/4)}return i.forEach((function(e,t){var n=40+(e.x-h)/_*l,i=18+u*(1-(e.y-v)/C),a=o("g",{class:"tokui-chart-tip-group"});a.appendChild(o("circle",{cx:n,cy:i,r:8,fill:"transparent",stroke:"none"})),a.appendChild(o("circle",{cx:n,cy:i,r:5,fill:r[t%r.length],opacity:"0.7",class:"tokui-chart-point"})),T.add(a,p+": "+e.x+" "+f+": "+e.y,n,i),E.appendChild(a);var s=o("text",{x:n+6,y:i-4,fill:"var(--tokui-chart-text, #666)","font-size":"7"});s.textContent=e.x+","+e.y,E.appendChild(s)})),E.appendChild(T.layer),x(E),E}function ae(e,t){if(void 0===e||""===e)return NaN;if("dates"===t){var r=new Date(e);return isNaN(r.getTime())?NaN:r.getTime()}var n=parseFloat(e);return isNaN(n)?NaN:n}function oe(e){var t=parseInt(e.w)||1080,n=function(e){return e?String(e).split("|").map((function(e){return e.split(",").map((function(e){return e.trim()}))})):[]}(e.tasks);if(!n.length)return{empty:!0};var i,o,s="days"===e.mode||"dates"===e.mode?e.mode:function(e){return/[-/]/.test(String(e))}(n[0][1])?"dates":"days",c=[],l=0;if(n.forEach((function(e,t){var n=ae(e[1],s),i=ae(e[2],s);if(isNaN(n)||isNaN(i))l++;else{if(i<n){var a=n;n=i,i=a}c.push({name:e[0]||r("chart.taskDefault",{n:c.length+1}),start:n,end:i,progress:b(parseFloat(e[3])||0,0,100),group:parseInt(e[4],10)||0})}})),!c.length)return{empty:!0};"dates"===s?(i=Math.min.apply(null,c.map((function(e){return e.start}))),o=Math.max.apply(null,c.map((function(e){return e.end})))):(i=0,o=Math.ceil(Math.max.apply(null,c.map((function(e){return e.end}))))),isFinite(o)||(o=1);var u=o-i||1,d=function(e,t){return e?String(e).split("|").map((function(e){var r=e.split(",").map((function(e){return e.trim()}));return{name:r[0]||"",time:ae(r[1],t),group:parseInt(r[2],10)||0}})):[]}(e.ms,s).filter((function(e){return!isNaN(e.time)})),p=function(e){return e?String(e).split("|").map((function(e){return e.trim()})).filter((function(e){return""!==e})):[]}(e.gnames),f={},h={};(function(e){return e?String(e).split(",").map((function(e){var t=e.trim().split("->");return[parseInt(t[0],10),parseInt(t[1],10)]})).filter((function(e){return!isNaN(e[0])&&!isNaN(e[1])})):[]})(e.deps).forEach((function(e){var t=e[0],r=e[1];t<0||t>=c.length||r<0||r>=c.length||((h[t]=h[t]||[]).push(r),(f[r]=f[r]||[]).push(t))}));var A={};c.forEach((function(e){A[e.group]=!0})),d.forEach((function(e){A[e.group]=!0}));var g=Object.keys(A).length>1,m=d.length>0,v=28+(m?24:0)+26*c.length+(g?a:6),k=t-110-16;return{empty:!1,w:t,totalH:v,mode:s,tasks:c,ms:d,gnames:p,prev:f,next:h,tMin:i,tMax:o,range:u,skipped:l,hasLeg:g,hasMs:m,LABEL_W:110,PAD_T:28,ROW_H:26,BAR_H:14,MS_STRIP:24,scale:function(e){return 110+(e-i)/u*k},rowY:function(e){return 28+(m?24:0)+26*e+13},msY:function(){return 40}}}function se(e,t){if("dates"===t){var r=new Date(e);return r.getMonth()+1+"/"+r.getDate()}return"D"+e}function ce(e){var t=[];if("days"===e.mode)for(var n=e.tMax<=10?1:e.tMax<=30?5:10,i=0;i<=e.tMax;i+=n)t.push({label:"D"+i,t:i});else{var a=864e5,o=e.range<=14*a?"day":e.range<=90*a?"week":"month",s=new Date(e.tMin),c=new Date(e.tMax);if("day"===o)for(var l=new Date(s);l<=c;l.setDate(l.getDate()+1))t.push({label:l.getMonth()+1+"/"+l.getDate(),t:l.getTime()});else if("week"===o)for(var u=new Date(s);u<=c;u.setDate(u.getDate()+7))t.push({label:u.getMonth()+1+"/"+u.getDate(),t:u.getTime()});else for(var d=new Date(s.getFullYear(),s.getMonth(),1);d<=c;d.setMonth(d.getMonth()+1))t.push({label:r("chart.monthLabel",{m:d.getMonth()+1}),t:d.getTime()})}return t}function le(e,t,r){return e+","+(t-r)+" "+(e+r)+","+t+" "+e+","+(t+r)+" "+(e-r)+","+t}function ue(e,t,r,n,i){if(r-3>e+8){var a=r-3,o=(e+a)/2;return"M"+e+","+t+" L"+o+","+t+" L"+o+","+n+" L"+a+","+n}var s=n-i/2;return"M"+e+","+t+" L"+(e+8)+","+t+" L"+(e+8)+","+(s-9)+" L"+r+","+(s-9)+" L"+r+","+s}function de(e,t,n,i){var s=oe(i),c=s.w,l=o("svg",{viewBox:"0 0 "+c+" "+s.totalH,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"});if(s.empty){var u=o("text",{x:c/2,y:20,"text-anchor":"middle",fill:"var(--tokui-chart-text, #999)","font-size":"10"});return u.textContent=r("gantt.noTasks"),l.appendChild(u),l}var d=w(c,s.totalH);if(function(e,t){var r=t.totalH-(t.hasLeg?a:6);ce(t).forEach((function(n){var i=t.scale(n.t);e.appendChild(o("line",{x1:i,y1:t.PAD_T,x2:i,y2:r,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1}));var a=o("text",{x:i,y:t.PAD_T-6,"text-anchor":"middle",fill:"var(--tokui-chart-text, #999)","font-size":"9",class:"tokui-chart-axis-time"});a.textContent=n.label,e.appendChild(a)}))}(l,s),s.hasMs&&function(e,t,r,n){var i=t.ms.map((function(e){return{m:e,x:t.scale(e.time)}})).sort((function(e,t){return e.x-t.x})),a=-1/0,s=!1;i.forEach((function(i){var c=i.m,l=i.x;s=l-a<32&&!s,a=l;var u=r[c.group%r.length],d=t.msY(),p=o("g",{class:"tokui-chart-tip-group"});p.appendChild(o("polygon",{points:le(l,d,6),fill:u,stroke:"var(--tokui-chart-slice-stroke, #fff)","stroke-width":1,class:"tokui-chart-task-ms"})),n.add(p,c.name+" "+se(c.time,t.mode),l,d),e.appendChild(p);var f=o("text",{x:l,y:d+11+(s?9:0),"text-anchor":"middle",fill:"var(--tokui-text, #333)","font-size":"8"});f.textContent=c.name,e.appendChild(f)}))}(l,s,n,d),function(e,t,n,i){t.tasks.forEach((function(a,s){var c=n[a.group%n.length],l=t.scale(a.start),u=t.scale(a.end),d=Math.max(2,u-l),p=t.rowY(s)-t.BAR_H/2,f=o("g",{class:"tokui-chart-tip-group tokui-chart-task-tip-group","data-task-idx":s});f.appendChild(o("rect",{x:l,y:p,width:d,height:t.BAR_H,rx:3,fill:c,opacity:"0.35",class:"tokui-chart-task-bar"})),a.progress>0&&f.appendChild(o("rect",{x:l,y:p,width:Math.max(0,d*a.progress/100),height:t.BAR_H,rx:3,fill:c,class:"tokui-chart-task-prog"})),i.add(f,a.name+" "+se(a.start,t.mode)+"→"+se(a.end,t.mode)+" "+r("gantt.progress")+":"+a.progress+"%",l+d/2,p),e.appendChild(f);var h=o("text",{x:t.LABEL_W-6,y:t.rowY(s)+3,"text-anchor":"end",fill:"var(--tokui-text, #333)","font-size":"9",class:"tokui-chart-task-name"});h.textContent=a.name,e.appendChild(h)}))}(l,s,n,d),function(e,t){var r=o("defs"),n=o("marker",{id:"gantt-arrow",markerUnits:"userSpaceOnUse",markerWidth:"7",markerHeight:"7",refX:"6",refY:"3.5",orient:"auto"});n.appendChild(o("path",{d:"M0,0 L7,3.5 L0,7 Z",fill:"var(--tokui-chart-task-dep, #bbb)"})),r.appendChild(n),e.appendChild(r),Object.keys(t.next).forEach((function(r){var n=parseInt(r,10),i=t.scale(t.tasks[n].end),a=t.rowY(n);t.next[r].forEach((function(r){var s=t.scale(t.tasks[r].start),c=t.rowY(r);e.appendChild(o("path",{d:ue(i,a,s,c,t.BAR_H),fill:"none",stroke:"var(--tokui-chart-task-dep, #bbb)","stroke-width":"1","marker-end":"url(#gantt-arrow)",class:"tokui-chart-task-dep","data-dep-from":n,"data-dep-to":r}))}))}))}(l,s),"dates"===s.mode&&function(e,t){var n=Date.now();if(!(n<t.tMin||n>t.tMax)){var i=t.scale(n),s=t.totalH-(t.hasLeg?a:6);e.appendChild(o("line",{x1:i,y1:t.PAD_T,x2:i,y2:s,stroke:"var(--tokui-chart-today-line, #fa541c)","stroke-width":"1.5","stroke-dasharray":"4,3",class:"tokui-chart-today"}));var c=o("text",{x:i,y:t.PAD_T-14,"text-anchor":"middle",fill:"var(--tokui-chart-today-line, #fa541c)","font-size":"8"});c.textContent=r("time.today"),e.appendChild(c)}}(l,s),s.skipped>0&&function(e,t){var n=o("text",{x:t.w-6,y:12,"text-anchor":"end",fill:"#faad14","font-size":"8"});n.textContent=r("gantt.skipped",{n:t.skipped}),e.appendChild(n)}(l,s),l.appendChild(d.layer),x(l),function(e,t){function r(e,t){for(var r={},n=[e],i={};n.length;){var a=n.shift();if(!r[a]){r[a]=1,i[a]=1;var o=t[a];o&&o.forEach((function(e){r[e]||n.push(e)}))}}return i}var n=e.querySelectorAll(".tokui-chart-task-tip-group"),i=null;n.forEach((function(n){n.addEventListener("click",(function(){var a=parseInt(n.getAttribute("data-task-idx"),10);if(!isNaN(a)){var o=e.querySelectorAll(".tokui-chart-task-tip-group"),s=e.querySelectorAll(".tokui-chart-task-dep");if(i===a)return e.classList.remove("has-active"),o.forEach((function(e){e.classList.remove("is-active")})),s.forEach((function(e){e.classList.remove("is-active")})),void(i=null);i=a;var c={};c[a]=1,Object.keys(r(a,t.prev)).forEach((function(e){c[e]=1})),Object.keys(r(a,t.next)).forEach((function(e){c[e]=1})),e.classList.add("has-active"),o.forEach((function(e){var t=parseInt(e.getAttribute("data-task-idx"),10);isNaN(t)||(c[t]?e.classList.add("is-active"):e.classList.remove("is-active"))})),s.forEach((function(e){var t=parseInt(e.getAttribute("data-dep-from"),10),r=parseInt(e.getAttribute("data-dep-to"),10);c[t]&&c[r]?e.classList.add("is-active"):e.classList.remove("is-active")}))}}))}))}(l,s),s.hasLeg){var p=Object.keys(s.tasks.reduce((function(e,t){return e[t.group]=1,e}),{})).map((function(e){return parseInt(e,10)}));p.sort((function(e,t){return e-t})),B(l,p.map((function(e){return{color:n[e%n.length],text:s.gnames[e]||r("chart.groupDefault",{n:e+1})}})),c,s.totalH-a+6)}return l}function pe(e,t,r,n){var i={};return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.area=!0,$(e,t,r,i)}function fe(e,t,r,n){var i=parseInt(n.w)||400,a=parseInt(n.h)||80,s=parseFloat(n.max);isNaN(s)&&(s=100);var c=parseFloat(n.min);isNaN(c)&&(c=0);var l=s-c||1,u=parseFloat(n.v);isNaN(u)&&e.length&&(u=e[0]),isNaN(u)&&(u=0),u=b(u,c,s);var d=void 0===n.u?0===c&&100===s?"%":"":n.u,p=f(n.c)?n.c:r[0]||"var(--tokui-primary, #1677ff)",h=o("svg",{viewBox:"0 0 "+i+" "+a,class:"tokui-chart__svg tokui-chart__svg--progress",preserveAspectRatio:"xMidYMid meet"}),A=a/2-8;h.appendChild(o("rect",{x:2,y:A,width:i-4,height:16,rx:8,fill:"var(--tokui-chart-grid, #ececec)",class:"tokui-chart-track"}));var g=o("rect",{y:A,height:16,rx:8,fill:p,class:"tokui-chart-fill"});h.appendChild(g);var m=n.l||"",v=o("text",{x:i-8,y:a/2,"text-anchor":"end","dominant-baseline":"central",fill:"var(--tokui-text, #333)","font-size":"13","font-weight":"700"});return h.appendChild(v),V(c,u,parseInt(n.anim,10)||0,(function(e){var t=b((e-c)/l,0,1);g.setAttribute("x",2),g.setAttribute("width",Math.max(0,(i-4)*t)),v.textContent=(m?m+" ":"")+Math.round(100*t)+d})),h}function he(e){return e?String(e).split(";").map((function(e){var t=e.split(",").map((function(e){return parseFloat(e.trim())||0}));return{x:t[0]||0,y:t[1]||0,s:t[2]||0}})):[]}function Ae(e,t,r,n){var i=he(n.d);if(!i.length)return S(parseInt(n.w)||400,parseInt(n.h)||200);for(var a=k(n,"w",i.length,50,22,360,2400),s=y(a,parseInt(n.h)||200,4,560),c=a-40-10,l=s-18-30,u=N(n,"xmin","_xMin",g(i.map((function(e){return e.x})))),d=N(n,"xmax","_xMax",A(i.map((function(e){return e.x})))),p=N(n,"ymin","_yMin",g(i.map((function(e){return e.y})))),f=N(n,"ymax","_yMax",A(i.map((function(e){return e.y})))),h=void 0===n._sMax?A(i.map((function(e){return e.s})))||1:+n._sMax,m=d-u||1,v=f-p||1,b=o("svg",{viewBox:"0 0 "+a+" "+s,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),_=w(a,s),C=0;C<=4;C++){var E=18+l*(1-C/4);b.appendChild(o("line",{x1:40,y1:E,x2:a-10,y2:E,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),b.appendChild(o("text",{x:36,y:E+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(p+v*C/4)}return i.forEach((function(e,t){var i=40+(e.x-u)/m*c,a=18+l*(1-(e.y-p)/v),s=4+e.s/h*16,d=o("g",{class:"tokui-chart-tip-group"});d.appendChild(o("circle",{cx:i,cy:a,r:8,fill:"transparent"})),d.appendChild(o("circle",{cx:i,cy:a,r:s,fill:r[t%r.length],opacity:"0.5",stroke:r[t%r.length],"stroke-width":1.5,class:"tokui-chart-point"})),_.add(d,(n.xl||"X")+": "+e.x+" "+(n.yl||"Y")+": "+e.y+" "+(n.sl||"size")+": "+e.s,i,a),b.appendChild(d)})),b.appendChild(_.layer),x(b),b}function ge(e){return e?String(e).split("|").map((function(e){return e.split(",").map((function(e){return parseFloat(e.trim())})).filter((function(e){return!isNaN(e)}))})):[]}function me(e){if(!e)return null;var t=String(e).split(","),r=1/0,n=-1/0,i=0;return t.forEach((function(e){var t=String(e).trim().match(/^(-?[\d.]+)\s*[-~到至]\s*(-?[\d.]+)$/);if(t){var a=+t[1],o=+t[2];a<o&&isFinite(a)&&isFinite(o)&&(r=Math.min(r,a),n=Math.max(n,o),i++)}})),!i||!isFinite(r)||!isFinite(n)||r>=n?null:{lo:r,hi:n,bins:i}}function ve(e,t){var r=me(e.l),n=parseInt(e.bins,10);isNaN(n)&&(n=r?r.bins:void 0===e._bins?Math.min(20,Math.max(5,Math.ceil(Math.sqrt(t.length)))):+e._bins);var i=N(e,"min","_lo",r?r.lo:g(t)),a=N(e,"max","_hi",r?r.hi:A(t));i===a&&(--i,a+=1);for(var o=(a-i)/n,s=[],c=0;c<n;c++)s.push(0);return t.forEach((function(e){s[Math.max(0,Math.min(n-1,Math.floor((e-i)/o)))]++})),{bins:n,lo:i,hi:a,width:o,counts:s}}function be(e,t,r,n){var i=ge(n.rows||n.d),a=parseInt(n.w)||400,s=parseInt(n.h)||320,c=l(n.cols),u=t,d=Math.max(c.length,i[0]?i[0].length:0),f=Math.max(u.length,i.length);if(!f||!d)return S(a,s);var h=u.length?64:30,m=c.length?36:16,v=(a-h-16)/d,b=(s-m-16)/f,k=[];i.forEach((function(e){e.forEach((function(e){isNaN(e)||k.push(e)}))}));for(var y=k.length>0,_=y?N(n,"vmin","_vMin",g(k)):0,C=(y?N(n,"vmax","_vMax",A(k)):1)-_||1,E=p(n.c).length?p(n.c):["#bae0ff","#1677ff","#0958d9"],T=o("svg",{viewBox:"0 0 "+a+" "+s,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),B=w(a,s),D=0;D<f;D++)for(var U=0;U<d;U++){var F=i[D]?i[D][U]:void 0,I=void 0!==F&&!isNaN(F),L=I?Y(E,I&&y?(F-_)/C:0):"var(--tokui-chart-grid, #f0f0f0)",O=h+U*v,M=m+D*b,P=o("g",{class:"tokui-chart-tip-group"});P.appendChild(o("rect",{x:O+1,y:M+1,width:v-2,height:b-2,rx:2,fill:L,opacity:I?"1":"0.5",class:"tokui-chart-cell"+(I?"":" tokui-chart-cell--skeleton")})),I&&B.add(P,(u[D]||"R"+(D+1))+" / "+(c[U]||"C"+(U+1))+": "+F,O+v/2,M+b/2),T.appendChild(P)}return c.forEach((function(e,t){T.appendChild(o("text",{x:h+t*v+v/2,y:m-8,"text-anchor":"middle",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=e})),u.forEach((function(e,t){T.appendChild(o("text",{x:h-6,y:m+t*b+b/2+3,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=e})),T.appendChild(B.layer),x(T),T}function ke(e,t,n,i){var s=parseInt(i.w)||280,c=parseInt(i.h)||280,l=c+a;if(!e.length)return S(s,l);var u=s/2,d=c/2,p=Math.min(u,d)-24,f=A(e)||1,h=o("svg",{viewBox:"0 0 "+s+" "+l,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),g=w(s,l),m=-Math.PI/2,v=2*Math.PI/e.length;return e.forEach((function(e,i){var a=e/f*p,s=u+a*Math.cos(m),c=d+a*Math.sin(m),l=u+a*Math.cos(m+v),A=d+a*Math.sin(m+v),b=+(v>Math.PI),k="M"+u+","+d+" L"+s+","+c+" A"+a+","+a+" 0 "+b+" 1 "+l+","+A+" Z",y=Math.round(e/f*100),w=o("g",{class:"tokui-chart-tip-group"});w.appendChild(o("path",{d:k,fill:n[i%n.length],stroke:"var(--tokui-chart-slice-stroke, #fff)","stroke-width":2,class:"tokui-chart-slice"}));var x=m+v/2;g.add(w,(t[i]||r("chart.sliceDefault",{n:i+1}))+": "+e+" ("+y+"%)",u+.6*a*Math.cos(x),d+.6*a*Math.sin(x)),h.appendChild(w),h.appendChild(o("text",{x:u+(p+12)*Math.cos(x),y:d+(p+12)*Math.sin(x),"text-anchor":"middle","dominant-baseline":"central",fill:"var(--tokui-chart-text, #999)","font-size":"8"})).textContent=t[i]||"",m+=v})),B(h,e.map((function(e,i){return{color:n[i%n.length],text:t[i]||r("chart.sliceDefault",{n:i+1})}})),s,c+6),h.appendChild(g.layer),x(h),h}function ye(e,t,r,n){var i=parseInt(n.w)||400,a=parseInt(n.h)||200;if(!e.length)return S(i,a);for(var o=ve(n,e),s=[],c=0;c<o.bins;c++)s.push((o.lo+c*o.width).toFixed(1));var l={};return Object.keys(n).forEach((function(e){l[e]=n[e]})),l.d=o.counts.join(","),l.l=s.join(","),l.vals="",delete l.bins,X(o.counts,s,r,l)}function we(e,t,n,i){if(!e.length)return S(parseInt(i.w)||400,parseInt(i.h)||200);var a=k(i,"w",e.length,56,26,360,2400),s=y(a,parseInt(i.h)||200,4,560),c=0,l=[];e.forEach((function(e){var t=c,r=c+e;l.push({base:Math.min(t,r),top:Math.max(t,r),val:e,isPos:e>=0}),c=r}));var u=A(l.map((function(e){return e.top}))),d=g(l.map((function(e){return e.base})));d>0&&(d=0);var p=u-d||1,f=i._padL?+i._padL:44,h=a-f-12,m=h/e.length,v=Math.max(4,.6*m),b=z(t.slice(0,e.length),m,30,h,i.interval),_=b.padB,C=s-18-_,E=n[0]||"#52c41a",T=n[1]||"#f5222d",B=o("svg",{viewBox:"0 0 "+a+" "+s,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),D=w(a,s);function U(e){return 18+C*(1-(e-d)/p)}for(var F=0;F<=4;F++){var I=U(d+p*F/4);B.appendChild(o("line",{x1:f,y1:I,x2:a-12,y2:I,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),B.appendChild(o("text",{x:f-4,y:I+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(d+p*F/4)}l.forEach((function(e,n){var i=f+n*m+.2*m,a=U(e.top),s=Math.max(0,(e.top-e.base)/p*C),c=e.isPos?E:T,u=o("g",{class:"tokui-chart-tip-group"});u.appendChild(o("rect",{x:i,y:a,width:v-1,height:s,fill:c,rx:2,class:"tokui-chart-bar"})),D.add(u,(t[n]||r("chart.sliceDefault",{n:n+1}))+": "+e.val+" ("+r("chart.cumulative",{n:Math.round(e.top)})+")",i+v/2,a),B.appendChild(u),n<l.length-1&&B.appendChild(o("line",{x1:i+v-1,y1:a,x2:i+m,y2:a,stroke:c,"stroke-width":1,"stroke-dasharray":"3,2",opacity:"0.45"}))}));for(var L=[],O=0;O<e.length;O++)L.push(f+O*m+m/2);return q(B,t.slice(0,e.length),L,Q(s,_,b.rotate),m,b.rotate,b.interval),B.appendChild(D.layer),x(B),B}function xe(e,t,n,i){var a=function(e){return e?String(e).split(";").map((function(e){var t=e.split(",").map((function(e){return parseFloat(e.trim())||0}));return{min:t[0],q1:t[1],med:t[2],q3:t[3],max:t[4]}})):[]}(i.d);if(!a.length)return S(parseInt(i.w)||400,parseInt(i.h)||240);var s=k(i,"w",a.length,56,44,360,2400),c=y(s,parseInt(i.h)||240,4,560),l=[];a.forEach((function(e){l.push(e.min,e.max)}));var u=g(l),d=A(l);u===d&&(--u,d+=1);var p=d-u||1,f=i._padL?+i._padL:44,h=s-f-12,m=H(i,a.length),v=m?28:0,b=h/a.length,_=Math.max(20,.5*b),C=z(t.slice(0,a.length),b,30,h,i.interval),E=C.padB,B=c-18-E,D=o("svg",{viewBox:"0 0 "+s+" "+(c+v),class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),U=w(s,c+v);function F(e){return 18+B*(1-(e-u)/p)}for(var I=0;I<=4;I++){var L=F(u+p*I/4);D.appendChild(o("line",{x1:f,y1:L,x2:s-12,y2:L,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),D.appendChild(o("text",{x:f-4,y:L+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(u+p*I/4)}var O=m?o("g",{class:"tokui-chart-plot"}):null;O&&D.appendChild(O);var M=O||D,P=[];if(a.forEach((function(e,i){var a=f+i*b+b/2,s=n[i%n.length],c=o("g",{class:"tokui-chart-tip-group"});c.appendChild(o("line",{x1:a,y1:F(e.max),x2:a,y2:F(e.q3),stroke:s,"stroke-width":1.5,class:"tokui-chart-whisker"})),c.appendChild(o("line",{x1:a,y1:F(e.q1),x2:a,y2:F(e.min),stroke:s,"stroke-width":1.5,class:"tokui-chart-whisker"})),c.appendChild(o("line",{x1:a-6,y1:F(e.max),x2:a+6,y2:F(e.max),stroke:s,"stroke-width":1.5})),c.appendChild(o("line",{x1:a-6,y1:F(e.min),x2:a+6,y2:F(e.min),stroke:s,"stroke-width":1.5}));var l=F(e.q3),u=Math.max(0,F(e.q1)-F(e.q3));c.appendChild(o("rect",{x:a-_/2,y:l,width:_,height:u,fill:s,opacity:"0.4",stroke:s,"stroke-width":1.5,class:"tokui-chart-box"})),c.appendChild(o("line",{x1:a-_/2,y1:F(e.med),x2:a+_/2,y2:F(e.med),stroke:s,"stroke-width":2}));var d=(t[i]||r("chart.groupDefault",{n:i+1}))+" min:"+e.min+" Q1:"+e.q1+" "+r("chart.median")+":"+e.med+" Q3:"+e.q3+" max:"+e.max;m?P.push({grp:c,cx:a,y:F(e.med),text:d}):U.add(c,d,a,F(e.med)),M.appendChild(c)})),m){var R=a.length,N=T(D,{plotG:O,tipLayer:U.layer,padL:f,cw:h,padT:18,ch:B,h:c,w:s,n:R,srcLeft:function(e){return f+e*b},srcRight:function(e){return f+(e+1)*b},overview:a.map((function(e){return e.q3})),valMin:u,range:p,renderLabels:function(e,r,n){for(var i=h/(n-r+1),a=[],o=r;o<=n;o++)a.push(f+(o-r)*i+i/2);q(e,t.slice(r,n+1),a,Q(c,E,C.rotate),i,C.rotate,C.interval)}});P.forEach((function(e){e.grp.addEventListener("mouseenter",(function(){N.showTip(e.text,N.winState.sx*e.cx+N.winState.tx,e.y)})),e.grp.addEventListener("mouseleave",(function(){N.sharedTip.style.opacity=""}))}))}else{for(var j=[],W=0;W<a.length;W++)j.push(f+W*b+b/2);q(D,t.slice(0,a.length),j,Q(c,E,C.rotate),b,C.rotate,C.interval)}return D.appendChild(U.layer),m||x(D),D}function _e(e,t,r,n){var i=function(e){return e?String(e).split(",").map((function(e){var t=e.split(":");return{name:(t[0]||"").trim(),value:parseFloat(t[1])||0}})).filter((function(e){return e.value>0})):[]}(n.d),a=parseInt(n.w)||480,s=parseInt(n.h)||320;if(!i.length)return S(a,s);i.sort((function(e,t){return t.value-e.value}));var c=i.reduce((function(e,t){return e+t.value}),0)||1,l=o("svg",{viewBox:"0 0 "+a+" "+s,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),u=w(a,s),d=0;function p(e,t,n,i,a){var s=r[d%r.length];d++;var p=o("g",{class:"tokui-chart-tip-group"});p.appendChild(o("rect",{x:t,y:n,width:Math.max(0,i-2),height:Math.max(0,a-2),rx:3,fill:s,opacity:"0.85",class:"tokui-chart-tile"})),i>44&&a>26&&(l.appendChild(o("text",{x:t+6,y:n+14,fill:"#fff","font-size":"11","font-weight":"600"})).textContent=e.name,l.appendChild(o("text",{x:t+6,y:n+27,fill:"#fff","font-size":"9",opacity:"0.85"})).textContent=e.value+" ("+Math.round(e.value/c*100)+"%)"),u.add(p,e.name+": "+e.value+" ("+Math.round(e.value/c*100)+"%)",t+i/2,n+a/2),l.appendChild(p)}return function e(t,r,n,i,a){if(t.length){if(1===t.length)return void p(t[0],r,n,i,a);var o=i>a,s=t[0].value,c=s/(s+(t.slice(1).reduce((function(e,t){return e+t.value}),0)||1));if(o){var l=i*c;p(t[0],r,n,l,a),e(t.slice(1),r+l+2,n,i-l-2,a)}else{var u=a*c;p(t[0],r,n,i,u),e(t.slice(1),r,n+u+2,i,a-u-2)}}}(i,0,0,a,s),l.appendChild(u.layer),x(l),l}function Ce(e,t,r,n){var i=l(n.nodes),a=String(n.flows||"").split(",").map((function(e){var t=e.split("->");if(2!==t.length)return null;var r=t[0].trim(),n=t[1],i=n.lastIndexOf(":");return{source:r,target:i>0?n.slice(0,i).trim():n.trim(),value:i>0?parseFloat(n.slice(i+1))||0:1}})).filter((function(e){return e&&e.value>0})),s=parseInt(n.w)||480,c=parseInt(n.h)||320;if(!a.length)return S(s,c);var u=[],d=[];a.forEach((function(e){u.indexOf(e.source)<0&&u.push(e.source),d.indexOf(e.target)<0&&d.push(e.target)})),i.length&&!d.length&&(u=i);var p=a.reduce((function(e,t){return e+t.value}),0)||1,f=14,h=s-70-f,A=c-20-16;function g(e,t){var r=e.indexOf(t);return 20+(e.length?A*(r+.5)/e.length:A/2)}var m=o("svg",{viewBox:"0 0 "+s+" "+c,class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),v=w(s,c);return a.forEach((function(e,t){var n=r[t%r.length],i=g(u,e.source),a=g(d,e.target),s=Math.max(1,e.value/p*44),c=o("g",{class:"tokui-chart-tip-group"}),l=(84+h)/2,f="M84,"+i+" C"+l+","+i+" "+l+","+a+" "+h+","+a;c.appendChild(o("path",{d:f,fill:"none",stroke:n,"stroke-width":s,opacity:"0.4",class:"tokui-chart-flow"})),v.add(c,e.source+" → "+e.target+": "+e.value,l,(i+a)/2),m.appendChild(c)})),u.forEach((function(e,t){m.appendChild(o("rect",{x:70,y:g(u,e)-12,width:f,height:24,rx:2,fill:r[t%r.length]})),m.appendChild(o("text",{x:64,y:g(u,e)+3,"text-anchor":"end",fill:"var(--tokui-chart-text, #666)","font-size":"10"})).textContent=e})),d.forEach((function(e,t){m.appendChild(o("rect",{x:h,y:g(d,e)-12,width:f,height:24,rx:2,fill:r[(t+3)%r.length]})),m.appendChild(o("text",{x:h+f+6,y:g(d,e)+3,"text-anchor":"start",fill:"var(--tokui-chart-text, #666)","font-size":"10"})).textContent=e})),m.appendChild(v.layer),x(m),m}function Ee(e){return e?String(e).split(";").map((function(e){var t=e.split(",").map((function(e){return parseFloat(e.trim())}));return t.length<4||t.some((function(e){return!isFinite(e)}))?null:{o:t[0],h:t[1],l:t[2],c:t[3]}})).filter(Boolean):[]}function Te(e,t,r,n){var i=Ee(n.d);if(!i.length)return S(parseInt(n.w)||480,parseInt(n.h)||280);var a,s,c=parseInt(n.w)||800,l=parseInt(n.h)||320;if(void 0!==n._yMin&&void 0!==n._yMax&&isFinite(+n._yMin))a=+n._yMin,s=+n._yMax;else{var u=[];i.forEach((function(e){u.push(e.h,e.l)})),a=g(u),s=A(u);var d=R(a,s);a=d[0],s=d[1]}a===s&&(--a,s+=1);var f=s-a||1,h=n._padL?+n._padL:44,m=c-h-12,v=H(n,i.length),b=v?28:0,k=m/i.length,y=Math.max(3,.6*k),_=z(t.slice(0,i.length),k,30,m,n.interval),C=_.padB,E=l-18-C,B=p(n.c),D=B[0]||"#f5222d",U=B[1]||"#52c41a",F=o("svg",{viewBox:"0 0 "+c+" "+(l+b),class:"tokui-chart__svg",preserveAspectRatio:"xMidYMid meet"}),I=w(c,l+b);function L(e){return 18+E*(1-(e-a)/f)}for(var O=0;O<=4;O++){var M=L(a+f*O/4);F.appendChild(o("line",{x1:h,y1:M,x2:c-12,y2:M,stroke:"var(--tokui-chart-grid, #e8e8e8)","stroke-width":1})),F.appendChild(o("text",{x:h-4,y:M+4,"text-anchor":"end",fill:"var(--tokui-chart-text, #999)","font-size":"9"})).textContent=Math.round(a+f*O/4)}var P=v?o("g",{class:"tokui-chart-plot"}):null;P&&F.appendChild(P);var N=P||F,j=[];if(i.forEach((function(e,r){var n=h+r*k+k/2,i=e.c>=e.o,a=i?D:U,s=o("g",{class:"tokui-chart-tip-group"});s.appendChild(o("line",{x1:n,y1:L(e.h),x2:n,y2:L(e.l),stroke:a,"stroke-width":1,class:"tokui-chart-wick"}));var c=L(Math.max(e.o,e.c)),l=L(Math.min(e.o,e.c));s.appendChild(o("rect",{x:n-y/2,y:c,width:y,height:Math.max(1,l-c),fill:a,class:"tokui-chart-candle"}));var u=(t[r]||"D"+(r+1))+" O:"+e.o+" H:"+e.h+" L:"+e.l+" C:"+e.c+(i?" ↑":" ↓");v?j.push({grp:s,cx:n,y:c,text:u}):I.add(s,u,n,c),N.appendChild(s)})),v){var W=i.length,K=T(F,{plotG:P,tipLayer:I.layer,padL:h,cw:m,padT:18,ch:E,h:l,w:c,n:W,srcLeft:function(e){return h+e*k},srcRight:function(e){return h+(e+1)*k},overview:i.map((function(e){return e.c})),valMin:a,range:f,renderLabels:function(e,r,n){for(var i=m/(n-r+1),a=[],o=r;o<=n;o++)a.push(h+(o-r)*i+i/2);q(e,t.slice(r,n+1),a,Q(l,C,_.rotate),i,_.rotate,_.interval)}});j.forEach((function(e){e.grp.addEventListener("mouseenter",(function(){K.showTip(e.text,K.winState.sx*e.cx+K.winState.tx,e.y)})),e.grp.addEventListener("mouseleave",(function(){K.sharedTip.style.opacity=""}))}))}else{for(var V=[],G=0;G<i.length;G++)V.push(h+G*k+k/2);q(F,t.slice(0,i.length),V,Q(l,C,_.rotate),k,_.rotate,_.interval)}return F.appendChild(I.layer),v||x(F),F}function Be(e,t){n[e]=t}function Se(e){function t(e,t){var r=e._chartState;if(r&&t){var n=t.type,i=t.attrs||{};if("pt"===n)if("scatter"===r.type||"bubble"===r.type||"treemap"===r.type)r.points.push(String(void 0===i.v?t.content||"":i.v));else{var a=parseFloat(void 0===i.v?t.content:i.v);isNaN(a)||r.points.push(a)}else if("hrow"===n){var o=String(void 0===i.v?t.content||"":i.v),s=r.rows[r.rows.length-1];t._kidPreview?s&&s._p?s.v=o:r.rows.push({v:o,_p:!0}):s&&s._p?(s.v=o,s._p=!1):r.rows.push({v:o,_p:!1})}else if("flow"===n){var c=String(void 0===i.v?t.content||"":i.v),l=r.flows[r.flows.length-1];t._kidPreview?l&&l._p?l.v=c:r.flows.push({v:c,_p:!0}):l&&l._p?(l.v=c,l._p=!1):r.flows.push({v:c,_p:!1})}else if("task"===n){var u=String(t.content||"").replace(/^["']|["']$/g,"").split(",").map((function(e){return e.trim()}));r.tasks.push(u)}else if("ms"===n){var d=String(t.content||"").replace(/^["']|["']$/g,"").split(",").map((function(e){return e.trim()}));r.ms.push(d)}}}function i(e,t){for(var i=[],a=0;a<e.childNodes.length;a++){var o=e.childNodes[a];"svg"===(o.tagName||"").toLowerCase()&&i.push(o)}i.forEach((function(t){e.removeChild(t)}));var s=t.t||"bar",p=c(t.d),f=l(t.l),m=h(t),v=n[s];if(v){if("candlestick"===s){var b=Ee(t.d);if(b.length){var k=[];b.forEach((function(e){k.push(e.h,e.l)}));var y=g(k),w=A(k);if(isFinite(y)&&isFinite(w)&&y!==w){var x=R(e._yRange?Math.min(e._yRange.lo,y):y,e._yRange?Math.max(e._yRange.hi,w):w);e._yRange={lo:x[0],hi:x[1]}}}e._yRange&&(t._yMin=e._yRange.lo,t._yMax=e._yRange.hi)}if("scatter"===s||"bubble"===s){var _="bubble"===s?he(t.d):d(t.d);if(_.length){var C=_.map((function(e){return e.x})),E=_.map((function(e){return e.y})),T=g(C),B=A(C),S=g(E),D=A(E);if(isFinite(T)&&isFinite(B)&&T!==B){var U=R(e._xRange?Math.min(e._xRange.lo,T):T,e._xRange?Math.max(e._xRange.hi,B):B);e._xRange={lo:U[0],hi:U[1]}}if(isFinite(S)&&isFinite(D)&&S!==D){var F=R(e._yRange?Math.min(e._yRange.lo,S):S,e._yRange?Math.max(e._yRange.hi,D):D);e._yRange={lo:F[0],hi:F[1]}}if("bubble"===s){var I=A(_.map((function(e){return e.s})));isFinite(I)&&(e._sMax=e._sMax?Math.max(e._sMax,I):I)}}e._xRange&&(t._xMin=e._xRange.lo,t._xMax=e._xRange.hi),e._yRange&&(t._yMin=e._yRange.lo,t._yMax=e._yRange.hi),e._sMax&&(t._sMax=e._sMax)}if("heatmap"===s){var L=ge(t.rows||t.d);if(L.length){var O=[];if(L.forEach((function(e){e.forEach((function(e){isNaN(e)||O.push(e)}))})),O.length){var M=g(O),P=A(O);isFinite(M)&&isFinite(P)&&(e._vRange={lo:e._vRange?Math.min(e._vRange.lo,M):M,hi:e._vRange?Math.max(e._vRange.hi,P):P})}}e._vRange&&(t._vMin=e._vRange.lo,t._vMax=e._vRange.hi)}if("histogram"===s){var N=c(t.d),z=me(t.l);if(z)e._hRange={lo:z.lo,hi:z.hi},void 0===t.bins&&(e._hBins=z.bins);else if(N.length){void 0===e._hBins&&void 0===t.bins&&(e._hBins=Math.min(20,Math.max(5,Math.ceil(Math.sqrt(N.length)))));var H=g(N),j=A(N);isFinite(H)&&isFinite(j)&&(e._hRange={lo:e._hRange?Math.min(e._hRange.lo,H):H,hi:e._hRange?Math.max(e._hRange.hi,j):j})}if(void 0!==e._hBins&&(t._bins=e._hBins),e._hRange&&(t._lo=e._hRange.lo,t._hi=e._hRange.hi),N.length){var Q=A(ve(t,N).counts)||1;e._yMax=e._yMax?Math.max(e._yMax,Q):Q,t._yMax=e._yMax}}var q=v(p,f,m,t);q&&q.setAttribute&&"svg"===(q.tagName||"").toLowerCase()&&(q.setAttribute("data-chart-type",s),"bar"===s&&("h"===t.orient||"h"===t.orientation)&&q.setAttribute("data-orient","h")),e.appendChild(q),e._tokuiChartSpec={type:s,data:p,labels:f,colors:m,attrs:t},u(e)}else{var W=document.createElement("div");W.className="tokui-chart__fallback",W.textContent=r("chart.unsupportedType",{type:s}),e.appendChild(W)}}function a(e){var t=e._chartState;if(t){var r={};Object.keys(t.base).forEach((function(e){r[e]=t.base[e]}));var n=t.type;if("gantt"===n)r.tasks=t.tasks.map((function(e){return e.join(",")})).join("|"),r.ms=t.ms.map((function(e){return e.join(",")})).join("|"),r.d="";else if("heatmap"===n)t.rows.length&&(r.rows=t.rows.map((function(e){return e.v})).join("|"),r.d="");else if("sankey"===n)t.flows.length&&(r.flows=t.flows.map((function(e){return e.v})).join(","),r.d="");else{var a="scatter"===n||"bubble"===n?";":",";r.d=t.points.join(a)}i(e,r)}}function o(e){if(!(("undefined"==typeof document?"undefined":Object(s.a)(document))>"u")){var t=e.querySelector("svg.tokui-chart__svg");if(t){var r=t.viewBox&&t.viewBox.baseVal,n=r&&r.width||parseFloat(t.getAttribute("viewBox").split(/\s+/)[2]);if(n>0){var a=0;if("function"==typeof t.getBoundingClientRect)try{a=t.getBoundingClientRect().width}catch(e){a=0}if(a>0){var o=a/n,c=t.getAttribute("data-chart-type");t._tokuiBumpedFs=L(9,o,U,I),O(t,o);var l=e._tokuiChartSpec;if("pie"===c){if(!(l&&l.data&&l.data.length&&l.labels&&l.labels.some((function(e){return!!e}))))return;var u=l.data.reduce((function(e,t){return e+t}),0)||1,d=Z(l.data,l.labels,l.attrs,7,u),p=d.r+d.fs,f=M(a,p,d.fixedA,d.coefB,U),h=1/0;if(d.coefB>1){var A=a*p-28*(p+d.fixedA),g=a+28*(d.coefB-1);h=A>0&&g>0?A/g:7}var m=Math.min(f,h),v=e._tokuiFsApplied||7;return void(m>7.05&&m>v+.05&&(e._tokuiFsApplied=m,i(e,Object.assign({},l.attrs,{_pieFs:m}))))}if({bar:1,line:1,area:1,histogram:1,boxplot:1,candlestick:1,waterfall:1}[c]&&"function"==typeof t.createSVGPoint&&!e._tokuiPadLSet){e._tokuiPadLSet=!0;for(var b=L(9,o,U,I),k=t.querySelector("line"),y=k?parseFloat(k.getAttribute("x1")):0,w=t.querySelectorAll('text[text-anchor="end"]'),x=0,_=0;_<w.length;_++){var C=w[_];if(!(parseFloat(C.getAttribute("x"))>=y)){var E=parseFloat(C.getAttribute("font-size"))||9,T=0;try{T=C.getBBox().width}catch(e){T=0}var B=T*b/E;B>x&&(x=B)}}if(x>0){var S=Math.ceil(x+12),D=l&&l.attrs&&l.attrs.yl?46:40;if(("boxplot"===c||"candlestick"===c||"waterfall"===c)&&(D=44),Math.abs(S-D)>2)return e._tokuiPadL=S,void i(e,Object.assign({},l.attrs,{_padL:S}))}}if(o>0){if(t._tokuiZoomRelayout)try{t._tokuiZoomRelayout(o)}catch(e){}for(var F=t.querySelectorAll("text[font-size]"),P=0;P<F.length;P++){for(var R=F[P],N=R.parentNode;N&&N!==t;){if((N.getAttribute&&N.getAttribute("class")||"").indexOf("tokui-chart-tips-layer")>=0){R=null;break}N=N.parentNode}if(R&&!R.classList.contains("tokui-chart-gauge-value")&&!R.classList.contains("tokui-chart-donut-value")){var z=parseFloat(R.getAttribute("font-size"));if(z>0&&!(z>=13)){var H=L(z,o,U,I);H!==z&&R.setAttribute("font-size",String(Math.round(100*H)/100))}}}}}}}}}function u(e){if((("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.requestAnimationFrame?function(e){window.requestAnimationFrame(e)}:function(e){e()})((function(){o(e)})),!(("undefined"==typeof window?"undefined":Object(s.a)(window))>"u"||void 0===window.ResizeObserver)){if(e._tokuiRO)try{e._tokuiRO.disconnect()}catch(e){}var t=new window.ResizeObserver((function(){e._tokuiAdjRaf||(e._tokuiAdjRaf=!0,(window.requestAnimationFrame?window.requestAnimationFrame:function(e){e()})((function(){e._tokuiAdjRaf=!1,o(e)})))}));e._tokuiRO=t;var r=e.querySelector("svg.tokui-chart__svg")||e;try{t.observe(r)}catch(e){}}}function p(e,t){e&&(navigator.clipboard&&navigator.clipboard.write&&window.ClipboardItem?navigator.clipboard.write([new window.ClipboardItem({"image/png":e})]).then((function(){f(t,r("common.copied"))})).catch((function(){f(t,r("chart.copyFailed"))})):f(t,r("chart.unsupported")))}function f(e,t){if(e){var r=document.createElement("span");r.className="tokui-chart__tip",r.textContent=t,e.appendChild(r),setTimeout((function(){r.parentNode&&r.remove()}),1200)}}Be("bar",X),Be("line",$),Be("pie",J),Be("donut",ee),Be("radar",ne),Be("scatter",ie),Be("gantt",de),Be("funnel",te),Be("gauge",re),Be("area",pe),Be("progress",fe),Be("bubble",Ae),Be("heatmap",be),Be("rose",ke),Be("histogram",ye),Be("waterfall",we),Be("boxplot",xe),Be("treemap",_e),Be("sankey",Ce),Be("candlestick",Te);function m(e,t){if(e&&!(("undefined"==typeof document?"undefined":Object(s.a)(document))>"u")){var i=document.querySelector(".tokui-chart__modal");i&&i.remove();var a=document.createElement("div");a.className="tokui-chart__modal",a.setAttribute("role","dialog"),a.setAttribute("aria-modal","true"),t&&a.setAttribute("aria-label",t);var o=document.createElement("div");o.className="tokui-chart__modal-card";var c=document.createElement("button");if(c.type="button",c.className="tokui-chart__modal-close",c.setAttribute("aria-label",r("common.close")),c.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>',t){var l=document.createElement("div");l.className="tokui-chart__modal-title",l.textContent=t,o.appendChild(l)}var d=document.createElement("div");d.className="tokui-chart__modal-body";var p,f="function"==typeof e.closest?e.closest(".tokui-chart"):null,h=f&&f._tokuiChartSpec,A=!!e.querySelector(".tokui-chart-zoom-window");if(A&&h&&n[h.type])try{(p=n[h.type](h.data,h.labels,h.colors,h.attrs)).setAttribute("data-chart-type",h.type),"bar"===h.type&&("h"===h.attrs.orient||"h"===h.attrs.orientation)&&p.setAttribute("data-orient","h")}catch(t){x(p=e.cloneNode(!0))}else x(p=e.cloneNode(!0));p.id&&p.removeAttribute("id"),d.appendChild(p),A&&h&&(d._tokuiChartSpec=h,d._tokuiPadLSet=!0,u(d)),o.appendChild(d),o.appendChild(c),a.appendChild(o);var g=document.body.style.overflow;document.body.style.overflow="hidden";var m=function(e){"Escape"===e.key&&b()},v=!1;a.addEventListener("click",(function(e){e.target===a&&b()})),c.addEventListener("click",b),document.addEventListener("keydown",m),document.body.appendChild(a),a.offsetWidth,a.classList.add("tokui-chart__modal--open"),(("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.requestAnimationFrame?function(e){window.requestAnimationFrame(e)}:function(e){e()})((function(){var e=0;try{e=p.getBoundingClientRect().width}catch(t){e=0}if(e>0){var t=p.viewBox&&p.viewBox.baseVal,r=t&&t.width||parseFloat((p.getAttribute("viewBox")||"").split(/\s+/)[2]);r>0&&O(p,e/r)}}))}function b(){v||(v=!0,a.classList.remove("tokui-chart__modal--open"),document.removeEventListener("keydown",m),document.body.style.overflow=g,setTimeout((function(){a.parentNode&&a.remove()}),180))}}function v(e){var t=document.createElement("div");t.className="tokui-chart__toolbar";var n=function(e,t,r){var n=document.createElement("button");return n.type="button",n.className="tokui-chart__act",n.setAttribute("data-act",e),n.title=t,n.setAttribute("aria-label",t),n.innerHTML=r,n};return t.appendChild(n("copy",r("chart.copyImage"),'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>')),t.appendChild(n("download",r("chart.downloadImage"),'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>')),t.appendChild(n("fullscreen",r("chart.fullscreen"),'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 3h6v6"/><path d="M9 21H3v-6"/><path d="M21 3l-7 7"/><path d="M3 21l7-7"/></svg>')),t.addEventListener("click",(function(t){var r=t.target.closest("[data-act]");if(r){t.preventDefault();var n=e.querySelector("svg.tokui-chart__svg");if(n&&!r.disabled){var i=r.getAttribute("data-act");if("fullscreen"===i){var a=e.querySelector(".tokui-chart__title");return void m(n,a?a.textContent:"")}r.disabled=!0,function(e,t,r){if(!e||("undefined"==typeof document?"undefined":Object(s.a)(document))>"u"||("undefined"==typeof window?"undefined":Object(s.a)(window))>"u")r(null);else{for(var n=e.viewBox&&e.viewBox.baseVal,i=n&&n.width||e.clientWidth||600,a=n&&n.height||e.clientHeight||300,o=e.cloneNode(!0),c=e.querySelectorAll("*"),l=o.querySelectorAll("*"),u=["fill","stroke","color"],d=0;d<c.length;d++){var p=null;try{p=getComputedStyle(c[d])}catch(e){p=null}if(p)for(var f=0;f<u.length;f++){var h=p.getPropertyValue(u[f]);h&&l[d].setAttribute(u[f],h)}}for(var A=o.querySelectorAll(".tokui-chart-tips-layer"),g=A.length-1;g>=0;g--)A[g].parentNode&&A[g].parentNode.removeChild(A[g]);var m;o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("width",i),o.setAttribute("height",a),o.setAttribute("style","background:#fff");try{m=(new XMLSerializer).serializeToString(o)}catch(e){return void r(null)}var v="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(m),b=new Image;b.onload=function(){var e=document.createElement("canvas");e.width=Math.round(i*t),e.height=Math.round(a*t);var n=e.getContext("2d");n.fillStyle="#fff",n.fillRect(0,0,e.width,e.height),n.drawImage(b,0,0,e.width,e.height),e.toBlob?e.toBlob((function(e){r(e)}),"image/png"):r(null)},b.onerror=function(){r(null)},b.src=v}}(n,"copy"===i?2:3,(function(e){r.disabled=!1,e&&("download"===i?function(e,t){if(e){var r=document.createElement("a"),n=URL.createObjectURL(e);r.href=n,r.download=t,document.body.appendChild(r),r.click(),r.remove(),setTimeout((function(){URL.revokeObjectURL(n)}),2e3)}}(e,"tokui-chart.png"):p(e,r))}))}}})),t}e.register("chart",(function(e){var r=e.attrs||{},n=r.t||"bar",o=document.createElement("div");if(o.className="tokui-chart",r.tt){var c=document.createElement("div");c.className="tokui-chart__title",c.textContent=r.tt,o.appendChild(c)}o.appendChild(v(o));var l=r.t;return r.d||r.tasks||r.rows||r.nodes&&r.flows||void 0!==r.v&&("gauge"===l||"progress"===l)?(i(o,r),o._tokuiChartUpdate=function(e){i(o,e)},o):(o._chartState={type:n,base:r,points:[],tasks:[],ms:[],rows:[],flows:[]},o._tokuiChartAppend=function(e){t(o,e),function(e){e._rafScheduled||(e._rafScheduled=!0,(("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.requestAnimationFrame?function(e){window.requestAnimationFrame(e)}:function(e){e()})((function(){e._rafScheduled=!1,a(e)})))}(o)},o._streamCloseHook=function(){o._rafScheduled&&(o._rafScheduled=!1,a(o))},e.children&&e.children.length&&e.children.forEach((function(e){t(o,e)})),a(o),o)}))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerChartComponents=Se,window.TokUI._internal.registerChartRenderer=Be,window.TokUI._internal.bumpFsUnits=L,window.TokUI._internal.applyTipScale=O,window.TokUI._internal.axisXLayout=z,window.TokUI._internal.zoomBounds=j,window.TokUI._internal.zoomEnabled=H,window.TokUI._internal.solvePieFs=M,window.TokUI._internal.pieSizing=Z,window.TokUI._internal.MIN_CHART_PX=U,window.TokUI._internal.MAX_CHART_PX=I),void 0!==t&&t.exports&&(t.exports={registerChartComponents:Se,registerChartRenderer:Be,bumpFsUnits:L,solvePieFs:M,pieSizing:Z,MIN_CHART_PX:U,MAX_CHART_PX:I,applyTipScale:O,axisXLayout:z,zoomBounds:j,zoomEnabled:H,bumpZoomTextFs:W})})),E=h((function(e,t){var r={view:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/>',edit:'<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"/>',delete:'<path d="M3 6h18"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/>',add:'<path d="M12 5v14"/><path d="M5 12h14"/>',copy:'<rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/>',download:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="M7 10l5 5 5-5"/><path d="M12 15V3"/>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="M17 8l-5-5-5 5"/><path d="M12 3v12"/>',refresh:'<path d="M23 4v6h-6"/><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"/>',check:'<path d="M20 6L9 17l-5-5"/>',close:'<path d="M18 6L6 18"/><path d="M6 6l12 12"/>',search:'<circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/>',setting:'<circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/>',warn:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/>',info:'<circle cx="12" cy="12" r="10"/><line x1="12" y1="16" x2="12" y2="12"/><line x1="12" y1="8" x2="12.01" y2="8"/>',lock:'<rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>',unlock:'<rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/>',more:'<circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/>',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"/><polyline points="17 21 17 13 7 13 7 21"/><polyline points="7 3 7 8 15 8"/>',export:'<path d="M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"/><polyline points="16 6 12 2 8 6"/><line x1="12" y1="2" x2="12" y2="15"/>',filter:'<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"/>',sort:'<path d="M11 5h10"/><path d="M11 9h7"/><path d="M11 13h4"/><path d="m3 17 3 3 3-3"/><path d="M6 18V4"/>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/>',menu:'<line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="18" x2="21" y2="18"/>'};function n(e,t){var n=r[e];if(!n)return"";var i=t||16;return'<svg viewBox="0 0 24 24" width="'+i+'" height="'+i+'" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tokui-icon tokui-icon--'+e+'">'+n+"</svg>"}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.ICONS=r,window.TokUI._internal.iconSvg=n),void 0!==t&&t.exports&&(t.exports={ICONS:r,iconSvg:n})})),T=h((function(e,t){var r=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011];function n(e){for(var t=[],n=0;n<String(e||"").length;n++){var i=String(e||"").charCodeAt(n);i>=32&&i<=126&&t.push(i)}if(!t.length)return"";for(var a=104,o=0;o<t.length;o++)a+=(o+1)*(t[o]-32);for(var s=a%103,c=String(r[104]),l=0;l<t.length;l++)c+=String(r[t[l]-32]);return c+=String(r[s]),c+=String(r[106])}function i(e){var t=("function"==typeof m?x():window.TokUI._internal).el;e.register("barcode",(function(e){var r=e.attrs.tx||e.content||"",i=e.attrs.l||e.attrs.tt||"",a=String(e.attrs.s||e.attrs.size||"md").toLowerCase(),o={small:"sm",medium:"md",large:"lg"}[a]||a,s=t("div",{class:"tokui-barcode tokui-barcode--"+o});i&&s.appendChild(t("div",{class:"tokui-barcode__label"},i));var c=n(r);if(c){var l=t("div",{class:"tokui-barcode__svg"});l.innerHTML=function(e,t){for(var r={sm:1.5,md:2,lg:2.5}[t]||2,n={sm:36,md:54,lg:72}[t]||54,i=e.length,a="",o=0;o<i;)if("1"===e[o]){for(var s=o;s<i&&"1"===e[s];)s++;a+='<rect x="'+(o*r).toFixed(2)+'" y="0" width="'+((s-o)*r).toFixed(2)+'" height="'+n+'"/>',o=s}else o++;return'<svg viewBox="0 0 '+(i*r).toFixed(2)+" "+n+'" width="100%" preserveAspectRatio="xMidYMid meet" role="img" class="tokui-barcode__bars"><g fill="currentColor">'+a+"</g></svg>"}(c,o),s.appendChild(l)}else s.appendChild(t("div",{class:"tokui-barcode__empty"},"—"));return r&&s.appendChild(t("div",{class:"tokui-barcode__text"},r)),s}))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerBarcode=i,window.TokUI._internal.encode128B=n),void 0!==t&&t.exports&&(t.exports={registerBarcode:i,encode128B:n})})),B=h((function(e,t){var n=function(){var e=function(e,t){var r=e,n=a[t],i=null,o=0,c=null,l=[],u={},d=function(e,t){var a;i=function(e){for(var t=Array(e),r=0;r<e;r+=1){t[r]=Array(e);for(var n=0;n<e;n+=1)t[r][n]=null}return t}(o=4*r+17),p(0,0),p(o-7,0),p(0,o-7),h(),f(),_(e,t),r>=7&&g(e),null!==(a=c)&&void 0!==a||(c=B(r,n,l)),C(c,t)},p=function(e,t){for(var r=-1;r<=7;r+=1)if(!(e+r<=-1||o<=e+r))for(var n=-1;n<=7;n+=1)t+n<=-1||o<=t+n||(i[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},f=function(){for(var e=8;e<o-8;e+=1){var t;null!==(t=i[e][6])&&void 0!==t||(i[e][6]=e%2==0)}for(var r=8;r<o-8;r+=1){var n;null!==(n=i[6][r])&&void 0!==n||(i[6][r]=r%2==0)}},h=function(){for(var e=A.getPatternPosition(r),t=0;t<e.length;t+=1)for(var n=0;n<e.length;n+=1){var a=e[t],o=e[n];if(null==i[a][o])for(var s=-2;s<=2;s+=1)for(var c=-2;c<=2;c+=1)i[a+s][o+c]=-2==s||2==s||-2==c||2==c||0==s&&0==c}},g=function(e){for(var t=A.getBCHTypeNumber(r),n=0;n<18;n+=1){var a=!e&&1==(t>>n&1);i[Math.floor(n/3)][n%3+o-8-3]=a}for(n=0;n<18;n+=1){a=!e&&1==(t>>n&1);i[n%3+o-8-3][Math.floor(n/3)]=a}},_=function(e,t){for(var r=n<<3|t,a=A.getBCHTypeInfo(r),s=0;s<15;s+=1){var c=!e&&1==(a>>s&1);s<6?i[s][8]=c:s<8?i[s+1][8]=c:i[o-15+s][8]=c}for(s=0;s<15;s+=1){c=!e&&1==(a>>s&1);s<8?i[8][o-s-1]=c:s<9?i[8][15-s-1+1]=c:i[8][15-s-1]=c}i[o-8][8]=!e},C=function(e,t){for(var r=-1,n=o-1,a=7,s=0,c=A.getMaskFunction(t),l=o-1;l>0;l-=2)for(6==l&&--l;;){for(var u=0;u<2;u+=1)if(null==i[n][l-u]){var d=!1;s<e.length&&(d=1==(e[s]>>>a&1)),c(n,l-u)&&(d=!d),i[n][l-u]=d,-1==--a&&(s+=1,a=7)}if((n+=r)<0||o<=n){n-=r,r=-r;break}}},T=function(e,t){for(var r=0,n=0,i=0,a=Array(t.length),o=Array(t.length),s=0;s<t.length;s+=1){var c=t[s].dataCount,l=t[s].totalCount-c;n=Math.max(n,c),i=Math.max(i,l),a[s]=Array(c);for(var u=0;u<a[s].length;u+=1)a[s][u]=255&e.getBuffer()[u+r];r+=c;var d=A.getErrorCorrectPolynomial(l),p=m(a[s],d.getLength()-1).mod(d);o[s]=Array(d.getLength()-1);for(u=0;u<o[s].length;u+=1){var f=u+p.getLength()-o[s].length;o[s][u]=f>=0?p.getAt(f):0}}var h=0;for(u=0;u<t.length;u+=1)h+=t[u].totalCount;var g=Array(h),v=0;for(u=0;u<n;u+=1)for(s=0;s<t.length;s+=1)u<a[s].length&&(g[v]=a[s][u],v+=1);for(u=0;u<i;u+=1)for(s=0;s<t.length;s+=1)u<o[s].length&&(g[v]=o[s][u],v+=1);return g},B=function(e,t,r){for(var n=v.getRSBlocks(e,t),i=b(),a=0;a<r.length;a+=1){var o=r[a];i.put(o.getMode(),4),i.put(o.getLength(),A.getLengthInBits(o.getMode(),e)),o.write(i)}var s=0;for(a=0;a<n.length;a+=1)s+=n[a].dataCount;if(i.getLengthInBits()>8*s)throw"code length overflow. ("+i.getLengthInBits()+">"+8*s+")";for(i.getLengthInBits()+4<=8*s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*s||(i.put(236,8),i.getLengthInBits()>=8*s));)i.put(17,8);return T(i,n)};u.addData=function(e,t){t||(t="Byte");var r=null;switch(t){case"Numeric":r=k(e);break;case"Alphanumeric":r=y(e);break;case"Byte":r=w(e);break;case"Kanji":r=x(e);break;default:throw"mode:"+t}l.push(r),c=null},u.isDark=function(e,t){if(e<0||o<=e||t<0||o<=t)throw e+","+t;return i[e][t]},u.getModuleCount=function(){return o},u.make=function(){if(r<1){for(var e=1;e<40;e++){for(var t=v.getRSBlocks(e,n),i=b(),a=0;a<l.length;a++){var o=l[a];i.put(o.getMode(),4),i.put(o.getLength(),A.getLengthInBits(o.getMode(),e)),o.write(i)}var s=0;for(a=0;a<t.length;a++)s+=t[a].dataCount;if(i.getLengthInBits()<=8*s)break}r=e}d(!1,function(){for(var e=0,t=0,r=0;r<8;r+=1){d(!0,r);var n=A.getLostPoint(u);(0==r||e>n)&&(e=n,t=r)}return t}())},u.createTableTag=function(e,t){e||(e=2);var r="";r+='<table style="',r+=" border-width: 0px; border-style: none;",r+=" border-collapse: collapse;",r+=" padding: 0px; margin: "+(t=void 0===t?4*e:t)+"px;",r+='">',r+="<tbody>";for(var n=0;n<u.getModuleCount();n+=1){r+="<tr>";for(var i=0;i<u.getModuleCount();i+=1)r+='<td style="',r+=" border-width: 0px; border-style: none;",r+=" border-collapse: collapse;",r+=" padding: 0px; margin: 0px;",r+=" width: "+e+"px;",r+=" height: "+e+"px;",r+=" background-color: ",r+=u.isDark(n,i)?"#000000":"#ffffff",r+=";",r+='"/>';r+="</tr>"}return r+="</tbody>",r+="</table>"},u.createSvgTag=function(e,t,r,n){var i={};"object"==Object(s.a)(arguments[0])&&(e=(i=arguments[0]).cellSize,t=i.margin,r=i.alt,n=i.title),e||(e=2),t=void 0===t?4*e:t,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var a,o,c,l=u.getModuleCount()*e+2*t,d="",p="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ";for(d+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',d+=i.scalable?"":' width="'+l+'px" height="'+l+'px"',d+=' viewBox="0 0 '+l+" "+l+'" ',d+=' preserveAspectRatio="xMinYMin meet"',d+=n.text||r.text?' role="img" aria-labelledby="'+S([n.id,r.id].join(" ").trim())+'"':"",d+=">",d+=n.text?'<title id="'+S(n.id)+'">'+S(n.text)+"</title>":"",d+=r.text?'<description id="'+S(r.id)+'">'+S(r.text)+"</description>":"",d+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',d+='<path d="',o=0;o<u.getModuleCount();o+=1)for(c=o*e+t,a=0;a<u.getModuleCount();a+=1)u.isDark(o,a)&&(d+="M"+(a*e+t)+","+c+p);return d+='" stroke="transparent" fill="black"/>',d+="</svg>"},u.createDataURL=function(e,t){e||(e=2),t=void 0===t?4*e:t;var r=u.getModuleCount()*e+2*t,n=t,i=r-t;return E(r,r,(function(t,r){if(n<=t&&t<i&&n<=r&&r<i){var a=Math.floor((t-n)/e),o=Math.floor((r-n)/e);return+!u.isDark(o,a)}return 1}))},u.createImgTag=function(e,t,r){e||(e=2),t=void 0===t?4*e:t;var n=u.getModuleCount()*e+2*t,i="";return i+="<img",i+=' src="',i+=u.createDataURL(e,t),i+='"',i+=' width="',i+=n,i+='"',i+=' height="',i+=n,i+='"',r&&(i+=' alt="',i+=S(r),i+='"'),i+="/>"};var S=function(e){for(var t="",r=0;r<e.length;r+=1){var n=e.charAt(r);switch(n){case"<":t+="<";break;case">":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=n}}return t};return u.createASCII=function(e,t){if(e||(e=1),e<2)return function(e){e=void 0===e?2:e;var t,r,n,i,a,o=1*u.getModuleCount()+2*e,s=e,c=o-e,l={"██":"█","█ ":"▀"," █":"▄"," ":" "},d={"██":"▀","█ ":"▀"," █":" "," ":" "},p="";for(t=0;t<o;t+=2){for(n=Math.floor((t-s)/1),i=Math.floor((t+1-s)/1),r=0;r<o;r+=1)a="█",s<=r&&r<c&&s<=t&&t<c&&u.isDark(n,Math.floor((r-s)/1))&&(a=" "),s<=r&&r<c&&s<=t+1&&t+1<c&&u.isDark(i,Math.floor((r-s)/1))?a+=" ":a+="█",p+=e<1&&t+1>=c?d[a]:l[a];p+="\n"}return o%2&&e>0?p.substring(0,p.length-o-1)+Array(o+1).join("▀"):p.substring(0,p.length-1)}(t);--e,t=void 0===t?2*e:t;var r,n,i,a,o=u.getModuleCount()*e+2*t,s=t,c=o-t,l=Array(e+1).join("██"),d=Array(e+1).join(" "),p="",f="";for(r=0;r<o;r+=1){for(i=Math.floor((r-s)/e),f="",n=0;n<o;n+=1)a=1,s<=n&&n<c&&s<=r&&r<c&&u.isDark(i,Math.floor((n-s)/e))&&(a=0),f+=a?l:d;for(i=0;i<e;i+=1)p+=f+"\n"}return p.substring(0,p.length-1)},u.renderTo2dContext=function(e,t){t||(t=2);for(var r=u.getModuleCount(),n=0;n<r;n++)for(var i=0;i<r;i++)e.fillStyle=u.isDark(n,i)?"black":"white",e.fillRect(n*t,i*t,t,t)},u};e.stringToBytesFuncs={default:function(e){for(var t=[],r=0;r<e.length;r+=1){var n=e.charCodeAt(r);t.push(255&n)}return t}},e.stringToBytes=e.stringToBytesFuncs.default,e.createStringToBytes=function(e,t){var r=function(){for(var r=C(e),n=function(){var e=r.read();if(-1==e)throw"eof";return e},i=0,a={};;){var o=r.read();if(-1==o)break;var s=n(),c=n(),l=n();a[String.fromCharCode(o<<8|s)]=c<<8|l,i+=1}if(i!=t)throw i+" != "+t;return a}();return function(e){for(var t=[],n=0;n<e.length;n+=1){var i=e.charCodeAt(n);if(i<128)t.push(i);else{var a=r[e.charAt(n)];"number"==typeof a?(255&a)==a?t.push(a):(t.push(a>>>8),t.push(255&a)):t.push(63)}}return t}};var t=1,r=2,n=4,i=8,a={L:1,M:0,Q:3,H:2},o=0,c=1,l=2,u=3,d=4,p=5,f=6,h=7,A=function(){var e=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],a=1335,s=7973,A={},v=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t};return A.getBCHTypeInfo=function(e){for(var t=e<<10;v(t)-v(a)>=0;)t^=a<<v(t)-v(a);return 21522^(e<<10|t)},A.getBCHTypeNumber=function(e){for(var t=e<<12;v(t)-v(s)>=0;)t^=s<<v(t)-v(s);return e<<12|t},A.getPatternPosition=function(t){return e[t-1]},A.getMaskFunction=function(e){switch(e){case o:return function(e,t){return(e+t)%2==0};case c:return function(e,t){return e%2==0};case l:return function(e,t){return t%3==0};case u:return function(e,t){return(e+t)%3==0};case d:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case p:return function(e,t){return e*t%2+e*t%3==0};case f:return function(e,t){return(e*t%2+e*t%3)%2==0};case h:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},A.getErrorCorrectPolynomial=function(e){for(var t=m([1],0),r=0;r<e;r+=1)t=t.multiply(m([1,g.gexp(r)],0));return t},A.getLengthInBits=function(e,a){if(1<=a&&a<10)switch(e){case t:return 10;case r:return 9;case n:case i:return 8;default:throw"mode:"+e}else if(a<27)switch(e){case t:return 12;case r:return 11;case n:return 16;case i:return 10;default:throw"mode:"+e}else{if(!(a<41))throw"type:"+a;switch(e){case t:return 14;case r:return 13;case n:return 16;case i:return 12;default:throw"mode:"+e}}},A.getLostPoint=function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n+=1)for(var i=0;i<t;i+=1){for(var a=0,o=e.isDark(n,i),s=-1;s<=1;s+=1)if(!(n+s<0||t<=n+s))for(var c=-1;c<=1;c+=1)i+c<0||t<=i+c||0==s&&0==c||o==e.isDark(n+s,i+c)&&(a+=1);a>5&&(r+=3+a-5)}for(n=0;n<t-1;n+=1)for(i=0;i<t-1;i+=1){var l=0;e.isDark(n,i)&&(l+=1),e.isDark(n+1,i)&&(l+=1),e.isDark(n,i+1)&&(l+=1),e.isDark(n+1,i+1)&&(l+=1),(0==l||4==l)&&(r+=3)}for(n=0;n<t;n+=1)for(i=0;i<t-6;i+=1)e.isDark(n,i)&&!e.isDark(n,i+1)&&e.isDark(n,i+2)&&e.isDark(n,i+3)&&e.isDark(n,i+4)&&!e.isDark(n,i+5)&&e.isDark(n,i+6)&&(r+=40);for(i=0;i<t;i+=1)for(n=0;n<t-6;n+=1)e.isDark(n,i)&&!e.isDark(n+1,i)&&e.isDark(n+2,i)&&e.isDark(n+3,i)&&e.isDark(n+4,i)&&!e.isDark(n+5,i)&&e.isDark(n+6,i)&&(r+=40);var u=0;for(i=0;i<t;i+=1)for(n=0;n<t;n+=1)e.isDark(n,i)&&(u+=1);return r+=10*(Math.abs(100*u/t/t-50)/5)},A}(),g=function(){for(var e=Array(256),t=Array(256),r=0;r<8;r+=1)e[r]=1<<r;for(r=8;r<256;r+=1)e[r]=e[r-4]^e[r-5]^e[r-6]^e[r-8];for(r=0;r<255;r+=1)t[e[r]]=r;var n={glog:function(e){if(e<1)throw"glog("+e+")";return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}};return n}();function m(e,t){if(void 0===e.length)throw e.length+"/"+t;var r=function(){for(var r=0;r<e.length&&0==e[r];)r+=1;for(var n=Array(e.length-r+t),i=0;i<e.length-r;i+=1)n[i]=e[i+r];return n}(),n={getAt:function(e){return r[e]},getLength:function(){return r.length},multiply:function(e){for(var t=Array(n.getLength()+e.getLength()-1),r=0;r<n.getLength();r+=1)for(var i=0;i<e.getLength();i+=1)t[r+i]^=g.gexp(g.glog(n.getAt(r))+g.glog(e.getAt(i)));return m(t,0)},mod:function(e){if(n.getLength()-e.getLength()<0)return n;for(var t=g.glog(n.getAt(0))-g.glog(e.getAt(0)),r=Array(n.getLength()),i=0;i<n.getLength();i+=1)r[i]=n.getAt(i);for(i=0;i<e.getLength();i+=1)r[i]^=g.gexp(g.glog(e.getAt(i))+t);return m(r,0).mod(e)}};return n}var v=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var r={};return r.totalCount=e,r.dataCount=t,r},r={},n=function(t,r){switch(r){case a.L:return e[4*(t-1)+0];case a.M:return e[4*(t-1)+1];case a.Q:return e[4*(t-1)+2];case a.H:return e[4*(t-1)+3];default:return}};return r.getRSBlocks=function(e,r){var i=n(e,r);if(void 0===i)throw"bad rs block @ typeNumber:"+e+"/errorCorrectionLevel:"+r;for(var a=i.length/3,o=[],s=0;s<a;s+=1)for(var c=i[3*s+0],l=i[3*s+1],u=i[3*s+2],d=0;d<c;d+=1)o.push(t(l,u));return o},r}(),b=function(){var e=[],t=0,r={getBuffer:function(){return e},getAt:function(t){return 1==(e[Math.floor(t/8)]>>>7-t%8&1)},put:function(e,t){for(var n=0;n<t;n+=1)r.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return t},putBit:function(r){var n=Math.floor(t/8);e.length<=n&&e.push(0),r&&(e[n]|=128>>>t%8),t+=1}};return r},k=function(e){var r=t,n=e,i={getMode:function(){return r},getLength:function(e){return n.length},write:function(e){for(var t=n,r=0;r+2<t.length;)e.put(a(t.substring(r,r+3)),10),r+=3;r<t.length&&(t.length-r==1?e.put(a(t.substring(r,r+1)),4):t.length-r==2&&e.put(a(t.substring(r,r+2)),7))}},a=function(e){for(var t=0,r=0;r<e.length;r+=1)t=10*t+o(e.charAt(r));return t},o=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-48;throw"illegal char :"+e};return i},y=function(e){var t=r,n=e,i={getMode:function(){return t},getLength:function(e){return n.length},write:function(e){for(var t=n,r=0;r+1<t.length;)e.put(45*a(t.charAt(r))+a(t.charAt(r+1)),11),r+=2;r<t.length&&e.put(a(t.charAt(r)),6)}},a=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-48;if("A"<=e&&e<="Z")return e.charCodeAt(0)-65+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return i},w=function(t){var r=n,i=e.stringToBytes(t),a={getMode:function(){return r},getLength:function(e){return i.length},write:function(e){for(var t=0;t<i.length;t+=1)e.put(i[t],8)}};return a},x=function(t){var r=i,n=e.stringToBytesFuncs.SJIS;if(!n)throw"sjis not supported.";!function(e,t){var r=n("友");if(2!=r.length||38726!=(r[0]<<8|r[1]))throw"sjis not supported."}();var a=n(t),o={getMode:function(){return r},getLength:function(e){return~~(a.length/2)},write:function(e){for(var t=a,r=0;r+1<t.length;){var n=(255&t[r])<<8|255&t[r+1];if(33088<=n&&n<=40956)n-=33088;else{if(!(57408<=n&&n<=60351))throw"illegal char at "+(r+1)+"/"+n;n-=49472}n=192*(n>>>8&255)+(255&n),e.put(n,13),r+=2}if(r<t.length)throw"illegal char at "+(r+1)}};return o},_=function(){var e=[],t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,r,n){r||(r=0),n||(n=e.length);for(var i=0;i<n;i+=1)t.writeByte(e[i+r])},writeString:function(e){for(var r=0;r<e.length;r+=1)t.writeByte(e.charCodeAt(r))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var r=0;r<e.length;r+=1)r>0&&(t+=","),t+=e[r];return t+="]"}};return t},C=function(e){var t=e,r=0,n=0,i=0,a={read:function(){for(;i<8;){if(r>=t.length){if(0==i)return-1;throw"unexpected end of file./"+i}var e=t.charAt(r);if(r+=1,"="==e)return i=0,-1;e.match(/^\s$/)||(n=n<<6|o(e.charCodeAt(0)),i+=6)}var a=n>>>i-8&255;return i-=8,a}},o=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return a},E=function(e,t,r){for(var n=function(e,t){var r=e,n=t,i=Array(e*t),a={setPixel:function(e,t,n){i[t*r+e]=n},write:function(e){e.writeString("GIF87a"),e.writeShort(r),e.writeShort(n),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(r),e.writeShort(n),e.writeByte(0);var t=o(2);e.writeByte(2);for(var i=0;t.length-i>255;)e.writeByte(255),e.writeBytes(t,i,255),i+=255;e.writeByte(t.length-i),e.writeBytes(t,i,t.length-i),e.writeByte(0),e.writeString(";")}},o=function(e){for(var t=1<<e,r=1+(1<<e),n=e+1,a=s(),o=0;o<t;o+=1)a.add(String.fromCharCode(o));a.add(String.fromCharCode(t)),a.add(String.fromCharCode(r));var c=_(),l=function(e){var t=e,r=0,n=0,i={write:function(e,i){if(e>>>i)throw"length over";for(;r+i>=8;)t.writeByte(255&(e<<r|n)),i-=8-r,e>>>=8-r,n=0,r=0;n|=e<<r,r+=i},flush:function(){r>0&&t.writeByte(n)}};return i}(c);l.write(t,n);var u=0,d=String.fromCharCode(i[u]);for(u+=1;u<i.length;){var p=String.fromCharCode(i[u]);u+=1,a.contains(d+p)?d+=p:(l.write(a.indexOf(d),n),a.size()<4095&&(a.size()==1<<n&&(n+=1),a.add(d+p)),d=p)}return l.write(a.indexOf(d),n),l.write(r,n),l.flush(),c.toByteArray()},s=function(){var e={},t=0,r={add:function(n){if(r.contains(n))throw"dup key:"+n;e[n]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return void 0!==e[t]}};return r};return a}(e,t),i=0;i<t;i+=1)for(var a=0;a<e;a+=1)n.setPixel(a,i,r(a,i));var o=_();n.write(o);for(var s=function(){var e=0,t=0,r=0,n="",i={},a=function(e){n+=String.fromCharCode(o(63&e))},o=function(e){if(!(e<0)){if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return i.writeByte=function(n){for(e=e<<8|255&n,t+=8,r+=1;t>=6;)a(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(a(e<<6-t),e=0,t=0),r%3!=0)for(var i=3-r%3,o=0;o<i;o+=1)n+="="},i.toString=function(){return n},i}(),c=o.toByteArray(),l=0;l<c.length;l+=1)s.writeByte(c[l]);return s.flush(),"data:image/gif;base64,"+s};return e}();n.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t.push(n):n<2048?t.push(192|n>>6,128|63&n):n<55296||n>=57344?t.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return t}(e)},function(n){"function"==typeof define&&r("3c35")?define([],n):"object"==Object(s.a)(e)&&(t.exports=n())}((function(){return n})),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal._qrcode=n)})),S=h((function(e,t){function r(){if("function"==typeof m)try{return B()}catch(e){return null}return("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal._qrcode:null}function n(e){var t=("function"==typeof m?x():window.TokUI._internal).el;e.register("qrcode",(function(e){var n=e.attrs.tx||e.content||"",i=e.attrs.l||e.attrs.tt||"",a=String(e.attrs.s||e.attrs.size||"md").toLowerCase(),o={small:"sm",medium:"md",large:"lg"}[a]||a,s=String(e.attrs.ec||"M").toUpperCase(),c=["L","M","Q","H"].indexOf(s)>=0?s:"M",l=t("div",{class:"tokui-qrcode tokui-qrcode--"+o}),u=r();if(u&&n)try{u.stringToBytesFuncs&&u.stringToBytesFuncs["UTF-8"]&&(u.stringToBytes=u.stringToBytesFuncs["UTF-8"]);var d=u(0,c);d.addData(n),d.make();var p=d.getModuleCount(),f=t("div",{class:"tokui-qrcode__box"});f.innerHTML=function(e,t){for(var r=e+8,n="",i=0;i<e;i++)for(var a=0;a<e;a++)t(i,a)&&(n+="M"+(a+4)+" "+(i+4)+"h1v1h-1z");return'<svg viewBox="0 0 '+r+" "+r+'" width="100%" preserveAspectRatio="xMidYMid meet" role="img" class="tokui-qrcode__svg" shape-rendering="crispEdges"><rect x="0" y="0" width="'+r+'" height="'+r+'" fill="#ffffff"/><path d="'+n+'" fill="currentColor"/></svg>'}(p,(function(e,t){return d.isDark(e,t)})),l.appendChild(f)}catch(e){l.appendChild(t("div",{class:"tokui-qrcode__empty"},"数据过长"))}else l.appendChild(t("div",{class:"tokui-qrcode__empty"},n?"二维码引擎未就绪":"—"));return i&&l.appendChild(t("div",{class:"tokui-qrcode__label"},i)),l}))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerQrcode=n),void 0!==t&&t.exports&&(t.exports={registerQrcode:n})})),D=h((function(e,t){var r="function"==typeof m?v().t:window.TokUI&&window.TokUI._internal&&window.TokUI._internal.t||function(e){return e};function n(e){if(!e)return null;var t={primary:"var(--tokui-primary)",success:"var(--tokui-success)",warning:"var(--tokui-warning)",danger:"var(--tokui-danger)",info:"var(--tokui-primary)",dark:"var(--tokui-dark)",light:"var(--tokui-light)"};return t[e]?t[e]:/^[0-9a-fA-F]{6}$/.test(e)?"#"+e:null}var i={js:{keywords:/\b(abstract|arguments|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|let|new|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/g,types:/\b(Array|Boolean|Date|Error|Function|Infinity|JSON|Map|Math|NaN|Number|Object|Promise|RegExp|Set|String|Symbol|WeakMap|WeakSet|console|document|window|undefined|null|true|false|parseInt|parseFloat|isNaN|isFinite|require|module|exports|process|Buffer)\b/g},javascript:null,jsx:null,ts:{keywords:/\b(abstract|any|as|async|await|bigint|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|if|implements|import|in|instanceof|interface|keyof|let|module|namespace|new|never|null|number|object|of|package|private|protected|public|readonly|require|return|set|static|string|super|switch|symbol|this|throw|try|type|typeof|undefined|unique|unknown|var|void|while|with|yield)\b/g,types:/\b(Array|Boolean|Date|Error|Function|Map|Number|Object|Promise|Record|RegExp|Set|String|Symbol|console|Partial|Required|Readonly|Pick|Omit|ReturnType|InstanceType)\b/g},typescript:null,tsx:null,python:{keywords:/\b(and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)\b/g,types:/\b(True|False|None|int|float|str|list|dict|tuple|set|bool|bytes|range|len|print|input|type|isinstance|self|super|map|filter|zip|enumerate|sorted|reversed|any|all|min|max|sum|abs|round|open|iter|next|id|hash|callable|hasattr|getattr|setattr|delattr|property|staticmethod|classmethod)\b/g},py:null,html:{keywords:/\b(html|head|body|div|span|p|a|img|ul|ol|li|h1|h2|h3|h4|h5|h6|table|tr|td|th|thead|tbody|form|input|button|select|option|textarea|label|section|article|header|footer|nav|main|aside|details|summary|video|audio|source|canvas|svg|iframe|link|meta|script|style|title|br|hr|pre|code|blockquote)\b/g,types:/\b(class|id|style|href|src|alt|type|name|value|placeholder|action|method|target|rel|width|height|disabled|required|checked|selected|readonly|hidden)\b/g},css:{keywords:/\b(align-items|align-self|animation|background|background-color|background-image|border|border-color|border-radius|border-style|border-width|bottom|box-shadow|box-sizing|color|content|cursor|display|filter|flex|flex-direction|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-weight|gap|grid|height|justify-content|left|letter-spacing|line-height|margin|max-height|max-width|min-height|min-width|opacity|order|outline|overflow|padding|position|resize|right|text-align|text-decoration|text-overflow|text-transform|top|transform|transition|user-select|vertical-align|visibility|white-space|width|word-break|z-index)\b/g,types:/\b(inherit|initial|auto|none|block|inline|inline-block|flex|grid|absolute|relative|fixed|sticky|center|left|right|top|bottom|baseline|stretch|column|row|wrap|nowrap|visible|hidden|scroll|solid|dashed|dotted|transparent|bold|normal|italic|uppercase|lowercase|underline|pointer|default|cover|contain|ease|linear|important|var|calc|rgb|rgba|hsl)\b/g},json:{keywords:/\b(true|false|null)\b/g,types:/\b[A-Za-z_]\w*(?=\s*:)/g},sql:{keywords:/\b(SELECT|FROM|WHERE|INSERT|INTO|VALUES|UPDATE|SET|DELETE|CREATE|TABLE|ALTER|DROP|INDEX|VIEW|JOIN|INNER|LEFT|RIGHT|OUTER|ON|AND|OR|NOT|IN|BETWEEN|LIKE|IS|NULL|AS|ORDER|BY|GROUP|HAVING|LIMIT|UNION|ALL|EXISTS|DISTINCT|COUNT|SUM|AVG|MIN|MAX|CASE|WHEN|THEN|ELSE|END|PRIMARY|KEY|FOREIGN|REFERENCES|DEFAULT|CHECK|UNIQUE|IF|DESC|ASC)\b/gi,types:/\b(INT|INTEGER|BIGINT|FLOAT|DOUBLE|DECIMAL|VARCHAR|CHAR|TEXT|BLOB|DATE|DATETIME|TIMESTAMP|BOOLEAN|ENUM|JSON|SERIAL)\b/gi},java:{keywords:/\b(abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while|yield|record|sealed|var)\b/g,types:/\b(String|Integer|Long|Double|Float|Boolean|Object|Class|Thread|Exception|Error|List|Map|Set|Queue|ArrayList|HashMap|HashSet|TreeMap|TreeSet|Arrays|Collections|Stream|Optional|System|Math|null|true|false)\b/g},go:{keywords:/\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go|goto|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/g,types:/\b(bool|byte|error|float32|float64|int|int8|int16|int32|int64|rune|string|uint|uint8|uint16|uint32|uint64|uintptr|true|false|nil|iota|append|cap|close|copy|delete|len|make|new|panic|print|println|recover|fmt|err)\b/g},rust:{keywords:/\b(as|async|await|break|const|continue|crate|dyn|else|enum|extern|fn|for|if|impl|in|let|loop|match|mod|move|mut|pub|ref|return|self|Self|static|struct|super|trait|type|unsafe|use|where|while|yield)\b/g,types:/\b(i8|i16|i32|i64|i128|isize|u8|u16|u32|u64|u128|usize|f32|f64|bool|char|str|String|Vec|Box|Option|Result|Some|None|Ok|Err|true|false|println|format|panic|assert)\b/g},bash:{keywords:/\b(if|then|else|elif|fi|case|esac|for|while|until|do|done|in|function|select|return|exit|break|continue|declare|export|local|readonly|unset|source|set|shift|eval|echo|printf|test|true|false|cd|pwd|ls|mkdir|cp|mv|rm|cat|head|tail|grep|sed|awk|find|sort|uniq|wc|cut|xargs|chmod|touch|df|du|ps|kill|nohup|ssh|curl|wget|npm|pip|git|docker)\b/g,types:null},sh:null,shell:null,zsh:null};function a(e,t){if(!e)return"";var r=String(e),n=i[t];if(!n)return r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");var a=[];function o(){return"\0PH_"+String(a.length).padStart(5,"0")+"\0"}function s(e,t){var r=o(),n=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");return a.push('<span class="tok-'+t+'">'+n+"</span>"),r}function c(e,t){var r=o();return a.push('<span class="tok-'+t+'">'+e+"</span>"),r}"json"===t&&(r=r.replace(/(["'])(?:(?!\1|\\).|\\.)*\1(?=\s*:)/g,(function(e){return s(e,"type")}))),r=(r=(r=r.replace(/(["'])(?:(?!\1|\\).|\\.)*\1/g,(function(e){return s(e,"str")}))).replace(/`(?:[^`\\]|\\.)*`/g,(function(e){return s(e,"str")}))).replace(/\/\/.*$/gm,(function(e){return s(e,"cmt")})),"sql"===t&&(r=r.replace(/--.*$/gm,(function(e){return s(e,"cmt")}))),"css"!==t&&"html"!==t&&(r=r.replace(/#.*$/gm,(function(e){return s(e,"cmt")})));var l=(r=r.replace(/\/\*[\s\S]*?\*\//g,(function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").split("\n").map((function(e){var t=o();return a.push('<span class="tok-cmt">'+e+"</span>"),t})).join("\n")}))).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");return l=l.replace(/\b(\d+\.?\d*(?:e[+-]?\d+)?)\b/gi,(function(e){return c(e,"num")})),n.keywords&&(l=l.replace(n.keywords,(function(e){return c(e,"kw")}))),n.types&&(l=l.replace(n.types,(function(e){return c(e,"type")}))),l=(l=(l=l.replace(/\b([a-zA-Z_]\w*)\s*(?=\()/g,(function(e){return c(e,"fn")}))).replace(/(&&|\|\||===|!==|=>|\.\.\.|\+\+|--|[+\-*/%=!|^~?:]+)/g,(function(e){return c(e,"op")}))).replace(/\x00PH_(\d+)\x00/g,(function(e,t){return a[parseInt(t)]}))}function o(e){var t=("function"==typeof m?x():window.TokUI._internal).el;["h1","h2","h3","h4","h5","h6"].forEach((function(r){e.register(r,(function(e){var i=t(r,{class:"tokui-".concat(r)},e.content||e.attrs&&e.attrs.tx);e.attrs&&e.attrs.id&&(i.id=e.attrs.id);var a=n(e.attrs.bg),o=n(e.attrs.fc),s=e.attrs.v||"";return a&&(s.includes("underline")?i.style.setProperty("--tokui-title-bg",a):i.style.background=a),o&&(i.style.color=o),i}))})),e.register("p",(function(e,r){var n={class:"tokui-p"};e.attrs&&e.attrs.id&&(n.id=e.attrs.id);var i=t("p",n),a=e.content||e.attrs&&e.attrs.tx;return a&&i.appendChild(document.createTextNode(a)),e.children&&e.children.length&&r(e.children).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i})),e.register("a",(function(e){var r=void 0!==e.attrs.dis,n=e.attrs.u||"#";/^(https?:\/\/|mailto:|\/|#|tel:)/i.test(n)||(n="#");var i={class:"tokui-link"+(r?" tokui-a--disabled":""),href:r?"javascript:void(0)":n,target:e.attrs.target||"_blank",rel:"noopener noreferrer"};e.attrs.tt&&(i.title=e.attrs.tt),r&&(i.tabindex="-1",i["aria-disabled"]="true");var a=t("a",i);return a.textContent=e.attrs.tx||e.content||"",a})),e.register("img",(function(e){var r={class:"tokui-img"};e.attrs.s&&(r.src=e.attrs.s),r.alt=e.attrs.alt||"",e.attrs.w&&(r.width=e.attrs.w),e.attrs.h&&(r.height=e.attrs.h),e.attrs.tt&&(r.title=e.attrs.tt);var n=t("img",r);return n.style.cursor="pointer",n.addEventListener("click",(function(){(0,("function"==typeof m?_():window.TokUI._internal).getLightbox)(("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"?document:void 0).open(r.src)})),n})),e.register("hr",(function(){return t("hr",{class:"tokui-hr"})}));var o={b:"strong",strong:"strong",em:"em",i_text:"em",mark:"mark",del:"del",sub:"sub",sup:"sup"};function p(t){var r=null,n=e._mountRoot;return n&&"function"==typeof n.querySelector&&(r=n.querySelector('[id="'+String(t).replace(/"/g,'\\"')+'"]')),r||(r=document.getElementById(t)),r}function f(t){for(var r=t,n=e._mountRoot||null;r&&!r._tokuiType&&r.parentElement&&r.parentElement!==n;)r=r.parentElement;return r||t}function h(t,r,n){if(e._onComponentEvent)try{e._onComponentEvent({type:t,id:r,event:"applied",detail:n})}catch(e){}}function A(e){var t=function(e){return("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window&&window[e]?window[e]:null}("mermaid");if(t&&e&&(-1!==String(e.innerHTML||"").indexOf("tokui-md__mermaid")||"function"==typeof e.querySelector&&e.querySelector(".tokui-md__mermaid"))){var r="function"==typeof e.querySelectorAll?Array.prototype.slice.call(e.querySelectorAll(".tokui-md__mermaid")):[],n=[];if(r.forEach((function(e){if(!e._mermaidDone){e._mermaidDone=!0;var t="function"==typeof e.querySelector?e.querySelector("code"):null;e.textContent=t?t.textContent:e.textContent,n.push(e)}})),!r.length||n.length)try{if("function"==typeof t.run){var i=t.run({nodes:n});i&&"function"==typeof i.catch&&i.catch((function(){}))}else"function"==typeof t.init&&t.init(void 0,n)}catch(e){}}}function g(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function v(e){return e.split("\n").map((function(e){return'<span class="code-line">'+(e||" ")+"</span>"})).join("")}function b(e){var r=e.attrs||{},n=r.status||"pass",i=t("div",{class:"tokui-test-case tokui-test-case--"+n,"data-tokui-tag":e.type}),a=t("span",{class:"tokui-test-case__status"});a.textContent={pass:"✓",fail:"✗",skip:"○"}[n]||n,i.appendChild(a);var o=t("span",{class:"tokui-test-case__name"});if(o.textContent=r.name||"test",i.appendChild(o),r.duration){var s=t("span",{class:"tokui-test-case__duration"});s.textContent=r.duration,i.appendChild(s)}if("fail"===n&&r.error){var c=t("div",{class:"tokui-test-case__error"});c.textContent=r.error,i.appendChild(c)}return i}function k(e,n,i,a,o){var c=e.attrs||{},l=c.tt||"",u=c.time||"",d=c.id||l,p=!0===c.active||"true"===c.active;!p&&i&&c.act&&c.act===i&&(p=!0);var f=["tokui-conv"];p&&f.push("tokui-conv--active");var h=t("div",{class:f.join(" "),role:"listitem",tabindex:"0","data-tokui-tag":"conv"}),A=t("div",{class:"tokui-conv__title"});if(A.textContent=l,h.appendChild(A),u){var g=t("span",{class:"tokui-conv__time"});g.textContent=u,h.appendChild(g)}var m=t("div",{class:"tokui-conv__actions"}),v=t("button",{class:"tokui-conv__delete",type:"button","aria-label":r("common.delete")});return v.textContent="×",m.appendChild(v),h.appendChild(m),h.addEventListener("click",(function(e){if(!e.target.closest||!e.target.closest(".tokui-conv__delete")){if((a?a.querySelectorAll(".tokui-conv"):[h]).forEach((function(e){e.classList.remove("tokui-conv--active")})),h.classList.add("tokui-conv--active"),n){var t=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;t&&"function"==typeof t.emit&&t.emit(n,{tt:l,time:u,act:c.act||""})}o&&o("change",{value:d})}})),h.addEventListener("keydown",(function(e){"Enter"===e.key&&h.click()})),v.addEventListener("click",(function(e){e.stopPropagation(),h.parentNode&&h.parentNode.removeChild(h),o&&o("delete",{value:d})})),n&&h.setAttribute("data-tokui-clk",n),h}function y(e){var r=e.attrs||{},n=r.tt||"",i=r.tx||"",a=r.i||"code",o=r.clk||"",s={code:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg>',chart:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>',doc:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg>',dashboard:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="8" height="10" rx="1"/><rect x="13" y="3" width="8" height="6" rx="1"/><rect x="13" y="13" width="8" height="8" rx="1"/><rect x="3" y="17" width="8" height="4" rx="1"/></svg>',print:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 6 2 18 2 18 9"/><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"/><rect x="6" y="14" width="12" height="8" rx="1"/></svg>',chat:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"/></svg>',table:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="16" rx="1"/><line x1="3" y1="10" x2="21" y2="10"/><line x1="9" y1="10" x2="9" y2="20"/></svg>',form:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 11l3 3L22 4"/><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"/></svg>'},c={class:["tokui-welcome-feature","tokui-welcome-feature--"+a].join(" "),role:"button",tabindex:"0","data-tokui-tag":e.type};o&&(c["data-tokui-clk"]=o),Object.keys(r).forEach((function(e){0===e.indexOf("data-")&&(c[e]=r[e])}));var l=t("div",c),u=t("div",{class:"tokui-welcome-feature__icon"});u.innerHTML=s[a]||s.code,l.appendChild(u);var d=t("div",{class:"tokui-welcome-feature__body"});if(n){var p=t("div",{class:"tokui-welcome-feature__title"});p.textContent=n,d.appendChild(p)}if(i){var f=t("div",{class:"tokui-welcome-feature__desc"});f.textContent=i,d.appendChild(f)}return l.appendChild(d),l._tokuiType="welcome-feature",l}function w(e){var r=e.attrs||{},n=r.tx||"",i=r.v||n,a=t("div",{class:"tokui-command__item",role:"option",tabindex:"-1","data-value":i,"aria-selected":"false","data-tokui-tag":e.type});r.clk&&a.setAttribute("data-tokui-clk",r.clk);var o=t("span",{class:"tokui-command__item-text"});if(o.textContent=n,a.appendChild(o),r.shortcut){var c=t("span",{class:"tokui-command__item-shortcut"});c.textContent=r.shortcut,a.appendChild(c)}return a.addEventListener("click",(function(){var e=a.closest?a.closest(".tokui-command"):null;if(e&&e._closeCommand){var t=a.getAttribute("data-tokui-clk");if(t){var r=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;r&&"function"==typeof r.emit&&r.emit(t,{value:i,text:n})}var o=e.getAttribute("data-tokui-clk");if(o){var c=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;c&&"function"==typeof c.emit&&c.emit(o,{value:i,text:n,clk:t})}e._closeCommand()}})),a.addEventListener("mouseenter",(function(){var e=a.closest?a.closest(".tokui-command__list"):null;e&&(Array.from(e.querySelectorAll('.tokui-command__item:not([style*="display: none"])')).forEach((function(e){e.classList.remove("tokui-command__item--selected"),e.setAttribute("aria-selected","false")})),a.classList.add("tokui-command__item--selected"),a.setAttribute("aria-selected","true"))})),a}Object.keys(o).forEach((function(r){"i_text"!==r&&e.register(r,(function(e,n){var i=t(o[r],{class:"tokui-"+r}),a=e.content||e.attrs&&e.attrs.tx||"";return a&&(i.textContent=a),e.children&&e.children.length&&"function"==typeof n&&n(e.children).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i}))})),e.register("tag",(function(e){var r=e.attrs||{},i=r.tx||e.content||"",a=["tokui-tag"],o=r.t||"";o&&"default"!==o&&a.push("tokui-tag--"+o);var s=r.s||"";s&&"medium"!==s&&a.push("tokui-tag--"+s),void 0!==r.round&&a.push("tokui-tag--round"),void 0!==r.bordered&&a.push("tokui-tag--bordered"),void 0!==r.dis&&a.push("tokui-tag--disabled");var c=t("span",{class:a.join(" ")}),l=n(r.bg),u=n(r.fc);l&&(c.style.background=l),u&&(c.style.color=u);var d=t("span",{class:"tokui-tag__content"});if(d.textContent=i,c.appendChild(d),void 0!==r.closable){a.push("tokui-tag--closable"),c.className=a.join(" ");var p=t("span",{class:"tokui-tag__close"});p.textContent="×",p.addEventListener("click",(function(){c.style.display="none"})),c.appendChild(p)}return c._update=function(e){if(void 0!==e.tx){var t=c.querySelector(".tokui-tag__content");t&&(t.textContent=e.tx)}"close"===e.act&&(c.style.transition="opacity 0.25s, transform 0.25s",c.style.opacity="0",c.style.transform="scale(0.8)",setTimeout((function(){c.style.display="none"}),260))},c})),e.register("toggle",(function(e){var r=e.attrs||{},n=r.tx||e.content||"",i=!0===r.chk,a=r.s||"",o=void 0!==r.dis,s=["tokui-toggle"];i&&s.push("tokui-toggle--pressed"),"sm"===a?s.push("tokui-toggle--sm"):"lg"===a&&s.push("tokui-toggle--lg"),o&&s.push("tokui-toggle--disabled");var c={class:s.join(" "),type:"button",role:"switch","aria-pressed":String(i)};o&&(c["aria-disabled"]="true"),r.clk&&(c["data-tokui-clk"]=r.clk);var l=t("button",c);return l.textContent=n,l.addEventListener("click",(function(e){if(!o){var t=l.closest(".tokui-toggle-group");if(!t||t.classList.contains("tokui-toggle-group--multi")){var r="true"!==l.getAttribute("aria-pressed");l.setAttribute("aria-pressed",String(r)),l.classList.toggle("tokui-toggle--pressed",r)}}})),o&&(l.disabled=!0),l._update=function(e){!0===e.chk||"true"===e.chk?(l.setAttribute("aria-pressed","true"),l.classList.add("tokui-toggle--pressed")):(!1===e.chk||"false"===e.chk)&&(l.setAttribute("aria-pressed","false"),l.classList.remove("tokui-toggle--pressed")),!0===e.dis||"true"===e.dis?(l.disabled=!0,l.classList.add("tokui-toggle--disabled"),l.setAttribute("aria-disabled","true")):(!1===e.dis||"false"===e.dis)&&(l.disabled=!1,l.classList.remove("tokui-toggle--disabled"),l.removeAttribute("aria-disabled"))},l})),e.register("toggle-group",(function(e,r){var n=e.attrs||{},i=!0===n.multi,a=n.s||"",o=["tokui-toggle-group"];i&&o.push("tokui-toggle-group--multi"),"sm"===a?o.push("tokui-toggle-group--sm"):"lg"===a&&o.push("tokui-toggle-group--lg");var s={class:o.join(" "),role:"group"};n.clk&&(s["data-tokui-clk"]=n.clk);var c=t("div",s);return r(e.children||[]).forEach((function(e){e&&e.nodeType&&c.appendChild(e)})),i||c.addEventListener("click",(function(e){var t=e.target.closest(".tokui-toggle");if(t&&!t.disabled&&"true"!==t.getAttribute("aria-disabled")){var r="true"===t.getAttribute("aria-pressed");c.querySelectorAll(".tokui-toggle").forEach((function(e){e.setAttribute("aria-pressed","false"),e.classList.remove("tokui-toggle--pressed")})),r||(t.setAttribute("aria-pressed","true"),t.classList.add("tokui-toggle--pressed"))}})),c._slot=c,c._tokuiType="toggle-group",c})),e.register("dv",(function(e){var r=e.attrs||{},i=r.tx||e.content||"",a=void 0!==r.vert,o=a?"span":"div",s=["tokui-dv"];if(r.v&&s.push("tokui-dv--"+r.v),r.size&&s.push("tokui-dv--"+r.size),a&&s.push("tokui-dv--vert"),void 0!==r.plain&&s.push("tokui-dv--plain"),a)return t(o,{class:s.join(" ")});if(i){s.push("tokui-dv--text");var c=r.align||"center";"center"!==c&&s.push("tokui-dv--"+c);var l=t(o,{class:s.join(" ")}),u={},d=n(r.bg);d&&(u.borderColor=d),r.th&&(u.borderWidth=r.th),Object.keys(u).length&&(u.borderColor&&(l.style.borderColor=u.borderColor),u.borderWidth&&(l.style.borderWidth=u.borderWidth));var p=t("span",{class:"tokui-dv-text"});return p.textContent=i,l.appendChild(p),l}var f=t(o,{class:s.join(" ")}),h={},A=n(r.bg);return A&&(h.borderColor=A),r.th&&(h.borderWidth=r.th),Object.keys(h).length&&(h.borderColor&&(f.style.borderColor=h.borderColor),h.borderWidth&&(f.style.borderWidth=h.borderWidth)),f})),e.register("progress",(function(e){var r=e.attrs||{},n=Math.min(100,Math.max(0,parseInt(r.v)||0)),i=r.l||"",a=r.t||"line",o=r.s||"",s=r.status||"",c=void 0!==r.stripe,l="";"success"===s?l=" tokui-progress--success":"error"===s&&(l=" tokui-progress--error");var u,d="";if("sm"===o||"small"===o?d=" tokui-progress--sm":("lg"===o||"large"===o)&&(d=" tokui-progress--lg"),"circle"===a){var p=2*Math.PI*42,f=p*(1-n/100),h={class:"tokui-progress tokui-progress--circle"+l+d};r.id&&(h.id=r.id);var A=t("div",h),g=t("div",{class:"tokui-progress__circle-wrap"});if(g.innerHTML='<svg viewBox="0 0 100 100" class="tokui-progress__svg"><circle class="tokui-progress__circle-bg" cx="50" cy="50" r="42" fill="none" stroke-width="6"/><circle class="tokui-progress__circle-bar" cx="50" cy="50" r="42" fill="none" stroke-width="6" stroke-dasharray="'+p.toFixed(1)+'" stroke-dashoffset="'+f.toFixed(1)+'" stroke-linecap="round" transform="rotate(-90 50 50)"/><text class="tokui-progress__circle-text" x="50" y="50" text-anchor="middle" dominant-baseline="central">'+n+"%</text></svg>",A.appendChild(g),i){var m=t("div",{class:"tokui-progress__label tokui-progress__label--center"});m.textContent=i,A.appendChild(m)}u=A}else if("span"===a){var v={class:"tokui-progress tokui-progress--span"+l};r.id&&(v.id=r.id);var b=t("span",v),k=t("span",{class:"tokui-progress__mini-bar"}),y=t("span",{class:"tokui-progress__mini-fill"});y.style.width=n+"%",k.appendChild(y),b.appendChild(k);var w=t("span",{class:"tokui-progress__span-text"});w.textContent=n+"%",b.appendChild(w),u=b}else{var x={class:"tokui-progress tokui-progress--line"+l+d+(c?" tokui-progress--stripe":"")};r.id&&(x.id=r.id);var _=t("div",x);if(i){var C=t("div",{class:"tokui-progress__header"}),E=t("span",{class:"tokui-progress__label"});E.textContent=i,C.appendChild(E);var T=t("span",{class:"tokui-progress__pct"});T.textContent=n+"%",C.appendChild(T),_.appendChild(C)}var B=t("div",{class:"tokui-progress__track"}),S=t("div",{class:"tokui-progress__bar"});S.style.width=n+"%",B.appendChild(S),_.appendChild(B),u=_}return u._tokuiType="progress",u._progressVariant=a,u._progressCircumference=2*Math.PI*42,u.setAttribute("role","progressbar"),u.setAttribute("aria-valuenow",String(n)),u.setAttribute("aria-valuemin","0"),u.setAttribute("aria-valuemax","100"),u._update=function(e){if(void 0!==e.v){var t=Math.min(100,Math.max(0,parseInt(e.v)||0));if(u.setAttribute("aria-valuenow",String(t)),"circle"===u._progressVariant){var r=u._progressCircumference*(1-t/100),n=u.querySelector(".tokui-progress__circle-bar"),i=u.querySelector(".tokui-progress__circle-text");n&&n.setAttribute("stroke-dashoffset",r.toFixed(1)),i&&(i.textContent=t+"%")}else if("span"===u._progressVariant){var a=u.querySelector(".tokui-progress__mini-fill"),o=u.querySelector(".tokui-progress__span-text");a&&(a.style.width=t+"%"),o&&(o.textContent=t+"%")}else{var s=u.querySelector(".tokui-progress__bar"),c=u.querySelector(".tokui-progress__pct");s&&(s.style.width=t+"%"),c&&(c.textContent=t+"%")}}void 0!==e.status&&(u.classList.remove("tokui-progress--success","tokui-progress--error"),"success"===e.status?u.classList.add("tokui-progress--success"):"error"===e.status&&u.classList.add("tokui-progress--error"))},u})),e.register("upd",(function(e){var t=e.attrs||{},r=t.id;if(r&&("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"){var n=String(r).split(",").map((function(e){return e.trim()})).filter(Boolean),i=0;n.forEach((function(e){for(var r=p(e);r&&"function"!=typeof r._update;)r=r.parentElement;r&&"function"==typeof r._update&&(r._update(t),i++)})),h("upd",String(r),{applied:i>0,targets:n.length,hits:i})}return document.createTextNode("")})),e.register("del",(function(t){var r=(t.attrs||{}).id;if(r&&("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"){var n=!1,i=p(r);if(i){var a=f(i);(e.slotStack||[]).some((function(e){return e.el===a||"function"==typeof a.contains&&a.contains(e.el)}))?console.warn('TokUI: del 目标 "'+r+'" 正在流式输出中(未闭合),已跳过;请在容器闭合后再发 del'):a.parentNode&&(a.parentNode.removeChild(a),n=!0)}h("del",String(r),{removed:n})}return document.createTextNode("")})),e.register("ins",(function(r,n){var i=r.attrs||{},a=t("div",{class:"tokui-ins-staging"});r.children&&r.children.length&&n(r.children).forEach((function(e){e&&e.nodeType&&a.appendChild(e)}));var o=!1;var c={tabs:1,tab:1,chart:1,table:1,thead:1,tbody:1,tr:1,select:1,radio:1,checkbox:1,picker:1,transfer:1,cascader:1,steps:1,menu:1,tree:1,form:1};function l(){if(!(o||("undefined"==typeof document?"undefined":Object(s.a)(document))>"u")){o=!0;var t=i.after||i.before||i.into,r=0;if(t){var n=p(t);if(n){var l,u,d=f(n);if(i.into){var A=d._tokuiType||"";c[A]?console.warn('TokUI: ins into 不支持结构性容器 "'+A+'"(子节点有专用挂载协议),已跳过'):(l=d._slot||d,u=null)}else i.before?(l=d.parentNode,u=d):(l=d.parentNode,u=function(e){var t=e.parentNode;if(!t||!t.childNodes)return null;var r=Array.prototype.indexOf.call(t.childNodes,e);return r>=0&&r<t.childNodes.length-1?t.childNodes[r+1]:null}(d));if(l){for(var g=[];a.childNodes.length>0;)g.push(l.insertBefore(a.childNodes[0],u));g.forEach((function(t){t&&1===t.nodeType&&e.bindEvents(t)})),r=g.length}}}h("ins",String(t||""),{moved:r})}}var u=t("span",{class:"tokui-ins-anchor","data-tokui-tag":"ins",hidden:!0});return u._tokuiType="ins",u._slot=a,u._streamCloseHook=function(){l(),u.parentNode&&u.parentNode.removeChild(u)},r.children&&r.children.length&&l(),u})),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&(window.TokUI._internal.runMdMermaid=A,window.TokUI._internal.simpleMarkdown=d,window.TokUI._internal.renderKatexHtml=u),e.register("md",(function(e){var r,n=t("div",{class:"tokui-md"});return(r=e.children&&e.children.length>0?e.children.map((function(e){return e.content||""})).join(""):e.content||"")&&(n._rawMd=r,n.innerHTML=d(r),l(n),A(n)),n._streamCloseHook=function(){for(var e="",t=0,r=Array.from(n.childNodes);t<r.length;t++){var i=r[t];3===i.nodeType&&(e+=i.textContent)}e&&(n._rawMd=e,n.innerHTML=d(e),l(n),A(n))},n._tokuiType="md",n})),e.register("katex",(function(e){var r=e.attrs&&e.attrs.f,n=!r,i=t("div",{class:"tokui-katex"+(n?" tokui-katex--block":" tokui-katex--inline")}),a=r||(e.children&&e.children.length?e.children.map((function(e){return e.content||""})).join(""):e.content||"");return a&&(i._rawMd=a,i.innerHTML=u(a,n)),i._streamCloseHook=function(){for(var e="",t=0,r=Array.from(i.childNodes);t<r.length;t++){var n=r[t];3===n.nodeType&&(e+=n.textContent)}e&&(i._rawMd=e,i.innerHTML=u(e,!0))},i._slot=i,i._tokuiType="katex",i})),e.register("mermaid",(function(e){var r=t("div",{class:"tokui-mermaid"}),n=function(e){r.innerHTML="";var n=t("div",{class:"tokui-md__mermaid"}),i=t("pre",{class:"tokui-code"}),a=t("code",{class:"language-mermaid"},e);i.appendChild(a),n.appendChild(i),r.appendChild(n),r._rawMd=e,A(r)},i=e.children&&e.children.length?e.children.map((function(e){return e.content||""})).join(""):e.content||"";return i&&n(i),r._streamCloseHook=function(){for(var e="",t=0,i=Array.from(r.childNodes);t<i.length;t++){var a=i[t];3===a.nodeType&&(e+=a.textContent)}e&&n(e)},r._slot=r,r._tokuiType="mermaid",r})),e.register("code",(function(e){var n=t("pre",{class:"tokui-code"}),o=e.attrs.lang||"text",s=t("code",{class:"language-".concat(o)}),c="";function l(){"text"!==o&&i[o]?s.innerHTML=v(a(c,o)):s.innerHTML=v(g(c))}c=e.children&&e.children.length>0?e.children.map((function(e){return e.content||""})).join(""):e.content||"",l(),n.appendChild(s),n._slot=s,n._tokuiType="code";var u=t("button",{class:"tokui-code__copy",type:"button"});return u.textContent=r("common.copy"),u.addEventListener("click",(function(){c&&navigator.clipboard&&navigator.clipboard.writeText(c),u.textContent=r("common.copied"),u.classList.add("tokui-code__copy--done"),setTimeout((function(){u.textContent=r("common.copy"),u.classList.remove("tokui-code__copy--done")}),2e3)})),n.appendChild(u),n._streamAppendHook=function(e){e&&"_text"===e.type&&e.content&&(c+=e.content,l())},n._streamCloseHook=l,n})),e.register("callout",(function(e,r){var n=e.attrs||{},i=n.t||"info",a=n.tt||"",o={info:"ℹ",success:"✓",warning:"⚠",error:"✕",tip:"💡"},s=t("div",{class:"tokui-callout tokui-callout--"+i,role:"alert"}),c=t("span",{class:"tokui-callout__icon","aria-hidden":"true"});c.textContent=o[i]||o.info,s.appendChild(c);var l=t("div",{class:"tokui-callout__body"});if(a){var u=t("div",{class:"tokui-callout__title"});u.textContent=a,l.appendChild(u)}var d=t("div",{class:"tokui-callout__content"}),p=e.children&&e.children.length,f=n.tx||e.content||"";return p?r(e.children).forEach((function(e){e&&e.nodeType&&d.appendChild(e)})):f&&(d.textContent=f),l.appendChild(d),s.appendChild(l),s._slot=d,s})),e.register("think",(function(e,n){var i=e.attrs||{},a=i.tt||r("think.title"),o=t("details",{class:"tokui-think"});void 0!==i.open&&o.setAttribute("open","");var s=t("summary",{class:"tokui-think__summary"}),c=t("span",{class:"tokui-think__icon"});c.textContent="💭",s.appendChild(c);var l=t("span",{class:"tokui-think__title"});l.textContent=a,s.appendChild(l),o.appendChild(s);var u=t("div",{class:"tokui-think__body"});return e.content&&(u.textContent=e.content),n(e.children||[]).forEach((function(e){e&&e.nodeType&&u.appendChild(e)})),o.appendChild(u),o._slot=u,o._tokuiType="think",o})),e.register("think-chain",(function(e,n){var i=e.attrs||{},a=i.tt||r("thinkChain.title"),o=i.status||"",s=["tokui-think-chain"];o&&s.push("tokui-think-chain--"+o);var c=t("details",{class:s.join(" ")});void 0!==i.open&&c.setAttribute("open","");var l=t("summary",{class:"tokui-think-chain__summary"}),u=t("span",{class:"tokui-think-chain__icon"});u.textContent="🧠",l.appendChild(u);var d=t("span",{class:"tokui-think-chain__title"});d.textContent=a,l.appendChild(d),c.appendChild(l);var p=t("div",{class:"tokui-think-chain__steps"});return n(e.children||[]).forEach((function(e){e&&e.nodeType&&p.appendChild(e)})),c.appendChild(p),c._slot=p,c._tokuiType="think-chain",c})),e.register("think-step",(function(e,r){var n=e.attrs||{},i=n.status||"pending",a=n.tt||"",o=n.dur||"",s=t("div",{class:["tokui-think-step","tokui-think-step--"+i].join(" ")}),c=t("div",{class:"tokui-think-step__header"});if("done"===i){var l=t("span",{class:"tokui-think-step__icon"});l.textContent="✓",c.appendChild(l)}else if("running"===i){var u=t("span",{class:"tokui-think-step__spinner"});c.appendChild(u)}else if("error"===i){var d=t("span",{class:"tokui-think-step__icon tokui-think-step__icon--error"});d.textContent="✗",c.appendChild(d)}else{var p=t("span",{class:"tokui-think-step__dot"});c.appendChild(p)}if(a){var f=t("span",{class:"tokui-think-step__title"});f.textContent=a,c.appendChild(f)}if(o){var h=t("span",{class:"tokui-think-step__dur"});h.textContent=o,c.appendChild(h)}s.appendChild(c);var A=t("div",{class:"tokui-think-step__body"});e.content&&(A.textContent=e.content),r(e.children||[]).forEach((function(e){e&&e.nodeType&&A.appendChild(e)})),s.appendChild(A);var g=t("div",{class:"tokui-think-step__line"});return s.appendChild(g),s._slot=A,s._tokuiType="think-step",s})),e.register("copy",(function(e){var n=e.attrs||{},i=n.tx||r("common.copy"),a=n.tt||r("common.copied"),o=t("button",{class:"tokui-copy",type:"button"});return o.textContent=i,o.addEventListener("click",(function(){var e="";if(n.id&&("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"){var t=document.getElementById(n.id);t&&(e=t.textContent||"")}navigator.clipboard&&e&&navigator.clipboard.writeText(e),o.textContent=a,o.classList.add("tokui-copy--done"),setTimeout((function(){o.textContent=i,o.classList.remove("tokui-copy--done")}),2e3)})),o})),e.register("spin",(function(e){var r=e.attrs||{},n=r.t||"spinner",i=r.s||"",a=r.tx||"",o=["tokui-spin","tokui-spin--"+n];"sm"===i||"small"===i?o.push("tokui-spin--sm"):("lg"===i||"large"===i)&&o.push("tokui-spin--lg");var s=t("div",{class:o.join(" ")});if("dots"===n){var c=t("span",{class:"tokui-spin__dots"});c.appendChild(t("span",{class:"tokui-spin__dot"})),c.appendChild(t("span",{class:"tokui-spin__dot"})),c.appendChild(t("span",{class:"tokui-spin__dot"})),s.appendChild(c)}else"pulse"===n?s.appendChild(t("span",{class:"tokui-spin__pulse"})):s.appendChild(t("span",{class:"tokui-spin__spinner"}));if(a){var l=t("span",{class:"tokui-spin__text"});l.textContent=a,s.appendChild(l)}return s})),e.register("thumb",(function(e){var n=e.attrs||{},i=n.t||"up",a="active"===n.v,o=n.s||"",c="";"sm"===o||"small"===o?c=" tokui-thumb--sm":("lg"===o||"large"===o)&&(c=" tokui-thumb--lg");var l=t("button",{class:"tokui-thumb tokui-thumb--"+i+(a?" tokui-thumb--active":"")+c,type:"button","aria-label":r("up"===i?"like.up":"like.down")}),u="lg"===o||"large"===o?22:"sm"===o||"small"===o?14:18,d="up"===i?'<svg viewBox="0 0 24 24" width="'+u+'" height="'+u+'" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"/></svg>':'<svg viewBox="0 0 24 24" width="'+u+'" height="'+u+'" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"/></svg>',p=t("span",{class:"tokui-thumb__icon"});return p.innerHTML=d,l.appendChild(p),l.addEventListener("click",(function(){if(l.classList.toggle("tokui-thumb--active"),n.clk){var e=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;e&&"function"==typeof e.emit&&e.emit(n.clk,{direction:i,active:l.classList.contains("tokui-thumb--active")})}})),n.clk&&l.setAttribute("data-tokui-clk",n.clk),l})),e.register("file",(function(e){var n=e.attrs||{},i=n.n||r("file.unnamed"),a=n.s||"",o=n.t||"default",s=n.u||"",c=n.tt||"",l={pdf:{icon:"PDF",color:"#f5222d"},word:{icon:"W",color:"#1677ff"},excel:{icon:"XLS",color:"#52c41a"},ppt:{icon:"PPT",color:"#fa8c16"},image:{icon:"IMG",color:"#eb2f96"},zip:{icon:"ZIP",color:"#722ed1"},code:{icon:"</>",color:"#13c2c2"},default:{icon:"FILE",color:"#8c8c8c"}},u=l[o]||l.default,d=t("div",{class:"tokui-file"}),p=t("div",{class:"tokui-file__icon"});p.style.background=u.color,p.textContent=u.icon,d.appendChild(p);var f=t("div",{class:"tokui-file__info"}),h=t("div",{class:"tokui-file__name"});if(h.textContent=i,s&&(h.style.cursor="pointer",h.style.color="var(--tokui-primary)",h.addEventListener("click",(function(){window.open(s,"_blank")}))),f.appendChild(h),c||a){var A=t("div",{class:"tokui-file__meta"});A.textContent=[c,a].filter(Boolean).join(" · "),f.appendChild(A)}if(d.appendChild(f),s){var g=t("a",{class:"tokui-file__download",href:s,target:"_blank",rel:"noopener noreferrer",download:""});g.textContent="↓",d.appendChild(g)}return d})),e.register("bubble",(function(e,n){var i=e.attrs||{},a=i.role||"ai",o=i.model||"",s=i.time||"",c=t("div",{class:"tokui-bubble tokui-bubble--"+a}),l=t("div",{class:"tokui-bubble__row"}),u=t("span",{class:"tokui-bubble__avatar"});u.textContent=r("user"===a?"bubble.you":"bubble.ai"),l.appendChild(u);var d=t("div",{class:"tokui-bubble__content"}),p=t("div",{class:"tokui-bubble__header"}),f=t("span",{});if(f.textContent=r("user"===a?"bubble.you":"system"===a?"bubble.system":"bubble.assistant"),p.appendChild(f),o){var h=t("span",{class:"tokui-badge tokui-badge--info tokui-badge--pill"});h.textContent=o,p.appendChild(h)}d.appendChild(p);var A=t("div",{class:"tokui-bubble__body"});if(n(e.children||[]).forEach((function(e){e&&e.nodeType&&A.appendChild(e)})),d.appendChild(A),s){var g=t("div",{class:"tokui-bubble__time"});g.textContent=s,d.appendChild(g)}return l.appendChild(d),c.appendChild(l),A._slot=A,A._tokuiType="bubble",c._slot=A,c._tokuiType="bubble",c})),e.register("toolbar",(function(e,r){var n=e.attrs||{},i=n.pos||"bottom",a=n.align||"right",o=t("div",{class:"tokui-toolbar tokui-toolbar--"+i+" tokui-toolbar--"+a});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),o._slot=o,o._tokuiType="toolbar",o})),e.register("badge",(function(e){var r=e.attrs||{},n=r.t||r.status||"default",i=r.tx||e.content||"",a=r.count||"",o=parseInt(r.overflow,10)||99,s=r.size||"",c=r.title||"",l=["tokui-badge","tokui-badge--"+n];if(r.pill&&l.push("tokui-badge--pill"),s&&l.push("tokui-badge--"+s),r.dot){var u=t("span",{class:"tokui-badge tokui-badge--dot"+(s?" tokui-badge--"+s:"")});return c&&u.setAttribute("title",c),u}var d=t("span",{class:l.join(" ")});if(c&&d.setAttribute("title",c),""!==a&&!i){var p=parseInt(a,10);(isNaN(p)||p<0)&&(p=0);var f=p>o?o+"+":String(p),h=t("span",{class:"tokui-badge__count"});return h.textContent=f,d.appendChild(h),d._update=function(e){if(void 0!==e.tx&&(h.textContent=e.tx),void 0!==e.count){var t=parseInt(e.count,10);(isNaN(t)||t<0)&&(t=0);var r=parseInt(e.overflow,10)||o;h.textContent=t>r?r+"+":String(t)}"hide"===e.act&&(d.style.display="none")},d}var A=t("span",{class:"tokui-badge__text"});return A.textContent=i,d.appendChild(A),d._update=function(e){void 0!==e.tx&&(A.textContent=e.tx),"hide"===e.act&&(d.style.display="none")},d})),e.register("badge-box",(function(e,r){var n=e.attrs||{},i=t("span",{class:"tokui-badge-box"});e.children&&e.children.length&&r(e.children).forEach((function(e){e&&i.appendChild(e)}));var a,o=n.t||n.status||"error",s="primary"===o?"var(--tokui-primary)":"success"===o?"var(--tokui-success)":"warning"===o?"var(--tokui-warning)":"info"===o?"var(--tokui-info)":"var(--tokui-danger)";if(n.dot)(a=t("sup",{class:"tokui-badge-box__dot"})).style.background=s;else if(void 0===n.count||""===n.count||n.tx)(n.tx||n.label)&&((a=t("sup",{class:"tokui-badge-box__text"})).textContent=n.tx||n.label,"default"===o?(a.style.background="var(--tokui-stripe, #f5f5f5)",a.style.color="var(--tokui-text-secondary, #666)"):a.style.background=s);else{var c=parseInt(n.overflow,10)||99,l=parseInt(n.count,10);(isNaN(l)||l<0)&&(l=0);var u=l>c?c+"+":String(l);(a=t("sup",{class:"tokui-badge-box__count"})).textContent=u,a.style.background=s}return a&&i.appendChild(a),i._slot=i,i._tokuiType="badge-box",i})),e.register("skeleton",(function(e){var r=e.attrs||{},n=r.t||"text",i=parseInt(r.rows,10)||3,a=r.w||"",o=r.h||"",s=t("div",{class:["tokui-skeleton","tokui-skeleton--"+n].join(" "),role:"status","aria-live":"polite"});if(a&&(s.style.width=a),o&&(s.style.height=o),"text"===n)for(var c=0;c<i;c++){var l=t("div",{class:"tokui-skeleton__row"});c===i-1&&(l.style.width="60%"),s.appendChild(l)}else if("card"===n){var u=t("div",{class:"tokui-skeleton__circle"});s.appendChild(u);var d=t("div",{});d.style.flex="1",d.style.display="flex",d.style.flexDirection="column",d.style.gap="8px";var p=t("div",{class:"tokui-skeleton__row"});p.style.width="40%",d.appendChild(p);for(var f=0;f<Math.max(1,i-1);f++){var h=t("div",{class:"tokui-skeleton__row"});d.appendChild(h)}s.appendChild(d)}else if("avatar"===n){var A=t("div",{class:"tokui-skeleton__circle"});s.appendChild(A)}else if("image"===n){var g=t("div",{class:"tokui-skeleton__rect"});s.appendChild(g)}return s})),e.register("toast",(function(e){var r=e.attrs||{},n=r.id||"",i=r.t||"info",a=r.tx||"",o=parseInt(r.duration,10)||2e3,s=r.pos||"top",c=document.querySelector(".tokui-toast-container");c||(c=t("div",{class:"tokui-toast-container"}),document.body.appendChild(c));var l=t("div",{class:"tokui-toast tokui-toast--"+i+("bottom"===s?" tokui-toast--bottom":""),role:"alert","aria-live":"polite"});n&&l.setAttribute("data-toast-id",n);var u={success:"✓",error:"✕",warning:"!",info:"ℹ"},d=t("span",{class:"tokui-toast__icon"});d.textContent=u[i]||u.info,l.appendChild(d);var p=t("span");return p.textContent=a,l.appendChild(p),l._toastDuration=o,l._toastShown=!1,c.appendChild(l),l.style.display="none",window.TokUI||(window.TokUI={}),window.TokUI._toastMap||(window.TokUI._toastMap={}),n&&(window.TokUI._toastMap[n]=l),window.TokUI.showToast||(window.TokUI.showToast=function(e,t){var r=(window.TokUI._toastMap||{})[e];if(r){if(t){var n=r.querySelector("span:last-child");n&&(n.textContent=t)}r.style.display="",r.classList.remove("tokui-toast--hide"),r._toastShown=!0;var i=r._toastDuration||2e3;clearTimeout(r._toastTimer),r._toastTimer=setTimeout((function(){r.classList.add("tokui-toast--hide"),setTimeout((function(){r.style.display="none",r._toastShown=!1}),250)}),i)}}),l})),e.register("dot",(function(e){var r=e.attrs||{},n=r.t||"default",i=r.tx||"",a=r.s||"",o=["tokui-dot","tokui-dot--"+n];"sm"===a?o.push("tokui-dot--sm"):"lg"===a&&o.push("tokui-dot--lg"),void 0!==r.pulse&&o.push("tokui-dot--pulse");var s=t("span",{class:o.join(" ")}),c=t("span",{class:"tokui-dot__circle"});if(s.appendChild(c),i){var l=t("span",{class:"tokui-dot__text"});l.textContent=i,s.appendChild(l)}return s})),e.register("avatar",(function(e){var r=e.attrs||{},i=r.s||"",a=r.tx||"",o=r.size||"md",s=["tokui-avatar"];if(i){var c=t("img",{class:s.join(" "),src:i,alt:a});return c.classList.add("tokui-avatar--"+o),c}s.push("tokui-avatar--text","tokui-avatar--"+o);var l=t("span",{class:s.join(" ")});l.textContent=a.slice(0,2);var u=r.bg;if(u){var d=n(u);d&&(l.style.backgroundColor=d)}else if(a){for(var p=["#1677ff","#52c41a","#faad14","#f5222d","#722ed1","#13c2c2","#eb2f96","#fa8c16"],f=0,h=0;h<a.length;h++)f+=a.charCodeAt(h);l.style.backgroundColor=p[f%p.length]}var A=r.fc;if(A){var g=n(A);g&&(l.style.color=g)}return l})),e.register("tooltip",(function(e){var r=e.attrs||{},n=r.tt||"",i=r.pos||"top",a=r.tx||e.content||"",o=t("span",{class:"tokui-tooltip",tabindex:"0",role:"tooltip"});function s(){if(o._tooltipEl){o._tooltipEl.classList.remove("tokui-tooltip__popup--visible");var e=o._tooltipEl;setTimeout((function(){e.parentNode&&e.parentNode.removeChild(e)}),150),o._tooltipEl=null}}return o.textContent=a,o.addEventListener("mouseenter",(function(){if(n){var e=document.createElement("div");e.className="tokui-tooltip__popup tokui-tooltip__popup--"+i,e.setAttribute("role","tooltip"),e.textContent=n,document.body.appendChild(e);var t=o.getBoundingClientRect(),r=e.getBoundingClientRect();"top"===i?(e.style.left=t.left+t.width/2-r.width/2+"px",e.style.top=t.top-r.height-8+"px"):"bottom"===i?(e.style.left=t.left+t.width/2-r.width/2+"px",e.style.top=t.bottom+8+"px"):"left"===i?(e.style.left=t.left-r.width-8+"px",e.style.top=t.top+t.height/2-r.height/2+"px"):"right"===i&&(e.style.left=t.right+8+"px",e.style.top=t.top+t.height/2-r.height/2+"px");var a=e.getBoundingClientRect();a.left<4&&(e.style.left="4px"),a.right>window.innerWidth-4&&(e.style.left=window.innerWidth-a.width-4+"px"),a.top<4&&(e.style.top=t.bottom+8+"px"),e.classList.add("tokui-tooltip__popup--visible"),o._tooltipEl=e}})),o.addEventListener("mouseleave",s),o.addEventListener("blur",s),o.addEventListener("keydown",(function(e){"Escape"===e.key&&s()})),o})),e.register("pagination",(function(n){var i=n.attrs||{},a=parseInt(i.total,10)||1,o=i.clk||"",s=i.s||"",c=void 0!==i["show-total"],l=i.count||"",u=parseInt(i.page,10)||1,d=["tokui-pagination"];"sm"===s?d.push("tokui-pagination--sm"):"lg"===s&&d.push("tokui-pagination--lg");var p=t("nav",{class:d.join(" "),role:"navigation","aria-label":r("pagination.aria")});if(c){var f=t("span",{class:"tokui-pagination__total"});f.textContent=l?r("pagination.totalCount",{count:l}):r("pagination.totalPages",{total:a}),p.appendChild(f)}var h=t("div",{class:"tokui-pagination__pages"});p.appendChild(h);var A=e.createReporter("pagination",i,p);function g(e){h.innerHTML="";var r=t("button",{class:"tokui-pagination__btn tokui-pagination__prev"+(e<=1?" tokui-pagination__btn--disabled":""),"data-page":String(e-1),disabled:e<=1});r.textContent="‹",h.appendChild(r),function(e,t){if(t<=7){for(var r=[],n=1;n<=t;n++)r.push(n);return r}var i=[1];e>3&&i.push("...");for(var a=Math.max(2,e-1),o=Math.min(t-1,e+1),s=a;s<=o;s++)i.push(s);return e<t-2&&i.push("..."),i.push(t),i}(e,a).forEach((function(r){if("..."===r){var n=t("span",{class:"tokui-pagination__ellipsis"});n.textContent="...",h.appendChild(n)}else{var i=t("button",{class:"tokui-pagination__item"+(r===e?" tokui-pagination__item--active":""),"data-page":String(r)});i.textContent=String(r),h.appendChild(i)}}));var n=t("button",{class:"tokui-pagination__btn tokui-pagination__next"+(e>=a?" tokui-pagination__btn--disabled":""),"data-page":String(e+1),disabled:e>=a});n.textContent="›",h.appendChild(n)}return g(u),p.addEventListener("click",(function(t){var r=t.target.closest("[data-page]");if(r&&!r.disabled){var n=parseInt(r.getAttribute("data-page"),10);if(!(isNaN(n)||n<1||n>a)){if(g(u=n),o){var i=e.eventBus&&e.eventBus.getHandler(o);i&&i({page:n},t,r)}A("change",{value:n})}}})),p})),e.register("breadcrumb",(function(r){var n=r.attrs||{},i=(n.items||"").split(",").map((function(e){return e.trim()})).filter(Boolean),a=n.sep||"/",o=n.clk||"",s=n.v&&-1!==n.v.indexOf("arrow"),c=["tokui-breadcrumb"];s&&c.push("tokui-breadcrumb--arrow");var l=t("nav",{class:c.join(" "),"aria-label":"breadcrumb"});return i.forEach((function(r,n){var c=n===i.length-1,u=t("span",{class:"tokui-breadcrumb__item"+(c?" tokui-breadcrumb__item--active":""),"data-index":String(n)});if(u.textContent=r,o&&!c&&(u.style.cursor="pointer",u.addEventListener("click",(function(t){var i=e.eventBus&&e.eventBus.getHandler(o);i&&i({index:n,text:r},t,u)}))),l.appendChild(u),!c){var d=t("span",{class:"tokui-breadcrumb__sep"});d.textContent=s?"›":a,l.appendChild(d)}})),l})),e.register("dropdown",(function(e,n){var i=e.attrs||{},a=i.tt||i.tx||r("menu.defaultTrigger"),o=i.v||"",s=t("div",{class:"tokui-dropdown"}),l="tokui-dropdown__trigger";o&&(l+=" tokui-dropdown__trigger--"+o);var u=t("button",{class:l});u.textContent=a,u.setAttribute("aria-haspopup","true"),u.setAttribute("aria-expanded","false"),s.appendChild(u);var d=t("div",{class:"tokui-dropdown__panel"});return d.setAttribute("role","menu"),(e.children||[]).forEach((function(e){n([e]).forEach((function(e){e&&e.nodeType&&d.appendChild(e)}))})),s.appendChild(d),u.addEventListener("click",(function(e){e.stopPropagation();var t=d.classList.contains("tokui-dropdown__panel--open");if(c(),!t){var r=u.getBoundingClientRect();d.style.top=r.bottom+4+"px",d.style.left=r.left+"px",d.classList.add("tokui-dropdown__panel--open"),u.setAttribute("aria-expanded","true")}})),d.addEventListener("click",(function(e){var t=e.target.closest(".tokui-dropdown__item");t&&!t.classList.contains("tokui-dropdown__item--disabled")&&(d.classList.remove("tokui-dropdown__panel--open"),u.setAttribute("aria-expanded","false"))})),s._slot=d,s._tokuiType="dropdown",u.addEventListener("keydown",(function(e){if("ArrowDown"===e.key||"Enter"===e.key){e.preventDefault(),d.classList.contains("tokui-dropdown__panel--open")||(c(),d.classList.add("tokui-dropdown__panel--open"),u.setAttribute("aria-expanded","true"));var t=d.querySelectorAll(".tokui-dropdown__item:not(.tokui-dropdown__item--disabled)");t.length>0&&t[0].focus()}"Escape"===e.key&&(d.classList.remove("tokui-dropdown__panel--open"),u.setAttribute("aria-expanded","false"))})),d.addEventListener("keydown",(function(e){var t=Array.from(d.querySelectorAll(".tokui-dropdown__item:not(.tokui-dropdown__item--disabled)")),r=t.indexOf(e.target);"ArrowDown"===e.key&&r<t.length-1&&(e.preventDefault(),t[r+1].focus()),"ArrowUp"===e.key&&(e.preventDefault(),r>0?t[r-1].focus():u.focus()),"Escape"===e.key&&(d.classList.remove("tokui-dropdown__panel--open"),u.setAttribute("aria-expanded","false"),u.focus())})),s})),e.register("empty",(function(e){var r=e.attrs||{},n=r.tx||"",i=r.icon||"default",a=r.s||"",o={default:'<svg viewBox="0 0 64 41" fill="none"><g transform="translate(0 1)" fill-rule="evenodd"><ellipse fill="var(--tokui-stripe)" cx="32" cy="33" rx="32" ry="7"/><g fill-rule="nonzero" stroke="var(--tokui-border)"><path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"/><path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="var(--tokui-stripe)"/></g></g></svg>',box:'<svg viewBox="0 0 64 41" fill="none"><g transform="translate(0 1)" fill-rule="evenodd"><ellipse fill="var(--tokui-stripe)" cx="32" cy="33" rx="32" ry="7"/><rect x="13" y="6" width="38" height="24" rx="3" fill="var(--tokui-stripe)" stroke="var(--tokui-border)" stroke-width="2"/><path d="M13 14h38" stroke="var(--tokui-border)" stroke-width="2"/></g></svg>',folder:'<svg viewBox="0 0 64 41" fill="none"><g transform="translate(0 1)" fill-rule="evenodd"><ellipse fill="var(--tokui-stripe)" cx="32" cy="33" rx="32" ry="7"/><path d="M10 12V9a2 2 0 012-2h12l4 5h24a2 2 0 012 2v16a2 2 0 01-2 2H12a2 2 0 01-2-2V12z" fill="var(--tokui-stripe)" stroke="var(--tokui-border)" stroke-width="2"/></g></svg>',search:'<svg viewBox="0 0 64 41" fill="none"><g transform="translate(0 1)" fill-rule="evenodd"><ellipse fill="var(--tokui-stripe)" cx="32" cy="33" rx="32" ry="7"/><circle cx="28" cy="18" r="10" stroke="var(--tokui-border)" stroke-width="2" fill="var(--tokui-stripe)"/><path d="M35 25l8 7" stroke="var(--tokui-border)" stroke-width="2" stroke-linecap="round"/></g></svg>'},s=t("div",{class:"tokui-empty"});if(a){var c=t("img",{class:"tokui-empty__img",src:a,alt:n});s.appendChild(c)}else{var l=t("div",{class:"tokui-empty__icon"});l.innerHTML=o[i]||o.default,s.appendChild(l)}if(n){var u=t("div",{class:"tokui-empty__text"});u.textContent=n,s.appendChild(u)}return s})),e.register("result",(function(e){var r=e.attrs||{},n=r.t||"info",i=r.tt||"",a=r.tx||"",o={success:'<svg viewBox="0 0 64 64" fill="none"><circle cx="32" cy="32" r="30" fill="var(--tokui-success-1, rgba(34,197,94,0.1))" stroke="var(--tokui-success)" stroke-width="2"/><path d="M20 32l8 8 16-16" stroke="var(--tokui-success)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>',error:'<svg viewBox="0 0 64 64" fill="none"><circle cx="32" cy="32" r="30" fill="var(--tokui-danger-1, rgba(239,68,68,0.1))" stroke="var(--tokui-danger)" stroke-width="2"/><path d="M24 24l16 16M40 24l-16 16" stroke="var(--tokui-danger)" stroke-width="3" stroke-linecap="round"/></svg>',warning:'<svg viewBox="0 0 64 64" fill="none"><circle cx="32" cy="32" r="30" fill="var(--tokui-warning-1, rgba(245,158,11,0.1))" stroke="var(--tokui-warning)" stroke-width="2"/><path d="M32 22v14M32 42v2" stroke="var(--tokui-warning)" stroke-width="3" stroke-linecap="round"/></svg>',info:'<svg viewBox="0 0 64 64" fill="none"><circle cx="32" cy="32" r="30" fill="var(--tokui-primary-1, rgba(79,70,229,0.1))" stroke="var(--tokui-primary)" stroke-width="2"/><path d="M32 22v2M32 30v14" stroke="var(--tokui-primary)" stroke-width="3" stroke-linecap="round"/></svg>'},s=t("div",{class:"tokui-result tokui-result--"+n}),c=t("div",{class:"tokui-result__icon"});if(c.innerHTML=o[n]||o.info,s.appendChild(c),i){var l=t("div",{class:"tokui-result__title"});l.textContent=i,s.appendChild(l)}if(a){var u=t("div",{class:"tokui-result__desc"});u.textContent=a,s.appendChild(u)}return s})),e.register("stat",(function(e){var r=e.attrs||{},n=r.tt||"",i=r.v||"0",a=r.pre||"",o=r.suf||"",s=r.trend||"",c=parseInt(r.anim)||0,l=parseInt(r.dec)||0,u=t("div",{class:"tokui-stat"});if(r.id&&(u.id=r.id),n){var d=t("div",{class:"tokui-stat__title"});d.textContent=n,u.appendChild(d)}var p=t("div",{class:"tokui-stat__value"});if(a){var f=t("span",{class:"tokui-stat__prefix"});f.textContent=a,p.appendChild(f)}var h=t("span",{class:"tokui-stat__number"});if(p.appendChild(h),o){var A=t("span",{class:"tokui-stat__suffix"});A.textContent=o,p.appendChild(A)}if(s){var g=t("span",{class:"tokui-stat__trend"+("up"===s?" tokui-stat__trend--up":" tokui-stat__trend--down")});g.textContent="up"===s?"↑":"↓",p.appendChild(g)}if(c>0){var m=i.replace(/[^\d.\-]/g,""),v=parseFloat(m);if(isNaN(v)||0===v)h.textContent=i;else{var b=-1!==i.indexOf(",");h.textContent="0";var k=null;requestAnimationFrame((function e(t){k||(k=t);var r=Math.min((t-k)/c,1),n=v*(1===r?1:1-Math.pow(2,-10*r)),a=l>0?n.toFixed(l):Math.round(n);b?a=Number(a).toLocaleString("en-US",{minimumFractionDigits:l,maximumFractionDigits:l}):l>0&&(a=n.toFixed(l)),h.textContent=a,r<1?requestAnimationFrame(e):(h.textContent=i.replace(/[^\d.,\-]/g,(function(){return""})),h.textContent=i)}))}}else h.textContent=i;return u.appendChild(p),u._update=function(e){if(void 0!==e.v){var t=u.querySelector(".tokui-stat__number");t&&(t.textContent=e.v)}if(void 0!==e.trend){var r=u.querySelector(".tokui-stat__trend");r&&(r.className="tokui-stat__trend"+("up"===e.trend?" tokui-stat__trend--up":" tokui-stat__trend--down"),r.textContent="up"===e.trend?"↑":"↓")}},u})),e.register("dd-item",(function(e){var r=e.attrs||{},n=r.tx||"",i=["tokui-dropdown__item"];r.v&&i.push("tokui-dropdown__item--"+r.v),void 0!==r.dis&&i.push("tokui-dropdown__item--disabled");var a={class:i.join(" "),role:"menuitem",tabindex:"0"};r.clk&&(a["data-tokui-clk"]=r.clk),void 0!==r.dis&&(a["aria-disabled"]="true");var o=t("div",a);return o.textContent=n,o})),e.register("popover",(function(e,n){var i=e.attrs||{},a=i.tx||r("trigger.default"),o=i.pos||"top",c=i.tt||"",l=i.w||"",u=i.trig||"click",d=t("span",{class:"tokui-popover"}),p=t("span",{class:"tokui-popover__trigger",tabindex:"0",role:"button","aria-haspopup":"true","aria-expanded":"false"});p.textContent=a,d.appendChild(p);var f=t("div",{class:"tokui-popover__panel tokui-popover__panel--"+o,role:"dialog"});l&&(f.style.width=l);var h=t("div",{class:"tokui-popover__arrow"});if(f.appendChild(h),c){var A=t("div",{class:"tokui-popover__title"});A.textContent=c,f.appendChild(A)}var g=t("div",{class:"tokui-popover__body"});function m(){f.classList.add("tokui-popover__panel--visible"),p.setAttribute("aria-expanded","true"),function(){var e=p.getBoundingClientRect(),t=f.getBoundingClientRect();"top"===o?(f.style.left=e.left+e.width/2-t.width/2+"px",f.style.top=e.top-t.height-10+"px"):"bottom"===o?(f.style.left=e.left+e.width/2-t.width/2+"px",f.style.top=e.bottom+10+"px"):"left"===o?(f.style.left=e.left-t.width-10+"px",f.style.top=e.top+e.height/2-t.height/2+"px"):"right"===o&&(f.style.left=e.right+10+"px",f.style.top=e.top+e.height/2-t.height/2+"px");var r=f.getBoundingClientRect();r.left<4&&(f.style.left="4px"),r.right>window.innerWidth-4&&(f.style.left=window.innerWidth-r.width-4+"px"),r.top<4&&(f.style.top=e.bottom+10+"px")}()}function v(){f.classList.remove("tokui-popover__panel--visible"),p.setAttribute("aria-expanded","false")}return n(e.children||[]).forEach((function(e){e&&e.nodeType&&g.appendChild(e)})),f.appendChild(g),d.appendChild(f),"hover"===u?(d.addEventListener("mouseenter",m),d.addEventListener("mouseleave",v)):(p.addEventListener("click",(function(e){e.stopPropagation(),f.classList.contains("tokui-popover__panel--visible")?v():m()})),f.addEventListener("click",(function(e){e.stopPropagation()})),document.addEventListener("click",(function(e){d.contains(e.target)||v()})),d.addEventListener("keydown",(function(e){"Escape"===e.key&&v()}))),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.addEventListener("scroll",v,!0),d._slot=g,d._tokuiType="popover",d})),e.register("hover-card",(function(e,r){var n=e.attrs||{},i=n.pos||"bottom",a=n.w||"",o=parseInt(n.delay)||300,c=t("span",{class:"tokui-hover-card tokui-hover-card--"+i,"data-delay":String(o)}),l=null,u=null;function d(){var e=t("span",{class:"tokui-hover-card__content",role:"dialog"});a&&(e.style.width=a+"px");var r=t("span",{class:"tokui-hover-card__arrow tokui-hover-card__arrow--"+i});e.appendChild(r);var n=t("span",{class:"tokui-hover-card__body"});return e.appendChild(n),{panel:e,body:n}}e.children&&e.children.length>0&&e.children.forEach((function(e){if("hover-trigger"===e.type)l=t("span",{class:"tokui-hover-card__trigger"}),r([e]).forEach((function(e){if(e&&e.nodeType)if("hover-trigger"===e._tokuiType)for(;e.firstChild;)l.appendChild(e.firstChild);else l.appendChild(e)})),c.appendChild(l);else if("hover-content"===e.type){var n=d();u=n.panel,r([e]).forEach((function(e){if(e&&e.nodeType)if("hover-content"===e._tokuiType)for(;e.firstChild;)n.body.appendChild(e.firstChild);else n.body.appendChild(e)})),c.appendChild(u)}else r([e]).forEach((function(e){e&&e.nodeType&&c.appendChild(e)}))}));var p=null,f=null;function h(){clearTimeout(p),f=setTimeout((function(){var e=c.querySelector(".tokui-hover-card__content");e&&e.classList.remove("tokui-hover-card__content--visible")}),150)}return c.addEventListener("mouseenter",(function(){clearTimeout(f),p=setTimeout((function(){var e=c.querySelector(".tokui-hover-card__content");e&&(function(e){var t=c.querySelector(".tokui-hover-card__trigger");if(t){var r=t.getBoundingClientRect(),n=e.getBoundingClientRect();"bottom"===i?(e.style.left=r.left+r.width/2-n.width/2+"px",e.style.top=r.bottom+8+"px"):"top"===i?(e.style.left=r.left+r.width/2-n.width/2+"px",e.style.top=r.top-n.height-8+"px"):"left"===i?(e.style.left=r.left-n.width-8+"px",e.style.top=r.top+r.height/2-n.height/2+"px"):"right"===i&&(e.style.left=r.right+8+"px",e.style.top=r.top+r.height/2-n.height/2+"px");var a=e.getBoundingClientRect();a.left<4&&(e.style.left="4px"),a.right>window.innerWidth-4&&(e.style.left=window.innerWidth-a.width-4+"px"),a.top<4&&(e.style.top=r.bottom+8+"px")}}(e),e.classList.add("tokui-hover-card__content--visible"))}),o)})),c.addEventListener("mouseleave",h),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.addEventListener&&window.addEventListener("scroll",h,!0),c._slot=c,c._tokuiType="hover-card",c._streamCloseHook=function(){for(var e=null,r=null,n=[],i=0;i<c.children.length;i++){var a=c.children[i];"hover-trigger"===a._tokuiType?e=a:"hover-content"===a._tokuiType?r=a:n.push(a)}if(e||r){for(;c.firstChild;)c.removeChild(c.firstChild);var o=t("span",{class:"tokui-hover-card__trigger"});if(e)for(;e.firstChild;)o.appendChild(e.firstChild);c.appendChild(o);var s=d();if(r)for(;r.firstChild;)s.body.appendChild(r.firstChild);c.appendChild(s.panel),n.forEach((function(e){c.appendChild(e)}))}},c})),e.register("hover-trigger",(function(e,r){var n=t("span");return e.children&&e.children.length>0&&r(e.children).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),e.content&&n.appendChild(document.createTextNode(e.content)),n._tokuiType="hover-trigger",n._slot=n,n})),e.register("hover-content",(function(e,r){var n=t("span",{class:"tokui-hover-card__content-temp"});return e.children&&e.children.length>0&&r(e.children).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),e.content&&n.appendChild(document.createTextNode(e.content)),n._tokuiType="hover-content",n._slot=n,n})),e.register("input-tag",(function(n,i){var a=n.attrs||{},o=a.ph||r("inputTag.placeholder"),s=a.n||"tags",c=a.id||"",l=parseInt(a.max)||0,u=(a.tags||"").split(",").map((function(e){return e.trim()})).filter(Boolean),d=t("div",{class:"tokui-input-tag",role:"group"});c&&(d.id=c);var p=t("div",{class:"tokui-field"});a.l&&p.appendChild(t("label",{class:"tokui-label"+(void 0===a.req?"":" tokui-label--req")},a.l));var f=t("div",{class:"tokui-input-tag__box"}),h=t("div",{class:"tokui-input-tag__list",role:"list"});u.forEach((function(e){h.appendChild(v(e))})),f.appendChild(h);var A=t("input",{class:"tokui-input-tag__input",type:"text",placeholder:o});f.appendChild(A);var g=t("input",{type:"hidden",name:s,value:u.join(",")});f.appendChild(g),p.appendChild(f),d.appendChild(p);var m=e.createReporter("input-tag",a,d);function v(e){var r=t("span",{class:"tokui-input-tag__tag",role:"listitem"});r.textContent=e;var n=t("span",{class:"tokui-input-tag__close"});return n.textContent="×",n.addEventListener("click",(function(){r.remove(),k()})),r.appendChild(n),r}function b(e){var t=e.firstChild||e.childNodes&&e.childNodes[0];return t&&t.textContent||""}function k(){g.value=Array.from(h.querySelectorAll(".tokui-input-tag__tag")).map(b).join(","),m("change",{value:g.value,name:s})}return A.addEventListener("keydown",(function(e){if("Enter"===e.key){e.preventDefault();var t=A.value.trim();if(!t)return;var r=Array.from(h.querySelectorAll(".tokui-input-tag__tag")).map(b);if(-1!==r.indexOf(t))return void(A.value="");if(l>0&&r.length>=l)return void(A.value="");h.appendChild(v(t)),A.value="",k()}if("Backspace"===e.key&&!A.value){var n=h.querySelectorAll(".tokui-input-tag__tag");n.length>0&&(n[n.length-1].remove(),k())}})),d._update=function(e){!0===e.dis||"true"===e.dis?(A.disabled=!0,d.classList.add("tokui-input-tag--disabled")):(!1===e.dis||"false"===e.dis)&&(A.disabled=!1,d.classList.remove("tokui-input-tag--disabled"))},d._tokuiType="input-tag",d})),e.register("countdown",(function(e){var n=e.attrs||{},i=parseInt(n.target)||0,a=parseInt(n.dur)||0,o=n.l||"",c=n.s||"",l=n.tx||r("countdown.ended"),u=n.id||"",d=n.fmt||"dhms",p=n.clk||"";!i&&a>0&&(i=Date.now()+1e3*a);var f=["tokui-countdown"];"sm"===c?f.push("tokui-countdown--sm"):"lg"===c&&f.push("tokui-countdown--lg");var h={class:f.join(" "),role:"timer","aria-live":"polite"};u&&(h.id=u);var A=t("div",h);if(o){var g=t("div",{class:"tokui-countdown__label"});g.textContent=o,A.appendChild(g)}var m=[{key:"d",label:r("duration.day")},{key:"h",label:r("duration.hour")},{key:"m",label:r("duration.minute")},{key:"s",label:r("duration.second")}],v=d.split(""),b=m.filter((function(e){return-1!==v.indexOf(e.key)})),k=t("div",{class:"tokui-countdown__digits"}),y={};function w(e){return e<10?"0"+e:String(e)}b.forEach((function(e,r){var n=t("div",{class:"tokui-countdown__item"}),i=t("span",{class:"tokui-countdown__num","data-key":e.key});i.textContent="00",y[e.key]=i,n.appendChild(i);var a=t("span",{class:"tokui-countdown__unit"});if(a.textContent=e.label,n.appendChild(a),k.appendChild(n),r<b.length-1){var o=t("span",{class:"tokui-countdown__sep"});o.textContent=":",k.appendChild(o)}})),A.appendChild(k);var x=!1;function _(){var e=Math.max(0,i-Date.now());if(e<=0){if(!x){x=!0,Object.keys(y).forEach((function(e){y[e].textContent="00"})),A.classList.add("tokui-countdown--ended");var r=t("div",{class:"tokui-countdown__ended"});if(r.textContent=l,k.parentNode.replaceChild(r,k),clearInterval(C),p){var n=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.TokUIEventBus:null;if(n){var a=n.getHandler(p);"function"==typeof a&&a({id:u,target:i})}}}}else{var o=Math.floor(e/1e3),c=Math.floor(o/86400),d=Math.floor(o%86400/3600),f=Math.floor(o%3600/60),h=o%60;y.d&&(y.d.textContent=w(c)),y.h&&(y.h.textContent=w(d)),y.m&&(y.m.textContent=w(f)),y.s&&(y.s.textContent=w(h))}}_();var C=setInterval(_,1e3);return A._countdownTimer=C,A._tokuiType="countdown",A})),e.register("popconfirm",(function(e){var n=e.attrs||{},i=n.tt||"",a=n.clk||"",o=n.t||"primary",c=n.pos||"top",l=n["ok-text"]||r("common.ok"),u=n["cancel-text"]||r("common.cancel"),d=e.content||n.tx||r("popconfirm.trigger"),p=t("span",{class:"tokui-popconfirm"}),f=t("button",{class:"tokui-popconfirm__trigger",type:"button",tabindex:"0","aria-haspopup":"true","aria-expanded":"false"});function h(){if(p._popconfirmPopup){p._popconfirmPopup.classList.remove("tokui-popconfirm__popup--visible");var e=p._popconfirmPopup;setTimeout((function(){e.parentNode&&e.parentNode.removeChild(e)}),150),p._popconfirmPopup=null,f.setAttribute("aria-expanded","false")}}return f.textContent=d,p.appendChild(f),p._popconfirmPopup=null,f.addEventListener("click",(function(e){e.stopPropagation(),p._popconfirmPopup?h():function(){h();var e=t("div",{class:"tokui-popconfirm__popup tokui-popconfirm__popup--"+c,role:"dialog","aria-label":i||r("popconfirm.aria")}),n=t("div",{class:"tokui-popconfirm__arrow"});if(e.appendChild(n),i){var d=t("div",{class:"tokui-popconfirm__message"});d.textContent=i,e.appendChild(d)}var A=t("div",{class:"tokui-popconfirm__buttons"}),g=t("button",{class:"tokui-popconfirm__btn tokui-popconfirm__btn--cancel",type:"button"});g.textContent=u,g.addEventListener("click",(function(e){e.stopPropagation(),h()})),A.appendChild(g);var m=t("button",{class:"tokui-popconfirm__btn tokui-popconfirm__btn--"+o,type:"button"});function v(){if(f.getBoundingClientRect){var t=f.getBoundingClientRect(),r=e.getBoundingClientRect();if("top"===c?(e.style.left=t.left+t.width/2-r.width/2+"px",e.style.top=t.top-r.height-8+"px"):"bottom"===c?(e.style.left=t.left+t.width/2-r.width/2+"px",e.style.top=t.bottom+8+"px"):"left"===c?(e.style.left=t.left-r.width-8+"px",e.style.top=t.top+t.height/2-r.height/2+"px"):"right"===c&&(e.style.left=t.right+8+"px",e.style.top=t.top+t.height/2-r.height/2+"px"),e.getBoundingClientRect){var n=e.getBoundingClientRect();n.left<4&&(e.style.left="4px"),n.right>window.innerWidth-4&&(e.style.left=window.innerWidth-n.width-4+"px"),n.top<4&&(e.style.top=t.bottom+8+"px")}}e.classList.add("tokui-popconfirm__popup--visible")}a&&m.setAttribute("data-tokui-clk",a),m.textContent=l,m.addEventListener("click",(function(e){if(e.stopPropagation(),a){var t=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;t&&"function"==typeof t.emit&&t.emit(a,{})}h()})),A.appendChild(m),e.appendChild(A),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.body&&document.body.appendChild(e),"function"==typeof requestAnimationFrame?requestAnimationFrame(v):v(),p._popconfirmPopup=e,f.setAttribute("aria-expanded","true")}()})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&"function"==typeof document.addEventListener&&document.addEventListener("click",(function(e){p._popconfirmPopup&&!p._popconfirmPopup.contains(e.target)&&!p.contains(e.target)&&h()})),p.addEventListener("keydown",(function(e){"Escape"===e.key&&h()})),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&"function"==typeof window.addEventListener&&window.addEventListener("scroll",h,!0),p._tokuiPopconfirmPos=c,p._tokuiType="popconfirm",p})),e.register("watermark",(function(e,r){var n=e.attrs||{},i=n.tx||"TokUI",a=n.font||("sm"===n.s?"12":"lg"===n.s?"20":"16"),o=n.gap||"40",s=n.ro||"-22",c=n.c||"rgba(0,0,0,0.2)",l=t("div",{class:"tokui-watermark"});l.style.overflow="hidden",l.style.borderRadius="8px";var u=document.createElement("canvas"),d=u.getContext("2d"),p=parseInt(a)||16,f=parseInt(o)||40;d.font=p+"px sans-serif";var h=d.measureText(i).width+f,A=p+f;u.width=h,u.height=A,d.font=p+"px sans-serif",d.fillStyle=c,d.textAlign="center",d.textBaseline="middle";var g=(parseFloat(s)||-22)*Math.PI/180;d.translate(h/2,A/2),d.rotate(g),d.fillText(i,0,0);var m=t("div",{class:"tokui-watermark__content"});if(m.style.position="relative",m.style.zIndex="1",e.children&&e.children.length>0){var v=r(e.children);v&&v.forEach&&v.forEach((function(e){e&&m.appendChild(e)}))}l.appendChild(m);var b=t("div",{class:"tokui-watermark__overlay"});return b.style.backgroundImage="url("+u.toDataURL()+")",b.style.backgroundRepeat="repeat",b.style.borderRadius="8px",l.appendChild(b),l._slot=m,l._tokuiType="watermark",l})),e.register("backtop",(function(e){var n=e.attrs||{},i=parseInt(n.t)||200,a=n.v||"circle",o=n.tx||"↑",c=n.s||"",l=n.bottom||"40",u=n.right||"40",d=void 0!==n.container,p=["tokui-backtop"];"round"===a?p.push("tokui-backtop--round"):"square"===a&&p.push("tokui-backtop--square"),"sm"===c?p.push("tokui-backtop--sm"):"lg"===c&&p.push("tokui-backtop--lg"),d&&p.push("tokui-backtop--container");var f=t("div",{class:p.join(" "),role:"button","aria-label":r("backToTop.aria"),tabindex:"0"});return d?f.style.bottom=l+"px":(f.style.bottom=l+"px",f.style.right=u+"px"),f.textContent=o,("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&requestAnimationFrame((function(){for(var e=window,t=f.parentElement;t;){var r=getComputedStyle(t);if(("auto"===r.overflowY||"scroll"===r.overflowY)&&t.scrollHeight>t.clientHeight){e=t;break}t=t.parentElement}f.addEventListener("click",(function(){e===window?window.scrollTo({top:0,behavior:"smooth"}):e.scrollTo({top:0,behavior:"smooth"})}));var n=function(){(e===window?window.pageYOffset:e.scrollTop)>i?f.classList.add("tokui-backtop--visible"):f.classList.remove("tokui-backtop--visible")};e.addEventListener("scroll",n),n(),f._backtopCleanup=function(){e.removeEventListener("scroll",n)}})),f})),e.register("calendar",(function(e){var n,i,a=e.attrs||{},o=a.month||"",s=new Date;if(o){var c=o.split("-");n=parseInt(c[0])||s.getFullYear(),i=(parseInt(c[1])||s.getMonth()+1)-1}else n=s.getFullYear(),i=s.getMonth();var l=a.v||"",u=a.marks||"",d=u?u.split(",").map((function(e){return parseInt(e.trim())})).filter((function(e){return e>0})):[],p=String(null==a.sel?null==a.selected?"":a.selected:a.sel),f={};function h(e){var t=[];return String(e||"").split(";").forEach((function(e){if(e=e.trim()){var r=e.split("-");if(2===r.length){var n=parseInt(r[0],10),i=parseInt(r[1],10);n>0&&i>0&&t.push([Math.min(n,i),Math.max(n,i)])}else{var a=parseInt(e,10);a>0&&t.push([a,a])}}})),t}p.split(",").forEach((function(e){var t=parseInt(e.trim(),10);t>0&&(f[t]=!0)}));var A=[];a.range&&(A=A.concat(h(a.range))),a.ranges&&(A=A.concat(h(a.ranges)));var g={},m={},v={};A.forEach((function(e){for(var t=e[0];t<=e[1];t++)g[t]=!0;m[e[0]]=!0,v[e[1]]=!0}));var b=s.getFullYear()===n&&s.getMonth()===i?s.getDate():-1,k=a.tt||r("datepicker.title",{y:n,m:i+1}),y=["tokui-calendar"];"card"===l?y.push("tokui-calendar--card"):"mini"===l&&y.push("tokui-calendar--mini");var w=t("div",{class:y.join(" ")}),x=t("div",{class:"tokui-calendar__header"});x.textContent=k,w.appendChild(x);var _=t("div",{class:"tokui-calendar__grid"});[r("datepicker.weekday.0"),r("datepicker.weekday.1"),r("datepicker.weekday.2"),r("datepicker.weekday.3"),r("datepicker.weekday.4"),r("datepicker.weekday.5"),r("datepicker.weekday.6")].forEach((function(e){var r=t("div",{class:"tokui-calendar__weekday"});r.textContent=e,_.appendChild(r)}));for(var C=new Date(n,i,1).getDay(),E=new Date(n,i+1,0).getDate(),T=new Date(n,i,0).getDate(),B=C-1;B>=0;B--){var S=t("div",{class:"tokui-calendar__day tokui-calendar__day--other"});(L=t("span",{class:"tokui-calendar__day__num"})).textContent=T-B,S.appendChild(L),_.appendChild(S)}for(var D=1;D<=E;D++){var U=["tokui-calendar__day"];D===b&&U.push("tokui-calendar__day--today"),-1!==d.indexOf(D)&&U.push("tokui-calendar__day--marked"),f[D]&&U.push("tokui-calendar__day--selected"),g[D]&&(U.push("tokui-calendar__day--in-range"),m[D]&&U.push("tokui-calendar__day--range-start"),v[D]&&U.push("tokui-calendar__day--range-end"));S=t("div",{class:U.join(" ")});(L=t("span",{class:"tokui-calendar__day__num"})).textContent=D,S.appendChild(L),_.appendChild(S)}for(var F=42-C-E,I=1;I<=F;I++){var L;S=t("div",{class:"tokui-calendar__day tokui-calendar__day--other"});(L=t("span",{class:"tokui-calendar__day__num"})).textContent=I,S.appendChild(L),_.appendChild(S)}return w.appendChild(_),a.id&&(w.id=a.id),w._update=function(e){var t=void 0===e.v?e.sel:e.v;if(void 0!==t){var r={};String(t).split(",").forEach((function(e){var t=parseInt(e.trim(),10);t>0&&(r[t]=!0)}));for(var n=_.querySelectorAll(".tokui-calendar__day"),i=0;i<n.length;i++){var a=n[i];a.classList.contains("tokui-calendar__day--other")||(r[parseInt(a.textContent,10)]?a.classList.add("tokui-calendar__day--selected"):a.classList.remove("tokui-calendar__day--selected"))}}},w._tokuiType="calendar",w})),e.register("notification",(function(e){var n=e.attrs||{},i=n.id||"",a=n.t||"info",o=n.tt||"",c=n.tx||"",l=void 0===n.duration?4500:parseInt(n.duration);isNaN(l)&&(l=4500);var u=n.pos||"top-right",d=n.clk||"",p={success:"✓",error:"✕",warning:"⚠",info:"ℹ"},f=t("div",{class:"tokui-notification tokui-notification--"+a+" tokui-notification--"+u,role:"alert","aria-live":"polite"});i&&f.setAttribute("data-notif-id",i);var h=t("div",{class:"tokui-notification__bar"});f.appendChild(h);var A=t("span",{class:"tokui-notification__icon"});A.textContent=p[a]||p.info,f.appendChild(A);var g=t("div",{class:"tokui-notification__content"});if(o){var m=t("div",{class:"tokui-notification__title"});m.textContent=o,g.appendChild(m)}if(c){var v=t("div",{class:"tokui-notification__desc"});v.textContent=c,g.appendChild(v)}f.appendChild(g);var b=t("button",{class:"tokui-notification__close",type:"button","aria-label":r("common.close")});if(b.textContent="×",b.addEventListener("click",(function(){f.classList.add("tokui-notification--hide"),setTimeout((function(){f.parentNode&&f.parentNode.removeChild(f)}),300)})),f.appendChild(b),d){var k=t("button",{class:"tokui-notification__action",type:"button","data-tokui-clk":d});k.textContent=r("common.view"),g.appendChild(k)}if(("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.body){var y=function(e){if(("undefined"==typeof document?"undefined":Object(s.a)(document))>"u"||!document.body)return null;var r="tokui-notification-container--"+e,n=document.querySelector("."+r);return n||(n=t("div",{class:"tokui-notification-container "+r}),document.body.appendChild(n)),n}(u);y&&y.appendChild(f),l>0&&setTimeout((function(){f.classList.add("tokui-notification--hide"),setTimeout((function(){f.parentNode&&f.parentNode.removeChild(f)}),300)}),l),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI||(window.TokUI={}),window.TokUI._notifMap||(window.TokUI._notifMap={}),i&&(window.TokUI._notifMap[i]=f),window.TokUI.showNotification||(window.TokUI.showNotification=function(e,t){var r=(window.TokUI._notifMap||{})[e];if(r){if(t){if(t.title){var n=r.querySelector(".tokui-notification__title");n&&(n.textContent=t.title)}if(t.text){var i=r.querySelector(".tokui-notification__text");i&&(i.textContent=t.text)}}r.style.display="",r.classList.remove("tokui-notification--hide");var a=r._notifDuration||4500;a>0&&(clearTimeout(r._notifTimer),r._notifTimer=setTimeout((function(){r.classList.add("tokui-notification--hide"),setTimeout((function(){r.style.display="none"}),300)}),a))}}));var w=t("div",{style:"display:none"});return w._isNotifPlaceholder=!0,w}return f._notifDuration=l,f})),e.register("chat-input",(function(n,i){var a=n.attrs||{},o=a.ph||"",c=a.clk||"",l=void 0!==a.dis,u=parseInt(a.max)||0,d=void 0!==a.auto,p=parseInt(a.rows)||2,f=t("div",{class:"tokui-chat-input"}),h=t("textarea",{class:"tokui-chat-input__textarea",rows:String(p),placeholder:o});l&&(h.setAttribute("disabled",""),h.classList.add("tokui-chat-input__textarea--disabled")),d&&h.classList.add("tokui-chat-input__textarea--auto"),f.appendChild(h);var A=t("div",{class:"tokui-chat-input__actions"});n.children&&n.children.length>0&&i(n.children).forEach((function(e){e&&e.nodeType&&A.appendChild(e)}));var g=t("button",{class:"tokui-chat-input__send",type:"button","aria-label":r("common.send")});g.innerHTML='<svg viewBox="0 0 20 20" width="18" height="18" fill="currentColor"><path d="M10 3a1 1 0 0 1 .7.3l5 5a1 1 0 0 1-1.4 1.4L11 6.4V16a1 1 0 1 1-2 0V6.4l-3.3 3.3a1 1 0 0 1-1.4-1.4l5-5A1 1 0 0 1 10 3z"/></svg>',l&&(g.setAttribute("disabled",""),g.classList.add("tokui-chat-input__send--disabled")),A.appendChild(g);var m=e.createReporter("chat-input",a,f),v=t("button",{class:"tokui-chat-input__stop",type:"button","aria-label":r("common.stop")});if(v.innerHTML='<svg viewBox="0 0 20 20" width="18" height="18" fill="currentColor"><rect x="5" y="5" width="10" height="10" rx="1.5"/></svg>',v.addEventListener("click",(function(){if(m("stop",{}),f.classList.remove("tokui-chat-input--streaming"),!String(a.on||"").split(",").some((function(e){return 0===e.trim().indexOf("stop:")}))){var t=e._tokuiInstance||("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._instance;t&&"function"==typeof t.disconnect&&t.disconnect()}})),A.appendChild(v),void 0!==a.streaming&&f.classList.add("tokui-chat-input--streaming"),f.appendChild(A),u>0){var b=t("span",{class:"tokui-chat-input__counter"});b.textContent="0/"+u,f.appendChild(b),h.addEventListener("input",(function(){var e=(h.value||"").length;b.textContent=e+"/"+u,e>u?b.classList.add("tokui-chat-input__counter--over"):b.classList.remove("tokui-chat-input__counter--over")}))}d&&h.addEventListener("input",(function(){h.style.height="auto",h.style.height=h.scrollHeight+"px"}));var k=a.mention||"";if(k){var y=t("div",{class:"tokui-chat-input__mention",role:"listbox"});y.style.display="none",f.appendChild(y);var w=[],x=-1,_=null,C=function(){y.style.display="none",w=[],x=-1,_=null},E=function(e){var t=w[e];if(t&&_){var r="string"==typeof t?t:null==t.v?t.tx:t.v,n="string"==typeof t?t:null==t.tx?t.v:t.tx,i=h.value||"";h.value=i.slice(0,_.start)+"@"+n+" "+i.slice(_.end);var o=_.start+String(n).length+2;"function"==typeof h.setSelectionRange&&h.setSelectionRange(o,o),m("mention",{value:r,name:a.n||void 0}),C(),"function"==typeof h.focus&&h.focus()}},T=function(e){y.innerHTML="",(w=e.slice(0,8)).length?(x=0,w.forEach((function(e,r){var n="string"==typeof e?e:null==e.tx?e.v:e.tx,i=t("div",{class:"tokui-chat-input__mention-item"+(0===r?" tokui-chat-input__mention-item--active":""),role:"option"},n);i.addEventListener("mousedown",(function(e){e&&e.preventDefault&&e.preventDefault(),E(r)})),y.appendChild(i)})),y.style.display=""):C()};h.addEventListener("keydown",(function(e){if("none"!==y.style.display)if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault&&e.preventDefault(),e._tokuiMentionHandled=!0,x=(x+("ArrowDown"===e.key?1:-1)+w.length)%w.length;for(var t=0;t<y.childNodes.length;t++){var r=y.childNodes[t];r.classList&&(t===x?r.classList.add("tokui-chat-input__mention-item--active"):r.classList.remove("tokui-chat-input__mention-item--active"))}}else"Enter"===e.key||"Tab"===e.key?(e.preventDefault&&e.preventDefault(),e._tokuiMentionHandled=!0,E(x)):"Escape"===e.key&&(e._tokuiMentionHandled=!0,C())})),h.addEventListener("input",(function(){var t=function(){var e=null==h.selectionStart?(h.value||"").length:h.selectionStart,t=(h.value||"").slice(0,e).match(/(^|\s)@([^\s@]*)$/);return t?{query:t[2],start:e-t[2].length-1,end:e}:null}();if(t){if(e.eventBus){var r,n=e.eventBus.getHandler(k);if(!n)return e._warnMissingHandler(k),void C();_=t;try{r=n({value:t.query})}catch(e){return console.warn("TokUI: mention 数据源异常",e),void C()}r&&"function"==typeof r.then?r.then((function(e){_&&_.query===t.query&&Array.isArray(e)&&T(e)})).catch((function(){C()})):Array.isArray(r)?T(r):C()}}else C()})),h.addEventListener("blur",(function(){setTimeout(C,150)}))}function B(){if(!l){var t=h.value||"";if(t.trim()){if(c&&(f.setAttribute("data-tokui-clk-value",t),e.eventBus)){var r=e.eventBus.getHandler(c);r?r({value:t},null,f):e._warnMissingHandler(c)}m("send",{value:t}),h.value="",u>0&&(b.textContent="0/"+u,b.classList.remove("tokui-chat-input__counter--over")),d&&(h.style.height="auto")}}}return h.addEventListener("keydown",(function(e){e._tokuiMentionHandled||"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),B())})),g.addEventListener("click",(function(){B()})),f._update=function(e){void 0!==e.dis&&((l=!!e.dis)?(h.setAttribute("disabled",""),h.classList.add("tokui-chat-input__textarea--disabled"),g.setAttribute("disabled",""),g.classList.add("tokui-chat-input__send--disabled")):(h.removeAttribute("disabled"),h.classList.remove("tokui-chat-input__textarea--disabled"),g.removeAttribute("disabled"),g.classList.remove("tokui-chat-input__send--disabled"))),void 0!==e.streaming&&("false"!==e.streaming&&!1!==e.streaming?f.classList.add("tokui-chat-input--streaming"):f.classList.remove("tokui-chat-input--streaming"))},f._slot=h,f._tokuiType="chat-input",f})),e.register("msg-actions",(function(n,i){var a=n.attrs||{},o=a.clk||"",s="tokui-msg-actions";a.visible&&(s+=" tokui-msg-actions--visible");var c=t("div",{class:s}),l='<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="8" y="8" width="13" height="13" rx="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>',u='<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M3 21v-5h5"/></svg>',d='<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 10v12"/><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"/></svg>',p='<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 14V2"/><path d="M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"/></svg>',f='<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>',h=[];void 0!==a.copy&&h.push({act:"copy",icon:l,label:r("actions.copy")}),void 0!==a.regenerate&&h.push({act:"regenerate",icon:u,label:r("actions.regenerate")}),void 0!==a.like&&(h.push({act:"like",icon:d,label:r("actions.like")}),h.push({act:"dislike",icon:p,label:r("actions.dislike")})),void 0!==a.delete&&h.push({act:"delete",icon:f,label:r("actions.delete")}),h.forEach((function(e){var r=t("button",{class:"tokui-msg-actions__btn",type:"button","data-act":e.act,"aria-label":e.label,title:e.label}),n=t("span",{class:"tokui-msg-actions__icon"});n.innerHTML=e.icon,r.appendChild(n),c.appendChild(r)})),n.children&&n.children.length>0&&i(n.children).forEach((function(e){e&&e.nodeType&&c.appendChild(e)}));var A=e.createReporter("msg-actions",a,c);return o&&c.setAttribute("data-tokui-clk",o),c.addEventListener("click",(function(e){var t=e.target.closest&&e.target.closest(".tokui-msg-actions__btn");if(t){var r=t.getAttribute("data-act");r&&(c.setAttribute("data-tokui-clk-act",r),A("action",{act:r}))}})),c._slot=c,c._tokuiType="msg-actions",c})),e.register("tool-call",(function(n,i){var a=n.attrs||{},o=a.name||"tool",s=a.status||"pending",c=a.duration||"",l={class:"tokui-tool-call tokui-tool-call--"+s};a.id&&(l.id=a.id);var u=t("div",l),d=t("div",{class:"tokui-tool-call__header"}),p=t("span",{class:"tokui-tool-call__status-dot tokui-tool-call__status-dot--"+s});d.appendChild(p);var f=t("span",{class:"tokui-tool-call__name"});f.textContent=o,d.appendChild(f);var h=t("span",{class:"tokui-tool-call__status"}),A={pending:r("status.pending"),running:r("status.running"),done:r("status.done"),error:r("status.error"),denied:r("status.denied")};if(h.textContent=A[s]||s,d.appendChild(h),c){var g=t("span",{class:"tokui-tool-call__duration"});g.textContent=c,d.appendChild(g)}u.appendChild(d);var m=t("div",{class:"tokui-tool-call__body"});if(n.content){var v=t("div",{class:"tokui-tool-call__params"});v.textContent=n.content,m.appendChild(v)}if(i(n.children||[]).forEach((function(e){e&&e.nodeType&&m.appendChild(e)})),u.appendChild(m),void 0!==a.approval&&"pending"===s){var b=e.createReporter("tool-call",a,u),k=a.clk||"",y=t("div",{class:"tokui-tool-call__approval"}),w=t("button",{class:"tokui-tool-call__approve",type:"button"},r("actions.approve")),x=t("button",{class:"tokui-tool-call__deny",type:"button"},r("actions.deny")),_=function(t){w.setAttribute("disabled",""),x.setAttribute("disabled",""),(t?w:x).classList.add("tokui-tool-call__approval--chosen"),y.classList.add("tokui-tool-call__approval--decided");var r={approved:t,id:a.id||null,name:o};if(k&&e.eventBus){var n=e.eventBus.getHandler(k);n&&n(r,null,u)}b("approval",r)};w.addEventListener("click",(function(){_(!0)})),x.addEventListener("click",(function(){_(!1)})),y.appendChild(w),y.appendChild(x),u.appendChild(y)}return u._slot=m,u._tokuiType="tool-call",u._update=function(e){if(e.status&&(u.className="tokui-tool-call tokui-tool-call--"+e.status,p.className="tokui-tool-call__status-dot tokui-tool-call__status-dot--"+e.status,h.textContent=A[e.status]||e.status),e.duration){var r=u.querySelector(".tokui-tool-call__duration");r||(r=t("span",{class:"tokui-tool-call__duration"}),d.appendChild(r)),r.textContent=e.duration}if(e.result){var n=t("div",{class:"tokui-tool-call__result"});n.textContent=e.result,m.appendChild(n)}if(e.error){var i=t("div",{class:"tokui-tool-call__error"});i.textContent=e.error,m.appendChild(i)}},u})),e.register("typing",(function(e){for(var r=e.attrs||{},n=t("div",{class:"tokui-typing"}),i=t("span",{class:"tokui-typing__dots"}),a=0;a<3;a++){var o=t("span",{class:"tokui-typing__dot"});o.style.animationDelay=.15*a+"s",i.appendChild(o)}if(n.appendChild(i),r.text){var s=t("span",{class:"tokui-typing__text"});s.textContent=r.text,n.appendChild(s)}return n})),e.register("quick-reply",(function(r,n){var i=r.attrs||{},a=i.clk||"",o=t("div",{class:"tokui-quick-reply"}),s=t("div",{class:"tokui-quick-reply__items"}),c=e.createReporter("quick-reply",i,o);function l(t){if(a&&e.eventBus){var r=e.eventBus.getHandler(a);r?r({value:t},null,o):e._warnMissingHandler(a)}c("select",{value:t})}return i.items&&i.items.split(",").forEach((function(e){var r=e.trim(),n=t("button",{class:"tokui-quick-reply__item",type:"button"});n.textContent=r,n.addEventListener("click",(function(){l(r)})),s.appendChild(n)})),r.children&&r.children.length&&n(r.children).forEach((function(e){e&&e.nodeType&&s.appendChild(e)})),o.appendChild(s),o._slot=s,o._tokuiType="quick-reply",o})),e.register("suggestions",(function(e,r){var n=e.attrs||{},i=Math.min(4,Math.max(1,parseInt(n.cols)||2)),a=t("div",{class:"tokui-suggestions"});n.clk&&a.setAttribute("data-tokui-clk",n.clk),n.id&&(a.id=n.id);var o=t("div",{class:"tokui-suggestions__grid tokui-suggestions__grid--"+i});return o.style.gridTemplateColumns="repeat("+i+", 1fr)",e.children&&e.children.length&&r(e.children).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),a.appendChild(o),a._slot=o,a._tokuiType="suggestions",a})),e.register("suggestion",(function(r){var n=r.attrs||{},i=n.tt||"",a=n.tx||"",o=n.icon||"",s=t("div",{class:"tokui-suggestion",role:"button",tabindex:"0"});n.clk&&s.setAttribute("data-tokui-clk",n.clk);var c=e.createReporter("suggestion",n,s);if(s.addEventListener("click",(function(){c("select",{value:i||a})})),void 0!==n.dis&&(s.classList.add("tokui-suggestion--disabled"),s.setAttribute("aria-disabled","true")),o){var l=t("span",{class:"tokui-suggestion__icon"});l.textContent=o,s.appendChild(l)}var u=t("div",{class:"tokui-suggestion__body"});if(i){var d=t("div",{class:"tokui-suggestion__title"});d.textContent=i,u.appendChild(d)}if(a){var p=t("div",{class:"tokui-suggestion__desc"});p.textContent=a,u.appendChild(p)}return s.appendChild(u),s.addEventListener("keydown",(function(e){("Enter"===e.key||" "===e.key)&&(e.preventDefault(),s.click())})),s})),e.register("source",(function(e){var r=e.attrs||{},n=r.n||"1",i=r.tt||"",a=r.sn||"",o=r.u||r.url||"",s=t("div",{class:"tokui-source"}),c=t("span",{class:"tokui-source__num"});c.textContent=n,s.appendChild(c);var l=t("div",{class:"tokui-source__body"});if(i){var u=o?t("a",{class:"tokui-source__title",href:o,target:"_blank"}):t("span",{class:"tokui-source__title"});u.textContent=i,l.appendChild(u)}if(a){var d=t("div",{class:"tokui-source__snippet"});d.textContent=a,l.appendChild(d)}return s.appendChild(l),s})),e.register("diff",(function(e,r){var n=e.attrs||{},i=t("div",{class:"tokui-diff"});if(n.title||n.lang){var a=t("div",{class:"tokui-diff__header"});if(n.title){var o=t("span",{class:"tokui-diff__title"});o.textContent=n.title,a.appendChild(o)}if(n.lang){var s=t("span",{class:"tokui-diff__lang"});s.textContent=n.lang,a.appendChild(s)}i.appendChild(a)}var c=t("div",{class:"tokui-diff__content"}),l="";function u(){!function(e,r){e.innerHTML="";var n=r.split("\n"),i=0,a=0;n.forEach((function(r){var n=t("div",{class:"tokui-diff__line"}),o=t("span",{class:"tokui-diff__num"}),s=t("span",{class:"tokui-diff__code"});r.startsWith("+")?(n.classList.add("tokui-diff__line--add"),a++,o.textContent=a,s.textContent=r):r.startsWith("-")?(n.classList.add("tokui-diff__line--remove"),i++,o.textContent=i,s.textContent=r):(n.classList.add("tokui-diff__line--context"),i++,a++,o.textContent=i,s.textContent=r||" "),n.appendChild(o),n.appendChild(s),e.appendChild(n)}))}(c,l)}return l=e.children&&e.children.length>0?e.children.map((function(e){return e.content||""})).join(""):e.content||"",u(),i.appendChild(c),i._slot=c,i._tokuiType="diff",i._streamAppendHook=function(e){e&&"_text"===e.type&&e.content&&(l+=e.content,u())},i._streamCloseHook=u,i})),e.register("plan",(function(e,r){var n=e.attrs||{},i=t("div",{class:"tokui-plan"});if(n.tt){var a=t("div",{class:"tokui-plan__title"});a.textContent=n.tt,i.appendChild(a)}var o=t("div",{class:"tokui-plan__steps"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),i.appendChild(o),i._slot=o,i._tokuiType="plan",i})),e.register("plan-step",(function(e,r){var n=e.attrs||{},i=String(n.status||"pending").toLowerCase(),a=t("div",{class:"tokui-plan-step tokui-plan-step--"+({running:"doing",active:"doing",progress:"doing",processing:"doing","in-progress":"doing",in_progress:"doing",current:"doing",complete:"done",completed:"done",finish:"done",finished:"done",ok:"done",success:"done",wait:"pending",waiting:"pending",todo:"pending",queued:"pending",fail:"error",failed:"error",failure:"error"}[i]||({pending:1,doing:1,done:1,error:1,skipped:1}[i]?i:"pending"))}),o=t("span",{class:"tokui-plan-step__dot"});a.appendChild(o);var s=t("div",{class:"tokui-plan-step__content"});if(n.tt){var c=t("div",{class:"tokui-plan-step__title"});c.textContent=n.tt,s.appendChild(c)}if(n.desc){var l=t("div",{class:"tokui-plan-step__desc"});l.textContent=n.desc,s.appendChild(l)}if(e.content){var u=t("div",{class:"tokui-plan-step__text"});u.textContent=e.content,s.appendChild(u)}r(e.children||[]).forEach((function(e){e&&e.nodeType&&s.appendChild(e)})),a.appendChild(s);var d=t("div",{class:"tokui-plan-step__line"});return a.appendChild(d),a})),e.register("agent",(function(e,n){var i=e.attrs||{},a=i.name||"Agent",o=i.status||"idle",s=i.action||"",c=i.duration||"",l={class:"tokui-agent tokui-agent--"+o};i.id&&(l.id=i.id);var u=t("div",l),d=t("div",{class:"tokui-agent__header"}),p=t("span",{class:"tokui-agent__status-dot tokui-agent__status-dot--"+o});d.appendChild(p);var f=t("span",{class:"tokui-agent__name"});f.textContent=a,d.appendChild(f);var h=t("span",{class:"tokui-agent__status"}),A={idle:r("status.idle"),running:r("status.running"),paused:r("status.paused"),done:r("status.done"),error:r("status.error")};if(h.textContent=A[o]||o,d.appendChild(h),c){var g=t("span",{class:"tokui-agent__duration"});g.textContent=c,d.appendChild(g)}if(u.appendChild(d),s){var m=t("div",{class:"tokui-agent__action"});m.textContent=s,u.appendChild(m)}if(e.children&&e.children.length){var v=t("div",{class:"tokui-agent__body"});n(e.children).forEach((function(e){e&&e.nodeType&&v.appendChild(e)})),u.appendChild(v),u._slot=v}return u._tokuiType="agent",u._update=function(e){e.status&&(u.className="tokui-agent tokui-agent--"+e.status,p.className="tokui-agent__status-dot tokui-agent__status-dot--"+e.status,h.textContent=A[e.status]||e.status),e.action&&m&&(m.textContent=e.action),e.duration&&g&&(g.textContent=e.duration)},u})),e.register("file-tree",(function(e,r){var n=t("div",{class:"tokui-file-tree"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="file-tree",n})),e.register("ft-folder",(function(e,r){var n=e.attrs||{},i=n.name||"folder",a=void 0!==n.open,o=t("div",{class:"tokui-file-tree__folder"+(a?" tokui-file-tree__folder--open":"")}),s=t("div",{class:"tokui-file-tree__folder-name"}),c=t("span",{class:"tokui-file-tree__folder-toggle"});c.textContent=a?"▾":"▸",s.appendChild(c);var l=t("span",{class:"tokui-file-tree__folder-icon"});l.textContent="📁",s.appendChild(l);var u=t("span",{class:"tokui-file-tree__name"});u.textContent=i,s.appendChild(u),o.appendChild(s);var d=t("div",{class:"tokui-file-tree__folder-children"});return a||(d.style.display="none"),r(e.children||[]).forEach((function(e){e&&e.nodeType&&d.appendChild(e)})),o.appendChild(d),s.addEventListener("click",(function(){var e=o.classList.toggle("tokui-file-tree__folder--open");c.textContent=e?"▾":"▸",d.style.display=e?"":"none"})),o._slot=d,o._tokuiType="ft-folder",o})),e.register("ft-file",(function(e){var r=e.attrs||{},n=r.name||"file",i=r.badge||"",a=t("div",{class:"tokui-file-tree__file"}),o=t("span",{class:"tokui-file-tree__file-icon"});o.textContent="📄",a.appendChild(o);var s=t("span",{class:"tokui-file-tree__name"});if(s.textContent=n,a.appendChild(s),i){var c=t("span",{class:"tokui-file-tree__file-badge"});c.textContent=i,a.appendChild(c)}return a})),e.register("terminal",(function(e,n){var i=e.attrs||{},a=i.title||"Terminal",o=i.status||"",c=t("div",{class:"tokui-terminal"+(o&&"0"!==o?" tokui-terminal--error":"")}),l=t("div",{class:"tokui-terminal__titlebar"}),u=t("span",{class:"tokui-terminal__dots"});["🔴","🟡","🟢"].forEach((function(e){var r=t("span",{class:"tokui-terminal__dot"});r.textContent=e,u.appendChild(r)})),l.appendChild(u);var d=t("span",{class:"tokui-terminal__title"});d.textContent=a,l.appendChild(d),c.appendChild(l);var p=t("div",{class:"tokui-terminal__content"});e.content&&(p.textContent=e.content),n(e.children||[]).forEach((function(e){e&&e.nodeType&&p.appendChild(e)})),c.appendChild(p);var f=t("button",{class:"tokui-terminal__copy",type:"button"});return f.textContent=r("actions.copy"),f.addEventListener("click",(function(){var e=p.textContent||"";("undefined"==typeof navigator?"undefined":Object(s.a)(navigator))<"u"&&navigator.clipboard&&navigator.clipboard.writeText(e),f.textContent=r("common.copied"),f.classList.add("tokui-terminal__copy--done"),setTimeout((function(){f.textContent=r("actions.copy"),f.classList.remove("tokui-terminal__copy--done")}),2e3)})),l.appendChild(f),c._slot=p,c._tokuiType="terminal",c})),e.register("shimmer",(function(e){var r=e.attrs||{},n=r.t||"text",i=parseInt(r.rows)||3,a=t("div",{class:"tokui-shimmer tokui-shimmer--"+n});if("card"===n){var o=t("div",{class:"tokui-shimmer__circle"});a.appendChild(o);for(var s=t("div",{class:"tokui-shimmer__lines"}),c=0;c<i;c++)s.appendChild(t("div",{class:"tokui-shimmer__row"}));a.appendChild(s)}else if("avatar"===n)a.appendChild(t("div",{class:"tokui-shimmer__circle"}));else for(var l=0;l<i;l++)a.appendChild(t("div",{class:"tokui-shimmer__row"}));return a})),e.register("latency",(function(e){var n=e.attrs||{},i=n.v||"",a=n.t||"",o=t("span",{class:"tokui-latency"+(a?" tokui-latency--"+a:"")}),s={thinking:"💡",generating:"⚡",total:"⏱"};if(a&&s[a]){var c=t("span",{class:"tokui-latency__icon"});c.textContent=s[a],o.appendChild(c)}var l=t("span",{class:"tokui-latency__value"});if(l.textContent=i,o.appendChild(l),a){var u=t("span",{class:"tokui-latency__label"});u.textContent={thinking:r("agent.thinking"),generating:r("agent.generating"),total:r("agent.total")}[a]||a,o.appendChild(u)}return o})),e.register("video",(function(e){var r=e.attrs||{},n=r.s||"",i=r.poster||"",a=t("div",{class:"tokui-video"});r.w&&(a.style.width=/^\d+$/.test(r.w)?r.w+"px":r.w);var o=t("video",{class:"tokui-video__player",preload:"metadata"});n&&o.setAttribute("src",n),i&&o.setAttribute("poster",i),o.setAttribute("controls","");var s=r.h||r.ratio;if(o.style.objectFit=r.fit||(s?"cover":"contain"),r.h)o.style.height=/^\d+$/.test(r.h)?r.h+"px":r.h;else if(r.ratio){var c=String(r.ratio).split(":");2===c.length&&parseFloat(c[0])&&parseFloat(c[1])&&(o.style.aspectRatio=c[0].trim()+" / "+c[1].trim(),o.style.maxHeight="none")}return a.appendChild(o),a})),e.register("audio",(function(e){var r=e.attrs||{},n=r.s||"",i=r.tt||"",a=r.duration||"",o=t("div",{class:"tokui-audio"});r.w&&(o.style.width=/^\d+$/.test(r.w)?r.w+"px":r.w);var s=t("div",{class:"tokui-audio__info"}),c=t("span",{class:"tokui-audio__icon"});if(c.textContent="🔊",s.appendChild(c),i){var l=t("span",{class:"tokui-audio__title"});l.textContent=i,s.appendChild(l)}if(a){var u=t("span",{class:"tokui-audio__duration"});u.textContent=a,s.appendChild(u)}o.appendChild(s);var d=t("audio",{class:"tokui-audio__player",preload:"metadata"});return n&&d.setAttribute("src",n),d.setAttribute("controls",""),o.appendChild(d),o})),e.register("quote",(function(e,r){var n=e.attrs||{},i=t("div",{class:"tokui-quote"}),a=t("div",{class:"tokui-quote__bar"});i.appendChild(a);var o=t("div",{class:"tokui-quote__content"});if(n.role){var s=t("span",{class:"tokui-quote__role"});s.textContent="user"===n.role?"User":"AI",o.appendChild(s)}if(n.tx){var c=t("div",{class:"tokui-quote__text"});c.textContent=n.tx,o.appendChild(c)}return n.msgid&&i.setAttribute("data-msgid",n.msgid),r(e.children||[]).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),i.appendChild(o),i._slot=o,i._tokuiType="quote",i})),e.register("sandbox",(function(e,r){var n=e.attrs||{},i=n.lang||"",a=n.title||"Preview",o=n.height||"200",s=t("div",{class:"tokui-sandbox"}),c=t("div",{class:"tokui-sandbox__header"}),l=t("span",{class:"tokui-sandbox__title"});if(l.textContent=a,c.appendChild(l),i){var u=t("span",{class:"tokui-sandbox__lang"});u.textContent=i,c.appendChild(u)}s.appendChild(c);var d=t("div",{class:"tokui-sandbox__preview"});d.style.height=o+"px";var p=e.content||"";if(!p&&e.children&&(p=e.children.filter((function(e){return"_text"===e.type&&e.content})).map((function(e){return e.content})).join("")),"html"===i){var f=t("iframe",{class:"tokui-sandbox__iframe",sandbox:"allow-scripts",frameborder:"0"});p&&f.setAttribute("srcdoc",p),d.appendChild(f),s._slot={appendChild:function(e){var t=3===e.nodeType?e.nodeValue:e.textContent||"";if(!t)return e;var r=f.getAttribute("srcdoc")||"";return f.setAttribute("srcdoc",r+t),e}}}else{var h=t("pre",{class:"tokui-sandbox__code"});p&&(h.textContent=p),r((e.children||[]).filter((function(e){return"_text"!==e.type}))).forEach((function(e){e&&e.nodeType&&h.appendChild(e)})),d.appendChild(h),s._slot=d}return s.appendChild(d),s._tokuiType="sandbox",s})),e.register("commit",(function(e){var r=e.attrs||{},n=t("div",{class:"tokui-commit"}),i=r.hash||"",a=r.msg||"",o=r.author||"",s=r.branch||"",c=r.time||"",l=r.additions||"",u=r.deletions||"",d=t("div",{class:"tokui-commit__row"});if(i){var p=t("span",{class:"tokui-commit__hash"});p.textContent=i.slice(0,7),d.appendChild(p)}if(a){var f=t("span",{class:"tokui-commit__msg"});f.textContent=a,d.appendChild(f)}n.appendChild(d);var h=t("div",{class:"tokui-commit__meta"});if(o){var A=t("span",{class:"tokui-commit__author"});A.textContent=o,h.appendChild(A)}if(s){var g=t("span",{class:"tokui-commit__branch"});g.textContent=s,h.appendChild(g)}if(c){var m=t("span",{class:"tokui-commit__time"});m.textContent=c,h.appendChild(m)}if(n.appendChild(h),l||u){var v=t("div",{class:"tokui-commit__stats"});if(l){var b=t("span",{class:"tokui-commit__additions"});b.textContent="+"+l,v.appendChild(b)}if(u){var k=t("span",{class:"tokui-commit__deletions"});k.textContent="-"+u,v.appendChild(k)}n.appendChild(v)}return n})),e.register("test-result",(function(e,r){var n=e.attrs||{},i=t("div",{class:"tokui-test-result"}),a=t("div",{class:"tokui-test-result__summary"});if([{key:"pass",cls:"--pass",icon:"✓"},{key:"fail",cls:"--fail",icon:"✗"},{key:"skip",cls:"--skip",icon:"○"}].forEach((function(e){if(n[e.key]){var r=t("span",{class:"tokui-test-result__count tokui-test-result__count"+e.cls});r.textContent=e.icon+" "+n[e.key],a.appendChild(r)}})),n.total){var o=t("span",{class:"tokui-test-result__count tokui-test-result__count--total"});o.textContent="Total: "+n.total,a.appendChild(o)}if(n.duration){var s=t("span",{class:"tokui-test-result__duration"});s.textContent=n.duration,a.appendChild(s)}i.appendChild(a);var c=t("div",{class:"tokui-test-result__cases"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&c.appendChild(e)})),i.appendChild(c),i._slot=c,i._tokuiType="test-result",i})),e.register("test-case",(function(e){return b(e)})),e.register("case",(function(e){return b(e)})),e.register("conversations",(function(n,i){var a=n.attrs||{},o=a.clk||"",s=a.act||"",c=t("div",{class:"tokui-conversations",role:"list"}),l=e.createReporter("conversations",a,c),u=(n.children||[]).filter((function(e){return"conv"===e.type})),d=null;if(0===u.length)return(d=t("div",{class:"tokui-conversations__empty"})).textContent=r("chat.emptySessions"),c.appendChild(d),c._slot=c,c._tokuiType="conversations",c._convHandlerName=o,c._convActiveAct=s,c._streamCloseHook=function(){c.querySelector(".tokui-conv")&&d&&d.parentNode&&d.parentNode.removeChild(d)},c;var p=function(e){var t=[],n=[],i=[];e.forEach((function(e){var r=e.attrs&&e.attrs.time||"";!function(e){return/^\d{1,2}:\d{2}$/.test(e)}(r)?"昨天"===r?n.push(e):i.push(e):t.push(e)}));var a=[];return t.length&&a.push({label:r("time.today"),items:t}),n.length&&a.push({label:r("time.yesterday"),items:n}),i.length&&a.push({label:r("time.earlier"),items:i}),a.length?a:[{label:r("time.today"),items:e}]}(u);return p.forEach((function(e){if(p.length>1){var r=t("div",{class:"tokui-conversations__group-header"});r.textContent=e.label,c.appendChild(r)}e.items.forEach((function(e){var t=k(e,o,s,c,l);c.appendChild(t)}))})),c._slot=c,c._tokuiType="conversations",c})),e.register("conv",(function(e){return k(e,"","",null,null)})),e.register("welcome",(function(e,r){var n=e.attrs||{},i=n.tt||"",a=n.st||"",o=n.bd?String(n.bd).split(","):[],s=n.hd||"",c=n.ft||"",l=t("div",{class:"tokui-welcome"});if(i||a||o.length){var u=t("div",{class:"tokui-welcome__hero"});if(i){var d=t("div",{class:"tokui-welcome__title"});d.textContent=i,u.appendChild(d)}if(a){var p=t("div",{class:"tokui-welcome__subtitle"});p.textContent=a,u.appendChild(p)}if(o.length){var f=t("div",{class:"tokui-welcome__badges"});o.forEach((function(e){var r=String(e).trim();if(r){var n=t("span",{class:"tokui-welcome__badge"});n.textContent=r,f.appendChild(n)}})),u.appendChild(f)}l.appendChild(u)}if(s){var h=t("div",{class:"tokui-welcome__section"});h.textContent=s,l.appendChild(h)}var A=t("div",{class:"tokui-welcome__grid"});if(r(e.children||[]).forEach((function(e){e&&e.nodeType&&A.appendChild(e)})),l.appendChild(A),c){var g=t("div",{class:"tokui-welcome__footer"});g.textContent=c,l.appendChild(g)}return l._slot=A,l._tokuiType="welcome",l})),e.register("welcome-feature",(function(e){return y(e)})),e.register("feature",(function(e){return y(e)})),e.register("attachments",(function(e,r){var n=(e.attrs||{}).clk||"",i=t("div",{class:"tokui-attachments"});return n&&i.setAttribute("data-tokui-clk",n),r(e.children||[]).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i._slot=i,i._tokuiType="attachments",i})),e.register("attach",(function(e){var n=e.attrs||{},i=n.t||"default",a=n.s||r("file.unnamed"),o=n.u||"",c=n.size||"",l=n.clk||"",u={pdf:"#f5222d",code:"#1677ff",excel:"#52c41a",word:"#1677ff",ppt:"#fa8c16",zip:"#eab308",video:"#722ed1",audio:"#13c2c2",image:"#eb2f96",default:"#8c8c8c"},d=u[i]||u.default,p=t("div",{class:"tokui-attach tokui-attach--"+i});if(l&&p.setAttribute("data-tokui-clk",l),"image"===i&&o){var f=t("img",{class:"tokui-attach__thumb",src:o,alt:a});p.appendChild(f)}else{var h=t("div",{class:"tokui-attach__icon"});h.innerHTML=function(e,t){var r="round",n="round",i='<path d="M6 2h8l6 6v12a2 2 0 01-2 2H6a2 2 0 01-2-2V4a2 2 0 012-2z" fill="none" stroke="'+t+'" stroke-width="1.5" stroke-linecap="'+r+'" stroke-linejoin="'+n+'"/><path d="M14 2v6h6" fill="none" stroke="'+t+'" stroke-width="1.5" stroke-linecap="'+r+'" stroke-linejoin="'+n+'"/>',a={pdf:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<text x="12" y="16.5" text-anchor="middle" font-size="5.5" font-weight="700" font-family="sans-serif" fill="'+t+'">PDF</text></svg>',word:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<text x="12" y="16.5" text-anchor="middle" font-size="7" font-weight="700" font-family="sans-serif" fill="'+t+'">W</text></svg>',excel:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<path d="M9 11v6M12 11v6M8 14h4" stroke="'+t+'" stroke-width="1.5" stroke-linecap="round"/></svg>',ppt:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<circle cx="12" cy="14" r="3" stroke="'+t+'" stroke-width="1.5" fill="none"/></svg>',zip:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<path d="M10 10h4M10 13h4M10 16h2" stroke="'+t+'" stroke-width="1.5" stroke-linecap="round"/></svg>',code:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<path d="M9 12l-2 2 2 2M15 12l2 2-2 2" stroke="'+t+'" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',video:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<path d="M10 12.5l4-2.5v5l-4-2.5z" fill="none" stroke="'+t+'" stroke-width="1.5" stroke-linejoin="round"/></svg>',audio:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<path d="M10 15v-3M12 13v4M14 11v6" stroke="'+t+'" stroke-width="1.5" stroke-linecap="round"/></svg>',image:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<circle cx="10" cy="11" r="1.5" stroke="'+t+'" stroke-width="1.2" fill="none"/><path d="M8 17l3-3 2 2 3-4 3 5H8z" stroke="'+t+'" stroke-width="1.2" stroke-linejoin="round" fill="none"/></svg>',default:'<svg viewBox="0 0 24 24" width="24" height="24" fill="none">'+i+'<path d="M9 12h6M9 15h4" stroke="'+t+'" stroke-width="1.5" stroke-linecap="round"/></svg>'};return a[e]||a.default}(i,d),p.appendChild(h)}var A=t("div",{class:"tokui-attach__info"}),g=t("div",{class:"tokui-attach__name"});if(g.textContent=a,o&&(g.style.cursor="pointer",g.addEventListener("click",(function(){("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.open(o,"_blank")}))),A.appendChild(g),c){var m=t("div",{class:"tokui-attach__size"});m.textContent=c,A.appendChild(m)}p.appendChild(A);var v=t("div",{class:"tokui-attach__actions"});if(o){var b=t("a",{class:"tokui-attach__action",href:o,target:"_blank",rel:"noopener noreferrer",download:""});b.innerHTML='<svg viewBox="0 0 16 16" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v9M4.5 7.5L8 11l3.5-3.5M2 13h12"/></svg>',b.title=r("common.download"),v.appendChild(b)}var k=t("button",{class:"tokui-attach__action tokui-attach__action--del",type:"button"});return k.innerHTML='<svg viewBox="0 0 16 16" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4l8 8M12 4l-8 8"/></svg>',k.title=r("common.delete"),k.addEventListener("click",(function(e){if(e.stopPropagation(),l){var t=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;t&&"function"==typeof t.emit&&t.emit(l,{name:a,url:o,type:i})}p.parentNode&&p.parentNode.removeChild(p)})),v.appendChild(k),p.appendChild(v),p._tokuiType="attach",p})),e.register("artifact",(function(r,n){var o=r.attrs||{},c=o.tt||"Artifact",l=o.lang||"text";o.pos,o.w;var u=t("div",{class:"tokui-artifact"}),d=t("div",{class:"tokui-artifact__header"}),p=t("span",{class:"tokui-artifact__title"});p.textContent=c,d.appendChild(p);var f=t("div",{class:"tokui-artifact__tabs"}),h=t("button",{class:"tokui-artifact__tab tokui-artifact__tab--code tokui-artifact__tab--active",type:"button"});h.textContent="Code",f.appendChild(h);var A=t("button",{class:"tokui-artifact__tab tokui-artifact__tab--preview",type:"button"});A.textContent="Preview",f.appendChild(A),d.appendChild(f);var m=t("button",{class:"tokui-artifact__close",type:"button","aria-label":"Close"});m.innerHTML="×",d.appendChild(m),u.appendChild(d);var b=t("div",{class:"tokui-artifact__code"}),k="",y=(r.children||[]).filter((function(e){return"artifact-code"===e.type}));y.length>0&&(k=(y[0].children||[]).map((function(e){return e.content||""})).join(""));var w=t("pre",{class:"tokui-code"}),x=t("code",{class:"language-"+l});"text"!==l&&i[l]?x.innerHTML=v(a(k,l)):x.innerHTML=v(g(k)),w.appendChild(x),b.appendChild(w);var _=t("button",{class:"tokui-artifact__code-copy",type:"button"});_.textContent="Copy",_.addEventListener("click",(function(){var e=x.textContent||"";("undefined"==typeof navigator?"undefined":Object(s.a)(navigator))<"u"&&navigator.clipboard&&navigator.clipboard.writeText(e),_.textContent="Copied",_.classList.add("tokui-artifact__code-copy--done"),setTimeout((function(){_.textContent="Copy",_.classList.remove("tokui-artifact__code-copy--done")}),2e3)})),b.appendChild(_),u.appendChild(b);var C=t("div",{class:"tokui-artifact__preview"});C.style.display="none";var E,T=t("iframe",{class:"tokui-artifact__iframe",sandbox:"allow-scripts",frameborder:"0"});E="html"===l?k:'<pre style="margin:0;padding:16px;font-family:monospace;font-size:13px;white-space:pre-wrap;word-break:break-word;">'+k.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")+"</pre>",T.setAttribute("srcdoc",E),C.appendChild(T),u.appendChild(C);var B=t("div",{class:"tokui-artifact__resize"});u.appendChild(B),h.addEventListener("click",(function(){b.style.display="",C.style.display="none",h.classList.add("tokui-artifact__tab--active"),A.classList.remove("tokui-artifact__tab--active")})),A.addEventListener("click",(function(){b.style.display="none",C.style.display="",A.classList.add("tokui-artifact__tab--active"),h.classList.remove("tokui-artifact__tab--active")}));var S=e.createReporter("artifact",o,u);m.addEventListener("click",(function(){if(S("close",{}),"function"==typeof CustomEvent&&"function"==typeof u.dispatchEvent){var e=new CustomEvent("tokui-artifact-close",{bubbles:!0,detail:{artifact:u}});u.dispatchEvent(e)}u.style.display="none"}));var D=!1;function U(e){if(D){var t=u.getBoundingClientRect();if(t){var r=t.bottom-e.clientY;r=Math.max(120,r),u.style.height=r+"px"}}}function F(){D=!1,document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",F)}return B.addEventListener("mousedown",(function(e){D=!0,e.preventDefault(),document.addEventListener("mousemove",U),document.addEventListener("mouseup",F)})),u._slot=x,u._tokuiType="artifact",u._artifactCode=k,setTimeout((function(){u.querySelectorAll(".tokui-artifact-preview-standalone").forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}),0),u._streamCloseHook=function(){var e,t=(r.children||[]).find((function(e){return"artifact-code"===e.type}));if(t)e=(t.children||[]).map((function(e){return e.content||""})).join("");else{e="";for(var n=u.querySelectorAll("pre"),o=0;o<n.length;o++)if("artifact-code"===n[o]._tokuiType){var s=n[o].querySelector("code");if(s){e=s.textContent||"";break}}e||(e=u._artifactCode||"")}"text"!==l&&i[l]?x.innerHTML=v(a(e,l)):x.innerHTML=v(g(e)),u._artifactCode=e;var c;c="html"===l?e:'<pre style="margin:0;padding:16px;font-family:monospace;font-size:13px;white-space:pre-wrap;word-break:break-word;">'+e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")+"</pre>",T.setAttribute("srcdoc",c);var d=u.querySelector(".tokui-artifact-preview-standalone");d&&d.parentNode&&d.parentNode.removeChild(d)},u})),e.register("artifact-code",(function(e,r){var n;n=e.children&&e.children.length>0?e.children.map((function(e){return e.content||""})).join(""):e.content||"";var i=t("pre",{class:"tokui-code"}),a=t("code",{});return a.textContent=n,i.appendChild(a),i._slot=a,i._tokuiType="artifact-code",i._streamCloseHook=function(){for(var e="",t=0;t<a.childNodes.length;t++)e+=a.childNodes[t].textContent||"";a.textContent=e},i})),e.register("artifact-preview",(function(e,r,n){if("artifact"===n){var i=t("div",{style:"display:none"});return i._tokuiType="artifact-preview",i}var a=t("div",{class:"tokui-artifact-preview-standalone"}),o=t("iframe",{class:"tokui-artifact__iframe",sandbox:"allow-scripts",frameborder:"0"}),s="";return e.children&&e.children.length>0&&(s=e.children.map((function(e){return e.content||""})).join("")),s&&o.setAttribute("srcdoc",s),a.appendChild(o),a._tokuiType="artifact-preview",a})),e.register("command",(function(e,n){var i=e.attrs||{},a=i.ph||r("command.placeholder"),o=t("div",{class:"tokui-command"});i.id&&(o.id=i.id),i.clk&&o.setAttribute("data-tokui-clk",i.clk);var c=t("div",{class:"tokui-command__overlay"});o.appendChild(c);var l=t("div",{class:"tokui-command__panel",role:"dialog","aria-label":r("command.aria")}),u=t("div",{class:"tokui-command__input-wrap"}),d=t("span",{class:"tokui-command__search-icon","aria-hidden":"true"});d.innerHTML='<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>',u.appendChild(d);var p=t("input",{class:"tokui-command__input",type:"text",placeholder:a,autocomplete:"off",autofocus:"true"});u.appendChild(p),l.appendChild(u);var f=t("div",{class:"tokui-command__list",role:"listbox"});n(e.children||[]).forEach((function(e){e&&e.nodeType&&f.appendChild(e)}));var h=t("div",{class:"tokui-command__empty"});h.textContent=r("command.noResult"),h.style.display="none",f.appendChild(h),l.appendChild(f),o.appendChild(l);var A=[],g=[];function m(){A=Array.from(f.querySelectorAll(".tokui-command__item")),g=Array.from(f.querySelectorAll(".tokui-command__group"))}function v(e){var t=0;A.forEach((function(r){var n=r.getAttribute("data-value")||r.textContent||"";if(function(e,t){if(!t)return{match:!0,score:0};var r=e.toLowerCase(),n=t.toLowerCase();if(-1!==r.indexOf(n))return{match:!0,score:n.length/r.length};for(var i=0,a=0,o=0;o<r.length&&i<n.length;o++)r[o]===n[i]&&(i++,a++);return i===n.length?{match:!0,score:a/r.length}:{match:!1,score:0}}(n,e).match){r.style.display="",t++;var i=r.querySelector(".tokui-command__item-text");i&&(i.innerHTML="",i.appendChild(function(e,t){if(!t)return document.createTextNode(e);var r=e.toLowerCase(),n=t.toLowerCase(),i=r.indexOf(n);if(-1===i)return document.createTextNode(e);var a=document.createDocumentFragment(),o=e.slice(0,i),s=e.slice(i,i+n.length),c=e.slice(i+n.length);o&&a.appendChild(document.createTextNode(o));var l=document.createElement("mark");return l.className="tokui-command__highlight",l.textContent=s,a.appendChild(l),c&&a.appendChild(document.createTextNode(c)),a}(n,e)))}else r.style.display="none",r.classList.remove("tokui-command__item--selected")})),g.forEach((function(e){var t=e.querySelectorAll('.tokui-command__item:not([style*="display: none"])');e.style.display=0===t.length?"none":""})),h.style.display=0===t?"":"none",b=-1,t>0&&(b=0,y())}m(),p.addEventListener("input",(function(){v(p.value.trim())}));var b=-1;function k(){return A.filter((function(e){return"none"!==e.style.display}))}function y(){k().forEach((function(e,t){t===b?(e.classList.add("tokui-command__item--selected"),e.setAttribute("aria-selected","true"),e.scrollIntoView&&e.scrollIntoView({block:"nearest"})):(e.classList.remove("tokui-command__item--selected"),e.setAttribute("aria-selected","false"))}))}function w(){m(),v(p.value||""),o.classList.add("tokui-command--open"),p.focus()}function x(){o.classList.remove("tokui-command--open"),p.value="",v(""),b=-1}return p.addEventListener("keydown",(function(e){var t=k();"ArrowDown"===e.key?(e.preventDefault(),t.length>0&&(b=(b+1)%t.length,y())):"ArrowUp"===e.key?(e.preventDefault(),t.length>0&&(b=b<=0?t.length-1:b-1,y())):"Enter"===e.key?(e.preventDefault(),b>=0&&b<t.length&&function(e){if(e){var t=e.getAttribute("data-tokui-clk");if(t){var r=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;r&&"function"==typeof r.emit&&r.emit(t,{value:e.getAttribute("data-value"),text:e.textContent})}var n=o.getAttribute("data-tokui-clk");if(n){var i=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal.eventBus:null;i&&"function"==typeof i.emit&&i.emit(n,{value:e.getAttribute("data-value"),text:e.textContent,clk:t})}x()}}(t[b])):"Escape"===e.key&&(e.preventDefault(),x())})),c.addEventListener("click",(function(){x()})),void 0!==i.hotkey&&("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener("keydown",(function(e){(e.metaKey||e.ctrlKey)&&"k"===e.key&&(e.preventDefault(),o.classList.contains("tokui-command--open")?x():w())})),o._tokuiType="command",o._slot=f,o._openCommand=w,o._closeCommand=x,o._streamCloseHook=function(){m(),v(p.value||"")},o})),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&(window.TokUI._internal.buildCommandItem=w),e.register("command-group",(function(e,r){var n=(e.attrs||{}).tt||"",i=t("div",{class:"tokui-command__group",role:"group"});if(n){i.setAttribute("aria-label",n);var a=t("div",{class:"tokui-command__group-heading"});a.textContent=n,i.appendChild(a)}return r(e.children||[]).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i._slot=i,i._tokuiType="command-group",i})),e.register("command-item",(function(e){return w(e)})),e.register("canvas",(function(e,r){var n=e.attrs||{},i=n.tt||"Canvas",a=n.pos||"right",o=parseInt(n.w)||400,s=void 0!==n.open,c=void 0===n.closable||!0===n.closable,l=["tokui-canvas","tokui-canvas--"+a];s&&l.push("tokui-canvas--open");var u=t("div",{class:l.join(" ")});u.style.setProperty("--tokui-canvas-w",o+"px");var d=t("button",{class:"tokui-canvas__toggle",type:"button","aria-label":s?"Close panel":"Open panel"});d.textContent=i,d.addEventListener("click",(function(){var e=u.classList.contains("tokui-canvas--open");u.classList.toggle("tokui-canvas--open"),d.setAttribute("aria-label",e?"Open panel":"Close panel")})),u.appendChild(d);var p=t("div",{class:"tokui-canvas__panel"});p.style.width=o+"px";var f=t("div",{class:"tokui-canvas__header"}),h=t("span",{class:"tokui-canvas__title"});if(h.textContent=i,f.appendChild(h),c){var A=t("button",{class:"tokui-canvas__close",type:"button","aria-label":"Close"});A.innerHTML="×",A.addEventListener("click",(function(){u.classList.remove("tokui-canvas--open"),d.setAttribute("aria-label","Open panel")})),f.appendChild(A)}p.appendChild(f);var g=t("div",{class:"tokui-canvas__body"});return n.tx&&(g.textContent=n.tx),r(e.children||[]).forEach((function(e){e&&e.nodeType&&g.appendChild(e)})),p.appendChild(g),u.appendChild(p),u._slot=g,u._tokuiType="canvas",u._update=function(e){if(void 0!==e.tt){var t=u.querySelector(".tokui-canvas__title");t&&(t.textContent=e.tt),d.textContent=e.tt}"open"===e.act?u.classList.add("tokui-canvas--open"):"close"===e.act?u.classList.remove("tokui-canvas--open"):"toggle"===e.act&&u.classList.toggle("tokui-canvas--open")},u})),e.register("canvas-content",(function(e,r){var n=t("div",{class:"tokui-canvas__content"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="canvas-content",n}))}function c(){("undefined"==typeof document?"undefined":Object(s.a)(document))>"u"||document.querySelectorAll(".tokui-dropdown__panel--open").forEach((function(e){e.classList.remove("tokui-dropdown__panel--open"),e.style.top="",e.style.left="";var t=e.parentElement.querySelector(".tokui-dropdown__trigger");t&&t.setAttribute("aria-expanded","false")}))}function l(e){var t=e.querySelectorAll(".tokui-md-img");if(t.length){var r=Array.from(t).map((function(e){return e.src}));t.forEach((function(e,t){e.style.cursor="pointer",e.addEventListener("click",(function(){(0,("function"==typeof m?_():window.TokUI._internal).getLightbox)(("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"?document:void 0).open(r[t],r)}))}))}}function u(e,t){var r=null;if(("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.katex&&(r=window.katex),r&&"function"==typeof r.renderToString)try{var n=r.renderToString(e,{throwOnError:!1,displayMode:t});return t?'<div class="tokui-md__math tokui-md__math--block">'+n+"</div>":'<span class="tokui-md__math">'+n+"</span>"}catch(e){}return(t?"$$"+e+"$$":"$"+e+"$").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function d(e){if(!e)return"";function t(e){return e.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map((function(e){return e.trim()}))}function r(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function n(e){return e=(e=(e=(e=(e=(e=(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")).replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>")).replace(/\*(.+?)\*/g,"<em>$1</em>")).replace(/~~(.+?)~~/g,"<del>$1</del>")).replace(/`([^`]+)`/g,"<code>$1</code>")).replace(/!\[([^\]]*)\]\(([^)]+)\)/g,(function(e,t,n){return/^https?:\/\//i.test(n)?'<img src="'+r(n)+'" alt="'+r(t)+'" class="tokui-md-img" />':e}))).replace(/\[([^\]]+)\]\(([^)]+)\)/g,(function(e,t,n){return/^(https?:\/\/|mailto:|\/|#)/i.test(n)||(n="#"),'<a href="'+r(n)+'" target="_blank" rel="noopener">'+t+"</a>"}))}var o=[];e=e.replace(/```(\w*)\n([\s\S]*?)```/g,(function(e,t,r){var n=o.length;return o.push({lang:t,code:r.replace(/\n$/,"")}),"CODEFENCE"+n+""}));var s=[];function c(e){return u(e.tex,e.display)}return(e=(e=(e=e.replace(/\$\$([\s\S]+?)\$\$/g,(function(e,t){var r=s.length;return s.push({tex:t,display:!0}),"TOKUIMATH"+r+""}))).replace(/\$([^\s$](?:[^$\n]*[^\s$])?)\$(?!\d)/g,(function(e,t){var r=s.length;return s.push({tex:t,display:!1}),"TOKUIMATH"+r+""}))).replace(/^(?:\*{3,}|-{3,}|_{3,})\s*$/gm,"TOKUIHR")).split(/\n{2,}/).map((function(e){if(!(e=e.trim()))return"";var r=e.match(/^\x02CODEFENCE(\d+)\x03$/);if(r){var l=o[parseInt(r[1])],u=l.lang||"text";return"mermaid"===u?'<div class="tokui-md__mermaid"><pre class="tokui-code"><code class="language-mermaid">'+l.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")+"</code></pre></div>":'<pre class="tokui-code"><code class="language-'+u+'">'+(i[u]?a(l.code,u):l.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"))+"</code></pre>"}var d=e.match(/^\x02TOKUIMATH(\d+)\x03$/);if(d&&s[parseInt(d[1])].display)return c(s[parseInt(d[1])]);for(var p=(e=function(e){return e.replace(/\x02TOKUIMATH(\d+)\x03/g,(function(e,t){return c(s[parseInt(t)])}))}(e=n(e))).split("\n"),f=[],h=!1,A=!1,g=!1,m=!1,v=-1,b=0;b<p.length;b++)if(0===p[b].trim().indexOf("|")){v=b;break}if(-1!==v){for(var k=[],y=v,w=v;w<p.length&&0===p[w].trim().indexOf("|");w++)k.push(p[w]),y=w;if(k.length>=2&&/^\|[\s\-:|]+\|$/.test(k[1].trim())){for(var x=0;x<v;x++)L(p[x]);m=!0;for(var _=function(e){return e.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map((function(e){return e=e.trim(),/^:-+:$/.test(e)?"center":/^-+:$/.test(e)?"right":(/^:-+$/.test(e),"left")}))}(k[1]),C='<table class="tokui-md-table"><thead><tr>',E=t(k[0]),T=0;T<E.length;T++){C+='<th style="text-align:'+(_[T]||"left")+'">'+E[T]+"</th>"}C+="</tr></thead><tbody>";for(var B=2;B<k.length;B++){var S=t(k[B]);C+="<tr>";for(var D=0;D<S.length;D++){C+='<td style="text-align:'+(_[D]||"left")+'">'+S[D]+"</td>"}C+="</tr>"}C+="</tbody></table>",f.push(C);for(var U=y+1;U<p.length;U++)L(p[U]);h&&f.push("</ul>"),A&&f.push("</ol>"),g&&f.push("</blockquote>");var F=f.join("");return m?F:"<p>"+F+"</p>"}}for(var I=0;I<p.length;I++)L(p[I]);h&&f.push("</ul>"),A&&f.push("</ol>"),g&&f.push("</blockquote>");F=f.join("");return m?F:"<p>"+F+"</p>";function L(e){if("TOKUIHR"===e.trim()||/^(\*{3,}|-{3,}|_{3,})\s*$/.test(e.trim()))return h&&(f.push("</ul>"),h=!1),A&&(f.push("</ol>"),A=!1),g&&(f.push("</blockquote>"),g=!1),m=!0,void f.push('<hr class="tokui-md__hr">');if(e.match(/^>\s*/)){h&&(f.push("</ul>"),h=!1),A&&(f.push("</ol>"),A=!1),g||(f.push('<blockquote class="tokui-md__quote">'),g=!0),m=!0;var t=e.replace(/^>\s*/,"");f.push("<p>"+t+"</p>")}else if(g&&!e.match(/^>\s*/)&&(f.push("</blockquote>"),g=!1),e.match(/^### /))h&&(f.push("</ul>"),h=!1),A&&(f.push("</ol>"),A=!1),g&&(f.push("</blockquote>"),g=!1),m=!0,f.push(e.replace(/^### (.+)$/,"<h3>$1</h3>"));else if(e.match(/^## /))h&&(f.push("</ul>"),h=!1),A&&(f.push("</ol>"),A=!1),g&&(f.push("</blockquote>"),g=!1),m=!0,f.push(e.replace(/^## (.+)$/,"<h2>$1</h2>"));else if(e.match(/^# /))h&&(f.push("</ul>"),h=!1),A&&(f.push("</ol>"),A=!1),g&&(f.push("</blockquote>"),g=!1),m=!0,f.push(e.replace(/^# (.+)$/,"<h1>$1</h1>"));else if(e.match(/^- \[[ xX]\] /)){A&&(f.push("</ol>"),A=!1),h||(f.push('<ul class="tokui-md__tasks">'),h=!0),m=!0;var r=/^- \[[xX]\] /.test(e),n=e.replace(/^- \[[xX ]\] /,"");f.push('<li class="tokui-md__task"><input type="checkbox" disabled'+(r?" checked":"")+">"+n+"</li>")}else e.match(/^- /)?(A&&(f.push("</ol>"),A=!1),h||(f.push("<ul>"),h=!0),m=!0,f.push(e.replace(/^- (.+)$/,"<li>$1</li>"))):e.match(/^\d+\. /)?(h&&(f.push("</ul>"),h=!1),A||(f.push("<ol>"),A=!0),m=!0,f.push(e.replace(/^\d+\. (.+)$/,"<li>$1</li>"))):(h&&(f.push("</ul>"),h=!1),A&&(f.push("</ol>"),A=!1),f.push(e))}})).join("")}Object.keys(i).forEach((function(e){if(null===i[e]){var t={javascript:"js",jsx:"js",tsx:"ts",typescript:"ts",py:"python",sh:"bash",shell:"bash",zsh:"bash"}[e];t&&i[t]&&(i[e]=i[t])}})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&"function"==typeof document.addEventListener&&document.addEventListener("click",(function(){c()})),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerBasicComponents=o,window.TokUI._internal.resolveColor=n,window.TokUI._internal.highlightCode=a),void 0!==t&&t.exports&&(t.exports={registerBasicComponents:o,resolveColor:n,highlightCode:a})})),U=h((function(e,t){var r="function"==typeof m?v().t:window.TokUI&&window.TokUI._internal&&window.TokUI._internal.t||function(e){return e};function n(e){var t=("function"==typeof m?x():window.TokUI._internal).el,n="function"==typeof m?w().parseTag:window.TokUI._internal.parseTag,i="function"==typeof m?E().iconSvg:window.TokUI._internal.iconSvg;function a(t){var r=t.match(/^\[([a-zA-Z][\w-]*)\b([\s\S]*)$/);if(!r)return null;var i=(r[1]+(r[2]||"")).replace(/\]\s*$/,"").trim();if(!i)return null;try{var a=n(i);if(!a||!a.type)return null;var o=e.render(a);return o&&o.nodeType?o:null}catch(e){return null}}var o={chk:{label:"",cls:"tokui-col-chk"},"#":{label:"#",cls:"tokui-col-seq"}};var s=[],c=[],l=[],u=0,d=null;function p(e,t){for(var r=function(e){return Array.prototype.slice.call(e.children).filter((function(e){return"TD"===e.tagName}))}(e),n=0,i=0;i<r.length;i++){var a=parseInt(r[i].getAttribute("colspan"),10)||1;if(t>=n&&t<n+a)return(r[i].textContent||"").trim();n+=a}return""}function f(e){var t=Array.prototype.slice.call(e.children).filter((function(e){return"TR"===e.tagName&&!e.classList.contains("tokui-table__filter-row")})),r=t[t.length-1];if(!r)return[];var n=[],i=0;return Array.prototype.slice.call(r.children).forEach((function(e){"TH"===e.tagName&&(n.push({th:e,col:i}),i+=parseInt(e.getAttribute("colspan"),10)||1)})),n}function h(n,i,a){if(n&&n._tokuiDataCfg){var o=n._tokuiDataCfg,s=n._tokuiData;s||(s={sortCol:-1,sortDir:"",filters:{},page:1,pageSize:o.pageSize,thead:null,tbody:null,pager:null,sortWired:!1,filterBuilt:!1,tbodyHooked:!1,_applying:!1},n._tokuiData=s),"thead"===i&&(s.thead=a),"tbody"===i&&(s.tbody=a),s.resort=b;var c=e.debounce((function(){n._tokuiReport&&n._tokuiReport("filter",{filters:Object.assign({},s.filters)})}),300);if(o.sortable&&s.thead&&!s.sortWired&&(s.sortWired=!0,f(s.thead).forEach((function(e){var r=e.th;if(!r.classList.contains("tokui-col-chk")){var i=e.col;r.classList.add("tokui-table__th--sortable");var a=t("span",{class:"tokui-table__sort-icon"});r.appendChild(a),r.addEventListener("click",(function(){s.sortDir=s.sortCol===i&&"asc"===s.sortDir?"desc":"asc",s.sortCol=i,Array.prototype.slice.call(s.thead.querySelectorAll(".tokui-table__sort-icon")).forEach((function(e){e.textContent="",e.classList.remove("tokui-table__sort-icon--asc"),e.classList.remove("tokui-table__sort-icon--desc")})),a.textContent="asc"===s.sortDir?"▲":"▼",a.classList.add("tokui-table__sort-icon--"+s.sortDir),b(),k(),n._tokuiReport&&n._tokuiReport("sort",{column:i,dir:s.sortDir})}))}}))),o.filter&&s.thead&&!s.filterBuilt){s.filterBuilt=!0;var l=t("tr",{class:"tokui-table__filter-row"});f(s.thead).forEach((function(e){var r=e.col,n=t("td",{class:"tokui-table__filter-cell"}),i=t("input",{type:"text",class:"tokui-table__filter-input",placeholder:(e.th.textContent||"").trim()});i.addEventListener("input",(function(){var e=(i.value||"").trim();e?s.filters[r]=e:delete s.filters[r],s.page=1,k(),c()})),n.appendChild(i),l.appendChild(n)})),s.thead.appendChild(l)}if(s.tbody&&!s.tbodyHooked){s.tbodyHooked=!0;var u=s.tbody,d=u.appendChild,h=u.insertBefore,A=function(e){if(!s._applying&&e&&"TR"===e.tagName){if(e._tokuiTrReconcile&&!e._tokuiDataPatched){e._tokuiDataPatched=!0;var t=e._tokuiTrReconcile;e._tokuiTrReconcile=function(r,n,i){t.call(e,r,n,i),k()}}k()}};u.appendChild=function(e){var t=d.call(u,e);return A(e),t},u.insertBefore=function(e,t){var r=h.call(u,e,t);return A(e),r}}if(o.pagination&&!s.pager&&n.parentNode){var g=t("div",{class:"tokui-table__pager",role:"navigation","aria-label":r("pagination.aria")});n.parentNode.appendChild(g),s.pager=g}k()}function m(){return s.tbody?Array.prototype.slice.call(s.tbody.children).filter((function(e){return"TR"===e.tagName})):[]}function v(e){for(var t in s.filters)if(Object.prototype.hasOwnProperty.call(s.filters,t)&&-1===p(e,parseInt(t,10)).toLowerCase().indexOf(String(s.filters[t]).toLowerCase()))return!1;return!0}function b(){if(s.tbody&&!(s.sortCol<0)&&s.sortDir){var e=m(),t="desc"===s.sortDir?-1:1,r=s.sortCol;e.sort((function(e,n){return t*function(e,t){var r=/^-?\d+(\.\d+)?$/.test(e)?parseFloat(e):NaN,n=/^-?\d+(\.\d+)?$/.test(t)?parseFloat(t):NaN;return isNaN(r)||isNaN(n)?String(e).localeCompare(String(t)):r-n}(p(e,r),p(n,r))})),s._applying=!0,e.forEach((function(e){s.tbody.insertBefore(e,null)})),s._applying=!1}}function k(){if(s.tbody){var e=[];if(m().forEach((function(t){v(t)?e.push(t):t.style.display="none"})),o.pagination){var t=Math.max(1,Math.ceil(e.length/s.pageSize));s.page>t&&(s.page=t);var r=(s.page-1)*s.pageSize,n=r+s.pageSize;e.forEach((function(e,t){e.style.display=t>=r&&t<n?"":"none"})),w(e.length)}else e.forEach((function(e){e.style.display=""}))}}function y(e){var t=Math.max(1,Math.ceil(m().filter(v).length/s.pageSize));e<1||e>t||e===s.page||(s.page=e,k(),n._tokuiReport&&n._tokuiReport("page",{value:e}))}function w(e){if(s.pager){var n=Math.max(1,Math.ceil(e/s.pageSize)),i=s.pager;i.innerHTML="";var a=t("span",{class:"tokui-table__pager-total"});a.textContent=r("pagination.totalCount",{count:e}),i.appendChild(a);var o=t("button",{type:"button",class:"tokui-table__pager-btn"+(s.page<=1?" tokui-table__pager-btn--disabled":"")});o.textContent="‹",o.addEventListener("click",(function(){y(s.page-1)})),i.appendChild(o);for(var c=1;c<=n;c++)!function(e){var r=t("button",{type:"button",class:"tokui-table__pager-page"+(e===s.page?" tokui-table__pager-page--active":"")});r.textContent=String(e),r.addEventListener("click",(function(){y(e)})),i.appendChild(r)}(c);var l=t("button",{type:"button",class:"tokui-table__pager-btn"+(s.page>=n?" tokui-table__pager-btn--disabled":"")});l.textContent="›",l.addEventListener("click",(function(){y(s.page+1)})),i.appendChild(l)}}}function A(e){return e.length>1&&'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&e.indexOf('"',1)===e.length-1?e.slice(1,-1):e}function g(e){for(var t=[],r="",n=!1,i=0,a=0;a<e.length;a++){var o=e[a];if('"'===o)n=!n;else if(n)r+=o;else if("["===o)i++,r+=o;else if("]"===o)i--,r+=o;else if(","===o&&0===i){var s=e[a-1],c=e[a+1],l=e[a+2],u=e[a+3],d=e[a+4],p=/=([cr]\d+){1,2}$/.test(r),f=/[¥¥$€£₩₹]/.test(r);!p&&f&&s>="0"&&s<="9"&&c>="0"&&c<="9"&&l>="0"&&l<="9"&&u>="0"&&u<="9"&&!(d>="0"&&d<="9")?r+=o:(t.push(r),r="")}else r+=o}return t.push(r),t}function v(e,r){var n={class:"tokui-td tokui-td--skeleton"},i=r.colAligns[e];i&&(n.class+=" tokui-col-"+i);var a=t("td",n);return a.appendChild(t("span",{class:"tokui-skeleton"})),a}function b(e,t,r){for(var n=[],i=0,a=0;a<e.length;a++){for(var o=e[a],s=o.colspan||1,c=o.rowspan||1;i<r&&t[i]>0;)--t[i],i++;n.push({cell:o,col:i,colspan:s,rowspan:c});for(var l=0;l<s;l++)t[i+l]=c>1?c-1:0;i+=s}for(;i<r&&t[i]>0;)--t[i],i++;return n}function k(e,t,r){return t&&r?b(e.map((function(e){var t=y(e);return{colspan:t.colspan||1,rowspan:t.rowspan||1}})),r,t._tokuiMaxCols||e.length).map((function(e){return e.col})):null}function y(e){var t=(e=String(e)).match(/=([cr]\d+){1,2}$/);if(!t)return{text:e,colspan:0,rowspan:0};var r=t[0],n=e.slice(0,e.length-r.length),i=0,a=0,o=r.match(/c(\d+)/),s=r.match(/r(\d+)/);return o&&(i=parseInt(o[1],10)||0),s&&(a=parseInt(s[1],10)||0),{text:n,colspan:i,rowspan:a}}function _(e){for(var t={c:"center",center:"center",r:"right",right:"right",l:"left",left:"left"},r={primary:"primary",success:"success",warning:"warning",danger:"danger",info:"info"},n="",i="",a=0;a<2;a++){var o=String(e).match(/\/([A-Za-z]+)$/);if(!o)break;var s=o[1].toLowerCase();if(t[s]&&!n)n=t[s];else{if(!r[s]||i)break;i=r[s]}e=String(e).slice(0,o.index)}return{text:e,align:n,color:i}}function C(e,r,n){var o=n.colTypes,s=n.colAligns,c=n.seqNum,l=n.colspanVal,u=n.cellCols&&null!=n.cellCols[r]?n.cellCols[r]:r,d={class:"tokui-td"},p=_(e),f=y(p.text),h=f.text.trim(),A=p.align||s[u];A&&(d.class+=" tokui-col-"+A);var g=p.color||n.colColors&&n.colColors[u];if(g&&(d.class+=" tokui-text--"+g),0===r&&l>=2&&(d.colspan=String(l)),r>0&&r<l)return null;if(f.colspan>=2&&(d.colspan=String(f.colspan)),f.rowspan>=2&&(d.rowspan=String(f.rowspan)),"chk"===o[u]){d.class+=" tokui-col-chk";var m=t("td",d);return m.appendChild(t("input",{type:"checkbox",class:"tokui-chk-row"})),m}if("#"===o[u])return d.class+=" tokui-col-seq",t("td",d,String(c));var v=a(h);if(v){d.class+=" tokui-td--inline";var b=t("td",d);return b.appendChild(v),b}if(h.startsWith("btn:")){d.class+=" tokui-col-action";var k=t("td",d);return k.appendChild(function(e,t,r){var n=t("div",{});return n.style.display="inline-flex",n.style.gap="6px",n.style.alignItems="center",e.split("|").forEach((function(e){var i=e.trim();if(i){var a=i.split(/\s+/),o="",s="",c="",l="",u={class:"tokui-tbtn",type:"button"};a.forEach((function(e,t){if(0===t&&e.startsWith("btn:"))o=e.slice(4);else if(e.startsWith("clk:"))u["data-tokui-clk"]=e.slice(4);else if(e.startsWith("v:"))u.class+=" tokui-tbtn--"+e.slice(2);else if(e.startsWith("icon:"))s=e.slice(5);else if(e.startsWith("i:"))c=e.slice(2);else if(e.startsWith("l:"))l=e.slice(2);else if(e.includes(":")){var r=e.indexOf(":"),n=e.slice(0,r);u[n.startsWith("data-")?n:"data-"+n]=e.slice(r+1)}}));var d=s?r(s,14):"";if(o||d||c){if(!o&&!(!s&&!c)){u.class+=" tokui-tbtn--icon-only";var p=l||s||"";p&&(u["aria-label"]=p,u["data-tokui-tip"]=p)}var f=t("button",u);if(s){var h=t("span",{class:"tokui-tbtn__icon"});h.innerHTML=d,f.appendChild(h),f.classList.add("tokui-tbtn--has-icon")}else c&&(f.appendChild(t("span",{class:"tokui-tbtn__icon tokui-tbtn__icon--emoji"},c)),f.classList.add("tokui-tbtn--has-icon"));o&&f.appendChild(t("span",{class:"tokui-tbtn__text"},o)),n.appendChild(f)}}})),n}(h,t,i)),k}if(h.startsWith("tag:")){var w=t("td",d),x=h.split(/\s+/),C="",E={class:"tokui-tag"};return x.forEach((function(e){e.startsWith("tag:")?C=e.slice(4):e.startsWith("t:")&&(E.class+=" tokui-tag--"+e.slice(2))})),w.appendChild(t("span",E,C)),w}if(h.startsWith("progress")){var T=t("td",d),B=h.split(/\s+/),S=0,D="span",U="";if(B.forEach((function(e){e.startsWith("v:")?S=parseInt(e.slice(2))||0:e.startsWith("t:")?D=e.slice(2):e.startsWith("status:")&&(U=e.slice(7))})),"span"===D){var F=t("span",{class:"tokui-progress tokui-progress--span"}),I=t("span",{class:"tokui-progress__mini-bar"}),L="tokui-progress__mini-fill";"error"===U?L+=" tokui-progress--error":S>=80&&(L+=" tokui-progress--success");var O=t("span",{class:L});O.style.width=S+"%",I.appendChild(O),F.appendChild(I);var M=t("span",{class:"tokui-progress__span-text"});M.textContent=S+"%",F.appendChild(M),T.appendChild(F)}return T}return t("td",d,h)}e.register("table",(function(r,n){var i={class:"tokui-table",role:"table"};r.attrs.id&&(i.id=r.attrs.id),void 0!==r.attrs.stripe&&(i.class+=" tokui-table--stripe");var a=t("div",{class:"tokui-table-wrapper"}),o=t("table",i);(r.attrs.cap||r.attrs.caption)&&o.appendChild(t("caption",{},r.attrs.cap||r.attrs.caption)),d=o;var s=void 0!==r.attrs.pagination||"string"==typeof r.content&&/(?:^|\s)pagination(?:\s|$)/.test(r.content);if(void 0!==r.attrs.sortable||void 0!==r.attrs.filter||s){var c=parseInt(r.attrs.ps,10);o._tokuiDataCfg={sortable:void 0!==r.attrs.sortable,filter:void 0!==r.attrs.filter,pagination:!!s,pageSize:c>0?c:10},o._tokuiReport=e.createReporter("table",r.attrs,a)}return n(r.children).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),a.appendChild(o),a._slot=o,a._tokuiType="table",h(o),a})),e.register("thead",(function(e){var r=t("thead",{class:"tokui-thead"});if(e.attrs.cols){s=[],c=[],l=[],u=0;var n=e.attrs.cols.split(";"),i=n.length-1,a=n.map((function(e){return function(e){for(var t=[],r="",n=!1,i=0;i<e.length;i++){var a=e[i];'"'===a?n=!n:","!==a||n?r+=a:(t.push(r),r="")}return t.push(r),t}(e).map((function(e){var t=function(e){var t=_(e),r=t.text,n=r.indexOf(":");return{name:n>0?r.slice(0,n):r,align:t.align,color:t.color}}(e),r=y(t.name);return{text:r.text,align:t.align,color:t.color,colspan:r.colspan||1,rowspan:r.rowspan||1}}))})),p=a.length?a[0].reduce((function(e,t){return e+t.colspan}),0):0;d&&p>0&&(d.style.minWidth="calc("+p+" * var(--tokui-table-min-col-w, 96px))");var f=[];a.forEach((function(e,n){var a=b(e,f,p),u=t("tr",{class:"tokui-thead-row"});a.forEach((function(e){var r=e.cell,a=r.align?"tokui-col-"+r.align:"",d=r.color?"tokui-text--"+r.color:"",p={scope:"col"};if(e.colspan>=2&&(p.colspan=String(e.colspan)),e.rowspan>=2&&(p.rowspan=String(e.rowspan)),n+e.rowspan-1>=i)for(var f=0;f<e.colspan;f++)c[e.col+f]=r.align||"",s[e.col+f]=o[r.text]?r.text:null,l[e.col+f]=r.color||"";if("chk"===r.text){p.class="tokui-col-chk"+(a?" "+a:"")+(d?" "+d:"");var h=t("input",{type:"checkbox",class:"tokui-chk-all"});h.addEventListener("change",(function(){var e=h.closest("table");e&&(e.querySelectorAll(".tokui-chk-row").forEach((function(e){e.checked=h.checked})),h.indeterminate=!1)}));var A=t("th",p);return A.appendChild(h),void u.appendChild(A)}if("#"===r.text)return p.class="tokui-col-seq"+(a?" "+a:"")+(d?" "+d:""),void u.appendChild(t("th",p,"#"));p.class=(a+" "+d).trim(),u.appendChild(t("th",p,r.text))})),r.appendChild(u)}))}else{var A=t("tr",{class:"tokui-thead-row"});e.children.forEach((function(e){var r=e.attrs&&e.attrs.n||"";A.appendChild(t("th",{scope:"col","data-tokui-tag":"tcol"===e.type?"tcol":null},r))})),r.appendChild(A)}return r._slot=r.lastChild||r,r._tokuiType="thead",h(d,"thead",r),r})),e.register("tbody",(function(e,r){var n=t("tbody",{class:"tokui-tbody"}),i=e._colTypes||s,a=e._colAligns||c,o=e._colColors||l;return n._tokuiOccupancy=[],n._tokuiMaxCols=a.length||i.length,e.children.forEach((function(e){e._colTypes=i,e._colAligns=a,e._colColors=o,e._seqNum=++u,e._tbodyEl=n})),r(e.children).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n.addEventListener("mousedown",(function(e){var t=e.target;n.__tokuiShift=!!(t&&t.classList&&t.classList.contains("tokui-chk-row")&&e.shiftKey)})),n.addEventListener("change",(function(e){var t=e.target;if(t&&t.classList&&t.classList.contains("tokui-chk-row")){var r=n.closest("table");if(r){var i=Array.prototype.slice.call(r.querySelectorAll(".tokui-chk-row")),a=i.indexOf(t),o=n.__tokuiShift;n.__tokuiShift=!1;var s=r.__tokuiChkAnchor;if(o&&null!=s&&s>=0&&a>=0&&s!==a)for(var c=Math.min(s,a),l=Math.max(s,a),u=t.checked,d=c;d<=l;d++)i[d].checked=u;else a>=0&&(r.__tokuiChkAnchor=a);!function(e){var t=e.querySelector(".tokui-chk-all");if(t){var r=e.querySelectorAll(".tokui-chk-row"),n=e.querySelectorAll(".tokui-chk-row:checked");t.checked=r.length>0&&n.length===r.length,t.indeterminate=n.length>0&&n.length<r.length}}(r)}}})),n._slot=n,n._tokuiType="tbody",h(d,"tbody",n),n})),e.register("tr",(function(e){var r=t("tr",{class:"tokui-table-row",role:"row"});e.attrs&&e.attrs.v&&String(e.attrs.v).split(",").forEach((function(e){(e=e.trim())&&r.classList.add("tokui-table-row--"+e)}));var n=e.attrs&&e.attrs.cs?parseInt(e.attrs.cs):0,i=e._colTypes||s,a={colTypes:i,colAligns:e._colAligns||c,colColors:e._colColors||l,seqNum:e._seqNum||++u,colspanVal:n,tbodyEl:e._tbodyEl};if("open"===e._stream)return function(e,t){function r(t,r){if(t){for(var n=null,i=r+1;i<e._tokuiCellTds.length;i++)if(e._tokuiCellTds[i]&&e._tokuiCellTds[i].parentNode===e){n=e._tokuiCellTds[i];break}n?e.insertBefore(t,n):e.appendChild(t)}}e._tokuiCellText=[],e._tokuiCellTds=[],e._tokuiTrReconcile=function(n,i,a){a&&a.v&&String(a.v).split(",").forEach((function(t){(t=t.trim())&&e.classList.add("tokui-table-row--"+t)}));var o=g(A(n||"")),s=t.tbodyEl&&t.tbodyEl._tokuiOccupancy;s&&(t.cellCols=k(o,t.tbodyEl,i?s:s.slice()));for(var c=0;c<o.length;c++){var l=o[c],u=l.trim(),d=c===o.length-1,p=/^\[/.test(u)||/^(btn|tag|progress)\b/.test(u),f=/^btn:/.test(u),h=p&&d&&!i&&!f,m=h?"\0SKELETON\0":l;if(e._tokuiCellText[c]!==m){var b=e._tokuiCellTds[c];b&&b.parentNode===e&&e.removeChild(b);var y=h?v(c,t):C(l,c,t);r(y,c),e._tokuiCellTds[c]=y||null,e._tokuiCellText[c]=m}}for(var w=o.length;w<e._tokuiCellTds.length;w++){var x=e._tokuiCellTds[w];x&&x.parentNode===e&&e.removeChild(x),e._tokuiCellTds[w]=null}e._tokuiCellTds.length=o.length,e._tokuiCellText.length=o.length}}(r,a),r;if(e.content){var o=A(e.content),d=g(o);a.cellCols=k(d,a.tbodyEl,a.tbodyEl&&a.tbodyEl._tokuiOccupancy);var p=d.some((function(e){return/=([cr]\d+)/.test(e)})),f=a.cellCols&&a.cellCols.some((function(e,t){return e!==t})),h=-1!==o.indexOf("[tr");!p&&!f&&i.length>0&&d.length!==i.length&&n<2&&console.warn("TokUI Table: tr 单元格数 "+d.length+" != 列数 "+i.length+" → 列错位。"+(h?"⚠️ 内容含 [tr 残留,疑似 tr 未正确闭合(引号未配对/含字面 [ ] 未引号包)→ parser 标签断裂、串行。":d.length>i.length?'疑似单元格内含逗号未用双引号包裹(如 12,800.00、"a,b,c")。':"疑似列标题(thead cols)含逗号被切散、或该行缺格。")+"规则:tr 不要外层引号、含逗号单元格直引号包。tr 原文: "+o),d.forEach((function(e,t){var n=C(e,t,a);n&&r.appendChild(n)}))}return r})),e.register("tcol",(function(){return document.createTextNode("")}))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerTableComponents=n),void 0!==t&&t.exports&&(t.exports={registerTableComponents:n})})),F=h((function(e,t){function r(e){return e&&"string"==typeof e?e.split(";").map((function(e){return e.trim()})).filter((function(e){return e.length>0})).map((function(e){var t=e.indexOf(":");return-1===t?{v:e,tx:e}:{v:e.substring(0,t).trim(),tx:e.substring(t+1).trim()}})):[]}function n(e){var t=String(null!=e?e:"").trim();return/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(t)?t:null}function i(e,t,r,n){var i="error"===r||"success"===r?r:"";e.classList.remove(n+"--error"),e.classList.remove(n+"--success"),i&&e.classList.add(n+"--"+i),"error"===i?e.setAttribute("aria-invalid","true"):e.removeAttribute&&e.removeAttribute("aria-invalid"),t&&(t.classList.remove("tokui-field__hint--error"),t.classList.remove("tokui-field__hint--success"),i&&t.classList.add("tokui-field__hint--"+i))}function a(e,t,r,n){if("function"==typeof e.addEventListener){var a=r.hint||"",o="input"===r.live;e.addEventListener("blur",s),e.addEventListener("input",(function(){(o||e.classList.contains(n+"--error"))&&s()}))}function s(){if("function"==typeof e.checkValidity){if(!e.value&&void 0===r.req)return i(e,t,"",n),void(t&&(t.textContent=a));e.checkValidity()?(i(e,t,"success",n),t&&(t.textContent=r.ok||"✓ 格式正确")):(i(e,t,"error",n),t&&(t.textContent=r.err||a))}}}function o(e){if(!e||!e.attrs||!e.attrs.opt)return e;var t=r(e.attrs.opt).map((function(e){return{type:"opt",attrs:{v:e.v,tx:e.tx}}}));return Object.assign({},e,{children:(e.children||[]).concat(t)})}function c(e){var t="function"==typeof m?x():window.TokUI._internal,r=t.el,c=t.resolveButtonAction,l=t.evaluateRules,u="function"==typeof m?D().resolveColor:window.TokUI._internal.resolveColor,d="function"==typeof m?E().iconSvg:window.TokUI._internal.iconSvg,p="function"==typeof m?v().t:window.TokUI._internal.t;function f(e,t,r,n,a,o){if(n.rule){e.setAttribute("data-tokui-rule",n.rule);var s=n.hint||(r?r.textContent:"");e._tokuiValidate=c,void 0!==n.live&&"function"==typeof t.addEventListener&&(t.addEventListener("blur",c),t.addEventListener("input",(function(){("input"===n.live||t.classList.contains(a+"--error"))&&c()})))}function c(){var e=l(o(),n.rule),c=e?n.msg||p("rule."+e.name,{n:e.n}):null;return i(t,r,c?"error":"",a),r&&(r.textContent=c||s),c}}function h(e){if(!e)return null;var t=e.indexOf("|");return-1===t?{text:e,variant:null}:{text:e.substring(0,t),variant:e.substring(t+1)}}function A(e){if(!e)return null;var t=e.indexOf("|"),r=-1===t?e:e.substring(0,t),n=-1===t?null:e.substring(t+1),i=r.indexOf(":");return-1===i?{text:r,handler:null,variant:n}:{text:r.substring(0,i),handler:r.substring(i+1),variant:n}}function g(e){var t=e.attrs;return!!(t.pre||t.app||t.prebtn||t.appbtn)}function b(e,t){var n=r("div",{class:"tokui-input-group"});if(e.attrs.pre){var i=(o=h(e.attrs.pre)).variant?"tokui-input-pre tokui-input-pre--"+o.variant:"tokui-input-pre";n.appendChild(r("span",{class:i},o.text))}if(e.attrs.prebtn){var a={class:i=(o=A(e.attrs.prebtn)).variant?"tokui-input-prebtn tokui-input-prebtn--"+o.variant:"tokui-input-prebtn",type:"button"};o.handler&&(a["data-tokui-clk"]=o.handler),n.appendChild(r("button",a,o.text))}if(n.appendChild(t),e.attrs.appbtn){a={class:i=(o=A(e.attrs.appbtn)).variant?"tokui-input-appbtn tokui-input-appbtn--"+o.variant:"tokui-input-appbtn",type:"button"};o.handler&&(a["data-tokui-clk"]=o.handler),n.appendChild(r("button",a,o.text))}if(e.attrs.app){var o;i=(o=h(e.attrs.app)).variant?"tokui-input-app tokui-input-app--"+o.variant:"tokui-input-app";n.appendChild(r("span",{class:i},o.text))}return n}e.register("form",(function(e,t){var n={class:"tokui-form"};if(e.attrs.id&&(n.id=e.attrs.id),e.attrs.act){var i=e.attrs.act;/^javascript:/i.test(i)&&(i="#"),n.action=i}e.attrs.mtd&&(n.method=e.attrs.mtd),e.attrs.sub&&(n["data-tokui-sub"]=e.attrs.sub),e.attrs.clk&&(n["data-tokui-clk"]=e.attrs.clk);var a=r("form",n);return t(e.children).forEach((function(e){e&&e.nodeType&&a.appendChild(e)})),a._slot=a,a._tokuiType="form",a}));function k(e){var t=e.attrs&&e.attrs.v||"",n=e.attrs&&e.attrs.tx||t||e.content||"",i=e.attrs&&void 0!==e.attrs.chk,a=r("li",{class:"tokui-picker-option","data-value":t,"data-text":n,"data-tokui-tag":"opt",role:"option","aria-selected":String(i)},n);return i&&a.classList.add("tokui-picker-option--selected"),i&&a.setAttribute("data-selected-initial","1"),a}function y(e,t){var n=r("label",{class:"tokui-radio-item"});n.setAttribute("data-tokui-tag","opt");var i={type:"radio",name:t,class:"tokui-radio-input"};e.attrs&&e.attrs.v&&(i.value=e.attrs.v),e.attrs&&void 0!==e.attrs.chk&&(i.checked="checked"),n.appendChild(r("input",i));var a=e.attrs&&e.attrs.tx||e.attrs&&e.attrs.v||e.content||"";return n.appendChild(r("span",{class:"tokui-radio-text"},a)),n}function w(e,t){var n=r("label",{class:"tokui-checkbox-item"});n.setAttribute("data-tokui-tag","opt");var i={type:"checkbox",name:t,class:"tokui-checkbox-input"};e.attrs&&void 0!==e.attrs.v&&(i.value=e.attrs.v),e.attrs&&void 0!==e.attrs.chk&&(i.checked="checked"),n.appendChild(r("input",i));var a=e.attrs&&e.attrs.tx||e.attrs&&e.attrs.v||e.content||"";return n.appendChild(r("span",{class:"tokui-checkbox-text"},a)),n}e.register("input",(function(t){var n=t.attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[],o=-1!==n.indexOf("inline"),c=void 0!==t.attrs.search,l="right"===t.attrs.search,u=r("div",{class:o?"tokui-field tokui-field--inline":"tokui-field"});if(t.attrs.l){var d={class:"tokui-label"};t.attrs.id&&(d.for=t.attrs.id),void 0!==t.attrs.req&&(d.class+=" tokui-label--req"),u.appendChild(r("label",d,t.attrs.l))}var p={class:"tokui-input",type:t.attrs.t||"text"};t.attrs.id&&(p.id=t.attrs.id),t.attrs.n?p.name=t.attrs.n:t.attrs.id&&(p.name=t.attrs.id),t.attrs.ph&&(p.placeholder=t.attrs.ph),t.attrs.ml&&(p.maxlength=t.attrs.ml),void 0!==t.attrs.min&&(p.min=t.attrs.min),void 0!==t.attrs.max&&(p.max=t.attrs.max),void 0!==t.attrs.step&&(p.step=t.attrs.step),void 0!==t.attrs.req&&(p.required="required"),void 0!==t.attrs.dis&&(p.disabled="disabled"),void 0!==t.attrs.ro&&(p.readonly="readonly"),void 0!==t.attrs.req&&(p["aria-required"]="true"),-1!==n.indexOf("error")&&(p["aria-invalid"]="true"),t.attrs.pat&&(p.pattern=t.attrs.pat),void 0!==t.attrs.val&&(p.value=t.attrs.val);var h=r("input",p);t.attrs.err&&"function"==typeof h.addEventListener&&(h.addEventListener("invalid",(function(){"function"==typeof h.setCustomValidity&&h.validity&&!h.validity.customError&&h.setCustomValidity(t.attrs.err)})),h.addEventListener("input",(function(){"function"==typeof h.setCustomValidity&&h.setCustomValidity("")}))),t.attrs.w&&(h.style.width=t.attrs.w);var A=null;if(c){A=r("div",{class:"tokui-search-input"}),l&&A.classList.add("tokui-search-input--right");var m=r("span",{class:"tokui-search-input__icon"});m.innerHTML='<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>',A.appendChild(m),A.appendChild(h)}var v=A||h;if(g(t)){var k=b(t,v);-1!==n.indexOf("pill")&&k.classList.add("tokui-input-group--pill"),v=k}var y=null;if(t.attrs.sug){var w=r("div",{class:"tokui-sug-wrap"});w.appendChild(v),(y=r("div",{class:"tokui-sug",role:"listbox"})).style.display="none",w.appendChild(y),u.appendChild(w)}else u.appendChild(v);var x=null;(t.attrs.hint||void 0!==t.attrs.live||t.attrs.rule)&&(x=r("div",{class:"tokui-field__hint"},t.attrs.hint||""),-1===n.indexOf("error")?-1!==n.indexOf("success")&&x.classList.add("tokui-field__hint--success"):x.classList.add("tokui-field__hint--error"),u.appendChild(x)),void 0!==t.attrs.live&&a(h,x,t.attrs,"tokui-input"),f(u,h,x,t.attrs,"tokui-input",(function(){return h.value})),u._update=function(e){void 0!==e.v&&(h.value=e.v),!0===e.dis||"true"===e.dis?h.disabled=!0:(!1===e.dis||"false"===e.dis)&&(h.disabled=!1),void 0!==e.ph&&(h.placeholder=e.ph),!0===e.ro||"true"===e.ro?h.readOnly=!0:(!1===e.ro||"false"===e.ro)&&(h.readOnly=!1),void 0!==e.hint&&x&&(x.textContent=e.hint),void 0!==e.status&&i(h,x,e.status,"tokui-input")};var _=e.createReporter("input",t.attrs,u),C=e.debounce((function(){_("change",{value:h.value,name:t.attrs.n||void 0})}),parseInt(t.attrs.db)||300);if(h.addEventListener("input",C),t.attrs.sug&&y){var E=t.attrs.sug,T=[],B=-1,S=0,D=function(){y.style.display="none",T=[],B=-1},U=function(){y.innerHTML="",T.length?(T.forEach((function(e,t){var n=r("div",{class:"tokui-sug__item"+(t===B?" tokui-sug__item--active":""),role:"option"},e.tx);n.setAttribute("data-idx",t),y.appendChild(n)})),y.style.display=""):y.style.display="none"},F=function(e){T=(Array.isArray(e)?e:[]).map((function(e){return e&&"object"==Object(s.a)(e)?{v:String(null==e.v?e.tx:e.v),tx:String(null==e.tx?e.v:e.tx)}:{v:String(e),tx:String(e)}})),B=T.length?0:-1,U()},I=function(e){e<0||e>=T.length||(h.value=T[e].v,D(),_("change",{value:h.value,name:t.attrs.n||void 0}))},L=e.debounce((function(){var t=e.eventBus?e.eventBus.getHandler(E):null;if(!t)return e._warnMissingHandler(E),void D();var r,n=++S;try{r=t({value:h.value})}catch(e){return console.warn("TokUI: sug handler error",e),void D()}r&&"function"==typeof r.then?r.then((function(e){n===S&&F(e)}),(function(){n===S&&D()})):F(r)}),parseInt(t.attrs.db)||300);h.addEventListener("input",L),h.addEventListener("keydown",(function(e){"none"!==y.style.display&&("ArrowDown"===e.key?(e.preventDefault(),B=Math.min(B+1,T.length-1),U()):"ArrowUp"===e.key?(e.preventDefault(),B=Math.max(B-1,0),U()):"Enter"===e.key?B>=0&&(e.preventDefault(),I(B)):"Escape"===e.key&&D())})),h.addEventListener("blur",(function(){setTimeout(D,150)})),y.addEventListener("click",(function(e){var t=e.target.closest?e.target.closest(".tokui-sug__item"):null;t&&I(parseInt(t.getAttribute("data-idx")))}))}return u._variantTarget=h,u})),e.register("pwd",(function(t){var n=t.attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[],o=r("div",{class:-1===n.indexOf("inline")?"tokui-field":"tokui-field tokui-field--inline"});if(t.attrs.l){var s={class:"tokui-label"};t.attrs.id&&(s.for=t.attrs.id),void 0!==t.attrs.req&&(s.class+=" tokui-label--req"),o.appendChild(r("label",s,t.attrs.l))}var c={class:"tokui-input",type:"password"};t.attrs.id&&(c.id=t.attrs.id),t.attrs.n?c.name=t.attrs.n:t.attrs.id&&(c.name=t.attrs.id),t.attrs.ph&&(c.placeholder=t.attrs.ph),t.attrs.ml&&(c.maxlength=t.attrs.ml),void 0!==t.attrs.min&&(c.min=t.attrs.min),void 0!==t.attrs.max&&(c.max=t.attrs.max),void 0!==t.attrs.req&&(c.required="required"),void 0!==t.attrs.dis&&(c.disabled="disabled"),void 0!==t.attrs.ro&&(c.readonly="readonly"),void 0!==t.attrs.req&&(c["aria-required"]="true"),-1!==n.indexOf("error")&&(c["aria-invalid"]="true"),void 0!==t.attrs.val&&(c.value=t.attrs.val);var l=r("input",c);t.attrs.w&&(l.style.width=t.attrs.w);var u=null;if(void 0!==t.attrs.toggle&&!t.attrs.dis){(u=r("button",{class:"tokui-pwd-toggle",type:"button",tabindex:"-1"})).setAttribute("aria-label","Toggle password visibility");var d='<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"/><path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"/><line x1="1" y1="1" x2="23" y2="23"/><path d="M14.12 14.12a3 3 0 1 1-4.24-4.24"/></svg>';u.innerHTML=d,u.addEventListener("click",(function(){var e="password"===l.type;l.type=e?"text":"password",u.innerHTML=e?'<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>':d,u.classList.toggle("tokui-pwd-toggle--active",e)}))}if(g(t)||u){var p=b(t,l);if(u){var h=l.nextSibling;h?p.insertBefore(u,h):p.appendChild(u)}o.appendChild(p)}else o.appendChild(l);var A=null;(t.attrs.hint||void 0!==t.attrs.live||t.attrs.rule)&&(A=r("div",{class:"tokui-field__hint"},t.attrs.hint||""),-1===n.indexOf("error")?-1!==n.indexOf("success")&&A.classList.add("tokui-field__hint--success"):A.classList.add("tokui-field__hint--error"),o.appendChild(A)),void 0!==t.attrs.live&&a(l,A,t.attrs,"tokui-input"),f(o,l,A,t.attrs,"tokui-input",(function(){return l.value})),o._update=function(e){void 0!==e.v&&(l.value=e.v),!0===e.dis||"true"===e.dis?l.disabled=!0:(!1===e.dis||"false"===e.dis)&&(l.disabled=!1),void 0!==e.ph&&(l.placeholder=e.ph),!0===e.ro||"true"===e.ro?l.readOnly=!0:(!1===e.ro||"false"===e.ro)&&(l.readOnly=!1),void 0!==e.hint&&A&&(A.textContent=e.hint),void 0!==e.status&&i(l,A,e.status,"tokui-input")};var m=e.createReporter("pwd",t.attrs,o),v=e.debounce((function(){m("change",{value:l.value,name:t.attrs.n||void 0})}),parseInt(t.attrs.db)||300);return l.addEventListener("input",v),o._variantTarget=l,o})),e.register("textarea",(function(t,n){var i=r("div",{class:"tokui-field"});if(t.attrs.l){var a={class:"tokui-label"};t.attrs.id&&(a.for=t.attrs.id),void 0!==t.attrs.req&&(a.class+=" tokui-label--req"),i.appendChild(r("label",a,t.attrs.l))}var o=t.attrs.maxlen?parseInt(t.attrs.maxlen,10):0,s=void 0!==t.attrs.auto,c=parseInt(t.attrs.rows,10)||4,l=t.attrs.maxrows?parseInt(t.attrs.maxrows,10):0,u=o>0||s?r("div",{class:"tokui-textarea-box"}):null;u&&i.appendChild(u);var d={class:"tokui-input",rows:String(c)};t.attrs.id&&(d.id=t.attrs.id),t.attrs.n?d.name=t.attrs.n:t.attrs.id&&(d.name=t.attrs.id),t.attrs.ph&&(d.placeholder=t.attrs.ph),void 0!==t.attrs.req&&(d.required="required"),void 0!==t.attrs.dis&&(d.disabled="disabled"),void 0!==t.attrs.ro&&(d.readonly="readonly"),void 0!==t.attrs.req&&(d["aria-required"]="true"),/(^|,)\s*error\s*(,|$)/.test(t.attrs.v||"")&&(d["aria-invalid"]="true"),o>0&&(d.maxlength=String(o));var p=r("textarea",d),h=t.children&&t.children.length>0?t.children.map((function(e){return e.content||""})).join(""):t.content||t.attrs.tx||"";if(p.textContent=h,s){p.classList.add("tokui-textarea--auto");var A=0,g=0;function m(){if(!A){var e=p.getAttribute("rows");p.setAttribute("rows","1");var t=p.scrollHeight;A=t*c,g=l>0?t*l:0,p.setAttribute("rows",e),p.style.height="auto";var r=p.scrollHeight;A=Math.max(A,r),p.style.height=A+"px"}p.style.height="auto";var n=p.scrollHeight;n=Math.max(n,A),g>0&&(n=Math.min(n,g)),p.style.height=n+"px",p.style.overflow=g>0&&p.scrollHeight>g?"auto":"hidden"}p.addEventListener&&p.addEventListener("input",m),setTimeout(m,0)}if(u){if(u.appendChild(p),o>0){var v=r("span",{class:"tokui-textarea-counter"});v.textContent=h.length+"/"+o,h.length>o&&v.classList.add("tokui-textarea-counter--over"),u.appendChild(v),p.addEventListener("input",(function(){var e=p.value.length;v.textContent=e+"/"+o,e>o?v.classList.add("tokui-textarea-counter--over"):v.classList.remove("tokui-textarea-counter--over")}))}}else i.appendChild(p);var b=null;(t.attrs.hint||t.attrs.rule)&&(b=r("div",{class:"tokui-field__hint"},t.attrs.hint||""),i.appendChild(b)),f(i,p,b,t.attrs,"tokui-input",(function(){return p.value})),i._update=function(e){void 0!==e.v&&(p.value=e.v),!0===e.dis||"true"===e.dis?p.disabled=!0:(!1===e.dis||"false"===e.dis)&&(p.disabled=!1),!0===e.ro||"true"===e.ro?p.readOnly=!0:(!1===e.ro||"false"===e.ro)&&(p.readOnly=!1)};var k=e.createReporter("textarea",t.attrs,i),y=e.debounce((function(){k("change",{value:p.value,name:t.attrs.n||void 0})}),parseInt(t.attrs.db)||300);return p.addEventListener("input",y),i._variantTarget=p,i._slot=p,i._tokuiType="textarea",i})),e.register("picker",(function(t,n){var i=void 0!==t.attrs.multi,a=void 0!==t.attrs.dis,o=t.attrs.n||t.attrs.id||"picker",c=t.attrs.ph||"",l=r("div",{class:-1===(t.attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[]).indexOf("inline")?"tokui-field":"tokui-field tokui-field--inline"});if(t.attrs.l){var u={class:"tokui-label"};t.attrs.id&&(u.for=t.attrs.id),void 0!==t.attrs.req&&(u.class+=" tokui-label--req"),l.appendChild(r("label",u,t.attrs.l))}var d=["tokui-picker"];i&&d.push("tokui-picker--multi"),a&&d.push("tokui-picker--disabled");var f=r("div",{class:d.join(" "),"data-tokui-picker":t.attrs.id||"",role:"listbox","aria-expanded":"false"}),h="",A="";i||t.children.forEach((function(e){e.attrs&&void 0!==e.attrs.chk&&(h=e.attrs.v||"",A=e.attrs&&e.attrs.tx||h)}));var g=r("div",{class:"tokui-picker-control"});i&&t.children.forEach((function(e){e.attrs&&void 0!==e.attrs.chk&&g.appendChild(function(e,t,n){var i=e.attrs&&e.attrs.tx||e.attrs&&e.attrs.v||e.content||"",a=r("span",{class:"tokui-picker-tag","data-value":e.attrs&&e.attrs.v||e.content||""},i+" "),o=r("span",{class:"tokui-picker-tag-close"},"×");return a.appendChild(o),a}(e))}));var m={class:"tokui-picker-search",type:"text",autocomplete:"off"};c&&!A&&(m.placeholder=c),a&&(m.disabled="disabled"),A&&(m.value=A),g.appendChild(r("input",m)),g.appendChild(r("span",{class:"tokui-picker-arrow"})),f.appendChild(g);var v=r("ul",{class:"tokui-picker-dropdown"});t.children.forEach((function(e){v.appendChild(k(e))}));var b=r("li",{class:"tokui-picker-empty"},p("picker.noMatch"));b.style.display="none",v.appendChild(b),f.appendChild(v),i?t.children.forEach((function(e){e.attrs&&void 0!==e.attrs.chk&&f.appendChild(r("input",{type:"hidden",name:o,value:e.attrs.v||""}))})):f.appendChild(r("input",{type:"hidden",name:o,value:h})),l.appendChild(f),l._variantTarget=f,l._slot=v,l._tokuiType="picker";var y=e.createReporter("picker",t.attrs,l);function w(e){y("change",{value:e,name:t.attrs.n||void 0})}return l._streamCloseHook=function(){var e=v.querySelectorAll(".tokui-picker-option--selected");if(!i&&e.length>0){var t=e[0],n=f.querySelector(".tokui-picker-search"),c=f.querySelector("input[type=hidden]");n&&!n.value&&(n.value=t.getAttribute("data-text")),c&&!c.value&&(c.value=t.getAttribute("data-value"))}i&&e.length>0&&e.forEach((function(e){var t=e.getAttribute("data-text"),n=e.getAttribute("data-value"),i=r("span",{class:"tokui-picker-tag","data-value":n},t+" "),a=r("span",{class:"tokui-picker-tag-close"},"×");i.appendChild(a),g.insertBefore(i,g.querySelector(".tokui-picker-search")),f.appendChild(r("input",{type:"hidden",name:o,value:n}))})),!a&&("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&function(e,t){var n=t.multi,i=t.name,a="function"==typeof t.onChange?t.onChange:null,o=e.querySelector(".tokui-picker-control"),s=e.querySelector(".tokui-picker-search"),c=e.querySelector(".tokui-picker-dropdown"),l=e.querySelector(".tokui-picker-empty"),u=!1,d=-1;function p(){if(a)if(n){var t=[];e.querySelectorAll("input[type=hidden]").forEach((function(e){t.push(e.value)})),a(t)}else{var r=e.querySelector("input[type=hidden]");a(r?r.value:"")}}function f(){return Array.from(c.querySelectorAll(".tokui-picker-option")).filter((function(e){return"none"!==e.style.display}))}function h(){if(!u){u=!0,e.classList.add("tokui-picker--open");var t=o.getBoundingClientRect();c.style.left=t.left+"px",c.style.top=t.bottom+4+"px",c.style.width=t.width+"px",s.focus(),d=-1}}function A(){u&&(u=!1,e.classList.remove("tokui-picker--open"),n&&(s.value=""),v(""),g())}function g(){f().forEach((function(e){e.classList.remove("tokui-picker-option--active")})),d=-1}function m(e){var t=f();g(),!(e<0||e>=t.length)&&(d=e,t[e].classList.add("tokui-picker-option--active"),t[e].scrollIntoView({block:"nearest"}))}function v(e){var t=e.toLowerCase(),r=c.querySelectorAll(".tokui-picker-option"),n=0;r.forEach((function(e){var r=!t||-1!==e.getAttribute("data-text").toLowerCase().indexOf(t);e.style.display=r?"":"none",r&&n++})),l.style.display=0===n?"":"none",g()}function b(e){var t=e.getAttribute("data-value"),r=e.getAttribute("data-text");n?function(e,t,r){e.classList.toggle("tokui-picker-option--selected")?(y(t,r),x(t)):(w(t),_(t)),s.value="",s.focus(),p()}(e,t,r):k(e,t,r)}function k(t,r,n){c.querySelectorAll(".tokui-picker-option--selected").forEach((function(e){e.classList.remove("tokui-picker-option--selected")})),t.classList.add("tokui-picker-option--selected"),s.value=n;var i=e.querySelector("input[type=hidden]");i&&(i.value=r),A(),p()}function y(e,t){var n=r("span",{class:"tokui-picker-tag","data-value":e},t+" "),i=r("span",{class:"tokui-picker-tag-close"},"×");i.addEventListener("click",(function(t){t.stopPropagation();var r=c.querySelector('.tokui-picker-option[data-value="'+e+'"]');r&&r.classList.remove("tokui-picker-option--selected"),w(e),_(e),p()})),n.appendChild(i),o.insertBefore(n,s)}function w(e){var t=o.querySelector('.tokui-picker-tag[data-value="'+e+'"]');t&&o.removeChild(t)}function x(t){e.appendChild(r("input",{type:"hidden",name:i,value:t}))}function _(t){e.querySelectorAll('input[type=hidden][name="'+i+'"]').forEach((function(r){r.value===t&&e.removeChild(r)}))}o.addEventListener("click",(function(e){e.target.classList.contains("tokui-picker-tag-close")||(u?A():h())})),s.addEventListener("input",(function(){u||h(),v(s.value)})),s.addEventListener("keydown",(function(e){var t=f();if("ArrowDown"===e.key)e.preventDefault(),u||h(),m(d<t.length-1?d+1:0);else if("ArrowUp"===e.key)e.preventDefault(),u||h(),m(d>0?d-1:t.length-1);else if("Enter"===e.key)e.preventDefault(),d>=0&&d<t.length&&b(t[d]);else if("Escape"===e.key)A();else if("Backspace"===e.key&&n&&""===s.value){var r=o.querySelectorAll(".tokui-picker-tag");if(r.length>0){var i=r[r.length-1].getAttribute("data-value"),a=c.querySelector('.tokui-picker-option[data-value="'+i+'"]');a&&a.classList.remove("tokui-picker-option--selected"),w(i),_(i),p()}}})),c.addEventListener("click",(function(e){var t=e.target.closest(".tokui-picker-option");t&&b(t)})),document.addEventListener("click",(function(t){e.contains(t.target)||A()})),o.querySelectorAll(".tokui-picker-tag-close").forEach((function(e){e.addEventListener("click",(function(t){t.stopPropagation();var r=e.parentElement.getAttribute("data-value"),n=c.querySelector('.tokui-picker-option[data-value="'+r+'"]');n&&n.classList.remove("tokui-picker-option--selected"),w(r),_(r),p()}))}))}(f,{multi:i,name:o,onChange:w})},l.setAttribute("data-tokui-resettable",""),l._tokuiReset=function(){var e=f.querySelector(".tokui-picker-search"),t=f.querySelector("input[type=hidden]"),n=v.querySelectorAll(".tokui-picker-option");i?(g.querySelectorAll(".tokui-picker-tag").forEach((function(e){g.removeChild(e)})),f.querySelectorAll('input[type=hidden][name="'+o+'"]').forEach((function(e){f.removeChild(e)})),n.forEach((function(t){var n="1"===t.getAttribute("data-selected-initial");if(t.classList.toggle("tokui-picker-option--selected",n),n){var i=t.getAttribute("data-text"),a=t.getAttribute("data-value"),s=r("span",{class:"tokui-picker-tag","data-value":a},i+" ");s.appendChild(r("span",{class:"tokui-picker-tag-close"},"×")),g.insertBefore(s,e),f.appendChild(r("input",{type:"hidden",name:o,value:a}))}}))):(e&&(e.value=A),t&&(t.value=h),n.forEach((function(e){var t=!!h&&e.getAttribute("data-value")===h;e.classList.toggle("tokui-picker-option--selected",t)})))},l._update=function(e){if(void 0!==e.v){var t=String(e.v).split(",").map((function(e){return e.trim()})).filter(Boolean),n=v.querySelectorAll(".tokui-picker-option"),a=f.querySelector(".tokui-picker-search");if(i)g.querySelectorAll(".tokui-picker-tag").forEach((function(e){g.removeChild(e)})),f.querySelectorAll('input[type=hidden][name="'+o+'"]').forEach((function(e){f.removeChild(e)})),n.forEach((function(e){e.classList.remove("tokui-picker-option--selected")})),t.forEach((function(e){var t=v.querySelector('.tokui-picker-option[data-value="'+e+'"]');if(t){t.classList.add("tokui-picker-option--selected");var n=t.getAttribute("data-text"),i=r("span",{class:"tokui-picker-tag","data-value":e},n+" ");i.appendChild(r("span",{class:"tokui-picker-tag-close"},"×")),g.insertBefore(i,a),f.appendChild(r("input",{type:"hidden",name:o,value:e}))}}));else{var s=t[0]||"";n.forEach((function(e){s&&e.getAttribute("data-value")===s?e.classList.add("tokui-picker-option--selected"):e.classList.remove("tokui-picker-option--selected")}));var c=s?v.querySelector('.tokui-picker-option[data-value="'+s+'"]'):null;a&&(a.value=c?c.getAttribute("data-text"):"");var l=f.querySelector("input[type=hidden]");l&&(l.value=s)}}},l})),e.register("select",(function(t,n){var i=void 0!==(t=o(t)).attrs.multi,a=t.attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[],s=r("div",{class:-1===a.indexOf("inline")?"tokui-field":"tokui-field tokui-field--inline"});if(t.attrs.l){var c={class:"tokui-label"};t.attrs.id&&!i&&(c.for=t.attrs.id),void 0!==t.attrs.req&&(c.class+=" tokui-label--req"),s.appendChild(r("label",c,t.attrs.l))}var l={class:"tokui-select"};i&&(l.multiple=!0),t.attrs.id&&(l.id=t.attrs.id),t.attrs.n?l.name=t.attrs.n:t.attrs.id&&(l.name=t.attrs.id),void 0!==t.attrs.req&&!i&&(l.required="required"),void 0!==t.attrs.req&&(l["aria-required"]="true"),-1!==a.indexOf("error")&&(l["aria-invalid"]="true");var u=r("select",l);if(t.attrs.ph){var d=r("option",{value:"",disabled:"",selected:""},t.attrs.ph);u.appendChild(d)}n(t.children).forEach((function(e){e&&e.nodeType&&u.appendChild(e)})),s.appendChild(u);var p=null;(t.attrs.hint||t.attrs.rule)&&(p=r("div",{class:"tokui-field__hint"},t.attrs.hint||""),s.appendChild(p)),f(s,u,p,t.attrs,"tokui-select",(function(){if(!i)return u.value;var e=[];return Array.prototype.forEach.call(u.children,(function(t){t&&"OPTION"===t.tagName&&t.selected&&e.push(null==t.value?"":String(t.value))})),e.join(",")}));var h=e.createReporter("select",t.attrs,s);return u.addEventListener("change",(function(){var e;i?(e=[],Array.prototype.forEach.call(u.children,(function(t){!t||"OPTION"!==t.tagName||t.selected&&e.push(null==t.value?String(t.getAttribute("value")||""):String(t.value))}))):e=u.value,h("change",{value:e,name:t.attrs.n||void 0})})),s._update=function(e){if(void 0!==e.v)if(u.hasAttribute("multiple")){var t=String(e.v).split(",").map((function(e){return e.trim()})).filter(Boolean);Array.prototype.forEach.call(u.children,(function(e){if(e&&"OPTION"===e.tagName){var r=null==e.value?String(e.getAttribute("value")||""):String(e.value);-1===t.indexOf(r)?e.removeAttribute("selected"):e.setAttribute("selected","")}}))}else u.value=e.v;!0===e.dis||"true"===e.dis?u.disabled=!0:(!1===e.dis||"false"===e.dis)&&(u.disabled=!1)},s._variantTarget=u,s._slot=u,s._tokuiType="select",s})),e.register("radio",(function(t,n){var i=(t=o(t)).attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[],a=r("div",{class:-1===i.indexOf("inline")?"tokui-field":"tokui-field tokui-field--inline"});t.attrs.l&&a.appendChild(r("div",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req")},t.attrs.l));var s=r("div",{class:"tokui-radio-group"+(-1===i.indexOf("vertical")?"":" tokui-radio-group--vertical"),role:"radiogroup"});t.attrs.id&&(s.id=t.attrs.id);var c=t.attrs.n||t.attrs.id||"radio";s._radioName=c,t.children.forEach((function(e){s.appendChild(y(e,c))})),a.appendChild(s),a._slot=s,a._tokuiType="radio";var l=e.createReporter("radio",t.attrs,a);return s.addEventListener("change",(function(e){var r=e.target;r&&"radio"===r.type&&r.checked&&l("change",{value:r.value,name:t.attrs.n||void 0})})),a._update=function(e){if(void 0!==e.v){var t=String(e.v);s.querySelectorAll("input[type=radio]").forEach((function(e){e.checked=String(e.value)===t}))}},a})),e.register("opt",(function(e,t,n){if("radio"===n)return y(e,"");if("checkbox"===n)return w(e,"");if("picker"===n)return k(e);var i=e.attrs?e.attrs.v:"",a=e.attrs&&e.attrs.tx||i||e.content||"",o={value:i};return e.attrs&&void 0!==e.attrs.chk&&(o.selected=""),r("option",o,a)})),e.register("checkbox",(function(t,n){if(!((t=o(t)).children&&t.children.length>0||void 0!==t.attrs.multi)){var i=-1!==(t.attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[]).indexOf("inline"),a=r("label",{class:"tokui-checkbox"+(i?" tokui-checkbox--inline":""),role:"checkbox","aria-checked":String(void 0!==t.attrs.chk)}),s={type:"checkbox",class:"tokui-checkbox-input"};t.attrs.id&&(s.id=t.attrs.id),t.attrs.n?s.name=t.attrs.n:t.attrs.id&&(s.name=t.attrs.id),void 0!==t.attrs.chk&&(s.checked="checked");var c=r("input",s);a.appendChild(c),a.appendChild(r("span",{class:"tokui-checkbox-text"},t.attrs.l||""));var l=e.createReporter("checkbox",t.attrs,a);c.addEventListener("change",(function(){a.setAttribute("aria-checked",String(c.checked)),l("change",{value:c.checked,name:t.attrs.n||void 0})}));var u=function(e){!0===e.chk||"true"===e.chk?c.checked=!0:(!1===e.chk||"false"===e.chk)&&(c.checked=!1),a.setAttribute("aria-checked",String(c.checked))};if(!i){var d=r("div",{class:"tokui-field"});return d.appendChild(a),d._update=u,d}return a._update=u,a}var p=t.attrs.v?t.attrs.v.split(",").map((function(e){return e.trim()})):[],f=r("div",{class:-1===p.indexOf("inline")?"tokui-field":"tokui-field tokui-field--inline"});t.attrs.l&&f.appendChild(r("div",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req")},t.attrs.l));var h=t.attrs.n||t.attrs.id||"checkbox",A=r("div",{class:"tokui-checkbox-group"+(-1===p.indexOf("vertical")?"":" tokui-checkbox-group--vertical"),role:"group"});A._checkboxName=h,t.attrs.id&&(A.id=t.attrs.id),t.children&&t.children.length&&t.children.forEach((function(e){A.appendChild(w(e,h))})),f.appendChild(A),f._slot=A,f._tokuiType="checkbox";l=e.createReporter("checkbox",t.attrs,f);return A.addEventListener("change",(function(){var e=[];A.querySelectorAll("input[type=checkbox]").forEach((function(t){t.checked&&e.push(t.value)})),l("change",{value:e,name:t.attrs.n||void 0})})),f._update=function(e){if(void 0!==e.v){var t=String(e.v).split(",").map((function(e){return e.trim()})).filter(Boolean);A.querySelectorAll("input[type=checkbox]").forEach((function(e){e.checked=-1!==t.indexOf(String(e.value))}))}},f})),e.register("switch",(function(t){var n=r("label",{class:"tokui-switch"}),i={type:"checkbox",class:"tokui-switch-input"};t.attrs.n?i.name=t.attrs.n:t.attrs.id&&(i.name=t.attrs.id),t.attrs.v&&(i.value=t.attrs.v),void 0!==t.attrs.chk&&(i.checked="checked"),void 0!==t.attrs.dis&&(i.disabled="disabled"),n.appendChild(r("input",i));var a=r("span",{class:"tokui-switch__track",role:"switch","aria-checked":String(!!i.checked)});n.appendChild(a),t.attrs.l&&n.appendChild(r("span",{class:"tokui-switch__label"},t.attrs.l));var o=n.querySelector(".tokui-switch-input"),s=e.createReporter("switch",t.attrs,n);if(o.addEventListener("change",(function(){a.setAttribute("aria-checked",String(o.checked)),s("change",{value:o.checked,name:t.attrs.n||void 0})})),t.attrs.clk&&e.eventBus){var c=e.eventBus.getHandler(t.attrs.clk);c&&o.addEventListener("change",(function(e){c(null,e,n)}))}n._update=function(e){!0===e.chk||"true"===e.chk?(o.checked=!0,a.setAttribute("aria-checked","true")):(!1===e.chk||"false"===e.chk)&&(o.checked=!1,a.setAttribute("aria-checked","false")),!0===e.dis||"true"===e.dis?o.disabled=!0:(!1===e.dis||"false"===e.dis)&&(o.disabled=!1)},t.attrs.id&&(n.id=t.attrs.id);var l=void 0!==t.attrs.chk;return n.setAttribute("data-tokui-resettable",""),n._tokuiReset=function(){o.checked=l,a.setAttribute("aria-checked",String(l))},n})),e.register("slider",(function(t){var n=parseFloat(t.attrs.min)||0,i=parseFloat(t.attrs.max)||100,a=parseFloat(t.attrs.step)||1,o=parseFloat(t.attrs.v)||0;o<n&&(o=n),o>i&&(o=i);var s=[];function c(){var e=r("div",{class:"tokui-slider__marks"});return s.forEach((function(t){var a=(t.v-n)/(i-n)*100;a<0&&(a=0),a>100&&(a=100);var o=r("div",{class:"tokui-slider__mark"});o.style.left=a+"%",o.appendChild(r("span",{class:"tokui-slider__mark-dot"})),o.appendChild(r("span",{class:"tokui-slider__mark-label"},t.tx)),e.appendChild(o)})),e}if(t.attrs.marks&&String(t.attrs.marks).split(",").forEach((function(e){var t=e.trim();if(t){var r=t.indexOf(":"),n=parseFloat(-1===r?t:t.substring(0,r));isNaN(n)||s.push({v:n,tx:-1===r?t:t.substring(r+1).trim()})}})),void 0!==t.attrs.range){var l=n,u=i;if(void 0!==t.attrs.v){var d=String(t.attrs.v).split(","),p=parseFloat(d[0]),f=parseFloat(d[1]);isNaN(p)||(l=p),isNaN(f)||(u=f)}if(l=Math.max(n,Math.min(i,l)),u=Math.max(n,Math.min(i,u)),l>u){var h=l;l=u,u=h}var A=r("div",{class:"tokui-field"});t.attrs.l&&A.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req"),for:t.attrs.id||""},t.attrs.l));var g=r("div",{class:"tokui-slider tokui-slider--range"}),m=r("div",{class:"tokui-slider__track"}),v=r("div",{class:"tokui-slider__fill"}),b=r("div",{class:"tokui-slider__thumb tokui-slider__thumb--min",role:"slider","aria-valuemin":String(n),"aria-valuemax":String(i),"aria-valuenow":String(l),"aria-label":(t.attrs.l||"Slider")+" min",tabindex:"0"}),k=r("div",{class:"tokui-slider__thumb tokui-slider__thumb--max",role:"slider","aria-valuemin":String(n),"aria-valuemax":String(i),"aria-valuenow":String(u),"aria-label":(t.attrs.l||"Slider")+" max",tabindex:"0"}),y=r("span",{class:"tokui-slider__value"},l+" ~ "+u),w=r("input",{type:"hidden"});function x(){var e=(l-n)/(i-n)*100,t=(u-n)/(i-n)*100;v.style.left=e+"%",v.style.width=t-e+"%",b.style.left=e+"%",k.style.left=t+"%",b.setAttribute("aria-valuenow",String(l)),k.setAttribute("aria-valuenow",String(u)),y.textContent=l+" ~ "+u,w.value=l+","+u}if(t.attrs.id&&(w.id=t.attrs.id),t.attrs.n?w.name=t.attrs.n:t.attrs.id&&(w.name=t.attrs.id),m.appendChild(v),m.appendChild(b),m.appendChild(k),s.length&&(m.appendChild(c()),g.classList.add("tokui-slider--has-marks")),g.appendChild(m),g.appendChild(y),g.appendChild(w),x(),void 0!==t.attrs.dis)g.classList.add("tokui-slider--disabled");else{var _=e.createReporter("slider",t.attrs,A),C=null,E=function(e){var t=m.getBoundingClientRect(),r=((e.touches?e.touches[0].clientX:e.clientX)-t.left)/t.width;r=Math.max(0,Math.min(1,r));var o=n+r*(i-n),s=Math.round(o/a)*a;s=Math.max(n,Math.min(i,s));var c=a<1?Math.pow(10,Math.ceil(-Math.log10(a))):1;return Math.round(s*c)/c},T=function(e){e.preventDefault();var t=E(e);"min"===C?l=Math.min(t,u):u=Math.max(t,l),x()},B=function r(){if(document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",T),document.removeEventListener("touchend",r),("min"===C?b:k).classList.remove("tokui-slider__thumb--dragging"),t.attrs.clk){var n=e.eventBus?e.eventBus.getHandler(t.attrs.clk):null;n&&n({value:[l,u],id:t.attrs.id})}_("change",{value:[l,u],name:t.attrs.n||void 0}),C=null},S=function(e){e.preventDefault();var t=E(e);C=Math.abs(t-l)<=Math.abs(t-u)?"min":"max",l===u&&(C=t<=l?"min":"max"),T(e),document.addEventListener("mousemove",T),document.addEventListener("mouseup",B),document.addEventListener("touchmove",T),document.addEventListener("touchend",B),("min"===C?b:k).classList.add("tokui-slider__thumb--dragging")};g.addEventListener("mousedown",S),g.addEventListener("touchstart",S,{passive:!1})}A._update=function(e){if(void 0!==e.v){var t=String(e.v).split(","),r=parseFloat(t[0]),a=parseFloat(t[1]);if(isNaN(r)||(l=Math.max(n,Math.min(i,r))),isNaN(a)||(u=Math.max(n,Math.min(i,a))),l>u){var o=l;l=u,u=o}x()}!0===e.dis||"true"===e.dis?g.classList.add("tokui-slider--disabled"):(!1===e.dis||"false"===e.dis)&&g.classList.remove("tokui-slider--disabled")};var D=l,U=u;return A.setAttribute("data-tokui-resettable",""),A._tokuiReset=function(){l=D,u=U,x()},g._variantTarget=g,A.appendChild(g),A}var F=r("div",{class:"tokui-field"});t.attrs.l&&F.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req"),for:t.attrs.id||""},t.attrs.l));var I=r("div",{class:"tokui-slider"}),L=r("div",{class:"tokui-slider__track"}),O=r("div",{class:"tokui-slider__fill"}),M=r("div",{class:"tokui-slider__thumb",role:"slider","aria-valuemin":String(n),"aria-valuemax":String(i),"aria-valuenow":String(o),"aria-label":t.attrs.l||"Slider",tabindex:"0"}),P=r("span",{class:"tokui-slider__value"},String(o)),R=r("input",{type:"hidden"});t.attrs.id&&(R.id=t.attrs.id),t.attrs.n?R.name=t.attrs.n:t.attrs.id&&(R.name=t.attrs.id),R.value=o,L.appendChild(O),L.appendChild(M),s.length&&(L.appendChild(c()),I.classList.add("tokui-slider--has-marks")),I.appendChild(L),I.appendChild(P),I.appendChild(R);var N=(o-n)/(i-n)*100;if(O.style.width=N+"%",M.style.left=N+"%",void 0!==t.attrs.dis)I.classList.add("tokui-slider--disabled");else{var z=e.createReporter("slider",t.attrs,F),H=function(e){e.preventDefault();var t=L.getBoundingClientRect(),r=((e.touches?e.touches[0].clientX:e.clientX)-t.left)/t.width;r=Math.max(0,Math.min(1,r));var s=n+r*(i-n),c=Math.round(s/a)*a;c=Math.max(n,Math.min(i,c));var l=a<1?Math.pow(10,Math.ceil(-Math.log10(a))):1;c=Math.round(c*l)/l;var u=((o=c)-n)/(i-n)*100;O.style.width=u+"%",M.style.left=u+"%",P.textContent=String(o),R.value=o,M.setAttribute("aria-valuenow",String(o))},j=function r(){if(document.removeEventListener("mousemove",H),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",H),document.removeEventListener("touchend",r),M.classList.remove("tokui-slider__thumb--dragging"),t.attrs.clk){var n=e.eventBus?e.eventBus.getHandler(t.attrs.clk):null;n&&n({value:o,id:t.attrs.id})}z("change",{value:o,name:t.attrs.n||void 0})},Q=function(e){e.preventDefault(),H(e),document.addEventListener("mousemove",H),document.addEventListener("mouseup",j),document.addEventListener("touchmove",H),document.addEventListener("touchend",j),M.classList.add("tokui-slider__thumb--dragging")};I.addEventListener("mousedown",Q),I.addEventListener("touchstart",Q,{passive:!1})}F._update=function(e){if(void 0!==e.v){var t=parseFloat(e.v)||0;isNaN(n)||(t=Math.max(n,t)),isNaN(i)||(t=Math.min(i,t));var r=((o=t)-n)/(i-n)*100;O.style.width=r+"%",M.style.left=r+"%",P.textContent=String(o),R.value=o,M.setAttribute("aria-valuenow",String(o))}!0===e.dis||"true"===e.dis?I.classList.add("tokui-slider--disabled"):(!1===e.dis||"false"===e.dis)&&I.classList.remove("tokui-slider--disabled")};var q=o;return F.setAttribute("data-tokui-resettable",""),F._tokuiReset=function(){var e=((o=q)-n)/(i-n)*100;O.style.width=e+"%",M.style.left=e+"%",P.textContent=String(o),R.value=o,M.setAttribute("aria-valuenow",String(o))},I._variantTarget=I,F.appendChild(I),F})),e.register("rate",(function(t){var n=parseInt(t.attrs.max)||5,i=parseInt(t.attrs.v)||0,a=t.attrs.tx||"★",o="☆";if(void 0!==t.attrs.half){var s=parseFloat(t.attrs.v)||0;(s=Math.round(2*s)/2)>n&&(s=n),s<0&&(s=0);var c=r("div",{class:"tokui-field"});t.attrs.l&&c.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req"),for:t.attrs.id||""},t.attrs.l));var l=r("div",{class:"tokui-rate tokui-rate--half",role:"radiogroup","aria-label":t.attrs.l||p("rate.defaultLabel"),tabindex:"0"}),u=r("input",{type:"hidden"});t.attrs.id&&(u.id=t.attrs.id),t.attrs.n?u.name=t.attrs.n:t.attrs.id&&(u.name=t.attrs.id);for(var d=[],f=[],h=0;h<n;h++){var A=r("span",{class:"tokui-rate__star","data-index":String(h+1),role:"radio","aria-checked":"false"});A.appendChild(r("span",{class:"tokui-rate__star__base"},o));var g=r("span",{class:"tokui-rate__star__on"},a);A.appendChild(g),A.appendChild(r("span",{class:"tokui-rate__zone tokui-rate__zone--left"})),A.appendChild(r("span",{class:"tokui-rate__zone tokui-rate__zone--right"})),d.push(A),f.push(g),l.appendChild(A)}var m=r("span",{class:"tokui-rate__text"});l.appendChild(m),l.appendChild(u);var v=e.createReporter("rate",t.attrs,c);function b(e){for(var t=0;t<n;t++){var r=e>=t+1?100:e>=t+.5?50:0;f[t].style.width=r+"%",r>0?d[t].classList.add("tokui-rate__star--active"):d[t].classList.remove("tokui-rate__star--active"),50===r?d[t].classList.add("tokui-rate__star--half"):d[t].classList.remove("tokui-rate__star--half"),d[t].setAttribute("aria-checked",String(e>=t+1))}m.textContent=e>0?e+"/"+n:"",u.value=e}function k(e){var t=e.closest(".tokui-rate__star");if(!t)return null;var r=parseInt(t.getAttribute("data-index"));return e.classList.contains("tokui-rate__zone--left")?r-.5:r}void 0===t.attrs.ro?void 0===t.attrs.dis?(l.addEventListener("mouseover",(function(e){var t=e.target.closest?e.target.closest(".tokui-rate__zone"):null;t&&b(k(t))})),l.addEventListener("mouseout",(function(){b(s)})),l.addEventListener("click",(function(r){var i=r.target.closest?r.target.closest(".tokui-rate__zone"):null;if(i){var a=k(i);if(b(s=s===a?0:a),t.attrs.clk){var o=e.eventBus?e.eventBus.getHandler(t.attrs.clk):null;o&&o({value:s,max:n,id:t.attrs.id})}v("change",{value:s,name:t.attrs.n||void 0})}})),l.addEventListener("keydown",(function(e){if("ArrowRight"===e.key||"ArrowUp"===e.key)e.preventDefault(),s=Math.min(s+.5,n);else{if("ArrowLeft"!==e.key&&"ArrowDown"!==e.key)return;e.preventDefault(),s=Math.max(s-.5,0)}b(s),v("change",{value:s,name:t.attrs.n||void 0})}))):l.classList.add("tokui-rate--disabled"):l.classList.add("tokui-rate--readonly"),b(s),c._update=function(e){void 0!==e.v&&(s=parseFloat(e.v)||0,(s=Math.round(2*s)/2)>n&&(s=n),s<0&&(s=0),b(s)),!0===e.dis||"true"===e.dis?l.classList.add("tokui-rate--disabled"):(!1===e.dis||"false"===e.dis)&&l.classList.remove("tokui-rate--disabled")};var y=s;return c.setAttribute("data-tokui-resettable",""),c._tokuiReset=function(){b(s=y)},l._variantTarget=l,c.appendChild(l),c}var w=r("div",{class:"tokui-field"});t.attrs.l&&w.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req"),for:t.attrs.id||""},t.attrs.l));var x=r("div",{class:"tokui-rate",role:"radiogroup","aria-label":t.attrs.l||p("rate.defaultLabel"),tabindex:"0"}),_=r("input",{type:"hidden"});t.attrs.id&&(_.id=t.attrs.id),t.attrs.n?_.name=t.attrs.n:t.attrs.id&&(_.name=t.attrs.id),_.value=i;for(var C=[],E=0;E<n;E++){var T=r("span",{class:"tokui-rate__star","data-index":String(E+1),role:"radio","aria-checked":String(E<i)});T.textContent=E<i?a:o,E<i&&T.classList.add("tokui-rate__star--active"),C.push(T),x.appendChild(T)}var B=r("span",{class:"tokui-rate__text"});i>0&&(B.textContent=i+"/"+n),x.appendChild(B),x.appendChild(_);var S=e.createReporter("rate",t.attrs,w);void 0===t.attrs.ro?void 0===t.attrs.dis?(x.addEventListener("mouseover",(function(e){var t=e.target;if(t.classList.contains("tokui-rate__star"))for(var r=parseInt(t.getAttribute("data-index")),n=0;n<C.length;n++)C[n].textContent=n<r?a:o,C[n].classList.toggle("tokui-rate__star--hover",n<r)})),x.addEventListener("mouseout",(function(){for(var e=0;e<C.length;e++)C[e].textContent=e<i?a:o,C[e].classList.remove("tokui-rate__star--hover")})),x.addEventListener("click",(function(r){var s=r.target;if(s.classList.contains("tokui-rate__star")){var c=parseInt(s.getAttribute("data-index"));i=i===c?0:c,_.value=i,B.textContent=i>0?i+"/"+n:"";for(var l=0;l<C.length;l++)C[l].textContent=l<i?a:o,C[l].classList.toggle("tokui-rate__star--active",l<i),C[l].setAttribute("aria-checked",String(l<i));if(t.attrs.clk){var u=e.eventBus?e.eventBus.getHandler(t.attrs.clk):null;u&&u({value:i,max:n,id:t.attrs.id})}S("change",{value:i,name:t.attrs.n||void 0})}})),x.addEventListener("keydown",(function(e){if("ArrowRight"===e.key||"ArrowUp"===e.key)e.preventDefault(),i=Math.min(i+1,n);else{if("ArrowLeft"!==e.key&&"ArrowDown"!==e.key)return;e.preventDefault(),i=Math.max(i-1,0)}_.value=i,B.textContent=i>0?i+"/"+n:"";for(var r=0;r<C.length;r++)C[r].textContent=r<i?a:o,C[r].classList.toggle("tokui-rate__star--active",r<i),C[r].setAttribute("aria-checked",String(r<i));S("change",{value:i,name:t.attrs.n||void 0})}))):x.classList.add("tokui-rate--disabled"):x.classList.add("tokui-rate--readonly"),w._update=function(e){if(void 0!==e.v){(i=parseInt(e.v)||0)>n&&(i=n),i<0&&(i=0),_.value=i,B.textContent=i>0?i+"/"+n:"";for(var t=0;t<C.length;t++)C[t].textContent=t<i?a:o,C[t].classList.toggle("tokui-rate__star--active",t<i),C[t].setAttribute("aria-checked",String(t<i))}!0===e.dis||"true"===e.dis?x.classList.add("tokui-rate--disabled"):(!1===e.dis||"false"===e.dis)&&x.classList.remove("tokui-rate--disabled")};var D=i;return w.setAttribute("data-tokui-resettable",""),w._tokuiReset=function(){i=D,_.value=i,B.textContent=i>0?i+"/"+n:"";for(var e=0;e<C.length;e++)C[e].textContent=e<i?a:o,C[e].classList.toggle("tokui-rate__star--active",e<i),C[e].setAttribute("aria-checked",String(e<i))},x._variantTarget=x,w.appendChild(x),w})),e.register("transfer",(function(t,n){var i=r("div",{class:"tokui-field"});t.attrs.l&&i.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req")},t.attrs.l));var a=r("div",{class:"tokui-transfer"});function o(e){var t=r("div",{class:"tokui-transfer__panel",role:"listbox"}),n=r("div",{class:"tokui-transfer__header"}),i=r("input",{type:"checkbox",class:"tokui-transfer__check-all"});n.appendChild(i),n.appendChild(r("span",{},e));var a=r("span",{class:"tokui-transfer__count"},"0/0");n.appendChild(a),t.appendChild(n);var o=r("div",{class:"tokui-transfer__body"});return t.appendChild(o),t._body=o,t._header=n,t._checkAll=i,t._count=a,t._items=[],i.addEventListener("change",(function(){var e=i.checked;t._items.forEach((function(t){t._cb.checked=e})),b(t)})),t}function s(e,t,n){var i=r("label",{class:"tokui-transfer__item",role:"option","aria-selected":"false"});i.setAttribute("data-tokui-tag","opt"),void 0!==n&&i.setAttribute("data-tokui-idx",String(n));var a=r("input",{type:"checkbox",value:e});return i.appendChild(a),i.appendChild(r("span",{},t)),i._cb=a,a.addEventListener("change",(function(){var e=i.closest(".tokui-transfer__panel");e&&b(e)})),i}var c=t.attrs.tt||"Source",l=t.attrs.tt2||"Target",u=o(c),d=o(l);function p(e){return/^\d+$/.test(String(e).trim())?String(e).trim()+"px":String(e).trim()}[u,d].forEach((function(e){if(t.attrs.h){var r=p(t.attrs.h);e.style.height=r,e.style.minHeight=r,e.style.maxHeight=r}else t.attrs.mh&&(e.style.maxHeight=p(t.attrs.mh))}));var f=r("div",{class:"tokui-transfer__actions"}),h=r("button",{class:"tokui-transfer__btn",type:"button"},"→"),A=r("button",{class:"tokui-transfer__btn",type:"button"},"←");f.appendChild(h),f.appendChild(A);var g=r("input",{type:"hidden"});t.attrs.id&&(g.id=t.attrs.id),t.attrs.n?g.name=t.attrs.n:t.attrs.id&&(g.name=t.attrs.id);var m=e.createReporter("transfer",t.attrs,i);function v(){g.value=d._items.map((function(e){return e._cb.value})).join(",")}function b(e){var t=e._items.filter((function(e){return e._cb.checked})).length;e._count.textContent=t+"/"+e._items.length,e._checkAll.checked=t>0&&t===e._items.length}function k(r,n){var i=[];if(r._items=r._items.filter((function(e){return!e._cb.checked||(e._cb.checked=!1,n._body.appendChild(e),n._items.push(e),i.push(e),!1)})),b(r),b(n),v(),t.attrs.clk&&i.length>0){var a=e.eventBus?e.eventBus.getHandler(t.attrs.clk):null;a&&a({values:d._items.map((function(e){return e._cb.value})),id:t.attrs.id})}i.length>0&&m("change",{value:d._items.map((function(e){return e._cb.value})),name:t.attrs.n||void 0})}function y(e){var t=e.attrs&&e.attrs.v||"",r=e.attrs&&e.attrs.tx||t,n=e.attrs&&void 0!==e.attrs.chk,a=s(t,r,i._transferOptIdx++);return a.setAttribute("data-tokui-init-side",n?"right":"left"),n?(d._body.appendChild(a),d._items.push(a)):(u._body.appendChild(a),u._items.push(a)),b(u),b(d),v(),a}h.addEventListener("click",(function(){k(u,d)})),A.addEventListener("click",(function(){k(d,u)})),i._transferOptIdx=0;var w=r("div",{});return w.style.display="none",a.appendChild(u),a.appendChild(f),a.appendChild(d),a.appendChild(g),a.appendChild(w),void 0!==t.attrs.dis&&a.classList.add("tokui-transfer--disabled"),i._tokuiTransferAppend=function(e){return y(e)},t.children&&t.children.length&&function(e){(e||[]).forEach((function(e){"opt"===e.type&&y(e)})),b(u),b(d),v()}(t.children),i._streamCloseHook=function(){w.innerHTML=""},i._slot=w,i._tokuiType="transfer",a._variantTarget=a,i.setAttribute("data-tokui-resettable",""),i._tokuiReset=function(){u._items.concat(d._items).forEach((function(e){var t="right"===(e.getAttribute("data-tokui-init-side")||"left")?d:u,r=-1===d._items.indexOf(e)?u:d;r!==t&&(r._items.splice(r._items.indexOf(e),1),t._body.appendChild(e),t._items.push(e)),e._cb&&(e._cb.checked=!1)})),b(u),b(d),v()},i.appendChild(a),i})),e.register("numinput",(function(t){var n=parseFloat(t.attrs.min),i=parseFloat(t.attrs.max),a=parseFloat(t.attrs.step)||1,o=parseFloat(t.attrs.v)||0;isNaN(n)||(o=Math.max(n,o)),isNaN(i)||(o=Math.min(i,o));var s=void 0!==t.attrs.dis,c=r("div",{class:"tokui-field"});t.attrs.l&&c.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req")},t.attrs.l));var l=r("div",{class:"tokui-numinput"+(s?" tokui-numinput--disabled":"")}),u=r("button",{class:"tokui-numinput__btn tokui-numinput__btn--minus",type:"button"});u.textContent="−",l.appendChild(u);var d={class:"tokui-numinput__input",type:"text",value:String(o)};t.attrs.id&&(d.id=t.attrs.id),s&&(d.disabled="disabled");var p=r("input",d);l.appendChild(p);var f=r("button",{class:"tokui-numinput__btn tokui-numinput__btn--plus",type:"button"});f.textContent="+",l.appendChild(f);var h={type:"hidden"};t.attrs.n?h.name=t.attrs.n:t.attrs.id&&(h.name=t.attrs.id),h.value=String(o);var A=r("input",h);l.appendChild(A);var g=e.createReporter("numinput",t.attrs,c),m=e.debounce((function(){g("change",{value:o,name:t.attrs.n||void 0})}),parseInt(t.attrs.db)||300);if(!s){function v(e){var t=a<1?Math.pow(10,Math.ceil(-Math.log10(a))):1;e=function(e){return isNaN(n)||(e=Math.max(n,e)),isNaN(i)||(e=Math.min(i,e)),e}(e=Math.round(e*t)/t),o=e,p.value=String(o),A.value=o,m()}u.addEventListener("click",(function(){v(o-a)})),f.addEventListener("click",(function(){v(o+a)})),p.addEventListener("change",(function(){var e=parseFloat(p.value);isNaN(e)&&(e=0),v(e)}))}c._update=function(e){if(void 0!==e.v){var t=parseFloat(e.v)||0;isNaN(n)||(t=Math.max(n,t)),isNaN(i)||(t=Math.min(i,t)),o=t,p.value=String(o),A.value=o}!0===e.dis||"true"===e.dis?(p.disabled=!0,l.classList.add("tokui-numinput--disabled")):(!1===e.dis||"false"===e.dis)&&(p.disabled=!1,l.classList.remove("tokui-numinput--disabled"))};var b=o;return c.setAttribute("data-tokui-resettable",""),c._tokuiReset=function(){o=b,p.value=String(o),p.setAttribute("value",String(o)),A.value=o},c.appendChild(l),c._variantTarget=l,c}));var _=new Set(["primary","danger","success","warning","ghost","sm","lg","pill","square","block"]);function C(e){if(!e)return null;var t=e.match(/^(\d{4})-(\d{1,2})-(\d{1,2})/);return t?new Date(parseInt(t[1]),parseInt(t[2])-1,parseInt(t[3])):null}function T(e,t){var r=e.getFullYear(),n=e.getMonth()+1,i=e.getDate(),a=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return t.replace("YYYY",String(r)).replace("MM",n<10?"0"+n:String(n)).replace("DD",i<10?"0"+i:String(i)).replace("HH",a<10?"0"+a:String(a)).replace("mm",o<10?"0"+o:String(o)).replace("ss",s<10?"0"+s:String(s))}function B(e,t){var r=e.querySelector(".tokui-timepicker-column-list");if(r){var n=r.querySelectorAll(".tokui-timepicker-column-item");n.length&&(t<0&&(t=0),t>n.length-1&&(t=n.length-1),n.forEach((function(e,r){e.classList.toggle("tokui-timepicker-column-item--selected",r===t)})))}}function S(e,t){B(e,t);var r=e.querySelector(".tokui-timepicker-column-list");if(r){var n=r.querySelectorAll(".tokui-timepicker-column-item");if(n.length){t<0&&(t=0),t>n.length-1&&(t=n.length-1);var i=n[t],a=i.offsetHeight||32;if(r.clientHeight&&void 0!==i.offsetTop){var o=i.offsetTop+a/2-r.clientHeight/2;Math.abs(r.scrollTop-o)>1&&(r.scrollTop=o)}}}}function U(e){var t=e.querySelector(".tokui-timepicker-column-list");if(!t)return 0;var r=t.querySelectorAll(".tokui-timepicker-column-item");if(!r.length)return 0;if(r[0].getBoundingClientRect&&t.getBoundingClientRect){for(var n=t.getBoundingClientRect(),i=n.top+n.height/2,a=0,o=1/0,s=0;s<r.length;s++){var c=r[s].getBoundingClientRect(),l=Math.abs(c.top+c.height/2-i);l<o&&(o=l,a=s)}return a}var u=r[0].offsetHeight||32,d=Math.round((t.scrollTop+(t.clientHeight||192)/2)/u)-0;return Math.max(0,Math.min(d,r.length-1))}function F(e,t,n){for(var i=r("div",{class:"tokui-timepicker-column"}),a=r("div",{class:"tokui-timepicker-column-list"}),o=0;o<t;o++){var c=r("div",{class:"tokui-timepicker-column-item"+(o===n?" tokui-timepicker-column-item--selected":""),"data-value":String(o)},o<10?"0"+o:String(o));c.addEventListener("click",(function(e){e.stopPropagation(),S(i,parseInt(this.getAttribute("data-value"),10))})),a.appendChild(c)}i.appendChild(a);var l=0,u=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:function(e){setTimeout(e,16)};return a.addEventListener("scroll",(function(){l||(l=1,u((function(){l=0,B(i,U(i))})))})),i._label=e,i}function I(e){var t=U(e);B(e,t);var r=e.querySelector(".tokui-timepicker-column-list").querySelectorAll(".tokui-timepicker-column-item");return parseInt(r[t].getAttribute("data-value"))||0}function L(e,t){S(e,t)}e.register("btn",(function(e){var t=c(e.attrs),i="submit"===t.act?"submit":"reset"===t.act?"reset":"button",a="tokui-btn";e.attrs.t&&_.has(e.attrs.t)&&(a+=" tokui-btn--"+e.attrs.t),"print"===t.act&&(a+=" tokui-btn--print");var o={class:a,type:i};t.formId&&(o["data-tokui-form"]=t.formId),t.act&&(o["data-tokui-act"]=t.act),"submit"===t.act&&t.handler&&(o["data-tokui-sub"]=t.handler),"reset"===t.act&&t.handler&&(o["data-tokui-handler"]=t.handler),"print"===t.act&&(o["data-tokui-target"]=t.target,o["data-tokui-print-trigger"]=""),!t.act&&t.handler&&(o["data-tokui-clk"]=t.handler),e.attrs.id&&(o.id=e.attrs.id),void 0!==e.attrs.dis&&(o.disabled="disabled"),Object.keys(e.attrs).forEach((function(t){t.startsWith("data-")&&(o[t]=e.attrs[t])}));var s="",l=n(e.attrs.w);l&&(s+="width:"+l+";");var p=u(e.attrs.bg);p&&(s+="background:"+p+";");var f=u(e.attrs.fc);f&&(s+="color:"+f+";");var h=n(e.attrs.radius);h&&(s+="border-radius:"+h+";"),s&&(o.style=s);var A=e.attrs.tx||e.content||"",g=e.attrs.icon,m=e.attrs.i,v=g?d(g,16):"",b=!(!g&&!m),k=r("button",o);if(k._tokuiType="btn",!A&&b){k.classList.add("tokui-btn--icon-only");var y=e.attrs.l||e.attrs.tt||g||"";y&&(k.setAttribute("aria-label",y),k.setAttribute("data-tokui-tip",y))}if(g){var w=r("span",{class:"tokui-btn__icon"});w.innerHTML=v,k.appendChild(w),k.classList.add("tokui-btn--has-icon")}else if(m){var x=r("span",{class:"tokui-btn__icon tokui-btn__icon--emoji"},m);k.appendChild(x),k.classList.add("tokui-btn--has-icon")}var C=null;return A&&(C=r("span",{class:"tokui-btn__text"},A),k.appendChild(C)),k._tokuiTextSpan=C,k._update=function(e){!0===e.dis||"true"===e.dis?k.disabled=!0:(!1===e.dis||"false"===e.dis)&&(k.disabled=!1),void 0!==e.tx&&C&&(C.textContent=e.tx)},k})),e.register("print-area",(function(e,t){var n={class:"tokui-print-area"};e.attrs.id&&(n.id=e.attrs.id);var i=r("div",n);e.attrs.tt&&i.appendChild(r("div",{class:"tokui-print-area__title"},e.attrs.tt));var a=r("div",{class:"tokui-print-area__body"});return t(e.children).forEach((function(e){e&&e.nodeType&&a.appendChild(e)})),i.appendChild(a),i._slot=a,i._tokuiType="print-area",i})),e.register("btngroup",(function(e,t){var n={class:"tokui-btn-group"};e.attrs.id&&(n.id=e.attrs.id);var i=r("div",n);return t(e.children).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i._slot=i,i._tokuiType="btngroup",i})),e.register("cascader",(function(t,n){var i=void 0!==t.attrs.dis,a=t.attrs.ph||p("select.placeholder"),o=r("div",{class:"tokui-field"});t.attrs.l&&o.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req")},t.attrs.l)),t.attrs.id&&(o.id=t.attrs.id);var c=r("div",{class:"tokui-cascader"+(i?" tokui-cascader--disabled":""),role:"combobox","aria-expanded":"false"}),l=r("div",{class:"tokui-cascader-control"}),u=r("input",{class:"tokui-cascader-input",type:"text",readonly:"readonly",placeholder:a}),d=r("span",{class:"tokui-cascader-arrow"});l.appendChild(u),l.appendChild(d),c.appendChild(l);var f=r("div",{class:"tokui-cascader-menus",role:"listbox"});c.appendChild(f);var h=r("input",{type:"hidden"});t.attrs.n?h.name=t.attrs.n:t.attrs.id&&(h.name=t.attrs.id),c.appendChild(h);var A=r("div",{});function g(e){var t={},r=[];return(e||[]).forEach((function(e){if("opt"===e.type){var r=e.attrs.v||"";t[r]={v:r,tx:e.attrs.tx||r,p:e.attrs.p||"",children:[]}}})),Object.keys(t).forEach((function(e){var n=t[e];n.p&&t[n.p]?t[n.p].children.push(n):r.push(n)})),r}function m(e){var t=r("div",{class:"tokui-cascader-menu"});return e.forEach((function(e){var n=r("div",{class:"tokui-cascader-option"+(e.children.length?" tokui-cascader-option--expand":""),"data-value":e.v,"data-text":e.tx});n.textContent=e.tx,t.appendChild(n)})),t}function v(e,t){e.querySelectorAll(".tokui-cascader-option").forEach((function(e){e.classList.toggle("tokui-cascader-option--active",e.getAttribute("data-value")===t)}))}function b(e,t){f.innerHTML="";for(var r=e,n=0;n<t.length;n++){var i=m(r);v(i,t[n]),f.appendChild(i);for(var a=!1,o=0;o<r.length;o++)if(r[o].v===t[n]){r=r[o].children,a=!0;break}if(!a)break}r&&r.length&&f.appendChild(m(r))}A.style.display="none",c.appendChild(A),o.appendChild(c);var k=c._cascaderState=c._cascaderState||{isOpen:!1,activeValues:[],tree:null};function y(){k.isOpen=!1,k.activeValues=[],c.classList.remove("tokui-cascader--open"),c.setAttribute("aria-expanded","false")}var w=e.createReporter("cascader",t.attrs,o);c._cascaderBindDone||(c._cascaderBindDone=!0,l.addEventListener("click",(function(e){e.stopPropagation(),k.isOpen?y():k.tree&&function(e){if(!i){k.isOpen=!0,k.tree=e,c.classList.add("tokui-cascader--open"),c.setAttribute("aria-expanded","true");var t=l.getBoundingClientRect();f.style.left=t.left+"px",f.style.top=t.bottom+4+"px",f.style.minWidth=t.width+"px",b(e,k.activeValues)}}(k.tree)})),f.addEventListener("click",(function(e){e.stopPropagation();var r=e.target.closest(".tokui-cascader-option");if(r){var n=r.getAttribute("data-value");if(r.getAttribute("data-text"),k.tree){var i=function(e,t){return function e(r,n){for(var i=0;i<r.length;i++){var a=n.concat([{v:r[i].v,tx:r[i].tx,node:r[i]}]);if(r[i].v===t)return a;var o=e(r[i].children,a);if(o)return o}return null}(e,[])}(k.tree,n);if(i){var a=i[i.length-1].node;if(v(r.parentElement,n),a.children.length>0)k.activeValues=i.map((function(e){return e.v})),b(k.tree,k.activeValues);else{var o=i.map((function(e){return e.tx})).join(" / "),c=i.map((function(e){return e.v})).join("/");if(u.value=o,h.value=c,y(),t.attrs.clk){var l=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&window.TokUI._internal.TokUIEventBus?window.TokUI._internal.TokUIEventBus.getHandler(t.attrs.clk):null;l&&l({id:t.attrs.id,value:c,text:o,path:i})}w("change",{value:c,name:t.attrs.n||void 0})}}}}})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener("click",(function(){k.isOpen&&y()})));var x={hidden:"",text:""};function _(e){if(k.tree=e,t.attrs.v){for(var r=String(t.attrs.v).split("/"),n=!0,i=[],a=e,o=0;o<r.length;o++){for(var s=!1,c=0;c<a.length;c++)if(a[c].v===r[o]){i.push(a[c].tx),a=a[c].children,s=!0;break}if(!s){n=!1;break}}n&&i.length===r.length&&(u.value=i.join(" / "),h.value=t.attrs.v)}x.hidden=h.value,x.text=u.value}return t.children&&t.children.length&&_(g(t.children)),o._streamCloseHook=function(){A.innerHTML="",_(g(t.children))},o._slot=A,o._tokuiType="cascader",o._variantTarget=c,o.setAttribute("data-tokui-resettable",""),o._tokuiReset=function(){h.value=x.hidden,u.value=x.text,k.isOpen&&y()},o})),e.register("upload",(function(t){var n=void 0!==t.attrs.dis,i=void 0!==t.attrs.multi,a=parseInt(t.attrs.max)||0,o=t.attrs.ph||p("upload.hint"),c=t.attrs.accept||"",l="";t.attrs.u&&(/^(https?:\/\/|\/)/i.test(t.attrs.u)?l=t.attrs.u:console.warn("TokUI: upload u: 仅支持 http(s) 或以 / 开头的路径,已忽略: "+t.attrs.u));var u=(t.attrs.mtd||"POST").toUpperCase(),d=t.attrs.n||"file",f=r("div",{class:"tokui-field"});t.attrs.l&&f.appendChild(r("label",{class:"tokui-label"+(void 0===t.attrs.req?"":" tokui-label--req")},t.attrs.l)),t.attrs.id&&(f.id=t.attrs.id);var h=r("div",{class:"tokui-upload"+(n?" tokui-upload--disabled":"")}),A=r("div",{class:"tokui-upload-dropzone",role:"button","aria-label":o,tabindex:"0"}),g=r("div",{class:"tokui-upload-icon"});g.innerHTML='<svg viewBox="0 0 48 48" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M24 32V12"/><path d="M16 20l8-8 8 8"/><path d="M8 36h32"/></svg>',A.appendChild(g);var m=r("div",{class:"tokui-upload-text"});m.textContent=o,A.appendChild(m);var v=r("button",{class:"tokui-upload-btn",type:"button"});v.textContent=p("upload.browse"),A.appendChild(v),h.appendChild(A);var b={type:"file",style:"display:none"};c&&(b.accept=c),i&&(b.multiple="multiple");var k=r("input",b);h.appendChild(k);var y=r("div",{class:"tokui-upload-filelist"});h.appendChild(y);var w=r("input",{type:"hidden"});t.attrs.n?w.name=t.attrs.n:t.attrs.id&&(w.name=t.attrs.id),h.appendChild(w);var x=[],_=e.createReporter("upload",t.attrs,f);function C(){_("change",{value:x.map((function(e){return e.name})),name:t.attrs.n||void 0})}function E(){y.innerHTML="",x.forEach((function(e,t){var n=r("div",{class:"tokui-upload-file"}),i=r("span",{class:"tokui-upload-file-icon"});i.textContent="📄",n.appendChild(i);var a=r("span",{class:"tokui-upload-file-name"});a.textContent=e.name,a.title=e.name,n.appendChild(a);var o=r("span",{class:"tokui-upload-file-size"});if(o.textContent=function(e){return e<1024?e+" B":e<1048576?(e/1024).toFixed(1)+" KB":(e/1048576).toFixed(1)+" MB"}(e.size),n.appendChild(o),"uploading"===e.status){var s=r("div",{class:"tokui-upload__progress",role:"progressbar",title:p("upload.uploading")}),c=r("div",{class:"tokui-upload__progress-bar"});c.style.width=(e.percent||0)+"%",s.appendChild(c),n.appendChild(s);var l=r("span",{class:"tokui-upload__percent"});l.textContent=(e.percent||0)+"%",n.appendChild(l)}else if("done"===e.status)n.appendChild(r("span",{class:"tokui-upload__status tokui-upload__status--done",title:p("upload.done")},"✓"));else if("error"===e.status){n.appendChild(r("span",{class:"tokui-upload__status tokui-upload__status--error",title:p("upload.failed")},"✗"));var u=r("button",{class:"tokui-upload__retry",type:"button"},p("upload.retry"));u.setAttribute("data-idx",t),n.appendChild(u)}var d=r("span",{class:"tokui-upload-file-remove"});d.textContent="✕",d.setAttribute("data-idx",t),n.appendChild(d),y.appendChild(n)})),w.value=x.map((function(e){return e.name})).join(",")}function T(e){if(("undefined"==typeof XMLHttpRequest?"undefined":Object(s.a)(XMLHttpRequest))>"u")return e.status=void 0,void E();e.status="uploading",e.percent=0,E();var t=new XMLHttpRequest;t.open(u,l,!0);var r=new FormData;r.append(d,e.file,e.name),t.upload&&"function"==typeof t.upload.addEventListener&&t.upload.addEventListener("progress",(function(t){var r=t&&t.total?Math.round(t.loaded/t.total*100):0;e.percent=r,E(),_("progress",{file:e.name,percent:r})})),t.onload=function(){t.status>=200&&t.status<300?(e.status="done",E(),_("success",{file:e.name,response:t.responseText})):(e.status="error",E(),_("error",{file:e.name,error:"HTTP "+t.status}))},t.onerror=function(){e.status="error",E(),_("error",{file:e.name,error:"network error"})},t.send(r)}function B(r){for(var n=[],i=0;i<r.length&&!(a&&x.length>=a);i++){var o={name:r[i].name,size:r[i].size,type:r[i].type};l&&(o.file=r[i],o.status="uploading",o.percent=0,n.push(o)),x.push(o)}if(E(),t.attrs.clk){var s=e.eventBus?e.eventBus.getHandler(t.attrs.clk):null;s&&s({id:t.attrs.id,files:x})}C();for(var c=0;c<n.length;c++)T(n[c])}return n||(A.addEventListener("click",(function(e){(e.target===v||A.contains(e.target))&&k.click()})),v.addEventListener("click",(function(e){e.stopPropagation(),k.click()})),k.addEventListener("change",(function(){k.files&&k.files.length&&(B(k.files),k.value="")})),A.addEventListener("dragover",(function(e){e.preventDefault(),h.classList.add("tokui-upload--dragover")})),A.addEventListener("dragleave",(function(e){e.preventDefault(),h.classList.remove("tokui-upload--dragover")})),A.addEventListener("drop",(function(e){e.preventDefault(),h.classList.remove("tokui-upload--dragover"),e.dataTransfer&&e.dataTransfer.files.length&&B(e.dataTransfer.files)})),y.addEventListener("click",(function(e){var t=e.target.closest(".tokui-upload__retry");if(t){var r=parseInt(t.getAttribute("data-idx"));!isNaN(r)&&r>=0&&r<x.length&&T(x[r])}else{var n=e.target.closest(".tokui-upload-file-remove");if(n){var i=parseInt(n.getAttribute("data-idx"));!isNaN(i)&&i>=0&&i<x.length&&(x.splice(i,1),E(),C())}}}))),f.appendChild(h),f._variantTarget=h,f._update=function(e){"clear"===e.act&&(x.length=0,k.value="",E())},f}));var O=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal?window.TokUI._internal._datePickers=window.TokUI._internal._datePickers||new Set:new Set;function M(e){var t=[];O.forEach((function(r){r!==e&&t.push(r)})),t.forEach((function(e){try{e()}catch(e){}})),O.add(e)}function P(e){O.delete(e)}function R(){return("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.innerWidth?window.innerWidth:("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:1024}function N(e,t,n,i,a,o){var s=r("div",{class:"tokui-datepicker-header"}),c=r("button",{class:"tokui-datepicker-nav tokui-datepicker-nav--prev",type:"button"});c.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"/></svg>';var l=r("button",{class:"tokui-datepicker-nav tokui-datepicker-nav--next",type:"button"});l.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 18 15 12 9 6"/></svg>';var u=r("span",{class:"tokui-datepicker-title"},p("datepicker.title",{y:e,m:t+1}));s.appendChild(c),s.appendChild(u),s.appendChild(l),a.appendChild(s);var d=[p("datepicker.weekday.0"),p("datepicker.weekday.1"),p("datepicker.weekday.2"),p("datepicker.weekday.3"),p("datepicker.weekday.4"),p("datepicker.weekday.5"),p("datepicker.weekday.6")],f=r("div",{class:"tokui-datepicker-weekdays"});d.forEach((function(e){f.appendChild(r("span",{class:"tokui-datepicker-weekday"},e))})),a.appendChild(f);for(var h=r("div",{class:"tokui-datepicker-grid"}),A=new Date(e,t,1).getDay(),g=new Date(e,t+1,0).getDate(),m=new Date(e,t,0).getDate(),v=i.getDate(),b=i.getFullYear()===e&&i.getMonth()===t,k=A-1;k>=0;k--)h.appendChild(r("span",{class:"tokui-datepicker-day tokui-datepicker-day--other"},String(m-k)));for(var y=1;y<=g;y++){var w=["tokui-datepicker-day"];if(b&&y===v&&w.push("tokui-datepicker-day--today"),n&&n.getFullYear()===e&&n.getMonth()===t&&n.getDate()===y&&w.push("tokui-datepicker-day--selected"),o&&(o.start||o.end)){var x=new Date(e,t,y).getTime(),_=o.start?o.start.getTime():null,C=o.end?o.end.getTime():null;null!==_&&x===_&&w.push("tokui-datepicker-day--range-start"),null!==C&&x===C&&w.push("tokui-datepicker-day--range-end"),null!==_&&null!==C&&x>_&&x<C&&w.push("tokui-datepicker-day--in-range")}var E=r("span",{class:w.join(" "),"data-day":String(y)},String(y));h.appendChild(E)}for(var T=42-A-g,B=1;B<=T;B++)h.appendChild(r("span",{class:"tokui-datepicker-day tokui-datepicker-day--other"},String(B)));return a.appendChild(h),{prevBtn:c,nextBtn:l}}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&!window.TokUI._internal._dateScrollBound&&(window.addEventListener("scroll",(function(){var e=[];O.forEach((function(t){e.push(t)})),O.clear(),e.forEach((function(e){try{e()}catch(e){}}))})),window.TokUI._internal._dateScrollBound=!0),e.register("datepicker",(function(t){var n=t.attrs||{},i=void 0!==n.dis,a=n.fmt||"YYYY-MM-DD",o=void 0!==n.range,c=n.ph||(o?"YYYY-MM-DD ~ YYYY-MM-DD":a),l=n.v||"",u=null,d=null;if(o&&l){var p=String(l).split(" ~ ");if(u=C(p[0]),d=p.length>1?C(p[1]):null,u&&d&&d.getTime()<u.getTime()){var f=u;u=d,d=f}}var h=r("div",{class:"tokui-field"});n.l&&h.appendChild(r("label",{class:"tokui-label"+(void 0===n.req?"":" tokui-label--req")},n.l));var A=["tokui-datepicker"];i&&A.push("tokui-datepicker--disabled");var g=r("div",{class:A.join(" ")}),m=r("div",{class:"tokui-datepicker-control"}),v={class:"tokui-datepicker-input",type:"text",readonly:"readonly",placeholder:c};n.id&&(v.id=n.id),i&&(v.disabled="disabled"),l&&(v.value=l);var b=r("input",v);m.appendChild(b);var k=r("span",{class:"tokui-datepicker-icon"});k.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>',m.appendChild(k),g.appendChild(m);var y,w,x,_=r("div",{class:"tokui-datepicker-dropdown"}),E=new Date;l&&((x=C(l))&&(y=x.getFullYear(),w=x.getMonth())),y||(y=E.getFullYear(),w=E.getMonth());var B=r("input",{type:"hidden"});n.n?B.name=n.n:n.id&&(B.name=n.id),B.value=l,g.appendChild(B);var S=e.createReporter("datepicker",n,h);function D(e,t){_.innerHTML="";var r=N(e,t,x,E,_,o?{start:u,end:d}:null);r.prevBtn.addEventListener("click",(function(e){e.stopPropagation(),--w<0&&(w=11,y--),D(y,w)})),r.nextBtn.addEventListener("click",(function(e){e.stopPropagation(),++w>11&&(w=0,y++),D(y,w)}))}D(y,w),_.style.display="none",g.appendChild(_);var U=!1;function F(){U&&(U=!1,_.style.display="none",g.classList.remove("tokui-datepicker--open"),P(F))}return i||(m.addEventListener("click",(function(e){e.stopPropagation(),U?F():function(){if(!i&&!U){M(F),U=!0,_.style.display="",g.classList.add("tokui-datepicker--open");var e=m.getBoundingClientRect();_.style.left=e.left+"px",_.style.top=e.bottom+4+"px",_.style.width="auto";var t=R();e.left+_.offsetWidth>t-8&&(_.style.left=Math.max(8,t-_.offsetWidth-8)+"px")}}()})),_.addEventListener("click",(function(t){t.stopPropagation();var r=t.target.closest(".tokui-datepicker-day");if(r&&!r.classList.contains("tokui-datepicker-day--other")){var i=parseInt(r.getAttribute("data-day"));if(o){var s=new Date(y,w,i);if(!u||u&&d?(u=s,d=null):s.getTime()<u.getTime()?(d=u,u=s):d=s,u&&d){var c=T(u,"YYYY-MM-DD")+" ~ "+T(d,"YYYY-MM-DD");if(b.value=c,B.value=c,F(),n.clk){var l=e.eventBus?e.eventBus.getHandler(n.clk):null;l&&l({value:c,start:u,end:d,id:n.id})}S("change",{value:c,name:n.n||void 0})}return void D(y,w)}var p=T(x=new Date(y,w,i),a);if(b.value=p,B.value=p,F(),D(y,w),n.clk){var f=e.eventBus?e.eventBus.getHandler(n.clk):null;f&&f({value:p,date:x,id:n.id})}S("change",{value:p,name:n.n||void 0})}})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener("click",(function(e){g.contains(e.target)||F()}))),h.appendChild(g),h._variantTarget=g,h})),e.register("timepicker",(function(t){var n=t.attrs||{},i=void 0!==n.dis,a=n.fmt||"HH:mm",o=n.ph||a,c=n.v||"",l=r("div",{class:"tokui-field"});n.l&&l.appendChild(r("label",{class:"tokui-label"+(void 0===n.req?"":" tokui-label--req")},n.l));var u=["tokui-timepicker"];i&&u.push("tokui-timepicker--disabled");var d=r("div",{class:u.join(" ")}),f=r("div",{class:"tokui-timepicker-control"}),h={class:"tokui-timepicker-input",type:"text",readonly:"readonly",placeholder:o};n.id&&(h.id=n.id),i&&(h.disabled="disabled"),c&&(h.value=c);var A=r("input",h);f.appendChild(A);var g=r("span",{class:"tokui-timepicker-icon"});g.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>',f.appendChild(g),d.appendChild(f);var m=0,v=0,b=0;if(c){var k=c.split(":");m=parseInt(k[0])||0,v=parseInt(k[1])||0,b=parseInt(k[2])||0}var y=r("div",{class:"tokui-timepicker-dropdown"}),w=-1!==a.indexOf("ss")||-1!==a.indexOf("s"),x=r("div",{class:"tokui-timepicker-columns"}),_=F(p("duration.hour"),24,m),C=F(p("duration.minute"),60,v);x.appendChild(_),x.appendChild(C);var E=null;w&&(E=F(p("duration.second"),60,b),x.appendChild(E)),y.appendChild(x);var T=r("div",{class:"tokui-timepicker-footer"}),B=r("button",{class:"tokui-timepicker-confirm",type:"button"},p("common.ok"));T.appendChild(B),y.appendChild(T);var S=r("input",{type:"hidden"});n.n?S.name=n.n:n.id&&(S.name=n.id),S.value=c,d.appendChild(S);var D=e.createReporter("timepicker",n,l);y.style.display="none",d.appendChild(y);var U=!1;function O(){U&&(U=!1,y.style.display="none",d.classList.remove("tokui-timepicker--open"),P(O))}return i||(f.addEventListener("click",(function(e){e.stopPropagation(),U?O():function(){if(!i&&!U){M(O),U=!0,y.style.display="",d.classList.add("tokui-timepicker--open");var e=f.getBoundingClientRect();y.style.left=e.left+"px",y.style.top=e.bottom+4+"px",y.style.width="auto";var t=R();e.left+y.offsetWidth>t-8&&(y.style.left=Math.max(8,t-y.offsetWidth-8)+"px"),L(_,m),L(C,v),w&&E&&L(E,b)}}()})),B.addEventListener("click",(function(t){t.stopPropagation(),m=I(_),v=I(C),w&&E&&(b=I(E));var r=function(e,t,r,n){return n.replace("HH",e<10?"0"+e:String(e)).replace("mm",t<10?"0"+t:String(t)).replace("ss",r<10?"0"+r:String(r))}(m,v,b,a);if(A.value=r,S.value=r,O(),n.clk){var i=e.eventBus?e.eventBus.getHandler(n.clk):null;i&&i({value:r,hour:m,minute:v,second:b,id:n.id})}D("change",{value:r,name:n.n||void 0})})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener("click",(function(e){d.contains(e.target)||O()}))),l.appendChild(d),l._variantTarget=d,l})),e.register("datetimepicker",(function(t){var n=t.attrs||{},i=void 0!==n.dis,a=n.fmt||"YYYY-MM-DD HH:mm",o=n.ph||a,c=n.v||"",l=r("div",{class:"tokui-field"});n.l&&l.appendChild(r("label",{class:"tokui-label"+(void 0===n.req?"":" tokui-label--req")},n.l));var u=["tokui-datetimepicker"];i&&u.push("tokui-datetimepicker--disabled");var d=r("div",{class:u.join(" ")}),f=r("div",{class:"tokui-datetimepicker-control"}),h={class:"tokui-datetimepicker-input",type:"text",readonly:"readonly",placeholder:o};n.id&&(h.id=n.id),i&&(h.disabled="disabled"),c&&(h.value=c);var A=r("input",h);f.appendChild(A);var g=r("span",{class:"tokui-datetimepicker-icon"});g.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>',f.appendChild(g),d.appendChild(f);var m,v,b,k=new Date,y=0,w=0,x=0;c&&((b=function(e){if(!e)return null;var t=e.match(/^(\d{4})-(\d{1,2})-(\d{1,2})\s+(\d{1,2}):(\d{1,2})/);return t?new Date(parseInt(t[1]),parseInt(t[2])-1,parseInt(t[3]),parseInt(t[4]),parseInt(t[5])):null}(c)||C(c))&&(m=b.getFullYear(),v=b.getMonth(),y=b.getHours(),w=b.getMinutes(),x=b.getSeconds())),m||(m=k.getFullYear(),v=k.getMonth());var _=r("input",{type:"hidden"});n.n?_.name=n.n:n.id&&(_.name=n.id),_.value=c,d.appendChild(_);var E=e.createReporter("datetimepicker",n,l),B=r("div",{class:"tokui-datetimepicker-dropdown"}),S=r("div",{class:"tokui-datetimepicker-date"}),D=-1!==a.indexOf("ss")||-1!==a.indexOf("s"),U=r("div",{class:"tokui-datetimepicker-time"}),O=r("div",{class:"tokui-timepicker-columns"}),z=F(p("duration.hour"),24,y),H=F(p("duration.minute"),60,w);O.appendChild(z),O.appendChild(H);var j=null;function Q(e,t){S.innerHTML="";var r=N(e,t,b,k,S);r.prevBtn.addEventListener("click",(function(e){e.stopPropagation(),--v<0&&(v=11,m--),Q(m,v)})),r.nextBtn.addEventListener("click",(function(e){e.stopPropagation(),++v>11&&(v=0,m++),Q(m,v)}))}D&&(j=F(p("duration.second"),60,x),O.appendChild(j)),U.appendChild(O);var q=r("div",{class:"tokui-datetimepicker-footer"}),W=r("button",{class:"tokui-timepicker-confirm",type:"button"},p("common.ok"));q.appendChild(W);var K=r("div",{class:"tokui-datetimepicker-body"});K.appendChild(S),K.appendChild(U),B.appendChild(K),B.appendChild(q),Q(m,v),B.style.display="none",d.appendChild(B);var V=!1;function G(){V&&(V=!1,B.style.display="none",d.classList.remove("tokui-datetimepicker--open"),P(G))}return i||(f.addEventListener("click",(function(e){e.stopPropagation(),V?G():function(){if(!i&&!V){M(G),V=!0,B.style.display="",d.classList.add("tokui-datetimepicker--open");var e=f.getBoundingClientRect();B.style.left=e.left+"px",B.style.top=e.bottom+4+"px",B.style.width="auto";var t=B.offsetWidth,r=R();e.left+t>r-8&&(B.style.left=Math.max(8,r-t-8)+"px"),L(z,y),L(H,w),D&&j&&L(j,x)}}()})),S.addEventListener("click",(function(e){e.stopPropagation();var t=e.target.closest(".tokui-datepicker-day");if(t&&!t.classList.contains("tokui-datepicker-day--other")){var r=parseInt(t.getAttribute("data-day"));b=new Date(m,v,r),Q(m,v)}})),W.addEventListener("click",(function(t){t.stopPropagation(),b||(b=new Date(m,v,k.getDate())),y=I(z),w=I(H),D&&j&&(x=I(j)),b.setHours(y,w,x);var r=T(b,a);if(A.value=r,_.value=r,G(),n.clk){var i=e.eventBus?e.eventBus.getHandler(n.clk):null;i&&i({value:r,date:b,id:n.id})}E("change",{value:r,name:n.n||void 0})})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener("click",(function(e){d.contains(e.target)||G()}))),l.appendChild(d),l._variantTarget=d,l}))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerFormComponents=c,window.TokUI._internal._parseOptShorthand=r,window.TokUI._internal._expandOptChildren=o),void 0!==t&&t.exports&&(t.exports={registerFormComponents:c,_parseOptShorthand:r,_expandOptChildren:o})})),I=h((function(e,t){var r="function"==typeof m?v().t:window.TokUI&&window.TokUI._internal&&window.TokUI._internal.t||function(e){return e};function n(e){var t=("function"==typeof m?x():window.TokUI._internal).el,n=/^(background-color|color|border(-radius|-top|-bottom|-left|-right)?|padding(-top|-bottom|-left|-right)?|margin(-top|-bottom|-left|-right)?|text-align|max-width|min-height|box-shadow|opacity|font-size|font-weight|line-height|border-radius|overflow|cursor|gap|display|flex-wrap|align-items|justify-content|width|height|float|clear|visibility|white-space|word-break|text-overflow|text-decoration|list-style|vertical-align|transition|transform)$/;function i(e){if(e)return e.split(";").filter((function(e){var t=e.split(":")[0].trim().toLowerCase();return t&&n.test(t)})).join(";")||void 0}function a(e,r){var n=e.attrs||{},i=parseInt(n.span)||1,a=t("div",{class:"tokui-desc__item","data-tokui-tag":e.type});if(i>1){var o=r?Math.min(i,r):i;a.style.gridColumn="span "+o}var s=t("div",{class:"tokui-desc__label"});s.textContent=n.l||"",a.appendChild(s);var c=t("div",{class:"tokui-desc__value"});return c.textContent=n.tx||e.content||"",a.appendChild(c),a}function o(e,r,n,i,a){var o={type:"radio",name:i,class:"tokui-tabs-input","data-index":String(a)};0===a&&(o.checked="checked");var s=t("input",o);s.id=i+"-"+a,e.appendChild(s);var c=t("label",{class:"tokui-tabs-label",for:i+"-"+a,"data-index":String(a),"data-tokui-tag":"tab",role:"tab",tabindex:"0"},r.attrs.tt||"Tab "+(a+1));e.appendChild(c);var l=t("div",{class:"tokui-tabs-panel",role:"tabpanel","data-index":String(a)});n(r.children||[]).forEach((function(e){e&&e.nodeType&&l.appendChild(e)})),e.appendChild(l)}function c(e){for(var t=e.querySelectorAll(".tokui-desc__item--last-row"),r=0;r<t.length;r++)t[r].classList.remove("tokui-desc__item--last-row");var n=e.querySelectorAll(".tokui-desc__item");if(n.length){var i="";try{i=(e.style.getPropertyValue("--tokui-desc-cols")||"").trim()}catch(e){}var a=parseInt(i,10)||3,o=!1,s=n[n.length-1];if(s.getBoundingClientRect){var c=s.getBoundingClientRect().top;if(0!==c){for(var l=n.length-1;l>=0&&Math.abs(n[l].getBoundingClientRect().top-c)<1;l--)n[l].classList.add("tokui-desc__item--last-row");o=!0}}if(!o)for(var u=(Math.ceil(n.length/a)-1)*a;u<n.length;u++)n[u].classList.add("tokui-desc__item--last-row")}}function l(e){if(c(e),!(("undefined"==typeof MutationObserver?"undefined":Object(s.a)(MutationObserver))>"u")){var t=new MutationObserver((function(){e.isConnected?c(e):t.disconnect()}));t.observe(e,{childList:!0}),"function"==typeof requestAnimationFrame&&requestAnimationFrame((function(){e.isConnected&&c(e)}))}}function u(e,r){var n=e.attrs||{},i=t("div",{class:"tokui-carousel__slide","data-tokui-tag":e.type});if(n.s){var a=t("img",{src:n.s,alt:n.tt||""});a.style.width="100%",a.style.display="block",i.appendChild(a)}if(r(e.children||[]).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),n.tt||n.tx){var o=t("div",{class:"tokui-carousel__slide-body"});n.tt&&o.appendChild(t("div",{class:"tokui-carousel__slide-title"},n.tt)),n.tx&&o.appendChild(t("div",{class:"tokui-carousel__slide-desc"},n.tx)),i.appendChild(o)}return i}function d(e){if(void 0!==e._menuValue)return e._menuValue;var t=e.querySelector(".tokui-menu__text");return t?t.textContent:e.textContent}function p(e,t){var r=e.closest(".tokui-menu");r&&r.querySelectorAll(".tokui-menu__item--active").forEach((function(e){e.classList.remove("tokui-menu__item--active")})),e.classList.add("tokui-menu__item--active"),!t&&r&&r._report&&r._report("change",{value:d(e)})}function f(e,r){var n=e.attrs||{},i=["tokui-menu__item"];void 0!==n.dis&&i.push("tokui-menu__item--disabled"),r&&n.clk===r&&i.push("tokui-menu__item--active");var a=t("div",{class:i.join(" "),role:"menuitem",tabindex:"0"});if(n.i){var o=t("span",{class:"tokui-menu__icon"},n.i);a.appendChild(o)}var s=t("span",{class:"tokui-menu__text"},n.tx||e.content||"");return a.appendChild(s),a._menuValue=n.id||n.v||n.tx||e.content||"",void 0===n.dis&&(n.clk&&a.setAttribute("data-tokui-clk",n.clk),a.addEventListener("click",(function(){p(a)}))),a}e.register("card",(function(e,r){var n={class:"tokui-card"};e.attrs.id&&(n.id=e.attrs.id);var a=i(e.attrs.style);a&&(n.style=a);var o=t("div",n);if(e.attrs.w&&(o.style.width=/^\d+$/.test(e.attrs.w)?e.attrs.w+"px":e.attrs.w),e.attrs.tt){var s="tokui-card-header",c=e.attrs.hc||"";e.attrs.ht&&(s+=" tokui-card-header--"+e.attrs.ht),c&&-1!==["primary","danger","success","warning","info","dark"].indexOf(c)&&e.attrs.ht&&(s+=" tokui-card-header--"+e.attrs.ht+"--"+c);var l=t("div",{class:s,role:"heading","aria-level":"3"},e.attrs.tt);if(c&&-1===["primary","danger","success","warning","info","dark"].indexOf(c)){var u=e.attrs.ht||"";"fill"===u?(l.style.background=c,l.style.color="#fff"):"accent"===u?l.style.borderLeftColor=c:"underline"===u?l.style.setProperty("--tokui-card-header-underline-color",c):"dot"===u?l.style.setProperty("--tokui-card-header-dot-color",c):"pill"===u&&(l.style.background=c,l.style.color="#fff")}o.appendChild(l)}var d=[],p=[];(e.children||[]).forEach((function(e){"ft"===e.type?p.push(e):d.push(e)}));var f=t("div",{class:"tokui-card-body"});return e.attrs.tx&&(f.textContent=e.attrs.tx),r(d).forEach((function(e){e&&e.nodeType&&f.appendChild(e)})),o.appendChild(f),r(p).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),o._slot=f,o._tokuiType="card",o._update=function(e){if(void 0!==e.tt){var t=o.querySelector(".tokui-card-header");t&&(t.textContent=e.tt)}if(void 0!==e.tx){var r=o.querySelector(".tokui-card-body");r&&(r.textContent=e.tx)}},o._streamCloseHook=function(){},void 0!==e._dsl&&(o._dslNode=e),o})),e.register("ft",(function(e,r){var n=e.attrs.tx||e.content||"",i=t("div",{class:"tokui-card-footer"});return n&&(i.textContent=n),r(e.children||[]).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),"open"===e._stream||i.childNodes.length||n?(i._slot=i,i._tokuiType="ft",i._streamCloseHook=function(){!i.childNodes.length&&!n&&i.parentNode&&i.parentNode.removeChild(i)},i):null})),e.register("row",(function(e,r){var n=t("div",{class:"tokui-row"});return r(e.children).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="row",n})),e.register("col",(function(e,r){var n=e.attrs&&(e.attrs.span||e.attrs.cols),i=t("div",{class:"tokui-col"});if(n){var a=parseInt(n),o=isNaN(a)?1:Math.min(12,Math.max(1,a));i.classList.add("tokui-col--"+o),i.style.gridColumn="span ".concat(o)}return e.content&&(i.textContent=e.content),r(e.children).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i._slot=i,i._tokuiType="col",i})),e.register("list",(function(e,r){var n=t(e.attrs&&"ol"===e.attrs.t?"ol":"ul",{class:e.attrs&&e.attrs.plain?"tokui-list tokui-list--plain":"tokui-list"});return r(e.children).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="list",n})),e.register("item",(function(e,r,n){var i;if("desc"===n)i=a(e);else if("carousel"===n)i=u(e,r);else if("command-group"===n){var o=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&window.TokUI._internal.buildCommandItem||null;o&&(i=o(e))}if(!i){i=t("li",{class:"tokui-list-item"});var c=e.content||e.attrs&&e.attrs.tx||"";c&&(i.textContent=c),r(e.children||[]).forEach((function(e){e&&e.nodeType&&i.appendChild(e)})),i._slot=i}return 1===i.nodeType&&(i._tokuiType="item"),i})),e.register("tabs",(function(r,n){var i=t("div",{class:"tokui-tabs",role:"tablist"});r.attrs.id&&(i.id=r.attrs.id);var a="tokui-tab-"+Math.random().toString(36).slice(2,8);i._tabId=a,i._tabCount=0;var s=e.createReporter("tabs",r.attrs,i);return(r.children||[]).forEach((function(e,t){"tab"===e.type&&(o(i,e,n,a,t),i._tabCount=t+1)})),i._slot=i,i._tokuiType="tabs",i.addEventListener("keydown",(function(e){if("ArrowRight"===e.key||"ArrowLeft"===e.key){var t=Array.from(i.querySelectorAll(".tokui-tabs-label")),r=t.indexOf(e.target);if(-1!==r){e.preventDefault();var n="ArrowRight"===e.key?(r+1)%t.length:(r-1+t.length)%t.length,a=i.querySelector("#"+t[n].getAttribute("for"));a&&(a.checked=!0,t[n].focus())}}})),i.addEventListener("change",(function(e){var t=e.target;if(t&&t.classList&&t.classList.contains("tokui-tabs-input")){var r=parseInt(t.getAttribute("data-index"),10),n=i.querySelector('.tokui-tabs-label[data-index="'+r+'"]');s("change",{index:r,title:n?n.textContent:""})}})),i._update=function(e){if(void 0!==e.v){var t=i.querySelector('input[data-index="'+e.v+'"]');t&&(t.checked=!0)}},i._streamCloseHook=function(){if(i._tokuiStreamActive){var e=i.querySelector('input[data-index="0"]');e&&(e.checked=!0)}},i})),e.register("tab",(function(e,r){var n=t("div",{class:"tokui-tabs-panel",role:"tabpanel"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="tab",n._tabTitle=e.attrs&&e.attrs.tt||"",n._isTab=!0,n})),e.register("accordion",(function(e,r){var n=t("div",{class:"tokui-accordion"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="accordion",n._streamCloseHook=function(){if(n._tokuiStreamActive)for(var e=n.querySelectorAll(".tokui-collapse"),t=0;t<e.length;t++)0===t?(e[t].setAttribute("open",""),e[t].setAttribute("aria-expanded","true")):(e[t].removeAttribute("open"),e[t].setAttribute("aria-expanded","false"))},n})),e.register("collapse",(function(e,n){var i={class:"tokui-collapse","aria-expanded":void 0===e.attrs.open?"false":"true"};e.attrs.id&&(i.id=e.attrs.id);var a=t("details",i),o=t("summary",{class:"tokui-collapse-title"},e.attrs.tt||r("layout.collapseDefault"));a.appendChild(o);var s=t("div",{class:"tokui-collapse-body"});return n(e.children||[]).forEach((function(e){e&&e.nodeType&&s.appendChild(e)})),a.appendChild(s),void 0!==e.attrs.open&&a.setAttribute("open",""),a.addEventListener("toggle",(function(){a.setAttribute("aria-expanded",String(a.hasAttribute("open")))})),a._slot=s,a._tokuiType="collapse",a._update=function(e){if("open"===e.act?a.setAttribute("open",""):"close"===e.act&&a.removeAttribute("open"),void 0!==e.tt){var t=a.querySelector(".tokui-collapse-title");t&&(t.textContent=e.tt)}if(void 0!==e.tx){var r=a.querySelector(".tokui-collapse-body");if(r){var n=r.querySelector("p");n?n.textContent=e.tx:r.textContent=e.tx}}},a})),e.register("dialog",(function(n,i){var a={class:"tokui-dialog"};n.attrs.id&&(a.id=n.attrs.id);var o=t("dialog",a),s=e.createReporter("dialog",n.attrs,o);if(o.addEventListener("close",(function(){o._tokuiSilentClose?o._tokuiSilentClose=!1:s("close",{})})),n.attrs.tt){var c=t("div",{class:"tokui-dialog-header"}),l=t("span",{},n.attrs.tt);c.appendChild(l);var u=t("button",{class:"tokui-dialog-close","aria-label":r("common.close")},"✕");u.addEventListener("click",(function(){o.close()})),c.appendChild(u),o.appendChild(c)}var d=[],p=[];(n.children||[]).forEach((function(e){"ft"===e.type?p.push(e):d.push(e)}));var f=t("div",{class:"tokui-dialog-body"});return i(d).forEach((function(e){e&&e.nodeType&&f.appendChild(e)})),o.appendChild(f),i(p).forEach((function(e){e&&e.nodeType&&o.appendChild(e)})),n.attrs.clk&&o.setAttribute("data-tokui-clk",n.attrs.clk),o.addEventListener("click",(function(e){e.target===o&&o.close()})),o._slot=f,o._tokuiType="dialog",o.addEventListener("keydown",(function(e){if("Tab"===e.key){var t=o.querySelectorAll("button, [tabindex], input, select, textarea");if(0!==t.length){var r=t[0],n=t[t.length-1];e.shiftKey&&document.activeElement===r?(e.preventDefault(),n.focus()):!e.shiftKey&&document.activeElement===n&&(e.preventDefault(),r.focus())}}})),o._update=function(e){if("open"===e.act?o.showModal():"close"===e.act&&(o._tokuiSilentClose=!0,o.close()),void 0!==e.tt){var t=o.querySelector(".tokui-dialog-header span");t&&(t.textContent=e.tt)}},o})),e.register("drawer",(function(n,i){var a=n.attrs.pos||"right",o=t("div",{class:"tokui-drawer tokui-drawer--"+a,role:"dialog","aria-modal":"true"});n.attrs.id&&(o.id=n.attrs.id),n.attrs.clk&&o.setAttribute("data-tokui-clk",n.attrs.clk);var s=e.createReporter("drawer",n.attrs,o);function c(e){e||s("close",{}),o.classList.remove("tokui-drawer--open")}var l=t("div",{class:"tokui-drawer__overlay"});l.addEventListener("click",(function(){c()})),o.appendChild(l);var u=t("div",{class:"tokui-drawer__panel"}),d=n.attrs.w||"360px",p=n.attrs.h||"300px";if("left"===a||"right"===a?(u.style.width=d,u.style.height="100%"):(u.style.height=p,u.style.width="100%"),n.attrs.tt){var f=t("div",{class:"tokui-drawer__header"});f.appendChild(t("span",{},n.attrs.tt));var h=t("button",{class:"tokui-drawer__close","aria-label":r("common.close")},"✕");h.addEventListener("click",(function(){c()})),f.appendChild(h),u.appendChild(f)}var A=[],g=[];(n.children||[]).forEach((function(e){"ft"===e.type?g.push(e):A.push(e)}));var m=t("div",{class:"tokui-drawer__body"});return i(A).forEach((function(e){e&&e.nodeType&&m.appendChild(e)})),u.appendChild(m),i(g).forEach((function(e){e&&e.nodeType&&u.appendChild(e)})),o.appendChild(u),o._slot=m,o._tokuiType="drawer",o.addEventListener("keydown",(function(e){"Escape"===e.key&&(c(),e.stopPropagation())})),o._update=function(e){if("open"===e.act?o.classList.add("tokui-drawer--open"):"close"===e.act&&c(!0),void 0!==e.tt){var t=o.querySelector(".tokui-drawer__header span");t&&(t.textContent=e.tt)}},o})),e.register("imgs",(function(e,n){var i=t("div",{class:"tokui-imgs",role:"group","aria-label":r("layout.gallery")}),a=e.children||[];e.attrs&&e.attrs.s&&(a=e.attrs.s.split(",").map((function(e){return e.trim()})).filter(Boolean).map((function(e){return{type:"img",attrs:{s:e},content:"",children:[]}})));var o=n(a);o.forEach((function(e){e&&e.nodeType&&i.appendChild(e)}));var c=o.length;c>=1&&i.classList.add("tokui-imgs--"+Math.min(c,9)),i._slot=i,i._tokuiType="imgs";var l=a.filter((function(e){return"img"===e.type&&e.attrs&&e.attrs.s})).map((function(e){return e.attrs.s}));function u(e,t){e.querySelectorAll(".tokui-img").forEach((function(e){if(!e._lbBound){e._lbBound=!0;var r=e.cloneNode(!0);e.parentNode.replaceChild(r,e),r.style.cursor="pointer",r.addEventListener("click",(function(){(0,("function"==typeof m?_():window.TokUI._internal).getLightbox)(("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"?document:void 0).open(r.getAttribute("src"),t)}))}}))}return i._imgSources=l,u(i,l),i._streamCloseHook=function(){var e=i.querySelectorAll(":scope > .tokui-img").length;e>=1&&i.classList.add("tokui-imgs--"+Math.min(e,9));var t=[];i.querySelectorAll(":scope > .tokui-img").forEach((function(e){t.push(e.getAttribute("src"))})),u(i,t)},i})),e.register("timeline",(function(e,r){var n=["tokui-timeline"],i=(e.attrs||{}).v||"",a="alternate"===i||"alt"===i;("h"===i||"horizontal"===i)&&n.push("tokui-timeline--horizontal"),a&&n.push("tokui-timeline--alternate"),"card"===i&&n.push("tokui-timeline--card");var o=t("div",{class:n.join(" ")});if(e.children&&e.children.length>0&&r(e.children).forEach((function(e){return o.appendChild(e)})),a){var s=function(){o.querySelectorAll(":scope > .tokui-ti").forEach((function(e,t){e.classList.toggle("tokui-ti--alt-left",t%2==0),e.classList.toggle("tokui-ti--alt-right",t%2==1)}))};s();var c=new MutationObserver((function(){return s()}));c.observe(o,{childList:!0}),o._streamCloseHook=function(){s(),c.disconnect()}}return o})),e.register("ti",(function(e){var r=e.attrs||{},n=["tokui-ti"],i=r.t||"";i&&n.push("tokui-ti--"+i);var a=t("div",{class:n.join(" ")}),o=t("div",{class:"tokui-ti__dot"});a.appendChild(o);var s=t("div",{class:"tokui-ti__content"});if(r.tt){var c=t("div",{class:"tokui-ti__title"});c.textContent=r.tt,s.appendChild(c)}var l=t("div",{class:"tokui-ti__body"});if(l.textContent=e.content||"",s.appendChild(l),r.tm){var u=t("div",{class:"tokui-ti__time"});u.textContent=r.tm,s.appendChild(u)}return a.appendChild(s),a})),e.register("steps",(function(r,n){var i=r.attrs||{},a=parseInt(i.v)||1,o=i.s||"",s=i.vd||"",c=["tokui-steps"];("sm"===o||"small"===o)&&c.push("tokui-steps--sm"),("vertical"===s||"v"===s)&&c.push("tokui-steps--vertical");var l={class:c.join(" ")};i.id&&(l.id=i.id);var u=t("div",l),d=e.createReporter("steps",i,u);function p(e){var t=u.querySelectorAll(":scope > .tokui-step"),r=e>=t.length;r?u.classList.add("tokui-steps--complete"):u.classList.remove("tokui-steps--complete"),t.forEach((function(t,n){var i=n+1,a=t.querySelector(".tokui-step__circle"),o="error"===t.getAttribute("data-step-status");t.className="tokui-step",o?(t.classList.add("tokui-step--error"),i<=e&&t.classList.add("tokui-step--current"),a&&(a.textContent="✕")):r||i<e?(t.classList.add("tokui-step--done"),a&&(a.textContent="✓")):i===e?(t.classList.add("tokui-step--active"),a&&(a.textContent=String(i))):(t.classList.add("tokui-step--pending"),a&&(a.textContent=String(i)))}))}return i.on&&u.classList.add("tokui-steps--clickable"),u.addEventListener("click",(function(e){var t=e.target&&e.target.closest?e.target.closest(".tokui-step"):null;if(t){var r=u.querySelectorAll(".tokui-step"),n=Array.prototype.indexOf.call(r,t);if(-1!==n){var i=t.querySelector(".tokui-step__title");d("change",{index:n,title:i?i.textContent:""})}}})),(r.children||[]).filter((function(e){return"step"===e.type})).forEach((function(e,r){var n=r+1,i=e.attrs||{},o=["tokui-step"];"error"===i.status||"danger"===i.status?(o.push("tokui-step--error"),n<=a&&o.push("tokui-step--current")):n<a?o.push("tokui-step--done"):n===a?o.push("tokui-step--active"):o.push("tokui-step--pending");var s=t("div",{class:o.join(" "),"data-tokui-tag":"step"}),c=t("div",{class:"tokui-step__circle"});"error"===i.status||"danger"===i.status?c.textContent="✕":c.textContent=n<a?"✓":String(n),s.appendChild(c);var l=t("div",{class:"tokui-step__body"});if(i.tt){var d=t("div",{class:"tokui-step__title"});d.textContent=i.tt,l.appendChild(d)}if(e.content){var p=t("div",{class:"tokui-step__desc"});p.textContent=e.content,l.appendChild(p)}s.appendChild(l),u.appendChild(s)})),u._slot=u,u._tokuiType="steps",u._currentStep=a,u._streamCloseHook=function(){p(u._currentStep)},u._update=function(e){if(void 0!==e.v){var t=parseInt(e.v)||1;u._currentStep=t,p(t)}},u})),e.register("step",(function(e){var r=e.attrs||{},n=t("div",{class:"tokui-step tokui-step--pending"});("error"===r.status||"danger"===r.status)&&n.setAttribute("data-step-status","error");var i=t("div",{class:"tokui-step__circle"});i.textContent="?",n.appendChild(i);var a=t("div",{class:"tokui-step__body"});if(r.tt){var o=t("div",{class:"tokui-step__title"});o.textContent=r.tt,a.appendChild(o)}if(e.content){var s=t("div",{class:"tokui-step__desc"});s.textContent=e.content,a.appendChild(s)}return n.appendChild(a),n})),e.register("desc",(function(e,r){var n=e.attrs||{},i=parseInt(n.cols)||3,o=["tokui-desc"];void 0!==n.stripe&&o.push("tokui-desc--stripe"),void 0!==n.bordered&&o.push("tokui-desc--bordered"),("horizontal"===n.v||"h"===n.v)&&o.push("tokui-desc--horizontal");var s=t("div",{class:o.join(" ")});s.style.setProperty("--tokui-desc-cols",String(i)),n.lw&&s.style.setProperty("--tokui-desc-label-w",n.lw);var c=(e.children||[]).filter((function(e){return"desc-item"===e.type||"item"===e.type}));return c.length>0&&c.forEach((function(e){s.appendChild(a(e,i))})),l(s),s._slot=s,s._tokuiType="desc",s})),e.register("desc-item",(function(e){return a(e)})),e.register("carousel",(function(n,i){var a=n.attrs||{},o=void 0!==a.thumb,c={class:"tokui-carousel"+(o?" tokui-carousel--thumb":"")};a.id&&(c.id=a.id),c["data-carousel"]=a.id||"carousel-"+Math.random().toString(36).slice(2,8);var l=t("div",c),d=e.createReporter("carousel",a,l),p=t("div",{class:"tokui-carousel__viewport"}),f=t("div",{class:"tokui-carousel__track"});function h(e){return e=String(e).trim(),/^\d+(\.\d+)?$/.test(e)?e+"px":e}if(a.w&&(l.style.width=h(a.w)),a.h)p.style.height=h(a.h),l.classList.add("tokui-carousel--sized");else if(a.ratio){var A=function(e){var t=String(e).split(":");if(2===t.length){var r=parseFloat(t[0]),n=parseFloat(t[1]);return r&&n?r/n:0}var i=parseFloat(e);return i>0?i:0}(a.ratio);A&&(p.style.aspectRatio=String(A),l.classList.add("tokui-carousel--sized"))}var g=(n.children||[]).filter((function(e){return"carousel-item"===e.type||"item"===e.type||"img"===e.type}));g.forEach((function(e){if("carousel-item"===e.type||"item"===e.type)f.appendChild(u(e,i));else if("img"===e.type){var r=t("div",{class:"tokui-carousel__slide"});i([e]).forEach((function(e){e&&e.nodeType&&r.appendChild(e)})),f.appendChild(r)}})),p.appendChild(f);var m=t("button",{class:"tokui-carousel__arrow tokui-carousel__arrow--prev","aria-label":r("layout.carouselPrev"),"data-dir":"prev"});m.innerHTML='<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="15 18 9 12 15 6"/></svg>',p.appendChild(m);var v=t("button",{class:"tokui-carousel__arrow tokui-carousel__arrow--next","aria-label":r("layout.carouselNext"),"data-dir":"next"});v.innerHTML='<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="9 6 15 12 9 18"/></svg>',p.appendChild(v),l.appendChild(p);var b=null,k=null,y=!1;function w(){return Array.prototype.filter.call(f.children,(function(e){return e&&1===e.nodeType&&/\btokui-carousel__slide\b/.test(e.className||"")}))}function x(){if(!y){var e=w();e.length&&(y=!0,o?(k=t("div",{class:"tokui-carousel__thumbs"}),e.forEach((function(e,n){var i=e.querySelector("img"),a=i?i.getAttribute("src"):"",o=e.querySelector(".tokui-carousel__slide-title"),s=o?(o.textContent||"").trim():"",c=t("button",{class:"tokui-carousel__thumb"+(0===n?" tokui-carousel__thumb--active":""),"aria-label":r("layout.carouselIndex",{n:n+1}),"data-index":String(n)});if(a){var l=t("img",{src:a,alt:s});l.style.width="100%",l.style.height="100%",l.style.objectFit="cover",c.appendChild(l)}else c.textContent=String(n+1);k.appendChild(c)})),l.appendChild(k)):(b=t("div",{class:"tokui-carousel__dots"}),e.forEach((function(e,n){var i=t("button",{class:"tokui-carousel__dot"+(0===n?" tokui-carousel__dot--active":""),"aria-label":r("layout.carouselIndex",{n:n+1}),"data-index":String(n)});b.appendChild(i)})),p.appendChild(b)))}}function _(){x();var e=0,t=w(),r=b?b.querySelectorAll(".tokui-carousel__dot"):[],n=k?k.querySelectorAll(".tokui-carousel__thumb"):[],i=null;function o(){r.forEach&&r.forEach((function(t,r){r===e?t.classList.add("tokui-carousel__dot--active"):t.classList.remove("tokui-carousel__dot--active")})),n.forEach&&n.forEach((function(t,r){r===e?(t.classList.add("tokui-carousel__thumb--active"),t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})):t.classList.remove("tokui-carousel__thumb--active")}))}function c(r,n){r<0&&(r=t.length-1),r>=t.length&&(r=0),e=r,f.style.transform="translateX(-"+100*e+"%)",o(),n&&d("change",{index:e})}function u(){var t=parseInt(a.auto);t&&t>0&&(i=setInterval((function(){c(e+1)}),t))}function p(){i&&clearInterval(i),u()}m.addEventListener("click",(function(){c(e-1,!0),p()})),v.addEventListener("click",(function(){c(e+1,!0),p()})),b&&b.addEventListener("click",(function(e){var t=e.target.closest(".tokui-carousel__dot");t&&(c(parseInt(t.getAttribute("data-index")),!0),p())})),k&&k.addEventListener("click",(function(e){var t=e.target.closest(".tokui-carousel__thumb");t&&(c(parseInt(t.getAttribute("data-index")),!0),p())})),u(),l.setAttribute("tabindex","0"),l.addEventListener("keydown",(function(t){"ArrowLeft"===t.key?(c(e-1,!0),p()):"ArrowRight"===t.key&&(c(e+1,!0),p())}));var h=0,A=0,g=!1;function y(t){if(g){A=t-h;var r=-e*l.offsetWidth+A;f.style.transform="translateX("+r+"px)"}}function _(){if(g){g=!1,f.style.transition="";var t=.2*l.offsetWidth;A<-t?c(e+1,!0):A>t?c(e-1,!0):c(e)}}f.addEventListener("mousedown",(function(e){g=!0,h=e.clientX,A=0,f.style.transition="none",p()})),f.addEventListener("touchstart",(function(e){g=!0,h=e.touches[0].clientX,A=0,f.style.transition="none",p()}),{passive:!0}),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener&&(document.addEventListener("mousemove",(function(e){y(e.clientX)})),document.addEventListener("touchmove",(function(e){y(e.touches[0].clientX)}),{passive:!0})),("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&document.addEventListener&&(document.addEventListener("mouseup",_),document.addEventListener("touchend",_))}return l._slot=f,l._tokuiType="carousel",g.length>0&&_(),l._streamCloseHook=function(){_()},l})),e.register("carousel-item",(function(e,t){return u(e,t)})),e.register("tn",(function(e,r){var n=void 0!==e.attrs.leaf,i=void 0!==e.attrs.open,a=void 0!==e.attrs.dis,o=!e.attrs.load||e.children&&e.children.length?null:String(e.attrs.load),s=t("div",{class:"tokui-tree-node"+(n?" tokui-tree-node--leaf":"")+(i?" tokui-tree-node--open":"")+(a?" tokui-tree-node--disabled":""),role:"treeitem","aria-expanded":n?void 0:String(i)});s.setAttribute("data-value",e.attrs.v||""),s.setAttribute("data-text",e.attrs.tx||e.attrs.v||""),e.attrs.id&&s.setAttribute("data-id",e.attrs.id);var c=t("div",{class:"tokui-tree-node-header",tabindex:"0"}),l=t("span",{class:"tokui-tree-arrow"});l.textContent="▶",c.appendChild(l);var u=t("span",{class:"tokui-tree-icon"});u.textContent=n?"📄":"📁",c.appendChild(u);var d=t("span",{class:"tokui-tree-text"},e.attrs.tx||e.attrs.v||"");c.appendChild(d),s.appendChild(c);var p=null;return n||(p=t("div",{class:"tokui-tree-node-children"}),i||(p.style.display="none"),e.children&&e.children.length&&r(e.children).forEach((function(e){e&&e.nodeType&&p.appendChild(e)})),s.appendChild(p),s._slot=p),o&&(s._lazyLoad=o,s._lazyLoaded=!1,s._lazyLoading=!1),s._tokuiType="tn",s})),e.register("tree",(function(n,i){var a=void 0!==n.attrs.chk,o=void 0!==n.attrs.dis,c=t("div",{class:"tokui-field"});n.attrs.l&&c.appendChild(t("label",{class:"tokui-label"},n.attrs.l)),n.attrs.id&&(c.id=n.attrs.id);var l=t("div",{class:"tokui-tree"+(a?" tokui-tree--checkable":"")+(o?" tokui-tree--disabled":""),role:"tree"});n.children&&n.children.length&&i(n.children).forEach((function(e){e&&e.nodeType&&l.appendChild(e)})),c.appendChild(l);var u=e.createReporter("tree",n.attrs,c),d=!1;function p(e){if(a){var r=e.querySelector(":scope > .tokui-tree-node-header");if(r&&!r.querySelector(".tokui-tree-checkbox")){var n=t("input",{type:"checkbox",class:"tokui-tree-checkbox"});e.classList.contains("tokui-tree-node--disabled")&&(n.disabled=!0),r.insertBefore(n,r.firstChild)}}}function f(n,i){var a=n._lazyLoad;if(a&&!n._lazyLoaded&&!n._lazyLoading){var o=e.eventBus?e.eventBus.getHandler(a):null;if(!o)return void e._warnMissingHandler(a);n._lazyLoading=!0,n.classList.add("tokui-tree__loading");var c=t("div",{class:"tokui-tree-loading"},r("common.loading"));i.appendChild(c);var l,d=function(t){n._lazyLoading=!1,n._lazyLoaded=!0,n.classList.remove("tokui-tree__loading"),c.parentNode&&c.parentNode.removeChild(c);var r=Array.isArray(t)?t:[],a=0;r.forEach((function(t){if(t&&"object"==Object(s.a)(t)){var r=e.render(t,"tree");r&&r.nodeType&&(p(r),i.appendChild(r),a++)}})),u("load",{value:n.getAttribute("data-value"),count:a})};try{l=o({id:n.getAttribute("data-id")||void 0,value:n.getAttribute("data-value")})}catch(e){l=[]}l&&"function"==typeof l.then?l.then(d,(function(){d([])})):d(l)}}function h(){o||d||(d=!0,l.addEventListener("click",(function(e){var t=e.target.closest(".tokui-tree-arrow");if(t){e.stopPropagation();var r=t.closest(".tokui-tree-node");if(r&&!r.classList.contains("tokui-tree-node--leaf")){var n=r.querySelector(":scope > .tokui-tree-node-children");n&&(r.classList.contains("tokui-tree-node--open")?(r.classList.remove("tokui-tree-node--open"),n.style.display="none"):(r.classList.add("tokui-tree-node--open"),n.style.display="",f(r,n)))}}})),l.addEventListener("click",(function(e){var t=e.target.closest(".tokui-tree-text");if(t){e.stopPropagation();var r=t.closest(".tokui-tree-node");if(r){if(l.querySelectorAll(".tokui-tree-node--selected").forEach((function(e){e.classList.remove("tokui-tree-node--selected")})),r.classList.add("tokui-tree-node--selected"),n.attrs.clk){var i=("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&window.TokUI._internal.TokUIEventBus?window.TokUI._internal.TokUIEventBus.getHandler(n.attrs.clk):null;i&&i({id:n.attrs.id,value:r.getAttribute("data-value"),text:r.getAttribute("data-text")})}u("change",{value:r.getAttribute("data-value"),id:r.getAttribute("data-id")||void 0})}}})),a&&(l.querySelectorAll(".tokui-tree-node-header").forEach((function(e){var r=t("input",{type:"checkbox",class:"tokui-tree-checkbox"}),n=e.closest(".tokui-tree-node");n&&n.classList.contains("tokui-tree-node--disabled")&&(r.disabled=!0),e.insertBefore(r,e.firstChild)})),l.addEventListener("change",(function(e){if(e.target.classList.contains("tokui-tree-checkbox")){var t=e.target.closest(".tokui-tree-node");if(t){var r=e.target.checked;t.querySelectorAll(".tokui-tree-checkbox").forEach((function(t){t!==e.target&&(t.checked=r,t.indeterminate=!1)})),function(e){e.querySelectorAll(".tokui-tree-node").forEach((function(e){var t=e.querySelector(":scope > .tokui-tree-node-children");if(t){var r=t.querySelectorAll(":scope > .tokui-tree-node > .tokui-tree-node-header > .tokui-tree-checkbox");if(0!==r.length){var n=e.querySelector(":scope > .tokui-tree-node-header > .tokui-tree-checkbox");if(n){var i=r.length,a=0;r.forEach((function(e){e.checked&&a++})),0===a?(n.checked=!1,n.indeterminate=!1):a===i?(n.checked=!0,n.indeterminate=!1):(n.checked=!1,n.indeterminate=!0)}}}}))}(l);var n=[];Array.prototype.forEach.call(l.querySelectorAll(".tokui-tree-checkbox"),(function(e){if(e.checked){var t=e.closest(".tokui-tree-node");t&&n.push(t.getAttribute("data-value"))}})),u("check",{value:n})}}}))),l.addEventListener("keydown",(function(e){var t=e.target.closest(".tokui-tree-node-header");if(t){var r=t.closest(".tokui-tree-node");if(r)if("Enter"===e.key||" "===e.key){e.preventDefault();var n=t.querySelector(".tokui-tree-arrow");n&&!r.classList.contains("tokui-tree-node--leaf")&&n.click()}else if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault();var i=Array.from(l.querySelectorAll(":scope .tokui-tree-node-header")),a=i.indexOf(t);"ArrowDown"===e.key&&a<i.length-1?i[a+1].focus():"ArrowUp"===e.key&&a>0&&i[a-1].focus()}}})))}return n.children&&n.children.length&&h(),c._streamCloseHook=function(){h()},c._slot=l,c._tokuiType="tree",c._variantTarget=l,c})),e.register("menu",(function(r,n){var i=r.attrs||{},a=i.v||"vertical",o=["tokui-menu"];"horizontal"===a||"h"===a?o.push("tokui-menu--horizontal"):"inline"===a&&o.push("tokui-menu--inline");var s={class:o.join(" "),role:"menu"};i.id&&(s.id=i.id);var c=t("div",s);i.bg&&c.style.setProperty("--tokui-menu-bg",i.bg),i.fc&&c.style.setProperty("--tokui-menu-fc",i.fc);var l=i.act||"";return(r.children||[]).filter((function(e){return"menu-item"===e.type})).forEach((function(e){var t=f(e,l);c.appendChild(t)})),c._slot=c,c._tokuiType="menu",c._activeClk=l,c._report=e.createReporter("menu",i,c),c._update=function(e){if("activate"===e.act&&void 0!==e.v)for(var t=c.querySelectorAll(".tokui-menu__item"),r=0;r<t.length;r++)if(d(t[r])===String(e.v)){p(t[r],!0);break}},c.addEventListener("keydown",(function(e){var t=e.target.closest(".tokui-menu__item");if(t){var r=Array.from(c.querySelectorAll(".tokui-menu__item:not(.tokui-menu__item--disabled)")),n=r.indexOf(t);"ArrowDown"===e.key&&n<r.length-1?(e.preventDefault(),r[n+1].focus()):"ArrowUp"===e.key&&n>0?(e.preventDefault(),r[n-1].focus()):("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t.click())}})),c})),e.register("menu-item",(function(e){var r=e.attrs||{},n=["tokui-menu__item"];void 0!==r.dis&&n.push("tokui-menu__item--disabled"),void 0!==r.act&&n.push("tokui-menu__item--active");var i=t("div",{class:n.join(" "),role:"menuitem",tabindex:"0"});return r.i&&i.appendChild(t("span",{class:"tokui-menu__icon"},r.i)),i.appendChild(t("span",{class:"tokui-menu__text"},r.tx||e.content||"")),i._menuValue=r.id||r.v||r.tx||e.content||"",void 0===r.dis&&(r.clk&&i.setAttribute("data-tokui-clk",r.clk),i.addEventListener("click",(function(){p(i)}))),i})),e.register("resizable",(function(e,r){var n=e.attrs||{},i=n.dir||"h",a=parseInt(n.min)||100,o=parseInt(n.max)||800,s=parseInt(n.default)||300,c="v"!==i,l=["tokui-resizable"];l.push(c?"tokui-resizable--h":"tokui-resizable--v");var u={class:l.join(" ")};n.w&&(u.style="width:"+n.w);var d=t("div",u),p=t("div",{class:"tokui-resizable__panel"});p.style.flex="none",c?(p.style.width=s+"px",p.style.minWidth=a+"px",p.style.maxWidth=o+"px"):(p.style.height=s+"px",p.style.minHeight=a+"px",p.style.maxHeight=o+"px",p.style.overflow="auto");var f=t("div",{class:"tokui-resizable__handle",role:"separator","aria-orientation":c?"vertical":"horizontal",tabindex:"0"}),h=t("div",{class:"tokui-resizable__panel"});function A(e){e.preventDefault(),g=c?e.touches?e.touches[0].clientX:e.clientX:e.touches?e.touches[0].clientY:e.clientY,m=c?p.offsetWidth:p.offsetHeight,document.addEventListener("mousemove",v),document.addEventListener("mouseup",b),document.addEventListener("touchmove",v,{passive:!1}),document.addEventListener("touchend",b),f.classList.add("tokui-resizable__handle--active")}c||(h.style.overflow="auto"),d.appendChild(p),d.appendChild(f),d.appendChild(h);var g=0,m=0;function v(e){e.preventDefault();var t=(c?e.touches?e.touches[0].clientX:e.clientX:e.touches?e.touches[0].clientY:e.clientY)-g,r=m+t;r=Math.max(a,Math.min(o,r)),c?p.style.width=r+"px":p.style.height=r+"px"}function b(){document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",b),document.removeEventListener("touchmove",v),document.removeEventListener("touchend",b),f.classList.remove("tokui-resizable__handle--active")}f.addEventListener("mousedown",A),f.addEventListener("touchstart",A,{passive:!1}),f.addEventListener("keydown",(function(e){var t=c?p.offsetWidth:p.offsetHeight;c&&"ArrowLeft"===e.key?(e.preventDefault(),p.style.width=Math.max(a,t-10)+"px"):c&&"ArrowRight"===e.key?(e.preventDefault(),p.style.width=Math.min(o,t+10)+"px"):c||"ArrowUp"!==e.key?!c&&"ArrowDown"===e.key&&(e.preventDefault(),p.style.height=Math.min(o,t+10)+"px"):(e.preventDefault(),p.style.height=Math.max(a,t-10)+"px")}));var k=r(e.children||[]),y=[];k.forEach((function(e){e&&e.nodeType&&y.push(e)})),y[0]&&p.appendChild(y[0]);for(var w=1;w<y.length;w++)h.appendChild(y[w]);return d._streamCloseHook=function(){for(var e=[],t=0;t<d.children.length;t++){var r=d.children[t];r!==p&&r!==f&&r!==h&&e.push(r)}if(e.length>0){p.appendChild(e[0]);for(var n=1;n<e.length;n++)h.appendChild(e[n])}},d._tokuiType="resizable",d})),e.register("scroll-area",(function(r,n){var i=r.attrs||{},a=void 0!==i.virtual,o={class:"tokui-scroll-area"+(a?" tokui-scroll-area--virtual":"")};i.id&&(o.id=i.id);var s=t("div",o);i.h&&(s.style.height=String(i.h).match(/^\d+$/)?i.h+"px":i.h),i.w&&(s.style.width=i.w);var c=t("div",{class:"tokui-scroll-area__viewport"});if(!a)return n(r.children||[]).forEach((function(e){e&&e.nodeType&&c.appendChild(e)})),s.appendChild(c),s._slot=c,s._tokuiType="scroll-area",s;var l=parseInt(i.ih,10)>0?parseInt(i.ih,10):36;function u(){return c.clientHeight||parseInt(i.h,10)||l}var d=document.createElement("div");n(r.children||[]).forEach((function(e){e&&e.nodeType&&d.appendChild(e)}));var p=[],f=t("div",{class:"tokui-scroll-area__spacer"}),h=t("div",{class:"tokui-scroll-area__spacer"});c.appendChild(f),c.appendChild(h);var A=-1,g=-1,m=-1;function v(){for(;d.childNodes.length>0;)p.push(d.removeChild(d.childNodes[0]));var e=p.length,t=c.scrollTop||0,r=Math.max(0,Math.floor(t/l)-5),n=Math.min(e,Math.ceil((t+u())/l)+5);if(r!==A||n!==g||e!==m){A=r,g=n,m=e;for(var i=c.children.length-1;i>=0;i--){var a=c.children[i];a!==f&&a!==h&&c.removeChild(a)}f.style.height=r*l+"px",h.style.height=(e-n)*l+"px";for(var o=r;o<n;o++)c.insertBefore(p[o],h)}}var b=e.createReporter("scroll-area",i,s),k=!1;var y="function"==typeof requestAnimationFrame?function(e){requestAnimationFrame(e)}:function(e){e()},w=!1;return c.addEventListener("scroll",(function(){w||(w=!0,y((function(){w=!1,function(){v();var e=p.length*l-u(),t=e<=0||(c.scrollTop||0)>=.8*e;t&&!k?(k=!0,b("loadmore",{})):t||(k=!1)}()})))})),v(),s.appendChild(c),s._slot=d,s._streamAppendHook=function(){v()},s._streamCloseHook=function(){v()},s._tokuiType="scroll-area",s})),e.register("sidebar",(function(e,r){var n=e.attrs||{},i=n.w||"260",a=n.pos||"left",o=void 0!==n.collapsible,s=n.bg||"",c=n.fc||"",l=["tokui-sidebar","tokui-sidebar--"+a];o&&l.push("tokui-sidebar--collapsible");var u={class:l.join(" ")};n.id&&(u.id=n.id);var d=t("div",u);d.style.setProperty("--tokui-sidebar-w",i+"px"),s&&d.style.setProperty("--tokui-sidebar-bg",s),c&&d.style.setProperty("--tokui-sidebar-fc",c),s&&d.style.setProperty("--tokui-sidebar-footer-bg","rgba(0,0,0,0.15)"),s&&d.style.setProperty("--tokui-sidebar-header-bg","rgba(0,0,0,0.15)"),s&&d.style.setProperty("--tokui-sidebar-border","rgba(255,255,255,0.1)");var p=[],f=[],h=[];if((e.children||[]).forEach((function(e){"sidebar-content"===e.type?p.push(e):"sidebar-footer"===e.type?f.push(e):h.push(e)})),n.tt||o){var A=t("div",{class:"tokui-sidebar__header"});if(n.tt){var g=t("div",{class:"tokui-sidebar__title"},n.tt);A.appendChild(g)}if(o){var m=t("button",{class:"tokui-sidebar__toggle","aria-label":"Toggle sidebar",type:"button"});m.textContent="☰",m.addEventListener("click",(function(){d.classList.toggle("tokui-sidebar--collapsed");var e=d.classList.contains("tokui-sidebar--collapsed");d.setAttribute("aria-expanded",String(!e))})),A.appendChild(m)}d.appendChild(A)}d.setAttribute("aria-expanded","true");var v=t("div",{class:"tokui-sidebar__content"});if(p.forEach((function(e){r(e.children||[]).forEach((function(e){e&&e.nodeType&&v.appendChild(e)}))})),r(h).forEach((function(e){e&&e.nodeType&&v.appendChild(e)})),d.appendChild(v),f.length>0){var b=t("div",{class:"tokui-sidebar__footer"});f.forEach((function(e){r(e.children||[]).forEach((function(e){e&&e.nodeType&&b.appendChild(e)}))})),d.appendChild(b)}return d._slot=v,d._tokuiType="sidebar",d._update=function(e){if(void 0!==e.tt){var t=d.querySelector(".tokui-sidebar__title");t&&(t.textContent=e.tt)}"collapse"===e.act?d.classList.add("tokui-sidebar--collapsed"):"expand"===e.act?d.classList.remove("tokui-sidebar--collapsed"):"toggle"===e.act&&d.classList.toggle("tokui-sidebar--collapsed")},void 0!==e._dsl&&(d._dslNode=e),d})),e.register("sidebar-content",(function(e,r){var n=t("div",{class:"tokui-sidebar__content"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="sidebar-content",n})),e.register("sidebar-footer",(function(e,r){var n=t("div",{class:"tokui-sidebar__footer"});return r(e.children||[]).forEach((function(e){e&&e.nodeType&&n.appendChild(e)})),n._slot=n,n._tokuiType="sidebar-footer",n}))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerLayoutComponents=n),void 0!==t&&t.exports&&(t.exports={registerLayoutComponents:n})})),L=h((function(e,t){var r,n,i,a,o,c,l,u=!1;function d(e){u||(u=!0,"function"==typeof m?(r=D().registerBasicComponents,n=U().registerTableComponents,i=F().registerFormComponents,a=I().registerLayoutComponents,o=C().registerChartComponents,c=T().registerBarcode,l=S().registerQrcode):("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&(r=window.TokUI._internal.registerBasicComponents,n=window.TokUI._internal.registerTableComponents,i=window.TokUI._internal.registerFormComponents,a=window.TokUI._internal.registerLayoutComponents,o=window.TokUI._internal.registerChartComponents,c=window.TokUI._internal.registerBarcode,l=window.TokUI._internal.registerQrcode)),r&&(r(e),n(e),i(e),a(e),o(e),c&&c(e),l&&l(e))}("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI._internal=window.TokUI._internal||{},window.TokUI._internal.registerAllComponents=d),void 0!==t&&t.exports&&(t.exports={registerAllComponents:d})})),O=h((function(e,t){!function(){var e,r,i,c,l,u,d,p=!1;function f(){if(!p)if(p=!0,"function"==typeof m){e=w().TokUIParser;var t=x();r=t.TokUIRenderer,i=t.el,c=b(),l=y(),u=v(),d=L().registerAllComponents}else("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&window.TokUI&&window.TokUI._internal&&(e=window.TokUI._internal.TokUIParser,r=window.TokUI._internal.TokUIRenderer,i=window.TokUI._internal.el,c=window.TokUI._internal.TokUIEventBus,l=window.TokUI._internal.TokUITheme,u=window.TokUI._internal.TokUII18n,d=window.TokUI._internal.registerAllComponents)}var h=function(){function t(e){Object(a.a)(this,t),f(),this.options=Object.assign({container:null,theme:"default",locale:null,streaming:!0,onEvent:null},e),this.renderer=new r(c),d(this.renderer),this.renderer._tokuiInstance=this;var n=this;this.renderer._onComponentEvent=function(e){n.options.eventFilter&&!n.options.eventFilter(e)||n.options.onEvent&&n.options.onEvent("component",e)},this.parser=null,this.container=null,this.streamingContainer=null,this._lastDsl=null,this._lastTarget=null,this.options.locale&&u&&u.setLocale(this.options.locale),this.options.container&&("undefined"==typeof document?"undefined":Object(s.a)(document))<"u"&&(this.container="string"==typeof this.options.container?document.querySelector(this.options.container):this.options.container,l.init(this.container),this.options.theme&&l.setTheme(this.options.theme)),("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI._instance=this,window.TokUI._internal.el=i,window.TokUI.registerHandler=c.registerHandler.bind(c),window.TokUI.setTheme=l.setTheme.bind(l),u&&(window.TokUI.setLocale=u.setLocale.bind(u),window.TokUI.getLocale=u.getLocale.bind(u),window.TokUI.registerLocale=u.registerLocale.bind(u)),window.TokUI.showNotification||(window.TokUI.showNotification=function(){}))}return Object(o.a)(t,[{key:"render",value:function(t,r){var n=this,i=r||this.container;if(!i)throw Error("TokUI: no container specified");this._lastDsl=t,this._lastTarget=i,new e((function(e){n.renderer.mount(e,i)})).parse(t)}},{key:"rerender",value:function(e){var t=this._lastDsl;if(!t)return!1;var r=e||this._lastTarget||this.container;return!!r&&(void 0!==r.innerHTML&&(r.innerHTML=""),this.render(t,r),!0)}},{key:"startStream",value:function(t){if(this.streamingContainer=t||this.container,!this.streamingContainer)throw Error("TokUI: no container specified");this._lastDsl="",this._lastTarget=this.streamingContainer;var r=this,n=!1!==this.options.streaming;this.parser=new e((function(e){n?r.renderer.mountStreaming(e,r.streamingContainer):r.renderer.mount(e,r.streamingContainer)}),{streaming:n}),this.parser.startStream()}},{key:"feed",value:function(e){this.parser?(this._lastDsl=(this._lastDsl||"")+e,this.parser.feed(e)):console.warn("TokUI: feed() called before startStream()")}},{key:"disconnect",value:function(){this._abortController&&(this._abortController=(this._abortController.abort(),null)),this.endStream(),this._streamTarget&&this._streamTarget.parentNode&&this._streamTarget.parentNode.removeChild(this._streamTarget),this._streamTarget=null}},{key:"endStream",value:function(){this.parser&&(this.parser=(this.parser.endStream(),null)),this.renderer.slotStack.length&&this.renderer.resetSlotStack()}},{key:"connect",value:function(e,t){var r=this;return this._abortController=new AbortController,fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t||{}),signal:this._abortController.signal}).then((function(e){if(!e.ok)throw Error("TokUI connect: HTTP "+e.status);if(!e.body)throw Error("TokUI connect: response body is null");var t=e.body.getReader(),i=new TextDecoder,a="";r._streamTarget&&r._streamTarget.parentNode&&r._streamTarget.parentNode.removeChild(r._streamTarget);var o=document.createElement("div");o.className="tokui-stream-target",r._streamTarget=o,r.container&&r.container.appendChild(o),r.startStream(o);var s=r;!function e(){t.read().then((function(t){var r=t.done,o=t.value;if(r)return s.endStream(),void(s.options.onEvent&&s.options.onEvent("streamEnd",{}));var c=(a+=i.decode(o,{stream:!0})).split("\n");a=c.pop();var l,u=Object(n.a)(c);try{for(u.s();!(l=u.n()).done;){var d=l.value;if(d.startsWith("data: ")){var p=d.slice(6);if("[DONE]"===p)return s.endStream(),void(s.options.onEvent&&s.options.onEvent("streamEnd",{}));try{var f=JSON.parse(p);f.tokui&&s.feed(f.tokui)}catch(r){console.warn("TokUI: malformed JSON in SSE data",r.message)}}}}catch(e){u.e(e)}finally{u.f()}e()}))}()}))}}]),t}();("undefined"==typeof window?"undefined":Object(s.a)(window))<"u"&&(window.TokUI=window.TokUI||{},window.TokUI.TokUI=h),void 0!==t&&t.exports&&(t.exports=h)}()})),M=g(v()),P=g(b()),R=g(y());k(),w();var N=x();_(),C(),E(),T(),B(),S(),D(),U(),F(),I(),L();var z=g(O()),H=P.default.registerHandler.bind(P.default),j=P.default.removeHandler.bind(P.default),Q=R.default.setTheme.bind(R.default),q=R.default.getTheme.bind(R.default),W=M.default.setLocale.bind(M.default),K=M.default.getLocale.bind(M.default),V=M.default.registerLocale.bind(M.default),G={TokUI:z.default,registerHandler:H,removeHandler:j,setTheme:Q,getTheme:q,setLocale:W,getLocale:K,registerLocale:V,el:N.el},Y=z.default,X=N.el},5980:function(e,t,r){var n,i,a,o;e.exports=(n=r("21bf"),a=(i=n).lib.Base,o=i.enc.Utf8,void(i.algo.HMAC=a.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,c=a.words,l=0;l<r;l++)s[l]^=1549556828,c[l]^=909522486;i.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))},"5a34":function(e,t,r){var n=r("44e7");e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5a43":function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},"5a61":function(e,t){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var r,n,i,a,o;for(i in this.assertLegalChar=(r=this.assertLegalChar,n=this,function(){return r.apply(n,arguments)}),e||(e={}),this.noDoubleEncoding=e.noDoubleEncoding,a=e.stringify||{})t.call(a,i)&&(o=a[i],this[i]=o)}return e.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},e.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},e.prototype.cdata=function(e){return e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e)},e.prototype.comment=function(e){if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return""+e||""},e.prototype.attName=function(e){return""+e||""},e.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},e.prototype.insTarget=function(e){return""+e||""},e.prototype.insValue=function(e){if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},e.prototype.xmlVersion=function(e){if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return e},e.prototype.xmlStandalone=function(e){return e?"yes":"no"},e.prototype.dtdPubID=function(e){return""+e||""},e.prototype.dtdSysID=function(e){return""+e||""},e.prototype.dtdElementValue=function(e){return""+e||""},e.prototype.dtdAttType=function(e){return""+e||""},e.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},e.prototype.dtdEntityValue=function(e){return""+e||""},e.prototype.dtdNData=function(e){return""+e||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(e){var t;if(t=e.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+e+" at index "+t.index);return e},e.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},e.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},e}()}).call(this)},"5a93":function(e,t,r){"use strict";r("a76d")},"5b83":function(e,t,r){"use strict";r("44c8")},"5bc3":function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},"5c59":function(e,t,r){t.readOptions=function(e){return e=e||{},n.extend({},a,e,{customStyleMap:o(e.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(i)),e}})};var n=r("c46f"),i=t._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],a=t._standardOptions={transformDocument:function(e){return e},includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function o(e){return e?n.isString(e)?e.split("\n").map((function(e){return e.trim()})).filter((function(e){return""!==e&&"#"!==e.charAt(0)})):e:[]}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5c8a":function(e,t,r){"use strict";var n=function(){this.__data__=[],this.size=0};var i=function(e,t){return e===t||e!=e&&t!=t};var a=function(e,t){for(var r=e.length;r--;)if(i(e[r][0],t))return r;return-1},o=Array.prototype.splice;var s=function(e){var t=this.__data__,r=a(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)};var c=function(e){var t=this.__data__,r=a(t,e);return r<0?void 0:t[r][1]};var l=function(e){return a(this.__data__,e)>-1};var u=function(e,t){var r=this.__data__,n=a(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}d.prototype.clear=n,d.prototype.delete=s,d.prototype.get=c,d.prototype.has=l,d.prototype.set=u;var p=d;var f=function(){this.__data__=new p,this.size=0};var h=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r};var A=function(e){return this.__data__.get(e)};var g,m=function(e){return this.__data__.has(e)},v=r("bc9b"),b=r("26ee"),k=b.a["__core-js_shared__"],y=(g=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"";var w=function(e){return!!y&&y in e},x=r("2332"),_=Function.prototype.toString;var C=function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""},E=/^\[object .+?Constructor\]$/,T=Function.prototype,B=Object.prototype,S=T.toString,D=B.hasOwnProperty,U=RegExp("^"+S.call(D).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var F=function(e){return!(!Object(x.a)(e)||w(e))&&(Object(v.a)(e)?U:E).test(C(e))};var I=function(e,t){return null==e?void 0:e[t]};var L=function(e,t){var r=I(e,t);return F(r)?r:void 0},O=L(b.a,"Map"),M=L(Object,"create");var P=function(){this.__data__=M?M(null):{},this.size=0};var R=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},N=Object.prototype.hasOwnProperty;var z=function(e){var t=this.__data__;if(M){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return N.call(t,e)?t[e]:void 0},H=Object.prototype.hasOwnProperty;var j=function(e){var t=this.__data__;return M?void 0!==t[e]:H.call(t,e)};var Q=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=M&&void 0===t?"__lodash_hash_undefined__":t,this};function q(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}q.prototype.clear=P,q.prototype.delete=R,q.prototype.get=z,q.prototype.has=j,q.prototype.set=Q;var W=q;var K=function(){this.size=0,this.__data__={hash:new W,map:new(O||p),string:new W}};var V=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var G=function(e,t){var r=e.__data__;return V(t)?r["string"==typeof t?"string":"hash"]:r.map};var Y=function(e){var t=G(this,e).delete(e);return this.size-=t?1:0,t};var X=function(e){return G(this,e).get(e)};var $=function(e){return G(this,e).has(e)};var Z=function(e,t){var r=G(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function J(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}J.prototype.clear=K,J.prototype.delete=Y,J.prototype.get=X,J.prototype.has=$,J.prototype.set=Z;var ee=J;var te=function(e,t){var r=this.__data__;if(r instanceof p){var n=r.__data__;if(!O||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ee(n)}return r.set(e,t),this.size=r.size,this};function re(e){var t=this.__data__=new p(e);this.size=t.size}re.prototype.clear=f,re.prototype.delete=h,re.prototype.get=A,re.prototype.has=m,re.prototype.set=te;var ne=re;var ie=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e},ae=function(){try{var e=L(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var oe=function(e,t,r){"__proto__"==t&&ae?ae(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},se=Object.prototype.hasOwnProperty;var ce=function(e,t,r){var n=e[t];se.call(e,t)&&i(n,r)&&(void 0!==r||t in e)||oe(e,t,r)};var le=function(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=n?n(r[s],e[s],s,r,e):void 0;void 0===c&&(c=e[s]),i?oe(r,s,c):ce(r,s,c)}return r};var ue=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},de=r("f0ce");var pe=function(e){return null!=e&&"object"==typeof e};var fe=function(e){return pe(e)&&"[object Arguments]"==Object(de.a)(e)},he=Object.prototype,Ae=he.hasOwnProperty,ge=he.propertyIsEnumerable,me=fe(function(){return arguments}())?fe:function(e){return pe(e)&&Ae.call(e,"callee")&&!ge.call(e,"callee")},ve=Array.isArray,be=r("58e0"),ke=/^(?:0|[1-9]\d*)$/;var ye=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&ke.test(e))&&e>-1&&e%1==0&&e<t};var we=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},xe={};xe["[object Float32Array]"]=xe["[object Float64Array]"]=xe["[object Int8Array]"]=xe["[object Int16Array]"]=xe["[object Int32Array]"]=xe["[object Uint8Array]"]=xe["[object Uint8ClampedArray]"]=xe["[object Uint16Array]"]=xe["[object Uint32Array]"]=!0,xe["[object Arguments]"]=xe["[object Array]"]=xe["[object ArrayBuffer]"]=xe["[object Boolean]"]=xe["[object DataView]"]=xe["[object Date]"]=xe["[object Error]"]=xe["[object Function]"]=xe["[object Map]"]=xe["[object Number]"]=xe["[object Object]"]=xe["[object RegExp]"]=xe["[object Set]"]=xe["[object String]"]=xe["[object WeakMap]"]=!1;var _e=function(e){return pe(e)&&we(e.length)&&!!xe[Object(de.a)(e)]};var Ce=function(e){return function(t){return e(t)}},Ee=r("c6eb"),Te=Ee.a&&Ee.a.isTypedArray,Be=Te?Ce(Te):_e,Se=Object.prototype.hasOwnProperty;var De=function(e,t){var r=ve(e),n=!r&&me(e),i=!r&&!n&&Object(be.a)(e),a=!r&&!n&&!i&&Be(e),o=r||n||i||a,s=o?ue(e.length,String):[],c=s.length;for(var l in e)!t&&!Se.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ye(l,c))||s.push(l);return s},Ue=Object.prototype;var Fe=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ue)};var Ie=function(e,t){return function(r){return e(t(r))}},Le=Ie(Object.keys,Object),Oe=Object.prototype.hasOwnProperty;var Me=function(e){if(!Fe(e))return Le(e);var t=[];for(var r in Object(e))Oe.call(e,r)&&"constructor"!=r&&t.push(r);return t};var Pe=function(e){return null!=e&&we(e.length)&&!Object(v.a)(e)};var Re=function(e){return Pe(e)?De(e):Me(e)};var Ne=function(e,t){return e&&le(t,Re(t),e)};var ze=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},He=Object.prototype.hasOwnProperty;var je=function(e){if(!Object(x.a)(e))return ze(e);var t=Fe(e),r=[];for(var n in e)("constructor"!=n||!t&&He.call(e,n))&&r.push(n);return r};var Qe=function(e){return Pe(e)?De(e,!0):je(e)};var qe=function(e,t){return e&&le(t,Qe(t),e)},We=r("dff1");var Ke=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t};var Ve=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a};var Ge=function(){return[]},Ye=Object.prototype.propertyIsEnumerable,Xe=Object.getOwnPropertySymbols,$e=Xe?function(e){return null==e?[]:(e=Object(e),Ve(Xe(e),(function(t){return Ye.call(e,t)})))}:Ge;var Ze=function(e,t){return le(e,$e(e),t)};var Je=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},et=Ie(Object.getPrototypeOf,Object),tt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Je(t,$e(e)),e=et(e);return t}:Ge;var rt=function(e,t){return le(e,tt(e),t)};var nt=function(e,t,r){var n=t(e);return ve(e)?n:Je(n,r(e))};var it=function(e){return nt(e,Re,$e)};var at=function(e){return nt(e,Qe,tt)},ot=L(b.a,"DataView"),st=L(b.a,"Promise"),ct=L(b.a,"Set"),lt=L(b.a,"WeakMap"),ut=C(ot),dt=C(O),pt=C(st),ft=C(ct),ht=C(lt),At=de.a;(ot&&"[object DataView]"!=At(new ot(new ArrayBuffer(1)))||O&&"[object Map]"!=At(new O)||st&&"[object Promise]"!=At(st.resolve())||ct&&"[object Set]"!=At(new ct)||lt&&"[object WeakMap]"!=At(new lt))&&(At=function(e){var t=Object(de.a)(e),r="[object Object]"==t?e.constructor:void 0,n=r?C(r):"";if(n)switch(n){case ut:return"[object DataView]";case dt:return"[object Map]";case pt:return"[object Promise]";case ft:return"[object Set]";case ht:return"[object WeakMap]"}return t});var gt=At,mt=Object.prototype.hasOwnProperty;var vt=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&mt.call(e,"index")&&(r.index=e.index,r.input=e.input),r},bt=b.a.Uint8Array;var kt=function(e){var t=new e.constructor(e.byteLength);return new bt(t).set(new bt(e)),t};var yt=function(e,t){var r=t?kt(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)},wt=/\w*$/;var xt=function(e){var t=new e.constructor(e.source,wt.exec(e));return t.lastIndex=e.lastIndex,t},_t=r("ca54"),Ct=_t.a?_t.a.prototype:void 0,Et=Ct?Ct.valueOf:void 0;var Tt=function(e){return Et?Object(Et.call(e)):{}};var Bt=function(e,t){var r=t?kt(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)};var St=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return kt(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return yt(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Bt(e,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return xt(e);case"[object Set]":return new n;case"[object Symbol]":return Tt(e)}},Dt=Object.create,Ut=function(){function e(){}return function(t){if(!Object(x.a)(t))return{};if(Dt)return Dt(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();var Ft=function(e){return"function"!=typeof e.constructor||Fe(e)?{}:Ut(et(e))};var It=function(e){return pe(e)&&"[object Map]"==gt(e)},Lt=Ee.a&&Ee.a.isMap,Ot=Lt?Ce(Lt):It;var Mt=function(e){return pe(e)&&"[object Set]"==gt(e)},Pt=Ee.a&&Ee.a.isSet,Rt=Pt?Ce(Pt):Mt,Nt={};Nt["[object Arguments]"]=Nt["[object Array]"]=Nt["[object ArrayBuffer]"]=Nt["[object DataView]"]=Nt["[object Boolean]"]=Nt["[object Date]"]=Nt["[object Float32Array]"]=Nt["[object Float64Array]"]=Nt["[object Int8Array]"]=Nt["[object Int16Array]"]=Nt["[object Int32Array]"]=Nt["[object Map]"]=Nt["[object Number]"]=Nt["[object Object]"]=Nt["[object RegExp]"]=Nt["[object Set]"]=Nt["[object String]"]=Nt["[object Symbol]"]=Nt["[object Uint8Array]"]=Nt["[object Uint8ClampedArray]"]=Nt["[object Uint16Array]"]=Nt["[object Uint32Array]"]=!0,Nt["[object Error]"]=Nt["[object Function]"]=Nt["[object WeakMap]"]=!1;var zt=function e(t,r,n,i,a,o){var s,c=1&r,l=2&r,u=4&r;if(n&&(s=a?n(t,i,a,o):n(t)),void 0!==s)return s;if(!Object(x.a)(t))return t;var d=ve(t);if(d){if(s=vt(t),!c)return Ke(t,s)}else{var p=gt(t),f="[object Function]"==p||"[object GeneratorFunction]"==p;if(Object(be.a)(t))return Object(We.a)(t,c);if("[object Object]"==p||"[object Arguments]"==p||f&&!a){if(s=l||f?{}:Ft(t),!c)return l?rt(t,qe(s,t)):Ze(t,Ne(s,t))}else{if(!Nt[p])return a?t:{};s=St(t,p,c)}}o||(o=new ne);var h=o.get(t);if(h)return h;o.set(t,s),Rt(t)?t.forEach((function(i){s.add(e(i,r,n,i,t,o))})):Ot(t)&&t.forEach((function(i,a){s.set(a,e(i,r,n,a,t,o))}));var A=d?void 0:(u?l?at:it:l?Qe:Re)(t);return ie(A||t,(function(i,a){A&&(i=t[a=i]),ce(s,a,e(i,r,n,a,t,o))})),s};t.a=function(e){return zt(e,5)}},"5cce":function(e,t){e.exports={version:"0.27.2"}},"5ddd":function(e,t,r){var n=r("803c");function i(e,t){t.forEach((function(t){!function(e,t){a[t.type](e,t)}(e,t)}))}t.freshElement=n.freshElement,t.nonFreshElement=n.nonFreshElement,t.elementWithTag=n.elementWithTag,t.text=n.text,t.forceWrite=n.forceWrite,t.simplify=r("3a5a");var a={element:function(e,t){n.isVoidElement(t)?e.selfClosing(t.tag.tagName,t.tag.attributes):(e.open(t.tag.tagName,t.tag.attributes),i(e,t.children),e.close(t.tag.tagName))},text:function(e,t){e.text(t.value)},forceWrite:function(){}};t.write=i},"5ea3":function(e,t,r){"use strict";(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.a=r}).call(this,r("c8ba"))},"5ee4":function(e,t,r){"use strict";var n=r("ce61");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},"5f02":function(e,t,r){"use strict";var n=r("c532");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},"5f96":function(e,t,r){"use strict";var n=r("ebb5"),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=[].join;a("join",(function(e){return o.apply(i(this),arguments)}))},"5fb2":function(e,t,r){"use strict";var n=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",o=Math.floor,s=String.fromCharCode,c=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(n+36*e/(e+38))},u=function(e){var t,r,n=[],i=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),r--)}else t.push(i)}return t}(e)).length,u=128,d=0,p=72;for(t=0;t<e.length;t++)(r=e[t])<128&&n.push(s(r));var f=n.length,h=f;for(f&&n.push("-");h<i;){var A=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=u&&r<A&&(A=r);var g=h+1;if(A-u>o((2147483647-d)/g))throw RangeError(a);for(d+=(A-u)*g,u=A,t=0;t<e.length;t++){if((r=e[t])<u&&++d>2147483647)throw RangeError(a);if(r==u){for(var m=d,v=36;;v+=36){var b=v<=p?1:v>=p+26?26:v-p;if(m<b)break;var k=m-b,y=36-b;n.push(s(c(b+k%y))),m=o(k/y)}n.push(s(c(m))),p=l(d,g,h==f),d=0,++h}}++d,++u}return n.join("")};e.exports=function(e){var t,r,a=[],o=e.toLowerCase().replace(i,".").split(".");for(t=0;t<o.length;t++)r=o[t],a.push(n.test(r)?"xn--"+u(r):r);return a.join(".")}},"5fc2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},"605d":function(e,t,r){var n=r("c6b6"),i=r("da84");e.exports="process"==n(i.process)},6062:function(e,t,r){"use strict";var n=r("6d61"),i=r("6566");e.exports=n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},6069:function(e,t){e.exports="object"==typeof window},"60bd":function(e,t,r){"use strict";var n=r("da84"),i=r("ebb5"),a=r("e260"),o=r("b622")("iterator"),s=n.Uint8Array,c=a.values,l=a.keys,u=a.entries,d=i.aTypedArray,p=i.exportTypedArrayMethod,f=s&&s.prototype[o],h=!!f&&("values"==f.name||null==f.name),A=function(){return c.call(d(this))};p("entries",(function(){return u.call(d(this))})),p("keys",(function(){return l.call(d(this))})),p("values",A,!h),p(o,A,!h)},"60c4":function(e,t,r){var n=r("5120").RegexTokeniser;t.tokenise=function(e){return new n([{name:"identifier",regex:new RegExp("((?:[a-zA-Z\\-_]|\\\\.)(?:(?:[a-zA-Z\\-_]|\\\\.)|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp("'((?:\\\\.|[^'])*)'")},{name:"unterminated-string",regex:new RegExp("'((?:\\\\.|[^'])*)")},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]).tokenise(e)}},"60da":function(e,t,r){"use strict";var n=r("83ab"),i=r("d039"),a=r("df75"),o=r("7418"),s=r("d1e7"),c=r("7b0b"),l=r("44ad"),u=Object.assign,d=Object.defineProperty;e.exports=!u||i((function(){if(n&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[r]||"abcdefghijklmnopqrst"!=a(u({},t)).join("")}))?function(e,t){for(var r=c(e),i=arguments.length,u=1,d=o.f,p=s.f;i>u;)for(var f,h=l(arguments[u++]),A=d?a(h).concat(d(h)):a(h),g=A.length,m=0;g>m;)f=A[m++],n&&!p.call(h,f)||(r[f]=h[f]);return r}:u},"621a":function(e,t,r){"use strict";var n=r("da84"),i=r("83ab"),a=r("a981"),o=r("9112"),s=r("e2cc"),c=r("d039"),l=r("19aa"),u=r("a691"),d=r("50c4"),p=r("0b25"),f=r("77a7"),h=r("e163"),A=r("d2bb"),g=r("241c").f,m=r("9bf2").f,v=r("81d5"),b=r("d44e"),k=r("69f3"),y=k.get,w=k.set,x=n.ArrayBuffer,_=x,C=n.DataView,E=C&&C.prototype,T=Object.prototype,B=n.RangeError,S=f.pack,D=f.unpack,U=function(e){return[255&e]},F=function(e){return[255&e,e>>8&255]},I=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},O=function(e){return S(e,23,4)},M=function(e){return S(e,52,8)},P=function(e,t){m(e.prototype,t,{get:function(){return y(this)[t]}})},R=function(e,t,r,n){var i=p(r),a=y(e);if(i+t>a.byteLength)throw B("Wrong index");var o=y(a.buffer).bytes,s=i+a.byteOffset,c=o.slice(s,s+t);return n?c:c.reverse()},N=function(e,t,r,n,i,a){var o=p(r),s=y(e);if(o+t>s.byteLength)throw B("Wrong index");for(var c=y(s.buffer).bytes,l=o+s.byteOffset,u=n(+i),d=0;d<t;d++)c[l+d]=u[a?d:t-d-1]};if(a){if(!c((function(){x(1)}))||!c((function(){new x(-1)}))||c((function(){return new x,new x(1.5),new x(NaN),"ArrayBuffer"!=x.name}))){for(var z,H=(_=function(e){return l(this,_),new x(p(e))}).prototype=x.prototype,j=g(x),Q=0;j.length>Q;)(z=j[Q++])in _||o(_,z,x[z]);H.constructor=_}A&&h(E)!==T&&A(E,T);var q=new C(new _(2)),W=E.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||s(E,{setInt8:function(e,t){W.call(this,e,t<<24>>24)},setUint8:function(e,t){W.call(this,e,t<<24>>24)}},{unsafe:!0})}else _=function(e){l(this,_,"ArrayBuffer");var t=p(e);w(this,{bytes:v.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},C=function(e,t,r){l(this,C,"DataView"),l(e,_,"DataView");var n=y(e).byteLength,a=u(t);if(a<0||a>n)throw B("Wrong offset");if(a+(r=void 0===r?n-a:d(r))>n)throw B("Wrong length");w(this,{buffer:e,byteLength:r,byteOffset:a}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=a)},i&&(P(_,"byteLength"),P(C,"buffer"),P(C,"byteLength"),P(C,"byteOffset")),s(C.prototype,{getInt8:function(e){return R(this,1,e)[0]<<24>>24},getUint8:function(e){return R(this,1,e)[0]},getInt16:function(e){var t=R(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=R(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(R(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(R(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return D(R(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return D(R(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){N(this,1,e,U,t)},setUint8:function(e,t){N(this,1,e,U,t)},setInt16:function(e,t){N(this,2,e,F,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){N(this,2,e,F,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){N(this,4,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){N(this,4,e,I,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){N(this,4,e,O,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){N(this,8,e,M,t,arguments.length>2?arguments[2]:void 0)}});b(_,"ArrayBuffer"),b(C,"DataView"),e.exports={ArrayBuffer:_,DataView:C}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6374:function(e,t,r){r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0");var n=r("6613");e.exports=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}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 o,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw o}}}},e.exports.default=e.exports,e.exports.__esModule=!0},6390:function(e,t,r){var n=r("ebf8"),i=r("c46f"),a=r("e7f5"),o=r("d688"),s=o.Element;t.readString=function(e,t){t=t||{};try{var r=a.parseFromString(e,"text/xml")}catch(e){return n.reject(e)}if("parsererror"===r.documentElement.tagName)return n.resolve(new Error(r.documentElement.textContent));function l(e){switch(e.nodeType){case c.ELEMENT_NODE:return function(e){var t=u(e),r=[];i.forEach(e.childNodes,(function(e){var t=l(e);t&&r.push(t)}));var n={};return i.forEach(e.attributes,(function(e){n[u(e)]=e.value})),new s(t,n,r)}(e);case c.TEXT_NODE:return o.text(e.nodeValue)}}function u(e){if(e.namespaceURI){var r=t[e.namespaceURI];return(r?r+":":"{"+e.namespaceURI+"}")+e.localName}return e.localName}return n.resolve(l(r.documentElement))};var c=a.Node},"63c5":function(e,t,r){(function(e,n){var i;/*! https://mths.be/punycode v1.4.0 by @mathias */!function(a){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var s,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,h=String.fromCharCode;function A(e){throw new RangeError(p[e])}function g(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function m(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+g((e=e.replace(d,".")).split("."),t).join(".")}function v(e){for(var t,r,n=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function k(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,r){var n=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;n+=36)e=f(e/35);return f(n+36*e/(e+38))}function w(e){var t,r,n,i,a,o,s,l,u,d,p,h=[],g=e.length,m=0,v=128,k=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&A("not-basic"),h.push(e.charCodeAt(n));for(i=r>0?r+1:0;i<g;){for(a=m,o=1,s=36;i>=g&&A("invalid-input"),((l=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||l>f((c-m)/o))&&A("overflow"),m+=l*o,!(l<(u=s<=k?1:s>=k+26?26:s-k));s+=36)o>f(c/(d=36-u))&&A("overflow"),o*=d;k=y(m-a,t=h.length+1,0==a),f(m/t)>c-v&&A("overflow"),v+=f(m/t),m%=t,h.splice(m++,0,v)}return b(h)}function x(e){var t,r,n,i,a,o,s,l,u,d,p,g,m,b,w,x=[];for(g=(e=v(e)).length,t=128,r=0,a=72,o=0;o<g;++o)(p=e[o])<128&&x.push(h(p));for(n=i=x.length,i&&x.push("-");n<g;){for(s=c,o=0;o<g;++o)(p=e[o])>=t&&p<s&&(s=p);for(s-t>f((c-r)/(m=n+1))&&A("overflow"),r+=(s-t)*m,t=s,o=0;o<g;++o)if((p=e[o])<t&&++r>c&&A("overflow"),p==t){for(l=r,u=36;!(l<(d=u<=a?1:u>=a+26?26:u-a));u+=36)w=l-d,b=36-d,x.push(h(k(d+w%b,0))),l=f(w/b);x.push(h(k(l,0))),a=y(r,m,n==i),r=0,++n}++r,++t}return x.join("")}s={version:"1.3.2",ucs2:{decode:v,encode:b},decode:w,encode:x,toASCII:function(e){return m(e,(function(e){return u.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return m(e,(function(e){return l.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,r,t,e))||(e.exports=i)}()}).call(this,r("62e4")(e),r("c8ba"))},"649e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("b727").some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"64bd":function(e,t,r){var n=r("9d83"),i=r("03e1").Result;function a(e,t){function r(e){var t=e.attributes["w:type"];return"continuationSeparator"!==t&&"separator"!==t}function a(r){var i=r.attributes["w:id"];return t.readXmlElements(r.children).map((function(t){return n.Note({noteType:e,noteId:i,body:t})}))}return function(t){return i.combine(t.getElementsByTagName("w:"+e).filter(r).map(a))}}t.createFootnotesReader=a.bind(this,"footnote"),t.createEndnotesReader=a.bind(this,"endnote")},6536:function(e,t,r){"use strict";r.r(t),r.d(t,"Any",(function(){return n})),r.d(t,"Cc",(function(){return i})),r.d(t,"Cf",(function(){return a})),r.d(t,"P",(function(){return o})),r.d(t,"S",(function(){return s})),r.d(t,"Z",(function(){return c}));var n=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\0-\x1F\x7F-\x9F]/,a=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,o=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,s=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,c=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},6547:function(e,t,r){var n=r("a691"),i=r("1d80"),a=function(e){return function(t,r){var a,o,s=String(i(t)),c=n(r),l=s.length;return c<0||c>=l?e?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):o-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},6566:function(e,t,r){"use strict";var n=r("9bf2").f,i=r("7c73"),a=r("e2cc"),o=r("0366"),s=r("19aa"),c=r("2266"),l=r("7dd0"),u=r("2626"),d=r("83ab"),p=r("f183").fastKey,f=r("69f3"),h=f.set,A=f.getterFor;e.exports={getConstructor:function(e,t,r,l){var u=e((function(e,n){s(e,u,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=n&&c(n,e[l],{that:e,AS_ENTRIES:r})})),f=A(t),g=function(e,t,r){var n,i,a=f(e),o=m(e,t);return o?o.value=r:(a.last=o={index:i=p(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=o),n&&(n.next=o),d?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},m=function(e,t){var r,n=f(e),i=p(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return a(u.prototype,{clear:function(){for(var e=f(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=f(this),r=m(this,e);if(r){var n=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),t.first==r&&(t.first=n),t.last==r&&(t.last=i),d?t.size--:this.size--}return!!r},forEach:function(e){for(var t,r=f(this),n=o(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!m(this,e)}}),a(u.prototype,r?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&n(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,r){var n=t+" Iterator",i=A(t),a=A(n);l(e,t,(function(e,t){h(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),u(t)}}},"65f0":function(e,t,r){var n=r("861d"),i=r("e8b5"),a=r("b622")("species");e.exports=function(e,t){var r;return i(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[a])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},6613:function(e,t,r){r("fb6a"),r("d3b7"),r("b0c0"),r("a630"),r("3ca3");var n=r("5a43");e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},"663c":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=n(r("d85e")),a=r("f27d"),o=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var r,n="",o=0;null!==(r=e.exec(t));){var s=r.index;n+=t.substring(o,s);var c=t.charCodeAt(s),l=i.default.get(c);if("object"==typeof l){if(s+1<t.length){var u=t.charCodeAt(s+1),d="number"==typeof l.n?l.n===u?l.o:void 0:l.n.get(u);if(void 0!==d){n+=d,o=e.lastIndex+=1;continue}}l=l.v}if(void 0!==l)n+=l,o=s+1;else{var p=(0,a.getCodePoint)(t,s);n+="&#x".concat(p.toString(16),";"),o=e.lastIndex+=Number(p!==c)}}return n+t.substr(o)}t.encodeHTML=function(e){return s(o,e)},t.encodeNonAsciiHTML=function(e){return s(a.xmlReplacer,e)}},"667d":function(e,t,r){"use strict";e.exports=function(e,t){var n={},i=r("6df9"),a=r("33cb"),o=i.withAppended,s=i.maybeWrapAsError,c=i.canEvaluate,l=r("8d16").TypeError,u={__isPromisified__:!0},d=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")$"),p=function(e){return i.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e};function f(e){return!d.test(e)}function h(e){try{return!0===e.__isPromisified__}catch(e){return!1}}function A(e,t,r){var n=i.getDataPropertyOrDefault(e,t+r,u);return!!n&&h(n)}function g(e,t,r,n){for(var a=i.inheritedDataKeys(e),o=[],s=0;s<a.length;++s){var c=a[s],u=e[c],d=n===p||p(c);"function"!=typeof u||h(u)||A(e,c,t)||!n(c,u,e,d)||o.push(c,u)}return function(e,t,r){for(var n=0;n<e.length;n+=2){var i=e[n];if(r.test(i))for(var a=i.replace(r,""),o=0;o<e.length;o+=2)if(e[o]===a)throw new l("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",t))}}(o,t,r),o}var m=c?function(r,c,l,u,d,p){var f=Math.max(0,function(e){return"number"==typeof e.length?Math.max(Math.min(e.length,1024),0):0}(u)-1),h=function(e){for(var t=[e],r=Math.max(0,e-1-3),n=e-1;n>=r;--n)t.push(n);for(n=e+1;n<=3;++n)t.push(n);return t}(f),A="string"==typeof r||c===n;function g(e){var t,r=(t=e,i.filledRange(t,"_arg","")).join(", "),n=e>0?", ":"";return(A?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===c?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",r).replace(", ",n)}var m="string"==typeof r?"this != null ? this['"+r+"'] : fn":"fn",v="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+p+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]",function(){for(var e="",t=0;t<h.length;++t)e+="case "+h[t]+":"+g(h[t]);return e+=" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",A?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}()).replace("[GetFunctionCode]",m);return v=v.replace("Parameters",function(e){return i.filledRange(Math.max(e,3),"_arg","")}(f)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",v)(e,u,c,o,s,a,i.tryCatch,i.errorObj,i.notEnumerableProp,t)}:function(r,c,l,u,d,p){var f=function(){return this}(),h=r;function A(){var i=c;c===n&&(i=this);var l=new e(t);l._captureStackTrace();var u="string"==typeof h&&this!==f?this[h]:r,d=a(l,p);try{u.apply(i,o(arguments,d))}catch(e){l._rejectCallback(s(e),!0,!0)}return l._isFateSealed()||l._setAsyncGuaranteed(),l}return"string"==typeof h&&(r=u),i.notEnumerableProp(A,"__isPromisified__",!0),A};function v(e,t,r,a,o){for(var s=new RegExp(t.replace(/([$])/,"\\$")+"$"),c=g(e,t,s,r),l=0,u=c.length;l<u;l+=2){var d=c[l],p=c[l+1],f=d+t;if(a===m)e[f]=m(d,n,d,p,t,o);else{var h=a(p,(function(){return m(d,n,d,p,t,o)}));i.notEnumerableProp(h,"__isPromisified__",!0),e[f]=h}}return i.toFastProperties(e),e}e.promisify=function(e,t){if("function"!=typeof e)throw new l("expecting a function but got "+i.classString(e));if(h(e))return e;var r=function(e,t,r){return m(e,t,void 0,e,null,r)}(e,void 0===(t=Object(t)).context?n:t.context,!!t.multiArgs);return i.copyDescriptors(e,r,f),r},e.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!=typeof e)throw new l("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var r=!!(t=Object(t)).multiArgs,n=t.suffix;"string"!=typeof n&&(n="Async");var a=t.filter;"function"!=typeof a&&(a=p);var o=t.promisifier;if("function"!=typeof o&&(o=m),!i.isIdentifier(n))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=i.inheritedDataKeys(e),c=0;c<s.length;++c){var u=e[s[c]];"constructor"!==s[c]&&i.isClass(u)&&(v(u.prototype,n,a,o,r),v(u,n,a,o,r))}return v(e,n,a,o,r)}}},"687f":function(e,t,r){t.DocumentXmlReader=function(e){var t=e.bodyReader;return{convertXmlToDocument:function(r){var a=r.first("w:body"),o=t.readXmlElements(a.children).map((function(t){return new n.Document(t,{notes:e.notes,comments:e.comments})}));return new i(o.value,o.messages)}}};var n=r("9d83"),i=r("03e1").Result},"68b5":function(e,t){function r(e,t,r,n){return{findParagraphStyleById:function(t){return e[t]},findCharacterStyleById:function(e){return t[e]},findTableStyleById:function(e){return r[e]},findNumberingStyleById:function(e){return n[e]}}}t.readStylesXml=function(e){var t={},n={},i={},a={},o={paragraph:t,character:n,table:i};return e.getElementsByTagName("w:style").forEach((function(e){var t=function(e){var t=e.attributes["w:type"],r=e.attributes["w:styleId"],n=function(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}(e);return{type:t,styleId:r,name:n}}(e);if("numbering"===t.type)a[t.styleId]=function(e){return{numId:e.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"]}}(e);else{var r=o[t.type];r&&(r[t.styleId]=t)}})),new r(t,n,i,a)},t.Styles=r,t.defaultStyles=new r({},{}),r.EMPTY=new r({},{},{},{})},"69f3":function(e,t,r){var n,i,a,o=r("7f9a"),s=r("da84"),c=r("861d"),l=r("9112"),u=r("5135"),d=r("c6cd"),p=r("f772"),f=r("d012"),h=s.WeakMap;if(o||d.state){var A=d.state||(d.state=new h),g=A.get,m=A.has,v=A.set;n=function(e,t){if(m.call(A,e))throw new TypeError("Object already initialized");return t.facade=e,v.call(A,e,t),t},i=function(e){return g.call(A,e)||{}},a=function(e){return m.call(A,e)}}else{var b=p("state");f[b]=!0,n=function(e,t){if(u(e,b))throw new TypeError("Object already initialized");return t.facade=e,l(e,b,t),t},i=function(e){return u(e,b)?e[b]:{}},a=function(e){return u(e,b)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},"6a8d":function(e,t,r){"use strict";var n=r("c909"),i=r.n(n),a=r("09f0"),o=r.n(a);const s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function c(e,t,r,n){let i,a,o;const s=t||[0],c=(r=r||0)>>>3,l=-1===n?3:0;for(i=0;i<e.length;i+=1)o=i+c,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(l+n*(o%4));return{value:s,binLen:8*e.length+r}}function l(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(e,t,n){return function(e,t,r,n){let i,a,o,s;if(0!=e.length%2)throw new Error("String of HEX type must be in byte increments");const c=t||[0],l=(r=r||0)>>>3,u=-1===n?3:0;for(i=0;i<e.length;i+=2){if(a=parseInt(e.substr(i,2),16),isNaN(a))throw new Error("String of HEX type contains invalid characters");for(s=(i>>>1)+l,o=s>>>2;c.length<=o;)c.push(0);c[o]|=a<<8*(u+n*(s%4))}return{value:c,binLen:4*e.length+r}}(e,t,n,r)};case"TEXT":return function(e,n,i){return function(e,t,r,n,i){let a,o,s,c,l,u,d,p,f=0;const h=r||[0],A=(n=n||0)>>>3;if("UTF8"===t)for(d=-1===i?3:0,s=0;s<e.length;s+=1)for(a=e.charCodeAt(s),o=[],128>a?o.push(a):2048>a?(o.push(192|a>>>6),o.push(128|63&a)):55296>a||57344<=a?o.push(224|a>>>12,128|a>>>6&63,128|63&a):(s+=1,a=65536+((1023&a)<<10|1023&e.charCodeAt(s)),o.push(240|a>>>18,128|a>>>12&63,128|a>>>6&63,128|63&a)),c=0;c<o.length;c+=1){for(u=f+A,l=u>>>2;h.length<=l;)h.push(0);h[l]|=o[c]<<8*(d+i*(u%4)),f+=1}else for(d=-1===i?2:0,p="UTF16LE"===t&&1!==i||"UTF16LE"!==t&&1===i,s=0;s<e.length;s+=1){for(a=e.charCodeAt(s),!0===p&&(c=255&a,a=c<<8|a>>>8),u=f+A,l=u>>>2;h.length<=l;)h.push(0);h[l]|=a<<8*(d+i*(u%4)),f+=2}return{value:h,binLen:8*f+n}}(e,t,n,i,r)};case"B64":return function(e,t,n){return function(e,t,r,n){let i,a,o,c,l,u,d,p=0;const f=t||[0],h=(r=r||0)>>>3,A=-1===n?3:0,g=e.indexOf("=");if(-1===e.search(/^[a-zA-Z0-9=+/]+$/))throw new Error("Invalid character in base-64 string");if(e=e.replace(/=/g,""),-1!==g&&g<e.length)throw new Error("Invalid '=' found in base-64 string");for(a=0;a<e.length;a+=4){for(l=e.substr(a,4),c=0,o=0;o<l.length;o+=1)i=s.indexOf(l.charAt(o)),c|=i<<18-6*o;for(o=0;o<l.length-1;o+=1){for(d=p+h,u=d>>>2;f.length<=u;)f.push(0);f[u]|=(c>>>16-8*o&255)<<8*(A+n*(d%4)),p+=1}}return{value:f,binLen:8*p+r}}(e,t,n,r)};case"BYTES":return function(e,t,n){return function(e,t,r,n){let i,a,o,s;const c=t||[0],l=(r=r||0)>>>3,u=-1===n?3:0;for(a=0;a<e.length;a+=1)i=e.charCodeAt(a),s=a+l,o=s>>>2,c.length<=o&&c.push(0),c[o]|=i<<8*(u+n*(s%4));return{value:c,binLen:8*e.length+r}}(e,t,n,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(e){throw new Error("ARRAYBUFFER not supported by this environment")}return function(e,t,n){return function(e,t,r,n){return c(new Uint8Array(e),t,r,n)}(e,t,n,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(e){throw new Error("UINT8ARRAY not supported by this environment")}return function(e,t,n){return c(e,t,n,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function u(e,t,r,n){switch(e){case"HEX":return function(e){return function(e,t,r,n){let i,a,o="";const s=t/8,c=-1===r?3:0;for(i=0;i<s;i+=1)a=e[i>>>2]>>>8*(c+r*(i%4)),o+="0123456789abcdef".charAt(a>>>4&15)+"0123456789abcdef".charAt(15&a);return n.outputUpper?o.toUpperCase():o}(e,t,r,n)};case"B64":return function(e){return function(e,t,r,n){let i,a,o,c,l,u="";const d=t/8,p=-1===r?3:0;for(i=0;i<d;i+=3)for(c=i+1<d?e[i+1>>>2]:0,l=i+2<d?e[i+2>>>2]:0,o=(e[i>>>2]>>>8*(p+r*(i%4))&255)<<16|(c>>>8*(p+r*((i+1)%4))&255)<<8|l>>>8*(p+r*((i+2)%4))&255,a=0;a<4;a+=1)u+=8*i+6*a<=t?s.charAt(o>>>6*(3-a)&63):n.b64Pad;return u}(e,t,r,n)};case"BYTES":return function(e){return function(e,t,r){let n,i,a="";const o=t/8,s=-1===r?3:0;for(n=0;n<o;n+=1)i=e[n>>>2]>>>8*(s+r*(n%4))&255,a+=String.fromCharCode(i);return a}(e,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(e){throw new Error("ARRAYBUFFER not supported by this environment")}return function(e){return function(e,t,r){let n;const i=t/8,a=new ArrayBuffer(i),o=new Uint8Array(a),s=-1===r?3:0;for(n=0;n<i;n+=1)o[n]=e[n>>>2]>>>8*(s+r*(n%4))&255;return a}(e,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(e){throw new Error("UINT8ARRAY not supported by this environment")}return function(e){return function(e,t,r){let n;const i=t/8,a=-1===r?3:0,o=new Uint8Array(i);for(n=0;n<i;n+=1)o[n]=e[n>>>2]>>>8*(a+r*(n%4))&255;return o}(e,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const d=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],f=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],h="Chosen SHA variant is not supported";function A(e,t){let r,n;const i=e.binLen>>>3,a=t.binLen>>>3,o=i<<3,s=4-i<<3;if(i%4!=0){for(r=0;r<a;r+=4)n=i+r>>>2,e.value[n]|=t.value[r>>>2]<<o,e.value.push(0),e.value[n+1]|=t.value[r>>>2]>>>s;return(e.value.length<<2)-4>=a+i&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function g(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},r=e||{},n="Output length must be a multiple of 8";if(t.outputUpper=r.outputUpper||!1,r.b64Pad&&(t.b64Pad=r.b64Pad),r.outputLen){if(r.outputLen%8!=0)throw new Error(n);t.outputLen=r.outputLen}else if(r.shakeLen){if(r.shakeLen%8!=0)throw new Error(n);t.outputLen=r.shakeLen}if("boolean"!=typeof t.outputUpper)throw new Error("Invalid outputUpper formatting option");if("string"!=typeof t.b64Pad)throw new Error("Invalid b64Pad formatting option");return t}function m(e,t,r,n){const i=e+" must include a value and format";if(!t){if(!n)throw new Error(i);return n}if(void 0===t.value||!t.format)throw new Error(i);return l(t.format,t.encoding||"UTF8",r)(t.value)}class v{constructor(e,t,r){const n=r||{};if(this.t=t,this.i=n.encoding||"UTF8",this.numRounds=n.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=e,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.H=[],this.S=[]}update(e){let t,r=0;const n=this.p>>>5,i=this.m(e,this.o,this.h),a=i.binLen,o=i.value,s=a>>>5;for(t=0;t<s;t+=n)r+this.p<=a&&(this.C=this.R(o.slice(t,t+n),this.C),r+=this.p);this.l+=r,this.o=o.slice(r>>>5),this.h=a%this.p,this.u=!0}getHash(e,t){let r,n,i=this.U;const a=g(t);if(this.v){if(-1===a.outputLen)throw new Error("Output length must be specified in options");i=a.outputLen}const o=u(e,i,this.K,a);if(this.A&&this.T)return o(this.T(a));for(n=this.F(this.o.slice(),this.h,this.l,this.g(this.C),i),r=1;r<this.numRounds;r+=1)this.v&&i%32!=0&&(n[n.length-1]&=16777215>>>24-i%32),n=this.F(n,i,0,this.B(this.s),i);return o(n)}setHMACKey(e,t,r){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");const n=l(t,(r||{}).encoding||"UTF8",this.K);this.M(n(e))}M(e){const t=this.p>>>3,r=t/4-1;let n;if(1!==this.numRounds)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(t<e.binLen/8&&(e.value=this.F(e.value,e.binLen,0,this.B(this.s),this.U));e.value.length<=r;)e.value.push(0);for(n=0;n<=r;n+=1)this.H[n]=909522486^e.value[n],this.S[n]=1549556828^e.value[n];this.C=this.R(this.H,this.C),this.l=this.p,this.A=!0}getHMAC(e,t){const r=g(t);return u(e,this.U,this.K,r)(this.k())}k(){let e;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");const t=this.F(this.o.slice(),this.h,this.l,this.g(this.C),this.U);return e=this.R(this.S,this.B(this.s)),e=this.F(t,this.U,this.p,e,this.U),e}}function b(e,t){return e<<t|e>>>32-t}function k(e,t){return e>>>t|e<<32-t}function y(e,t){return e>>>t}function w(e,t,r){return e^t^r}function x(e,t,r){return e&t^~e&r}function _(e,t,r){return e&t^e&r^t&r}function C(e){return k(e,2)^k(e,13)^k(e,22)}function E(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function T(e,t,r,n){const i=(65535&e)+(65535&t)+(65535&r)+(65535&n);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16))<<16|65535&i}function B(e,t,r,n,i){const a=(65535&e)+(65535&t)+(65535&r)+(65535&n)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function S(e){return k(e,7)^k(e,18)^y(e,3)}function D(e){return k(e,6)^k(e,11)^k(e,25)}function U(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function F(e,t){let r,n,i,a,o,s,c;const l=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],c=0;c<80;c+=1)l[c]=c<16?e[c]:b(l[c-3]^l[c-8]^l[c-14]^l[c-16],1),s=c<20?B(b(r,5),x(n,i,a),o,1518500249,l[c]):c<40?B(b(r,5),w(n,i,a),o,1859775393,l[c]):c<60?B(b(r,5),_(n,i,a),o,2400959708,l[c]):B(b(r,5),w(n,i,a),o,3395469782,l[c]),o=a,a=i,i=b(n,30),n=r,r=s;return t[0]=E(r,t[0]),t[1]=E(n,t[1]),t[2]=E(i,t[2]),t[3]=E(a,t[3]),t[4]=E(o,t[4]),t}function I(e,t,r,n){let i;const a=15+(t+65>>>9<<4),o=t+r;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/4294967296|0,i=0;i<e.length;i+=16)n=F(e.slice(i,i+16),n);return n}class L extends v{constructor(e,t,r){if("SHA-1"!==e)throw new Error(h);super(e,t,r);const n=r||{};this.L=!0,this.T=this.k,this.K=-1,this.m=l(this.t,this.i,this.K),this.R=F,this.g=function(e){return e.slice()},this.B=U,this.F=I,this.C=[1732584193,4023233417,2562383102,271733878,3285377520],this.p=512,this.U=160,this.v=!1,n.hmacKey&&this.M(m("hmacKey",n.hmacKey,this.K))}}function O(e){let t;return t="SHA-224"==e?p.slice():f.slice(),t}function M(e,t){let r,n,i,a,o,s,c,l,u,p,f;const h=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],f=0;f<64;f+=1)h[f]=f<16?e[f]:T(k(A=h[f-2],17)^k(A,19)^y(A,10),h[f-7],S(h[f-15]),h[f-16]),u=B(l,D(o),x(o,s,c),d[f],h[f]),p=E(C(r),_(r,n,i)),l=c,c=s,s=o,o=E(a,u),a=i,i=n,n=r,r=E(u,p);var A;return t[0]=E(r,t[0]),t[1]=E(n,t[1]),t[2]=E(i,t[2]),t[3]=E(a,t[3]),t[4]=E(o,t[4]),t[5]=E(s,t[5]),t[6]=E(c,t[6]),t[7]=E(l,t[7]),t}class P extends v{constructor(e,t,r){if("SHA-224"!==e&&"SHA-256"!==e)throw new Error(h);super(e,t,r);const n=r||{};this.T=this.k,this.L=!0,this.K=-1,this.m=l(this.t,this.i,this.K),this.R=M,this.g=function(e){return e.slice()},this.B=O,this.F=function(t,r,n,i){return function(e,t,r,n,i){let a,o;const s=15+(t+65>>>9<<4),c=t+r;for(;e.length<=s;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[s]=4294967295&c,e[s-1]=c/4294967296|0,a=0;a<e.length;a+=16)n=M(e.slice(a,a+16),n);return o="SHA-224"===i?[n[0],n[1],n[2],n[3],n[4],n[5],n[6]]:n,o}(t,r,n,i,e)},this.C=O(e),this.p=512,this.U="SHA-224"===e?224:256,this.v=!1,n.hmacKey&&this.M(m("hmacKey",n.hmacKey,this.K))}}class R{constructor(e,t){this.Y=e,this.N=t}}function N(e,t){let r;return t>32?(r=64-t,new R(e.N<<t|e.Y>>>r,e.Y<<t|e.N>>>r)):0!==t?(r=32-t,new R(e.Y<<t|e.N>>>r,e.N<<t|e.Y>>>r)):e}function z(e,t){let r;return t<32?(r=32-t,new R(e.Y>>>t|e.N<<r,e.N>>>t|e.Y<<r)):(r=64-t,new R(e.N>>>t|e.Y<<r,e.Y>>>t|e.N<<r))}function H(e,t){return new R(e.Y>>>t,e.N>>>t|e.Y<<32-t)}function j(e,t,r){return new R(e.Y&t.Y^e.Y&r.Y^t.Y&r.Y,e.N&t.N^e.N&r.N^t.N&r.N)}function Q(e){const t=z(e,28),r=z(e,34),n=z(e,39);return new R(t.Y^r.Y^n.Y,t.N^r.N^n.N)}function q(e,t){let r,n;r=(65535&e.N)+(65535&t.N),n=(e.N>>>16)+(t.N>>>16)+(r>>>16);const i=(65535&n)<<16|65535&r;return r=(65535&e.Y)+(65535&t.Y)+(n>>>16),n=(e.Y>>>16)+(t.Y>>>16)+(r>>>16),new R((65535&n)<<16|65535&r,i)}function W(e,t,r,n){let i,a;i=(65535&e.N)+(65535&t.N)+(65535&r.N)+(65535&n.N),a=(e.N>>>16)+(t.N>>>16)+(r.N>>>16)+(n.N>>>16)+(i>>>16);const o=(65535&a)<<16|65535&i;return i=(65535&e.Y)+(65535&t.Y)+(65535&r.Y)+(65535&n.Y)+(a>>>16),a=(e.Y>>>16)+(t.Y>>>16)+(r.Y>>>16)+(n.Y>>>16)+(i>>>16),new R((65535&a)<<16|65535&i,o)}function K(e,t,r,n,i){let a,o;a=(65535&e.N)+(65535&t.N)+(65535&r.N)+(65535&n.N)+(65535&i.N),o=(e.N>>>16)+(t.N>>>16)+(r.N>>>16)+(n.N>>>16)+(i.N>>>16)+(a>>>16);const s=(65535&o)<<16|65535&a;return a=(65535&e.Y)+(65535&t.Y)+(65535&r.Y)+(65535&n.Y)+(65535&i.Y)+(o>>>16),o=(e.Y>>>16)+(t.Y>>>16)+(r.Y>>>16)+(n.Y>>>16)+(i.Y>>>16)+(a>>>16),new R((65535&o)<<16|65535&a,s)}function V(e,t){return new R(e.Y^t.Y,e.N^t.N)}function G(e){const t=z(e,19),r=z(e,61),n=H(e,6);return new R(t.Y^r.Y^n.Y,t.N^r.N^n.N)}function Y(e){const t=z(e,1),r=z(e,8),n=H(e,7);return new R(t.Y^r.Y^n.Y,t.N^r.N^n.N)}function X(e){const t=z(e,14),r=z(e,18),n=z(e,41);return new R(t.Y^r.Y^n.Y,t.N^r.N^n.N)}const $=[new R(d[0],3609767458),new R(d[1],602891725),new R(d[2],3964484399),new R(d[3],2173295548),new R(d[4],4081628472),new R(d[5],3053834265),new R(d[6],2937671579),new R(d[7],3664609560),new R(d[8],2734883394),new R(d[9],1164996542),new R(d[10],1323610764),new R(d[11],3590304994),new R(d[12],4068182383),new R(d[13],991336113),new R(d[14],633803317),new R(d[15],3479774868),new R(d[16],2666613458),new R(d[17],944711139),new R(d[18],2341262773),new R(d[19],2007800933),new R(d[20],1495990901),new R(d[21],1856431235),new R(d[22],3175218132),new R(d[23],2198950837),new R(d[24],3999719339),new R(d[25],766784016),new R(d[26],2566594879),new R(d[27],3203337956),new R(d[28],1034457026),new R(d[29],2466948901),new R(d[30],3758326383),new R(d[31],168717936),new R(d[32],1188179964),new R(d[33],1546045734),new R(d[34],1522805485),new R(d[35],2643833823),new R(d[36],2343527390),new R(d[37],1014477480),new R(d[38],1206759142),new R(d[39],344077627),new R(d[40],1290863460),new R(d[41],3158454273),new R(d[42],3505952657),new R(d[43],106217008),new R(d[44],3606008344),new R(d[45],1432725776),new R(d[46],1467031594),new R(d[47],851169720),new R(d[48],3100823752),new R(d[49],1363258195),new R(d[50],3750685593),new R(d[51],3785050280),new R(d[52],3318307427),new R(d[53],3812723403),new R(d[54],2003034995),new R(d[55],3602036899),new R(d[56],1575990012),new R(d[57],1125592928),new R(d[58],2716904306),new R(d[59],442776044),new R(d[60],593698344),new R(d[61],3733110249),new R(d[62],2999351573),new R(d[63],3815920427),new R(3391569614,3928383900),new R(3515267271,566280711),new R(3940187606,3454069534),new R(4118630271,4000239992),new R(116418474,1914138554),new R(174292421,2731055270),new R(289380356,3203993006),new R(460393269,320620315),new R(685471733,587496836),new R(852142971,1086792851),new R(1017036298,365543100),new R(1126000580,2618297676),new R(1288033470,3409855158),new R(1501505948,4234509866),new R(1607167915,987167468),new R(1816402316,1246189591)];function Z(e){return"SHA-384"===e?[new R(3418070365,p[0]),new R(1654270250,p[1]),new R(2438529370,p[2]),new R(355462360,p[3]),new R(1731405415,p[4]),new R(41048885895,p[5]),new R(3675008525,p[6]),new R(1203062813,p[7])]:[new R(f[0],4089235720),new R(f[1],2227873595),new R(f[2],4271175723),new R(f[3],1595750129),new R(f[4],2917565137),new R(f[5],725511199),new R(f[6],4215389547),new R(f[7],327033209)]}function J(e,t){let r,n,i,a,o,s,c,l,u,d,p,f;const h=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],p=0;p<80;p+=1)p<16?(f=2*p,h[p]=new R(e[f],e[f+1])):h[p]=W(G(h[p-2]),h[p-7],Y(h[p-15]),h[p-16]),u=K(l,X(o),(g=s,m=c,new R((A=o).Y&g.Y^~A.Y&m.Y,A.N&g.N^~A.N&m.N)),$[p],h[p]),d=q(Q(r),j(r,n,i)),l=c,c=s,s=o,o=q(a,u),a=i,i=n,n=r,r=q(u,d);var A,g,m;return t[0]=q(r,t[0]),t[1]=q(n,t[1]),t[2]=q(i,t[2]),t[3]=q(a,t[3]),t[4]=q(o,t[4]),t[5]=q(s,t[5]),t[6]=q(c,t[6]),t[7]=q(l,t[7]),t}class ee extends v{constructor(e,t,r){if("SHA-384"!==e&&"SHA-512"!==e)throw new Error(h);super(e,t,r);const n=r||{};this.T=this.k,this.L=!0,this.K=-1,this.m=l(this.t,this.i,this.K),this.R=J,this.g=function(e){return e.slice()},this.B=Z,this.F=function(t,r,n,i){return function(e,t,r,n,i){let a,o;const s=31+(t+129>>>10<<5),c=t+r;for(;e.length<=s;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[s]=4294967295&c,e[s-1]=c/4294967296|0,a=0;a<e.length;a+=32)n=J(e.slice(a,a+32),n);return o="SHA-384"===i?[(n=n)[0].Y,n[0].N,n[1].Y,n[1].N,n[2].Y,n[2].N,n[3].Y,n[3].N,n[4].Y,n[4].N,n[5].Y,n[5].N]:[n[0].Y,n[0].N,n[1].Y,n[1].N,n[2].Y,n[2].N,n[3].Y,n[3].N,n[4].Y,n[4].N,n[5].Y,n[5].N,n[6].Y,n[6].N,n[7].Y,n[7].N],o}(t,r,n,i,e)},this.C=Z(e),this.p=1024,this.U="SHA-384"===e?384:512,this.v=!1,n.hmacKey&&this.M(m("hmacKey",n.hmacKey,this.K))}}const te=[new R(0,1),new R(0,32898),new R(2147483648,32906),new R(2147483648,2147516416),new R(0,32907),new R(0,2147483649),new R(2147483648,2147516545),new R(2147483648,32777),new R(0,138),new R(0,136),new R(0,2147516425),new R(0,2147483658),new R(0,2147516555),new R(2147483648,139),new R(2147483648,32905),new R(2147483648,32771),new R(2147483648,32770),new R(2147483648,128),new R(0,32778),new R(2147483648,2147483658),new R(2147483648,2147516545),new R(2147483648,32896),new R(0,2147483649),new R(2147483648,2147516424)],re=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function ne(e){let t;const r=[];for(t=0;t<5;t+=1)r[t]=[new R(0,0),new R(0,0),new R(0,0),new R(0,0),new R(0,0)];return r}function ie(e){let t;const r=[];for(t=0;t<5;t+=1)r[t]=e[t].slice();return r}function ae(e,t){let r,n,i,a;const o=[],s=[];if(null!==e)for(n=0;n<e.length;n+=2)t[(n>>>1)%5][(n>>>1)/5|0]=V(t[(n>>>1)%5][(n>>>1)/5|0],new R(e[n+1],e[n]));for(r=0;r<24;r+=1){for(a=ne(),n=0;n<5;n+=1)o[n]=(c=t[n][0],l=t[n][1],u=t[n][2],d=t[n][3],p=t[n][4],new R(c.Y^l.Y^u.Y^d.Y^p.Y,c.N^l.N^u.N^d.N^p.N));for(n=0;n<5;n+=1)s[n]=V(o[(n+4)%5],N(o[(n+1)%5],1));for(n=0;n<5;n+=1)for(i=0;i<5;i+=1)t[n][i]=V(t[n][i],s[n]);for(n=0;n<5;n+=1)for(i=0;i<5;i+=1)a[i][(2*n+3*i)%5]=N(t[n][i],re[n][i]);for(n=0;n<5;n+=1)for(i=0;i<5;i+=1)t[n][i]=V(a[n][i],new R(~a[(n+1)%5][i].Y&a[(n+2)%5][i].Y,~a[(n+1)%5][i].N&a[(n+2)%5][i].N));t[0][0]=V(t[0][0],te[r])}var c,l,u,d,p;return t}function oe(e){let t,r,n=0;const i=[0,0],a=[4294967295&e,e/4294967296&2097151];for(t=6;t>=0;t--)r=a[t>>2]>>>8*t&255,0===r&&0===n||(i[n+1>>2]|=r<<8*(n+1),n+=1);return n=0!==n?n:1,i[0]|=n,{value:n+1>4?i:[i[0]],binLen:8+8*n}}function se(e){return A(oe(e.binLen),e)}function ce(e,t){let r,n=oe(t);n=A(n,e);const i=t>>>2,a=(i-n.value.length%i)%i;for(r=0;r<a;r++)n.value.push(0);return n.value}class le extends v{constructor(e,t,r){let n=6,i=0;super(e,t,r);const a=r||{};if(1!==this.numRounds){if(a.kmacKey||a.hmacKey)throw new Error("Cannot set numRounds with MAC");if("CSHAKE128"===this.s||"CSHAKE256"===this.s)throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.K=1,this.m=l(this.t,this.i,this.K),this.R=ae,this.g=ie,this.B=ne,this.C=ne(),this.v=!1,e){case"SHA3-224":this.p=i=1152,this.U=224,this.L=!0,this.T=this.k;break;case"SHA3-256":this.p=i=1088,this.U=256,this.L=!0,this.T=this.k;break;case"SHA3-384":this.p=i=832,this.U=384,this.L=!0,this.T=this.k;break;case"SHA3-512":this.p=i=576,this.U=512,this.L=!0,this.T=this.k;break;case"SHAKE128":n=31,this.p=i=1344,this.U=-1,this.v=!0,this.L=!1,this.T=null;break;case"SHAKE256":n=31,this.p=i=1088,this.U=-1,this.v=!0,this.L=!1,this.T=null;break;case"KMAC128":n=4,this.p=i=1344,this.I(r),this.U=-1,this.v=!0,this.L=!1,this.T=this.X;break;case"KMAC256":n=4,this.p=i=1088,this.I(r),this.U=-1,this.v=!0,this.L=!1,this.T=this.X;break;case"CSHAKE128":this.p=i=1344,n=this._(r),this.U=-1,this.v=!0,this.L=!1,this.T=null;break;case"CSHAKE256":this.p=i=1088,n=this._(r),this.U=-1,this.v=!0,this.L=!1,this.T=null;break;default:throw new Error(h)}this.F=function(e,t,r,a,o){return function(e,t,r,n,i,a,o){let s,c,l=0;const u=[],d=i>>>5,p=t>>>5;for(s=0;s<p&&t>=i;s+=d)n=ae(e.slice(s,s+d),n),t-=i;for(e=e.slice(s),t%=i;e.length<d;)e.push(0);for(s=t>>>3,e[s>>2]^=a<<s%4*8,e[d-1]^=2147483648,n=ae(e,n);32*u.length<o&&(c=n[l%5][l/5|0],u.push(c.N),!(32*u.length>=o));)u.push(c.Y),l+=1,0==64*l%i&&(ae(null,n),l=0);return u}(e,t,0,a,i,n,o)},a.hmacKey&&this.M(m("hmacKey",a.hmacKey,this.K))}_(e,t){const r=function(e){const t=e||{};return{funcName:m("funcName",t.funcName,1,{value:[],binLen:0}),customization:m("Customization",t.customization,1,{value:[],binLen:0})}}(e||{});t&&(r.funcName=t);const n=A(se(r.funcName),se(r.customization));if(0!==r.customization.binLen||0!==r.funcName.binLen){const e=ce(n,this.p>>>3);for(let t=0;t<e.length;t+=this.p>>>5)this.C=this.R(e.slice(t,t+(this.p>>>5)),this.C),this.l+=this.p;return 4}return 31}I(e){const t=function(e){const t=e||{};return{kmacKey:m("kmacKey",t.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:m("Customization",t.customization,1,{value:[],binLen:0})}}(e||{});this._(e,t.funcName);const r=ce(se(t.kmacKey),this.p>>>3);for(let e=0;e<r.length;e+=this.p>>>5)this.C=this.R(r.slice(e,e+(this.p>>>5)),this.C),this.l+=this.p;this.A=!0}X(e){const t=A({value:this.o.slice(),binLen:this.h},function(e){let t,r,n=0;const i=[0,0],a=[4294967295&e,e/4294967296&2097151];for(t=6;t>=0;t--)r=a[t>>2]>>>8*t&255,0===r&&0===n||(i[n>>2]|=r<<8*n,n+=1);return n=0!==n?n:1,i[n>>2]|=n<<8*n,{value:n+1>4?i:[i[0]],binLen:8+8*n}}(e.outputLen));return this.F(t.value,t.binLen,this.l,this.g(this.C),e.outputLen)}}var ue=class{constructor(e,t,r){if("SHA-1"==e)this.O=new L(e,t,r);else if("SHA-224"==e||"SHA-256"==e)this.O=new P(e,t,r);else if("SHA-384"==e||"SHA-512"==e)this.O=new ee(e,t,r);else{if("SHA3-224"!=e&&"SHA3-256"!=e&&"SHA3-384"!=e&&"SHA3-512"!=e&&"SHAKE128"!=e&&"SHAKE256"!=e&&"CSHAKE128"!=e&&"CSHAKE256"!=e&&"KMAC128"!=e&&"KMAC256"!=e)throw new Error(h);this.O=new le(e,t,r)}}update(e){this.O.update(e)}getHash(e,t){return this.O.getHash(e,t)}setHMACKey(e,t,r){this.O.setHMACKey(e,t,r)}getHMAC(e,t){return this.O.getHMAC(e,t)}},de=r("45e7"),pe=r("8d81"),fe=r.n(pe);var he=new function(){let e=function(t){let r={};if(1===t.nodeType){if(t.attributes.length>0){r["@attributes"]={};for(let e=0;e<t.attributes.length;e++){let n=t.attributes.item(e);r["@attributes"][n.nodeName]=n.value}}}else 3===t.nodeType&&(r=t.nodeValue);if(t.hasChildNodes())for(let n=0;n<t.childNodes.length;n++){let i=t.childNodes.item(n),a=i.nodeName;if(void 0===r[a])r[a]=e(i);else{if(void 0===r[a].push){let e=r[a];r[a]=[],r[a].push(e)}r[a].push(e(i))}}return r};this.parseString=function(t,r){let n;window.DOMParser?n=(new window.DOMParser).parseFromString(t,"text/xml"):(n=new window.ActiveXObject("Microsoft.XMLDOM"),n.async="false");let i=function(e){let t=JSON.stringify(e,void 0,2).replace(/(\\t|\\r|\\n)/g,"").replace(/"",[\n\t\r\s]+""[,]*/g,"").replace(/(\n[\t\s\r]*\n)/g,"").replace(/[\s\t]{2,}""[,]{0,1}/g,"").replace(/"[\s\t]{1,}"[,]{0,1}/g,"");return-1===t.indexOf('"parsererror": {')?t:"Invalid XML format"}(e(n));return void 0===r?JSON.parse(i):i}};const Ae={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"}}},ge={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"}}},me={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},ve={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},be={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},URI:{sentAs:"Canned",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"},Delivered:{sentAs:"Delivered"}}}},ke={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},URI:{sentAs:"Canned",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},ye={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},we={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},xe={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},_e={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"}}},Ce={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"}}},Ee={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},Te={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},Be={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},Se={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},De={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},Ue={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},Fe={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}},Ie={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}};var Le={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:{httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"storage-class",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"Location"}}},GetBucketMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},GetBucketMetadataOutput:{parameters:{StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},ObsVersion:{location:"header",sentAs:"version",withPrefix:!0},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"}}},DeleteBucket:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},ListBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListObjectsOutput:{data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:Ae}}},CommonPrefixes:ve}},ListVersions:{httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListVersionsOutput:{data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:Ae,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:Ae}}},CommonPrefixes:ve}},PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:me,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:me}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml"},parameters:{Location:{location:"xml",sentAs:"Location"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:Ae,Grants:be}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:Ie}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Ie}},DeleteBucketInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Ie}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:Ae,Grants:be}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:ke}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:ke}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:ye}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:ye}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},RedirectAllRequestsTo:we,IndexDocument:_e,ErrorDocument:Ce,RoutingRules:xe}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{RedirectAllRequestsTo:we,IndexDocument:_e,ErrorDocument:Ce,RoutingRules:xe}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:Ee}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:Ee}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:Be,FunctionGraphConfigurations:Te,FunctionStageConfigurations:Se}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{RequestId:{location:"header",sentAs:"x-obs-request-id"},TopicConfigurations:Be,FunctionGraphConfigurations:Te,FunctionStageConfigurations:Se}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:De}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:De}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"StorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"StorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:Ue}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:Ue}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},PutObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"next-append-position",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"RestoreJob",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"x-obs-server-side-encryption-kms-key-id"},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Delivered:{location:"xml",sentAs:"Delivered"},Owner:Ae,Grants:be}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Delivered:{location:"xml",sentAs:"Delivered"},Owner:Ae,Grants:be}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},EncodingType:{location:"xml",sentAs:"EncodingType"},parameters:{Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:Ae,Initiator:ge}}},CommonPrefixes:ve}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:ge,Owner:Ae,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:{type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}}}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:Fe}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Fe}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Fe}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:{location:"xml",type:"array",sentAs:"Domain",items:{type:"object",parameters:{Name:{sentAs:"Name"},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Domain:{location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Event:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},DeleteWorkflow:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},UpdateWorkflow:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},GetWorkflowList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},GetWorkflowListOutput:{data:{type:"body"},parameters:{workflows:{location:"body"}}},GetWorkflowTemplateList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowTemplateListOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowInstanceList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowInstanceListOutput:{data:{type:"body"},parameters:{instances:{location:"body"}}},DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{actions:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}};const Oe={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Me={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}},Pe={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},Re={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Ne={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},ze={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},He={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"}}}},je={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},Qe={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},qe={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},We={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},Ke={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"}}},Ve={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"}}},Ge={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},Ye={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},Xe={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},$e={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},Ze={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},Je={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}};var et={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:{httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"x-default-storage-class"},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"LocationConstraint"}}},GetBucketMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},GetBucketMetadataOutput:{parameters:{StorageClass:{location:"header",sentAs:"x-default-storage-class"},ObsVersion:{location:"header",sentAs:"x-obs-version"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"}}},DeleteBucket:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},ListBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListObjectsOutput:{data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:Oe}}},CommonPrefixes:ze}},ListVersions:{httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListVersionsOutput:{data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:Oe,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:Oe}}},CommonPrefixes:ze}},PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:Ne,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:Ne}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml",xmlRoot:"CreateBucketConfiguration"},parameters:{Location:{location:"xml",sentAs:"LocationConstraint"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:Oe,Grants:He}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:Oe,Grants:He}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},LoggingEnabled:je}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{LoggingEnabled:je}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:Qe}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:Qe}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},RedirectAllRequestsTo:qe,IndexDocument:Ke,ErrorDocument:Ve,RoutingRules:We}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{RedirectAllRequestsTo:qe,IndexDocument:Ke,ErrorDocument:Ve,RoutingRules:We}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:Ge}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:Ge}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:$e,FunctionGraphConfigurations:Ye,FunctionStageConfigurations:Xe}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{TopicConfigurations:$e,FunctionGraphConfigurations:Ye,FunctionStageConfigurations:Xe}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:Ze}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:Ze}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storagePolicy",data:{xmlRoot:"StoragePolicy"},parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"DefaultStorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storagePolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml",xmlRoot:"StoragePolicy"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"DefaultStorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:Je}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:Je}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},PutObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Offset:{type:"plain"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"GlacierJobParameters",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:Oe,Grants:He}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Owner:Oe,Grants:He}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},ContentType:{location:"header",sentAs:"Content-Type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:Oe,Initiator:Re}}},CommonPrefixes:ze}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:Re,Owner:Oe,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:Pe}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Pe}},DeleteInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Pe}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:{type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}}}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:Me}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Me}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Me}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},deleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:{location:"xml",type:"array",sentAs:"Domain",items:{type:"object",parameters:{Name:{sentAs:"Name"},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Domain:{location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Event:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},DeleteWorkflow:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},UpdateWorkflow:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},GetWorkflowList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},GetWorkflowListOutput:{data:{type:"body"},parameters:{workflows:{location:"body"}}},GetWorkflowTemplateList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowTemplateListOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowInstanceList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowInstanceListOutput:{data:{type:"body"},parameters:{instances:{location:"body"}}},DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}};const tt=function(e,t){let r;r="sha1"===e?"SHA-1":"sha512"===e?"SHA-512":"SHA-256";let n=new ue(r,"TEXT");return n.setHMACKey(t,t instanceof ArrayBuffer?"ARRAYBUFFER":"TEXT"),{update:function(e){return n.update(e),this},digest:function(e){return"hex"===e?n.getHMAC("HEX"):"base64"===e?n.getHMAC("B64"):n.getHMAC("ARRAYBUFFER")}}},rt=function(e){if("md5"===e)return{update:function(e){return this.message?this.message+=e:this.message=e,this},digest:function(e){if("hex"===e)return fe()(this.message);if("base64"===e){return(window.btoa?window.btoa:de.a.encode)(fe()(this.message,!1,!0))}if("rawbase64"===e){return(window.btoa?window.btoa:de.a.encode)(fe()(this.message,!1,!0))}return fe()(this.message,!1,!0)}};let t;t="sha1"===e?"SHA-1":"sha512"===e?"SHA-512":"SHA-256";let r=new ue(t,"TEXT");return{update:function(e){return r.update(e),this},digest:function(e){return"hex"===e?r.getHash("HEX"):"base64"===e?r.getHash("B64"):r.getHash("ARRAYBUFFER")}}},nt=function(e){let t=i.a.parse(e);return{hostname:t.hostname,port:t.port,host:t.hostname,protocol:t.protocol?t.protocol+":":"",query:t.query,path:t.path+(t.query?"?"+t.query:""),pathname:t.path,search:t.query?"?"+t.query:""}},it="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",at=["inventory","acl","backtosource","policy","torrent","logging","location","storageinfo","quota","storageclass","storagepolicy","mirrorbacktosource","requestpayment","versions","versioning","versionid","uploads","uploadid","partnumber","website","notification","replication","lifecycle","deletebucket","delete","cors","restore","tagging","append","position","response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding","x-image-process","x-oss-process","encryption","obsworkflowtriggerpolicy","x-workflow-limit","x-workflow-prefix","x-workflow-start","x-workflow-template-name","x-workflow-graph-name","x-workflow-execution-state","x-workflow-category","x-workflow-prefix","x-workflow-create","directcoldaccess","customdomain","cdnnotifyconfiguration","metadata","dispolicy","obscompresspolicy","template_name","template_name_prefix","x-workflow-status","x-workflow-type","x-workflow-forbid","sfsacl","obsbucketalias","obsalias"],ot=["content-type","content-md5","content-length","content-language","expires","origin","cache-control","content-disposition","content-encoding","x-default-storage-class","location","date","etag","host","last-modified","content-range","x-reserved","access-control-allow-origin","access-control-allow-headers","access-control-max-age","access-control-allow-methods","access-control-expose-headers","connection","x-obs-location-clustergroup-id"],st={"content-length":"ContentLength",date:"Date","x-reserved":"Reserved"},ct=["STANDARD","WARM","COLD"],lt=["STANDARD","STANDARD_IA","GLACIER"],ut=["private","public-read","public-read-write","public-read-delivered","public-read-write-delivered"],dt=["private","public-read","public-read-write","authenticated-read","bucket-owner-read","bucket-owner-full-control","log-delivery-write"],pt=["Everyone","LogDelivery"],ft=["http://acs.amazonaws.com/groups/global/AllUsers","http://acs.amazonaws.com/groups/global/AuthenticatedUsers","http://acs.amazonaws.com/groups/s3/LogDelivery"],ht=["ObjectCreated","ObjectRemoved","ObjectCreated:*","ObjectCreated:Put","ObjectCreated:Post","ObjectCreated:Copy","ObjectCreated:CompleteMultipartUpload","ObjectRemoved:*","ObjectRemoved:Delete","ObjectRemoved:DeleteMarkerCreated"],At=["ObjectCreated","ObjectRemoved","s3:ObjectCreated:*","s3:ObjectCreated:Put","s3:ObjectCreated:Post","s3:ObjectCreated:Copy","s3:ObjectCreated:CompleteMultipartUpload","s3:ObjectRemoved:*","s3:ObjectRemoved:Delete","s3:ObjectRemoved:DeleteMarkerCreated"],gt=["CreateBucket","SetBucketAlias","BindBucketAlias","UnbindBucketAlias","DeleteBucketAlias","GetBucketAlias"],mt={signature:"obs",headerPrefix:"x-obs-",headerMetaPrefix:"x-obs-meta-",authPrefix:"OBS"},vt={signature:"v2",headerPrefix:"x-amz-",headerMetaPrefix:"x-amz-meta-",authPrefix:"AWS"};function bt(e,t,r){if(0===(e=String(e)).length)return"";if(r)return e;let n;if(t){n=[];for(const r of e)n.push(t.indexOf(r)>=0?r:encodeURIComponent(r));n=n.join("")}else n=encodeURIComponent(e);return n.replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}function kt(e){return JSON?JSON.stringify(e):""}function yt(e,t){let r={};for(let n in t)if({}.hasOwnProperty.call(t,n)){let i=String(n).toLowerCase();0===i.indexOf(e)&&(r[i.slice(e.length)]=t[n])}return r}function wt(e){return"[object Function]"===Object.prototype.toString.call(e)}function xt(e){return"[object Object]"===Object.prototype.toString.call(e)}function _t(e,t){if("object"==typeof e)return t(null,e);try{return t(null,he.parseString(e))}catch(e){return t(e,null)}}function Ct(e){let t=new Date(Date.parse(e)),r=t.getUTCHours(),n=t.getUTCMinutes(),i=t.getUTCSeconds(),a=t.getUTCDate(),o=t.getUTCMonth()+1,s="";return s+=t.getUTCFullYear()+"-",o<10&&(s+="0"),s+=o+"-",a<10&&(s+="0"),s+=a+"T",r<10&&(s+="0"),s+=r+":",n<10&&(s+="0"),s+=n+":",i<10&&(s+="0"),s+=i+"Z",s}function Et(e){let t=new Date(Date.parse(e)),r=t.getUTCHours(),n=t.getUTCMinutes(),i=t.getUTCSeconds(),a=t.getUTCDate(),o=t.getUTCMonth()+1,s="",c="";return s+=t.getUTCFullYear(),o<10&&(s+="0"),s+=o,a<10&&(s+="0"),s+=a,c+=s+"T",r<10&&(c+="0"),c+=r,n<10&&(c+="0"),c+=n,i<10&&(c+="0"),c+=i+"Z",[s,c]}function Tt(e){let t=[],r={};for(let n in e)({}).hasOwnProperty.call(e,n)&&(t.push(n.toLowerCase()),r[n.toLowerCase()]=e[n]);t=t.sort();let n="",i="";for(let e=0;e<t.length;e++)0!==e&&(n+=";"),n+=t[e],i+=t[e]+":"+r[t[e]]+"\n";return[n,i]}function Bt(e,t,r,n){let i=tt("sha256","AWS4"+t).update(e).digest(),a=tt("sha256",i).update(r).digest(),o=tt("sha256",a).update("s3").digest(),s=tt("sha256",o).update("aws4_request").digest();return tt("sha256",s).update(n).digest("hex")}function St(e,t,r,n,i){let a="AWS4-HMAC-SHA256\n";return a+=t+"\n",a+=e+"/"+n+"/s3/aws4_request"+"\n",a+=rt("sha256").update(i).digest("hex"),Bt(e,r,n,a)}function Dt(e){this.log=e,this.ak=null,this.sk=null,this.securityToken=null,this.isSecure=!0,this.server=null,this.pathStyle=!1,this.signatureContext=null,this.isSignatureNegotiation=!0,this.bucketSignatureCache={},this.region="region",this.port=null,this.timeout=300,this.obsSdkVersion="3.22.3",this.isCname=!1,this.bucketEventEmitters={},this.useRawXhr=!1}Dt.prototype.encodeURIWithSafe=bt,Dt.prototype.mimeTypes={"7z":"application/x-7z-compressed",aac:"audio/x-aac",ai:"application/postscript",aif:"audio/x-aiff",asc:"text/plain",asf:"video/x-ms-asf",atom:"application/atom+xml",avi:"video/x-msvideo",bmp:"image/bmp",bz2:"application/x-bzip2",cer:"application/pkix-cert",crl:"application/pkix-crl",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cu:"application/cu-seeme",deb:"application/x-debian-package",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dvi:"application/x-dvi",eot:"application/vnd.ms-fontobject",eps:"application/postscript",epub:"application/epub+zip",etx:"text/x-setext",flac:"audio/flac",flv:"video/x-flv",gif:"image/gif",gz:"application/gzip",htm:"text/html",html:"text/html",ico:"image/x-icon",ics:"text/calendar",ini:"text/plain",iso:"application/x-iso9660-image",jar:"application/java-archive",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",latex:"application/x-latex",log:"text/plain",m4a:"audio/mp4",m4v:"video/mp4",mid:"audio/midi",midi:"audio/midi",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4a:"audio/mp4",mp4v:"video/mp4",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpg4:"video/mp4",oga:"audio/ogg",ogg:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pgm:"image/x-portable-graymap",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ps:"application/postscript",qt:"video/quicktime",rar:"application/x-rar-compressed",ras:"image/x-cmu-raster",rss:"application/rss+xml",rtf:"application/rtf",sgm:"text/sgml",sgml:"text/sgml",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",ttf:"application/x-font-ttf",txt:"text/plain",wav:"audio/x-wav",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",woff:"application/x-font-woff",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"application/xml",xpm:"image/x-xpixmap",xwd:"image/x-xwindowdump",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"},Dt.prototype.refresh=function(e,t,r){this.ak=e?String(e).trim():null,this.sk=t?String(t).trim():null,this.securityToken=r?String(r).trim():null},Dt.prototype.initFactory=function(e,t,r,n,i,a,o,s,c,l,u,d,p,f,h,A){if(this.refresh(e,t,l),this.urlPrefix=p||"",this.regionDomains=f||null,this.setRequestHeaderHook=h||null,!n)throw new Error("Server is not set");0===(n=String(n).trim()).indexOf("https://")?(n=n.slice("https://".length),r=!0):0===n.indexOf("http://")&&(n=n.slice("http://".length),r=!1);let g=n.lastIndexOf("/");for(;g>=0;)g=(n=n.slice(0,g)).lastIndexOf("/");g=n.indexOf(":"),g>=0&&(s=n.slice(g+1),n=n.slice(0,g)),this.server=n,/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/.test(this.server)&&(i=!0),void 0!==r&&(this.isSecure=r),void 0!==i&&(this.pathStyle=i),a=void 0!==a?String(a).trim().toLowerCase():"obs",void 0!==u&&(this.isSignatureNegotiation=u),this.isCname=d,(this.pathStyle||this.isCname)&&(this.isSignatureNegotiation=!1,"obs"===a&&(a="v2")),this.signatureContext="obs"===a?mt:vt,void 0!==o&&(this.region=String(o)),this.port=s?parseInt(s,10):this.isSecure?443:80,void 0!==c&&(this.timeout=parseInt(c,10)),void 0!==A&&(this.useRawXhr=A)},Dt.prototype.SseKmsAdapter=function(e,t){e=e||"";let r=(e=String(e)).indexOf("aws:");return"obs"===t.signature?0===r?e.slice(4):e:0===r?e:"aws:"+e},Dt.prototype.BucketAdapter=function(e,t){e=e||"";let r=(e=String(e)).indexOf("arn:aws:s3:::");return"obs"===t.signature?0===r?e.slice("arn:aws:s3:::".length):e:0===r?e:"arn:aws:s3:::"+e},Dt.prototype.EventAdapter=function(e,t){return e=e||"",e=String(e),"obs"===t.signature?ht.indexOf(e)>=0?e:At.indexOf(e)>=0?e.substring(3):"":At.indexOf(e)>=0?e:ht.indexOf(e)>=0?"s3:"+e:""},Dt.prototype.URIAdapter=function(e,t){return e=e||"",e=String(e),"obs"===t.signature?pt.indexOf(e)>=0?e:"AllUsers"===e||"http://acs.amazonaws.com/groups/global/AllUsers"===e?"Everyone":"":ft.indexOf(e)>=0?e:"Everyone"===e||"AllUsers"===e?"http://acs.amazonaws.com/groups/global/AllUsers":"AuthenticatedUsers"===e?"http://acs.amazonaws.com/groups/global/AuthenticatedUsers":"LogDelivery"===e?"http://acs.amazonaws.com/groups/s3/LogDelivery":""},Dt.prototype.StorageClassAdapter=function(e,t){return e=e||"",e=String(e).toUpperCase(),"obs"===t.signature?ct.indexOf(e)>=0?e:"STANDARD_IA"===e?"WARM":"GLACIER"===e?"COLD":"":lt.indexOf(e)>=0?e:"WARM"===e?"STANDARD_IA":"COLD"===e?"GLACIER":""},Dt.prototype.ACLAdapter=function(e,t){return e=e||"",e=String(e).toLowerCase(),"obs"===t.signature?ut.indexOf(e)>=0?e:"":("public-read-delivered"===e?e="public-read":"public-read-write-delivered"===e&&(e="public-read-write"),dt.indexOf(e)>=0?e:"")},Dt.prototype.doExec=function(e,t,r){let n=this.makeParam(e,t);if("err"in n)return r(n.err,null);this.sendRequest(e,n,r)},Dt.prototype.doNegotiation=function(e,t,r,n,i,a){let o=null,s=this;if(i&&t.Bucket){let c=this.bucketSignatureCache[t.Bucket];if(c&&c.signatureContext&&c.expireTime>(new Date).getTime()){t.signatureContext=c.signatureContext;let n=this.makeParam(e,t);return"err"in n?r(n.err,null):(n.signatureContext=c.signatureContext,this.sendRequest(e,n,r))}if(o=this.bucketEventEmitters[t.Bucket],o||(o={s:0,n:function(){for(;this.e&&this.e.length>0;)this.e.shift()()}},this.bucketEventEmitters[t.Bucket]=o),o.s)return void o.e.push((function(){s.doNegotiation(e,t,r,n,i,a)}));o.e=[],o.s=1}this.doExec("HeadApiVersion",n?{Bucket:t.Bucket}:{},(function(i,c){if(i)return r(i,null),void(o&&(o.s=0,o.n()));if(n&&404===c.CommonMsg.Status||c.CommonMsg.Status>=500)return r(i,c),void(o&&(o.s=0,o.n()));let l=vt;c.CommonMsg.Status<300&&c.InterfaceResult&&c.InterfaceResult.ApiVersion>="3.0"&&(l=mt),a&&(s.bucketSignatureCache[t.Bucket]={signatureContext:l,expireTime:(new Date).getTime()+15+60*Math.ceil(5*Math.random())*1e3}),o&&(o.s=0,o.n()),t.signatureContext=l;let u=s.makeParam(e,t);if("err"in u)return r(u.err,null);u.signatureContext=l,s.sendRequest(e,u,r)}))},Dt.prototype.exec=function(e,t,r){let n=this;if(n.isSignatureNegotiation&&"HeadApiVersion"!==e)if("ListBuckets"===e)n.doNegotiation(e,t,r,!1,!1,!1);else if(gt.indexOf(e)>-1){let i=function(i,a){if(!i&&400===a.CommonMsg.Status&&"Unsupported Authorization Type"===a.CommonMsg.Message&&t.signatureContext&&"v2"===t.signatureContext.signature){t.signatureContext=vt;let i=n.makeParam(e,t);return"err"in i?r(i.err,null):(i.signatureContext=t.signatureContext,void n.sendRequest(e,i,r))}r(i,a)};n.doNegotiation(e,t,i,!1,!0,!1)}else n.doNegotiation(e,t,r,!0,!0,!0);else n.doExec(e,t,r)},Dt.prototype.sliceBlob=function(e,t,r,n){return n=n||e.type,e.mozSlice?e.mozSlice(t,r,n):e.webkitSlice?e.webkitSlice(t,r,n):e.slice(t,r,n)},Dt.prototype.toXml=function(e,t,r,n,i){let a="";if(null!==r)return a+=this.buildXml(e,t,r,n,i),a;for(let r in t)if(r in e){let n=t[r].sentAs||r;a+=this.buildXml(e,t[r],r,n,i)}return a},Dt.prototype.buildXml=function(e,t,r,n,i){let a="",o=t.type;if("array"===o)for(let o=0;o<e[r].length;o++)if("object"===t.items.type){if(!e[r][o])return a;let s=this.toXml(e[r][o],t.items.parameters,null,null,i);""!==s&&(a+="<"+n+">"+s+"</"+n+">")}else"adapter"===t.items.type?a+="<"+n+">"+String(this[r+"Adapter"](e[r][o],i)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+n+">":"array"!==t.items.type&&(a+="<"+n+">"+String(e[r][o]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+n+">");else if("object"===o){if(!e[r])return a;let o=this.toXml(e[r],t.parameters,null,null,i);""!==o&&(a+="<"+n,"data"in t&&("xsiNamespace"in t.data&&(a+=' xmlns:xsi="'+t.data.xsiNamespace+'"'),"xsiType"in t.data&&(a+=' xsi:type="'+e[r][t.data.xsiType]+'"')),a+=">",a+=o+"</"+n+">")}else"adapter"===o?a+="<"+n+">"+String(this[r+"Adapter"](e[r],i)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+n+">":"ignore"!==o&&(a+="<"+n+">"+String(e[r]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+n+">");if(a&&t.wrapper){let e=t.wrapper;a="<"+e+">"+a+"</"+e+">"}return a},Dt.prototype.jsonToObject=function(e,t,r,n){let i={};if(null!==r)this.buildObject(e,t,r,i,n);else for(let r in e)({}).hasOwnProperty.call(e,r)&&this.buildObject(e,t,r,i,n);return i},Dt.prototype.buildObject=function(e,t,r,n,i){let a=function(t){return t&&e[r].decode&&i?decodeURIComponent(t.replace(/\+/g,"%20")):t};if(xt(t)){let o=!0,s=e[r].wrapper;if(s&&s in t&&(o=xt(t=t[s])),o){let o=e[r].sentAs||r;if(o in t)if("object"===e[r].type)n[r]=this.jsonToObject(e[r].parameters,t[o],null,i);else if("array"===e[r].type){let s=[];if(function(e){return"[object Array]"===Object.prototype.toString.call(e)}(t[o]))for(let n=0;n<t[o].length;n++)s[n]="object"===e[r].items.type?this.jsonToObject(e[r].items.parameters,t[o][n],null,i):a(t[o][n]["#text"]);else s[0]="object"===e[r].items.type?this.jsonToObject(e[r].items.parameters,t[o],null,i):a(t[o]["#text"]||"");n[r]=s}else n[r]=a(t[o]["#text"])}}void 0===n[r]&&("object"===e[r].type?n[r]=e[r].parameters?this.jsonToObject(e[r].parameters,null,null,i):{}:"array"===e[r].type&&(n[r]=[]))},Dt.prototype.makeParam=function(e,t){let r=t.signatureContext||this.signatureContext,n="obs"===r.signature?Le[e]:et[e],i=n.httpMethod,a="/",o="",s="",c={},l={};l.$requestParam=t,"urlPath"in n&&(o+="?",o+=n.urlPath);for(let i in n.parameters)if({}.hasOwnProperty.call(n.parameters,i)){let u=n.parameters[i];if("Bucket"===i&&this.isCname)continue;let d=t[i];if("callback"===u.type&&void 0===d&&u.parameters&&(void 0!==t.CallbackUrl||void 0!==t.CallbackBody)){d={};for(let r of Object.keys(u.parameters)){const n=u.parameters[r],i=t[r];if(n.required&&(null==i||"[object String]"===Object.prototype.toString.call(i)&&""===i))return l.err=r+" is a required element!",this.log.runLog("error",e,l.err),l;d[r.slice(0,1).toLowerCase()+r.slice(1)]=i}}if(u.required&&(null==d||"[object String]"===Object.prototype.toString.call(d)&&""===d))return l.err=i+" is a required element!",this.log.runLog("error",e,l.err),l;if(null!=d){if("srcFile"===u.type||"dstFile"===u.type){l[u.type]=d;continue}"plain"===u.type&&(l[i]=d);let e=u.sentAs||i;if(u.withPrefix&&(e=r.headerPrefix+e),"uri"===u.location)"/"!==a&&(a+="/"),a+=d;else if("header"===u.location){let t=u.encodingSafe||" ;/?:@&=+$,";if("object"===u.type){if(r.headerMetaPrefix===e)for(let r in d)if({}.hasOwnProperty.call(d,r)){let n=d[r];r=String(r).trim().toLowerCase(),c[0===r.indexOf(e)?r:e+r]=bt(n,t)}}else if("array"===u.type){let r=[];for(let e in d)({}).hasOwnProperty.call(d,e)&&(r[e]=bt(d[e],t));c[e]=r}else if("password"===u.type){let t=window.btoa?window.btoa:de.a.encode;c[e]=t(d),c[u.pwdSentAs||e+"-MD5"]=this.rawBufMD5(d)}else if("number"===u.type&&Number(d))c[e]=bt(String(d),t);else if("boolean"===u.type)c[e]=bt(d?"true":"false",t);else if("callback"===u.type)c[e]=de.a.encode(JSON.stringify(d));else if("adapter"===u.type){let n=this[i+"Adapter"](d,r);n&&(c[e]=bt(String(n),t))}else c[e]=bt(String(d),t,u.skipEncoding)}else if("urlPath"===u.location){let t=""===o?"?":"&",r=d;("number"!==u.type||"number"===u.type&&Number(r)>=0)&&(o+=t+bt(e,"/")+"="+bt(String(r),"/"))}else if("xml"===u.location){let n=this.toXml(t,u,i,e,r);n&&(s+=n)}else"body"===u.location&&(s=d)}}let u="file"===l.dstFile;if("Content-Type"in c||u||(c["Content-Type"]="binary/octet-stream"),"data"in n&&"xmlRoot"in n.data&&(s||n.data.xmlAllowEmpty)){let e=n.data.xmlRoot;s="<"+e+">"+s+"</"+e+">",c["Content-Type"]="application/xml"}if(u&&(l.rawUri=a),c.Host=this.server+(80===this.port||443===this.port?"":":"+this.port),!this.pathStyle&&!this.isCname){let e=a.split("/");if(e.length>=2&&e[1]){c.Host=e[1]+"."+c.Host;let t=a.replace(e[1],"");0===t.indexOf("//")&&(t=t.slice(1)),"v4"===r.signature?a=t:"/"===t&&(a+="/"),l.requestUri=bt(t,"/")}}if(l.method=i,l.uri=bt(a,"/"),l.urlPath=o,s&&(n.data&&n.data.md5&&(c["Content-MD5"]=this.bufMD5(s),c["Content-Length"]=0===s.length?"0":String(s.length)),l.xml=s,this.log.runLog("debug",e,"request content:"+s)),l.headers=c,"srcFile"in l&&(l.srcFile instanceof window.File||l.srcFile instanceof window.Blob)){let e=l.srcFile.size;if("Content-Length"in l.headers||"PartSize"in l||"Offset"in l){let t,r=l.Offset;r=r&&r>=0&&r<e?r:0,t="PartSize"in l?l.PartSize:"Content-Length"in l.headers?parseInt(l.headers["Content-Length"],10):e,t=t&&t>0&&t<=e-r?t:e-r,l.PartSize=t,l.Offset=r,l.headers["Content-Length"]=String(l.PartSize)}}return l},Dt.prototype.parseCommonHeaders=function(e,t,r){for(let r in st)({}).hasOwnProperty.call(st,r)&&(e.InterfaceResult[st[r]]=t[r]);e.InterfaceResult.RequestId=t[r.headerPrefix+"request-id"],e.InterfaceResult.Id2=t[r.headerPrefix+"id-2"],e.CommonMsg.RequestId=e.InterfaceResult.RequestId,e.CommonMsg.Id2=e.InterfaceResult.Id2},Dt.prototype.contrustCommonMsg=function(e,t,r,n){e.InterfaceResult={},this.parseCommonHeaders(e,r,n);for(let i in t){if("header"!==t[i].location)continue;let a=t[i].sentAs||i;if(t[i].withPrefix&&(a=n.headerPrefix+a),"object"===t[i].type)e.InterfaceResult[i]=yt(a,r);else{let t=null;a in r?t=r[a]:a.toLowerCase()in r&&(t=r[a.toLowerCase()]),null!==t&&(e.InterfaceResult[i]=t)}}},Dt.prototype.getRequest=function(e,t,r,n,i,a){let o=this.regionDomains,s={},c=this.log,l="obs"===r.signature?Le[e+"Output"]:et[e+"Output"];l=l||{};let u=l.parameters||{};s.CommonMsg={Status:t.status,Code:"",Message:"",HostId:"",RequestId:"",InterfaceResult:null};let d=t.headers,p=kt(d);c.runLog("info",e,"get response start, statusCode:"+t.status),c.runLog("debug",e,"response msg :statusCode:"+t.status+", headers:"+p);let f=function(){let t="Status:"+s.CommonMsg.Status+", Code:"+s.CommonMsg.Code+", Message:"+s.CommonMsg.Message;c.runLog("debug",e,"exec interface "+e+" finish, "+t),a(null,s)};if(t.status>=300&&t.status<400&&304!==t.status&&n<=5){let t=d.location||d.Location;if(t){let r="http code is 3xx, need to redirect to "+t;c.runLog("warn",e,r);let n=new Error("redirect");return n.location=t,n.bucketLocation=d["x-amz-bucket-region"]||d["x-obs-bucket-region"],a(n)}let r=d["x-amz-bucket-region"]||d["x-obs-bucket-location"];if(r&&o[r]){let t=(this.isSecure?"https://":"http://")+o[r];wt(this.setRequestHeaderHook)&&this.setRequestHeaderHook(d,i,e,o[r]);let n="get redirect code 3xx, need to redirect to"+t;c.runLog("error",e,n);let s=new Error("redirect");return s.location=t,a(s)}c.runLog("error",e,"get redirect code 3xx, but no location in headers")}if(t.status<300){let n=t.data;this.contrustCommonMsg(s,u,d,r);let o="Status: "+s.CommonMsg.Status+", headers: "+p;if(n&&(o+="body length: "+n.length,c.runLog("debug",e,"response body length:"+n.length)),c.runLog("debug",e,o),n&&"data"in l){if(i.CallbackUrl&&l.CallbackResponse)return s.InterfaceResult[l.CallbackResponse.sentAs]=n,void f();if("xml"===l.data.type){let t=this;return _t(n,(function(r,n){if(r)return c.runLog("error",e,"change xml to json err ["+kt(r)+"]"),a(r,null);let i=n;l.data.xmlRoot&&l.data.xmlRoot in i&&(i=n[l.data.xmlRoot]);let o=!!i.EncodingType;if(xt(i))for(let e in u)"xml"===u[e].location&&(s.InterfaceResult[e]=t.jsonToObject(u,i,e,o)[e]);f()}))}if("body"===l.data.type)for(let e in u)if("body"===u[e].location){s.InterfaceResult[e]=n;break}}return f()}let h=t.data,A="Status: "+s.CommonMsg.Status+", headers: "+p;return""!==h&&(A+="body: "+h,c.runLog("debug",e,"response body :"+h)),s.CommonMsg.RequestId=d[r.headerPrefix+"request-id"],s.CommonMsg.Id2=d[r.headerPrefix+"id2"],s.CommonMsg.Indicator=d["x-reserved-indicator"],c.runLog("info",e,"request finished with request id:"+s.CommonMsg.RequestId),c.runLog("debug",e,A),h?_t(h,(function(t,r){if(t)c.runLog("error",e,"change xml to json err ["+kt(t)+"]"),s.CommonMsg.Message=t.message;else if(r){if("Error"in r){let e=r.Error;for(let t in e)e[t]&&e[t]["#text"]&&(s.CommonMsg[t]=e[t]["#text"])}else{let e=r;"code"in e&&(s.CommonMsg.Code=e.code),"message"in e&&(s.CommonMsg.Message=e.message),"hostId"in e&&(s.CommonMsg.HostId=e.hostId),"request_id"in e&&e.request_id&&(s.CommonMsg.RequestId=e.request_id)}c.runLog("error",e,"request error with error code:"+s.CommonMsg.Code+", error message:"+s.CommonMsg.Message+", request id:"+s.CommonMsg.RequestId)}f()})):f()},Dt.prototype.makeRequest=function(e,t,r,n){let i=this.log,a=t.xml||null,s=t.signatureContext||this.signatureContext;if(delete t.headers.Authorization,"file"===t.dstFile){let r={};if(t.urlPath){let e=t.urlPath.slice(1).split("&");for(let t=0;t<e.length;t++)if(-1===e[t].indexOf("="))r[e[t]]="";else{let n=e[t].split("=");r[n[0]]=n[1]}}let i=t.rawUri.split("/")[1],a=t.rawUri.slice(("/"+i+"/").length),o={CommonMsg:{Status:0,Code:"",Message:"",HostId:""},InterfaceResult:{}},c=("obs"===s.signature?Le[e+"Output"]:et[e+"Output"]).parameters;for(let e in c)if("body"===c[e].location){o.InterfaceResult[e]=this.createSignedUrlSync({Method:t.method,Bucket:i,Key:a,Expires:3600,Headers:t.headers,QueryParams:r,signatureContext:s});break}return n(null,o)}let c,l=t.$requestParam.RequestDate,u=Object.prototype.toString.call(l);if("[object Date]"===u)c=l;else if("[object String]"===u)try{c=new Date,c.setTime(Date.parse(l))}catch(e){}c||(c=new Date);let d=c.toUTCString(),p="v4"===s.signature.toLowerCase();t.headers[s.headerPrefix+"date"]=p?Et(d)[1]:d;let f=(t.requestUri?t.requestUri:t.uri)+t.urlPath;this.ak&&this.sk&&"HeadApiVersion"!==e&&(this.securityToken&&(t.headers[s.headerPrefix+"security-token"]=this.securityToken),p?this.v4Auth(t,e,s):this.doAuth(t,e,s));let h=t.headers;wt(this.setRequestHeaderHook)&&this.setRequestHeaderHook(h,t.$requestParam,e);let A=h.Host,g=t.method,m={};for(let e in h)({}).hasOwnProperty.call(h,e)&&(m[e]=h[e]);m.Authorization="****";let v="method:"+g+", path:"+f+"headers:"+kt(m);a&&(v+="body:"+a),i.runLog("info",e,"prepare request parameters ok,then Send request to service start"),i.runLog("debug",e,"request msg:"+v);let b=t.protocol?0===t.protocol.toLowerCase().indexOf("https"):this.isSecure,k=t.port||this.port;delete h.Host,delete h["Content-Length"];let y="text";!t.dstFile||"file"===t.dstFile||"arraybuffer"!==t.dstFile&&"blob"!==t.dstFile||(y=String(t.dstFile));let w=c.getTime(),x=this,_=function(t){try{let r=kt(t);i.runLog("error",e,"Send request to service error ["+r+"]")}catch(r){t.toString&&i.runLog("error",e,"Send request to service error ["+t.toString()+"]")}i.runLog("info",e,"http cost "+((new Date).getTime()-w)+" ms"),n(t,null)};if(!this.useRawXhr){let c=null,l=null;if(wt(t.ProgressCallback)){let e=function(e){e.lengthComputable&&t.ProgressCallback(e.loaded,e.total,((new Date).getTime()-w)/1e3)};"GET"===g?l=e:"PUT"!==g&&"POST"!==g||(c=e)}let u=":"+k;A.indexOf(":")>=0&&(u="");let d="",p=b?"https://":"http://";if(this.urlPrefix&&wt(this.setRequestHeaderHook)&&"InitiateMultipartUpload"!==e&&"UploadPart"!==e&&"CompleteMultipartUpload"!==e){let e=!0;(t.$requestParam.hasRegion||t.$requestParam.redirectRegion)&&(e=!1);let r="";5443===k&&(r="-5443"),e?t.$requestParam.Bucket?(-1!==t.$requestParam.Bucket.indexOf(".")&&(d=p+this.urlPrefix+"/bucket"+r),d=p+this.urlPrefix+"/bucket"+r):d="/"===f.split("?")[0]?p+this.urlPrefix+r:p+this.urlPrefix+"/place"+r:d=t.$requestParam.Bucket?p+this.urlPrefix+"/region-bucket"+r:p+this.urlPrefix+"/region"+r}else d=p+A+u;let m={method:g,url:d+f,withCredentials:!1,headers:h,validateStatus:function(e){return e>=200},maxRedirects:0,responseType:y,data:a,timeout:1e3*this.timeout,onUploadProgress:c,onDownloadProgress:l,cancelToken:new o.a.CancelToken((function(e){t.$requestParam.cancelHook=e}))};if(t.srcFile){if(!(t.srcFile instanceof window.File||t.srcFile instanceof window.Blob))return n(new Error("source file must be an instance of window.File or window.Blob"),null);let e=t.srcFile;try{if(t.Offset>=0&&t.PartSize>0)e=this.sliceBlob(e,t.Offset,t.Offset+t.PartSize);else if("ContentLength"in t){let r=parseInt(t.ContentLength,10);r>0&&(e=this.sliceBlob(e,0,r))}}catch(e){return n(e)}m.data=e}return void o.a.request(m).then((function(a){i.runLog("info",e,"http cost "+((new Date).getTime()-w)+" ms"),x.getRequest(e,a,s,r,t.$requestParam,n)})).catch((function(e){_(e)}))}let C=null;try{C=new XMLHttpRequest}catch(e){try{C=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{C=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}if(null===C)return n(new Error("XHR is not available"),null);if(t.srcFile){if(!(t.srcFile instanceof window.File||t.srcFile instanceof window.Blob))return n(new Error("source file must be an instance of window.File or window.Blob"),null);try{let e=t.srcFile;if(t.Offset>=0&&t.PartSize>0)e=this.sliceBlob(e,t.Offset,t.Offset+t.PartSize);else if("ContentLength"in t){let r=parseInt(t.ContentLength,10);r>0&&(e=this.sliceBlob(e,0,r))}a=e}catch(e){return n(e)}}C.open(g,(b?"https://"+this.urlPrefix+A:"http://"+this.urlPrefix+A)+f),C.withCredentials=!1;for(let e in h)({}).hasOwnProperty.call(h,e)&&C.setRequestHeader(e,h[e]);C.timeout=1e3*x.timeout,C.responseType=y,t.$requestParam.cancelHook=function(){C.abort()},C.onreadystatechange=function(){if(4===C.readyState&&C.status>=200){i.runLog("info",e,"http cost "+((new Date).getTime()-w)+" ms");let a=C.getAllResponseHeaders().trim().split(/[\r\n]+/),o={};for(let e=0;e<a.length;e++){let t=a[e].split(": "),r=t.shift(),n=t.join(": ");o[r.toLowerCase()]=n}let c=C.response;c||""!==y&&"text"!==y||(c=C.responseText);let l={status:C.status,headers:o,data:c};x.getRequest(e,l,s,r,t.$requestParam,n)}};let E=!1,T=function(e){E||(E=!0,_(e))};C.ontimeout=function(){T(new Error("timeout of "+C.timeout+"ms exceed"))},C.onerror=function(){T(new Error("Network Error"))},C.onabort=function(){T(new Error("Cancel"))},C.upload&&(C.upload.ontimeout=function(){T(new Error("timeout of "+C.timeout+"ms exceed"))},C.upload.onerror=function(){T(new Error("Network Error"))},C.upload.onabort=function(e){T(new Error("Cancel"))}),wt(t.ProgressCallback)&&("GET"!==g&&C.upload?"PUT"!==g&&"POST"!==g||(C.upload.onprogress=function(e){e.lengthComputable&&t.ProgressCallback(e.loaded,e.total,((new Date).getTime()-w)/1e3)}):C.onprogress=function(e){e.lengthComputable&&t.ProgressCallback(e.loaded,e.total,((new Date).getTime()-w)/1e3)}),C.send(a)},Dt.prototype.sendRequest=function(e,t,r,n){void 0===n&&(n=1);let i=this;i.makeRequest(e,t,n,(function(a,o){if(a&&"redirect"===a.message){let o=nt(a.location);a.bucketLocation&&-1!==o.hostname.indexOf(t.$requestParam.Bucket)&&(t.$requestParam.redirectRegion=a.bucketLocation),t.headers.Host=o.hostname,t.protocol=o.protocol,t.port=o.port||(t.protocol&&0===t.protocol.toLowerCase().indexOf("https")?443:80),i.sendRequest(e,t,r,n+1)}else r(a,o)}))},Dt.prototype.doAuth=function(e,t,r){let n=["Content-MD5","Content-Type"],i=e.method+"\n";for(let t=0;t<n.length;t++)n[t]in e.headers&&(i+=e.headers[n[t]]),i+="\n";r.headerPrefix+"date"in e.headers||(i+=e.headers.Date),i+="\n";let a=[];for(let t in e.headers)if({}.hasOwnProperty.call(e.headers,t)){let n=t.toLowerCase();0===n.indexOf(r.headerPrefix)&&a.push({key:n,value:e.headers[t]})}a=a.sort((function(e,t){return e.key<t.key?-1:e.key>t.key?1:0}));for(let e=0;e<a.length;e++){let t=a[e].key,n=0===t.indexOf(r.headerMetaPrefix)?a[e].value.trim():a[e].value;i+=t+":"+n+"\n"}let o=e.uri;if(this.isCname&&("/"===o?o+=e.headers.Host+"/":0===o.indexOf("/")&&(o="/"+e.headers.Host+o)),e.urlPath){let t=e.urlPath.slice(1).split("&").sort(),r="";for(let e=0;e<t.length;e++){let n=t[e].split("="),i=decodeURIComponent(n[0]);at.indexOf(i.toLowerCase())>=0&&(r+=""===r?"?":"&",r+=i,2===n.length&&n[1]&&(r+="="+decodeURIComponent(n[1])))}o+=r}i+=o,this.log.runLog("debug",t,"stringToSign:"+i),e.headers.Authorization=r.authPrefix+" "+this.ak+":"+tt("sha1",this.sk).update(i).digest("base64")},Dt.prototype.v4Auth=function(e,t,r){e.headers[r.headerPrefix+"content-sha256"]=it;let n=e.headers,i=this.log,a=null,o=null;if(r.headerPrefix+"date"in n)o=n[r.headerPrefix+"date"],a=o.slice(0,o.indexOf("T"));else{let e=Et(n.Date);a=e[0],o=e[1]}let s=this.ak+"/"+a+"/"+this.region+"/s3/aws4_request",c=Tt(n),l=c[0],u=c[1],d="";if(e.urlPath){let t=e.urlPath.slice(1).split("&");t=t.sort();for(let e=0;e<t.length;e++)d+=t[e],-1===t[e].indexOf("=")&&(d+="="),e!==t.length-1&&(d+="&")}let p=e.method+"\n";p+=e.uri+"\n",p+=d+"\n",p+=u+"\n",p+=l+"\n",p+=it,i.runLog("debug",t,"canonicalRequest:"+p);let f=St(a,o,this.sk,this.region,p);e.headers.Authorization="AWS4-HMAC-SHA256 Credential="+s+",SignedHeaders="+l+",Signature="+f},Dt.prototype.bufMD5=function(e){return rt("md5").update(e).digest("base64")},Dt.prototype.rawBufMD5=function(e){return rt("md5").update(e).digest("rawbase64")},Dt.prototype.createSignedUrlSync=function(e){return"v4"===(e.signatureContext||this.signatureContext).signature.toLowerCase()?this.createV4SignedUrlSync(e):this.createV2SignedUrlSync(e)},Dt.prototype.createV2SignedUrlSync=function(e){let t=(e=e||{}).signatureContext||this.signatureContext,r=e.Method?String(e.Method):"GET",n=e.Bucket?String(e.Bucket):null,i=e.Key?String(e.Key):null,a=e.SpecialParam?String(e.SpecialParam):null;"obs"===t.signature.toLowerCase()&&"storagePolicy"===a?a="storageClass":"v2"===t.signature.toLowerCase()&&"storageClass"===a&&(a="storagePolicy");let o=e.Policy?String(e.Policy):null,s=e.Prefix?String(e.Prefix):null,c=e.Expires?parseInt(e.Expires,10):300,l={};if(e.Headers&&e.Headers instanceof Object&&!(e.Headers instanceof Array))for(let t in e.Headers)({}).hasOwnProperty.call(e.Headers,t)&&(l[t]=e.Headers[t]);let u={};if(e.QueryParams&&e.QueryParams instanceof Object&&!(e.QueryParams instanceof Array))for(let t in e.QueryParams)({}).hasOwnProperty.call(e.QueryParams,t)&&(u[t]=e.QueryParams[t]);this.securityToken&&!u[t.headerPrefix+"security-token"]&&(u[t.headerPrefix+"security-token"]=this.securityToken);let d="",p="",f=this.server;this.isCname?p+="/"+f+"/":n&&(p+="/"+n,this.pathStyle?d+="/"+n:(f=n+"."+f,p+="/")),i&&(i=bt(i,"/"),d+="/"+i,p.lastIndexOf("/")!==p.length-1&&(p+="/"),p+=i),""===p&&(p="/"),d+="?",a&&(u[a]=""),"v2"===t.signature.toLowerCase()?u.AWSAccessKeyId=this.ak:u.AccessKeyId=this.ak,c<0&&(c=300),c=parseInt((new Date).getTime()/1e3,10)+c,o&&s?(u.Policy=o,u.prefix=s):u.Expires=String(c);let h={};for(let e in l)if({}.hasOwnProperty.call(l,e)){let r=String(e).toLowerCase();("content-type"===r||"content-md5"===r||r.length>t.headerPrefix.length&&r.slice(0,t.headerPrefix.length)===t.headerPrefix)&&(h[r]=l[e])}let A=[];for(let e in u)({}).hasOwnProperty.call(u,e)&&A.push(e);A.sort();let g=o&&s,m=!1,v=[],b=o&&s?"":"/";for(let e=0;e<A.length;e++){let r=A[e],n=u[r];if(r=bt(r,b),n=bt(n,b),d+=r,n&&(d+="="+n),(!g||"policy"!==r.toLowerCase())&&(at.indexOf(r.toLowerCase())>=0||0===r.toLowerCase().indexOf(t.headerPrefix))){m=!0;let e=n?r+"="+decodeURIComponent(n):r;v.push(e)}d+="&"}v=v.join("&"),m&&(v="?"+v),p+=v;let k=[r];if(k.push("\n"),"content-md5"in h&&k.push(h["content-md5"]),k.push("\n"),"content-type"in h&&k.push(h["content-type"]),k.push("\n"),g?k.push(o):k.push(String(c)),k.push("\n"),g)k.push(v);else{let e=[],r=0;for(let n in h)n.length>t.headerPrefix.length&&n.slice(0,t.headerPrefix.length)===t.headerPrefix&&(e[r++]=n);e=e.sort();for(let t=0;t<e.length;t++)k.push(e[t]),k.push(":"),k.push(h[e[t]]),k.push("\n");k.push(p)}let y=tt("sha1",this.sk);return y.update(k.join("")),d+=g?"Signature="+bt(y.digest("base64")):"Signature="+bt(y.digest("base64"),"/"),{ActualSignedRequestHeaders:l,SignedUrl:(this.isSecure?"https":"http")+"://"+f+":"+this.port+d}},Dt.prototype.createV4SignedUrlSync=function(e){let t=(e=e||{}).signatureContext||this.signatureContext,r=e.Method?String(e.Method):"GET",n=e.Bucket?String(e.Bucket):null,i=e.Key?String(e.Key):null,a=e.SpecialParam?String(e.SpecialParam):null;"storageClass"===a&&(a="storagePolicy");let o=e.Expires?parseInt(e.Expires,10):300,s={};if(e.Headers&&e.Headers instanceof Object&&!(e.Headers instanceof Array))for(let t in e.Headers)({}).hasOwnProperty.call(e.Headers,t)&&(s[t]=e.Headers[t]);let c={};if(e.QueryParams&&e.QueryParams instanceof Object&&!(e.QueryParams instanceof Array))for(let t in e.QueryParams)({}).hasOwnProperty.call(e.QueryParams,t)&&(c[t]=e.QueryParams[t]);this.securityToken&&!c[t.headerPrefix+"security-token"]&&(c[t.headerPrefix+"security-token"]=this.securityToken);let l="",u="",d=this.server;n&&(this.pathStyle?(l+="/"+n,u+="/"+n):d=n+"."+d),i&&(i=bt(i,"/"),l+="/"+i,u+="/"+i),""===u&&(u="/"),l+="?",a&&(c[a]=""),o<0&&(o=300);let p=Et(s.date||s.Date||(new Date).toUTCString()),f=p[0],h=p[1];s.Host=d+(80===this.port||443===this.port?"":":"+this.port),c["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",c["X-Amz-Credential"]=this.ak+"/"+f+"/"+this.region+"/s3/aws4_request",c["X-Amz-Date"]=h,c["X-Amz-Expires"]=String(o);let A=Tt(s);c["X-Amz-SignedHeaders"]=A[0];let g={},m=[];for(let e in c)if({}.hasOwnProperty.call(c,e)){let t=c[e];e=bt(e,"/"),t=bt(t),g[e]=t,m.push(e),l+=e,t&&(l+="="+t),l+="&"}let v="";m.sort();for(let e=0;e<m.length;)v+=m[e]+"="+g[m[e]],++e!==m.length&&(v+="&");let b=r+"\n";return b+=u+"\n",b+=v+"\n",b+=A[1]+"\n",b+=A[0]+"\n",b+="UNSIGNED-PAYLOAD",l+="X-Amz-Signature="+bt(St(f,h,this.sk,this.region,b)),{ActualSignedRequestHeaders:s,SignedUrl:(this.isSecure?"https":"http")+"://"+d+":"+this.port+l}},Dt.prototype.createPostSignatureSync=function(e){let t=e.signatureContext||this.signatureContext;if("v4"===t.signature)return this.createV4PostSignatureSync(e);let r=(e=e||{}).Bucket?String(e.Bucket):null,n=e.Key?String(e.Key):null,i=e.Expires?parseInt(e.Expires,10):300,a={};if(e.FormParams&&e.FormParams instanceof Object&&!(e.FormParams instanceof Array))for(let t in e.FormParams)({}).hasOwnProperty.call(e.FormParams,t)&&(a[t]=e.FormParams[t]);this.securityToken&&!a[t.headerPrefix+"security-token"]&&(a[t.headerPrefix+"security-token"]=this.securityToken);let o=new Date;o.setTime(parseInt((new Date).getTime(),10)+1e3*i),o=Ct(o.toUTCString()),r&&(a.bucket=r),n&&(a.key=n);let s=[];s.push('{"expiration":"'),s.push(o),s.push('", "conditions":[');let c=!0,l=!0,u=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(let e in a){if(!e)continue;let r=a[e];e=String(e).toLowerCase(),"bucket"===e?c=!1:"key"===e&&(l=!1),ot.indexOf(e)<0&&u.indexOf(e)<0&&0!==e.indexOf(t.headerPrefix)||(s.push('{"'),s.push(e),s.push('":"'),s.push(null!==r?String(r):""),s.push('"},'))}c&&s.push('["starts-with", "$bucket", ""],'),l&&s.push('["starts-with", "$key", ""],'),s.push("]}");let d=s.join("");s=window.btoa?window.btoa(d):de.a.encode(d);let p=tt("sha1",this.sk).update(s).digest("base64");return{OriginPolicy:d,Policy:s,Signature:p,Token:this.ak+":"+p+":"+s}},Dt.prototype.createV4PostSignatureSync=function(e){let t=(e=e||{}).signatureContext||this.signatureContext,r=e.Bucket?String(e.Bucket):null,n=e.Key?String(e.Key):null,i=e.Expires?parseInt(e.Expires,10):300,a={};if(e.FormParams&&e.FormParams instanceof Object&&!(e.FormParams instanceof Array))for(let t in e.FormParams)({}).hasOwnProperty.call(e.FormParams,t)&&(a[t]=e.FormParams[t]);this.securityToken&&!a[t.headerPrefix+"security-token"]&&(a[t.headerPrefix+"security-token"]=this.securityToken);let o=Et((new Date).toUTCString()),s=o[0],c=o[1],l=this.ak+"/"+s+"/"+this.region+"/s3/aws4_request",u=new Date;u.setTime(parseInt((new Date).getTime(),10)+1e3*i),u=Ct(u.toUTCString()),a["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",a["X-Amz-Date"]=c,a["X-Amz-Credential"]=l,r&&(a.bucket=r),n&&(a.key=n);let d=[];d.push('{"expiration":"'),d.push(u),d.push('", "conditions":[');let p=!0,f=!0,h=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(let e in a){if(!e)continue;let r=a[e];e=String(e).toLowerCase(),"bucket"===e?p=!1:"key"===e&&(f=!1),ot.indexOf(e)<0&&h.indexOf(e)<0&&0!==e.indexOf(t.headerPrefix)||(d.push('{"'),d.push(e),d.push('":"'),d.push(null!==r?String(r):""),d.push('"},'))}p&&d.push('["starts-with", "$bucket", ""],'),f&&d.push('["starts-with", "$key", ""],'),d.push("]}");let A=d.join("");d=window.btoa?window.btoa(A):de.a.encode(A);let g=Bt(s,this.sk,this.region,d);return{OriginPolicy:A,Policy:d,Algorithm:a["X-Amz-Algorithm"],Credential:a["X-Amz-Credential"],Date:a["X-Amz-Date"],Signature:g}};var Ut=Dt;const Ft=Number.MAX_VALUE;function It(){this.consoleLog=window.console,this._level=Ft}It.prototype.setLevel=function(e){e&&(e="info"===(e=String(e).toLowerCase())?20:"warn"===e?30:"error"===e?40:"debug"===e?10:Ft,this._level=e)},It.prototype.runLog=function(e,t,r){if(!e)return;let n=[(new Date).toLocaleString(),e.toLowerCase(),t,r].join("|");"debug"===e.toLowerCase()&&this._level<=10?this.consoleLog.debug(n):"info"===e.toLowerCase()&&this._level<=20?this.consoleLog.info(n):"warn"===e.toLowerCase()&&this._level<=30?this.consoleLog.warn(n):"error"===e.toLowerCase()&&this._level<=40&&this.consoleLog.error(n)};var Lt=It,Ot=r("c886");let Mt=function(e){return"[object String]"===Object.prototype.toString.call(e)&&e.lastIndexOf("/")!==e.length-1&&(e+="/"),e},Pt={};Pt.extend=function(e){e.prototype.dropFile=function(e,t){this.deleteObject(e,t)},e.prototype.dropFolder=function(e,t){let r=this;e=e||{};let n=function(e,t,r){e=e||function(){};let n=(new Date).getTime();return function(i,a){return t.runLog("info",r,"ObsClient cost "+((new Date).getTime()-n)+" ms"),"[object String]"===Object.prototype.toString.call(i)?e(new Error(i),a):e(i,a)}}(t,r.log,"dropFolder"),i=function(e){return e=e||function(){},function(t,r,n){return"[object Error]"===Object.prototype.toString.call(n)?e(t,r,n):"[object String]"===Object.prototype.toString.call(n)?e(t,r,new Error(n)):n?n.CommonMsg.Status>300?e(t,r,new Error("status:"+n.CommonMsg.Status+", code:"+n.CommonMsg.Code+", message:"+n.CommonMsg.Message)):void e(t,r,n):void 0}}(e.EventCallback),a=e.TaskNum||1,o=0,s=[],c=function(e,t,n,c){if(c)return t.finished++,void n(t);let l=function(){o++,r.dropFile({Bucket:t.bucket,Key:e},(function(r,c){o--,t.finished++,function(){for(;o<a&&s.length>0;)s.shift()()}(),r?(i("dropFileFailed",e,r),t.subDeleted=!1):c.CommonMsg.Status>=300?(i("dropFileFailed",e,c),t.subDeleted=!1):i("dropFileSucceed",e,c),n(t)}))};o<a?l():s.push(l)},l=function(e,t,r){return function(n){!n.isTruncated&&n.finished===n.total&&n.subDeleted&&c(e,t,r,!1)}},u=function(e,t,i,d,p){o++,r.listObjects({Bucket:t,Prefix:i,Delimiter:"/",Marker:d},(function(r,d){if(o--,r)return n(r);if(d.CommonMsg.Status>=300)return n(null,d);if(e.total+=d.InterfaceResult.Contents.length,e.total+=d.InterfaceResult.CommonPrefixes.length,0===e.total)return void p(e);e.isTruncated="true"===d.InterfaceResult.IsTruncated;let f=function(r){return function(){u({total:0,finished:0,isTruncated:!1,bucket:t,subDeleted:!0},t,r,null,l(r,e,p))}};for(let r=0;r<d.InterfaceResult.CommonPrefixes.length;r++){let n=Mt(d.InterfaceResult.CommonPrefixes[r].Prefix);o<a?u({total:0,finished:0,isTruncated:!1,bucket:t,subDeleted:!0},t,n,null,l(n,e,p)):s.push(f(n))}for(let t=0;t<d.InterfaceResult.Contents.length;t++){let r=d.InterfaceResult.Contents[t].Key;c(r,e,p,r.lastIndexOf("/")===r.length-1)}e.isTruncated&&(o<a?u(e,t,i,d.InterfaceResult.NextMarker,p):s.push((function(){u(e,t,i,d.InterfaceResult.NextMarker,p)})))}))},d=Mt(e.Prefix);u({total:0,finished:0,isTruncated:!1,bucket:e.Bucket,subDeleted:!0},e.Bucket,d,null,(function(e){if(e.isTruncated||e.finished!==e.total)return;if(e.subDeleted)return void r.dropFile({Bucket:e.bucket,Key:d},(function(e,t){return e?(i("dropFileFailed",d,e),n(e)):t.CommonMsg.Status>=300?(i("dropFileFailed",d,t),n(null,t)):(i("dropFileSucceed",d,t),n(null,t))}));let t="drop folder "+d+" failed due to child file deletion failed";i("dropFileFailed",d,new Error(t)),n(t)}))}};var Rt=Pt;let Nt=function(e){let t=[];if(t.push(e.bucket),t.push(e.key),t.push(e.sourceFile.name),t.push(String(e.partSize)),t.push(String(e.partCount)),t.push(String(e.fileStat.fileSize)),t.push(String(e.fileStat.lastModified)),e.uploadId&&t.push(e.uploadId),e.sseC&&t.push(e.sseC),e.sseCKey&&t.push(e.sseCKey),e.parts)for(let r=0;r<e.parts.length;r++){let n=e.parts[r];n&&(t.push(String(n.partNumber)),t.push(String(n.offset)),t.push(String(n.partSize)),t.push(String(n.isCompleted)),n.etag&&t.push(String(n.etag)))}return window.btoa(fe()(t.join(""),!1,!0))},zt=function(e,t,r){e&&e.uploadId&&r.abortMultipartUpload({Bucket:e.bucket,Key:e.key,RequestDate:e.requestDate,UploadId:e.uploadId},(function(n,i){n?r.log.runLog("warn",t,"abort multipart upload failed, bucket:"+e.bucket+", key:"+e.key+", uploadId:"+e.uploadId+", err:"+n):i.CommonMsg.Status>=300?r.log.runLog("warn",t,"abort multipart upload failed, bucket:"+e.bucket+", key:"+e.key+", uploadId:"+e.uploadId+", status:"+i.CommonMsg.Status+", code:"+i.CommonMsg.Code+", message:"+i.CommonMsg.Message):(delete e.uploadId,r.log.runLog("warn",t,"abort multipart upload succeed, bucket:"+e.bucket+", key:"+e.key+", uploadId:"+e.uploadId))}))},Ht=function(e){if(e.finishedCount<e.uploadCheckpoint.partCount)return;if(e.isAbort)return zt(e.uploadCheckpoint,e.funcName,e.that),e.callback("uploadFile failed the upload task is aborted");if(e.isSuspend)return e.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint");if(e.hasError)return e.callback("uploadFile finished with error, you can retry with the uploadCheckpoint");let t=[];for(let r=0;r<e.uploadCheckpoint.partCount;r++){let n=e.uploadCheckpoint.parts[r];t.push({PartNumber:n.partNumber,ETag:n.etag})}e.that.completeMultipartUpload({Bucket:e.uploadCheckpoint.bucket,Key:e.uploadCheckpoint.key,RequestDate:e.uploadCheckpoint.requestDate,UploadId:e.uploadCheckpoint.uploadId,Parts:t,CallbackUrl:e.callbackUrl,CallbackHost:e.callbackHost,CallbackBody:e.callbackBody,CallbackBodyType:e.callbackBodyType},(function(t,r){let n={bucket:e.uploadCheckpoint.bucket,key:e.uploadCheckpoint.key,uploadId:e.uploadCheckpoint.uploadId};return t?(e.eventCallback("completeMultipartUploadFailed",n,t),e.callback(t)):r.CommonMsg.Status>=500?(e.eventCallback("completeMultipartUploadFailed",n,r),e.callback(null,r)):r.CommonMsg.Status>=300&&r.CommonMsg.Status<500?(e.eventCallback("completeMultipartUploadAborted",n,r),zt(e.uploadCheckpoint,e.funcName,e.that),e.callback(null,r)):(e.eventCallback("completeMultipartUploadSucceed",n,r),void e.callback(null,r))}))},jt=function(e){e.resumeCallback({cancel:function(){e.isSuspend=!0;for(let r=0;r<e.uploadPartParams.length;r++){let n=e.uploadPartParams[r].cancelHook;t=n,"[object Function]"===Object.prototype.toString.call(t)&&n()}var t}},e.uploadCheckpoint);let t=[],r=function(){for(;e.runningTask<e.taskNum&&t.length>0;)t.shift()();0===t.length&&Ht(e)},n=window.btoa?window.btoa:de.a.encode,i=function(i){return function(){if(e.runningTask++,e.isSuspend||e.isAbort)return e.runningTask--,e.finishedCount++,e.finishedCount+=t.length,t=[],r();let a=0,o=function(t){if(a)return;a=1;let n={Bucket:e.uploadCheckpoint.bucket,Key:e.uploadCheckpoint.key,RequestDate:e.uploadCheckpoint.requestDate,PartNumber:i.partNumber,UploadId:e.uploadCheckpoint.uploadId,SourceFile:e.uploadCheckpoint.sourceFile,Offset:i.offset,PartSize:i.partSize,SseC:e.uploadCheckpoint.sseC,SseCKey:e.uploadCheckpoint.sseCKey,ProgressCallback:(o=i.partNumber,function(t,r,n){e.progressCallback(o,t)}),ContentMD5:t};var o;e.uploadPartParams.push(n),e.that.uploadPart(n,(function(t,n){if(e.runningTask--,e.finishedCount++,e.isSuspend)return r();let a={partNumber:i.partNumber,bucket:e.uploadCheckpoint.bucket,key:e.uploadCheckpoint.key,uploadId:e.uploadCheckpoint.uploadId};t?(e.eventCallback("uploadPartFailed",a,t),e.hasError=!0):n.CommonMsg.Status>=500||400===n.CommonMsg.Status&&"BadDigest"===n.CommonMsg.Code?(e.eventCallback("uploadPartFailed",a,n),e.hasError=!0):n.CommonMsg.Status>=300&&n.CommonMsg.Status<500?(e.isAbort=!0,e.hasError=!0,e.eventCallback("uploadPartAborted",a,n)):(i.etag=n.InterfaceResult.ETag,i.isCompleted=!0,a.etag=i.etag,e.uploadCheckpoint.md5=Nt(e.uploadCheckpoint),e.eventCallback("uploadPartSucceed",a,n),e.that.log.runLog("debug",e.funcName,"Part "+String(i.partNumber)+" is finished, uploadId "+e.uploadCheckpoint.uploadId)),r()}))};if(e.verifyMd5&&window.FileReader&&(e.uploadCheckpoint.sourceFile instanceof window.File||e.uploadCheckpoint.sourceFile instanceof window.Blob)){let t=(s=e.uploadCheckpoint.sourceFile,c=i.offset,l=i.offset+i.partSize,u=u||s.type,s.mozSlice?s.mozSlice(c,l,u):s.webkitSlice?s.webkitSlice(c,l,u):s.slice(c,l,u)),r=new window.FileReader;return r.onload=function(e){let t=function(e){e=new Uint8Array(e);let t,r=0;for(;r<e.length;){let n=r+16384;n=n<=e.length?n:e.length,t?t+=String.fromCharCode.apply(null,e.slice(r,n)):t=String.fromCharCode.apply(null,e.slice(r,n)),r=n}return e=null,t}(e.target.result),r=n(fe()(t,!1,!0));t=null,o(r)},r.onerror=function(t){e.that.log.runLog("error",e.funcName,"Caculate md5 for part "+String(i.partNumber)+" failed"),o()},void r.readAsArrayBuffer(t)}var s,c,l,u;o()}};if(!e.isSuspend){for(let r=0;r<e.uploadCheckpoint.partCount;r++){let n=e.uploadCheckpoint.parts[r];n.isCompleted?(e.finishedCount++,e.finishedBytes+=n.partSize):t.push(i(n))}return 0===t.length?Ht(e):r()}e.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint")},Qt={};Qt.extend=function(e){e.prototype.uploadFile=function(e,t){let r=this;e=e||{};let n="uploadFile",i=function(e,t,r){e=e||function(){};let n=(new Date).getTime();return function(i,a){return t.runLog("info",r,"ObsClient cost "+((new Date).getTime()-n)+" ms"),"[object String]"===Object.prototype.toString.call(i)?e(new Error(i),a):e(i,a)}}(t,r.log,n),a=function(e){return e=e||function(){},function(t,r,n){return"[object Error]"===Object.prototype.toString.call(n)?e(t,r,n):"[object String]"===Object.prototype.toString.call(n)?e(t,r,new Error(n)):n?n.CommonMsg.Status>300?e(t,r,new Error("status:"+n.CommonMsg.Status+", code:"+n.CommonMsg.Code+", message:"+n.CommonMsg.Message)):void e(t,r,n):void 0}}(e.EventCallback),o=e.TaskNum||1,s=e.ProgressCallback||function(){},c=e.ResumeCallback||function(){},l=e.VerifyMd5||!1;r.log.runLog("info",n,"enter "+n+"...");let u=null;if(e.UploadCheckpoint&&e.UploadCheckpoint.sourceFile&&e.UploadCheckpoint.fileStat&&e.UploadCheckpoint.uploadId&&e.UploadCheckpoint.md5===Nt(e.UploadCheckpoint)?u=e.UploadCheckpoint:zt(e.UploadCheckpoint,n,r),u){let e=u.sourceFile;if(!(e instanceof window.File||e instanceof window.Blob))return i("source file is not valid, must be an instanceof [File | Blob]");if(!e.mozSlice&&!e.webkitSlice&&!e.slice)return i("your browser cannot support the slice method for [File | Blob]")}else{let t=e.SourceFile;if(!(t instanceof window.File||t instanceof window.Blob))return i("source file is not valid, must be an instanceof [File | Blob]");if(!t.mozSlice&&!t.webkitSlice&&!t.slice)return i("your browser cannot support the slice method for [File | Blob]");r.log.runLog("debug",n,"Begin to uploadFile to OBS from file:"+t.name);let a=t.size,o=parseInt(e.PartSize,10),s=0,c=[];if(0===a)o=0,s=1,c.push({partNumber:1,offset:0,partSize:0,isCompleted:!1});else{if(o=isNaN(o)||o<102400?9437184:o>5368709120?5368709120:o,s=Math.floor(a/o),s>=1e4&&(o=Math.floor(a/1e4),a%1e4!=0&&(o+=1),s=Math.floor(a/o)),o>5368709120)return i("The source file "+t.name+" is too large");let e=a%o;0!==e&&s++;for(let e=0;e<s;e++)c.push({partNumber:e+1,offset:e*o,partSize:o,isCompleted:!1});0!==e&&(c[s-1].partSize=e)}r.log.runLog("debug",n,"Total parts count "+s),u={bucket:e.Bucket,key:e.Key,sourceFile:t,partSize:o,partCount:s,parts:c},u.fileStat={fileSize:a,lastModified:t.lastModified},e.SseC&&e.SseCKey&&(u.sseC=e.SseC,u.sseCKey=e.SseCKey),u.md5=Nt(u)}u.requestDate=e.RequestDate;let d={start:(new Date).getTime(),uploadCheckpoint:u,funcName:n,taskNum:o,callback:i,that:r,runningTask:0,finishedCount:0,hasError:!1,finishedBytes:0,isAbort:!1,resumeCallback:c,isSuspend:!1,partsLoaded:{},requestDate:e.RequestDate,uploadPartParams:[],verifyMd5:l,callbackUrl:e.CallbackUrl,callbackHost:e.CallbackHost,callbackBody:e.CallbackBody,callbackBodyType:e.CallbackBodyType,eventCallback:function(e,t,r){d.isSuspend||a(e,t,r)},progressCallback:function(e,t){d.isSuspend||(d.finishedBytes+=t,d.partsLoaded[e]&&(d.finishedBytes-=d.partsLoaded[e]),d.partsLoaded[e]=t,s(d.finishedBytes,d.uploadCheckpoint.fileStat.fileSize,((new Date).getTime()-d.start)/1e3))}};if(!u.uploadId){let t=e.ContentType;return!t&&u.key&&(t=r.util.mimeTypes[u.key.substring(u.key.lastIndexOf(".")+1)]),!t&&u.sourceFile.name&&(t=r.util.mimeTypes[u.sourceFile.name.substring(u.sourceFile.name.lastIndexOf(".")+1)]),void r.initiateMultipartUpload({Bucket:e.Bucket,Key:e.Key,RequestDate:e.RequestDate,ACL:e.ACL,Metadata:e.Metadata,WebsiteRedirectLocation:e.WebsiteRedirectLocation,StorageClass:e.StorageClass,ContentType:t,Expires:e.Expires,SseKms:e.SseKms,SseKmsKey:e.SseKmsKey,SseC:e.SseC,SseCKey:e.SseCKey},(function(t,a){let o={bucket:e.Bucket,key:e.Key};if(t)return d.eventCallback("initiateMultipartUploadFailed",o,t),i(t);if(a.CommonMsg.Status>=300)return d.eventCallback("initiateMultipartUploadFailed",o,a),i(null,a);let s=a.InterfaceResult.UploadId;u.uploadId=s,u.md5=Nt(u),d.uploadCheckpoint=u,o.uploadId=s,r.log.runLog("info",n,"Claim a new upload id "+s),d.eventCallback("initiateMultipartUploadSucceed",o,a),jt(d)}))}jt(d)}};var qt=Qt;function Wt(e){this.factory(e)}function Kt(e){return e.slice(0,1).toUpperCase()+e.slice(1)}const Vt=["createBucket","listBuckets","getBucketMetadata","headBucket","deleteBucket","setBucketQuota","getBucketQuota","getBucketStorageInfo","setBucketPolicy","getBucketPolicy","deleteBucketPolicy","setBucketVersioningConfiguration","getBucketVersioningConfiguration","putBackToSource","deleteBackToSource","getBackToSource","getBucketLocation","listVersions","listObjects","setBucketLifecycleConfiguration","getBucketLifecycleConfiguration","deleteBucketLifecycleConfiguration","setBucketAcl","getBucketAcl","setBucketLoggingConfiguration","getBucketLoggingConfiguration","setBucketWebsiteConfiguration","getBucketWebsiteConfiguration","deleteBucketWebsiteConfiguration","setBucketNotification","getBucketNotification","setBucketTagging","getBucketTagging","deleteBucketTagging","getBucketCors","deleteBucketCors","setBucketStoragePolicy","getBucketStoragePolicy","getObject","getObjectMetadata","setObjectMetadata","setObjectAcl","getObjectAcl","deleteObject","deleteObjects","listMultipartUploads","listParts","abortMultipartUpload","completeMultipartUpload","getBucketInventory","setBucketInventory","deleteBucketInventory","getBucketEncryption","setBucketEncryption","deleteBucketEncryption","getBucketRequesterPay","setBucketRequesterPay","setMirrorBackToSource","getMirrorBackToSource","deleteMirrorBackToSource","getWorkflowTrigger","deleteWorkflowTrigger","createWorkflowTrigger","restoreFailedWorkflowExecution","createTemplate","createWorkflow","getWorkflowList","deleteWorkflow","getWorkflowTemplateList","getWorkflowInstanceList","deleteTemplate","updateWorkflow","getActionTemplates","getWorkflowAuthorization","openWorkflowAuthorization","getBucketDirectColdAccess","setBucketDirectColdAccess","deleteBucketDirectColdAccess","getBucketCustomDomain","setBucketCustomDomain","deleteBucketCustomDomain","setBucketCors","getBucketReplication","setBucketReplication","deleteBucketReplication","getCDNNotifyConfiguration","setCdnNotifyConfiguration","getQuota","getBucketDisPolicy","setBucketDisPolicy","deleteBucketDisPolicy","createOnlineDecom","getOnlineDecom","getWorkflowAgreements","openWorkflowAgreements","deleteOnlineDecom","getMyActionTemplates","createMyActionTemplate","getMyactiontemplateDetail","updateMyActionTemplate","deleteMyActionTemplate","forbidMyActionTemplate","updatePublicActionTemplate","getOmPublicActionTemplates","setSFSAcl","getSFSAcl","deleteSFSAcl","setBucketAlias","bindBucketAlias","unbindBucketAlias","deleteBucketAlias","listBucketsAlias","getBucketAlias"];function Gt(e){return function(t,r){this.exec(Kt(e),t,r)}}for(let e=0;e<Vt.length;e++){let t=Vt[e];Wt.prototype[t]=Gt(t)}function Yt(e){return"[object Function]"===Object.prototype.toString.call(e)}function Xt(e){return function(t,r){if(Yt(t))return void e.call(this,null,t);if(Yt(r))return void e.call(this,t,r);let n=this;return new Promise((function(r,i){e.call(n,t,(function(e,t){if(e)return i(e);r(t)}))}))}}if(Wt.prototype.createTemplate=function(e,t){e.ApiPath="v2/workflowtemplates",this.exec("CreateTemplate",e,t)},Wt.prototype.createWorkflow=function(e,t){e.ApiPath="v2/workflows",this.exec("CreateWorkflow",e,t)},Wt.prototype.restoreFailedWorkflowExecution=function(e,t){e.ApiPath="v2/workflowexecutions",this.exec("RestoreFailedWorkflowExecution",e,t)},Wt.prototype.getWorkflowList=function(e,t){e.ApiPath="v2/workflows",this.exec("GetWorkflowList",e,t)},Wt.prototype.deleteWorkflow=function(e,t){e.ApiPath="v2/workflows",this.exec("DeleteWorkflow",e,t)},Wt.prototype.deleteTemplate=function(e,t){e.ApiPath="v2/workflowtemplates",this.exec("DeleteTemplate",e,t)},Wt.prototype.getWorkflowTemplateList=function(e,t){e.ApiPath="v2/workflowtemplates",this.exec("GetWorkflowTemplateList",e,t)},Wt.prototype.getWorkflowInstanceList=function(e,t){e.ApiPath="v2/workflowexecutions",this.exec("GetWorkflowInstanceList",e,t)},Wt.prototype.updateWorkflow=function(e,t){e.ApiPath="v2/workflows",this.exec("UpdateWorkflow",e,t)},Wt.prototype.getActionTemplates=function(e,t){e.ApiPath="v2/actiontemplates",this.exec("GetActionTemplates",e,t)},Wt.prototype.getWorkflowAuthorization=function(e,t){e.ApiPath="v2/workflow-authorization",this.exec("GetWorkflowAuthorization",e,t)},Wt.prototype.openWorkflowAuthorization=function(e,t){e.ApiPath="v2/workflow-authorization",this.exec("OpenWorkflowAuthorization",e,t)},Wt.prototype.getPublicationTemplates=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplates",e,t),this.util.pathStyle=!1},Wt.prototype.getPublicationTemplateDetail=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplateDetail",e,t),this.util.pathStyle=!1},Wt.prototype.getWorkflowAgreements=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/workflow-agreements",this.exec("GetWorkflowAgreements",e,t),this.util.pathStyle=!1},Wt.prototype.openWorkflowAgreements=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/workflow-agreements",this.exec("OpenWorkflowAgreements",e,t),this.util.pathStyle=!1},Wt.prototype.createMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("CreateMyActionTemplate",e,t),this.util.pathStyle=!1},Wt.prototype.getMyActionTemplates=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("GetMyActionTemplates",e,t),this.util.pathStyle=!1},Wt.prototype.getMyactiontemplateDetail=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("GetMyactiontemplateDetail",e,t),this.util.pathStyle=!1},Wt.prototype.updateMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("UpdateMyActionTemplate",e,t),this.util.pathStyle=!1},Wt.prototype.deleteMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("DeleteMyActionTemplate",e,t),this.util.pathStyle=!1},Wt.prototype.forbidMyActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/myactiontemplates",this.exec("ForbidMyActionTemplate",e,t),this.util.pathStyle=!1},Wt.prototype.updatePublicActionTemplate=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/ompublicactiontemplates",this.exec("UpdatePublicActionTemplate",e,t),this.util.pathStyle=!1},Wt.prototype.getOmPublicActionTemplates=function(e,t){this.util.pathStyle=!0,e.ApiPath="v2/ompublicactiontemplates",this.exec("GetOmPublicActionTemplates",e,t),this.util.pathStyle=!1},Wt.prototype.putObject=function(e,t){if("Body"in e&&"SourceFile"in e){let e="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.runLog("error","PutObject",e),t(new Error(e),null)}if(!("ContentType"in e)&&("Key"in e&&(e.ContentType=this.util.mimeTypes[e.Key.substring(e.Key.lastIndexOf(".")+1)]),!e.ContentType&&"SourceFile"in e)){let t=e.SourceFile.name;e.ContentType=this.util.mimeTypes[t.substring(t.lastIndexOf(".")+1)]}this.exec("PutObject",e,t)},Wt.prototype.appendObject=function(e,t){if("Body"in e&&"SourceFile"in e){let e="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.isLevelEnabled("error")&&this.log.runLog("error","PutObject",e),t(new Error(e),null)}"ContentType"in e||("Key"in e&&(e.ContentType=this.util.mimeTypes[e.Key.substring(e.Key.lastIndexOf(".")+1)]),!e.ContentType&&"SourceFile"in e&&(e.ContentType=this.util.mimeTypes[e.SourceFile.substring(e.SourceFile.lastIndexOf(".")+1)])),this.exec("AppendObject",e,t)},Wt.prototype.copyObject=function(e,t){let r="CopySource";if(r in e){let t=e[r],n=t.lastIndexOf("?versionId=");e[r]=n>0?this.util.encodeURIWithSafe(t.slice(0,n))+t.slice(n):this.util.encodeURIWithSafe(t)}this.exec("CopyObject",e,t)},Wt.prototype.copyPart=function(e,t){let r="CopySource";if(r in e){let t=e[r],n=t.lastIndexOf("?versionId=");e[r]=n>0?this.util.encodeURIWithSafe(t.slice(0,n))+t.slice(n):this.util.encodeURIWithSafe(t)}this.exec("CopyPart",e,t)},Wt.prototype.restoreObject=function(e,t){this.exec("RestoreObject",e,(function(e,r){!e&&r.InterfaceResult&&r.CommonMsg.Status<300&&(r.InterfaceResult.RestoreStatus=200===r.CommonMsg.Status?"AVALIABLE":"INPROGRESS"),t(e,r)}))},Wt.prototype.initiateMultipartUpload=function(e,t){"ContentType"in e||"Key"in e&&(e.ContentType=this.util.mimeTypes[e.Key.substring(e.Key.lastIndexOf(".")+1)]),this.exec("InitiateMultipartUpload",e,t)},Wt.prototype.uploadPart=function(e,t){if("Body"in e&&"SourceFile"in e){let e="the input body and sourcefile exist at same time, please specify one of eigther a string or file to be send!";return this.log.runLog("error","UploadPart",e),t(new Error(e),null)}this.exec("UploadPart",e,t)},Rt.extend(Wt),qt.extend(Wt),Yt(Promise))for(let e in Wt.prototype)if({}.hasOwnProperty.call(Wt.prototype,e)){let t=Wt.prototype[e];Wt.prototype[e]=Xt(t)}Wt.prototype.exec=function(e,t,r){let n=this.log;n.runLog("info",e,"enter "+e+"...");let i=(new Date).getTime();t=t||{},r=r||function(){};let a=function(t,o){a.$called||(a.$called=!0,!t||t instanceof Error||(t=new Error(t)),n.runLog("debug",e,"ObsClient cost "+((new Date).getTime()-i)+" ms"),r(t,o))};this.util.exec(e,t,a)},Wt.prototype.initLog=function(e){e=e||{},this.log.setLevel(e.level);let t=["[OBS SDK Version="+this.util.obsSdkVersion];if(this.util.server){let e=this.util.port?":"+this.util.port:"";t.push("Endpoint="+(this.util.is_secure?"https":"http")+"://"+this.util.server+e)}t.push("Access Mode="+(this.util.path_style?"Path":"Virtual Hosting")+"]"),this.log.runLog("warn","init",t.join("];["))},Wt.prototype.factory=function(e){this.log=new Lt,this.util=new Ut(this.log),e=e||{},this.util.initFactory(e.access_key_id,e.secret_access_key,e.is_secure,e.server,e.path_style,e.signature,e.region,e.port,e.timeout,e.security_token,e.is_signature_negotiation,e.is_cname,e.url_prefix,e.region_domains,e.setRequestHeaderHook,e.useRawXhr)},Wt.prototype.refresh=function(e,t,r){this.util.refresh(e,t,r)},Wt.prototype.createSignedUrlSync=function(e){return this.util.createSignedUrlSync(e)},Wt.prototype.createV2SignedUrlSync=function(e){return this.util.createV2SignedUrlSync(e)},Wt.prototype.createV4SignedUrlSync=function(e){return this.util.createV4SignedUrlSync(e)},Wt.prototype.createPostSignatureSync=function(e){return this.util.createPostSignatureSync(e)},Wt.prototype.createV4PostSignatureSync=function(e){return this.util.createV4PostSignatureSync(e)},Wt.prototype.enums=Ot;for(let e in Wt.prototype)({}).hasOwnProperty.call(Wt.prototype,e)&&(Wt.prototype[Kt(e)]=Wt.prototype[e]);for(let e in Wt.prototype)if({}.hasOwnProperty.call(Wt.prototype,e)){let t=e.indexOf("Configuration");t>0&&t+"Configuration".length===e.length&&(Wt.prototype[e.slice(0,t)]=Wt.prototype[e])}var $t=Wt;t.a=$t},"6b02":function(e,t){function r(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}function n(e,t){return e.toUpperCase()===t.toUpperCase()}function i(e,t){return 0===t.toUpperCase().indexOf(e.toUpperCase())}t.paragraph=function(e){return new r("paragraph",e)},t.run=function(e){return new r("run",e)},t.table=function(e){return new r("table",e)},t.bold=new r("bold"),t.italic=new r("italic"),t.underline=new r("underline"),t.strikethrough=new r("strikethrough"),t.allCaps=new r("allCaps"),t.smallCaps=new r("smallCaps"),t.commentReference=new r("commentReference"),t.lineBreak=new r("break",{breakType:"line"}),t.pageBreak=new r("break",{breakType:"page"}),t.columnBreak=new r("break",{breakType:"column"}),t.equalTo=function(e){return{operator:n,operand:e}},t.startsWith=function(e){return{operator:i,operand:e}},r.prototype.matches=function(e){return e.type===this._elementType&&(void 0===this._styleId||e.styleId===this._styleId)&&(void 0===this._styleName||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(void 0===this._listIndex||function(e,t,r){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==r}(e,this._listIndex,this._listIsOrdered))&&(void 0===this._breakType||this._breakType===e.breakType)}},"6b5c":function(e,t,r){(t=r("24fb")(!1)).push([e.i,".kbm-dialog__mask[data-v-ca4b7c2a]{top:0;z-index:3000;background:rgba(0,0,0,.45)}.kbm-dialog[data-v-ca4b7c2a],.kbm-dialog__mask[data-v-ca4b7c2a]{position:fixed;right:0;bottom:0;left:0}.kbm-dialog[data-v-ca4b7c2a]{z-index:3001;display:flex;flex-direction:column;max-height:80vh;background:#fff;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}.kbm-dialog.fullscreen[data-v-ca4b7c2a]{top:0;left:0;right:0;bottom:0;max-height:none;border-radius:0}.kbm-dialog__header[data-v-ca4b7c2a]{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:14px 16px;border-bottom:1px solid #f0f2f5}.kbm-dialog__title[data-v-ca4b7c2a]{font-size:16px;font-weight:600;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbm-dialog__close[data-v-ca4b7c2a]{flex-shrink:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#909399;border-radius:50%}.kbm-dialog__close[data-v-ca4b7c2a]:active{background:#f0f2f5}.kbm-dialog__body[data-v-ca4b7c2a]{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px}.kbm-dialog__footer[data-v-ca4b7c2a]{flex-shrink:0;display:flex;gap:10px;padding:10px 16px;border-top:1px solid #f0f2f5}.kbm-dialog-fade-enter-active[data-v-ca4b7c2a],.kbm-dialog-fade-leave-active[data-v-ca4b7c2a]{transition:opacity .2s}.kbm-dialog-fade-enter[data-v-ca4b7c2a],.kbm-dialog-fade-leave-to[data-v-ca4b7c2a]{opacity:0}.kbm-dialog-slide-enter-active[data-v-ca4b7c2a],.kbm-dialog-slide-leave-active[data-v-ca4b7c2a]{transition:transform .25s ease}.kbm-dialog-slide-enter[data-v-ca4b7c2a],.kbm-dialog-slide-leave-to[data-v-ca4b7c2a]{transform:translateY(100%)}",""]),e.exports=t},"6b75":function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},"6b93":function(e,t,r){var n=r("23e7"),i=Math.log,a=Math.LOG10E;n({target:"Math",stat:!0},{log10:function(e){return i(e)*a}})},"6c57":function(e,t,r){r("23e7")({global:!0},{globalThis:r("da84")})},"6d08":function(e,t,r){var n,i,a,o;e.exports=(o=r("21bf"),r("38ba"),i=(n=o).lib.CipherParams,a=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(a)},parse:function(e){var t=a.parse(e);return i.create({ciphertext:t})}},o.format.Hex)},"6d61":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("94ca"),o=r("6eeb"),s=r("f183"),c=r("2266"),l=r("19aa"),u=r("861d"),d=r("d039"),p=r("1c7e"),f=r("d44e"),h=r("7156");e.exports=function(e,t,r){var A=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),m=A?"set":"add",v=i[e],b=v&&v.prototype,k=v,y={},w=function(e){var t=b[e];o(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(a(e,"function"!=typeof v||!(g||b.forEach&&!d((function(){(new v).entries().next()})))))k=r.getConstructor(t,e,A,m),s.REQUIRED=!0;else if(a(e,!0)){var x=new k,_=x[m](g?{}:-0,1)!=x,C=d((function(){x.has(1)})),E=p((function(e){new v(e)})),T=!g&&d((function(){for(var e=new v,t=5;t--;)e[m](t,t);return!e.has(-0)}));E||((k=t((function(t,r){l(t,k,e);var n=h(new v,t,k);return null!=r&&c(r,n[m],{that:n,AS_ENTRIES:A}),n}))).prototype=b,b.constructor=k),(C||T)&&(w("delete"),w("has"),A&&w("get")),(T||_)&&w(m),g&&b.clear&&delete b.clear}return y[e]=k,n({global:!0,forced:k!=v},y),f(k,e),g||r.setStrong(k,e,A),k}},"6dbd":function(e,t,r){var n=r("9d83");t.convertElementToRawText=function e(t){if("text"===t.type)return t.value;if(t.type===n.types.tab)return"\t";var r="paragraph"===t.type?"\n\n":"";return(t.children||[]).map(e).join("")+r}},"6dda":function(e,t,r){"use strict";var n=r("b546"),i=r("0ed7");e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},"6de1":function(e,t,r){"use strict";e.exports=function(e,t,n,i,a,o){var s=e._getDomain,c=r("6df9"),l=c.tryCatch,u=c.errorObj,d=e._async;function p(e,t,r,n){this.constructor$(e),this._promise._captureStackTrace();var i=s();this._callback=null===i?t:c.domainBind(i,t),this._preservedValues=n===a?new Array(this.length()):null,this._limit=r,this._inFlight=0,this._queue=[],d.invoke(this._asyncInit,this,void 0)}function f(t,r,i,a){if("function"!=typeof r)return n("expecting a function but got "+c.classString(r));var o=0;if(void 0!==i){if("object"!=typeof i||null===i)return e.reject(new TypeError("options argument must be an object but it is "+c.classString(i)));if("number"!=typeof i.concurrency)return e.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(i.concurrency)));o=i.concurrency}return new p(t,r,o="number"==typeof o&&isFinite(o)&&o>=1?o:0,a).promise()}c.inherits(p,t),p.prototype._asyncInit=function(){this._init$(void 0,-2)},p.prototype._init=function(){},p.prototype._promiseFulfilled=function(t,r){var n=this._values,a=this.length(),s=this._preservedValues,c=this._limit;if(r<0){if(n[r=-1*r-1]=t,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return n[r]=t,this._queue.push(r),!1;null!==s&&(s[r]=t);var d=this._promise,p=this._callback,f=d._boundValue();d._pushContext();var h=l(p).call(f,t,r,a),A=d._popContext();if(o.checkForgottenReturns(h,A,null!==s?"Promise.filter":"Promise.map",d),h===u)return this._reject(h.e),!0;var g=i(h,this._promise);if(g instanceof e){var m=(g=g._target())._bitField;if(0==(50397184&m))return c>=1&&this._inFlight++,n[r]=g,g._proxy(this,-1*(r+1)),!1;if(0==(33554432&m))return 0!=(16777216&m)?(this._reject(g._reason()),!0):(this._cancel(),!0);h=g._value()}n[r]=h}return++this._totalResolved>=a&&(null!==s?this._filter(n,s):this._resolve(n),!0)},p.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,r=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var n=e.pop();this._promiseFulfilled(r[n],n)}},p.prototype._filter=function(e,t){for(var r=t.length,n=new Array(r),i=0,a=0;a<r;++a)e[a]&&(n[i++]=t[a]);n.length=i,this._resolve(n)},p.prototype.preservedValues=function(){return this._preservedValues},e.prototype.map=function(e,t){return f(this,e,t,null)},e.map=function(e,t,r,n){return f(e,t,r,n)}}},"6df1":function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return s}));r("99af"),r("d3b7");var n={error:'<svg width="18" height="18" viewBox="0 0 1024 1024" fill="currentColor"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"/><path d="M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"/></svg>',info:'<svg width="18" height="18" viewBox="0 0 1024 1024" fill="currentColor"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"/><path d="M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"/></svg>',success:'<svg width="18" height="18" viewBox="0 0 1024 1024" fill="currentColor"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"/><path d="M696 480H548V332c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v148H336c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h148v148c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h148c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"/></svg>',warning:'<svg width="18" height="18" viewBox="0 0 1024 1024" fill="currentColor"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"/><path d="M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-370c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V326c0-4.4-3.6-8-8-8h-48z"/></svg>'},i={error:{bg:"#fef0f0",border:"#fde2e2",color:"#f56c6c"},info:{bg:"#edf2fc",border:"#ebeef5",color:"#909399"},success:{bg:"#f0f9eb",border:"#e1f3d8",color:"#67c23a"},warning:{bg:"#fdf6ec",border:"#faecd8",color:"#e6a23c"}};function a(){if("undefined"==typeof document)return null;var e=document.getElementById("__npm_message_wrapper");return e||((e=document.createElement("div")).id="__npm_message_wrapper",e.style.cssText="position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:2001;display:flex;flex-direction:column;align-items:center;gap:10px;",document.body.appendChild(e)),e}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error";console.error(e);var r=a();if(r){var o=i[t]||i.error,s=document.createElement("div");s.style.cssText="display:flex;align-items:center;min-width:380px;max-width:90vw;padding:15px 20px;background-color:".concat(o.bg,";border:1px solid ").concat(o.border,";border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,0.1);color:").concat(o.color,";font-size:14px;line-height:1.4;pointer-events:none;transition:opacity .3s,transform .3s;");var c=document.createElement("span");c.style.cssText="flex-shrink:0;margin-right:10px;display:flex;align-items:center;",c.innerHTML=n[t]||n.error;var l=document.createElement("p");l.style.cssText="margin:0;padding:0;word-break:break-all;",l.textContent=e||"请求失败",s.appendChild(c),s.appendChild(l),r.appendChild(s),clearTimeout(s._timer),s._timer=setTimeout((function(){s.style.opacity="0",s.style.transform="translateY(-10px)",setTimeout((function(){s.parentNode&&s.parentNode.removeChild(s)}),300)}),3e3)}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"提示",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(n,i){if("undefined"!=typeof document){var a=document.getElementById("__npm_confirm_overlay");a&&a.remove();var o=r.confirmButtonText||"确定",s=r.cancelButtonText||"取消",c=document.createElement("div");c.id="__npm_confirm_overlay",c.style.cssText="position:fixed;top:0;left:0;right:0;bottom:0;z-index:2100;background:rgba(0,0,0,0.5);display:flex;align-items:center;justify-content:center;";var l=document.createElement("div");l.style.cssText="background:#fff;border-radius:8px;width:300px;max-width:85vw;box-shadow:0 4px 20px rgba(0,0,0,0.15);overflow:hidden;";var u=document.createElement("div");u.style.cssText="padding:18px 20px 0;font-size:16px;font-weight:600;color:#303133;text-align:center;",u.textContent=t;var d=document.createElement("div");d.style.cssText="padding:16px 20px 20px;font-size:14px;color:#606266;text-align:center;line-height:1.6;word-break:break-all;",d.textContent=e;var p=document.createElement("div");p.style.cssText="display:flex;border-top:1px solid #ebeef5;";var f=document.createElement("button");f.style.cssText="flex:1;padding:12px 0;font-size:14px;color:#606266;background:#fff;border:none;border-right:1px solid #ebeef5;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;",f.textContent=s,f.addEventListener("click",(function(){c.remove(),i(new Error("cancel"))}));var h=document.createElement("button");h.style.cssText="flex:1;padding:12px 0;font-size:14px;color:#409eff;background:#fff;border:none;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;",h.textContent=o,h.addEventListener("click",(function(){c.remove(),n()})),c.addEventListener("click",(function(e){e.target===c&&(c.remove(),i(new Error("cancel")))})),p.appendChild(f),p.appendChild(h),l.appendChild(u),l.appendChild(d),l.appendChild(p),c.appendChild(l),document.body.appendChild(c)}else i(new Error("document is not defined"))}))}},"6df9":function(e,t,r){"use strict";(function(t,n){var i=r("0341"),a="undefined"==typeof navigator,o={e:{}},s,c="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:void 0!==this?this:null;function l(){try{var e=s;return s=null,e.apply(this,arguments)}catch(e){return o.e=e,o}}function u(e){return s=e,l}var d=function(e,t){var r={}.hasOwnProperty;function n(){for(var n in this.constructor=e,this.constructor$=t,t.prototype)r.call(t.prototype,n)&&"$"!==n.charAt(n.length-1)&&(this[n+"$"]=t.prototype[n])}return n.prototype=t.prototype,e.prototype=new n,e.prototype};function p(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function f(e){return"function"==typeof e||"object"==typeof e&&null!==e}function h(e){return p(e)?new Error(E(e)):e}function A(e,t){var r,n=e.length,i=new Array(n+1);for(r=0;r<n;++r)i[r]=e[r];return i[r]=t,i}function g(e,t,r){if(!i.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var n=Object.getOwnPropertyDescriptor(e,t);return null!=n?null==n.get&&null==n.set?n.value:r:void 0}function m(e,t,r){if(p(e))return e;var n={value:r,configurable:!0,enumerable:!1,writable:!0};return i.defineProperty(e,t,n),e}function v(e){throw e}var b=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var r=0;r<e.length;++r)if(e[r]===t)return!0;return!1};if(i.isES5){var r=Object.getOwnPropertyNames;return function(e){for(var n=[],a=Object.create(null);null!=e&&!t(e);){var o;try{o=r(e)}catch(e){return n}for(var s=0;s<o.length;++s){var c=o[s];if(!a[c]){a[c]=!0;var l=Object.getOwnPropertyDescriptor(e,c);null!=l&&null==l.get&&null==l.set&&n.push(c)}}e=i.getPrototypeOf(e)}return n}}var n={}.hasOwnProperty;return function(r){if(t(r))return[];var i=[];e:for(var a in r)if(n.call(r,a))i.push(a);else{for(var o=0;o<e.length;++o)if(n.call(e[o],a))continue e;i.push(a)}return i}}(),k=/this\s*\.\s*\S+\s*=/;function y(e){try{if("function"==typeof e){var t=i.names(e.prototype),r=i.isES5&&t.length>1,n=t.length>0&&!(1===t.length&&"constructor"===t[0]),a=k.test(e+"")&&i.names(e).length>0;if(r||n||a)return!0}return!1}catch(e){return!1}}function w(e){function t(){}t.prototype=e;for(var r=8;r--;)new t;return e}var x=/^[a-z$_][a-z$_0-9]*$/i;function _(e){return x.test(e)}function C(e,t,r){for(var n=new Array(e),i=0;i<e;++i)n[i]=t+i+r;return n}function E(e){try{return e+""}catch(e){return"[no string representation]"}}function T(e){return null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name}function B(e){try{m(e,"isOperational",!0)}catch(e){}}function S(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function D(e){return T(e)&&i.propertyIsWritable(e,"stack")}var U="stack"in new Error?function(e){return D(e)?e:new Error(E(e))}:function(e){if(D(e))return e;try{throw new Error(E(e))}catch(e){return e}};function F(e){return{}.toString.call(e)}function I(e,t,r){for(var n=i.names(e),a=0;a<n.length;++a){var o=n[a];if(r(o))try{i.defineProperty(t,o,i.getDescriptor(e,o))}catch(e){}}}var L=function(e){return i.isArray(e)?e:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var O="function"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,r=[],n=e[Symbol.iterator]();!(t=n.next()).done;)r.push(t.value);return r};L=function(e){return i.isArray(e)?e:null!=e&&"function"==typeof e[Symbol.iterator]?O(e):null}}var M=void 0!==n&&"[object process]"===F(n).toLowerCase(),P=void 0!==n&&!0;function R(e){return P?Object({NODE_ENV:"production",VUE_APP_API:"https://gateway.jingyingbang.com",VUE_APP_BASE_AK:"gk_147806632ff941c4a381361aa8486e77",VUE_APP_BASE_API:"https://ai-api.qiguanbang.com",VUE_APP_BASE_SK:"aa3920acfdfa43169f0f7dd5379be1ea5d72b71a8d5543fd9e9154b582acc12d",VUE_APP_EMTERPRISE:"/enterprise-managerment-release",VUE_APP_NAME:"production",BASE_URL:""})[e]:void 0}function N(){if("function"==typeof Promise)try{var e=new Promise((function(){}));if("[object Promise]"==={}.toString.call(e))return Promise}catch(e){}}function z(e,t){return e.bind(t)}var H={isClass:y,isIdentifier:_,inheritedDataKeys:b,getDataPropertyOrDefault:g,thrower:v,isArray:i.isArray,asArray:L,notEnumerableProp:m,isPrimitive:p,isObject:f,isError:T,canEvaluate:a,errorObj:o,tryCatch:u,inherits:d,withAppended:A,maybeWrapAsError:h,toFastProperties:w,filledRange:C,toString:E,canAttachTrace:D,ensureErrorObject:U,originatesFromRejection:S,markAsOriginatingFromRejection:B,classString:F,copyDescriptors:I,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:M,hasEnvVariables:P,env:R,global:c,getNativePromise:N,domainBind:z},j;H.isRecentNode=H.isNode&&(j=n.versions.node.split(".").map(Number),0===j[0]&&j[1]>10||j[0]>0),H.isNode&&H.toFastProperties(n);try{throw new Error}catch(e){H.lastLineError=e}e.exports=H}).call(this,r("c8ba"),r("4362"))},"6eeb":function(e,t,r){var n=r("da84"),i=r("9112"),a=r("5135"),o=r("ce4e"),s=r("8925"),c=r("69f3"),l=c.get,u=c.enforce,d=String(String).split("String");(e.exports=function(e,t,r,s){var c,l=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||a(r,"name")||i(r,"name",t),(c=u(r)).source||(c.source=d.join("string"==typeof t?t:""))),e!==n?(l?!f&&e[t]&&(p=!0):delete e[t],p?e[t]=r:i(e,t,r)):p?e[t]=r:o(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},"6f53":function(e,t,r){var n=r("83ab"),i=r("df75"),a=r("fc6a"),o=r("d1e7").f,s=function(e){return function(t){for(var r,s=a(t),c=i(s),l=c.length,u=0,d=[];l>u;)r=c[u++],n&&!o.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},7009:function(e,t,r){"use strict";e.exports=function(e,t,n){var i=e.PromiseInspection;function a(e){this.constructor$(e)}r("6df9").inherits(a,t),a.prototype._promiseResolved=function(e,t){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},a.prototype._promiseFulfilled=function(e,t){var r=new i;return r._bitField=33554432,r._settledValueField=e,this._promiseResolved(t,r)},a.prototype._promiseRejected=function(e,t){var r=new i;return r._bitField=16777216,r._settledValueField=e,this._promiseResolved(t,r)},e.settle=function(e){return n.deprecated(".settle()",".reflect()"),new a(e).promise()},e.prototype.settle=function(){return e.settle(this)}}},7037:function(e,t,r){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},7039:function(e,t,r){var n=r("23e7"),i=r("d039"),a=r("057f").f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},7156:function(e,t,r){var n=r("861d"),i=r("d2bb");e.exports=function(e,t,r){var a,o;return i&&"function"==typeof(a=t.constructor)&&a!==r&&n(o=a.prototype)&&o!==r.prototype&&i(e,o),e}},7162:function(e,t){t.uriToZipEntryName=function(e,t){return"/"===t.charAt(0)?t.substr(1):e+"/"+t},t.replaceFragment=function(e,t){var r=e.indexOf("#");-1!==r&&(e=e.substring(0,r));return e+"#"+t}},"72f7":function(e,t,r){"use strict";var n=r("ebb5").exportTypedArrayMethod,i=r("d039"),a=r("da84").Uint8Array,o=a&&a.prototype||{},s=[].toString,c=[].join;i((function(){s.call({})}))&&(s=function(){return c.call(this)});var l=o.toString!=s;n("toString",s,l)},"72fe":function(e,t,r){var n;e.exports=(n=r("21bf"),function(e){var t=n,r=t.lib,i=r.WordArray,a=r.Hasher,o=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=o.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,o=e[t+0],c=e[t+1],f=e[t+2],h=e[t+3],A=e[t+4],g=e[t+5],m=e[t+6],v=e[t+7],b=e[t+8],k=e[t+9],y=e[t+10],w=e[t+11],x=e[t+12],_=e[t+13],C=e[t+14],E=e[t+15],T=a[0],B=a[1],S=a[2],D=a[3];T=l(T,B,S,D,o,7,s[0]),D=l(D,T,B,S,c,12,s[1]),S=l(S,D,T,B,f,17,s[2]),B=l(B,S,D,T,h,22,s[3]),T=l(T,B,S,D,A,7,s[4]),D=l(D,T,B,S,g,12,s[5]),S=l(S,D,T,B,m,17,s[6]),B=l(B,S,D,T,v,22,s[7]),T=l(T,B,S,D,b,7,s[8]),D=l(D,T,B,S,k,12,s[9]),S=l(S,D,T,B,y,17,s[10]),B=l(B,S,D,T,w,22,s[11]),T=l(T,B,S,D,x,7,s[12]),D=l(D,T,B,S,_,12,s[13]),S=l(S,D,T,B,C,17,s[14]),T=u(T,B=l(B,S,D,T,E,22,s[15]),S,D,c,5,s[16]),D=u(D,T,B,S,m,9,s[17]),S=u(S,D,T,B,w,14,s[18]),B=u(B,S,D,T,o,20,s[19]),T=u(T,B,S,D,g,5,s[20]),D=u(D,T,B,S,y,9,s[21]),S=u(S,D,T,B,E,14,s[22]),B=u(B,S,D,T,A,20,s[23]),T=u(T,B,S,D,k,5,s[24]),D=u(D,T,B,S,C,9,s[25]),S=u(S,D,T,B,h,14,s[26]),B=u(B,S,D,T,b,20,s[27]),T=u(T,B,S,D,_,5,s[28]),D=u(D,T,B,S,f,9,s[29]),S=u(S,D,T,B,v,14,s[30]),T=d(T,B=u(B,S,D,T,x,20,s[31]),S,D,g,4,s[32]),D=d(D,T,B,S,b,11,s[33]),S=d(S,D,T,B,w,16,s[34]),B=d(B,S,D,T,C,23,s[35]),T=d(T,B,S,D,c,4,s[36]),D=d(D,T,B,S,A,11,s[37]),S=d(S,D,T,B,v,16,s[38]),B=d(B,S,D,T,y,23,s[39]),T=d(T,B,S,D,_,4,s[40]),D=d(D,T,B,S,o,11,s[41]),S=d(S,D,T,B,h,16,s[42]),B=d(B,S,D,T,m,23,s[43]),T=d(T,B,S,D,k,4,s[44]),D=d(D,T,B,S,x,11,s[45]),S=d(S,D,T,B,E,16,s[46]),T=p(T,B=d(B,S,D,T,f,23,s[47]),S,D,o,6,s[48]),D=p(D,T,B,S,v,10,s[49]),S=p(S,D,T,B,C,15,s[50]),B=p(B,S,D,T,g,21,s[51]),T=p(T,B,S,D,x,6,s[52]),D=p(D,T,B,S,h,10,s[53]),S=p(S,D,T,B,y,15,s[54]),B=p(B,S,D,T,c,21,s[55]),T=p(T,B,S,D,b,6,s[56]),D=p(D,T,B,S,E,10,s[57]),S=p(S,D,T,B,m,15,s[58]),B=p(B,S,D,T,_,21,s[59]),T=p(T,B,S,D,A,6,s[60]),D=p(D,T,B,S,w,10,s[61]),S=p(S,D,T,B,f,15,s[62]),B=p(B,S,D,T,k,21,s[63]),a[0]=a[0]+T|0,a[1]=a[1]+B|0,a[2]=a[2]+S|0,a[3]=a[3]+D|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var a=e.floor(n/4294967296),o=n;r[15+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,r,n,i,a,o){var s=e+(t&r|~t&n)+i+o;return(s<<a|s>>>32-a)+t}function u(e,t,r,n,i,a,o){var s=e+(t&n|r&~n)+i+o;return(s<<a|s>>>32-a)+t}function d(e,t,r,n,i,a,o){var s=e+(t^r^n)+i+o;return(s<<a|s>>>32-a)+t}function p(e,t,r,n,i,a,o){var s=e+(r^(t|~n))+i+o;return(s<<a|s>>>32-a)+t}t.MD5=a._createHelper(c),t.HmacMD5=a._createHmacHelper(c)}(Math),n.MD5)},"735e":function(e,t,r){"use strict";var n=r("ebb5"),i=r("81d5"),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(e){return i.apply(a(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7432:function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},"744c":function(e,t,r){(function(){var t,n,i,a,o,s,c;c=r("45f3"),o=c.assign,s=c.isFunction,t=r("ae0a"),n=r("54dd"),a=r("1f08"),i=r("c376"),e.exports.create=function(e,r,n,i){var a,s;if(null==e)throw new Error("Root element needs a name.");return i=o({},r,n,i),s=(a=new t(i)).element(e),i.headless||(a.declaration(i),null==i.pubID&&null==i.sysID||a.doctype(i)),s},e.exports.begin=function(e,r,i){var a;return s(e)&&(r=(a=[e,r])[0],i=a[1],e={}),r?new n(e,r,i):new t(e)},e.exports.stringWriter=function(e){return new a(e)},e.exports.streamWriter=function(e,t){return new i(e,t)}}).call(this)},"746f":function(e,t,r){var n=r("428f"),i=r("5135"),a=r("e538"),o=r("9bf2").f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},"74e8":function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("83ab"),o=r("8aa7"),s=r("ebb5"),c=r("621a"),l=r("19aa"),u=r("5c6c"),d=r("9112"),p=r("50c4"),f=r("0b25"),h=r("182d"),A=r("c04e"),g=r("5135"),m=r("f5df"),v=r("861d"),b=r("7c73"),k=r("d2bb"),y=r("241c").f,w=r("a078"),x=r("b727").forEach,_=r("2626"),C=r("9bf2"),E=r("06cf"),T=r("69f3"),B=r("7156"),S=T.get,D=T.set,U=C.f,F=E.f,I=Math.round,L=i.RangeError,O=c.ArrayBuffer,M=c.DataView,P=s.NATIVE_ARRAY_BUFFER_VIEWS,R=s.TYPED_ARRAY_TAG,N=s.TypedArray,z=s.TypedArrayPrototype,H=s.aTypedArrayConstructor,j=s.isTypedArray,Q=function(e,t){for(var r=0,n=t.length,i=new(H(e))(n);n>r;)i[r]=t[r++];return i},q=function(e,t){U(e,t,{get:function(){return S(this)[t]}})},W=function(e){var t;return e instanceof O||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},K=function(e,t){return j(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},V=function(e,t){return K(e,t=A(t,!0))?u(2,e[t]):F(e,t)},G=function(e,t,r){return!(K(e,t=A(t,!0))&&v(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?U(e,t,r):(e[t]=r.value,e)};a?(P||(E.f=V,C.f=G,q(z,"buffer"),q(z,"byteOffset"),q(z,"byteLength"),q(z,"length")),n({target:"Object",stat:!0,forced:!P},{getOwnPropertyDescriptor:V,defineProperty:G}),e.exports=function(e,t,r){var a=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",c="get"+e,u="set"+e,A=i[s],g=A,m=g&&g.prototype,C={},E=function(e,t){U(e,t,{get:function(){return function(e,t){var r=S(e);return r.view[c](t*a+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=S(e);r&&(n=(n=I(n))<0?0:n>255?255:255&n),i.view[u](t*a+i.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};P?o&&(g=t((function(e,t,r,n){return l(e,g,s),B(v(t)?W(t)?void 0!==n?new A(t,h(r,a),n):void 0!==r?new A(t,h(r,a)):new A(t):j(t)?Q(g,t):w.call(g,t):new A(f(t)),e,g)})),k&&k(g,N),x(y(A),(function(e){e in g||d(g,e,A[e])})),g.prototype=m):(g=t((function(e,t,r,n){l(e,g,s);var i,o,c,u=0,d=0;if(v(t)){if(!W(t))return j(t)?Q(g,t):w.call(g,t);i=t,d=h(r,a);var A=t.byteLength;if(void 0===n){if(A%a)throw L("Wrong length");if((o=A-d)<0)throw L("Wrong length")}else if((o=p(n)*a)+d>A)throw L("Wrong length");c=o/a}else c=f(t),i=new O(o=c*a);for(D(e,{buffer:i,byteOffset:d,byteLength:o,length:c,view:new M(i)});u<c;)E(e,u++)})),k&&k(g,N),m=g.prototype=b(z)),m.constructor!==g&&d(m,"constructor",g),R&&d(m,R,s),C[s]=g,n({global:!0,forced:g!=A,sham:!P},C),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in m||d(m,"BYTES_PER_ELEMENT",a),_(s)}):e.exports=function(){}},"770f":function(e,t,r){(t=r("24fb")(!1)).push([e.i,'.zj-style[data-v-09ced46e]{position:relative;overflow:hidden}.zjkf__root.zjkf-body[data-v-09ced46e]{font-family:Microsoft YaHei,微软雅黑,宋体,helvetica,Hiragino Sans GB,MicrosoftYaHei;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0!important;font-size:14px;background:#fff}.zjkf__root.zjkf-body .clearfix[data-v-09ced46e]:after{content:"020";display:block;height:0;clear:both;visibility:hidden}.zjkf__root.zjkf-body .clearfix[data-v-09ced46e]{zoom:1}.zjkf__root.zjkf-body i.zj-iconfont[data-v-09ced46e]{speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.zjkf-scrollbar[data-v-09ced46e] ::-webkit-scrollbar{width:7px!important;height:7px!important}.zjkf-scrollbar[data-v-09ced46e] ::-webkit-scrollbar-button{display:none!important}.zjkf-scrollbar[data-v-09ced46e] ::-webkit-scrollbar-thumb{border-radius:3px!important;background:#dddfe0!important}.zjkf-scrollbar[data-v-09ced46e] ::-webkit-scrollbar-track{width:7px!important;height:7px!important}.zjkf-scrollbar[data-v-09ced46e] ::-webkit-scrollbar-track-piece{background:transparent!important}.zjkf-common-e-ui .el-button.el-button--primary[data-v-09ced46e]{background:#0074fd!important;border-color:#0074fd!important}.zjkf-common-e-ui .el-button.el-button--primary.is-plain[data-v-09ced46e]{color:#0074fd!important;background:#fff!important;border-color:#0074fd!important}.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-09ced46e],.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-09ced46e]:active,.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-09ced46e]:focus,.zjkf-common-e-ui .el-button--primary.is-disabled[data-v-09ced46e]:hover{color:#fff!important;background-color:#a0cfff!important;border-color:#a0cfff!important}.guide-root[data-v-09ced46e]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;pointer-events:none}.guide-root--paused[data-v-09ced46e]{display:none!important}.guide-passthrough[data-v-09ced46e]{pointer-events:none!important}.guide-root--scrolling .guide-blocker[data-v-09ced46e],.guide-root--scrolling .guide-caption[data-v-09ced46e],.guide-root--scrolling .guide-hole[data-v-09ced46e],.guide-root--scrolling .guide-ring[data-v-09ced46e],.guide-root--scrolling .guide-tap[data-v-09ced46e]{transition:none!important}.guide-blocker[data-v-09ced46e]{position:fixed;background:rgba(0,0,0,.55);pointer-events:auto;transition:top .4s cubic-bezier(.25,.8,.35,1),left .4s cubic-bezier(.25,.8,.35,1),width .4s cubic-bezier(.25,.8,.35,1),height .4s cubic-bezier(.25,.8,.35,1)}.guide-blocker--full[data-v-09ced46e]{top:0;left:0;right:0;bottom:0}.guide-ring[data-v-09ced46e]{position:fixed;border:2px solid rgba(0,116,253,.8);border-radius:10px;pointer-events:none;transition:top .4s cubic-bezier(.25,.8,.35,1),left .4s cubic-bezier(.25,.8,.35,1),width .4s cubic-bezier(.25,.8,.35,1),height .4s cubic-bezier(.25,.8,.35,1);-webkit-animation:guide-ring-pulse-data-v-09ced46e 2.2s ease-in-out infinite;animation:guide-ring-pulse-data-v-09ced46e 2.2s ease-in-out infinite}@-webkit-keyframes guide-ring-pulse-data-v-09ced46e{0%,to{box-shadow:0 0 0 0 rgba(0,116,253,.3);border-color:rgba(0,116,253,.8)}50%{box-shadow:0 0 0 6px rgba(0,116,253,.1);border-color:rgba(0,116,253,.4)}}@keyframes guide-ring-pulse-data-v-09ced46e{0%,to{box-shadow:0 0 0 0 rgba(0,116,253,.3);border-color:rgba(0,116,253,.8)}50%{box-shadow:0 0 0 6px rgba(0,116,253,.1);border-color:rgba(0,116,253,.4)}}.guide-hole[data-v-09ced46e]{position:fixed;pointer-events:auto;cursor:pointer;border-radius:10px;transition:top .4s cubic-bezier(.25,.8,.35,1),left .4s cubic-bezier(.25,.8,.35,1),width .4s cubic-bezier(.25,.8,.35,1),height .4s cubic-bezier(.25,.8,.35,1)}.guide-tap[data-v-09ced46e]{position:fixed;width:0;height:0;pointer-events:none;transition:left .4s cubic-bezier(.25,.8,.35,1),top .4s cubic-bezier(.25,.8,.35,1)}.guide-tap-halo[data-v-09ced46e]{position:absolute;left:-55px;top:-55px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(0,116,253,.22) 0,rgba(0,116,253,.08) 42%,transparent 70%);-webkit-animation:guide-tap-halo-breathe-data-v-09ced46e 2s ease-in-out infinite;animation:guide-tap-halo-breathe-data-v-09ced46e 2s ease-in-out infinite}@-webkit-keyframes guide-tap-halo-breathe-data-v-09ced46e{0%,to{transform:scale(.92);opacity:.85}50%{transform:scale(1.06);opacity:1}}@keyframes guide-tap-halo-breathe-data-v-09ced46e{0%,to{transform:scale(.92);opacity:.85}50%{transform:scale(1.06);opacity:1}}.guide-tap-hand[data-v-09ced46e]{position:absolute;left:-14px;top:-4px;filter:drop-shadow(0 2px 5px rgba(0,0,0,.45));-webkit-animation:guide-tap-hand-press-data-v-09ced46e 2s ease-in-out infinite;animation:guide-tap-hand-press-data-v-09ced46e 2s ease-in-out infinite}.guide-tap-ripple[data-v-09ced46e]{position:absolute;left:-26px;top:-26px;width:52px;height:52px;border-radius:50%;border:2px solid rgba(0,116,253,.6);-webkit-animation:guide-tap-ripple-data-v-09ced46e 2s ease-out infinite;animation:guide-tap-ripple-data-v-09ced46e 2s ease-out infinite}.guide-tap-ripple--delay[data-v-09ced46e]{-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes guide-tap-hand-press-data-v-09ced46e{0%,to{transform:translateY(0) scale(1)}8%{transform:translateY(3px) scale(.88)}12%{transform:translateY(3px) scale(.88)}24%{transform:translateY(0) scale(1)}70%{transform:translateY(0)}84%{transform:translateY(-3px)}}@keyframes guide-tap-hand-press-data-v-09ced46e{0%,to{transform:translateY(0) scale(1)}8%{transform:translateY(3px) scale(.88)}12%{transform:translateY(3px) scale(.88)}24%{transform:translateY(0) scale(1)}70%{transform:translateY(0)}84%{transform:translateY(-3px)}}@-webkit-keyframes guide-tap-ripple-data-v-09ced46e{0%,12%{transform:scale(.4);opacity:0}18%{opacity:.9}85%,to{transform:scale(1.55);opacity:0}}@keyframes guide-tap-ripple-data-v-09ced46e{0%,12%{transform:scale(.4);opacity:0}18%{opacity:.9}85%,to{transform:scale(1.55);opacity:0}}.guide-caption[data-v-09ced46e]{position:fixed;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:min(320px,100vw - 32px);text-align:center;pointer-events:none;transform:translateX(-50%);transition:top .4s cubic-bezier(.25,.8,.35,1),bottom .4s cubic-bezier(.25,.8,.35,1),left .4s cubic-bezier(.25,.8,.35,1),right .4s cubic-bezier(.25,.8,.35,1),width .4s cubic-bezier(.25,.8,.35,1)}.guide-caption--left[data-v-09ced46e],.guide-caption--right[data-v-09ced46e]{text-align:left}.guide-caption-title[data-v-09ced46e]{font-size:16px;font-weight:600;color:#fff;margin:0 0 5px 0;line-height:1.45;letter-spacing:.01em;text-shadow:0 1px 6px rgba(0,0,0,.45)}.guide-caption-desc[data-v-09ced46e]{font-size:13px;color:hsla(0,0%,100%,.85);margin:0 0 12px 0;line-height:1.6;text-shadow:0 1px 4px rgba(0,0,0,.4)}.guide-caption-actions[data-v-09ced46e]{display:flex;justify-content:center;gap:10px;margin-bottom:12px;pointer-events:auto}.guide-nav-btn[data-v-09ced46e]{padding:5px 14px;border-radius:14px;font-size:12px;line-height:1.5;cursor:pointer;outline:none;transition:opacity .2s,background .2s,box-shadow .2s}.guide-nav-btn[data-v-09ced46e]:active{opacity:.7}.guide-nav-btn--ghost[data-v-09ced46e]{background:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.75);border:1px solid hsla(0,0%,100%,.2)}.guide-nav-btn--ghost[data-v-09ced46e]:hover{background:hsla(0,0%,100%,.17)}.guide-nav-btn--primary[data-v-09ced46e]{background:#0074fd;color:#fff;font-weight:500;border:none;box-shadow:0 2px 6px rgba(0,116,253,.3)}.guide-nav-btn--primary[data-v-09ced46e]:hover{background:#0066e0}.guide-splash-actions[data-v-09ced46e]{gap:10px;margin-bottom:16px}.guide-dots[data-v-09ced46e],.guide-splash-actions[data-v-09ced46e]{display:flex;justify-content:center;pointer-events:auto}.guide-dots[data-v-09ced46e]{gap:6px}.guide-caption--left .guide-dots[data-v-09ced46e],.guide-caption--right .guide-dots[data-v-09ced46e]{justify-content:flex-start}.guide-dot[data-v-09ced46e]{width:6px;height:6px;border-radius:50%;background:hsla(0,0%,100%,.3);cursor:pointer;transition:width .3s ease,background .3s ease}.guide-dot.active[data-v-09ced46e]{width:16px;border-radius:3px;background:#fff}.guide-dot.done[data-v-09ced46e]{background:hsla(0,0%,100%,.6)}.guide-skip[data-v-09ced46e]{position:fixed;top:calc(16px + env(safe-area-inset-top, 0px));right:16px;padding:8px 22px;border-radius:20px;border:1px solid hsla(0,0%,100%,.4);background:rgba(0,0,0,.15);color:hsla(0,0%,100%,.85);font-size:14px;cursor:pointer;outline:none;pointer-events:auto;transition:background .25s ease,color .25s ease}.guide-skip[data-v-09ced46e]:hover{background:hsla(0,0%,100%,.15);color:#fff}.guide-splash[data-v-09ced46e]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:min(400px,100vw - 48px);text-align:center;pointer-events:auto}.guide-splash-icon[data-v-09ced46e]{width:72px;height:72px;margin-bottom:20px;-webkit-animation:guide-splash-icon-in-data-v-09ced46e .5s cubic-bezier(.34,1.4,.64,1) both;animation:guide-splash-icon-in-data-v-09ced46e .5s cubic-bezier(.34,1.4,.64,1) both}@-webkit-keyframes guide-splash-icon-in-data-v-09ced46e{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes guide-splash-icon-in-data-v-09ced46e{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}.guide-splash-actions[data-v-09ced46e],.guide-splash-desc[data-v-09ced46e],.guide-splash-title[data-v-09ced46e],.guide-splash .guide-dots[data-v-09ced46e]{-webkit-animation:guide-splash-item-in-data-v-09ced46e .45s cubic-bezier(.25,.8,.35,1) both;animation:guide-splash-item-in-data-v-09ced46e .45s cubic-bezier(.25,.8,.35,1) both}.guide-splash-title[data-v-09ced46e]{-webkit-animation-delay:.06s;animation-delay:.06s}.guide-splash-desc[data-v-09ced46e]{-webkit-animation-delay:.12s;animation-delay:.12s}.guide-splash-actions[data-v-09ced46e]{-webkit-animation-delay:.18s;animation-delay:.18s}.guide-splash .guide-dots[data-v-09ced46e]{-webkit-animation-delay:.26s;animation-delay:.26s}@-webkit-keyframes guide-splash-item-in-data-v-09ced46e{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes guide-splash-item-in-data-v-09ced46e{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.guide-splash-title[data-v-09ced46e]{font-size:20px;font-weight:600;color:#fff;margin:0 0 10px 0;line-height:1.4;text-shadow:0 1px 4px rgba(0,0,0,.35)}.guide-splash-desc[data-v-09ced46e]{font-size:14px;color:hsla(0,0%,100%,.88);margin:0 0 24px 0;line-height:1.7;text-shadow:0 1px 3px rgba(0,0,0,.3)}.guide-splash-action-btn[data-v-09ced46e]{padding:10px 36px;border-radius:24px;font-size:15px;font-weight:500;margin-bottom:20px;box-shadow:0 4px 16px rgba(0,0,0,.2);transition:transform .15s ease,box-shadow .25s ease}.guide-splash-action-btn[data-v-09ced46e]:hover{transform:translateY(-1px)}.guide-splash-action-btn[data-v-09ced46e]:active{transform:scale(.97)}.guide-splash-action-btn.guide-nav-btn--ghost[data-v-09ced46e]{background:hsla(0,0%,100%,.15);border-color:hsla(0,0%,100%,.3)}.guide-swap-enter-active[data-v-09ced46e],.guide-swap-leave-active[data-v-09ced46e]{transition:opacity .18s ease,transform .18s ease}.guide-swap-enter[data-v-09ced46e]{opacity:0}.guide-swap-enter.guide-splash[data-v-09ced46e]{transform:translate(-50%,-50%) scale(.96)}.guide-swap-leave-to[data-v-09ced46e]{opacity:0}.guide-swap-leave-to.guide-splash[data-v-09ced46e]{transform:translate(-50%,-50%) scale(.96)}.guide-page-tip[data-v-09ced46e]{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom, 0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:8px 18px;background:hsla(0,0%,100%,.15);color:#fff;font-size:13px;border-radius:20px;pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.guide-page-tip-dot[data-v-09ced46e]{width:5px;height:5px;border-radius:50%;background:#fff;-webkit-animation:guide-tip-blink-data-v-09ced46e 1s ease-in-out infinite;animation:guide-tip-blink-data-v-09ced46e 1s ease-in-out infinite}.guide-page-tip-dot[data-v-09ced46e]:nth-child(2){-webkit-animation-delay:.15s;animation-delay:.15s}.guide-page-tip-dot[data-v-09ced46e]:nth-child(3){-webkit-animation-delay:.3s;animation-delay:.3s;margin-right:4px}@-webkit-keyframes guide-tip-blink-data-v-09ced46e{0%,to{opacity:.3}50%{opacity:1}}@keyframes guide-tip-blink-data-v-09ced46e{0%,to{opacity:.3}50%{opacity:1}}.guide-fade-enter-active[data-v-09ced46e]{transition:opacity .35s ease}.guide-fade-leave-active[data-v-09ced46e]{transition:opacity .25s ease}.guide-fade-enter[data-v-09ced46e],.guide-fade-leave-to[data-v-09ced46e]{opacity:0}@media(max-width:768px){.guide-caption-title[data-v-09ced46e]{font-size:15px}.guide-caption-desc[data-v-09ced46e]{font-size:12.5px}.guide-splash-title[data-v-09ced46e]{font-size:18px}.guide-splash-desc[data-v-09ced46e]{font-size:13px}.guide-splash-icon[data-v-09ced46e]{width:60px;height:60px;margin-bottom:16px}}@media(max-width:480px){.guide-splash-action-btn[data-v-09ced46e]{padding:9px 28px;font-size:14px}}@media(max-height:500px){.guide-caption-desc[data-v-09ced46e]{display:none}}@media(prefers-reduced-motion:reduce){.guide-page-tip-dot[data-v-09ced46e],.guide-ring[data-v-09ced46e],.guide-splash-actions[data-v-09ced46e],.guide-splash-icon[data-v-09ced46e],.guide-splash>*[data-v-09ced46e],.guide-tap-halo[data-v-09ced46e],.guide-tap-hand[data-v-09ced46e],.guide-tap-ripple[data-v-09ced46e]{-webkit-animation:none;animation:none}.guide-blocker[data-v-09ced46e],.guide-caption[data-v-09ced46e],.guide-hole[data-v-09ced46e],.guide-swap-enter-active[data-v-09ced46e],.guide-swap-leave-active[data-v-09ced46e],.guide-tap[data-v-09ced46e]{transition-duration:.01s}.guide-tap-ripple[data-v-09ced46e]{opacity:0}}',""]),e.exports=t},"775a":function(e,t,r){var n=r("24fb"),i=r("1de5"),a=r("11bc"),o=r("12f1"),s=r("d648");t=n(!1);var c=i(a),l=i(o),u=i(s);t.push([e.i,"@font-face{font-family:zj-iconfont;src:url("+c+') format("woff2"),url('+l+') format("woff"),url('+u+') format("truetype")}.zj-iconfont{font-family:zj-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.kf-biaoqingemoji:before{content:"\\e7bb"}.kf-a-wenjianjiawenjian1:before{content:"\\e727"}.kf-window-close:before{content:"\\e9bb"}.kf-window-normal:before{content:"\\e9bc"}.kf-window-min:before{content:"\\e9bd"}.kf-window-max:before{content:"\\e9be"}.kf-guanbi:before{content:"\\e609"}.kf-nishizhenxuanzhuan:before{content:"\\e65a"}.kf-shunshizhenxuanzhuan:before{content:"\\e65c"}.kf-unfold:before{content:"\\e649"}.kf-group-2:before{content:"\\e6a0"}.kf-group-1:before{content:"\\e6a1"}.kf-ziyuan:before{content:"\\e61f"}.kf-loading:before{content:"\\e6fd"}',""]),e.exports=t},"77a7":function(e,t){var r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;e.exports={pack:function(e,t,s){var c,l,u,d=new Array(s),p=8*s-t-1,f=(1<<p)-1,h=f>>1,A=23===t?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,m=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,c=f):(c=i(a(e)/o),e*(u=n(2,-c))<1&&(c--,u*=2),(e+=c+h>=1?A/u:A*n(2,1-h))*u>=2&&(c++,u/=2),c+h>=f?(l=0,c=f):c+h>=1?(l=(e*u-1)*n(2,t),c+=h):(l=e*n(2,h-1)*n(2,t),c=0));t>=8;d[m++]=255&l,l/=256,t-=8);for(c=c<<t|l,p+=t;p>0;d[m++]=255&c,c/=256,p-=8);return d[--m]|=128*g,d},unpack:function(e,t){var r,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,c=a-7,l=i-1,u=e[l--],d=127&u;for(u>>=7;c>0;d=256*d+e[l],l--,c-=8);for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;r=256*r+e[l],l--,c-=8);if(0===d)d=1-s;else{if(d===o)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=s}return(u?-1:1)*r*n(2,d-t)}}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7917:function(e,t,r){"use strict";var n=r("c532");function i(e,t,r,n,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}n.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=i.prototype,o={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){o[e]={value:e}})),Object.defineProperties(i,o),Object.defineProperty(a,"isAxiosError",{value:!0}),i.from=function(e,t,r,o,s,c){var l=Object.create(a);return n.toFlatObject(e,l,(function(e){return e!==Error.prototype})),i.call(l,e.message,t,r,o,s),l.name=e.name,c&&Object.assign(l,c),l},e.exports=i},"7a01":function(e,t,r){var n=r("c46f"),i=r("744c");function a(e,t){e.text(t.value)}t.writeString=function(e,t){var r=n.invert(t),o={element:function(e,t){var r=e.element(c(t.name),t.attributes);t.children.forEach((function(e){s(r,e)}))},text:a};function s(e,t){return o[t.type](e,t)}function c(e){var t=/^\{(.*)\}(.*)$/.exec(e);if(t){var n=r[t[1]];return n+(""===n?"":":")+t[2]}return e}return function(e){var r=i.create(c(e.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return n.forEach(t,(function(e,t){var n="xmlns"+(""===t?"":":"+t);r.attribute(n,e)})),e.children.forEach((function(e){s(r,e)})),r.end()}(e)}},"7a0f":function(e,t,r){"use strict";var n=r("ce61");e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function o(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function c(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||a,i=t(e);n.isUndefined(i)&&t!==c||(r[e]=i)})),r}},"7aac":function(e,t,r){"use strict";var n=r("c532");e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,a,o){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},"7adf":function(e,t,r){"use strict";r("46a9")},"7b09":function(e,t,r){(t=r("24fb")(!1)).push([e.i,".agent-selector[data-v-61caa778]{width:100%;min-height:100%;padding:80px 20px;background:url(https://qiguanbang.obs.cn-east-3.myhuaweicloud.com/production/image/AlAgent/background.png) no-repeat;background-size:100% 100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center}.agent-wrap[data-v-61caa778]{width:100%;max-width:920px}.agent-title[data-v-61caa778]{text-align:center;margin-bottom:116px}.agent-title h2[data-v-61caa778]{font-size:26px;color:#222;font-weight:500;margin:0;line-height:40px}.agent-list[data-v-61caa778]{display:grid;grid-template-columns:repeat(2,1fr);gap:76px 30px;width:100%}.agent-item[data-v-61caa778]{position:relative;border-radius:11px;height:90px;padding:22px 20px 20px 110px;box-sizing:border-box;cursor:pointer;transition:all .25s ease;box-shadow:0 2px 12px rgba(0,0,0,.05)}.agent-item[data-v-61caa778]:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(0,0,0,.08)}.agent-avatar-wrapper[data-v-61caa778]{position:absolute;left:3px;top:-36px}.agent-list-avatar[data-v-61caa778]{background-repeat:no-repeat;background-position:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:600;border-radius:8px;width:92px;height:106px}.agent-list-avatar.has-agent-img[data-v-61caa778]{background-size:cover}.agent-list-avatar[data-v-61caa778]:not(.has-agent-img){width:76px;height:108px;transform:translateX(9px)}.agent-info-content[data-v-61caa778]{display:flex;flex-direction:column;max-width:300px;flex-shrink:0}.name[data-v-61caa778]{font-size:16px;font-weight:500;color:#111;line-height:22px;margin-bottom:6px}.desc[data-v-61caa778]{font-size:14px;color:#666;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mobile-agent-select-header[data-v-61caa778]{width:100%;display:flex;align-items:center;justify-content:center;position:relative;padding:10px 0;min-height:44px}.mobile-agent-select-header .mobile-agent-back[data-v-61caa778]{position:absolute;left:4px;top:50%;transform:translateY(-50%);background:transparent;border:none;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:#333}.mobile-agent-select-header .mobile-agent-back i[data-v-61caa778]{font-size:22px;font-weight:600}.mobile-agent-select-header .mobile-agent-title-text[data-v-61caa778]{font-size:17px;font-weight:500;color:#000}.agent-guide-btn[data-v-61caa778]{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#bbb;cursor:pointer;transition:all .2s ease}.agent-guide-btn[data-v-61caa778]:hover{color:#0074fd;background:#f0f7ff}@media screen and (max-width:768px){.agent-selector[data-v-61caa778]{padding:0!important}.agent-selector .agent-wrap[data-v-61caa778]{padding:40px 16px 0;box-sizing:border-box}.agent-selector .agent-title[data-v-61caa778]{display:none}.agent-list[data-v-61caa778]{grid-template-columns:1fr;gap:52px 0}.agent-item[data-v-61caa778]{height:auto;min-height:84px;padding:18px 16px 18px 96px}.agent-avatar-wrapper[data-v-61caa778]{left:8px;top:-18px}.agent-list-avatar.has-agent-img[data-v-61caa778]{width:74px;height:88px}.agent-list-avatar[data-v-61caa778]:not(.has-agent-img){width:62px;height:78px}.desc[data-v-61caa778]{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}",""]),e.exports=t},"7b0b":function(e,t,r){var n=r("1d80");e.exports=function(e){return Object(n(e))}},"7b67":function(e,t,r){"use strict";e.exports=function(e,t){var r=e.reduce,n=e.all;function i(){return n(this)}e.prototype.each=function(e){return r(this,e,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return r(this,e,t,t)},e.each=function(e,n){return r(e,n,t,0)._then(i,void 0,void 0,e,void 0)},e.mapSeries=function(e,n){return r(e,n,t,t)}}},"7bbc":function(e,t,r){var n,i,a,o,s,c,l,u,d;e.exports=(d=r("21bf"),r("94f8"),r("5980"),i=(n=d).lib,a=i.Base,o=i.WordArray,s=n.algo,c=s.SHA256,l=s.HMAC,u=s.PBKDF2=a.extend({cfg:a.extend({keySize:4,hasher:c,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=l.create(r.hasher,e),i=o.create(),a=o.create([1]),s=i.words,c=a.words,u=r.keySize,d=r.iterations;s.length<u;){var p=n.update(t).finalize(a);n.reset();for(var f=p.words,h=f.length,A=p,g=1;g<d;g++){A=n.finalize(A),n.reset();for(var m=A.words,v=0;v<h;v++)f[v]^=m[v]}i.concat(p),c[0]++}return i.sigBytes=4*u,i}}),n.PBKDF2=function(e,t,r){return u.create(r).compute(e,t)},d.PBKDF2)},"7c73":function(e,t,r){var n,i=r("825a"),a=r("37e8"),o=r("7839"),s=r("d012"),c=r("1be4"),l=r("cc12"),u=r("f772"),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=n?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var r=o.length;r--;)delete h.prototype[o[r]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=i(e),r=new p,p.prototype=null,r[d]=e):r=h(),void 0===t?r:a(r,t)}},"7db0":function(e,t,r){"use strict";var n=r("23e7"),i=r("b727").find,a=r("44d2"),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},"7dd0":function(e,t,r){"use strict";var n=r("23e7"),i=r("9ed3"),a=r("e163"),o=r("d2bb"),s=r("d44e"),c=r("9112"),l=r("6eeb"),u=r("b622"),d=r("c430"),p=r("3f8c"),f=r("ae93"),h=f.IteratorPrototype,A=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),m=function(){return this};e.exports=function(e,t,r,u,f,v,b){i(r,t,u);var k,y,w,x=function(e){if(e===f&&B)return B;if(!A&&e in E)return E[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},_=t+" Iterator",C=!1,E=e.prototype,T=E[g]||E["@@iterator"]||f&&E[f],B=!A&&T||x(f),S="Array"==t&&E.entries||T;if(S&&(k=a(S.call(new e)),h!==Object.prototype&&k.next&&(d||a(k)===h||(o?o(k,h):"function"!=typeof k[g]&&c(k,g,m)),s(k,_,!0,!0),d&&(p[_]=m))),"values"==f&&T&&"values"!==T.name&&(C=!0,B=function(){return T.call(this)}),d&&!b||E[g]===B||c(E,g,B),p[t]=B,f)if(y={values:x("values"),keys:v?B:x("keys"),entries:x("entries")},b)for(w in y)(A||C||!(w in E))&&l(E,w,y[w]);else n({target:t,proto:!0,forced:A||C},y);return y}},"7e34":function(e,t,r){var n=r("770f");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("0f213620",n,!0,{sourceMap:!1,shadowMode:!1})},"7f9a":function(e,t,r){var n=r("da84"),i=r("8925"),a=n.WeakMap;e.exports="function"==typeof a&&/native code/.test(i(a))},"803c":function(e,t,r){var n=r("335c");function i(e,t){return{type:"element",tag:e,children:t||[]}}t.freshElement=function(e,t,r){return i(n.element(e,t,{fresh:!0}),r)},t.nonFreshElement=function(e,t,r){return i(n.element(e,t,{fresh:!1}),r)},t.elementWithTag=i,t.text=function(e){return{type:"text",value:e}},t.forceWrite={type:"forceWrite"};var a={br:!0,hr:!0,img:!0};t.isVoidElement=function(e){return 0===e.children.length&&a[e.tag.tagName]}},8074:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r("d3b7");function n(e,t){return function(e){var n=document.createElement("script");document.body.appendChild(n);var i=new Promise((function(e,i){n.addEventListener("load",(function(i){r(n),t||e(i)}),!1),n.addEventListener("error",(function(e){r(n),i(e)}),!1),t&&(window.____callback____=function(){e(),window.____callback____=null})}));t&&(e+="&callback=____callback____");return n.src=e,i}(e);function r(e){document.body.removeChild(e)}}},"80f5":function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("a78e"),i=r.n(n);function a(){return i.a.get("token")||window.localStorage.getItem("pcToken")||window.localStorage.getItem("token")}},"81bf":function(e,t,r){var n,i;e.exports=(i=r("21bf"),r("38ba"),i.mode.ECB=((n=i.lib.BlockCipherMode.extend()).Encryptor=n.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),n.Decryptor=n.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),n),i.mode.ECB)},"81d5":function(e,t,r){"use strict";var n=r("7b0b"),i=r("23cb"),a=r("50c4");e.exports=function(e){for(var t=n(this),r=a(t.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),c=o>2?arguments[2]:void 0,l=void 0===c?r:i(c,r);l>s;)t[s++]=e;return t}},"825a":function(e,t,r){var n=r("861d");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"826f":function(e,t,r){var n=r("2a3b");t.operation=function(e){var r=t.timeouts(e);return new n(r,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})},t.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<t.retries;i++)n.push(this.createTimeout(i,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(i,t)),n.sort((function(e,t){return e-t})),n},t.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout)},t.wrap=function(e,r,n){if(r instanceof Array&&(n=r,r=null),!n)for(var i in n=[],e)"function"==typeof e[i]&&n.push(i);for(var a=0;a<n.length;a++){var o=n[a],s=e[o];e[o]=function(n){var i=t.operation(r),a=Array.prototype.slice.call(arguments,1),o=a.pop();a.push((function(e){i.retry(e)||(e&&(arguments[0]=i.mainError()),o.apply(this,arguments))})),i.attempt((function(){n.apply(e,a)}))}.bind(e,s),e[o].options=r}}},"82f8":function(e,t,r){"use strict";var n=r("ebb5"),i=r("4d64").includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(e,t,r){"use strict";var n=r("d925"),i=r("e683");e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},"83da":function(e,t){e.exports=function(e,t,r){this.name=e,this.value=t,r&&(this.source=r)}},8418:function(e,t,r){"use strict";var n=r("c04e"),i=r("9bf2"),a=r("5c6c");e.exports=function(e,t,r){var o=n(t);o in e?i.f(e,o,a(0,r)):e[o]=r}},"841c":function(e,t,r){"use strict";var n=r("d784"),i=r("825a"),a=r("1d80"),o=r("129f"),s=r("14c3");n("search",1,(function(e,t,r){return[function(t){var r=a(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var a=i(e),c=String(this),l=a.lastIndex;o(l,0)||(a.lastIndex=0);var u=s(a,c);return o(a.lastIndex,l)||(a.lastIndex=l),null===u?-1:u.index}]}))},"848b":function(e,t,r){"use strict";var n=r("5cce").version,i=r("7917"),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(a(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),a=n.length;a-- >0;){var o=n[a],s=t[o];if(s){var c=e[o],l=void 0===c||s(c,o,e);if(!0!==l)throw new i("option "+o+" must be "+l,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+o,i.ERR_BAD_OPTION)}},validators:a}},"84a7":function(e,t){e.exports={platform:"zjkf_customer_pc",receivePlatform:["zjkf_service_pc","zjkf_customer_all"],moduleName:"ZJAIModule",dateRange:-91,allPlatform:["zjkf_customer_pc","zjkf_service_pc","zjkf_customer_all","zjkf_service_ios","zjkf_service_android"]}},"857a":function(e,t,r){var n=r("1d80"),i=/"/g;e.exports=function(e,t,r,a){var o=String(n(e)),s="<"+t;return""!==r&&(s+=" "+r+'="'+String(a).replace(i,""")+'"'),s+">"+o+"</"+t+">"}},"85d1":function(e,t){e.exports={failure:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new r({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new r({status:"error",remaining:t,errors:e})},success:function(e,t,n){return new r({status:"success",value:e,source:n,remaining:t,errors:[]})},cut:function(e){return new r({status:"cut",remaining:e,errors:[]})}};var r=function(e){this._value=e.value,this._status=e.status,this._hasValue=void 0!==e.value,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};r.prototype.map=function(e){return this._hasValue?new r({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},r.prototype.changeRemaining=function(e){return new r({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},r.prototype.isSuccess=function(){return"success"===this._status||"cut"===this._status},r.prototype.isFailure=function(){return"failure"===this._status},r.prototype.isError=function(){return"error"===this._status},r.prototype.isCut=function(){return"cut"===this._status},r.prototype.value=function(){return this._value},r.prototype.remaining=function(){return this._remaining},r.prototype.source=function(){return this._source},r.prototype.errors=function(){return this._errors}},"85fb":function(e,t,r){"use strict";r("3a11")},"861d":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"863f":function(e,t,r){"use strict";r("49b0")},8875:function(e,t,r){var n,i,a;"undefined"!=typeof self&&self,i=[],void 0===(a="function"==typeof(n=function(){return function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(e){var r,n,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(e.stack),o=a&&a[1]||!1,s=a&&a[2]||!1,c=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");o===c&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=r.replace(n,"$1").trim());for(var u=0;u<l.length;u++){if("interactive"===l[u].readyState)return l[u];if(l[u].src===o)return l[u];if(o===c&&l[u].innerHTML&&l[u].innerHTML.trim()===i)return l[u]}return null}}})?n.apply(t,i):n)||(e.exports=a)},8925:function(e,t,r){var n=r("c6cd"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},8930:function(e,t,r){(function(){var t,n={}.hasOwnProperty;t=r("92e7"),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(r)}return function(e,t){for(var r in t)n.call(t,r)&&(e[r]=t[r]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).comment(this)},t}(t)}).call(this)},"89a7":function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var i=n({HTML:"text/html",isHTML:function(e){return e===i.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),a=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),o=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,s=new RegExp("[\\-\\.0-9"+o.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),c=new RegExp("^"+o.source+s.source+"*(?::"+o.source+s.source+"*)?$");t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i}},t.freeze=n,t.MIME_TYPE=i,t.NAMESPACE=a,t.nameStartChar=o,t.nameChar=s,t.tagNamePattern=c},"8a79":function(e,t,r){"use strict";var n,i=r("23e7"),a=r("06cf").f,o=r("50c4"),s=r("5a34"),c=r("1d80"),l=r("ab13"),u=r("c430"),d="".endsWith,p=Math.min,f=l("endsWith");i({target:"String",proto:!0,forced:!!(u||f||(n=a(String.prototype,"endsWith"),!n||n.writable))&&!f},{endsWith:function(e){var t=String(c(this));s(e);var r=arguments.length>1?arguments[1]:void 0,n=o(t.length),i=void 0===r?n:p(o(r),n),a=String(e);return d?d.call(t,a,i):t.slice(i-a.length,i)===a}})},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"8aa7":function(e,t,r){var n=r("da84"),i=r("d039"),a=r("1c7e"),o=r("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,c=n.Int8Array;e.exports=!o||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!a((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||i((function(){return 1!==new c(new s(2),1,void 0).length}))},"8abb":function(e,t,r){"use strict";r("2ba9")},"8b09":function(e,t,r){r("74e8")("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},"8bbe":function(e,t,r){"use strict";var n=r("ce61"),i=r("0094");e.exports=function(e,t,r){var a=this||i;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},"8bbf":function(e,t){e.exports=require("vue")},"8cb0":function(e,t,r){var n=r("c46f");t.writer=function(e){return(e=e||{}).prettyPrint?function(){var e=0,t=[],r=!0,o=!1,s=a();function c(){if(o=!1,!r&&(0===t.length||i[t[t.length-1]])&&!l()){s._append("\n");for(var n=0;n<e;n++)s._append(" ")}}function l(){return n.some(t,(function(e){return"pre"===e}))}return{asString:s.asString,open:function(n,a){i[n]&&c(),t.push(n),s.open(n,a),i[n]&&e++,r=!1},close:function(r){i[r]&&(e--,c()),t.pop(),s.close(r)},text:function(e){o||(c(),o=!0);var t=l()?e:e.replace("\n","\n ");s.text(t)},selfClosing:function(e,t){c(),s.selfClosing(e,t)}}}():a()};var i={div:!0,p:!0,ul:!0,li:!0};function a(){var e=[];function t(e){return n.map(e,(function(e,t){return" "+t+'="'+function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}(e)+'"'})).join("")}return{asString:function(){return e.join("")},open:function(r,n){var i=t(n);e.push("<"+r+i+">")},close:function(t){e.push("</"+t+">")},text:function(t){e.push(function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}(t))},selfClosing:function(r,n){var i=t(n);e.push("<"+r+i+" />")},_append:function(t){e.push(t)}}}},"8cef":function(e,t,r){var n;e.exports=(n=r("21bf"),r("38ba"),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},"8d16":function(e,t,r){"use strict";var n,i,a=r("0341"),o=a.freeze,s=r("6df9"),c=s.inherits,l=s.notEnumerableProp;function u(e,t){function r(n){if(!(this instanceof r))return new r(n);l(this,"message","string"==typeof n?n:t),l(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(r,Error),r}var d=u("Warning","warning"),p=u("CancellationError","cancellation error"),f=u("TimeoutError","timeout error"),h=u("AggregateError","aggregate error");try{n=TypeError,i=RangeError}catch(e){n=u("TypeError","type error"),i=u("RangeError","range error")}for(var A="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;g<A.length;++g)"function"==typeof Array.prototype[A[g]]&&(h.prototype[A[g]]=Array.prototype[A[g]]);a.defineProperty(h.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),h.prototype.isOperational=!0;var m=0;function v(e){if(!(this instanceof v))return new v(e);l(this,"name","OperationalError"),l(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(l(this,"message",e.message),l(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}h.prototype.toString=function(){var e=Array(4*m+1).join(" "),t="\n"+e+"AggregateError of:\n";m++,e=Array(4*m+1).join(" ");for(var r=0;r<this.length;++r){for(var n=this[r]===this?"[Circular AggregateError]":this[r]+"",i=n.split("\n"),a=0;a<i.length;++a)i[a]=e+i[a];t+=(n=i.join("\n"))+"\n"}return m--,t},c(v,Error);var b=Error.__BluebirdErrorTypes__;b||(b=o({CancellationError:p,TimeoutError:f,OperationalError:v,RejectionError:v,AggregateError:h}),a.defineProperty(Error,"__BluebirdErrorTypes__",{value:b,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:n,RangeError:i,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:d}},"8d81":function(e,t,r){var n;!function(i){"use strict";function a(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,i,o){return a((s=a(a(t,e),a(n,o)))<<(c=i)|s>>>32-c,r);var s,c}function s(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function c(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function l(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}function d(e,t){var r,n,i,o,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var p=1732584193,f=-271733879,h=-1732584194,A=271733878;for(r=0;r<e.length;r+=16)n=p,i=f,o=h,d=A,p=s(p,f,h,A,e[r],7,-680876936),A=s(A,p,f,h,e[r+1],12,-389564586),h=s(h,A,p,f,e[r+2],17,606105819),f=s(f,h,A,p,e[r+3],22,-1044525330),p=s(p,f,h,A,e[r+4],7,-176418897),A=s(A,p,f,h,e[r+5],12,1200080426),h=s(h,A,p,f,e[r+6],17,-1473231341),f=s(f,h,A,p,e[r+7],22,-45705983),p=s(p,f,h,A,e[r+8],7,1770035416),A=s(A,p,f,h,e[r+9],12,-1958414417),h=s(h,A,p,f,e[r+10],17,-42063),f=s(f,h,A,p,e[r+11],22,-1990404162),p=s(p,f,h,A,e[r+12],7,1804603682),A=s(A,p,f,h,e[r+13],12,-40341101),h=s(h,A,p,f,e[r+14],17,-1502002290),p=c(p,f=s(f,h,A,p,e[r+15],22,1236535329),h,A,e[r+1],5,-165796510),A=c(A,p,f,h,e[r+6],9,-1069501632),h=c(h,A,p,f,e[r+11],14,643717713),f=c(f,h,A,p,e[r],20,-373897302),p=c(p,f,h,A,e[r+5],5,-701558691),A=c(A,p,f,h,e[r+10],9,38016083),h=c(h,A,p,f,e[r+15],14,-660478335),f=c(f,h,A,p,e[r+4],20,-405537848),p=c(p,f,h,A,e[r+9],5,568446438),A=c(A,p,f,h,e[r+14],9,-1019803690),h=c(h,A,p,f,e[r+3],14,-187363961),f=c(f,h,A,p,e[r+8],20,1163531501),p=c(p,f,h,A,e[r+13],5,-1444681467),A=c(A,p,f,h,e[r+2],9,-51403784),h=c(h,A,p,f,e[r+7],14,1735328473),p=l(p,f=c(f,h,A,p,e[r+12],20,-1926607734),h,A,e[r+5],4,-378558),A=l(A,p,f,h,e[r+8],11,-2022574463),h=l(h,A,p,f,e[r+11],16,1839030562),f=l(f,h,A,p,e[r+14],23,-35309556),p=l(p,f,h,A,e[r+1],4,-1530992060),A=l(A,p,f,h,e[r+4],11,1272893353),h=l(h,A,p,f,e[r+7],16,-155497632),f=l(f,h,A,p,e[r+10],23,-1094730640),p=l(p,f,h,A,e[r+13],4,681279174),A=l(A,p,f,h,e[r],11,-358537222),h=l(h,A,p,f,e[r+3],16,-722521979),f=l(f,h,A,p,e[r+6],23,76029189),p=l(p,f,h,A,e[r+9],4,-640364487),A=l(A,p,f,h,e[r+12],11,-421815835),h=l(h,A,p,f,e[r+15],16,530742520),p=u(p,f=l(f,h,A,p,e[r+2],23,-995338651),h,A,e[r],6,-198630844),A=u(A,p,f,h,e[r+7],10,1126891415),h=u(h,A,p,f,e[r+14],15,-1416354905),f=u(f,h,A,p,e[r+5],21,-57434055),p=u(p,f,h,A,e[r+12],6,1700485571),A=u(A,p,f,h,e[r+3],10,-1894986606),h=u(h,A,p,f,e[r+10],15,-1051523),f=u(f,h,A,p,e[r+1],21,-2054922799),p=u(p,f,h,A,e[r+8],6,1873313359),A=u(A,p,f,h,e[r+15],10,-30611744),h=u(h,A,p,f,e[r+6],15,-1560198380),f=u(f,h,A,p,e[r+13],21,1309151649),p=u(p,f,h,A,e[r+4],6,-145523070),A=u(A,p,f,h,e[r+11],10,-1120210379),h=u(h,A,p,f,e[r+2],15,718787259),f=u(f,h,A,p,e[r+9],21,-343485551),p=a(p,n),f=a(f,i),h=a(h,o),A=a(A,d);return[p,f,h,A]}function p(e){var t,r="",n=32*e.length;for(t=0;t<n;t+=8)r+=String.fromCharCode(e[t>>5]>>>t%32&255);return r}function f(e){var t,r=[];for(r[(e.length>>2)-1]=void 0,t=0;t<r.length;t+=1)r[t]=0;var n=8*e.length;for(t=0;t<n;t+=8)r[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return r}function h(e){var t,r,n="";for(r=0;r<e.length;r+=1)t=e.charCodeAt(r),n+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return n}function A(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return p(d(f(e),8*e.length))}(A(e))}function m(e,t){return function(e,t){var r,n,i=f(e),a=[],o=[];for(a[15]=o[15]=void 0,i.length>16&&(i=d(i,8*e.length)),r=0;r<16;r+=1)a[r]=909522486^i[r],o[r]=1549556828^i[r];return n=d(a.concat(f(t)),512+8*t.length),p(d(o.concat(n),640))}(A(e),A(t))}function v(e,t,r){return t?r?m(t,e):h(m(t,e)):r?g(e):h(g(e))}void 0===(n=function(){return v}.call(t,r,t,e))||(e.exports=n)}()},"8df4":function(e,t,r){"use strict";var n=r("fb60");function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},"8f08":function(e,t,r){var n=r("c46f");function i(e,t,r){var i=n.flatten(n.values(t).map((function(e){return n.values(e.levels)}))),a=n.indexBy(i.filter((function(e){return null!=e.paragraphStyleId})),"paragraphStyleId");return{findLevel:function n(i,a){var o=e[i];if(o){var s=t[o.abstractNumId];return s?null==s.numStyleLink?t[o.abstractNumId].levels[a]:n(r.findNumberingStyleById(s.numStyleLink).numId,a):null}return null},findLevelByParagraphStyleId:function(e){return a[e]||null}}}t.readNumberingXml=function(e,t){if(!t||!t.styles)throw new Error("styles is missing");var r=function(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach((function(e){var r=e.attributes["w:abstractNumId"];t[r]=function(e){var t={};e.getElementsByTagName("w:lvl").forEach((function(e){var r=e.attributes["w:ilvl"],n=e.first("w:numFmt").attributes["w:val"],i=e.firstOrEmpty("w:pStyle").attributes["w:val"];t[r]={isOrdered:"bullet"!==n,level:r,paragraphStyleId:i}}));var r=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:r}}(e)})),t}(e);return new i(function(e){var t={};return e.getElementsByTagName("w:num").forEach((function(e){var r=e.attributes["w:numId"],n=e.first("w:abstractNumId").attributes["w:val"];t[r]={abstractNumId:n}})),t}(e),r,t.styles)},t.Numbering=i,t.defaultNumbering=new i({},{})},"90e3":function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},9105:function(e,t,r){"use strict";e.exports=function(e){var t=r("6df9"),n=e._async,i=t.tryCatch,a=t.errorObj;function o(e,r){if(!t.isArray(e))return s.call(this,e,r);var o=i(r).apply(this._boundValue(),[null].concat(e));o===a&&n.throwLater(o.e)}function s(e,t){var r=this._boundValue(),o=void 0===e?i(t).call(r,null):i(t).call(r,null,e);o===a&&n.throwLater(o.e)}function c(e,t){if(!e){var r=new Error(e+"");r.cause=e,e=r}var o=i(t).call(this._boundValue(),e);o===a&&n.throwLater(o.e)}e.prototype.asCallback=e.prototype.nodeify=function(e,t){if("function"==typeof e){var r=s;void 0!==t&&Object(t).spread&&(r=o),this._then(r,c,void 0,this,e)}return this}}},9112:function(e,t,r){var n=r("83ab"),i=r("9bf2"),a=r("5c6c");e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},9152:function(e,t){
|
|
37
37
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
38
|
-
t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,c=(1<<s)-1,l=c>>1,u=-7,d=r?i-1:0,p=r?-1:1,f=e[t+d];for(d+=p,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=p,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===a)a=1-l;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=l}return(f?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,c,l=8*a-i-1,u=(1<<l)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,h=n?1:-1,A=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=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+d>=1?p/c:p*Math.pow(2,1-d))*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+f]=255&s,f+=h,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[r+f]=255&o,f+=h,o/=256,l-=8);e[r+f-h]|=128*A}},"91bc":function(e,t,r){(t=r("24fb")(!1)).push([e.i,'.kb-document-list[data-v-3b03bec4]{height:100%;display:flex;flex-direction:column;padding:24px;box-sizing:border-box;background:#fff}.kb-document-list[data-v-3b03bec4],.kb-document-list *[data-v-3b03bec4],.kb-document-list[data-v-3b03bec4] :after,.kb-document-list[data-v-3b03bec4] :before{font-size:16px!important}.doc-toolbar[data-v-3b03bec4]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-shrink:0}.doc-toolbar-left[data-v-3b03bec4],.doc-toolbar-right[data-v-3b03bec4]{display:flex;align-items:center;gap:12px}.doc-toolbar[data-v-3b03bec4] .search-input{width:280px}.doc-toolbar[data-v-3b03bec4] .search-input .el-input__inner{background:#fff;border:1px solid #dcdfe6;border-radius:4px;transition:all .2s;height:36px;line-height:34px}.doc-toolbar[data-v-3b03bec4] .search-input .el-input__inner:focus{border-color:#409eff;box-shadow:0 0 0 2px rgba(64,158,255,.1)}.doc-toolbar[data-v-3b03bec4] .el-button--small{height:36px;padding:0 16px;border-radius:4px;font-weight:500;transition:all .2s}.doc-toolbar[data-v-3b03bec4] .el-button--primary{background:#409eff;border-color:#409eff}.doc-toolbar[data-v-3b03bec4] .el-button--primary:hover{background:#66b1ff;border-color:#66b1ff}.doc-toolbar[data-v-3b03bec4] .el-button--success{background:#67c23a;border-color:#67c23a}.doc-toolbar[data-v-3b03bec4] .el-button--success:hover{background:#85ce61;border-color:#85ce61}.doc-toolbar[data-v-3b03bec4] .el-button--default{background:#fff;border-color:#dcdfe6;color:#606266}.doc-toolbar[data-v-3b03bec4] .el-button--default:hover{color:#409eff;border-color:#c6e2ff;background:#ecf5ff}.doc-table-wrap[data-v-3b03bec4]{flex:1;overflow:hidden;min-height:0;background:#fff;border-radius:4px;border:1px solid #ebeef5}.doc-table-wrap[data-v-3b03bec4] .el-table{font-size:16px}.doc-table-wrap[data-v-3b03bec4] .el-table th.el-table__cell{background:#f5f7fa!important;color:#303133!important;font-weight:600!important;border-bottom:1px solid #ebeef5}.doc-table-wrap[data-v-3b03bec4] .el-table__row:hover{background:#f5f7fa!important}.doc-table-wrap[data-v-3b03bec4] .el-table td.el-table__cell{border-bottom:1px solid #ebeef5;color:#606266}.doc-table-wrap[data-v-3b03bec4] .el-table--striped .el-table__body tr.el-table__row--striped td{background:#fafafa}.file-title-cell[data-v-3b03bec4]{display:flex;align-items:center;gap:8px}.file-icon-img[data-v-3b03bec4]{flex-shrink:0;width:35px;height:35px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}.doc-table-wrap[data-v-3b03bec4] .el-table__row:hover .file-icon-img{transform:scale(1.08)}.folder-name[data-v-3b03bec4]{color:#909399;font-size:13px}.doc-table-wrap[data-v-3b03bec4] .el-tag{border-radius:4px;font-weight:500}.doc-table-wrap[data-v-3b03bec4] .el-button--mini.el-button--text{padding:6px 10px;font-weight:500}.doc-table-wrap[data-v-3b03bec4] .el-button--mini.el-button--text:hover{background:#ecf5ff;color:#409eff}.doc-table-wrap[data-v-3b03bec4] .el-button--mini.el-button--text[style*="color: #f56c6c"]:hover{background:#fef0f0;color:#f56c6c}.doc-pagination[data-v-3b03bec4]{display:flex;justify-content:flex-end;padding-top:16px;flex-shrink:0}.doc-pagination[data-v-3b03bec4] .el-pagination.is-background .el-pager li{background:#fff;border-radius:4px;margin:0 3px}.doc-pagination[data-v-3b03bec4] .el-pagination.is-background .el-pager li:hover{color:#409eff}.doc-pagination[data-v-3b03bec4] .el-pagination.is-background .el-pager li.active{background:#fff;color:#fff}.wps-dialog-header[data-v-3b03bec4]{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 54px 0 20px;background:#f5f7fa;box-sizing:border-box}.wps-dialog-left[data-v-3b03bec4]{display:flex;align-items:center;gap:8px;min-width:0}.wps-dialog-icon-img[data-v-3b03bec4]{width:22px;height:22px;-o-object-fit:contain;object-fit:contain;flex-shrink:0}.wps-dialog-name[data-v-3b03bec4]{font-size:17px;font-weight:600;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}.wps-dialog-badge[data-v-3b03bec4]{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 10px;font-size:12px;color:#909399;background:#fff;border:1px solid #dcdfe6;border-radius:12px;flex-shrink:0}.preview-body[data-v-3b03bec4]{height:calc(90vh - 120px);display:flex;flex-direction:column;background:#fff}.preview-page-canvas[data-v-3b03bec4]{flex:1;overflow:auto;background:#fafbfc;padding:32px 24px;margin-bottom:10px;display:flex;justify-content:center;align-items:flex-start}.preview-page[data-v-3b03bec4]{width:100%;max-width:820px;min-height:640px;box-sizing:border-box;background:#fff;border-radius:2px;box-shadow:0 3px 12px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);padding:40px 56px;position:relative}.preview-page.paper-pdf[data-v-3b03bec4]{height:100%;min-height:0;padding:0;overflow:hidden}.preview-frame[data-v-3b03bec4]{width:100%;height:100%;border:0;background:#fff}.preview-center[data-v-3b03bec4]{height:100%;overflow:auto;text-align:center;background:#e8eaed;border-radius:4px;padding:16px}.preview-center img[data-v-3b03bec4]{box-shadow:0 3px 12px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);border-radius:2px}.preview-text[data-v-3b03bec4]{height:100%;overflow:auto;background:#f5f7fa;border-radius:4px;padding:16px}.preview-text pre[data-v-3b03bec4]{white-space:pre-wrap;word-break:break-all;font-size:13px;line-height:1.8;margin:0}.preview-markdown[data-v-3b03bec4]{font-size:16px;line-height:1.8;color:#333}.preview-markdown h1[data-v-3b03bec4]{font-size:22px;margin:16px 0 8px;border-bottom:1px solid #eee;padding-bottom:6px}.preview-markdown h2[data-v-3b03bec4]{font-size:19px;margin:14px 0 6px}.preview-markdown h3[data-v-3b03bec4]{font-size:16px;margin:12px 0 4px}.preview-markdown p[data-v-3b03bec4]{margin:8px 0}.preview-markdown ol[data-v-3b03bec4],.preview-markdown ul[data-v-3b03bec4]{padding-left:24px;margin:8px 0}.preview-markdown code[data-v-3b03bec4]{background:#f0f0f0;padding:2px 6px;border-radius:3px;font-size:13px;color:#d63384}.preview-markdown pre[data-v-3b03bec4]{background:#282c34;color:#abb2bf;padding:16px;border-radius:6px;overflow-x:auto;font-size:13px;line-height:1.6;margin:12px 0}.preview-markdown pre code[data-v-3b03bec4]{background:none;padding:0;color:inherit;font-size:inherit}.preview-markdown blockquote[data-v-3b03bec4]{border-left:4px solid #409eff;padding:8px 16px;margin:12px 0;background:#f5f7fa;color:#666}.preview-markdown table[data-v-3b03bec4]{border-collapse:collapse;width:100%;margin:12px 0}.preview-markdown td[data-v-3b03bec4],.preview-markdown th[data-v-3b03bec4]{border:1px solid #ddd;padding:8px 12px;text-align:left}.preview-markdown th[data-v-3b03bec4]{background:#f5f7fa;font-weight:700}.preview-markdown img[data-v-3b03bec4]{max-width:100%;border-radius:4px}.preview-markdown a[data-v-3b03bec4]{color:#409eff}.preview-xlsx-wrap[data-v-3b03bec4]{height:100%;display:flex;flex-direction:column;background:#fff;border-radius:4px;border:1px solid #e8eaed}.preview-loading[data-v-3b03bec4]{display:flex;align-items:center;justify-content:center;padding:60px 0;color:#909399;font-size:16px;gap:8px}.preview-xlsx-toolbar[data-v-3b03bec4]{display:flex;align-items:center;gap:2px;padding:8px 12px;background:#f8f9fb;border-bottom:1px solid #e8eaed;flex-shrink:0}.preview-xlsx-tab[data-v-3b03bec4]{padding:4px 14px;font-size:12px;cursor:pointer;border:1px solid transparent;border-radius:3px 3px 0 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#606266;background:#f0f2f5}.preview-xlsx-tab[data-v-3b03bec4]:hover{color:#409eff}.preview-xlsx-tab.active[data-v-3b03bec4]{color:#409eff;background:#fff;border-color:#dcdfe6;border-bottom-color:#fff}.preview-xlsx-table-wrap[data-v-3b03bec4]{max-height:680px;overflow:auto;padding:8px;border:1px solid #e8eaed;border-radius:4px}.preview-xlsx-notice[data-v-3b03bec4]{padding:6px 12px;margin-bottom:8px;font-size:12px;color:#e6a23c;background:#fdf6ec;border:1px solid #faecd8;border-radius:4px}.preview-xlsx-table[data-v-3b03bec4]{border-collapse:collapse;width:100%;font-size:13px}.preview-xlsx-table td[data-v-3b03bec4],.preview-xlsx-table th[data-v-3b03bec4]{border:1px solid #dcdfe6;padding:6px 10px;text-align:left;white-space:nowrap;min-width:80px}.preview-xlsx-table th[data-v-3b03bec4]{background:#f5f7fa;font-weight:600;color:#1f2937;position:sticky;top:0}.preview-xlsx-table tr[data-v-3b03bec4]:nth-child(2n){background:#fafbfc}.preview-xlsx-table tr[data-v-3b03bec4]:hover{background:#f0f7ff}.preview-docx-wrap[data-v-3b03bec4]{height:100%;overflow:auto;background:#fff;border-radius:4px;border:1px solid #e8eaed}.preview-docx-content[data-v-3b03bec4]{padding:0;font-size:16px;line-height:1.8;color:#333;min-height:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.preview-docx-content h1[data-v-3b03bec4]{font-size:22px;font-weight:700;margin:20px 0 10px;padding-bottom:6px;border-bottom:2px solid #e8eaed;color:#1a1a2e}.preview-docx-content h2[data-v-3b03bec4]{font-size:18px;font-weight:600;margin:16px 0 8px;padding-bottom:4px;border-bottom:1px solid #e8eaed;color:#1a1a2e}.preview-docx-content h3[data-v-3b03bec4]{font-size:16px;font-weight:600;margin:14px 0 6px;color:#2c3e50}.preview-docx-content p[data-v-3b03bec4]{margin:8px 0}.preview-docx-content ol[data-v-3b03bec4],.preview-docx-content ul[data-v-3b03bec4]{padding-left:24px;margin:8px 0}.preview-docx-content li[data-v-3b03bec4]{margin:3px 0}.preview-docx-content blockquote[data-v-3b03bec4]{border-left:3px solid #409eff;padding:6px 14px;margin:10px 0;background:#f0f7ff;color:#555;border-radius:0 4px 4px 0}.preview-docx-content pre[data-v-3b03bec4]{background:#f5f7fa;padding:12px 16px;border-radius:6px;overflow-x:auto;font-size:13px;border:1px solid #e8eaed;margin:10px 0}.preview-docx-content a[data-v-3b03bec4]{color:#409eff;text-decoration:underline}.preview-docx-content img[data-v-3b03bec4]{max-width:100%;border-radius:4px;margin:6px 0}.preview-docx-content table[data-v-3b03bec4]{border-collapse:collapse;width:100%;margin:12px 0;font-size:13px}.preview-docx-content td[data-v-3b03bec4],.preview-docx-content th[data-v-3b03bec4]{border:1px solid #dcdfe6;padding:8px 12px;text-align:left}.preview-docx-content th[data-v-3b03bec4]{background:#f5f7fa;font-weight:600}.move-tip[data-v-3b03bec4]{margin-bottom:12px;padding:10px 12px;background:#f5f7fa;border-radius:4px;font-size:16px;color:#606266}.move-count[data-v-3b03bec4]{color:#409eff;font-weight:600}.move-target[data-v-3b03bec4]{color:#67c23a;font-weight:600}.move-target-empty[data-v-3b03bec4]{color:#e6a23c}.move-folder-wrap[data-v-3b03bec4]{max-height:420px;overflow:auto;border:1px solid #e8eaed;border-radius:4px;padding:8px}.move-folder-wrap[data-v-3b03bec4] .el-tree-node__content{height:32px}.doc-toolbar-m[data-v-3b03bec4]{display:flex;align-items:center;gap:10px;margin-bottom:14px}.doc-toolbar-m[data-v-3b03bec4] .el-button--small{height:34px;padding:0 14px}.doc-m-list[data-v-3b03bec4]{padding:4px 2px 20px;height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.doc-m-list[data-v-3b03bec4]::-webkit-scrollbar{width:0}.doc-m-card[data-v-3b03bec4]{display:flex;align-items:center;gap:10px;padding:14px 12px;margin-bottom:10px;background:#fff;border:1px solid #f0f2f5;border-radius:10px;transition:all .2s}.doc-m-card.selected[data-v-3b03bec4]{background:#ecf5ff;border-color:#cfe4ff}.doc-m-card[data-v-3b03bec4]:active{transform:scale(.99)}.doc-m-check[data-v-3b03bec4]{flex-shrink:0;width:18px;height:18px;accent-color:#409eff}.doc-m-icon[data-v-3b03bec4]{flex-shrink:0;width:34px;height:34px;-o-object-fit:contain;object-fit:contain}.doc-m-info[data-v-3b03bec4]{flex:1;min-width:0}.doc-m-title[data-v-3b03bec4]{font-size:16px;font-weight:500;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-m-meta[data-v-3b03bec4]{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:12px!important;color:#909399}.doc-m-tag[data-v-3b03bec4]{flex-shrink:0;padding:0 6px;border-radius:4px;font-size:11px!important;line-height:18px;background:#f0f2f5;color:#909399}.doc-m-tag.tag-success[data-v-3b03bec4]{background:#f0f9eb;color:#67c23a}.doc-m-tag.tag-warning[data-v-3b03bec4]{background:#fdf6ec;color:#e6a23c}.doc-m-tag.tag-danger[data-v-3b03bec4]{background:#fef0f0;color:#f56c6c}.doc-m-tag.tag-info[data-v-3b03bec4]{background:#f4f4f5;color:#909399}.doc-m-actions[data-v-3b03bec4]{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:4px;margin-left:4px}.doc-m-btn[data-v-3b03bec4]{padding:2px 10px;font-size:13px!important;color:#409eff;border-radius:4px;white-space:nowrap}.doc-m-btn[data-v-3b03bec4]:active{background:#ecf5ff}.doc-m-btn.doc-m-del[data-v-3b03bec4]{color:#f56c6c}.doc-m-empty[data-v-3b03bec4]{text-align:center;padding:50px 0;color:#909399;font-size:16px}.doc-m-empty i[data-v-3b03bec4]{font-size:30px!important;color:#c0c4cc}.doc-m-empty div[data-v-3b03bec4]{margin-top:8px}.doc-m-more[data-v-3b03bec4]{margin:8px 0 12px;padding:12px 0;text-align:center;font-size:15px!important;color:#409eff;background:#f5f7fa;border-radius:8px}.doc-m-more[data-v-3b03bec4]:active{background:#ecf5ff}.doc-m-table-wrap[data-v-3b03bec4]{height:100%;overflow:auto;-webkit-overflow-scrolling:touch;background:#fff}.doc-m-table[data-v-3b03bec4]{width:100%;min-width:900px;border-collapse:collapse;font-size:13px;color:#303133}.doc-m-table thead th[data-v-3b03bec4]{position:sticky;top:0;z-index:1;height:42px;padding:0 8px;background:#f5f7fa;color:#333;font-weight:600;text-align:left;white-space:nowrap;border-bottom:1px solid #ebeef5}.doc-m-table tbody td[data-v-3b03bec4]{height:48px;padding:0 8px;border-bottom:1px solid #f0f2f5;vertical-align:middle}.doc-m-table tbody tr[data-v-3b03bec4]:nth-child(2n){background:#fafafa}.doc-m-table tbody tr.selected[data-v-3b03bec4]{background:#ecf5ff}.doc-m-table .col-center[data-v-3b03bec4],.doc-m-table .col-check[data-v-3b03bec4]{text-align:center}.doc-m-table .col-id[data-v-3b03bec4]{text-align:center;color:#909399}.doc-m-table .col-time[data-v-3b03bec4]{font-size:12px;color:#909399;white-space:nowrap}.doc-m-table .col-title[data-v-3b03bec4]{cursor:pointer}.doc-m-tb-icon[data-v-3b03bec4]{width:16px;height:16px;vertical-align:-3px;margin-right:6px;flex-shrink:0}.doc-m-tb-title[data-v-3b03bec4]{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.doc-m-tb-tag[data-v-3b03bec4],.doc-m-tb-title[data-v-3b03bec4]{display:inline-block;white-space:nowrap}.doc-m-tb-tag[data-v-3b03bec4]{padding:1px 8px;border-radius:4px;font-size:12px;background:#f4f4f5;color:#909399;border:1px solid #e9e9eb}.doc-m-table .col-ops[data-v-3b03bec4]{white-space:nowrap;text-align:center;padding-left:4px;padding-right:4px}.doc-m-tb-btn[data-v-3b03bec4]{padding:0 5px;border:none;background:transparent;color:#1677ff;font-size:12px;white-space:nowrap}.doc-m-tb-btn[data-v-3b03bec4]:active{opacity:.6}.doc-m-tb-btn.doc-m-del[data-v-3b03bec4]{color:#f56c6c}.doc-m-table-wrap .doc-m-empty[data-v-3b03bec4]{padding:60px 0}.doc-m-pager[data-v-3b03bec4]{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px;font-size:13px;color:#606266}.doc-m-pager-total[data-v-3b03bec4]{margin-right:auto;color:#909399}.doc-m-pager-select[data-v-3b03bec4]{padding:0 6px}.doc-m-pager-btn[data-v-3b03bec4],.doc-m-pager-select[data-v-3b03bec4]{height:30px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;color:#606266;font-size:13px}.doc-m-pager-btn[data-v-3b03bec4]{padding:0 12px}.doc-m-pager-btn[data-v-3b03bec4]:disabled{color:#c0c4cc;cursor:not-allowed}.doc-m-pager-cur[data-v-3b03bec4]{min-width:56px;text-align:center}@media (max-width:768px){.kb-document-list[data-v-3b03bec4]{padding:12px}.doc-toolbar[data-v-3b03bec4]{margin-bottom:10px}.doc-toolbar-left[data-v-3b03bec4]{flex-wrap:wrap;gap:8px;width:100%}.doc-toolbar[data-v-3b03bec4] .search-input{flex:1;width:auto;min-width:0}.doc-toolbar[data-v-3b03bec4] .el-input__inner{height:34px;line-height:32px}.doc-toolbar[data-v-3b03bec4] .el-button--small{height:34px;padding:0 12px}.doc-table-wrap[data-v-3b03bec4]{border:none;background:transparent;border-radius:0}}.doc-m-search[data-v-3b03bec4]{display:flex;align-items:center;gap:6px;width:100%;height:36px;padding:0 10px;background:#fff;border:1px solid #e4e7ed;border-radius:18px;box-sizing:border-box}.doc-m-search-icon[data-v-3b03bec4]{flex-shrink:0}.doc-m-search-input[data-v-3b03bec4]{flex:1;min-width:0;height:100%;border:none;outline:none;background:transparent;font-size:14px;color:#303133}.doc-m-search-btn[data-v-3b03bec4]{flex-shrink:0;height:28px;padding:0 14px;border:none;border-radius:14px;background:#1677ff;color:#fff;font-size:13px}.doc-m-search-btn[data-v-3b03bec4]:disabled{opacity:.5}.doc-m-search--inline[data-v-3b03bec4]{flex:1;min-width:0;width:auto}.doc-m-tbtn[data-v-3b03bec4]{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 14px;border:1px solid #b7eb8f;border-radius:16px;background:#f6ffed;color:#52c41a;font-size:13px}.doc-m-tbtn.danger[data-v-3b03bec4]{border-color:#ffccc7;background:#fff1f0;color:#f5222d}.doc-m-tbtn.warning[data-v-3b03bec4]{border-color:#ffe58f;background:#fffbe6;color:#d48806}.doc-m-tbtn[data-v-3b03bec4]:active{opacity:.8}.kbm-move-list[data-v-3b03bec4]{border:1px solid #f0f2f5;border-radius:8px;background:#fafbfc;max-height:46vh;overflow-y:auto;-webkit-overflow-scrolling:touch}.kbm-move-row[data-v-3b03bec4]{display:flex;align-items:center;gap:6px;padding:11px 10px;font-size:14px;color:#303133;border-bottom:1px solid #f5f7fa}.kbm-move-row[data-v-3b03bec4]:last-child{border-bottom:none}.kbm-move-row svg[data-v-3b03bec4]{color:#1677ff;flex-shrink:0}.kbm-move-name[data-v-3b03bec4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbm-move-row.active[data-v-3b03bec4]{background:#e8f3ff;color:#1677ff}.kbm-empty[data-v-3b03bec4]{padding:30px 0;text-align:center;font-size:13px;color:#909399}.preview-body--m[data-v-3b03bec4]{height:100%;padding:0}.preview-body--m .preview-page-canvas[data-v-3b03bec4]{padding:12px;margin-bottom:0}.preview-body--m .preview-page[data-v-3b03bec4]{min-height:0;padding:16px}',""]),e.exports=t},9224:function(e){e.exports=JSON.parse('{"name":"zj-plugin-intelligent","version":"1.2.25","main":"lib/ZjPluginIntelligent.umd.min.js","private":false,"scripts":{"serve":"set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve","build":"set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build","lib":"node scripts/build-lib.js","lib:test":"node scripts/build-lib.js test"},"dependencies":{"@jboltai/tokui":"^0.1.6","crypto-js":"^4.2.0","docx":"^8.5.0","html2canvas":"^1.4.1","mammoth":"^1.6.0","markdown-it":"^14.1.0","marked":"^4.3.0","xlsx":"^0.18.5"},"devDependencies":{"@babel/preset-env":"^7.14.9","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"^4.5.13","@vue/cli-plugin-vuex":"~4.5.0","@vue/cli-service":"~4.5.0","axios":"^0.27.2","babel-eslint":"^10.1.0","babel-plugin-component":"^1.1.1","compression-webpack-plugin":"^6.0.3","core-js":"^3.6.5","element-ui":"^2.15.4","eslint":"^7.30.0","eslint-plugin-vue":"^7.13.0","js-cookie":"^2.2.1","obs-upload":"^1.0.4","pako":"^2.1.0","reconnecting-websocket":"^4.4.0","sass":"^1.71.0","sass-loader":"^8.0.2","snowflake-id":"^1.1.0","vue":"^2.6.11","vue-template-compiler":"^2.6.11","vuex":"^3.4.0","webpack-bundle-analyzer":"^4.4.2"},"browserslist":["> 1%","last 2 versions","not dead"],"directories":{"lib":"lib"},"keywords":[],"license":"ISC","files":["lib"]}')},9255:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAMAAAAvHNATAAAAhFBMVEUAAAASuEQSu0QRt0USuEQRuEQTuEUSuUYRuEQRuEQRuEUZvEsRuEUSuEQUukkWxUw32F4VukYSuEQRuEQRuEQTukUSuEURuEUSuEUSuEcRvEUUuUcSuEQRuEURuEQRuUUSuUURuEUSt0QRuEQRuUUSuUYSuEUSuEUTukYRuEUXuEcRt0RmEsXJAAAAK3RSTlMA6Cn9YflrYvHtlBSrnSULBDDj39JBxoJ9OR0ZvKKmRplx2sBmVsy4NIcgRF2QQwAABHBJREFUeNrM2AlyqkAUheGDpIkMAgIiUXGIU+nZ//5e1SNWJ6UyKN30t4K/oOtyabwrmh6LSXDOs9QVwk2z/BxMiuM0woDCg7dK+ESy8g4h9Lt+lgkbJeXHAhrNtilb+97OoMXokrCjdB5CMd858SW540Od61bwZcJbQI1RKfgWMQnRv2lg8232eoR+LQL2ZL1Ef+LdmL0Z72L0ZJaxV9kX+uCX7N3Ex9s2LhWwZnhPfKEa9hzvWORUZr807TXeWBu8aE617AKviLdUzkN3UUANgrhz155arCJ0ssyoycnv1JVSm+8OZVFGjU6RaefrZhWjlTigZgFa2VI7z4R5/1CBRhsOwd6gwcLlIKwlasU5B7JHrQsHMzfvgFXsGZ7yLQ7I8vFMyUFN8MQXB/aFh+KMA8tiPLLj4HZ4YDnm4MZL3AtogDXuTGmEkZkP7MEjC20awQ7Nmq1Pp+xV0BBigd88GsMDJF9Qi9SbB4L1hA/JoQ7jTwDw16znQDpRA2uKSsFauewaUQNr1PZHLNSzUMsuad9yyU6onOxqXuFT/JhRJdklRaw1U38nILu6hG1RSamI7Or2N/aN/65USnZJe9arPksfvKO4a8cGHzWLhcKuTzYp74eFEV1MACAkJTO6quF/oGRKFw9/VzFjuugBWPHGnC6ufp99g7qYQH4dTOoiI0xZMauLUxz5n2FdPP7suaZ1scCEbbjlJRAauzhBwGaiiAH4pb4uBji36NqgstPWxTPyNgfxxtHVxRxZp2sOR1MXM6Td7tIcPV1M4bKBiz8cLV10IdjAwl+Oji6Kf9Xc7U6zQBCG4Qe39rVQ4G0RilCpUr+f8z8/U2vcGBKLAyPT+wiukKY/dnfmNIxvHZmiy8MWv78Xnuu7uEAmuBabq7uY4bqHftWRabt4jYIiWS/XzFFagWfKZLouPmNJoUzVxSViSmUKvy9fjJJimd73Iks8Ui7Tc/ERKw6Qqbm4Qsr+speOTMvFFFgPkim51r88IrjqylRc3AIIOUj2T8PF0B9DiWUaLj4ASCiQKbr8rc1aIFN2rf3hsECm5+Kt7Dj96kbT5Y/TKwpkqi5W+KgVyFRdrb/kEsjUXP6SK6dEpudijs8ykUzNlQkfC3uZ3NXz6jmhTKbjYoKvCpksx2cPY7qK4Q9CLo+Df2nIMZuP8YSmfZ3d3y04ZpfROTw6QmX1mRZiGik+l6eAaGiipjsFThNdACY/WXNOT5rNPgK3+2ze7KDB5P+y8fkNsyB3nCyXm5vIO7bBj+05UXv8XB1wkoIaJ9o5TpDb4WQlJ6hEj0L+eSG6WRgEWqJf/7cUpT2ODaRPFKQ/wA5ELQUpjvx7meib6S9JANIthcnXSlga/O8s4jDyfxZCVOmomishbBdQsWAHcfWeau1rDGnjqJLbYGB5QIWCHIOLYo5eHGGMbmwuRjO8Sg5A3fB7NpbvHbpoTK4rPJTEJhc8HqpCkysxD0XzwuIS0Y+STWZw7eqx/K41uKj2WDWzuNrX8jJk9fXR7x3N57Ix4oyCAAAAAElFTkSuQmCC"},9263:function(e,t,r){"use strict";var n,i,a=r("ad6d"),o=r("9f7f"),s=r("5692"),c=RegExp.prototype.exec,l=s("native-string-replace",String.prototype.replace),u=c,d=(n=/a/,i=/b*/g,c.call(n,"a"),c.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),p=o.UNSUPPORTED_Y||o.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(d||f||p)&&(u=function(e){var t,r,n,i,o=this,s=p&&o.sticky,u=a.call(o),h=o.source,A=0,g=e;return s&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),g=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,A++),r=new RegExp("^(?:"+h+")",u)),f&&(r=new RegExp("^"+h+"$(?!\\s)",u)),d&&(t=o.lastIndex),n=c.call(s?r:o,g),s?n?(n.input=n.input.slice(A),n[0]=n[0].slice(A),n.index=o.lastIndex,o.lastIndex+=n[0].length):o.lastIndex=0:d&&n&&(o.lastIndex=o.global?n.index+n[0].length:t),f&&n&&n.length>1&&l.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),e.exports=u},"92e7":function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,p,f,h,A,g={}.hasOwnProperty;A=r("45f3"),h=A.isObject,f=A.isFunction,p=A.isEmpty,d=A.getValue,s=null,t=null,n=null,i=null,a=null,l=null,u=null,c=null,o=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],s||(s=r("b8ee"),t=r("536e"),n=r("8930"),i=r("528d"),a=r("d7e3"),l=r("50d7"),u=r("9d2f"),c=r("f016"),o=r("0e1e"))}return e.prototype.element=function(e,t,r){var n,i,a,o,s,c,l,u,A,m,v;if(c=null,null===t&&null==r&&(t=(A=[{},null])[0],r=A[1]),null==t&&(t={}),t=d(t),h(t)||(r=(m=[t,r])[0],t=m[1]),null!=e&&(e=d(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)i=e[a],c=this.element(i);else if(f(e))c=this.element(e.apply());else if(h(e)){for(s in e)if(g.call(e,s))if(v=e[s],f(v)&&(v=v.apply()),h(v)&&p(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(o=0,u=v.length;o<u;o++)i=v[o],(n={})[s]=i,c=this.element(n);else h(v)?(c=this.element(s)).element(v):c=this.element(s,v)}else c=this.options.skipNullNodes&&null===r?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),r):this.node(e,t,r);if(null==c)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},e.prototype.insertBefore=function(e,t,r){var n,i,a;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,a),n},e.prototype.insertAfter=function(e,t,r){var n,i,a;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i+1),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,a),n},e.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},e.prototype.node=function(e,t,r){var n,i;return null!=e&&(e=d(e)),t||(t={}),t=d(t),h(t)||(r=(i=[t,r])[0],t=i[1]),n=new s(this,e,t),null!=r&&n.text(r),this.children.push(n),n},e.prototype.text=function(e){var t;return t=new u(this,e),this.children.push(t),this},e.prototype.cdata=function(e){var r;return r=new t(this,e),this.children.push(r),this},e.prototype.comment=function(e){var t;return t=new n(this,e),this.children.push(t),this},e.prototype.commentBefore=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.commentAfter=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.raw=function(e){var t;return t=new l(this,e),this.children.push(t),this},e.prototype.dummy=function(){var e;return e=new o(this),this.children.push(e),e},e.prototype.instruction=function(e,t){var r,n,i,a,o;if(null!=e&&(e=d(e)),null!=t&&(t=d(t)),Array.isArray(e))for(a=0,o=e.length;a<o;a++)r=e[a],this.instruction(r);else if(h(e))for(r in e)g.call(e,r)&&(n=e[r],this.instruction(r,n));else f(t)&&(t=t.apply()),i=new c(this,e,t),this.children.push(i);return this},e.prototype.instructionBefore=function(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.instructionAfter=function(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.declaration=function(e,t,r){var n,a;return n=this.document(),a=new i(n,e,t,r),n.children[0]instanceof i?n.children[0]=a:n.children.unshift(a),n.root()||n},e.prototype.doctype=function(e,t){var r,n,i,o,s,c,l,u,d;for(r=this.document(),n=new a(r,e,t),i=o=0,c=(u=r.children).length;o<c;i=++o)if(u[i]instanceof a)return r.children[i]=n,n;for(i=s=0,l=(d=r.children).length;s<l;i=++s)if(d[i].isRoot)return r.children.splice(i,0,n),n;return r.children.push(n),n},e.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},e.prototype.root=function(){var e;for(e=this;e;){if(e.isDocument)return e.rootObject;if(e.isRoot)return e;e=e.parent}},e.prototype.document=function(){var e;for(e=this;e;){if(e.isDocument)return e;e=e.parent}},e.prototype.end=function(e){return this.document().end(e)},e.prototype.prev=function(){var e;for(e=this.parent.children.indexOf(this);e>0&&this.parent.children[e-1].isDummy;)e-=1;if(e<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},e.prototype.next=function(){var e;for(e=this.parent.children.indexOf(this);e<this.parent.children.length-1&&this.parent.children[e+1].isDummy;)e+=1;if(-1===e||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},e.prototype.importDocument=function(e){var t;return(t=e.root().clone()).parent=this,t.isRoot=!1,this.children.push(t),this},e.prototype.debugInfo=function(e){var t,r;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},e.prototype.ele=function(e,t,r){return this.element(e,t,r)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.dtd=function(e,t){return this.doctype(e,t)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(e){return this.importDocument(e)},e}()}).call(this)},9404:function(e,t,r){var n=r("335c"),i=r("5ddd");t.element=function(e){return function(t){return i.elementWithTag(n.element(e),[t])}}},"944a":function(e,t,r){r("746f")("toStringTag")},"94ca":function(e,t,r){var n=r("d039"),i=/#|\.prototype\./,a=function(e,t){var r=s[o(e)];return r==l||r!=c&&("function"==typeof t?n(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},"94d4":function(e,t,r){"use strict";var n=r("7432");function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},"94f8":function(e,t,r){var n;e.exports=(n=r("21bf"),function(e){var t=n,r=t.lib,i=r.WordArray,a=r.Hasher,o=t.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)t(n)&&(i<8&&(s[i]=r(e.pow(n,.5))),c[i]=r(e.pow(n,1/3)),i++),n++}();var l=[],u=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5],d=r[6],p=r[7],f=0;f<64;f++){if(f<16)l[f]=0|e[t+f];else{var h=l[f-15],A=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=l[f-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[f]=A+l[f-7]+m+l[f-16]}var v=n&i^n&a^i&a,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),k=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[f]+l[f];p=d,d=u,u=s,s=o+k|0,o=a,a=i,i=n,n=k+(b+v)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+d|0,r[7]=r[7]+p|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=e.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),n.SHA256)},9523:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},9567:function(e,t,r){var n=r("c46f"),i=r("ebf8"),a=r("9d83"),o=r("335c"),s=r("03e1"),c=r("1259"),l=r("5ddd"),u=r("9796");function d(e,t){var r=1,d=[],g=[],m=void 0===(e=n.extend({ignoreEmptyParagraphs:!0},e)).idPrefix?"":e.idPrefix,v=e.ignoreEmptyParagraphs,b=o.topLevelElement("p"),k=e.styleMap||[];function y(e,t,r){return h(e,(function(e){return w(e,t,r)}))}function w(e,t,r){if(!r)throw new Error("options not set");var n=O[e.type];return n?n(e,t,r):[]}function x(e,t){var r=_({type:e});return r||(t?o.element(t,{},{fresh:!1}):o.empty)}function _(e,t){var r=C(e);return r?r.to:t}function C(e){for(var t=0;t<k.length;t++)if(k[t].from.matches(e))return k[t]}function E(e){return B(e.noteType,e.noteId)}function T(e){return S(e.noteType,e.noteId)}function B(e,t){return D(e+"-"+t)}function S(e,t){return D(e+"-ref-"+t)}function D(e){return m+e}var U=o.elements([o.element("table",{},{fresh:!0})]);function F(e,t,r){var n=e.label,i=e.comment,a=y(i.body,t,r).concat([l.nonFreshElement("p",{},[l.text(" "),l.freshElement("a",{href:"#"+S("comment",i.commentId)},[l.text("↑")])])]);return[l.freshElement("dt",{id:B("comment",i.commentId)},[l.text("Comment "+n)]),l.freshElement("dd",{},a)]}var I,L,O={document:function(e,t,r){var n=y(e.children,t,r),i=y(d.map((function(t){return e.notes.resolve(t)})),t,r);return n.concat([l.freshElement("ol",{},i),l.freshElement("dl",{},h(g,(function(e){return F(e,t,r)})))])},paragraph:function(e,t,r){return function(e,t){var r=C(e);return r?r.to:(e.styleId&&t.push(f("paragraph",e)),b)}(e,t).wrap((function(){var n=y(e.children,t,r);return v?n:[l.forceWrite].concat(n)}))},run:function(e,t,r){var n=function(){return y(e.children,t,r)},i=[];e.isSmallCaps&&i.push(x("smallCaps")),e.isAllCaps&&i.push(x("allCaps")),e.isStrikethrough&&i.push(x("strikethrough","s")),e.isUnderline&&i.push(x("underline")),e.verticalAlignment===a.verticalAlignment.subscript&&i.push(o.element("sub",{},{fresh:!1})),e.verticalAlignment===a.verticalAlignment.superscript&&i.push(o.element("sup",{},{fresh:!1})),e.isItalic&&i.push(x("italic","em")),e.isBold&&i.push(x("bold","strong"));var s=o.empty,c=C(e);return c?s=c.to:e.styleId&&t.push(f("run",e)),i.push(s),i.forEach((function(e){n=e.wrap.bind(e,n)})),n()},text:function(e,t,r){return[l.text(e.value)]},tab:function(e,t,r){return[l.text("\t")]},hyperlink:function(e,t,r){var n={href:e.anchor?"#"+D(e.anchor):e.href};null!=e.targetFrame&&(n.target=e.targetFrame);var i=y(e.children,t,r);return[l.nonFreshElement("a",n,i)]},bookmarkStart:function(e,t,r){return[l.freshElement("a",{id:D(e.name)},[l.forceWrite])]},noteReference:function(e,t,n){d.push(e);var i=l.freshElement("a",{href:"#"+E(e),id:T(e)},[l.text("["+r+++"]")]);return[l.freshElement("sup",{},[i])]},note:function(e,t,r){var n=y(e.body,t,r),i=l.elementWithTag(o.element("p",{},{fresh:!1}),[l.text(" "),l.freshElement("a",{href:"#"+T(e)},[l.text("↑")])]),a=n.concat([i]);return l.freshElement("li",{id:E(e)},a)},commentReference:function(e,r,n){return _(e,o.ignore).wrap((function(){var r=t[e.commentId],n=g.length+1,i="["+A(r)+n+"]";return g.push({label:i,comment:r}),[l.freshElement("a",{href:"#"+B("comment",e.commentId),id:S("comment",e.commentId)},[l.text(i)])]}))},comment:F,image:(L=e.convertImage||c.dataUri,I=function(e,t){return i.attempt((function(){return L(e,t)})).caught((function(e){return t.push(s.error(e)),[]}))},function(e,t,r){return[{type:"deferred",id:p++,value:function(){return I(e,t,r)}}]}),table:function(e,t,r){return _(e,U).wrap((function(){return function(e,t,r){var i,o=n.findIndex(e.children,(function(e){return!e.type===a.types.tableRow||!e.isHeader}));-1===o&&(o=e.children.length);if(0===o)i=y(e.children,t,n.extend({},r,{isTableHeader:!1}));else{var s=y(e.children.slice(0,o),t,n.extend({},r,{isTableHeader:!0})),c=y(e.children.slice(o),t,n.extend({},r,{isTableHeader:!1}));i=[l.freshElement("thead",{},s),l.freshElement("tbody",{},c)]}return[l.forceWrite].concat(i)}(e,t,r)}))},tableRow:function(e,t,r){var n=y(e.children,t,r);return[l.freshElement("tr",{},[l.forceWrite].concat(n))]},tableCell:function(e,t,r){var n=r.isTableHeader?"th":"td",i=y(e.children,t,r),a={};return 1!==e.colSpan&&(a.colspan=e.colSpan.toString()),1!==e.rowSpan&&(a.rowspan=e.rowSpan.toString()),[l.freshElement(n,a,[l.forceWrite].concat(i))]},break:function(e,t,r){return function(e){var t=C(e);return t?t.to:"line"===e.breakType?o.topLevelElement("br"):o.empty}(e).wrap((function(){return[]}))}};return{convertToHtml:function(t){var r=[],a=w(t,r,{}),o=[];!function e(t,r){t.forEach((function(t){r(t),t.children&&e(t.children,r)}))}(a,(function(e){"deferred"===e.type&&o.push(e)}));var c={};return i.mapSeries(o,(function(e){return e.value().then((function(t){c[e.id]=t}))})).then((function(){var t=u.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return l.write(t,l.simplify(function e(t){return h(t,(function(t){return"deferred"===t.type?c[t.id]:t.children?[n.extend({},t,{children:e(t.children)})]:[t]}))}(a))),new s.Result(t.asString(),r)}))}}}t.DocumentConverter=function(e){return{convertToHtml:function(t){var r=n.indexBy(t.type===a.types.document?t.comments:[],"commentId");return new d(e,r).convertToHtml(t)}}};var p=1;function f(e,t){return s.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function h(e,t){return n.flatten(e.map(t),!0)}var A=t.commentAuthorLabel=function(e){return e.authorInitials||""}},9646:function(e,t,r){"use strict";var n=r("ce61"),i=r("db54"),a=r("c297"),o=r("3688"),s=r("7a0f"),c=r("d4ee"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var d=[o,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(u),a=Promise.resolve(t);d.length;)a=a.then(d.shift(),d.shift());return a}for(var p=t;n.length;){var f=n.shift(),h=n.shift();try{p=f(p)}catch(e){h(e);break}}try{a=o(p)}catch(e){return Promise.reject(e)}for(;u.length;)a=a.then(u.shift(),u.shift());return a},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},"96cf":function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),o=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return C()}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=k(o,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=l(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,o),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function d(){}function p(){}function f(){}var h={};h[i]=function(){return this};var A=Object.getPrototypeOf,g=A&&A(A(_([])));g&&g!==t&&r.call(g,i)&&(h=g);var m=f.prototype=d.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var n;this._invoke=function(i,a){function o(){return new t((function(n,o){!function n(i,a,o,s){var c=l(e[i],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(d).then((function(e){u.value=e,o(u)}),(function(e){return n("throw",e,o,s)}))}s(c.arg)}(i,a,n,o)}))}return n=n?n.then(o,o):o()}}function k(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function _(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=m.constructor=f,f.constructor=p,p.displayName=s(f,o,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},v(b.prototype),b.prototype[a]=function(){return this},e.AsyncIterator=b,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new b(c(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},v(m),s(m,o,"Generator"),m[i]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return o.type="throw",o.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;w(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},"970b":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},9752:function(e,t,r){"use strict";e.exports=function(e){function t(){return this.value}function r(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(r){return r instanceof e&&r.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:r},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(r,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,r,void 0,{reason:e},void 0);var t=arguments[1],n=function(){throw t};return this.caught(e,n)},e.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof e&&r.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:r},void 0);var n=arguments[1];n instanceof e&&n.suppressUnhandledRejections();var i=function(){return n};return this.caught(r,i)}}},9796:function(e,t,r){var n=r("8cb0"),i=r("d64c");t.writer=function(e){return"markdown"===(e=e||{}).outputFormat?i.writer():n.writer(e)}},9823:function(e,t,r){var n=r("30cd");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("b6834b7a",n,!0,{sourceMap:!1,shadowMode:!1})},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),a=r("0d3b"),o=r("6eeb"),s=r("e2cc"),c=r("d44e"),l=r("9ed3"),u=r("69f3"),d=r("19aa"),p=r("5135"),f=r("0366"),h=r("f5df"),A=r("825a"),g=r("861d"),m=r("7c73"),v=r("5c6c"),b=r("9a1f"),k=r("35a1"),y=r("b622"),w=i("fetch"),x=i("Headers"),_=y("iterator"),C=u.set,E=u.getterFor("URLSearchParams"),T=u.getterFor("URLSearchParamsIterator"),B=/\+/g,S=Array(4),D=function(e){return S[e-1]||(S[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},U=function(e){try{return decodeURIComponent(e)}catch(t){return e}},F=function(e){var t=e.replace(B," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(D(r--),U);return t}},I=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},O=function(e){return L[e]},M=function(e){return encodeURIComponent(e).replace(I,O)},P=function(e,t){if(t)for(var r,n,i=t.split("&"),a=0;a<i.length;)(r=i[a++]).length&&(n=r.split("="),e.push({key:F(n.shift()),value:F(n.join("="))}))},R=function(e){this.entries.length=0,P(this.entries,e)},N=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=l((function(e,t){C(this,{type:"URLSearchParamsIterator",iterator:b(E(e).entries),kind:t})}),"Iterator",(function(){var e=T(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,"URLSearchParams");var e,t,r,n,i,a,o,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,f=[];if(C(u,{type:"URLSearchParams",entries:f,updateURL:function(){},updateSearchParams:R}),void 0!==l)if(g(l))if("function"==typeof(e=k(l)))for(r=(t=e.call(l)).next;!(n=r.call(t)).done;){if((o=(a=(i=b(A(n.value))).next).call(i)).done||(s=a.call(i)).done||!a.call(i).done)throw TypeError("Expected sequence with length 2");f.push({key:o.value+"",value:s.value+""})}else for(c in l)p(l,c)&&f.push({key:c,value:l[c]+""});else P(f,"string"==typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},j=H.prototype;s(j,{append:function(e,t){N(arguments.length,2);var r=E(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){N(arguments.length,1);for(var t=E(this),r=t.entries,n=e+"",i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){N(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){N(arguments.length,1);for(var t=E(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){N(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){N(arguments.length,1);for(var r,n=E(this),i=n.entries,a=!1,o=e+"",s=t+"",c=0;c<i.length;c++)(r=i[c]).key===o&&(a?i.splice(c--,1):(a=!0,r.value=s));a||i.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=E(this),i=n.entries,a=i.slice();for(i.length=0,r=0;r<a.length;r++){for(e=a[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){for(var t,r=E(this).entries,n=f(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),o(j,_,j.entries),o(j,"toString",(function(){for(var e,t=E(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(M(e.key)+"="+M(e.value));return r.join("&")}),{enumerable:!0}),c(H,"URLSearchParams"),n({global:!0,forced:!a},{URLSearchParams:H}),a||"function"!=typeof w||"function"!=typeof x||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,"URLSearchParams"===h(r)&&((n=t.headers?new x(t.headers):new x).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=m(t,{body:v(0,String(r)),headers:v(0,n)}))),i.push(t)),w.apply(this,i)}}),e.exports={URLSearchParams:H,getState:E}},9911:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a");n({target:"String",proto:!0,forced:r("af03")("link")},{link:function(e){return i(this,"a","href",e)}})},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),a=r("e8b5"),o=r("861d"),s=r("7b0b"),c=r("50c4"),l=r("8418"),u=r("65f0"),d=r("1dde"),p=r("b622"),f=r("2d00"),h=p("isConcatSpreadable"),A=f>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),m=function(e){if(!o(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)};n({target:"Array",proto:!0,forced:!A||!g},{concat:function(e){var t,r,n,i,a,o=s(this),d=u(o,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(m(a=-1===t?o:arguments[t])){if(p+(i=c(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<i;r++,p++)r in a&&l(d,p,a[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(d,p++,a)}return d.length=p,d}})},"9a0c":function(e,t,r){var n=r("342f");e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9a8c":function(e,t,r){"use strict";var n=r("ebb5"),i=r("145e"),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9ad5":function(e,t,r){"use strict";e.exports=function(e,t,n,i){var a=r("6df9"),o=a.tryCatch,s=a.errorObj,c=e._async;e.prototype.break=e.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var r=e._cancellationParent;if(null==r||!r._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=r}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var r=0;r<e.length;++r)this._doInvokeOnCancel(e[r],t);else if(void 0!==e)if("function"==typeof e){if(!t){var n=o(e).call(this._boundValue());n===s&&(this._attachExtraTrace(n.e),c.throwLater(n.e))}}else e._resultCancelled(this)},e.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},e.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},e.prototype._resultCancelled=function(){this.cancel()}}},"9b42":function(e,t,r){r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,i,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw i}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){throw i(e),t}}},"9bf2":function(e,t,r){var n=r("83ab"),i=r("0cfb"),a=r("825a"),o=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(a(e),t=o(t,!0),a(r),i)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9d2f":function(e,t,r){(function(){var t,n={}.hasOwnProperty;t=r("92e7"),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(r)}return function(e,t){for(var r in t)n.call(t,r)&&(e[r]=t[r]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t}(t)}).call(this)},"9d83":function(e,t,r){(function(e){var n=r("c46f"),i=t.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};var a={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function o(e){this._notes=n.indexBy(e,(function(e){return s(e.noteType,e.noteId)}))}function s(e,t){return e+"-"+t}function c(e){return{type:i.break,breakType:e}}o.prototype.resolve=function(e){return this.findNoteByKey(s(e.noteType,e.noteId))},o.prototype.findNoteByKey=function(e){return this._notes[e]||null},t.document=t.Document=function(e,t){return{type:i.document,children:e,notes:(t=t||{}).notes||new o({}),comments:t.comments||[]}},t.paragraph=t.Paragraph=function(e,t){var r=(t=t||{}).indent||{};return{type:i.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:r.start||null,end:r.end||null,firstLine:r.firstLine||null,hanging:r.hanging||null}}},t.run=t.Run=function(e,t){return{type:i.run,children:e,styleId:(t=t||{}).styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||a.baseline,font:t.font||null,fontSize:t.fontSize||null}},t.text=t.Text=function(e){return{type:i.text,value:e}},t.tab=t.Tab=function(){return{type:i.tab}},t.Hyperlink=function(e,t){return{type:i.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}},t.noteReference=t.NoteReference=function(e){return{type:i.noteReference,noteType:e.noteType,noteId:e.noteId}},t.Notes=o,t.Note=function(e){return{type:i.note,noteType:e.noteType,noteId:e.noteId,body:e.body}},t.commentReference=function(e){return{type:i.commentReference,commentId:e.commentId}},t.comment=function(e){return{type:i.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}},t.Image=function(t){return{type:i.image,read:function(r){return r?t.readImage(r):t.readImage().then((function(t){return e.from(t)}))},readAsArrayBuffer:function(){return t.readImage()},readAsBase64String:function(){return t.readImage("base64")},readAsBuffer:function(){return t.readImage().then((function(t){return e.from(t)}))},altText:t.altText,contentType:t.contentType}},t.Table=function(e,t){return{type:i.table,children:e,styleId:(t=t||{}).styleId||null,styleName:t.styleName||null}},t.TableRow=function(e,t){return{type:i.tableRow,children:e,isHeader:(t=t||{}).isHeader||!1}},t.TableCell=function(e,t){return{type:i.tableCell,children:e,colSpan:null==(t=t||{}).colSpan?1:t.colSpan,rowSpan:null==t.rowSpan?1:t.rowSpan}},t.lineBreak=c("line"),t.pageBreak=c("page"),t.columnBreak=c("column"),t.BookmarkStart=function(e){return{type:i.bookmarkStart,name:e.name}},t.verticalAlignment=a}).call(this,r("b639").Buffer)},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),a=r("5c6c"),o=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=i(n,{next:a(1,r)}),o(e,l,!1,!0),s[l]=c,e}},"9f7f":function(e,t,r){"use strict";var n=r("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a078:function(e,t,r){var n=r("7b0b"),i=r("50c4"),a=r("35a1"),o=r("e95a"),s=r("0366"),c=r("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,r,l,u,d,p,f=n(e),h=arguments.length,A=h>1?arguments[1]:void 0,g=void 0!==A,m=a(f);if(null!=m&&!o(m))for(p=(d=m.call(f)).next,f=[];!(u=p.call(d)).done;)f.push(u.value);for(g&&h>2&&(A=s(A,arguments[2],2)),r=i(f.length),l=new(c(this))(r),t=0;r>t;t++)l[t]=g?A(f[t],t):f[t];return l}},a11b:function(e,t,r){var n;e.exports=(n=r("21bf"),r("38ba"),n.pad.Iso10126={pad:function(e,t){var r=4*t,i=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("44ad"),a=r("fc6a"),o=r("a640"),s=[].join,c=i!=Object,l=o("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},a30b:function(e,t,r){(t=r("24fb")(!1)).push([e.i,'.kb-chat-root[data-v-5fdf0dc5]{flex:1;display:flex;flex-direction:row;min-width:0;min-height:0}.kb-chat-root[data-v-5fdf0dc5],.kb-chat-root *[data-v-5fdf0dc5],.kb-chat-root[data-v-5fdf0dc5] :after,.kb-chat-root[data-v-5fdf0dc5] :before{font-size:14px!important}.kb-chat-sidebar[data-v-5fdf0dc5]{width:clamp(240px,20vw,280px);flex-shrink:0;display:flex;flex-direction:column;background:#f7f8fa;border-right:1px solid #e8e8e8;transition:width .2s ease;overflow:hidden}.kb-chat-sidebar.collapsed[data-v-5fdf0dc5]{width:0;border-right:none}.sidebar-header[data-v-5fdf0dc5]{justify-content:space-between;padding:14px 12px 10px;flex-shrink:0}.sidebar-header[data-v-5fdf0dc5],.sidebar-title[data-v-5fdf0dc5]{display:flex;align-items:center}.sidebar-title[data-v-5fdf0dc5]{gap:6px;font-size:16px!important;font-weight:600;color:#333;white-space:nowrap}.kb-sidebar-back-btn[data-v-5fdf0dc5]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;margin-right:4px;border:none;border-radius:10px;background:transparent;color:#333;cursor:pointer;flex-shrink:0;transition:background .2s}.kb-sidebar-back-btn svg[data-v-5fdf0dc5]{display:block}.kb-sidebar-back-btn[data-v-5fdf0dc5]:active{background:#f0f2f5}.kb-chat-root.is-mobile .sidebar-header[data-v-5fdf0dc5]{justify-content:flex-start}.kb-chat-root.is-mobile .sidebar-header .new-chat-btn[data-v-5fdf0dc5]{margin-left:auto}.sidebar-title[data-v-5fdf0dc5]:before{content:"";flex-shrink:0;width:4px;height:16px;border-radius:2px;background:linear-gradient(180deg,#409eff,#79bbff)}.new-chat-btn[data-v-5fdf0dc5]{width:30px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#909399;cursor:pointer;padding:0;font-size:32px!important;transition:all .2s}.new-chat-btn[data-v-5fdf0dc5]:hover{background:transparent;color:#409eff}.new-chat-btn[data-v-5fdf0dc5]:disabled{cursor:not-allowed;opacity:.45}.new-chat-btn[data-v-5fdf0dc5]:disabled:hover{color:#909399}.new-chat-btn i[data-v-5fdf0dc5]:before{font-size:21px!important}.sidebar-list[data-v-5fdf0dc5]{flex:1;overflow-y:auto;padding:0 8px 12px}.session-item[data-v-5fdf0dc5]{display:flex;align-items:center;gap:8px;padding:10px 10px;border-radius:8px;cursor:pointer;transition:background .2s;margin-bottom:2px}.session-item[data-v-5fdf0dc5]:hover{background:#eef1f5}.session-item.active[data-v-5fdf0dc5]{background:#e6f0ff}.session-item.is-locked[data-v-5fdf0dc5]{cursor:not-allowed}.session-item.is-locked[data-v-5fdf0dc5]:hover{background:transparent}.session-item.is-locked.active[data-v-5fdf0dc5]:hover{background:#e6f0ff}.session-item.is-locked .session-more-menu[data-v-5fdf0dc5]{display:none}.session-item-main[data-v-5fdf0dc5]{flex:1;min-width:0}.session-item-title[data-v-5fdf0dc5]{font-size:14px;color:#333;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-item.active .session-item-title[data-v-5fdf0dc5]{color:#1677ff;font-weight:600}.session-item-sub[data-v-5fdf0dc5]{font-size:12px;color:#999;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-item-right[data-v-5fdf0dc5]{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.session-item-time[data-v-5fdf0dc5]{font-size:11px;color:#bbb;white-space:nowrap}.session-more-menu[data-v-5fdf0dc5]{display:none;line-height:1;position:absolute;top:0;right:0}.session-item:hover .session-more-menu[data-v-5fdf0dc5]{display:block}.session-item:hover .session-item-time[data-v-5fdf0dc5]{visibility:hidden}.session-more-btn[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;color:#999;cursor:pointer;transition:all .2s}.session-more-btn[data-v-5fdf0dc5]:hover{color:#1677ff;background:#eef4ff}.sidebar-empty[data-v-5fdf0dc5]{padding:30px 10px;text-align:center;font-size:13px;color:#bbb}.kb-chat-main[data-v-5fdf0dc5]{flex:1;min-width:0;position:relative;display:flex;flex-direction:column}.kb-no-doc-mask[data-v-5fdf0dc5]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;justify-content:center;padding:24px;background:hsla(0,0%,100%,.5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.kb-no-doc-box[data-v-5fdf0dc5],.kb-no-doc-mask[data-v-5fdf0dc5]{display:flex;align-items:center}.kb-no-doc-box[data-v-5fdf0dc5]{position:relative;flex-direction:column;gap:26px;max-width:560px;padding:64px 76px;background:hsla(0,0%,100%,.94);border:1px solid hsla(0,0%,100%,.9);border-radius:24px;box-shadow:0 16px 48px rgba(31,45,61,.14),0 2px 8px rgba(31,45,61,.04);text-align:center;overflow:hidden;-webkit-animation:kb-no-doc-in-data-v-5fdf0dc5 .2s ease-out;animation:kb-no-doc-in-data-v-5fdf0dc5 .2s ease-out}.kb-no-doc-box[data-v-5fdf0dc5]:before{content:"";position:absolute;top:-80px;left:50%;width:280px;height:190px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(245,108,108,.18),rgba(245,108,108,0));pointer-events:none}.kb-no-doc-icon[data-v-5fdf0dc5]{position:relative;width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff9f9f,#ef5a5a);border:none;color:#fff;font-size:32px!important;box-shadow:0 0 0 8px rgba(239,90,90,.08),0 10px 24px rgba(239,90,90,.3)}.kb-no-doc-icon[data-v-5fdf0dc5] :before{font-size:28px!important}.kb-no-doc-text[data-v-5fdf0dc5]{font-size:16px!important;line-height:1.6;letter-spacing:.2px;color:#606266}@-webkit-keyframes kb-no-doc-in-data-v-5fdf0dc5{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes kb-no-doc-in-data-v-5fdf0dc5{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chat-header[data-v-5fdf0dc5]{justify-content:space-between;padding:10px 20px;border-bottom:1px solid #e8e8e8;z-index:10}.chat-header[data-v-5fdf0dc5],.sidebar-toggle-btn[data-v-5fdf0dc5]{display:flex;align-items:center;background:#fff;flex-shrink:0}.sidebar-toggle-btn[data-v-5fdf0dc5]{position:absolute;left:0;top:50%;transform:translateY(-50%);width:20px;height:64px;z-index:20;justify-content:center;border:none;color:#606266;border:1px solid #dcdfe6;border-left:none;border-radius:0 8px 8px 0;box-shadow:2px 0 8px rgba(0,0,0,.08);cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}.sidebar-toggle-btn[data-v-5fdf0dc5]:hover{background:#ecf5ff;color:#409eff;box-shadow:2px 0 10px rgba(64,158,255,.25)}.sidebar-toggle-btn svg[data-v-5fdf0dc5]{transition:transform .35s cubic-bezier(.4,0,.2,1);transform:rotate(0deg)}.sidebar-toggle-btn.collapsed svg[data-v-5fdf0dc5]{transform:rotate(180deg)}@-webkit-keyframes toggle-bounce-data-v-5fdf0dc5{0%{transform:rotate(0deg) translateX(0)}60%{transform:rotate(0deg) translateX(-3px)}to{transform:rotate(0deg) translateX(0)}}@keyframes toggle-bounce-data-v-5fdf0dc5{0%{transform:rotate(0deg) translateX(0)}60%{transform:rotate(0deg) translateX(-3px)}to{transform:rotate(0deg) translateX(0)}}.sidebar-toggle-btn:active svg[data-v-5fdf0dc5]{-webkit-animation:toggle-bounce-data-v-5fdf0dc5 .3s ease;animation:toggle-bounce-data-v-5fdf0dc5 .3s ease}.header-left[data-v-5fdf0dc5]{min-width:0;flex:1}.agent-info[data-v-5fdf0dc5],.header-left[data-v-5fdf0dc5]{display:flex;align-items:center;gap:10px}.agent-avatar[data-v-5fdf0dc5]{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff}.avatar-image[data-v-5fdf0dc5]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.agent-text[data-v-5fdf0dc5]{min-width:0}.agent-name[data-v-5fdf0dc5]{font-size:15px;font-weight:600;color:#333;line-height:1.3}.agent-desc[data-v-5fdf0dc5]{font-size:12px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(300px,45vw)}.chat-body[data-v-5fdf0dc5]{flex:1;overflow-y:auto;padding:16px clamp(12px,3vw,40px);scroll-behavior:auto;position:relative;-webkit-overflow-scrolling:touch;background:url(https://qiguanbang.obs.cn-east-3.myhuaweicloud.com/production/image/AlAgent/agentbackground.png) 100% no-repeat;background-size:cover;background-position:50%;min-height:0}.welcome[data-v-5fdf0dc5]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#bbb;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 -20px}.welcome-icon[data-v-5fdf0dc5]{margin-bottom:12px;opacity:.7}.welcome-title[data-v-5fdf0dc5]{font-size:20px;font-weight:600;color:#333;margin-bottom:8px}.welcome-text[data-v-5fdf0dc5]{font-size:15px;color:#bbb}@-webkit-keyframes pulse-data-v-5fdf0dc5{0%,to{opacity:1}50%{opacity:.4}}@keyframes pulse-data-v-5fdf0dc5{0%,to{opacity:1}50%{opacity:.4}}.chat-empty-welcome[data-v-5fdf0dc5]{width:100%;padding:40px 20px;box-sizing:border-box;display:flex;flex-direction:column;gap:0;max-width:600px;margin:80px auto}.welcome-card[data-v-5fdf0dc5]{position:relative;background:linear-gradient(296deg,#d6edff 20%,#e8ebff 80%);border-radius:16px 16px 0 0;padding:24px 24px 24px 150px;overflow:visible}.welcome-avatar-box[data-v-5fdf0dc5]{position:absolute;left:15px;bottom:0;width:110px;height:137px}.welcome-avatar[data-v-5fdf0dc5]{width:100%;height:100%;border-radius:12px;background-size:cover;background-position:50%;background-repeat:no-repeat}.welcome-text-group[data-v-5fdf0dc5]{display:flex;flex-direction:column;gap:6px}.welcome-text-group .text-sm[data-v-5fdf0dc5]{font-weight:400;color:#666;font-size:12px;text-align:left}.welcome-text-group .text-lg[data-v-5fdf0dc5]{color:#000;font-size:16px;font-weight:500}.guess-box[data-v-5fdf0dc5]{border-top:1px solid #fff;padding:20px;background:linear-gradient(180deg,#b8dcff,#dff0ff 50%,#fff);border-radius:0 0 16px 16px}.guess-title[data-v-5fdf0dc5]{display:flex;align-items:center;gap:6px;margin-bottom:16px;color:#222;font-size:16px;font-weight:500}.tag-wrap[data-v-5fdf0dc5]{display:flex;flex-wrap:wrap;gap:10px}.quick-tag[data-v-5fdf0dc5]{padding:8px 14px;background:#f2faff;border:1px solid #e0eaff;border-radius:8px;color:#333;cursor:pointer;font-size:14px;white-space:nowrap;transition:all .2s}.quick-tag[data-v-5fdf0dc5]:hover{background:#f0f7ff;border-color:#1677ff}.thinking-details[data-v-5fdf0dc5]{margin-bottom:10px;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;background:#fafafa}.thinking-summary[data-v-5fdf0dc5]{font-size:12px;color:#888;cursor:pointer;padding:6px 10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.thinking-summary[data-v-5fdf0dc5]:hover{color:#1677ff}.thinking-body[data-v-5fdf0dc5]{font-size:14px;color:#999;padding:8px 12px;line-height:1.6;border-top:1px solid #f0f0f0;text-align:left;white-space:pre-wrap}.final-content[data-v-5fdf0dc5],.thinking-body[data-v-5fdf0dc5]{word-break:break-word;overflow-wrap:break-word;overflow-wrap:anywhere}.final-content[data-v-5fdf0dc5]{white-space:normal;font-size:16px;line-height:1.7}.final-content[data-v-5fdf0dc5] h1,.final-content[data-v-5fdf0dc5] h2,.final-content[data-v-5fdf0dc5] h3,.final-content[data-v-5fdf0dc5] h4,.final-content[data-v-5fdf0dc5] h5,.final-content[data-v-5fdf0dc5] h6{margin:12px 0 6px;font-weight:600;line-height:1.5}.final-content[data-v-5fdf0dc5] h1{font-size:24px}.final-content[data-v-5fdf0dc5] h2{font-size:20px}.final-content[data-v-5fdf0dc5] h3{font-size:18px}.final-content[data-v-5fdf0dc5] h4,.final-content[data-v-5fdf0dc5] h5,.final-content[data-v-5fdf0dc5] h6{font-size:16px}.final-content[data-v-5fdf0dc5] strong{font-weight:700}.final-content[data-v-5fdf0dc5] em{font-style:italic}.final-content[data-v-5fdf0dc5] blockquote{margin:8px 0;padding:4px 12px;border-left:3px solid #b3d8ff;color:#666;background:#f6f8fa}.final-content[data-v-5fdf0dc5] a{color:#1677ff}.final-content[data-v-5fdf0dc5] p{margin:6px 0}.final-content[data-v-5fdf0dc5] ol,.final-content[data-v-5fdf0dc5] ul{padding-left:20px;margin:4px 0}.final-content[data-v-5fdf0dc5] li{margin:2px 0}.final-content[data-v-5fdf0dc5] table{border-collapse:collapse;width:100%;margin:6px 0;font-size:14px}.final-content[data-v-5fdf0dc5] td,.final-content[data-v-5fdf0dc5] th{border:1px solid #e8e8e8;padding:5px 8px;text-align:left}.final-content[data-v-5fdf0dc5] th{background:#fafafa;font-weight:600}.final-content[data-v-5fdf0dc5] code{padding:1px 5px;border-radius:3px;font-size:14px}.final-content[data-v-5fdf0dc5] pre{background:#f6f8fa;color:#333;padding:12px;border-radius:6px;overflow-x:auto;font-size:13px;border:1px solid #e8e8e8;margin:8px 0;line-height:1.5;white-space:pre}.final-content[data-v-5fdf0dc5] pre code{padding:0;font-size:inherit}.msg-row[data-v-5fdf0dc5]{width:100%;display:flex;justify-content:center;padding:20px 16px;box-sizing:border-box;align-items:center}.msg-main[data-v-5fdf0dc5]{display:flex;align-items:flex-start;gap:10px;width:min(100%,860px)!important;max-width:860px}.msg-row.user .msg-main[data-v-5fdf0dc5]{flex-direction:row-reverse}.msg-row.assistant .msg-main[data-v-5fdf0dc5]{flex-direction:row}.message-avatar[data-v-5fdf0dc5]{width:36px;height:36px;border-radius:50%;flex-shrink:0;-o-object-fit:cover;object-fit:cover}.user-text-avatar[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;background:#007fff;color:#fff;font-size:12px;line-height:1}.msg-content[data-v-5fdf0dc5]{width:100%!important;max-width:100%;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column}.msg-row.user .msg-content[data-v-5fdf0dc5]{align-items:flex-end}.msg-row.assistant .msg-content[data-v-5fdf0dc5]{align-items:flex-start}.bubble[data-v-5fdf0dc5]{max-width:100%;min-width:30px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px 14px;border-radius:12px;line-height:1.4;font-size:15px;word-break:break-word;white-space:normal;text-align:left;overflow-wrap:anywhere}.bubble.assistant[data-v-5fdf0dc5]{background:#fff;color:#333;border-bottom-left-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);width:100%;box-sizing:border-box}.bubble.user[data-v-5fdf0dc5]{background:#1677ff;color:#fff;border-bottom-right-radius:4px;box-shadow:0 2px 8px rgba(22,119,255,.15);float:none;margin-left:auto;max-width:min(100%,520px)}.tool-calls[data-v-5fdf0dc5]{margin-top:8px}.tool-item[data-v-5fdf0dc5]{background:#f5f5f5;border-radius:6px;padding:6px 10px;margin-bottom:4px;font-size:12px}.tool-badge[data-v-5fdf0dc5]{display:inline-block;margin-bottom:2px;font-size:11px;color:#fa8c16;font-weight:500}.tool-item pre[data-v-5fdf0dc5]{margin:0;white-space:pre-wrap;word-break:break-all;font-size:12px;color:#666;max-height:120px;overflow-y:auto}.msg-actions[data-v-5fdf0dc5]{display:flex;gap:4px;margin-top:4px;padding-left:4px;align-items:center;justify-content:space-between}.action-btn[data-v-5fdf0dc5]{font-size:12px;color:#999;cursor:pointer;padding:2px 6px 2px 0;border-radius:4px;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.action-btn[data-v-5fdf0dc5]:hover{color:#1677ff;background:#f0f5ff}.ai-badge[data-v-5fdf0dc5]{font-size:11px;color:#999;padding:1px 6px;border-radius:3px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-left:auto}.typing[data-v-5fdf0dc5]{display:flex;align-items:center;gap:6px;padding:4px 0}.phrase[data-v-5fdf0dc5]{font-size:14px;color:#999}.dots[data-v-5fdf0dc5]{display:flex;align-items:center;gap:3px}.dots span[data-v-5fdf0dc5]{width:6px;height:6px;border-radius:50%;background:#bbb;display:inline-block;-webkit-animation:dot-bounce-data-v-5fdf0dc5 1.4s ease-in-out infinite both;animation:dot-bounce-data-v-5fdf0dc5 1.4s ease-in-out infinite both}.dots span[data-v-5fdf0dc5]:first-child{-webkit-animation-delay:-.32s;animation-delay:-.32s}.dots span[data-v-5fdf0dc5]:nth-child(2){-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes dot-bounce-data-v-5fdf0dc5{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes dot-bounce-data-v-5fdf0dc5{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.chat-footer[data-v-5fdf0dc5]{flex-shrink:0;border-top:none;padding:30px 0;display:flex;align-items:center;justify-content:center;margin:0 auto;width:100%}.input-area[data-v-5fdf0dc5]{position:relative;display:flex;align-items:flex-end;gap:6px;background:#fff;border-radius:24px;margin:0 24px;padding:18px 20px;border:1px solid #b3d8ff;transition:border-color .2s;flex-wrap:wrap;width:min(100%,1000px)!important;box-sizing:border-box}.input-area[data-v-5fdf0dc5]:focus-within{border-color:#1677ff;background:#fff;box-shadow:none}.input-area[data-v-5fdf0dc5]:after{content:"Enter 发送,Ctrl+Enter 换行";position:absolute;right:100px;bottom:28px;font-size:14px;color:#8c8c8c;pointer-events:none}.chat-textarea[data-v-5fdf0dc5]{flex:1 1 320px;min-width:0;border:none;outline:none;background:transparent;resize:none;font-size:16px;line-height:24px;min-height:38px;height:100px;max-height:180px;overflow-y:auto;padding:0;box-sizing:border-box;font-family:inherit;color:#333}.chat-textarea[data-v-5fdf0dc5]::-moz-placeholder{color:#999;font-size:16px}.chat-textarea[data-v-5fdf0dc5]:-ms-input-placeholder{color:#999;font-size:16px}.chat-textarea[data-v-5fdf0dc5]::placeholder{color:#999;font-size:16px}.chat-textarea[data-v-5fdf0dc5]:disabled{cursor:not-allowed;opacity:.5}.send-btn[data-v-5fdf0dc5]{width:auto;height:40px;padding:0 21px;border-radius:6px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .2s;background:#1677ff;color:#fff;font-size:14px}.send-btn svg[data-v-5fdf0dc5]{display:none}.send-btn[data-v-5fdf0dc5]:after{content:"发送"}.send-btn.active[data-v-5fdf0dc5]{background:#1677ff}.send-btn.active[data-v-5fdf0dc5]:hover{background:#4096ff}.send-btn[data-v-5fdf0dc5]:disabled{background:#88bfff;cursor:not-allowed}.stop-btn[data-v-5fdf0dc5]{width:35px;height:35px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#ff4d4f;color:#fff;flex-shrink:0;transition:all .2s}.stop-btn[data-v-5fdf0dc5]:hover{background:#ff7875}.kb-chat-root.is-mobile[data-v-5fdf0dc5]{position:relative;display:block;width:100%;max-width:100%;height:100%;overflow:hidden}.kb-chat-root.is-mobile .kb-chat-sidebar[data-v-5fdf0dc5]{position:absolute;top:0;bottom:0;left:0;width:100%;border-right:none;z-index:5;background:#fff}.kb-chat-root.is-mobile:not(.h5-list-mode) .kb-chat-sidebar[data-v-5fdf0dc5]{transform:translateX(-100%)}.kb-chat-root.is-mobile .kb-chat-main[data-v-5fdf0dc5]{width:100%;max-width:100%;height:100%;overflow:hidden}.kb-chat-root.is-mobile .chat-footer[data-v-5fdf0dc5]{padding:10px 0 calc(10px + env(safe-area-inset-bottom))}.kb-chat-root.is-mobile .input-area[data-v-5fdf0dc5]{margin:0 10px;padding:6px 6px 6px 16px;width:calc(100% - 20px)!important;gap:8px;background:#f5f6f8;border:1px solid transparent;border-radius:22px;transition:background .2s,border-color .2s,box-shadow .2s}.kb-chat-root.is-mobile .input-area[data-v-5fdf0dc5]:focus-within{background:#fff;border-color:#1677ff;box-shadow:0 2px 12px rgba(22,119,255,.12)}.kb-chat-root.is-mobile .input-area[data-v-5fdf0dc5]:after{display:none}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]{flex:1 1 auto;height:38px;min-height:38px;max-height:120px;padding:7px 0;line-height:24px}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]::-moz-placeholder{color:#b8bcc4}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]:-ms-input-placeholder{color:#b8bcc4}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]::placeholder{color:#b8bcc4}.kb-chat-root.is-mobile .send-btn[data-v-5fdf0dc5]{width:36px;height:36px;padding:0;border-radius:50%}.kb-chat-root.is-mobile .send-btn svg[data-v-5fdf0dc5]{display:block}.kb-chat-root.is-mobile .send-btn[data-v-5fdf0dc5]:after{content:none}.kb-chat-root.is-mobile .send-btn.active[data-v-5fdf0dc5]:active{background:#0f66e0}.kb-chat-root.is-mobile .send-btn[data-v-5fdf0dc5]:disabled{background:#d3dce9}.kb-chat-root.is-mobile .stop-btn[data-v-5fdf0dc5]{width:36px;height:36px}.kb-chat-root.is-mobile.h5-list-mode .kb-chat-main[data-v-5fdf0dc5]{display:none}.kb-m-chat-back[data-v-5fdf0dc5]{position:absolute;top:10px;left:10px;z-index:20;width:36px;height:36px;border:1px solid #e8e8e8;background:#f5f6f8;color:#303133;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;box-shadow:0 1px 4px rgba(0,0,0,.08)}.kb-m-chat-back[data-v-5fdf0dc5]:active{background:#e8eaed}.kb-chat-root.is-mobile:not(.h5-list-mode) .chat-header[data-v-5fdf0dc5]{padding-left:56px}.kb-m-guide-mask[data-v-5fdf0dc5]{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:28px}.kb-m-guide-line[data-v-5fdf0dc5]{width:1px;height:22px;background:linear-gradient(180deg,rgba(22,119,255,0),rgba(22,119,255,.45))}.kb-m-guide-tip[data-v-5fdf0dc5]{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:8px 14px;border-radius:18px;background:rgba(22,119,255,.08);border:1px dashed rgba(22,119,255,.35);color:#1677ff;font-size:12px;line-height:1.5;-webkit-animation:kbGuideBreath-data-v-5fdf0dc5 2s ease-in-out infinite;animation:kbGuideBreath-data-v-5fdf0dc5 2s ease-in-out infinite}.kb-m-guide-tip svg[data-v-5fdf0dc5]{flex-shrink:0}@-webkit-keyframes kbGuideBreath-data-v-5fdf0dc5{0%,to{opacity:.72}50%{opacity:1}}@keyframes kbGuideBreath-data-v-5fdf0dc5{0%,to{opacity:.72}50%{opacity:1}}.kb-no-doc-mobile-tip[data-v-5fdf0dc5]{display:inline-flex;align-items:center;gap:6px;margin-top:14px;padding:8px 14px;border-radius:10px;background:#f5f7fa;color:#909399;font-size:12px;line-height:1.5}.kb-no-doc-mobile-tip svg[data-v-5fdf0dc5]{flex-shrink:0;color:#1677ff}.kb-chat-root.is-mobile .kb-no-doc-mask[data-v-5fdf0dc5]{top:57px;z-index:9;padding:16px}.kb-chat-root.is-mobile .chat-empty-welcome[data-v-5fdf0dc5]{margin:24px auto;padding:16px 14px}.kb-chat-root.is-mobile .welcome-card[data-v-5fdf0dc5]{padding:18px 16px 18px 118px;border-radius:14px 14px 0 0}.kb-chat-root.is-mobile .welcome-avatar-box[data-v-5fdf0dc5]{left:8px;width:96px;height:120px}.kb-chat-root.is-mobile .kb-no-doc-box[data-v-5fdf0dc5]{gap:16px;max-width:100%;padding:36px 24px;border-radius:18px}.kb-chat-root.is-mobile .kb-no-doc-icon[data-v-5fdf0dc5]{width:60px;height:60px}.kb-chat-root.is-mobile .kb-no-doc-text[data-v-5fdf0dc5]{font-size:14px!important}.session-more-btn--m[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;border:none;background:transparent;color:#909399;cursor:pointer}.kb-m-actionsheet[data-v-5fdf0dc5]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.35);-webkit-animation:kb-m-fade-data-v-5fdf0dc5 .15s ease-out;animation:kb-m-fade-data-v-5fdf0dc5 .15s ease-out}.kb-m-actionsheet-box[data-v-5fdf0dc5]{width:100%;max-width:520px;box-sizing:border-box;padding:8px;background:#f2f3f5;border-radius:12px 12px 0 0}.kb-m-actionsheet-title[data-v-5fdf0dc5]{padding:12px 14px;font-size:13px;color:#909399;text-align:center;word-break:break-all}.kb-m-actionsheet-item[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;gap:6px;height:50px;background:#fff;border-radius:8px;font-size:16px;color:#303133;margin-bottom:8px}.kb-m-actionsheet-item.danger[data-v-5fdf0dc5]{color:#ff4d4f}.kb-m-actionsheet-item[data-v-5fdf0dc5]:active{background:#f5f6f8}.kb-m-actionsheet-cancel[data-v-5fdf0dc5]{height:50px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;font-size:16px;color:#303133}.kb-m-actionsheet-cancel[data-v-5fdf0dc5]:active{background:#f5f6f8}@-webkit-keyframes kb-m-fade-data-v-5fdf0dc5{0%{opacity:0}to{opacity:1}}@keyframes kb-m-fade-data-v-5fdf0dc5{0%{opacity:0}to{opacity:1}}',""]),e.exports=t},a40e:function(e,t,r){var n;e.exports=(n=r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"),function(){var e=n,t=e.lib,r=t.WordArray,i=t.BlockCipher,a=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=o[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],a=0;a<16;a++){var l=i[a]=[],u=c[a];for(r=0;r<24;r++)l[r/6|0]|=t[(s[r]-1+u)%28]<<31-r%6,l[4+(r/6|0)]|=t[28+(s[r+24]-1+u)%28]<<31-r%6;for(l[0]=l[0]<<1|l[0]>>>31,r=1;r<7;r++)l[r]=l[r]>>>4*(r-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),p.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],a=this._lBlock,o=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((o^i[c])&u[c])>>>0];this._lBlock=o,this._rBlock=a^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,p.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function f(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}e.DES=i._createHelper(d);var h=a.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(r.create(t)),this._des2=d.createEncryptor(r.create(n)),this._des3=d.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(h)}(),n.TripleDES)},a41f:function(e,t,r){"use strict";var n=r("6536");function i(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const l={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp(`^\\/\\/${r.re.src_auth}${r.re.src_host_port_strict}${r.re.src_path}`,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+`(?:localhost|(?:(?:${r.re.src_domain})\\.)+${r.re.src_domain_root})`+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp(`^${r.re.src_email_name}@${r.re.src_host_strict}`,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function d(e){const t=e.re=function(e){const t={};return e=e||{},t.src_Any=n.Any.source,t.src_Cc=n.Cc.source,t.src_Z=n.Z.source,t.src_P=n.P.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter=`(?:(?![><|]|${t.src_ZPCc})${t.src_Any})`,t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator=`(?=$|[><|]|${t.src_ZPCc})(?!${e["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|[><|]|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${t.src_ZCc}|$)|`+`;(?!${t.src_ZCc}|$)|`+`\\!+(?!${t.src_ZCc}|[!]|$)|`+`\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|"+`(?:${t.src_pseudo_letter})|`+`(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy="(?:"+t.src_ip4+"|"+`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|[><|]|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}(e.__opts__),r=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(i(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(i(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(i(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");const c=[];function l(e,t){throw new Error(`(LinkifyIt) Invalid schema "${e}": ${t}`)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const r=e.__schemas__[t];if(null===r)return;const n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===a(r))return!function(e){return"[object RegExp]"===a(e)}(r.validate)?o(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(o(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(r)?l(t,r):c.push(t)})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${u})`,"i"),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${u})`,"ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,"i")}function p(e,t,r,n){const i=e.slice(r,n);this.schema=t.toLowerCase(),this.index=r,this.lastIndex=n,this.raw=i,this.text=i,this.url=i}function f(e,t){if(!(this instanceof f))return new f(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=i({},c,t),this.__schemas__=i({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},d(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},f.prototype.set=function(e){return this.__opts__=i(this.__opts__,e),this},f.prototype.test=function(e){if(!e.length)return!1;let t,r;if(this.re.schema_test.test(e))for(r=this.re.schema_search,r.lastIndex=0;null!==(t=r.exec(e));)if(this.testSchemaAt(e,t[2],r.lastIndex))return!0;return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&e.search(this.re.host_fuzzy_test)>=0&&null!==e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))||!!(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==e.match(this.re.email_fuzzy))},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){const t=[],r=[],n=[],i=[];let a,o,s;function c(e,t){return e?t?e.index!==t.index?e.index<t.index?e:t:e.lastIndex>=t.lastIndex?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(a=s.exec(e));)o=this.testSchemaAt(e,a[2],s.lastIndex),o&&r.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;null!==(a=s.exec(e));)n.push({schema:"",index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(s=this.re.email_fuzzy_global,s.lastIndex=0;null!==(a=s.exec(e));)i.push({schema:"mailto:",index:a.index+a[1].length,lastIndex:a.index+a[0].length});const l=[0,0,0];let u=0;for(;;){const a=[r[l[0]],i[l[1]],n[l[2]]],o=c(c(a[0],a[1]),a[2]);if(!o)break;if(o===a[0]?l[0]++:o===a[1]?l[1]++:l[2]++,o.index<u)continue;const s=new p(e,o.schema,o.index,o.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=o.lastIndex}return t.length?t:null},f.prototype.matchAtStart=function(e){if(!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);if(!r)return null;const n=new p(e,t[2],t.index+t[1].length,t.index+t[0].length+r);return this.__compiled__[n.schema].normalize(n,this),n},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),d(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,d(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("23cb"),a=r("a691"),o=r("50c4"),s=r("7b0b"),c=r("65f0"),l=r("8418"),u=r("1dde")("splice"),d=Math.max,p=Math.min;n({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var r,n,u,f,h,A,g=s(this),m=o(g.length),v=i(e,m),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=m-v):(r=b-2,n=p(d(a(t),0),m-v)),m+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(g,n),f=0;f<n;f++)(h=v+f)in g&&l(u,f,g[h]);if(u.length=n,r<n){for(f=v;f<m-n;f++)A=f+r,(h=f+n)in g?g[A]=g[h]:delete g[A];for(f=m;f>m-n+r;f--)delete g[f-1]}else if(r>n)for(f=m-n;f>v;f--)A=f+r-1,(h=f+n-1)in g?g[A]=g[h]:delete g[A];for(f=0;f<r;f++)g[f+v]=arguments[f+2];return g.length=m-n+r,u}})},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4b6:function(e,t){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var r,n,i,a,o,s,c,l,u;for(r in e||(e={}),this.pretty=e.pretty||!1,this.allowEmpty=null!=(n=e.allowEmpty)&&n,this.pretty?(this.indent=null!=(i=e.indent)?i:" ",this.newline=null!=(a=e.newline)?a:"\n",this.offset=null!=(o=e.offset)?o:0,this.dontprettytextnodes=null!=(s=e.dontprettytextnodes)?s:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(c=e.spacebeforeslash)?c:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=e.writer||{})t.call(l,r)&&(u=l[r],this[r]=u)}return e.prototype.set=function(e){var r,n,i;for(r in e||(e={}),"pretty"in e&&(this.pretty=e.pretty),"allowEmpty"in e&&(this.allowEmpty=e.allowEmpty),this.pretty?(this.indent="indent"in e?e.indent:" ",this.newline="newline"in e?e.newline:"\n",this.offset="offset"in e?e.offset:0,this.dontprettytextnodes="dontprettytextnodes"in e?e.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in e?e.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,n=e.writer||{})t.call(n,r)&&(i=n[r],this[r]=i);return this},e.prototype.space=function(e){var t;return this.pretty&&(t=(e||0)+this.offset+1)>0?new Array(t).join(this.indent):""},e}()}).call(this)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("d066"),o=r("c430"),s=r("83ab"),c=r("4930"),l=r("fdbf"),u=r("d039"),d=r("5135"),p=r("e8b5"),f=r("861d"),h=r("825a"),A=r("7b0b"),g=r("fc6a"),m=r("c04e"),v=r("5c6c"),b=r("7c73"),k=r("df75"),y=r("241c"),w=r("057f"),x=r("7418"),_=r("06cf"),C=r("9bf2"),E=r("d1e7"),T=r("9112"),B=r("6eeb"),S=r("5692"),D=r("f772"),U=r("d012"),F=r("90e3"),I=r("b622"),L=r("e538"),O=r("746f"),M=r("d44e"),P=r("69f3"),R=r("b727").forEach,N=D("hidden"),z=I("toPrimitive"),H=P.set,j=P.getterFor("Symbol"),Q=Object.prototype,q=i.Symbol,W=a("JSON","stringify"),K=_.f,V=C.f,G=w.f,Y=E.f,X=S("symbols"),$=S("op-symbols"),Z=S("string-to-symbol-registry"),J=S("symbol-to-string-registry"),ee=S("wks"),te=i.QObject,re=!te||!te.prototype||!te.prototype.findChild,ne=s&&u((function(){return 7!=b(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(Q,t);n&&delete Q[t],V(e,t,r),n&&e!==Q&&V(Q,t,n)}:V,ie=function(e,t){var r=X[e]=b(q.prototype);return H(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},ae=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},oe=function(e,t,r){e===Q&&oe($,t,r),h(e);var n=m(t,!0);return h(r),d(X,n)?(r.enumerable?(d(e,N)&&e[N][n]&&(e[N][n]=!1),r=b(r,{enumerable:v(0,!1)})):(d(e,N)||V(e,N,v(1,{})),e[N][n]=!0),ne(e,n,r)):V(e,n,r)},se=function(e,t){h(e);var r=g(t),n=k(r).concat(de(r));return R(n,(function(t){s&&!ce.call(r,t)||oe(e,t,r[t])})),e},ce=function(e){var t=m(e,!0),r=Y.call(this,t);return!(this===Q&&d(X,t)&&!d($,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,N)&&this[N][t])||r)},le=function(e,t){var r=g(e),n=m(t,!0);if(r!==Q||!d(X,n)||d($,n)){var i=K(r,n);return!i||!d(X,n)||d(r,N)&&r[N][n]||(i.enumerable=!0),i}},ue=function(e){var t=G(g(e)),r=[];return R(t,(function(e){d(X,e)||d(U,e)||r.push(e)})),r},de=function(e){var t=e===Q,r=G(t?$:g(e)),n=[];return R(r,(function(e){!d(X,e)||t&&!d(Q,e)||n.push(X[e])})),n};(c||(B((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=F(e),r=function(e){this===Q&&r.call($,e),d(this,N)&&d(this[N],t)&&(this[N][t]=!1),ne(this,t,v(1,e))};return s&&re&&ne(Q,t,{configurable:!0,set:r}),ie(t,e)}).prototype,"toString",(function(){return j(this).tag})),B(q,"withoutSetter",(function(e){return ie(F(e),e)})),E.f=ce,C.f=oe,_.f=le,y.f=w.f=ue,x.f=de,L.f=function(e){return ie(I(e),e)},s&&(V(q.prototype,"description",{configurable:!0,get:function(){return j(this).description}}),o||B(Q,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),R(k(ee),(function(e){O(e)})),n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var r=q(t);return Z[t]=r,J[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:oe,defineProperties:se,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(A(e))}}),W)&&n({target:"JSON",stat:!0,forced:!c||u((function(){var e=q();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,r){for(var n,i=[e],a=1;arguments.length>a;)i.push(arguments[a++]);if(n=t,(f(t)||void 0!==e)&&!ae(e))return p(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),i[1]=t,W.apply(null,i)}});q.prototype[z]||T(q.prototype,z,q.prototype.valueOf),M(q,"Symbol"),U[N]=!0},a623:function(e,t,r){"use strict";(function(t,n){var i,a=r("6df9"),o=a.getNativePromise();if(a.isNode&&"undefined"==typeof MutationObserver){var s=t.setImmediate,c=n.nextTick;i=a.isRecentNode?function(e){s.call(t,e)}:function(e){c.call(n,e)}}else if("function"==typeof o&&"function"==typeof o.resolve){var l=o.resolve();i=function(e){l.then(e)}}else i="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}:function(){var e=document.createElement("div"),t={attributes:!0},r=!1,n=document.createElement("div");new MutationObserver((function(){e.classList.toggle("foo"),r=!1})).observe(n,t);return function(i){var a=new MutationObserver((function(){a.disconnect(),i()}));a.observe(e,t),r||(r=!0,n.classList.toggle("foo"))}}();e.exports=i}).call(this,r("c8ba"),r("4362"))},a630:function(e,t,r){var n=r("23e7"),i=r("4df4");n({target:"Array",stat:!0,forced:!r("1c7e")((function(e){Array.from(e)}))},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},a6fb:function(e,t,r){var n=r("83da"),i=r("4e02");t.RegexTokeniser=function(e){function t(t,r,i){for(var a=0;a<e.length;a++){var o=e[a].regex;o.lastIndex=r;var s=o.exec(t);if(s){var c=r+s[0].length;if(s.index===r&&c>r){var l=s[1];return{token:new n(e[a].name,l,i.range(r,c)),endIndex:c}}}}c=r+1;return{token:new n("unrecognisedCharacter",t.substring(r,c),i.range(r,c)),endIndex:c}}function r(e,t){return new n("end",null,t.range(e.length,e.length))}return e=e.map((function(e){return{name:e.name,regex:new RegExp(e.regex.source,"g")}})),{tokenise:function(e,n){var a=new i(e,n),o=0,s=[];for(;o<e.length;){var c=t(e,o,a);o=c.endIndex,s.push(c.token)}return s.push(r(e,a)),s}}}},a707:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},a70b:function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},a76d:function(e,t,r){var n=r("edc8");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("83e8376c",n,!0,{sourceMap:!1,shadowMode:!1})},a78e:function(e,t,r){var n,i;
|
|
38
|
+
t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,c=(1<<s)-1,l=c>>1,u=-7,d=r?i-1:0,p=r?-1:1,f=e[t+d];for(d+=p,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=p,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===a)a=1-l;else{if(a===c)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=l}return(f?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,c,l=8*a-i-1,u=(1<<l)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,h=n?1:-1,A=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=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+d>=1?p/c:p*Math.pow(2,1-d))*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+f]=255&s,f+=h,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[r+f]=255&o,f+=h,o/=256,l-=8);e[r+f-h]|=128*A}},"91bc":function(e,t,r){(t=r("24fb")(!1)).push([e.i,'.kb-document-list[data-v-3b03bec4]{height:100%;display:flex;flex-direction:column;padding:24px;box-sizing:border-box;background:#fff}.kb-document-list[data-v-3b03bec4],.kb-document-list *[data-v-3b03bec4],.kb-document-list[data-v-3b03bec4] :after,.kb-document-list[data-v-3b03bec4] :before{font-size:16px!important}.doc-toolbar[data-v-3b03bec4]{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-shrink:0}.doc-toolbar-left[data-v-3b03bec4],.doc-toolbar-right[data-v-3b03bec4]{display:flex;align-items:center;gap:12px}.doc-toolbar[data-v-3b03bec4] .search-input{width:280px}.doc-toolbar[data-v-3b03bec4] .search-input .el-input__inner{background:#fff;border:1px solid #dcdfe6;border-radius:4px;transition:all .2s;height:36px;line-height:34px}.doc-toolbar[data-v-3b03bec4] .search-input .el-input__inner:focus{border-color:#409eff;box-shadow:0 0 0 2px rgba(64,158,255,.1)}.doc-toolbar[data-v-3b03bec4] .el-button--small{height:36px;padding:0 16px;border-radius:4px;font-weight:500;transition:all .2s}.doc-toolbar[data-v-3b03bec4] .el-button--primary{background:#409eff;border-color:#409eff}.doc-toolbar[data-v-3b03bec4] .el-button--primary:hover{background:#66b1ff;border-color:#66b1ff}.doc-toolbar[data-v-3b03bec4] .el-button--success{background:#67c23a;border-color:#67c23a}.doc-toolbar[data-v-3b03bec4] .el-button--success:hover{background:#85ce61;border-color:#85ce61}.doc-toolbar[data-v-3b03bec4] .el-button--default{background:#fff;border-color:#dcdfe6;color:#606266}.doc-toolbar[data-v-3b03bec4] .el-button--default:hover{color:#409eff;border-color:#c6e2ff;background:#ecf5ff}.doc-table-wrap[data-v-3b03bec4]{flex:1;overflow:hidden;min-height:0;background:#fff;border-radius:4px;border:1px solid #ebeef5}.doc-table-wrap[data-v-3b03bec4] .el-table{font-size:16px}.doc-table-wrap[data-v-3b03bec4] .el-table th.el-table__cell{background:#f5f7fa!important;color:#303133!important;font-weight:600!important;border-bottom:1px solid #ebeef5}.doc-table-wrap[data-v-3b03bec4] .el-table__row:hover{background:#f5f7fa!important}.doc-table-wrap[data-v-3b03bec4] .el-table td.el-table__cell{border-bottom:1px solid #ebeef5;color:#606266}.doc-table-wrap[data-v-3b03bec4] .el-table--striped .el-table__body tr.el-table__row--striped td{background:#fafafa}.file-title-cell[data-v-3b03bec4]{display:flex;align-items:center;gap:8px}.file-icon-img[data-v-3b03bec4]{flex-shrink:0;width:35px;height:35px;-o-object-fit:contain;object-fit:contain;vertical-align:middle}.doc-table-wrap[data-v-3b03bec4] .el-table__row:hover .file-icon-img{transform:scale(1.08)}.folder-name[data-v-3b03bec4]{color:#909399;font-size:13px}.doc-table-wrap[data-v-3b03bec4] .el-tag{border-radius:4px;font-weight:500}.doc-table-wrap[data-v-3b03bec4] .el-button--mini.el-button--text{padding:6px 10px;font-weight:500}.doc-table-wrap[data-v-3b03bec4] .el-button--mini.el-button--text:hover{background:#ecf5ff;color:#409eff}.doc-table-wrap[data-v-3b03bec4] .el-button--mini.el-button--text[style*="color: #f56c6c"]:hover{background:#fef0f0;color:#f56c6c}.doc-pagination[data-v-3b03bec4]{display:flex;justify-content:flex-end;padding-top:16px;flex-shrink:0}.doc-pagination[data-v-3b03bec4] .el-pagination.is-background .el-pager li{background:#fff;border-radius:4px;margin:0 3px}.doc-pagination[data-v-3b03bec4] .el-pagination.is-background .el-pager li:hover{color:#409eff}.doc-pagination[data-v-3b03bec4] .el-pagination.is-background .el-pager li.active{background:#fff;color:#fff}.wps-dialog-header[data-v-3b03bec4]{display:flex;align-items:center;justify-content:space-between;height:52px;padding:0 54px 0 20px;background:#f5f7fa;box-sizing:border-box}.wps-dialog-left[data-v-3b03bec4]{display:flex;align-items:center;gap:8px;min-width:0}.wps-dialog-icon-img[data-v-3b03bec4]{width:22px;height:22px;-o-object-fit:contain;object-fit:contain;flex-shrink:0}.wps-dialog-name[data-v-3b03bec4]{font-size:17px;font-weight:600;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}.wps-dialog-badge[data-v-3b03bec4]{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 10px;font-size:12px;color:#909399;background:#fff;border:1px solid #dcdfe6;border-radius:12px;flex-shrink:0}.preview-body[data-v-3b03bec4]{height:calc(90vh - 120px);display:flex;flex-direction:column;background:#fff}.preview-page-canvas[data-v-3b03bec4]{flex:1;overflow:auto;background:#fafbfc;padding:32px 24px;margin-bottom:10px;display:flex;justify-content:center;align-items:flex-start}.preview-page[data-v-3b03bec4]{width:100%;max-width:820px;min-height:640px;box-sizing:border-box;background:#fff;border-radius:2px;box-shadow:0 3px 12px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);padding:40px 56px;position:relative}.preview-page.paper-pdf[data-v-3b03bec4]{height:100%;min-height:0;padding:0;overflow:hidden}.preview-frame[data-v-3b03bec4]{width:100%;height:100%;border:0;background:#fff}.preview-center[data-v-3b03bec4]{height:100%;overflow:auto;text-align:center;background:#e8eaed;border-radius:4px;padding:16px}.preview-center img[data-v-3b03bec4]{box-shadow:0 3px 12px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);border-radius:2px}.preview-text[data-v-3b03bec4]{height:100%;overflow:auto;background:#f5f7fa;border-radius:4px;padding:16px}.preview-text pre[data-v-3b03bec4]{white-space:pre-wrap;word-break:break-all;font-size:13px;line-height:1.8;margin:0}.preview-markdown[data-v-3b03bec4]{font-size:16px;line-height:1.8;color:#333}.preview-markdown h1[data-v-3b03bec4]{font-size:22px;margin:16px 0 8px;border-bottom:1px solid #eee;padding-bottom:6px}.preview-markdown h2[data-v-3b03bec4]{font-size:19px;margin:14px 0 6px}.preview-markdown h3[data-v-3b03bec4]{font-size:16px;margin:12px 0 4px}.preview-markdown p[data-v-3b03bec4]{margin:8px 0}.preview-markdown ol[data-v-3b03bec4],.preview-markdown ul[data-v-3b03bec4]{padding-left:24px;margin:8px 0}.preview-markdown code[data-v-3b03bec4]{background:#f0f0f0;padding:2px 6px;border-radius:3px;font-size:13px;color:#d63384}.preview-markdown pre[data-v-3b03bec4]{background:#282c34;color:#abb2bf;padding:16px;border-radius:6px;overflow-x:auto;font-size:13px;line-height:1.6;margin:12px 0}.preview-markdown pre code[data-v-3b03bec4]{background:none;padding:0;color:inherit;font-size:inherit}.preview-markdown blockquote[data-v-3b03bec4]{border-left:4px solid #409eff;padding:8px 16px;margin:12px 0;background:#f5f7fa;color:#666}.preview-markdown table[data-v-3b03bec4]{border-collapse:collapse;width:100%;margin:12px 0}.preview-markdown td[data-v-3b03bec4],.preview-markdown th[data-v-3b03bec4]{border:1px solid #ddd;padding:8px 12px;text-align:left}.preview-markdown th[data-v-3b03bec4]{background:#f5f7fa;font-weight:700}.preview-markdown img[data-v-3b03bec4]{max-width:100%;border-radius:4px}.preview-markdown a[data-v-3b03bec4]{color:#409eff}.preview-xlsx-wrap[data-v-3b03bec4]{height:100%;display:flex;flex-direction:column;background:#fff;border-radius:4px;border:1px solid #e8eaed}.preview-loading[data-v-3b03bec4]{display:flex;align-items:center;justify-content:center;padding:60px 0;color:#909399;font-size:16px;gap:8px}.preview-xlsx-toolbar[data-v-3b03bec4]{display:flex;align-items:center;gap:2px;padding:8px 12px;background:#f8f9fb;border-bottom:1px solid #e8eaed;flex-shrink:0}.preview-xlsx-tab[data-v-3b03bec4]{padding:4px 14px;font-size:12px;cursor:pointer;border:1px solid transparent;border-radius:3px 3px 0 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#606266;background:#f0f2f5}.preview-xlsx-tab[data-v-3b03bec4]:hover{color:#409eff}.preview-xlsx-tab.active[data-v-3b03bec4]{color:#409eff;background:#fff;border-color:#dcdfe6;border-bottom-color:#fff}.preview-xlsx-table-wrap[data-v-3b03bec4]{max-height:680px;overflow:auto;padding:8px;border:1px solid #e8eaed;border-radius:4px}.preview-xlsx-notice[data-v-3b03bec4]{padding:6px 12px;margin-bottom:8px;font-size:12px;color:#e6a23c;background:#fdf6ec;border:1px solid #faecd8;border-radius:4px}.preview-xlsx-table[data-v-3b03bec4]{border-collapse:collapse;width:100%;font-size:13px}.preview-xlsx-table td[data-v-3b03bec4],.preview-xlsx-table th[data-v-3b03bec4]{border:1px solid #dcdfe6;padding:6px 10px;text-align:left;white-space:nowrap;min-width:80px}.preview-xlsx-table th[data-v-3b03bec4]{background:#f5f7fa;font-weight:600;color:#1f2937;position:sticky;top:0}.preview-xlsx-table tr[data-v-3b03bec4]:nth-child(2n){background:#fafbfc}.preview-xlsx-table tr[data-v-3b03bec4]:hover{background:#f0f7ff}.preview-docx-wrap[data-v-3b03bec4]{height:100%;overflow:auto;background:#fff;border-radius:4px;border:1px solid #e8eaed}.preview-docx-content[data-v-3b03bec4]{padding:0;font-size:16px;line-height:1.8;color:#333;min-height:0;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.preview-docx-content h1[data-v-3b03bec4]{font-size:22px;font-weight:700;margin:20px 0 10px;padding-bottom:6px;border-bottom:2px solid #e8eaed;color:#1a1a2e}.preview-docx-content h2[data-v-3b03bec4]{font-size:18px;font-weight:600;margin:16px 0 8px;padding-bottom:4px;border-bottom:1px solid #e8eaed;color:#1a1a2e}.preview-docx-content h3[data-v-3b03bec4]{font-size:16px;font-weight:600;margin:14px 0 6px;color:#2c3e50}.preview-docx-content p[data-v-3b03bec4]{margin:8px 0}.preview-docx-content ol[data-v-3b03bec4],.preview-docx-content ul[data-v-3b03bec4]{padding-left:24px;margin:8px 0}.preview-docx-content li[data-v-3b03bec4]{margin:3px 0}.preview-docx-content blockquote[data-v-3b03bec4]{border-left:3px solid #409eff;padding:6px 14px;margin:10px 0;background:#f0f7ff;color:#555;border-radius:0 4px 4px 0}.preview-docx-content pre[data-v-3b03bec4]{background:#f5f7fa;padding:12px 16px;border-radius:6px;overflow-x:auto;font-size:13px;border:1px solid #e8eaed;margin:10px 0}.preview-docx-content a[data-v-3b03bec4]{color:#409eff;text-decoration:underline}.preview-docx-content img[data-v-3b03bec4]{max-width:100%;border-radius:4px;margin:6px 0}.preview-docx-content table[data-v-3b03bec4]{border-collapse:collapse;width:100%;margin:12px 0;font-size:13px}.preview-docx-content td[data-v-3b03bec4],.preview-docx-content th[data-v-3b03bec4]{border:1px solid #dcdfe6;padding:8px 12px;text-align:left}.preview-docx-content th[data-v-3b03bec4]{background:#f5f7fa;font-weight:600}.move-tip[data-v-3b03bec4]{margin-bottom:12px;padding:10px 12px;background:#f5f7fa;border-radius:4px;font-size:16px;color:#606266}.move-count[data-v-3b03bec4]{color:#409eff;font-weight:600}.move-target[data-v-3b03bec4]{color:#67c23a;font-weight:600}.move-target-empty[data-v-3b03bec4]{color:#e6a23c}.move-folder-wrap[data-v-3b03bec4]{max-height:420px;overflow:auto;border:1px solid #e8eaed;border-radius:4px;padding:8px}.move-folder-wrap[data-v-3b03bec4] .el-tree-node__content{height:32px}.doc-toolbar-m[data-v-3b03bec4]{display:flex;align-items:center;gap:10px;margin-bottom:14px}.doc-toolbar-m[data-v-3b03bec4] .el-button--small{height:34px;padding:0 14px}.doc-m-list[data-v-3b03bec4]{padding:4px 2px 20px;height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.doc-m-list[data-v-3b03bec4]::-webkit-scrollbar{width:0}.doc-m-card[data-v-3b03bec4]{display:flex;align-items:center;gap:10px;padding:14px 12px;margin-bottom:10px;background:#fff;border:1px solid #f0f2f5;border-radius:10px;transition:all .2s}.doc-m-card.selected[data-v-3b03bec4]{background:#ecf5ff;border-color:#cfe4ff}.doc-m-card[data-v-3b03bec4]:active{transform:scale(.99)}.doc-m-check[data-v-3b03bec4]{flex-shrink:0;width:18px;height:18px;accent-color:#409eff}.doc-m-icon[data-v-3b03bec4]{flex-shrink:0;width:34px;height:34px;-o-object-fit:contain;object-fit:contain}.doc-m-info[data-v-3b03bec4]{flex:1;min-width:0}.doc-m-title[data-v-3b03bec4]{font-size:16px;font-weight:500;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.doc-m-meta[data-v-3b03bec4]{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:12px!important;color:#909399}.doc-m-tag[data-v-3b03bec4]{flex-shrink:0;padding:0 6px;border-radius:4px;font-size:11px!important;line-height:18px;background:#f0f2f5;color:#909399}.doc-m-tag.tag-success[data-v-3b03bec4]{background:#f0f9eb;color:#67c23a}.doc-m-tag.tag-warning[data-v-3b03bec4]{background:#fdf6ec;color:#e6a23c}.doc-m-tag.tag-danger[data-v-3b03bec4]{background:#fef0f0;color:#f56c6c}.doc-m-tag.tag-info[data-v-3b03bec4]{background:#f4f4f5;color:#909399}.doc-m-actions[data-v-3b03bec4]{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:4px;margin-left:4px}.doc-m-btn[data-v-3b03bec4]{padding:2px 10px;font-size:13px!important;color:#409eff;border-radius:4px;white-space:nowrap}.doc-m-btn[data-v-3b03bec4]:active{background:#ecf5ff}.doc-m-btn.doc-m-del[data-v-3b03bec4]{color:#f56c6c}.doc-m-empty[data-v-3b03bec4]{text-align:center;padding:50px 0;color:#909399;font-size:16px}.doc-m-empty i[data-v-3b03bec4]{font-size:30px!important;color:#c0c4cc}.doc-m-empty div[data-v-3b03bec4]{margin-top:8px}.doc-m-more[data-v-3b03bec4]{margin:8px 0 12px;padding:12px 0;text-align:center;font-size:15px!important;color:#409eff;background:#f5f7fa;border-radius:8px}.doc-m-more[data-v-3b03bec4]:active{background:#ecf5ff}.doc-m-table-wrap[data-v-3b03bec4]{height:100%;overflow:auto;-webkit-overflow-scrolling:touch;background:#fff}.doc-m-table[data-v-3b03bec4]{width:100%;min-width:900px;border-collapse:collapse;font-size:13px;color:#303133}.doc-m-table thead th[data-v-3b03bec4]{position:sticky;top:0;z-index:1;height:42px;padding:0 8px;background:#f5f7fa;color:#333;font-weight:600;text-align:left;white-space:nowrap;border-bottom:1px solid #ebeef5}.doc-m-table tbody td[data-v-3b03bec4]{height:48px;padding:0 8px;border-bottom:1px solid #f0f2f5;vertical-align:middle}.doc-m-table tbody tr[data-v-3b03bec4]:nth-child(2n){background:#fafafa}.doc-m-table tbody tr.selected[data-v-3b03bec4]{background:#ecf5ff}.doc-m-table .col-center[data-v-3b03bec4],.doc-m-table .col-check[data-v-3b03bec4]{text-align:center}.doc-m-table .col-id[data-v-3b03bec4]{text-align:center;color:#909399}.doc-m-table .col-time[data-v-3b03bec4]{font-size:12px;color:#909399;white-space:nowrap}.doc-m-table .col-title[data-v-3b03bec4]{cursor:pointer}.doc-m-tb-icon[data-v-3b03bec4]{width:16px;height:16px;vertical-align:-3px;margin-right:6px;flex-shrink:0}.doc-m-tb-title[data-v-3b03bec4]{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.doc-m-tb-tag[data-v-3b03bec4],.doc-m-tb-title[data-v-3b03bec4]{display:inline-block;white-space:nowrap}.doc-m-tb-tag[data-v-3b03bec4]{padding:1px 8px;border-radius:4px;font-size:12px;background:#f4f4f5;color:#909399;border:1px solid #e9e9eb}.doc-m-table .col-ops[data-v-3b03bec4]{white-space:nowrap;text-align:center;padding-left:4px;padding-right:4px}.doc-m-tb-btn[data-v-3b03bec4]{padding:0 5px;border:none;background:transparent;color:#1677ff;font-size:12px;white-space:nowrap}.doc-m-tb-btn[data-v-3b03bec4]:active{opacity:.6}.doc-m-tb-btn.doc-m-del[data-v-3b03bec4]{color:#f56c6c}.doc-m-table-wrap .doc-m-empty[data-v-3b03bec4]{padding:60px 0}.doc-m-pager[data-v-3b03bec4]{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px;font-size:13px;color:#606266}.doc-m-pager-total[data-v-3b03bec4]{margin-right:auto;color:#909399}.doc-m-pager-select[data-v-3b03bec4]{padding:0 6px}.doc-m-pager-btn[data-v-3b03bec4],.doc-m-pager-select[data-v-3b03bec4]{height:30px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;color:#606266;font-size:13px}.doc-m-pager-btn[data-v-3b03bec4]{padding:0 12px}.doc-m-pager-btn[data-v-3b03bec4]:disabled{color:#c0c4cc;cursor:not-allowed}.doc-m-pager-cur[data-v-3b03bec4]{min-width:56px;text-align:center}@media (max-width:768px){.kb-document-list[data-v-3b03bec4]{padding:12px}.doc-toolbar[data-v-3b03bec4]{margin-bottom:10px}.doc-toolbar-left[data-v-3b03bec4]{flex-wrap:wrap;gap:8px;width:100%}.doc-toolbar[data-v-3b03bec4] .search-input{flex:1;width:auto;min-width:0}.doc-toolbar[data-v-3b03bec4] .el-input__inner{height:34px;line-height:32px}.doc-toolbar[data-v-3b03bec4] .el-button--small{height:34px;padding:0 12px}.doc-table-wrap[data-v-3b03bec4]{border:none;background:transparent;border-radius:0}}.doc-m-search[data-v-3b03bec4]{display:flex;align-items:center;gap:6px;width:100%;height:36px;padding:0 10px;background:#fff;border:1px solid #e4e7ed;border-radius:18px;box-sizing:border-box}.doc-m-search-icon[data-v-3b03bec4]{flex-shrink:0}.doc-m-search-input[data-v-3b03bec4]{flex:1;min-width:0;height:100%;border:none;outline:none;background:transparent;font-size:14px;color:#303133}.doc-m-search-btn[data-v-3b03bec4]{flex-shrink:0;height:28px;padding:0 14px;border:none;border-radius:14px;background:#1677ff;color:#fff;font-size:13px}.doc-m-search-btn[data-v-3b03bec4]:disabled{opacity:.5}.doc-m-search--inline[data-v-3b03bec4]{flex:1;min-width:0;width:auto}.doc-m-tbtn[data-v-3b03bec4]{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 14px;border:1px solid #b7eb8f;border-radius:16px;background:#f6ffed;color:#52c41a;font-size:13px}.doc-m-tbtn.danger[data-v-3b03bec4]{border-color:#ffccc7;background:#fff1f0;color:#f5222d}.doc-m-tbtn.warning[data-v-3b03bec4]{border-color:#ffe58f;background:#fffbe6;color:#d48806}.doc-m-tbtn[data-v-3b03bec4]:active{opacity:.8}.kbm-move-list[data-v-3b03bec4]{border:1px solid #f0f2f5;border-radius:8px;background:#fafbfc;max-height:46vh;overflow-y:auto;-webkit-overflow-scrolling:touch}.kbm-move-row[data-v-3b03bec4]{display:flex;align-items:center;gap:6px;padding:11px 10px;font-size:14px;color:#303133;border-bottom:1px solid #f5f7fa}.kbm-move-row[data-v-3b03bec4]:last-child{border-bottom:none}.kbm-move-row svg[data-v-3b03bec4]{color:#1677ff;flex-shrink:0}.kbm-move-name[data-v-3b03bec4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbm-move-row.active[data-v-3b03bec4]{background:#e8f3ff;color:#1677ff}.kbm-empty[data-v-3b03bec4]{padding:30px 0;text-align:center;font-size:13px;color:#909399}.preview-body--m[data-v-3b03bec4]{height:100%;padding:0}.preview-body--m .preview-page-canvas[data-v-3b03bec4]{padding:12px;margin-bottom:0}.preview-body--m .preview-page[data-v-3b03bec4]{min-height:0;padding:16px}',""]),e.exports=t},9224:function(e){e.exports=JSON.parse('{"name":"zj-plugin-intelligent","version":"1.2.26","main":"lib/ZjPluginIntelligent.umd.min.js","private":false,"scripts":{"serve":"set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve","build":"set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build","lib":"node scripts/build-lib.js","lib:test":"node scripts/build-lib.js test"},"dependencies":{"@jboltai/tokui":"^0.1.6","crypto-js":"^4.2.0","docx":"^8.5.0","html2canvas":"^1.4.1","mammoth":"^1.6.0","markdown-it":"^14.1.0","marked":"^4.3.0","xlsx":"^0.18.5"},"devDependencies":{"@babel/preset-env":"^7.14.9","@vue/cli-plugin-babel":"~4.5.0","@vue/cli-plugin-eslint":"^4.5.13","@vue/cli-plugin-vuex":"~4.5.0","@vue/cli-service":"~4.5.0","axios":"^0.27.2","babel-eslint":"^10.1.0","babel-plugin-component":"^1.1.1","compression-webpack-plugin":"^6.0.3","core-js":"^3.6.5","element-ui":"^2.15.4","eslint":"^7.30.0","eslint-plugin-vue":"^7.13.0","js-cookie":"^2.2.1","obs-upload":"^1.0.4","pako":"^2.1.0","reconnecting-websocket":"^4.4.0","sass":"^1.71.0","sass-loader":"^8.0.2","snowflake-id":"^1.1.0","vue":"^2.6.11","vue-template-compiler":"^2.6.11","vuex":"^3.4.0","webpack-bundle-analyzer":"^4.4.2"},"browserslist":["> 1%","last 2 versions","not dead"],"directories":{"lib":"lib"},"keywords":[],"license":"ISC","files":["lib"]}')},9255:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAMAAAAvHNATAAAAhFBMVEUAAAASuEQSu0QRt0USuEQRuEQTuEUSuUYRuEQRuEQRuEUZvEsRuEUSuEQUukkWxUw32F4VukYSuEQRuEQRuEQTukUSuEURuEUSuEUSuEcRvEUUuUcSuEQRuEURuEQRuUUSuUURuEUSt0QRuEQRuUUSuUYSuEUSuEUTukYRuEUXuEcRt0RmEsXJAAAAK3RSTlMA6Cn9YflrYvHtlBSrnSULBDDj39JBxoJ9OR0ZvKKmRplx2sBmVsy4NIcgRF2QQwAABHBJREFUeNrM2AlyqkAUheGDpIkMAgIiUXGIU+nZ//5e1SNWJ6UyKN30t4K/oOtyabwrmh6LSXDOs9QVwk2z/BxMiuM0woDCg7dK+ESy8g4h9Lt+lgkbJeXHAhrNtilb+97OoMXokrCjdB5CMd858SW540Od61bwZcJbQI1RKfgWMQnRv2lg8232eoR+LQL2ZL1Ef+LdmL0Z72L0ZJaxV9kX+uCX7N3Ex9s2LhWwZnhPfKEa9hzvWORUZr807TXeWBu8aE617AKviLdUzkN3UUANgrhz155arCJ0ssyoycnv1JVSm+8OZVFGjU6RaefrZhWjlTigZgFa2VI7z4R5/1CBRhsOwd6gwcLlIKwlasU5B7JHrQsHMzfvgFXsGZ7yLQ7I8vFMyUFN8MQXB/aFh+KMA8tiPLLj4HZ4YDnm4MZL3AtogDXuTGmEkZkP7MEjC20awQ7Nmq1Pp+xV0BBigd88GsMDJF9Qi9SbB4L1hA/JoQ7jTwDw16znQDpRA2uKSsFauewaUQNr1PZHLNSzUMsuad9yyU6onOxqXuFT/JhRJdklRaw1U38nILu6hG1RSamI7Or2N/aN/65USnZJe9arPksfvKO4a8cGHzWLhcKuTzYp74eFEV1MACAkJTO6quF/oGRKFw9/VzFjuugBWPHGnC6ufp99g7qYQH4dTOoiI0xZMauLUxz5n2FdPP7suaZ1scCEbbjlJRAauzhBwGaiiAH4pb4uBji36NqgstPWxTPyNgfxxtHVxRxZp2sOR1MXM6Td7tIcPV1M4bKBiz8cLV10IdjAwl+Oji6Kf9Xc7U6zQBCG4Qe39rVQ4G0RilCpUr+f8z8/U2vcGBKLAyPT+wiukKY/dnfmNIxvHZmiy8MWv78Xnuu7uEAmuBabq7uY4bqHftWRabt4jYIiWS/XzFFagWfKZLouPmNJoUzVxSViSmUKvy9fjJJimd73Iks8Ui7Tc/ERKw6Qqbm4Qsr+speOTMvFFFgPkim51r88IrjqylRc3AIIOUj2T8PF0B9DiWUaLj4ASCiQKbr8rc1aIFN2rf3hsECm5+Kt7Dj96kbT5Y/TKwpkqi5W+KgVyFRdrb/kEsjUXP6SK6dEpudijs8ykUzNlQkfC3uZ3NXz6jmhTKbjYoKvCpksx2cPY7qK4Q9CLo+Df2nIMZuP8YSmfZ3d3y04ZpfROTw6QmX1mRZiGik+l6eAaGiipjsFThNdACY/WXNOT5rNPgK3+2ze7KDB5P+y8fkNsyB3nCyXm5vIO7bBj+05UXv8XB1wkoIaJ9o5TpDb4WQlJ6hEj0L+eSG6WRgEWqJf/7cUpT2ODaRPFKQ/wA5ELQUpjvx7meib6S9JANIthcnXSlga/O8s4jDyfxZCVOmomishbBdQsWAHcfWeau1rDGnjqJLbYGB5QIWCHIOLYo5eHGGMbmwuRjO8Sg5A3fB7NpbvHbpoTK4rPJTEJhc8HqpCkysxD0XzwuIS0Y+STWZw7eqx/K41uKj2WDWzuNrX8jJk9fXR7x3N57Ix4oyCAAAAAElFTkSuQmCC"},9263:function(e,t,r){"use strict";var n,i,a=r("ad6d"),o=r("9f7f"),s=r("5692"),c=RegExp.prototype.exec,l=s("native-string-replace",String.prototype.replace),u=c,d=(n=/a/,i=/b*/g,c.call(n,"a"),c.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),p=o.UNSUPPORTED_Y||o.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(d||f||p)&&(u=function(e){var t,r,n,i,o=this,s=p&&o.sticky,u=a.call(o),h=o.source,A=0,g=e;return s&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),g=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,A++),r=new RegExp("^(?:"+h+")",u)),f&&(r=new RegExp("^"+h+"$(?!\\s)",u)),d&&(t=o.lastIndex),n=c.call(s?r:o,g),s?n?(n.input=n.input.slice(A),n[0]=n[0].slice(A),n.index=o.lastIndex,o.lastIndex+=n[0].length):o.lastIndex=0:d&&n&&(o.lastIndex=o.global?n.index+n[0].length:t),f&&n&&n.length>1&&l.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),e.exports=u},"92e7":function(e,t,r){(function(){var t,n,i,a,o,s,c,l,u,d,p,f,h,A,g={}.hasOwnProperty;A=r("45f3"),h=A.isObject,f=A.isFunction,p=A.isEmpty,d=A.getValue,s=null,t=null,n=null,i=null,a=null,l=null,u=null,c=null,o=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],s||(s=r("b8ee"),t=r("536e"),n=r("8930"),i=r("528d"),a=r("d7e3"),l=r("50d7"),u=r("9d2f"),c=r("f016"),o=r("0e1e"))}return e.prototype.element=function(e,t,r){var n,i,a,o,s,c,l,u,A,m,v;if(c=null,null===t&&null==r&&(t=(A=[{},null])[0],r=A[1]),null==t&&(t={}),t=d(t),h(t)||(r=(m=[t,r])[0],t=m[1]),null!=e&&(e=d(e)),Array.isArray(e))for(a=0,l=e.length;a<l;a++)i=e[a],c=this.element(i);else if(f(e))c=this.element(e.apply());else if(h(e)){for(s in e)if(g.call(e,s))if(v=e[s],f(v)&&(v=v.apply()),h(v)&&p(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(o=0,u=v.length;o<u;o++)i=v[o],(n={})[s]=i,c=this.element(n);else h(v)?(c=this.element(s)).element(v):c=this.element(s,v)}else c=this.options.skipNullNodes&&null===r?this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),r):this.node(e,t,r);if(null==c)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},e.prototype.insertBefore=function(e,t,r){var n,i,a;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,a),n},e.prototype.insertAfter=function(e,t,r){var n,i,a;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return i=this.parent.children.indexOf(this),a=this.parent.children.splice(i+1),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,a),n},e.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},e.prototype.node=function(e,t,r){var n,i;return null!=e&&(e=d(e)),t||(t={}),t=d(t),h(t)||(r=(i=[t,r])[0],t=i[1]),n=new s(this,e,t),null!=r&&n.text(r),this.children.push(n),n},e.prototype.text=function(e){var t;return t=new u(this,e),this.children.push(t),this},e.prototype.cdata=function(e){var r;return r=new t(this,e),this.children.push(r),this},e.prototype.comment=function(e){var t;return t=new n(this,e),this.children.push(t),this},e.prototype.commentBefore=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.commentAfter=function(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.raw=function(e){var t;return t=new l(this,e),this.children.push(t),this},e.prototype.dummy=function(){var e;return e=new o(this),this.children.push(e),e},e.prototype.instruction=function(e,t){var r,n,i,a,o;if(null!=e&&(e=d(e)),null!=t&&(t=d(t)),Array.isArray(e))for(a=0,o=e.length;a<o;a++)r=e[a],this.instruction(r);else if(h(e))for(r in e)g.call(e,r)&&(n=e[r],this.instruction(r,n));else f(t)&&(t=t.apply()),i=new c(this,e,t),this.children.push(i);return this},e.prototype.instructionBefore=function(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.instructionAfter=function(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.declaration=function(e,t,r){var n,a;return n=this.document(),a=new i(n,e,t,r),n.children[0]instanceof i?n.children[0]=a:n.children.unshift(a),n.root()||n},e.prototype.doctype=function(e,t){var r,n,i,o,s,c,l,u,d;for(r=this.document(),n=new a(r,e,t),i=o=0,c=(u=r.children).length;o<c;i=++o)if(u[i]instanceof a)return r.children[i]=n,n;for(i=s=0,l=(d=r.children).length;s<l;i=++s)if(d[i].isRoot)return r.children.splice(i,0,n),n;return r.children.push(n),n},e.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},e.prototype.root=function(){var e;for(e=this;e;){if(e.isDocument)return e.rootObject;if(e.isRoot)return e;e=e.parent}},e.prototype.document=function(){var e;for(e=this;e;){if(e.isDocument)return e;e=e.parent}},e.prototype.end=function(e){return this.document().end(e)},e.prototype.prev=function(){var e;for(e=this.parent.children.indexOf(this);e>0&&this.parent.children[e-1].isDummy;)e-=1;if(e<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},e.prototype.next=function(){var e;for(e=this.parent.children.indexOf(this);e<this.parent.children.length-1&&this.parent.children[e+1].isDummy;)e+=1;if(-1===e||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},e.prototype.importDocument=function(e){var t;return(t=e.root().clone()).parent=this,t.isRoot=!1,this.children.push(t),this},e.prototype.debugInfo=function(e){var t,r;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},e.prototype.ele=function(e,t,r){return this.element(e,t,r)},e.prototype.nod=function(e,t,r){return this.node(e,t,r)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},e.prototype.dtd=function(e,t){return this.doctype(e,t)},e.prototype.e=function(e,t,r){return this.element(e,t,r)},e.prototype.n=function(e,t,r){return this.node(e,t,r)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(e){return this.importDocument(e)},e}()}).call(this)},9404:function(e,t,r){var n=r("335c"),i=r("5ddd");t.element=function(e){return function(t){return i.elementWithTag(n.element(e),[t])}}},"944a":function(e,t,r){r("746f")("toStringTag")},"94ca":function(e,t,r){var n=r("d039"),i=/#|\.prototype\./,a=function(e,t){var r=s[o(e)];return r==l||r!=c&&("function"==typeof t?n(t):!!t)},o=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},"94d4":function(e,t,r){"use strict";var n=r("7432");function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},"94f8":function(e,t,r){var n;e.exports=(n=r("21bf"),function(e){var t=n,r=t.lib,i=r.WordArray,a=r.Hasher,o=t.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)t(n)&&(i<8&&(s[i]=r(e.pow(n,.5))),c[i]=r(e.pow(n,1/3)),i++),n++}();var l=[],u=o.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5],d=r[6],p=r[7],f=0;f<64;f++){if(f<16)l[f]=0|e[t+f];else{var h=l[f-15],A=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=l[f-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[f]=A+l[f-7]+m+l[f-16]}var v=n&i^n&a^i&a,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),k=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[f]+l[f];p=d,d=u,u=s,s=o+k|0,o=a,a=i,i=n,n=k+(b+v)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+d|0,r[7]=r[7]+p|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=e.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),n.SHA256)},9523:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},9567:function(e,t,r){var n=r("c46f"),i=r("ebf8"),a=r("9d83"),o=r("335c"),s=r("03e1"),c=r("1259"),l=r("5ddd"),u=r("9796");function d(e,t){var r=1,d=[],g=[],m=void 0===(e=n.extend({ignoreEmptyParagraphs:!0},e)).idPrefix?"":e.idPrefix,v=e.ignoreEmptyParagraphs,b=o.topLevelElement("p"),k=e.styleMap||[];function y(e,t,r){return h(e,(function(e){return w(e,t,r)}))}function w(e,t,r){if(!r)throw new Error("options not set");var n=O[e.type];return n?n(e,t,r):[]}function x(e,t){var r=_({type:e});return r||(t?o.element(t,{},{fresh:!1}):o.empty)}function _(e,t){var r=C(e);return r?r.to:t}function C(e){for(var t=0;t<k.length;t++)if(k[t].from.matches(e))return k[t]}function E(e){return B(e.noteType,e.noteId)}function T(e){return S(e.noteType,e.noteId)}function B(e,t){return D(e+"-"+t)}function S(e,t){return D(e+"-ref-"+t)}function D(e){return m+e}var U=o.elements([o.element("table",{},{fresh:!0})]);function F(e,t,r){var n=e.label,i=e.comment,a=y(i.body,t,r).concat([l.nonFreshElement("p",{},[l.text(" "),l.freshElement("a",{href:"#"+S("comment",i.commentId)},[l.text("↑")])])]);return[l.freshElement("dt",{id:B("comment",i.commentId)},[l.text("Comment "+n)]),l.freshElement("dd",{},a)]}var I,L,O={document:function(e,t,r){var n=y(e.children,t,r),i=y(d.map((function(t){return e.notes.resolve(t)})),t,r);return n.concat([l.freshElement("ol",{},i),l.freshElement("dl",{},h(g,(function(e){return F(e,t,r)})))])},paragraph:function(e,t,r){return function(e,t){var r=C(e);return r?r.to:(e.styleId&&t.push(f("paragraph",e)),b)}(e,t).wrap((function(){var n=y(e.children,t,r);return v?n:[l.forceWrite].concat(n)}))},run:function(e,t,r){var n=function(){return y(e.children,t,r)},i=[];e.isSmallCaps&&i.push(x("smallCaps")),e.isAllCaps&&i.push(x("allCaps")),e.isStrikethrough&&i.push(x("strikethrough","s")),e.isUnderline&&i.push(x("underline")),e.verticalAlignment===a.verticalAlignment.subscript&&i.push(o.element("sub",{},{fresh:!1})),e.verticalAlignment===a.verticalAlignment.superscript&&i.push(o.element("sup",{},{fresh:!1})),e.isItalic&&i.push(x("italic","em")),e.isBold&&i.push(x("bold","strong"));var s=o.empty,c=C(e);return c?s=c.to:e.styleId&&t.push(f("run",e)),i.push(s),i.forEach((function(e){n=e.wrap.bind(e,n)})),n()},text:function(e,t,r){return[l.text(e.value)]},tab:function(e,t,r){return[l.text("\t")]},hyperlink:function(e,t,r){var n={href:e.anchor?"#"+D(e.anchor):e.href};null!=e.targetFrame&&(n.target=e.targetFrame);var i=y(e.children,t,r);return[l.nonFreshElement("a",n,i)]},bookmarkStart:function(e,t,r){return[l.freshElement("a",{id:D(e.name)},[l.forceWrite])]},noteReference:function(e,t,n){d.push(e);var i=l.freshElement("a",{href:"#"+E(e),id:T(e)},[l.text("["+r+++"]")]);return[l.freshElement("sup",{},[i])]},note:function(e,t,r){var n=y(e.body,t,r),i=l.elementWithTag(o.element("p",{},{fresh:!1}),[l.text(" "),l.freshElement("a",{href:"#"+T(e)},[l.text("↑")])]),a=n.concat([i]);return l.freshElement("li",{id:E(e)},a)},commentReference:function(e,r,n){return _(e,o.ignore).wrap((function(){var r=t[e.commentId],n=g.length+1,i="["+A(r)+n+"]";return g.push({label:i,comment:r}),[l.freshElement("a",{href:"#"+B("comment",e.commentId),id:S("comment",e.commentId)},[l.text(i)])]}))},comment:F,image:(L=e.convertImage||c.dataUri,I=function(e,t){return i.attempt((function(){return L(e,t)})).caught((function(e){return t.push(s.error(e)),[]}))},function(e,t,r){return[{type:"deferred",id:p++,value:function(){return I(e,t,r)}}]}),table:function(e,t,r){return _(e,U).wrap((function(){return function(e,t,r){var i,o=n.findIndex(e.children,(function(e){return!e.type===a.types.tableRow||!e.isHeader}));-1===o&&(o=e.children.length);if(0===o)i=y(e.children,t,n.extend({},r,{isTableHeader:!1}));else{var s=y(e.children.slice(0,o),t,n.extend({},r,{isTableHeader:!0})),c=y(e.children.slice(o),t,n.extend({},r,{isTableHeader:!1}));i=[l.freshElement("thead",{},s),l.freshElement("tbody",{},c)]}return[l.forceWrite].concat(i)}(e,t,r)}))},tableRow:function(e,t,r){var n=y(e.children,t,r);return[l.freshElement("tr",{},[l.forceWrite].concat(n))]},tableCell:function(e,t,r){var n=r.isTableHeader?"th":"td",i=y(e.children,t,r),a={};return 1!==e.colSpan&&(a.colspan=e.colSpan.toString()),1!==e.rowSpan&&(a.rowspan=e.rowSpan.toString()),[l.freshElement(n,a,[l.forceWrite].concat(i))]},break:function(e,t,r){return function(e){var t=C(e);return t?t.to:"line"===e.breakType?o.topLevelElement("br"):o.empty}(e).wrap((function(){return[]}))}};return{convertToHtml:function(t){var r=[],a=w(t,r,{}),o=[];!function e(t,r){t.forEach((function(t){r(t),t.children&&e(t.children,r)}))}(a,(function(e){"deferred"===e.type&&o.push(e)}));var c={};return i.mapSeries(o,(function(e){return e.value().then((function(t){c[e.id]=t}))})).then((function(){var t=u.writer({prettyPrint:e.prettyPrint,outputFormat:e.outputFormat});return l.write(t,l.simplify(function e(t){return h(t,(function(t){return"deferred"===t.type?c[t.id]:t.children?[n.extend({},t,{children:e(t.children)})]:[t]}))}(a))),new s.Result(t.asString(),r)}))}}}t.DocumentConverter=function(e){return{convertToHtml:function(t){var r=n.indexBy(t.type===a.types.document?t.comments:[],"commentId");return new d(e,r).convertToHtml(t)}}};var p=1;function f(e,t){return s.warning("Unrecognised "+e+" style: '"+t.styleName+"' (Style ID: "+t.styleId+")")}function h(e,t){return n.flatten(e.map(t),!0)}var A=t.commentAuthorLabel=function(e){return e.authorInitials||""}},9646:function(e,t,r){"use strict";var n=r("ce61"),i=r("db54"),a=r("c297"),o=r("3688"),s=r("7a0f"),c=r("d4ee"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var d=[o,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(u),a=Promise.resolve(t);d.length;)a=a.then(d.shift(),d.shift());return a}for(var p=t;n.length;){var f=n.shift(),h=n.shift();try{p=f(p)}catch(e){h(e);break}}try{a=o(p)}catch(e){return Promise.reject(e)}for(;u.length;)a=a.then(u.shift(),u.shift());return a},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},"96cf":function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),o=new x(n||[]);return a._invoke=function(e,t,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return C()}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=k(o,r);if(s){if(s===u)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=l(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,o),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function d(){}function p(){}function f(){}var h={};h[i]=function(){return this};var A=Object.getPrototypeOf,g=A&&A(A(_([])));g&&g!==t&&r.call(g,i)&&(h=g);var m=f.prototype=d.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var n;this._invoke=function(i,a){function o(){return new t((function(n,o){!function n(i,a,o,s){var c=l(e[i],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(d).then((function(e){u.value=e,o(u)}),(function(e){return n("throw",e,o,s)}))}s(c.arg)}(i,a,n,o)}))}return n=n?n.then(o,o):o()}}function k(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function _(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=m.constructor=f,f.constructor=p,p.displayName=s(f,o,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,o,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},v(b.prototype),b.prototype[a]=function(){return this},e.AsyncIterator=b,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new b(c(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},v(m),s(m,o,"Generator"),m[i]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return o.type="throw",o.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;w(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:_(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},"970b":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},9752:function(e,t,r){"use strict";e.exports=function(e){function t(){return this.value}function r(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(r){return r instanceof e&&r.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:r},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(r,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,r,void 0,{reason:e},void 0);var t=arguments[1],n=function(){throw t};return this.caught(e,n)},e.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof e&&r.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:r},void 0);var n=arguments[1];n instanceof e&&n.suppressUnhandledRejections();var i=function(){return n};return this.caught(r,i)}}},9796:function(e,t,r){var n=r("8cb0"),i=r("d64c");t.writer=function(e){return"markdown"===(e=e||{}).outputFormat?i.writer():n.writer(e)}},9823:function(e,t,r){var n=r("30cd");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("b6834b7a",n,!0,{sourceMap:!1,shadowMode:!1})},9861:function(e,t,r){"use strict";r("e260");var n=r("23e7"),i=r("d066"),a=r("0d3b"),o=r("6eeb"),s=r("e2cc"),c=r("d44e"),l=r("9ed3"),u=r("69f3"),d=r("19aa"),p=r("5135"),f=r("0366"),h=r("f5df"),A=r("825a"),g=r("861d"),m=r("7c73"),v=r("5c6c"),b=r("9a1f"),k=r("35a1"),y=r("b622"),w=i("fetch"),x=i("Headers"),_=y("iterator"),C=u.set,E=u.getterFor("URLSearchParams"),T=u.getterFor("URLSearchParamsIterator"),B=/\+/g,S=Array(4),D=function(e){return S[e-1]||(S[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},U=function(e){try{return decodeURIComponent(e)}catch(t){return e}},F=function(e){var t=e.replace(B," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(D(r--),U);return t}},I=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},O=function(e){return L[e]},M=function(e){return encodeURIComponent(e).replace(I,O)},P=function(e,t){if(t)for(var r,n,i=t.split("&"),a=0;a<i.length;)(r=i[a++]).length&&(n=r.split("="),e.push({key:F(n.shift()),value:F(n.join("="))}))},R=function(e){this.entries.length=0,P(this.entries,e)},N=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=l((function(e,t){C(this,{type:"URLSearchParamsIterator",iterator:b(E(e).entries),kind:t})}),"Iterator",(function(){var e=T(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,"URLSearchParams");var e,t,r,n,i,a,o,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,f=[];if(C(u,{type:"URLSearchParams",entries:f,updateURL:function(){},updateSearchParams:R}),void 0!==l)if(g(l))if("function"==typeof(e=k(l)))for(r=(t=e.call(l)).next;!(n=r.call(t)).done;){if((o=(a=(i=b(A(n.value))).next).call(i)).done||(s=a.call(i)).done||!a.call(i).done)throw TypeError("Expected sequence with length 2");f.push({key:o.value+"",value:s.value+""})}else for(c in l)p(l,c)&&f.push({key:c,value:l[c]+""});else P(f,"string"==typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},j=H.prototype;s(j,{append:function(e,t){N(arguments.length,2);var r=E(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){N(arguments.length,1);for(var t=E(this),r=t.entries,n=e+"",i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){N(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){N(arguments.length,1);for(var t=E(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){N(arguments.length,1);for(var t=E(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){N(arguments.length,1);for(var r,n=E(this),i=n.entries,a=!1,o=e+"",s=t+"",c=0;c<i.length;c++)(r=i[c]).key===o&&(a?i.splice(c--,1):(a=!0,r.value=s));a||i.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=E(this),i=n.entries,a=i.slice();for(i.length=0,r=0;r<a.length;r++){for(e=a[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){for(var t,r=E(this).entries,n=f(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),o(j,_,j.entries),o(j,"toString",(function(){for(var e,t=E(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(M(e.key)+"="+M(e.value));return r.join("&")}),{enumerable:!0}),c(H,"URLSearchParams"),n({global:!0,forced:!a},{URLSearchParams:H}),a||"function"!=typeof w||"function"!=typeof x||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,"URLSearchParams"===h(r)&&((n=t.headers?new x(t.headers):new x).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=m(t,{body:v(0,String(r)),headers:v(0,n)}))),i.push(t)),w.apply(this,i)}}),e.exports={URLSearchParams:H,getState:E}},9911:function(e,t,r){"use strict";var n=r("23e7"),i=r("857a");n({target:"String",proto:!0,forced:r("af03")("link")},{link:function(e){return i(this,"a","href",e)}})},"99af":function(e,t,r){"use strict";var n=r("23e7"),i=r("d039"),a=r("e8b5"),o=r("861d"),s=r("7b0b"),c=r("50c4"),l=r("8418"),u=r("65f0"),d=r("1dde"),p=r("b622"),f=r("2d00"),h=p("isConcatSpreadable"),A=f>=51||!i((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=d("concat"),m=function(e){if(!o(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)};n({target:"Array",proto:!0,forced:!A||!g},{concat:function(e){var t,r,n,i,a,o=s(this),d=u(o,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(m(a=-1===t?o:arguments[t])){if(p+(i=c(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<i;r++,p++)r in a&&l(d,p,a[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(d,p++,a)}return d.length=p,d}})},"9a0c":function(e,t,r){var n=r("342f");e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},"9a1f":function(e,t,r){var n=r("825a"),i=r("35a1");e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},"9a8c":function(e,t,r){"use strict";var n=r("ebb5"),i=r("145e"),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(e,t){return i.call(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9ad5":function(e,t,r){"use strict";e.exports=function(e,t,n,i){var a=r("6df9"),o=a.tryCatch,s=a.errorObj,c=e._async;e.prototype.break=e.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var r=e._cancellationParent;if(null==r||!r._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=r}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(e,t){if(a.isArray(e))for(var r=0;r<e.length;++r)this._doInvokeOnCancel(e[r],t);else if(void 0!==e)if("function"==typeof e){if(!t){var n=o(e).call(this._boundValue());n===s&&(this._attachExtraTrace(n.e),c.throwLater(n.e))}}else e._resultCancelled(this)},e.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},e.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},e.prototype._resultCancelled=function(){this.cancel()}}},"9b42":function(e,t,r){r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,i,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw i}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},"9bdd":function(e,t,r){var n=r("825a"),i=r("2a62");e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){throw i(e),t}}},"9bf2":function(e,t,r){var n=r("83ab"),i=r("0cfb"),a=r("825a"),o=r("c04e"),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(a(e),t=o(t,!0),a(r),i)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},"9d2f":function(e,t,r){(function(){var t,n={}.hasOwnProperty;t=r("92e7"),e.exports=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(r)}return function(e,t){for(var r in t)n.call(t,r)&&(e[r]=t[r]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(t,e),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).text(this)},t}(t)}).call(this)},"9d83":function(e,t,r){(function(e){var n=r("c46f"),i=t.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};var a={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function o(e){this._notes=n.indexBy(e,(function(e){return s(e.noteType,e.noteId)}))}function s(e,t){return e+"-"+t}function c(e){return{type:i.break,breakType:e}}o.prototype.resolve=function(e){return this.findNoteByKey(s(e.noteType,e.noteId))},o.prototype.findNoteByKey=function(e){return this._notes[e]||null},t.document=t.Document=function(e,t){return{type:i.document,children:e,notes:(t=t||{}).notes||new o({}),comments:t.comments||[]}},t.paragraph=t.Paragraph=function(e,t){var r=(t=t||{}).indent||{};return{type:i.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.numbering||null,alignment:t.alignment||null,indent:{start:r.start||null,end:r.end||null,firstLine:r.firstLine||null,hanging:r.hanging||null}}},t.run=t.Run=function(e,t){return{type:i.run,children:e,styleId:(t=t||{}).styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||a.baseline,font:t.font||null,fontSize:t.fontSize||null}},t.text=t.Text=function(e){return{type:i.text,value:e}},t.tab=t.Tab=function(){return{type:i.tab}},t.Hyperlink=function(e,t){return{type:i.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}},t.noteReference=t.NoteReference=function(e){return{type:i.noteReference,noteType:e.noteType,noteId:e.noteId}},t.Notes=o,t.Note=function(e){return{type:i.note,noteType:e.noteType,noteId:e.noteId,body:e.body}},t.commentReference=function(e){return{type:i.commentReference,commentId:e.commentId}},t.comment=function(e){return{type:i.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}},t.Image=function(t){return{type:i.image,read:function(r){return r?t.readImage(r):t.readImage().then((function(t){return e.from(t)}))},readAsArrayBuffer:function(){return t.readImage()},readAsBase64String:function(){return t.readImage("base64")},readAsBuffer:function(){return t.readImage().then((function(t){return e.from(t)}))},altText:t.altText,contentType:t.contentType}},t.Table=function(e,t){return{type:i.table,children:e,styleId:(t=t||{}).styleId||null,styleName:t.styleName||null}},t.TableRow=function(e,t){return{type:i.tableRow,children:e,isHeader:(t=t||{}).isHeader||!1}},t.TableCell=function(e,t){return{type:i.tableCell,children:e,colSpan:null==(t=t||{}).colSpan?1:t.colSpan,rowSpan:null==t.rowSpan?1:t.rowSpan}},t.lineBreak=c("line"),t.pageBreak=c("page"),t.columnBreak=c("column"),t.BookmarkStart=function(e){return{type:i.bookmarkStart,name:e.name}},t.verticalAlignment=a}).call(this,r("b639").Buffer)},"9ed3":function(e,t,r){"use strict";var n=r("ae93").IteratorPrototype,i=r("7c73"),a=r("5c6c"),o=r("d44e"),s=r("3f8c"),c=function(){return this};e.exports=function(e,t,r){var l=t+" Iterator";return e.prototype=i(n,{next:a(1,r)}),o(e,l,!1,!0),s[l]=c,e}},"9f7f":function(e,t,r){"use strict";var n=r("d039");function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a078:function(e,t,r){var n=r("7b0b"),i=r("50c4"),a=r("35a1"),o=r("e95a"),s=r("0366"),c=r("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,r,l,u,d,p,f=n(e),h=arguments.length,A=h>1?arguments[1]:void 0,g=void 0!==A,m=a(f);if(null!=m&&!o(m))for(p=(d=m.call(f)).next,f=[];!(u=p.call(d)).done;)f.push(u.value);for(g&&h>2&&(A=s(A,arguments[2],2)),r=i(f.length),l=new(c(this))(r),t=0;r>t;t++)l[t]=g?A(f[t],t):f[t];return l}},a11b:function(e,t,r){var n;e.exports=(n=r("21bf"),r("38ba"),n.pad.Iso10126={pad:function(e,t){var r=4*t,i=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},a15b:function(e,t,r){"use strict";var n=r("23e7"),i=r("44ad"),a=r("fc6a"),o=r("a640"),s=[].join,c=i!=Object,l=o("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(a(this),void 0===e?",":e)}})},a30b:function(e,t,r){(t=r("24fb")(!1)).push([e.i,'.kb-chat-root[data-v-5fdf0dc5]{flex:1;display:flex;flex-direction:row;min-width:0;min-height:0}.kb-chat-root[data-v-5fdf0dc5],.kb-chat-root *[data-v-5fdf0dc5],.kb-chat-root[data-v-5fdf0dc5] :after,.kb-chat-root[data-v-5fdf0dc5] :before{font-size:14px!important}.kb-chat-sidebar[data-v-5fdf0dc5]{width:clamp(240px,20vw,280px);flex-shrink:0;display:flex;flex-direction:column;background:#f7f8fa;border-right:1px solid #e8e8e8;transition:width .2s ease;overflow:hidden}.kb-chat-sidebar.collapsed[data-v-5fdf0dc5]{width:0;border-right:none}.sidebar-header[data-v-5fdf0dc5]{justify-content:space-between;padding:14px 12px 10px;flex-shrink:0}.sidebar-header[data-v-5fdf0dc5],.sidebar-title[data-v-5fdf0dc5]{display:flex;align-items:center}.sidebar-title[data-v-5fdf0dc5]{gap:6px;font-size:16px!important;font-weight:600;color:#333;white-space:nowrap}.kb-sidebar-back-btn[data-v-5fdf0dc5]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;margin-right:4px;border:none;border-radius:10px;background:transparent;color:#333;cursor:pointer;flex-shrink:0;transition:background .2s}.kb-sidebar-back-btn svg[data-v-5fdf0dc5]{display:block}.kb-sidebar-back-btn[data-v-5fdf0dc5]:active{background:#f0f2f5}.kb-chat-root.is-mobile .sidebar-header[data-v-5fdf0dc5]{justify-content:flex-start}.kb-chat-root.is-mobile .sidebar-header .new-chat-btn[data-v-5fdf0dc5]{margin-left:auto}.sidebar-title[data-v-5fdf0dc5]:before{content:"";flex-shrink:0;width:4px;height:16px;border-radius:2px;background:linear-gradient(180deg,#409eff,#79bbff)}.new-chat-btn[data-v-5fdf0dc5]{width:30px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#909399;cursor:pointer;padding:0;font-size:32px!important;transition:all .2s}.new-chat-btn[data-v-5fdf0dc5]:hover{background:transparent;color:#409eff}.new-chat-btn[data-v-5fdf0dc5]:disabled{cursor:not-allowed;opacity:.45}.new-chat-btn[data-v-5fdf0dc5]:disabled:hover{color:#909399}.new-chat-btn i[data-v-5fdf0dc5]:before{font-size:21px!important}.sidebar-list[data-v-5fdf0dc5]{flex:1;overflow-y:auto;padding:0 8px 12px}.session-item[data-v-5fdf0dc5]{display:flex;align-items:center;gap:8px;padding:10px 10px;border-radius:8px;cursor:pointer;transition:background .2s;margin-bottom:2px}.session-item[data-v-5fdf0dc5]:hover{background:#eef1f5}.session-item.active[data-v-5fdf0dc5]{background:#e6f0ff}.session-item.is-locked[data-v-5fdf0dc5]{cursor:not-allowed}.session-item.is-locked[data-v-5fdf0dc5]:hover{background:transparent}.session-item.is-locked.active[data-v-5fdf0dc5]:hover{background:#e6f0ff}.session-item.is-locked .session-more-menu[data-v-5fdf0dc5]{display:none}.session-item-main[data-v-5fdf0dc5]{flex:1;min-width:0}.session-item-title[data-v-5fdf0dc5]{font-size:14px;color:#333;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-item.active .session-item-title[data-v-5fdf0dc5]{color:#1677ff;font-weight:600}.session-item-sub[data-v-5fdf0dc5]{font-size:12px;color:#999;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-item-right[data-v-5fdf0dc5]{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.session-item-time[data-v-5fdf0dc5]{font-size:11px;color:#bbb;white-space:nowrap}.session-more-menu[data-v-5fdf0dc5]{display:none;line-height:1;position:absolute;top:0;right:0}.session-item:hover .session-more-menu[data-v-5fdf0dc5]{display:block}.session-item:hover .session-item-time[data-v-5fdf0dc5]{visibility:hidden}.session-more-btn[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:4px;color:#999;cursor:pointer;transition:all .2s}.session-more-btn[data-v-5fdf0dc5]:hover{color:#1677ff;background:#eef4ff}.sidebar-empty[data-v-5fdf0dc5]{padding:30px 10px;text-align:center;font-size:13px;color:#bbb}.kb-chat-main[data-v-5fdf0dc5]{flex:1;min-width:0;position:relative;display:flex;flex-direction:column}.kb-no-doc-mask[data-v-5fdf0dc5]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;justify-content:center;padding:24px;background:hsla(0,0%,100%,.5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.kb-no-doc-box[data-v-5fdf0dc5],.kb-no-doc-mask[data-v-5fdf0dc5]{display:flex;align-items:center}.kb-no-doc-box[data-v-5fdf0dc5]{position:relative;flex-direction:column;gap:26px;max-width:560px;padding:64px 76px;background:hsla(0,0%,100%,.94);border:1px solid hsla(0,0%,100%,.9);border-radius:24px;box-shadow:0 16px 48px rgba(31,45,61,.14),0 2px 8px rgba(31,45,61,.04);text-align:center;overflow:hidden;-webkit-animation:kb-no-doc-in-data-v-5fdf0dc5 .2s ease-out;animation:kb-no-doc-in-data-v-5fdf0dc5 .2s ease-out}.kb-no-doc-box[data-v-5fdf0dc5]:before{content:"";position:absolute;top:-80px;left:50%;width:280px;height:190px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(245,108,108,.18),rgba(245,108,108,0));pointer-events:none}.kb-no-doc-icon[data-v-5fdf0dc5]{position:relative;width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff9f9f,#ef5a5a);border:none;color:#fff;font-size:32px!important;box-shadow:0 0 0 8px rgba(239,90,90,.08),0 10px 24px rgba(239,90,90,.3)}.kb-no-doc-icon[data-v-5fdf0dc5] :before{font-size:28px!important}.kb-no-doc-text[data-v-5fdf0dc5]{font-size:16px!important;line-height:1.6;letter-spacing:.2px;color:#606266}@-webkit-keyframes kb-no-doc-in-data-v-5fdf0dc5{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes kb-no-doc-in-data-v-5fdf0dc5{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chat-header[data-v-5fdf0dc5]{justify-content:space-between;padding:10px 20px;border-bottom:1px solid #e8e8e8;z-index:10}.chat-header[data-v-5fdf0dc5],.sidebar-toggle-btn[data-v-5fdf0dc5]{display:flex;align-items:center;background:#fff;flex-shrink:0}.sidebar-toggle-btn[data-v-5fdf0dc5]{position:absolute;left:0;top:50%;transform:translateY(-50%);width:20px;height:64px;z-index:20;justify-content:center;border:none;color:#606266;border:1px solid #dcdfe6;border-left:none;border-radius:0 8px 8px 0;box-shadow:2px 0 8px rgba(0,0,0,.08);cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}.sidebar-toggle-btn[data-v-5fdf0dc5]:hover{background:#ecf5ff;color:#409eff;box-shadow:2px 0 10px rgba(64,158,255,.25)}.sidebar-toggle-btn svg[data-v-5fdf0dc5]{transition:transform .35s cubic-bezier(.4,0,.2,1);transform:rotate(0deg)}.sidebar-toggle-btn.collapsed svg[data-v-5fdf0dc5]{transform:rotate(180deg)}@-webkit-keyframes toggle-bounce-data-v-5fdf0dc5{0%{transform:rotate(0deg) translateX(0)}60%{transform:rotate(0deg) translateX(-3px)}to{transform:rotate(0deg) translateX(0)}}@keyframes toggle-bounce-data-v-5fdf0dc5{0%{transform:rotate(0deg) translateX(0)}60%{transform:rotate(0deg) translateX(-3px)}to{transform:rotate(0deg) translateX(0)}}.sidebar-toggle-btn:active svg[data-v-5fdf0dc5]{-webkit-animation:toggle-bounce-data-v-5fdf0dc5 .3s ease;animation:toggle-bounce-data-v-5fdf0dc5 .3s ease}.header-left[data-v-5fdf0dc5]{min-width:0;flex:1}.agent-info[data-v-5fdf0dc5],.header-left[data-v-5fdf0dc5]{display:flex;align-items:center;gap:10px}.agent-avatar[data-v-5fdf0dc5]{width:36px;height:36px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#fff}.avatar-image[data-v-5fdf0dc5]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.agent-text[data-v-5fdf0dc5]{min-width:0}.agent-name[data-v-5fdf0dc5]{font-size:15px;font-weight:600;color:#333;line-height:1.3}.agent-desc[data-v-5fdf0dc5]{font-size:12px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(300px,45vw)}.chat-body[data-v-5fdf0dc5]{flex:1;overflow-y:auto;padding:16px clamp(12px,3vw,40px);scroll-behavior:auto;position:relative;-webkit-overflow-scrolling:touch;background:url(https://qiguanbang.obs.cn-east-3.myhuaweicloud.com/production/image/AlAgent/agentbackground.png) 100% no-repeat;background-size:cover;background-position:50%;min-height:0}.welcome[data-v-5fdf0dc5]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#bbb;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0 -20px}.welcome-icon[data-v-5fdf0dc5]{margin-bottom:12px;opacity:.7}.welcome-title[data-v-5fdf0dc5]{font-size:20px;font-weight:600;color:#333;margin-bottom:8px}.welcome-text[data-v-5fdf0dc5]{font-size:15px;color:#bbb}@-webkit-keyframes pulse-data-v-5fdf0dc5{0%,to{opacity:1}50%{opacity:.4}}@keyframes pulse-data-v-5fdf0dc5{0%,to{opacity:1}50%{opacity:.4}}.chat-empty-welcome[data-v-5fdf0dc5]{width:100%;padding:40px 20px;box-sizing:border-box;display:flex;flex-direction:column;gap:0;max-width:600px;margin:80px auto}.welcome-card[data-v-5fdf0dc5]{position:relative;background:linear-gradient(296deg,#d6edff 20%,#e8ebff 80%);border-radius:16px 16px 0 0;padding:24px 24px 24px 150px;overflow:visible}.welcome-avatar-box[data-v-5fdf0dc5]{position:absolute;left:15px;bottom:0;width:110px;height:137px}.welcome-avatar[data-v-5fdf0dc5]{width:100%;height:100%;border-radius:12px;background-size:cover;background-position:50%;background-repeat:no-repeat}.welcome-text-group[data-v-5fdf0dc5]{display:flex;flex-direction:column;gap:6px}.welcome-text-group .text-sm[data-v-5fdf0dc5]{font-weight:400;color:#666;font-size:12px;text-align:left}.welcome-text-group .text-lg[data-v-5fdf0dc5]{color:#000;font-size:16px;font-weight:500}.guess-box[data-v-5fdf0dc5]{border-top:1px solid #fff;padding:20px;background:linear-gradient(180deg,#b8dcff,#dff0ff 50%,#fff);border-radius:0 0 16px 16px}.guess-title[data-v-5fdf0dc5]{display:flex;align-items:center;gap:6px;margin-bottom:16px;color:#222;font-size:16px;font-weight:500}.tag-wrap[data-v-5fdf0dc5]{display:flex;flex-wrap:wrap;gap:10px}.quick-tag[data-v-5fdf0dc5]{padding:8px 14px;background:#f2faff;border:1px solid #e0eaff;border-radius:8px;color:#333;cursor:pointer;font-size:14px;white-space:nowrap;transition:all .2s}.quick-tag[data-v-5fdf0dc5]:hover{background:#f0f7ff;border-color:#1677ff}.thinking-details[data-v-5fdf0dc5]{margin-bottom:10px;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;background:#fafafa}.thinking-summary[data-v-5fdf0dc5]{font-size:12px;color:#888;cursor:pointer;padding:6px 10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.thinking-summary[data-v-5fdf0dc5]:hover{color:#1677ff}.thinking-body[data-v-5fdf0dc5]{font-size:14px;color:#999;padding:8px 12px;line-height:1.6;border-top:1px solid #f0f0f0;text-align:left;white-space:pre-wrap}.final-content[data-v-5fdf0dc5],.thinking-body[data-v-5fdf0dc5]{word-break:break-word;overflow-wrap:break-word;overflow-wrap:anywhere}.final-content[data-v-5fdf0dc5]{white-space:normal;font-size:16px;line-height:1.7}.final-content[data-v-5fdf0dc5] h1,.final-content[data-v-5fdf0dc5] h2,.final-content[data-v-5fdf0dc5] h3,.final-content[data-v-5fdf0dc5] h4,.final-content[data-v-5fdf0dc5] h5,.final-content[data-v-5fdf0dc5] h6{margin:12px 0 6px;font-weight:600;line-height:1.5}.final-content[data-v-5fdf0dc5] h1{font-size:24px}.final-content[data-v-5fdf0dc5] h2{font-size:20px}.final-content[data-v-5fdf0dc5] h3{font-size:18px}.final-content[data-v-5fdf0dc5] h4,.final-content[data-v-5fdf0dc5] h5,.final-content[data-v-5fdf0dc5] h6{font-size:16px}.final-content[data-v-5fdf0dc5] strong{font-weight:700}.final-content[data-v-5fdf0dc5] em{font-style:italic}.final-content[data-v-5fdf0dc5] blockquote{margin:8px 0;padding:4px 12px;border-left:3px solid #b3d8ff;color:#666;background:#f6f8fa}.final-content[data-v-5fdf0dc5] a{color:#1677ff}.final-content[data-v-5fdf0dc5] p{margin:6px 0}.final-content[data-v-5fdf0dc5] ol,.final-content[data-v-5fdf0dc5] ul{padding-left:20px;margin:4px 0}.final-content[data-v-5fdf0dc5] li{margin:2px 0}.final-content[data-v-5fdf0dc5] table{border-collapse:collapse;width:100%;margin:6px 0;font-size:14px}.final-content[data-v-5fdf0dc5] td,.final-content[data-v-5fdf0dc5] th{border:1px solid #e8e8e8;padding:5px 8px;text-align:left}.final-content[data-v-5fdf0dc5] th{background:#fafafa;font-weight:600}.final-content[data-v-5fdf0dc5] code{padding:1px 5px;border-radius:3px;font-size:14px}.final-content[data-v-5fdf0dc5] pre{background:#f6f8fa;color:#333;padding:12px;border-radius:6px;overflow-x:auto;font-size:13px;border:1px solid #e8e8e8;margin:8px 0;line-height:1.5;white-space:pre}.final-content[data-v-5fdf0dc5] pre code{padding:0;font-size:inherit}.msg-row[data-v-5fdf0dc5]{width:100%;display:flex;justify-content:center;padding:20px 16px;box-sizing:border-box;align-items:center}.msg-main[data-v-5fdf0dc5]{display:flex;align-items:flex-start;gap:10px;width:min(100%,860px)!important;max-width:860px}.msg-row.user .msg-main[data-v-5fdf0dc5]{flex-direction:row-reverse}.msg-row.assistant .msg-main[data-v-5fdf0dc5]{flex-direction:row}.message-avatar[data-v-5fdf0dc5]{width:36px;height:36px;border-radius:50%;flex-shrink:0;-o-object-fit:cover;object-fit:cover}.user-text-avatar[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;background:#007fff;color:#fff;font-size:12px;line-height:1}.msg-content[data-v-5fdf0dc5]{width:100%!important;max-width:100%;box-sizing:border-box;overflow:hidden;display:flex;flex-direction:column}.msg-row.user .msg-content[data-v-5fdf0dc5]{align-items:flex-end}.msg-row.assistant .msg-content[data-v-5fdf0dc5]{align-items:flex-start}.bubble[data-v-5fdf0dc5]{max-width:100%;min-width:30px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px 14px;border-radius:12px;line-height:1.4;font-size:15px;word-break:break-word;white-space:normal;text-align:left;overflow-wrap:anywhere}.bubble.assistant[data-v-5fdf0dc5]{background:#fff;color:#333;border-bottom-left-radius:4px;box-shadow:0 1px 4px rgba(0,0,0,.06);width:100%;box-sizing:border-box}.bubble.user[data-v-5fdf0dc5]{background:#1677ff;color:#fff;border-bottom-right-radius:4px;box-shadow:0 2px 8px rgba(22,119,255,.15);float:none;margin-left:auto;max-width:min(100%,520px)}.tool-calls[data-v-5fdf0dc5]{margin-top:8px}.tool-item[data-v-5fdf0dc5]{background:#f5f5f5;border-radius:6px;padding:6px 10px;margin-bottom:4px;font-size:12px}.tool-badge[data-v-5fdf0dc5]{display:inline-block;margin-bottom:2px;font-size:11px;color:#fa8c16;font-weight:500}.tool-item pre[data-v-5fdf0dc5]{margin:0;white-space:pre-wrap;word-break:break-all;font-size:12px;color:#666;max-height:120px;overflow-y:auto}.msg-actions[data-v-5fdf0dc5]{display:flex;gap:4px;margin-top:4px;padding-left:4px;align-items:center;justify-content:space-between}.action-btn[data-v-5fdf0dc5]{font-size:12px;color:#999;cursor:pointer;padding:2px 6px 2px 0;border-radius:4px;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.action-btn[data-v-5fdf0dc5]:hover{color:#1677ff;background:#f0f5ff}.ai-badge[data-v-5fdf0dc5]{font-size:11px;color:#999;padding:1px 6px;border-radius:3px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-left:auto}.typing[data-v-5fdf0dc5]{display:flex;align-items:center;gap:6px;padding:4px 0}.phrase[data-v-5fdf0dc5]{font-size:14px;color:#999}.dots[data-v-5fdf0dc5]{display:flex;align-items:center;gap:3px}.dots span[data-v-5fdf0dc5]{width:6px;height:6px;border-radius:50%;background:#bbb;display:inline-block;-webkit-animation:dot-bounce-data-v-5fdf0dc5 1.4s ease-in-out infinite both;animation:dot-bounce-data-v-5fdf0dc5 1.4s ease-in-out infinite both}.dots span[data-v-5fdf0dc5]:first-child{-webkit-animation-delay:-.32s;animation-delay:-.32s}.dots span[data-v-5fdf0dc5]:nth-child(2){-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes dot-bounce-data-v-5fdf0dc5{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes dot-bounce-data-v-5fdf0dc5{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.chat-footer[data-v-5fdf0dc5]{flex-shrink:0;border-top:none;padding:30px 0;display:flex;align-items:center;justify-content:center;margin:0 auto;width:100%}.input-area[data-v-5fdf0dc5]{position:relative;display:flex;align-items:flex-end;gap:6px;background:#fff;border-radius:24px;margin:0 24px;padding:18px 20px;border:1px solid #b3d8ff;transition:border-color .2s;flex-wrap:wrap;width:min(100%,1000px)!important;box-sizing:border-box}.input-area[data-v-5fdf0dc5]:focus-within{border-color:#1677ff;background:#fff;box-shadow:none}.input-area[data-v-5fdf0dc5]:after{content:"Enter 发送,Ctrl+Enter 换行";position:absolute;right:100px;bottom:28px;font-size:14px;color:#8c8c8c;pointer-events:none}.chat-textarea[data-v-5fdf0dc5]{flex:1 1 320px;min-width:0;border:none;outline:none;background:transparent;resize:none;font-size:16px;line-height:24px;min-height:38px;height:100px;max-height:180px;overflow-y:auto;padding:0;box-sizing:border-box;font-family:inherit;color:#333}.chat-textarea[data-v-5fdf0dc5]::-moz-placeholder{color:#999;font-size:16px}.chat-textarea[data-v-5fdf0dc5]:-ms-input-placeholder{color:#999;font-size:16px}.chat-textarea[data-v-5fdf0dc5]::placeholder{color:#999;font-size:16px}.chat-textarea[data-v-5fdf0dc5]:disabled{cursor:not-allowed;opacity:.5}.send-btn[data-v-5fdf0dc5]{width:auto;height:40px;padding:0 21px;border-radius:6px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .2s;background:#1677ff;color:#fff;font-size:14px}.send-btn svg[data-v-5fdf0dc5]{display:none}.send-btn[data-v-5fdf0dc5]:after{content:"发送"}.send-btn.active[data-v-5fdf0dc5]{background:#1677ff}.send-btn.active[data-v-5fdf0dc5]:hover{background:#4096ff}.send-btn[data-v-5fdf0dc5]:disabled{background:#88bfff;cursor:not-allowed}.stop-btn[data-v-5fdf0dc5]{width:35px;height:35px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#ff4d4f;color:#fff;flex-shrink:0;transition:all .2s}.stop-btn[data-v-5fdf0dc5]:hover{background:#ff7875}.kb-chat-root.is-mobile[data-v-5fdf0dc5]{position:relative;display:block;width:100%;max-width:100%;height:100%;overflow:hidden}.kb-chat-root.is-mobile .kb-chat-sidebar[data-v-5fdf0dc5]{position:absolute;top:0;bottom:0;left:0;width:100%;border-right:none;z-index:5;background:#fff}.kb-chat-root.is-mobile:not(.h5-list-mode) .kb-chat-sidebar[data-v-5fdf0dc5]{transform:translateX(-100%)}.kb-chat-root.is-mobile .kb-chat-main[data-v-5fdf0dc5]{width:100%;max-width:100%;height:100%;overflow:hidden}.kb-chat-root.is-mobile .chat-footer[data-v-5fdf0dc5]{padding:10px 0 calc(10px + env(safe-area-inset-bottom))}.kb-chat-root.is-mobile .input-area[data-v-5fdf0dc5]{margin:0 10px;padding:6px 6px 6px 16px;width:calc(100% - 20px)!important;gap:8px;background:#f5f6f8;border:1px solid transparent;border-radius:22px;transition:background .2s,border-color .2s,box-shadow .2s}.kb-chat-root.is-mobile .input-area[data-v-5fdf0dc5]:focus-within{background:#fff;border-color:#1677ff;box-shadow:0 2px 12px rgba(22,119,255,.12)}.kb-chat-root.is-mobile .input-area[data-v-5fdf0dc5]:after{display:none}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]{flex:1 1 auto;height:38px;min-height:38px;max-height:120px;padding:7px 0;line-height:24px}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]::-moz-placeholder{color:#b8bcc4}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]:-ms-input-placeholder{color:#b8bcc4}.kb-chat-root.is-mobile .chat-textarea[data-v-5fdf0dc5]::placeholder{color:#b8bcc4}.kb-chat-root.is-mobile .send-btn[data-v-5fdf0dc5]{width:36px;height:36px;padding:0;border-radius:50%}.kb-chat-root.is-mobile .send-btn svg[data-v-5fdf0dc5]{display:block}.kb-chat-root.is-mobile .send-btn[data-v-5fdf0dc5]:after{content:none}.kb-chat-root.is-mobile .send-btn.active[data-v-5fdf0dc5]:active{background:#0f66e0}.kb-chat-root.is-mobile .send-btn[data-v-5fdf0dc5]:disabled{background:#d3dce9}.kb-chat-root.is-mobile .stop-btn[data-v-5fdf0dc5]{width:36px;height:36px}.kb-chat-root.is-mobile.h5-list-mode .kb-chat-main[data-v-5fdf0dc5]{display:none}.kb-m-chat-back[data-v-5fdf0dc5]{position:absolute;top:10px;left:10px;z-index:20;width:36px;height:36px;border:1px solid #e8e8e8;background:#f5f6f8;color:#303133;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;box-shadow:0 1px 4px rgba(0,0,0,.08)}.kb-m-chat-back[data-v-5fdf0dc5]:active{background:#e8eaed}.kb-chat-root.is-mobile:not(.h5-list-mode) .chat-header[data-v-5fdf0dc5]{padding-left:56px}.kb-m-guide-mask[data-v-5fdf0dc5]{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:28px}.kb-m-guide-line[data-v-5fdf0dc5]{width:1px;height:22px;background:linear-gradient(180deg,rgba(22,119,255,0),rgba(22,119,255,.45))}.kb-m-guide-tip[data-v-5fdf0dc5]{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:8px 14px;border-radius:18px;background:rgba(22,119,255,.08);border:1px dashed rgba(22,119,255,.35);color:#1677ff;font-size:12px;line-height:1.5;-webkit-animation:kbGuideBreath-data-v-5fdf0dc5 2s ease-in-out infinite;animation:kbGuideBreath-data-v-5fdf0dc5 2s ease-in-out infinite}.kb-m-guide-tip svg[data-v-5fdf0dc5]{flex-shrink:0}@-webkit-keyframes kbGuideBreath-data-v-5fdf0dc5{0%,to{opacity:.72}50%{opacity:1}}@keyframes kbGuideBreath-data-v-5fdf0dc5{0%,to{opacity:.72}50%{opacity:1}}.kb-no-doc-mobile-tip[data-v-5fdf0dc5]{display:inline-flex;align-items:center;gap:6px;margin-top:14px;padding:8px 14px;border-radius:10px;background:#f5f7fa;color:#909399;font-size:12px;line-height:1.5}.kb-no-doc-mobile-tip svg[data-v-5fdf0dc5]{flex-shrink:0;color:#1677ff}.kb-chat-root.is-mobile .kb-no-doc-mask[data-v-5fdf0dc5]{top:57px;z-index:9;padding:16px}.kb-chat-root.is-mobile .chat-empty-welcome[data-v-5fdf0dc5]{margin:24px auto;padding:16px 14px}.kb-chat-root.is-mobile .welcome-card[data-v-5fdf0dc5]{padding:18px 16px 18px 118px;border-radius:14px 14px 0 0}.kb-chat-root.is-mobile .welcome-avatar-box[data-v-5fdf0dc5]{left:8px;width:96px;height:120px}.kb-chat-root.is-mobile .kb-no-doc-box[data-v-5fdf0dc5]{gap:16px;max-width:100%;padding:36px 24px;border-radius:18px}.kb-chat-root.is-mobile .kb-no-doc-icon[data-v-5fdf0dc5]{width:60px;height:60px}.kb-chat-root.is-mobile .kb-no-doc-text[data-v-5fdf0dc5]{font-size:14px!important}.session-more-btn--m[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;border:none;background:transparent;color:#909399;cursor:pointer}.kb-m-actionsheet[data-v-5fdf0dc5]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.35);-webkit-animation:kb-m-fade-data-v-5fdf0dc5 .15s ease-out;animation:kb-m-fade-data-v-5fdf0dc5 .15s ease-out}.kb-m-actionsheet-box[data-v-5fdf0dc5]{width:100%;max-width:520px;box-sizing:border-box;padding:8px;background:#f2f3f5;border-radius:12px 12px 0 0}.kb-m-actionsheet-title[data-v-5fdf0dc5]{padding:12px 14px;font-size:13px;color:#909399;text-align:center;word-break:break-all}.kb-m-actionsheet-item[data-v-5fdf0dc5]{display:flex;align-items:center;justify-content:center;gap:6px;height:50px;background:#fff;border-radius:8px;font-size:16px;color:#303133;margin-bottom:8px}.kb-m-actionsheet-item.danger[data-v-5fdf0dc5]{color:#ff4d4f}.kb-m-actionsheet-item[data-v-5fdf0dc5]:active{background:#f5f6f8}.kb-m-actionsheet-cancel[data-v-5fdf0dc5]{height:50px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:8px;font-size:16px;color:#303133}.kb-m-actionsheet-cancel[data-v-5fdf0dc5]:active{background:#f5f6f8}@-webkit-keyframes kb-m-fade-data-v-5fdf0dc5{0%{opacity:0}to{opacity:1}}@keyframes kb-m-fade-data-v-5fdf0dc5{0%{opacity:0}to{opacity:1}}',""]),e.exports=t},a40e:function(e,t,r){var n;e.exports=(n=r("21bf"),r("1132"),r("72fe"),r("2b79"),r("38ba"),function(){var e=n,t=e.lib,r=t.WordArray,i=t.BlockCipher,a=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=o[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],a=0;a<16;a++){var l=i[a]=[],u=c[a];for(r=0;r<24;r++)l[r/6|0]|=t[(s[r]-1+u)%28]<<31-r%6,l[4+(r/6|0)]|=t[28+(s[r+24]-1+u)%28]<<31-r%6;for(l[0]=l[0]<<1|l[0]>>>31,r=1;r<7;r++)l[r]=l[r]>>>4*(r-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),p.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],a=this._lBlock,o=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((o^i[c])&u[c])>>>0];this._lBlock=o,this._rBlock=a^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,p.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function f(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}e.DES=i._createHelper(d);var h=a.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(r.create(t)),this._des2=d.createEncryptor(r.create(n)),this._des3=d.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(h)}(),n.TripleDES)},a41f:function(e,t,r){"use strict";var n=r("6536");function i(e){const t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function a(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===a(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};const l={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp(`^\\/\\/${r.re.src_auth}${r.re.src_host_port_strict}${r.re.src_path}`,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+`(?:localhost|(?:(?:${r.re.src_domain})\\.)+${r.re.src_domain_root})`+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp(`^${r.re.src_email_name}@${r.re.src_host_strict}`,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function d(e){const t=e.re=function(e){const t={};return e=e||{},t.src_Any=n.Any.source,t.src_Cc=n.Cc.source,t.src_Z=n.Z.source,t.src_P=n.P.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter=`(?:(?![><|]|${t.src_ZPCc})${t.src_Any})`,t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth=`(?:(?:(?!${t.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator=`(?=$|[><|]|${t.src_ZPCc})(?!${e["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${t.src_ZPCc}))`,t.src_path=`(?:[/?#](?:(?!${t.src_ZCc}|[><|]|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${t.src_ZCc}|\\]).)*\\]|\\((?:(?!${t.src_ZCc}|[)]).)*\\)|\\{(?:(?!${t.src_ZCc}|[}]).)*\\}|\\"(?:(?!${t.src_ZCc}|["]).)+\\"|\\'(?:(?!${t.src_ZCc}|[']).)+\\'|\\'(?=${t.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${t.src_ZCc}|[.]|$)|`+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${t.src_ZCc}|$)|`+`;(?!${t.src_ZCc}|$)|`+`\\!+(?!${t.src_ZCc}|[!]|$)|`+`\\?(?!${t.src_ZCc}|[?]|$))+|\\/)?`,t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|"+`(?:${t.src_pseudo_letter})|`+`(?:${t.src_pseudo_letter}(?:-|${t.src_pseudo_letter}){0,61}${t.src_pseudo_letter}))`,t.src_host=`(?:(?:(?:(?:${t.src_domain})\\.)*${t.src_domain}))`,t.tpl_host_fuzzy="(?:"+t.src_ip4+"|"+`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%)))`,t.tpl_host_no_ip_fuzzy=`(?:(?:(?:${t.src_domain})\\.)+(?:%TLDS%))`,t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${t.src_ZPCc}|>|$))`,t.tpl_email_fuzzy=`(^|[><|]|"|\\(|${t.src_ZCc})(${t.src_email_name}@${t.tpl_host_fuzzy_strict})`,t.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_fuzzy_strict}${t.src_path})`,t.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${t.src_ZPCc}))((?![$+<=>^\`||])${t.tpl_host_port_no_ip_fuzzy_strict}${t.src_path})`,t}(e.__opts__),r=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.email_fuzzy_global=RegExp(i(t.tpl_email_fuzzy),"ig"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_fuzzy_global=RegExp(i(t.tpl_link_fuzzy),"ig"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.link_no_ip_fuzzy_global=RegExp(i(t.tpl_link_no_ip_fuzzy),"ig"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");const c=[];function l(e,t){throw new Error(`(LinkifyIt) Invalid schema "${e}": ${t}`)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){const r=e.__schemas__[t];if(null===r)return;const n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===a(r))return!function(e){return"[object RegExp]"===a(e)}(r.validate)?o(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(o(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(r)?l(t,r):c.push(t)})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};const u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${u})`,"i"),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${t.src_ZPCc}))(${u})`,"ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp(`(${e.re.schema_test.source})|(${e.re.host_fuzzy_test.source})|@`,"i")}function p(e,t,r,n){const i=e.slice(r,n);this.schema=t.toLowerCase(),this.index=r,this.lastIndex=n,this.raw=i,this.text=i,this.url=i}function f(e,t){if(!(this instanceof f))return new f(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=i({},c,t),this.__schemas__=i({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},d(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},f.prototype.set=function(e){return this.__opts__=i(this.__opts__,e),this},f.prototype.test=function(e){if(!e.length)return!1;let t,r;if(this.re.schema_test.test(e))for(r=this.re.schema_search,r.lastIndex=0;null!==(t=r.exec(e));)if(this.testSchemaAt(e,t[2],r.lastIndex))return!0;return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&e.search(this.re.host_fuzzy_test)>=0&&null!==e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))||!!(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==e.match(this.re.email_fuzzy))},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){const t=[],r=[],n=[],i=[];let a,o,s;function c(e,t){return e?t?e.index!==t.index?e.index<t.index?e:t:e.lastIndex>=t.lastIndex?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(a=s.exec(e));)o=this.testSchemaAt(e,a[2],s.lastIndex),o&&r.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;null!==(a=s.exec(e));)n.push({schema:"",index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(s=this.re.email_fuzzy_global,s.lastIndex=0;null!==(a=s.exec(e));)i.push({schema:"mailto:",index:a.index+a[1].length,lastIndex:a.index+a[0].length});const l=[0,0,0];let u=0;for(;;){const a=[r[l[0]],i[l[1]],n[l[2]]],o=c(c(a[0],a[1]),a[2]);if(!o)break;if(o===a[0]?l[0]++:o===a[1]?l[1]++:l[2]++,o.index<u)continue;const s=new p(e,o.schema,o.index,o.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=o.lastIndex}return t.length?t:null},f.prototype.matchAtStart=function(e){if(!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);if(!r)return null;const n=new p(e,t[2],t.index+t[1].length,t.index+t[0].length+r);return this.__compiled__[n.schema].normalize(n,this),n},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),d(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,d(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},a434:function(e,t,r){"use strict";var n=r("23e7"),i=r("23cb"),a=r("a691"),o=r("50c4"),s=r("7b0b"),c=r("65f0"),l=r("8418"),u=r("1dde")("splice"),d=Math.max,p=Math.min;n({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var r,n,u,f,h,A,g=s(this),m=o(g.length),v=i(e,m),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=m-v):(r=b-2,n=p(d(a(t),0),m-v)),m+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(g,n),f=0;f<n;f++)(h=v+f)in g&&l(u,f,g[h]);if(u.length=n,r<n){for(f=v;f<m-n;f++)A=f+r,(h=f+n)in g?g[A]=g[h]:delete g[A];for(f=m;f>m-n+r;f--)delete g[f-1]}else if(r>n)for(f=m-n;f>v;f--)A=f+r-1,(h=f+n-1)in g?g[A]=g[h]:delete g[A];for(f=0;f<r;f++)g[f+v]=arguments[f+2];return g.length=m-n+r,u}})},a4b4:function(e,t,r){var n=r("342f");e.exports=/web0s(?!.*chrome)/i.test(n)},a4b6:function(e,t){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var r,n,i,a,o,s,c,l,u;for(r in e||(e={}),this.pretty=e.pretty||!1,this.allowEmpty=null!=(n=e.allowEmpty)&&n,this.pretty?(this.indent=null!=(i=e.indent)?i:" ",this.newline=null!=(a=e.newline)?a:"\n",this.offset=null!=(o=e.offset)?o:0,this.dontprettytextnodes=null!=(s=e.dontprettytextnodes)?s:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(c=e.spacebeforeslash)?c:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=e.writer||{})t.call(l,r)&&(u=l[r],this[r]=u)}return e.prototype.set=function(e){var r,n,i;for(r in e||(e={}),"pretty"in e&&(this.pretty=e.pretty),"allowEmpty"in e&&(this.allowEmpty=e.allowEmpty),this.pretty?(this.indent="indent"in e?e.indent:" ",this.newline="newline"in e?e.newline:"\n",this.offset="offset"in e?e.offset:0,this.dontprettytextnodes="dontprettytextnodes"in e?e.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in e?e.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,n=e.writer||{})t.call(n,r)&&(i=n[r],this[r]=i);return this},e.prototype.space=function(e){var t;return this.pretty&&(t=(e||0)+this.offset+1)>0?new Array(t).join(this.indent):""},e}()}).call(this)},a4d3:function(e,t,r){"use strict";var n=r("23e7"),i=r("da84"),a=r("d066"),o=r("c430"),s=r("83ab"),c=r("4930"),l=r("fdbf"),u=r("d039"),d=r("5135"),p=r("e8b5"),f=r("861d"),h=r("825a"),A=r("7b0b"),g=r("fc6a"),m=r("c04e"),v=r("5c6c"),b=r("7c73"),k=r("df75"),y=r("241c"),w=r("057f"),x=r("7418"),_=r("06cf"),C=r("9bf2"),E=r("d1e7"),T=r("9112"),B=r("6eeb"),S=r("5692"),D=r("f772"),U=r("d012"),F=r("90e3"),I=r("b622"),L=r("e538"),O=r("746f"),M=r("d44e"),P=r("69f3"),R=r("b727").forEach,N=D("hidden"),z=I("toPrimitive"),H=P.set,j=P.getterFor("Symbol"),Q=Object.prototype,q=i.Symbol,W=a("JSON","stringify"),K=_.f,V=C.f,G=w.f,Y=E.f,X=S("symbols"),$=S("op-symbols"),Z=S("string-to-symbol-registry"),J=S("symbol-to-string-registry"),ee=S("wks"),te=i.QObject,re=!te||!te.prototype||!te.prototype.findChild,ne=s&&u((function(){return 7!=b(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(Q,t);n&&delete Q[t],V(e,t,r),n&&e!==Q&&V(Q,t,n)}:V,ie=function(e,t){var r=X[e]=b(q.prototype);return H(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},ae=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},oe=function(e,t,r){e===Q&&oe($,t,r),h(e);var n=m(t,!0);return h(r),d(X,n)?(r.enumerable?(d(e,N)&&e[N][n]&&(e[N][n]=!1),r=b(r,{enumerable:v(0,!1)})):(d(e,N)||V(e,N,v(1,{})),e[N][n]=!0),ne(e,n,r)):V(e,n,r)},se=function(e,t){h(e);var r=g(t),n=k(r).concat(de(r));return R(n,(function(t){s&&!ce.call(r,t)||oe(e,t,r[t])})),e},ce=function(e){var t=m(e,!0),r=Y.call(this,t);return!(this===Q&&d(X,t)&&!d($,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,N)&&this[N][t])||r)},le=function(e,t){var r=g(e),n=m(t,!0);if(r!==Q||!d(X,n)||d($,n)){var i=K(r,n);return!i||!d(X,n)||d(r,N)&&r[N][n]||(i.enumerable=!0),i}},ue=function(e){var t=G(g(e)),r=[];return R(t,(function(e){d(X,e)||d(U,e)||r.push(e)})),r},de=function(e){var t=e===Q,r=G(t?$:g(e)),n=[];return R(r,(function(e){!d(X,e)||t&&!d(Q,e)||n.push(X[e])})),n};(c||(B((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=F(e),r=function(e){this===Q&&r.call($,e),d(this,N)&&d(this[N],t)&&(this[N][t]=!1),ne(this,t,v(1,e))};return s&&re&&ne(Q,t,{configurable:!0,set:r}),ie(t,e)}).prototype,"toString",(function(){return j(this).tag})),B(q,"withoutSetter",(function(e){return ie(F(e),e)})),E.f=ce,C.f=oe,_.f=le,y.f=w.f=ue,x.f=de,L.f=function(e){return ie(I(e),e)},s&&(V(q.prototype,"description",{configurable:!0,get:function(){return j(this).description}}),o||B(Q,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),R(k(ee),(function(e){O(e)})),n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var r=q(t);return Z[t]=r,J[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(J,e))return J[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:oe,defineProperties:se,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(A(e))}}),W)&&n({target:"JSON",stat:!0,forced:!c||u((function(){var e=q();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))}))},{stringify:function(e,t,r){for(var n,i=[e],a=1;arguments.length>a;)i.push(arguments[a++]);if(n=t,(f(t)||void 0!==e)&&!ae(e))return p(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),i[1]=t,W.apply(null,i)}});q.prototype[z]||T(q.prototype,z,q.prototype.valueOf),M(q,"Symbol"),U[N]=!0},a623:function(e,t,r){"use strict";(function(t,n){var i,a=r("6df9"),o=a.getNativePromise();if(a.isNode&&"undefined"==typeof MutationObserver){var s=t.setImmediate,c=n.nextTick;i=a.isRecentNode?function(e){s.call(t,e)}:function(e){c.call(n,e)}}else if("function"==typeof o&&"function"==typeof o.resolve){var l=o.resolve();i=function(e){l.then(e)}}else i="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)?"undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}:function(){var e=document.createElement("div"),t={attributes:!0},r=!1,n=document.createElement("div");new MutationObserver((function(){e.classList.toggle("foo"),r=!1})).observe(n,t);return function(i){var a=new MutationObserver((function(){a.disconnect(),i()}));a.observe(e,t),r||(r=!0,n.classList.toggle("foo"))}}();e.exports=i}).call(this,r("c8ba"),r("4362"))},a630:function(e,t,r){var n=r("23e7"),i=r("4df4");n({target:"Array",stat:!0,forced:!r("1c7e")((function(e){Array.from(e)}))},{from:i})},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},a6fb:function(e,t,r){var n=r("83da"),i=r("4e02");t.RegexTokeniser=function(e){function t(t,r,i){for(var a=0;a<e.length;a++){var o=e[a].regex;o.lastIndex=r;var s=o.exec(t);if(s){var c=r+s[0].length;if(s.index===r&&c>r){var l=s[1];return{token:new n(e[a].name,l,i.range(r,c)),endIndex:c}}}}c=r+1;return{token:new n("unrecognisedCharacter",t.substring(r,c),i.range(r,c)),endIndex:c}}function r(e,t){return new n("end",null,t.range(e.length,e.length))}return e=e.map((function(e){return{name:e.name,regex:new RegExp(e.regex.source,"g")}})),{tokenise:function(e,n){var a=new i(e,n),o=0,s=[];for(;o<e.length;){var c=t(e,o,a);o=c.endIndex,s.push(c.token)}return s.push(r(e,a)),s}}}},a707:function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},a70b:function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},a76d:function(e,t,r){var n=r("edc8");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("83e8376c",n,!0,{sourceMap:!1,shadowMode:!1})},a78e:function(e,t,r){var n,i;
|
|
39
39
|
/*!
|
|
40
40
|
* JavaScript Cookie v2.2.1
|
|
41
41
|
* https://github.com/js-cookie/js-cookie
|