1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d2bf0305-1abc-4718-9021-b24fe325ae33",t._sentryDebugIdIdentifier="sentry-dbid-d2bf0305-1abc-4718-9021-b24fe325ae33")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7944],{54177:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),n=e[0],r=e[1];return(n+r)*3/4-r},e.toByteArray=function(t){var e,n,o=l(t),s=o[0],a=o[1],u=new i((s+a)*3/4-a),c=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,u[c++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],s=0,a=r-i;s<a;s+=16383)o.push(function(t,e,r){for(var i,o=[],s=e;s<r;s+=3)o.push(n[(i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}(t,s,s+16383>a?a:s+16383));return 1===i?o.push(n[(e=t[r-1])>>2]+n[e<<4&63]+"=="):2===i&&o.push(n[(e=(t[r-2]<<8)+t[r-1])>>10]+n[e>>4&63]+n[e<<2&63]+"="),o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},87376:function(t,e,n){"use strict";var r=n(54177),i=n(94045),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,n){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return l(t,e,n)}function l(t,e,n){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!a.isEncoding(e))throw TypeError("Unknown encoding: "+e);var n=0|d(t,e),r=s(n),i=r.write(t,e);return i!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(T(t,Uint8Array)){var e=new Uint8Array(t);return f(e.buffer,e.byteOffset,e.byteLength)}return h(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(t,SharedArrayBuffer)||t&&T(t.buffer,SharedArrayBuffer)))return f(t,e,n);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return a.from(r,e,n);var i=function(t){if(a.isBuffer(t)){var e,n=0|p(t.length),r=s(n);return 0===r.length||t.copy(r,0,0,n),r}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?s(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return u(t),s(t<0?0:0|p(t))}function h(t){for(var e=t.length<0?0:0|p(t.length),n=s(e),r=0;r<e;r+=1)n[r]=255&t[r];return n}function f(t,e,n){var r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,e):new Uint8Array(t,e,n),a.prototype),r}function p(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||T(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return C(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return A(t).length;default:if(i)return r?-1:C(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,n){var i,o,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=L[t[o]];return i}(this,e,n);case"utf8":case"utf-8":return w(this,e,n);case"ascii":return function(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}(this,e,n);case"latin1":case"binary":return function(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}(this,e,n);case"base64":return i=e,o=n,0===i&&o===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length-1;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,e,n);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){var o;if(0===t.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return -1;n=t.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,i);throw TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){var o,s=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;
vendor: 13,911 bytes, line 1
1s=2,a/=2,l/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var c=-1;for(o=n;o<a;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*s}else -1!==c&&(o-=o-c),c=-1}else for(n+l>a&&(n=a-l),o=n;o>=0;o--){for(var h=!0,f=0;f<l;f++)if(u(t,o+f)!==u(e,f)){h=!1;break}if(h)return o}return -1}function w(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,s,a,l,u=t[i],c=null,h=u>239?4:u>223?3:u>191?2:1;if(i+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:(192&(o=t[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],s=t[i+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function _(t,e,n){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>n)throw RangeError("Trying to access beyond buffer length")}function S(t,e,n,r,i,o){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(n+r>t.length)throw RangeError("Index out of range")}function O(t,e,n,r,i,o){if(n+r>t.length||n<0)throw RangeError("Index out of range")}function x(t,e,n,r,o){return e=+e,n>>>=0,o||O(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function E(t,e,n,r,o){return e=+e,n>>>=0,o||O(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}e.lW=a,e.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){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(t,e,n){return l(t,e,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,n){return(u(t),t<=0)?s(t):void 0!==e?"string"==typeof n?s(t).fill(e,n):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return c(t)},a.allocUnsafeSlow=function(t){return c(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(T(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),T(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(t){switch(String(t).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(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(n=0,e=0;n<t.length;++n)e+=t[n].length;var n,r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var o=t[n];if(T(o,Uint8Array))i+o.length>r.length?a.from(o).copy(r,i):Uint8Array.prototype.set.call(r,o,i);else if(a.isBuffer(o))o.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?w(this,0,t):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",n=e.h2;return t=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(t+=" ... "),"<Buffer "+t+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(t,e,n,r,i){if(T(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return -1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,s=n-e,l=Math.min(o,s),u=this.slice(r,i),c=t.slice(e,n),h=0;h<l;++h)if(u[h]!==c[h]){o=u[h],s=c[h];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(t,e,n){return -1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return y(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return y(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,l,u,c,h,f=this.length-e;if((void 0===n||n>f)&&(n=f),t.length>0&&(n<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var p=!1;;)switch(r){case"hex":return function(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(a!=a)break;t[n+s]=a}return s}(this,t,e,n);case"utf8":case"utf-8":return i=e,o=n,R(C(t,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=e,a=n,R(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(t),this,s,a);case"base64":return l=e,u=n,R(A(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,h=n,R(function(t,e){for(var n,r,i=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,this.length-c),this,c,h);default:if(p)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUintLE=a.prototype.readUIntLE=function(t,e,n){t>>>=0,e>>>=0,n||_(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUintBE=a.prototype.readUIntBE=function(t,e,n){t>>>=0,e>>>=0,n||_(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(t,e){return t>>>=0,e||_(t,1,this.length),this[t]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||_(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||_(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||_(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||_(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return(t>>>=0,e||_(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||_(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){t>>>=0,e||_(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||_(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||_(t,4,this.length),i.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||_(t,4,this.length),i.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||_(t,8,this.length),i.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||_(t,8,this.length),i.read(this,t,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;S(this,t,e,n,i,0)}var o=1,s=0;for(this[e]=255&t;++s<n&&(o*=256);)this[e+s]=t/o&255;return e+n},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;S(this,t,e,n,i,0)}var o=n-1,s=1;for(this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=t/s&255;return e+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,n){return x(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return x(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return E(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return E(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i=r-n;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,n,r):Uint8Array.prototype.set.call(t,this.subarray(n,r),e),i},a.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<n)throw RangeError("Out of range index");if(n<=e)return this;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var s=a.isBuffer(t)?t:a.from(t,r),l=s.length;
1if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<n-e;++i)this[i+e]=s[i%l]}return this};var k=/[^+/0-9A-Za-z-_]/g;function C(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319||s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function A(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function R(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length)&&!(i>=t.length);++i)e[i+n]=t[i];return i}function T(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var L=function(){for(var t="0123456789abcdef",e=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()},45135:function(t,e){"use strict";e.parse=function(t,e){if("string"!=typeof t)throw TypeError("argument str must be a string");for(var n={},r=(e||{}).decode||i,o=0;o<t.length;){var s=t.indexOf("=",o);if(-1===s)break;var a=t.indexOf(";",o);if(-1===a)a=t.length;else if(a<s){o=t.lastIndexOf(";",s-1)+1;continue}var l=t.slice(o,s).trim();if(void 0===n[l]){var u=t.slice(s+1,a).trim();34===u.charCodeAt(0)&&(u=u.slice(1,-1)),n[l]=function(t,e){try{return e(t)}catch(e){return t}}(u,r)}o=a+1}return n},e.serialize=function(t,e,i){var s=i||{},a=s.encode||o;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!r.test(t))throw TypeError("argument name is invalid");var l=a(e);if(l&&!r.test(l))throw TypeError("argument val is invalid");var u=t+"="+l;if(null!=s.maxAge){var c=s.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(c)}if(s.domain){if(!r.test(s.domain))throw TypeError("option domain is invalid");u+="; Domain="+s.domain}if(s.path){if(!r.test(s.path))throw TypeError("option path is invalid");u+="; Path="+s.path}if(s.expires){var h=s.expires;if("[object Date]"!==n.call(h)&&!(h instanceof Date)||isNaN(h.valueOf()))throw TypeError("option expires is invali
1d");u+="; Expires="+h.toUTCString()}if(s.httpOnly&&(u+="; HttpOnly"),s.secure&&(u+="; Secure"),s.partitioned&&(u+="; Partitioned"),s.priority)switch("string"==typeof s.priority?s.priority.toLowerCase():s.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var n=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(t){return -1!==t.indexOf("%")?decodeURIComponent(t):t}function o(t){return encodeURIComponent(t)}},45369:function(t,e){"use strict";e.E=function(t,e){return t.split(",").map(function(t){var e=(t=t.trim()).match(n),o=e[1],s=e[2],a=e[3]||"",l={};return l.inverse=!!o&&"not"===o.toLowerCase(),l.type=s?s.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],l.expressions=a.map(function(t){var e=t.match(r),n=e[1].toLowerCase().match(i);return{modifier:n[1],feature:n[2],value:e[2]}}),l}).some(function(t){var n=t.inverse,r="all"===t.type||e.type===t.type;if(r&&n||!(r||n))return!1;var i=t.expressions.every(function(t){var n=t.feature,r=t.modifier,i=t.value,o=e[n];if(!o)return!1;switch(n){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=u(i),o=u(o
1);break;case"resolution":i=l(i),o=l(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=a(i),o=a(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(r){case"min":return o>=i;case"max":return o<=i;default:return o===i}});return i&&!n||!i&&n})};var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,i=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,s=/(dpi|dpcm|dppx)?$/;function a(t){var e,n=Number(t);return n||(n=(e=t.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/e[2]),n}function l(t){var e=parseFloat(t);switch(String(t).match(s)[1]){case"dpcm":return e/2.54;case"dppx":return 96*e;default:return e}}function u(t){var e=parseFloat(t);switch(String(t).match(o)[1]){case"em":case"rem":return 16*e;case"cm":return 96*e/2.54;case"mm":return 96*e/2.54/10;case"in":return 96*e;case"pt":return 72*e;case"pc":return 72*e/12;default:return e}}},76002:function(t){"use strict";var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==n},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function i(t,e,n){return t.concat(e).map(function(t){return r(t,n)})}function o(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function s(t,e){try{return e in t}catch(t){return!1}}function a(t,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=r;var u,c,h=Array.isArray(n);return h!==Array.isArray(t)?r(n,l):h?l.arrayMerge(t,n,l):(c={},(u=l).isMergeableObject(t)&&o(t).forEach(function(e){c[e]=r(t[e],u)}),o(n).forEach(function(e){(!s(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(s(t,e)&&u.isMergeableObject(n[e])?c[e]=(function(t,e){if(!e.customMerge)return a;var n=e.customMerge(t);return"function"==typeof n?n:a})(e,u)(t[e],n[e],u):c[e]=r(n[e],u))}),c)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,n){return a(t,n,e)},{})},t.exports=a},94045:function(t,e){e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,u=l>>1,c=-7,h=n?i-1:0,f=n?-1:1,p=t[e+h];for(h+=f,o=p&(1<<-c)-1,p>>=-c,c+=a;c>0;o=256*o+t[e+h],h+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+t[e+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),o-=u}return(p?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,l,u=8*o-i-1,c=(1<<u)-1,h=c>>1,f=23===i?5960464477539062e-23:0,p=r?0:o-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+h>=1?e+=f/l:e+=f*Math.pow(2,1-h),e*l>=2&&(s++,l/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(e*l-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[n+p]=255&s,p+=d,s/=256,u-=8);t[n+p-d]|=128*g}},54262:function(t,e,n){"use strict";var r=n(3660);function i(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,n;return!1!==i(t)&&"function"==typeof(e=t.constructor)&&!1!==i(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},3660:function(t){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},65085:function(t,e,n){var r=n(3642).Symbol;t.exports=r},606:function(t,e,n){var r=n(65085),i=n(52439),o=n(5063),s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},79884:function(t,e,n){var r=n(15428),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},31357:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},52439:function(t,e,n){var r=n(65085),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=s.call(t);return r&&(e?t[a]=n:delete t[a]),i}},5063:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},3642:function(t,e,n){var r=n(31357),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},15428:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},29860:function(t,e,n){var r=n(88873),i=n(54987),o=n(97172),s=Math.max,a=Math.min;t.exports=function(t,e,n){var l,u,c,h,f,p,d=0,g=!1,m=!1,y=!0;if("function"!=typeof t)throw TypeError("Expected a function");function b(e){var n=l,r=u;return l=u=void 0,d=e,h=t.apply(r,n)}function w(t){var n=t-p,r=t-d;return void 0===p||n>=e||n<0||m&&r>=c}function _(){var t,n,r,o=i();if(w(o))return S(o);f=setTimeout(_,(t=o-p,n=o-d,r=e-t,m?a(r,c-n):r))}function S(t){return(f=void 0,y&&l)?b(t):(l=u=void 0,h)}function O(){var t,n=i(),r=w(n);if(l=arguments,u=this,p=n,r){if(void 0===f)return d=t=p,f=setTimeout(_,e),g?b(t):h;if(m)return clearTimeout(f),f=setTimeout(_,e),b(p)}return void 0===f&&(f=setTimeout(_,e)),h}return e=o(e)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?s(o(n.maxWait)||0,e):c,y="trailing"in n?!!n.trailing:y),O.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=p=u=f=void 0},O.flush=function(){return void 0===f?h:S(i())},O}},88873:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},62743:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},58510:function(t,e,n){var r=n(606),i=n(62743);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},54987:function(t,e,n){var r=n(3642);t.exports=function(){return r.Date.now()}},10205:function(t,e,n){var r=n(29860),i=n(88873);t.exports=function(t,e,n){var o=!0,s=!0;if("function"!=typeof t)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),r(t,e,{leading:o,maxWait:e,trailing:s})}},97172:function(t,e,n){var r=n(79884),i=n(88873),o=n(58510),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return s;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=l.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):a.test(t)?s:+t}},48232:function(t,e,n){"use strict";var r=n(45369).E,i="undefined"!=typeof window?window.matchMedia:null;function o(t,e,n){var o,s=this;function a(t){s.matches=t.matches,s.media=t.media}i&&!n&&(o=i.call(window,t)),o?(this.matches=o.matches,this.media=o.media,o.addListener(a)):(this.matches=r(t,e),this.media=t),this.addListener=function(t){o&&o.addListener(t)},this.removeListener=function(t){o&&o.removeListener(t)},this.dispose=function(){o&&o.removeListener(a)}}t.exports=function(t,e,n){return new o(t,e,n)}},81695:function(t,e,n){"use strict";var r=n(21219);n.o(r,"redirect")&&n.d(e,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(e,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(e,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(e,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(e,{useSearchParams:function(){return r.useSearchParams}}),n.o(r,"useServerInsertedHTML")&&n.d(e,{useServerInsertedHTML:function(){return r.useServerInsertedHTML}})},27522:function(t,e,n){"use strict";n.d(e,{default:function(){return i.a}});var r=n(22147),i=n.n(r)},99976:function(t,e,n){"use strict";Object.defineProperty(e,"$",{enumerable:!0,get:function(){return i}});let r=n(43503);function i(t){let{createServerReference:e}=n(18786);return e(t,r.callServer)}},30924:function(t,e,n){"use strict";var r=n(15979);function i(){}function o(){}
1o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,s){if(s!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},63074:function(t,e,n){t.exports=n(30924)()},15979:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},78052:function(t,e,n){"use strict";n.d(e,{ac:function(){return N}});var r=n(7653),i=n(48232),o=n.n(i),s=/[A-Z]/g,a=/^ms-/,l={};function u(t){return"-"+t.toLowerCase()}var c=function(t){if(l.hasOwnProperty(t))return l[t];var e=t.replace(s,u);return l[t]=a.test(e)?"-"+e:e},h=n(63074),f=n.n(h);let p=f().oneOfType([f().string,f().number]),d={all:f().bool,grid:f().bool,aural:f().bool,braille:f().bool,handheld:f().bool,print:f().bool,projection:f().bool,screen:f().bool,tty:f().bool,tv:f().bool,embossed:f().bool},{type:g,...m}={orientation:f().oneOf(["portrait","landscape"]),scan:f().oneOf(["progressive","interlace"]),aspectRatio:f().string,deviceAspectRatio:f().string,height:p,deviceHeight:p,width:p,deviceWidth:p,color:f().bool,colorIndex:f().bool,monochrome:f().bool,resolution:p,type:Object.keys(d)},y={minAspectRatio:f().string,maxAspectRatio:f().string,minDeviceAspectRatio:f().string,maxDeviceAspectRatio:f().string,minHeight:p,maxHeight:p,minDeviceHeight:p,maxDeviceHeight:p,minWidth:p,maxWidth:p,minDeviceWidth:p,maxDeviceWidth:p,minColor:f().number,maxColor:f().number,minColorIndex:f().number,maxColorIndex:f().number,minMonochrome:f().number,maxMonochrome:f().number,minResolution:p,maxResolution:p,...m};var b={...d,...y};let w=t=>`not ${t}`,_=(t,e)=>{let n=c(t);return("number"==typeof e&&(e=`${e}px`),!0===e)?n:!1===e?w(n):`(${n}: ${e})`},S=t=>t.join(" and "),O=t=>{let e=[];return Object.keys(b).forEach(n=>{let r=t[n];null!=r&&e.push(_(n,r))}),S(e)},x=(0,r.createContext)(void 0),E=t=>t.query||O(t),k=t=>{if(t)return Object.keys(t).reduce((e,n)=>(e[c(n)]=t[n],e),{})},C=()=>{let t=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{t.current=!0},[]),t.current},A=t=>{let e=(0,r.useContext)(x),n=()=>k(t)||k(e),[i,o]=(0,r.useState)(n);return(0,r.useEffect)(()=>{let t=n();!function(t,e){if(t===e)return!0;if(!t||!e)return!1;let n=Object.keys(t),r=Object.keys(e),i=n.length;if(r.length!==i)return!1;for(let r=0;r<i;r++){let i=n[r];if(t[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1}return!0}(i,t)&&o(t)},[t,e]),i},R=t=>{let e=()=>E(t),[n,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let t=e();n!==t&&i(t)},[t]),n},T=(t,e)=>{let n=()=>o()(t,e||{},!!e),[i,s]=(0,r.useState)(n),a=C();return(0,r.useEffect)(()=>{if(a){let t=n();return s(t),()=>{t&&t.dispose()}}},[t,e]),i},L=t=>{let[e,n]=(0,r.useState)(t.matches);return(0,r.useEffect)(()=>{let e=t=>{n(t.matches)};return t.addListener(e),n(t.matches),()=>{t.removeListener(e)}},[t]),e},N=(t,e,n)=>{let i=A(e),o=R(t);if(!o)throw Error("Invalid or missing MediaQuery!");let s=T(o,i),a=L(s),l=C();return(0,r.useEffect)(()=>{l&&n&&n(a)},[a]),(0,r.useEffect)(()=>()=>{s&&s.dispose()},[]),a}},97002:function(t,e,n){"use strict";var r=n(7653),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,s=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!i(t,n)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),i=r[0].inst,c=r[1];return a(function(){i.value=n,i.getSnapshot=e,u(i)&&c({inst:i})},[t,n,e]),s(function(){return u(i)&&c({inst:i}),t(function(){u(i)&&c({inst:i})})},[t]),l(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},40209:function(t,e,n){"use strict";var r=n(7653),i=n(96250),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},s=i.useSyncExternalStore,a=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,r,i){var h=a(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;var p=s(t,(h=u(function(){function t(t){if(!l){if(l=!0,s=t,t=r(t),void 0!==i&&f.hasValue){var e=f.value;if(i(e,t))return a=e}return a=t}if(e=a,o(s,t))return e;var n=r(t);return void 0!==i&&i(e,n)?e:(s=t,a=n)}var s,a,l=!1,u=void 0===n?null:n;return[function(){return t(e())},null===u?void 0:function(){return t(u())}]},[e,n,r,i]))[0],h[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}},96250:function(t,e,n){"use strict";
1t.exports=n(97002)},18678:function(t,e,n){"use strict";t.exports=n(40209)},53392:function(t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},21617:function(t){t.exports={style:{fontFamily:"'__iranSansX_99617c', '__iranSansX_Fallback_99617c'"},className:"__className_99617c",variable:"__variable_99617c"}},37296:function(t,e,n){"use strict";function r(t,e){if(e.has(t))throw TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{E:function(){return r}})},25395:function(t,e,n){"use strict";function r(t,e){return e.get?e.get.call(t):e.value}n.d(e,{e:function(){return r}})},54225:function(t,e,n){"use strict";function r(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw TypeError("attempted to set read only private field");e.value=n}}n.d(e,{y:function(){return r}})},48193:function(t,e,n){"use strict";function r(t,e,n){if(!e.has(t))throw TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}n.d(e,{J:function(){return r}})},98550:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var r=n(25395),i=n(48193);function o(t,e){var n=(0,i.J)(t,e,"get");return(0,r.e)(t,n)}},70618:function(t,e,n){"use strict";n.d(e,{_:function(){return i}});var r=n(37296);function i(t,e,n){(0,r.E)(t,e),e.set(t,n)}},27194:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var r=n(54225),i=n(48193);function o(t,e,n){var o=(0,i.J)(t,e,"set");return(0,r.y)(t,o,n),n}},10917:function(t,e,n){"use strict";function r(t,e,n){if(!e.has(t))throw TypeError("attempted to get private field on non-instance");return n}n.d(e,{_:function(){return r}})},50646:function(t,e,n){"use strict";n.d(e,{_:function(){return i}});var r=n(37296);function i(t,e){(0,r.E)(t,e),e.add(t)}},87047:function(t,e,n){"use strict";n.d(e,{j:function(){return h}});var r,i,o,s=n(98550),a=n(70618),l=n(27194),u=n(24559),c=n(50803),h=new(r=new WeakMap,i=new WeakMap,o=new WeakMap,class extends u.l{onSubscribe(){(0,s._)(this,i)||this.setEventListener((0,s._)(this,o))}onUnsubscribe(){var t;this.hasListeners()||(null===(t=(0,s._)(this,i))||void 0===t||t.call(this),(0,l._)(this,i,void 0))}setEventListener(t){var e;(0,l._)(this,o,t),null===(e=(0,s._)(this,i))||void 0===e||e.call(this),(0,l._)(this,i,t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()}))}setFocused(t){(0,s._)(this,r)!==t&&((0,l._)(this,r,t),this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return"boolean"==typeof(0,s._)(this,r)?(0,s._)(this,r):(null===(t=globalThis.document)||void 0===t?void 0:t.visibilityState)!=="hidden"}constructor(){super(),(0,a._)(this,r,{writable:!0,value:void 0}),(0,a._)(this,i,{writable:!0,value:void 0}),(0,a._)(this,o,{writable:!0,value:void 0}),(0,l._)(this,o,t=>{if(!c.sk&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}})},34831:function(t,e,n){"use strict";n.d(e,{Gm:function(){return i},Qy:function(){return a},ZF:function(){return l}});var r=n(50803);function i(t){return{onFetch:(e,n)=>{let i=async()=>{var n,i,a,l,u,c;let h;let f=e.options,p=null===(a=e.fetchOptions)||void 0===a?void 0:null===(i=a.meta)||void 0===i?void 0:null===(n=i.fetchMore)||void 0===n?void 0:n.direction,d=(null===(l=e.state.data)||void 0===l?void 0:l.pages)||[],g=(null===(u=e.state.data)||void 0===u?void 0:u.pageParams)||[],m=!1,y=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?m=!0:e.signal.addEventListener("abort",()=>{m=!0}),e.signal)})},b=(0,r.cG)(e.options,e.fetchOptions),w=async(t,n,i)=>{if(m)return Promise.reject();if(null==n&&t.pages.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:n,direction:i?"backward":"forward",meta:e.options.meta};y(o);let s=await b(o),{maxPages:a}=e.options,l=i?r.Ht:r.VX;return{pages:l(t.pages,s,a),pageParams:l(t.pageParams,n,a)}};if(p&&d.length){let t="backward"===p,e={pages:d,pageParams:g},n=(t?s:o)(f,e);h=await w(e,n,t)}else{h=await w({pages:[],pageParams:[]},null!==(c=g[0])&&void 0!==c?c:f.initialPageParam);let e=null!=t?t:d.length;for(let t=1;t<e;
1t++){let t=o(f,h);h=await w(h,t)}}return h};e.options.persister?e.fetchFn=()=>{var t,r;return null===(t=(r=e.options).persister)||void 0===t?void 0:t.call(r,i,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=i}}}function o(t,e){let{pages:n,pageParams:r}=e,i=n.length-1;return t.getNextPageParam(n[i],n,r[i],r)}function s(t,e){var n;let{pages:r,pageParams:i}=e;return null===(n=t.getPreviousPageParam)||void 0===n?void 0:n.call(t,r[0],r,i[0],i)}function a(t,e){return!!e&&null!=o(t,e)}function l(t,e){return!!e&&!!t.getPreviousPageParam&&null!=s(t,e)}},95640:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var r=n(16859),i=n(34831),o=class extends r.z{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:(0,i.Gm)()},e)}getOptimisticResult(t){return t.behavior=(0,i.Gm)(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){var n,r;let{state:o}=t,s=super.createResult(t,e),{isFetching:a,isRefetching:l,isError:u,isRefetchError:c}=s,h=null===(r=o.fetchMeta)||void 0===r?void 0:null===(n=r.fetchMore)||void 0===n?void 0:n.direction,f=u&&"forward"===h,p=a&&"forward"===h,d=u&&"backward"===h,g=a&&"backward"===h;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.Qy)(e,o.data),hasPreviousPage:(0,i.ZF)(e,o.data),isFetchNextPageError:f,isFetchingNextPage:p,isFetchPreviousPageError:d,isFetchingPreviousPage:g,isRefetchError:c&&!f&&!d,isRefetching:l&&!p&&!g}}constructor(t,e){super(t,e)}}},64855:function(t,e,n){"use strict";n.d(e,{R:function(){return m},m:function(){return g}});var r,i,o,s,a=n(98550),l=n(70618),u=n(27194),c=n(10917),h=n(50646),f=n(2906),p=n(5531),d=n(11135),g=(r=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakSet,class extends p.F{setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){(0,a._)(this,r).includes(t)||((0,a._)(this,r).push(t),this.clearGcTimeout(),(0,a._)(this,i).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){(0,u._)(this,r,(0,a._)(this,r).filter(e=>e!==t)),this.scheduleGc(),(0,a._)(this,i).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){(0,a._)(this,r).length||("pending"===this.state.status?this.scheduleGc():(0,a._)(this,i).remove(this))}continue(){var t,e;return null!==(e=null===(t=(0,a._)(this,o))||void 0===t?void 0:t.continue())&&void 0!==e?e:this.execute(this.state.variables)}async execute(t){var e,n,r,l,h,f,p,g,m,b,w,_,S,O,x,E,k,C,A,R,T;(0,u._)(this,o,(0,d.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{(0,c._)(this,s,y).call(this,{type:"failed",failureCount:t,error:e})},onPause:()=>{(0,c._)(this,s,y).call(this,{type:"pause"})},onContinue:()=>{(0,c._)(this,s,y).call(this,{type:"continue"})},retry:null!==(e=this.options.retry)&&void 0!==e?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>(0,a._)(this,i).canRun(this)}));let L="pending"===this.state.status,N=!(0,a._)(this,o).canStart();try{if(!L){(0,c._)(this,s,y).call(this,{type:"pending",variables:t,isPaused:N}),await (null===(b=(w=(0,a._)(this,i).config).onMutate)||void 0===b?void 0:b.call(w,t,this));let e=await (null===(_=(S=this.options).onMutate)||void 0===_?void 0:_.call(S,t));e!==this.state.context&&(0,c._)(this,s,y).call(this,{type:"pending",context:e,variables:t,isPaused:N})}let e=await (0,a._)(this,o).start();return await (null===(n=(r=(0,a._)(this,i).config).onSuccess)||void 0===n?void 0:n.call(r,e,t,this.state.context,this)),await (null===(l=(h=this.options).onSuccess)||void 0===l?void 0:l.call(h,e,t,this.state.context)),await (null===(f=(p=(0,a._)(this,i).config).onSettled)||void 0===f?void 0:f.call(p,e,null,this.state.variables,this.state.context,this)),await (null===(g=(m=this.options).onSettled)||void 0===g?void 0:g.call(m,e,null,t,this.state.context)),(0,c._)(this,s,y).call(this,{type:"success",data:e}),e}catch(e){try{throw await (null===(O=(x=(0,a._)(this,i).config).onError)||void 0===O?void 0:O.call(x,e,t,this.state.context,this)),await (null===(E=(k=this.options).onError)||void 0===E?void 0:E.
1call(k,e,t,this.state.context)),await (null===(C=(A=(0,a._)(this,i).config).onSettled)||void 0===C?void 0:C.call(A,void 0,e,this.state.variables,this.state.context,this)),await (null===(R=(T=this.options).onSettled)||void 0===R?void 0:R.call(T,void 0,e,t,this.state.context)),e}finally{(0,c._)(this,s,y).call(this,{type:"error",error:e})}}finally{(0,a._)(this,i).runNext(this)}}constructor(t){super(),(0,h._)(this,s),(0,l._)(this,r,{writable:!0,value:void 0}),(0,l._)(this,i,{writable:!0,value:void 0}),(0,l._)(this,o,{writable:!0,value:void 0}),this.mutationId=t.mutationId,(0,u._)(this,i,t.mutationCache),(0,u._)(this,r,[]),this.state=t.state||m(),this.setOptions(t.options),this.scheduleGc()}});function m(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}function y(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),f.V.batch(()=>{(0,a._)(this,r).forEach(e=>{e.onMutationUpdate(t)}),(0,a._)(this,i).notify({mutation:this,type:"updated",action:t})})}},2906:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});var r=function(){let t=[],e=0,n=t=>{t()},r=t=>{t()},i=t=>setTimeout(t,0),o=r=>{e?t.push(r):i(()=>{n(r)})},s=()=>{let e=t;t=[],e.length&&i(()=>{r(()=>{e.forEach(t=>{n(t)})})})};return{batch:t=>{let n;e++;try{n=t()}finally{--e||s()}return n},batchCalls:t=>function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];o(()=>{t(...n)})},schedule:o,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{i=t}}}()},33906:function(t,e,n){"use strict";n.d(e,{N:function(){return h}});var r,i,o,s=n(98550),a=n(70618),l=n(27194),u=n(24559),c=n(50803),h=new(r=new WeakMap,i=new WeakMap,o=new WeakMap,class extends u.l{onSubscribe(){(0,s._)(this,i)||this.setEventListener((0,s._)(this,o))}onUnsubscribe(){var t;this.hasListeners()||(null===(t=(0,s._)(this,i))||void 0===t||t.call(this),(0,l._)(this,i,void 0))}setEventListener(t){var e;(0,l._)(this,o,t),null===(e=(0,s._)(this,i))||void 0===e||e.call(this),(0,l._)(this,i,t(this.setOnline.bind(this)))}setOnline(t){(0,s._)(this,r)!==t&&((0,l._)(this,r,t),this.listeners.forEach(e=>{e(t)}))}isOnline(){return(0,s._)(this,r)}constructor(){super(),(0,a._)(this,r,{writable:!0,value:void 0}),(0,a._)(this,i,{writable:!0,value:void 0}),(0,a._)(this,o,{writable:!0,value:void 0}),(0,l._)(this,r,!0),(0,l._)(this,o,t=>{if(!c.sk&&window.addEventListener){let e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}})}})},83058:function(t,e,n){"use strict";n.d(e,{A:function(){return w},z:function(){return _}});var r,i,o,s,a,l,u,c=n(98550),h=n(70618),f=n(27194),p=n(10917),d=n(50646),g=n(50803),m=n(2906),y=n(11135),b=n(5531),w=(r=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap,u=new WeakSet,class extends b.F{get meta(){return this.options.meta}get promise(){var t;return null===(t=(0,c._)(this,s))||void 0===t?void 0:t.promise}setOptions(t){this.options={...(0,c._)(this,a),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||(0,c._)(this,o).remove(this)}setData(t,e){let n=(0,g.oE)(this.state.data,t,this.options);return(0,p._)(this,u,S).call(this,{data:n,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),n}setState(t,e){(0,p._)(this,u,S).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var e,n;let r=null===(e=(0,c._)(this,s))||void 0===e?void 0:e.promise;return null===(n=(0,c._)(this,s))||void 0===n||n.cancel(t),r?r.then(g.ZT).catch(g.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState((0,c._)(this,r))}isActive(){return this.observers.some(t=>!1!==t.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||void 0===this.state.data||!(0,g.Kp)(this.state.dataUpdatedAt,t)}onFocus(){var t;let e=this.observers.find(t=>t.shouldFetchOnWindowFocus());null==e||e.refetch({cancelRefetch:!1}),null===(t=(0,c._)(this,s))||void 0===t||t.continue()}onOnline(){var t;let e=this.observers.find(t=>t.shouldFetchOnReconnect());null==e||e.refetch({cancelRefetch:!1}),null===(t=(0,c._)(this,s))||void 0===t||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),(0,c._)(this,o).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||((0,c._)(this,s)&&((0,c._)(this,l)?(0,c._)(this,s).cancel({revert:!0}):(0,c._)(this,s).cancelRetry()),this.scheduleGc()),(0,c._)(this,o).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||(0,p._)(this,u,S).call(this,{type:"invalidate"})}fetch(t,e){var n,r,a;if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if((0,c._)(this,s))return(0,c._)(this,s).continueRetry(),(0,c._)(this,s).promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let h=new AbortController,d=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>((0,f._)(this,l,!0),h.signal)}
1)},m={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{let t=(0,g.cG)(this.options,e),n={queryKey:this.queryKey,meta:this.meta};return(d(n),(0,f._)(this,l,!1),this.options.persister)?this.options.persister(t,n,this):t(n)}};d(m),null===(n=this.options.behavior)||void 0===n||n.onFetch(m,this),(0,f._)(this,i,this.state),("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null===(r=m.fetchOptions)||void 0===r?void 0:r.meta))&&(0,p._)(this,u,S).call(this,{type:"fetch",meta:null===(a=m.fetchOptions)||void 0===a?void 0:a.meta});let b=t=>{if((0,y.DV)(t)&&t.silent||(0,p._)(this,u,S).call(this,{type:"error",error:t}),!(0,y.DV)(t)){var e,n,r,i;null===(e=(n=(0,c._)(this,o).config).onError)||void 0===e||e.call(n,t,this),null===(r=(i=(0,c._)(this,o).config).onSettled)||void 0===r||r.call(i,this.state.data,t,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return(0,f._)(this,s,(0,y.Mz)({initialPromise:null==e?void 0:e.initialPromise,fn:m.fetchFn,abort:h.abort.bind(h),onSuccess:t=>{var e,n,r,i;if(void 0===t){b(Error("".concat(this.queryHash," data is undefined")));return}this.setData(t),null===(e=(n=(0,c._)(this,o).config).onSuccess)||void 0===e||e.call(n,t,this),null===(r=(i=(0,c._)(this,o).config).onSettled)||void 0===r||r.call(i,t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:b,onFail:(t,e)=>{(0,p._)(this,u,S).call(this,{type:"failed",failureCount:t,error:e})},onPause:()=>{(0,p._)(this,u,S).call(this,{type:"pause"})},onContinue:()=>{(0,p._)(this,u,S).call(this,{type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0})),(0,c._)(this,s).start()}constructor(t){super(),(0,d._)(this,u),(0,h._)(this,r,{writable:!0,value:void 0}),(0,h._)(this,i,{writable:!0,value:void 0}),(0,h._)(this,o,{writable:!0,value:void 0}),(0,h._)(this,s,{writable:!0,value:void 0}),(0,h._)(this,a,{writable:!0,value:void 0}),(0,h._)(this,l,{writable:!0,value:void 0}),(0,f._)(this,l,!1),(0,f._)(this,a,t.defaultOptions),this.setOptions(t.options),this.observers=[],(0,f._)(this,o,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,(0,f._)(this,r,t.state||function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==e,r=n?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=(0,c._)(this,r),this.scheduleGc()}});function _(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,y.Kw)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function S(t){this.state=(e=>{var n,r;switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,..._(e.data,this.options),fetchMeta:null!==(n=t.meta)&&void 0!==n?n:null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!==(r=t.dataUpdatedAt)&&void 0!==r?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let o=t.error;if((0,y.DV)(o)&&o.revert&&(0,c._)(this,i))return{...(0,c._)(this,i),fetchStatus:"idle"};return{...e,error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),m.V.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),(0,c._)(this,o).notify({query:this,type:"updated",action:t})})}},98017:function(t,e,n){"use strict";n.d(e,{S:function(){return L}});var r,i,o,s,a,l,u,c,h,f,p,d=n(98550),g=n(70618),m=n(27194),y=n(48193);function b(t,e){var n=(0,y.J)(t,e,"update");return function(t,e){if(e.set){if(!e.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in e||(e.__destrWrapper={set value(v){e.set.call(t,v)},get value(){return e.get.call(t)}}),e.__destrWrapper}if(!e.writable)throw TypeError("attempted to set read only private field");return e}(t,n)}var w=n(50803),_=n(83058),S=n(2906),O=n(24559),x=(r=new WeakMap,class extends O.l{build(t,e,n){var r;let i=e.queryKey,o=null!==(r=e.queryHash)&&void 0!==r?r:(0,w.Rm)(i,e),s=this.get(o);return s||(s=new _.A({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){(0,d._)(this,r).has(t.queryHash)||((0,d._)(this,r).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=(0,d._)(this,r).get(t.queryHash);
1e&&(t.destroy(),e===t&&(0,d._)(this,r).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){S.V.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return(0,d._)(this,r).get(t)}getAll(){return[...(0,d._)(this,r).values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,w._x)(e,t))}findAll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.getAll();return Object.keys(t).length>0?e.filter(e=>(0,w._x)(t,e)):e}notify(t){S.V.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){S.V.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){S.V.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}constructor(t={}){super(),(0,g._)(this,r,{writable:!0,value:void 0}),this.config=t,(0,m._)(this,r,new Map)}}),E=n(64855),k=(i=new WeakMap,o=new WeakMap,class extends O.l{build(t,e,n){let r=new E.m({mutationCache:this,mutationId:++b(this,o).value,options:t.defaultMutationOptions(e),state:n});return this.add(r),r}add(t){var e;let n=C(t),r=null!==(e=(0,d._)(this,i).get(n))&&void 0!==e?e:[];r.push(t),(0,d._)(this,i).set(n,r),this.notify({type:"added",mutation:t})}remove(t){let e=C(t);if((0,d._)(this,i).has(e)){var n;let r=null===(n=(0,d._)(this,i).get(e))||void 0===n?void 0:n.filter(e=>e!==t);r&&(0===r.length?(0,d._)(this,i).delete(e):(0,d._)(this,i).set(e,r))}this.notify({type:"removed",mutation:t})}canRun(t){var e;let n=null===(e=(0,d._)(this,i).get(C(t)))||void 0===e?void 0:e.find(t=>"pending"===t.state.status);return!n||n===t}runNext(t){var e,n;let r=null===(e=(0,d._)(this,i).get(C(t)))||void 0===e?void 0:e.find(e=>
1e!==t&&e.state.isPaused);return null!==(n=null==r?void 0:r.continue())&&void 0!==n?n:Promise.resolve()}clear(){S.V.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...(0,d._)(this,i).values()].flat()}find(t){let e={exact:!0,...t};return this.getAll().find(t=>(0,w.X7)(e,t))}findAll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(e=>(0,w.X7)(t,e))}notify(t){S.V.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return S.V.batch(()=>Promise.all(t.map(t=>t.continue().catch(w.ZT))))}constructor(t={}){super(),(0,g._)(this,i,{writable:!0,value:void 0}),(0,g._)(this,o,{writable:!0,value:void 0}),this.config=t,(0,m._)(this,i,new Map),(0,m._)(this,o,Date.now())}});function C(t){var e,n;return null!==(n=null===(e=t.options.scope)||void 0===e?void 0:e.id)&&void 0!==n?n:String(t.mutationId)}var A=n(87047),R=n(33906),T=n(34831),L=(s=new WeakMap,a=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,h=new WeakMap,f=new WeakMap,p=new WeakMap,class{mount(){b(this,h).value++,1===(0,d._)(this,h)&&((0,m._)(this,f,A.j.subscribe(async t=>{t&&(await this.resumePausedMutations(),(0,d._)(this,s).onFocus())})),(0,m._)(this,p,R.N.subscribe(async t=>{t&&(await this.resumePausedMutations(),(0,d._)(this,s).onOnline())})))}unmount(){var t,e;b(this,h).value--,0===(0,d._)(this,h)&&(null===(t=(0,d._)(this,f))||void 0===t||t.call(this),(0,m._)(this,f,void 0),null===(e=(0,d._)(this,p))||void 0===e||e.call(this),(0,m._)(this,p,void 0))}isFetching(t){return(0,d._)(this,s).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return(0,d._)(this,a).findAll({...t,status:"pending"}).length}getQueryData(t){var e;let n=this.defaultQueryOptions({queryKey:t});return null===(e=(0,d._)(this,s).get(n.queryHash))||void 0===e?void 0:e.state.data}ensureQueryData(t){let e=this.getQueryData(t.queryKey);if(void 0===e)return this.fetchQuery(t);{let n=this.defaultQueryOptions(t),r=(0,d._)(this,s).build(this,n);return t.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(e)}}getQueriesData(t){return(0,d._)(this,s).findAll(t).map(t=>{let{queryKey:e,state:n}=t;return[e,n.data]})}setQueryData(t,e,n){let r=this.defaultQueryOptions({queryKey:t}),i=(0,d._)(this,s).get(r.queryHash),o=null==i?void 0:i.state.data,a=(0,w.SE)(e,o);if(void 0!==a)return(0,d._)(this,s).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(t,e,n){return S.V.batch(()=>(0,d._)(this,s).findAll(t).map(t=>{let{queryKey:r}=t;return[r,this.setQueryData(r,e,n)]}))}getQueryState(t){var e;let n=this.defaultQueryOptions({queryKey:t});return null===(e=(0,d._)(this,s).get(n.queryHash))||void 0===e?void 0:e.state}removeQueries(t){let e=(0,d._)(this,s);S.V.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let n=(0,d._)(this,s),r={type:"active",...t};return S.V.batch(()=>(n.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(r,e)))}cancelQueries(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={revert:!0,...e};return Promise.all(S.V.batch(()=>(0,d._)(this,s).findAll(t).map(t=>t.cancel(n)))).then(w.ZT).catch(w.ZT)}invalidateQueries(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return S.V.batch(()=>{var n,r;if((0,d._)(this,s).findAll(t).forEach(t=>{t.invalidate()}),"none"===t.refetchType)return Promise.resolve();let i={...t,type:null!==(r=null!==(n=t.refetchType)&&void 0!==n?n:t.type)&&void 0!==r?r:"active"};return this.refetchQueries(i,e)})}refetchQueries(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={...n,cancelRefetch:null===(t=null==n?void 0:n.cancelRefetch)||void 0===t||t};return Promise.all(S.V.batch(()=>(0,d._)(this,s).findAll(e).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,r);return r.throwOnError||(e=e.catch(w.ZT)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(w.ZT)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let n=(0,d._)(this,s).build(this,e);return n.isStaleByTime(e.staleTime)?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(w.ZT).catch(w.ZT)}
1fetchInfiniteQuery(t){return t.behavior=(0,T.Gm)(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(w.ZT).catch(w.ZT)}resumePausedMutations(){return R.N.isOnline()?(0,d._)(this,a).resumePausedMutations():Promise.resolve()}getQueryCache(){return(0,d._)(this,s)}getMutationCache(){return(0,d._)(this,a)}getDefaultOptions(){return(0,d._)(this,l)}setDefaultOptions(t){(0,m._)(this,l,t)}setQueryDefaults(t,e){(0,d._)(this,u).set((0,w.Ym)(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...(0,d._)(this,u).values()],n={};return e.forEach(e=>{(0,w.to)(t,e.queryKey)&&(n={...n,...e.defaultOptions})}),n}setMutationDefaults(t,e){(0,d._)(this,c).set((0,w.Ym)(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...(0,d._)(this,c).values()],n={};return e.forEach(e=>{(0,w.to)(t,e.mutationKey)&&(n={...n,...e.defaultOptions})}),n}defaultQueryOptions(t){if(t._defaulted)return t;let e={...(0,d._)(this,l).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=(0,w.Rm)(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),!0!==e.enabled&&e.queryFn===w.CN&&(e.enabled=!1),e}defaultMutationOptions(t){return(null==t?void 0:t._defaulted)?t:{...(0,d._)(this,l).mutations,...(null==t?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){(0,d._)(this,s).clear(),(0,d._)(this,a).clear()}constructor(t={}){(0,g._)(this,s,{writable:!0,value:void 0}),(0,g._)(this,a,{writable:!0,value:void 0}),(0,g._)(this,l,{writable:!0,value:void 0}),(0,g._)(this,u,{writable:!0,value:void 0}),(0,g._)(this,c,{writable:!0,value:void 0}),(0,g._)(this,h,{writable:!0,value:void 0}),(0,g._)(this,f,{writable:!0,value:void 0}),(0,g._)(this,p,{writable:!0,value:void 0}),(0,m._)(this,s,t.queryCache||new x),(0,m._)(this,a,t.mutationCache||new k),(0,m._)(this,l,t.defaultOptions||{}),(0,m._)(this,u,new Map),(0,m._)(this,c,new Map),(0,m._)(this,h,0)}})},16859:function(t,e,n){"use strict";n.d(e,{z:function(){return D}});var r,i,o,s,a,l,u,c,h,f,p,d,g,m,y,b,w,_,S,O,x,E,k,C=n(98550),A=n(70618),R=n(27194),T=n(10917),L=n(50646),N=n(50803),P=n(2906),I=n(87047),M=n(24559),j=n(83058),D=(r=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakMap,u=new WeakMap,c=new WeakMap,h=new WeakMap,f=new WeakMap,p=new WeakMap,d=new WeakMap,g=new WeakMap,m=new WeakMap,y=new WeakSet,b=new WeakSet,w=new WeakSet,_=new WeakSet,S=new WeakSet,O=new WeakSet,x=new WeakSet,E=new WeakSet,k=new WeakSet,class extends M.l{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&((0,C._)(this,i).addObserver(this),U((0,C._)(this,i),this.options)?(0,T._)(this,y,W).call(this):this.updateResult(),(0,T._)(this,S,K).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return F((0,C._)(this,i),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return F((0,C._)(this,i),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,(0,T._)(this,O,q).call(this),(0,T._)(this,x,Q).call(this),(0,C._)(this,i).removeObserver(this)}setOptions(t,e){let n=this.options,o=(0,C._)(this,i);if(this.options=(0,C._)(this,r).defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");(0,T._)(this,E,G).call(this),(0,C._)(this,i).setOptions(this.options),n._defaulted&&!(0,N.VS)(this.options,n)&&(0,C._)(this,r).getQueryCache().notify({type:"observerOptionsUpdated",query:(0,C._)(this,i),observer:this});let s=this.hasListeners();s&&$((0,C._)(this,i),o,this.options,n)&&(0,T._)(this,y,W).call(this),this.updateResult(e),s&&((0,C._)(this,i)!==o||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&(0,T._)(this,b,z).call(this);let a=(0,T._)(this,w,H).call(this);s&&((0,C._)(this,i)!==o||this.options.enabled!==n.enabled||a!==(0,C._)(this,g))&&(0,T._)(this,_,V).call(this,a)}getOptimisticResult(t){let e=(0,C._)(this,r).getQueryCache().build((0,C._)(this,r),t),n=this.createResult(e,t);return(0,N.VS)(this.getCurrentResult(),n)||((0,R._)(this,s,n),(0,R._)(this,l,this.options),(0,R._)(this,a,(0,C._)(this,i).state)),n}getCurrentResult(){return(0,C._)(this,s)}trackResult(t,e){let n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),null==e||e(r),t[r])})}),n}trackProp(t){(0,C._)(this,m).add(t)}getCurrentQuery(){return(0,C._)(this,i)}refetch(){let{...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...t})}fetchOptimistic(t){let e=(0,C._)(this,r).defaultQueryOptions(t),n=(0,C._)(this,r).getQueryCache().build((0,C._)(this,r),e);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,e))}fetch(t){var e;return(0,T._)(this,y,W).call(this,{...t,cancelRefetch:null===(e=t.cancelRefetch)||void 0===e||e}).then(()=>(this.updateResult(),(0,C._)(this,s)))}createResult(t,e){let n;let r=(0,C._)(this,i),p=this.options,d=(0,C._)(this,s),g=(0,C._)(this,a),m=(0,C._)(this,l),y=t!==r?t.state:(0,C._)(this,o),{state:b}=t,w={...b},_=!1;if(e._optimisticResults){let n=this.hasListeners(),i=!n&&U(t,e),o=n&&$(t,r,e,p);(i||o)&&(w={...w,...(0,j.z)(b.data,t.options)}),"isRestoring"===e._optimisticResults&&(w.fetchStatus="idle")}let{error:S,errorUpdatedAt:O,status:x}=w;if(e.select&&void 0!==w.data){if(d&&w.data===(null==g?void 0:g.data)&&e.select===(0,C._)(this,c))n=(0,C._)(this,h);else try{(0,R._)(this,c,e.select),n=e.select(w.data),n=(0,N.oE)(null==d?void 0:d.data,n,e),(0,R._)(this,h,n),(0,R._)(this,u,null)}catch(t){(0,R._)(this,u,t)}}else n=w.data;if(void 0!==e.placeholderData&&void 0===n&&"pending"===x){let t;if((null==d?void 0:d.isPlaceholderData)&&e.placeholderData===(null==m?void 0:m.placeholderData))t=d.data;else{var E;if(t="function"==typeof e.placeholderData?e.placeholderData(null===(E=(0,C._)(this,f))||void 0===E?void 0:E.state.data,(0,C._)(this,f)):e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),(0,R._)(this,u,null)}catch(t){(0,R._)(this,u,t)}}void 0!==t&&(x="success",n=(0,N.oE)(null==d?void 0:d.data,t,e),_=!0)}(0,C._)(this,u)&&(S=(0,C._)(this,u),n=(0,C._)(this,h),O=Date.now(),x="error");let k="fetching"===w.fetchStatus,A="pending"===x,T="error"===x,L=A&&k,P=void 0!==n;return{status:x,fetchStatus:w.fetchStatus,isPending:A,isSuccess:"success"===x,isError:T,isInitialLoading:L,isLoading:L,data:n,dataUpdatedAt:w.dataUpdatedAt,error:S,errorUpdatedAt:O,failureCount:w.fetchFailureCount,failureReason:w.fetchFailureReason,errorUpdate
1Count:w.errorUpdateCount,isFetched:w.dataUpdateCount>0||w.errorUpdateCount>0,isFetchedAfterMount:w.dataUpdateCount>y.dataUpdateCount||w.errorUpdateCount>y.errorUpdateCount,isFetching:k,isRefetching:k&&!A,isLoadingError:T&&!P,isPaused:"paused"===w.fetchStatus,isPlaceholderData:_,isRefetchError:T&&P,isStale:B(t,e),refetch:this.refetch}}updateResult(t){let e=(0,C._)(this,s),n=this.createResult((0,C._)(this,i),this.options);if((0,R._)(this,a,(0,C._)(this,i).state),(0,R._)(this,l,this.options),void 0!==(0,C._)(this,a).data&&(0,R._)(this,f,(0,C._)(this,i)),(0,N.VS)(n,e))return;(0,R._)(this,s,n);let r={};(null==t?void 0:t.listeners)!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!(0,C._)(this,m).size)return!0;let r=new Set(null!=n?n:(0,C._)(this,m));return this.options.throwOnError&&r.add("error"),Object.keys((0,C._)(this,s)).some(t=>(0,C._)(this,s)[t]!==e[t]&&r.has(t))})()&&(r.listeners=!0),(0,T._)(this,k,Y).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&(0,T._)(this,S,K).call(this)}constructor(t,e){super(),(0,L._)(this,y),(0,L._)(this,b),(0,L._)(this,w),(0,L._)(this,_),(0,L._)(this,S),(0,L._)(this,O),(0,L._)(this,x),(0,L._)(this,E),(0,L._)(this,k),(0,A._)(this,r,{writable:!0,value:void 0}),(0,A._)(this,i,{writable:!0,value:void 0}),(0,A._)(this,o,{writable:!0,value:void 0}),(0,A._)(this,s,{writable:!0,value:void 0}),(0,A._)(this,a,{writable:!0,value:void 0}),(0,A._)(this,l,{writable:!0,value:void 0}),(0,A._)(this,u,{writable:!0,value:void 0}),(0,A._)(this,c,{writable:!0,value:void 0}),(0,A._)(this,h,{writable:!0,value:void 0}),(0,A._)(this,f,{writable:!0,value:void 0}),(0,A._)(this,p,{writable:!0,value:void 0}),(0,A._)(this,d,{writable:!0,value:void 0}),(0,A._)(this,g,{writable:!0,value:void 0}),(0,A._)(this,m,{writable:!0,value:void 0}),(0,R._)(this,i,void 0),(0,R._)(this,o,void 0),(0,R._)(this,s,void 0),(0,R._)(this,m,new Set),this.options=e,(0,R._)(this,r,t),(0,R._)(this,u,null),this.bindMethods(),this.setOptions(e)}});function U(t,e){return!1!==e.enabled&&void 0===t.state.data&&!("error"===t.state.status&&!1===e.retryOnMount)||void 0!==t.state.data&&F(t,e,e.refetchOnMount)}function F(t,e,n){if(!1!==e.enabled){let r="function"==typeof n?n(t):n;return"always"===r||!1!==r&&B(t,e)}return!1}function $(t,e,n,r){return(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&B(t,n)}function B(t,e){return!1!==e.enabled&&t.isStaleByTime(e.staleTime)}function W(t){(0,T._)(this,E,G).call(this);let e=(0,C._)(this,i).fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(N.ZT)),e}function z(){if((0,T._)(this,O,q).call(this),N.sk||(0,C._)(this,s).isStale||!(0,N.PN)(this.options.staleTime))return;let t=(0,N.Kp)((0,C._)(this,s).dataUpdatedAt,this.options.staleTime);(0,R._)(this,p,setTimeout(()=>{(0,C._)(this,s).isStale||this.updateResult()},t+1))}function H(){var t;return null!==(t="function"==typeof this.options.refetchInterval?this.options.refetchInterval((0,C._)(this,i)):this.options.refetchInterval)&&void 0!==t&&t}function V(t){(0,T._)(this,x,Q).call(this),(0,R._)(this,g,t),!N.sk&&!1!==this.options.enabled&&(0,N.PN)((0,C._)(this,g))&&0!==(0,C._)(this,g)&&(0,R._)(this,d,setInterval(()=>{(this.options.refetchIntervalInBackground||I.j.isFocused())&&(0,T._)(this,y,W).call(this)},(0,C._)(this,g)))}function K(){(0,T._)(this,b,z).call(this),(0,T._)(this,_,V).call(this,(0,T._)(this,w,H).call(this))}function q(){(0,C._)(this,p)&&(clearTimeout((0,C._)(this,p)),(0,R._)(this,p,void 0))}function Q(){(0,C._)(this,d)&&(clearInterval((0,C._)(this,d)),(0,R._)(this,d,void 0))}function G(){let t=(0,C._)(this,r).getQueryCache().build((0,C._)(this,r),this.options);if(t===(0,C._)(this,i))return;let e=(0,C._)(this,i);(0,R._)(this,i,t),(0,R._)(this,o,t.state),this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}function Y(t){P.V.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t((0,C._)(this,s))}),(0,C._)(this,r).getQueryCache().notify({query:(0,C._)(this,i),type:"observerResultsUpdated"})})}},5531:function(t,e,n){"use strict";n.d(e,{F:function(){return l}});var r,i=n(98550),o=n(70618),s=n(27194),a=n(50803),l=(r=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,a.PN)(this.gcTime)&&(0,s._)(this,r,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,null!=t?t:a.sk?1/0:3e5)}clearGcTimeout(){(0,i._)(this,r)&&(clearTimeout((0,i._)(this,r)),(0,s._)(this,r,void 0))}constructor(){(0,o._)(this,r,{writable:!0,value:void 0})}})},11135:function(t,e,n){"use strict";n.d(e,{DV:function(){return u},Kw:function(){return a},Mz:function(){return c}});var r=n(87047),i=n(33906),o=n(50803);function s(t){return Math.min(1e3*2**t,3e4)}function a(t){return(null!=t?t:"online")!=="online"||i.N.isOnline()}var l=class{constructor(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}};function u(t){return t instanceof l}function c(t){let e,n,u,c=!1,h=0,f=!1,p=new Promise((t,e)=>{n=t,u=e}),d=()=>r.j.isFocused()&&("always"===t.networkMode||i.N.isOnline())&&t.canRun(),g=()=>a(t.networkMode)&&t.canRun(),m=r=>{if(!f){var i;f=!0,null===(i=t.onSuccess)||void 0===i||i.call(t,r),null==e||e(),n(r)}},y=n=>{if(!f){var r;f=!0,null===(r=t.onError)||void 0===r||r.call(t,n),null==e||e(),u(n)}},b=()=>new Promise(n=>{var r;e=t=>{(f||d())&&n(t)},null===(r=t.onPause)||void 0===r||r.call(t)}).then(()=>
1{if(e=void 0,!f){var n;null===(n=t.onContinue)||void 0===n||n.call(t)}}),w=()=>{let e;if(f)return;let n=0===h?t.initialPromise:void 0;try{e=null!=n?n:t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(m).catch(e=>{var n,r,i;if(f)return;let a=null!==(r=t.retry)&&void 0!==r?r:o.sk?0:3,l=null!==(i=t.retryDelay)&&void 0!==i?i:s,u="function"==typeof l?l(h,e):l,p=!0===a||"number"==typeof a&&h<a||"function"==typeof a&&a(h,e);if(c||!p){y(e);return}h++,null===(n=t.onFail)||void 0===n||n.call(t,h,e),(0,o._v)(u).then(()=>d()?void 0:b()).then(()=>{c?y(e):w()})})};return{promise:p,cancel:e=>{if(!f){var n;y(new l(e)),null===(n=t.abort)||void 0===n||n.call(t)}},continue:()=>(null==e||e(),p),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:g,start:()=>(g()?w():b().then(w),p)}}},24559:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r=class{subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}}},50803:function(t,e,n){"use strict";n.d(e,{CN:function(){return O},Ht:function(){return S},Kp:function(){return a},PN:function(){return s},Q$:function(){return p},Rm:function(){return c},SE:function(){return o},VS:function(){return d},VX:function(){return _},X7:function(){return u},Ym:function(){return h},ZT:function(){return i},_v:function(){return b},_x:function(){return l},cG:function(){return x},oE:function(){return w},sk:function(){return r},to:function(){return f}});var r="undefined"==typeof window||"Deno"in globalThis;function i(){}function o(t,e){return"function"==typeof t?t(e):t}function s(t){return"number"==typeof t&&t>=0&&t!==1/0}function a(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e){let{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=t;if(s){if(r){if(e.queryHash!==c(s,e.options))return!1}else if(!f(e.queryKey,s))return!1}if("all"!==n){let t=e.isActive();if("active"===n&&!t||"inactive"===n&&t)return!1}return("boolean"!=typeof a||e.isStale()===a)&&(!i||i===e.state.fetchStatus)&&(!o||!!o(e))}function u(t,e){let{exact:n,status:r,predicate:i,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(n){if(h(e.options.mutationKey)!==h(o))return!1}else if(!f(e.options.mutationKey,o))return!1}return(!r||e.state.status===r)&&(!i||!!i(e))}function c(t,e){return((null==e?void 0:e.queryKeyHashFn)||h)(t)}function h(t){return JSON.stringify(t,(t,e)=>m(e)?Object.keys(e).sort().reduce((t,n)=>(t[n]=e[n],t),{}):e)}function f(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(n=>!f(t[n],e[n]))}function p(t,e){if(t===e)return t;let n=g(t)&&g(e);if(n||m(t)&&m(e)){let r=n?t:Object.keys(t),i=r.length,o=n?e:Object.keys(e),s=o.length,a=n?[]:{},l=0;for(let i=0;i<s;i++){let s=n?i:o[i];(!n&&r.includes(s)||n)&&void 0===t[s]&&void 0===e[s]?(a[s]=void 0,l++):(a[s]=p(t[s],e[s]),a[s]===t[s]&&void 0!==t[s]&&l++)}return i===s&&l===i?t:a}return e}function d(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let n in t)if(t[n]!==e[n])return!1;return!0}function g(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function m(t){if(!y(t))return!1;let e=t.constructor;if(void 0===e)return!0;let n=e.prototype;return!!(y(n)&&n.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(t)===Object.prototype}function y(t){return"[object Object]"===Object.prototype.toString.call(t)}function b(t){return new Promise(e=>{setTimeout(e,t)})}function w(t,e,n){return"function"==typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?p(t,e):e}function _(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[...t,e];return n&&r.length>n?r.slice(1):r}function S(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var O=Symbol(),x=(t,e)=>!t.queryFn&&(null==e?void 0:e.initialPromise)?()=>e.initialPromise:t.queryFn&&t.queryFn!==O?t.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(t.queryHash,"'")))},89426:function(t,e,n){"use strict";n.d(e,{ReactQueryDevtools:function(){return r}});var r=function(){return null}},77930:function(t,e,n){"use strict";n.d(e,{QueryClientContext:function(){return o},QueryClientProvider:function(){return a},useQueryClient:function(){return s}});var r=n(7653),i=n(27573),o=r.createContext(void 0),s=t=>{let e=r.useContext(o);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},a=t=>{let{client:e,children:n}=t;return r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(o.Provider,{value:e,children:n})}},4272:function(t,e,n){"use strict";n.d(e,{QueryErrorResetBoundary:function(){return l},useQueryErrorResetBoundary:function(){return a}});var r=n(7653),i=n(27573);function o(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var s=r.createContext(o()),a=()=>r.useContext(s),l=t=>{let{children:e}=t,[n]=r.useState(()=>o());return(0,i.jsx)(s.Provider,{value:n,children:"function"==typeof e?e(n):e})}},64682:function(t,e,n){"use strict";n.d(e,{JN:function(){return s},KJ:function(){return a},pf:function(){return o}});var r=n(7653),i=n(4385),o=(t,e)=>
1{(t.suspense||t.throwOnError)&&!e.isReset()&&(t.retryOnMount=!1)},s=t=>{r.useEffect(()=>{t.clearReset()},[t])},a=t=>{let{result:e,errorResetBoundary:n,throwOnError:r,query:o}=t;return e.isError&&!n.isReset()&&!e.isFetching&&o&&(0,i.L)(r,[e.error,o])}},5122:function(t,e,n){"use strict";n.d(e,{IsRestoringProvider:function(){return s},useIsRestoring:function(){return o}});var r=n(7653),i=r.createContext(!1),o=()=>r.useContext(i),s=i.Provider},63447:function(t,e,n){"use strict";n.d(e,{Ct:function(){return r},Fb:function(){return i},SB:function(){return s},Z$:function(){return o},j8:function(){return a}});var r=(t,e)=>void 0===e.state.data,i=t=>{t.suspense&&"number"!=typeof t.staleTime&&(t.staleTime=1e3)},o=(t,e)=>t.isLoading&&t.isFetching&&!e,s=(t,e)=>(null==t?void 0:t.suspense)&&e.isPending,a=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()})},1887:function(t,e,n){"use strict";n.d(e,{r:function(){return c}});var r=n(7653),i=n(2906),o=n(4272),s=n(77930),a=n(5122),l=n(64682),u=n(63447);function c(t,e,n){let c=(0,s.useQueryClient)(n),h=(0,a.useIsRestoring)(),f=(0,o.useQueryErrorResetBoundary)(),p=c.defaultQueryOptions(t);p._optimisticResults=h?"isRestoring":"optimistic",(0,u.Fb)(p),(0,l.pf)(p,f),(0,l.JN)(f);let[d]=r.useState(()=>new e(c,p)),g=d.getOptimisticResult(p);if(r.useSyncExternalStore(r.useCallback(t=>{let e=h?()=>void 0:d.subscribe(i.V.batchCalls(t));return d.updateResult(),e},[d,h]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),r.useEffect(()=>{d.setOptions(p,{listeners:!1})},[p,d]),(0,u.SB)(p,g))throw(0,u.j8)(p,d,f);if((0,l.KJ)({result:g,errorResetBoundary:f,throwOnError:p.throwOnError,query:c.getQueryCache().get(p.queryHash)}))throw g.error;return p.notifyOnChangeProps?g:d.trackResult(g)}},31123:function(t,e,n){"use strict";n.d(e,{useInfiniteQuery:function(){return o}});var r=n(95640),i=n(1887);function o(t,e){return(0,i.r)(t,r.c,e)}},15969:function(t,e,n){"use strict";n.d(e,{useMutation:function(){return E}});var r,i,o,s,a,l,u=n(7653),c=n(98550),h=n(70618),f=n(27194),p=n(10917),d=n(50646),g=n(64855),m=n(2906),y=n(24559),b=n(50803),w=(r=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakSet,l=new WeakSet,class extends y.l{bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;let n=this.options;this.options=(0,c._)(this,r).defaultMutationOptions(t),(0,b.VS)(this.options,n)||(0,c._)(this,r).getMutationCache().notify({type:"observerOptionsUpdated",mutation:(0,c._)(this,o),observer:this}),(null==n?void 0:n.mutationKey)&&this.options.mutationKey&&(0,b.Ym)(n.mutationKey)!==(0,b.Ym)(this.options.mutationKey)?this.reset():(null===(e=(0,c._)(this,o))||void 0===e?void 0:e.state.status)==="pending"&&(0,c._)(this,o).setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var t;null===(t=(0,c._)(this,o))||void 0===t||t.removeObserver(this)}}onMutationUpdate(t){(0,p._)(this,a,_).call(this),(0,p._)(this,l,S).call(this,t)}getCurrentResult(){return(0,c._)(this,i)}reset(){var t;null===(t=(0,c._)(this,o))||void 0===t||t.removeObserver(this),(0,f._)(this,o,void 0),(0,p._)(this,a,_).call(this),(0,p._)(this,l,S).call(this)}mutate(t,e){var n;return(0,f._)(this,s,e),null===(n=(0,c._)(this,o))||void 0===n||n.removeObserver(this),(0,f._)(this,o,(0,c._)(this,r).getMutationCache().build((0,c._)(this,r),this.options)),(0,c._)(this,o).addObserver(this),(0,c._)(this,o).execute(t)}constructor(t,e){super(),(0,d._)(this,a),(0,d._)(this,l),(0,h._)(this,r,{writable:!0,value:void 0}),(0,h._)(this,i,{writable:!0,value:void 0}),(0,h._)(this,o,{writable:!0,value:void 0}),(0,h._)(this,s,{writable:!0,value:void 0}),(0,f._)(this,i,void 0),(0,f._)(this,r,t),this.setOptions(e),this.bindMethods(),(0,p._)(this,a,_).call(this)}});function _(){var t,e;let n=null!==(e=null===(t=(0,c._)(this,o))||void 0===t?void 0:t.state)&&void 0!==e?e:(0,g.R)();(0,f._)(this,i,{...n,isPending:"pending"===n.status,isSuccess:"success"===n.status,isError:"error"===n.status,isIdle:"idle"===n.status,mutate:this.mutate,reset:this.reset})}function S(t){m.V.batch(()=>{if((0,c._)(this,s)&&this.hasListeners()){var e,n,r,o,a,l,u,h;let f=(0,c._)(this,i).variables,p=(0,c._)(this,i).context;(null==t?void 0:t.type)==="success"?(null===(e=(n=(0,c._)(this,s)).onSuccess)||void 0===e||e.call(n,t.data,f,p),null===(r=(o=(0,c._)(this,s)).onSettled)||void 0===r||r.call(o,t.data,null,f,p)):(null==t?void 0:t.type)==="error"&&(null===(a=(l=(0,c._)(this,s)).onError)||void 0===a||a.call(l,t.error,f,p),null===(u=(h=(0,c._)(this,s)).onSettled)||void 0===u||u.call(h,void 0,t.error,f,p))}
1this.listeners.forEach(t=>{t((0,c._)(this,i))})})}var O=n(77930),x=n(4385);function E(t,e){let n=(0,O.useQueryClient)(e),[r]=u.useState(()=>new w(n,t));u.useEffect(()=>{r.setOptions(t)},[r,t]);let i=u.useSyncExternalStore(u.useCallback(t=>r.subscribe(m.V.batchCalls(t)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=u.useCallback((t,e)=>{r.mutate(t,e).catch(x.Z)},[r]);if(i.error&&(0,x.L)(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:o,mutateAsync:i.mutate}}},5068:function(t,e,n){"use strict";n.d(e,{useQuery:function(){return o}});var r=n(16859),i=n(1887);function o(t,e){return(0,i.r)(t,r.z,e)}},4385:function(t,e,n){"use strict";function r(t,e){return"function"==typeof t?t(...e):!!t}function i(){}n.d(e,{L:function(){return r},Z:function(){return i}})},16606:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:function(){return tw}});let i=Object.entries,o=Object.setPrototypeOf,s=Object.isFrozen,a=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,u=Object.freeze,c=Object.seal,h=Object.create,f="undefined"!=typeof Reflect&&Reflect,p=f.apply,d=f.construct;u||(u=function(t){return t}),c||(c=function(t){return t}),p||(p=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return t.apply(e,r)}),d||(d=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});let g=j(Array.prototype.forEach),m=j(Array.prototype.lastIndexOf),y=j(Array.prototype.pop),b=j(Array.prototype.push),w=j(Array.prototype.splice),_=Array.isArray,S=j(String.prototype.toLowerCase),O=j(String.prototype.toString),x=j(String.prototype.match),E=j(String.prototype.replace),k=j(String.prototype.indexOf),C=j(String.prototype.trim),A=j(Number.prototype.toString),R=j(Boolean.prototype.toString),T="undefined"==typeof BigInt?null:j(BigInt.prototype.toString),L="undefined"==typeof Symbol?null:j(Symbol.prototype.toString),N=j(Object.prototype.hasOwnProperty),P=j(Object.prototype.toString),I=j(RegExp.prototype.test),M=(tb=TypeError,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return d(tb,e)});function j(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return p(t,e,r)}}function D(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;if(o&&o(t,null),!_(e))return t;let r=e.length;for(;r--;){let i=e[r];if("string"==typeof i){let t=n(i);t!==i&&(s(e)||(e[r]=t),i=t)}t[i]=!0}return t}function U(t){let e=h(null);for(let o of i(t)){var n=function(t){if(Array.isArray(t))return t}(o)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,u=!1;try{for(o=(n=n.call(t)).next;!(l=(r=o.call(n)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(o,2)||function(t,e){if(t){if("string"==typeof t)return r(t,2);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,2):void 0}}(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let i=n[0],s=n[1];N(t,i)&&(_(s)?e[i]=function(t){for(let e=0;e<t.length;e++)N(t,e)||(t[e]=null);return t}(s):s&&"object"==typeof s&&s.constructor===Object?e[i]=U(s):e[i]=s)}return e}function F(t,e){for(;null!==t;){let n=l(t,e);if(n){if(n.get)return j(n.get);if("function"==typeof n.value)return j(n.value)}t=a(t)}return function(){return null}}let $=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),W=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),z=u(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),H=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),V=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),K=u(["#text"]),q=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Q=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),G=u(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Y=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),J=c(/{{[\w\W]*|^[\w\W]*}}/g),Z=c(/<%[\w\W]*|^[\w\W]*%>/g),X=c(/\${[\w\W]*/g),tt=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),te=c(/^aria-[\-\w]+$/),tn=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tr=c(/^(?:\w+script|data):/i),ti=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),to=c(/^html$/i),ts=c(/^[a-z][.\w]*(-[.\w]+)+$/i),ta=c(/<[/\w!]/g),tl=c(/<[/\w]/g),tu=c(/<\/no(script|embed|frames)/i),tc=c(/\/>/i),th={element:1,text:3,processingInstruction:7,comment:8,document:9,documentFragment:11},tf=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],tp=u(D({},tf)),td=function(){let t={};return g(tf,e=>{t[e]=c(RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))}),u(t)}(),tg=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},tm=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ty=function(t,e,n,r){return N(t,e)&&_(t[e])?D(r.base?U(r.base):{},t[e],r.transform):n},tv=function(t,e,n){let r=N(t,e)?t[e]:void 0;return r&&"object"==typeof r?U(r):n()};var tb,tw=function t(){let e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,o=e=>t(e);
1if(o.version="3.4.15",o.removed=[],!r||!r.document||r.document.nodeType!==th.document||!r.Element)return o.isSupported=!1,o;let s=r.document,a=s,l=a.currentScript;r.DocumentFragment;let f=r.HTMLTemplateElement,p=r.Node,d=r.Element,j=r.NodeFilter;void 0===r.NamedNodeMap&&(r.NamedNodeMap||r.MozNamedAttrMap),r.HTMLFormElement;let tf=r.DOMParser,tb=r.trustedTypes,tw=d.prototype,t_=F(tw,"cloneNode"),tS=F(tw,"remove"),tO=F(tw,"removeAttributeNode"),tx=F(tw,"nextSibling"),tE=F(tw,"childNodes"),tk=F(tw,"parentNode"),tC=F(tw,"shadowRoot"),tA=F(tw,"attributes"),tR=p&&p.prototype?F(p.prototype,"nodeType"):null,tT=p&&p.prototype?F(p.prototype,"nodeName"):null,tL=p&&p.prototype?F(p.prototype,"ownerDocument"):null,tN=function(t){return tR?tR(t):t.nodeType},tP=function(t){return tT?tT(t):t.nodeName};if("function"==typeof f){let t=s.createElement("template");t.content&&t.content.ownerDocument&&(s=t.content.ownerDocument)}let tI="",tM=!1,tj=0,tD=function(){if(tj>0)throw M('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},tU=function(t){tD(),tj++;try{return e.createHTML(t)}finally{tj--}},tF=function(t){tD(),tj++;try{return e.createScriptURL(t)}finally{tj--}},t$=s,tB=t$.implementation,tW=t$.createNodeIterator,tz=t$.createDocumentFragment,tH=t$.getElementsByTagName,tV=a.importNode,tK=tm();o.isSupported="function"==typeof i&&"function"==typeof tk&&tB&&void 0!==tB.createHTMLDocument;let tq=tn,tQ=null,tG=D({},[...$,...B,...W,...H,...K]),tY=null,tJ=D({},[...q,...Q,...G,...Y]),tZ=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tX=null,t0=null,t1=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),t2=!0,t8=!0,t3=!1,t5=!0,t6=!1,t4=!0,t9=!1,t7=!1,et=null,ee=null,en=!1,er=!1,ei=!1,eo=!1,es=!0,ea=!1,el="user-content-",eu=!0,ec=!1,eh={},ef=null,ep=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ed=null,eg=D({},["audio","video","img","source","image","track"]),em=null,ey=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ev="http://www.w3.org/1998/Math/MathML",eb="http://www.w3.org/2000/svg",ew="http://www.w3.org/1999/xhtml",e_=ew,eS=!1,eO=null,ex=D({},[ev,eb,ew],O),eE=u(["mi","mo","mn","ms","mtext"]),ek=D({},eE),eC=u(["annotation-xml"]),eA=D({},eC),eR=D({},["title","style","font","a","script"]),eT=null,eL=["application/xhtml+xml","text/html"],eN=null,eP=null,eI=s.createElement("form"),eM=function(t){return t instanceof RegExp||t instanceof Function},ej=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(eP&&eP===t)return;t&&"object"==typeof t||(t={}),t=U(t),eN="application/xhtml+xml"===(eT=-1===eL.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?O:S,tQ=ty(t,"ALLOWED_TAGS",tG,{transform:eN}),tY=ty(t,"ALLOWED_ATTR",tJ,{transform:eN}),eO=ty(t,"ALLOWED_NAMESPACES",ex,{transform:O}),em=ty(t,"ADD_URI_SAFE_ATTR",ey,{transform:eN,base:ey}),ed=ty(t,"ADD_DATA_URI_TAGS",eg,{transform:eN,base:eg}),ef=ty(t,"FORBID_CONTENTS",ep,{transform:eN}),tX=ty(t,"FORBID_TAGS",U({}),{transform:eN}),t0=ty(t,"FORBID_ATTR",U({}),{transform:eN}),eh=!!N(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?U(t.USE_PROFILES):t.USE_PROFILES),t2=!1!==t.ALLOW_ARIA_ATTR,t8=!1!==t.ALLOW_DATA_ATTR,t3=t.ALLOW_UNKNOWN_PROTOCOLS||!1,t5=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,t6=t.SAFE_FOR_TEMPLATES||!1,t4=!1!==t.SAFE_FOR_XML,t9=t.WHOLE_DOCUMENT||!1,er=t.RETURN_DOM||!1,ei=t.RETURN_DOM_FRAGMENT||!1,eo=t.RETURN_TRUSTED_TYPE||!1,en=t.FORCE_BODY||!1,es=!1!==t.SANITIZE_DOM,ea=t.SANITIZE_NAMED_PROPS||!1,eu=!1!==t.KEEP_CONTENT,ec=t.IN_PLACE||!1,tq=!function(t){try{return I(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?tn:t.ALLOWED_URI_REGEXP,e_="string"==typeof t.NAMESPACE?t.NAMESPACE:ew,ek=tv(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>D({},eE)),eA=tv(t,"HTML_INTEGRATION_POINTS",()=>D({},eC));let r=tv(t,"CUSTOM_ELEMENT_HANDLING",()=>h(null));if(tZ=h(null),N(r,"tagNameCheck")&&eM(r.tagNameCheck)&&(tZ.tagNameCheck=r.tagNameCheck),N(r,"attributeNameCheck")&&eM(r.attributeNameCheck)&&(tZ.attributeNameCheck=r.attributeNameCheck),N(r,"allowCustomizedBuiltInElements")&&"boolean"==typeof r.allowCustomizedBuiltInElements&&(tZ.allowCustomizedBuiltInElements=r.allowCustomizedBuiltInElements),c(tZ),t6&&(t8=!1),ei&&(er=!0),eh&&(tQ=D({},K),tY=h(null),!0===eh.html&&(D(tQ,$),D(tY,q)),!0===eh.svg&&(D(tQ,B),D(tY,Q),D(tY,Y)),!0===eh.svgFilters&&
1(D(tQ,W),D(tY,Q),D(tY,Y)),!0===eh.mathMl&&(D(tQ,H),D(tY,G),D(tY,Y))),t1.tagCheck=null,t1.attributeCheck=null,N(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?t1.tagCheck=t.ADD_TAGS:_(t.ADD_TAGS)&&(tQ===tG&&(tQ=U(tQ)),D(tQ,t.ADD_TAGS,eN))),N(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?t1.attributeCheck=t.ADD_ATTR:_(t.ADD_ATTR)&&(tY===tJ&&(tY=U(tY)),D(tY,t.ADD_ATTR,eN))),N(t,"ADD_FORBID_CONTENTS")&&_(t.ADD_FORBID_CONTENTS)&&(ef===ep&&(ef=U(ef)),D(ef,t.ADD_FORBID_CONTENTS,eN)),eu&&(tQ["#text"]=!0),t9&&D(tQ,["html","head","body"]),tQ.table&&(D(tQ,["tbody"]),delete tX.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let n=e;e=t.TRUSTED_TYPES_POLICY;try{tI=tU("")}catch(t){throw e=n,t}}else null===t.TRUSTED_TYPES_POLICY?(e=void 0,tI=""):(void 0===e&&(tM||(n=tg(tb,l),tM=!0),e=n),e&&"string"==typeof tI&&(tI=tU("")));u&&u(t),eP=t},eD=D({},[...B,...W,...z]),eU=D({},[...H,...V]),eF=function(t){var e,n,r;let i=tk(t);i&&i.tagName||(i={namespaceURI:e_,tagName:"template"});let o=S(t.tagName),s=S(i.tagName);return!!eO[t.namespaceURI]&&(t.namespaceURI===eb?(e=i).namespaceURI===ew?"svg"===o:e.namespaceURI===ev?"svg"===o&&("annotation-xml"===s||ek[s]):!!eD[o]:t.namespaceURI===ev?(n=i).namespaceURI===ew?"math"===o:n.namespaceURI===eb?"math"===o&&eA[s]:!!eU[o]:t.namespaceURI===ew?((r=i).namespaceURI!==eb||!!eA[s])&&(r.namespaceURI!==ev||!!ek[s])&&!eU[o]&&(eR[o]||!eD[o]):"application/xhtml+xml"===eT&&!!eO[t.namespaceURI])},e$=function(t){b(o.removed,{element:t});try{tk(t).removeChild(t)}catch(e){if(tS(t),!tk(t))throw M("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},eB=function(t,e,n){try{tO(t,e)}catch(e){try{t.removeAttribute(n)}catch(t){}}},eW=function(t){eV(t);let e=tE(t);if(e){let t=[];g(e,e=>{b(t,e)}),g(t,t=>{try{tS(t)}catch(t){}})}let n=tA(t);if(n)for(let e=n.length-1;e>=0;--e){let r=n[e],i=r&&r.name;"string"==typeof i&&eB(t,r,i)}},ez=function(t,e,n){if(!n)try{n=e.getAttributeNode(t)}catch(t){n=null}b(o.removed,{attribute:n||null,from:e});try{n?tO(e,n):e.removeAttribute(t)}catch(n){try{e.removeAttribute(t)}catch(t){}}if("is"===t){if(er||ei)try{e$(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},eH=function(t){let e=tA(t);if(e)for(let n=e.length-1;n>=0;--n){let r=e[n],i=r&&r.name;"string"!=typeof i||tY[eN(i)]||eB(t,r,i)}},eV=function(t){let e=[t];for(;e.length>0;){let t=e.pop();tN(t)===th.element&&eH(t);let n=tE(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},eK=function(t,e){return!!t4&&("patchsrc"===t||"for"===t&&"label"!==e&&"output"!==e)},eq=function(t){if(!t4)return;let e=[t];for(;e.length>0;){let t=e.pop(),n=tN(t);if(n===th.processingInstruction||n===th.comment&&I(tl,t.data)){try{tS(t)}catch(t){}continue}if(n===th.element){let e=eN(tP(t));try{t.hasAttribute&&t.hasAttribute("patchsrc")&&t.removeAttribute("patchsrc"),t.hasAttribute&&t.hasAttribute("for")&&eK("for",e)&&t.removeAttribute("for")}catch(t){}}let r=tE(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}},eQ=function(t){let n=null,r=null;if(en)t="<remove></remove>"+t;else{let e=x(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===eT&&e_===ew&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let i=e?tU(t):t;if(e_===ew)try{n=new tf().parseFromString(i,eT)}catch(t){}if(!n||!n.documentElement){n=tB.createDocument(e_,"template",null);try{n.documentElement.innerHTML=eS?tI:i}catch(t){}}let o=n.body||n.documentElement;return(t&&r&&o.insertBefore(s.createTextNode(r),o.childNodes[0]||null),e_===ew)?tH.call(n,t9?"html":"body")[0]:t9?n.documentElement:o},eG=function(t){let e=tL?tL(t):t.ownerDocument;return tW.call(e||t,t,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},eY=function(t){return t=E(t,J," "),t=E(t,Z," "),t=E(t,X," ")},eJ=function(t){var e;t.normalize();let n=tL?tL(t):t.ownerDocument,r=tW.call(n||t,t,j.SHOW_TEXT|j.SHOW_COMMENT|j.SHOW_CDATA_SECTION|j.SHOW_PROCESSING_INSTRUCTION,null),i=r.nextNode();for(;i;)i.data=eY(i.data),i=r.nextNode();let o=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");o&&g(o,t=>{eX(t.content)&&eJ(t.content)})},eZ=function(t){let e=tT?tT(t):null;return"string"==typeof e&&"form"===eN(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==tA(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.removeAttributeNode||"function"!=typeof t.getAttributeNode||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==tR(t)||t.childNodes!==tE(t))},eX=function(t){if(!tR||"object"!=typeof t||null===t)return!1;try{return tR(t)===th.documentFragment}catch(t){return!1}},e0=function(t){if(!tR||"object"!=typeof t||null===t)return!1;try{return"number"==typeof tR(t)}catch(t){return!1}};function e1(t,e,n){0!==t.length&&g(t,t=>{t.call(o,e,n,eP)})}let e2=function(t,e){if(t instanceof RegExp)return I(t,e);if(t instanceof Function){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return!!t(e,...r)}return!1},e8=function(t,e,n){if(!tX[e]&&e7(e)&&e2(tZ.tagNameCheck,e))return!1;if(eu&&!ef[e]){let e=tk(t),r=tE(t);if(r&&e){let i=r.length;for(let o=i-1;o>=0;--o){let i=t===n?t_(r[o],!0):r[o];e.insertBefore(i,tx(t))}}}return e$(t),!0},e3=function(t,e,n,r){return 0===t.length?e:e===n||e===r?U(e):e},e5=function(t,e){return t!==e&&null===tk(t)&&(ec&&eV(t),!0)},e6=function(t,e){if(e1(tK.beforeSanitizeElements,t,null),e5(t,e))return!0;
1if(eZ(t))return e$(t),!0;let n=eN(tP(t));if(tQ=e3(tK.uponSanitizeElement,tQ,tG,et),e1(tK.uponSanitizeElement,t,{tagName:n,allowedTags:tQ}),e5(t,e))return!0;if(t4&&t.hasChildNodes()&&!e0(t.firstElementChild)&&I(ta,t.textContent)&&I(ta,t.innerHTML)||t4&&t.namespaceURI===ew&&tp[n]&&(e0(t.firstElementChild)||"string"==typeof t.textContent&&I(td[n],t.textContent))||t.nodeType===th.processingInstruction||t4&&t.nodeType===th.comment&&I(tl,t.data))return e$(t),!0;if(tX[n]||!(t1.tagCheck instanceof Function&&t1.tagCheck(n))&&!tQ[n]){let r=e8(t,n,e);return!1===r&&e1(tK.afterSanitizeElements,t,null),r}if(tN(t)===th.element&&!eF(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&I(tu,t.innerHTML))return e$(t),!0;if(t6&&t.nodeType===th.text){let e=eY(t.textContent);t.textContent!==e&&(b(o.removed,{element:t.cloneNode()}),t.textContent=e)}return e1(tK.afterSanitizeElements,t,null),!1},e4=function(t,e,n){if(t0[e]||eK(e,t)||es&&("id"===e||"name"===e)&&(n in s||n in eI))return!1;let r=tY[e]||t1.attributeCheck instanceof Function&&t1.attributeCheck(e,t);return!!(t8&&I(tt,e)||t2&&I(te,e))||(r?!!(em[e]||I(tq,E(n,ti,"")))||("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===k(n,"data:")&&!!ed[t]||!!t3&&!I(tr,E(n,ti,""))||!n:e7(t)&&e2(tZ.tagNameCheck,t)&&e2(tZ.attributeNameCheck,e,t)||"is"===e&&tZ.allowCustomizedBuiltInElements&&e2(tZ.tagNameCheck,n))},e9=D({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),e7=function(t){return!e9[S(t)]&&I(ts,t)},nt=function(t,n,r,i){if(e&&"object"==typeof tb&&"function"==typeof tb.getAttributeType&&!r)switch(tb.getAttributeType(t,n)){case"TrustedHTML":return tU(i);case"TrustedScriptURL":return tF(i)}return i},ne=function(t,e,n,r){try{if(n?t.setAttributeNS(n,e,r):t.setAttribute(e,r),eZ(t))return e$(t),!1;return!0}catch(n){return ez(e,t),!1}},nn=function(t){e1(tK.beforeSanitizeAttributes,t,null);let e=t.attributes;if(!e||eZ(t))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tY=e3(tK.uponSanitizeAttribute,tY,tJ,ee),forceKeepAttr:void 0},r=e.length,i=eN(t.nodeName);for(;r--;){let s=e[r],a=s.name,l=s.namespaceURI,u=s.value,c=eN(a),h="value"===a?u:C(u),f=!1;if(n.attrName=c,n.attrValue=h,n.keepAttr=!0,n.forceKeepAttr=void 0,e1(tK.uponSanitizeAttribute,t,n),h=n.attrValue,ea&&("id"===c||"name"===c)&&0!==k(h,el)&&(ez(a,t,s),h=el+h,f=!0),t4&&I(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)||"attributename"===c&&x(h,"href")){ez(a,t,s);continue}if(!n.forceKeepAttr){if(!n.keepAttr||!t5&&I(tc,h)||(t6&&(h=eY(h)),!e4(i,c,h))){ez(a,t,s);continue}(h=nt(i,c,l,h))!==u&&ne(t,a,l,h)&&f&&y(o.removed)}}e1(tK.afterSanitizeAttributes,t,null)},nr=function(t){let e=null,n=eG(t);for(e1(tK.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(e1(tK.uponSanitizeShadowNode,e,null),e6(e,t),nn(e),eX(e.content)&&nr(e.content),tN(e)===th.element){let t=tC(e);eX(t)&&(ni(t),nr(t))}e1(tK.afterSanitizeShadowDOM,t,null)},ni=function(t){let e=[{node:t,shadow:null}];for(;e.length>0;){let t=e.pop();if(t.shadow){nr(t.shadow);continue}let n=t.node,r=tN(n)===th.element,i=tE(n);if(i)for(let t=i.length-1;t>=0;--t)e.push({node:i[t],shadow:null});if(r){let t=tT?tT(n):null;if("string"==typeof t&&"template"===eN(t)){let t=n.content;eX(t)&&e.push({node:t,shadow:null})}}if(r){let t=tC(n);eX(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return o.sanitize=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,l=null;if((eS=!t)&&(t="<!-->"),"string"!=typeof t&&!e0(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return A(t);case"boolean":return R(t);case"bigint":return T?T(t):"0";case"symbol":return L?L(t):"Symbol()";case"undefined":default:return P(t);case"function":case"object":{if(null===t)return P(t);let e=F(t,"toString");if("function"==typeof e){let n=e(t);return"string"==typeof n?n:P(n)}return P(t)}}}(t)))throw M("dirty is not a string, aborting");if(!o.isSupported)return t;t7?(tQ=et,tY=ee):ej(n),(tK.uponSanitizeElement.length>0||tK.uponSanitizeAttribute.length>0)&&(tQ=U(tQ)),tK.uponSanitizeAttribute.length>0&&(tY=U(tY)),o.removed=[];let u=ec&&"string"!=typeof t&&e0(t);if(u){eq(t);let e=tP(t);if("string"==typeof e){let n=eN(e);if(!tQ[n]||tX[n])throw eW(t),M("root node is forbidden and cannot be sanitized in-place")}if(eZ(t))throw eW(t),M("root node is clobbered and cannot be sanitized in-place");try{ni(t)}catch(e){throw eW(t),e}}else if(e0(t))(i=(r=eQ("<!---->")).ownerDocument.importNode(t,!0)).nodeType===th.element&&"BODY"===i.nodeName?r=i:"HTML"===i.nodeName?r=i:r.appendChild(i),ni(r);else{if(!er&&!t6&&!t9&&-1===t.indexOf("<"))return e&&eo?tU(t):t;if(!(r=eQ(t)))return er?null:eo?tI:""}r&&en&&e$(r.firstChild);let c=u?t:r;try{let t=eG(c);for(;s=t.nextNode();)e6(s,c),nn(s),eX(s.content)&&nr(s.content)}catch(e){throw u&&(eW(t),g(o.removed,t=>{t.element&&eV(t.element)})),e}if(u)return g(o.removed,t=>{t.element&&eV(t.element)}),t6&&eJ(t),t;if(er){if(t6&&eJ(r),ei)for(l=tz.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(tY.shadowroot||tY.shadowrootmode)&&(l=tV.call(a,l,!0)),l}let h=t9?r.outerHTML:r.innerHTML;return t9&&tQ["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&I(to,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),t6&&(h=eY(h)),e&&eo?tU(h):h},o.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ej(t),t7=!0,et=tQ,ee=tY},o.clearConfig=function(){eP=null,t7=!1,et=null,ee=null,e=n,tI=""},o.isValidAttribute=function(t,e,n){return eP||ej({}),e4(eN(t),eN(e),n)},o.addHook=function(t,e){"function"==typeof e&&N(tK,t)&&b(tK[t],e)},o.removeHook=function(t,e){if(N(tK,t)){if(void 0!==e){let n=m(tK[t],e);return -1===n?void 0:w(tK[t],n,1)[0]}return y(tK[t])}},o.removeHooks=function(t){N(tK,t)&&(tK[t]=[])},o.removeAllHooks=function(){tK=tm()},o}()},22846:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=function(t){return{type:"backend",init:function(t,e,n){},read:function(e,n,r){if("function"==typeof t){if(t.length<3){try{var i=t(e,n);i&&"function"==typeof i.then?i.then(function(t){return r(null,t&&t.default||t)}).catch(r):r(null,i)}catch(t){r(t)}return}
1t(e,n,r);return}r(null,t&&t[e]&&t[e][n])}}}},98533:function(t,e,n){"use strict";n.d(e,{Fs:function(){return H}});let r={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};class i{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||r,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,r){return r&&!this.debug?null:("string"==typeof t[0]&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[e](t))}create(t){return new i(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new i(this.logger,t)}}var o=new i;class s{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);let n=this.observers[t].get(e)||0;this.observers[t].set(e,n+1)}),this}off(t,e){if(this.observers[t]){if(!e){delete this.observers[t];return}this.observers[t].delete(e)}}emit(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[e,r]=t;for(let t=0;t<r;t++)e(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(e=>{let[r,i]=e;for(let e=0;e<i;e++)r.apply(r,[t,...n])})}}function a(){let t,e;let n=new Promise((n,r)=>{t=n,e=r});return n.resolve=t,n.reject=e,n}function l(t){return null==t?"":""+t}let u=/###/g;function c(t,e,n){function r(t){return t&&t.indexOf("###")>-1?t.replace(u,"."):t}function i(){return!t||"string"==typeof t}let o="string"!=typeof e?e:e.split("."),s=0;for(;s<o.length-1;){if(i())return{};let e=r(o[s]);!t[e]&&n&&(t[e]=new n),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{},++s}return i()?{}:{obj:t,k:r(o[s])}}function h(t,e,n){let{obj:r,k:i}=c(t,e,Object);if(void 0!==r||1===e.length){r[i]=n;return}let o=e[e.length-1],s=e.slice(0,e.length-1),a=c(t,s,Object);for(;void 0===a.obj&&s.length;)o=`${s[s.length-1]}.${o}`,(a=c(t,s=s.slice(0,s.length-1),Object))&&a.obj&&void 0!==a.obj[`${a.k}.${o}`]&&(a.obj=void 0);a.obj[`${a.k}.${o}`]=n}function f(t,e){let{obj:n,k:r}=c(t,e);if(n)return n[r]}function p(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var d={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function g(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,t=>d[t]):t}class m{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){let e=this.regExpMap.get(t);if(void 0!==e)return e;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}let y=[" ",",","?","!",";"],b=new m(20);function w(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[e])return t[e];let r=e.split(n),i=t;for(let t=0;t<r.length;){let e;if(!i||"object"!=typeof i)return;let o="";for(let s=t;s<r.length;++s)if(s!==t&&(o+=n),o+=r[s],void 0!==(e=i[o])){if(["string","number","boolean"].indexOf(typeof e)>-1&&s<r.length-1)continue;t+=s-t+1;break}i=e}return i}function _(t){return t&&t.indexOf("_")>0?t.replace("_","-"):t}class S extends s{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}removeNamespaces(t){let e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){let r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;t.indexOf(".")>-1?r=t.split("."):(r=[t,e],n&&(Array.isArray(n)?r.push(...n):"string"==typeof n&&o?r.push(...n.split(o)):r.push(n)));let a=f(this.data,r);return(!a&&!e&&!n&&t.indexOf(".")>-1&&(t=r[0],e=r[1],n=r.slice(2).join(".")),a||!s||"string"!=typeof n)?a:w(this.data&&this.data[t]&&this.data[t][e],n,o)}
1addResource(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=[t,e];n&&(s=s.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(s=t.split("."),r=e,e=s[1]),this.addNamespaces(e),h(this.data,s,r),i.silent||this.emit("added",t,e,n,r)}addResources(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let r in n)("string"==typeof n[r]||Array.isArray(n[r]))&&this.addResource(t,e,r,n[r],{silent:!0});r.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[t,e];t.indexOf(".")>-1&&(s=t.split("."),r=n,n=e,e=s[1]),this.addNamespaces(e);let a=f(this.data,s)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?function t(e,n,r){for(let i in n)"__proto__"!==i&&"constructor"!==i&&(i in e?"string"==typeof e[i]||e[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(e[i]=n[i]):t(e[i],n[i],r):e[i]=n[i]);return e}(a,n,i):a={...a,...n},h(this.data,s,a),o.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return void 0!==this.getResource(t,e)}getResourceBundle(t,e){return(e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(t,e)}:this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(t=>e[t]&&Object.keys(e[t]).length>0)}toJSON(){return this.data}}var O={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,i){return t.forEach(t=>{this.processors[t]&&(e=this.processors[t].process(e,n,r,i))}),e}};let x={};class E extends s{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(t,e,n){t.forEach(t=>{e[t]&&(n[t]=e[t])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],t,this),this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=o.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;let n=this.resolve(t,e);return n&&void 0!==n.res}extractFromKey(t,e){let n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,i=e.ns||this.options.defaultNS||[],o=n&&t.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!function(t,e,n){e=e||"",n=n||"";let r=y.filter(t=>0>e.indexOf(t)&&0>n.indexOf(t));if(0===r.length)return!0;let i=b.getRegExp(`(${r.map(t=>"?"===t?"\\?":t).join("|")})`),o=!i.test(t);if(!o){let e=t.indexOf(n);e>0&&!i.test(t.substring(0,e))&&(o=!0)}return o}(t,n,r);if(o&&!s){let e=t.match(this.interpolator.nestingRegexp);if(e&&e.length>0)return{key:t,namespaces:i};let o=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),t=o.join(r)}return"string"==typeof i&&(i=[i]),{key:t,namespaces:i}}translate(t,e,n){if("object"!=typeof e&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof e&&(e={...e}),e||(e={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);let r=void 0!==e.returnDetails?e.returnDetails:this.options.returnDetails,i=void 0!==e.ke
1ySeparator?e.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],e),a=s[s.length-1],l=e.lng||this.language,u=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){let t=e.nsSeparator||this.options.nsSeparator;return r?{res:`${a}${t}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(e)}:`${a}${t}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(e)}:o}let c=this.resolve(t,e),h=c&&c.res,f=c&&c.usedKey||o,p=c&&c.exactUsedKey||o,d=Object.prototype.toString.apply(h),g=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,y="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(m&&h&&y&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(d)&&!("string"==typeof g&&Array.isArray(h))){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,h,{...e,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(c.res=t,c.usedParams=this.getUsedParamsDetails(e),c):t}if(i){let t=Array.isArray(h),n=t?[]:{},r=t?p:f;for(let t in h)if(Object.prototype.hasOwnProperty.call(h,t)){let o=`${r}${i}${t}`;n[t]=this.translate(o,{...e,joinArrays:!1,ns:s}),n[t]===o&&(n[t]=h[t])}h=n}}else if(m&&"string"==typeof g&&Array.isArray(h))(h=h.join(g))&&(h=this.extendTranslation(h,t,e,n));else{let r=!1,s=!1,u=void 0!==e.count&&"string"!=typeof e.count,f=E.hasDefaultValue(e),p=u?this.pluralResolver.getSuffix(l,e.count,e):"",d=e.ordinal&&u?this.pluralResolver.getSuffix(l,e.count,{ordinal:!1}):"",g=u&&!e.ordinal&&0===e.count&&this.pluralResolver.shouldUseIntlApi(),m=g&&e[`defaultValue${this.options.pluralSeparator}zero`]||e[`defaultValue${p}`]||e[`defaultValue${d}`]||e.defaultValue;!this.isValidLookup(h)&&f&&(r=!0,h=m),this.isValidLookup(h)||(s=!0,h=o);let y=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:h,b=f&&m!==h&&this.options.updateMissing;if(s||r||b){if(this.logger.log(b?"updateKey":"missingKey",l,a,o,b?m:h),i){let t=this.resolve(o,{...e,keySeparator:!1});t&&t.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let t=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let e=0;e<n.length;e++)t.push(n[e]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(e.lng||this.language):t.push(e.lng||this.language);let r=(t,n,r)=>{let i=f&&r!==h?r:y;this.options.missingKeyHandler?this.options.missingKeyHandler(t,a,n,i,b,e):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,a,n,i,b,e),this.emit("missingKey",t,a,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?t.forEach(t=>{let n=this.pluralResolver.getSuffixes(t,e);g&&e[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{r([t],o+n,e[`defaultValue${n}`]||m)})}):r(t,o,m))}h=this.extendTranslation(h,t,e,c,n),s&&h===o&&this.options.appendNamespaceToMissingKey&&(h=`${a}:${o}`),(s||r)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${o}`:o,r?h:void 0):this.options.parseMissingKeyHandler(h))}return r?(c.res=h,c.usedParams=this.getUsedParamsDetails(e),c):h}extendTranslation(t,e,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let s;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a="string"==typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(a){let e=t.match(this.interpolator.nestingRegexp);s=e&&e.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),t=this.interpolator.interpolate(t,l,n.lng||this.language,n),a){let e=t.match(this.interpolator.nestingRegexp);s<(e&&e.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,r=Array(t),s=0;s<t;s++)r[s]=arguments[s];return i&&i[0]===r[0]&&!n.context?(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${e[0]}`),null):o.translate(...r,e)},n)),n.interpolation&&this.interpolator.reset()}let s=n.postProcess||this.options.postProcess,a="string"==typeof s?[s]:s;return null!=t&&a&&a.length&&!1!==n.applyPostProcessor&&(t=O.handle(a,t,e,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let e,n,r,i,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(e))return;let a=this.extractFromKey(t,s),l=a.key;n=l;let u=a.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let c=void 0!==s.count&&"string"!=typeof s.count,h=c&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);u.forEach(t=>{this.isValidLookup(e)||(o=t,!x[`${p[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(x[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let o;if(this.isValidLookup(e))return;i=n;let a=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(a,l,n,t,s);else{let t;c&&(t=this.pluralResolver.getSuffix(n,s.count,s));let e=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(a.push(l+t),s.ordinal&&0===t.indexOf(r)&&a.push(l+t.replace(r,this.options.pluralSeparator)),h&&a.push(l+e)),f){let n=`${l}${this.options.contextSeparator}
1${s.context}`;a.push(n),c&&(a.push(n+t),s.ordinal&&0===t.indexOf(r)&&a.push(n+t.replace(r,this.options.pluralSeparator)),h&&a.push(n+e))}}for(;o=a.pop();)this.isValidLookup(e)||(r=o,e=this.getResource(n,t,o,s))}))})}),{res:e,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(t){return void 0!==t&&!(!this.options.returnNull&&null===t)&&!(!this.options.returnEmptyString&&""===t)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.replace&&"string"!=typeof t.replace,n=e?t.replace:t;if(e&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!e)for(let t of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[t];return n}static hasDefaultValue(t){let e="defaultValue";for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,e.length)&&void 0!==t[n])return!0;return!1}}function k(t){return t.charAt(0).toUpperCase()+t.slice(1)}class C{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=o.create("languageUtils")}getScriptPartFromCode(t){if(!(t=_(t))||0>t.indexOf("-"))return null;let e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase())?null:this.formatLanguageCode(e.join("-"))}getLanguagePartFromCode(t){if(!(t=_(t))||0>t.indexOf("-"))return t;let e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if("string"==typeof t&&t.indexOf("-")>-1){let e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=k(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=k(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=k(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){let e;return t?(t.forEach(t=>{if(e)return;let n=this.formatLanguageCode(t);(!this.options.supportedLngs||this.isSupportedCode(n))&&(e=n)}),!e&&this.options.supportedLngs&&t.forEach(t=>{if(e)return;let n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return e=n;e=this.options.supportedLngs.find(t=>{if(t===n||!(0>t.indexOf("-")&&0>n.indexOf("-"))&&(t.indexOf("-")>0&&0>n.indexOf("-")&&t.substring(0,t.indexOf("-"))===n||0===t.indexOf(n)&&n.length>1))return t})}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e):null}getFallbackCodes(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),"string"==typeof t&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){let n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),r=[],i=t=>{t&&(this.isSupportedCode(t)?r.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return"string"==typeof t&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(t))):"string"==typeof t&&i(this.formatLanguageCode(t)),n.forEac
1h(t=>{0>r.indexOf(t)&&i(this.formatLanguageCode(t))}),r}}let A=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],R={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}},T=["v1","v2","v3"],L=["v4"],N={zero:0,one:1,two:2,few:3,many:4,other:5};class P{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=o.create("pluralResolver"),(!this.options.compatibilityJSON||L.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){let t={};return A.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:R[e.fc]}})}),t}()}addRule(t,e){this.rules[t]=e}getRule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(_("dev"===t?"en":t),{type:e.ordinal?"ordinal":"cardinal"})}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>`${e}${t}`)}getSuffixes(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,e);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,e)=>N[t]-N[e]).map(t=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${t}`):n.numbers.map(n=>this.getSuffix(t,n,e)):[]}getSuffix(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(t,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(e)}`:this.getSuffixRetroCompatible(r,e):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,e){let n=t.noAbs?t.plurals(e):t.plurals(Math.abs(e)),r=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[
10]&&(2===r?r="plural":1===r&&(r=""));let i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!T.includes(this.options.compatibilityJSON)}}function I(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=function(t,e,n){let r=f(t,n);return void 0!==r?r:f(e,n)}(t,e,n);return!o&&i&&"string"==typeof n&&void 0===(o=w(t,n,r))&&(o=w(e,n,r)),o}class M{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:e,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:s,suffixEscaped:a,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:h,nestingPrefixEscaped:f,nestingSuffix:d,nestingSuffixEscaped:m,nestingOptionsSeparator:y,maxReplaces:b,alwaysFormat:w}=t.interpolation;this.escape=void 0!==e?e:g,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?p(i):o||"{{",this.suffix=s?p(s):a||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=h?p(h):f||p("$t("),this.nestingSuffix=d?p(d):m||p(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==w&&w,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(t,e)=>t&&t.source===e?(t.lastIndex=0,t):RegExp(e,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,r){let i,o,s;let a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(t){return t.replace(/\$/g,"$$$$")}let c=t=>{if(0>t.indexOf(this.formatSeparator)){let i=I(e,a,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...e,interpolationkey:t}):i}let i=t.split(this.formatSeparator),o=i.shift().trim(),s=i.join(this.formatSeparator).trim();return this.format(I(e,a,o,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,{...r,...e,interpolationkey:o})};this.resetRegExp();let h=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>u(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?u(this.escape(t)):u(t)}].forEach(e=>{for(s=0;i=e.regex.exec(t);){let n=i[1].trim();if(void 0===(o=c(n))){if("function"==typeof h){let e=h(t,i,r);o="string"==typeof e?e:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else if(f){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${t}`),o=""}else"string"==typeof o||this.useRawValueToEscape||(o=l(o));let a=e.safeValue(o);if(t=t.replace(i[0],a),f?(e.regex.lastIndex+=o.length,e.regex.lastIndex-=i[0].length):e.regex.lastIndex=0,++s>=this.maxReplaces)break}}),t}nest(t,e){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(t,e){let n=this.nestingOptionsSeparator;if(0>t.indexOf(n))return t;let r=t.split(RegExp(`${n}[ ]*{`)),o=`{${r[1]}`;t=r[0];let s=(o=this.interpolate(o,i)).match(/'/g),a=o.match(/"/g);(s&&s.length%2==0&&!a||a.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),e&&(i={...e,...i})}catch(e){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,e),`${t}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,t}for(;n=this.nestingRegexp.exec(t);){let a=[];(i=(i={...o}).replace&&"string"!=typeof i.replace?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),a=t,u=!0}if((r=e(s.call(this,n[1].trim(),i),i))&&n[0]===t&&"string"!=typeof r)return r;"string"!=typeof r&&(r=l(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),r=""),u&&(r=a.reduce((t,e)=>this.format(t,e,o.lng,{...o,interpolationkey:n[1].trim()}),r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}}function j(t){let e={};return function(n,r,i){let o=r+JSON.stringify(i),s=e[o];return s||(s=t(_(r),i),e[o]=s),s(n)}}class D{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=o.create("formatter"),this.options=t,this.formats={number:j((t,e)=>{let n=new Intl.NumberFormat(t,{...e});return t=>n.format(t)}),currency:j((t,e)=>{let n=new Intl.NumberFormat(t,{...e,style:"currency"});return t=>n.format(t)}),datetime:j((t,e)=>{let n=new Intl.DateTimeFormat(t,{...e});return t=>n.format(t)}),relativetime:j((t,e)=>{let n=new Intl.RelativeTimeFormat(t,{...e});return t=>n.format(t,e.range||"day")}),list:j((t,e)=>{let n=new Intl.ListFormat(t,{...e});return t=>n.format(t)})},this.init(t)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=e.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=j(e)}format(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e.split(this.formatSeparator).reduce((t,e)=>{let{formatName:i,formatOptions:o}=function(t){let e=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){let r=t.split("(");e=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===e&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===e&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(t=>{if(t){let[e,...r]=t.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=e.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:e,formatOptions:n}}(e);if(this.formats[i]){let e=t;try{let s=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},a=s.locale||s.lng||r.locale||r.lng||n;e=this.formats[i](t,a,{...o,...r,...s})}catch(t){this.logger.warn(t)}return e}return this.logger.warn(`there was no format function for ${i}`),t},t)}}class U extends s{constructor(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=o.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(t,e,n,r){let i={},o={},s={},a={};return t.forEach(t=>{let r=!0;
1e.forEach(e=>{let s=`${t}|${e}`;!n.reload&&this.store.hasResourceBundle(t,e)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===o[s]&&(o[s]=!0):(this.state[s]=1,r=!1,void 0===o[s]&&(o[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===a[e]&&(a[e]=!0)))}),r||(s[t]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(t,e,n){let r=t.split("|"),i=r[0],o=r[1];e&&this.emit("failedLoading",i,o,e),n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2;let s={};this.queue.forEach(n=>{(function(t,e,n,r){let{obj:i,k:o}=c(t,e,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),void 0!==n.pending[t]&&(delete n.pending[t],n.pendingCount--),e&&n.errors.push(e),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{s[t]||(s[t]={});let e=n.loaded[t];e.length&&e.forEach(e=>{void 0===s[t][e]&&(s[t][e]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(t=>!t.done)}read(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:e,fcName:n,tried:r,wait:i,callback:o});return}this.readingCalls++;let s=(s,a)=>{if(this.readingCalls--,this.waitingReads.length>0){let t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}if(s&&a&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,t,e,n,r+1,2*i,o)},i);return}o(s,a)},a=this.backend[n].bind(this.backend);if(2===a.length){try{let n=a(t,e);n&&"function"==typeof n.then?n.then(t=>s(null,t)).catch(s):s(null,n)}catch(t){s(t)}return}return a(t,e,s)}prepareLoading(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);let i=this.queueLoad(t,e,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(t=>{this.loadOne(t)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${e}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${e}loaded namespace ${i} for language ${r}`,o),this.loaded(t,n,o)})}saveMissing(t,e,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e)){this.logger.warn(`did not save key "${n}" as the namespace "${e}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let a={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(t,e,n,r,a):l(t,e,n,r))&&"function"==typeof i.then?i.then(t=>s(null,t)).catch(s):s(null,i)}catch(t){s(t)}else l(t,e,n,r,s,a)}t&&t[0]&&this.store.addResource(t[0],e,n,r)}}}function F(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let e={};if("object"==typeof t[1]&&(e=t[1]),"string"==typeof t[1]&&(e.defaultValue=t[1]),"string"==typeof t[2]&&(e.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){let n=t[3]||t[2];
1Object.keys(n).forEach(t=>{e[t]=n[t]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function $(t){return"string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&0>t.supportedLngs.indexOf("cimode")&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function B(){}class W extends s{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(super(),this.options=$(t),this.services={},this.logger=o,this.modules={external:[]},function(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(e=>{"function"==typeof t[e]&&(t[e]=t[e].bind(t))})}(this),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof e&&(n=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&("string"==typeof e.ns?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let r=F();function i(t){return t?"function"==typeof t?new t:t:null}if(this.options={...r,...this.options,...$(e)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}
1),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),!this.options.isClone){let e;this.modules.logger?o.init(i(this.modules.logger),this.options):o.init(null,this.options),this.modules.formatter?e=this.modules.formatter:"undefined"!=typeof Intl&&(e=D);let n=new C(this.options);this.store=new S(this.options.resources,this.options);let s=this.services;s.logger=o,s.resourceStore=this.store,s.languageUtils=n,s.pluralResolver=new P(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),e&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(s.formatter=i(e),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new M(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new U(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit(e,...r)}),this.modules.languageDetector&&(s.languageDetector=i(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=i(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new E(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit(e,...r)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=B),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return t.store[e](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return t.store[e](...arguments),t}});let s=a(),l=()=>{let t=(t,e)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(e),n(t,e)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}loadResources(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B,n=e,r="string"==typeof t?t:this.language;if("function"==typeof t&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let t=[],e=e=>{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&0>t.indexOf(e)&&t.push(e)})};r?e(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>e(t)),this.options.preload&&this.options.preload.forEach(t=>e(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(t)})}else n(null)}reloadResources(t,e,n){let r=a();return t||(t=this.languages),e||(e=this.options.ns),n||(n=B),this.services.backendConnector.reload(t,e,t=>{r.resolve(),n(t)}),r}use(t){if(!t)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&O.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){let e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;let r=a();
1this.emit("languageChanging",t);let i=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},o=(t,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),e&&e(t,function(){return n.t(...arguments)})},s=e=>{t||e||!this.services.languageDetector||(e=[]);let n="string"==typeof e?e:this.services.languageUtils.getBestMatchFromCodes(e);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{o(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t):s(this.services.languageDetector.detect()),r}getFixedT(t,e,n){var r=this;let i=function(t,e){let o,s;if("object"!=typeof e){for(var a=arguments.length,l=Array(a>2?a-2:0),u=2;u<a;u++)l[u-2]=arguments[u];o=r.options.overloadTranslationOptionHandler([t,e].concat(l))}else o={...e};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,o.keyPrefix=o.keyPrefix||n||i.keyPrefix;let c=r.options.keySeparator||".";return s=o.keyPrefix&&Array.isArray(t)?t.map(t=>`${o.keyPrefix}${c}${t}`):o.keyPrefix?`${o.keyPrefix}${c}${t}`:t,r.t(s,o)};return"string"==typeof t?i.lng=t:i.lngs=t,i.ns=e,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=e.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let o=(t,e)=>{let n=this.services.backendConnector.state[`${t}|${e}`];return -1===n||2===n};if(e.precheck){let t=e.precheck(this,o);if(void 0!==t)return t}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(n,t)&&(!r||o(i,t)))}loadNamespaces(t,e){let n=a();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach(t=>{0>this.options.ns.indexOf(t)&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){let n=a();"string"==typeof t&&(t=[t]);let r=this.options.preload||[],i=t.filter(t=>0>r.indexOf(t)&&this.services.languageUtils.isSupportedCode(t));return i.length?(this.options.preload=r.concat(i),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}dir(t){return(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),t)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new C(F())).getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new W(t,e)}cloneInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B,n=t.forkResourceStore;n&&delete t.forkResourceStore;let r={...this.options,...t,isClone:!0},i=new W(r);return(void 0!==t.debug||void 0!==t.prefix)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(t=>{i[t]=this[t]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new S(this.store.data,r),i.services.resourceStore=i.store),i.translator=new E(i.services,r),i.translator.on("*",function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];i.emit(t,...n)}),i.init(r,e),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let z=W.createInstance();z.createInstance=W.createInstance;let H=z.createInstance;z.dir,z.init,z.loadResources,z.reloadResources,z.use,z.changeLanguage,z.getFixedT,z.t,z.exists,z.setDefaultNamespace,z.hasLoadedNamespace,z.loadNamespaces,z.loadLanguages},22666:function(t,e,n){"use strict";n.d(e,{J:function(){return l},j:function(){return a}});let r=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,i={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"â¦","…":"â¦","/":"/","/":"/"},o=t=>i[t],s={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(r,o)};function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s={...s,...t}}function l(){return s}},19132:function(t,e,n){"use strict";let r;function i(t){r=t}function o(){return r}n.d(e,{I:function(){return i},n:function(){return o}})},43014:function(t,e,n){"use strict";n.d(e,{a3:function(){return T},cC:function(){return k},$G:function(){return R}});var r=n(7653),i=n(53392),o=n.n(i),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(t){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=t.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(e.name=n[1],(o()[n[1]]||"/"===t.charAt(t.length-2))&&(e.voidElement=!0),e.name.startsWith("!--"))){var r=t.indexOf("-->");return{type:"comment",comment:-1!==r?t.slice(4,r):""}}for(var i=new RegExp(s),a=null;null!==(a=i.exec(t));
1)if(a[0].trim()){if(a[1]){var l=a[1].trim(),u=[l,""];l.indexOf("=")>-1&&(u=l.split("=")),e.attrs[u[0]]=u[1],i.lastIndex--}else a[2]&&(e.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1))}return e}var l=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,c=Object.create(null),h={parse:function(t,e){e||(e={}),e.components||(e.components=c);var n,r=[],i=[],o=-1,s=!1;if(0!==t.indexOf("<")){var h=t.indexOf("<");r.push({type:"text",content:-1===h?t:t.substring(0,h)})}return t.replace(l,function(l,c){if(s){if(l!=="</"+n.name+">")return;s=!1}var h,f="/"!==l.charAt(1),p=l.startsWith("<!--"),d=c+l.length,g=t.charAt(d);if(p){var m=a(l);return o<0?r.push(m):(h=i[o]).children.push(m),r}if(f&&(o++,"tag"===(n=a(l)).type&&e.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!g||"<"===g||n.children.push({type:"text",content:t.slice(d,t.indexOf("<",d))}),0===o&&r.push(n),(h=i[o-1])&&h.children.push(n),i[o]=n),(!f||n.voidElement)&&(o>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(n=-1==--o?r:i[o]),!s&&"<"!==g&&g)){h=-1===o?r:i[o].children;var y=t.indexOf("<",d),b=t.slice(d,-1===y?void 0:y);u.test(b)&&(b=" "),(y>-1&&o+h.length>=0||" "!==b)&&h.push({type:"text",content:b})}}),r}};function f(){if(console&&console.warn){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];"string"==typeof e[0]&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}let p={};function d(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];"string"==typeof e[0]&&p[e[0]]||("string"==typeof e[0]&&(p[e[0]]=new Date),f(...e))}let g=(t,e)=>()=>{if(t.isInitialized)e();else{let n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}};function m(t,e,n){t.loadNamespaces(e,g(t,n))}function y(t,e,n,r){"string"==typeof n&&(n=[n]),n.forEach(e=>{0>t.options.ns.indexOf(e)&&t.options.ns.push(e)}),t.loadLanguages(e,g(t,r))}var b=n(22666),w=n(19132);function _(t,e){if(!t)return!1;let n=t.props?t.props.children:t.children;return e?n.length>0:!!n}function S(t){if(!t)return[];let e=t.props?t.props.children:t.children;return t.props&&t.props.i18nIsDynamicList?O(e):e}function O(t){return Array.isArray(t)?t:[t]}n(38178);let x=(0,r.createContext)();class E{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function k(t){let{children:e,count:n,parent:i,i18nKey:o,context:s,tOptions:a={},values:l,defaults:u,components:c,ns:p,i18n:g,t:m,shouldUnescape:y,...E}=t,{i18n:k,defaultNS:C}=(0,r.useContext)(x)||{},A=g||k||(0,w.n)(),R=m||A&&A.t.bind(A);return function(t){let{children:e,count:n,parent:i,i18nKey:o,context:s,tOptions:a={},values:l,defaults:u,components:c,ns:p,i18n:g,t:m,shouldUnescape:y,...x}=t,E=g||(0,w.n)();if(!E)return d("You will need to pass in an i18next instance by using i18nextReactModule"),e;let k=m||E.t.bind(E)||(t=>t),C={...(0,b.J)(),...E.options&&E.options.react},A=p||k.ns||E.options&&E.options.defaultNS;A="string"==typeof A?[A]:A||["translation"];let R=function t(e,n){if(!e)return"";let i="",o=O(e),s=n.transSupportBasicHtmlNodes&&n.transKeepBasicHtmlNodesFor?n.transKeepBasicHtmlNodesFor:[];return o.forEach((e,o)=>{if("string"==typeof e)i+=`${e}`;else if((0,r.isValidElement)(e)){let r=Object.keys(e.props).length,a=s.indexOf(e.type)>-1,l=e.props.children;if(!l&&a&&0===r)i+=`<${e.type}/>`;else if(l||a&&0===r){if(e.props.i18nIsDynamicList)i+=`<${o}></${o}>`;else if(a&&1===r&&"string"==typeof l)i+=`<${e.type}>${l}</${e.type}>`;else{let e=t(l,n);i+=`<${o}>${e}</${o}>`}}else i+=`<${o}></${o}>`}else if(null===e)f("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){let{format:t,...n}=e,r=Object.keys(n);if(1===r.length){let e=t?`${r[0]}, ${t}`:r[0];i+=`{{${e}}}`}else f("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else f("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)}),i}(e,C),T=u||R||C.transEmptyNodeValue||o,{hashTransKey:L}=C,N=o||(L?L(R||T):R||T);E.options&&E.options.interpolation&&E.options.interpolation.defaultVariables&&(l=l&&Ob
1ject.keys(l).length>0?{...l,...E.options.interpolation.defaultVariables}:{...E.options.interpolation.defaultVariables});let P=l||void 0!==n||!e?a.interpolation:{interpolation:{...a.interpolation,prefix:"#$?",suffix:"?$#"}},I={...a,context:s||a.context,count:n,...l,...P,defaultValue:T,ns:A},M=N?k(N,I):T;c&&Object.keys(c).forEach(t=>{let e=c[t];"function"==typeof e.type||!e.props||!e.props.children||0>M.indexOf(`${t}/>`)&&0>M.indexOf(`${t} />`)||(c[t]=(0,r.createElement)(function(){return(0,r.createElement)(r.Fragment,null,e)}))});let j=function(t,e,n,i,o,s){if(""===e)return[];let a=i.transKeepBasicHtmlNodesFor||[],l=e&&new RegExp(a.map(t=>`<${t}`).join("|")).test(e);if(!t&&!l&&!s)return[e];let u={};!function t(e){O(e).forEach(e=>{"string"==typeof e||(_(e)?t(S(e)):"object"!=typeof e||(0,r.isValidElement)(e)||Object.assign(u,e))})}(t);let c=h.parse(`<0>${e}</0>`),f={...u,...o};function p(t,e,n){let i=S(t),o=g(i,e.children,n);return"[object Array]"===Object.prototype.toString.call(i)&&i.every(t=>(0,r.isValidElement)(t))&&0===o.length||t.props&&t.props.i18nIsDynamicList?i:o}function d(t,e,n,i,o){t.dummy?(t.children=e,n.push((0,r.cloneElement)(t,{key:i},o?void 0:e))):n.push(...r.Children.map([t],t=>{let n={...t.props};return delete n.i18nIsDynamicList,(0,r.createElement)(t.type,{...n,key:i,ref:t.ref},o?null:e)}))}function g(e,o,u){let c=O(e);return O(o).reduce((e,o,h)=>{let m=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,f,n.language);if("tag"===o.type){let s=c[parseInt(o.name,10)];1!==u.length||s||(s=u[0][o.name]),s||(s={});let y=0!==Object.keys(o.attrs).length?function(t,e){let n={...e};return n.props=Object.assign(t.props,e.props),n}({props:o.attrs},s):s,b=(0,r.isValidElement)(y),w=b&&_(o,!0)&&!o.voidElement,S=l&&"object"==typeof y&&y.dummy&&!b,O="object"==typeof t&&null!==t&&Object.hasOwnProperty.call(t,o.name);if("string"==typeof y){let t=n.services.interpolator.interpolate(y,f,n.language);e.push(t)}else if(_(y)||w){let t=p(y,o,u);d(y,t,e,h)}else if(S)d(y,g(c,o.children,u),e,h);else if(Number.isNaN(parseFloat(o.name))){if(O){let t=p(y,o,u);d(y,t,e,h,o.voidElement)}else if(i.transSupportBasicHtmlNodes&&a.indexOf(o.name)>-1){if(o.voidElement)e.push((0,r.createElement)(o.name,{key:`${o.name}-${h}`}));else{let t=g(c,o.children,u);e.push((0,r.createElement)(o.name,{key:`${o.name}-${h}`},t))}}else if(o.voidElement)e.push(`<${o.name} />`);else{let t=g(c,o.children,u);e.push(`<${o.name}>${t}</${o.name}>`)}}else if("object"!=typeof y||b)d(y,m,e,h,1!==o.children.length||!m);else{let t=o.children[0]?m:null;t&&e.push(t)}}else if("text"===o.type){let t=i.transWrapTextNodes,a=s?i.unescape(n.services.interpolator.interpolate(o.content,f,n.language)):n.services.interpolator.interpolate(o.content,f,n.language);t?e.push((0,r.createElement)(t,{key:`${o.name}-${h}`},a)):e.push(a)}return e},[])}return S(g([{dummy:!0,children:t||[]}],c,O(t||[]))[0])}(c||e,M,E,C,I,y),D=void 0!==i?i:C.defaultTransParent;return D?(0,r.createElement)(D,x,j):j}({children:e,count:n,parent:i,i18nKey:o,context:s,tOptions:a,values:l,defaults:u,components:c,ns:p||R&&R.ns||C||A&&A.options&&A.options.defaultNS,i18n:A,t:m,shouldUnescape:y,...E})}let C=(t,e)=>{let n=(0,r.useRef)();return(0,r.useEffect)(()=>{n.current=e?n.current:t},[t,e]),n.current};function A(t,e,n,r){return t.getFixedT(e,n,r)}function R(t){var e,n;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:o}=i,{i18n:s,defaultNS:a}=(0,r.useContext)(x)||{},l=o||s||(0,w.n)();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new E),!l){d("You will need to pass in an i18next instance by using initReactI18next");let t=(t,e)=>"string"==typeof e?e:e&&"object"==typeof e&&"string"==typeof e.defaultValue?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,e=[t,{},!1];return e.t=t,e.i18n={},e.ready=!1,e}l.options.react&&void 0!==l.options.react.wait&&d("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let u={...(0,b.J)(),...l.options.react,...i},{useSuspense:c,keyPrefix:h}=u,f=t||a||l.options&&l.options.defaultNS;f="string"==typeof f?[f]:f||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(f);let p=(l.isInitialized||l.initializedStoreOnce)&&f.every(t=>(function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.languages&&e.languages.length?void 0!==e.options.ignoreJSONStructure?e.hasLoadedNamespace(t,{lng:n.lng,precheck:(e,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!r(e.isLanguageChangingTo,t))return!1}}):function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.languages[0],i=!!e.options&&e.options.fallbackLng,o=e.languages[e.languages.length-1];if("cimode"===r.toLowerCase())return!0;let s=(t,n)=>{let r=e.services.backendConnector.state[`${t}|${n}`];return -1===r||2===r};return(!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1)||!e.services.backendConnector.backend||!e.isLanguageChangingTo||!!s(e.isLanguageChangingTo,t))&&!!(e.hasResourceBundle(r,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||s(r,t)&&(!i||s(o,t)))}(t,e,n):(d("i18n.languages were undefined or empty",e.languages),!0)})(t,l,u)),g=(e=i.lng||null,n="fallback"===u.nsMode?f:f[0],(0,r.useCallback)(A(l,e,n,h),[l,e,n,h])),_=()=>g,S=()=>A(l,i.lng||null,"fallback"===u.nsMode?f:f[0],h),[O,k]=(0,r.useState)(_),R=f.join();i.lng&&(R=`${i.lng}${R}`);let T=C(R),L=(0,r.useRef)(!0);(0,r.useEffect)(()=>{let{bindI18n:t,bindI18nStore:e}=u;function n(){L.current&&k(S)}return L.current=!0,p||c||(i.lng?y(l,i.lng,f,()=>{L.current&&k(S)}):m(l,f,()=>{L.current&&k(S)})),p&&T&&T!==R&&L.current&&k(S),t&&l&&l.on(t,n),e&&l&&l.store.on(e,n),()=>{L.current=!1,t&&l&&t.split(" ").forEach(t=>l.off(t,n)),e&&l&&e.split(" ").forEach(t=>l.store.off(t,n))}},[l,R]),(0,r.useEffect)(()=>{L.current&&p&&k(_)},[l,h,p]);let N=[O,l,p];if(N.t=O,N.i18n=l,N.ready=p,p||!p&&!c)return N;throw new Promise(t=>{i.lng?y(l,i.lng,f,()=>t()):m(l,f,()=>t())})}function T(t){let{i18n:e,defaultNS:n,children:i}=t,o=(0,r.useMemo)(()=>({i18n:e,defaultNS:n}),[e,n]);return(0,r.createElement)(x.Provider,{value:o},i)}},38178:function(t,e,n){"use strict";n.d(e,{D:function(){return o}});var r=n(22666),i=n(19132);let o={type:"3rdParty",init(t){(0,r.j)(t.options.react),(0,i.I)(t)}}},192:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(45135);function i(t,e={}){let n=t&&"j"===t[0]&&":"===t[1]?t.substr(2):t;if(!e.doNotParse)try{return JSON.parse(n)}catch(t){}return t}class o{constructor(t,e={}){var n;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let t=this.cookies;this.cookies=r.parse(document.cookie),this._checkChanges(t)};let i="undefined"==typeof document?"":document.cookie;this.cookies="string"==typeof(n=t||i)?r.parse(n):"object"==typeof n&&null!==n?n:{},this.defaultSetOptions=e,this.HAS_DOCUMENT_COOKIE=function(){let t="undefined"==typeof global?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof t?t:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(t){for(let e=0;e<this.changeListeners.length;++e)this.changeListeners[e](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEac
1h(e=>{t[e]!==this.cookies[e]&&this._emitChange({name:e,value:i(this.cookies[e])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,e={}){return e.doNotUpdate||this.update(),i(this.cookies[t],e)}getAll(t={}){t.doNotUpdate||this.update();let e={};for(let n in this.cookies)e[n]=i(this.cookies[n],t);return e}set(t,e,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;let i="string"==typeof e?e:JSON.stringify(e);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.serialize(t,i,n)),this._emitChange({name:t,value:e,options:n})}remove(t,e){let n=e=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),e),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=r.serialize(t,"",n)),this._emitChange({name:t,value:void 0,options:e})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){let e=this.changeListeners.indexOf(t);e>=0&&this.changeListeners.splice(e,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}},57582:function(t,e,n){"use strict";n.d(e,{Ue:function(){return f}});let r=t=>{let e;let n=new Set,r=(t,r)=>{let i="function"==typeof t?t(e):t;if(!Object.is(i,e)){let t=e;e=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},e,i),n.forEach(n=>n(e,t))}},i=()=>e,o={setState:r,getState:i,getInitialState:()=>s,subscribe:t=>(n.add(t),()=>n.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=e=t(r,i,o);return o},i=t=>t?r(t):r;var o=n(7653),s=n(18678);let{useDebugValue:a}=o,{useSyncExternalStoreWithSelector:l}=s,u=!1,c=t=>t,h=t=>{"function"!=typeof t&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof t?i(t):t,n=(t,n)=>(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,n=arguments.length>2?arguments[2]:void 0;n&&!u&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),u=!0);let r=l(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,n);return a(r),r})(e,t,n);return Object.assign(n,e),n},f=t=>t?h(t):h}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.