PageSourceSearch

https://www.digimro.com/_next/static/chunks/vendors-ff5e828abc1cb0c8.js

js digimro.com collected 2026-10-08 01:17:38 UTC 1,051,865 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1216],{6426:function(e,t,r){"use strict";r.d(t,{Nq:function(){return l},rg:function(){return o}});var n=r(7294);function i(e={}){let{nonce:t,onScriptLoadSuccess:r,onScriptLoadError:i}=e,[a,o]=(0,n.useState)(!1),s=(0,n.useRef)(r);s.current=r;let l=(0,n.useRef)(i);return l.current=i,(0,n.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;o(!0),null===(e=s.current)||void 0===e||e.call(s)},e.onerror=()=>{var e;o(!1),null===(e=l.current)||void 0===e||e.call(l)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),a}let a=(0,n.createContext)(null);function o({clientId:e,nonce:t,onScriptLoadSuccess:r,onScriptLoadError:o,children:s}){let l=i({nonce:t,onScriptLoadSuccess:r,onScriptLoadError:o}),u=(0,n.useMemo)(()=>({clientId:e,scriptLoadedSuccessfully:l}),[e,l]);return n.createElement(a.Provider,{value:u},s)}function s(){let e=(0,n.useContext)(a);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function l({flow:e="implicit",scope:t="",onSuccess:r,onError:i,onNonOAuthError:a,overrideScope:o,state:l,...u}){let{clientId:c,scriptLoadedSuccessfully:d}=s(),f=(0,n.useRef)(),h=(0,n.useRef)(r);h.current=r;let p=(0,n.useRef)(i);p.current=i;let m=(0,n.useRef)(a);m.current=a,(0,n.useEffect)(()=>{var r,n;if(!d)return;let i="implicit"===e?"initTokenClient":"initCodeClient",a=null===(n=null===(r=null==window?void 0:window.google)||void 0===r?void 0:r.accounts)||void 0===n?void 0:n.oauth2[i]({client_id:c,scope:o?t:`openid profile email ${t}`,callback:e=>{var t,r;if(e.error)return null===(t=p.current)||void 0===t?void 0:t.call(p,e);null===(r=h.current)||void 0===r||r.call(h,e)},error_callback:e=>{var t;null===(t=m.current)||void 0===t||t.call(m,e)},state:l,...u});f.current=a},[c,d,e,t,l]);let _=(0,n.useCallback)(e=>{var t;return null===(t=f.current)||void 0===t?void 0:t.requestAccessToken(e)},[]),g=(0,n.useCallback)(()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.requestCode()},[]);return"implicit"===e?_:g}},9742:function(e,t){"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=p;for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function u(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n}function c(e,t,r){return(t+r)*3/4-r}function d(e){var t,r,a=l(e),o=a[0],s=a[1],u=new i(c(e,o,s)),d=0,f=s>0?o-4:o;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[d++]=t>>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[d++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function f(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,r){for(var n=[],i=t;i<r;i+=3)n.push(f((e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2])));return n.join("")}function p(e){for(var t,n=e.length,i=n%3,a=[],o=16383,s=0,l=n-i;s<l;s+=o)a.push(h(e,s,s+o>l?l:s+o));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";var n,i=r(9742),a=r(241),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=c,n=M,t.h2=50;var s=2147483647;function l(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function u(e){if(e>s)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return p(e)}return d(e,t,r)}function d(e,t,r){if("string"==typeof e)return m(e,t);if(ArrayBuffer.isView(e))return g(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return y(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return c.from(n,t,r);var i=b(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 7,401 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function h(e,t,r){return(f(e),e<=0)?u(e):void 0!==t?"string"==typeof r?u(e).fill(t,r):u(e).fill(t):u(e)}function p(e){return f(e),u(e<0?0:0|v(e))}function m(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!c.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|S(e,t),n=u(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function _(e){for(var t=e.length<0?0:0|v(e.length),r=u(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function g(e){if(Z(e,Uint8Array)){var t=new Uint8Array(e);return y(t.buffer,t.byteOffset,t.byteLength)}return _(e)}function y(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),c.prototype),n}function b(e){if(c.isBuffer(e)){var t=0|v(e.length),r=u(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||Q(e.length)?u(0):_(e):"Buffer"===e.type&&Array.isArray(e.data)?_(e.data):void 0}function v(e){if(e>=s)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function M(e){return+e!=e&&(e=0),c.alloc(+e)}function S(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(e).length;default:if(i)return n?-1:q(e).length;t=(""+t).toLowerCase(),i=!0}}function w(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return F(this,t,r);case"utf8":case"utf-8":return D(this,t,r);case"ascii":return j(this,t,r);case"latin1":case"binary":return I(this,t,r);case"base64":return Y(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function E(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function L(e,t,r,n,i){if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Q(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:A(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):A(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function A(e,t,r,n,i){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else -1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(u(e,a+f)!==u(t,f)){d=!1;break}if(d)return a}return -1}function k(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(Q(s))break;e[r+o]=s}return o}function x(e,t,r,n){return X(q(t,e.length-r),e,r,n)}function T(e,t,r,n){return X(G(t),e,r,n)}function P(e,t,r,n){return X(K(t),e,r,n)}function C(e,t,r,n){return X(J(t,e.length-r),e,r,n)}function Y(e,t,r){return 0===t&&r===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,r))}function D(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return R(n)}n=2147483647,c.TYPED_ARRAY_SUPPORT=l(),c.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(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,r){return d(e,t,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,r){return h(e,t,r)},c.allocUnsafe=function(e){return p(e)},c.allocUnsafeSlow=function(e){return p(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=c.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(Z(a,Uint8Array))i+a.length>n.length?c.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else if(c.isBuffer(a))a.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=a.length}return n},c.byteLength=S,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)E(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)E(this,t,t+3),E(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)E(this,t,t+7),E(this,t+1,t+6),E(this,t+2,t+5),E(this,t+3,t+4);return this},c.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?D(this,0,e):w.apply(this,arguments)}
vendor: 10,032 bytes, line 1
1,c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(c.prototype[o]=c.prototype.inspect),c.prototype.compare=function(e,t,r,n,i){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,s=Math.min(a,o),l=this.slice(n,i),u=e.slice(t,r),d=0;d<s;++d)if(l[d]!==u[d]){a=l[d],o=u[d];break}return a<o?-1:o<a?1:0},c.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return L(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return L(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return T(this,e,t,r);case"base64":return P(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(a)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function R(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=O));return r}function j(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function I(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function F(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=ee[e[a]];return i}function N(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function H(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function z(e,t,r,n,i,a){if(!c.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function U(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function B(e,t,r,n,i){return t=+t,r>>>=0,i||U(e,t,r,4,34028234663852886e22,-34028234663852886e22),a.write(e,t,r,n,23,4),r+4}function $(e,t,r,n,i){return t=+t,r>>>=0,i||U(e,t,r,8,17976931348623157e292,-17976931348623157e292),a.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,c.prototype),n},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||H(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||H(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||H(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||H(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||H(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||H(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||H(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||H(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||H(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return(e>>>=0,t||H(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||H(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||H(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||H(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||H(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||H(e,4,this.length),a.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||H(e,4,this.length),a.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||H(e,8,this.length),a.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||H(e,8,this.length),a.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;z(this,e,t,r,i,0)}var a=1,o=0;for(this[t]=255&e;++o<r&&(a*=256);)this[t+o]=e/a&255;return t+r},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;z(this,e,t,r,i,0)}var a=r-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return $(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return $(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},c.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=c.isBuffer(e)?e:c.from(e,n),s=o.length;
vendor: 5,540 bytes, line 1
1if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%s]}return this};var V=/[^+/0-9A-Za-z-_]/g;function W(e){if((e=(e=e.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function q(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function G(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function J(e,t){for(var r,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}function K(e){return i.toByteArray(W(e))}function X(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!=e}var ee=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},7484:function(e){!function(t,r){e.exports=r()}(0,function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",l="week",u="month",c="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},y={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),a=r-i<0,o=t.clone().add(n+(a?-1:1),u);return+(-(n+(r-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:u,y:d,w:l,d:s,D:f,h:o,m:a,s:i,ms:n,Q:c})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",v={};v[b]=_;var M="$isDayjsObject",S=function(e){return e instanceof A||!(!e||!e[M])},w=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var a=t.toLowerCase();v[a]&&(i=a),r&&(v[a]=r,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;v[s]=t,i=s}return!n&&i&&(b=i),i||!n&&b},E=function(e,t){if(S(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new A(r)},L=y;L.l=w,L.i=S,L.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var A=function(){function _(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[M]=!0}var g=_.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(L.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return L},g.isValid=function(){return this.$d.toString()!==h},g.isSame=function(e,t){var r=E(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return E(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<E(e)},g.$g=function(e,t,r){return L.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,n=!!L.u(t)||t,c=L.p(e),h=function(e,t){var i=L.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(s)},p=function(e,t){return L.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,_=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(c){case d:return n?h(1,0):h(31,11);case u:return n?h(1,_):h(0,_+1);case l:var b=this.$locale().weekStart||0,v=(m<b?m+7:m)-b;return h(n?g-v:g+(6-v),_);case s:case f:return p(y+"Hours",0);case o:return p(y+"Minutes",1);case a:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var r,l=L.p(e),c="set"+(this.$u?"UTC":""),h=((r={})[s]=c+"Date",r[f]=c+"Date",r[u]=c+"Month",r[d]=c+"FullYear",r[o]=c+"Hours",r[a]=c+"Minutes",r[i]=c+"Seconds",r[n]=c+"Milliseconds",r)[l],p=l===s?this.$D+(t-this.$W):t;if(l===u||l===d){var m=this.clone().set(f,1);
vendor: 4,992 bytes, line 1
1m.$d[h](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[L.p(e)]()},g.add=function(n,c){var f,h=this;n=Number(n);var p=L.p(c),m=function(e){var t=E(h);return L.w(t.date(t.date()+Math.round(e*n)),h)};if(p===u)return this.set(u,this.$M+n);if(p===d)return this.set(d,this.$y+n);if(p===s)return m(1);if(p===l)return m(7);var _=((f={})[a]=t,f[o]=r,f[i]=e,f)[p]||1,g=this.$d.getTime()+n*_;return L.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=L.z(this),a=this.$H,o=this.$m,s=this.$M,l=r.weekdays,u=r.months,c=r.meridiem,d=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].slice(0,a)},f=function(e){return L.s(a%12||12,e,"0")},p=c||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return L.s(t.$y,4,"0");case"M":return s+1;case"MM":return L.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return t.$D;case"DD":return L.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(r.weekdaysMin,t.$W,l,2);case"ddd":return d(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return L.s(a,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(a,o,!0);case"A":return p(a,o,!1);case"m":return String(o);case"mm":return L.s(o,2,"0");case"s":return String(t.$s);case"ss":return L.s(t.$s,2,"0");case"SSS":return L.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},g.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},g.diff=function(n,f,h){var p,m=this,_=L.p(f),g=E(n),y=(g.utcOffset()-this.utcOffset())*t,b=this-g,v=function(){return L.m(m,g)};switch(_){case d:p=v()/12;break;case u:p=v();break;case c:p=v()/3;break;case l:p=(b-y)/6048e5;break;case s:p=(b-y)/864e5;break;case o:p=b/r;break;case a:p=b/t;break;case i:p=b/e;break;default:p=b}return h?p:L.a(p)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return v[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return L.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},_}(),k=A.prototype;return E.prototype=k,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",u],["$y",d],["$D",f]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),E.extend=function(e,t){return e.$i||(e(t,A,E),e.$i=!0),E},E.locale=w,E.isDayjs=S,E.unix=function(e){return E(1e3*e)},E.en=v[b],E.Ls=v,E.p={},E})},8679:function(e,t,r){"use strict";var n=r(9864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return n.isMemo(e)?s:l[e.$$typeof]||i}l[n.ForwardRef]=o,l[n.Memo]=s;var c=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function _(e,t,r){if("string"!=typeof t){if(m){var n=p(t);n&&n!==m&&_(e,n,r)}var i=d(t);f&&(i=i.concat(f(t)));for(var o=u(e),s=u(t),l=0;l<i.length;++l){var g=i[l];if(!a[g]&&!(r&&r[g])&&!(s&&s[g])&&!(o&&o[g])){var y=h(t,g);try{c(e,g,y)}catch(e){}}}}return e}e.exports=_},241:function(e,t){t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,f=r?-1:1,h=e[t+d];for(d+=f,a=h&(1<<-c)-1,h>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=f,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=f,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=u}return(h?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,f=23===i?5960464477539062e-23:0,h=n?0:a-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+h]=255&o,h+=p,o/=256,u-=8);e[r+h-p]|=128*m}},2705:function(e,t,r){var n=r(5639).Symbol;e.exports=n},4239:function(e,t,r){var n=r(2705),i=r(9607),a=r(2333),o="[object Null]",s="[object Undef
1ined]",l=n?n.toStringTag:void 0;function u(e){return null==e?void 0===e?s:o:l&&l in Object(e)?i(e):a(e)}e.exports=u},7561:function(e,t,r){var n=r(7990),i=/^\s+/;function a(e){return e?e.slice(0,n(e)+1).replace(i,""):e}e.exports=a},1957:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},9607:function(e,t,r){var n=r(2705),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=n?n.toStringTag:void 0;function l(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[s]=r:delete e[s]),i}e.exports=l},2333:function(e){var t=Object.prototype.toString;function r(e){return t.call(e)}e.exports=r},5639:function(e,t,r){var n=r(1957),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();e.exports=a},7990:function(e){var t=/\s/;function r(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}e.exports=r},3279:function(e,t,r){var n=r(3218),i=r(7771),a=r(4841),o="Expected a function",s=Math.max,l=Math.min;function u(e,t,r){var u,c,d,f,h,p,m=0,_=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError(o);function b(t){var r=u,n=c;return u=c=void 0,m=t,f=e.apply(n,r)}function v(e){return m=e,h=setTimeout(w,t),_?b(e):f}function M(e){var r=e-p,n=e-m,i=t-r;return g?l(i,d-n):i}function S(e){var r=e-p,n=e-m;return void 0===p||r>=t||r<0||g&&n>=d}function w(){var e=i();if(S(e))return E(e);h=setTimeout(w,M(e))}function E(e){return(h=void 0,y&&u)?b(e):(u=c=void 0,f)}function L(){void 0!==h&&clearTimeout(h),m=0,u=p=c=h=void 0}function A(){return void 0===h?f:E(i())}function k(){var e=i(),r=S(e);if(u=arguments,c=this,p=e,r){if(void 0===h)return v(p);if(g)return clearTimeout(h),h=setTimeout(w,t),b(p)}return void 0===h&&(h=setTimeout(w,t)),f}return t=a(t)||0,n(r)&&(_=!!r.leading,d=(g="maxWait"in r)?s(a(r.maxWait)||0,t):d,y="trailing"in r?!!r.trailing:y),k.cancel=L,k.flush=A,k}e.exports=u},3218:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},7005:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},3448:function(e,t,r){var n=r(4239),i=r(7005),a="[object Symbol]";function o(e){return"symbol"==typeof e||i(e)&&n(e)==a}e.exports=o},7771:function(e,t,r){var n=r(5639),i=function(){return n.Date.now()};e.exports=i},4841:function(e,t,r){var n=r(7561),i=r(3218),a=r(3448),o=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function d(e){if("number"==typeof e)return e;if(a(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=l.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):s.test(e)?o:+e}e.exports=d},4878:function(e,t){"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},37:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},3454:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(7663)},9470:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(6286),i=r(8337),a="";function o(e,t){return(0,i.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5490:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});let n=r(8337),i=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];return(0,n.normalizePathTrailingSlash)(r(3913).addLocale(e,...i))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7169:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSocketUrl",{enumerable:!0,get:function(){return a}});let n=r(3395);function i(e){let t=window.location.protocol;try{t=new URL(e).protocol}catch(e){}return"http:"===t?"ws:":"wss:"}function a(e){let t=(0,n.normalizedAssetPrefix)(e),r=i(e||"");if(URL.canParse(t))return t.replace(/^http/,"ws");let{hostname:a,port:o}=window.location;return r+"//"+a+(o?":"+o:"")+t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4920:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addMessageListener:function(){return o},connectHMR:function(){return u},sendMessage:function(){return s}});let i=r(7169),a=[];function o(e){a.push(e)}function s(e){if(n&&n.readyState===n.OPEN)return n.send(e)}let l=0;function u(e){function t(){let r;function o(){l=0,window.console.log("[HMR] connected")}function s(e){let t=JSON.parse(e.data);for(let e of a)e(t)}function u(){if(n.onerror=null,n.onclose=null,n.close(),++l>25){window.location.reload();return}clearTimeout(r),r=setTimeout(t,l>5?5e3:1e3)}n&&n.close();let c=(0,i.getSocketUrl)(e.assetPrefix);(n=new window.WebSocket(""+c+e.path)).onopen=o,n.onerror=u,n.onclose=u,n.onmessage=s}t()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8199:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return o},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return d}});let i="refresh",a="navigate",o="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(r||(r={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4166:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r(5612).detectDomainLocale(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7195:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return a}});let n=r(8337),i="";function a(e,t,a,o){{let s=r(5183).normalizeLocalePath,l=r(4166).detectDomainLocale,u=t||s(e,a).detectedLocale,c=l(o,void 0,u);if(c){let t="http"+(c.http?"":"s")+"://",r=u===c.defaultLocale?"":"/"+u;return""+t+c.domain+(0,n.normalizePathTrailingSlash)(""+i+r+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1149:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return a}});let n=r(6777),i="";function a(e){return(0,n.pathHasPrefix)(e,i)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6913:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return n},default:function(){return o},isEqualNode:function(){return a}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function i(e){let{type:t,props:r}=e,i=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let a=n[e]||e.toLowerCase();"script"===t&&("async"===a||"defer"===a||"noModule"===a)?i[a]=!!r[e]:i.setAttribute(a,r[e])}let{children:a,dangerouslySetInnerHTML:o}=r;return o?i.innerHTML=o.__html||"":a&&(i.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):""),i}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function o(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,i="";if(n){let{children:e}=n.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),o=Number(n.content),s=[];for(let t=0,r=n.previousElementSibling;t<o;t++,r=(null==r?void 0:r.previousElementSibling)||null){var l;(null==r?void 0:null==(l=r.tagName)?void 0:l.toLowerCase())===e&&s.push(r)}let u=t.map(i).filter(e=>{for(let t=0,r=s.length;t<r;t++)if(a(s[t],e))return s.splice(t,1),!1;return!0});s.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),u.forEach(e=>r.insertBefore(e,n)),n.content=(o-s.length+u.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(8754),i=r(1757),a=r(5893),o=i._(r(7294)),s=n._(r(3935)),l=n._(r(3867)),u=r(5283),c=r(6594),d=r(3945);r(3179);let f=r(1928),h=n._(r(3872)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,r,n,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>
1{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function _(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let g=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:g,fill:y,onLoadRef:b,onLoadingCompleteRef:v,setBlurComplete:M,setShowAltText:S,sizesInput:w,onLoad:E,onError:L,...A}=e;return(0,a.jsx)("img",{...A,..._(f),loading:p,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(L&&(e.src=e.src),e.complete&&m(e,h,b,v,M,g,w))},[r,h,b,v,M,L,g,w,t]),onLoad:e=>{m(e.currentTarget,h,b,v,M,g,w)},onError:e=>{S(!0),"empty"!==h&&M(!0),L&&L(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,..._(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let r=!(0,o.useContext)(f.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=p||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:a}},[n]),{onLoad:s,onLoadingComplete:l}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let _=(0,o.useRef)(l);(0,o.useEffect)(()=>{_.current=l},[l]);let[b,v]=(0,o.useState)(!1),[M,S]=(0,o.useState)(!1),{props:w,meta:E}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:b,showAltText:M});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{...w,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:m,onLoadingCompleteRef:_,setBlurComplete:v,setShowAltText:S,sizesInput:e.sizes,ref:t}),E.priority?(0,a.jsx)(y,{isAppRouter:r,imgAttributes:w}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9930:function(e,t,r){"use strict";let n,i,a,o,s,l,u,c,d,f,h,p;Object.defineProperty(t,"__esModule",{value:!0});let m=r(1757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return V},hydrate:function(){return ef},initialize:function(){return J},router:function(){return n},version:function(){return $}});let _=r(8754),g=r(5893);r(37);let y=_._(r(7294)),b=_._(r(745)),v=r(1515),M=_._(r(5001)),S=r(1928),w=r(631),E=r(9936),L=r(9730),A=r(7500),k=r(9903),x=r(6144),T=_._(r(6913)),P=_._(r(3419)),C=_._(r(6808)),Y=r(6494),D=r(3079),O=r(676),R=r(3945),j=r(646),I=r(1149),F=r(257),N=r(546),H=r(2608),z=_._(r(7022)),U=_._(r(1152)),B=_._(r(3436)),$="14.2.35",V=(0,M.default)(),W=e=>[].slice.call(e),q=!1;class G extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(i.isFallback||i.nextExport&&((0,E.isDynamicRoute)(n.pathname)||location.search||q)||i.props&&i.props.__N_SSG&&(location.search||q))&&n.replace(n.pathname+"?"+String((0,L.assign)((0,L.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!i.isFallback&&!q}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function J(e){void 0===e&&(e={}),U.default.onSpanEnd(B.default),i=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=i,p=i.defaultLocale;let t=i.assetPrefix||"";self.__next_set_public_path__(""+t+"/_next/"),(0,A.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:i.runtimeConfig||{}}),a=(0,k.getURL)(),(0,I.hasBasePath)(a)&&(a=(0,j.removeBasePath)(a)
1);{let{normalizeLocalePath:e}=r(4165),{detectDomainLocale:t}=r(5612),{parseRelativeUrl:n}=r(2913),{formatUrl:o}=r(8041);if(i.locales){let r=n(a),s=e(r.pathname,i.locales);s.detectedLocale?(r.pathname=s.pathname,a=o(r)):p=i.locale;let l=t(!1,window.location.hostname);l&&(p=l.defaultLocale)}}if(i.scriptLoader){let{initScriptLoader:e}=r(3381);e(i.scriptLoader)}o=new P.default(i.buildId,t);let u=e=>{let[t,r]=e;return o.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(l=(0,T.default)()).getIsSsr=()=>n.isSsr,s=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return(0,g.jsx)(e,{...t})}function X(e){var t;let{children:r}=e,i=y.default.useMemo(()=>(0,N.adaptForAppRouterInstance)(n),[]);return(0,g.jsx)(G,{fn:e=>Q({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,g.jsx)(F.AppRouterContext.Provider,{value:i,children:(0,g.jsx)(H.SearchParamsContext.Provider,{value:(0,N.adaptForSearchParams)(n),children:(0,g.jsx)(N.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,g.jsx)(H.PathParamsContext.Provider,{value:(0,N.adaptForPathParams)(n),children:(0,g.jsx)(S.RouterContext.Provider,{value:(0,D.makePublicRouterInstance)(n),children:(0,g.jsx)(v.HeadManagerContext.Provider,{value:l,children:(0,g.jsx)(R.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:r})})})})})})})})}let Z=e=>t=>{let r={...t,Component:h,err:i.err,router:n};return(0,g.jsx)(X,{children:K(e,r)})};function Q(e){let{App:t,err:s}=e;return console.error(s),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),o.loadPage("/_error").then(n=>{let{page:i,styleSheets:a}=n;return(null==u?void 0:u.Component)===i?Promise.resolve().then(()=>m._(r(2111))).then(n=>Promise.resolve().then(()=>m._(r(3802))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:i,styleSheets:a}}).then(r=>{var o;let{ErrorComponent:l,styleSheets:u}=r,c=Z(t),d={Component:l,AppTree:c,router:n,ctx:{err:s,pathname:i.page,query:i.query,asPath:a,AppTree:c}};return Promise.resolve((null==(o=e.props)?void 0:o.err)?e.props:(0,k.loadGetInitialProps)(t,d)).then(t=>ec({...e,err:s,Component:l,styleSheets:u,props:t}))})}function ee(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let et={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},er={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},en=null,ei=!0;
1function ea(){[et.beforeRender,et.afterHydrate,et.afterRender,et.routeChange].forEach(e=>performance.clearMarks(e))}function eo(){k.ST&&(performance.mark(et.afterHydrate),performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.beforeHydration,et.navigationStart,et.beforeRender),performance.measure(er.hydration,et.beforeRender,et.afterHydrate)),f&&performance.getEntriesByName(er.hydration).forEach(f),ea())}function es(){if(!k.ST)return;performance.mark(et.afterRender);let e=performance.getEntriesByName(et.routeChange,"mark");e.length&&(performance.getEntriesByName(et.beforeRender,"mark").length&&(performance.measure(er.routeChangeToRender,e[0].name,et.beforeRender),performance.measure(er.render,et.beforeRender,et.afterRender),f&&(performance.getEntriesByName(er.render).forEach(f),performance.getEntriesByName(er.routeChangeToRender).forEach(f))),ea(),[er.routeChangeToRender,er.render].forEach(e=>performance.clearMeasures(e)))}function el(e,t){k.ST&&performance.mark(et.beforeRender);let r=t(ei?eo:es);en?(0,y.default.startTransition)(()=>{en.render(r)}):(en=b.default.hydrateRoot(e,r,{onRecoverableError:z.default}),ei=!1)}function eu(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,C.default)(f)},[]),r}function ec(e){let t,{App:r,Component:i,props:a,err:o}=e,l="initial"in e?void 0:e.styleSheets;i=i||u.Component;let d={...a=a||u.props,Component:i,err:o,router:n};u=d;let f=!1,h=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{f=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function p(){if(l&&!f){let e=new Set(l.map(e=>e.href)),t=W(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n<r.length;++n)e.has(r[n])?t[n].removeAttribute("media"):t[n].setAttribute("media","x");let n=document.querySelector("noscript[data-n-css]");n&&l.forEach(e=>{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),W(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,w.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}function m(){t()}!function(){if(!l)return;let e=new Set(W(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");l.forEach(t=>{let{href:n,text:i}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(i))}})}();let _=(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(ee,{callback:p}),(0,g.jsxs)(X,{children:[K(r,d),(0,g.jsx)(x.Portal,{type:"next-route-announcer",children:(0,g.jsx)(Y.RouteAnnouncer,{})})]})]});return el(s,e=>(0,g.jsx)(eu,{callbacks:[e,m],children:(0,g.jsx)(y.default.StrictMode,{children:_})})),h}async function ed(e){if(e.err&&(void 0===e.Component||!e.isHydratePass)){await Q(e);return}try{await ec(e)}catch(r){let t=(0,O.getProperError)(r);if(t.cancelled)throw t;await Q({...e,err:t})}}async function ef(e){let t=i.err;try{let e=await o.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:i,startTime:a,value:o,duration:s,entryType:l,entries:u,attribution:c}=e,d=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:i,startTime:a||t,value:null==o?s:o,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=await o.routeLoader.whenEntrypoint(i.page);if("error"in n)throw n.error;h=n.component}catch(e){t=(0,O.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(i.dynamicIds),n=(0,D.createRouter)(i.page,i.query,a,{initialProps:i.props,pageLoader:o,App:d,Component:h,wrapApp:Z,err:t,isFallback:!!i.isFallback,subscription:(e,t,r)=>ed(Object.assign({},e,{App:t,scroll:r})),locale:i.locale,locales:i.locales,defaultLocale:p,domainLocales:i.domainLocales,isPreview:i.isPreview}),q=await n._initialMatchesMiddlewarePromise;let r={App:d,initial:!0,Component:h,props:i.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),ed(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let n=r(8754),i=r(5893),a=n._(r(7294)),o=r(6075),s=r(3955),l=r(8041),u=r(9903),c=r(5490),d=r(1928),f=r(257),h=r(4229),p=r(7195),m=r(9470),_=r(8199),g=new Set;function y(e,t,r,n,i,a){if(a||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}(async()=>a?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function v(e,t,r,n,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(b(e)||!c&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};c?a.default.startTransition(f):f()}function M(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let S=a.default.forwardRef(function(e,t){let r,n;let{href:s,as:l,children:g,prefetch:b=null,passHref:S,replace:w,shallow:E,scroll:L,locale:A,onClick:k,onMouseEnter:x,onTouchStart:T,legacyBehavior:P=!1,...C}=e;r=g,P&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let Y=a.default.useContext(d.RouterContext),D=a.default.useContext(f.AppRouterContext),O=null!=Y?Y:D,R=!Y,j=!1!==b,I=null===b?_.PrefetchKind.AUTO:_.PrefetchKind.FULL,{href:F,as:N}=a.default.useMemo(()=>{if(!Y){let e=M(s);return{href:e,as:l?M(l):e}}let[e,t]=(0,o.resolveHref)(Y,s,!0);return{href:e,as:l?(0,o.resolveHref)(Y,l):t||e}},[Y,s,l]),H=a.default.useRef(F),z=a.default.useRef(N);P&&(n=a.default.Children.only(r));let U=P?n&&"object"==typeof n&&n.ref:t,[B,$,V]=(0,h.useIntersection)({rootMargin:"200px"}),W=a.default.useCallback(e=>{(z.current!==N||H.current!==F)&&(V(),z.current=N,H.current=F),B(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[N,U,F,V,B]);a.default.useEffect(()=>{O&&$&&j&&y(O,F,N,{locale:A},{kind:I},R)},[N,F,$,A,j,null==Y?void 0:Y.locale,O,R,I]);let q={ref:W,onClick(e){P||"function"!=typeof k||k(e),P&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),O&&!e.defaultPrevented&&v(e,O,F,N,w,E,L,A,R)},onMouseEnter(e){P||"function"!=typeof x||x(e),P&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),O&&(j||!R)&&y(O,F,N,{locale:A,priority:!0,bypassPrefetchedCheck:!0},{kind:I},R)},onTouchStart:function(e){P||"function"!=typeof T||T(e),P&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),O&&(j||!R)&&y(O,F,N,{locale:A,priority:!0,bypassPrefetchedCheck:!0},{kind:I},R)}};if((0,u.isAbsoluteUrl)(N))q.href=N;else if(!P||S||"a"===n.type&&!("href"in n.props)){let e=void 0!==A?A:null==Y?void 0:Y.locale,t=(null==Y?void 0:Y.isLocaleDomain)&&(0,p.getDomainLocale)(N,e,null==Y?void 0:Y.locales,null==Y?void 0:Y.domainLocales);q.href=t||(0,m.addBasePath)((0,c.addLocale)(N,e,null==Y?void 0:Y.defaultLocale))}return P?a.default.cloneElement(n,q):(0,i.jsx)("a",{...C,...q,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3136:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(7178);let n=r(9930);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5183:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>r(4165).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8337:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});let n=r(2657),i=r(2122),a=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:a}=(0,i.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7022:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(947);function i(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,n.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3419:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(8754),i=r(9470),a=r(1417),o=n._(r(7823)),s=r(5490),l=r(9936),u=r(2913),c=r(2657),d=r(9856);r(2929);class f{getPageList(){return(0,d.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){{let e=[];return window.__MIDDLEWARE_MATCHERS=e||void 0,window.__MIDDLEWARE_MATCHERS}}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:h}=(0,u.parseRelativeUrl)(r),{pathname:p}=(0,u.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(d);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,o.default)((0,c.removeTrailingSlash)((0,s.addLocale)(e,n)),".json");return(0,i.addBasePath)("/_next/data/"+this.buildId+t+h,!0)})(e.skipInterpolation?p:(0,l.isDynamicRoute)(m)?(0,a.interpolateAs)(d,p,f).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,d.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6808:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let i=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let a=!1;function o(e){n&&n(e)}let s=e=>{if(n=e,!a)for(let e of(a=!0,i))try{let t;t||(t=r(8018)),t["on"+e](o)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6144:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return a}});let n=r(7294),i=r(3935),a=e=>{let{children:t,type:r}=e,[a,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}},[r]),a?(0,i.createPortal)(t,a):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},646:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return i}}),r(1149);let n="";function i(e){return 0===n.length||(e=e.slice(n.length)).startsWith("/")||(e="/"+e),e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8324:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return i}});let n=r(2122);function i(e,t){{let{pathname:r}=(0,n.parsePath)(e),i=r.toLowerCase(),a=null==t?void 0:t.toLowerCase();return t&&(i.startsWith("/"+a+"/")||i==="/"+a)?(r.length===t.length+1?"/":"")+e.slice(t.length+1):e}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4474:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6075:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return d}});let n=r(9730),i=r(8041),a=r(7085),o=r(9903),s=r(8337),l=r(3955),u=r(9062),c=r(1417);function d(e,t,r){let d;let f="string"==typeof t?t:(0,i.formatWithValidation)(t),h=f.match(/^[a-zA-Z]{1,}:\/\//),p=h?f.slice(h[0].length):f;if((p.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+f+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,o.normalizeRepeatedSlashes)(p);f=(h?h[0]:"")+t}if(!(0,l.isLocalURL)(f))return r?[f]:f;try{d=new URL(f.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){d=new URL("/","http://n")}try{let e=new URL(f,d);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:o,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);o&&(t=(0,i.formatWithValidation)({pathname:o,hash:e.hash,query:(0,a.omit)(r,s)}))}let o=e.origin===d.origin?e.href.slice(e.origin.length):e.href;return r?[o,t||o]:o}catch(e){return r?[f]:f}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6494:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(8754),i=r(5893),a=n._(r(7294)),o=r(3079),s={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,o.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}}},[e]),(0,i.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:s,children:t})},u=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9856:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return y},getClientBuildManifest:function(){return _},isAssetError:function(){return c},markAssetError:function(){return u}}),r(8754),r(7823);let n=r(8140),i=r(4474),a=r(4878),o=3800;function s(e,t,r){let n,i=t.get(e);if(i)return"future"in i?i.future:Promise.resolve(i);let a=new Promise(e=>{n=e});return t.set(e,i={resolve:n,future:a}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):a}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,a.getDeploymentIdQueryOrEmptyString)();function h(e,t,r){return new Promise((n,i)=>{let a='\n      link[rel="prefetch"][href^="'+e+'"],\n      link[rel="preload"][href^="'+e+'"],\n      script[src^="'+e+'"]';if(document.querySelector(a))return n();r=document.createElement("link"),t&&(r.as=t),r.rel="prefetch",r.crossOrigin=void 0,r.onload=n,r.onerror=()=>i(u(Error("Failed to prefetch: "+e))),r.href=e,document.head.appendChild(r)})}function p(e,t){return new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})}function m(e,t,r){return new Promise((n,a)=>{let o=!1;e.then(e=>{o=!0,n(e)}).catch(a),(0,i.requestIdleCallback)(()=>setTimeout(()=>{o||a(r)},t))})}function _(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):m(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),o,u(Error("Failed to load client build manifest")))}function g(e,t){return _().then(r=>{if(!(t in r))throw u(Error("Failed to lookup route: "+t));let i=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:i.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:i.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function y(e){let t=new Map,r=new Map,n=new Map,a=new Map;function l(e){{let t=r.get(e.toString());return t||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),t=p(e)),t))}}function c(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw u(e)})),t}return{whenEntrypoint:e=>s(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),a.delete(e))})}
1,loadRoute(r,n){return s(r,a,()=>{let i;return m(g(e,r).then(e=>{let{scripts:n,css:i}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(l)),Promise.all(i.map(c))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),o,u(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==i?void 0:i())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(d?e.scripts.map(e=>h(e.toString(),"script")):[])).then(()=>{(0,i.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3079:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return a.default},createRouter:function(){return _},default:function(){return p},makePublicRouterInstance:function(){return g},useRouter:function(){return m},withRouter:function(){return l.default}});let n=r(8754),i=n._(r(7294)),a=n._(r(5298)),o=r(1928),s=n._(r(676)),l=n._(r(1530)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"],f=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!u.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return u.router}Object.defineProperty(u,"events",{get:()=>a.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>h()[e]})}),f.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return h()[e](...r)}}),d.forEach(e=>{u.ready(()=>{a.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i="on"+e.charAt(0).toUpperCase()+e.substring(1),a=u;if(a[i])try{a[i](...r)}catch(e){console.error("Error when running the Router event: "+i),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let p=u;function m(){let e=i.default.useContext(o.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function _(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new a.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function g(e){let t=e,r={};for(let e of c){if("object"==typeof t[e]){r[e]=Object.assign(Array.isArray(t[e])?[]:{},t[e]);continue}r[e]=t[e]}return r.events=a.default.events,f.forEach(e=>{r[e]=function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return t[e](...n)}}),r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3381:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return M},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return b}});let n=r(8754),i=r(1757),a=r(5893),o=n._(r(3935)),s=i._(r(7294)),l=r(1515),u=r(6913),c=r(4474),d=new Map,f=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o="",strategy:s="afterInteractive",onError:l,stylesheets:c}=e,m=r||t;if(m&&f.has(m))return;if(d.has(t)){f.add(m),d.get(t).then(n,l);return}let _=()=>{i&&i(),f.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>
1{g.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[r,n]of(a?(g.innerHTML=a.__html||"",_()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",_()):t&&(g.src=t,d.set(t,y)),Object.entries(e))){if(void 0===n||h.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,n)}"worker"===s&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",s),c&&p(c),document.body.appendChild(g)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){"complete"===document.readyState?(0,c.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>m(e))})}function y(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function b(e){e.forEach(_),y()}function v(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:c,stylesheets:d,...h}=e,{updateScripts:p,scripts:_,getIsSsr:y,appDir:b,nonce:v}=(0,s.useContext)(l.HeadManagerContext),M=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;M.current||(i&&e&&f.has(e)&&i(),M.current=!0)},[i,t,r]);let S=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{S.current||("afterInteractive"===u?m(e):"lazyOnload"===u&&g(e),S.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(p?(_[u]=(_[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:c,...h}]),p(_)):y&&y()?f.add(t||r):y&&!y()&&m(e)),b){if(d&&d.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin}),(0,a.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...h,id:t}])+")"}})):(h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}}));"afterInteractive"===u&&r&&o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let M=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3436:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(4920);function i(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,n.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1152:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(8754)._(r(5001));class i{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,i;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(i=t.startTime)?i:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class a{startSpan(e,t){return new i(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let o=new a;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8140:function(e,t){"use strict";let r;function n(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}function i(e){var t;return(null==(t=n())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return i}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4229:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let n=r(7294),i=r(4474),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),o.set(r,t),t}function u(e,t,r){let{id:n,observer:i,elements:a}=l(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}function c(e){let{rootRef:t,rootMargin:r,disabled:o}=e,s=o||!a,[l,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),f=(0,n.useCallback)(e=>{d.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(s||l)return;let e=d.current;if(e&&e.tagName)return u(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,r,t,l,d.current]),[f,l,(0,n.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7178:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(4878),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),r(8754);let n=r(5893);r(7294);let i=r(3079);function a(e){function t(t){return(0,n.jsx)(e,{router:(0,i.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3802:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(8754),i=r(5893),a=n._(r(7294)),o=r(9903);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,o.loadGetInitialProps)(t,r)}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,i.jsx)(e,{...t})}}l.origGetInitialProps=s,l.getInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2111:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(8754),i=r(5893),a=n._(r(7294)),o=n._(r(3867)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"}
1,wrap:{display:"inline-block"}};class c extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,i.jsxs)("div",{style:u.error,children:[(0,i.jsx)(o.default,{children:(0,i.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,i.jsxs)("div",{style:u.desc,children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,i.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,i.jsx)("div",{style:u.wrap,children:(0,i.jsxs)("h2",{style:u.h2,children:[this.props.title||e?r:(0,i.jsx)(i.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8995:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},8214:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return o},LayoutRouterContext:function(){return a},MissingSlotContext:function(){return l},TemplateContext:function(){return s}});let n=r(8754)._(r(7294)),i=n.default.createContext(null),a=n.default.createContext(null),o=n.default.createContext(null),s=n.default.createContext(null),l=n.default.createContext(new Set)},2989:function(e,t){"use strict";function r(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),1540483477),t^=t>>>13,t=Math.imul(t,1540483477);return t>>>0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return i}});let n=1e-4;class i{static from(e,t){void 0===t&&(t=n);let r=new i(e.length,t);for(let t of e)r.add(t);return r}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let i=r(""+e+n)%this.numBits;t.push(i)}return t}constructor(e,t=n){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},2929:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return y},APP_CLIENT_INTERNALS:function(){return J},APP_PATHS_MANIFEST:function(){return m},APP_PATH_ROUTES_MANIFEST:function(){return _},AUTOMATIC_FONT_OPTIMIZATION_MANIFEST:function(){return Y},BARREL_OPTIMIZATION_PREFIX:function(){return z},BLOCKED_PAGES:function(){return j},BUILD_ID_FILE:function(){return R},BUILD_MANIFEST:function(){return g},CLIENT_PUBLIC_FILES_PATH:function(){return I},CLIENT_REFERENCE_MANIFEST:function(){return U},CLIENT_STATIC_FILES_PATH:function(){return F},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return X},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return q},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return G},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return K},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Z},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return i},CONFIG_FILES:function(){return O},DEFAULT_RUNTIME_WEBPACK:function(){return et},DEFAULT_SANS_SERIF_FONT:function(){return el},DEFAULT_SERIF_FONT:function(){return es},DEV_CLIENT_PAGES_MANIFEST:function(){return x},DEV_MIDDLEWARE_MANIFEST:function(){return P},EDGE_RUNTIME_WEBPACK:function(){return er},EDGE_UNSUPPORTED_NODE_APIS:function(){return eh},EXPORT_DETAIL:function(){return w},EXPORT_MARKER:function(){return S},FUNCTIONS_CONFIG_MANIFEST:function(){return b},GOOGLE_FONT_PROVIDER:function(){return ea},IMAGES_MANIFEST:function(){return A},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return W},MIDDLEWARE_BUILD_MANIFEST:function(){return $},MIDDLEWARE_MANIFEST:function(){return T},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return V},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return H},NEXT_FONT_MANIFEST:function(){return M},OPTIMIZED_FONT_PROVIDERS:function(){return eo},PAGES_MANIFEST:function(){return p},PHASE_DEVELOPMENT_SERVER:function(){return d},PHASE_EXPORT:function(){return l},PHASE_INFO:function(){return h},PHASE_PRODUCTION_BUILD:function(){return u},PHASE_PRODUCTION_SERVER:function(){return c},PHASE_TEST:function(){return f},PRERENDER_MANIFEST:function(){return E},REACT_LOADABLE_MANIFEST:function(){return C},ROUTES_MANIFEST:function(){return L},RSC_MODULE_TYPES:function(){return ef},SERVER_DIRECTORY:function(){return D},SERVER_FILES_MANIFEST:function(){return k},SERVER_PROPS_ID:function(){return ei},SERVER_REFERENCE_MANIFEST:function(){return B},STATIC_PROPS_ID:function(){return en},STATIC_STATUS_PAGES:function(){return eu},STRING_LITERAL_DROP_BUNDLE:function(){return N},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return v},SYSTEM_ENTRYPOINTS:function(){return ep},TRACE_OUTPUT_VERSION:function(){return ec},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ed},UNDERSCORE_NOT_FOUND_ROUTE:function(){return o},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return s}});let n=r(8754)._(r(1098)),i={client:"client",server:"server",edgeServer:"edge-server"},a={[i.client]:0,[i.server]:1,[i.edgeServer]:2},o="/_not-found",s=""+o+"/page",l="phase-export",u="phase-production-build",c="phase-production-server",d="phase-development-server",f="phase-test",h="phase-info",p="pages-manifest.json",m="app-paths-manifest.json",_="app-path-routes-manifest.json",g
1="build-manifest.json",y="app-build-manifest.json",b="functions-config-manifest.json",v="subresource-integrity-manifest",M="next-font-manifest",S="export-marker.json",w="export-detail.json",E="prerender-manifest.json",L="routes-manifest.json",A="images-manifest.json",k="required-server-files.json",x="_devPagesManifest.json",T="middleware-manifest.json",P="_devMiddlewareManifest.json",C="react-loadable-manifest.json",Y="font-manifest.json",D="server",O=["next.config.js","next.config.mjs"],R="BUILD_ID",j=["/_document","/_app","/_error"],I="public",F="static",N="__NEXT_DROP_CLIENT_FILE__",H="__NEXT_BUILTIN_DOCUMENT__",z="__barrel_optimize__",U="client-reference-manifest",B="server-reference-manifest",$="middleware-build-manifest",V="middleware-react-loadable-manifest",W="interception-route-rewrite-manifest",q="main",G=""+q+"-app",J="app-pages-internals",K="react-refresh",X="amp",Z="webpack",Q="polyfills",ee=Symbol(Q),et="webpack-runtime",er="edge-runtime-webpack",en="__N_SSG",ei="__N_SSP",ea="https://fonts.googleapis.com/",eo=[{url:ea,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],es={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},el={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},eu=["/500"],ec=1,ed=6e3,ef={client:"client",server:"server"},eh=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ep=new Set([q,K,X,G]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},noSSR:function(){return l}});let n=r(8754),i=r(5893);r(7294);let a=n._(r(5491)),o=!1;function s(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){if(delete t.webpack,delete t.modules,!o)return e(t);let r=t.loading;return()=>(0,i.jsx)(r,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function u(e,t){let r=a.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let i=(n={...n,...t}).loader,o=()=>null!=i?i().then(s):Promise.resolve(s(()=>null));return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:o}):(delete n.webpack,delete n.modules,l(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1435:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(n,"\\$&"):e}},5283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return d}}),r(3179);let n=r(6630),i=r(6594);function a(e){return void 0!==e.default}function o(e){return void 0!==e.src}function s(e){return"object"==typeof e&&(a(e)||o(e))}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}
1function c(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=u(t,i,o),d=l.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:r,quality:a,width:l[d]})}}function d(e,t){let r,o,u,{src:d,sizes:f,unoptimized:h=!1,priority:p=!1,loading:m,className:_,quality:g,width:y,height:b,fill:v=!1,style:M,overrideSrc:S,onLoad:w,onLoadingComplete:E,placeholder:L="empty",blurDataURL:A,fetchPriority:k,decoding:x="async",layout:T,objectFit:P,objectPosition:C,lazyBoundary:Y,lazyRoot:D,...O}=e,{imgConf:R,showAltText:j,blurComplete:I,defaultLoader:F}=t,N=R||i.imageConfigDefault;if("allSizes"in N)r=N;else{var H;let e=[...N.deviceSizes,...N.imageSizes].sort((e,t)=>e-t),t=N.deviceSizes.sort((e,t)=>e-t),n=null==(H=N.qualities)?void 0:H.sort((e,t)=>e-t);r={...N,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===F)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let z=O.loader||F;delete O.loader,delete O.srcSet;let U="__next_img_default"in z;if(U){if("custom"===r.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=z;z=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(v=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];t&&(M={...M,...t});let r=e[T];r&&!f&&(f=r)}let B="",$=l(y),V=l(b);if(s(d)){let e=a(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(o=e.blurWidth,u=e.blurHeight,A=A||e.blurDataURL,B=e.src,!v){if($||V){if($&&!V){let t=$/e.width;V=Math.round(e.height*t)}else if(!$&&V){let t=V/e.height;$=Math.round(e.width*t)}}else $=e.width,V=e.height}}let W=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:B)||d.startsWith("data:")||d.startsWith("blob:"))&&(h=!0,W=!1),r.unoptimized&&(h=!0),U&&d.endsWith(".svg")&&!r.dangerouslyAllowSVG&&(h=!0),p&&(k="high");let q=l(g),G=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:P,objectPosition:C}:{},j?{}:{color:"transparent"},M),J=I||"empty"===L?null:"blur"===L?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:V,blurWidth:o,blurHeight:u,blurDataURL:A||"",objectFit:G.objectFit})+'")':'url("'+L+'")',K=J?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},X=c({config:r,src:d,unoptimized:h,width:$,quality:q,sizes:f,loader:z});return{props:{...O,loading:W?"lazy":m,fetchPriority:k,width:$,height:V,decoding:x,className:_,style:{...G,...K},sizes:X.sizes,srcSet:X.srcSet,src:S||X.src},meta:{unoptimized:h,priority:p,placeholder:L,fill:v}}}},1515:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext({})},3867:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return _},defaultHead:function(){return d}});let n=r(8754),i=r(1757),a=r(5893),o=i._(r(7294)),s=n._(r(5277)),l=r(8995),u=r(1515),c=r(8214);function d(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>
1"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(3179);let h=["name","httpEquiv","charSet","itemProp"];function p(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let a=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?a=!1:t.add(i.type);break;case"meta":for(let e=0,t=h.length;e<t;e++){let t=h[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)r.has(t)?a=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!o)&&r.has(e)?a=!1:(r.add(e),n[t]=r)}}}}return a}}function m(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(p()).reverse().map((e,t)=>{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:n})})}let _=function(e){let{children:t}=e,r=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return(0,a.jsx)(s.default,{reduceComponentsToState:m,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2608:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return o},PathnameContext:function(){return a},SearchParamsContext:function(){return i}});let n=r(7294),i=(0,n.createContext)(null),a=(0,n.createContext)(null),o=(0,n.createContext)(null)},5612:function(e,t){"use strict";function r(e,t,r){if(e)for(let a of(r&&(r=r.toLowerCase()),e)){var n,i;if(t===(null==(n=a.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===a.defaultLocale.toLowerCase()||(null==(i=a.locales)?void 0:i.some(e=>e.toLowerCase()===r)))return a}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},4165:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},6630:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=n?40*n:t,l=i?40*i:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"",c=u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+c+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},3945:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(8754)._(r(7294)),i=r(6594),a=n.default.createContext(i.imageConfigDefault)},6594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,
1contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},6210:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(8754),i=r(5283),a=r(4080),o=n._(r(3872));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=a.Image},3872:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=75;function n(e){var t;let{config:n,src:i,width:a,quality:o}=e,s=o||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e))||r;return n.path+"?url="+encodeURIComponent(i)+"&w="+a+"&q="+s}n.__next_img_default=!0;let i=n},5997:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},947:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return i}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},1159:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext(null)},5491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(8754)._(r(7294)),i=r(1159);function a(e){return e&&e.default?e.default:e}let o=[],s=[],l=!1;function u(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}function c(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function u(){if(!o){let t=new d(e,r);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!l){let e=r.webpack?r.webpack():r.modules;e&&s.push(t=>{for(let r of e)if(t.includes(r))return u()})}function c(){u();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}function f(e,t){c();let i=n.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),n.default.useMemo(()=>i.loading||i.error?n.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:o.retry}):i.loaded?n.default.createElement(a(i.loaded),e):null,[e,i])}return f.preload=()=>u(),f.displayName="LoadableComponent",n.default.forwardRef(f)}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e}
1,this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return c(u,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return h(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{h(o).then(e,t)}),f.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(l=!0,t());h(s,e).then(r,r)})),window.__NEXT_PRELOADREADY=f.preloadReady;let p=f},5001:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},1098:function(e){"use strict";let t=["chrome 64","edge 79","firefox 67","opera 51","safari 12"];e.exports=t},3395:function(e,t){"use strict";function r(e){let t=(null==e?void 0:e.replace(/^\/+|\/+$/g,""))||!1;if(!t)return"";if(URL.canParse(t)){let e=new URL(t).toString();return e.endsWith("/")?e.slice(0,-1):e}return"/"+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizedAssetPrefix",{enumerable:!0,get:function(){return r}})},7491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});let n=r(9062),i=r(8040);function a(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},435:function(e,t){"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},8040:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},1928:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8754)._(r(7294)).default.createContext(null)},546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return h},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return f},adaptForSearchParams:function(){return d}});let n=r(1757),i=r(5893),a=n._(r(7294)),o=r(2608),s=r(9062),l=r(4656),u=r(8330);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},fastRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function d(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function f(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,u.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function h(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),u=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,s.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,i.jsx)(o.PathnameContext.Provider,{value:u,children:t})}},5298:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return W},default:function(){return J},matchesMiddleware:function(){return j}});let n=r(8754),i=r(1757),a=r(2657),o=r(9856),s=r(3381),l=i._(r(676)),u=r(7491),c=r(4165),d=n._(r(5001)),f=r(9903),h=r(9936),p=r(2913);r(2431);let m=r(4714),_=r(8330),g=r(8041),y=r(4166),b=r(2122),v=r(5490),M=r(8324),S=r(646),w=r(9470),E=r(1149),L=r(6075),A=r(9423),k=r(6504),x=r(9467),T=r(2192),P=r(3955),C=r(9888),Y=r(7085),D=r(1417),O=r(631);function R(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function j(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,b.parsePath)(e.asPath),n=(0,E.hasBasePath)(r)?(0,S.removeBasePath)(r):r,i=(0,w.addBasePath)((0,v.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(i))}function I(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function F(e,t,r){let[n,i]=(0,L.resolveHref)(e,t,!0),a=(0,f.getLocationOrigin)(),o=n.startsWith(a),s=i&&i.startsWith(a);n=I(n),i=i?I(i):i;let l=o?n:(0,w.addBasePath)(n),u=r?I((0,L.resolveHref)(e,r)):i||n;return{url:l,as:s?u:(0,w.addBasePath)(u)}}function N(e,t){let r=(0,a.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,h.isDynamicRoute)(t)&&(0,_.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,a.removeTrailingSlash)(e))}function H(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),s=i||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,p.parseRelativeUrl)(s),l=(0,k.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}
1),u=(0,a.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,o.getClientBuildManifest)()]).then(a=>{let[o,{__rewrites:s}]=a,d=(0,v.addLocale)(l.pathname,l.locale);if((0,h.isDynamicRoute)(d)||!i&&o.includes((0,c.normalizeLocalePath)((0,S.removeBasePath)(d),r.router.locales).pathname)){let r=(0,k.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});d=(0,w.addBasePath)(r.pathname),t.pathname=d}if(!o.includes(u)){let e=N(u,o);e!==u&&(u=e)}let f=o.includes(u)?u:N((0,c.normalizeLocalePath)((0,S.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,h.isDynamicRoute)(f)){let e=(0,m.getRouteMatcher)((0,_.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,b.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,x.formatNextPathnameInfo)({...(0,k.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,b.parsePath)(u),t=(0,x.formatNextPathnameInfo)({...(0,k.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}async function z(e){if(!await j(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await H(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let U=Symbol("SSG_DATA_NOT_FOUND");function B(e,t,r){return fetch(e,{credentials:"same-origin",method:r.method||"GET",headers:Object.assign({},r.headers,{"x-nextjs-data":"1"})}).then(n=>!n.ok&&t>1&&n.status>=500?B(e,t-1,r):n)}function $(e){try{return JSON.parse(e)}catch(e){return null}}function V(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:i,isServerRender:a,parseJSON:s,persist
1Cache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),f=e=>{var u;return B(t,a?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&i?{"x-middleware-prefetch":"1"}:{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(i&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=$(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:U},response:r,text:e,cacheKey:d}}let s=Error("Failed to load static props");throw a||(0,o.markAssetError)(s),s}return{dataHref:t,json:s?$(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,o.markAssetError)(e),e})};return c&&l?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d
1]=f(u?{method:"HEAD"}:{})}function W(){return Math.random().toString(36).slice(2,10)}function q(e){let{url:t,router:r}=e;if(t===(0,w.addBasePath)((0,v.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let G=e=>{let{route:t,router:r}=e,n=!1,i=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}i===r.clc&&(r.clc=null)}};class J{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=F(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=F(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let l=!1,u=!1;for(let c of[e,t])if(c){let t=(0,a.removeTrailingSlash)(new URL(c,"http://n").pathname),d=(0,w.addBasePath)((0,v.addLocale)(t,r||this.locale));if(t!==(0,a.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var i,o,s;for(let e of(l=l||!!(null==(i=this._bfl_s)?void 0:i.contains(t))||!!(null==(o=this._bfl_s)?void 0:o.contains(d)),[t,d])){let t=e.split("/");for(let e=0;!u&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(s=this._bfl_d)?void 0:s.contains(r))){u=!0;break}}}if(l||u){if(n)return!0;return q({url:(0,w.addBasePath)((0,v.addLocale)(e,r||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,i){var u,d,L,A,k,x,C,O,I,H;let z,B;if(!(0,P.isLocalURL)(t))return q({url:t,router:this}),!1;let $=1===n._h;$||n.shallow||await this._bfl(r,void 0,n.locale);let V=$||n._shouldResolveHref||(0,b.parsePath)(t).pathname===(0,b.parsePath)(r).pathname,W={...this.state},G=!0!==this.isReady;this.isReady=!0;let K=this.isSsr;if($||(this.isSsr=!1),$&&this.clc)return!1;let X=W.locale;{W.locale=!1===n.locale?this.defaultLocale:n.locale||W.locale,void 0===n.locale&&(n.locale=W.locale);let e=(0,p.parseRelativeUrl)((0,E.hasBasePath)(r)?(0,S.removeBasePath)(r):r),i=(0,c.normalizeLocalePath)(e.pathname,this.locales);i.detectedLocale&&(W.locale=i.detectedLocale,e.pathname=(0,w.addBasePath)(e.pathname),r=(0,g.formatWithValidation)(e),t=(0,w.addBasePath)((0,c.normalizeLocalePath)((0,E.hasBasePath)(t)?(0,S.removeBasePath)(t):t,this.locales).pathname));let a=!1;(null==(d=this.locales)?void 0:d.includes(W.locale))||(e.pathname=(0,v.addLocale)(e.pathname,W.locale),q({url:(0,g.formatWithValidation)(e),router:this}),a=!0);let o=(0,y.detectDomainLocale)(this.domainLocales,void 0,W.locale);if(!a&&o&&this.isLocaleDomain&&self.location.hostname!==o.domain){let e=(0,S.removeBasePath)(r);q({url:"http"+(o.http?"":"s")+"://"+o.domain+(0,w.addBasePath)((W.locale===o.defaultLocale?"":"/"+W.locale)+("/"===e?"":e)||"/"),router:this}),a=!0}if(a)return new Promise(()=>{})}f.ST&&performance.mark("routeChange");let{shallow:Z=!1,scroll:Q=!0}=n,ee={shallow:Z};this._inFlightRoute&&this.clc&&(K||J.events.emit("routeChangeError",R(),this._inFlightRoute,ee),this.clc(),this.clc=null),r=(0,w.addBasePath)((0,v.addLocale)((0,E.hasBasePath)(r)?(0,S.removeBasePath)(r):r,n.locale,this.defaultLocale));let et=(0,M.removeLocale)((0,E.hasBasePath)(r)?(0,S.removeBasePath)(r):r,W.locale);this._inFlightRoute=r;let er=X!==W.locale;if(!$&&this.onlyAHashChange(et)&&!er){W.asPath=et,J.events.emit("hashChangeStart",r,ee),this.changeState(e,t,r,{...n,scroll:!1}),Q&&this.scrollToHash(et);try{await this.set(W,this.components[W.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&J.events.emit("routeChangeError",e,et,ee),e}return J.events.emit("hashChangeComplete",r,ee),!0}let en=(0,p.parseRelativeUrl)(t),{pathname:ei,query:ea}=en;try{[z,{__rewrites:B}]=await Promise.all([this.pageLoader.getPageList(),(0,o.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return q({url:r,router:this}),!1}this.urlIsNew(et)||er||(e="replaceState");let eo=r;ei=ei?(0,a.removeTrailingSlash)((0,S.removeBasePath)(ei)):ei;let es=(0,a.removeTrailingSlash)(ei),el=r.startsWith("/")&&(0,p.parseRelativeUrl)(r).pathname;if(null==(u=this.components[ei])?void 0:u.__appRouter)return q({url:r,router:this}),new Promise(()=>{});let eu=!!(el&&es!==el&&(!(0,h.isDynamicRoute)(es)||!(0,m.getRouteMatcher)((0,_.getRouteRegex)(es))(el))),ec=!n.shallow&&await j({asPath:r,locale:W.locale,router:this});if($&&ec&&(V=!1),V&&"/_error"!==ei&&(n._shouldResolveHref=!0,en.pathname=N(ei,z),en.pathname===ei||(ei=en.pathname,en.pathname=(0,w.addBasePath)(ei),ec||(t=(0,g.formatWithValidation)(en)))),!(0,P.isLocalURL)(r))return q({url:r,router:this}),!1;eo=(0,M.removeLocale)((0,S.removeBasePath)(eo),W.locale),es=(0,a.removeTrailingSlash)(ei);let ed=!1;if((0,h.isDynamicRoute)(es)){let e=(0,p.parseRelativeUrl)(eo),n=e.pathname,i=(0,_.getRouteRegex)(es);ed=(0,m.getRouteMatcher)(i)(n);let a=es===n,o=a?(0,D.interpolateAs)(es,n,ea):{};if(ed&&(!a||o.result))a?r=(0,g.formatWithValidation)(Object.assign({},e,{pathname:o.result,query:(0,Y.omit)(ea,o.params)})):Object.assign(ea,ed);else{let e=Object.keys(i.groups).filter(e=>!ea[e]&&!i.groups[e].optional);if(e.length>0&&!ec)throw Error((a?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+es+"). ")+"Read more: https://nextjs.org/docs/messages/"+(a?"href-interpolation-failed":"incompatible-href-as"))}}$||J.events.emit("routeChangeStart",r,ee);let ef="/404"===this.pathname||"/_error"===this.pathname;try{let a=await this.getRouteInfo({route:es,pathname:ei,query:ea,as:r,resolvedAs:eo,routeProps:ee,locale:W.locale,isPreview:W.isPreview,hasMiddleware:ec,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:$&&!this.isFallback,isMiddlewareRewrite:eu});if($||n.shallow||await this._bfl(r,"resolvedAs"in a?a.resolvedAs:void 0,W.locale),"route"in a&&ec){es=ei=a.route||es,ee.shallow||(ea=Object.assign({},a.query||{},ea));let e=(0,E.hasBasePath)(en.pathname)?(0,S.removeBasePath)(en.pathname):en.pathname;
1if(ed&&ei!==e&&Object.keys(ed).forEach(e=>{ed&&ea[e]===ed[e]&&delete ea[e]}),(0,h.isDynamicRoute)(ei)){let e=!ee.shallow&&a.resolvedAs?a.resolvedAs:(0,w.addBasePath)((0,v.addLocale)(new URL(r,location.href).pathname,W.locale),!0);(0,E.hasBasePath)(e)&&(e=(0,S.removeBasePath)(e));{let t=(0,c.normalizeLocalePath)(e,this.locales);W.locale=t.detectedLocale||W.locale,e=t.pathname}let t=(0,_.getRouteRegex)(ei),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(ea,n)}}if("type"in a){if("redirect-internal"===a.type)return this.change(e,a.newUrl,a.newAs,n);return q({url:a.destination,router:this}),new Promise(()=>{})}let o=a.Component;if(o&&o.unstable_scriptLoader&&[].concat(o.unstable_scriptLoader()).forEach(e=>{(0,s.handleClientScriptLoad)(e.props)}),(a.__N_SSG||a.__N_SSP)&&a.props){if(a.props.pageProps&&a.props.pageProps.__N_REDIRECT){n.locale=!1;let t=a.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==a.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,p.parseRelativeUrl)(t);r.pathname=N(r.pathname,z);let{url:i,as:a}=F(this,t,t);return this.change(e,i,a,n)}return q({url:t,router:this}),new Promise(()=>{})}if(W.isPreview=!!a.props.__N_PREVIEW,a.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(a=await this.getRouteInfo({route:e,pathname:e,query:ea,as:r,resolvedAs:eo,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isNotFound:!0}),"type"in a)throw Error("Unexpected middleware effect on /404")}}$&&"/_error"===this.pathname&&(null==(A=self.__NEXT_DATA__.props)?void 0:null==(L=A.pageProps)?void 0:L.statusCode)===500&&(null==(k=a.props)?void 0:k.pageProps)&&(a.props.pageProps.statusCode=500);let u=n.shallow&&W.route===(null!=(x=a.route)?x:es),d=null!=(C=n.scroll)?C:!$&&!u,f=d?{x:0,y:0}:null,g=null!=i?i:f,y={...W,route:es,pathname:ei,query:ea,asPath:et,isFallback:!1};if($&&ef){if(a=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:ea,as:r,resolvedAs:eo,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isQueryUpdating:$&&!this.isFallback}),"type"in a)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(I=self.__NEXT_DATA__.props)?void 0:null==(O=I.pageProps)?void 0:O.statusCode)===500&&(null==(H=a.props)?void 0:H.pageProps)&&(a.props.pageProps.statusCode=500);try{await this.set(y,a,g)}catch(e){throw(0,l.default)(e)&&e.cancelled&&J.events.emit("routeChangeError",e,et,ee),e}return!0}if(J.events.emit("beforeHistoryChange",r,ee),this.changeState(e,t,r,n),!($&&!g&&!G&&!er&&(0,T.compareRouterStates)(y,this.state))){try{await this.set(y,a,g)}catch(e){if(e.cancelled)a.error=a.error||e;else throw e}if(a.error)throw $||J.events.emit("routeChangeError",a.error,et,ee),a.error;W.locale&&(document.documentElement.lang=W.locale),$||J.events.emit("routeChangeComplete",r,ee);let e=/#.+$/;d&&e.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:W()},"",r))}async handleRouteInfoError(e,t,r,n,i,a){if(console.error(e),e.cancelled)throw e;if((0,o.isAssetError)(e)||a)throw J.events.emit("routeChangeError",e,n,i),q({url:n,router:this}),R();try{let n;let{page:i,styleSheets:a}=await this.fetchComponent("/_error"),o={props:n,Component:i,styleSheets:a,err:e,error:e};if(!o.props)try{o.props=await this.getInitialProps(i,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),o.props={}}return o}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Error(e+""),t,r,n,i,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:i,resolvedAs:o,routeProps:s,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:h,isQueryUpdating:p,isMiddlewareRewrite:m,isNotFound:_}=e,y=t;try{var b,v,M,w;let e=this.components[y];if(s.shallow&&e&&this.route===y)return e;let t=G({route:y,router:this});d&&(e=void 0);let l=!e||"initial"in e?void 0:e,E=p,L={dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:_?"/404":o,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:E?this.sbc:this.sdc,persist
1Cache:!f,isPrefetch:!1,unstable_skipClientCache:h,isBackground:E},k=p&&!m?null:await z({fetchData:()=>V(L),asPath:_?"/404":o,locale:u,router:this}).catch(e=>{if(p)return null;throw e});if(k&&("/_error"===r||"/404"===r)&&(k.effect=void 0),p&&(k?k.json=self.__NEXT_DATA__.props:k={json:self.__NEXT_DATA__.props}),t(),(null==k?void 0:null==(b=k.effect)?void 0:b.type)==="redirect-internal"||(null==k?void 0:null==(v=k.effect)?void 0:v.type)==="redirect-external")return k.effect;if((null==k?void 0:null==(M=k.effect)?void 0:M.type)==="rewrite"){let t=(0,a.removeTrailingSlash)(k.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!p||i.includes(t))&&(y=t,r=k.effect.resolvedHref,n={...n,...k.effect.parsedAs.query},o=(0,S.removeBasePath)((0,c.normalizeLocalePath)(k.effect.parsedAs.pathname,this.locales).pathname),e=this.components[y],s.shallow&&e&&this.route===y&&!d))return{...e,route:y}}if((0,A.isAPIRoute)(y))return q({url:i,router:this}),new Promise(()=>{});let x=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),T=null==k?void 0:null==(w=k.response)?void 0:w.headers.get("x-middleware-skip"),P=x.__N_SSG||x.__N_SSP;T&&(null==k?void 0:k.dataHref)&&delete this.sdc[k.dataHref];let{props:C,cacheKey:Y}=await this._getData(async()=>{if(P){if((null==k?void 0:k.json)&&!T)return{cacheKey:k.cacheKey,props:k.json};let e=(null==k?void 0:k.dataHref)?k.dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:r,query:n}),asPath:o,locale:u}),t=await V({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:T?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(x.Component,{pathname:r,query:n,asPath:i,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return x.__N_SSP&&L.dataHref&&Y&&delete this.sdc[Y],this.isPreview||!x.__N_SSG||p||V(Object.assign({},L,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),C.pageProps=Object.assign({},C.pageProps),x.props=C,x.route=y,x.query=n,x.resolvedAs=o,this.components[y]=x,x}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,i,s)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,i]=e.split("#",2);return!!i&&t===n&&r===i||t===n&&r!==i}scrollToHash(e){let[,t=""]=e.split("#",2);(0,O.handleSmoothScroll)(()=>{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),r=document.getElementById(e);if(r){r.scrollIntoView();return}let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,C.isBot)(window.navigator.userAgent))return;let n=(0,p.parseRelativeUrl)(e),i=n.pathname,{pathname:o,query:s}=n,l=o;if(!1===r.locale){o=(0,c.normalizeLocalePath)(o,this.locales).pathname,n.pathname=o,e=(0,g.formatWithValidation)(n);let i=(0,p.parseRelativeUrl)(t),a=(0,c.normalizeLocalePath)(i.pathname,this.locales);i.pathname=a.pathname,r.locale=a.detectedLocale||this.defaultLocale,t=(0,g.formatWithValidation)(i)}let u=await this.pageLoader.getPageList(),d=t,f=void 0!==r.locale?r.locale||void 0:this.locale,y=await j({asPath:t,locale:f,router:this});n.pathname=N(n.pathname,u),(0,h.isDynamicRoute)(n.pathname)&&(o=n.pathname,n.pathname=o,Object.assign(s,(0,m.getRouteMatcher)((0,_.getRouteRegex)(n.pathname))((0,b.parsePath)(t).pathname)||{}),y||(e=(0,g.formatWithValidation)(n)));let v=await z({fetchData:()=>V({dataHref:this.pageLoader.getDataHref({href:(0,g.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:d,locale:f}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==v?void 0:v.effect.type)==="rewrite"&&(n.pathname=v.effect.resolvedHref,o=v.effect.resolvedHref,s={...s,...v.effect.parsedAs.query},d=v.effect.parsedAs.pathname,e=(0,g.formatWithValidation)(n)),(null==v?void 0:v.effect.type)==="redirect-external")return;let M=(0,a.removeTrailingSlash)(o);await this._bfl(t,d,r.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(M).then(t=>!!t&&V({dataHref:(null==v?void 0:v.json)?null==v?void 0:v.dataHref:this.pageLoader.getDataHref({href:e,asPath:d,locale:f}
1),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](M)])}async fetchComponent(e){let t=G({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return V({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:i,pageLoader:o,App:s,wrapApp:l,Component:u,err:c,subscription:d,isFallback:m,locale:_,locales:b,defaultLocale:v,domainLocales:M,isPreview:S}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=W(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,g.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:i,as:a,options:o,key:s}=n;this._key=s;let{pathname:l}=(0,p.parseRelativeUrl)(i);(!this.isSsr||a!==(0,w.addBasePath)(this.asPath)||l!==(0,w.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",i,a,Object.assign({},o,{shallow:o.shallow&&this._shallow,locale:o.locale||this.defaultLocale,_h:0}),t)};let E=(0,a.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[E]={Component:u,initial:!0,props:i,err:c,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP}),this.components["/_app"]={Component:s,styleSheets:[]};{let{BloomFilter:e}=r(2989),t={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},n={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=J.events,this.pageLoader=o;let L=(0,h.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=d,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!L&&!self.location.search),this.locales=b,this.defaultLocale=v,this.domainLocales=M,this.isLocaleDomain=!!(0,y.detectDomainLocale)(M,self.location.hostname),this.state={route:E,pathname:e,query:t,asPath:L?e:n,isPreview:!!S,locale:_,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:_},i=(0,f.getURL)();this._initialMatchesMiddlewarePromise=j({router:this,locale:_,asPath:i}).then(a=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",a?i:(0,g.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),i,r),a))}window.addEventListener("popstate",this.onPopState)}}J.events=(0,d.default)()},3913:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});let n=r(6286),i=r(6777);function a(e,t,r,a){if(!t||t===r)return e;let o=e.toLowerCase();return!a&&((0,i.pathHasPrefix)(o,"/api")||(0,i.pathHasPrefix)(o,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},6286:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return i}});let n=r(2122);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:a}=(0,n.parsePath)(e);return""+t+r+i+a}},4551:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return i}});let n=r(2122);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:a}=(0,n.parsePath)(e);return""+r+t+i+a}},6525:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return a},normalizeRscURL:function(){return o}});let n=r(435),i=r(6406);function a(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function o(e){return e.replace(/\.rsc($|\?)/,"$1")}},4656:function(e,t){"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},2192:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let i=r[n];if("query"===i){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let i=r[n];if(!t.query.hasOwnProperty(i)||e.query[i]!==t.query[i])return!1}}else if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},9467:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(2657),i=r(6286),a=r(4551),o=r(3913);function s(e){let t=(0,o.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,i.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,i.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},8041:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},formatWithValidation:function(){return s},urlObjectKeys:function(){return o}});let n=r(1757)._(r(9730)),i=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,a=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||i.test(a))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+a+u+(o=o.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return a(e)}},7823:function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},6504:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return o}});let n=r(4165),i=r(497),a=r(6777);function o(e,t){var r,o;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,a.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,i.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),r=e[0];
1c.buildId=r,d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(o=e.pathname)?o:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},631:function(e,t){"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},9062:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let n=r(7380),i=r(9936)},1417:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});let n=r(4714),i=r(8330);function a(e,t,r){let a="",o=(0,i.getRouteRegex)(e),s=o.groups,l=(t!==e?(0,n.getRouteMatcher)(o)(t):"")||r;a=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],i="["+(r?"...":"")+e+"]";return n&&(i=(t?"":"/")+"["+i+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(a=a.replace(i,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:u,result:a}}},9888:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},9936:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(2407),i=/\/\[[^/]+?\](?=\/|$)/;function a(e){return(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),i.test(e)}},3955:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=r(9903),i=r(1149);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},7085:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},2122:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},2913:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});let n=r(9903),i=r(9730);function a(e,t){let r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:o,searchParams:s,search:l,hash:u,href:c,origin:d}=new URL(e,a);if(d!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:o,query:(0,i.searchParamsToUrlQuery)(s),search:l,hash:u,href:c.slice(r.origin.length)}}},6777:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return i}});let n=r(2122);function i(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},9730:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,i]=e;Array.isArray(i)?i.forEach(e=>t.append(r,n(e))):t.set(r,n(i))}),t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return a},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i}})},497:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return i}});let n=r(6777);function i(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},2657:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},4714:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let n=r(9903);function i(e){let{re:t,groups:r}=e;return e=>{let i=t.exec(e);if(!i)return!1;let a=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},o={};return Object.keys(r).forEach(e=>{let t=r[e],n=i[t.pos];void 0!==n&&(o[e]=~n.indexOf("/")?n.split("/").map(e=>a(e)):t.repeat?[a(n)]:a(n))}),o}}},8330:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return u},parseParameter:function(){return s}});let n=r(2350),i=r(2407),a=r(1435),o=r(2657);function s(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=(0,o.removeTrailingSlash)(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(e=>{let t=i.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&o){let{key:e,optional:i,repeat:l}=s(o[1]);return r[e]={pos:n++,repeat:l,optional:i},"/"+(0,a.escapeStringRegexp)(t)+"([^/]+?)"}if(!o)return"/"+(0,a.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:i}=s(o[1]);return r[e]={pos:n++,repeat:t,optional:i},t?i?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function c(){let e=0;return()=>{let t="",r=++e;for(;r>0;)t+=String.fromCharCode(97+(r-1)%26),r=Math.floor((r-1)/26);return t}}function d(e){let{interceptionMarker:t,getSafeRouteKey:r,segment:n,routeKeys:i,keyPrefix:o}=e,{key:l,optional:u,repeat:c}=s(n),d=l.replace(/\W/g,"");o&&(d=""+o+d);let f=!1;(0===d.length||d.length>30)&&(f=!0),isNaN(parseInt(d.slice(0,1)))||(f=!0),f&&(d=r()),o?i[d]=""+o+l:i[d]=l;let h=t?(0,a.escapeStringRegexp)(t):"";return c?u?"(?:/"+h+"(?<"+d+">.+?))?":"/"+h+"(?<"+d+">.+?)":"/"+h+"(?<"+d+">[^/]+?)"}function f(e,t){let r=(0,o.removeTrailingSlash)(e).slice(1).split("/"),s=c(),l={};return{namedParameterizedRoute:r.map(e=>{let r=i.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),o=e.match(/\[((?:\[.*\])|.+)\]/);if(r&&o){let[r]=e.split(o[0]);return d({getSafeRouteKey:s,interceptionMarker:r,segment:o[1],routeKeys:l,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0})}return o?d({getSafeRouteKey:s,segment:o[1],routeKeys:l,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0}):"/"+(0,a.escapeStringRegexp)(e)}).join(""),routeKeys:l}}function h(e,t){let r=f(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function p(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:i}=f(e,!1);return{namedRegex:"^"+i+(n?"(?:(/.*)?)":"")+"$"}}},7380:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let r=i.slice(1,-1),o=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),o=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function a(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(o){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');a(this.optionalRestSlugName,r),this.optionalRestSlugName=r,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');a(this.restSlugName,r),this.restSlugName=r,i="[...]"}}else{if(o)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');a(this.slugName,r),this.slugName=r,i="[]"}}this.children.has(i)||this.children.set(i,new r),this.children.get(i)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},7500:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return i}});let n=()=>r;function i(e){r=e}},6406:function(e,t){"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return i},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return r}});let n="__PAGE__",i="__DEFAULT__"},5277:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(7294),i=!1,a=n.useLayoutEffect,o=i?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}if(i){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return a(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},9903:function(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return p},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return g},NormalizeError:function(){return m},PageNotFoundError:function(){return _},SP:function(){return f},ST:function(){return h},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return o},getURL:function(){return s},isAbsoluteUrl:function(){return a},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return b}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return r||(r=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,a=e=>i.test(e);function o(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=o();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let f="undefined"!=typeof performance,h=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
1class p extends Error{}class m extends Error{}class _ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class g extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function b(e){return JSON.stringify({message:e.message,stack:e.stack})}},3179:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},2463:function(e,t,r){"use strict";r.d(t,{FJM:function(){return d},RiI:function(){return f},s$2:function(){return h},QJe:function(){return p},aHS:function(){return m}});var n=r(7294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=n.createContext&&n.createContext(i),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};function l(e){return e&&e.map(function(e,t){return n.createElement(e.tag,o({key:t},e.attr),l(e.child))})}function u(e){return function(t){return n.createElement(c,o({attr:o({},e.attr)},t),l(e.child))}}function c(e){var t=function(t){var r,i=e.attr,a=e.size,l=e.title,u=s(e,["attr","size","title"]),c=a||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,u,{className:r,style:o(o({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&n.createElement("title",null,l),e.children)};return void 0!==a?n.createElement(a.Consumer,null,function(e){return t(e)}):t(i)}function d(e){return u({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}}]})(e)}function f(e){return u({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}}]})(e)}function h(e){return u({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}}]})(e)}function p(e){return u({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}}]})(e)}function m(e){return u({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(e)}},7443:function(e,t,r){"use strict";var n,i=r(3454);r(1479);var a=r(7294),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(a);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var u=void 0!==i&&i.env&&!0,c=function(e){return"[object String]"===Object.prototype.toString.call(e)},d=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,a=void 0===i?u:i;f(c(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",f("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){f("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),f(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(f(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(u||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(f(c(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return u||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){u||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];f(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];f(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&f(c(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},l(e,[{key:"length",get:function(){return this._rulesCount}}]),e}();function f(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var h=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},p={};function m(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return p[n]||(p[n]="jsx-"+h(e+"-"+r)),p[n]}function _(e,t){var r=/__jsx-style-dynamic-selector/g,n=e+t;return p[n]||(p[n]=t.replace(r,e)),p[n]}function g(e,t){return void 0===t&&(t={}),e.map(function(e){var r=e[0],n=e[1];return o.default.createElement("style",{id:"__"+r,key:"__"+r,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})}var y=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,a=void 0!==i&&i;this._sheet=n||new d({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),n&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var a=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=a,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(b(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){return g(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=m(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return _(i,e)}):[_(i,t)]}}return{styleId:m(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}();function b(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}var v=a.createContext(null);function M(){return new y}function S(e){var t=e.registry,r=e.children,n=a.useContext(v),i=a.useState(function(){return n||t||M()})[0];return o.default.createElement(v.Provider,{value:i},r)}function w(){return a.useContext(v)}v.displayName="StyleSheetContext";var E=o.default.useInsertionEffect||o.default.useLayoutEffect,L=M();function A(e){var t=L||w();return t&&E(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}A.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},n=S,n=M,t.style=A},645:function(e,t,r){"use strict";e.exports=r(7443).style},1479:function(){},642:function(){},4113:function(){},35:function(){},7677:function(){},7392:function(e){e.exports={style:{fontFamily:"'__Roboto_f4b1be', '__Roboto_Fallback_f4b1be'"},className:"__className_f4b1be",variable:"__variable_f4b1be"}},1987:function(e,t,r){var n="/";!function(){var t={452:function(e){"use strict";e.exports=r(7334)}},i={};function a(e){var r=i[e];
1if(void 0!==r)return r.exports;var n=i[e]={exports:{}},o=!0;try{t[e](n,n.exports,a),o=!1}finally{o&&delete i[e]}return n.exports}a.ab=n+"/";var o={};!function(){var e,t=o,r=(e=a(452))&&"object"==typeof e&&"default"in e?e.default:e,n=/https?|ftp|gopher|file/;function i(e){"string"==typeof e&&(e=b(e));var t=function(e,t,r){var n=e.auth,i=e.hostname,a=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;n=n?encodeURIComponent(n).replace(/%3A/i,":")+"@":"",e.host?u=n+e.host:i&&(u=n+(~i.indexOf(":")?"["+i+"]":i),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=t.encode(l));var c=e.search||l&&"?"+l||"";return a&&":"!==a.substr(-1)&&(a+=":"),e.slashes||(!a||r.test(a))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),{protocol:a,host:u,pathname:o=o.replace(/[?#]/g,encodeURIComponent),search:c=c.replace("#","%23"),hash:s}}(e,r,n);return""+t.protocol+t.host+t.pathname+t.search+t.hash}var s="http://",l="w.w",u=s+l,c=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,d=/https?|ftp|gopher|file/;function f(e,t){var r="string"==typeof e?b(e):e;e="object"==typeof e?i(e):e;var n=b(t),a="";r.protocol&&!r.slashes&&(a=r.protocol,e=e.replace(r.protocol,""),a+="/"===t[0]||"/"===e[0]?"/":""),a&&n.protocol&&(a="",n.slashes||(a=n.protocol,t=t.replace(n.protocol,"")));var o=e.match(c);o&&!n.protocol&&(e=e.substr((a=o[1]+(o[2]||"")).length),/^\/\/[^/]/.test(t)&&(a=a.slice(0,-1)));var l=new URL(e,u+"/"),f=new URL(t,l).toString().replace(u,""),h=n.protocol||r.protocol;return h+=r.slashes||n.slashes?"//":"",!a&&h?f=f.replace(s,h):a&&(f=f.replace(s,"")),d.test(f)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==f.slice(-1)||(f=f.slice(0,-1)),a&&(f=a+("/"===f[0]?f.substr(1):f)),f}function h(){}h.prototype.parse=b,h.prototype.format=i,h.prototype.resolve=f,h.prototype.resolveObject=f;var p=/^https?|ftp|gopher|file/,m=/^(.*?)([#?].*)/,_=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,g=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function b(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),e&&"object"==typeof e&&e instanceof h)return e;var a=(e=e.trim()).match(m);e=a?a[1].replace(/\\/g,"/")+a[2]:e.replace(/\\/g,"/"),y.test(e)&&"/"!==e.slice(-1)&&(e+="/");var o=!/(^javascript)/.test(e)&&e.match(_),s=g.test(e),c="";o&&(p.test(o[1])||(c=o[1].toLowerCase(),e=""+o[2]+o[3]),o[2]||(s=!1,p.test(o[1])?(c=o[1],e=""+o[3]):e="//"+o[3]),3!==o[2].length&&1!==o[2].length||(c=o[1],e="/"+o[3]));var d,f=(a?a[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),b=f&&f[1],v=new h,M="",S="";try{d=new URL(e)}catch(t){M=t,c||n||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(S="/",e=e.substr(1));try{d=new URL(e,u)}catch(e){return v.protocol=c,v.href=c,v}}v.slashes=s&&!S,v.host=d.host===l?"":d.host,v.hostname=d.hostname===l?"":d.hostname.replace(/(\[|\])/g,""),v.protocol=M?c||null:d.protocol,v.search=d.search.replace(/\\/g,"%5C"),v.hash=d.hash.replace(/\\/g,"%5C");var w=e.split("#");!v.search&&~w[0].indexOf("?")&&(v.search="?"),v.hash||""!==w[1]||(v.hash="#"),v.query=t?r.decode(d.search.substr(1)):v.search.substr(1),v.pathname=S+(o?function(e){return e.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}})}(d.pathname):d.pathname),"about:"===v.protocol&&"blank"===v.pathname&&(v.protocol="",v.pathname=""),M&&"/"!==e[0]&&(v.pathname=v.pathname.substr(1)),c&&!p.test(c)&&"/"!==e.slice(-1)&&"/"===v.pathname&&(v.pathname=""),v.path=v.pathname+v.search,v.auth=[d.username,d.password].map(decodeURIComponent).filter(Boolean).join(":"),v.port=d.port,b&&!v.host.endsWith(b)&&(v.host+=b,v.port=b.slice(1)),v.href=S?""+v.pathname+v.search+v.hash:i(v);var E=/^(file)/.test(v.href)?["host","hostname"]:[];return Object.keys(v).forEach(function(e){~E.indexOf(e)||(v[e]=v[e]||null)}),v}t.parse=b,t.format=i,t.resolve=f,t.resolveObject=function(e,t){return b(f(e,t))},t.Url=h}(),e.exports=o}()},7663:function(e){var t="/";!function(){var r={229:function(e){var t,r,n,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u=[],c=!1,d=-1;function f(){c&&n&&(c=!1,n.length?u=n.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(n=u,u=[];++d<t;)n&&n[d].run();d=-1,t=u.length}n=null,c=!1,l(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}},o=!0;try{r[e](a,a.exports,i),o=!1}finally{o&&delete n[e]}return a.exports}i.ab=t+"/";var a=i(229);e.exports=a}()},7334:function(e){var t="/";!function(){"use strict";var r={815:function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,i,a){n=n||"&",i=i||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(n);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var d,f,h,p,m=e[c].replace(s,"%20"),_=m.indexOf(i);_>=0?(d=m.substr(0,_),f=m.substr(_+1)):(d=m,f=""),h=decodeURIComponent(d),p=decodeURIComponent(f),t(o,h)?r(o[h])?o[h].push(p):o[h]=[o[h],p]:o[h]=p}return o};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,a,o,s){return(a=a||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var s=encodeURIComponent(t(i))+o;return r(e[i])?n(e[i],function(e){return s+encodeURIComponent(t(e))}).join(a):s+encodeURIComponent(t(e[i]))}).join(a):s?encodeURIComponent(t(s))+o+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}},o=!0;try{r[e](a,a.exports,i),o=!1}finally{o&&delete n[e]}return a.exports}i.ab=t+"/";var a={};!function(){var e=a;e.decode=e.parse=i(815),e.encode=e.stringify=i(577)}(),e.exports=a}()},8018:function(e){var t="/";!function(){"use strict";var r={};!function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})}}(),void 0!==r&&(r.ab=t+"/");var n={};r.r(n),r.d(n,{getCLS:function(){return E},getFCP:function(){return M},getFID:function(){return C},getINP:function(){return B},getLCP:function(){return V},getTTFB:function(){return q},onCLS:function(){return E},onFCP:function(){return M},onFID:function(){return C},onINP:function(){return B},onLCP:function(){return V},onTTFB:function(){return q}});var i,a,o,s,l,u=-1,c=function(e){addEventListener("pageshow",function(t){t.persisted&&(u=t.timeStamp,e(t))},!0)},d=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=d();return e&&e.activationStart||0},h=function(e,t){var r=d(),n="navigate";return u>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},m=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},_=function(e,t,r,n){var i,a;return function(o){t.value>=0&&(o||n)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,r),e(t))}},g=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},b=function(){m(function(e){g=e.timeStamp},!0)},v=function(){return g<0&&(g=y(),b(),c(function(){setTimeout(function(){g=y(),b()},0)})),{get firstHiddenTime(){return g}}},M=function(e,t){t=t||{};var r,n=[1800,3e3],i=v(),a=h("FCP"),o=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(l&&l.disconnect(),e.startTime<i.firstHiddenTime&&(a.value=e.startTime-f(),a.entries.push(e),r(!0)))})},s=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],l=s?null:p("paint",o);(s||l)&&(r=_(e,a,n,t.reportAllChanges),s&&o([s]),c(function(i){r=_(e,a=h("FCP"),n,t.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){a.value=performance.now()-i.timeStamp,r(!0)})})}))},S=!1,w=-1,E=function(e,t){t=t||{};var r=[.1,.25];S||(M(function(e){w=e.value}),S=!0);var n,i=function(t){w>-1&&e(t)},a=h("CLS",0),o=0,s=[],l=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=s[0],r=s[s.length-1];o&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,s.push(e)):(o=e.value,s=[e]),o>a.value&&(a.value=o,a.entries=s,n())}})},u=p("layout-shift",l);u&&(n=_(i,a,r,t.reportAllChanges),m(function(){l(u.takeRecords()),n(!0)}),c(function(){o=0,w=-1,n=_(i,a=h("CLS",0),r,t.reportAllChanges)}))},L={passive:!0,capture:!0},A=new Date,k=function(e,t){i||(i=t,a=e,o=new Date,P(removeEventListener),x())},x=function(){if(a>=0&&a<o-A){var e={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+a};s.forEach(function(t){t(e)}),s=[]}},T=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){k(e,t),i()},n=function(){i()},i=function(){removeEventListener("pointerup",r,L),removeEventListener("pointercancel",n,L)};addEventListener("pointerup",r,L),addEventListener("pointercancel",n,L)}(t,e):k(t,e)}},P=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,T,L)})},C=function(e,t){t=t||{};var r,n=[100,300],o=v(),l=h("FID"),u=function(e){e.startTime<o.firstHiddenTime&&(l.value=e.processingStart-e.startTime,l.entries.push(e),r(!0))},d=function(e){e.forEach(u)},f=p("first-input",d);r=_(e,l,n,t.reportAllChanges),f&&m(function(){d(f.takeRecords()),f.disconnect()},!0),f&&c(function(){var o;r=_(e,l=h("FID"),n,t.reportAllChanges),s=[],a=-1,i=null,P(addEventListener),o=u,s.push(o),x()})},Y=0,D=1/0,O=0,R=function(e){e.forEach(function(e){e.interactionId&&(D=Math.min(D,e.interactionId),Y=(O=Math.max(O,e.interactionId))?(O-D)/7+1:0)})},j=function(){return l?Y:performance.interactionCount||0},I=function(){"interactionCount"in performance||l||(l=p("event",R,{type:"event",buffered:!0,durationThreshold:0}))},F=0,N=function(){return j()-F},H=[],z={},U=function(e){var t=H[H.length-1],r=z[e.interactionId];if(r||H.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};z[n.id]=n,H.push(n)}H.sort(function(e,t){return t.latency-e.latency}
1),H.splice(10).forEach(function(e){delete z[e.id]})}},B=function(e,t){t=t||{};var r=[200,500];I();var n,i=h("INP"),a=function(e){e.forEach(function(e){e.interactionId&&U(e),"first-input"!==e.entryType||H.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||U(e)});var t,r=(t=Math.min(H.length-1,Math.floor(N()/50)),H[t]);r&&r.latency!==i.value&&(i.value=r.latency,i.entries=r.entries,n())},o=p("event",a,{durationThreshold:t.durationThreshold||40});n=_(e,i,r,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),m(function(){a(o.takeRecords()),i.value<0&&N()>0&&(i.value=0,i.entries=[]),n(!0)}),c(function(){H=[],F=j(),n=_(e,i=h("INP"),r,t.reportAllChanges)}))},$={},V=function(e,t){t=t||{};var r,n=[2500,4e3],i=v(),a=h("LCP"),o=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();n<i.firstHiddenTime&&(a.value=n,a.entries=[t],r())}},s=p("largest-contentful-paint",o);if(s){r=_(e,a,n,t.reportAllChanges);var l=function(){$[a.id]||(o(s.takeRecords()),s.disconnect(),$[a.id]=!0,r(!0))};["keydown","click"].forEach(function(e){addEventListener(e,l,{once:!0,capture:!0})}),m(l,!0),c(function(i){r=_(e,a=h("LCP"),n,t.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){a.value=performance.now()-i.timeStamp,$[a.id]=!0,r(!0)})})})}},W=function e(t){document.prerendering?addEventListener("prerenderingchange",function(){return e(t)},!0):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},q=function(e,t){t=t||{};var r=[800,1800],n=h("TTFB"),i=_(e,n,r,t.reportAllChanges);W(function(){var a=d();if(a){if(n.value=Math.max(a.responseStart-f(),0),n.value<0||n.value>performance.now())return;n.entries=[a],i(!0),c(function(){(i=_(e,n=h("TTFB",0),r,t.reportAllChanges))(!0)})}})};e.exports=n}()},2350:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return l},APP_DIR_ALIAS:function(){return k},CACHE_ONE_YEAR:function(){return v},DOT_NEXT_ALIAS:function(){return L},ESLINT_DEFAULT_DIRS:function(){return V},GSP_NO_RETURNED_VALUE:function(){return N},GSSP_COMPONENT_MEMBER_ERROR:function(){return U},GSSP_NO_RETURNED_VALUE:function(){return H},INSTRUMENTATION_HOOK_FILENAME:function(){return w},MIDDLEWARE_FILENAME:function(){return M},MIDDLEWARE_LOCATION_REGEXP:function(){return S},NEXT_BODY_SUFFIX:function(){return d},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return b},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return p},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return m},NEXT_CACHE_SOFT_TAGS_HEADER:function(){return h},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return y},NEXT_CACHE_TAGS_HEADER:function(){return f},NEXT_CACHE_TAG_MAX_ITEMS:function(){return _},NEXT_CACHE_TAG_MAX_LENGTH:function(){return g},NEXT_DATA_SUFFIX:function(){return u},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return n},NEXT_META_SUFFIX:function(){return c},NEXT_QUERY_PARAM_PREFIX:function(){return r},NON_STANDARD_NODE_ENV:function(){return B},PAGES_DIR_ALIAS:function(){return E},PRERENDER_REVALIDATE_HEADER:function(){return i},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return D},ROOT_DIR_ALIAS:function(){return A},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return Y},RSC_ACTION_ENCRYPTION_ALIAS:function(){return C},RSC_ACTION_PROXY_ALIAS:function(){return P},RSC_ACTION_VALIDATE_ALIAS:function(){return T},RSC_MOD_REF_PROXY_ALIAS:function(){return x},RSC_PREFETCH_SUFFIX:function(){return o},RSC_SUFFIX:function(){return s},SERVER_PROPS_EXPORT_ERROR:function(){return F},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return R},SERVER_PROPS_SSG_CONFLICT:function(){return j},SERVER_RUNTIME:function(){return W},SSG_FALLBACK_EXPORT_ERROR:function(){return $},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return O},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return I},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return z},WEBPACK_LAYERS:function(){return G},WEBPACK_RESOURCE_QUERIES:function(){return J}});let r="nxtP",n="nxtI",i="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",o=".prefetch.rsc",s=".rsc",l=".action",u=".json",c=".meta",d=".body",f="x-next-cache-tags",h="x-next-cache-soft-tags",p="x-next-revalidated-tags",m="x-next-revalidate-tag-token",_=128,g=256,y=1024,b="_N_T_",v=31536e3,M="middleware",S=`(?:src/)?${M}`,w="instrumentation",E="private-next-pages",L="private-dot-next",A="private-next-root-dir",k="private-next-app-dir",x="private-next-rsc-mod-ref-proxy",T="private-next-rsc-action-validate",P="private-next-rsc-server-reference",C="private-next-rsc-action-encryption",Y="private-next-rsc-action-client-wrapper",D="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",O="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",R="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",j="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",I="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",F="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",N="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",H="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",z="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",U="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",B='You are using a non-standard "NODE_ENV" value in y
1our environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',$="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",V=["app","pages","components","lib","src"],W={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},q={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",api:"api",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",appMetadataRoute:"app-metadata-route",appRouteHandler:"app-route-handler"},G={...q,GROUP:{serverOnly:[q.reactServerComponents,q.actionBrowser,q.appMetadataRoute,q.appRouteHandler,q.instrument],clientOnly:[q.serverSideRendering,q.appPagesBrowser],nonClientServerTarget:[q.middleware,q.api],app:[q.reactServerComponents,q.actionBrowser,q.appMetadataRoute,q.appRouteHandler,q.serverSideRendering,q.appPagesBrowser,q.shared,q.instrument]}},J={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},9423:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getProperError:function(){return a}});let n=r(5997);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return i(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},2407:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return o},isInterceptionRouteAppPath:function(){return a}});let n=r(6525),i=["(..)(..)","(.)","(..)","(...)"];function a(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function o(e){let t,r,a;for(let n of e.split("/"))if(r=i.find(e=>n.startsWith(e))){[t,a]=e.split(r,2);break}if(!t||!r||!a)throw Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":a="/"===t?`/${a}`:t+"/"+a;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);a=t.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":a="/"+a;break;case"(..)(..)":let o=t.split("/");if(o.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);a=o.slice(0,-2).concat(a).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:a}}},5152:function(e,t,r){e.exports=r(2602)},9008:function(e,t,r){e.exports=r(3867)},5675:function(e,t,r){e.exports=r(6210)},1664:function(e,t,r){e.exports=r(8342)},1163:function(e,t,r){e.exports=r(3079)},4298:function(e,t,r){e.exports=r(3381)},9299:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(3454),Buffer=__webpack_require__(8764).lW;!function(e,t){module.exports=e.pdfjsLib=t()}(globalThis,()=>(()=>{"use strict";var __webpack_modules__=[,(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.RenderingIntentFlag=t.PromiseCapability=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.MAX_IMAGE_SIZE_TO_CACHE=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.BASELINE_FACTOR=t.AnnotationType=t.AnnotationReplyType=t.AnnotationPrefix=t.AnnotationMode=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.assert=R,t.bytesToString=q,t.createValidAbsoluteUrl=I,t.getModificationDate=eu,t.getUuid=ep,t.getVerbosityLevel=C,t.info=Y,t.isArrayBuffer=es,t.isArrayEqual=el,t.isNodeJS=void 0,t.normalizeUnicode=eh,t.objectFromMap=X,t.objectSize=K,t.setVerbosityLevel=P,t.shadow=F,t.string32=J,t.stringToBytes=G,t.stringToPDFString=ei,t.stringToUTF8String=ea,t.unreachable=O,t.utf8StringToString=eo,t.warn=D;let r="object"==typeof process&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=r;let n=[1,0,0,1,0,0];t.IDENTITY_MATRIX=n;let i=[.001,0,0,.001,0,0];t.FONT_IDENTITY_MATRIX=i;let a=1e7;t.MAX_IMAGE_SIZE_TO_CACHE=a;let o=1.35;t.LINE_FACTOR=o;let s=.35;t.LINE_DESCENT_FACTOR=s;let l=s/o;t.BASELINE_FACTOR=l;let u={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OP
1LIST:256};t.RenderingIntentFlag=u;let c={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};t.AnnotationMode=c;let d="pdfjs_internal_editor_";t.AnnotationEditorPrefix=d;let f={DISABLE:-1,NONE:0,FREETEXT:3,STAMP:13,INK:15};t.AnnotationEditorType=f;let h={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23};t.AnnotationEditorParamsType=h;let p={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.PermissionFlag=p;let m={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.TextRenderingMode=m;let _={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.ImageKind=_;let g={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationType=g;let y={GROUP:"Group",REPLY:"R"};t.AnnotationReplyType=y;let b={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFlag=b;let v={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationFieldFlag=v;let M={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.AnnotationBorderStyleType=M;let S={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};t.AnnotationActionEventType=S;let w={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};t.DocumentActionEventType=w;let E={O:"PageOpen",C:"PageClose"};t.PageActionEventType=E;let L={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=L;let A={NONE:0,BINARY:1};t.CMapCompressionType=A;let k={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.OPS=k;let x={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};t.PasswordResponses=x;let T=L.WARNINGS;function P(e){Number.isInteger(e)&&(T=e)}function C(){return T}function Y(e){T>=L.INFOS&&console.log(`Info: ${e}`)}function D(e){T>=L.WARNINGS&&console.log(`Warning: ${e}`)}function O(e){throw Error(e)}function R(e,t){e||O(t)}function j(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function I(e,t=null,r=null){if(!e)return null;try{if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){let t=e.match(/\./g);t?.length>=2&&(e=`http://${e}`)}if(r.tryConvertEncoding)try{e=ea(e)}catch{}}let n=t?new URL(e,t):new URL(e);if(j(n))return n}catch{}return null}function F(e,t,r,n=!1){return Object.defineProperty(e,t,{value:r,enumerable:!n,configurable:!0,writable:!1}),r}let N=function(){function e(t,r){this.constructor===e&&O("Cannot initialize BaseException."),this.message=t,this.name=r}return e.prototype=Error(),e.constructor=e,e}();t.BaseException=N;class H extends N{constructor(e,t){super(e,"PasswordException"),this.code=t}}t.PasswordException=H;class z extends N{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}}t.UnknownErrorException=z;class U extends N{constructor(e){super(e,"InvalidPDFException")}}t.InvalidPDFException=U;class B extends N{constructor(e){super(e,"MissingPDFException")}}t.MissingPDFException=B;class $ extends N{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}}t.UnexpectedResponseException=$;class V extends N{constructor(e){super(e,"FormatError")}}t.FormatError=V;class W extends N{constructor(e){super(e,"AbortException")}}function q(e){("object"!=typeof e||e?.length===void 0)&&O("Invalid argument for bytesToString");let t=e.length,r=8192;if(t<8192)return String.fromCharCode.apply(null,e);let n=[];for(let i=0;i<t;i+=r){let a=Math.min(i+r,t),o=e.subarray(i,a);n.push(String.fromCharCode.apply(null,o))}return n.join("")}function G(e){"string"!=typeof e&&O("Invalid argument for stringToBytes");let t=e.length,r=new Uint8Array(t);for(let n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function J(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function K(e){return Object.keys(e).length}function X(e){let t=Object.create(null);for(let[r,n]of e)t[r]=n;return t}function Z(){let e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}function Q(){try{return Function(""),!0}catch{return!1}}t.AbortException=W;class ee{static get isLittleEndian(){return F(this,"isLittleEndian",Z())}static get isEvalSupported(){return F(this,"isEvalSupported",Q())}static get isOffscreenCanvasSupported(){return F(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"==typeof navigator?F(this,"platform",{isWin:!1,isMac:!1}):F(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}static get isCSSRoundSupported(){return F(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}t.FeatureTest=ee;let et=[...Array(256).keys()].map(e=>e.toString(16).padStart(2,"0"));class er{static makeHexColor(e,t,r){return`#${et[e]}${et[t]}${et[r]}`}static scaleMinMax(e,t){let r;e[0]?(e[0]<0&&(r=t[0],t[0]=t[1],t[1]=r),t[0]*=e[0],t[1]*=e[0],e[3]<0&&(r=t[2],t[2]=t[3],t[3]=r),t[2]*=e[3],t[3]*=e[3]):(r=t[0],t[0]=t[2],t[2]=r,r=t[1],t[1]=t[3],t[3]=r,e[1]<0&&(r=t[2],t[2]=t[3],t[3]=r),t[2]*=e[1],t[3]*=e[1],e[2]<0&&(r=t[0],t[0]=t[1],t[1]=r),t[0]*=e[2],t[1]*=e[2]),t[0]+=e[4],t[1]+=e[4],t[2]+=e[5],t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){let r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}static getAxialAlignedBoundingBox(e,t){let r=this.applyTransform(e,t),n=this.applyTransform(e.slice(2,4),t),i=this.applyTransform([e[0],e[3]],t),a=this.applyTransform([e[2],e[1]],t);return[Math.min(r[0],n[0],i[0],a[0]),Math.min(r[1],n[1],i[1],a[1]),Math.max(r[0],n[0],i[0],a[0]),Math.max(r[1],n[1],i[1],a[1])]}static inverseTransform(e){let t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){let t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],a=e[2]*t[1]+e[3]*t[3],o=(r+a)/2,s=Math.sqrt((r+a)**2-4*(r*a-i*n))/2;return[Math.sqrt(o+s||1),Math.sqrt(o-s||1)]}static normalizeRect(e){let t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){let r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),n=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>n)return null;let i=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),a=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return i>a?null:[r,i,n,a]}static bezierBoundingBox(e,t,r,n,i,a,o,s){let l,u,c,d,f,h,p,m;let _=[],g=[[],[]];for(let g=0;g<2;++g){if(0===g?(u=6*e-12*r+6*i,l=-3*e+9*r-9*i+3*o,c=3*r-3*e):(u=6*t-12*n+6*a,l=-3*t+9*n-9*a+3*s,c=3*n-3*t),1e-12>Math.abs(l)){if(1e-12>Math.abs(u))continue;0<(d=-c/u)&&d<1&&_.push(d);continue}m=Math.sqrt(p=u*u-4*c*l),!(p<0)&&(0<(f=(-u+m)/(2*l))&&f<1&&_.push(f),0<(h=(-u-m)/(2*l))&&h<1&&_.push(h))}let y=_.length,b,v=y;for(;y--;
1)b=1-(d=_[y]),g[0][y]=b*b*b*e+3*b*b*d*r+3*b*d*d*i+d*d*d*o,g[1][y]=b*b*b*t+3*b*b*d*n+3*b*d*d*a+d*d*d*s;return g[0][v]=e,g[1][v]=t,g[0][v+1]=o,g[1][v+1]=s,g[0].length=g[1].length=v+2,[Math.min(...g[0]),Math.min(...g[1]),Math.max(...g[0]),Math.max(...g[1])]}}t.Util=er;let en=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function ei(e){if(e[0]>="\xef"){let t;if("\xfe"===e[0]&&"\xff"===e[1]?t="utf-16be":"\xff"===e[0]&&"\xfe"===e[1]?t="utf-16le":"\xef"===e[0]&&"\xbb"===e[1]&&"\xbf"===e[2]&&(t="utf-8"),t)try{let r=new TextDecoder(t,{fatal:!0}),n=G(e);return r.decode(n)}catch(e){D(`stringToPDFString: "${e}".`)}}let t=[];for(let r=0,n=e.length;r<n;r++){let n=en[e.charCodeAt(r)];t.push(n?String.fromCharCode(n):e.charAt(r))}return t.join("")}function ea(e){return decodeURIComponent(escape(e))}function eo(e){return unescape(encodeURIComponent(e))}function es(e){return"object"==typeof e&&e?.byteLength!==void 0}function el(e,t){if(e.length!==t.length)return!1;for(let r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0}function eu(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")}class ec{#e=!1;constructor(){this.promise=new Promise((e,t)=>{this.resolve=t=>{this.#e=!0,e(t)},this.reject=e=>{this.#e=!0,t(e)}})}get settled(){return this.#e}}t.PromiseCapability=ec;let ed=null,ef=null;function eh(e){return ed||(ed=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,ef=new Map([["ſt","ſt"]])),e.replaceAll(ed,(e,t,r)=>t?t.normalize("NFKC"):ef.get(r))}function ep(){if("undefined"!=typeof crypto&&"function"==typeof crypto?.randomUUID)return crypto.randomUUID();let e=new Uint8Array(32);if("undefined"!=typeof crypto&&"function"==typeof crypto?.getRandomValues)crypto.getRandomValues(e);else for(let t=0;t<32;t++)e[t]=Math.floor(255*Math.random());return q(e)}let em="pdfjs_internal_id_";t.AnnotationPrefix=em},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultFilterFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,Object.defineProperty(exports,"SVGGraphics",{enumerable:!0,get:function(){return _displaySvg.SVGGraphics}}),exports.build=void 0,exports.getDocument=getDocument,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(3),_display_utils=__w_pdfjs_require__(6),_font_loader=__w_pdfjs_require__(9),_displayNode_utils=__w_pdfjs_require__(10),_canvas=__w_pdfjs_require__(11),_worker_options=__w_pdfjs_require__(14),_message_handler=__w_pdfjs_require__(15),_metadata=__w_pdfjs_require__(16),_optional_content_config=__w_pdfjs_require__(17),_transport_stream=__w_pdfjs_require__(18),_displayFetch_stream=__w_pdfjs_require__(19),_displayNetwork=__w_pdfjs_require__(22),_displayNode_stream=__w_pdfjs_require__(23),_displaySvg=__w_pdfjs_require__(24),_xfa_text=__w_pdfjs_require__(25);let DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,DELAYED_CLEANUP_TIMEOUT=5e3,DefaultCanvasFactory=_util.isNodeJS?_displayNode_utils.NodeCanvasFactory:_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_util.isNodeJS?_displayNode_utils.NodeCMapReaderFactory:_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultFilterFactory=_util.isNodeJS?_displayNode_utils.NodeFilterFactory:_display_utils.DOMFilterFactory;exports.DefaultFilterFactory=DefaultFilterFactory;let DefaultStandardFontDataFactory=_util.isNodeJS?_displayNode_utils.NodeStandardFontDataFactory:_display_utils.DOMStandardFontDataFactory;function getDocument(e){if("string"==typeof e||e instanceof URL?e={url:e}:(0,_util.isArrayBuffer)(e)&&(e={data:e}),"object"!=typeof e)throw Error("Invalid parameter in getDocument, need parameter object.");if(!e.url&&!e.data&&!e.range)throw Error("Invalid parameter object: need either .data, .range or .url");let t=new PDFDocumentLoadingTask,{docId:r}=t,n=e.url?getUrlProp(e.url):null,i=e.data?getDataProp(e.data):null,a=e.httpHeaders||null,o=!0===e.withCredentials,s=e.password??null,l=e.range instanceof PDFDataRangeTransport?e.range:null,u=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:DEFAULT_RANGE_CHUNK_SIZE,c=e.worker instanceof PDFWorker?e.worker:null,d=e.verbosity,f="string"!=typeof e.docBaseUrl||(0,_display_utils.isDataScheme)(e.docBaseUrl)?null:e.docBaseUrl,h="string"==typeof e.cMapUrl?e.cMapUrl:null,p=!1!==e.cMapPacked,m=e.CMapReaderFactory||DefaultCMapReaderFactory,_="string"==typeof e.standardFontDataUrl?e.standardFontDataUrl:null,g=e.StandardFontDataFactory||DefaultStandardFontDataFactory,y=!0!==e.stopAtErrors,b=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,v=!1!==e.isEvalSupported,M="boolean"==typeof e.isOffscreenCanvasSupported?e.isOffscreenCanvasSupported:!_util.isNodeJS,S=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,w="boolean"==typeof e.disableFontFace?e.disableFontFace:_util.isNodeJS,E=!0===e.fontExtraProperties,L=!0===e.enableXfa,A=e.ownerDocument||globalThis.document,k=!0===e.disableRange,x=!0===e.disableStream,T=!0===e.disableAutoFetch,P=!0===e.pdfBug,C=l?l.length:e.length??NaN,Y="boolean"==typeof e.useSystemFonts?e.useSystemFonts:!_util.isNodeJS&&!w,D="boolean"==typeof e.useWorkerFetch?e.useWorkerFetch:m===_display_utils.DOMCMapReaderFactory&&g===_display_utils.DOMStandardFontDataFactory&&h&&_&&(0,_display_utils.isValidFetchUrl)(h,document.baseURI)&&(0,_display_utils.isValidFetchUrl)(_,document.baseURI),O=e.canvasFactory||new DefaultCanvasFactory({ownerDocument:A}),R=e.filterFactory||new DefaultFilterFactory({docId:r,ownerDocument:A}),j=null;(0,_util.setVerbosityLevel)(d);let I={canvasFactory:O,filterFactory:R};
1if(D||(I.cMapReaderFactory=new m({baseUrl:h,isCompressed:p}),I.standardFontDataFactory=new g({baseUrl:_})),!c){let e={verbosity:d,port:_worker_options.GlobalWorkerOptions.workerPort};c=e.port?PDFWorker.fromPort(e):new PDFWorker(e),t._worker=c}let F={docId:r,apiVersion:"3.11.174",data:i,password:s,disableAutoFetch:T,rangeChunkSize:u,length:C,docBaseUrl:f,enableXfa:L,evaluatorOptions:{maxImageSize:b,disableFontFace:w,ignoreErrors:y,isEvalSupported:v,isOffscreenCanvasSupported:M,canvasMaxAreaInBytes:S,fontExtraProperties:E,useSystemFonts:Y,cMapUrl:D?h:null,standardFontDataUrl:D?_:null}},N={ignoreErrors:y,isEvalSupported:v,disableFontFace:w,fontExtraProperties:E,enableXfa:L,ownerDocument:A,disableAutoFetch:T,pdfBug:P,styleElement:j};return c.promise.then(function(){if(t.destroyed)throw Error("Loading aborted");return Promise.all([_fetchDocument(c,F),new Promise(function(e){let t,r;l?t=new _transport_stream.PDFDataTransportStream({length:C,initialData:l.initialData,progressiveDone:l.progressiveDone,contentDispositionFilename:l.contentDispositionFilename,disableRange:k,disableStream:x},l):i||(r={url:n,length:C,httpHeaders:a,withCredentials:o,rangeChunkSize:u,disableRange:k,disableStream:x},t=_util.isNodeJS?new _displayNode_stream.PDFNodeStream(r):(0,_display_utils.isValidFetchUrl)(r.url)?new _displayFetch_stream.PDFFetchStream(r):new _displayNetwork.PDFNetworkStream(r)),e(t)})]).then(function([e,n]){if(t.destroyed)throw Error("Loading aborted");let i=new _message_handler.MessageHandler(r,e,c.port),a=new WorkerTransport(i,t,n,N,I);t._transport=a,i.send("Ready",null)})}).catch(t._capability.reject),t}async function _fetchDocument(e,t){if(e.destroyed)throw Error("Worker was destroyed");let r=await e.messageHandler.sendWithPromise("GetDocRequest",t,t.data?[t.data.buffer]:null);if(e.destroyed)throw Error("Worker was destroyed");return r}function getUrlProp(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(_util.isNodeJS&&"string"==typeof e)return e}throw Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function getDataProp(e){if(_util.isNodeJS&&void 0!==Buffer&&e instanceof Buffer)throw Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if("string"==typeof e)return(0,_util.stringToBytes)(e);if("object"==typeof e&&!isNaN(e?.length)||(0,_util.isArrayBuffer)(e))return new Uint8Array(e);throw Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory;class PDFDocumentLoadingTask{static #t=0;constructor(){this._capability=new _util.PromiseCapability,this._transport=null,this._worker=null,this.docId=`d${PDFDocumentLoadingTask.#t++}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){this.destroyed=!0;try{this._worker?.port&&(this._worker._pendingDestroy=!0),await this._transport?.destroy()}catch(e){throw this._worker?.port&&delete this._worker._pendingDestroy,e}this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(e,t,r=!1,n=null){this.length=e,this.initialData=t,this.progressiveDone=r,this.contentDispositionFilename=n,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=new _util.PromiseCapability}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(let r of this._rangeListeners)r(e,t)}onDataProgress(e,t){this._readyCapability.promise.then(()=>{for(let r of this._progressListeners)r(e,t)})}onDataProgressiveRead(e){this._readyCapability.promise.then(()=>{for(let t of this._progressiveReadListeners)t(e)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(let e of this._progressiveDoneListeners)e()})}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(e,t){this._pdfInfo=e,this._transport=t,Object.defineProperty(this,"getJavaScript",{value:()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getJavaScript`, please use `PDFDocumentProxy.getJSActions` instead."),this.getJSActions().then(e=>{if(!e)return e;let t=[];for(let r in e)t.push(...e[r]);return t}))})}get annotationStorage(){return this._transport.annotationStorage}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return(0,_util.shadow)(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}
1getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{#r=null;#n=!1;constructor(e,t,r,n=!1){this._pageIndex=e,this._pageInfo=t,this._transport=r,this._stats=n?new _display_utils.StatTimer:null,this._pdfBug=n,this.commonObjs=r.commonObjs,this.objs=new PDFObjects,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:r=0,offsetY:n=0,dontFlip:i=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:e,rotation:t,offsetX:r,offsetY:n,dontFlip:i})}getAnnotations({intent:e="display"}={}){let t=this._transport.getRenderingIntent(e);return this._transport.getAnnotations(this._pageIndex,t.renderingIntent)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return(0,_util.shadow)(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:e,viewport:t,intent:r="display",annotationMode:n=_util.AnnotationMode.ENABLE,transform:i=null,background:a=null,optionalContentConfigPromise:o=null,annotationCanvasMap:s=null,pageColors:l=null,printAnnotationStorage:u=null}){this._stats?.time("Overall");let c=this._transport.getRenderingIntent(r,n,u);this.#n=!1,this.#i(),o||(o=this._transport.getOptionalContentConfig());let d=this._intentStates.get(c.cacheKey);d||(d=Object.create(null),this._intentStates.set(c.cacheKey,d)),d.streamReaderCancelTimeout&&(clearTimeout(d.streamReaderCancelTimeout),d.streamReaderCancelTimeout=null);let f=!!(c.renderingIntent&_util.RenderingIntentFlag.PRINT);d.displayReadyCapability||(d.displayReadyCapability=new _util.PromiseCapability,d.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(c));let h=e=>{d.renderTasks.delete(p),(this._maybeCleanupAfterRender||f)&&(this.#n=!0),this.#a(!f),e?(p.capability.reject(e),this._abortOperatorList({intentState:d,reason:e instanceof Error?e:Error(e)})):p.capability.resolve(),this._stats?.timeEnd("Rendering"),this._stats?.timeEnd("Overall")},p=new InternalRenderTask({callback:h,params:{canvasContext:e,viewport:t,transform:i,background:a},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:s,operatorList:d.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!f,pdfBug:this._pdfBug,page
1Colors:l});(d.renderTasks||=new Set).add(p);let m=p.task;return Promise.all([d.displayReadyCapability.promise,o]).then(([e,t])=>{if(this.destroyed){h();return}this._stats?.time("Rendering"),p.initializeGraphics({transparency:e,optionalContentConfig:t}),p.operatorListChanged()}).catch(h),m}getOperatorList({intent:e="display",annotationMode:t=_util.AnnotationMode.ENABLE,printAnnotationStorage:r=null}={}){let n;function i(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(n))}let a=this._transport.getRenderingIntent(e,t,r,!0),o=this._intentStates.get(a.cacheKey);return o||(o=Object.create(null),this._intentStates.set(a.cacheKey,o)),o.opListReadCapability||((n=Object.create(null)).operatorListChanged=i,o.opListReadCapability=new _util.PromiseCapability,(o.renderTasks||=new Set).add(n),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(a)),o.opListReadCapability.promise}streamTextContent({includeMarkedContent:e=!1,disableNormalization:t=!1}={}){let r=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:!0===e,disableNormalization:!0===t},{highWaterMark:r,size:e=>e.items.length})}getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then(e=>_xfa_text.XfaText.textContent(e));let t=this.streamTextContent(e);return new Promise(function(e,r){function n(){i.read().then(function({value:t,done:r}){if(r){e(a);return}Object.assign(a.styles,t.styles),a.items.push(...t.items),n()},r)}let i=t.getReader(),a={items:[],styles:Object.create(null)};n()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;let e=[];for(let t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(let r of t.renderTasks)e.push(r.completed),r.cancel();return this.objs.clear(),this.#n=!1,this.#i(),Promise.all(e)}cleanup(e=!1){this.#n=!0;let t=this.#a(!1);return e&&t&&(this._stats&&=new _display_utils.StatTimer),t}#a(e=!1){if(this.#i(),!this.#n||this.destroyed)return!1;if(e)return this.#r=setTimeout(()=>{this.#r=null,this.#a(!1)},DELAYED_CLEANUP_TIMEOUT),!1;for(let{renderTasks:e,operatorList:t}of this._intentStates.values())if(e.size>0||!t.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this.#n=!1,!0}#i(){this.#r&&(clearTimeout(this.#r),this.#r=null)}_startRenderPage(e,t){let r=this._intentStates.get(t);r&&(this._stats?.timeEnd("Page Request"),r.displayReadyCapability?.resolve(e))}_renderPageChunk(e,t){for(let r=0,n=e.length;r<n;r++)t.operatorList.fnArray.push(e.fnArray[r]),t.operatorList.argsArray.push(e.argsArray[r]);for(let r of(t.operatorList.lastChunk=e.lastChunk,t.operatorList.separateAnnots=e.separateAnnots,t.renderTasks))r.operatorListChanged();e.lastChunk&&this.#a(!0)}_pumpOperatorList({renderingIntent:e,cacheKey:t,annotationStorageSerializable:r}){let{map:n,transfers:i}=r,a=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:e,cacheKey:t,annotationStorage:n},i).getReader(),o=this._intentStates.get(t);o.streamReader=a;let s=()=>{a.read().then(({value:e,done:t})=>{if(t){o.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(e,o),s())},e=>{if(o.streamReader=null,!this._transport.destroyed){if(o.operatorList){for(let e of(o.operatorList.lastChunk=!0,o.renderTasks))e.operatorListChanged();this.#a(!0)}if(o.displayReadyCapability)o.displayReadyCapability.reject(e);else if(o.opListReadCapability)o.opListReadCapability.reject(e);else throw e}})};s()}_abortOperatorList({intentState:e,reason:t,force:r=!1}){if(e.streamReader){if(e.streamReaderCancelTimeout&&(clearTimeout(e.streamReaderCancelTimeout),e.streamReaderCancelTimeout=null),!r){if(e.renderTasks.size>0)return;if(t instanceof _display_utils.RenderingCancelledException){let r=RENDERING_CANCELLED_TIMEOUT;t.extraDelay>0&&t.extraDelay<1e3&&(r+=t.extraDelay),e.streamReaderCancelTimeout=setTimeout(()=>{e.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:e,reason:t,force:!0})},r);return}}if(e.streamReader.cancel(new _util.AbortException(t.message)).catch(()=>{}),e.streamReader=null,!this._transport.destroyed){for(let[t,r]of this._intentStates)if(r===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{#o=new Set;#s=Promise.resolve();postMessage(e,t){let r={data:structuredClone(e,t?{transfer:t}:null)};this.#s.then(()=>{for(let e of this.#o)e.call(this,r)})}addEventListener(e,t){this.#o.add(t)}removeEventListener(e,t){this.#o.delete(t)}terminate(){this.#o.clear()}}exports.LoopbackPort=LoopbackPort;let PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_util.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){let pdfjsFilePath=document?.currentScript?.src;pdfjsFilePath&&(PDFWorkerUtil.fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(e,t){let r;try{if(!(r=new URL(e)).origin||"null"===r.origin)return!1}catch{return!1}let n=new URL(t,r);return r.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(e){let t=`importScripts("${e}");`;return URL.createObjectURL(new Blob([t]))};class PDFWorker{static #l;constructor({name:e=null,port:t=null,verbosity:r=(0,_util.getVerbosityLevel)()}={}){if(this.name=e,this.destroyed=!1,this.verbosity=r,this._readyCapability=new _util.PromiseCapability,this._port=null,this._webWorker=null,this._messageHandler=null,t){if(PDFWorker.#l?.has(t))throw Error("Cannot use more than one PDFWorker per port.");(PDFWorker.#l||=new WeakMap).set(t,this),this._initializeFromPort(t);return}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:e}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,e)||(e=PDFWorkerUtil.createCDNWrapper(new URL(e,window.location).href));let t=new Worker(e),r=new _message_handler.MessageHandler("main","worker",t),n=()=>{t.removeEventListener("error",i),r.destroy(),t.terminate(),this.destroyed?this._readyCapability.reject(Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||n()};t.addEventListener("error",i),r.on("test",e=>{if(t.removeEventListener("error",i),this.destroyed){n();return}e?(this._messageHandler=r,this._port=t,this._webWorker=t,this._readyCapability.resolve(),r.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),r.destroy(),t.terminate())}),r.on("ready",e=>{if(t.removeEventListener("error",i),this.destroyed){n();return}try{a()}catch{this._setupFakeWorker()}});let a=()=>{let e=new Uint8Array;r.send("test",e,[e.buffer])};a();return}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(e=>{if(this.destroyed){this._readyCapability.reject(Error("Worker was destroyed"));return}let t=new LoopbackPort;this._port=t;let r=`fake${PDFWorkerUtil.fakeWorkerId++}`,n=new _message_handler.MessageHandler(r+"_worker",r,t);e.setup(n,t);let i=new _message_handler.MessageHandler(r,r+"_worker",t);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})}).catch(e=>{this._readyCapability.reject(Error(`Setting up fake worker failed: "${e.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#l?.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(e){if(!e?.port)throw Error("PDFWorker.fromPort - invalid method signature.");let t=this.#l?.get(e.port);
1if(t){if(t._pendingDestroy)throw Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return t}return new PDFWorker(e)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _util.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){let loader=async()=>{let mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_util.isNodeJS){let worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await (0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker;class WorkerTransport{#u=new Map;#c=new Map;#d=new Map;#f=null;constructor(e,t,r,n,i){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({ownerDocument:n.ownerDocument,styleElement:n.styleElement}),this._params=n,this.canvasFactory=i.canvasFactory,this.filterFactory=i.filterFactory,this.cMapReaderFactory=i.cMapReaderFactory,this.standardFontDataFactory=i.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=new _util.PromiseCapability,this.setupMessageHandler()}#h(e,t=null){let r=this.#u.get(e);if(r)return r;let n=this.messageHandler.sendWithPromise(e,t);return this.#u.set(e,n),n}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}getRenderingIntent(e,t=_util.AnnotationMode.ENABLE,r=null,n=!1){let i=_util.RenderingIntentFlag.DISPLAY,a=_annotation_storage.SerializableEmpty;switch(e){case"any":i=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":i=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${e}`)}switch(t){case _util.AnnotationMode.DISABLE:i+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:i+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:a=((i+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE)&_util.RenderingIntentFlag.PRINT&&r instanceof _annotation_storage.PrintAnnotationStorage?r:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${t}`)}return n&&(i+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:i,cacheKey:`${i}_${a.hash}`,annotationStorageSerializable:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=new _util.PromiseCapability,this.#f?.reject(Error("Worker was destroyed during onPassword callback"));let e=[];for(let t of this.#c.values())e.push(t._destroy());this.#c.clear(),this.#d.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();let t=this.messageHandler.sendWithPromise("Terminate",null);return e.push(t),Promise.all(e).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#u.clear(),this.filterFactory.destroy(),this._networkStream?.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){let{messageHandler:e,loadingTask:t}=this;e.on("GetReader",(e,t)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then(function({value:e,done:r}){if(r){t.close();return}(0,_util.assert)(e instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e])}).catch(e=>{t.error(e)})},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch(e=>{if(!this.destroyed)throw e})}}),e.on("ReaderHeadersReady",e=>{let r=new _util.PromiseCapability,n=this._fullReader;return n.headersReady.then(()=>{n.isStreamingSupported&&n.isRangeSupported||(this._lastProgress&&t.onProgress?.(this._lastProgress),n.onProgress=e=>{t.onProgress?.({loaded:e.loaded,total:e.total})}),r.resolve({isStreamingSupported:n.isStreamingSupported,isRangeSupported:n.isRangeSupported,contentLength:n.contentLength})},r.reject),r.promise}),e.on("GetRangeReader",(e,t)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");let r=this._networkStream.getRangeReader(e.begin,e.end);if(!r){t.close();return}t.onPull=()=>{r.read().then(function({value:e,done:r}){if(r){t.close();return}(0,_util.assert)(e instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e])}).catch(e=>{t.error(e)})},t.onCancel=e=>{r.cancel(e),t.ready.catch(e=>{if(!this.destroyed)throw e})}}),e.on("GetDoc",({pdfInfo:e})=>{this._numPages=e.numPages,this._htmlForXfa=e.htmlForXfa,delete e.htmlForXfa,t._capability.resolve(new PDFDocumentProxy(e,this))}),e.on("DocException",function(e){let r;switch(e.name){case"PasswordException":r=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":r=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":r=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":r=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":r=new _util.UnknownErrorException(e.message,e.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}t._capability.reject(r)}),e.on("PasswordRequest",e=>{if(this.#f=new _util.PromiseCapability,t.onPassword){let r=e=>{e instanceof Error?this.#f.reject(e):this.#f.resolve({password:e})};try{t.onPassword(r,e.code)}catch(e){this.#f.reject(e)}}else this.#f.reject(new _util.PasswordException(e.message,e.code));return this.#f.promise}),e.on("DataLoaded",e=>{t.onProgress?.({loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)}),e.on("StartRenderPage",e=>{this.destroyed||this.#c.get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)}),e.on("commonobj",([t,r,n])=>{if(!(this.destroyed||this.commonObjs.has(t)))switch(r){case"Font":let i=this._params;if("error"in n){let e=n.error;(0,_util.warn)(`Error during font loading: ${e}`),this.commonObjs.resolve(t,e);break}let a=i.pdfBug&&globalThis.FontInspector?.enabled?(e,t)=>globalThis.FontInspector.fontAdded(e,t):null,o=new _font_loader.FontFaceObject(n,{isEvalSupported:i.isEvalSupported,disableFontFace:i.disableFontFace,ignoreErrors:i.ignoreErrors,inspectFont:a});this.fontLoader.bind(o).catch(r=>
1e.sendWithPromise("FontFallback",{id:t})).finally(()=>{!i.fontExtraProperties&&o.data&&(o.data=null),this.commonObjs.resolve(t,o)});break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(t,n);break;default:throw Error(`Got unknown common object type ${r}`)}}),e.on("obj",([e,t,r,n])=>{if(this.destroyed)return;let i=this.#c.get(t);if(!i.objs.has(e))switch(r){case"Image":if(i.objs.resolve(e,n),n){let e;if(n.bitmap){let{width:t,height:r}=n;e=t*r*4}else e=n.data?.length||0;e>_util.MAX_IMAGE_SIZE_TO_CACHE&&(i._maybeCleanupAfterRender=!0)}break;case"Pattern":i.objs.resolve(e,n);break;default:throw Error(`Got unknown object type ${r}`)}}),e.on("DocProgress",e=>{this.destroyed||t.onProgress?.({loaded:e.loaded,total:e.total})}),e.on("FetchBuiltInCMap",e=>this.destroyed?Promise.reject(Error("Worker was destroyed.")):this.cMapReaderFactory?this.cMapReaderFactory.fetch(e):Promise.reject(Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),e.on("FetchStandardFontData",e=>this.destroyed?Promise.reject(Error("Worker was destroyed.")):this.standardFontDataFactory?this.standardFontDataFactory.fetch(e):Promise.reject(Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){this.annotationStorage.size<=0&&(0,_util.warn)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");let{map:e,transfers:t}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:e,filename:this._fullReader?.filename??null},t).finally(()=>{this.annotationStorage.resetModified()})}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(Error("Invalid page request."));let t=e-1,r=this.#d.get(t);if(r)return r;let n=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then(e=>{if(this.destroyed)throw Error("Transport destroyed");let r=new PDFPageProxy(t,e,this,this._params.pdfBug);return this.#c.set(t,r),r});return this.#d.set(t,n),n}getPageIndex(e){return"object"!=typeof e||null===e||!Number.isInteger(e.num)||e.num<0||!Number.isInteger(e.gen)||e.gen<0?Promise.reject(Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:e.num,gen:e.gen})}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}getFieldObjects(){return this.#h("GetFieldObjects")}hasJSActions(){return this.#h("HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!=typeof e?Promise.reject(Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return this.#h("GetDocJSActions")}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(e=>new _optional_content_config.OptionalContentConfig(e))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){let e="GetMetadata",t=this.#u.get(e);if(t)return t;
1let r=this.messageHandler.sendWithPromise(e,null).then(e=>({info:e[0],metadata:e[1]?new _metadata.Metadata(e[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}));return this.#u.set(e,r),r}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(e=!1){if(!this.destroyed){for(let e of(await this.messageHandler.sendWithPromise("Cleanup",null),this.#c.values()))if(!e.cleanup())throw Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`);this.commonObjs.clear(),e||this.fontLoader.clear(),this.#u.clear(),this.filterFactory.destroy(!0)}}get loadingParams(){let{disableAutoFetch:e,enableXfa:t}=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e,enableXfa:t})}}class PDFObjects{#p=Object.create(null);#m(e){return this.#p[e]||={capability:new _util.PromiseCapability,data:null}}get(e,t=null){if(t){let r=this.#m(e);return r.capability.promise.then(()=>t(r.data)),null}let r=this.#p[e];if(!r?.capability.settled)throw Error(`Requesting object that isn't resolved yet ${e}.`);return r.data}has(e){let t=this.#p[e];return t?.capability.settled||!1}resolve(e,t=null){let r=this.#m(e);r.data=t,r.capability.resolve()}clear(){for(let e in this.#p){let{data:t}=this.#p[e];t?.bitmap?.close()}this.#p=Object.create(null)}}class RenderTask{#_=null;constructor(e){this.#_=e,this.onContinue=null}get promise(){return this.#_.capability.promise}cancel(e=0){this.#_.cancel(null,e)}get separateAnnots(){let{separateAnnots:e}=this.#_.operatorList;if(!e)return!1;let{annotationCanvasMap:t}=this.#_;return e.form||e.canvas&&t?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static #g=new WeakSet;constructor({callback:e,params:t,objs:r,commonObjs:n,annotationCanvasMap:i,operatorList:a,pageIndex:o,canvasFactory:s,filterFactory:l,useRequestAnimationFrame:u=!1,pdfBug:c=!1,pageColors:d=null}){this.callback=e,this.params=t,this.objs=r,this.commonObjs=n,this.annotationCanvasMap=i,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=o,this.canvasFactory=s,this.filterFactory=l,this._pdfBug=c,this.pageColors=d,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===u&&"undefined"!=typeof window,this.cancelled=!1,this.capability=new _util.PromiseCapability,this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:e=!1,optionalContentConfig:t}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#g.has(this._canvas))throw Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#g.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());let{canvasContext:r,viewport:n,transform:i,background:a}=this.params;this.gfx=new _canvas.CanvasGraphics(r,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:t},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:i,viewport:n,transparency:e,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}cancel(e=null,t=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),InternalRenderTask.#g.delete(this._canvas),this.callback(e||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,t))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||=this._continueBound;return}this.stepper?.updateOperatorList(this.operatorList),this.running||this._continue()}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}
1):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){!this.cancelled&&(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),InternalRenderTask.#g.delete(this._canvas),this.callback())))}}let version="3.11.174";exports.version=version;let build="ce8716743";exports.build=build},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SerializableEmpty=t.PrintAnnotationStorage=t.AnnotationStorage=void 0;var n=r(1),i=r(4),a=r(8);let o=Object.freeze({map:null,hash:"",transfers:void 0});t.SerializableEmpty=o;class s{#y=!1;#b=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(e,t){let r=this.#b.get(e);return void 0===r?t:Object.assign(t,r)}getRawValue(e){return this.#b.get(e)}remove(e){if(this.#b.delete(e),0===this.#b.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(let e of this.#b.values())if(e instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(e,t){let r=this.#b.get(e),n=!1;if(void 0!==r)for(let[e,i]of Object.entries(t))r[e]!==i&&(n=!0,r[e]=i);else n=!0,this.#b.set(e,t);n&&this.#v(),t instanceof i.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(t.constructor._type)}has(e){return this.#b.has(e)}getAll(){return this.#b.size>0?(0,n.objectFromMap)(this.#b):null}setAll(e){for(let[t,r]of Object.entries(e))this.setValue(t,r)}get size(){return this.#b.size}#v(){this.#y||(this.#y=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this.#y&&(this.#y=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new l(this)}get serializable(){if(0===this.#b.size)return o;let e=new Map,t=new a.MurmurHash3_64,r=[],n=Object.create(null),s=!1;for(let[r,a]of this.#b){let o=a instanceof i.AnnotationEditor?a.serialize(!1,n):a;o&&(e.set(r,o),t.update(`${r}:${JSON.stringify(o)}`),s||=!!o.bitmap)}if(s)for(let t of e.values())t.bitmap&&r.push(t.bitmap);return e.size>0?{map:e,hash:t.hexdigest(),transfers:r}:o}}t.AnnotationStorage=s;class l extends s{#M;constructor(e){super();let{map:t,hash:r,transfers:n}=e.serializable,i=structuredClone(t,n?{transfer:n}:null);this.#M={map:i,hash:r,transfers:n}}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#M}}t.PrintAnnotationStorage=l},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationEditor=void 0;var n=r(5),i=r(1),a=r(6);class o{#S="";#w=!1;#E=null;#L=null;#A=null;#k=!1;#x=null;#T=this.focusin.bind(this);#P=this.focusout.bind(this);#C=!1;#Y=!1;#D=!1;_initialOptions=Object.create(null);_uiManager=null;_focusEventsAllowed=!0;_l10nPromise=null;#O=!1;#R=o._zIndex++;static _borderLineWidth=-1;static _colorManager=new n.ColorManager;static _zIndex=1;static SMALL_EDITOR_SIZE=0;constructor(e){this.constructor===o&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=e.parent,this.id=e.id,this.width=this.height=null,this.pageIndex=e.parent.pageIndex,this.name=e.name,this.div=null,this._uiManager=e.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=e.isCentered,this._structTreeParentId=null;let{rotation:t,rawDims:{pageWidth:r,pageHeight:n,pageX:a,pageY:s}}=this.parent.viewport;this.rotation=t,this.pageRotation=(360+t-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[r,n],this.pageTranslation=[a,s];let[l,u]=this.parentDimensions;this.x=e.x/l,this.y=e.y/u,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(e){let t=new s({id:e.parent.getNextId(),parent:e.parent,uiManager:e._uiManager});t.annotationElementId=e.annotationElementId,t.deleted=!0,t._uiManager.addToAnnotationStorage(t)}
1static initialize(e,t=null){if(o._l10nPromise||=new Map(["editor_alt_text_button_label","editor_alt_text_edit_button_label","editor_alt_text_decorative_tooltip"].map(t=>[t,e.get(t)])),t?.strings)for(let r of t.strings)o._l10nPromise.set(r,e.get(r));if(-1!==o._borderLineWidth)return;let r=getComputedStyle(document.documentElement);o._borderLineWidth=parseFloat(r.getPropertyValue("--outline-width"))||0}static updateDefaultParams(e,t){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(e){return!1}static paste(e,t){(0,i.unreachable)("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#O}set _isDraggable(e){this.#O=e,this.div?.classList.toggle("draggable",e)}center(){let[e,t]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*t/(2*e),this.y+=this.width*e/(2*t);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*t/(2*e),this.y-=this.width*e/(2*t);break;default:this.x-=this.width/2,this.y-=this.height/2}this.fixAndSetPosition()}addCommands(e){this._uiManager.addCommands(e)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#R}setParent(e){null!==e&&(this.pageIndex=e.pageIndex,this.pageDimensions=e.pageDimensions),this.parent=e}focusin(e){this._focusEventsAllowed&&(this.#C?this.#C=!1:this.parent.setSelected(this))}focusout(e){if(!this._focusEventsAllowed||!this.isAttachedToDOM)return;let t=e.relatedTarget;!t?.closest(`#${this.id}`)&&(e.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(e,t,r,n){let[i,a]=this.parentDimensions;[r,n]=this.screenToPageTranslation(r,n),this.x=(e+r)/i,this.y=(t+n)/a,this.fixAndSetPosition()}#j([e,t],r,n){[r,n]=this.screenToPageTranslation(r,n),this.x+=r/e,this.y+=n/t,this.fixAndSetPosition()}translate(e,t){this.#j(this.parentDimensions,e,t)}translateInPage(e,t){this.#j(this.pageDimensions,e,t),this.div.scrollIntoView({block:"nearest"})}drag(e,t){let[r,n]=this.parentDimensions;if(this.x+=e/r,this.y+=t/n,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){let{x:e,y:t}=this.div.getBoundingClientRect();this.parent.findNewParent(this,e,t)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:i,y:a}=this,[o,s]=this.#I();i+=o,a+=s,this.div.style.left=`${(100*i).toFixed(2)}%`,this.div.style.top=`${(100*a).toFixed(2)}%`,this.div.scrollIntoView({block:"nearest"})}#I(){let[e,t]=this.parentDimensions,{_borderLineWidth:r}=o,n=r/e,i=r/t;switch(this.rotation){case 90:return[-n,i];case 180:return[n,i];case 270:return[n,-i];default:return[-n,-i]}}fixAndSetPosition(){let[e,t]=this.pageDimensions,{x:r,y:n,width:i,height:a}=this;switch(i*=e,a*=t,r*=e,n*=t,this.rotation){case 0:r=Math.max(0,Math.min(e-i,r)),n=Math.max(0,Math.min(t-a,n));break;case 90:r=Math.max(0,Math.min(e-a,r)),n=Math.min(t,Math.max(i,n));break;case 180:r=Math.min(e,Math.max(i,r)),n=Math.min(t,Math.max(a,n));break;case 270:r=Math.min(e,Math.max(a,r)),n=Math.max(0,Math.min(t-i,n))}this.x=r/=e,this.y=n/=t;let[o,s]=this.#I();r+=o,n+=s;let{style:l}=this.div;l.left=`${(100*r).toFixed(2)}%`,l.top=`${(100*n).toFixed(2)}%`,this.moveInDOM()}static #F(e,t,r){switch(r){case 90:return[t,-e];case 180:return[-e,-t];case 270:return[-t,e];default:return[e,t]}}screenToPageTranslation(e,t){return o.#F(e,t,this.parentRotation)}pageTranslationToScreen(e,t){return o.#F(e,t,360-this.parentRotation)}#N(e){switch(e){case 90:{let[e,t]=this.pageDimensions;return[0,-e/t,t/e,0]}case 180:return[-1,0,0,-1];case 270:{let[e,t]=this.pageDimensions;return[0,e/t,-t/e,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){let{parentScale:e,pageDimensions:[t,r]}=this,n=t*e,a=r*e;return i.FeatureTest.isCSSRoundSupported?[Math.round(n),Math.round(a)]:[n,a]}setDims(e,t){let[r,n]=this.parentDimensions;this.div.style.width=`${(100*e/r).toFixed(2)}%`,this.#k||(this.div.style.height=`${(100*t/n).toFixed(2)}%`),this.#E?.classList.toggle("small",e<o.SMALL_EDITOR_SIZE||t<o.SMALL_EDITOR_SIZE)}fixDims(){let{style:e}=this.div,{height:t,width:r}=e,n=r.endsWith("%"),i=!this.#k&&t.endsWith("%");if(n&&i)return;let[a,o]=this.parentDimensions;n||(e.width=`${(100*parseFloat(r)/a).toFixed(2)}%`),this.#k||i||(e.height=`${(100*parseFloat(t)/o).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}#H(){if(this.#x)return;this.#x=document.createElement("div"),this.#x.classList.add("resizers");let e=["topLeft","topRight","bottomRight","bottomLeft"];for(let t of(this._willKeepAspectRatio||e.push("topMiddle","middleRight","bottomMiddle","middleLeft"),e)){let e=document.createElement("div");this.#x.append(e),e.classList.add("resizer",t),e.addEventListener("pointerdown",this.#z.bind(this,t)),e.addEventListener("contextmenu",a.noContextMenu)}this.div.prepend(this.#x)}#z(e,t){t.preventDefault();let{isMac:r}=i.FeatureTest.platform;if(0!==t.button||t.ctrlKey&&r)return;let n=this.#U.bind(this,e),a=this._isDraggable;this._isDraggable=!1;let o={passive:!0,capture:!0};window.addEventListener("pointermove",n,o);let s=this.x,l=this.y,u=this.width,c=this.height,d=this.parent.div.style.cursor,f=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(t.target).cursor;let h=()=>{this._isDraggable=a,window.removeEventListener("pointerup",h),window.removeEventListener("blur",h),window.removeEventListener("pointermove",n,o),this.parent.div.style.cursor=d,this.div.style.cursor=f;let e=this.x,t=this.y,r=this.width,i=this.height;(e!==s||t!==l||r!==u||i!==c)&&this.addCommands({cmd:()=>{this.width=r,this.height=i,this.x=e,this.y=t;let[n,a]=this.parentDimensions;this.setDims(n*r,a*i),this.fixAndSetPosition()},undo:()=>{this.width=u,this.height=c,this.x=s,this.y=l;let[e,t]=this.parentDimensions;this.setDims(e*u,t*c),this.fixAndSetPosition()},mustExec:!0})};window.addEventListener("pointerup",h),window.addEventListener("blur",h)}#U(e,t){let r,n;let[i,a]=this.parentDimensions,s=this.x,l=this.y,u=this.width,c=this.height,d=o.MIN_SIZE/i,f=o.MIN_SIZE/a,h=e=>Math.round(1e4*e)/1e4,p=this.#N(this.rotation),m=(e,t)=>
1[p[0]*e+p[2]*t,p[1]*e+p[3]*t],_=this.#N(360-this.rotation),g=(e,t)=>[_[0]*e+_[2]*t,_[1]*e+_[3]*t],y=!1,b=!1;switch(e){case"topLeft":y=!0,r=(e,t)=>[0,0],n=(e,t)=>[e,t];break;case"topMiddle":r=(e,t)=>[e/2,0],n=(e,t)=>[e/2,t];break;case"topRight":y=!0,r=(e,t)=>[e,0],n=(e,t)=>[0,t];break;case"middleRight":b=!0,r=(e,t)=>[e,t/2],n=(e,t)=>[0,t/2];break;case"bottomRight":y=!0,r=(e,t)=>[e,t],n=(e,t)=>[0,0];break;case"bottomMiddle":r=(e,t)=>[e/2,t],n=(e,t)=>[e/2,0];break;case"bottomLeft":y=!0,r=(e,t)=>[0,t],n=(e,t)=>[e,0];break;case"middleLeft":b=!0,r=(e,t)=>[0,t/2],n=(e,t)=>[e,t/2]}let v=r(u,c),M=n(u,c),S=m(...M),w=h(s+S[0]),E=h(l+S[1]),L=1,A=1,[k,x]=this.screenToPageTranslation(t.movementX,t.movementY);if([k,x]=g(k/i,x/a),y){let e=Math.hypot(u,c);L=A=Math.max(Math.min(Math.hypot(M[0]-v[0]-k,M[1]-v[1]-x)/e,1/u,1/c),d/u,f/c)}else b?L=Math.max(d,Math.min(1,Math.abs(M[0]-v[0]-k)))/u:A=Math.max(f,Math.min(1,Math.abs(M[1]-v[1]-x)))/c;let T=h(u*L),P=h(c*A),C=w-(S=m(...n(T,P)))[0],Y=E-S[1];this.width=T,this.height=P,this.x=C,this.y=Y,this.setDims(i*T,a*P),this.fixAndSetPosition()}async addAltTextButton(){if(this.#E)return;let e=this.#E=document.createElement("button");e.className="altText";let t=await o._l10nPromise.get("editor_alt_text_button_label");if(e.textContent=t,e.setAttribute("aria-label",t),e.tabIndex="0",e.addEventListener("contextmenu",a.noContextMenu),e.addEventListener("pointerdown",e=>e.stopPropagation()),e.addEventListener("click",e=>{e.preventDefault(),this._uiManager.editAltText(this)},{capture:!0}),e.addEventListener("keydown",t=>{t.target===e&&"Enter"===t.key&&(t.preventDefault(),this._uiManager.editAltText(this))}),this.#B(),this.div.append(e),!o.SMALL_EDITOR_SIZE){let t=40;o.SMALL_EDITOR_SIZE=Math.min(128,Math.round(e.getBoundingClientRect().width*(1+t/100)))}}async #B(){let e=this.#E;if(!e)return;if(!this.#S&&!this.#w){e.classList.remove("done"),this.#L?.remove();return}o._l10nPromise.get("editor_alt_text_edit_button_label").then(t=>{e.setAttribute("aria-label",t)});let t=this.#L;if(!t){this.#L=t=document.createElement("span"),t.className="tooltip",t.setAttribute("role","tooltip");let r=t.id=`alt-text-tooltip-${this.id}`;e.setAttribute("aria-describedby",r);let n=100;e.addEventListener("mouseenter",()=>{this.#A=setTimeout(()=>{this.#A=null,this.#L.classList.add("show"),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",subtype:this.editorType,data:{action:"alt_text_tooltip"}}})},n)}),e.addEventListener("mouseleave",()=>{clearTimeout(this.#A),this.#A=null,this.#L?.classList.remove("show")})}e.classList.add("done"),t.innerText=this.#w?await o._l10nPromise.get("editor_alt_text_decorative_tooltip"):this.#S,t.parentNode||e.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}get altTextData(){return{altText:this.#S,decorative:this.#w}}set altTextData({altText:e,decorative:t}){(this.#S!==e||this.#w!==t)&&(this.#S=e,this.#w=t,this.#B())}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#T),this.div.addEventListener("focusout",this.#P);let[e,t]=this.parentDimensions;this.parentRotation%180!=0&&(this.div.style.maxWidth=`${(100*t/e).toFixed(2)}%`,this.div.style.maxHeight=`${(100*e/t).toFixed(2)}%`);let[r,i]=this.getInitialTranslation();return this.translate(r,i),(0,n.bindEvents)(this,this.div,["pointerdown"]),this.div}pointerdown(e){let{isMac:t}=i.FeatureTest.platform;if(0!==e.button||e.ctrlKey&&t){e.preventDefault();return}this.#C=!0,this.#$(e)}#$(e){let t,r;if(!this._isDraggable)return;let n=this._uiManager.isSelected(this);this._uiManager.setUpDragSession(),n&&(t={passive:!0,capture:!0},r=e=>{let[t,r]=this.screenToPageTranslation(e.movementX,e.movementY);this._uiManager.dragSelectedEditors(t,r)},window.addEventListener("pointermove",r,t));let a=()=>{if(window.removeEventListener("pointerup",a),window.removeEventListener("blur",a),n&&window.removeEventListener("pointermove",r,t),this.#C=!1,!this._uiManager.endDragSession()){let{isMac:t}=i.FeatureTest.platform;e.ctrlKey&&!t||e.shiftKey||e.metaKey&&t?this.parent.toggleSelected(this):this.parent.setSelected(this)}};window.addEventListener("pointerup",a),window.addEventListener("blur",a)}moveInDOM(){this.parent?.moveEditorInDOM(this)}_setParentAndPosition(e,t,r){e.changeParent(this),this.x=t,this.y=r,this.fixAndSetPosition()}getRect(e,t){let r=this.parentScale,[n,i]=this.pageDimensions,[a,o]=this.pageTranslation,s=e/r,l=t/r,u=this.x*n,c=this.y*i,d=this.width*n,f=this.height*i;switch(this.rotation){case 0:return[u+s+a,i-c-l-f+o,u+s+d+a,i-c-l+o];case 90:return[u+l+a,i-c+s+o,u+l+f+a,i-c+s+d+o];case 180:return[u-s-d+a,i-c+l+o,u-s+a,i-c+l+f+o];case 270:return[u-l-f+a,i-c-s-d+o,u-l+a,i-c-s+o];default:throw Error("Invalid rotation")}}getRectInCurrentCoords(e,t){let[r,n,i,a]=e,o=i-r,s=a-n;switch(this.rotation){case 0:return[r,t-a,o,s];case 90:return[r,t-n,s,o];case 180:return[i,t-n,o,s];case 270:return[i,t-a,s,o];default:throw Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#D=!0}disableEditMode(){this.#D=!1}isInEditMode(){return this.#D}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#T),this.div?.addEventListener("focusout",this.#P)}serialize(e=!1,t=null){(0,i.unreachable)("An editor must be serializable")}static deserialize(e,t,r){let n=new this.prototype.constructor({parent:t,id:t.getNextId(),uiManager:r});n.rotation=e.rotation;let[i,a]=n.pageDimensions,[o,s,l,u]=n.getRectInCurrentCoords(e.rect,a);return n.x=o/i,n.y=s/a,n.width=l/i,n.height=u/a,n}remove(){this.div.removeEventListener("focusin",this.#T),this.div.removeEventListener("focusout",this.#P),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#E?.remove(),this.#E=null,this.#L=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#H(),this.#x.classList.remove("hidden"))}select(){this.makeResizable(),this.div?.classList.add("selectedEditor")}unselect(){this.#x?.classList.add("hidden"),this.div?.classList.remove("selectedEditor"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus()}updateParams(e,t){}
1disableEditing(){this.#E&&(this.#E.hidden=!0)}enableEditing(){this.#E&&(this.#E.hidden=!1)}enterInEditMode(){}get contentDiv(){return this.div}get isEditing(){return this.#Y}set isEditing(e){this.#Y=e,this.parent&&(e?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(e,t){this.#k=!0;let r=e/t,{style:n}=this.div;n.aspectRatio=r,n.height="auto"}static get MIN_SIZE(){return 16}}t.AnnotationEditor=o;class s extends o{constructor(e){super(e),this.annotationElementId=e.annotationElementId,this.deleted=!0}serialize(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex}}}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.KeyboardManager=t.CommandManager=t.ColorManager=t.AnnotationEditorUIManager=void 0,t.bindEvents=a,t.opacityToHex=o;var n=r(1),i=r(6);function a(e,t,r){for(let n of r)t.addEventListener(n,e[n].bind(e))}function o(e){return Math.round(Math.min(255,Math.max(1,255*e))).toString(16).padStart(2,"0")}class s{#V=0;getId(){return`${n.AnnotationEditorPrefix}${this.#V++}`}}class l{#W=(0,n.getUuid)();#V=0;#q=null;static get _isSVGFittingCanvas(){let e='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',t=new OffscreenCanvas(1,3).getContext("2d"),r=new Image;r.src=e;let i=r.decode().then(()=>(t.drawImage(r,0,0,1,1,0,0,1,3),0===new Uint32Array(t.getImageData(0,0,1,1).data.buffer)[0]));return(0,n.shadow)(this,"_isSVGFittingCanvas",i)}async #G(e,t){this.#q||=new Map;let r=this.#q.get(e);if(null===r)return null;if(r?.bitmap)return r.refCounter+=1,r;try{let e;if(r||={bitmap:null,id:`image_${this.#W}_${this.#V++}`,refCounter:0,isSvg:!1},"string"==typeof t){r.url=t;let n=await fetch(t);if(!n.ok)throw Error(n.statusText);e=await n.blob()}else e=r.file=t;if("image/svg+xml"===e.type){let t=l._isSVGFittingCanvas,n=new FileReader,i=new Image,a=new Promise((e,a)=>{i.onload=()=>{r.bitmap=i,r.isSvg=!0,e()},n.onload=async()=>{let e=r.svgUrl=n.result;i.src=await t?`${e}#svgView(preserveAspectRatio(none))`:e},i.onerror=n.onerror=a});n.readAsDataURL(e),await a}else r.bitmap=await createImageBitmap(e);r.refCounter=1}catch(e){console.error(e),r=null}return this.#q.set(e,r),r&&this.#q.set(r.id,r),r}async getFromFile(e){let{lastModified:t,name:r,size:n,type:i}=e;return this.#G(`${t}_${r}_${n}_${i}`,e)}async getFromUrl(e){return this.#G(e,e)}async getFromId(e){this.#q||=new Map;let t=this.#q.get(e);return t?t.bitmap?(t.refCounter+=1,t):t.file?this.getFromFile(t.file):this.getFromUrl(t.url):null}getSvgUrl(e){let t=this.#q.get(e);return t?.isSvg?t.svgUrl:null}deleteId(e){this.#q||=new Map;let t=this.#q.get(e);t&&(t.refCounter-=1,0===t.refCounter&&(t.bitmap=null))}isValidId(e){return e.startsWith(`image_${this.#W}_`)}}class u{#J=[];#K=!1;#X;#Z=-1;constructor(e=128){this.#X=e}add({cmd:e,undo:t,mustExec:r,type:n=NaN,overwriteIfSameType:i=!1,keepUndo:a=!1}){if(r&&e(),this.#K)return;let o={cmd:e,undo:t,type:n};if(-1===this.#Z){this.#J.length>0&&(this.#J.length=0),this.#Z=0,this.#J.push(o);return}if(i&&this.#J[this.#Z].type===n){a&&(o.undo=this.#J[this.#Z].undo),this.#J[this.#Z]=o;return}let s=this.#Z+1;s===this.#X?this.#J.splice(0,1):(this.#Z=s,s<this.#J.length&&this.#J.splice(s)),this.#J.push(o)}undo(){-1!==this.#Z&&(this.#K=!0,this.#J[this.#Z].undo(),this.#K=!1,this.#Z-=1)}redo(){this.#Z<this.#J.length-1&&(this.#Z+=1,this.#K=!0,this.#J[this.#Z].cmd(),this.#K=!1)}hasSomethingToUndo(){return -1!==this.#Z}hasSomethingToRedo(){return this.#Z<this.#J.length-1}destroy(){this.#J=null}}t.CommandManager=u;class c{constructor(e){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;let{isMac:t}=n.FeatureTest.platform;for(let[r,n,i={}]of e)for(let e of r){let r=e.startsWith("mac+");t&&r?(this.callbacks.set(e.slice(4),{callback:n,options:i}),this.allKeys.add(e.split("+").at(-1))):t||r||(this.callbacks.set(e,{callback:n,options:i}),this.allKeys.add(e.split("+").at(-1)))}}#Q(e){e.altKey&&this.buffer.push("alt"),e.ctrlKey&&this.buffer.push("ctrl"),e.metaKey&&this.buffer.push("meta"),e.shiftKey&&this.buffer.push("shift"),this.buffer.push(e.key);let t=this.buffer.join("+");return this.buffer.length=0,t}exec(e,t){if(!this.allKeys.has(t.key))return;let r=this.callbacks.get(this.#Q(t));if(!r)return;let{callback:n,options:{bubbles:i=!1,args:a=[],checker:o=null}}=r;(!o||o(e,t))&&(n.bind(e,...a)(),i||(t.stopPropagation(),t.preventDefault()))}}t.KeyboardManager=c;class d{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){let e=new Map([["CanvasText",null],["Canvas",null]]);return(0,i.getColorValues)(e),(0,n.shadow)(this,"_colors",e)}convert(e){let t=(0,i.getRGB)(e);if(!window.matchMedia("(forced-colors: active)").matches)return t;for(let[e,r]of this._colors)if(r.every((e,r)=>e===t[r]))return d._colorsMapping.get(e);return t}getHexCode(e){let t=this._colors.get(e);return t?n.Util.makeHexColor(...t):e}}t.ColorManager=d;class f{#ee=null;#et=new Map;#er=new Map;#en=null;#ei=null;#ea=new u;#eo=0;#es=new Set;#el=null;#eu=null;#ec=new Set;#ed=null;#ef=new s;#eh=!1;#ep=!1;#em=null;#e_=n.AnnotationEditorType.NONE;#eg=new Set;#ey=null;#eb=this.blur.bind(this);#ev=this.focus.bind(this);#eM=this.copy.bind(this);#eS=this.cut.bind(this);#ew=this.paste.bind(this);#eE=this.keydown.bind(this);#eL=this.onEditingAction.bind(this);#eA=this.onPageChanging.bind(this);#ek=this.onScaleChanging.bind(this);#ex=this.onRotationChanging.bind(this);#eT={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#eP=[0,0];#eC=null;#eY=null;#eD=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){let e=f.prototype,t=e=>{let{activeElement:t}=document;return t&&e.#eY.contains(t)&&e.hasSomethingToControl()},r=this.TRANSLATE_SMALL,i=this.TRANSLATE_BIG;return(0,n.shadow)(this,"_keyboardManager",new c([[["ctrl+a","mac+meta+a"],e.selectAll],[["ctrl+z","mac+meta+z"],e.undo],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],e.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],e.delete],[["Escape","mac+Escape"],e.unselectAll],[["ArrowLeft","mac+ArrowLeft"],e.translateSelectedEditors,{args:[-r,0],checker:t}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e.translateSelectedEditors,{args:[-i,0],checker:t}],[["ArrowRight","mac+ArrowRight"],e.translateSelectedEditors,{args:[r,0],checker:t}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e.translateSelectedEditors,{args:[i,0],checker:t}],[["ArrowUp","mac+ArrowUp"],e.translateSelectedEditors,{args:[0,-r],checker:t}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e.translateSelectedEditors,{args:[0,-i],checker:t}],[["ArrowDown","mac+ArrowDown"],e.translateSelectedEditors,{args:[0,r],checker:t}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e.translateSelectedEditors,{args:[0,i],checker:t}]]))}constructor(e,t,r,n,a,o){this.#eY=e,this.#eD=t,this.#en=r,this._eventBus=n,this._eventBus._on("editingaction",this.#eL),this._eventBus._on("pagechanging",this.#eA),this._eventBus._on("scalechanging",this.#ek),this._eventBus._on("rotationchanging",this.#ex),this.#ei=a.annotationStorage,this.#ed=a.filterFactory,this.#ey=o,this.viewParameters={realScale:i.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:0}}destroy(){for(let e of(this.#eO(),this.#eR(),this._eventBus._off("editingaction",this.#eL),this._eventBus._off("pagechanging",this.#eA),this._eventBus._off("scalechanging",this.#ek),this._eventBus._off("rotationchanging",this.#ex),this.#er.values())
1)e.destroy();this.#er.clear(),this.#et.clear(),this.#ec.clear(),this.#ee=null,this.#eg.clear(),this.#ea.destroy(),this.#en.destroy()}get hcmFilter(){return(0,n.shadow)(this,"hcmFilter",this.#ey?this.#ed.addHCMFilter(this.#ey.foreground,this.#ey.background):"none")}get direction(){return(0,n.shadow)(this,"direction",getComputedStyle(this.#eY).direction)}editAltText(e){this.#en?.editAltText(this,e)}onPageChanging({pageNumber:e}){this.#eo=e-1}focusMainContainer(){this.#eY.focus()}findParent(e,t){for(let r of this.#er.values()){let{x:n,y:i,width:a,height:o}=r.div.getBoundingClientRect();if(e>=n&&e<=n+a&&t>=i&&t<=i+o)return r}return null}disableUserSelect(e=!1){this.#eD.classList.toggle("noUserSelect",e)}addShouldRescale(e){this.#ec.add(e)}removeShouldRescale(e){this.#ec.delete(e)}onScaleChanging({scale:e}){for(let t of(this.commitOrRemove(),this.viewParameters.realScale=e*i.PixelsPerInch.PDF_TO_CSS_UNITS,this.#ec))t.onScaleChanging()}onRotationChanging({pagesRotation:e}){this.commitOrRemove(),this.viewParameters.rotation=e}addToAnnotationStorage(e){e.isEmpty()||!this.#ei||this.#ei.has(e.id)||this.#ei.setValue(e.id,e)}#ej(){window.addEventListener("focus",this.#ev),window.addEventListener("blur",this.#eb)}#eR(){window.removeEventListener("focus",this.#ev),window.removeEventListener("blur",this.#eb)}blur(){if(!this.hasSelection)return;let{activeElement:e}=document;for(let t of this.#eg)if(t.div.contains(e)){this.#em=[t,e],t._focusEventsAllowed=!1;break}}focus(){if(!this.#em)return;let[e,t]=this.#em;this.#em=null,t.addEventListener("focusin",()=>{e._focusEventsAllowed=!0},{once:!0}),t.focus()}#eI(){window.addEventListener("keydown",this.#eE,{capture:!0})}#eO(){window.removeEventListener("keydown",this.#eE,{capture:!0})}#eF(){document.addEventListener("copy",this.#eM),document.addEventListener("cut",this.#eS),document.addEventListener("paste",this.#ew)}#eN(){document.removeEventListener("copy",this.#eM),document.removeEventListener("cut",this.#eS),document.removeEventListener("paste",this.#ew)}addEditListeners(){this.#eI(),this.#eF()}removeEditListeners(){this.#eO(),this.#eN()}copy(e){if(e.preventDefault(),this.#ee?.commitOrRemove(),!this.hasSelection)return;let t=[];for(let e of this.#eg){let r=e.serialize(!0);r&&t.push(r)}0!==t.length&&e.clipboardData.setData("application/pdfjs",JSON.stringify(t))}cut(e){this.copy(e),this.delete()}paste(e){e.preventDefault();let{clipboardData:t}=e;for(let e of t.items)for(let t of this.#eu)if(t.isHandlingMimeForPasting(e.type)){t.paste(e,this.currentLayer);return}let r=t.getData("application/pdfjs");if(!r)return;try{r=JSON.parse(r)}catch(e){(0,n.warn)(`paste: "${e.message}".`);return}if(!Array.isArray(r))return;this.unselectAll();let i=this.currentLayer;try{let e=[];for(let t of r){let r=i.deserialize(t);if(!r)return;e.push(r)}let t=()=>{for(let t of e)this.#eH(t);this.#ez(e)},n=()=>{for(let t of e)t.remove()};this.addCommands({cmd:t,undo:n,mustExec:!0})}catch(e){(0,n.warn)(`paste: "${e.message}".`)}}keydown(e){this.getActive()?.shouldGetKeyboardEvents()||f._keyboardManager.exec(this,e)}onEditingAction(e){["undo","redo","delete","selectAll"].includes(e.name)&&this[e.name]()}#eU(e){Object.entries(e).some(([e,t])=>this.#eT[e]!==t)&&this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#eT,e)})}#eB(e){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:e})}setEditingState(e){e?(this.#ej(),this.#eI(),this.#eF(),this.#eU({isEditing:this.#e_!==n.AnnotationEditorType.NONE,isEmpty:this.#e$(),hasSomethingToUndo:this.#ea.hasSomethingToUndo(),hasSomethingToRedo:this.#ea.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#eR(),this.#eO(),this.#eN(),this.#eU({isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(e){if(!this.#eu)for(let t of(this.#eu=e,this.#eu))this.#eB(t.defaultPropertiesToUpdate)}getId(){return this.#ef.getId()}get currentLayer(){return this.#er.get(this.#eo)}getLayer(e){return this.#er.get(e)}get currentPageIndex(){return this.#eo}addLayer(e){this.#er.set(e.pageIndex,e),this.#eh?e.enable():e.disable()}removeLayer(e){this.#er.delete(e.pageIndex)}updateMode(e,t=null){if(this.#e_!==e){if(this.#e_=e,e===n.AnnotationEditorType.NONE){this.setEditingState(!1),this.#eV();return}for(let t of(this.setEditingState(!0),this.#eW(),this.unselectAll(),this.#er.values())
1)t.updateMode(e);if(t){for(let e of this.#et.values())if(e.annotationElementId===t){this.setSelected(e),e.enterInEditMode();break}}}}updateToolbar(e){e!==this.#e_&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:e})}updateParams(e,t){if(this.#eu){if(e===n.AnnotationEditorParamsType.CREATE){this.currentLayer.addNewEditor(e);return}for(let r of this.#eg)r.updateParams(e,t);for(let r of this.#eu)r.updateDefaultParams(e,t)}}enableWaiting(e=!1){if(this.#ep!==e)for(let t of(this.#ep=e,this.#er.values()))e?t.disableClick():t.enableClick(),t.div.classList.toggle("waiting",e)}#eW(){if(!this.#eh)for(let e of(this.#eh=!0,this.#er.values()))e.enable()}#eV(){if(this.unselectAll(),this.#eh)for(let e of(this.#eh=!1,this.#er.values()))e.disable()}getEditors(e){let t=[];for(let r of this.#et.values())r.pageIndex===e&&t.push(r);return t}getEditor(e){return this.#et.get(e)}addEditor(e){this.#et.set(e.id,e)}removeEditor(e){this.#et.delete(e.id),this.unselect(e),e.annotationElementId&&this.#es.has(e.annotationElementId)||this.#ei?.remove(e.id)}addDeletedAnnotationElement(e){this.#es.add(e.annotationElementId),e.deleted=!0}isDeletedAnnotationElement(e){return this.#es.has(e)}removeDeletedAnnotationElement(e){this.#es.delete(e.annotationElementId),e.deleted=!1}#eH(e){let t=this.#er.get(e.pageIndex);t?t.addOrRebuild(e):this.addEditor(e)}setActiveEditor(e){this.#ee!==e&&(this.#ee=e,e&&this.#eB(e.propertiesToUpdate))}toggleSelected(e){if(this.#eg.has(e)){this.#eg.delete(e),e.unselect(),this.#eU({hasSelectedEditor:this.hasSelection});return}this.#eg.add(e),e.select(),this.#eB(e.propertiesToUpdate),this.#eU({hasSelectedEditor:!0})}setSelected(e){for(let t of this.#eg)t!==e&&t.unselect();this.#eg.clear(),this.#eg.add(e),e.select(),this.#eB(e.propertiesToUpdate),this.#eU({hasSelectedEditor:!0})}isSelected(e){return this.#eg.has(e)}unselect(e){e.unselect(),this.#eg.delete(e),this.#eU({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#eg.size}undo(){this.#ea.undo(),this.#eU({hasSomethingToUndo:this.#ea.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#e$()})}redo(){this.#ea.redo(),this.#eU({hasSomethingToUndo:!0,hasSomethingToRedo:this.#ea.hasSomethingToRedo(),isEmpty:this.#e$()})}addCommands(e){this.#ea.add(e),this.#eU({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#e$()})}#e$(){if(0===this.#et.size)return!0;if(1===this.#et.size)for(let e of this.#et.values())return e.isEmpty();return!1}delete(){if(this.commitOrRemove(),!this.hasSelection)return;let e=[...this.#eg],t=()=>{for(let t of e)t.remove()},r=()=>{for(let t of e)this.#eH(t)};this.addCommands({cmd:t,undo:r,mustExec:!0})}commitOrRemove(){this.#ee?.commitOrRemove()}hasSomethingToControl(){return this.#ee||this.hasSelection}#ez(e){for(let t of(this.#eg.clear(),e))t.isEmpty()||(this.#eg.add(t),t.select());this.#eU({hasSelectedEditor:!0})}selectAll(){for(let e of this.#eg)e.commit();this.#ez(this.#et.values())}unselectAll(){if(this.#ee){this.#ee.commitOrRemove();return}if(this.hasSelection){for(let e of this.#eg)e.unselect();this.#eg.clear(),this.#eU({hasSelectedEditor:!1})}}translateSelectedEditors(e,t,r=!1){if(r||this.commitOrRemove(),!this.hasSelection)return;this.#eP[0]+=e,this.#eP[1]+=t;let[n,i]=this.#eP,a=[...this.#eg],o=1e3;for(let r of(this.#eC&&clearTimeout(this.#eC),this.#eC=setTimeout(()=>{this.#eC=null,this.#eP[0]=this.#eP[1]=0,this.addCommands({cmd:()=>{for(let e of a)this.#et.has(e.id)&&e.translateInPage(n,i)},undo:()=>{for(let e of a)this.#et.has(e.id)&&e.translateInPage(-n,-i)},mustExec:!1})},o),a))r.translateInPage(e,t)}setUpDragSession(){if(this.hasSelection)for(let e of(this.disableUserSelect(!0),this.#el=new Map,this.#eg))this.#el.set(e,{savedX:e.x,savedY:e.y,savedPageIndex:e.pageIndex,newX:0,newY:0,newPageIndex:-1})}endDragSession(){if(!this.#el)return!1;this.disableUserSelect(!1);let e=this.#el;this.#el=null;let t=!1;for(let[{x:r,y:n,pageIndex:i},a]of e)a.newX=r,a.newY=n,a.newPageIndex=i,t||=r!==a.savedX||n!==a.savedY||i!==a.savedPageIndex;if(!t)return!1;let r=(e,t,r,n)=>{if(this.#et.has(e.id)){let i=this.#er.get(n);i?e._setParentAndPosition(i,t,r):(e.pageIndex=n,e.x=t,e.y=r)}};return this.addCommands({cmd:()=>{for(let[t,{newX:n,newY:i,newPageIndex:a}]of e)r(t,n,i,a)},undo:()=>{for(let[t,{savedX:n,savedY:i,savedPageIndex:a}]of e)r(t,n,i,a)},mustExec:!0}),!0}dragSelectedEditors(e,t){if(this.#el)for(let r of this.#el.keys())r.drag(e,t)}rebuild(e){if(null===e.parent){let t=this.getLayer(e.pageIndex);t?(t.changeParent(e),t.addOrRebuild(e)):(this.addEditor(e),this.addToAnnotationStorage(e),e.rebuild())}else e.parent.addOrRebuild(e)}isActive(e){return this.#ee===e}getActive(){return this.#ee}getMode(){return this.#e_}get imageManager(){return(0,n.shadow)(this,"imageManager",new l)}}t.AnnotationEditorUIManager=f},(e,t,r)=>{let n;
1Object.defineProperty(t,"__esModule",{value:!0}),t.StatTimer=t.RenderingCancelledException=t.PixelsPerInch=t.PageViewport=t.PDFDateString=t.DOMStandardFontDataFactory=t.DOMSVGFactory=t.DOMFilterFactory=t.DOMCanvasFactory=t.DOMCMapReaderFactory=void 0,t.deprecated=E,t.getColorValues=x,t.getCurrentTransform=T,t.getCurrentTransformInverse=P,t.getFilenameFromUrl=y,t.getPdfFilenameFromUrl=b,t.getRGB=k,t.getXfaPageViewport=A,t.isDataScheme=_,t.isPdfFile=g,t.isValidFetchUrl=M,t.loadScript=w,t.noContextMenu=S,t.setLayerDimensions=C;var i=r(7),a=r(1);let o="http://www.w3.org/2000/svg";class s{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF}t.PixelsPerInch=s;class l extends i.BaseFilterFactory{#eq;#eG;#t;#eJ;#eK;#eX;#eZ;#eQ;#e0;#e1;#V=0;constructor({docId:e,ownerDocument:t=globalThis.document}={}){super(),this.#t=e,this.#eJ=t}get #q(){return this.#eq||=new Map}get #e2(){if(!this.#eG){let e=this.#eJ.createElement("div"),{style:t}=e;t.visibility="hidden",t.contain="strict",t.width=t.height=0,t.position="absolute",t.top=t.left=0,t.zIndex=-1;let r=this.#eJ.createElementNS(o,"svg");r.setAttribute("width",0),r.setAttribute("height",0),this.#eG=this.#eJ.createElementNS(o,"defs"),e.append(r),r.append(this.#eG),this.#eJ.body.append(e)}return this.#eG}addFilter(e){let t,r,n,i;if(!e)return"none";let a=this.#q.get(e);if(a)return a;if(1===e.length){let a=e[0],o=Array(256);for(let e=0;e<256;e++)o[e]=a[e]/255;i=t=r=n=o.join(",")}else{let[a,o,s]=e,l=Array(256),u=Array(256),c=Array(256);for(let e=0;e<256;e++)l[e]=a[e]/255,u[e]=o[e]/255,c[e]=s[e]/255;t=l.join(","),r=u.join(","),n=c.join(","),i=`${t}${r}${n}`}if(a=this.#q.get(i))return this.#q.set(e,a),a;let o=`g_${this.#t}_transfer_map_${this.#V++}`,s=`url(#${o})`;this.#q.set(e,s),this.#q.set(i,s);let l=this.#e5(o);return this.#e3(t,r,n,l),s}addHCMFilter(e,t){let r=`${e}-${t}`;if(this.#eX===r||(this.#eX=r,this.#eZ="none",this.#eK?.remove(),!e||!t))return this.#eZ;let n=this.#e4(e);e=a.Util.makeHexColor(...n);let i=this.#e4(t);if(t=a.Util.makeHexColor(...i),this.#e2.style.color="","#000000"===e&&"#ffffff"===t||e===t)return this.#eZ;let o=Array(256);for(let e=0;e<=255;e++){let t=e/255;o[e]=t<=.03928?t/12.92:((t+.055)/1.055)**2.4}let s=o.join(","),l=`g_${this.#t}_hcm_filter`,u=this.#eQ=this.#e5(l);this.#e3(s,s,s,u),this.#e7(u);let c=(e,t)=>{let r=n[e]/255,a=i[e]/255,o=Array(t+1);for(let e=0;e<=t;e++)o[e]=r+e/t*(a-r);return o.join(",")};return this.#e3(c(0,5),c(1,5),c(2,5),u),this.#eZ=`url(#${l})`,this.#eZ}addHighlightHCMFilter(e,t,r,n){let i=`${e}-${t}-${r}-${n}`;if(this.#e0===i||(this.#e0=i,this.#e1="none",this.#eQ?.remove(),!e||!t))return this.#e1;let[a,o]=[e,t].map(this.#e4.bind(this)),s=Math.round(.2126*a[0]+.7152*a[1]+.0722*a[2]),l=Math.round(.2126*o[0]+.7152*o[1]+.0722*o[2]),[u,c]=[r,n].map(this.#e4.bind(this));l<s&&([s,l,u,c]=[l,s,c,u]),this.#e2.style.color="";let d=(e,t,r)=>{let n=Array(256),i=(l-s)/r,a=e/255,o=(t-e)/(255*r),u=0;for(let e=0;e<=r;e++){let t=Math.round(s+e*i),r=a+e*o;for(let e=u;e<=t;e++)n[e]=r;u=t+1}for(let e=u;e<256;e++)n[e]=n[u-1];return n.join(",")},f=`g_${this.#t}_hcm_highlight_filter`,h=this.#eQ=this.#e5(f);return this.#e7(h),this.#e3(d(u[0],c[0],5),d(u[1],c[1],5),d(u[2],c[2],5),h),this.#e1=`url(#${f})`,this.#e1}destroy(e=!1){e&&(this.#eZ||this.#e1)||(this.#eG&&(this.#eG.parentNode.parentNode.remove(),this.#eG=null),this.#eq&&(this.#eq.clear(),this.#eq=null),this.#V=0)}#e7(e){let t=this.#eJ.createElementNS(o,"feColorMatrix");t.setAttribute("type","matrix"),t.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),e.append(t)}#e5(e){let t=this.#eJ.createElementNS(o,"filter");return t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("id",e),this.#e2.append(t),t}#e8(e,t,r){let n=this.#eJ.createElementNS(o,t);n.setAttribute("type","discrete"),n.setAttribute("tableValues",r),e.append(n)}#e3(e,t,r,n){let i=this.#eJ.createElementNS(o,"feComponentTransfer");n.append(i),this.#e8(i,"feFuncR",e),this.#e8(i,"feFuncG",t),this.#e8(i,"feFuncB",r)}#e4(e){return this.#e2.style.color=e,k(getComputedStyle(this.#e2).getPropertyValue("color"))}}t.DOMFilterFactory=l;class u extends i.BaseCanvasFactory{constructor({ownerDocument:e=globalThis.document}={}){super(),this._document=e}_createCanvas(e,t){let r=this._document.createElement("canvas");return r.width=e,r.height=t,r}}async function c(e,t=!1){if(M(e,document.baseURI)){let r=await fetch(e);if(!r.ok)throw Error(r.statusText);return t?new Uint8Array(await r.arrayBuffer()):(0,a.stringToBytes)(await r.text())}return new Promise((r,n)=>{let i=new XMLHttpRequest;i.open("GET",e,!0),t&&(i.responseType="arraybuffer"),i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){if(200===i.status||0===i.status){let e;if(t&&i.response?e=new Uint8Array(i.response):!t&&i.responseText&&(e=(0,a.stringToBytes)(i.responseText)),e){r(e);return}}n(Error(i.statusText))}},i.send(null)})}t.DOMCanvasFactory=u;class d extends i.BaseCMapReaderFactory{_fetchData(e,t){return c(e,this.isCompressed).then(e=>({cMapData:e,compressionType:t}))}}t.DOMCMapReaderFactory=d;class f extends i.BaseStandardFontDataFactory{_fetchData(e){return c(e,!0)}}t.DOMStandardFontDataFactory=f;class h extends i.BaseSVGFactory{_createSVG(e){return document.createElementNS(o,e)}}t.DOMSVGFactory=h;class p{constructor({viewBox:e,scale:t,rotation:r,offsetX:n=0,offsetY:i=0,dontFlip:a=!1}){let o,s,l,u,c,d,f,h;this.viewBox=e,this.scale=t,this.rotation=r,this.offsetX=n,this.offsetY=i;let p=(e[2]+e[0])/2,m=(e[3]+e[1])/2;switch((r%=360)<0&&(r+=360),r){case 180:o=-1,s=0,l=0,u=1;break;case 90:o=0,s=1,l=1,u=0;break;case 270:o=0,s=-1,l=-1,u=0;break;case 0:o=1,s=0,l=0,u=-1;break;default:throw Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}a&&(l=-l,u=-u),0===o?(c=Math.abs(m-e[1])*t+n,d=Math.abs(p-e[0])*t+i,f=(e[3]-e[1])*t,h=(e[2]-e[0])*t):(c=Math.abs(p-e[0])*t+n,d=Math.abs(m-e[1])*t+i,f=(e[2]-e[0])*t,h=(e[3]-e[1])*t),this.transform=[o*t,s*t,l*t,u*t,c-o*t*p-l*t*m,d-s*t*p-u*t*m],this.width=f,this.height=h}get rawDims(){let{viewBox:e}=this;return(0,a.shadow)(this,"rawDims",{pageWidth:e[2]-e[0],pageHeight:e[3]-e[1],pageX:e[0],pageY:e[1]})}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:r=this.offsetX,offsetY:n=this.offsetY,dontFlip:i=!1}={}){return new p({viewBox:this.viewBox.slice(),scale:e,rotation:t,offsetX:r,offsetY:n,dontFlip:i})}convertToViewportPoint(e,t){return a.Util.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){let t=a.Util.applyTransform([e[0],e[1]],this.transform),r=a.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],r[0],r[1]]}convertToPdfPoint(e,t){return a.Util.applyInverseTransform([e,t],this.transform)}}t.PageViewport=p;class m extends a.BaseException{constructor(e,t=0){super(e,"RenderingCancelledException"),this.extraDelay=t}}function _(e){let t=e.length,r=0;for(;r<t&&""===e[r].trim();)r++;return"data:"===e.substring(r,r+5).toLowerCase()}function g(e){return"string"==typeof e&&/\.pdf$/i.test(e)}function y(e,t=!1){return t||([e]=e.split(/[#?]/,1)),e.substring(e.lastIndexOf("/")+1)}function b(e,t="document.pdf"){if("string"!=typeof e)return t;if(_(e))return(0,a.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;let r=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e),i=r.exec(n[1])||r.exec(n[2])||r.exec(n[3]);if(i&&(i=i[0]).includes("%"))try{i=r.exec(decodeURIComponent(i))[0]}catch{}return i||t}t.RenderingCancelledException=m;class v{started=Object.create(null);times=[];time(e){e in this.started&&(0,a.warn)(`Timer is already running for ${e}`),this.started[e]=Date.now()}timeEnd(e){e in this.started||(0,a.warn)(`Timer has not been started for ${e}`),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}toString(){let e=[],t=0;for(let{name:e}of this.times)t=Math.max(e.length,t);for(let{name:r,start:n,end:i}of this.times)e.push(`${r.padEnd(t)} ${i-n}ms
2`);return e.join("")}}function M(e,t){try{let{protocol:r}=t?new URL(e,t):new URL(e);return"http:"===r||"https:"===r}catch{return!1}}function S(e){e.preventDefault()}function w(e,t=!1){return new Promise((r,n)=>{let i=document.createElement("script");i.src=e,i.onload=function(e){t&&i.remove(),r(e)},i.onerror=function(){n(Error(`Cannot load script at: ${i.src}`))},(document.head||document.documentElement).append(i)})}function E(e){console.log("Deprecated API usage: "+e)}t.StatTimer=v;class L{static toDateObject(e){if(!e||"string"!=typeof e)return null;let t=(n||=RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?")).exec(e);if(!t)return null;let r=parseInt(t[1],10),i=parseInt(t[2],10);i=i>=1&&i<=12?i-1:0;let a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;let o=parseInt(t[4],10);o=o>=0&&o<=23?o:0;let s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;let l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;let u=t[7]||"Z",c=parseInt(t[8],10);c=c>=0&&c<=23?c:0;let d=parseInt(t[9],10)||0;return d=d>
2=0&&d<=59?d:0,"-"===u?(o+=c,s+=d):"+"===u&&(o-=c,s-=d),new Date(Date.UTC(r,i,a,o,s,l))}}function A(e,{scale:t=1,rotation:r=0}){let{width:n,height:i}=e.attributes.style;return new p({viewBox:[0,0,parseInt(n),parseInt(i)],scale:t,rotation:r})}function k(e){if(e.startsWith("#")){let t=parseInt(e.slice(1),16);return[(16711680&t)>>16,(65280&t)>>8,255&t]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(e=>parseInt(e)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(e=>parseInt(e)).slice(0,3):((0,a.warn)(`Not a valid color format: "${e}"`),[0,0,0])}function x(e){let t=document.createElement("span");for(let r of(t.style.visibility="hidden",document.body.append(t),e.keys())){t.style.color=r;let n=window.getComputedStyle(t).color;e.set(r,k(n))}t.remove()}function T(e){let{a:t,b:r,c:n,d:i,e:a,f:o}=e.getTransform();return[t,r,n,i,a,o]}function P(e){let{a:t,b:r,c:n,d:i,e:a,f:o}=e.getTransform().invertSelf();return[t,r,n,i,a,o]}function C(e,t,r=!1,n=!0){if(t instanceof p){let{pageWidth:n,pageHeight:i}=t.rawDims,{style:o}=e,s=a.FeatureTest.isCSSRoundSupported,l=`var(--scale-factor) * ${n}px`,u=`var(--scale-factor) * ${i}px`,c=s?`round(${l}, 1px)`:`calc(${l})`,d=s?`round(${u}, 1px)`:`calc(${u})`;r&&t.rotation%180!=0?(o.width=d,o.height=c):(o.width=c,o.height=d)}n&&e.setAttribute("data-main-rotation",t.rotation)}t.PDFDateString=L},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStandardFontDataFactory=t.BaseSVGFactory=t.BaseFilterFactory=t.BaseCanvasFactory=t.BaseCMapReaderFactory=void 0;var n=r(1);class i{constructor(){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseFilterFactory.")}addFilter(e){return"none"}addHCMFilter(e,t){return"none"}addHighlightHCMFilter(e,t,r,n){return"none"}destroy(e=!1){}}t.BaseFilterFactory=i;class a{constructor(){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(e,t){if(e<=0||t<=0)throw Error("Invalid canvas size");let r=this._createCanvas(e,t);return{canvas:r,context:r.getContext("2d")}}reset(e,t,r){if(!e.canvas)throw Error("Canvas is not specified");if(t<=0||r<=0)throw Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=r}destroy(e){if(!e.canvas)throw Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}t.BaseCanvasFactory=a;class o{constructor({baseUrl:e=null,isCompressed:t=!0}){this.constructor===o&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!e)throw Error("CMap name must be specified.");let t=this.baseUrl+e+(this.isCompressed?".bcmap":""),r=this.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE;return this._fetchData(t,r).catch(e=>{throw Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)})}_fetchData(e,t){(0,n.unreachable)("Abstract method `_fetchData` called.")}}t.BaseCMapReaderFactory=o;class s{constructor({baseUrl:e=null}){this.constructor===s&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!e)throw Error("Font filename must be specified.");let t=`${this.baseUrl}${e}`;return this._fetchData(t).catch(e=>{throw Error(`Unable to load font data at: ${t}`)})}_fetchData(e){(0,n.unreachable)("Abstract method `_fetchData` called.")}}t.BaseStandardFontDataFactory=s;class l{constructor(){this.constructor===l&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(e,t,r=!1){if(e<=0||t<=0)throw Error("Invalid SVG dimensions");let n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),r||(n.setAttribute("width",`${e}px`),n.setAttribute("height",`${t}px`)),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox",`0 0 ${e} ${t}`),n}createElement(e){if("string"!=typeof e)throw Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){(0,n.unreachable)("Abstract method `_createSVG` called.")}}t.BaseSVGFactory=l},(e,t,r)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0;var n=r(1);let i=3285377520,a=4294901760,o=65535;class s{constructor(e){this.h1=e?4294967295&e:i,this.h2=e?4294967295&e:i}update(e){let t,r;if("string"==typeof e){t=new Uint8Array(2*e.length),r=0;for(let n=0,i=e.length;n<i;n++){let i=e.charCodeAt(n);i<=255?t[r++]=i:(t[r++]=i>>>8,t[r++]=255&i)}}else if((0,n.isArrayBuffer)(e))r=(t=e.slice()).byteLength;else throw Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");let i=r>>2,s=r-4*i,l=new Uint32Array(t.buffer,0,i),u=0,c=0,d=this.h1,f=this.h2,h=3432918353,p=461845907,m=3432918353&o,_=461845907&o;for(let e=0;e<i;e++)1&e?(d^=u=(u=(u=(u=l[e])*h&a|u*m&o)<<15|u>>>17)*p&a|u*_&o,d=5*(d=d<<13|d>>>19)+3864292196):(f^=c=(c=(c=(c=l[e])*h&a|c*m&o)<<15|c>>>17)*p&a|c*_&o,f=5*(f=f<<13|f>>>19)+3864292196);switch(u=0,s){case 3:u^=t[4*i+2]<<16;case 2:u^=t[4*i+1]<<8;case 1:u^=t[4*i],u=(u=(u=u*h&a|u*m&o)<<15|u>>>17)*p&a|u*_&o,1&i?d^=u:f^=u}this.h1=d,this.h2=f}hexdigest(){let e=this.h1,t=this.h2;return e^=t>>>1,e=3981806797*e&a|36045*e&o,t=4283543511*t&a|((t<<16|e>>>16)*2950163797&a)>>>16,e^=t>>>1,e=444984403*e&a|60499*e&o,t=3301882366*t&a|((t<<16|e>>>16)*3120437893&a)>>>16,((e^=t>>>1)>>>0).toString(16).padStart(8,"0")+(t>>>0).toString(16).padStart(8,"0")}}t.MurmurHash3_64=s},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var n=r(1);class i{#e6=new Set;constructor({ownerDocument:e=globalThis.document,styleElement:t=null}){this._document=e,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(e){this.nativeFontFaces.add(e),this._document.fonts.add(e)}removeNativeFontFace(e){this.nativeFontFaces.delete(e),this._document.fonts.delete(e)}insertRule(e){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));let t=this.styleElement.sheet;t.insertRule(e,t.cssRules.length)}clear(){for(let e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.clear(),this.#e6.clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont(e){if(!(!e||this.#e6.has(e.loadedName))){if((0,n.assert)(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){let{loadedName:t,src:r,style:i}=e,a=new FontFace(t,r,i);this.addNativeFontFace(a);try{await a.load(),this.#e6.add(t)}catch{(0,n.warn)(`Cannot load system font: ${e.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(a)}return}(0,n.unreachable)("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(e){if(e.attached||e.missingFile&&!e.systemFontInfo)return;if(e.attached=!0,e.systemFontInfo){await this.loadSystemFont(e.systemFontInfo);return}if(this.isFontLoadingAPISupported){let t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(r){throw(0,n.warn)(`Failed to load font '${t.family}': '${r}'.`),e.disableFontFace=!0,r}}return}let t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise(t=>{let r=this._queueLoadingCallback(t);this._prepareFontLoadEvent(e,r)})}}get isFontLoadingAPISupported(){let e=!!this._document?.fonts;return(0,n.shadow)(this,"isFontLoadingAPISupported",e)}get isSyncFontLoadingSupported(){let e=!1;return n.isNodeJS?e=!0:"undefined"!=typeof navigator&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){let{loadingRequests:t}=this,r={done:!1,complete:function(){for((0,n.assert)(!r.done,"completeRequest() cannot be called twice."),r.done=!0;t.length>0&&t[0].done;)setTimeout(t.shift().callback,0)},callback:e};return t.push(r),r}get _loadTestFont(){let e=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return(0,n.shadow)(this,"_loadTestFont",e)}_prepareFontLoadEvent(e,t){let r,i;function a(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function o(e,t,r,n){return e.substring(0,t)+n+e.substring(t+r)}let s=this._document.createElement("canvas");s.width=1,s.height=1;let l=s.getContext("2d"),u=0;function c(e,t){if(++u>30){(0,n.warn)("Load test font never loaded."),t();return}if(l.font="30px "+e,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){t();return}setTimeout(c.bind(null,e,t))}let d=`lt${Date.now()}${this.loadTestFontId++}`,f=this._loadTestFont;f=o(f,976,d.length,d);let h=16,p=1482184792,m=a(f,16);for(r=0,i=d.length-3;r<i;r+=4)m=m-p+a(d,r)|0;r<d.length&&(m=m-p+a(d+"XXX",r)|0),f=o(f,h,4,(0,n.string32)(m));let _=`url(data:font/opentype;base64,${btoa(f)});`,g=`@font-face {font-family:"${d}";src:${_}}`;this.insertRule(g);let y=this._document.createElement("div");for(let t of(y.style.visibility="hidden",y.style.width=y.style.height="10px",y.style.position="absolute",y.style.top=y.style.left="0px",[e.loadedName,d])){let e=this._document.createElement("span");e.textContent="Hi",e.style.fontFamily=t,y.append(e)}this._document.body.append(y),c(d,()=>{y.remove(),t.complete()})}}t.FontLoader=i;class a{constructor(e,{isEvalSupported:t=!0,disableFontFace:r=!1,ignoreErrors:n=!1,inspectFont:i=null}){for(let t in this.compiledGlyphs=Object.create(null),e)this[t]=e[t];this.isEvalSupported=!1!==t,this.disableFontFace=!0===r,this.ignoreErrors=!0===n,this._inspectFont=i}createNativeFontFace(){let e;if(!this.data||this.disableFontFace)return null;if(this.cssFontInfo){let t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return this._inspectFont?.(this),e}createFontFaceRule(){let e;if(!this.data||this.disableFontFace)return null;let t=(0,n.bytesToString)(this.data),r=`url(data:${this.mimetype};base64,${btoa(t)});`;if(this.cssFontInfo){let t=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(t+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),e=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${t}src:${r}}`}else e=`@font-face {font-family:"${this.loadedName}";src:${r}}`;return this._inspectFont?.(this,r),e}getPathGenerator(e,t){let r;if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];try{r=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return(0,n.warn)(`getPathGenerator - ignoring character: "${e}".`),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){let e=[];for(let t of r){let r=void 0!==t.args?t.args.join(","):"";e.push("c.",t.cmd,"(",r,");\n")}return this.compiledGlyphs[t]=Function("c","size",e.join(""))}return this.compiledGlyphs[t]=function(e,t){for(let n of r)"scale"===n.cmd&&(n.args=[t,-t]),e[n.cmd
2].apply(e,n.args)}}}t.FontFaceObject=a},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NodeStandardFontDataFactory=t.NodeFilterFactory=t.NodeCanvasFactory=t.NodeCMapReaderFactory=void 0;var n=r(7);r(1);let i=function(e){return new Promise((t,r)=>{__webpack_require__(172).readFile(e,(e,n)=>{if(e||!n){r(Error(e));return}t(new Uint8Array(n))})})};class a extends n.BaseFilterFactory{}t.NodeFilterFactory=a;class o extends n.BaseCanvasFactory{_createCanvas(e,t){return __webpack_require__(3414).createCanvas(e,t)}}t.NodeCanvasFactory=o;class s extends n.BaseCMapReaderFactory{_fetchData(e,t){return i(e).then(e=>({cMapData:e,compressionType:t}))}}t.NodeCMapReaderFactory=s;class l extends n.BaseStandardFontDataFactory{_fetchData(e){return i(e)}}t.NodeStandardFontDataFactory=l},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var n=r(1),i=r(6),a=r(12),o=r(13);let s=16,l=100,u=4096,c=15,d=10,f=1e3,h=16;function p(e,t){if(e._removeMirroring)throw Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,r){t.translate(e,r),this.__originalTranslate(e,r)},e.scale=function(e,r){t.scale(e,r),this.__originalScale(e,r)},e.transform=function(e,r,n,i,a,o){t.transform(e,r,n,i,a,o),this.__originalTransform(e,r,n,i,a,o)},e.setTransform=function(e,r,n,i,a,o){t.setTransform(e,r,n,i,a,o),this.__originalSetTransform(e,r,n,i,a,o)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,r){t.moveTo(e,r),this.__originalMoveTo(e,r)},e.lineTo=function(e,r){t.lineTo(e,r),this.__originalLineTo(e,r)},e.bezierCurveTo=function(e,r,n,i,a,o){t.bezierCurveTo(e,r,n,i,a,o),this.__originalBezierCurveTo(e,r,n,i,a,o)},e.rect=function(e,r,n,i){t.rect(e,r,n,i),this.__originalRect(e,r,n,i)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}class m{constructor(e){this.canvasFactory=e,this.cache=Object.create(null)}getCanvas(e,t,r){let n;return void 0!==this.cache[e]?(n=this.cache[e],this.canvasFactory.reset(n,t,r)):(n=this.canvasFactory.create(t,r),this.cache[e]=n),n}delete(e){delete this.cache[e]}clear(){for(let e in this.cache){let t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}function _(e,t,r,n,a,o,s,l,u,c){let[d,f,h,p,m,_]=(0,i.getCurrentTransform)(e);if(0===f&&0===h){let i=Math.round(s*d+m),g=Math.round(l*p+_),y=Math.abs(Math.round((s+u)*d+m)-i)||1,b=Math.abs(Math.round((l+c)*p+_)-g)||1;return e.setTransform(Math.sign(d),0,0,Math.sign(p),i,g),e.drawImage(t,r,n,a,o,0,0,y,b),e.setTransform(d,f,h,p,m,_),[y,b]}if(0===d&&0===p){let i=Math.round(l*h+m),g=Math.round(s*f+_),y=Math.abs(Math.round((l+c)*h+m)-i)||1,b=Math.abs(Math.round((s+u)*f+_)-g)||1;return e.setTransform(0,Math.sign(f),Math.sign(h),0,i,g),e.drawImage(t,r,n,a,o,0,0,b,y),e.setTransform(d,f,h,p,m,_),[b,y]}return e.drawImage(t,r,n,a,o,s,l,u,c),[Math.hypot(d,f)*u,Math.hypot(h,p)*c]}function g(e){let t,r,n;let{width:i,height:a}=e;if(i>f||a>f)return null;let o=1e3,s=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),l=i+1,u=new Uint8Array(l*(a+1)),c=i+7&-8,d=new Uint8Array(c*a
2),h=0;for(let t of e.data){let e=128;for(;e>0;)d[h++]=t&e?0:255,e>>=1}let p=0;for(0!==d[h=0]&&(u[0]=1,++p),r=1;r<i;r++)d[h]!==d[h+1]&&(u[r]=d[h]?2:1,++p),h++;for(0!==d[h]&&(u[r]=2,++p),t=1;t<a;t++){h=t*c,n=t*l,d[h-c]!==d[h]&&(u[n]=d[h]?1:8,++p);let e=(d[h]?4:0)+(d[h-c]?8:0);for(r=1;r<i;r++)s[e=(e>>2)+(d[h+1]?4:0)+(d[h-c+1]?8:0)]&&(u[n+r]=s[e],++p),h++;if(d[h-c]!==d[h]&&(u[n+r]=d[h]?2:4,++p),p>o)return null}for(h=c*(a-1),n=t*l,0!==d[h]&&(u[n]=8,++p),r=1;r<i;r++)d[h]!==d[h+1]&&(u[n+r]=d[h]?4:8,++p),h++;if(0!==d[h]&&(u[n+r]=4,++p),p>o)return null;let m=new Int32Array([0,l,-1,0,-l,0,0,0,1]),_=new Path2D;for(t=0;p&&t<=a;t++){let e=t*l,r=e+i;for(;e<r&&!u[e];)e++;if(e===r)continue;_.moveTo(e%l,t);let n=e,a=u[e];do{let t=m[a];do e+=t;while(!u[e]);let r=u[e];5!==r&&10!==r?(a=r,u[e]=0):(a=r&51*a>>4,u[e]&=a>>2|a<<2),_.lineTo(e%l,e/l|0),!u[e]&&--p}while(n!==e);--t}return d=null,u=null,function(e){e.save(),e.scale(1/i,-1/a),e.translate(0,-a),e.fill(_),e.beginPath(),e.restore()}}class y{constructor(e,t){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,e,t])}clone(){let e=Object.create(this);return e.clipBox=this.clipBox.slice(),e}setCurrentPoint(e,t){this.x=e,this.y=t}updatePathMinMax(e,t,r){[t,r]=n.Util.applyTransform([t,r],e),this.minX=Math.min(this.minX,t),this.minY=Math.min(this.minY,r),this.maxX=Math.max(this.maxX,t),this.maxY=Math.max(this.maxY,r)}updateRectMinMax(e,t){let r=n.Util.applyTransform(t,e),i=n.Util.applyTransform(t.slice(2),e);this.minX=Math.min(this.minX,r[0],i[0]),this.minY=Math.min(this.minY,r[1],i[1]),this.maxX=Math.max(this.maxX,r[0],i[0]),this.maxY=Math.max(this.maxY,r[1],i[1])}updateScalingPathMinMax(e,t){n.Util.scaleMinMax(e,t),this.minX=Math.min(this.minX,t[0]),this.maxX=Math.max(this.maxX,t[1]),this.minY=Math.min(this.minY,t[2]),this.maxY=Math.max(this.maxY,t[3])}updateCurvePathMinMax(e,t,r,i,a,o,s,l,u,c){let d=n.Util.bezierBoundingBox(t,r,i,a,o,s,l,u);if(c){c[0]=Math.min(c[0],d[0],d[2]),c[1]=Math.max(c[1],d[0],d[2]),c[2]=Math.min(c[2],d[1],d[3]),c[3]=Math.max(c[3],d[1],d[3]);return}this.updateRectMinMax(e,d)}getPathBoundingBox(e=a.PathType.FILL,t=null){let r=[this.minX,this.minY,this.maxX,this.maxY];if(e===a.PathType.STROKE){t||(0,n.unreachable)("Stroke bounding box must include transform.");let e=n.Util.singularValueDecompose2dScale(t),i=e[0]*this.lineWidth/2,a=e[1]*this.lineWidth/2;r[0]-=i,r[1]-=a,r[2]+=i,r[3]+=a}return r}updateClipFromPath(){let e=n.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(e){this.clipBox=e,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(e=a.PathType.FILL,t=null){return n.Util.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}function b(e,t){let r,i,a,o;if("undefined"!=typeof ImageData&&t instanceof ImageData){e.putImageData(t,0,0);return}let s=t.height,l=t.width,u=s%h,c=(s-u)/h,d=0===u?c:c+1,f=e.createImageData(l,h),p=0,m,_=t.data,g=f.data;if(t.kind===n.ImageKind.GRAYSCALE_1BPP){let t=_.byteLength,o=new Uint32Array(g.buffer,0,g.byteLength>>2),s=o.length,y=l+7>>3,b=4294967295,v=n.FeatureTest.isLittleEndian?4278190080:255;for(r=0;r<d;r++){for(i=0,a=r<c?h:u,m=0;i<a;i++){let e=t-p,r=0,n=e>y?l:8*e-7,i=-8&n,a=0,s=0;for(;r<i;r+=8)s=_[p++],o[m++]=128&s?b:v,o[m++]=64&s?b:v,o[m++]=32&s?b:v,o[m++]=16&s?b:v,o[m++]=8&s?b:v,o[m++]=4&s?b:v,o[m++]=2&s?b:v,o[m++]=1&s?b:v;for(;r<n;r++)0===a&&(s=_[p++],a=128),o[m++]=s&a?b:v,a>>=1}for(;m<s;)o[m++]=0;e.putImageData(f,0,r*h)}}else if(t.kind===n.ImageKind.RGBA_32BPP){for(r=0,i=0,o=l*h*4;r<c;r++)g.set(_.subarray(p,p+o)),p+=o,e.putImageData(f,0,i),i+=h;r<d&&(o=l*u*4,g.set(_.subarray(p,p+o)),e.putImageData(f,0,i))}else if(t.kind===n.ImageKind.RGB_24BPP)for(r=0,o=l*(a=h);r<d;r++){for(r>=c&&(o=l*(a=u)),m=0,i=o;i--;
2)g[m++]=_[p++],g[m++]=_[p++],g[m++]=_[p++],g[m++]=255;e.putImageData(f,0,r*h)}else throw Error(`bad image kind: ${t.kind}`)}function v(e,t){if(t.bitmap){e.drawImage(t.bitmap,0,0);return}let r=t.height,n=t.width,i=r%h,a=(r-i)/h,s=0===i?a:a+1,l=e.createImageData(n,h),u=0,c=t.data,d=l.data;for(let t=0;t<s;t++){let r=t<a?h:i;({srcPos:u}=(0,o.convertBlackAndWhiteToRGBA)({src:c,srcPos:u,dest:d,width:n,height:r,nonBlackColor:0})),e.putImageData(l,0,t*h)}}function M(e,t){for(let r of["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"])void 0!==e[r]&&(t[r]=e[r]);void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function S(e){if(e.strokeStyle=e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0),!n.isNodeJS){let{filter:t}=e;"none"!==t&&""!==t&&(e.filter="none")}}function w(e,t,r,n){let i=e.length;for(let a=3;a<i;a+=4){let i=e[a];if(0===i)e[a-3]=t,e[a-2]=r,e[a-1]=n;else if(i<255){let o=255-i;e[a-3]=e[a-3]*i+t*o>>8,e[a-2]=e[a-2]*i+r*o>>8,e[a-1]=e[a-1]*i+n*o>>8}}}function E(e,t,r){let n=e.length,i=1/255;for(let a=3;a<n;a+=4){let n=r?r[e[a]]:e[a];t[a]=t[a]*n*i|0}}function L(e,t,r){let n=e.length;for(let i=3;i<n;i+=4){let n=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=r?t[i]*r[n>>8]>>8:t[i]*n>>16}}function A(e,t,r,n,i,a,o,s,l,u,c){let d=!!a,f=d?a[0]:0,h=d?a[1]:0,p=d?a[2]:0,m="Luminosity"===i?L:E,_=Math.min(n,Math.ceil(1048576/r));for(let i=0;i<n;i+=_){let a=Math.min(_,n-i),g=e.getImageData(s-u,i+(l-c),r,a),y=t.getImageData(s,i+l,r,a);d&&w(g.data,f,h,p),m(g.data,y.data,o),t.putImageData(y,s,i+l)}}function k(e,t,r,n){let i=n[0],a=n[1],o=n[2]-i,s=n[3]-a;0!==o&&0!==s&&(A(t.context,r,o,s,t.subtype,t.backdrop,t.transferMap,i,a,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(r.canvas,0,0),e.restore())}function x(e,t){let r=n.Util.singularValueDecompose2dScale(e);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);let a=Math.fround((globalThis.devicePixelRatio||1)*i.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==t?t:r[0]<=a||r[1]<=a}let T=["butt","round","square"],P=["miter","round","bevel"],C={},Y={};class D{constructor(e,t,r,n,i,{optionalContentConfig:a,markedContentStack:o=null},s,l){this.ctx=e,this.current=new y(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=r,this.canvasFactory=n,this.filterFactory=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=o||[],this.optionalContentConfig=a,this.cachedCanvases=new m(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=s,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=l,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(e,t=null){return"string"==typeof e?e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e):t}beginDrawing({transform:e,viewport:t,transparency:r=!1,background:n=null}){let a=this.ctx.canvas.width,o=this.ctx.canvas.height,s=this.ctx.fillStyle;if(this.ctx.fillStyle=n||"#ffffff",this.ctx.fillRect(0,0,a,o),this.ctx.fillStyle=s,r){let e=this.cachedCanvases.getCanvas("transparent",a,o);this.compositeCtx=this.ctx,this.transparentCanvas=e.canvas,this.ctx=e.context,this.ctx.save(),this.ctx.transform(...(0,i.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),S(this.ctx),e&&(this.ctx.transform(...e),this.outputScaleX=e[0],this.outputScaleY=e[0]),this.ctx.transform(...t.transform),this.viewportScale=t.scale,this.baseTransform=(0,i.getCurrentTransform)(this.ctx)}
2executeOperatorList(e,t,r,i){let a;let o=e.argsArray,s=e.fnArray,l=t||0,u=o.length;if(u===l)return l;let f=u-l>d&&"function"==typeof r,h=f?Date.now()+c:0,p=0,m=this.commonObjs,_=this.objs;for(;;){if(void 0!==i&&l===i.nextBreakPoint)return i.breakIt(l,r),l;if((a=s[l])!==n.OPS.dependency)this[a].apply(this,o[l]);else for(let e of o[l]){let t=e.startsWith("g_")?m:_;if(!t.has(e))return t.get(e,r),l}if(++l===u)return l;if(f&&++p>d){if(Date.now()>h)return r(),l;p=0}}}#e9(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){for(let e of(this.#e9(),this.cachedCanvases.clear(),this.cachedPatterns.clear(),this._cachedBitmapsMap.values())){for(let t of e.values())"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement&&(t.width=t.height=0);e.clear()}this._cachedBitmapsMap.clear(),this.#te()}#te(){if(this.pageColors){let e=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if("none"!==e){let t=this.ctx.filter;this.ctx.filter=e,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=t}}}_scaleImage(e,t){let r,n;let i=e.width,a=e.height,o=Math.max(Math.hypot(t[0],t[1]),1),s=Math.max(Math.hypot(t[2],t[3]),1),l=i,u=a,c="prescale1";for(;o>2&&l>1||s>2&&u>1;){let t=l,i=u;o>2&&l>1&&(t=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l/2),o/=l/t),s>2&&u>1&&(i=u>=16384?Math.floor(u/2)-1||1:Math.ceil(u)/2,s/=u/i),(n=(r=this.cachedCanvases.getCanvas(c,t,i)).context).clearRect(0,0,t,i),n.drawImage(e,0,0,l,u,0,0,t,i),e=r.canvas,l=t,u=i,c="prescale1"===c?"prescale2":"prescale1"}return{img:e,paintWidth:l,paintHeight:u}}_createMaskCanvas(e){let t,r,o,s;let l=this.ctx,{width:u,height:c}=e,d=this.current.fillColor,f=this.current.patternFill,h=(0,i.getCurrentTransform)(l);if((e.bitmap||e.data)&&e.count>1){let n=e.bitmap||e.data.buffer;r=JSON.stringify(f?h:[h.slice(0,4),d]),(t=this._cachedBitmapsMap.get(n))||(t=new Map,this._cachedBitmapsMap.set(n,t));let i=t.get(r);if(i&&!f)return{canvas:i,offsetX:Math.round(Math.min(h[0],h[2])+h[4]),offsetY:Math.round(Math.min(h[1],h[3])+h[5])};o=i}o||v((s=this.cachedCanvases.getCanvas("maskCanvas",u,c)).context,e);let p=n.Util.transform(h,[1/u,0,0,-1/c,0,0]);p=n.Util.transform(p,[1,0,0,1,0,-c]);let m=n.Util.applyTransform([0,0],p),g=n.Util.applyTransform([u,c],p),y=n.Util.normalizeRect([m[0],m[1],g[0],g[1]]),b=Math.round(y[2]-y[0])||1,M=Math.round(y[3]-y[1])||1,S=this.cachedCanvases.getCanvas("fillCanvas",b,M),w=S.context,E=Math.min(m[0],g[0]),L=Math.min(m[1],g[1]);w.translate(-E,-L),w.transform(...p),!o&&(o=(o=this._scaleImage(s.canvas,(0,i.getCurrentTransformInverse)(w))).img,t&&f&&t.set(r,o)),w.imageSmoothingEnabled=x((0,i.getCurrentTransform)(w),e.interpolate),_(w,o,0,0,o.width,o.height,0,0,u,c),w.globalCompositeOperation="source-in";let A=n.Util.transform((0,i.getCurrentTransformInverse)(w),[1,0,0,1,-E,-L]);return w.fillStyle=f?d.getPattern(l,this,A,a.PathType.FILL):d,w.fillRect(0,0,u,c),t&&!f&&(this.cachedCanvases.delete("fillCanvas"),t.set(r,S.canvas)),{canvas:S.canvas,offsetX:Math.round(E),offsetY:Math.round(L)}}setLineWidth(e){e!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(e){this.ctx.lineCap=T[e]}setLineJoin(e){this.ctx.lineJoin=P[e]}setMiterLimit(e){this.ctx.miterLimit=e}setDash(e,t){let r=this.ctx;void 0!==r.setLineDash&&(r.setLineDash(e),r.lineDashOffset=t)}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(let[t,r]of e)switch(t){case"LW":this.setLineWidth(r);break;case"LC":this.setLineCap(r);break;case"LJ":this.setLineJoin(r);break;case"ML":this.setMiterLimit(r);break;case"D":this.setDash(r[0],r[1]);break;case"RI":this.setRenderingIntent(r);break;case"FL":this.setFlatness(r);break;case"Font":this.setFont(r[0],r[1]);break;case"CA":this.current.strokeAlpha=r;break;case"ca":this.current.fillAlpha=r,this.ctx.globalAlpha=r;break;case"BM":this.ctx.globalCompositeOperation=r;break;case"SMask":this.current.activeSMask=r?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(r)}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){let e=this.inSMaskMode;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw Error("beginSMaskMode called while already in smask mode");let e=this.ctx.canvas.width,t=this.ctx.canvas.height,r="smaskGroupAt"+this.groupLevel,n=this.cachedCanvases.getCanvas(r,e,t);this.suspendedCtx=this.ctx,this.ctx=n.context;let a=this.ctx;a.setTransform(...(0,i.getCurrentTransform)(this.suspendedCtx)),M(this.suspendedCtx,a),p(a,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),M(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];let t=this.current.activeSMask;k(this.suspendedCtx,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore(
vendor: 5,307 bytes, line 2
2)}save(){this.inSMaskMode?(M(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();let e=this.current;this.stateStack.push(e),this.current=e.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),M(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(e,t,r,n,i,a){this.ctx.transform(e,t,r,n,i,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(e,t,r){let a,o;let s=this.ctx,l=this.current,u=l.x,c=l.y,d=(0,i.getCurrentTransform)(s),f=0===d[0]&&0===d[3]||0===d[1]&&0===d[2],h=f?r.slice(0):null;for(let r=0,i=0,p=e.length;r<p;r++)switch(0|e[r]){case n.OPS.rectangle:u=t[i++],c=t[i++];let p=t[i++],m=t[i++],_=u+p,g=c+m;s.moveTo(u,c),0===p||0===m?s.lineTo(_,g):(s.lineTo(_,c),s.lineTo(_,g),s.lineTo(u,g)),f||l.updateRectMinMax(d,[u,c,_,g]),s.closePath();break;case n.OPS.moveTo:u=t[i++],c=t[i++],s.moveTo(u,c),f||l.updatePathMinMax(d,u,c);break;case n.OPS.lineTo:u=t[i++],c=t[i++],s.lineTo(u,c),f||l.updatePathMinMax(d,u,c);break;case n.OPS.curveTo:a=u,o=c,u=t[i+4],c=t[i+5],s.bezierCurveTo(t[i],t[i+1],t[i+2],t[i+3],u,c),l.updateCurvePathMinMax(d,a,o,t[i],t[i+1],t[i+2],t[i+3],u,c,h),i+=6;break;case n.OPS.curveTo2:a=u,o=c,s.bezierCurveTo(u,c,t[i],t[i+1],t[i+2],t[i+3]),l.updateCurvePathMinMax(d,a,o,u,c,t[i],t[i+1],t[i+2],t[i+3],h),u=t[i+2],c=t[i+3],i+=4;break;case n.OPS.curveTo3:a=u,o=c,u=t[i+2],c=t[i+3],s.bezierCurveTo(t[i],t[i+1],u,c,u,c),l.updateCurvePathMinMax(d,a,o,t[i],t[i+1],u,c,u,c,h),i+=4;break;case n.OPS.closePath:s.closePath()}f&&l.updateScalingPathMinMax(d,h),l.setCurrentPoint(u,c)}closePath(){this.ctx.closePath()}stroke(e=!0){let t=this.ctx,r=this.current.strokeColor;t.globalAlpha=this.current.strokeAlpha,this.contentVisible&&("object"==typeof r&&r?.getPattern?(t.save(),t.strokeStyle=r.getPattern(t,this,(0,i.getCurrentTransformInverse)(t),a.PathType.STROKE),this.rescaleAndStroke(!1),t.restore()):this.rescaleAndStroke(!0)),e&&this.consumePath(this.current.getClippedPathBoundingBox()),t.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(e=!0){let t=this.ctx,r=this.current.fillColor,n=this.current.patternFill,o=!1;n&&(t.save(),t.fillStyle=r.getPattern(t,this,(0,i.getCurrentTransformInverse)(t),a.PathType.FILL),o=!0);let s=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==s&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),o&&t.restore(),e&&this.consumePath(s)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=C}eoClip(){this.pendingClip=Y}beginText(){this.current.textMatrix=n.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){let e=this.pendingTextPaths,t=this.ctx;if(void 0===e){t.beginPath();return}for(let r of(t.save(),t.beginPath(),e))t.setTransform(...r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize);t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}setCharSpacing(e){this.current.charSpacing=e}setWordSpacing(e){this.current.wordSpacing=e}setHScale(e){this.current.textHScale=e/100}setLeading(e){this.current.leading=-e}setFont(e,t){let r=this.commonObjs.get(e),i=this.current;if(!r)throw Error(`Can't find font for ${e}`);if(i.fontMatrix=r.fontMatrix||n.FONT_IDENTITY_MATRIX,(0===i.fontMatrix[0]||0===i.fontMatrix[3])&&(0,n.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=r,this.current.fontSize=t,r.isType3Font)return;let a=r.loadedName||"sans-serif",o=r.systemFontInfo?.css||`"${a}", ${r.fallbackName}`,u="normal";r.black?u="900":r.bold&&(u="bold");let c=r.italic?"italic":"normal",d=t;t<s?d=s:t>l&&(d=l),this.current.fontSizeScale=t/d,this.ctx.font=`${c} ${u} ${d}px ${o}`}setTextRenderingMode(e){this.current.textRenderingMode=e}setTextRise(e){this.current.textRise=e}moveText(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}setTextMatrix(e,t,r,n,i,a){this.current.textMatrix=[e,t,r,n,i,a],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(e,t,r,a){let o;let s=this.ctx,l=this.current,u=l.font,c=l.textRenderingMode,d=l.fontSize/l.fontSizeScale,f=c&n.TextRenderingMode.FILL_STROKE_MASK,h=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG),p=l.patternFill&&!u.missingFile;(u.disableFontFace||h||p)&&(o=u.getPathGenerator(this.commonObjs,e)),u.disableFontFace||p?(s.save(),s.translate(t,r),s.beginPath(),o(s,d),a&&s.setTransform(...a),(f===n.TextRenderingMode.FILL||f===n.TextRenderingMode.FILL_STROKE)&&s.fill(),(f===n.TextRenderingMode.STROKE||f===n.TextRenderingMode.FILL_STROKE)&&s.stroke(),s.restore(
2)):((f===n.TextRenderingMode.FILL||f===n.TextRenderingMode.FILL_STROKE)&&s.fillText(e,t,r),(f===n.TextRenderingMode.STROKE||f===n.TextRenderingMode.FILL_STROKE)&&s.strokeText(e,t,r)),h&&(this.pendingTextPaths||=[]).push({transform:(0,i.getCurrentTransform)(s),x:t,y:r,fontSize:d,addToPath:o})}get isFontSubpixelAAEnabled(){let{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);let t=e.getImageData(0,0,10,10).data,r=!1;for(let e=3;e<t.length;e+=4)if(t[e]>0&&t[e]<255){r=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",r)}showText(e){let t;let r=this.current,o=r.font;if(o.isType3Font)return this.showType3Text(e);let s=r.fontSize;if(0===s)return;let l=this.ctx,u=r.fontSizeScale,c=r.charSpacing,d=r.wordSpacing,f=r.fontDirection,h=r.textHScale*f,p=e.length,m=o.vertical,_=m?1:-1,g=o.defaultVMetrics,y=s*r.fontMatrix[0],b=r.textRenderingMode===n.TextRenderingMode.FILL&&!o.disableFontFace&&!r.patternFill;if(l.save(),l.transform(...r.textMatrix),l.translate(r.x,r.y+r.textRise),f>0?l.scale(h,-1):l.scale(h,1),r.patternFill){l.save();let e=r.fillColor.getPattern(l,this,(0,i.getCurrentTransformInverse)(l),a.PathType.FILL);t=(0,i.getCurrentTransform)(l),l.restore(),l.fillStyle=e}let v=r.lineWidth,M=r.textMatrixScale;if(0===M||0===v){let e=r.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;(e===n.TextRenderingMode.STROKE||e===n.TextRenderingMode.FILL_STROKE)&&(v=this.getSinglePixelWidth())}else v/=M;if(1!==u&&(l.scale(u,u),v/=u),l.lineWidth=v,o.isInvalidPDFjsFont){let t=[],n=0;for(let r of e)t.push(r.unicode),n+=r.width;l.fillText(t.join(""),0,0),r.x+=n*y*h,l.restore(),this.compose();return}let S=0,w;for(w=0;w<p;++w){let r,n;let i=e[w];if("number"==typeof i){S+=_*i*s/1e3;continue}let a=!1,h=(i.isSpace?d:0)+c,p=i.fontChar,v=i.accent,M=i.width;if(m){let e=i.vmetric||g,t=-(i.vmetric?e[1]:.5*M)*y,a=e[2]*y;M=e?-e[0]:M,r=t/u,n=(S+a)/u}else r=S/u,n=0;if(o.remeasure&&M>0){let e=1e3*l.measureText(p).width/s*u;if(M<e&&this.isFontSubpixelAAEnabled){let t=M/e;a=!0,l.save(),l.scale(t,1),r/=t}else M!==e&&(r+=(M-e)/2e3*s/u)}if(this.contentVisible&&(i.isInFont||o.missingFile)){if(b&&!v)l.fillText(p,r,n);else if(this.paintChar(p,r,n,t),v){let e=r+s*v.offset.x/u,i=n-s*v.offset.y/u;this.paintChar(v.fontChar,e,i,t)}}S+=m?M*y-h*f:M*y+h*f,a&&l.restore()}m?r.y-=S:r.x+=S*h,l.restore(),this.compose()}showType3Text(e){let t,r,i,a;let o=this.ctx,s=this.current,l=s.font,u=s.fontSize,c=s.fontDirection,d=l.vertical?1:-1,f=s.charSpacing,h=s.wordSpacing,p=s.textHScale*c,m=s.fontMatrix||n.FONT_IDENTITY_MATRIX,_=e.length;if(s.textRenderingMode!==n.TextRenderingMode.INVISIBLE&&0!==u){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,o.save(),o.transform(...s.textMatrix),o.translate(s.x,s.y),o.scale(p,c),t=0;t<_;++t){if("number"==typeof(r=e[t])){a=d*r*u/1e3,this.ctx.translate(a,0),s.x+=a*p;continue}let c=(r.isSpace?h:0)+f,_=l.charProcOperatorList[r.operatorListId];if(!_){(0,n.warn)(`Type3 character "${r.operatorListId}" is not available.`);continue}this.contentVisible&&(this.processingType3=r,this.save(),o.scale(u,u),o.transform(...m),this.executeOperatorList(_),this.restore()),i=n.Util.applyTransform([r.width,0],m)[0]*u+c,o.translate(i,0),s.x+=i*p}o.restore(),this.processingType3=null}}setCharWidth(e,t){}setCharWidthAndBounds(e,t,r,n,i,a){this.ctx.rect(r,n,i-r,a-n),this.ctx.clip(),this.endPath()}getColorN_Pattern(e){let t;if("TilingPattern"===e[0]){let r=e[1],n=this.baseTransform||(0,i.getCurrentTransform)(this.ctx),o={createCanvasGraphics:e=>new D(e,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};t=new a.TilingPattern(e,r,this.ctx,o,n)}else t=this._getPattern(e[1],e[2]);return t}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(e,t,r){let i=n.Util.makeHexColor(e,t,r);this.ctx.strokeStyle=i,this.current.strokeColor=i}setFillRGBColor(e,t,r){let i=n.Util.makeHexColor(e,t,r);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1}_getPattern(e,t=null){let r;return this.cachedPatterns.has(e)?r=this.cachedPatterns.get(e):(r=(0,a.getShadingPattern)(this.getObject(e)),this.cachedPatterns.set(e,r)),t&&(r.matrix=t),r}shadingFill(e){if(!this.contentVisible)return;let t=this.ctx;this.save();let r=this._getPattern(e);t.fillStyle=r.getPattern(t,this,(0,i.getCurrentTransformInverse)(t),a.PathType.SHADING);let o=(0,i.getCurrentTransformInverse)(t);if(o){let{width:e,height:r}=t.canvas,[i,a,s,l]=n.Util.getAxialAlignedBoundingBox([0,0,e,r],o);this.ctx.fillRect(i,a,s-i,l-a)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore(
2)}beginInlineImage(){(0,n.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,n.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform(...e),this.baseTransform=(0,i.getCurrentTransform)(this.ctx),t)){let e=t[2]-t[0],r=t[3]-t[1];this.ctx.rect(t[0],t[1],e,r),this.current.updateRectMinMax((0,i.getCurrentTransform)(this.ctx),t),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);let t=this.ctx;e.isolated||(0,n.info)("TODO: Support non-isolated groups."),e.knockout&&(0,n.warn)("Knockout groups not supported.");let r=(0,i.getCurrentTransform)(t);if(e.matrix&&t.transform(...e.matrix),!e.bbox)throw Error("Bounding box is required.");let a=n.Util.getAxialAlignedBoundingBox(e.bbox,(0,i.getCurrentTransform)(t)),o=[0,0,t.canvas.width,t.canvas.height],s=Math.floor((a=n.Util.intersect(a,o)||[0,0,0,0])[0]),l=Math.floor(a[1]),c=Math.max(Math.ceil(a[2])-s,1),d=Math.max(Math.ceil(a[3])-l,1),f=1,h=1;c>u&&(f=c/u,c=u),d>u&&(h=d/u,d=u),this.current.startNewPathAndClipBox([0,0,c,d]);let p="groupAt"+this.groupLevel;e.smask&&(p+="_smask_"+this.smaskCounter++%2);let m=this.cachedCanvases.getCanvas(p,c,d),_=m.context;_.scale(1/f,1/h),_.translate(-s,-l),_.transform(...r),e.smask?this.smaskStack.push({canvas:m.canvas,context:_,offsetX:s,offsetY:l,scaleX:f,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(s,l),t.scale(f,h),t.save()),M(t,_),this.ctx=_,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++}endGroup(e){if(!this.contentVisible)return;this.groupLevel--;let t=this.ctx,r=this.groupStack.pop();if(this.ctx=r,this.ctx.imageSmoothingEnabled=!1,e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();let e=(0,i.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...e);let r=n.Util.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],e);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(r)}}beginAnnotation(e,t,r,a,o){if(this.#e9(),S(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(t)&&4===t.length){let a=t[2]-t[0],s=t[3]-t[1];if(o&&this.annotationCanvasMap){r=r.slice(),r[4]-=t[0],r[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=a,t[3]=s;let[o,l]=n.Util.singularValueDecompose2dScale((0,i.getCurrentTransform)(this.ctx)),{viewportScale:u}=this,c=Math.ceil(a*this.outputScaleX*u),d=Math.ceil(s*this.outputScaleY*u);this.annotationCanvas=this.canvasFactory.create(c,d);let{canvas:f,context:h}=this.annotationCanvas;this.annotationCanvasMap.set(e,f),this.annotationCanvas.savedCtx=this.ctx,this.ctx=h,this.ctx.save(),this.ctx.setTransform(o,0,0,-l,0,s*l),S(this.ctx)}else S(this.ctx),this.ctx.rect(t[0],t[1],a,s),this.ctx.clip(),this.endPath()}this.current=new y(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...r),this.transform(...a)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),this.#te(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(e){if(!this.contentVisible)return;let t=e.count;(e=this.getObject(e.data,e)).count=t;let r=this.ctx,n=this.processingType3;if(n&&(void 0===n.compiled&&(n.compiled=g(e)),n.compiled)){n.compiled(r);return}let i=this._createMaskCanvas(e),a=i.canvas;r.save(),r.setTransform(1,0,0,1,0,0),r.drawImage(a,i.offsetX,i.offsetY),r.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t,r=0,a=0,o,s){if(!this.contentVisible)return;e=this.getObject(e.data,e);let l=this.ctx;l.save();let u=(0,i.getCurrentTransform)(l);l.transform(t,r,a,o,0,0);let c=this._createMaskCanvas(e);l.setTransform(1,0,0,1,c.offsetX-u[4],c.offsetY-u[5]);for(let e=0,i=s.length;e<i;e+=2){let i=n.Util.transform(u,[t,r,a,o,s[e],s[e+1]]),[d,f]=n.Util.applyTransform([0,0],i);l.drawImage(c.canvas,d,f)}
2l.restore(),this.compose()}paintImageMaskXObjectGroup(e){if(!this.contentVisible)return;let t=this.ctx,r=this.current.fillColor,n=this.current.patternFill;for(let o of e){let{data:e,width:s,height:l,transform:u}=o,c=this.cachedCanvases.getCanvas("maskCanvas",s,l),d=c.context;d.save(),v(d,this.getObject(e,o)),d.globalCompositeOperation="source-in",d.fillStyle=n?r.getPattern(d,this,(0,i.getCurrentTransformInverse)(t),a.PathType.FILL):r,d.fillRect(0,0,s,l),d.restore(),t.save(),t.transform(...u),t.scale(1,-1),_(t,c.canvas,0,0,s,l,0,-1,1,1),t.restore()}this.compose()}paintImageXObject(e){if(!this.contentVisible)return;let t=this.getObject(e);if(!t){(0,n.warn)("Dependent image isn't ready yet");return}this.paintInlineImageXObject(t)}paintImageXObjectRepeat(e,t,r,i){if(!this.contentVisible)return;let a=this.getObject(e);if(!a){(0,n.warn)("Dependent image isn't ready yet");return}let o=a.width,s=a.height,l=[];for(let e=0,n=i.length;e<n;e+=2)l.push({transform:[t,0,0,r,i[e],i[e+1]],x:0,y:0,w:o,h:s});this.paintInlineImageXObjectGroup(a,l)}applyTransferMapsToCanvas(e){return"none"!==this.current.transferMaps&&(e.filter=this.current.transferMaps,e.drawImage(e.canvas,0,0),e.filter="none"),e.canvas}applyTransferMapsToBitmap(e){if("none"===this.current.transferMaps)return e.bitmap;let{bitmap:t,width:r,height:n}=e,i=this.cachedCanvases.getCanvas("inlineImage",r,n),a=i.context;return a.filter=this.current.transferMaps,a.drawImage(t,0,0),a.filter="none",i.canvas}paintInlineImageXObject(e){let t;if(!this.contentVisible)return;let r=e.width,a=e.height,o=this.ctx;if(this.save(),!n.isNodeJS){let{filter:e}=o;"none"!==e&&""!==e&&(o.filter="none")}if(o.scale(1/r,-1/a),e.bitmap)t=this.applyTransferMapsToBitmap(e);else if("function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)t=e;else{let n=this.cachedCanvases.getCanvas("inlineImage",r,a).context;b(n,e),t=this.applyTransferMapsToCanvas(n)}let s=this._scaleImage(t,(0,i.getCurrentTransformInverse)(o));o.imageSmoothingEnabled=x((0,i.getCurrentTransform)(o),e.interpolate),_(o,s.img,0,0,s.paintWidth,s.paintHeight,0,-a,r,a),this.compose(),this.restore()}paintInlineImageXObjectGroup(e,t){let r;if(!this.contentVisible)return;let n=this.ctx;if(e.bitmap)r=e.bitmap;else{let t=e.width,n=e.height,i=this.cachedCanvases.getCanvas("inlineImage",t,n).context;b(i,e),r=this.applyTransferMapsToCanvas(i)}for(let e of t)n.save(),n.transform(...e.transform),n.scale(1,-1),_(n,r,e.x,e.y,e.w,e.h,0,-1,1,1),n.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(e){}markPointProps(e,t){}beginMarkedContent(e){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(e){let t=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(e);let r=this.ctx;this.pendingClip&&(t||(this.pendingClip===Y?r.clip("evenodd"):r.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),r.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){let e=(0,i.getCurrentTransform)(this.ctx);if(0===e[1]&&0===e[2])this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(e[0]),Math.abs(e[3]));else{let t=Math.abs(e[0]*e[3]-e[2]*e[1]),r=Math.hypot(e[0],e[2]),n=Math.hypot(e[1],e[3]);this._cachedGetSinglePixelWidth=Math.max(r,n)/t}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(-1===this._cachedScaleForStroking[0]){let e,t;let{lineWidth:r}=this.current,{a:n,b:i,c:a,d:o}=this.ctx.getTransform();if(0===i&&0===a){let i=Math.abs(n),a=Math.abs(o);if(i===a){if(0===r)e=t=1/i;else{let n=i*r;e=t=n<1?1/n:1}}else if(0===r)e=1/i,t=1/a;else{let n=i*r,o=a*r;e=n<1?1/n:1,t=o<1?1/o:1}}else{let s=Math.abs(n*o-i*a),l=Math.hypot(n,i),u=Math.hypot(a,o);if(0===r)e=u/s,t=l/s;else{let n=r*s;e=u>n?u/n:1,t=l>n?l/n:1}}this._cachedScaleForStroking[0]=e,this._cachedScaleForStroking[1]=t}return this._cachedScaleForStroking}rescaleAndStroke(e){let{ctx:t}=this,{lineWidth:r}=this.current,[n,i]=this.getScaleForStroking();if(t.lineWidth=r||1,1===n&&1===i){t.stroke();return}let a=t.getLineDash();if(e&&t.save(),t.scale(n,i),a.length>0){let e=Math.max(n,i);t.setLineDash(a.map(t=>t/e)),t.lineDashOffset/=e}
2t.stroke(),e&&t.restore()}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}}for(let e in t.CanvasGraphics=D,n.OPS)void 0!==D.prototype[e]&&(D.prototype[n.OPS[e]]=D.prototype[e])},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.PathType=void 0,t.getShadingPattern=h;var n=r(1),i=r(6);let a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function o(e,t){if(!t)return;let r=t[2]-t[0],n=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],r,n),e.clip(i)}t.PathType=a;class s{constructor(){this.constructor===s&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class l extends s{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;for(let r of("axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1)),this._colorStops))t.addColorStop(r[0],r[1]);return t}getPattern(e,t,r,s){let l;if(s===a.STROKE||s===a.FILL){let a=t.current.getClippedPathBoundingBox(s,(0,i.getCurrentTransform)(e))||[0,0,0,0],u=Math.ceil(a[2]-a[0])||1,c=Math.ceil(a[3]-a[1])||1,d=t.cachedCanvases.getCanvas("pattern",u,c,!0),f=d.context;f.clearRect(0,0,f.canvas.width,f.canvas.height),f.beginPath(),f.rect(0,0,f.canvas.width,f.canvas.height),f.translate(-a[0],-a[1]),r=n.Util.transform(r,[1,0,0,1,a[0],a[1]]),f.transform(...t.baseTransform),this.matrix&&f.transform(...this.matrix),o(f,this._bbox),f.fillStyle=this._createGradient(f),f.fill(),l=e.createPattern(d.canvas,"no-repeat");let h=new DOMMatrix(r);l.setTransform(h)}else o(e,this._bbox),l=this._createGradient(e);return l}}function u(e,t,r,n,i,a,o,s){let l,u,c,d,f,h,p,m,_;let g=t.coords,y=t.colors,b=e.data,v=4*e.width;g[r+1]>g[n+1]&&(l=r,r=n,n=l,l=a,a=o,o=l),g[n+1]>g[i+1]&&(l=n,n=i,i=l,l=o,o=s,s=l),g[r+1]>g[n+1]&&(l=r,r=n,n=l,l=a,a=o,o=l);let M=(g[r]+t.offsetX)*t.scaleX,S=(g[r+1]+t.offsetY)*t.scaleY,w=(g[n]+t.offsetX)*t.scaleX,E=(g[n+1]+t.offsetY)*t.scaleY,L=(g[i]+t.offsetX)*t.scaleX,A=(g[i+1]+t.offsetY)*t.scaleY;if(S>=A)return;let k=y[a],x=y[a+1],T=y[a+2],P=y[o],C=y[o+1],Y=y[o+2],D=y[s],O=y[s+1],R=y[s+2],j=Math.round(S),I=Math.round(A);for(let e=j;e<=I;e++){let t;if(e<E){let t=e<S?0:(S-e)/(S-E);u=M-(M-w)*t,c=k-(k-P)*t,d=x-(x-C)*t,f=T-(T-Y)*t}else{let t;u=w-(w-L)*(t=e>A?1:E===A?0:(E-e)/(E-A)),c=P-(P-D)*t,d=C-(C-O)*t,f=Y-(Y-R)*t}h=M-(M-L)*(t=e<S?0:e>A?1:(S-e)/(S-A)),p=k-(k-D)*t,m=x-(x-O)*t,_=T-(T-R)*t;let r=Math.round(Math.min(u,h)),n=Math.round(Math.max(u,h)),i=v*e+4*r;for(let e=r;e<=n;e++)(t=(u-e)/(u-h))<0?t=0:t>1&&(t=1),b[i++]=c-(c-p)*t|0,b[i++]=d-(d-m)*t|0,b[i++]=f-(f-_)*t|0,b[i++]=255}}function c(e,t,r){let n,i;let a=t.coords,o=t.colors;switch(t.type){case"lattice":let s=t.verticesPerRow,l=Math.floor(a.length/s)-1,c=s-1;for(n=0;n<l;n++){let t=n*s;for(let n=0;n<c;n++,t++)u(e,r,a[t],a[t+1],a[t+s],o[t],o[t+1],o[t+s]),u(e,r,a[t+s+1],a[t+1],a[t+s],o[t+s+1],o[t+1],o[t+s])}break;case"triangles":for(n=0,i=a.length;n<i;n+=3)u(e,r,a[n],a[n+1],a[n+2],o[n],o[n+1],o[n+2]);break;default:throw Error("illegal figure")}}class d extends s{constructor(e){super(),this._coords=e[2],this._colors=e[3],this._figures=e[4],this._bounds=e[5],this._bbox=e[7],this._background=e[8],this.matrix=null}_createMeshCanvas(e,t,r){let n=1.1,i=3e3,a=2,o=Math.floor(this._bounds[0]),s=Math.floor(this._bounds[1]),l=Math.ceil(this._bounds[2])-o,u=Math.ceil(this._bounds[3])-s,d=Math.min(Math.ceil(Math.abs(l*e[0]*n)),i),f=Math.min(Math.ceil(Math.abs(u*e[1]*n)),i),h=l/d,p=u/f,m={coords:this._coords,colors:this._colors,offsetX:-o,offsetY:-s,scaleX:1/h,scaleY:1/p},_=d+2*a,g=f+2*a,y=r.getCanvas("mesh",_,g,!1),b=y.context,v=b.createImageData(d,f);if(t){let e=v.data;for(let r=0,n=e.length;r<n;r+=4)e[r]=t[0],e[r+1]=t[1],e[r+2]=t[2],e[r+3]=255}for(let e of this._figures)c(v,e,m);return b.putImageData(v,a,a),{canvas:y.canvas,offsetX:o-a*h,offsetY:s-a*p,scaleX:h,scaleY:p}}getPattern(e,t,r,s){let l;if(o(e,this._bbox),s===a.SHADING)l=n.Util.singularValueDecompose2dScale((0,i.getCurrentTransform)(e));else if(l=n.Util.singularValueDecompose2dScale(t.baseTransform),this.matrix
2){let e=n.Util.singularValueDecompose2dScale(this.matrix);l=[l[0]*e[0],l[1]*e[1]]}let u=this._createMeshCanvas(l,s===a.SHADING?null:this._background,t.cachedCanvases);return s!==a.SHADING&&(e.setTransform(...t.baseTransform),this.matrix&&e.transform(...this.matrix)),e.translate(u.offsetX,u.offsetY),e.scale(u.scaleX,u.scaleY),e.createPattern(u.canvas,"no-repeat")}}class f extends s{getPattern(){return"hotpink"}}function h(e){switch(e[0]){case"RadialAxial":return new l(e);case"Mesh":return new d(e);case"Dummy":return new f}throw Error(`Unknown IR type: ${e[0]}`)}let p={COLORED:1,UNCOLORED:2};class m{static MAX_PATTERN_SIZE=3e3;constructor(e,t,r,n,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.ctx=r,this.canvasGraphicsFactory=n,this.baseTransform=i}createPatternCanvas(e){let t=this.operatorList,r=this.bbox,a=this.xstep,o=this.ystep,s=this.paintType,l=this.tilingType,u=this.color,c=this.canvasGraphicsFactory;(0,n.info)("TilingType: "+l);let d=r[0],f=r[1],h=r[2],p=r[3],m=n.Util.singularValueDecompose2dScale(this.matrix),_=n.Util.singularValueDecompose2dScale(this.baseTransform),g=[m[0]*_[0],m[1]*_[1]],y=this.getSizeAndScale(a,this.ctx.canvas.width,g[0]),b=this.getSizeAndScale(o,this.ctx.canvas.height,g[1]),v=e.cachedCanvases.getCanvas("pattern",y.size,b.size,!0),M=v.context,S=c.createCanvasGraphics(M);S.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(S,s,u);let w=d,E=f,L=h,A=p;return d<0&&(w=0,L+=Math.abs(d)),f<0&&(E=0,A+=Math.abs(f)),M.translate(-(y.scale*w),-(b.scale*E)),S.transform(y.scale,0,0,b.scale,0,0),M.save(),this.clipBbox(S,w,E,L,A),S.baseTransform=(0,i.getCurrentTransform)(S.ctx),S.executeOperatorList(t),S.endDrawing(),{canvas:v.canvas,scaleX:y.scale,scaleY:b.scale,offsetX:w,offsetY:E}}getSizeAndScale(e,t,r){e=Math.abs(e);let n=Math.max(m.MAX_PATTERN_SIZE,t),i=Math.ceil(e*r);return i>=n?i=n:r=i/e,{scale:r,size:i}}clipBbox(e,t,r,n,a){let o=n-t,s=a-r;e.ctx.rect(t,r,o,s),e.current.updateRectMinMax((0,i.getCurrentTransform)(e.ctx),[t,r,n,a]),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,r){let i=e.ctx,a=e.current;switch(t){case p.COLORED:let o=this.ctx;i.fillStyle=o.fillStyle,i.strokeStyle=o.strokeStyle,a.fillColor=o.fillStyle,a.strokeColor=o.strokeStyle;break;case p.UNCOLORED:let s=n.Util.makeHexColor(r[0],r[1],r[2]);i.fillStyle=s,i.strokeStyle=s,a.fillColor=s,a.strokeColor=s;break;default:throw new n.FormatError(`Unsupported paint type: ${t}`)}}getPattern(e,t,r,i){let o=r;i!==a.SHADING&&(o=n.Util.transform(o,t.baseTransform),this.matrix&&(o=n.Util.transform(o,this.matrix)));let s=this.createPatternCanvas(t),l=new DOMMatrix(o);l=(l=l.translate(s.offsetX,s.offsetY)).scale(1/s.scaleX,1/s.scaleY);let u=e.createPattern(s.canvas,"repeat");return u.setTransform(l),u}}t.TilingPattern=m},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.convertBlackAndWhiteToRGBA=a,t.convertToRGBA=i,t.grayToRGBA=s;var n=r(1);function i(e){switch(e.kind){case n.ImageKind.GRAYSCALE_1BPP:return a(e);case n.ImageKind.RGB_24BPP:return o(e)}return null}function a({src:e,srcPos:t=0,dest:r,width:i,height:a,nonBlackColor:o=4294967295,inverseDecode:s=!1}){let l=n.FeatureTest.isLittleEndian?4278190080:255,[u,c]=s?[o,l]:[l,o],d=i>>3,f=7&i,h=e.length;r=new Uint32Array(r.buffer);let p=0;for(let n=0;n<a;n++){for(let n=t+d;t<n;t++){let n=t<h?e[t]:255;r[p++]=128&n?c:u,r[p++]=64&n?c:u,r[p++]=32&n?c:u,r[p++]=16&n?c:u,r[p++]=8&n?c:u,r[p++]=4&n?c:u,r[p++]=2&n?c:u,r[p++]=1&n?c:u}if(0===f)continue;let n=t<h?e[t++]:255;for(let e=0;e<f;e++)r[p++]=n&1<<7-e?c:u}return{srcPos:t,destPos:p}}function o({src:e,srcPos:t=0,dest:r,destPos:i=0,width:a,height:o}){let s=0,l=e.length>>2,u=new Uint32Array(e.buffer,t,l);if(n.FeatureTest.isLittleEndian){for(;s<l-2;s+=3,i+=4){let e=u[s],t=u[s+1],n=u[s+2];r[i]=4278190080|e,r[i+1]=e>>>24|t<<8|4278190080,r[i+2]=t>>>16|n<<16|4278190080,r[i+3]=n>>>8|4278190080}for(let t=4*s,n=e.length;t<n;t+=3)r[i++]=e[t]|e[t+1]<<8|e[t+2]<<16|4278190080}else{for(;s<l-2;s+=3,i+=4){let e=u[s],t=u[s+1],n=u[s+2];r[i]=255|e,r[i+1]=e<<24|t>>>8|255,r[i+2]=t<<16|n>>>16|255,r[i+3]=n<<8|255}for(let t=4*s,n=e.length;t<n;t+=3)r[i++]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|255}return{srcPos:t,destPos:i}}function s(e,t){if(n.FeatureTest.isLittleEndian)for(let r=0,n=e.length;r<n;r++)t[r]=65793*e[r]|4278190080;else for(let r=0,n=e.length;r<n;r++)t[r]=16843008*e[r]|255}},(e,t)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;let r=Object.create(null);t.GlobalWorkerOptions=r,r.workerPort=null,r.workerSrc=""},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var n=r(1);let i={DATA:1,ERROR:2},a={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function o(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}class s{constructor(e,t,r){this.sourceName=e,this.targetName=t,this.comObj=r,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=e=>{let t=e.data;if(t.targetName!==this.sourceName)return;if(t.stream){this.#tt(t);return}if(t.callback){let e=t.callbackId,r=this.callbackCapabilities[e];if(!r)throw Error(`Cannot resolve callback ${e}`);if(delete this.callbackCapabilities[e],t.callback===i.DATA)r.resolve(t.data);else if(t.callback===i.ERROR)r.reject(o(t.reason));else throw Error("Unexpected callback case");return}let n=this.actionHandler[t.action];if(!n)throw Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){let e=this.sourceName,a=t.sourceName;new Promise(function(e){e(n(t.data))}).then(function(n){r.postMessage({sourceName:e,targetName:a,callback:i.DATA,callbackId:t.callbackId,data:n})},function(n){r.postMessage({sourceName:e,targetName:a,callback:i.ERROR,callbackId:t.callbackId,reason:o(n)})});return}if(t.streamId){this.#tr(t);return}n(t.data)},r.addEventListener("message",this._onComObjOnMessage)}on(e,t){let r=this.actionHandler;if(r[e])throw Error(`There is already an actionName called "${e}"`);r[e]=t}send(e,t,r){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}sendWithPromise(e,t,r){let i=this.callbackId++,a=new n.PromiseCapability;this.callbackCapabilities[i]=a;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:i,data:t},r)}catch(e){a.reject(e)}return a.promise}sendWithStream(e,t,r,i){let s=this.streamId++,l=this.sourceName,u=this.targetName,c=this.comObj;return new ReadableStream({start:r=>{let a=new n.PromiseCapability;return this.streamControllers[s]={controller:r,startCall:a,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:l,targetName:u,action:e,streamId:s,data:t,desiredSize:r.desiredSize},i),a.promise},pull:e=>{let t=new n.PromiseCapability;return this.streamControllers[s].pullCall=t,c.postMessage({sourceName:l,targetName:u,stream:a.PULL,streamId:s,desiredSize:e.desiredSize}),t.promise},cancel:e=>{(0,n.assert)(e instanceof Error,"cancel must have a valid reason");let t=new n.PromiseCapability;return this.streamControllers[s].cancelCall=t,this.streamControllers[s].isClosed=!0,c.postMessage({sourceName:l,targetName:u,stream:a.CANCEL,streamId:s,reason:o(e)}),t.promise}},r)}#tr(e){let t=e.streamId,r=this.sourceName,i=e.sourceName,s=this.comObj,l=this,u=this.actionHandler[e.action],c={enqueue(e,o=1,l){if(this.isCancelled)return;let u=this.desiredSize;this.desiredSize-=o,u>0&&this.desiredSize<=0&&(this.sinkCapability=new n.PromiseCapability,this.ready=this.sinkCapability.promise),s.postMessage({sourceName:r,targetName:i,stream:a.ENQUEUE,streamId:t,chunk:e},l)},close(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:r,targetName:i,stream:a.CLOSE,streamId:t}),delete l.streamSinks[t])},error(e){(0,n.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:r,targetName:i,stream:a.ERROR,streamId:t,reason:o(e)}))},sinkCapability:new n.PromiseCapability,onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};c.sinkCapability.resolve(),c.ready=c.sinkCapability.promise,this.streamSinks[t]=c,new Promise(function(t){t(u(e.data,c))}).then(function(){s.postMessage({sourceName:r,targetName:i,stream:a.START_COMPLETE,streamId:t,success:!0})},function(e){s.postMessage({sourceName:r,targetName:i,stream:a.START_COMPLETE,streamId:t,reason:o(e)})})}#tt(e){let t=e.streamId,r=this.sourceName,i=e.sourceName,s=this.comObj,l=this.streamControllers[t],u=this.streamSinks[t];
2switch(e.stream){case a.START_COMPLETE:e.success?l.startCall.resolve():l.startCall.reject(o(e.reason));break;case a.PULL_COMPLETE:e.success?l.pullCall.resolve():l.pullCall.reject(o(e.reason));break;case a.PULL:if(!u){s.postMessage({sourceName:r,targetName:i,stream:a.PULL_COMPLETE,streamId:t,success:!0});break}u.desiredSize<=0&&e.desiredSize>0&&u.sinkCapability.resolve(),u.desiredSize=e.desiredSize,new Promise(function(e){e(u.onPull?.())}).then(function(){s.postMessage({sourceName:r,targetName:i,stream:a.PULL_COMPLETE,streamId:t,success:!0})},function(e){s.postMessage({sourceName:r,targetName:i,stream:a.PULL_COMPLETE,streamId:t,reason:o(e)})});break;case a.ENQUEUE:if((0,n.assert)(l,"enqueue should have stream controller"),l.isClosed)break;l.controller.enqueue(e.chunk);break;case a.CLOSE:if((0,n.assert)(l,"close should have stream controller"),l.isClosed)break;l.isClosed=!0,l.controller.close(),this.#tn(l,t);break;case a.ERROR:(0,n.assert)(l,"error should have stream controller"),l.controller.error(o(e.reason)),this.#tn(l,t);break;case a.CANCEL_COMPLETE:e.success?l.cancelCall.resolve():l.cancelCall.reject(o(e.reason)),this.#tn(l,t);break;case a.CANCEL:if(!u)break;new Promise(function(t){t(u.onCancel?.(o(e.reason)))}).then(function(){s.postMessage({sourceName:r,targetName:i,stream:a.CANCEL_COMPLETE,streamId:t,success:!0})},function(e){s.postMessage({sourceName:r,targetName:i,stream:a.CANCEL_COMPLETE,streamId:t,reason:o(e)})}),u.sinkCapability.reject(o(e.reason)),u.isCancelled=!0,delete this.streamSinks[t];break;default:throw Error("Unexpected stream case")}}async #tn(e,t){await Promise.allSettled([e.startCall?.promise,e.pullCall?.promise,e.cancelCall?.promise]),delete this.streamControllers[t]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}t.MessageHandler=s},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var n=r(1);class i{#ti;#ta;constructor({parsedData:e,rawData:t}){this.#ti=e,this.#ta=t}getRaw(){return this.#ta}get(e){return this.#ti.get(e)??null}getAll(){return(0,n.objectFromMap)(this.#ti)}has(e){return this.#ti.has(e)}}t.Metadata=i},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var n=r(1),i=r(8);let a=Symbol("INTERNAL");class o{#to=!0;constructor(e,t){this.name=e,this.intent=t}get visible(){return this.#to}_setVisible(e,t){e!==a&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#to=t}}class s{#ts=null;#tl=new Map;#tu=null;#tc=null;constructor(e){if(this.name=null,this.creator=null,null===e)return;for(let t of(this.name=e.name,this.creator=e.creator,this.#tc=e.order,e.groups))this.#tl.set(t.id,new o(t.name,t.intent));if("OFF"===e.baseState)for(let e of this.#tl.values())e._setVisible(a,!1);for(let t of e.on)this.#tl.get(t)._setVisible(a,!0);for(let t of e.off)this.#tl.get(t)._setVisible(a,!1);this.#tu=this.getHash()}#td(e){let t=e.length;if(t<2)return!0;let r=e[0];for(let i=1;i<t;i++){let t;let a=e[i];if(Array.isArray(a))t=this.#td(a);else{if(!this.#tl.has(a))return(0,n.warn)(`Optional content group not found: ${a}`),!0;t=this.#tl.get(a).visible}switch(r){case"And":if(!t)return!1;break;case"Or":if(t)return!0;break;case"Not":return!t;default:return!0}}return"And"===r}isVisible(e){if(0===this.#tl.size)return!0;if(!e)return(0,n.warn)("Optional content group not defined."),!0;if("OCG"===e.type)return this.#tl.has(e.id)?this.#tl.get(e.id).visible:((0,n.warn)(`Optional content group not found: ${e.id}`),!0);if("OCMD"===e.type){if(e.expression)return this.#td(e.expression);if(e.policy&&"AnyOn"!==e.policy){if("AllOn"===e.policy){for(let t of e.ids){if(!this.#tl.has(t)){(0,n.warn)(`Optional content group not found: ${t}`);break}if(!this.#tl.get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(let t of e.ids){if(!this.#tl.has(t))return(0,n.warn)(`Optional content group not found: ${t}`),!0;if(!this.#tl.get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(let t of e.ids){if(!this.#tl.has(t)){(0,n.warn)(`Optional content group not found: ${t}`);break}if(this.#tl.get(t).visible)return!1}return!0}}else{for(let t of e.ids){if(!this.#tl.has(t))return(0,n.warn)(`Optional content group not found: ${t}`),!0;if(this.#tl.get(t).visible)return!0}return!1}return(0,n.warn)(`Unknown optional content policy ${e.policy}.`),!0}return(0,n.warn)(`Unknown group type ${e.type}.`),!0}setVisibility(e,t=!0){if(!this.#tl.has(e)){(0,n.warn)(`Optional content group not found: ${e}`);return}this.#tl.get(e)._setVisible(a,!!t),this.#ts=null}get hasInitialVisibility(){return null===this.#tu||this.getHash()===this.#tu}getOrder(){return this.#tl.size?this.#tc?this.#tc.slice():[...this.#tl.keys()]:null}getGroups(){return this.#tl.size>0?(0,n.objectFromMap)(this.#tl):null}getGroup(e){return this.#tl.get(e)||null}getHash(){if(null!==this.#ts)return this.#ts;let e=new i.MurmurHash3_64;
2for(let[t,r]of this.#tl)e.update(`${t}:${r.visible}`);return this.#ts=e.hexdigest()}}t.OptionalContentConfig=s},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var n=r(1),i=r(6);class a{constructor({length:e,initialData:t,progressiveDone:r=!1,contentDispositionFilename:i=null,disableRange:a=!1,disableStream:o=!1},s){if((0,n.assert)(s,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=r,this._contentDispositionFilename=i,t?.length>0){let e=t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength?t.buffer:new Uint8Array(t).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=s,this._isStreamingSupported=!o,this._isRangeSupported=!a,this._contentLength=e,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((e,t)=>{this._onReceiveData({begin:e,chunk:t})}),this._pdfDataRangeTransport.addProgressListener((e,t)=>{this._onProgress({loaded:e,total:t})}),this._pdfDataRangeTransport.addProgressiveReadListener(e=>{this._onReceiveData({chunk:e})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData({begin:e,chunk:t}){let r=t instanceof Uint8Array&&t.byteLength===t.buffer.byteLength?t.buffer:new Uint8Array(t).buffer;if(void 0===e)this._fullRequestReader?this._fullRequestReader._enqueue(r):this._queuedChunks.push(r);else{let t=this._rangeReaders.some(function(t){return t._begin===e&&(t._enqueue(r),!0)});(0,n.assert)(t,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(e){void 0===e.total?this._rangeReaders[0]?.onProgress?.({loaded:e.loaded}):this._fullRequestReader?.onProgress?.({loaded:e.loaded,total:e.total})}_onProgressiveDone(){this._fullRequestReader?.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){let t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");let e=this._queuedChunks;return this._queuedChunks=null,new o(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;let r=new s(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(r),r}cancelAllRequests(e){for(let t of(this._fullRequestReader?.cancel(e),this._rangeReaders.slice(0)))t.cancel(e);this._pdfDataRangeTransport.abort()}}t.PDFDataTransportStream=a;class o{constructor(e,t,r=!1,n=null){for(let a of(this._stream=e,this._done=r||!1,this._filename=(0,i.isPdfFile)(n)?n:null,this._queuedChunks=t||[],this._loaded=0,this._queuedChunks))this._loaded+=a.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};let e=new n.PromiseCapability;return this._requests.push(e),e.promise}cancel(e){for(let e of(this._done=!0,this._requests))e.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class s{constructor(e,t,r){this._stream=e,this._begin=t,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{for(let t of(this._requests.shift().resolve({value:e,done:!1}),this._requests))t.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){let e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};let e=new n.PromiseCapability;return this._requests.push(e),e.promise}cancel(e){for(let e of(this._done=!0,this._requests))e.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(e,t,r)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var n=r(1),i=r(20);function a(e,t,r){return{method:"GET",headers:e,signal:r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function o(e){let t=new Headers;for(let r in e){let n=e[r];void 0!==n&&t.append(r,n)}return t}function s(e){return e instanceof Uint8Array?e.buffer:e instanceof ArrayBuffer?e:((0,n.warn)(`getArrayBuffer - unexpected data format: ${e}`),new Uint8Array(e).buffer)}class l{constructor(e){this.source=e,this.isHttp=/^https?:/i.test(e.url),this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new u(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;let r=new c(this,e,t);return this._rangeRequestReaders.push(r),r}cancelAllRequests(e){for(let t of(this._fullRequestReader?.cancel(e),this._rangeRequestReaders.slice(0)))t.cancel(e)}}t.PDFFetchStream=l;class u{constructor(e){this._stream=e,this._reader=null,this._loaded=0,this._filename=null;let t=e.source;this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=new n.PromiseCapability,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._headers=o(this._stream.httpHeaders);let r=t.url;fetch(r,a(this._headers,this._withCredentials,this._abortController)).then(e=>{if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,r);this._reader=e.body.getReader(),this._headersCapability.resolve();let t=t=>e.headers.get(t),{allowRangeRequests:a,suggestedLength:o}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=a,this._contentLength=o||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(t),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;let{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:s(e),done:!1})}cancel(e){this._reader?.cancel(e),this._abortController.abort()}}class c{constructor(e,t,r){this._stream=e,this._reader=null,this._loaded=0;let s=e.source;this._withCredentials=s.withCredentials||!1,this._readCapability=new n.PromiseCapability,this._isStreamingSupported=!s.disableStream,this._abortController=new AbortController,this._headers=o(this._stream.httpHeaders),this._headers.append("Range",`bytes=${t}-${r-1}`);let l=s.url;fetch(l,a(this._headers,this._withCredentials,this._abortController)).then(e=>{if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,l);this._readCapability.resolve(),this._reader=e.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;let{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress?.({loaded:this._loaded}),{value:s(e),done:!1})}cancel(e){this._reader?.cancel(e),this._abortController.abort()}}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=l,t.extractFilenameFromHeader=s,t.validateRangeRequestCapabilities=o,t.validateResponseStatus=u;var n=r(1),i=r(21),a=r(6);function o({getResponseHeader:e,isHttp:t,rangeChunkSize:r,disableRange:n}){let i={allowRangeRequests:!1,suggestedLength:void 0},a=parseInt(e("Content-Length"),10);return Number.isInteger(a)&&(i.suggestedLength=a,a<=2*r||n||!t||"bytes"!==e("Accept-Ranges")||"identity"!==(e("Content-Encoding")||"identity")||(i.allowRangeRequests=!0)),i}function s(e){let t=e("Content-Disposition");if(t){let e=(0,i.getFilenameFromContentDispositionHeader)(t);if(e.includes("%"))try{e=decodeURIComponent(e)}catch{}if((0,a.isPdfFile)(e))return e}return null}function l(e,t){return 404===e||0===e&&t.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+t+'".'):new n.UnexpectedResponseException(`Unexpected server response 
2(${e}) while retrieving PDF "${t}".`,e)}function u(e){return 200===e||206===e}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=i;var n=r(1);function i(e){let t=!0,r=i("filename\\*","i").exec(e);if(r){let e=l(r=r[1]);return o(e=c(e=u(e=unescape(e))))}if(r=s(e))return o(c(r));if(r=i("filename","i").exec(e)){let e=l(r=r[1]);return o(e=c(e))}function i(e,t){return RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function a(e,r){if(e){if(!/^[\x00-\xFF]+$/.test(r))return r;try{let i=new TextDecoder(e,{fatal:!0}),a=(0,n.stringToBytes)(r);r=i.decode(a),t=!1}catch{}}return r}function o(e){return t&&/[\x80-\xff]/.test(e)&&(e=a("utf-8",e),t&&(e=a("iso-8859-1",e))),e}function s(e){let t;let r=[],n=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(t=n.exec(e));){let[,e,n,i]=t;if((e=parseInt(e,10))in r){if(0===e)break;continue}r[e]=[n,i]}let a=[];for(let e=0;e<r.length&&(e in r);++e){let[t,n]=r[e];n=l(n),t&&(n=unescape(n),0===e&&(n=u(n))),a.push(n)}return a.join("")}function l(e){if(e.startsWith('"')){let t=e.slice(1).split('\\"');for(let e=0;e<t.length;++e){let r=t[e].indexOf('"');-1!==r&&(t[e]=t[e].slice(0,r),t.length=e+1),t[e]=t[e].replaceAll(/\\(.)/g,"$1")}e=t.join('"')}return e}function u(e){let t=e.indexOf("'");return -1===t?e:a(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function c(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(e,t,r,n){if("q"===r||"Q"===r)return a(t,n=(n=n.replaceAll("_"," ")).replaceAll(/=([0-9a-fA-F]{2})/g,function(e,t){return String.fromCharCode(parseInt(t,16))}));try{n=atob(n)}catch{}return a(t,n)})}return""}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var n=r(1),i=r(20);let a=200,o=206;function s(e){let t=e.response;return"string"!=typeof t?t:(0,n.stringToBytes)(t).buffer}class l{constructor(e,t={}){this.url=e,this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||Object.create(null),this.withCredentials=t.withCredentials||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,t,r){let n={begin:e,end:t};for(let e in r)n[e]=r[e];return this.request(n)}requestFull(e){return this.request(e)}request(e){let t=new XMLHttpRequest,r=this.currXhrId++,n=this.pendingRequests[r]={xhr:t};for(let e in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){let r=this.httpHeaders[e];void 0!==r&&t.setRequestHeader(e,r)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),n.expectedStatus=o):n.expectedStatus=a,t.responseType="arraybuffer",e.onError&&(t.onerror=function(r){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,r),t.onprogress=this.onProgress.bind(this,r),n.onHeadersReceived=e.onHeadersReceived,n.onDone=e.onDone,n.onError=e.onError,n.onProgress=e.onProgress,t.send(null),r}onProgress(e,t){let r=this.pendingRequests[e];r&&r.onProgress?.(t)}onStateChange(e,t){let r=this.pendingRequests[e];if(!r)return;let n=r.xhr;if(n.readyState>=2&&r.onHeadersReceived&&(r.onHeadersReceived(),delete r.onHeadersReceived),4!==n.readyState||!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],0===n.status&&this.isHttp){r.onError?.(n.status);return}let i=n.status||a;if(!(i===a&&r.expectedStatus===o)&&i!==r.expectedStatus){r.onError?.(n.status);return}let l=s(n);if(i===o){let e=n.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);r.onDone({begin:parseInt(t[1],10),chunk:l})}else l?r.onDone({begin:0,chunk:l}):r.onError?.(n.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){let t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}class u{constructor(e){this._source=e,this._manager=new l(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){let t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new c(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){let r=new d(this._manager,e,t);return r.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(r),r}cancelAllRequests(e){for(let t of(this._fullRequestReader?.cancel(e),this._rangeRequestReaders.slice(0)))t.cancel(e)}}t.PDFNetworkStream=u;class c{constructor(e,t){this._manager=e;let r={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._fullRequestId=e.requestFull(r),this._headersReceivedCapability=new n.PromiseCapability,this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){let e=this._fullRequestId,t=this._manager.getRequestXhr(e),r=e=>t.getResponseHeader(e),{allowRangeRequests:n,suggestedLength:a}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});n&&(this._isRangeSupported=!0),this._contentLength=a||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(r),this._isRangeSupported&&this._manager.abortRequest
2(e),this._headersReceivedCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(let e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){for(let t of(this._storedError=(0,i.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError),this._requests))t.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){this.onProgress?.({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};let e=new n.PromiseCapability;return this._requests.push(e),e.promise}cancel(e){for(let t of(this._done=!0,this._headersReceivedCapability.reject(e),this._requests))t.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class d{constructor(e,t,r){this._manager=e;let n={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(t,r,n),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(e){let t=e.chunk;for(let e of(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0,this._requests))e.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){for(let t of(this._storedError=(0,i.createResponseStatusError)(e,this._url),this._requests))t.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){this.isStreamingSupported||this.onProgress?.({loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){let e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};let e=new n.PromiseCapability;return this._requests.push(e),e.promise}cancel(e){for(let e of(this._done=!0,this._requests))e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var n=r(1),i=r(20);let a=/^file:\/\/\/[a-zA-Z]:\//;function o(e){let t=__webpack_require__(1987),r=t.parse(e);return"file:"===r.protocol||r.host?r:/^[a-z]:[/\\]/i.test(e)?t.parse(`file:///${e}`):(r.host||(r.protocol="file:"),r)}class s{constructor(e){this.source=e,this.url=o(e.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new h(this):new d(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;let r=this.isFsUrl?new p(this,e,t):new f(this,e,t);return this._rangeRequestReaders.push(r),r}cancelAllRequests(e){for(let t of(this._fullRequestReader?.cancel(e),this._rangeRequestReaders.slice(0)))t.cancel(e)}}t.PDFNodeStream=s;class l{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;let t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=new n.PromiseCapability,this._headersCapability=new n.PromiseCapability}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;let e=this._readableStream.read();return null===e?(this._readCapability=new n.PromiseCapability,this.read()):(this._loaded+=e.length,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",()=>{this._readCapability.resolve()}),e.on("end",()=>{e.destroy(),this._done=!0,this._readCapability.resolve()}),e.on("error",e=>{this._error(e)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class u{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=new n.PromiseCapability;let t=e.source;this._isStreamingSupported=!t.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;let e=this._readableStream.read();return null===e?(this._readCapability=new n.PromiseCapability,this.read()):(this._loaded+=e.length,this.onProgress?.({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){if(!this._readableStream){this._error(e);return}this._readableStream.destroy(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",()=>{this._readCapability.resolve()}),e.on("end",()=>{e.destroy(),this._done=!0,this._readCapability.resolve()}),e.on("error",e=>{this._error(e)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function c(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}class d extends l{constructor(e){super(e);let t=t=>{if(404===t.statusCode){let e=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=e,this._headersCapability.reject(e);return}this._headersCapability.resolve(),this._setReadableStream(t);let r=e=>this._readableStream.headers[e.toLowerCase()],{allowRangeRequests:a,suggestedLength:o}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:r,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=a,this._contentLength=o||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(r)};if(this._request=null,"http:"===this._url.protocol){let r=__webpack_require__(2001);this._request=r.request(c(this._url,e.httpHeaders),t)}else{let r=__webpack_require__(3779);this._request=r.request(c(this._url,e.httpHeaders),t)}this._request.on("error",e=>{this._storedError=e,this._headersCapability.reject(e)}),this._request.end()}}class f extends u{constructor(e,t,r){for(let t in super(e),this._httpHeaders={},e.httpHeaders){let r=e.httpHeaders[t];void 0!==r&&(this._httpHeaders[t]=r)}this._httpHeaders.Range=`bytes=${t}-${r-1}`;let i=e=>{if(404===e.statusCode){let e=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=e;return}this._setReadableStream(e)};if(this._request=null,"http:"===this._url.protocol){let e=__webpack_require__(2001);this._request=e.request(c(this._url,this._httpHeaders),i)}else{let e=__webpack_require__(3779);this._request=e.request(c(this._url,this._httpHeaders),i)}this._request.on("error",e=>{this._storedError=e}),this._request.end()}}class h extends l{constructor(e){super(e);let t=decodeURIComponent(this._url.path);a.test(this._url.href)&&(t=t.replace(/^\//,""));let r=__webpack_require__(172);
2r.lstat(t,(e,i)=>{if(e){"ENOENT"===e.code&&(e=new n.MissingPDFException(`Missing PDF "${t}".`)),this._storedError=e,this._headersCapability.reject(e);return}this._contentLength=i.size,this._setReadableStream(r.createReadStream(t)),this._headersCapability.resolve()})}}class p extends u{constructor(e,t,r){super(e);let n=decodeURIComponent(this._url.path);a.test(this._url.href)&&(n=n.replace(/^\//,""));let i=__webpack_require__(172);this._setReadableStream(i.createReadStream(n,{start:t,end:r-1}))}}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var n=r(6),i=r(1);let a={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},o="http://www.w3.org/XML/1998/namespace",s="http://www.w3.org/1999/xlink",l=["butt","round","square"],u=["miter","round","bevel"],c=function(e,t="",r=!1){if(URL.createObjectURL&&"undefined"!=typeof Blob&&!r)return URL.createObjectURL(new Blob([e],{type:t}));let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i=`data:${t};base64,`;for(let t=0,r=e.length;t<r;t+=3){let a=255&e[t],o=255&e[t+1],s=255&e[t+2],l=a>>2,u=(3&a)<<4|o>>4,c=t+1<r?(15&o)<<2|s>>6:64,d=t+2<r?63&s:64;i+=n[l]+n[u]+n[c]+n[d]}return i},d=function(){let e=new Uint8Array([137,80,78,71,13,10,26,10]),t=12,r=new Int32Array(256);for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)t=1&t?3988292384^t>>1&2147483647:t>>1&2147483647;r[e]=t}function n(e,t,n){let i=-1;for(let a=t;a<n;a++){let t=r[(i^e[a])&255];i=i>>>8^t}return -1^i}function a(e,t,r,i){let a=i,o=t.length;r[a]=o>>24&255,r[a+1]=o>>16&255,r[a+2]=o>>8&255,r[a+3]=255&o,r[a+=4]=255&e.charCodeAt(0),r[a+1]=255&e.charCodeAt(1),r[a+2]=255&e.charCodeAt(2),r[a+3]=255&e.charCodeAt(3),a+=4,r.set(t,a);let s=n(r,i+4,a+=t.length);r[a]=s>>24&255,r[a+1]=s>>16&255,r[a+2]=s>>8&255,r[a+3]=255&s}function o(e,t,r){let n=1,i=0;for(let a=t;a<r;++a)i=(i+(n=(n+(255&e[a]))%65521))%65521;return i<<16|n}function s(e){if(!i.isNodeJS)return l(e);try{let t=parseInt(process.versions.node)>=8?e:Buffer.from(e),r=__webpack_require__(2258).deflateSync(t,{level:9});return r instanceof Uint8Array?r:new Uint8Array(r)}catch(e){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return l(e)}function l(e){let t=e.length,r=65535,n=Math.ceil(t/65535),i=new Uint8Array(2+t+5*n+4),a=0;i[a++]=120,i[a++]=156;let s=0;for(;t>r;)i[a++]=0,i[a++]=255,i[a++]=255,i[a++]=0,i[a++]=0,i.set(e.subarray(s,s+r),a),a+=r,s+=r,t-=r;i[a++]=1,i[a++]=255&t,i[a++]=t>>8&255,i[a++]=255&~t,i[a++]=(65535&~t)>>8&255,i.set(e.subarray(s),a),a+=e.length-s;let l=o(e,0,e.length);return i[a++]=l>>24&255,i[a++]=l>>16&255,i[a++]=l>>8&255,i[a++]=255&l,i}function u(r,n,o,l){let u,d,f;let h=r.width,p=r.height,m=r.data;switch(n){case i.ImageKind.GRAYSCALE_1BPP:d=0,u=1,f=h+7>>3;break;case i.ImageKind.RGB_24BPP:d=2,u=8,f=3*h;break;case i.ImageKind.RGBA_32BPP:d=6,u=8,f=4*h;break;default:throw Error("invalid format")}let _=new Uint8Array((1+f)*p),g=0,y=0;for(let e=0;e<p;++e)_[g++]=0,_.set(m.subarray(y,y+f),g),y+=f,g+=f;if(n===i.ImageKind.GRAYSCALE_1BPP&&l){g=0;for(let e=0;e<p;e++){g++;for(let e=0;e<f;e++)_[g++]^=255}}let b=new Uint8Array([h>>24&255,h>>16&255,h>>8&255,255&h,p>>24&255,p>>16&255,p>>8&255,255&p,u,d,0,0,0]),v=s(_),M=new Uint8Array(e.length+3*t+b.length+v.length),S=0;return M.set(e,S),a("IHDR",b,M,S+=e.length),a("IDATA",v,M,S+=t+b.length),S+=t+v.length,a("IEND",new Uint8Array(0),M,S),c(M,"image/png",o)}return function(e,t,r){let n=void 0===e.kind?i.ImageKind.GRAYSCALE_1BPP:e.kind;return u(e,n,t,r)}}();class f{constructor(){this.fontSizeScale=1,this.fontWeight=a.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=a.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(e,t){this.x=e,this.y=t}}function h(e){let t=[],r=[];for(let n of e){if("save"===n.fn){t.push({fnId:92,fn:"group",items:[]}),r.push(t),t=t.at(-1).items;continue}"restore"===n.fn?t=r.pop():t.push(n)}return t}function p(e){if(Number.isInteger(e))return e.toString();let t=e.toFixed(10),r=t.length-1;if("0"!==t[r])return t;do r--;while("0"===t[r]);return t.substring(0,"."===t[r]?r:r+1)}function m(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":`scale(${p(e[0])} ${p(e[3])})`;if(e[0]===e[3]&&e[1]===-e[2]){let t=180*Math.acos(e[0])/Math.PI;return`rotate(${p(t)})`}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return`translate(${p(e[4])} ${p(e[5])})`;return`matrix(${p(e[0])} ${p(e[1])} ${p(e[2])} ${p(e[3])} ${p(e[4])} ${p(e[5])})`}let _=0,g=0,y=0;class b{constructor(e,t,r=!1){for(let a in(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=ne
vendor: 16,387 bytes, lines 2-3
2w f,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!r,this._operatorIdMapping=[],i.OPS)this._operatorIdMapping[i.OPS[a]]=a}getObject(e,t=null){return"string"==typeof e?e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e):t}save(){this.transformStack.push(this.transformMatrix);let e=this.current;this.extraStack.push(e),this.current=e.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(e){this.save(),this.executeOpTree(e),this.restore()}loadDependencies(e){let t=e.fnArray,r=e.argsArray;for(let e=0,n=t.length;e<n;e++)if(t[e]===i.OPS.dependency)for(let t of r[e]){let e=t.startsWith("g_")?this.commonObjs:this.objs,r=new Promise(r=>{e.get(t,r)});this.current.dependencies.push(r)}return Promise.all(this.current.dependencies)}transform(e,t,r,n,a,o){let s=[e,t,r,n,a,o];this.transformMatrix=i.Util.transform(this.transformMatrix,s),this.tgrp=null}getSVG(e,t){this.viewport=t;let r=this._initialize(t);return this.loadDependencies(e).then(()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(e)),r))}convertOpList(e){let t=this._operatorIdMapping,r=e.argsArray,n=e.fnArray,i=[];for(let e=0,a=n.length;e<a;e++){let a=n[e];i.push({fnId:a,fn:t[a],args:r[e]})}return h(i)}executeOpTree(e){for(let t of e){let e=t.fn,r=t.fnId,n=t.args;switch(0|r){case i.OPS.beginText:this.beginText();break;case i.OPS.dependency:break;case i.OPS.setLeading:this.setLeading(n);break;case i.OPS.setLeadingMoveText:this.setLeadingMoveText(n[0],n[1]);break;case i.OPS.setFont:this.setFont(n);break;case i.OPS.showText:case i.OPS.showSpacedText:this.showText(n[0]);break;case i.OPS.endText:this.endText();break;case i.OPS.moveText:this.moveText(n[0],n[1]);break;case i.OPS.setCharSpacing:this.setCharSpacing(n[0]);break;case i.OPS.setWordSpacing:this.setWordSpacing(n[0]);break;case i.OPS.setHScale:this.setHScale(n[0]);break;case i.OPS.setTextMatrix:this.setTextMatrix(n[0],n[1],n[2],n[3],n[4],n[5]);break;case i.OPS.setTextRise:this.setTextRise(n[0]);break;case i.OPS.setTextRenderingMode:this.setTextRenderingMode(n[0]);break;case i.OPS.setLineWidth:this.setLineWidth(n[0]);break;case i.OPS.setLineJoin:this.setLineJoin(n[0]);break;case i.OPS.setLineCap:this.setLineCap(n[0]);break;case i.OPS.setMiterLimit:this.setMiterLimit(n[0]);break;case i.OPS.setFillRGBColor:this.setFillRGBColor(n[0],n[1],n[2]);break;case i.OPS.setStrokeRGBColor:this.setStrokeRGBColor(n[0],n[1],n[2]);break;case i.OPS.setStrokeColorN:this.setStrokeColorN(n);break;case i.OPS.setFillColorN:this.setFillColorN(n);break;case i.OPS.shadingFill:this.shadingFill(n[0]);break;case i.OPS.setDash:this.setDash(n[0],n[1]);break;case i.OPS.setRenderingIntent:this.setRenderingIntent(n[0]);break;case i.OPS.setFlatness:this.setFlatness(n[0]);break;case i.OPS.setGState:this.setGState(n[0]);break;case i.OPS.fill:this.fill();break;case i.OPS.eoFill:this.eoFill();break;case i.OPS.stroke:this.stroke();break;case i.OPS.fillStroke:this.fillStroke();break;case i.OPS.eoFillStroke:this.eoFillStroke();break;case i.OPS.clip:this.clip("nonzero");break;case i.OPS.eoClip:this.clip("evenodd");break;case i.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case i.OPS.paintImageXObject:this.paintImageXObject(n[0]);break;case i.OPS.paintInlineImageXObject:this.paintInlineImageXObject(n[0]);break;case i.OPS.paintImageMaskXObject:this.paintImageMaskXObject(n[0]);break;case i.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(n[0],n[1]);break;case i.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case i.OPS.closePath:this.closePath();break;case i.OPS.closeStroke:this.closeStroke();break;case i.OPS.closeFillStroke:this.closeFillStroke();break;case i.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case i.OPS.nextLine:this.nextLine();break;case i.OPS.transform:this.transform(n[0],n[1],n[2],n[3],n[4],n[5]);break;case i.OPS.constructPath:this.constructPath(n[0],n[1]);break;case i.OPS.endPath:this.endPath();break;case 92:this.group(t.items);break;default:(0,i.warn)(`Unimplemented operator ${e}`)}}}setWordSpacing(e){this.current.wordSpacing=e}setCharSpacing(e){this.current.charSpacing=e}nextLine(){this.moveText(0,this.current.leading)}setTextMatrix(e,t,r,n,i,a){let o=this.current;o.textMatrix=o.lineMatrix=[e,t,r,n,i,a],o.textMatrixScale=Math.hypot(e,t),o.x=o.lineX=0,o.y=o.lineY=0,o.xcoords=[],o.ycoords=[],o.tspan=this.svgFactory.createElement("svg:tspan"),o.tspan.setAttributeNS(null,"font-family",o.fontFamily),o.tspan.setAttributeNS(null,"font-size",`${p(o.fontSize)}px`),o.tspan.setAttributeNS(null,"y",p(-o.y)),o.txtElement=this.svgFactory.createElement("svg:text"),o.txtElement.append(o.tspan)}beginText(){let e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=i.IDENTITY_MATRIX,e.lineMatrix=i.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}moveText(e,t){let r=this.current;r.x=r.lineX+=e,r.y=r.lineY+=t,r.xcoords=[],r.ycoords=[],r.tspan=this.svgFactory.createElement("svg:tspan"),r.tspan.setAttributeNS(null,"font-family",r.fontFamily),r.tspan.setAttributeNS(null,"font-size",`${p(r.fontSize)}px`),r.tspan.setAttributeNS(null,"y",p(-r.y))}showText(e){let t=this.current,r=t.font,n=t.fontSize;if(0===n)return;let s=t.fontSizeScale,l=t.charSpacing,u=t.wordSpacing,c=t.fontDirection,d=t.textHScale*c,f=r.vertical,h=f?1:-1,_=r.defaultVMetrics,g=n*t.fontMatrix[0],y=0;for(let i of e){let e,a;if(null===i){y+=c*u;continue}if("number"==typeof i){y+=h*i*n/1e3;continue}let o=(i.isSpace?u:0)+l,d=i.fontChar,p=i.width;if(f){let t;let r=i.vmetric||_;t=-(t=i.vmetric?r[1]:.5*p)*g;let n=r[2]*g;p=r?-r[0]:p,e=t/s,a=(y+n)/s}else e=y/s,a=0;(i.isInFont||r.missingFile)&&(t.xcoords.push(t.x+e),f&&t.ycoords.push(-t.y+a),t.tspan.textContent+=d),y+=f?p*g-o*c:p*g+o*c}t.tspan.setAttributeNS(null,"x",t.xcoords.map(p).join(" ")),f?t.tspan.setAttributeNS(null,"y",t.ycoords.map(p).join(" ")):t.tspan.setAttributeNS(null,"y",p(-t.y)),f?t.y-=y:t.x+=y*d,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size",`${p(t.fontSize)}px`),t.fontStyle!==a.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==a.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);let b=t.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;if(b===i.TextRenderingMode.FILL||b===i.TextRenderingMode.FILL_STROKE?(t.fillColor!==a.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===i.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),b===i.TextRenderingMode.STROKE||b===i.TextRenderingMode.FILL_STROKE){let e=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,e)}let v=t.textMatrix;0!==t.textRise&&(v=v.slice(),v[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform",`${m(v)} scale(${p(d)}, -1)`),t.txtElement.setAttributeNS(o,"xml:space","preserve"),t.txtElement.append(t.tspan),t.txtgrp.append(t.txtElement),this._ensureTransformGroup().append(t.txtElement)}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}addFontStyle(e){if(!e.data)throw Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.append(this.cssStyle));let t=c(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+=`@font-face { font-family: "${e.loadedName}"; src: url(${t}); }
3`}setFont(e){let t=this.current,r=this.commonObjs.get(e[0]),n=e[1];t.font=r,!this.embedFonts||r.missingFile||this.embeddedFonts[r.loadedName]||(this.addFontStyle(r),this.embeddedFonts[r.loadedName]=r),t.fontMatrix=r.fontMatrix||i.FONT_IDENTITY_MATRIX;let a="normal";r.black?a="900":r.bold&&(a="bold");let o=r.italic?"italic":"normal";n<0?(n=-n,t.fontDirection=-1):t.fontDirection=1,t.fontSize=n,t.fontFamily=r.loadedName,t.fontWeight=a,t.fontStyle=o,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",p(-t.y)),t.xcoords=[],t.ycoords=[]}endText(){let e=this.current;e.textRenderingMode&i.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement?.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}setLineWidth(e){e>0&&(this.current.lineWidth=e)}setLineCap(e){this.current.lineCap=l[e]}setLineJoin(e){this.current.lineJoin=u[e]}setMiterLimit(e){this.current.miterLimit=e}setStrokeAlpha(e){this.current.strokeAlpha=e}setStrokeRGBColor(e,t,r){this.current.strokeColor=i.Util.makeHexColor(e,t,r)}setFillAlpha(e){this.current.fillAlpha=e}setFillRGBColor(e,t,r){this.current.fillColor=i.Util.makeHexColor(e,t,r),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(e){this.current.strokeColor=this._makeColorN_Pattern(e)}setFillColorN(e){this.current.fillColor=this._makeColorN_Pattern(e)}shadingFill(e){let{width:t,height:r}=this.viewport,n=i.Util.inverseTransform(this.transformMatrix),[a,o,s,l]=i.Util.getAxialAlignedBoundingBox([0,0,t,r],n),u=this.svgFactory.createElement("svg:rect");u.setAttributeNS(null,"x",a),u.setAttributeNS(null,"y",o),u.setAttributeNS(null,"width",s-a),u.setAttributeNS(null,"height",l-o),u.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&u.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(u)}_makeColorN_Pattern(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}_makeTilingPattern(e){let t=e[1],r=e[2],n=e[3]||i.IDENTITY_MATRIX,[a,o,s,l]=e[4],u=e[5],c=e[6],d=e[7],f=`shading${y++}`,[h,p,m,_]=i.Util.normalizeRect([...i.Util.applyTransform([a,o],n),...i.Util.applyTransform([s,l],n)]),[g,b]=i.Util.singularValueDecompose2dScale(n),v=u*g,M=c*b,S=this.svgFactory.createElement("svg:pattern");S.setAttributeNS(null,"id",f),S.setAttributeNS(null,"patternUnits","userSpaceOnUse"),S.setAttributeNS(null,"width",v),S.setAttributeNS(null,"height",M),S.setAttributeNS(null,"x",`${h}`),S.setAttributeNS(null,"y",`${p}`);let w=this.svg,E=this.transformMatrix,L=this.current.fillColor,A=this.current.strokeColor,k=this.svgFactory.create(m-h,_-p);if(this.svg=k,this.transformMatrix=n,2===d){let e=i.Util.makeHexColor(...t);this.current.fillColor=e,this.current.strokeColor=e}return this.executeOpTree(this.convertOpList(r)),this.svg=w,this.transformMatrix=E,this.current.fillColor=L,this.current.strokeColor=A,S.append(k.childNodes[0]),this.defs.append(S),`url(#${f})`}_makeShadingPattern(e){switch("string"==typeof e&&(e=this.objs.get(e)),e[0]){case"RadialAxial":let t;let r=`shading${y++}`,n=e[3];switch(e[1]){case"axial":let a=e[4],o=e[5];(t=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",a[0]),t.setAttributeNS(null,"y1",a[1]),t.setAttributeNS(null,"x2",o[0]),t.setAttributeNS(null,"y2",o[1]);break;case"radial":let s=e[4],l=e[5],u=e[6],c=e[7];(t=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",r),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",l[0]),t.setAttributeNS(null,"cy",l[1]),t.setAttributeNS(null,"r",c),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",u);break;default:throw Error(`Unknown RadialAxial type: ${e[1]}`)}for(let e of n){let r=this.svgFactory.createElement("svg:stop");r.setAttributeNS(null,"offset",e[0]),r.setAttributeNS(null,"stop-color",e[1]),t.append(r)}return this.defs.append(t),`url(#${r})`;case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw Error(`Unknown IR type: ${e[0]}`)}}setDash(e,t){this.current.dashArray=e,this.current.dashPhase=t}constructPath(e,t){let r=this.current,n=r.x,a=r.y,o=[],s=0;for(let r of e)switch(0|r){case i.OPS.rectangle:n=t[s++],a=t[s++];let e=t[s++],l=t[s++],u=n+e,c=a+l;o.push("M",p(n),p(a),"L",p(u),p(a),"L",p(u),p(c),"L",p(n),p(c),"Z");break;case i.OPS.moveTo:n=t[s++],a=t[s++],o.push("M",p(n),p(a));break;case i.OPS.lineTo:n=t[s++],a=t[s++],o.push("L",p(n),p(a));break;case i.OPS.curveTo:n=t[s+4],a=t[s+5],o.push("C",p(t[s]),p(t[s+1]),p(t[s+2]),p(t[s+3]),p(n),p(a)),s+=6;break;case i.OPS.curveTo2:o.push("C",p(n),p(a),p(t[s]),p(t[s+1]),p(t[s+2]),p(t[s+3])),n=t[s+2],a=t[s+3],s+=4;break;case i.OPS.curveTo3:n=t[s+2],a=t[s+3],o.push("C",p(t[s]),p(t[s+1]),p(n),p(a),p(n),p(a)),s+=4;break;case i.OPS.closePath:o.push("Z")}o=o.join(" "),r.path&&e.length>0&&e[0]!==i.OPS.rectangle&&e[0]!==i.OPS.moveTo?o=r.path.getAttributeNS(null,"d")+o:(r.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(r.path)),r.path.setAttributeNS(null,"d",o),r.path.setAttributeNS(null,"fill","none"),r.element=r.path,r.setCurrentPoint(n,a)}endPath(){let e=this.current;if(e.path=null,!this.pendingClip)return;if(!e.element){this.pendingClip=null;return}let t=`clippath${_++}`,r=this.svgFactory.createElement("svg:clipPath");r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"transform",m(this.transformMatrix));let n=e.element.cloneNode(!0);if("evenodd"===this.pendingClip?n.setAttributeNS(null,"clip-rule","evenodd"):n.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,r.append(n),this.defs.append(r),e.activeClipUrl){for(let t of(e.clipGroup=null,this.extraStack))t.clipGroup=null;r.setAttributeNS(null,"clip-path",e.activeClipUrl)}e.activeClipUrl=`url(#${t})`,this.tgrp=null}clip(e){this.pendingClip=e}closePath(){let e=this.current;if(e.path){let t=`${e.path.getAttributeNS(null,"d")}Z`;e.path.setAttributeNS(null,"d",t)}}setLeading(e){this.current.leading=-e}setTextRise(e){this.current.textRise=e}setTextRenderingMode(e){this.current.textRenderingMode=e}setHScale(e){this.current.textHScale=e/100}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(let[t,r]of e)switch(t){case"LW":this.setLineWidth(r);break;case"LC":this.setLineCap(r);break;case"LJ":this.setLineJoin(r);break;case"ML":this.setMiterLimit(r);break;case"D":this.setDash(r[0],r[1]);break;case"RI":this.setRenderingIntent(r);break;case"FL":this.setFlatness(r);break;case"Font":this.setFont(r);break;case"CA":this.setStrokeAlpha(r);break;case"ca":this.setFillAlpha(r);break;default:(0,i.warn)(`Unimplemented graphic state operator ${t}`)}}fill(){let e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}stroke(){let e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(e,t=1){let r=this.current,n=r.dashArray;1!==t&&n.length>0&&(n=n.map(function(e){return t*e})),e.setAttributeNS(null,"stroke",r.strokeColor),e.setAttributeNS(null,"stroke-opacity",r.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",p(r.miterLimit)),e.setAttributeNS(null,"stroke-linecap",r.lineCap),e.setAttributeNS(null,"stroke-linejoin",r.lineJoin),e.setAttributeNS(null,"stroke-width",p(t*r.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",n.map(p).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",p(t*r.dashPhase)+"px")}eoFill(){this.current.element?.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element?.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){let e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(e)}paintImageXObject(e){let t=this.getObject(e);
3if(!t){(0,i.warn)(`Dependent image with object ID ${e} is not ready yet`);return}this.paintInlineImageXObject(t)}paintInlineImageXObject(e,t){let r=e.width,n=e.height,i=d(e,this.forceDataSchema,!!t),a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",p(r)),a.setAttributeNS(null,"height",p(n)),this.current.element=a,this.clip("nonzero");let o=this.svgFactory.createElement("svg:image");o.setAttributeNS(s,"xlink:href",i),o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y",p(-n)),o.setAttributeNS(null,"width",p(r)+"px"),o.setAttributeNS(null,"height",p(n)+"px"),o.setAttributeNS(null,"transform",`scale(${p(1/r)} ${p(-1/n)})`),t?t.append(o):this._ensureTransformGroup().append(o)}paintImageMaskXObject(e){let t=this.getObject(e.data,e);if(t.bitmap){(0,i.warn)("paintImageMaskXObject: ImageBitmap support is not implemented, ensure that the `isOffscreenCanvasSupported` API parameter is disabled.");return}let r=this.current,n=t.width,a=t.height,o=r.fillColor;r.maskId=`mask${g++}`;let s=this.svgFactory.createElement("svg:mask");s.setAttributeNS(null,"id",r.maskId);let l=this.svgFactory.createElement("svg:rect");l.setAttributeNS(null,"x","0"),l.setAttributeNS(null,"y","0"),l.setAttributeNS(null,"width",p(n)),l.setAttributeNS(null,"height",p(a)),l.setAttributeNS(null,"fill",o),l.setAttributeNS(null,"mask",`url(#${r.maskId})`),this.defs.append(s),this._ensureTransformGroup().append(l),this.paintInlineImageXObject(t,s)}paintFormXObjectBegin(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){let e=t[2]-t[0],r=t[3]-t[1],n=this.svgFactory.createElement("svg:rect");n.setAttributeNS(null,"x",t[0]),n.setAttributeNS(null,"y",t[1]),n.setAttributeNS(null,"width",p(e)),n.setAttributeNS(null,"height",p(r)),this.current.element=n,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(e){let t=this.svgFactory.create(e.width,e.height),r=this.svgFactory.createElement("svg:defs");t.append(r),this.defs=r;let n=this.svgFactory.createElement("svg:g");return n.setAttributeNS(null,"transform",m(e.transform)),t.append(n),this.svg=n,t}_ensureClipGroup(){if(!this.current.clipGroup){let e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(e),this.current.clipGroup=e}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",m(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}t.SVGGraphics=b},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaText=void 0;class r{static textContent(e){let t=[],n={items:t,styles:Object.create(null)};function i(e){if(!e)return;let n=null,a=e.name;if("#text"===a)n=e.value;else{if(!r.shouldBuildText(a))return;e?.attributes?.textContent?n=e.attributes.textContent:e.value&&(n=e.value)}if(null!==n&&t.push({str:n}),e.children)for(let t of e.children)i(t)}return i(e),n}static shouldBuildText(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}t.XfaText=r},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextLayerRenderTask=void 0,t.renderTextLayer=m,t.updateTextLayer=_;var n=r(1),i=r(6);let a=1e5,o=30,s=.8,l=new Map;function u(e,t){let r;if(t&&n.FeatureTest.isOffscreenCanvasSupported)r=new OffscreenCanvas(e,e).getContext("2d",{alpha:!1});else{let t=document.createElement("canvas");t.width=t.height=e,r=t.getContext("2d",{alpha:!1})}return r}function c(e,t){let r=l.get(e);if(r)return r;let n=u(o,t);n.font=`${o}px ${e}`;let i=n.measureText(""),a=i.fontBoundingBoxAscent,c=Math.abs(i.fontBoundingBoxDescent);if(a){let t=a/(a+c);return l.set(e,t),n.canvas.width=n.canvas.height=0,t}n.strokeStyle="red",n.clearRect(0,0,o,o),n.strokeText("g",0,0);let d=n.getImageData(0,0,o,o).data;c=0;for(let e=d.length-1-3;e>=0;e-=4)if(d[e]>0){c=Math.ceil(e/4/o);break}n.clearRect(0,0,o,o),n.strokeText("A",0,o),d=n.getImageData(0,0,o,o).data,a=0;for(let e=0,t=d.length;e<t;e+=4)if(d[e]>0){a=o-Math.floor(e/4/o);break}if(n.canvas.width=n.canvas.height=0,a){let t=a/(a+c);return l.set(e,t),t}return l.set(e,s),s}function d(e,t,r){let i,a;let o=document.createElement("span"),s={angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,fontSize:0};e._textDivs.push(o);let l=n.Util.transform(e._transform,t.transform),u=Math.atan2(l[1],l[0]),d=r[t.fontName];d.vertical&&(u+=Math.PI/2);let f=Math.hypot(l[2],l[3]),h=f*c(d.fontFamily,e._isOffscreenCanvasSupported);0===u?(i=l[4],a=l[5]-h):(i=l[4]+h*Math.sin(u),a=l[5]-h*Math.cos(u));let p="calc(var(--scale-factor)*",m=o.style;e._container===e._rootContainer?(m.left=`${(100*i/e._pageWidth).toFixed(2)}%`,m.top=`${(100*a/e._pageHeight).toFixed(2)}%`):(m.left=`${p}${i.toFixed(2)}px)`,m.top=`${p}${a.toFixed(2)}px)`),m.fontSize=`${p}${f.toFixed(2)}px)`,m.fontFamily=d.fontFamily,s.fontSize=f,o.setAttribute("role","presentation"),o.textContent=t.str,o.dir=t.dir,e._fontInspectorEnabled&&(o.dataset.fontName=t.fontName),0!==u&&(s.angle=180/Math.PI*u);let _=!1;if(t.str.length>1)_=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){let e=Math.abs(t.transform[0]),r=Math.abs(t.transform[3]);e!==r&&Math.max(e,r)/Math.min(e,r)>1.5&&(_=!0)}_&&(s.canvasWidth=d.vertical?t.height:t.width),e._textDivProperties.set(o,s),e._isReadableStream&&e._layoutText(o)}function f(e){let{div:t,scale:r,properties:n,ctx:i,prevFontSize:a,prevFontFamily:o}=e,{style:s}=t,l="";if(0!==n.canvasWidth&&n.hasText){let{fontFamily:u}=s,{canvasWidth:c,fontSize:d}=n;(a!==d||o!==u)&&(i.font=`${d*r}px ${u}`,e.prevFontSize=d,e.prevFontFamily=u);let{width:f}=i.measureText(t.textContent);f>0&&(l=`scaleX(${c*r/f})`)}0!==n.angle&&(l=`rotate(${n.angle}deg) ${l}`),l.length>0&&(s.transform=l)}function h(e){if(e._canceled)return;let t=e._textDivs,r=e._capability;if(t.length>a){r.resolve();return}if(!e._isReadableStream)for(let r of t)e._layoutText(r);r.resolve()}class p{constructor({textContentSource:e,container:t,viewport:r,textDivs:a,textDivProperties:o,textContentItemsStr:s,isOffscreenCanvasSupported:l}){this._textContentSource=e,this._isReadableStream=e instanceof ReadableStream,this._container=this._rootContainer=t,this._textDivs=a||[],this._textContentItemsStr=s||[],this._isOffscreenCanvasSupported=l,this._fontInspectorEnabled=!!globalThis.FontInspector?.enabled,this._reader=null,this._textDivProperties=o||new WeakMap,this._canceled=!1,this._capability=new n.PromiseCapability,this._layoutTextParams={prevFontSize:null,prevFontFamily:null,div:null,scale:r.scale*(globalThis.devicePixelRatio||1),properties:null,ctx:u(0,l)};let{pageWidth:c,pageHeight:d,pageX:f,pageY:h}=r.rawDims;this._transform=[1,0,0,-1,-f,h+d],this._pageWidth=c,this._pageHeight=d,(0,i.setLayerDimensions)(t,r),this._capability.promise.finally(()=>{this._layoutTextParams=null}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),this._capability.reject(new n.AbortException("TextLayer task cancelled."))}_processItems(e,t){for(let r of e){if(void 0===r.str){if("beginMarkedContentProps"===r.type||"beginMarkedContent"===r.type){let e=this._container;this._container=document.createElement("span"),this._container.classList.add("markedContent"),null!==r.id&&this._container.setAttribute("id",`${r.id}`),e.append(this._container)}else"endMarkedContent"===r.type&&(this._container=this._container.parentNode);continue}this._textContentItemsStr.push(r.str),d(this,r,t)}}_layoutText(e){let t=this._layoutTextParams.properties=this._textDivProperties.get(e);if(this._layoutTextParams.div=e,f(this._layoutTextParams),t.hasText&&this._container.append(e),t.hasEOL){let e=document.createElement("br");e.setAttribute("role","presentation"),this._container.append(e)}}_render(){let e=new n.PromiseCapability,t=Object.create(null);if(this._isReadableStream){let r=()=>{this._reader.read().then(({value:n,done:i})=>{if(i){e.resolve();return}Object.assign(t,n.styles),this._processItems(n.items,t),r()},e.reject)};this._reader=this._textContentSource.getReader(),r()}else if(this._textContentSource){let{items:t,styles:r}=this._textContentSource;this._processItems(t,r),e.resolve()}else throw Error('No "textContentSource" parameter specified.');e.promise.then(()=>{t=null,h(this)},this._capability.reject)}}function m(e){!e.textContentSource&&(e.textContent||e.textContentStream)&&((0,i.deprecated)("The TextLayerRender `textContent`/`textContentStream` parameters will be removed in the future, please use `textContentSource` instead."),e.textContentSource=e.textContent||e.textContentStream);let{container:t,viewport:r}=e,n=getComputedStyle(t),a=n.getPropertyValue("visibility"),o=parseFloat(n.getPropertyValue("--scale-factor"));"visible"===a&&(!o||Math.abs(o-r.scale)>1e-5)&&console.error("The `--scale-factor` CSS-variable must be set, to the same value as `viewport.scale`, either on the `container`-element itself or higher up in the DOM.");let s=new p(e);return s._render(),s}function _({container:e,viewport:t,textDivs:r,textDivProperties:n,isOffscreenCanvasSupported:a,mustRotate:o=!0,mustRescale:s=!0}){if(o&&(0,i.setLayerDimensions)(e,{rotation:t.rotation}),s){let e=u(0,a),i={prevFontSize:null,prevFontFamily:null,div:null,scale:t.scale*(globalThis.devicePixelRatio||1),properties:null,ctx:e};for(let e of r)i.properties=n.get(e),i.div=e,f(i)}}t.TextLayerRenderTask=p},(e,t,r)=>
3{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationEditorLayer=void 0;var n=r(1),i=r(4),a=r(28),o=r(33),s=r(6),l=r(34);class u{#tf;#th=!1;#tp=null;#tm=this.pointerup.bind(this);#t_=this.pointerdown.bind(this);#tg=new Map;#ty=!1;#tb=!1;#tv=!1;#tM;static _initialized=!1;constructor({uiManager:e,pageIndex:t,div:r,accessibilityManager:n,annotationLayer:i,viewport:s,l10n:c}){let d=[a.FreeTextEditor,o.InkEditor,l.StampEditor];if(!u._initialized)for(let e of(u._initialized=!0,d))e.initialize(c);e.registerEditorTypes(d),this.#tM=e,this.pageIndex=t,this.div=r,this.#tf=n,this.#tp=i,this.viewport=s,this.#tM.addLayer(this)}get isEmpty(){return 0===this.#tg.size}updateToolbar(e){this.#tM.updateToolbar(e)}updateMode(e=this.#tM.getMode()){this.#tS(),e===n.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),e!==n.AnnotationEditorType.NONE&&(this.div.classList.toggle("freeTextEditing",e===n.AnnotationEditorType.FREETEXT),this.div.classList.toggle("inkEditing",e===n.AnnotationEditorType.INK),this.div.classList.toggle("stampEditing",e===n.AnnotationEditorType.STAMP),this.div.hidden=!1)}addInkEditorIfNeeded(e){if(e||this.#tM.getMode()===n.AnnotationEditorType.INK){if(!e){for(let e of this.#tg.values())if(e.isEmpty()){e.setInBackground();return}}this.#tw({offsetX:0,offsetY:0},!1).setInBackground()}}setEditingState(e){this.#tM.setEditingState(e)}addCommands(e){this.#tM.addCommands(e)}enable(){this.div.style.pointerEvents="auto";let e=new Set;for(let t of this.#tg.values())t.enableEditing(),t.annotationElementId&&e.add(t.annotationElementId);if(this.#tp)for(let t of this.#tp.getEditableAnnotations()){if(t.hide(),this.#tM.isDeletedAnnotationElement(t.data.id)||e.has(t.data.id))continue;let r=this.deserialize(t);r&&(this.addOrRebuild(r),r.enableEditing())}}disable(){this.#tv=!0,this.div.style.pointerEvents="none";let e=new Set;for(let t of this.#tg.values()){if(t.disableEditing(),!t.annotationElementId||null!==t.serialize()){e.add(t.annotationElementId);continue}this.getEditableAnnotation(t.annotationElementId)?.show(),t.remove()}if(this.#tp)for(let t of this.#tp.getEditableAnnotations()){let{id:r}=t.data;e.has(r)||this.#tM.isDeletedAnnotationElement(r)||t.show()}this.#tS(),this.isEmpty&&(this.div.hidden=!0),this.#tv=!1}getEditableAnnotation(e){return this.#tp?.getEditableAnnotation(e)||null}setActiveEditor(e){this.#tM.getActive()!==e&&this.#tM.setActiveEditor(e)}enableClick(){this.div.addEventListener("pointerdown",this.#t_),this.div.addEventListener("pointerup",this.#tm)}disableClick(){this.div.removeEventListener("pointerdown",this.#t_),this.div.removeEventListener("pointerup",this.#tm)}attach(e){this.#tg.set(e.id,e);let{annotationElementId:t}=e;t&&this.#tM.isDeletedAnnotationElement(t)&&this.#tM.removeDeletedAnnotationElement(e)}detach(e){this.#tg.delete(e.id),this.#tf?.removePointerInTextLayer(e.contentDiv),!this.#tv&&e.annotationElementId&&this.#tM.addDeletedAnnotationElement(e)}remove(e){this.detach(e),this.#tM.removeEditor(e),e.div.contains(document.activeElement)&&setTimeout(()=>{this.#tM.focusMainContainer()},0),e.div.remove(),e.isAttachedToDOM=!1,this.#tb||this.addInkEditorIfNeeded(!1)}changeParent(e){e.parent!==this&&(e.annotationElementId&&(this.#tM.addDeletedAnnotationElement(e.annotationElementId),i.AnnotationEditor.deleteAnnotationElement(e),e.annotationElementId=null),this.attach(e),e.parent?.detach(e),e.setParent(this),e.div&&e.isAttachedToDOM&&(e.div.remove(),this.div.append(e.div)))}add(e){if(this.changeParent(e),this.#tM.addEditor(e),this.attach(e),!e.isAttachedToDOM){let t=e.render();this.div.append(t),e.isAttachedToDOM=!0}e.fixAndSetPosition(),e.onceAdded(),this.#tM.addToAnnotationStorage(e)}moveEditorInDOM(e){if(!e.isAttachedToDOM)return;let{activeElement:t}=document;e.div.contains(t)&&(e._focusEventsAllowed=!1,setTimeout(()=>{e.div.contains(document.activeElement)?e._focusEventsAllowed=!0:(e.div.addEventListener("focusin",()=>{e._focusEventsAllowed=!0},{once:!0}),t.focus())},0)),e._structTreeParentId=this.#tf?.moveElementInDOM(this.div,e.div,e.contentDiv,!0)}addOrRebuild(e){e.needsToBeRebuilt()?e.rebuild():this.add(e)}addUndoableEditor(e){let t=()=>e._uiManager.rebuild(e),r=()=>{e.remove()};this.addCommands({cmd:t,undo:r,mustExec:!1})}getNextId(){return this.#tM.getId()}#tE(e){switch(this.#tM.getMode()){case n.AnnotationEditorType.FREETEXT:return new a.FreeTextEditor(e);case n.AnnotationEditorType.INK:return new o.InkEditor(e);case n.AnnotationEditorType.STAMP:return new l.StampEditor(e)}return null}pasteEditor(e,t){this.#tM.updateToolbar(e),this.#tM.updateMode(e);let{offsetX:r,offsetY:n}=this.#tL(),i=this.getNextId(),a=this.#tE({parent:this,id:i,x:r,y:n,uiManager:this.#tM,isCentered:!0,...t});a&&this.add(a)}deserialize(e){switch(e.annotationType??e.annotationEditorType){case n.AnnotationEditorType.FREETEXT:return a.FreeTextEditor.deserialize(e,this,this.#tM);case n.AnnotationEditorType.INK:return o.InkEditor.deserialize(e,this,this.#tM);case n.AnnotationEditorType.STAMP:return l.StampEditor.deserialize(e,this,this.#tM)}return null}#tw(e,t){let r=this.getNextId(),n=this.#tE({parent:this,id:r,x:e.offsetX,y:e.offsetY,uiManager:this.#tM,isCentered:t});return n&&this.add(n),n}#tL(){let{x:e,y:t,width:r,height:n}=this.div.getBoundingClientRect(),i=Math.max(0,e),a=Math.max(0,t),o=Math.min(window.innerWidth,e+r),s=Math.min(window.innerHeight,t+n),l=(i+o)/2-e,u=(a+s)/2-t,[c,d]=this.viewport.rotation%180==0?[l,u]:[u,l];return{offsetX:c,offsetY:d}}
3addNewEditor(){this.#tw(this.#tL(),!0)}setSelected(e){this.#tM.setSelected(e)}toggleSelected(e){this.#tM.toggleSelected(e)}isSelected(e){return this.#tM.isSelected(e)}unselect(e){this.#tM.unselect(e)}pointerup(e){let{isMac:t}=n.FeatureTest.platform;if(0===e.button&&(!e.ctrlKey||!t)&&e.target===this.div&&this.#ty){if(this.#ty=!1,!this.#th){this.#th=!0;return}if(this.#tM.getMode()===n.AnnotationEditorType.STAMP){this.#tM.unselectAll();return}this.#tw(e,!1)}}pointerdown(e){if(this.#ty){this.#ty=!1;return}let{isMac:t}=n.FeatureTest.platform;if(0!==e.button||e.ctrlKey&&t||e.target!==this.div)return;this.#ty=!0;let r=this.#tM.getActive();this.#th=!r||r.isEmpty()}findNewParent(e,t,r){let n=this.#tM.findParent(t,r);return null!==n&&n!==this&&(n.changeParent(e),!0)}destroy(){for(let e of(this.#tM.getActive()?.parent===this&&(this.#tM.commitOrRemove(),this.#tM.setActiveEditor(null)),this.#tg.values()))this.#tf?.removePointerInTextLayer(e.contentDiv),e.setParent(null),e.isAttachedToDOM=!1,e.div.remove();this.div=null,this.#tg.clear(),this.#tM.removeLayer(this)}#tS(){for(let e of(this.#tb=!0,this.#tg.values()))e.isEmpty()&&e.remove();this.#tb=!1}render({viewport:e}){for(let t of(this.viewport=e,(0,s.setLayerDimensions)(this.div,e),this.#tM.getEditors(this.pageIndex)))this.add(t);this.updateMode()}update({viewport:e}){this.#tM.commitOrRemove(),this.viewport=e,(0,s.setLayerDimensions)(this.div,{rotation:e.rotation}),this.updateMode()}get pageDimensions(){let{pageWidth:e,pageHeight:t}=this.viewport.rawDims;return[e,t]}}t.AnnotationEditorLayer=u},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FreeTextEditor=void 0;var n=r(1),i=r(5),a=r(4),o=r(29);class s extends a.AnnotationEditor{#tA=this.editorDivBlur.bind(this);#tk=this.editorDivFocus.bind(this);#tx=this.editorDivInput.bind(this);#tT=this.editorDivKeydown.bind(this);#tP;#tC="";#tY=`${this.id}-editor`;#tD;#tO=null;static _freeTextDefaultContent="";static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static get _keyboardManager(){let e=s.prototype,t=e=>e.isEmpty(),r=i.AnnotationEditorUIManager.TRANSLATE_SMALL,a=i.AnnotationEditorUIManager.TRANSLATE_BIG;return(0,n.shadow)(this,"_keyboardManager",new i.KeyboardManager([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],e.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],e.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],e._translateEmpty,{args:[-r,0],checker:t}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],e._translateEmpty,{args:[-a,0],checker:t}],[["ArrowRight","mac+ArrowRight"],e._translateEmpty,{args:[r,0],checker:t}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],e._translateEmpty,{args:[a,0],checker:t}],[["ArrowUp","mac+ArrowUp"],e._translateEmpty,{args:[0,-r],checker:t}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],e._translateEmpty,{args:[0,-a],checker:t}],[["ArrowDown","mac+ArrowDown"],e._translateEmpty,{args:[0,r],checker:t}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],e._translateEmpty,{args:[0,a],checker:t}]]))}static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#tP=e.color||s._defaultColor||a.AnnotationEditor._defaultLineColor,this.#tD=e.fontSize||s._defaultFontSize}static initialize(e){a.AnnotationEditor.initialize(e,{strings:["free_text2_default_content","editor_free_text2_aria_label"]});let t=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(t.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,t){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:s._defaultFontSize=t;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:s._defaultColor=t}}updateParams(e,t){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#tR(t);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#tj(t)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,s._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,s._defaultColor||a.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#tD],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#tP]]}#tR(e){let t=e=>{this.editorDiv.style.fontSize=`calc(${e}px * var(--scale-factor))`,this.translate(0,-(e-this.#tD)*this.parentScale),this.#tD=e,this.#tI()},r=this.#tD;this.addCommands({cmd:()=>{t(e)},undo:()=>{t(r)}
3,mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#tj(e){let t=this.#tP;this.addCommands({cmd:()=>{this.#tP=this.editorDiv.style.color=e},undo:()=>{this.#tP=this.editorDiv.style.color=t},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(e,t){this._uiManager.translateSelectedEditors(e,t,!0)}getInitialTranslation(){let e=this.parentScale;return[-s._internalPadding*e,-(s._internalPadding+this.#tD)*e]}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),this.editorDiv.addEventListener("keydown",this.#tT),this.editorDiv.addEventListener("focus",this.#tk),this.editorDiv.addEventListener("blur",this.#tA),this.editorDiv.addEventListener("input",this.#tx))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",this.#tY),this._isDraggable=!0,this.editorDiv.removeEventListener("keydown",this.#tT),this.editorDiv.removeEventListener("focus",this.#tk),this.editorDiv.removeEventListener("blur",this.#tA),this.editorDiv.removeEventListener("input",this.#tx),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freeTextEditing"))}focusin(e){this._focusEventsAllowed&&(super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(){if(this.width){this.#tF();return}this.enableEditMode(),this.editorDiv.focus(),this._initialOptions?.isCentered&&this.center(),this._initialOptions=null}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freeTextEditing")),super.remove()}#tN(){let e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;let t=[];for(let r of e)t.push(r.innerText.replace(/\r\n?|\n/,""));return t.join("\n")}#tI(){let e;let[t,r]=this.parentDimensions;if(this.isAttachedToDOM)e=this.div.getBoundingClientRect();else{let{currentLayer:t,div:r}=this,n=r.style.display;r.style.display="hidden",t.div.append(this.div),e=r.getBoundingClientRect(),r.remove(),r.style.display=n}this.rotation%180==this.parentRotation%180?(this.width=e.width/t,this.height=e.height/r):(this.width=e.height/t,this.height=e.width/r),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();let e=this.#tC,t=this.#tC=this.#tN().trimEnd();if(e===t)return;let r=e=>{if(this.#tC=e,!e){this.remove();return}this.#tH(),this._uiManager.rebuild(this),this.#tI()};this.addCommands({cmd:()=>{r(t)},undo:()=>{r(e)},mustExec:!1}),this.#tI()}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(e){this.enterInEditMode()}keydown(e){e.target===this.div&&"Enter"===e.key&&(this.enterInEditMode(),e.preventDefault())}editorDivKeydown(e){s._keyboardManager.exec(this,e)}editorDivFocus(e){this.isEditing=!0}editorDivBlur(e){this.isEditing=!1}editorDivInput(e){this.parent.div.classList.toggle("freeTextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){let e,t;if(this.div)return this.div;this.width&&(e=this.x,t=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",this.#tY),this.enableEditing(),a.AnnotationEditor._l10nPromise.get("editor_free_text2_aria_label").then(e=>this.editorDiv?.setAttribute("aria-label",e)),a.AnnotationEditor._l10nPromise.get("free_text2_default_content").then(e=>this.editorDiv?.setAttribute("default-content",e)),this.editorDiv.contentEditable=!0;let{style:r}=this.editorDiv;if(r.fontSize=`calc(${this.#tD}px * var(--scale-factor))`,r.color=this.#tP,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,i.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){let[r,n]=this.parentDimensions;
3if(this.annotationElementId){let i,a;let{position:o}=this.#tO,[s,l]=this.getInitialTranslation();[s,l]=this.pageTranslationToScreen(s,l);let[u,c]=this.pageDimensions,[d,f]=this.pageTranslation;switch(this.rotation){case 0:i=e+(o[0]-d)/u,a=t+this.height-(o[1]-f)/c;break;case 90:i=e+(o[0]-d)/u,a=t-(o[1]-f)/c,[s,l]=[l,-s];break;case 180:i=e-this.width+(o[0]-d)/u,a=t-(o[1]-f)/c,[s,l]=[-s,-l];break;case 270:i=e+(o[0]-d-this.height*c)/u,a=t+(o[1]-f-this.width*u)/c,[s,l]=[-l,s]}this.setAt(i*r,a*n,s,l)}else this.setAt(e*r,t*n,this.width*r,this.height*n);this.#tH(),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}#tH(){if(this.editorDiv.replaceChildren(),this.#tC)for(let e of this.#tC.split("\n")){let t=document.createElement("div");t.append(e?document.createTextNode(e):document.createElement("br")),this.editorDiv.append(t)}}get contentDiv(){return this.editorDiv}static deserialize(e,t,r){let i=null;if(e instanceof o.FreeTextAnnotationElement){let{data:{defaultAppearanceData:{fontSize:t,fontColor:r},rect:a,rotation:o,id:s},textContent:l,textPosition:u,parent:{page:{pageNumber:c}}}=e;if(!l||0===l.length)return null;i=e={annotationType:n.AnnotationEditorType.FREETEXT,color:Array.from(r),fontSize:t,value:l.join("\n"),position:u,pageIndex:c-1,rect:a,rotation:o,id:s,deleted:!1}}let a=super.deserialize(e,t,r);return a.#tD=e.fontSize,a.#tP=n.Util.makeHexColor(...e.color),a.#tC=e.value,a.annotationElementId=e.id||null,a.#tO=i,a}serialize(e=!1){if(this.isEmpty())return null;if(this.deleted)return{pageIndex:this.pageIndex,id:this.annotationElementId,deleted:!0};let t=s._internalPadding*this.parentScale,r=this.getRect(t,t),i=a.AnnotationEditor._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.#tP),o={annotationType:n.AnnotationEditorType.FREETEXT,color:i,fontSize:this.#tD,value:this.#tC,pageIndex:this.pageIndex,rect:r,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return e?o:this.annotationElementId&&!this.#tz(o)?null:(o.id=this.annotationElementId,o)}#tz(e){let{value:t,fontSize:r,color:n,rect:i,pageIndex:a}=this.#tO;return e.value!==t||e.fontSize!==r||e.rect.some((e,t)=>Math.abs(e-i[t])>=1)||e.color.some((e,t)=>e!==n[t])||e.pageIndex!==a}#tF(e=!1){if(!this.annotationElementId)return;if(this.#tI(),!e&&(0===this.width||0===this.height)){setTimeout(()=>this.#tF(!0),0);return}let t=s._internalPadding*this.parentScale;this.#tO.rect=this.getRect(t,t)}}t.FreeTextEditor=s},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StampAnnotationElement=t.InkAnnotationElement=t.FreeTextAnnotationElement=t.AnnotationLayer=void 0;var n=r(1),i=r(6),a=r(3),o=r(30),s=r(31),l=r(32);let u=1e3,c=9,d=new WeakSet;function f(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class h{static create(e){switch(e.data.annotationType){case n.AnnotationType.LINK:return new m(e);case n.AnnotationType.TEXT:return new _(e);case n.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new y(e);case"Btn":if(e.data.radioButton)return new M(e);if(e.data.checkBox)return new v(e);return new S(e);case"Ch":return new w(e);case"Sig":return new b(e)}return new g(e);case n.AnnotationType.POPUP:return new E(e);case n.AnnotationType.FREETEXT:return new A(e);case n.AnnotationType.LINE:return new k(e);case n.AnnotationType.SQUARE:return new x(e);case n.AnnotationType.CIRCLE:return new T(e);case n.AnnotationType.POLYLINE:return new P(e);case n.AnnotationType.CARET:return new Y(e);case n.AnnotationType.INK:return new D(e);case n.AnnotationType.POLYGON:return new C(e);case n.AnnotationType.HIGHLIGHT:return new O(e);case n.AnnotationType.UNDERLINE:return new R(e);case n.AnnotationType.SQUIGGLY:return new j(e);case n.AnnotationType.STRIKEOUT:return new I(e);case n.AnnotationType.STAMP:return new F(e);case n.AnnotationType.FILEATTACHMENT:return new N(e);default:return new p(e)}}}class p{#tU=!1;constructor(e,{isRenderable:t=!1,ignoreBorder:r=!1,createQuadrilaterals:n=!1}={}){this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this.parent=e.parent,t&&(this.container=this._createContainer(r)),n&&this._createQuadrilaterals()}static _hasPopupData({titleObj:e,contentsObj:t,richText:r}){return!!(e?.str||t?.str||r?.str)}get hasPopupData(){return p._hasPopupData(this.data)}_createContainer(e){let{data:t,parent:{page:r,viewport:i}}=this,a=document.createElement("section");a.setAttribute("data-annotation-id",t.id),this instanceof g||(a.tabIndex=u),a.style.zIndex=this.parent.zIndex++,this.data.popupRef&&a.setAttribute("aria-haspopup","dialog"),t.noRotate&&a.classList.add("norotate");let{pageWidth:o,pageHeight:s,pageX:l,pageY:c}=i.rawDims;if(!t.rect||this instanceof E){let{rotation:e}=t;return t.hasOwnCanvas||0===e||this.setRotation(e,a),a}let{width:d,height:h}
3=f(t.rect),p=n.Util.normalizeRect([t.rect[0],r.view[3]-t.rect[1]+r.view[1],t.rect[2],r.view[3]-t.rect[3]+r.view[1]]);if(!e&&t.borderStyle.width>0){a.style.borderWidth=`${t.borderStyle.width}px`;let e=t.borderStyle.horizontalCornerRadius,r=t.borderStyle.verticalCornerRadius;if(e>0||r>0){let t=`calc(${e}px * var(--scale-factor)) / calc(${r}px * var(--scale-factor))`;a.style.borderRadius=t}else if(this instanceof M){let e=`calc(${d}px * var(--scale-factor)) / calc(${h}px * var(--scale-factor))`;a.style.borderRadius=e}switch(t.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:a.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:a.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:a.style.borderBottomStyle="solid"}let i=t.borderColor||null;i?(this.#tU=!0,a.style.borderColor=n.Util.makeHexColor(0|i[0],0|i[1],0|i[2])):a.style.borderWidth=0}a.style.left=`${100*(p[0]-l)/o}%`,a.style.top=`${100*(p[1]-c)/s}%`;let{rotation:m}=t;return t.hasOwnCanvas||0===m?(a.style.width=`${100*d/o}%`,a.style.height=`${100*h/s}%`):this.setRotation(m,a),a}setRotation(e,t=this.container){let r,n;if(!this.data.rect)return;let{pageWidth:i,pageHeight:a}=this.parent.viewport.rawDims,{width:o,height:s}=f(this.data.rect);e%180==0?(r=100*o/i,n=100*s/a):(r=100*s/i,n=100*o/a),t.style.width=`${r}%`,t.style.height=`${n}%`,t.setAttribute("data-main-rotation",(360-e)%360)}get _commonActions(){let e=(e,t,r)=>{let n=r.detail[e],i=n[0],a=n.slice(1);r.target.style[t]=o.ColorConverters[`${i}_HTML`](a),this.annotationStorage.setValue(this.data.id,{[t]:o.ColorConverters[`${i}_rgb`](a)})};return(0,n.shadow)(this,"_commonActions",{display:e=>{let{display:t}=e.detail,r=t%2==1;this.container.style.visibility=r?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:r,noPrint:1===t||2===t})},print:e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},hidden:e=>{let{hidden:t}=e.detail;this.container.style.visibility=t?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:t,noView:t})},focus:e=>{setTimeout(()=>e.target.focus({preventScroll:!1}),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.target.disabled=e.detail.readonly},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:t=>{e("bgColor","backgroundColor",t)},fillColor:t=>{e("fillColor","backgroundColor",t)},fgColor:t=>{e("fgColor","color",t)},textColor:t=>{e("textColor","color",t)},borderColor:t=>{e("borderColor","borderColor",t)},strokeColor:t=>{e("strokeColor","borderColor",t)},rotation:e=>{let t=e.detail.rotation;this.setRotation(t),this.annotationStorage.setValue(this.data.id,{rotation:t})}})}_dispatchEventFromSandbox(e,t){let r=this._commonActions;for(let n of Object.keys(t.detail)){let i=e[n]||r[n];i?.(t)}}_setDefaultPropertiesFromJS(e){if(!this.enableScripting)return;let t=this.annotationStorage.getRawValue(this.data.id);if(!t)return;let r=this._commonActions;for(let[n,i]of Object.entries(t)){let a=r[n];a&&(a({detail:{[n]:i},target:e}),delete t[n])}}_createQuadrilaterals(){let e;if(!this.container)return;let{quadPoints:t}=this.data;if(!t)return;let[r,n,i,a]=this.data.rect;if(1===t.length){let[,{x:e,y:o},{x:s,y:l}]=t[0];if(i===e&&a===o&&r===s&&n===l)return}let{style:o}=this.container;if(this.#tU){let{borderColor:t,borderWidth:r}=o;o.borderWidth=0,e=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${t}" stroke-width="${r}">`],this.container.classList.add("hasBorder")}let s=i-r,l=a-n,{svgFactory:u}=this,c=u.createElement("svg");c.classList.add("quadrilateralsContainer"),c.setAttribute("width",0),c.setAttribute("height",0);let d=u.createElement("defs");c.append(d);let f=u.createElement("clipPath"),h=`clippath_${this.data.id}`;for(let[,{x:n,y:i},{x:o,y:c}]of(f.setAttribute("id",h),f.setAttribute("clipPathUnits","objectBoundingBox"),d.append(f),t)){let t=u.createElement("rect"),d=(o-r)/s,h=(a-i)/l,p=(n-o)/s,m=(i-c)/l;t.setAttribute("x",d),t.setAttribute("y",h),t.setAttribute("width",p),t.setAttribute("height",m),f.append(t),e?.push(`<rect vector-effect="non-scaling-stroke" x="${d}" y="${h}" width="${p}" height="${m}"/>`)}this.#tU&&(e.push("</g></svg>')"),o.backgroundImage=e.join("")),this.container.append(c),this.container.style.clipPath=`url(#${h})`}_createPopup(){let{container:e,data:t}=this;e.setAttribute("aria-haspopup","dialog");let r=new E({data:{color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation},parent:this.parent,elements:[this]});this.parent.div.append(r.render())}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(e,t=null){let r=[];if(this._fieldObjects){let i=this._fieldObjects[e];if(i)for(let{page:e,id:a,exportValues:o}of i){if(-1===e||a===t)continue;let i="string"==typeof o?o:null,s=document.querySelector(`[data-element-id="${a}"]`);if(s&&!d.has(s)){(0,n.warn)(`_getElementsByName - element not allowed: ${a}`);continue}r.push({id:a,exportValue:i,domElement:s})}return r}for(let n of document.getElementsByName(e)){let{exportValue:e}=n,i=n.getAttribute("data-element-id");i!==t&&d.has(n)&&r.push({id:i,exportValue:e,domElement:n})}return r}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){let e=this.getElementsToTriggerPopup();if(Array.isArray(e))for(let t of e)t.classList.add("highlightArea");else e.classList.add("highlightArea")}_editOnDoubleClick(){let{annotationEditorType:e,data:{id:t}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:e,editId:t})})}}class m extends p{constructor(e,t=null){super(e,{isRenderable:!0,ignoreBorder:!!t?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=e.data.isTooltipOnly}render(){let{data:e,linkService:t}=this,r=document.createElement("a");r.setAttribute("data-element-id",e.id);let n=!1;return e.url?(t.addLinkAttributes(r,e.url,e.newWindow),n=!0):e.action?(this._bindNamedAction(r,e.action),n=!0):e.attachment?(this._bindAttachment(r,e.attachment),n=!0):e.setOCGState?(this.#tB(r,e.setOCGState),n=!0):e.dest?(this._bindLink(r,e.dest),n=!0):(e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(r,e),n=!0),e.resetForm?(this._bindResetFormAction(r,e.resetForm),n=!0):this.isTooltipOnly&&!n&&(this._bindLink(r,""),n=!0)),this.container.classList.add("linkA
3nnotation"),n&&this.container.append(r),this.container}#t$(){this.container.setAttribute("data-internal-link","")}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&this.#t$()}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),this.#t$()}_bindAttachment(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.downloadManager?.openOrDownloadData(this.container,t.content,t.filename),!1),this.#t$()}#tB(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeSetOCGState(t),!1),this.#t$()}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");let r=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(let n of Object.keys(t.actions)){let i=r.get(n);i&&(e[i]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:n}}),!1))}e.onclick||(e.onclick=()=>!1),this.#t$()}_bindResetFormAction(e,t){let r=e.onclick;if(r||(e.href=this.linkService.getAnchorUrl("")),this.#t$(),!this._fieldObjects){(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),r||(e.onclick=()=>!1);return}e.onclick=()=>{r?.();let{fields:e,refs:i,include:a}=t,o=[];if(0!==e.length||0!==i.length){let t=new Set(i);for(let r of e)for(let{id:e}of this._fieldObjects[r]||[])t.add(e);for(let e of Object.values(this._fieldObjects))for(let r of e)t.has(r.id)===a&&o.push(r)}else for(let e of Object.values(this._fieldObjects))o.push(...e);let s=this.annotationStorage,l=[];for(let e of o){let{id:t}=e;switch(l.push(t),e.type){case"text":{let r=e.defaultValue||"";s.setValue(t,{value:r});break}case"checkbox":case"radiobutton":{let r=e.defaultValue===e.exportValues;s.setValue(t,{value:r});break}case"combobox":case"listbox":{let r=e.defaultValue||"";s.setValue(t,{value:r});break}default:continue}let r=document.querySelector(`[data-element-id="${t}"]`);if(r){if(!d.has(r)){(0,n.warn)(`_bindResetFormAction - element not allowed: ${t}`);continue}r.dispatchEvent(new Event("resetform"))}}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:l,name:"ResetForm"}}),!1}}}class _ extends p{constructor(e){super(e,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");let e=document.createElement("img");return e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(e),this.container}}class g extends p{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}showElementAndHideCanvas(e){this.data.hasOwnCanvas&&(e.previousSibling?.nodeName==="CANVAS"&&(e.previousSibling.hidden=!0),e.hidden=!1)}_getKeyModifier(e){let{isWin:t,isMac:r}=n.FeatureTest.platform;return t&&e.ctrlKey||r&&e.metaKey}_setEventListener(e,t,r,n,i){r.includes("mouse")?e.addEventListener(r,e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:i(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})}):e.addEventListener(r,e=>{if("blur"===r){if(!t.focused||!e.relatedTarget)return;t.focused=!1}else if("focus"===r){if(t.focused)return;t.focused=!0}i&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:i(e)}})})}_setEventListeners(e,t,r,n){for(let[i,a]of r)("Action"===a||this.data.actions?.[a])&&(("Focus"===a||"Blur"===a)&&(t||={focused:!1}),this._setEventListener(e,t,i,a,n),"Focus"!==a||this.data.actions?.Blur?"Blur"!==a||this.data.actions?.Focus||this._setEventListener(e,t,"focus","Focus",null):this._setEventListener(e,t,"blur","Blur",null))}_setBackgroundColor(e){let t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":n.Util.makeHexColor(t[0],t[1],t[2])}_setTextStyle(e){let t;let r=["left","center","right"],{fontColor:i}=this.data.defaultAppearanceData,a=this.data.defaultAppearanceData.fontSize||c,o=e.style,s=2,l=e=>Math.round(10*e)/10;if(this.data.multiLine){let e=Math.abs(this.data.rect[3]-this.data.rect[1]-s),r=Math.round(e/(n.LINE_FACTOR*a))||1;t=Math.min(a,l(e/r/n.LINE_FACTOR))}else t=Math.min(a,l(Math.abs(this.data.rect[3]-this.data.rect[1]-s)/n.LINE_FACTOR));o.fontSize=`calc(${t}px * var(--scale-factor))`,o.color=n.Util.makeHexColor(i[0],i[1],i[2]),null!==this.data.textAlignment&&(o.textAlign=r[this.data.textAlignment])}_setRequired(e,t){t?e.setAttribute("required",!0):e.removeAttribute("required"),e.setAttribute("aria-required",t)}}class y extends g{constructor(e){super(e,{isRenderable:e.renderForms||!e.data.hasAppearance&&!!e.data.fieldValue})}setPropertyOnSiblings(e,t,r,n){let i=this.annotationStorage;
3for(let a of this._getElementsByName(e.name,e.id))a.domElement&&(a.domElement[t]=r),i.setValue(a.id,{[n]:r})}render(){let e=this.annotationStorage,t=this.data.id;this.container.classList.add("textWidgetAnnotation");let r=null;if(this.renderForms){let n=e.getValue(t,{value:this.data.fieldValue}),i=n.value||"",a=e.getValue(t,{charLimit:this.data.maxLen}).charLimit;a&&i.length>a&&(i=i.slice(0,a));let o=n.formattedValue||this.data.textContent?.join("\n")||null;o&&this.data.comb&&(o=o.replaceAll(/\s+/g,""));let s={userValue:i,formattedValue:o,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?((r=document.createElement("textarea")).textContent=o??i,this.data.doNotScroll&&(r.style.overflowY="hidden")):((r=document.createElement("input")).type="text",r.setAttribute("value",o??i),this.data.doNotScroll&&(r.style.overflowX="hidden")),this.data.hasOwnCanvas&&(r.hidden=!0),d.add(r),r.setAttribute("data-element-id",t),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=u,this._setRequired(r,this.data.required),a&&(r.maxLength=a),r.addEventListener("input",n=>{e.setValue(t,{value:n.target.value}),this.setPropertyOnSiblings(r,"value",n.target.value,"value"),s.formattedValue=null}),r.addEventListener("resetform",e=>{let t=this.data.defaultFieldValue??"";r.value=s.userValue=t,s.formattedValue=null});let l=e=>{let{formattedValue:t}=s;null!=t&&(e.target.value=t),e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){r.addEventListener("focus",e=>{if(s.focused)return;let{target:t}=e;s.userValue&&(t.value=s.userValue),s.lastCommittedValue=t.value,s.commitKey=1,s.focused=!0}),r.addEventListener("updatefromsandbox",r=>{this.showElementAndHideCanvas(r.target);let n={value(r){s.userValue=r.detail.value??"",e.setValue(t,{value:s.userValue.toString()}),r.target.value=s.userValue},formattedValue(r){let{formattedValue:n}=r.detail;s.formattedValue=n,null!=n&&r.target!==document.activeElement&&(r.target.value=n),e.setValue(t,{formattedValue:n})},selRange(e){e.target.setSelectionRange(...e.detail.selRange)},charLimit:r=>{let{charLimit:n}=r.detail,{target:i}=r;if(0===n){i.removeAttribute("maxLength");return}i.setAttribute("maxLength",n);let a=s.userValue;a&&!(a.length<=n)&&(a=a.slice(0,n),i.value=s.userValue=a,e.setValue(t,{value:a}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:a,willCommit:!0,commitKey:1,selStart:i.selectionStart,selEnd:i.selectionEnd}}))}};this._dispatchEventFromSandbox(n,r)}),r.addEventListener("keydown",e=>{s.commitKey=1;let r=-1;if("Escape"===e.key?r=0:"Enter"!==e.key||this.data.multiLine?"Tab"===e.key&&(s.commitKey=3):r=2,-1===r)return;let{value:n}=e.target;s.lastCommittedValue!==n&&(s.lastCommittedValue=n,s.userValue=n,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:n,willCommit:!0,commitKey:r,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))});let n=l;l=null,r.addEventListener("blur",e=>{if(!s.focused||!e.relatedTarget)return;s.focused=!1;let{value:r}=e.target;s.userValue=r,s.lastCommittedValue!==r&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:r,willCommit:!0,commitKey:s.commitKey,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}),n(e)}),this.data.actions?.Keystroke&&r.addEventListener("beforeinput",e=>{s.lastCommittedValue=null;let{data:r,target:n}=e,{value:i,selectionStart:a,selectionEnd:o}=n,l=a,u=o;switch(e.inputType){case"deleteWordBackward":{let e=i.substring(0,a).match(/\w*[^\w]*$/);e&&(l-=e[0].length);break}
3case"deleteWordForward":{let e=i.substring(a).match(/^[^\w]*\w*/);e&&(u+=e[0].length);break}case"deleteContentBackward":a===o&&(l-=1);break;case"deleteContentForward":a===o&&(u+=1)}e.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:i,change:r||"",willCommit:!1,selStart:l,selEnd:u}})}),this._setEventListeners(r,s,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],e=>e.target.value)}if(l&&r.addEventListener("blur",l),this.data.comb){let e=(this.data.rect[2]-this.data.rect[0])/a;r.classList.add("comb"),r.style.letterSpacing=`calc(${e}px * var(--scale-factor) - 1ch)`}}else(r=document.createElement("div")).textContent=this.data.fieldValue,r.style.verticalAlign="middle",r.style.display="table-cell";return this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}}class b extends g{constructor(e){super(e,{isRenderable:!!e.data.hasOwnCanvas})}}class v extends g{constructor(e){super(e,{isRenderable:e.renderForms})}render(){let e=this.annotationStorage,t=this.data,r=t.id,n=e.getValue(r,{value:t.exportValue===t.fieldValue}).value;"string"==typeof n&&(n="Off"!==n,e.setValue(r,{value:n})),this.container.classList.add("buttonWidgetAnnotation","checkBox");let i=document.createElement("input");return d.add(i),i.setAttribute("data-element-id",r),i.disabled=t.readOnly,this._setRequired(i,this.data.required),i.type="checkbox",i.name=t.fieldName,n&&i.setAttribute("checked",!0),i.setAttribute("exportValue",t.exportValue),i.tabIndex=u,i.addEventListener("change",n=>{let{name:i,checked:a}=n.target;for(let n of this._getElementsByName(i,r)){let r=a&&n.exportValue===t.exportValue;n.domElement&&(n.domElement.checked=r),e.setValue(n.id,{value:r})}e.setValue(r,{value:a})}),i.addEventListener("resetform",e=>{let r=t.defaultFieldValue||"Off";e.target.checked=r===t.exportValue}),this.enableScripting&&this.hasJSActions&&(i.addEventListener("updatefromsandbox",t=>{let n={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(r,{value:t.target.checked})}};this._dispatchEventFromSandbox(n,t)}),this._setEventListeners(i,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],e=>e.target.checked)),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class M extends g{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");let e=this.annotationStorage,t=this.data,r=t.id,n=e.getValue(r,{value:t.fieldValue===t.buttonValue}).value;"string"==typeof n&&(n=n!==t.buttonValue,e.setValue(r,{value:n}));let i=document.createElement("input");if(d.add(i),i.setAttribute("data-element-id",r),i.disabled=t.readOnly,this._setRequired(i,this.data.required),i.type="radio",i.name=t.fieldName,n&&i.setAttribute("checked",!0),i.tabIndex=u,i.addEventListener("change",t=>{let{name:n,checked:i}=t.target;for(let t of this._getElementsByName(n,r))e.setValue(t.id,{value:!1});e.setValue(r,{value:i})}),i.addEventListener("resetform",e=>{let r=t.defaultFieldValue;e.target.checked=null!=r&&r===t.buttonValue}),this.enableScripting&&this.hasJSActions){let n=t.buttonValue;i.addEventListener("updatefromsandbox",t=>{let i={value:t=>{let i=n===t.detail.value;for(let n of this._getElementsByName(t.target.name)){let t=i&&n.id===r;n.domElement&&(n.domElement.checked=t),e.setValue(n.id,{value:t})}}};this._dispatchEventFromSandbox(i,t)}),this._setEventListeners(i,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],e=>e.target.checked)}return this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class S extends m{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){let e=super.render();e.classList.add("buttonWidgetAnnotation","pushButton"),this.data.alternativeText&&(e.title=this.data.alternativeText);let t=e.lastChild;return this.enableScripting&&this.hasJSActions&&t&&(this._setDefaultPropertiesFromJS(t),t.addEventListener("updatefromsandbox",e=>{this._dispatchEventFromSandbox({},e)})),e}}class w extends g{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");let e=this.annotationStorage,t=this.data.id,r=e.getValue(t,{value:this.data.fieldValue}),n=document.createElement("select");d.add(n),n.setAttribute("data-element-id",t),n.disabled=this.data.readOnly,this._setRequired(n,this.data.required),n.name=this.data.fieldName,n.tabIndex=u;let i=this.data.combo&&this.data.options.length>0;for(let e of(!this.data.combo&&(n.size=this.data.options.length,this.data.multiSelect&&(n.multiple=!0)),n.addEventListener("resetform",e=>{let t=this.data.defaultFieldValue;for(let e of n.options)e.selected=e.value===t}),this.data.options)){let t=document.createElement("option");
3t.textContent=e.displayValue,t.value=e.exportValue,r.value.includes(e.exportValue)&&(t.setAttribute("selected",!0),i=!1),n.append(t)}let a=null;if(i){let e=document.createElement("option");e.value=" ",e.setAttribute("hidden",!0),e.setAttribute("selected",!0),n.prepend(e),a=()=>{e.remove(),n.removeEventListener("input",a),a=null},n.addEventListener("input",a)}let o=e=>{let t=e?"value":"textContent",{options:r,multiple:i}=n;return i?Array.prototype.filter.call(r,e=>e.selected).map(e=>e[t]):-1===r.selectedIndex?null:r[r.selectedIndex][t]},s=o(!1),l=e=>{let t=e.target.options;return Array.prototype.map.call(t,e=>({displayValue:e.textContent,exportValue:e.value}))};return this.enableScripting&&this.hasJSActions?(n.addEventListener("updatefromsandbox",r=>{let i={value(r){a?.();let i=r.detail.value,l=new Set(Array.isArray(i)?i:[i]);for(let e of n.options)e.selected=l.has(e.value);e.setValue(t,{value:o(!0)}),s=o(!1)},multipleSelection(e){n.multiple=!0},remove(r){let i=n.options,a=r.detail.remove;i[a].selected=!1,n.remove(a),i.length>0&&-1===Array.prototype.findIndex.call(i,e=>e.selected)&&(i[0].selected=!0),e.setValue(t,{value:o(!0),items:l(r)}),s=o(!1)},clear(r){for(;0!==n.length;)n.remove(0);e.setValue(t,{value:null,items:[]}),s=o(!1)},insert(r){let{index:i,displayValue:a,exportValue:u}=r.detail.insert,c=n.children[i],d=document.createElement("option");d.textContent=a,d.value=u,c?c.before(d):n.append(d),e.setValue(t,{value:o(!0),items:l(r)}),s=o(!1)},items(r){let{items:i}=r.detail;for(;0!==n.length;)n.remove(0);for(let e of i){let{displayValue:t,exportValue:r}=e,i=document.createElement("option");i.textContent=t,i.value=r,n.append(i)}n.options.length>0&&(n.options[0].selected=!0),e.setValue(t,{value:o(!0),items:l(r)}),s=o(!1)},indices(r){let n=new Set(r.detail.indices);for(let e of r.target.options)e.selected=n.has(e.index);e.setValue(t,{value:o(!0)}),s=o(!1)},editable(e){e.target.disabled=!e.detail.editable}};this._dispatchEventFromSandbox(i,r)}),n.addEventListener("input",r=>{let n=o(!0);e.setValue(t,{value:n}),r.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:s,changeEx:n,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(n,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],e=>e.target.value)):n.addEventListener("input",function(r){e.setValue(t,{value:o(!0)})}),this.data.combo&&this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}class E extends p{constructor(e){let{data:t,elements:r}=e;super(e,{isRenderable:p._hasPopupData(t)}),this.elements=r}render(){this.container.classList.add("popupAnnotation");let e=new L({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),t=[];for(let r of this.elements)r.popup=e,t.push(r.data.id),r.addHighlightArea();return this.container.setAttribute("aria-controls",t.map(e=>`${n.AnnotationPrefix}${e}`).join(",")),this.container}}class L{#tV=null;#tW=this.#tq.bind(this);#tG=this.#tJ.bind(this);#tK=this.#tX.bind(this);#tZ=this.#tQ.bind(this);#tP=null;#eY=null;#t0=null;#t1=null;#t2=null;#t5=null;#t3=!1;#t4=null;#t7=null;#t8=null;#t6=null;#t9=!1;constructor({container:e,color:t,elements:r,titleObj:n,modificationDate:a,contentsObj:o,richText:s,parent:l,rect:u,parentRect:c,open:d}){this.#eY=e,this.#t6=n,this.#t0=o,this.#t8=s,this.#t2=l,this.#tP=t,this.#t7=u,this.#t5=c,this.#t1=r;let f=i.PDFDateString.toDateObject(a);for(let e of(f&&(this.#tV=l.l10n.get("annotation_date_string",{date:f.toLocaleDateString(),time:f.toLocaleTimeString()})),this.trigger=r.flatMap(e=>e.getElementsToTriggerPopup()),this.trigger))e.addEventListener("click",this.#tZ),e.addEventListener("mouseenter",this.#tK),e.addEventListener("mouseleave",this.#tG),e.classList.add("popupTriggerArea");for(let e of r)e.container?.addEventListener("keydown",this.#tW);this.#eY.hidden=!0,d&&this.#tQ()}
3render(){if(this.#t4)return;let{page:{view:e},viewport:{rawDims:{pageWidth:t,pageHeight:r,pageX:i,pageY:a}}}=this.#t2,o=this.#t4=document.createElement("div");if(o.className="popup",this.#tP){let e=o.style.outlineColor=n.Util.makeHexColor(...this.#tP);if(CSS.supports("background-color","color-mix(in srgb, red 30%, white)"))o.style.backgroundColor=`color-mix(in srgb, ${e} 30%, white)`;else{let e=.7;o.style.backgroundColor=n.Util.makeHexColor(...this.#tP.map(t=>Math.floor(e*(255-t)+t)))}}let s=document.createElement("span");s.className="header";let u=document.createElement("h1");if(s.append(u),{dir:u.dir,str:u.textContent}=this.#t6,o.append(s),this.#tV){let e=document.createElement("span");e.classList.add("popupDate"),this.#tV.then(t=>{e.textContent=t}),s.append(e)}let c=this.#t0,d=this.#t8;if(d?.str&&(!c?.str||c.str===d.str))l.XfaLayer.render({xfaHtml:d.html,intent:"richText",div:o}),o.lastChild.classList.add("richText","popupContent");else{let e=this._formatContents(c);o.append(e)}let f=!!this.#t5,h=f?this.#t5:this.#t7;for(let e of this.#t1)if(!h||null!==n.Util.intersect(e.data.rect,h)){h=e.data.rect,f=!0;break}let p=n.Util.normalizeRect([h[0],e[3]-h[1]+e[1],h[2],e[3]-h[3]+e[1]]),m=5,_=f?h[2]-h[0]+m:0,g=p[0]+_,y=p[1],{style:b}=this.#eY;b.left=`${100*(g-i)/t}%`,b.top=`${100*(y-a)/r}%`,this.#eY.append(o)}_formatContents({str:e,dir:t}){let r=document.createElement("p");r.classList.add("popupContent"),r.dir=t;let n=e.split(/(?:\r\n?|\n)/);for(let e=0,t=n.length;e<t;++e){let i=n[e];r.append(document.createTextNode(i)),e<t-1&&r.append(document.createElement("br"))}return r}#tq(e){e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||"Enter"!==e.key&&("Escape"!==e.key||!this.#t3)||this.#tQ()}#tQ(){this.#t3=!this.#t3,this.#t3?(this.#tX(),this.#eY.addEventListener("click",this.#tZ),this.#eY.addEventListener("keydown",this.#tW)):(this.#tJ(),this.#eY.removeEventListener("click",this.#tZ),this.#eY.removeEventListener("keydown",this.#tW))}#tX(){this.#t4||this.render(),this.isVisible?this.#t3&&this.#eY.classList.add("focused"):(this.#eY.hidden=!1,this.#eY.style.zIndex=parseInt(this.#eY.style.zIndex)+1e3)}#tJ(){this.#eY.classList.remove("focused"),!this.#t3&&this.isVisible&&(this.#eY.hidden=!0,this.#eY.style.zIndex=parseInt(this.#eY.style.zIndex)-1e3)}forceHide(){this.#t9=this.isVisible,this.#t9&&(this.#eY.hidden=!0)}maybeShow(){this.#t9&&(this.#t9=!1,this.#eY.hidden=!1)}get isVisible(){return!1===this.#eY.hidden}}class A extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.textContent=e.data.textContent,this.textPosition=e.data.textPosition,this.annotationEditorType=n.AnnotationEditorType.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){let e=document.createElement("div");for(let t of(e.classList.add("annotationTextContent"),e.setAttribute("role","comment"),this.textContent)){let r=document.createElement("span");r.textContent=t,e.append(r)}this.container.append(e)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}}t.FreeTextAnnotationElement=A;class k extends p{#re=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("lineAnnotation");let e=this.data,{width:t,height:r}=f(e.rect),n=this.svgFactory.create(t,r,!0),i=this.#re=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),n.append(i),this.container.append(n),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#re}addHighlightArea(){this.container.classList.add("highlightArea")}}class x extends p{#rt=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("squareAnnotation");let e=this.data,{width:t,height:r}=f(e.rect),n=this.svgFactory.create(t,r,!0),i=e.borderStyle.width,a=this.#rt=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",i/2),a.setAttribute("y",i/2),a.setAttribute("width",t-i),a.setAttribute("height",r-i),a.setAttribute("stroke-width",i||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),n.append(a),this.container.append(n),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#rt}addHighlightArea(){this.container.classList.add("highlightArea")}}class T extends p{#rr=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("circleAnnotation");let e=this.data,{width:t,height:r}=f(e.rect),n=this.svgFactory.create(t,r,!0),i=e.borderStyle.width,a=this.#rr=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",t/2),a.setAttribute("cy",r/2),a.setAttribute("rx",t/2-i/2),a.setAttribute("ry",r/2-i/2),a.setAttribute("stroke-width",i||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),n.append(a),this.container.append(n),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#rr}addHighlightArea(){this.container.classList.add("highlightArea")}}class P extends p{#rn=null;constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);let e=this.data,{width:t,height:r}=f(e.rect),n=this.svgFactory.create(t,r,!0),i=[];for(let t of e.vertices){let r=t.x-e.rect[0],n=e.rect[3]-t.y;i.push(r+","+n)}i=i.join(" ");let a=this.#rn=this.svgFactory.createElement(this.svgElementName);return a.setAttribute("points",i),a.setAttribute("stroke-width",e.borderStyle.width||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),n.append(a),this.container.append(n),!e.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#rn}addHighlightArea(){this.container.classList.add("highlightArea")}}class C extends P{constructor(e){super(e),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class Y extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}
3class D extends p{#ri=[];constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType=n.AnnotationEditorType.INK}render(){this.container.classList.add(this.containerClassName);let e=this.data,{width:t,height:r}=f(e.rect),n=this.svgFactory.create(t,r,!0);for(let t of e.inkLists){let r=[];for(let n of t){let t=n.x-e.rect[0],i=e.rect[3]-n.y;r.push(`${t},${i}`)}r=r.join(" ");let i=this.svgFactory.createElement(this.svgElementName);this.#ri.push(i),i.setAttribute("points",r),i.setAttribute("stroke-width",e.borderStyle.width||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),!e.popupRef&&this.hasPopupData&&this._createPopup(),n.append(i)}return this.container.append(n),this.container}getElementsToTriggerPopup(){return this.#ri}addHighlightArea(){this.container.classList.add("highlightArea")}}t.InkAnnotationElement=D;class O extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this.container}}class R extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}class j extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}class I extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}class F extends p{constructor(e){super(e,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("stampAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}t.StampAnnotationElement=F;class N extends p{#ra=null;constructor(e){super(e,{isRenderable:!0});let{filename:t,content:r}=this.data.file;this.filename=(0,i.getFilenameFromUrl)(t,!0),this.content=r,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,filename:t,content:r})}render(){let e;this.container.classList.add("fileAttachmentAnnotation");let{container:t,data:r}=this;r.hasAppearance||0===r.fillAlpha?e=document.createElement("div"):((e=document.createElement("img")).src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(r.name)?"paperclip":"pushpin"}.svg`,r.fillAlpha&&r.fillAlpha<1&&(e.style=`filter: opacity(${Math.round(100*r.fillAlpha)}%);`)),e.addEventListener("dblclick",this.#ro.bind(this)),this.#ra=e;let{isMac:i}=n.FeatureTest.platform;return t.addEventListener("keydown",e=>{"Enter"===e.key&&(i?e.metaKey:e.ctrlKey)&&this.#ro()}),!r.popupRef&&this.hasPopupData?this._createPopup():e.classList.add("popupTriggerArea"),t.append(e),t}getElementsToTriggerPopup(){return this.#ra}addHighlightArea(){this.container.classList.add("highlightArea")}#ro(){this.downloadManager?.openOrDownloadData(this.container,this.content,this.filename)}}class H{#tf=null;#rs=null;#rl=new Map;constructor({div:e,accessibilityManager:t,annotationCanvasMap:r,l10n:n,page:i,viewport:a}){this.div=e,this.#tf=t,this.#rs=r,this.l10n=n,this.page=i,this.viewport=a,this.zIndex=0,this.l10n||=s.NullL10n}#ru(e,t){let r=e.firstChild||e;r.id=`${n.AnnotationPrefix}${t}`,this.div.append(e),this.#tf?.moveElementInDOM(this.div,e,r,!1)}async render(e){let{annotations:t}=e,r=this.div;(0,i.setLayerDimensions)(r,this.viewport);let o=new Map,s={data:null,layer:r,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new i.DOMSVGFactory,annotationStorage:e.annotationStorage||new a.AnnotationStorage,enableScripting:!0===e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,parent:this,elements:null};for(let e of t){if(e.noHTML)continue;let t=e.annotationType===n.AnnotationType.POPUP;if(t){let t=o.get(e.id);if(!t)continue;s.elements=t}else{let{width:t,height:r}=f(e.rect);if(t<=0||r<=0)continue}s.data=e;let r=h.create(s);if(!r.isRenderable)continue;if(!t&&e.popupRef){let t=o.get(e.popupRef);t?t.push(r):o.set(e.popupRef,[r])}r.annotationEditorType>0&&this.#rl.set(r.data.id,r);let i=r.render();e.hidden&&(i.style.visibility="hidden"),this.#ru(i,e.id)}this.#rc(),await this.l10n.translate(r)}update({viewport:e}){let t=this.div;this.viewport=e,(0,i.setLayerDimensions)(t,{rotation:e.rotation}),this.#rc(),t.hidden=!1}#rc(){if(!this.#rs)return;let e=this.div;for(let[t,r]of this.#rs){let n=e.querySelector(`[data-annotation-id="${t}"]`);if(!n)continue;let{firstChild:i}=n;i?"CANVAS"===i.nodeName?i.replaceWith(r):i.before(r):n.append(r)}this.#rs.clear()}getEditableAnnotations(){return Array.from(this.#rl.values())}getEditableAnnotation(e){return this.#rl.get(e)}}t.AnnotationLayer=H},(e,t)=>{function r(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}function n(e){return Math.max(0,Math.min(255,255*e))}
3Object.defineProperty(t,"__esModule",{value:!0}),t.ColorConverters=void 0;class i{static CMYK_G([e,t,r,n]){return["G",1-Math.min(1,.3*e+.59*r+.11*t+n)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_rgb([e]){return[e=n(e),e,e]}static G_HTML([e]){let t=r(e);return`#${t}${t}${t}`}static RGB_G([e,t,r]){return["G",.3*e+.59*t+.11*r]}static RGB_rgb(e){return e.map(n)}static RGB_HTML(e){return`#${e.map(r).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([e,t,r,n]){return["RGB",1-Math.min(1,e+n),1-Math.min(1,r+n),1-Math.min(1,t+n)]}static CMYK_rgb([e,t,r,i]){return[n(1-Math.min(1,e+i)),n(1-Math.min(1,r+i)),n(1-Math.min(1,t+i))]}static CMYK_HTML(e){let t=this.CMYK_RGB(e).slice(1);return this.RGB_HTML(t)}static RGB_CMYK([e,t,r]){let n=1-e,i=1-t,a=1-r,o=Math.min(n,i,a);return["CMYK",n,i,a,o]}}t.ColorConverters=i},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NullL10n=void 0,t.getL10nFallback=n;let r={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",rendering_error:"An error occurred while rendering the page.",annotation_date_string:"{{date}}, {{time}}",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text2_default_content:"Start typing…",editor_free_text2_aria_label:"Text Editor",editor_ink2_aria_label:"Draw Editor",editor_ink_canvas_aria_label:"User-created image",editor_alt_text_button_label:"Alt text",editor_alt_text_edit_button_label:"Edit alt text",editor_alt_text_decorative_tooltip:"Marked as decorative"};function n(e,t){switch(e){case"find_match_count":e=`find_match_count[${1===t.total?"one":"other"}]`;break;case"find_match_count_limit":e=`find_match_count_limit[${1===t.limit?"one":"other"}]`}return r[e]||""}function i(e,t){return t?e.replaceAll(/\{\{\s*(\w+)\s*\}\}/g,(e,r)=>r in t?t[r]:"{{"+r+"}}"):e}r.print_progress_percent="{{progress}}%";let a={getLanguage:async()=>"en-us",getDirection:async()=>"ltr",get:async(e,t=null,r=n(e,t))=>i(r,t),async translate(e){}};t.NullL10n=a},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;var n=r(25);
3class i{static setupStorage(e,t,r,n,i){let a=n.getValue(t,{value:null});switch(r.name){case"textarea":if(null!==a.value&&(e.textContent=a.value),"print"===i)break;e.addEventListener("input",e=>{n.setValue(t,{value:e.target.value})});break;case"input":if("radio"===r.attributes.type||"checkbox"===r.attributes.type){if(a.value===r.attributes.xfaOn?e.setAttribute("checked",!0):a.value===r.attributes.xfaOff&&e.removeAttribute("checked"),"print"===i)break;e.addEventListener("change",e=>{n.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})})}else{if(null!==a.value&&e.setAttribute("value",a.value),"print"===i)break;e.addEventListener("input",e=>{n.setValue(t,{value:e.target.value})})}break;case"select":if(null!==a.value)for(let t of(e.setAttribute("value",a.value),r.children))t.attributes.value===a.value?t.attributes.selected=!0:t.attributes.hasOwnProperty("selected")&&delete t.attributes.selected;e.addEventListener("input",e=>{let r=e.target.options,i=-1===r.selectedIndex?"":r[r.selectedIndex].value;n.setValue(t,{value:i})})}}static setAttributes({html:e,element:t,storage:r=null,intent:n,linkService:i}){let{attributes:a}=t,o=e instanceof HTMLAnchorElement;for(let[t,r]of("radio"===a.type&&(a.name=`${a.name}-${n}`),Object.entries(a)))if(null!=r)switch(t){case"class":r.length&&e.setAttribute(t,r.join(" "));break;case"dataId":break;case"id":e.setAttribute("data-element-id",r);break;case"style":Object.assign(e.style,r);break;case"textContent":e.textContent=r;break;default:o&&("href"===t||"newWindow"===t)||e.setAttribute(t,r)}o&&i.addLinkAttributes(e,a.href,a.newWindow),r&&a.dataId&&this.setupStorage(e,a.dataId,t,r)}static render(e){let t=e.annotationStorage,r=e.linkService,i=e.xfaHtml,a=e.intent||"display",o=document.createElement(i.name);i.attributes&&this.setAttributes({html:o,element:i,intent:a,linkService:r});let s=[[i,-1,o]],l=e.div;if(l.append(o),e.viewport){let t=`matrix(${e.viewport.transform.join(",")})`;l.style.transform=t}"richText"!==a&&l.setAttribute("class","xfaLayer xfaFont");let u=[];for(;s.length>0;){let[e,i,o]=s.at(-1);if(i+1===e.children.length){s.pop();continue}let l=e.children[++s.at(-1)[1]];if(null===l)continue;let{name:c}=l;if("#text"===c){let e=document.createTextNode(l.value);u.push(e),o.append(e);continue}let d=l?.attributes?.xmlns?document.createElementNS(l.attributes.xmlns,c):document.createElement(c);if(o.append(d),l.attributes&&this.setAttributes({html:d,element:l,storage:t,intent:a,linkService:r}),l.children&&l.children.length>0)s.push([l,-1,d]);else if(l.value){let e=document.createTextNode(l.value);n.XfaText.shouldBuildText(c)&&u.push(e),d.append(e)}}for(let e of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))e.setAttribute("readOnly",!0);return{textDivs:u}}static update(e){let t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}t.XfaLayer=i},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InkEditor=void 0;var n=r(1),i=r(4),a=r(29),o=r(6),s=r(5);class l extends i.AnnotationEditor{#rd=0;#rf=0;#rh=this.canvasPointermove.bind(this);#rp=this.canvasPointerleave.bind(this);#rm=this.canvasPointerup.bind(this);#r_=this.canvasPointerdown.bind(this);#rg=new Path2D;#ry=!1;#rb=!1;#rv=!1;#rM=null;#rS=0;#rw=0;#rE=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _type="ink";constructor(e){super({...e,name:"inkEditor"}),this.color=e.color||null,this.thickness=e.thickness||null,this.opacity=e.opacity||null,this.paths=[],this.bezierPath2D=[],this.allRawPaths=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0,this._willKeepAspectRatio=!0}static initialize(e){i.AnnotationEditor.initialize(e,{strings:["editor_ink_canvas_aria_label","editor_ink2_aria_label"]})}static updateDefaultParams(e,t){switch(e){case n.AnnotationEditorParamsType.INK_THICKNESS:l._defaultThickness=t;break;case n.AnnotationEditorParamsType.INK_COLOR:l._defaultColor=t;break;case n.AnnotationEditorParamsType.INK_OPACITY:l._defaultOpacity=t/100}}updateParams(e,t){switch(e){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#rL(t);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#tj(t);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#rA(t)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,l._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,l._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*l._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||l._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||l._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??l._defaultOpacity))]]}#rL(e){let t=this.thickness;this.addCommands({cmd:()=>{this.thickness=e,this.#rk()},undo:()=>{this.thickness=t,this.#rk()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#tj(e){let t=this.color;this.addCommands({cmd:()=>{this.color=e,this.#rx()},undo:()=>{this.color=t,this.#rx()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#rA(e){e/=100;let t=this.opacity;this.addCommands({cmd:()=>{this.opacity=e,this.#rx()},undo:()=>{this.opacity=t,this.#rx()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){this.parent&&(super.rebuild(),null!==this.div&&(this.canvas||(this.#rT(),this.#rP()),this.isAttachedToDOM||(this.parent.add(this),this.#rC()),this.#rk())
3)}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#rM.disconnect(),this.#rM=null,super.remove())}setParent(e){!this.parent&&e?this._uiManager.removeShouldRescale(this):this.parent&&null===e&&this._uiManager.addShouldRescale(this),super.setParent(e)}onScaleChanging(){let[e,t]=this.parentDimensions,r=this.width*e,n=this.height*t;this.setDimensions(r,n)}enableEditMode(){this.#ry||null===this.canvas||(super.enableEditMode(),this._isDraggable=!1,this.canvas.addEventListener("pointerdown",this.#r_))}disableEditMode(){this.isInEditMode()&&null!==this.canvas&&(super.disableEditMode(),this._isDraggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#r_))}onceAdded(){this._isDraggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#rY(){let{parentRotation:e,parentDimensions:[t,r]}=this;switch(e){case 90:return[0,r,r,t];case 180:return[t,r,t,r];case 270:return[t,0,r,t];default:return[0,0,t,r]}}#rD(){let{ctx:e,color:t,opacity:r,thickness:n,parentScale:i,scaleFactor:a}=this;e.lineWidth=n*i/a,e.lineCap="round",e.lineJoin="round",e.miterLimit=10,e.strokeStyle=`${t}${(0,s.opacityToHex)(r)}`}#rO(e,t){this.canvas.addEventListener("contextmenu",o.noContextMenu),this.canvas.addEventListener("pointerleave",this.#rp),this.canvas.addEventListener("pointermove",this.#rh),this.canvas.addEventListener("pointerup",this.#rm),this.canvas.removeEventListener("pointerdown",this.#r_),this.isEditing=!0,this.#rv||(this.#rv=!0,this.#rC(),this.thickness||=l._defaultThickness,this.color||=l._defaultColor||i.AnnotationEditor._defaultLineColor,this.opacity??=l._defaultOpacity),this.currentPath.push([e,t]),this.#rb=!1,this.#rD(),this.#rE=()=>{this.#rR(),this.#rE&&window.requestAnimationFrame(this.#rE)},window.requestAnimationFrame(this.#rE)}#rj(e,t){let[r,n]=this.currentPath.at(-1);if(this.currentPath.length>1&&e===r&&t===n)return;let i=this.currentPath,a=this.#rg;if(i.push([e,t]),this.#rb=!0,i.length<=2){a.moveTo(...i[0]),a.lineTo(e,t);return}3===i.length&&(this.#rg=a=new Path2D,a.moveTo(...i[0])),this.#rI(a,...i.at(-3),...i.at(-2),e,t)}#rF(){if(0===this.currentPath.length)return;let e=this.currentPath.at(-1);this.#rg.lineTo(...e)}#rN(e,t){let r;if(this.#rE=null,e=Math.min(Math.max(e,0),this.canvas.width),t=Math.min(Math.max(t,0),this.canvas.height),this.#rj(e,t),this.#rF(),1!==this.currentPath.length)r=this.#rH();else{let n=[e,t];r=[[n,n.slice(),n.slice(),n]]}let n=this.#rg,i=this.currentPath;this.currentPath=[],this.#rg=new Path2D;let a=()=>{this.allRawPaths.push(i),this.paths.push(r),this.bezierPath2D.push(n),this.rebuild()},o=()=>{this.allRawPaths.pop(),this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#rT(),this.#rP()),this.#rk())};this.addCommands({cmd:a,undo:o,mustExec:!0})}#rR(){if(!this.#rb)return;this.#rb=!1,this.thickness,this.parentScale;let e=this.currentPath.slice(-3),{ctx:t}=(e.map(e=>e[0]),e.map(e=>e[1]),this);for(let e of(t.save(),t.clearRect(0,0,this.canvas.width,this.canvas.height),this.bezierPath2D))t.stroke(e);t.stroke(this.#rg),t.restore()}#rI(e,t,r,n,i,a,o){let s=(t+n)/2,l=(r+i)/2,u=(n+a)/2,c=(i+o)/2;e.bezierCurveTo(s+2*(n-s)/3,l+2*(i-l)/3,u+2*(n-u)/3,c+2*(i-c)/3,u,c)}#rH(){let e;let t=this.currentPath;if(t.length<=2)return[[t[0],t[0],t.at(-1),t.at(-1)]];let r=[],[n,i]=t[0];for(e=1;e<t.length-2;e++){let[a,o]=t[e],[s,l]=t[e+1],u=(a+s)/2,c=(o+l)/2,d=[n+2*(a-n)/3,i+2*(o-i)/3],f=[u+2*(a-u)/3,c+2*(o-c)/3];r.push([[n,i],d,f,[u,c]]),[n,i]=[u,c]}let[a,o]=t[e],[s,l]=t[e+1],u=[n+2*(a-n)/3,i+2*(o-i)/3],c=[s+2*(a-s)/3,l+2*(o-l)/3];return r.push([[n,i],u,c,[s,l]]),r}#rx(){if(this.isEmpty()){this.#rz();return}this.#rD();let{canvas:e,ctx:t}=this;for(let r of(t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,e.width,e.height),this.#rz(),this.bezierPath2D))t.stroke(r)}commit(){this.#ry||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#ry=!0,this.div.classList.add("disabled"),this.#rk(!0),this.makeResizable(),this.parent.addInkEditorIfNeeded(!0),this.moveInDOM(),this.div.focus({preventScroll:!0}))}focusin(e){this._focusEventsAllowed&&(super.focusin(e),this.enableEditMode())}canvasPointerdown(e){0===e.button&&this.isInEditMode()&&!this.#ry&&(this.setInForeground(),e.preventDefault(),"mouse"!==e.type&&this.div.focus(),this.#rO(e.offsetX,e.offsetY))}canvasPointermove(e){e.preventDefault(),this.#rj(e.offsetX,e.offsetY)}canvasPointerup(e){e.preventDefault(),this.#rU(e)}canvasPointerleave(e){this.#rU(e)}#rU(e){this.canvas.removeEventListener("pointerleave",this.#rp),this.canvas.removeEventListener("pointermove",this.#rh),this.canvas.removeEventListener("pointerup",this.#rm),this.canvas.addEventListener("pointerdown",this.#r_),setTimeout(()=>{this.canvas.removeEventListener("contextmenu",o.noContextMenu)},10),this.#rN(e.offsetX,e.offsetY),this.addToAnnotationStorage(),this.setInBackgroun
3d()}#rT(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",i.AnnotationEditor._l10nPromise.get("editor_ink_canvas_aria_label").then(e=>this.canvas?.setAttribute("aria-label",e)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#rP(){this.#rM=new ResizeObserver(e=>{let t=e[0].contentRect;t.width&&t.height&&this.setDimensions(t.width,t.height)}),this.#rM.observe(this.div)}get isResizable(){return!this.isEmpty()&&this.#ry}render(){let e,t;if(this.div)return this.div;this.width&&(e=this.x,t=this.y),super.render(),i.AnnotationEditor._l10nPromise.get("editor_ink2_aria_label").then(e=>this.div?.setAttribute("aria-label",e));let[r,n,a,o]=this.#rY();if(this.setAt(r,n,0,0),this.setDims(a,o),this.#rT(),this.width){let[r,n]=this.parentDimensions;this.setAspectRatio(this.width*r,this.height*n),this.setAt(e*r,t*n,this.width*r,this.height*n),this.#rv=!0,this.#rC(),this.setDims(this.width*r,this.height*n),this.#rx(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#rP(),this.div}#rC(){if(!this.#rv)return;let[e,t]=this.parentDimensions;this.canvas.width=Math.ceil(this.width*e),this.canvas.height=Math.ceil(this.height*t),this.#rz()}setDimensions(e,t){let r=Math.round(e),n=Math.round(t);if(this.#rS===r&&this.#rw===n)return;this.#rS=r,this.#rw=n,this.canvas.style.visibility="hidden";let[i,a]=this.parentDimensions;this.width=e/i,this.height=t/a,this.fixAndSetPosition(),this.#ry&&this.#rB(e,t),this.#rC(),this.#rx(),this.canvas.style.visibility="visible",this.fixDims()}#rB(e,t){let r=this.#r$(),n=(e-r)/this.#rf,i=(t-r)/this.#rd;this.scaleFactor=Math.min(n,i)}#rz(){let e=this.#r$()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+e,this.translationY*this.scaleFactor+e)}static #rV(e){let t=new Path2D;for(let r=0,n=e.length;r<n;r++){let[n,i,a,o]=e[r];0===r&&t.moveTo(...n),t.bezierCurveTo(i[0],i[1],a[0],a[1],o[0],o[1])}return t}static #rW(e,t,r){let[n,i,a,o]=t;switch(r){case 0:for(let t=0,r=e.length;t<r;t+=2)e[t]+=n,e[t+1]=o-e[t+1];break;case 90:for(let t=0,r=e.length;t<r;t+=2){let r=e[t];
3e[t]=e[t+1]+n,e[t+1]=r+i}break;case 180:for(let t=0,r=e.length;t<r;t+=2)e[t]=a-e[t],e[t+1]+=i;break;case 270:for(let t=0,r=e.length;t<r;t+=2){let r=e[t];e[t]=a-e[t+1],e[t+1]=o-r}break;default:throw Error("Invalid rotation")}return e}static #rq(e,t,r){let[n,i,a,o]=t;switch(r){case 0:for(let t=0,r=e.length;t<r;t+=2)e[t]-=n,e[t+1]=o-e[t+1];break;case 90:for(let t=0,r=e.length;t<r;t+=2){let r=e[t];e[t]=e[t+1]-i,e[t+1]=r-n}break;case 180:for(let t=0,r=e.length;t<r;t+=2)e[t]=a-e[t],e[t+1]-=i;break;case 270:for(let t=0,r=e.length;t<r;t+=2){let r=e[t];e[t]=o-e[t+1],e[t+1]=a-r}break;default:throw Error("Invalid rotation")}return e}#rG(e,t,r,n){let i=[],a=this.thickness/2,o=e*t+a,s=e*r+a;for(let t of this.paths){let r=[],a=[];for(let n=0,i=t.length;n<i;n++){let[l,u,c,d]=t[n],f=e*l[0]+o,h=e*l[1]+s,p=e*u[0]+o,m=e*u[1]+s,_=e*c[0]+o,g=e*c[1]+s,y=e*d[0]+o,b=e*d[1]+s;0===n&&(r.push(f,h),a.push(f,h)),r.push(p,m,_,g,y,b),a.push(p,m),n===i-1&&a.push(y,b)}i.push({bezier:l.#rW(r,n,this.rotation),points:l.#rW(a,n,this.rotation)})}return i}#rJ(){let e=1/0,t=-1/0,r=1/0,i=-1/0;for(let a of this.paths)for(let[o,s,l,u]of a){let a=n.Util.bezierBoundingBox(...o,...s,...l,...u);e=Math.min(e,a[0]),r=Math.min(r,a[1]),t=Math.max(t,a[2]),i=Math.max(i,a[3])}return[e,r,t,i]}#r$(){return this.#ry?Math.ceil(this.thickness*this.parentScale):0}#rk(e=!1){if(this.isEmpty())return;if(!this.#ry){this.#rx();return}let t=this.#rJ(),r=this.#r$();this.#rf=Math.max(i.AnnotationEditor.MIN_SIZE,t[2]-t[0]),this.#rd=Math.max(i.AnnotationEditor.MIN_SIZE,t[3]-t[1]);let n=Math.ceil(r+this.#rf*this.scaleFactor),a=Math.ceil(r+this.#rd*this.scaleFactor),[o,s]=this.parentDimensions;this.width=n/o,this.height=a/s,this.setAspectRatio(n,a);let l=this.translationX,u=this.translationY;this.translationX=-t[0],this.translationY=-t[1],this.#rC(),this.#rx(),this.#rS=n,this.#rw=a,this.setDims(n,a);let c=e?r/this.scaleFactor/2:0;this.translate(l-this.translationX-c,u-this.translationY-c)}static deserialize(e,t,r){if(e instanceof a.InkAnnotationElement)return null;let o=super.deserialize(e,t,r);o.thickness=e.thickness,o.color=n.Util.makeHexColor(...e.color),o.opacity=e.opacity;let[s,u]=o.pageDimensions,c=o.width*s,d=o.height*u,f=o.parentScale,h=e.thickness/2;o.#ry=!0,o.#rS=Math.round(c),o.#rw=Math.round(d);let{paths:p,rect:m,rotation:_}=e;for(let{bezier:e}of p){e=l.#rq(e,m,_);let t=[];o.paths.push(t);let r=f*(e[0]-h),n=f*(e[1]-h);for(let i=2,a=e.length;i<a;i+=6){let a=f*(e[i]-h),o=f*(e[i+1]-h),s=f*(e[i+2]-h),l=f*(e[i+3]-h),u=f*(e[i+4]-h),c=f*(e[i+5]-h);t.push([[r,n],[a,o],[s,l],[u,c]]),r=u,n=c}let i=this.#rV(t);o.bezierPath2D.push(i)}let g=o.#rJ();return o.#rf=Math.max(i.AnnotationEditor.MIN_SIZE,g[2]-g[0]),o.#rd=Math.max(i.AnnotationEditor.MIN_SIZE,g[3]-g[1]),o.#rB(c,d),o}serialize(){if(this.isEmpty())return null;let e=this.getRect(0,0),t=i.AnnotationEditor._colorManager.convert(this.ctx.strokeStyle);return{annotationType:n.AnnotationEditorType.INK,color:t,thickness:this.thickness,opacity:this.opacity,paths:this.#rG(this.scaleFactor/this.parentScale,this.translationX,this.translationY,e),pageIndex:this.pageIndex,rect:e,rotation:this.rotation,structTreeParentId:this._structTreeParentId}}}t.InkEditor=l},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StampEditor=void 0;var n=r(1),i=r(4),a=r(6),o=r(29);class s extends i.AnnotationEditor{#rK=null;#rX=null;#rZ=null;#rQ=null;#r0=null;#r1=null;#rM=null;#r2=null;#r5=!1;#r3=!1;static _type="stamp";constructor(e){super({...e,name:"stampEditor"}),this.#rQ=e.bitmapUrl,this.#r0=e.bitmapFile}static initialize(e){i.AnnotationEditor.initialize(e)}static get supportedTypes(){let e=["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"];return(0,n.shadow)(this,"supportedTypes",e.map(e=>`image/${e}`))}static get supportedTypesStr(){return(0,n.shadow)(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(e){return this.supportedTypes.includes(e)}static paste(e,t){t.pasteEditor(n.AnnotationEditorType.STAMP,{bitmapFile:e.getAsFile()})}#r4(e,t=!1){if(!e){this.remove();return}this.#rK=e.bitmap,t||(this.#rX=e.id,this.#r5=e.isSvg),this.#rT()}#r7(){this.#rZ=null,this._uiManager.enableWaiting(!1),this.#r1&&this.div.focus()}#r8(){if(this.#rX){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(this.#rX).then(e=>this.#r4(e,!0)).finally(()=>this.#r7());return}if(this.#rQ){let e=this.#rQ;this.#rQ=null,this._uiManager.enableWaiting(!0),this.#rZ=this._uiManager.imageManager.getFromUrl(e).then(e=>this.#r4(e)).finally(()=>this.#r7());return}if(this.#r0){let e=this.#r0;this.#r0=null,this._uiManager.enableWaiting(!0),this.#rZ=this._uiManager.imageManager.getFromFile(e).then(e=>this.#r4(e)).finally(()=>this.#r7());return}
3let e=document.createElement("input");e.type="file",e.accept=s.supportedTypesStr,this.#rZ=new Promise(t=>{e.addEventListener("change",async()=>{if(e.files&&0!==e.files.length){this._uiManager.enableWaiting(!0);let t=await this._uiManager.imageManager.getFromFile(e.files[0]);this.#r4(t)}else this.remove();t()}),e.addEventListener("cancel",()=>{this.remove(),t()})}).finally(()=>this.#r7()),e.click()}remove(){this.#rX&&(this.#rK=null,this._uiManager.imageManager.deleteId(this.#rX),this.#r1?.remove(),this.#r1=null,this.#rM?.disconnect(),this.#rM=null),super.remove()}rebuild(){if(!this.parent){this.#rX&&this.#r8();return}super.rebuild(),null!==this.div&&(this.#rX&&this.#r8(),this.isAttachedToDOM||this.parent.add(this))}onceAdded(){this._isDraggable=!0,this.div.focus()}isEmpty(){return!(this.#rZ||this.#rK||this.#rQ||this.#r0)}get isResizable(){return!0}render(){let e,t;if(this.div)return this.div;if(this.width&&(e=this.x,t=this.y),super.render(),this.div.hidden=!0,this.#rK?this.#rT():this.#r8(),this.width){let[r,n]=this.parentDimensions;this.setAt(e*r,t*n,this.width*r,this.height*n)}return this.div}#rT(){let{div:e}=this,{width:t,height:r}=this.#rK,[n,i]=this.pageDimensions,a=.75;if(this.width)t=this.width*n,r=this.height*i;else if(t>a*n||r>a*i){let e=Math.min(a*n/t,a*i/r);t*=e,r*=e}let[o,s]=this.parentDimensions;this.setDims(t*o/n,r*s/i),this._uiManager.enableWaiting(!1);let l=this.#r1=document.createElement("canvas");e.append(l),e.hidden=!1,this.#r6(t,r),this.#rP(),this.#r3||(this.parent.addUndoableEditor(this),this.#r3=!0),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",subtype:this.editorType,data:{action:"inserted_image"}}}),this.addAltTextButton()}#r9(e,t){let[r,n]=this.parentDimensions;this.width=e/r,this.height=t/n,this.setDims(e,t),this._initialOptions?.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,null!==this.#r2&&clearTimeout(this.#r2);let i=200;this.#r2=setTimeout(()=>{this.#r2=null,this.#r6(e,t)},i)}#ne(e,t){let{width:r,height:n}=this.#rK,i=r,a=n,o=this.#rK;for(;i>2*e||a>2*t;){let r=i,n=a;i>2*e&&(i=i>=16384?Math.floor(i/2)-1:Math.ceil(i/2)),a>2*t&&(a=a>=16384?Math.floor(a/2)-1:Math.ceil(a/2));let s=new OffscreenCanvas(i,a);s.getContext("2d").drawImage(o,0,0,r,n,0,0,i,a),o=s.transferToImageBitmap()}return o}#r6(e,t){e=Math.ceil(e),t=Math.ceil(t);let r=this.#r1;if(!r||r.width===e&&r.height===t)return;r.width=e,r.height=t;let n=this.#r5?this.#rK:this.#ne(e,t),i=r.getContext("2d");i.filter=this._uiManager.hcmFilter,i.drawImage(n,0,0,n.width,n.height,0,0,e,t)}#nt(e){if(e){if(this.#r5){let e=this._uiManager.imageManager.getSvgUrl(this.#rX);if(e)return e}let e=document.createElement("canvas");return{width:e.width,height:e.height}=this.#rK,e.getContext("2d").drawImage(this.#rK,0,0),e.toDataURL()}if(this.#r5){let[e,t]=this.pageDimensions,r=Math.round(this.width*e*a.PixelsPerInch.PDF_TO_CSS_UNITS),n=Math.round(this.height*t*a.PixelsPerInch.PDF_TO_CSS_UNITS),i=new OffscreenCanvas(r,n);return i.getContext("2d").drawImage(this.#rK,0,0,this.#rK.width,this.#rK.height,0,0,r,n),i.transferToImageBitmap()}return structuredClone(this.#rK)}#rP(){this.#rM=new ResizeObserver(e=>{let t=e[0].contentRect;t.width&&t.height&&this.#r9(t.width,t.height)}),this.#rM.observe(this.div)}static deserialize(e,t,r){if(e instanceof o.StampAnnotationElement)return null;let n=super.deserialize(e,t,r),{rect:i,bitmapUrl:a,bitmapId:s,isSvg:l,accessibilityData:u}=e;s&&r.imageManager.isValidId(s)?n.#rX=s:n.#rQ=a,n.#r5=l;let[c,d]=n.pageDimensions;return n.width=(i[2]-i[0])/c,n.height=(i[3]-i[1])/d,u&&(n.altTextData=u),n}serialize(e=!1,t=null){if(this.isEmpty())return null;let r={annotationType:n.AnnotationEditorType.STAMP,bitmapId:this.#rX,pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:this.#r5,structTreeParentId:this._structTreeParentId};if(e)return r.bitmapUrl=this.#nt(!0),r.accessibilityData=this.altTextData,r;let{decorative:i,altText:a}=this.altTextData;if(!i&&a&&(r.accessibilityData={type:"Figure",alt:a}),null===t)return r;t.stamps||=new Map;let o=this.#r5?(r.rect[2]-r.rect[0])*(r.rect[3]-r.rect[1]):null;if(t.stamps.has(this.#rX)){if(this.#r5){let e=t.stamps.get(this.#rX);o>e.area&&(e.area=o,e.serialized.bitmap.close(),e.serialized.bitmap=this.#nt(!1))}}else t.stamps.set(this.#rX,{area:o,serialized:r}),r.bitmap=this.#nt(!1);return r}}t.StampEditor=s}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](r,r.exports,__w_pdfjs_require__),r.exports}var __nested_webpack_exports__={};return(()=>{var e=__nested_webpack_exports__;
3Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AbortException",{enumerable:!0,get:function(){return t.AbortException}}),Object.defineProperty(e,"AnnotationEditorLayer",{enumerable:!0,get:function(){return a.AnnotationEditorLayer}}),Object.defineProperty(e,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return t.AnnotationEditorParamsType}}),Object.defineProperty(e,"AnnotationEditorType",{enumerable:!0,get:function(){return t.AnnotationEditorType}}),Object.defineProperty(e,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return o.AnnotationEditorUIManager}}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return s.AnnotationLayer}}),Object.defineProperty(e,"AnnotationMode",{enumerable:!0,get:function(){return t.AnnotationMode}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return t.CMapCompressionType}}),Object.defineProperty(e,"DOMSVGFactory",{enumerable:!0,get:function(){return n.DOMSVGFactory}}),Object.defineProperty(e,"FeatureTest",{enumerable:!0,get:function(){return t.FeatureTest}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return l.GlobalWorkerOptions}}),Object.defineProperty(e,"ImageKind",{enumerable:!0,get:function(){return t.ImageKind}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return t.InvalidPDFException}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return t.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return t.OPS}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return r.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return r.PDFWorker}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return t.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return t.PermissionFlag}}),Object.defineProperty(e,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(e,"PromiseCapability",{enumerable:!0,get:function(){return t.PromiseCapability}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return r.SVGGraphics}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return t.UnexpectedResponseException}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return t.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return t.VerbosityLevel}}),Object.defineProperty(e,"XfaLayer",{enumerable:!0,get:function(){return u.XfaLayer}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return r.build}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return t.createValidAbsoluteUrl}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return r.getDocument}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(e,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(e,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(e,"isDataScheme",{enumerable:!0,get:function(){return n.isDataScheme}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(e,"noContextMenu",{enumerable:!0,get:function(){return n.noContextMenu}}),Object.defineProperty(e,"normalizeUnicode",{enumerable:!0,get:function(){return t.normalizeUnicode}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return i.renderTextLayer}}),Object.defineProperty(e,"setLayerDimensions",{enumerable:!0,get:function(){return n.setLayerDimensions}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return t.shadow}}),Object.defineProperty(e,"updateTextLayer",{enumerable:!0,get:function(){return i.updateTextLayer}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return r.version}});var t=__w_pdfjs_require__(1),r=__w_pdfjs_require__(2),n=__w_pdfjs_require__(6),i=__w_pdfjs_require__(26),a=__w_pdfjs_require__(27),o=__w_pdfjs_require__(5),s=__w_pdfjs_require__(29),l=__w_pdfjs_require__(14),u=__w_pdfjs_require__(32)})(),__nested_webpack_exports__})())},2703:function(e,t,r){"use strict";var n=r(414);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
vendor: 4,756 bytes, line 3
3:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return r.PropTypes=r,r}},5697:function(e,t,r){e.exports=r(2703)()},414:function(e){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},4448:function(e,t,r){"use strict";var n,i,a,o,s,l,u=r(7294),c=r(3840);function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,h={};function p(e,t){m(e,t),m(e+"Capture",t)}function m(e,t){for(h[e]=t,e=0;e<t.length;e++)f.add(t[e])}var _=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),g=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,b={},v={};function M(e){return!!g.call(v,e)||!g.call(b,e)&&(y.test(e)?v[e]=!0:(b[e]=!0,!1))}function S(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(n)return!1;if(null!==r)return!r.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}function w(e,t,r,n){if(null==t||S(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function E(e,t,r,n,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var L={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){L[e]=new E(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];L[t]=new E(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){L[e]=new E(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){L[e]=new E(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){L[e]=new E(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){L[e]=new E(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){L[e]=new E(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){L[e]=new E(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){L[e]=new E(e,5,!1,e.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function k(e){return e[1].toUpperCase()}function x(e,t,r,n){var i=L.hasOwnProperty(t)?L[t]:null;(null!==i?0!==i.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(w(t,r,i,n)&&(r=null),n||null===i?M(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
3-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,k);L[t]=new E(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,k);L[t]=new E(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,k);L[t]=new E(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){L[e]=new E(e,1,!1,e.toLowerCase(),null,!1,!1)}),L.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){L[e]=new E(e,1,!1,e.toLowerCase(),null,!0,!0)});var T=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,P=Symbol.for("react.element"),C=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),j=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),z=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var U=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var B=Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}var V,W=Object.assign;function q(e){if(void 0===V)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);V=t&&t[1]||""}return"\n"+V+e}var G=!1;function J(e,t){if(!e||G)return"";G=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=n.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do if(o--,0>--s||i[o]!==a[s]){var l="\n"+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{G=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?q(e):""}function K(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=J(e.type,!1);case 11:return e=J(e.type.render,!1);case 1:return e=J(e.type,!0);default:return""}}function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Y:return"Fragment";case C:return"Portal";case O:return"Profiler";case D:return"StrictMode";case F:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case j:return(e.displayName||"Context")+".Consumer";case R:return(e._context.displayName||"Context")+".Provider";case I:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case H:return null!==(t=e.displayName||null)?t:X(e.type)||"Memo";case z:t=e._payload,e=e._init;try{return X(e(t))}catch(e){}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return X(t);case 8:return t===D?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ee(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function et(e){var t=ee(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function er(e){e._valueTracker||(e._valueTracker=et(e))}function en(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=ee(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function ei(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ea(e,t){var r=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function eo(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=Q(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function es(e,t){null!=(t=t.checked)&&x(e,"checked",t,!1)}function el(e,t){es(e,t);var r=Q(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n){e.removeAttribute("value");return}t.hasOwnProperty("value")?ec(e,t.type,r):t.hasOwnProperty("defaultValue")&&ec(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function eu(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}
vendor: 17,899 bytes, line 3
3""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ec(e,t,r){("number"!==t||ei(e.ownerDocument)!==e)&&(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ed=Array.isArray;function ef(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(i=0,r=""+Q(r),t=null;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function eh(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(d(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ep(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(d(92));if(ed(r)){if(1<r.length)throw Error(d(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:Q(r)}}function em(e,t){var r=Q(t.value),n=Q(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function e_(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function eg(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ey(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?eg(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var eb,ev=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((eb=eb||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function eM(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType){r.nodeValue=t;return}}e.textContent=t}var eS={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ew=["Webkit","ms","Moz","O"];function eE(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||eS.hasOwnProperty(e)&&eS[e]?(""+t).trim():t+"px"}function eL(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=eE(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(eS).forEach(function(e){ew.forEach(function(t){eS[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eS[e]})});var eA=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ek(e,t){if(t){if(eA[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(d(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(d(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(d(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(d(62))}}function ex(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var eT=null;function eP(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eC=null,eY=null,eD=null;function eO(e){if(e=n5(e)){if("function"!=typeof eC)throw Error(d(280));var t=e.stateNode;t&&(t=n4(t),eC(e.stateNode,e.type,t))}}function eR(e){eY?eD?eD.push(e):eD=[e]:eY=e}function ej(){if(eY){var e=eY,t=eD;if(eD=eY=null,eO(e),t)for(e=0;e<t.length;e++)eO(t[e])}}function eI(e,t){return e(t)}function eF(){}var eN=!1;function eH(e,t,r){if(eN)return e(t,r);eN=!0;try{return eI(e,t,r)}finally{eN=!1,(null!==eY||null!==eD)&&(eF(),ej())}}function ez(e,t){var r=e.stateNode;if(null===r)return null;var n=n4(r);if(null===n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(d(231,t,typeof r));return r}var eU=!1;if(_)try{var eB={};Object.defineProperty(eB,"passive",{get:function(){eU=!0}}),window.addEventListener("test",eB,eB),window.removeEventListener("test",eB,eB)}catch(e){eU=!1}function e$(e,t,r,n,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var eV=!1,eW=null,eq=!1,eG=null,eJ={onError:function(e){eV=!0,eW=e}};function eK(e,t,r,n,i,a,o,s,l){eV=!1,eW=null,e$.apply(eJ,arguments)}function eX(e,t,r,n,i,a,o,s,l){if(eK.apply(this,arguments),eV){if(eV){var u=eW;eV=!1,eW=null}else throw Error(d(198));eq||(eq=!0,eG=u)}}function eZ(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function eQ(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function e0(e){if(eZ(e)!==e)throw Error(d(188))}function e1(e){var t=e.alternate;if(!t){if(null===(t=eZ(e)))throw Error(d(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(n=i.return)){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return e0(i),e;if(a===n)return e0(i),t;a=a.sibling}throw Error(d(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,s=i.child;s;){if(s===r){o=!0,r=i,n=a;break}if(s===n){o=!0,n=i,r=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===r){o=!0,r=a,n=i;break}if(s===n){o=!0,n=a,r=i;break}s=s.sibling}if(!o)throw Error(d(189))}}if(r.alternate!==n)throw Error(d(190))}if(3!==r.tag)throw Error(d(188));return r.stateNode.current===r?e:t}function e2(e){return null!==(e=e1(e))?e5(e):null}function e5(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=e5(e);if(null!==t)return t;e=e.sibling}return null}var e3=c.unstable_scheduleCallback,e4=c.unstable_cancelCallback,e7=c.unstable_shouldYield,e8=c.unstable_requestPaint,e6=c.unstable_now,e9=c.unstable_getCurrentPriorityLevel,te=c.unstable_ImmediatePriority,tt=c.unstable_UserBlockingPriority,tr=c.unstable_NormalPriority,tn=c.unstable_LowPriority,ti=c.unstable_IdlePriority,ta=null,to=null;function ts(e){if(to&&"function"==typeof to.onCommitFiberRoot)try{to.onCommitFiberRoot(ta,e,void 0,128==(128&e.current.flags))}catch(e){}}var tl=Math.clz32?Math.clz32:td,tu=Math.log,tc=Math.LN2;function td(e){return 0==(e>>>=0)?32:31-(tu(e)/tc|0)|0}var tf=64,th=4194304;function tp(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function tm(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&r;if(0!==o){var s=o&~i;0!==s?n=tp(s):0!=(a&=o)&&(n=tp(a))}else 0!=(o=r&~i)?n=tp(o):0!==a&&(n=tp(a));if(0===n)return 0;if(0!==t&&t!==n&&0==(t&i)&&((i=n&-n)>=(a=t&-t)||16===i&&0!=(4194240&a)))return t;if(0!=(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-tl(t)),n|=e[r],t&=~i;return n}function t_(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}function tg(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-tl(a),s=1<<o,l=i[o];-1===l?(0==(s&r)||0!=(s&n))&&(i[o]=t_(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function ty(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function tb(){var e=tf;return 0==(4194240&(tf<<=1))&&(tf=64),e}function tv(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function tM(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tl(t)]=r}function tS(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var i=31-tl(r),a=1<<i;t[i]=0,n[i]=-1,e[i]=-1,r&=~a}}function tw(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-tl(r),i=1<<n;i&t|e[n]&t&&(e[n]|=t),r&=~i}}var tE=0;function tL(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var tA,tk,tx,tT,tP,tC=!1,tY=[],tD=null,tO=null,tR=null,tj=new Map,tI=new Map,tF=[],tN="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tH(e,t){switch(e){case"focusin":case"focusout":tD=null;break;case"dragenter":case"dragleave":tO=null;break;case"mouseover":case"mouseout":tR=null;break;case"pointerover":case"pointerout":tj.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tI.delete(t.pointerId)}}function tz(e,t,r,n,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[i]},null!==t&&null!==(t=n5(t))&&tk(t)):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i)),e}function tU(e,t,r,n,i){switch(t){case"focusin":return tD=tz(tD,e,t,r,n,i),!0;case"dragenter":return tO=tz(tO,e,t,r,n,i),!0;case"mouseover":return tR=tz(tR,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return tj.set(a,tz(tj.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,tI.set(a,tz(tI.get(a)||null,e,t,r,n,i)),!0}return!1}function tB(e){var t=n2(e.target);if(null!==t){var r=eZ(t);if(null!==r){if(13===(t=r.tag)){if(null!==(t=eQ(r))){e.blockedOn=t,tP(e.priority,function(){tx(r)});return}}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===r.tag?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function t$(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=t1(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=n5(r))&&tk(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);eT=n,r.target.dispatchEvent(n),eT=null,t.shift()}return!0}function tV(e,t,r){t$(e)&&r.delete(t)}function tW(){tC=!1,null!==tD&&t$(tD)&&(tD=null),null!==tO&&t$(tO)&&(tO=null),null!==tR&&t$(tR)&&(tR=null),tj.forEach(tV),tI.forEach(tV)}function tq(e,t){e.blockedOn===t&&(e.blockedOn=null,tC||(tC=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tW)))}function tG(e){function t(t){return tq(t,e)}if(0<tY.length){tq(tY[0],e);for(var r=1;r<tY.length;r++){var n=tY[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==tD&&tq(tD,e),null!==tO&&tq(tO,e),null!==tR&&tq(tR,e),tj.forEach(t),tI.forEach(t),r=0;r<tF.length;r++)(n=tF[r]).blockedOn===e&&(n.blockedOn=null);for(;0<tF.length&&null===(r=tF[0]).blockedOn;)tB(r),null===r.blockedOn&&tF.shift()}var tJ=T.ReactCurrentBatchConfig,tK=!0;function tX(e,t,r,n){var i=tE,a=tJ.transition;tJ.transition=null;try{tE=1,tQ(e,t,r,n)}finally{tE=i,tJ.transition=a}}function tZ(e,t,r,n){var i=tE,a=tJ.transition;tJ.transition=null;try{tE=4,tQ(e,t,r,n)}finally{tE=i,tJ.transition=a}}function tQ(e,t,r,n){if(tK){var i=t1(e,t,r,n);if(null===i)nx(e,t,n,t0,r),tH(e,n);else if(tU(i,e,t,r,n))n.stopPropagation();else if(tH(e,n),4&t&&-1<tN.indexOf(e)){for(;null!==i;){var a=n5(i);if(null!==a&&tA(a),null===(a=t1(e,t,r,n))&&nx(e,t,n,t0,r),a===i)break;i=a}null!==i&&n.stopPropagation()}else nx(e,t,n,null,r)}}var t0=null;function t1(e,t,r,n){if(t0=null,null!==(e=n2(e=eP(n)))){if(null===(t=eZ(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=eQ(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return t0=e,null}function t2(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e9()){case te:return 1;case tt:return 4;case tr:case tn:return 16;case ti:return 536870912;default:return 16}default:return 16}}var t5=null,t3=null,t4=null;function t7(){if(t4)return t4;var e,t,r=t3,n=r.length,i="value"in t5?t5.value:t5.textContent,a=i.length;for(e=0;e<n&&r[e]===i[e];e++);var o=n-e;for(t=1;t<=o&&r[n-t]===i[a-t];t++);return t4=i.slice(e,1<t?1-t:void 0)}function t8(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function t6(){return!0}function t9(){return!1}function re(e){function t(t,r,n,i,a){for(var o in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?t6:t9,this.isPropagationStopped=t9,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=t6)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=t6)},persist:function(){},isPersistent:t6}),t}var rt,rr,rn,ri={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ra=re(ri),ro=W({},ri,{view:0,detail:0}),rs=re(ro),rl=W({},ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rb,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==rn&&(rn&&"mousemove"===e.type?(rt=e.screenX-rn.screenX,rr=e.screenY-rn.screenY):rr=rt=0,rn=e),rt)},movementY:function(e){return"movementY"in e?e.movementY:rr}}),ru=re(rl),rc=re(W({},rl,{dataTransfer:0})),rd=re(W({},ro,{relatedTarget:0})),rf=re(W({},ri,{animationName:0,elapsedTime:0,pseudoElement:0})),rh=re(W({},ri,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),rp=re(W({},ri,{data:0})),rm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},r_={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ry(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=rg[e])&&!!t[e]}function rb(){return ry}var rv=re(W({},ro,{key:function(e){if(e.key){var t=rm[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=t8(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"ke
3yup"===e.type?r_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rb,charCode:function(e){return"keypress"===e.type?t8(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?t8(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),rM=re(W({},rl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),rS=re(W({},ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rb})),rw=re(W({},ri,{propertyName:0,elapsedTime:0,pseudoElement:0})),rE=re(W({},rl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rL=[9,13,27,32],rA=_&&"CompositionEvent"in window,rk=null;_&&"documentMode"in document&&(rk=document.documentMode);var rx=_&&"TextEvent"in window&&!rk,rT=_&&(!rA||rk&&8<rk&&11>=rk),rP=" ",rC=!1;function rY(e,t){switch(e){case"keyup":return -1!==rL.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rD(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var rO=!1;function rR(e,t){switch(e){case"compositionend":return rD(t);case"keypress":if(32!==t.which)return null;return rC=!0,rP;case"textInput":return(e=t.data)===rP&&rC?null:e;default:return null}}function rj(e,t){if(rO)return"compositionend"===e||!rA&&rY(e,t)?(e=t7(),t4=t3=t5=null,rO=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rT&&"ko"!==t.locale?null:t.data}}var rI={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rF(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!rI[e.type]:"textarea"===t}function rN(e,t,r,n){eR(n),0<(t=nP(t,"onChange")).length&&(r=new ra("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var rH=null,rz=null;function rU(e){nS(e,0)}function rB(e){if(en(n3(e)))return e}function r$(e,t){if("change"===e)return t}var rV=!1;if(_){if(_){var rW="oninput"in document;if(!rW){var rq=document.createElement("div");rq.setAttribute("oninput","return;"),rW="function"==typeof rq.oninput}n=rW}else n=!1;rV=n&&(!document.documentMode||9<document.documentMode)}function rG(){rH&&(rH.detachEvent("onpropertychange",rJ),rz=rH=null)}function rJ(e){if("value"===e.propertyName&&rB(rz)){var t=[];rN(t,rz,e,eP(e)),eH(rU,t)}}function rK(e,t,r){"focusin"===e?(rG(),rH=t,rz=r,rH.attachEvent("onpropertychange",rJ)):"focusout"===e&&rG()}function rX(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return rB(rz)}function rZ(e,t){if("click"===e)return rB(t)}function rQ(e,t){if("input"===e||"change"===e)return rB(t)}function r0(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var r1="function"==typeof Object.is?Object.is:r0;function r2(e,t){if(r1(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!g.call(t,i)||!r1(e[i],t[i]))return!1}return!0}function r5(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r3(e,t){var r,n=r5(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=r5(n)}}function r4(e,t){return!!e&&!!t&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?r4(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function r7(){for(var e=window,t=ei();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(r)e=t.contentWindow;else break;t=ei(e.document)}return t}function r8(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function r6(e){var t=r7(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&r4(r.ownerDocument.documentElement,r)){if(null!==n&&r8(r)){if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=void 0===n.end?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=r3(r,a);var o=r3(r,n);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var r9=_&&"documentMode"in document&&11>=document.documentMode,ne=null,nt=null,nr=null,nn=!1;function ni(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;nn||null==ne||ne!==ei(n)||(n="selectionStart"in(n=ne)&&r8(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 92,132 bytes, line 3
3sNode:n.focusNode,focusOffset:n.focusOffset},nr&&r2(nr,n)||(nr=n,0<(n=nP(nt,"onSelect")).length&&(t=new ra("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=ne)))}function na(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var no={animationend:na("Animation","AnimationEnd"),animationiteration:na("Animation","AnimationIteration"),animationstart:na("Animation","AnimationStart"),transitionend:na("Transition","TransitionEnd")},ns={},nl={};function nu(e){if(ns[e])return ns[e];if(!no[e])return e;var t,r=no[e];for(t in r)if(r.hasOwnProperty(t)&&t in nl)return ns[e]=r[t];return e}_&&(nl=document.createElement("div").style,"AnimationEvent"in window||(delete no.animationend.animation,delete no.animationiteration.animation,delete no.animationstart.animation),"TransitionEvent"in window||delete no.transitionend.transition);var nc=nu("animationend"),nd=nu("animationiteration"),nf=nu("animationstart"),nh=nu("transitionend"),np=new Map,nm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function n_(e,t){np.set(e,t),p(t,[e])}for(var ng=0;ng<nm.length;ng++){var ny=nm[ng];n_(ny.toLowerCase(),"on"+(ny[0].toUpperCase()+ny.slice(1)))}n_(nc,"onAnimationEnd"),n_(nd,"onAnimationIteration"),n_(nf,"onAnimationStart"),n_("dblclick","onDoubleClick"),n_("focusin","onFocus"),n_("focusout","onBlur"),n_(nh,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nb="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nv=new Set("cancel close invalid load scroll toggle".split(" ").concat(nb));function nM(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,eX(n,t,void 0,e),e.currentTarget=null}function nS(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var s=n[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;nM(i,s,u),a=l}else for(o=0;o<n.length;o++){if(l=(s=n[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;nM(i,s,u),a=l}}}if(eq)throw e=eG,eq=!1,eG=null,e}function nw(e,t){var r=t[nQ];void 0===r&&(r=t[nQ]=new Set);var n=e+"__bubble";r.has(n)||(nk(t,e,2,!1),r.add(n))}function nE(e,t,r){var n=0;t&&(n|=4),nk(r,e,n,t)}var nL="_reactListening"+Math.random().toString(36).slice(2);function nA(e){if(!e[nL]){e[nL]=!0,f.forEach(function(t){"selectionchange"!==t&&(nv.has(t)||nE(t,!1,e),nE(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[nL]||(t[nL]=!0,nE("selectionchange",!1,t))}}function nk(e,t,r,n){switch(t2(t)){case 1:var i=tX;break;case 4:i=tZ;break;default:i=tQ}r=i.bind(null,t,r,e),i=void 0,eU&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function nx(e,t,r,n,i){var a=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var o=n.tag;if(3===o||4===o){var s=n.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=n.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=n2(s)))return;if(5===(l=o.tag)||6===l){n=a=o;continue e}s=s.parentNode}}n=n.return}eH(function(){var n=a,i=eP(r),o=[];e:{var s=np.get(e);if(void 0!==s){var l=ra,u=e;switch(e){case"keypress":if(0===t8(r))break e;case"keydown":case"keyup":l=rv;break;case"focusin":u="focus",l=rd;break;case"focusout":u="blur",l=rd;break;case"beforeblur":case"afterblur":l=rd;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=ru;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=rc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=rS;break;case nc:case nd:case nf:l=rf;break;case nh:l=rw;break;case"scroll":l=rs;break;case"wheel":l=rE;break;case"copy":case"cut":case"paste":l=rh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=rM}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=n;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&null!=(m=ez(p,f))&&c.push(nT(p,m,h))),d)break;p=p.return}0<c.length&&(s=new l(s,u,null,r,i),o.push({event:s,listeners:c}))}}if(0==(7&t)){if(s="mouseover"===e||"pointerover"===e,l="mouseout"===e||"pointerout"===e,!(s&&r!==eT&&(u=r.relatedTarget||r.fromElement)&&(n2(u)||u[nZ]))&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(u=r.relatedTarget||r.toElement,l=n,null!==(u=u?n2(u):null)&&(d=eZ(u),u!==d||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=n),l!==u)){if(c=ru,m="onMouseLeave",f="onMouseEnter",p="mouse",("pointerout"===e||"pointerover"===e)&&(c=rM,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:n3(l),h=null==u?s:n3(u),(s=new c(m,p+"leave",l,r,i)).target=d,s.relatedTarget=h,m=null,n2(i)===n&&((c=new c(f,p+"enter",u,r,i)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)t:{for(c=l,f=u,p=0,h=c;h;h=nC(h))p++;for(h=0,m=f;m;m=nC(m))h++;for(;0<p-h;)c=nC(c),p--;for(;0<h-p;)f=nC(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break t;c=nC(c),f=nC(f)}c=null}else c=null;null!==l&&nY(o,s,l,c,!1),null!==u&&null!==d&&nY(o,d,u,c,!0)}e:{if("select"===(l=(s=n?n3(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var _,g=r$;else if(rF(s)){if(rV)g=rQ;else{g=rX;var y=rK}}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=rZ);if(g&&(g=g(e,n))){rN(o,g,r,i);break e}y&&y(e,s,n),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&ec(s,"number",s.value)}switch(y=n?n3(n):window,e){case"focusin":(rF(y)||"true"===y.contentEditable)&&(ne=y,nt=n,nr=null);break;case"focusout":nr=nt=ne=null;break;case"mousedown":nn=!0;break;case"contextmenu":case"mouseup":case"dragend":nn=!1,ni(o,r,i);break;case"selectionchange":if(r9)break;case"keydown":case"keyup":ni(o,r,i)}if(rA)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else rO?rY(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(rT&&"ko"!==r.locale&&(rO||"onCompositionStart"!==b?"onCompositionEnd"===b&&rO&&(_=t7()):(t3="value"in(t5=i)?t5.value:t5.textContent,rO=!0)),0<(y=nP(n,b)).length&&(b=new rp(b,e,null,r,i),o.push({event:b,listeners:y}),_?b.data=_:null!==(_=rD(r))&&(b.data=_))),(_=rx?rR(e,r):rj(e,r))&&0<(n=nP(n,"onBeforeInput")).length&&(i=new rp("onBeforeInput","beforeinput",null,r,i),o.push({event:i,listeners:n}),i.data=_)}nS(o,t)})}function nT(e,t,r){return{instance:e,listener:t,currentTarget:r}}function nP(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=ez(e,r))&&n.unshift(nT(e,a,i)),null!=(a=ez(e,t))&&n.push(nT(e,a,i))),e=e.return}return n}function nC(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function nY(e,t,r,n,i){for(var a=t._reactName,o=[];null!==r&&r!==n;){var s=r,l=s.alternate,u=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==u&&(s=u,i?null!=(l=ez(r,a))&&o.unshift(nT(r,l,s)):i||null!=(l=ez(r,a))&&o.push(nT(r,l,s))),r=r.return}0!==o.length&&e.push({event:t,listeners:o})}var nD=/\r\n?/g,nO=/\u0000|\uFFFD/g;function nR(e){return("string"==typeof e?e:""+e).replace(nD,"\n").replace(nO,"")}function nj(e,t,r){if(t=nR(t),nR(e)!==t&&r)throw Error(d(425))}function nI(){}var nF=null,nN=null;function nH(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var nz="function"==typeof setTimeout?setTimeout:void 0,nU="function"==typeof clearTimeout?clearTimeout:void 0,nB="function"==typeof Promise?Promise:void 0,n$="function"==typeof queueMicrotask?queueMicrotask:void 0!==nB?function(e){return nB.resolve(null).then(e).catch(nV)}:nz;function nV(e){setTimeout(function(){throw e})}function nW(e,t){var r=t,n=0;do{var i=r.nextSibling;if(e.removeChild(r),i&&8===i.nodeType){if("/$"===(r=i.data)){if(0===n){e.removeChild(i),tG(t);return}n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++}r=i}while(r);tG(t)}function nq(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function nG(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var nJ=Math.random().toString(36).slice(2),nK="__reactFiber$"+nJ,nX="__reactProps$"+nJ,nZ="__reactContainer$"+nJ,nQ="__reactEvents$"+nJ,n0="__reactListeners$"+nJ,n1="__reactHandles$"+nJ;function n2(e){var t=e[nK];if(t)return t;for(var r=e.parentNode;r;){if(t=r[nZ]||r[nK]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=nG(e);null!==e;){if(r=e[nK])return r;e=nG(e)}return t}r=(e=r).parentNode}return null}function n5(e){return(e=e[nK]||e[nZ])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function n3(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(d(33))}function n4(e){return e[nX]||null}var n7=[],n8=-1;function n6(e){return{current:e}}function n9(e){0>n8||(e.current=n7[n8],n7[n8]=null,n8--)}function ie(e,t){n7[++n8]=e.current,e.current=t}var it={},ir=n6(it),ii=n6(!1),ia=it;function io(e,t){var r=e.type.contextTypes;if(!r)return it;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in r)a[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function is(e){return null!=(e=e.childContextTypes)}function il(){n9(ii),n9(ir)}function iu(e,t,r){if(ir.current!==it)throw Error(d(168));ie(ir,t),ie(ii,r)}function ic(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var i in n=n.getChildContext())if(!(i in t))throw Error(d(108,Z(e)||"Unknown",i));return W({},r,n)}function id(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||it,ia=ir.current,ie(ir,e),ie(ii,ii.current),!0}function ih(e,t,r){var n=e.stateNode;if(!n)throw Error(d(169));r?(e=ic(e,t,ia),n.__reactInternalMemoizedMergedChildContext=e,n9(ii),n9(ir),ie(ir,e)):n9(ii),ie(ii,r)}var ip=null,im=!1,i_=!1;function ig(e){null===ip?ip=[e]:ip.push(e)}function iy(e){im=!0,ig(e)}function ib(){if(!i_&&null!==ip){i_=!0;var e=0,t=tE;try{var r=ip;for(tE=1;e<r.length;e++){var n=r[e];do n=n(!0);while(null!==n)}ip=null,im=!1}catch(t){throw null!==ip&&(ip=ip.slice(e+1)),e3(te,ib),t}finally{tE=t,i_=!1}}return null}var iv=[],iM=0,iS=null,iw=0,iE=[],iL=0,iA=null,ik=1,ix="";function iT(e,t){iv[iM++]=iw,iv[iM++]=iS,iS=e,iw=t}function iP(e,t,r){iE[iL++]=ik,iE[iL++]=ix,iE[iL++]=iA,iA=e;var n=ik;e=ix;var i=32-tl(n)-1;n&=~(1<<i),r+=1;var a=32-tl(t)+i;if(30<a){var o=i-i%5;a=(n&(1<<o)-1).toString(32),n>>=o,i-=o,ik=1<<32-tl(t)+i|r<<i|n,ix=a+e}else ik=1<<a|r<<i|n,ix=e}function iC(e){null!==e.return&&(iT(e,1),iP(e,1,0))}function iY(e){for(;e===iS;)iS=iv[--iM],iv[iM]=null,iw=iv[--iM],iv[iM]=null;for(;e===iA;)iA=iE[--iL],iE[iL]=null,ix=iE[--iL],iE[iL]=null,ik=iE[--iL],iE[iL]=null}var iD=null,iO=null,iR=!1,ij=null;function iI(e,t){var r=lM(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function iF(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,iD=e,iO=nq(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,iD=e,iO=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==iA?{id:ik,overflow:ix}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=lM(18,null,null,0)).stateNode=t,r.return=e,e.child=r,iD=e,iO=null,!0);default:return!1}}function iN(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function iH(e){if(iR){var t=iO;if(t){var r=t;if(!iF(e,t)){if(iN(e))throw Error(d(418));t=nq(r.nextSibling);var n=iD;t&&iF(e,t)?iI(n,r):(e.flags=-4097&e.flags|2,iR=!1,iD=e)}}else{if(iN(e))throw Error(d(418));e.flags=-4097&e.flags|2,iR=!1,iD=e}}}function iz(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;iD=e}function iU(e){if(e!==iD)return!1;if(!iR)return iz(e),iR=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!nH(e.type,e.memoizedProps)),t&&(t=iO)){if(iN(e))throw iB(),Error(d(418));for(;t;)iI(e,t),t=nq(t.nextSibling)}if(iz(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(d(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,r=e.data;if("/$"===r){if(0===t){iO=nq(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}iO=null}}else iO=iD?nq(e.stateNode.nextSibling):null;return!0}function iB(){for(var e=iO;e;)e=nq(e.nextSibling)}function i$(){iO=iD=null,iR=!1}function iV(e){null===ij?ij=[e]:ij.push(e)}var iW=T.ReactCurrentBatchConfig;function iq(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(d(309));var n=r.stateNode}if(!n)throw Error(d(147,e));var i=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(d(284));if(!r._owner)throw Error(d(290,e))}return e}function iG(e,t){throw Error(d(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function iJ(e){return(0,e._init)(e._payload)}function iK(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=lE(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return(t.index=n,e)?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,r,n){return null===t||6!==t.tag?(t=lx(r,e.mode,n)).return=e:(t=i(t,r)).return=e,t}function l(e,t,r,n){var a=r.type;return a===Y?c(e,t,r.props.children,n,r.key):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===z&&iJ(a)===t.type)?(n=i(t,r.props)).ref=iq(e,t,r):(n=lL(r.type,r.key,r.props,null,e.mode,n)).ref=iq(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?(t=lT(r,e.mode,n)).return=e:(t=i(t,r.children||[])).return=e,t}function c(e,t,r,n,a){return null===t||7!==t.tag?(t=lA(r,e.mode,n,a)).return=e:(t=i(t,r)).return=e,t}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=lx(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case P:return(r=lL(t.type,t.key,t.props,null,e.mode,r)).ref=iq(e,null,t),r.return=e,r;case C:return(t=lT(t,e.mode,r)).return=e,t;case z:return f(e,(0,t._init)(t._payload),r)}if(ed(t)||$(t))return(t=lA(t,e.mode,r,null)).return=e,t;iG(e,t)}return null}function h(e,t,r,n){var i=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==i?null:s(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case P:return r.key===i?l(e,t,r,n):null;case C:return r.key===i?u(e,t,r,n):null;case z:return h(e,t,(i=r._init)(r._payload),n)}if(ed(r)||$(r))return null!==i?null:c(e,t,r,n,null);iG(e,r)}return null}function p(e,t,r,n,i){if("string"==typeof n&&""!==n||"number"==typeof n)return s(t,e=e.get(r)||null,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case P:return l(t,e=e.get(null===n.key?r:n.key)||null,n,i);case C:return u(t,e=e.get(null===n.key?r:n.key)||null,n,i);case z:return p(e,t,r,(0,n._init)(n._payload),i)}if(ed(n)||$(n))return c(t,e=e.get(r)||null,n,i,null);iG(t,n)}return null}function m(i,o,s,l){for(var u=null,c=null,d=o,m=o=0,_=null;null!==d&&m<s.length;m++){d.index>m?(_=d,d=null):_=d.sibling;var g=h(i,d,s[m],l);if(null===g){null===d&&(d=_);break}e&&d&&null===g.alternate&&t(i,d),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,d=_}if(m===s.length)return r(i,d),iR&&iT(i,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],l))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return iR&&iT(i,m),u}for(d=n(i,d);m<s.length;m++)null!==(_=p(d,i,m,s[m],l))&&(e&&null!==_.alternate&&d.delete(null===_.key?m:_.key),o=a(_,o,m),null===c?u=_:c.sibling=_,c=_);return e&&d.forEach(function(e){return t(i,e)}),iR&&iT(i,m),u}function _(i,o,s,l){var u=$(s);if("function"!=typeof u)throw Error(d(150));if(null==(s=u.call(s)))throw Error(d(151));for(var c=u=null,m=o,_=o=0,g=null,y=s.next();null!==m&&!y.done;_++,y=s.next()){m.index>_?(g=m,m=null):g=m.sibling;var b=h(i,m,y.value,l);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),o=a(b,o,_),null===c?u=b:c.sibling=b,c=b,m=g}if(y.done)return r(i,m),iR&&iT(i,_),u;if(null===m){for(;!y.done;_++,y=s.next())null!==(y=f(i,y.value,l))&&(o=a(y,o,_),null===c?u=y:c.sibling=y,c=y);return iR&&iT(i,_),u}for(m=n(i,m);!y.done;_++,y=s.next())null!==(y=p(m,i,_,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?_:y.key),o=a(y,o,_),null===c?u=y:c.sibling=y,c=y);return e&&m.forEach(function(e){return t(i,e)}),iR&&iT(i,_),u}function g(e,n,a,s){if("object"==typeof a&&null!==a&&a.type===Y&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case P:e:{for(var l=a.key,u=n;null!==u;){if(u.key===l){if((l=a.type)===Y){if(7===u.tag){r(e,u.sibling),(n=i(u,a.props.children)).return=e,e=n;break e}}else if(u.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===z&&iJ(l)===u.type){r(e,u.sibling),(n=i(u,a.props)).ref=iq(e,u,a),n.return=e,e=n;break e}r(e,u);break}t(e,u),u=u.sibling}a.type===Y?((n=lA(a.props.children,e.mode,s,a.key)).return=e,e=n):((s=lL(a.type,a.key,a.props,null,e.mode,s)).ref=iq(e,n,a),s.return=e,e=s)}return o(e);case C:e:{for(u=a.key;null!==n;){if(n.key===u){if(4===n.tag&&n.stateNode.containerInfo===a.containerInfo&&n.stateNode.implementation===a.implementation){r(e,n.sibling),(n=i(n,a.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=lT(a,e.mode,s)).return=e,e=n}return o(e);case z:return g(e,n,(u=a._init)(a._payload),s)}if(ed(a))return m(e,n,a,s);if($(a))return _(e,n,a,s);iG(e,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==n&&6===n.tag?(r(e,n.sibling),(n=i(n,a)).return=e):(r(e,n),(n=lx(a,e.mode,s)).return=e),o(e=n)):r(e,n)}return g}var iX=iK(!0),iZ=iK(!1),iQ=n6(null),i0=null,i1=null,i2=null;function i5(){i2=i1=i0=null}function i3(e){var t=iQ.current;n9(iQ),e._currentValue=t}function i4(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function i7(e,t){i0=e,i2=i1=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(oT=!0),e.firstContext=null)}function i8(e){var t=e._currentValue;if(i2!==e){if(e={context:e,memoizedValue:t,next:null},null===i1){if(null===i0)throw Error(d(308));i1=e,i0.dependencies={lanes:0,firstContext:e}}else i1=i1.next=e}return t}var i6=null;function i9(e){null===i6?i6=[e]:i6.push(e)}function ae(e,t,r,n){var i=t.interleaved;return null===i?(r.next=r,i9(t)):(r.next=i.next,i.next=r),t.interleaved=r,at(e,n)}function at(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var ar=!1;function an(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ao(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!=(2&sA)){var i=n.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),n.pending=t,at(e,r)}return null===(i=n.interleaved)?(t.next=t,i9(n)):(t.next=i.next,i.next=t),n.interleaved=t,at(e,r)}function as(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&r))){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tw(e,r)}}function al(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?i=a=o:a=a.next=o,r=r.next}while(null!==r);null===a?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function au(e,t,r,n){var i=e.updateQueue;ar=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==a){var d=i.baseState;for(o=0,c=u=l=null,s=a;;){var f=s.lane,h=s.eventTime;if((n&f)===f){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(f=t,h=r,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(h,d,f):p))break e;d=W({},d,f);break e;case 2:ar=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=i.effects)?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,o|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do o|=i.lane,i=i.next;while(i!==t)}else null===a&&(i.shared.lanes=0);sO|=o,e.lanes=o,e.memoizedState=d}}function ac(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!=typeof i)throw Error(d(191,i));i.call(n)}}}var ad={},af=n6(ad),ah=n6(ad),ap=n6(ad);function am(e){if(e===ad)throw Error(d(174));return e}function a_(e,t){switch(ie(ap,t),ie(ah,e),ie(af,ad),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ey(null,"");break;default:t=ey(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}n9(af),ie(af,t)}function ag(){n9(af),n9(ah),n9(ap)}function ay(e){am(ap.current);var t=am(af.current),r=ey(t,e.type);t!==r&&(ie(ah,e),ie(af,r))}function ab(e){ah.current===e&&(n9(af),n9(ah))}var av=n6(0);function aM(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aS=[];function aw(){for(var e=0;e<aS.length;e++)aS[e]._workInProgressVersionPrimary=null;aS.length=0}var aE=T.ReactCurrentDispatcher,aL=T.ReactCurrentBatchConfig,aA=0,ak=null,ax=null,aT=null,aP=!1,aC=!1,aY=0,aD=0;function aO(){throw Error(d(321))}function aR(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!r1(e[r],t[r]))return!1;return!0}function aj(e,t,r,n,i,a){if(aA=a,ak=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,aE.current=null===e||null===e.memoizedState?ou:oc,e=r(n,i),aC){a=0;do{if(aC=!1,aY=0,25<=a)throw Error(d(301));a+=1,aT=ax=null,t.updateQueue=null,aE.current=od,e=r(n,i)}while(aC)}if(aE.current=ol,t=null!==ax&&null!==ax.next,aA=0,aT=ax=ak=null,aP=!1,t)throw Error(d(300));return e}function aI(){var e=0!==aY;return aY=0,e}function aF(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aT?ak.memoizedState=aT=e:aT=aT.next=e,aT}function aN(){if(null===ax){var e=ak.alternate;e=null!==e?e.memoizedState:null}else e=ax.next;var t=null===aT?ak.memoizedState:aT.next;if(null!==t)aT=t,ax=e;else{if(null===e)throw Error(d(310));e={memoizedState:(ax=e).memoizedState,baseState:ax.baseState,baseQueue:ax.baseQueue,queue:ax.queue,next:null},null===aT?ak.memoizedState=aT=e:aT=aT.next=e}return aT}function aH(e,t){return"function"==typeof t?t(e):t}function az(e){var t=aN(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=ax,i=n.baseQueue,a=r.pending;if(null!==a){if(null!==i){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(null!==i){a=i.next,n=n.baseState;var s=o=null,l=null,u=a;do{var c=u.lane;if((aA&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===l?(s=l=f,o=n):l=l.next=f,ak.lanes|=c,sO|=c}u=u.next}while(null!==u&&u!==a);null===l?o=n:l.next=s,r1(n,t.memoizedState)||(oT=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}if(null!==(e=r.interleaved)){i=e;do a=i.lane,ak.lanes|=a,sO|=a,i=i.next;while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function aU(e){var t=aN(),r=t.queue;if(null===r)throw Error(d(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);r1(a,t.memoizedState)||(oT=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function aB(){}function a$(e,t){var r=ak,n=aN(),i=t(),a=!r1(n.memoizedState,i);if(a&&(n.memoizedState=i,oT=!0),n=n.queue,a2(aq.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==aT&&1&aT.memoizedState.tag){if(r.flags|=2048,aX(9,aW.bind(null,r,n,i,t),void 0,null),null===sk)throw Error(d(349));0!=(30&aA)||aV(r,t,i)}return i}function aV(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=ak.updateQueue)?(t={lastEffect:null,stores:null},ak.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function aW(e,t,r,n){t.value=r,t.getSnapshot=n,aG(t)&&aJ(e)}function aq(e,t,r){return r(function(){aG(t)&&aJ(e)})}function aG(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!r1(e,r)}catch(e){return!0}}function aJ(e){var t=at(e,1);null!==t&&s0(t,e,1,-1)}function aK(e){var t=aF();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:aH,lastRenderedState:e},t.queue=e,e=e.dispatch=oi.bind(null,ak,e),[t.memoizedState,e]}function aX(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=ak.updateQueue)?(t={lastEffect:null,stores:null},ak.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function aZ(){return aN().memoizedState}function aQ(e,t,r,n){var i=aF();ak.flags|=e,i.memoizedState=aX(1|t,r,void 0,void 0===n?null:n)}function a0(e,t,r,n){var i=aN();n=void 0===n?null:n;var a=void 0;if(null!==ax){var o=ax.memoizedState;if(a=o.destroy,null!==n&&aR(n,o.deps)){i.memoizedState=aX(t,r,a,n);return}}ak.flags|=e,i.memoizedState=aX(1|t,r,a,n)}function a1(e,t){return aQ(8390656,8,e,t)}function a2(e,t){return a0(2048,8,e,t)}function a5(e,t){return a0(4,2,e,t)}function a3(e,t){return a0(4,4,e,t)}function a4(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function a7(e,t,r){return r=null!=r?r.concat([e]):null,a0(4,4,a4.bind(null,t,e),r)}function a8(){}function a6(e,t){var r=aN();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&aR(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function a9(e,t){var r=aN();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&aR(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function oe(e,t,r){return 0==(21&aA)?(e.baseState&&(e.baseState=!1,oT=!0),e.memoizedState=r):(r1(r,t)||(r=tb(),ak.lanes|=r,sO|=r,e.baseState=!0),t)}function ot(e,t){var r=tE;tE=0!==r&&4>r?r:4,e(!0);var n=aL.transition;aL.transition={};try{e(!1),t()}finally{tE=r,aL.transition=n}}function or(){return aN().memoizedState}function on(e,t,r){var n=sQ(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},oa(e)?oo(t,r):null!==(r=ae(e,t,r,n))&&(s0(r,e,n,sZ()),os(r,t,n))}function oi(e,t,r){var n=sQ(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(oa(e))oo(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,r);if(i.hasEagerState=!0,i.eagerState=s,r1(s,o)){var l=t.interleaved;null===l?(i.next=i,i9(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch(e){}finally{}null!==(r=ae(e,t,i,n))&&(s0(r,e,n,i=sZ()),os(r,t,n))}}function oa(e){var t=e.alternate;return e===ak||null!==t&&t===ak}function oo(e,t){aC=aP=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function os(e,t,r){if(0!=(4194240&r)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,tw(e,r)}}var ol={readContext:i8,useCallback:aO,useContext:aO,useEffect:aO,useImperativeHandle:aO,useInsertionEffect:aO,useLayoutEffect:aO,useMemo:aO,useReducer:aO,useRef:aO,useState:aO,useDebugValue:aO,useDeferredValue:aO,useTransition:aO,useMutableSource:aO,useSyncExternalStore:aO,useId:aO,unstable_isNewReconciler:!1},ou={readContext:i8,useCallback:function(e,t){return aF().memoizedState=[e,void 0===t?null:t],e},useContext:i8,useEffect:a1,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,aQ(4194308,4,a4.bind(null,t,e),r)},useLayoutEffect:function(e,t){return aQ(4194308,4,e,t)},useInsertionEffect:function(e,t){return aQ(4,2,e,t)},useMemo:function(e,t){var r=aF();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=aF();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=on.bind(null,ak,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},aF().memoizedState=e},useState:aK,useDebugValue:a8,useDeferredValue:function(e){return aF().memoizedState=e},useTransition:function(){var e=aK(!1),t=e[0];return e=ot.bind(null,e[1]),aF().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ak,i=aF();if(iR){if(void 0===r)throw Error(d(407));r=r()}else{if(r=t(),null===sk)throw Error(d(349));0!=(30&aA)||aV(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,a1(aq.bind(null,n,a,e),[e]),n.flags|=2048,aX(9,aW.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=aF(),t=sk.identifierPrefix;if(iR){var r=ix,n=ik;t=":"+t+"R"+(r=(n&~(1<<32-tl(n)-1)).toString(32)+r),0<(r=aY++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=aD++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oc={readContext:i8,useCallback:a6,useContext:i8,useEffect:a2,useImperativeHandle:a7,useInsertionEffect:a5,useLayoutEffect:a3,useMemo:a9,useReducer:az,useRef:aZ,useState:function(){return az(aH)},useDebugValue:a8,useDeferredValue:function(e){return oe(aN(),ax.memoizedState,e)},useTransition:function(){return[az(aH)[0],aN().memoizedState]},useMutableSource:aB,useSyncExternalStore:a$,useId:or,unstable_isNewReconciler:!1},od={readContext:i8,useCallback:a6,useContext:i8,useEffect:a2,useImperativeHandle:a7,useInsertionEffect:a5,useLayoutEffect:a3,useMemo:a9,useReducer:aU,useRef:aZ,useState:function(){return aU(aH)},useDebugValue:a8,useDeferredValue:function(e){var t=aN();return null===ax?t.memoizedState=e:oe(t,ax.memoizedState,e)},useTransition:function(){return[aU(aH)[0],aN().memoizedState]},useMutableSource:aB,useSyncExternalStore:a$,useId:or,unstable_isNewReconciler:!1};function of(e,t){if(e&&e.defaultProps)for(var r in t=W({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}function oh(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:W({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var op={isMounted:function(e){return!!(e=e._reactInternals)&&eZ(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=sZ(),i=sQ(e),a=aa(n,i);a.payload=t,null!=r&&(a.callback=r),null!==(t=ao(e,a,i))&&(s0(t,e,i,n),as(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=sZ(),i=sQ(e),a=aa(n,i);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=ao(e,a,i))&&(s0(t,e,i,n),as(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=sZ(),n=sQ(e),i=aa(r,n);i.tag=2,null!=t&&(i.callback=t),null!==(t=ao(e,i,n))&&(s0(t,e,n,r),as(t,e,n))}};function om(e,t,r,n,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,o):!t.prototype||!t.prototype.isPureReactComponent||!r2(r,n)||!r2(i,a)}function o_(e,t,r){var n=!1,i=it,a=t.contextType;return"object"==typeof a&&null!==a?a=i8(a):(i=is(t)?ia:ir.current,a=(n=null!=(n=t.contextTypes))?io(e,i):it),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=op,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function og(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&op.enqueueReplaceState(t,t.state,null)}function oy(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs={},an(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=i8(a):(a=is(t)?ia:ir.current,i.context=io(e,a)),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(oh(e,t,a,r),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&op.enqueueReplaceState(i,i.state,null),au(e,r,i,n),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function ob(e,t){try{var r="",n=t;do r+=K(n),n=n.return;while(n);var i=r}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function ov(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function oM(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var oS="function"==typeof WeakMap?WeakMap:Map;function ow(e,t,r){(r=aa(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){sU||(sU=!0,sB=n),oM(e,t)},r}function oE(e,t,r){(r=aa(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){oM(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){oM(e,t),"function"!=typeof n&&(null===s$?s$=new Set([this]):s$.add(this));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}function oL(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new oS;var i=new Set;n.set(t,i)}else void 0===(i=n.get(t))&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=lm.bind(null,e,t,r),t.then(e,e))}function oA(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ok(e,t,r,n,i){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=aa(-1,1)).tag=2,ao(r,t,1))),r.lanes|=1):(e.flags|=65536,e.lanes=i),e}var ox=T.ReactCurrentOwner,oT=!1;function oP(e,t,r,n){t.child=null===e?iZ(t,null,r,n):iX(t,e.child,r,n)}function oC(e,t,r,n,i){r=r.render;var a=t.ref;return(i7(t,i),n=aj(e,t,r,n,a,i),r=aI(),null===e||oT)?(iR&&r&&iC(t),t.flags|=1,oP(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,oX(e,t,i))}function oY(e,t,r,n,i){if(null===e){var a=r.type;return"function"!=typeof a||lS(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=lL(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,oD(e,t,a,n,i))}if(a=e.child,0==(e.lanes&i)){var o=a.memoizedProps;if((r=null!==(r=r.compare)?r:r2)(o,n)&&e.ref===t.ref)return oX(e,t,i)}return t.flags|=1,(e=lE(a,n)).ref=t.ref,e.return=t,t.child=e}function oD(e,t,r,n,i){if(null!==e){var a=e.memoizedProps;if(r2(a,n)&&e.ref===t.ref){if(oT=!1,t.pendingProps=n=a,0==(e.lanes&i))return t.lanes=e.lanes,oX(e,t,i);0!=(131072&e.flags)&&(oT=!0)}}return oj(e,t,r,n,i)}function oO(e,t,r){var n=t.pendingProps,i=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie(sC,sP),sP|=r;else{if(0==(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(sC,sP),sP|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,ie(sC,sP),sP|=n}}else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,ie(sC,sP),sP|=n;return oP(e,t,i,r),t.child}function oR(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function oj(e,t,r,n,i){var a=is(r)?ia:ir.current;return(a=io(t,a),i7(t,i),r=aj(e,t,r,n,a,i),n=aI(),null===e||oT)?(iR&&n&&iC(t),t.flags|=1,oP(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,oX(e,t,i))}function oI(e,t,r,n,i){if(is(r)){var a=!0;id(t)}else a=!1;if(i7(t,i),null===t.stateNode)oK(e,t),o_(t,r,n),oy(t,r,n,i),n=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=r.contextType;u="object"==typeof u&&null!==u?i8(u):io(t,u=is(r)?ia:ir.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==n||l!==u)&&og(t,o,n,u),ar=!1;var f=t.memoizedState;o.state=f,au(t,n,o,i),l=t.memoizedState,s!==n||f!==l||ii.current||ar?("function"==typeof c&&(oh(t,r,c,n),l=t.memoizedState),(s=ar||om(t,r,s,n,f,l,u))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),o.props=n,o.state=l,o.context=u,n=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,ai(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:of(t.type,s),o.props=u,d=t.pendingProps,f=o.context,l="object"==typeof(l=r.contextType)&&null!==l?i8(l):io(t,l=is(r)?ia:ir.current);var h=r.getDerivedStateFromProps;(c="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==d||f!==l)&&og(t,o,n,l),ar=!1,f=t.memoizedState,o.state=f,au(t,n,o,i);var p=t.memoizedState;s!==d||f!==p||ii.current||ar?("function"==typeof h&&(oh(t,r,h,n),p=t.memoizedState),(u=ar||om(t,r,u,n,f,p,l)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(n,p,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,p,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),o.props=n,o.state=p,o.context=l,n=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return oF(e,t,r,n,a,i)}function oF(e,t,r,n,i,a){oR(e,t);var o=0!=(128&t.flags);if(!n&&!o)return i&&ih(t,r,!1),oX(e,t,a);n=t.stateNode,ox.current=t;var s=o&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&o?(t.child=iX(t,e.child,null,a),t.child=iX(t,null,s,a)):oP(e,t,s,a),t.memoizedState=n.state,i&&ih(t,r,!0),t.child}function oN(e){var t=e.stateNode;t.pendingContext?iu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&iu(e,t.context,!1),a_(e,t.containerInfo)}function oH(e,t,r,n,i){return i$(),iV(i),t.flags|=256,oP(e,t,r,n),t.child}var oz={dehydrated:null,treeContext:null,retryLane:0};function oU(e){return{baseLanes:e,cachePool:null,transitions:null}}function oB(e,t,r){var n,i=t.pendingProps,a=av.current,o=!1,s=0!=(128&t.flags);if((n=s)||(n=(null===e||null!==e.memoizedState)&&0!=(2&a)),n?(o=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),ie(av,1&a),null===e)return(iH(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=i.children,e=i.fallback,o?(i=t.mode,o=t.child,s={mode:"hidden",children:s},0==(1&i)&&null!==o?(o.childLanes=0,o.pendingProps=s):o=lk(s,i,0,null),e=lA(e,i,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=oU(r),t.memoizedState=oz,e):o$(t,s));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return oW(e,t,s,i,n,a,r);if(o){o=i.fallback,s=t.mode,n=(a=e.child).sibling;var l={mode:"hidden",children:i.children};return 0==(1&s)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=l,t.deletions=null):(i=lE(a,l)).subtreeFlags=14680064&a.subtreeFlags,null!==n?o=lE(n,o):(o=lA(o,s,r,null),o.flags|=2),o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,s=null===(s=e.child.memoizedState)?oU(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~r,t.memoizedState=oz,i}return e=(o=e.child).sibling,i=lE(o,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function o$(e,t){return(t=lk({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function oV(e,t,r,n){return null!==n&&iV(n),iX(t,e.child,null,r),e=o$(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oW(e,t,r,n,i,a,o){if(r)return 256&t.flags?(t.flags&=-257,oV(e,t,o,n=ov(Error(d(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,i=t.mode,n=lk({mode:"visible",children:n.children},i,0,null),a=lA(a,i,o,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,0!=(1&t.mode)&&iX(t,e.child,null,o),t.child.memoizedState=oU(o),t.memoizedState=oz,a);if(0==(1&t.mode))return oV(e,t,o,null);if("$!"===i.data){if(n=i.nextSibling&&i.nextSibling.dataset)var s=n.dgst;return n=s,oV(e,t,o,n=ov(a=Error(d(419)),n,void 0))}if(s=0!=(o&e.childLanes),oT||s){if(null!==(n=sk)){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!=(i&(n.suspendedLanes|o))?0:i)&&i!==a.retryLane&&(a.retryLane=i,at(e,i),s0(n,e,i,-1))}return li(),oV(e,t,o,n=ov(Error(d(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=lg.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,iO=nq(i.nextSibling),iD=t,iR=!0,ij=null,null!==e&&(iE[iL++]=ik,iE[iL++]=ix,iE[iL++]=iA,ik=e.id,ix=e.overflow,iA=t),t=o$(t,n.children),t.flags|=4096,t)}function oq(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),i4(e.return,t,r)}function oG(e,t,r,n,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i)}function oJ(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(oP(e,t,n.children,r),0!=(2&(n=av.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&oq(e,r,t);else if(19===e.tag)oq(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(ie(av,n),0==(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(i=null,r=t.child;null!==r;)null!==(e=r.alternate)&&null===aM(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),oG(t,!1,i,r,a);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===aM(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}oG(t,!0,r,null,a);break;case"together":oG(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function oK(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function oX(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),sO|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(d(153));if(null!==t.child){for(r=lE(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=lE(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function oZ(e,t,r){switch(t.tag){case 3:oN(t),i$();break;case 5:ay(t);break;case 1:is(t.type)&&id(t);break;case 4:a_(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;ie(iQ,n._currentValue),n._currentValue=i;break;case 13:if(null!==(n=t.memoizedState)){if(null!==n.dehydrated)return ie(av,1&av.current),t.flags|=128,null;if(0!=(r&t.child.childLanes))return oB(e,t,r);return ie(av,1&av.current),null!==(e=oX(e,t,r))?e.sibling:null}ie(av,1&av.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(128&e.flags)){if(n)return oJ(e,t,r);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ie(av,av.current),!n)return null;break;case 22:case 23:return t.lanes=0,oO(e,t,r)}return oX(e,t,r)}function oQ(e,t){if(!iR)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function o0(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=14680064&i.subtreeFlags,n|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function o1(e,t,r){var n=t.pendingProps;switch(iY(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return o0(t),null;case 1:case 17:return is(t.type)&&il(),o0(t),null;case 3:return n=t.stateNode,ag(),n9(ii),n9(ir),aw(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(iU(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ij&&(s3(ij),ij=null))),a(e,t),o0(t),null;case 5:ab(t);var l=am(ap.current);if(r=t.type,null!==e&&null!=t.stateNode)o(e,t,r,n,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(d(166));return o0(t),null}if(e=am(af.current),iU(t)){n=t.stateNode,r=t.type;var u=t.memoizedProps;switch(n[nK]=t,n[nX]=u,e=0!=(1&t.mode),r){case"dialog":nw("cancel",n),nw("close",n);break;case"iframe":case"object":case"embed":nw("load",n);break;case"video":case"audio":for(l=0;l<nb.length;l++)nw(nb[l],n);break;case"source":nw("error",n);break;case"img":case"image":case"link":nw("error",n),nw("load",n);break;case"details":nw("toggle",n);break;case"input":eo(n,u),nw("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!u.multiple},nw("invalid",n);break;case"textarea":ep(n,u),nw("invalid",n)}for(var c in ek(r,u),l=null,u)if(u.hasOwnProperty(c)){var f=u[c];"children"===c?"string"==typeof f?n.textContent!==f&&(!0!==u.suppressHydrationWarning&&nj(n.textContent,f,e),l=["children",f]):"number"==typeof f&&n.textContent!==""+f&&(!0!==u.suppressHydrationWarning&&nj(n.textContent,f,e),l=["children",""+f]):h.hasOwnProperty(c)&&null!=f&&"onScroll"===c&&nw("scroll",n)}switch(r){case"input":er(n),eu(n,u,!0);break;case"textarea":er(n),e_(n);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(n.onclick=nI)}n=l,t.updateQueue=n,null!==n&&(t.flags|=4)}else{c=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=eg(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=c.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[nK]=t,e[nX]=n,i(e,t,!1,!1),t.stateNode=e;e:{switch(c=ex(r,n),r){case"dialog":nw("cancel",e),nw("close",e),l=n;break;case"iframe":case"object":case"embed":nw("load",e),l=n;break;case"video":case"audio":for(l=0;l<nb.length;l++)nw(nb[l],e);l=n;break;case"source":nw("error",e),l=n;break;case"img":case"image":case"link":nw("error",e),nw("load",e),l=n;break;case"details":nw("toggle",e),l=n;break;case"input":eo(e,n),l=ea(e,n),nw("invalid",e);break;case"option":default:l=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},l=W({},n,{value:void 0}),nw("invalid",e);break;case"textarea":ep(e,n),l=eh(e,n),nw("invalid",e)}for(u in ek(r,l),f=l)if(f.hasOwnProperty(u)){var p=f[u];"style"===u?eL(e,p):"dangerouslySetInnerHTML"===u?null!=(p=p?p.__html:void 0)&&ev(e,p):"children"===u?"string"==typeof p?("textarea"!==r||""!==p)&&eM(e,p):"number"==typeof p&&eM(e,""+p):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(h.hasOwnProperty(u)?null!=p&&"onScroll"===u&&nw("scroll",e):null!=p&&x(e,u,p,c))}switch(r){case"input":er(e),eu(e,n,!1);break;case"textarea":er(e),e_(e);break;case"option":null!=n.value&&e.setAttribute("value",""+Q(n.value));break;case"select":e.multiple=!!n.multiple,null!=(u=n.value)?ef(e,!!n.multiple,u,!1):null!=n.defaultValue&&ef(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=nI)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return o0(t),null;case 6:if(e&&null!=t.stateNode)s(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(d(166));if(r=am(ap.current),am(af.current),iU(t)){if(n=t.stateNode,r=t.memoizedProps,n[nK]=t,(u=n.nodeValue!==r)&&null!==(e=iD))switch(e.tag){case 3:nj(n.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&nj(n.nodeValue,r,0!=(1&e.mode))}u&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[nK]=t,t.stateNode=n}return o0(t),null;case 13:if(n9(av),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(iR&&null!==iO&&0!=(1&t.mode)&&0==(128&t.flags))iB(),i$(),t.flags|=98560,u=!1;else if(u=iU(t),null!==n&&null!==n.dehydrated){if(null===e){if(!u)throw Error(d(318));if(!(u=null!==(u=t.memoizedState)?u.dehydrated:null))throw Error(d(317));u[nK]=t}else i$(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;o0(t),u=!1}else null!==ij&&(s3(ij),ij=null),u=!0;if(!u)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=r,t;return(n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&av.current)?0===sY&&(sY=3):li())),null!==t.updateQueue&&(t.flags|=4),o0(t),null;case 4:return ag(),a(e,t),null===e&&nA(t.stateNode.containerInfo),o0(t),null;case 10:return i3(t.type._context),o0(t),null;case 19:if(n9(av),null===(u=t.memoizedState))return o0(t),null;if(n=0!=(128&t.flags),null===(c=u.rendering)){if(n)oQ(u,!1);else{if(0!==sY||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=aM(e))){for(t.flags|=128,oQ(u,!1),null!==(n=c.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)u=r,e=n,u.flags&=14680066,null===(c=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=c.childLanes,u.lanes=c.lanes,u.child=c.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,u.type=c.type,e=c.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ie(av,1&av.current|2),t.child}e=e.sibling}null!==u.tail&&e6()>sH&&(t.flags|=128,n=!0,oQ(u,!1),t.lanes=4194304)}}else{if(!n){if(null!==(e=aM(c))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),oQ(u,!0),null===u.tail&&"hidden"===u.tailMode&&!c.alternate&&!iR)return o0(t),null}else 2*e6()-u.renderingStartTime>sH&&1073741824!==r&&(t.flags|=128,n=!0,oQ(u,!1),t.lanes=4194304)}u.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=u.last)?r.sibling=c:t.child=c,u.last=c)}if(null!==u.tail)return t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=e6(),t.sibling=null,r=av.current,ie(av,n?1&r|2:1&r),t;return o0(t),null;case 22:case 23:return le(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!=(1&t.mode)?0!=(1073741824&sP)&&(o0(t),6&t.subtreeFlags&&(t.flags|=8192)):o0(t),null;case 24:case 25:return null}throw Error(d(156,t.tag))}function o2(e,t){switch(iY(t),t.tag){case 1:return is(t.type)&&il(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ag(),n9(ii),n9(ir),aw(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ab(t),null;case 13:if(n9(av),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(d(340));i$()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return n9(av),null;case 4:return ag(),null;case 10:return i3(t.type._context),null;case 22:case 23:return le(),null;default:return null}}i=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},a=function(){},o=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,am(af.current);var a,o=null;switch(r){case"input":i=ea(e,i),n=ea(e,n),o=[];break;case"select":i=W({},i,{value:void 0}),n=W({},n,{value:void 0}),o=[];break;case"textarea":i=eh(e,i),n=eh(e,n),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=nI)}for(u in ek(r,n),r=null,i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u]){if("style"===u){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(h.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null))}for(u in n){var l=n[u];if(s=null!=i?i[u]:void 0,n.hasOwnProperty(u)&&l!==s&&(null!=l||null!=s)){if("style"===u){if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(o||(o=[]),o.push(u,r)),r=l}else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,s=s?s.__html:void 0,null!=l&&s!==l&&(o=o||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(o=o||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(h.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&nw("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},s=function(e,t,r,n){r!==n&&(t.flags|=4)};var o5=!1,o3=!1,o4="function"==typeof WeakSet?WeakSet:Set,o7=null;function o8(e,t){var r=e.ref;if(null!==r){if("function"==typeof r)try{r(null)}catch(r){lp(e,t,r)}else r.current=null}}function o6(e,t,r){try{r()}catch(r){lp(e,t,r)}}var o9=!1;function se(e,t){if(nF=tK,r8(e=r7())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var i,a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch(e){r=null;break e}var s=0,l=-1,u=-1,c=0,f=0,h=e,p=null;t:for(;;){for(;h!==r||0!==a&&3!==h.nodeType||(l=s+a),h!==o||0!==n&&3!==h.nodeType||(u=s+n),3===h.nodeType&&(s+=h.nodeValue.length),null!==(i=h.firstChild);)p=h,h=i;for(;;){if(h===e)break t;if(p===r&&++c===a&&(l=s),p===o&&++f===n&&(u=s),null!==(i=h.nextSibling))break;p=(h=p).parentNode}h=i}r=-1===l||-1===u?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(nN={focusedElem:e,selectionRange:r},tK=!1,o7=t;null!==o7;)if(e=(t=o7).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,o7=e;else for(;null!==o7;){t=o7;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var _=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?_:of(t.type,_),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var v=t.stateNode.containerInfo;1===v.nodeType?v.textContent="":9===v.nodeType&&v.documentElement&&v.removeChild(v.documentElement);break;default:throw Error(d(163))}}catch(e){lp(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,o7=e;break}o7=t.return}return m=o9,o9=!1,m}function st(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&o6(t,r,a)}i=i.next}while(i!==n)}}function sr(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function sn(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function si(e){var t=e.alternate;null!==t&&(e.alternate=null,si(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[nK],delete t[nX],delete t[nQ],delete t[n0],delete t[n1]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return 5===e.tag||3===e.tag||4===e.tag}function so(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ss(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=nI));else if(4!==n&&null!==(e=e.child))for(ss(e,t,r),e=e.sibling;null!==e;)ss(e,t,r),e=e.sibling}function sl(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(sl(e,t,r),e=e.sibling;null!==e;)sl(e,t,r),e=e.sibling}var su=null,sc=!1;function sd(e,t,r){for(r=r.child;null!==r;)sf(e,t,r),r=r.sibling}function sf(e,t,r){if(to&&"function"==typeof to.onCommitFiberUnmount)try{to.onCommitFiberUnmount(ta,r)}catch(e){}switch(r.tag){case 5:o3||o8(r,t);case 6:var n=su,i=sc;su=null,sd(e,t,r),su=n,sc=i,null!==su&&(sc?(e=su,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):su.removeChild(r.stateNode));break;case 18:null!==su&&(sc?(e=su,r=r.stateNode,8===e.nodeType?nW(e.parentNode,r):1===e.nodeType&&nW(e,r),tG(e)):nW(su,r.stateNode));break;case 4:n=su,i=sc,su=r.stateNode.containerInfo,sc=!0,sd(e,t,r),su=n,sc=i;break;case 0:case 11:case 14:case 15:if(!o3&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){i=n=n.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!=(2&a)?o6(r,t,o):0!=(4&a)&&o6(r,t,o)),i=i.next}while(i!==n)}sd(e,t,r);break;case 1:if(!o3&&(o8(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){lp(r,t,e)}sd(e,t,r);break;case 21:default:sd(e,t,r);break;case 22:1&r.mode?(o3=(n=o3)||null!==r.memoizedState,sd(e,t,r),o3=n):sd(e,t,r)}}function sh(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new o4),t.forEach(function(t){var n=ly.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function sp(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var i=r[n];try{var a=e,o=t,s=o;e:for(;null!==s;){switch(s.tag){case 5:su=s.stateNode,sc=!1;break e;case 3:case 4:su=s.stateNode.containerInfo,sc=!0;break e}s=s.return}if(null===su)throw Error(d(160));sf(a,o,i),su=null,sc=!1;var l=i.alternate;null!==l&&(l.return=null),i.return=null}catch(e){lp(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)sm(t,e),t=t.sibling}function sm(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(sp(t,e),s_(e),4&n){try{st(3,e,e.return),sr(3,e)}catch(t){lp(e,e.return,t)}try{st(5,e,e.return)}catch(t){lp(e,e.return,t)}}break;case 1:sp(t,e),s_(e),512&n&&null!==r&&o8(r,r.return);break;case 5:if(sp(t,e),s_(e),512&n&&null!==r&&o8(r,r.return),32&e.flags){var i=e.stateNode;try{eM(i,"")}catch(t){lp(e,e.return,t)}}if(4&n&&null!=(i=e.stateNode)){var a=e.memoizedProps,o=null!==r?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,null!==l)try{"input"===s&&"radio"===a.type&&null!=a.name&&es(i,a),ex(s,o);var u=ex(s,a);for(o=0;o<l.length;o+=2){var c=l[o],f=l[o+1];"style"===c?eL(i,f):"dangerouslySetInnerHTML"===c?ev(i,f):"children"===c?eM(i,f):x(i,c,f,u)}switch(s){case"input":el(i,a);break;case"textarea":em(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ef(i,!!a.multiple,p,!1):!!a.multiple!==h&&(null!=a.defaultValue?ef(i,!!a.multiple,a.defaultValue,!0):ef(i,!!a.multiple,a.multiple?[]:"",!1))}i[nX]=a}catch(t){lp(e,e.return,t)}}break;case 6:if(sp(t,e),s_(e),4&n){if(null===e.stateNode)throw Error(d(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){lp(e,e.return,t)}}break;case 3:if(sp(t,e),s_(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{tG(t.containerInfo)}catch(t){lp(e,e.return,t)}break;case 4:default:sp(t,e),s_(e);break;case 13:sp(t,e),s_(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,a&&(null===i.alternate||null===i.alternate.memoizedState)&&(sN=e6())),4&n&&sh(e);break;case 22:if(c=null!==r&&null!==r.memoizedState,1&e.mode?(o3=(u=o3)||c,sp(t,e),o3=u):sp(t,e),s_(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&0!=(1&e.mode))for(o7=e,c=e.child;null!==c;){for(f=o7=c;null!==o7;){switch(p=(h=o7).child,h.tag){case 0:case 11:case 14:case 15:st(4,h,h.return);break;case 1:o8(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){n=h,r=h.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){lp(n,r,e)}}break;case 5:o8(h,h.return);break;case 22:if(null!==h.memoizedState){sv(f);continue}}null!==p?(p.return=h,o7=p):sv(f)}c=c.sibling}e:for(c=null,f=e;;){if(5===f.tag){if(null===c){c=f;try{i=f.stateNode,u?(a=i.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(s=f.stateNode,o=null!=(l=f.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null,s.style.display=eE("display",o))}catch(t){lp(e,e.return,t)}}}else if(6===f.tag){if(null===c)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){lp(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:sp(t,e),s_(e),4&n&&sh(e);case 21:}}function s_(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(sa(r)){var n=r;break e}r=r.return}throw Error(d(160))}switch(n.tag){case 5:var i=n.stateNode;32&n.flags&&(eM(i,""),n.flags&=-33);var a=so(e);sl(e,a,i);break;case 3:case 4:var o=n.stateNode.containerInfo,s=so(e);ss(e,s,o);break;default:throw Error(d(161))}}catch(t){lp(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function sg(e,t,r){o7=e,sy(e,t,r)}function sy(e,t,r){for(var n=0!=(1&e.mode);null!==o7;){var i=o7,a=i.child;if(22===i.tag&&n){var o=null!==i.memoizedState||o5;if(!o){var s=i.alternate,l=null!==s&&null!==s.memoizedState||o3;s=o5;var u=o3;if(o5=o,(o3=l)&&!u)for(o7=i;null!==o7;)l=(o=o7).child,22===o.tag&&null!==o.memoizedState?sM(i):null!==l?(l.return=o,o7=l):sM(i);for(;null!==a;)o7=a,sy(a,t,r),a=a.sibling;o7=i,o5=s,o3=u}sb(e,t,r)}else 0!=(8772&i.subtreeFlags)&&null!==a?(a.return=i,o7=a):sb(e,t,r)}}function sb(e){for(;null!==o7;){var t=o7;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:o3||sr(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!o3){if(null===r)n.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:of(t.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}}var a=t.updateQueue;null!==a&&ac(t,a,n);break;case 3:var o=t.updateQueue;if(null!==o){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}ac(t,o,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var f=c.dehydrated;null!==f&&tG(f)}}}break;default:throw Error(d(163))}o3||512&t.flags&&sn(t)}catch(e){lp(t,t.return,e)}}if(t===e){o7=null;break}if(null!==(r=t.sibling)){r.return=t.return,o7=r;break}o7=t.return}}function sv(e){for(;null!==o7;){var t=o7;if(t===e){o7=null;break}var r=t.sibling;if(null!==r){r.return=t.return,o7=r;break}o7=t.return}}function sM(e){for(;null!==o7;){var t=o7;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{sr(4,t)}catch(e){lp(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var i=t.return;try{n.componentDidMount()}catch(e){lp(t,i,e)}}var a=t.return;try{sn(t)}catch(e){lp(t,a,e)}break;case 5:var o=t.return;try{sn(t)}catch(e){lp(t,o,e)}}}catch(e){lp(t,t.return,e)}if(t===e){o7=null;break}var s=t.sibling;if(null!==s){s.return=t.return,o7=s;break}o7=t.return}}var sS=Math.ceil,sw=T.ReactCurrentDispatcher,sE=T.ReactCurrentOwner,sL=T.ReactCurrentBatchConfig,sA=0,sk=null,sx=null,sT=0,sP=0,sC=n6(0),sY=0,sD=null,sO=0,sR=0,sj=0,sI=null,sF=null,sN=0,sH=1/0,sz=null,sU=!1,sB=null,s$=null,sV=!1,sW=null,sq=0,sG=0,sJ=null,sK=-1,sX=0;function sZ(){return 0!=(6&sA)?e6():-1!==sK?sK:sK=e6()}function sQ(e){return 0==(1&e.mode)?1:0!=(2&sA)&&0!==sT?sT&-sT:null!==iW.transition?(0===sX&&(sX=tb()),sX):0!==(e=tE)?e:e=void 0===(e=window.event)?16:t2(e.type)}function s0(e,t,r,n){if(50<sG)throw sG=0,sJ=null,Error(d(185));tM(e,r,n),(0==(2&sA)||e!==sk)&&(e===sk&&(0==(2&sA)&&(sR|=r),4===sY&&s7(e,sT)),s1(e,n),1===r&&0===sA&&0==(1&t.mode)&&(sH=e6()+500,im&&ib()))}function s1(e,t){var r=e.callbackNode;tg(e,t);var n=tm(e,e===sk?sT:0);if(0===n)null!==r&&e4(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&e4(r),1===t)0===e.tag?iy(s8.bind(null,e)):ig(s8.bind(null,e)),n$(function(){0==(6&sA)&&ib()}),r=null;else{switch(tL(n)){case 1:r=te;break;case 4:r=tt;break;case 16:default:r=tr;break;case 536870912:r=ti}r=lb(r,s2.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function s2(e,t){if(sK=-1,sX=0,0!=(6&sA))throw Error(d(327));var r=e.callbackNode;if(lf()&&e.callbackNode!==r)return null;var n=tm(e,e===sk?sT:0);if(0===n)return null;if(0!=(30&n)||0!=(n&e.expiredLanes)||t)t=la(e,n);else{t=n;var i=sA;sA|=2;var a=ln();for((sk!==e||sT!==t)&&(sz=null,sH=e6()+500,lt(e,t));;)try{ls();break}catch(t){lr(e,t)}i5(),sw.current=a,sA=i,null!==sx?t=0:(sk=null,sT=0,t=sY)}if(0!==t){if(2===t&&0!==(i=ty(e))&&(n=i,t=s5(e,i)),1===t)throw r=sD,lt(e,0),s7(e,n),s1(e,e6()),r;if(6===t)s7(e,n);else{if(i=e.current.alternate,0==(30&n)&&!s4(i)&&(2===(t=la(e,n))&&0!==(a=ty(e))&&(n=a,t=s5(e,a)),1===t))throw r=sD,lt(e,0),s7(e,n),s1(e,e6()),r;switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(d(345));case 2:case 5:lc(e,sF,sz);break;case 3:if(s7(e,n),(130023424&n)===n&&10<(t=sN+500-e6())){if(0!==tm(e,0))break;if(((i=e.suspendedLanes)&n)!==n){sZ(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=nz(lc.bind(null,e,sF,sz),t);break}lc(e,sF,sz);break;case 4:if(s7(e,n),(4194240&n)===n)break;for(i=-1,t=e.eventTimes;0<n;){var o=31-tl(n);a=1<<o,(o=t[o])>i&&(i=o),n&=~a}if(n=i,10<(n=(120>(n=e6()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*sS(n/1960))-n)){e.timeoutHandle=nz(lc.bind(null,e,sF,sz),n);break}lc(e,sF,sz);break;default:throw Error(d(329))}}}return s1(e,e6()),e.callbackNode===r?s2.bind(null,e):null}function s5(e,t){var r=sI;return e.current.memoizedState.isDehydrated&&(lt(e,t).flags|=256),2!==(e=la(e,t))&&(t=sF,sF=r,null!==t&&s3(t)),e}function s3(e){null===sF?sF=e:sF.push.apply(sF,e)}function s4(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var i=r[n],a=i.getSnapshot;i=i.value;try{if(!r1(a(),i))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function s7(e,t){for(t&=~sj,t&=~sR,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-tl(t),n=1<<r;e[r]=-1,t&=~n}}function s8(e){if(0!=(6&sA))throw Error(d(327));lf();var t=tm(e,0);if(0==(1&t))return s1(e,e6()),null;var r=la(e,t);if(0!==e.tag&&2===r){var n=ty(e);0!==n&&(t=n,r=s5(e,n))}if(1===r)throw r=sD,lt(e,0),s7(e,t),s1(e,e6()),r;if(6===r)throw Error(d(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lc(e,sF,sz),s1(e,e6()),null}function s6(e,t){var r=sA;sA|=1;try{return e(t)}finally{0===(sA=r)&&(sH=e6()+500,im&&ib())}}function s9(e){null!==sW&&0===sW.tag&&0==(6&sA)&&lf();var t=sA;sA|=1;var r=sL.transition,n=tE;try{if(sL.transition=null,tE=1,e)return e()}finally{tE=n,sL.transition=r,0==(6&(sA=t))&&ib()}}function le(){sP=sC.current,n9(sC)}function lt(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,nU(r)),null!==sx)for(r=sx.return;null!==r;){var n=r;switch(iY(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&il();break;case 3:ag(),n9(ii),n9(ir),aw();break;case 5:ab(n);break;case 4:ag();break;case 13:case 19:n9(av);break;case 10:i3(n.type._context);break;case 22:case 23:le()}r=r.return}if(sk=e,sx=e=lE(e.current,null),sT=sP=t,sY=0,sD=null,sj=sR=sO=0,sF=sI=null,null!==i6){for(t=0;t<i6.length;t++)if(null!==(n=(r=i6[t]).interleaved)){r.interleaved=null;var i=n.next,a=r.pending;if(null!==a){var o=a.next;a.next=i,n.next=o}r.pending=n}i6=null}return e}function lr(e,t){for(;;){var r=sx;try{if(i5(),aE.current=ol,aP){for(var n=ak.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}aP=!1}if(aA=0,aT=ax=ak=null,aC=!1,aY=0,sE.current=null,null===r||null===r.return){sY=1,sD=t,sx=null;break}e:{var a=e,o=r.return,s=r,l=t;if(t=sT,s.flags|=32768,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l,c=s,f=c.tag;if(0==(1&c.mode)&&(0===f||11===f||15===f)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=oA(o);if(null!==p){p.flags&=-257,ok(p,o,s,a,t),1&p.mode&&oL(a,u,t),t=p,l=u;var m=t.updateQueue;if(null===m){var _=new Set;_.add(l),t.updateQueue=_}else m.add(l);break e}if(0==(1&t)){oL(a,u,t),li();break e}l=Error(d(426))}else if(iR&&1&s.mode){var g=oA(o);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),ok(g,o,s,a,t),iV(ob(l,s));break e}}a=l=ob(l,s),4!==sY&&(sY=2),null===sI?sI=[a]:sI.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var y=ow(a,l,t);al(a,y);break e;case 1:s=l;var b=a.type,v=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&(null===s$||!s$.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t;var M=oE(a,s,t);al(a,M);break e}}a=a.return}while(null!==a)}lu(r)}catch(e){t=e,sx===r&&null!==r&&(sx=r=r.return);continue}break}}function ln(){var e=sw.current;return sw.current=ol,null===e?ol:e}function li(){(0===sY||3===sY||2===sY)&&(sY=4),null===sk||0==(268435455&sO)&&0==(268435455&sR)||s7(sk,sT)}function la(e,t){var r=sA;sA|=2;var n=ln();for((sk!==e||sT!==t)&&(sz=null,lt(e,t));;)try{lo();break}catch(t){lr(e,t)}if(i5(),sA=r,sw.current=n,null!==sx)throw Error(d(261));return sk=null,sT=0,sY}function lo(){for(;null!==sx;)ll(sx)}function ls(){for(;null!==sx&&!e7();)ll(sx)}function ll(e){var t=l(e.alternate,e,sP);e.memoizedProps=e.pendingProps,null===t?lu(e):sx=t,sE.current=null}function lu(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(r=o1(r,t,sP))){sx=r;return}}else{if(null!==(r=o2(r,t))){r.flags&=32767,sx=r;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{sY=6,sx=null;return}}if(null!==(t=t.sibling)){sx=t;return}sx=t=e}while(null!==t);0===sY&&(sY=5)}function lc(e,t,r){var n=tE,i=sL.transition;try{sL.transition=null,tE=1,ld(e,t,r,n)}finally{sL.transition=i,tE=n}return null}function ld(e,t,r,n){do lf();while(null!==sW);if(0!=(6&sA))throw Error(d(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(d(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(tS(e,a),e===sk&&(sx=sk=null,sT=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||sV||(sV=!0,lb(tr,function(){return lf(),null})),a=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||a){a=sL.transition,sL.transition=null;var o=tE;tE=1;var s=sA;sA|=4,sE.current=null,se(e,r),sm(r,e),r6(nN),tK=!!nF,nN=nF=null,e.current=r,sg(r,e,i),e8(),sA=s,tE=o,sL.transition=a}else e.current=r;if(sV&&(sV=!1,sW=e,sq=i),0===(a=e.pendingLanes)&&(s$=null),ts(r.stateNode,n),s1(e,e6()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((i=t[r]).value,{componentStack:i.stack,digest:i.digest});if(sU)throw sU=!1,e=sB,sB=null,e;return 0!=(1&sq)&&0!==e.tag&&lf(),0!=(1&(a=e.pendingLanes))?e===sJ?sG++:(sG=0,sJ=e):sG=0,ib(),null}function lf(){if(null!==sW){var e=tL(sq),t=sL.transition,r=tE;try{if(sL.transition=null,tE=16>e?16:e,null===sW)var n=!1;else{if(e=sW,sW=null,sq=0,0!=(6&sA))throw Error(d(331));var i=sA;for(sA|=4,o7=e.current;null!==o7;){var a=o7,o=a.child;if(0!=(16&o7.flags)){var s=a.deletions;if(null!==s){for(var l=0;l<s.length;l++){var u=s[l];for(o7=u;null!==o7;){var c=o7;switch(c.tag){case 0:case 11:case 15:st(8,c,a)}var f=c.child;if(null!==f)f.return=c,o7=f;else for(;null!==o7;){var h=(c=o7).sibling,p=c.return;if(si(c),c===u){o7=null;break}if(null!==h){h.return=p,o7=h;break}o7=p}}}var m=a.alternate;if(null!==m){var _=m.child;if(null!==_){m.child=null;do{var g=_.sibling;_.sibling=null,_=g}while(null!==_)}}o7=a}}if(0!=(2064&a.subtreeFlags)&&null!==o)o.return=a,o7=o;else for(;null!==o7;){if(a=o7,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:st(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,o7=y;break}o7=a.return}}var b=e.current;for(o7=b;null!==o7;){var v=(o=o7).child;if(0!=(2064&o.subtreeFlags)&&null!==v)v.return=o,o7=v;else for(o=b;null!==o7;){if(s=o7,0!=(2048&s.flags))try{switch(s.tag){case 0:case 11:case 15:sr(9,s)}}catch(e){lp(s,s.return,e)}if(s===o){o7=null;break}var M=s.sibling;if(null!==M){M.return=s.return,o7=M;break}o7=s.return}}if(sA=i,ib(),to&&"function"==typeof to.onPostCommitFiberRoot)try{to.onPostCommitFiberRoot(ta,e)}catch(e){}n=!0}return n}finally{tE=r,sL.transition=t}}return!1}function lh(e,t,r){t=ow(e,t=ob(r,t),1),e=ao(e,t,1),t=sZ(),null!==e&&(tM(e,1,t),s1(e,t))}function lp(e,t,r){if(3===e.tag)lh(e,e,r);else for(;null!==t;){if(3===t.tag){lh(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===s$||!s$.has(n))){e=oE(t,e=ob(r,e),1),t=ao(t,e,1),e=sZ(),null!==t&&(tM(t,1,e),s1(t,e));break}}t=t.return}}function lm(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=sZ(),e.pingedLanes|=e.suspendedLanes&r,sk===e&&(sT&r)===r&&(4===sY||3===sY&&(130023424&sT)===sT&&500>e6()-sN?lt(e,0):sj|=r),s1(e,t)}function l_(e,t){0===t&&(0==(1&e.mode)?t=1:(t=th,0==(130023424&(th<<=1))&&(th=4194304)));var r=sZ();null!==(e=at(e,t))&&(tM(e,t,r),s1(e,r))}function lg(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),l_(e,r)}function ly(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(d(314))}null!==n&&n.delete(t),l_(e,r)}function lb(e,t){return e3(e,t)}function lv(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lM(e,t,r,n){return new lv(e,t,r,n)}function lS(e){return!(!(e=e.prototype)||!e.isReactComponent)}function lw(e){if("function"==typeof e)return lS(e)?1:0;if(null!=e){if((e=e.$$typeof)===I)return 11;if(e===H)return 14}return 2}function lE(e,t){var r=e.alternate;return null===r?((r=lM(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function lL(e,t,r,n,i,a){var o=2;if(n=e,"function"==typeof e)lS(e)&&(o=1);else if("string"==typeof e)o=5;else e:switch(e){case Y:return lA(r.children,i,a,t);case D:o=8,i|=8;break;case O:return(e=lM(12,r,t,2|i)).elementType=O,e.lanes=a,e;case F:return(e=lM(13,r,t,i)).elementType=F,e.lanes=a,e;case N:return(e=lM(19,r,t,i)).elementType=N,e.lanes=a,e;case U:return lk(r,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case R:o=10;break e;case j:o=9;break e;case I:o=11;break e;case H:o=14;break e;case z:o=16,n=null;break e}throw Error(d(130,null==e?e:typeof e,""))}return(t=lM(o,r,t,i)).elementType=e,t.type=n,t.lanes=a,t}function lA(e,t,r,n){return(e=lM(7,e,n,t)).lanes=r,e}function lk(e,t,r,n){return(e=lM(22,e,n,t)).elementType=U,e.lanes=r,e.stateNode={isHidden:!1},e}function lx(e,t,r){return(e=lM(6,e,null,t)).lanes=r,e}function lT(e,t,r){return(t=lM(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lP(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tv(0),this.expirationTimes=tv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tv(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function lC(e,t,r,n,i,a,o,s,l){return e=new lP(e,t,r,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=lM(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},an(a),e}function lY(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}function lD(e){if(!e)return it;e=e._reactInternals;e:{if(eZ(e)!==e||1!==e.tag)throw Error(d(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(is(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(d(171))}if(1===e.tag){var r=e.type;if(is(r))return ic(e,r,t)}return t}function lO(e,t,r,n,i,a,o,s,l){return(e=lC(r,n,!0,e,i,a,o,s,l)).context=lD(null),r=e.current,(a=aa(n=sZ(),i=sQ(r))).callback=null!=t?t:null,ao(r,a,i),e.current.lanes=i,tM(e,i,n),s1(e,n),e}function lR(e,t,r,n){var i=t.current,a=sZ(),o=sQ(i);return r=lD(r),null===t.context?t.context=r:t.pendingContext=r,(t=aa(a,o)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=ao(i,t,o))&&(s0(e,i,o,a),as(e,i,o)),o}function lj(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function lI(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function lF(e,t){lI(e,t),(e=e.alternate)&&lI(e,t)}function lN(){return null}l=function(e,t,r){if(null!==e){if(e.memoizedProps!==t.pendingProps||ii.current)oT=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return oT=!1,oZ(e,t,r);oT=0!=(131072&e.flags)}}else oT=!1,iR&&0!=(1048576&t.flags)&&iP(t,iw,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;oK(e,t),e=t.pendingProps;var i=io(t,ir.current);i7(t,r),i=aj(null,t,n,e,i,r);var a=aI();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,is(n)?(a=!0,id(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,an(t),i.updater=op,t.stateNode=i,i._reactInternals=t,oy(t,n,e,r),t=oF(null,t,n,!0,a,r)):(t.tag=0,iR&&a&&iC(t),oP(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(oK(e,t),e=t.pendingProps,n=(i=n._init)(n._payload),t.type=n,i=t.tag=lw(n),e=of(n,e),i){case 0:t=oj(null,t,n,e,r);break e;case 1:t=oI(null,t,n,e,r);break e;case 11:t=oC(null,t,n,e,r);break e;case 14:t=oY(null,t,n,of(n.type,e),r);break e}throw Error(d(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:of(n,i),oj(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:of(n,i),oI(e,t,n,i,r);case 3:e:{if(oN(t),null===e)throw Error(d(387));n=t.pendingProps,i=(a=t.memoizedState).element,ai(e,t),au(t,n,null,r);var o=t.memoizedState;if(n=o.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){i=ob(Error(d(423)),t),t=oH(e,t,n,r,i);break e}if(n!==i){i=ob(Error(d(424)),t),t=oH(e,t,n,r,i);break e}for(iO=nq(t.stateNode.containerInfo.firstChild),iD=t,iR=!0,ij=null,r=iZ(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(i$(),n===i){t=oX(e,t,r);break e}oP(e,t,n,r)}t=t.child}return t;case 5:return ay(t),null===e&&iH(t),n=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,o=i.children,nH(n,i)?o=null:null!==a&&nH(n,a)&&(t.flags|=32),oR(e,t),oP(e,t,o,r),t.child;case 6:return null===e&&iH(t),null;case 13:return oB(e,t,r);case 4:return a_(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=iX(t,null,n,r):oP(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:of(n,i),oC(e,t,n,i,r);case 7:return oP(e,t,t.pendingProps,r),t.child;case 8:case 12:return oP(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,ie(iQ,n._currentValue),n._currentValue=o,null!==a){if(r1(a.value,o)){if(a.children===i.children&&!ii.current){t=oX(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){o=a.child;for(var l=s.firstContext;null!==l;){if(l.context===n){if(1===a.tag){(l=aa(-1,r&-r)).tag=2;var u=a.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=r,null!==(l=a.alternate)&&(l.lanes|=r),i4(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(10===a.tag)o=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(o=a.return))throw Error(d(341));o.lanes|=r,null!==(s=o.alternate)&&(s.lanes|=r),i4(o,r,t),o=a.sibling}else o=a.child;if(null!==o)o.return=a;else for(o=a;null!==o;){if(o===t){o=null;break}if(null!==(a=o.sibling)){a.return=o.return,o=a;break}o=o.return}a=o}}oP(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,i7(t,r),n=n(i=i8(i)),t.flags|=1,oP(e,t,n,r),t.child;case 14:return i=of(n=t.type,t.pendingProps),i=of(n.type,i),oY(e,t,n,i,r);case 15:return oD(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:of(n,i),oK(e,t),t.tag=1,is(n)?(e=!0,id(t)):e=!1,i7(t,r),o_(t,n,i),oy(t,n,i,r),oF(null,t,n,!0,e,r);case 19:return oJ(e,t,r);case 22:return oO(e,t,r)}throw Error(d(156,t.tag))};var lH="function"==typeof reportError?reportError:function(e){console.error(e)};function lz(e){this._internalRoot=e}function lU(e){this._internalRoot=e}function lB(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function l$(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function lV(){}function lW(e,t,r,n,i){if(i){if("function"==typeof n){var a=n;n=function(){var e=lj(o);a.call(e)}}var o=lO(t,n,e,0,null,!1,!1,"",lV);return e._reactRootContainer=o,e[nZ]=o.current,nA(8===e.nodeType?e.parentNode:e),s9(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof n){var s=n;n=function(){var e=lj(l);s.call(e)}}var l=lC(e,0,!1,null,null,!1,!1,"",lV);return e._reactRootContainer=l,e[nZ]=l.current,nA(8===e.nodeType?e.parentNode:e),s9(function(){lR(t,l,r,n)}),l}function lq(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a;if("function"==typeof i){var s=i;i=function(){var e=lj(o);s.call(e)}}lR(t,o,e,i)}else o=lW(r,t,e,i,n);return lj(o)}lU.prototype.render=lz.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(d(409));lR(e,t,null,null)},lU.prototype.unmount=lz.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;s9(function(){lR(null,e,null,null)}),t[nZ]=null}},lU.prototype.unstable_scheduleHydration=function(e){if(e){var t=tT();e={blockedOn:null,target:e,priority:t};for(var r=0;r<tF.length&&0!==t&&t<tF[r].priority;r++);tF.splice(r,0,e),0===r&&tB(e)}},tA=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=tp(t.pendingLanes);0!==r&&(tw(t,1|r),s1(t,e6()),0==(6&sA)&&(sH=e6()+500,ib()))}break;case 13:s9(function(){var t=at(e,1);null!==t&&s0(t,e,1,sZ())}),lF(e,1)}},tk=function(e){if(13===e.tag){var t=at(e,134217728);null!==t&&s0(t,e,134217728,sZ()),lF(e,134217728)}},tx=function(e){if(13===e.tag){var t=sQ(e),r=at(e,t);null!==r&&s0(r,e,t,sZ()),lF(e,t)}},tT=function(){return tE},tP=function(e,t){var r=tE;try{return tE=e,t()}finally{tE=r}},eC=function(e,t,r){switch(t){case"input":if(el(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=n4(n);if(!i)throw Error(d(90));en(n),el(n,i)}}}break;case"textarea":em(e,r);break;case"select":null!=(t=r.value)&&ef(e,!!r.multiple,t,!1)}},eI=s6,eF=s9;var lG={usingClientEntryPoint:!1,Events:[n5,n3,n4,eR,ej,s6]},lJ={findFiberByHostInstance:n2,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},lK={bundleType:lJ.bundleType,version:lJ.version,rendererPackageName:lJ.rendererPackageName,rendererConfig:lJ.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=e2(e))?null:e.stateNode},findFiberByHostInstance:lJ.findFiberByHostInstance||lN,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lX=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lX.isDisabled&&lX.supportsFiber)try{ta=lX.inject(lK),to=lX}catch(e){}}
3t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lG,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!lB(t))throw Error(d(200));return lY(e,t,null,r)},t.createRoot=function(e,t){if(!lB(e))throw Error(d(299));var r=!1,n="",i=lH;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=lC(e,1,!1,null,null,r,!1,n,i),e[nZ]=t.current,nA(8===e.nodeType?e.parentNode:e),new lz(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(d(188));throw Error(d(268,e=Object.keys(e).join(",")))}return e=null===(e=e2(t))?null:e.stateNode},t.flushSync=function(e){return s9(e)},t.hydrate=function(e,t,r){if(!l$(t))throw Error(d(200));return lq(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!lB(e))throw Error(d(405));var n=null!=r&&r.hydratedSources||null,i=!1,a="",o=lH;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(o=r.onRecoverableError)),t=lO(t,null,e,1,null!=r?r:null,i,!1,a,o),e[nZ]=t.current,nA(e),n)for(e=0;e<n.length;e++)i=(i=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new lU(t)},t.render=function(e,t,r){if(!l$(t))throw Error(d(200));return lq(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!l$(e))throw Error(d(40));return!!e._reactRootContainer&&(s9(function(){lq(null,null,e,!1,function(){e._reactRootContainer=null,e[nZ]=null})}),!0)},t.unstable_batchedUpdates=s6,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!l$(r))throw Error(d(200));if(null==e||void 0===e._reactInternals)throw Error(d(38));return lq(e,t,r,!1,n)},t.version="18.3.1-next-f1338f8080-20240426"},745:function(e,t,r){"use strict";var n=r(3935);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},3935:function(e,t,r){"use strict";function n(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),e.exports=r(4448)},6025:function(e,t,r){"use strict";r.d(t,{Z:function(){return _}});var n=r(7294);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var a=function(e){var t=e.src,r=e.sources,a=e.width,o=e.height,s=e.hasSpacer,l=e.imgAttributes,u=e.isZoomed,c=e.fadeDuration,d=a&&o&&s;return n.createElement("div",{style:{paddingTop:d?o/a*100+"%":null}},r&&r.length>0?n.createElement("picture",null,r.map(function(e,t){return n.createElement(n.Fragment,{key:t},e.srcSet&&n.createElement("source",e))}),n.createElement("img",i({},l,{className:"iiz__img "+(l.className||"")+" "+(u?"iiz__img--hidden":"")+" "+(d?"iiz__img--abs":""),style:{transition:"opacity 0ms linear "+(u?c:0)+"ms, visibility 0ms linear "+(u?c:0)+"ms"},src:t,width:a,height:o}))):n.createElement("img",i({},l,{className:"iiz__img "+(l.className||"")+" "+(u?"iiz__img--hidden":"")+" "+(d?"iiz__img--abs":""),style:{transition:"opacity 0ms linear "+(u?c:0)+"ms, visibility 0ms linear "+(u?c:0)+"ms"},src:t,width:a,height:o})))};a.propTypes={};var o=a,s=function(e){var t=e.src,r=e.fadeDuration,i=e.top,a=e.left,o=e.isZoomed,s=e.onLoad,l=e.onDragStart,u=e.onDragEnd,c=e.onClose,d=e.onFadeOut;return n.createElement(n.Fragment,null,n.createElement("img",{className:"iiz__zoom-img "+(o?"iiz__zoom-img--visible":""),style:{top:i,left:a,transition:"opacity "+r+"ms linear, visibility "+r+"ms linear"},src:t,onLoad:s,onTouchStart:l,onTouchEnd:u,onMouseDown:l,onMouseUp:u,onTransitionEnd:d,draggable:"false",alt:""}),c&&n.createElement("button",{className:"iiz__btn iiz__close "+(o?"iiz__close--visible":""),style:{transition:"opacity "+r+"ms linear, visibility "+r+"ms linear"},onClick:c,"aria-label":"Zoom Out"}))};s.propTypes={};
3var l=s,u=r(3935),c=r(5697),d=r.n(c),f=function(e){var t=e.children,r=(0,n.useState)(function(){var e=document.createElement("div");return e.classList.add("iiz__zoom-portal"),e})[0];return(0,n.useEffect)(function(){return document.body.appendChild(r),function(){return document.body.removeChild(r)}},[r]),(0,u.createPortal)(t,r)};f.propTypes={children:d().element};var h=f,p=void 0,m=function(e){var t=e.moveType,r=void 0===t?"pan":t,i=e.zoomType,a=void 0===i?"click":i,s=e.src,u=e.sources,c=e.width,d=e.height,f=e.hasSpacer,m=e.imgAttributes,_=void 0===m?{}:m,g=e.zoomSrc,y=e.zoomScale,b=void 0===y?1:y,v=e.zoomPreload,M=e.fadeDuration,S=void 0===M?150:M,w=e.fullscreenOnMobile,E=e.mobileBreakpoint,L=void 0===E?640:E,A=e.hideCloseButton,k=e.hideHint,x=e.className,T=e.afterZoomIn,P=e.afterZoomOut,C=(0,n.useRef)(null),Y=(0,n.useRef)(null),D=(0,n.useRef)({}),O=(0,n.useState)(v),R=O[0],j=O[1],I=(0,n.useState)(!1),F=I[0],N=I[1],H=(0,n.useState)(!1),z=H[0],U=H[1],B=(0,n.useState)(!1),$=B[0],V=B[1],W=(0,n.useState)(!1),q=W[0],G=W[1],J=(0,n.useState)(!1),K=J[0],X=J[1],Z=(0,n.use
3State)(!1),Q=Z[0],ee=Z[1],et=(0,n.useState)(r),er=et[0],en=et[1],ei=(0,n.useState)(0),ea=ei[0],eo=ei[1],es=(0,n.useState)(0),el=es[0],eu=es[1],ec=function(e){j(!0),ee(!1),"hover"!==a||z||ef(e)},ed=function(){N(!0),V(eT(w,L)),en("drag")},ef=function(e){if(z){F?A&&eb(e):K||eE();return}F&&j(!0),Y.current?(eh({target:Y.current}),ew(e.pageX,e.pageY)):D.current.onLoadCallback=ew.bind(p,e.pageX,e.pageY)},eh=function(e){var t=eP(e.target,b);Y.current=e.target,Y.current.setAttribute("width",t.width),Y.current.setAttribute("height",t.height),D.current.scaledDimensions=t,D.current.bounds=eA(C.current,!1),D.current.ratios=ex(D.current.bounds,t),D.current.onLoadCallback&&(D.current.onLoadCallback(),D.current.onLoadCallback=null)},ep=function(e){var t=e.pageX-D.current.offsets.x,r=e.pageY-D.current.offsets.y;t=Math.max(Math.min(t,D.current.bounds.width),0),r=Math.max(Math.min(r,D.current.bounds.height),0),eo(-(t*D.current.ratios.x)),eu(-(r*D.current.ratios.y))},em=function(e){var t="number"==typeof e.pageX?e.pageX:e.changedTouches[0].pageX,r="number"==typeof e.pageY?e.pageY:e.changedTouches[0].pageY;D.current.offsets=ek(t,r,Y.current.offsetLeft,Y.current.offsetTop),G(!0),F||(D.current.eventPosition={x:e.pageX,y:e.pageY})},e_=(0,n.useCallback)(function(e){e.stopPropagation();var t="number"==typeof e.pageX?e.pageX:e.changedTouches[0].pageX,r="number"==typeof e.pageY?e.pageY:e.changedTouches[0].pageY,n=t-D.current.offsets.x,i=r-D.current.offsets.y;n=Math.max(Math.min(n,0),-((D.current.scaledDimensions.width-D.current.bounds.width)*1)),i=Math.max(Math.min(i,0),-((D.current.scaledDimensions.height-D.current.bounds.height)*1)),eo(n),eu(i)},[]),eg=function(e){if(G(!1),!F){var t=Math.abs(e.pageX-D.current.eventPosition.x),r=Math.abs(e.pageY-D.current.eventPosition.y);X(t>5||r>5)}},ey=function(e){"drag"===er&&z?eg(e):eb(e)},eb=function(e){!F&&e.target.classList.contains("iiz__close")||(z&&!$&&S?ee(!0):ev({},!0)),eE()},ev=function(e,t){(t||"opacity"===e.propertyName&&C.current.contains(e.target))&&((v&&F||!v)&&(Y.current=null,D.current=eL(),j(!1)),N(!1),V(!1),en(r),ee(!1))},eM=function(e,t){D.current.offsets=ek(window.pageXOffset,window.pageYOffset,-D.current.bounds.left,-D.current.bounds.top),ep({pageX:e,pageY:t})},eS=function(e,t){var r=-((e-(window.pageXOffset+D.current.bounds.left))*D.current.ratios.x),n=-((t-(window.pageYOffset+D.current.bounds.top))*D.current.ratios.y);r+=$?(window.innerWidth-D.current.bounds.width)/2:0,n+=$?(window.innerHeight-D.current.bounds.height)/2:0,D.current.bounds=eA(C.current,$),D.current.offsets=ek(0,0,0,0),e_({changedTouches:[{pageX:r,pageY:n}],preventDefault:function(){},stopPropagation:function(){}})},ew=function(e,t){U(!0),"drag"===er?eS(e,t):eM(e,t),T&&T()},eE=function(){U(!1),P&&P()},eL=function(){return{onLoadCallback:null,bounds:{},offsets:{},ratios:{},eventPosition:{},scaledDimensions:{}}},eA=function(e,t){return t?{width:window.innerWidth,height:window.innerHeight,left:0,top:0}:e.getBoundingClientRect()},ek=function(e,t,r,n){return{x:e-r,y:t-n}},ex=function(e,t){return{x:(t.width-e.width)/e.width,y:(t.height-e.height)/e.height}},eT=function(e,t){return e&&window.matchMedia&&window.matchMedia("(max-width: "+t+"px)").matches},eP=function(e,t){return{width:e.naturalWidth*t,height:e.naturalHeight*t}},eC={src:g||s,fadeDuration:$?0:S,top:el,left:ea,isZoomed:z,onLoad:eh,onDragStart:"drag"===er?em:null,onDragEnd:"drag"===er?eg:null,onClose:A||"drag"!==er?null:eb,onFadeOut:Q?ev:null};return(0,n.useEffect)(function(){D.current=eL()},[]),(0,n.useEffect)(function(){eT(w,L)&&j(!1)},[w,L]),(0,n.useEffect)(function(){if(Y.current){var e=F?"touchmove":"mousemove";q?Y.current.addEventListener(e,e_,{passive:!0}):Y.current.removeEventListener(e,e_)}},[q,F,e_]),n.createElement("figure",{className:"iiz "+("drag"===er?"iiz--drag":"")+" "+(x||""),style:{width:c},ref:C,onTouchStart:z?null:ed,onClick:ef,onMouseEnter:F?null:ec,onMouseMove:"drag"!==er&&z?ep:null,onMouseLeave:F?null:ey},n.createElement(o,{src:s,sources:u,width:c,height:d,hasSpacer:f,imgAttributes:_,fadeDuration:S,isZoomed:z}),R&&n.createElement(n.Fragment,null,$?n.createElement(h,null,n.createElement(l,eC)):n.
3createElement(l,eC)),!k&&!z&&n.createElement("span",{className:"iiz__btn iiz__hint"}))};m.propTypes={};var _=m},9921:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,_=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,v=r?Symbol.for("react.scope"):60119;function M(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case _:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return M(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=_,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||M(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return M(e)===u},t.isContextProvider=function(e){return M(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return M(e)===f},t.isFragment=function(e){return M(e)===a},t.isLazy=function(e){return M(e)===_},t.isMemo=function(e){return M(e)===m},t.isPortal=function(e){return M(e)===i},t.isProfiler=function(e){return M(e)===s},t.isStrictMode=function(e){return M(e)===o},t.isSuspense=function(e){return M(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},t.typeOf=M},9864:function(e,t,r){"use strict";e.exports=r(9921)},618:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?r(e.value):i(e.value).then(o,s)}l((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});let i=r(7294);class a{constructor(e){this.options=e,"undefined"!=typeof window&&(this.rzrpayInstannce=new window.Razorpay(this.options))}on(e,t){this.rzrpayInstannce.on(e,t)}open(){this.rzrpayInstannce.open()}}let o=()=>{let e="https://checkout.razorpay.com/v1/checkout.js",t=(0,i.useMemo)(()=>"undefined"!=typeof window,[]),[r,o]=(0,i.useState)(!1),s=(0,i.useCallback)(()=>!!(t&&"Razorpay"in window),[]),l=(0,i.useCallback)(e=>{if(t)return new Promise((t,r)=>{let n=document.createElement("script");n.src=e,n.onload=e=>{o(!0),t(e)},n.onerror=e=>r(e),document.body.appendChild(n)})},[]);return(0,i.useEffect)(()=>{s()||n(void 0,void 0,void 0,function*(){try{yield l(e)}catch(e){throw Error(e)}})},[]),[a,r]};t.default=o},9473:function(e,t,r){"use strict";r.d(t,{zt:function(){return L},I0:function(){return x},v9:function(){return y}});var n=r(1688),i=r(2798),a=r(3935);let o=function(e){e()},s=e=>o=e,l=()=>o;var u=r(7294);let c=Symbol.for("react-redux-context"),d="undefined"!=typeof globalThis?globalThis:{},f=function(){var e;if(!u.createContext)return{};let t=null!=(e=d[c])?e:d[c]=new Map,r=t.get(u.createContext);return r||(r=u.createContext(null),t.set(u.createContext,r)),r}();function h(e=f){return function(){return(0,u.useContext)(e)}}let p=h(),m=()=>{throw Error("uSES not initialized!")},_=e=>{m=e},g=(e,t)=>e===t,y=function(e=f){let t=e===f?p:h(e);return function(e,r={}){let{equalityFn:n=g,stabilityCheck:i,noopCheck:a}="function"==typeof r?{equalityFn:r}
3:r,{store:o,subscription:s,getServerState:l,stabilityCheck:c,noopCheck:d}=t();(0,u.useRef)(!0);let f=(0,u.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i]),h=m(s.addNestedSub,o.getState,l||o.getState,f,n);return(0,u.useDebugValue)(h),h}}();function b(){let e=l(),t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}r(8679),r(2973);let v={notify(){},get:()=>[]};function M(e,t){let r;let n=v,i=0,a=!1;function o(){u.onStateChange&&u.onStateChange()}function s(){i++,r||(r=t?t.addNestedSub(o):e.subscribe(o),n=b())}function l(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=v)}let u={addNestedSub:function(e){s();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,s())},tryUnsubscribe:function(){a&&(a=!1,l())},getListeners:()=>n};return u}let S="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?u.useLayoutEffect:u.useEffect,w=null,E=e=>{w=e};var L=function({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",noopCheck:a="once"}){let o=u.useMemo(()=>{let t=M(e);return{store:e,subscription:t,getServerState:n?()=>n:void 0,stabilityCheck:i,noopCheck:a}},[e,n,i,a]),s=u.useMemo(()=>e.getState(),[e]);S(()=>{let{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[o,s]);let l=t||f;return u.createElement(l.Provider,{value:o},r)};function A(e=f){let t=e===f?p:h(e);return function(){let{store:e}=t();return e}}let k=A(),x=function(e=f){let t=e===f?k:A(e);return function(){return t().dispatch}}();_(i.useSyncExternalStoreWithSelector),E(n.useSyncExternalStore),s(a.unstable_batchedUpdates)},8359:function(e,t){"use strict";var r,n,i=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),_=Symbol.for("react.lazy");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case o:case l:case s:case h:case p:return e;default:switch(e=e&&e.$$typeof){case d:case c:case f:case _:case m:case u:return e;default:return t}}case a:return t}}}Symbol.for("react.offscreen"),n=Symbol.for("react.module.reference"),r=c,r=u,r=i,r=f,r=o,r=_,r=m,r=a,r=l,r=s,r=h,r=p,r=function(){return!1},r=function(){return!1},r=function(e){return g(e)===c},r=function(e){return g(e)===u},r=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},r=function(e){return g(e)===f},r=function(e){return g(e)===o},r=function(e){return g(e)===_},r=function(e){return g(e)===m},r=function(e){return g(e)===a},r=function(e){return g(e)===l},r=function(e){return g(e)===s},r=function(e){return g(e)===h},r=function(e){return g(e)===p}},2973:function(e,t,r){"use strict";r(8359)},2096:function(e,t,r){"use strict";r.d(t,{Z:function(){return eI}});var n,i=r(7294),a=r(7484),o=r.n(a);function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;var l={exports:{}},u={};function c(){if(n)return u;n=1;var e=i,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,n){var i,l={},u=null,c=null;for(i in void 0!==n&&(u=""+n),void 0!==r.key&&(u=""+r.key),void 0!==r.ref&&(c=r.ref),r)a.call(r,i)&&!s.hasOwnProperty(i)&&(l[i]=r[i]);if(e&&e.defaultProps)for(i in r=e.defaultProps)void 0===l[i]&&(l[i]=r[i]);return{$$typeof:t,type:e,key:u,ref:c,props:l,_owner:o.current}}return u.Fragment=r,u.jsx=l,u.jsxs=l,u}l.exports=c();var d=l.exports;let f=["blue","orange","yellow","red","purple","amber","lime","green","emerald","teal","cyan","sky","indigo","violet","purple","fuchsia","pink","rose"],h="blue",p="~",m="en",_="YYYY-MM-DD",g="sun",y="forward",b=[0,1,2,3,4,5,6],v=[1,2,3,4,5,6,7,8,9,10,11,12],M={100:{blue:"bg-blue-100",orange:"bg-orange-100",yellow:"bg-yellow-100",red:"bg-red-100",purple:"bg-purple-100",amber:"bg-amber-100",lime:"bg-lime-100",green:"bg-green-100",emerald:"bg-emerald-100",teal:"bg-teal-100",cyan:"bg-cyan-100",sky:"bg-sky-100",indigo:"bg-indigo-100",violet:"bg-violet-100",fuchsia:"bg-fuchsia-100",pink:"bg-pink-100",rose:"bg-rose-100"},200:{blue:"bg-blue-200",orange:"bg-orange-200",yellow:"bg-yellow-200",red:"bg-red-200",purple:"bg-purple-200",amber:"bg-amber-200",lime:"bg-lime-200",green:"bg-green-200",emerald:"bg-emerald-200",teal:"bg-teal-200",cyan:"bg-cyan-200",sky:"bg-sky-200",indigo:"bg-indigo-200",violet:"bg-violet-200",fu
3chsia:"bg-fuchsia-200",pink:"bg-pink-200",rose:"bg-rose-200"},500:{blue:"bg-blue-500",orange:"bg-orange-500",yellow:"bg-yellow-500",red:"bg-red-500",purple:"bg-purple-500",amber:"bg-amber-500",lime:"bg-lime-500",green:"bg-green-500",emerald:"bg-emerald-500",teal:"bg-teal-500",cyan:"bg-cyan-500",sky:"bg-sky-500",indigo:"bg-indigo-500",violet:"bg-violet-500",fuchsia:"bg-fuchsia-500",pink:"bg-pink-500",rose:"bg-rose-500"},hover:{blue:"hover:bg-blue-600",orange:"hover:bg-orange-600",yellow:"hover:bg-yellow-600",red:"hover:bg-red-600",purple:"hover:bg-purple-600",amber:"hover:bg-amber-600",lime:"hover:bg-lime-600",green:"hover:bg-green-600",emerald:"hover:bg-emerald-600",teal:"hover:bg-teal-600",cyan:"hover:bg-cyan-600",sky:"hover:bg-sky-600",indigo:"hover:bg-indigo-600",violet:"hover:bg-violet-600",fuchsia:"hover:bg-fuchsia-600",pink:"hover:bg-pink-600",rose:"hover:bg-rose-600"}},S={500:{blue:"text-blue-500",orange:"text-orange-500",yellow:"text-yellow-500",red:"text-red-500",purple:"text-purple-500",amber:"text-amber-500",lime:"text-lime-500",green:"text-green-500",emerald:"text-emerald-500",teal:"text-teal-500",cyan:"text-cyan-500",sky:"text-sky-500",indigo:"text-indigo-500",violet:"text-violet-500",fuchsia:"text-fuchsia-500",pink:"text-pink-500",rose:"text-rose-500"},600:{blue:"text-blue-600 dark:text-blue-400 dark:hover:text-blue-400",orange:"text-orange-600 dark:text-orange-400 dark:hover:text-orange-400",yellow:"text-yellow-600 dark:text-yellow-400 dark:hover:text-yellow-400",red:"text-red-600 dark:text-red-400 dark:hover:text-red-400",purple:"text-purple-600 dark:text-purple-400 dark:hover:text-purple-400",amber:"text-amber-600 dark:text-amber-400 dark:hover:text-amber-400",lime:"text-lime-600 dark:text-lime-400 dark:hover:text-lime-400",green:"text-green-600 dark:text-green-400 dark:hover:text-green-400",emerald:"text-emerald-600 dark:text-emerald-400 dark:hover:text-emerald-400",teal:"text-teal-600 dark:text-teal-400 dark:hover:text-teal-400",cyan:"text-cyan-600 dark:text-cyan-400 dark:hover:text-cyan-400",sky:"text-sky-600 dark:text-sky-400 dark:hover:text-sky-400",indigo:"text-indigo-600 dark:text-indigo-400 dark:hover:text-indigo-400",violet:"text-violet-600 dark:text-violet-400 dark:hover:text-violet-400",fuchsia:"text-fuchsia-600 dark:text-fuchsia-400 dark:hover:text-fuchsia-400",pink:"text-pink-600 dark:text-pink-400 dark:hover:text-pink-400",rose:"text-rose-600 dar
3k:text-rose-400 dark:hover:text-rose-400"},hover:{blue:"hover:text-blue-700",orange:"hover:text-orange-700",yellow:"hover:text-yellow-700",red:"hover:text-red-700",purple:"hover:text-purple-700",amber:"hover:text-amber-700",lime:"hover:text-lime-700",green:"hover:text-green-700",emerald:"hover:text-emerald-700",teal:"hover:text-teal-700",cyan:"hover:text-cyan-700",sky:"hover:text-sky-700",indigo:"hover:text-indigo-700",violet:"hover:text-violet-700",fuchsia:"hover:text-fuchsia-700",pink:"hover:text-pink-700",rose:"hover:text-rose-700"}},w={500:{blue:"border-blue-500",orange:"border-orange-500",yellow:"border-yellow-500",red:"border-red-500",purple:"border-purple-500",amber:"border-amber-500",lime:"border-lime-500",green:"border-green-500",emerald:"border-emerald-500",teal:"border-teal-500",cyan:"border-cyan-500",sky:"border-sky-500",indigo:"border-indigo-500",violet:"border-violet-500",fuchsia:"border-fuchsia-500",pink:"border-pink-500",rose:"border-rose-500"},focus:{blue:"focus:border-blue-500",orange:"focus:border-orange-500",yellow:"focus:border-yellow-500",red:"focus:border-red-500",purple:"focus:border-purple-500",amber:"focus:border-amber-500",lime:"focus:border-lime-500",green:"focus:border-green-500",emerald:"focus:border-emerald-500",teal:"focus:border-teal-500",cyan:"focus:border-cyan-500",sky:"focus:border-sky-500",indigo:"focus:border-indigo-500",violet:"focus:border-violet-500",fuchsia:"focus:border-fuchsia-500",pink:"focus:border-pink-500",rose:"focus:border-rose-500"}},E={blue:"focus:ring-blue-500",orange:"focus:ring-orange-500",yellow:"focus:ring-yellow-500",red:"focus:ring-red-500",purple:"focus:ring-purple-500",amber:"focus:ring-amber-500",lime:"focus:ring-lime-500",green:"focus:ring-green-500",emerald:"focus:ring-emerald-500",teal:"focus:ring-teal-500",cyan:"focus:ring-cyan-500",sky:"focus:ring-sky-500",indigo:"focus:ring-indigo-500",violet:"focus:ring-violet-500",fuchsia:"focus:ring-fuchsia-500",pink:"focus:ring-pink-500",rose:"focus:ring-rose-500"},L={blue:"focus:ring-blue-500/20",orange:"focus:ring-orange-500/20",yellow:"focus:ring-yellow-500/20",red:"focus:ring-red-500/20",purple:"focus:ring-purple-500/20",amber:"focus:ring-amber-500/20",lime:"focus:ring-lime-500/20",green:"focus:ring-green-500/20",emerald:"focus:ring-emerald-500/20",teal:"focus:ring-teal-500/20",cyan:"focus:ring-cyan-500/20",sky:"focus:ring-sky-500/20",indigo:"focus:ring-indigo-500/20",violet:"focus:ring-violet-500/20",fuchsia:"focus:ring-fuchsia-500/20",pink:"focus:ring-pink-500/20",rose:"focus:ring-rose-500/20"},A={blue:"focus:ring-blue-500/50 focus:bg-blue-100/50",orange:"focus:ring-orange-500/50 focus:bg-orange-100/50",yellow:"focus:ring-yellow-500/50 focus:bg-yellow-100/50",red:"focus:ring-red-500/50 focus:bg-red-100/50",purple:"focus:ring-purple-500/50 focus:bg-purple-100/50",amber:"focus:ring-amber-500/50 focus:bg-amber-100/50",lime:"focus:ring-lime-500/50 focus:bg-lime-100/50",green:"focus:ring-green-500/50 focus:bg-green-100/50",emerald:"focus:ring-emerald-500/50 focus:bg-emerald-100/50",teal:"focus:ring-teal-500/50 focus:bg-teal-100/50",cyan:"focus:ring-cyan-500/50 focus:bg-cyan-100/50",sky:"focus:ring-sky-500/50 focus:bg-sky-100/50",indigo:"focus:ring-indigo-500/50 focus:bg-indigo-100/50",violet:"focus:ring-violet-500/50 focus:bg-violet-100/50",fuchsia:"focus:ring-fuchsia-500/50 focus:bg-fuchsia-100/50",pink:"focus:ring-pink-500/50 focus:bg-pink-100/50",rose:"focus:ring-rose-500/50 focus:bg-rose-100/50"},k=(0,i.createContext)({arrowContainer:null,asSingle:!1,calendarContainer:null,changeDatepickerValue:()=>{},changeDayHover:()=>{},changeInputText:()=>{},changePeriod:()=>{},classNames:void 0,configs:void 0,containerClassName:"",dateLooking:y,dayHover:null,disabled:!1,disabledDates:null,displayFormat:_,hideDatepicker:()=>{},i18n:m,input:void 0,inputClassName:"",inputId:void 0,inputName:void 0,inputText:"",maxDate:null,minDate:null,period:{start:null,end:null},popoverDirection:void 0,primaryColor:h,readOnly:!1,required:!1,separator:p,showFooter:!1,startWeekOn:g,toggleClassName:"",toggleIcon:void 0,updateFirstDate:()=>{},value:null});var x={exports:{}};!function(e,t){!function(t,r){e.exports=r()}(0,function(){return function(e,t,r){t.prototype.isBetween=function(e,t,n,i){var a=r(e),o=r(t),s="("===(i=i||"()")[0],l=")"===i[1];return(s?this.isAfter(a,n):!this.isBefore(a,n))&&(l?this.isBefore(o,n):!this.isAfter(o,n))||(s?this.isBefore(a,n):!this.isAfter(a,n))&&(l?this.isAfter(o,n):!this.isBefore(o,n))}}})}(x);
3var T=s(x.exports),P={exports:{}};!function(e,t){!function(t,r){e.exports=r()}(0,function(){return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}})}(P);var C=s(P.exports),Y={exports:{}};!function(e,t){!function(t,r){e.exports=r()}(0,function(){return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}})}(Y);var D=s(Y.exports),O={exports:{}};!function(e,t){!function(t,r){e.exports=r()}(0,function(){return function(e,t,r){t.prototype.isToday=function(){var e="YYYY-MM-DD",t=r();return this.format(e)===t.format(e)}}})}(O);var R=s(O.exports);function j(e=m){switch(e){case"af":Promise.resolve().then(function(){return eF});break;case"am":Promise.resolve().then(function(){return eN});break;case"ar-dz":Promise.resolve().then(function(){return eH});break;case"ar-iq":Promise.resolve().then(function(){return ez});break;case"ar-kw":Promise.resolve().then(function(){return eU});break;case"ar-ly":Promise.resolve().then(function(){return eB});break;case"ar-ma":Promise.resolve().then(function(){return e$});break;case"ar-sa":Promise.resolve().then(function(){return eV});break;case"ar-tn":Promise.resolve().then(function(){return eW});break;case"ar":Promise.resolve().then(function(){return eq});break;case"az":Promise.resolve().then(function(){return eG});break;case"bg":Promise.resolve().then(function(){return eJ});break;case"bi":Promise.resolve().then(function(){return eK});break;case"bm":Promise.resolve().then(function(){return eX});break;case"bn-bd":Promise.resolve().then(function(){return eZ});break;case"bn":Promise.resolve().then(function(){return eQ});break;case"bo":Promise.resolve().then(function(){return e0});break;case"br":Promise.resolve().then(function(){return e1});break;case"ca":Promise.resolve().then(function(){return e2});break;case"cs":Promise.resolve().then(function(){return e5});break;case"cv":Promise.resolve().then(function(){return e3});break;case"cy":Promise.resolve().then(function(){return e4});break;case"da":Promise.resolve().then(function(){return e7});break;case"de-at":Promise.resolve().then(function(){return e8});break;case"de-ch":Promise.resolve().then(function(){return e6});break;case"de":Promise.resolve().then(function(){return e9});break;case"dv":Promise.resolve().then(function(){return te});break;case"el":Promise.resolve().then(function(){return tt});break;case"en-au":Promise.resolve().then(function(){return tr});break;case"en-gb":Promise.resolve().then(function(){return tn});break;case"en-ie":Promise.resolve().then(function(){return ti});break;case"en-il":Promise.resolve().then(function(){return ta});break;case"en-in":Promise.resolve().then(function(){return to});break;case"en-nz":Promise.resolve().then(function(){return ts});break;case"en-sg":Promise.resolve().then(function(){return tl});break;case"en-tt":Promise.resolve().then(function(){return tu});break;case"en":default:Promise.resolve().then(function(){return tc});break;case"eo":Promise.resolve().then(function(){return td});break;case"es-do":Promise.resolve().then(function(){return tf});break;case"es-mx":Promise.resolve().then(function(){return th});break;case"es-pr":Promise.resolve().then(function(){return tp});break;case"es-us":Promise.resolve().then(function(){return tm});break;case"es":Promise.resolve().then(function(){return t_});break;case"et":Promise.resolve().then(function(){return tg});break;case"eu":Promise.resolve().then(function(){return ty});break;case"fa":Promise.resolve().then(function(){return tb});break;case"fi":Promise.resolve().then(function(){return tv});break;case"fo":Promise.resolve().then(function(){return tM});break;case"fr-ch":Promise.resolve().then(function(){return tS});break;case"fr":Promise.resolve().then(function(){return tw});break;case"fy":Promise.resolve().then(function(){return tE});break;case"ga":Promise.resolve().then(function(){return tL});break;case"gd":Promise.resolve().then(function(){return tA});break;case"gl":Promise.resolve().then(function(){return tk});break;case"gom-latn":Promise.resolve().then(function(){return tx});break;case"gu":Promise.resolve().then(function(){return tT});break;case"he":Promise.resolve().then(function(){return tP});break;case"hi":Promise.resolve().then(function(){return tC});break;case"hr":Promise.resolve().then(function(){return tY});break;case"ht":Promise.resolve().then(function(){return tD});break;case"hu":Promise.resolve().then(function(){return tO});break;case"hy-am":Promise.resolve().then(function(){return tR});break;case"id":Promise.resolve().then(function(){return tj});break;case"is":Promise.resolve().then(function(){return tI});break;case"it-ch":Promise.resolve().then(function(){return tF});break;case"it":Promise.resolve().then(function(){return tN});break;case"ja":Promise.resolve().then(function(){return tH});break;case"jv":Promise.resolve().then(function(){return tz});break;case"ka":Promise.resolve().then(function(){return tU});break;case"kk":Promise.resolve().then(function(){return tB});break;case"ko":Promise.resolve().then(function(){return t$});break;case"ku":Promise.resolve().then(function(){return tV});break;case"ky":Promise.resolve().then(function(){return tW});break;case"lb":Promise.resolve().then(function(){return tq});break;case"lo":Promise.resolve().then(function(){return tG});break;case"lt":Promise.resolve().then(function(){return tJ});break;case"lv":Promise.resolve().then(function(){return tK});break;case"me":Promise.resolve().then(function(){return tX});break;case"mi":Promise.resolve().then(function(){return tZ});break;case"mk":Promise.resolve().then(function(){return tQ});break;case"ml":Promise.resolve().then(function(){return t0});break;case"mn":Promise.resolve().then(function(){return t1});break;case"ms-my":Promise.resolve().then(function(){return t2});break;case"ms":Promise.resolve().then(function(){return t5});break;case"mt":Promise.resolve().then(function(){return t3});break;case"my":Promise.resolve().then(function(){return t4});break;case"nb":Promise.resolve().then(function(){return t7}
3);break;case"ne":Promise.resolve().then(function(){return t8});break;case"nl-be":Promise.resolve().then(function(){return t6});break;case"nl":Promise.resolve().then(function(){return t9});break;case"nn":Promise.resolve().then(function(){return re});break;case"oc-lnc":Promise.resolve().then(function(){return rt});break;case"pa-in":Promise.resolve().then(function(){return rr});break;case"pl":Promise.resolve().then(function(){return rn});break;case"pt-br":Promise.resolve().then(function(){return ri});break;case"pt":Promise.resolve().then(function(){return ra});break;case"rn":Promise.resolve().then(function(){return ro});break;case"ro":Promise.resolve().then(function(){return rs});break;case"ru":Promise.resolve().then(function(){return rl});break;case"rw":Promise.resolve().then(function(){return ru});break;case"sd":Promise.resolve().then(function(){return rc});break;case"se":Promise.resolve().then(function(){return rd});break;case"si":Promise.resolve().then(function(){return rf});break;case"sk":Promise.resolve().then(function(){return rh});break;case"sl":Promise.resolve().then(function(){return rp});break;case"sq":Promise.resolve().then(function(){return rm});break;case"sr":Promise.resolve().then(function(){return r_});break;case"sr-cyrl":Promise.resolve().then(function(){return rg});break;case"ss":Promise.resolve().then(function(){return ry});break;case"sv-fi":Promise.resolve().then(function(){return rb});break;case"sv":Promise.resolve().then(function(){return rv});break;case"sw":Promise.resolve().then(function(){return rM});break;case"ta":Promise.resolve().then(function(){return rS});break;case"te":Promise.resolve().then(function(){return rw});break;case"tg":Promise.resolve().then(function(){return rE});break;case"th":Promise.resolve().then(function(){return rL});break;case"tk":Promise.resolve().then(function(){return rA});break;case"tl-ph":Promise.resolve().then(function(){return rk});break;case"tlh":Promise.resolve().then(function(){return rx});break;case"tr":Promise.resolve().then(function(){return rT});break;case"tzl":Promise.resolve().then(function(){return rP});break;case"tzm-latn":Promise.resolve().then(function(){return rC});break;case"tzm":Promise.resolve().then(function(){return rY});break;case"ug-cn":Promise.resolve().then(function(){return rD});break;case"uk":Promise.resolve().then(function(){return rO});break;case"ur":Promise.resolve().then(function(){return rR});break;case"uz-latn":Promise.resolve().then(function(){return rj});break;case"uz":Promise.resolve().then(function(){return rI});break;case"vi":Promise.resolve().then(function(){return rF});break;case"x-pseudo":Promise.resolve().then(function(){return rN});break;case"yo":Promise.resolve().then(function(){return rH});break;case"zh-cn":Promise.resolve().then(function(){return rz});break;case"zh-hk":Promise.resolve().then(function(){return rU});break;case"zh-tw":Promise.resolve().then(function(){return rB});break;case"zh":Promise.resolve().then(function(){return r$})}}function I(e){return o()(e).isValid()}function F(e){return!!I(e)&&o()(e).isToday()}function N(e,t,r){return!!(I(e)&&I(t))&&o()(e).isSame(o()(t),r)}function H(e,t,r){return!!(I(e)&&I(t))&&o()(e).isBefore(o()(t),r)}function z(e,t,r){return!!(I(e)&&I(t))&&o()(e).isAfter(o()(t),r)}function U(e,t,r){return!!(I(e)&&I(t))&&o()(e).isSameOrBefore(o()(t),r)}function B(e,t,r){return!!(I(e)&&I(t))&&o()(e).isSameOrAfter(o()(t),r)}function $(e,t,r,n,i){return!!(I(e)&&I(t)&&I(r))&&o()(e).isBetween(o()(t),o()(r),n,`${i?.start?"[":"("}${i?.end?"]":")"}`)}function V(e,t,r="en"){return I(e)?o()(e).locale(r).format(t):null}function W(e){let t=o()(e);return t.isValid()?t.toDate():null}function q(e){if(!I(e))return o()().toDate();let t=o()(e);return t.date(1).hour(0).minute(0).second(0).month(t.month()-1).toDate()}function G(e){if(!I(e))return o()().toDate();let t=o()(e);return t.date(1).hour(0).minute(0).second(0).month(t.month()+1).toDate()}function J(e,t){return I(e)?o()(e).month(t).toDate():o()().toDate()}function K(e,t){return I(e)?o()(e).year(t).toDate():o()().toDate()}function X(e){return o()(e||o()()).startOf("month").toDate()}function Z(e){return o()(e||o()()).endOf("month").toDate()}function Q(e){return o()(e||o()()).day()}function ee(e,t=0){if(!I(e))return[];let r=[],n=1,i=ea(e,-1,"day");for(;Q(i)!==t;)r.push(i),i=ea(e,-++n,"day");return r.sort((e,t)=>
3z(e,t,"date")?1:-1)}function et(e,t=0){if(!I(e))return[];let r=[],n=1,i=ea(e,1,"day");for(;Q(i)!==t;)r.push(i),i=ea(e,++n,"day");return r}function er(e){return o()(e||o()()).daysInMonth()||0}function en(e){if(!I(e||new Date))return[];let t=er(e),r=[];for(let n=1;n<=t;n++)r.push(o()(e).date(n).toDate());return r}function ei(e){switch(e){case"mon":default:return 0;case"tue":return 1;case"wed":return 2;case"thu":return 3;case"fri":return 4;case"sat":return 5;case"sun":return 6}}function ea(e,t,r){return I(e)?o()(e).add(t,r).toDate():e}function eo(e,t){if(!I(e))return[];let r=[];for(let n=1;n<=t;n++)r.push(ea(e,n,"day"));return r}o().extend(T),o().extend(C),o().extend(D),o().extend(R);let es=e=>{let{className:t="w-6 h-6"}=e;return d.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})},el=e=>{let{className:t="w-6 h-6"}=e;return d.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})},eu=e=>{let{className:t="w-6 h-6"}=e;return d.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5"})})},ec=e=>{let{className:t="w-6 h-6"}=e;return d.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5"})})},ed=e=>{let{children:t,onClick:r,disabled:n,roundedFull:a=!1,padding:o="py-[0.55rem]",active:s=!1}=e,{primaryColor:l}=(0,i.useContext)(k),u=(0,i.useCallback)(()=>{let e="dark:text-white/70 dark:hover:bg-white/10 dark:focus:bg-white/10",t=s?"font-semibold bg-gray-50 dark:bg-white/5":"",r=a?`${e} ${t} transition-all duration-300 hover:bg-gray-100 rounded-full p-[0.45rem] focus:ring-1`:`w-full tracking-wide ${e} ${t} transition-all duration-300 px-3 ${o} uppercase hover:bg-gray-100 rounded-md focus:ring-1`,i=A[l],u=n?"line-through":"";return`${r} ${i} ${u}`},[n,o,l,a,s]);return d.jsx("button",{type:"button",className:u(),onClick:r,disabled:n,children:t})};function ef(...e){return e.filter(Boolean).join(" ")}function eh(e=0,t=0){let r=[];for(let n=e;n<=t;n++)r.push(n);return r}function ep(e,t=3){return e.slice(0,t)}function em(e){return`${(e[0]||"")?.toUpperCase()}${(e||"")?.slice(1,e.length)}`}let e_=e=>{let{days:t,onClickPreviousDays:r,onClickDay:n,onClickNextDays:a}=e,{primaryColor:o,period:s,changePeriod:l,dayHover:u,changeDayHover:c,minDate:f,maxDate:h,disabledDates:p}=(0,i.useContext)(k),m=(0,i.useCallback)(e=>F(e)?S["500"][o]:"",[o]),_=(0,i.useCallback)(e=>{let t="",r=s.start&&N(e,s.start,"date"),n=s.end&&N(e,s.end,"date"),i=u&&N(e,u,"date");return r&&n?t=` ${M["500"][o]} text-white font-medium rounded-full`:r?t=` ${M["500"][o]} text-white font-medium ${i&&!s.end?"rounded-full":"rounded-l-full"}`:n&&(t=` ${M["500"][o]} text-white font-medium ${i&&!s.start?"rounded-full":"rounded-r-full"}`),{active:r||n,className:t}},[u,s.end,s.start,o]),g=(0,i.useCallback)(e=>{let t=m(e);if(s.start&&s.end&&$(e,s.start,s.end,"day",{start:!0,end:!1}))return` ${M["100"][o]} ${m(e)} dark:bg-white/10`;if(!u)return t;if(s.start&&$(e,s.start,u,"day",{start:!0,end:!1})&&(t=` ${M["100"][o]} ${m(e)} dark:bg-white/10`),s.end&&$(e,u,s.end,"day",{start:!0,end:!1})&&(t=` ${M["100"][o]} ${m(e)} dark:bg-white/10`),N(u,e,"date")){let e=M["500"][o];t=` transition-all duration-500 text-white font-medium ${e} ${s.start?"rounded-r-full":"rounded-l-full"}`}return t},[m,u,s.end,s.start,o]),y=(0,i.useCallback)(e=>!!f&&H(e,f,"date"),[f]),b=(0,i.useCallback)(e=>!!h&&z(e,h,"date"),[h]),v=(0,i.useCallback)(e=>{if(y(e)||b(e))return!0;if(!p||Array.isArray(p)&&!p.length)return!1;let t=0;return p?.forEach(r=>{r.startDate&&r.endDate&&$(e,r.startDate,r.endDate,"date",{start:!0,end:!0})&&t++}),t>0},[y,b,p]),w=(0,i.useCallback)((e,t)=>{let r="flex items-center justify-center w-12 h-12 lg:w-10 lg:h-10";return"current"===t?ef(r,_(e).active?_(e).className:g(e),v(e)&&"line-through"):ef(r,v(e)&&"line-through","text-gray-400")},[_,g,v]),E=(0,i.useCallback)(e=>{if(!Array.isArray(p))return!1;for(let t=0;t<p.length;t++)if(U(e.start,p[t].startDate,"date")&&B(e.end,p[t].endDate,"date"))return!0;return!1},[p]),L=(0,i.useCallback)(e=>{if(s.start&&!s.end){let t={...s,end:e};H(e,s.start,"date")&&(t.start=e,t.end=s.start,E(t)||l({start:null,end:s.start})),E(t)||c(e)}if(!s.start&&s.end){let t={...s,start:e};z(e,s.end,"date")&&(t.start=s.end,t.end=e,E(t)||l({start:s.end,end:null})),E(t)||c(e)}},[c,l,E,s]),A=(0,i.useCallback)((e,t)=>{function i(){"previous"===t&&r(e),"current"===t&&n(e),"next"===t&&a(e)}if(p?.length){let t=u&&N(e,u,"date");s.start&&!s.end&&t||s.start||s.end,i()}else i()},[u,p?.length,n,a,r,s.end,s.start]);return d.jsxs("div",{className:"grid grid-cols-7 gap-y-0.5 my-1",children:[t.previous.map((e,t)=>d.jsx("button",{type:"button",disabled:v(e),className:`${w(e,"previous")}`,onClick:()=>A(e,"previous"),onMouseOver:()=>{L(e)},children:e.getDate()},t)),t.current.map((e,t)=>d.jsx("button",{type:"button",disabled:v(e),className:`${w(e,"current")}`,onClick:()=>A(e,"current"),onMouseOver:()=>{L(e)},children:e.getDate()},t)),t.next.map((e,t)=>d.jsx("button",{type:"button",disabled:v(e),className:`${w(e,"next")}`,onClick:()=>A(e,"next"),onMouseOver:()=>{L(e)},children:e.getDate()},t))]})},eg=e=>{let{currentMonth:t,clickMonth:r}=e,{i18n:n}=(0,i.useContext)(k);return(0,i.useEffect)(()=>{j(n)},[n]),d.jsx("div",{className:"w-full grid grid-cols-2 gap-2 mt-2",children:v.map(e=>d.jsx(ed,{padding:"py-3",onClick:()=>{r(e)},active:t===e,children:V(new Date(2022,e-1,1),"MMM",n)},e))})},ey=()=>{let{i18n:e,startWeekOn:t}=(0,i.useContext)(k);(0,i.useEffect)(()=>{j(e)},[e]);let r=(0,i.useMemo)(()=>
3{if(t)switch(t){case"mon":return 1;case"tue":return 2;case"wed":return 3;case"thu":return 4;case"fri":return 5;case"sat":return 6}return 0},[t]);return d.jsx("div",{className:"grid grid-cols-7 border-b border-gray-300 dark:border-gray-700 py-2",children:b.map(t=>d.jsx("div",{className:"tracking-wide text-gray-500 text-center",children:em(ep(V(new Date(2022,10,6+t+r),"ddd",e)||""))},t))})},eb=e=>{let{year:t,currentYear:r,minYear:n,maxYear:a,clickYear:o}=e,{dateLooking:s}=(0,i.useContext)(k),l=(0,i.useMemo)(()=>{let e,r;switch(s){case"backward":e=t-11,r=t;break;case"middle":e=t-4,r=t+7;break;default:e=t,r=t+11}return{start:e,end:r}},[s,t]);return d.jsx("div",{className:"w-full grid grid-cols-2 gap-2 mt-2",children:eh(l.start,l.end).map((e,t)=>d.jsx(ed,{padding:"py-3",onClick:()=>{o(e)},active:r===e,disabled:null!==a&&e>a||null!==n&&e<n,children:d.jsx(d.Fragment,{children:e})},t))})},ev=12,eM=42,eS=e=>{let{date:t,minDate:r,maxDate:n,onClickPrevious:a,onClickNext:o,changeMonth:s,changeYear:l}=e,{period:u,changePeriod:c,changeDayHover:f,showFooter:h,changeDatepickerValue:p,hideDatepicker:m,asSingle:_,i18n:y,startWeekOn:b,input:v}=(0,i.useContext)(k);j(y);let[M,S]=(0,i.useState)(!1),[w,E]=(0,i.useState)(!1),[L,A]=(0,i.useState)(t.getFullYear()),x=(0,i.useCallback)(()=>{M&&S(!1)},[M]),T=(0,i.useCallback)(()=>{w&&E(!1)},[w]),P=(0,i.useCallback)(e=>{setTimeout(()=>{s(e),S(!M)},250)},[s,M]),C=(0,i.useCallback)(e=>{setTimeout(()=>{l(e),E(!w)},250)},[l,w]),Y=(0,i.useCallback)((e,t)=>{let r;let n=null;function i(e,t){p({startDate:e,endDate:t},v?.current),m()}if(u.start&&u.end&&(f(null),c({start:null,end:null})),!u.start&&!u.end||u.start&&u.end)u.start||u.end||f(e),r=e,_&&(n=e,h||i(e,e));else{if(u.start&&!u.end){let t=B(e,u.start,"date");r=t?u.start:e,n=t?e:u.start}else{let t=U(e,u.end,"date");r=t?e:u.start,n=t?u.end:e}!h&&r&&n&&i(r,n)}(!(n&&r)||h)&&c({start:r,end:n}),t&&setTimeout(()=>{t()},50)},[_,p,f,c,m,u.end,u.start,h,v]),D=(0,i.useCallback)(e=>{Y(e,()=>{a()})},[Y,a]),O=(0,i.useCallback)(e=>{Y(e,()=>{o()})},[Y,o]);(0,i.useEffect)(()=>{A(t.getFullYear())},[t]);let R=(0,i.useMemo)(()=>{let e=X(t),r=Z(t),n=ei(b||g),i=ee(e,n),a=en(t),o=et(r,n),s=eM-(i.length+a.length+o.length);if(s>0){let e=o[o.length-1]||a[a.length-1];o.push(...eo(e,s))}return{previous:i,current:a,next:o}},[t,b]),F=(0,i.useMemo)(()=>({min:r&&I(r)?r.getFullYear():null,max:n&&I(n)?n.getFullYear():null}),[n,r]);return d.jsxs("div",{className:"w-full md:w-[296px] md:min-w-[296px]",children:[d.jsxs("div",{className:"flex items-center space-x-1.5 border border-gray-300 dark:border-gray-700 rounded-md px-2 py-1.5",children:[!M&&!w&&d.jsx("div",{className:"flex-none",children:d.jsx(ed,{roundedFull:!0,onClick:a,children:d.jsx(es,{className:"h-5 w-5"})})}),w&&d.jsx("div",{className:"flex-none",children:d.jsx(ed,{roundedFull:!0,onClick:()=>{A(L-ev)},children:d.jsx(eu,{className:"h-5 w-5"})})}),d.jsxs("div",{className:"flex flex-1 items-center space-x-1.5",children:[d.jsx("div",{className:"w-1/2",children:d.jsx(ed,{onClick:()=>{S(!M),T()},children:V(t,"MMM",y)})}),d.jsx("div",{className:"w-1/2",children:d.jsx(ed,{onClick:()=>{E(!w),x()},children:d.jsx(d.Fragment,{children:t.getFullYear()})})})]}),w&&d.jsx("div",{className:"flex-none",children:d.jsx(ed,{roundedFull:!0,onClick:()=>{A(L+ev)},children:d.jsx(ec,{className:"h-5 w-5"})})}),!M&&!w&&d.jsx("div",{className:"flex-none",children:d.jsx(ed,{roundedFull:!0,onClick:o,children:d.jsx(el,{className:"h-5 w-5"})})})]}),d.jsxs("div",{className:"px-0.5 sm:px-2 mt-0.5 min-h-[285px]",children:[M&&d.jsx(eg,{currentMonth:t.getMonth()+1,clickMonth:P}),w&&d.jsx(eb,{year:L,minYear:F.min,maxYear:F.max,currentYear:t.getFullYear(),clickYear:C}),!M&&!w&&d.jsxs(d.Fragment,{children:[d.jsx(ey,{}),d.jsx(e_,{days:R,onClickPreviousDays:D,onClickDay:Y,onClickNextDays:O})]})]})]})},ew=e=>{let{children:t,onClick:r,disabled:n=!1}=e,{primaryColor:a}=(0,i.useContext)(k),o=M["500"][a],s=w["500"][a],l=M.hover[a],u=E[a],c=(0,i.useCallback)(()=>`w-full transition-all duration-300 ${o} ${s} text-white font-medium border px-4 py-2 text-sm rounded-md focus:ring-2 focus:ring-offset-2 ${l} ${u} ${n?" cursor-no-drop":""}
3`,[o,l,s,n,u]);return d.jsx("button",{type:"button",className:c(),onClick:r,disabled:n,children:t})},eE=e=>{let{children:t,onClick:r,disabled:n=!1}=e,{primaryColor:a}=(0,i.useContext)(k),o=(0,i.useCallback)(()=>{let e=E[a];return`w-full transition-all duration-300 bg-white dark:text-gray-700 font-medium border border-gray-300 px-4 py-2 text-sm rounded-md focus:ring-2 focus:ring-offset-2 hover:bg-gray-50 ${e}`},[a]);return d.jsx("button",{type:"button",className:o(),onClick:r,disabled:n,children:t})},eL=()=>{let{hideDatepicker:e,period:t,changeDatepickerValue:r,configs:n,classNames:a}=(0,i.useContext)(k),o=(0,i.useCallback)(()=>void 0!==a&&"function"==typeof a?.footer?a.footer():"flex items-center justify-end pb-2.5 pt-3 border-t border-gray-300 dark:border-gray-700",[a]);return d.jsx("div",{className:o(),children:d.jsxs("div",{className:"w-full md:w-auto flex items-center justify-center space-x-3",children:[d.jsx(eE,{onClick:()=>{e()},children:d.jsx(d.Fragment,{children:n?.footer?.cancel?n.footer.cancel:"Cancel"})}),d.jsx(ew,{onClick:()=>{t.start&&t.end&&(r({startDate:t.start,endDate:t.end}),e())},disabled:!(t.start&&t.end),children:d.jsx(d.Fragment,{children:n?.footer?.apply?n.footer.apply:"Apply"})})]})})},eA=e=>{let{className:t="w-6 h-6"}=e;return d.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})},ek=e=>{let{className:t="w-6 h-6"}=e;return d.jsx("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"})})},ex=e=>e.isEmpty?d.jsx(ek,{className:"h-5 w-5"}):d.jsx(eA,{className:"h-5 w-5"}),eT=e=>{let{primaryColor:t,period:r,dayHover:n,changeDayHover:a,calendarContainer:o,arrowContainer:s,inputText:l,changeInputText:u,hideDatepicker:c,changeDatepickerValue:f,asSingle:h,placeholder:p,separator:m,disabled:_,inputClassName:g,toggleClassName:y,toggleIcon:b,readOnly:v,displayFormat:M,inputId:S,inputName:E,classNames:A,popoverDirection:x,required:T}=(0,i.useContext)(k),P=(0,i.useRef)(null),C=(0,i.useRef)(null),Y=(0,i.useCallback)(()=>{let e=C.current;if(e&&void 0!==A&&"function"==typeof A?.input)return A.input(e);let r=w.focus[t],n=L[t],i=`relative transition-all duration-300 py-2.5 pl-4 pr-14 w-full border-gray-300 dark:bg-slate-800 dark:text-white/80 dark:border-slate-600 rounded-lg tracking-wide font-light text-sm placeholder-gray-400 bg-white focus:ring disabled:opacity-40 disabled:cursor-not-allowed ${r} ${n}`;return"function"==typeof g?g(i):"string"==typeof g&&""!==g?g:i},[C,A,t,g]),D=(0,i.useCallback)(e=>{let t=e.target.value,r=[];if(h){let e=W(t);e&&r.push(e)}else{let e,n;let i=t.split(m);if(2===i.length)W(i[0]),e=W(i[0]),n=W(i[1]);else{let r=Math.floor(t.length/2);e=W(t.slice(0,r)),n=W(t.slice(r))}e&&n&&H(e,n,"date")&&(r.push(e),r.push(n))}r[0]&&(f({startDate:r[0],endDate:r[1]||r[0]},e.target),r[1]?a(ea(r[1],-1,"day")):a(r[0])),u(e.target.value)},[h,m,f,a,u]),O=(0,i.useCallback)(e=>{if("Enter"===e.key){let e=C.current;e&&e.blur(),c()}},[c]),R=(0,i.useCallback)(e=>void 0===b?d.jsx(ex,{isEmpty:e}):b(e),[b]),j=(0,i.useCallback)(()=>{let e=P.current;if(e&&void 0!==A&&"function"==typeof A?.toggleButton)return A.toggleButton(e);let t="absolute right-0 h-full px-3 text-gray-400 focus:outline-none disabled:opacity-40 disabled:cursor-not-allowed";return"function"==typeof y?y(t):"string"==typeof y&&""!==y?y:t},[y,P,A]);return(0,i.useEffect)(()=>{C&&e.setContextRef&&"function"==typeof e.setContextRef&&e.setContextRef(C)},[e,C]),(0,i.useEffect)(()=>{let e=P?.current;function t(e){e.stopPropagation();let t=C.current;t&&(t.focus(),l&&(u(""),n&&a(null),r.start&&r.end&&f({startDate:null,endD
3ate:null},t)))}return e&&e.addEventListener("click",t),()=>{e&&e.removeEventListener("click",t)}},[f,a,u,n,l,r.end,r.start,C]),(0,i.useEffect)(()=>{let e=o?.current,t=C.current,r=s?.current;function n(){if(r&&e&&e.classList.contains("hidden")){e.classList.remove("hidden"),e.classList.add("block");let t="up"==x,n="down"===x;(t||window.innerWidth>767&&window.screen.height-100<e.getBoundingClientRect().bottom&&!n)&&(e.classList.add("bottom-full"),e.classList.add("mb-2.5"),e.classList.remove("mt-2.5"),r.classList.add("-bottom-2"),r.classList.add("border-r"),r.classList.add("border-b"),r.classList.remove("border-l"),r.classList.remove("border-t")),setTimeout(()=>{e.classList.remove("translate-y-4"),e.classList.remove("opacity-0"),e.classList.add("translate-y-0"),e.classList.add("opacity-1")},1)}}return e&&t&&t.addEventListener("focus",n),()=>{t&&t.removeEventListener("focus",n)}},[o,s,x]),d.jsxs(d.Fragment,{children:[d.jsx("input",{ref:C,type:"text",className:Y(),disabled:_,readOnly:v,required:T,placeholder:p||`${M}${h?"":` ${m} ${M}`}`,value:l,id:S,name:E,autoComplete:"off",role:"presentation",onChange:D,onKeyDown:O}),d.jsx("button",{type:"button",ref:P,disabled:_,className:j(),children:R(null==l||!l?.length)})]})},eP=new Date,eC={today:{text:"Today",period:{start:eP,end:eP}},yesterday:{text:"Yesterday",period:{start:ea(eP,-1,"day"),end:ea(eP,-1,"day")}},past:[{daysNumber:7,text:"Last 7 days",period:{start:ea(eP,-7,"day"),end:eP}},{daysNumber:30,text:"Last 30 days",period:{start:ea(eP,-30,"day"),end:eP}}],currentMonth:{text:"This month",period:{start:X(eP),end:Z(eP)}},pastMonth:{text:"Last month",period:{start:X(q(eP)),end:Z(q(eP))}}},eY=(0,i.memo)(e=>{let{primaryColor:t,period:r,changePeriod:n,updateFirstDate:a,dayHover:o,changeDayHover:s,hideDatepicker:l,changeDatepickerValue:u}=(0,i.useContext)(k),c=(0,i.useCallback)(()=>{let e=S["600"][t],r=S.hover[t];return`whitespace-nowrap w-1/2 md:w-1/3 lg:w-auto transition-all duration-300 hover:bg-gray-100 dark:hover:bg-white/10 p-2 rounded cursor-pointer ${e} ${r}`},[t]),f=(0,i.useCallback)(e=>{o&&s(null),(r.start||r.end)&&n({start:null,end:null}),n(e),u({startDate:e.start,endDate:e.end}),e.start&&a(e.start),l()},[u,s,n,o,l,r.end,r.start,a]),h=e?.children;return d.jsx("li",{className:c(),onClick:()=>{f(e?.item.period)},children:h})});eY.displayName="ItemTemplate";let eD=()=>{let{configs:e}=(0,i.useContext)(k),t=(0,i.useCallback)((e,t)=>"function"==typeof e?e(t):null,[]),r=(0,i.useMemo)(()=>e?.shortcuts?Object.entries(e.shortcuts).flatMap(([e,t])=>{if(Object.prototype.hasOwnProperty.call(eC,e))return[[e,eC[e]]];let{text:r,period:n}=t;if(!r||!n)return[];let{start:i,end:a}=n;return U(i,a,"date")?[[r,{text:r,period:{start:i,end:a}}]]:[]}):Object.entries(eC),[e]),n=(0,i.useCallback)(e=>e?.text??null,[]);return r?.length?d.jsx("div",{className:"md:border-b mb-3 lg:mb-0 lg:border-r lg:border-b-0 border-gray-300 dark:border-gray-700 pr-1",children:d.jsx("ul",{className:"w-full tracking-wide flex flex-wrap lg:flex-col pb-1 lg:pb-0",children:r.map(([r,i],a)=>Array.isArray(i)?i.map((n,i)=>d.jsx(eY,{item:n,children:d.jsx(d.Fragment,{children:"past"===r&&e?.shortcuts&&r in e.shortcuts&&n.daysNumber?t(e.shortcuts[r],n.daysNumber):n.text})},i)):d.jsx(eY,{item:i,children:d.jsx(d.Fragment,{children:e?.shortcuts&&r in e.shortcuts?"object"==typeof e.shortcuts[r]?n(i):e.shortcuts[r]:n(i)})},a))})}):null};function eO(e,t){(0,i.useEffect)(()=>{let r=r=>{!e.current||e.current.contains(r.target)||t(r)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])}let eR=(0,i.forwardRef)((e,t)=>d.jsx("div",{...e,ref:t,className:"absolute z-20 h-4 w-4 rotate-45 mt-0.5 ml-[1.2rem] border-l border-t border-gray-300 bg-white dark:bg-slate-800 dark:border-slate-600"}));eR.displayName="Arrow";let ej=()=>{let{primaryColor:e}=(0,i.useContext)(k),t=M["500"][e];return d.jsx("div",{className:`h-7 w-1 rounded-full hidden md:block ${t||"bg-blue-500"}`})},eI=e=>{let{asSingle:t=!1,classNames:r,configs:n,containerClassName:a=null,dateLooking:o=y,disabledDates:s=null,disabled:l=!1,displayFormat:u=_,i18n:c=m,inputClassName:b=null,inputId:v,inputName:M,minDate:S,maxDate:w,onChange:E,placeholder:L=null,popupClassName:A=null,popoverDirection:x,primaryColor:T=h,separator:P=p,showFooter:C=!1,showShortcuts:Y=!1,startFrom:D=null,
3startWeekOn:O=g,readOnly:R=!1,required:j=!1,toggleClassName:F=null,toggleIcon:N,useRange:H=!0,value:$=null}=e,W=(0,i.useRef)(null),Z=(0,i.useRef)(null),Q=(0,i.useRef)(null),[ee,et]=(0,i.useState)(D&&I(D)?D:new Date),[er,en]=(0,i.useState)(G(ee)),[ei,ea]=(0,i.useState)({start:null,end:null}),[eo,es]=(0,i.useState)(null),[el,eu]=(0,i.useState)(""),[ec,ed]=(0,i.useState)((0,i.createRef)());eO(W,()=>{W.current&&ef()});let ef=(0,i.useCallback)(()=>{let e=Z.current,t=Q.current;t&&e&&e.classList.contains("block")&&(e.classList.remove("block"),e.classList.remove("translate-y-0"),e.classList.remove("opacity-1"),e.classList.add("translate-y-4"),e.classList.add("opacity-0"),setTimeout(()=>{e.classList.remove("bottom-full"),e.classList.add("hidden"),e.classList.add("mb-2.5"),e.classList.add("mt-2.5"),t.classList.remove("-bottom-2"),t.classList.remove("border-r"),t.classList.remove("border-b"),t.classList.add("border-l"),t.classList.add("border-t")},300))},[]),eh=(0,i.useCallback)(e=>{B(e,er,"date")&&en(G(e)),et(e)},[er]),ep=(0,i.useCallback)(()=>{et(q(ee))},[ee]),em=(0,i.useCallback)(()=>{eh(G(ee))},[ee,eh]),e_=(0,i.useCallback)(e=>{eh(J(ee,e-1))},[ee,eh]),eg=(0,i.useCallback)(e=>{eh(K(ee,e))},[ee,eh]),ey=(0,i.useCallback)(e=>{U(e,ee,"date"),U(e,ee,"date")&&et(q(e)),en(e)},[ee]),eb=(0,i.useCallback)(()=>{ey(q(er))},[er,ey]),ev=(0,i.useCallback)(()=>{en(G(er))},[er]),eM=(0,i.useCallback)(e=>{ey(J(er,e-1))},[er,ey]),ew=(0,i.useCallback)(e=>{ey(K(er,e))},[er,ey]);(0,i.useEffect)(()=>{let e=W.current,t=Z.current,r=Q.current;if(e&&t&&r){let n=e.getBoundingClientRect(),i=window.innerWidth/2;(n.right-n.x)/2+n.x>i&&(r.classList.add("right-0"),r.classList.add("mr-3.5"),t.classList.add("right-0"))}},[]),(0,i.useEffect)(()=>{$&&$.startDate&&$.endDate&&U($.startDate,$.endDate,"date")&&(ea({start:$.startDate,end:$.endDate}),eu(`${V($.startDate,u,c)}${t?"":` ${P} ${V($.endDate,u,c)}`}`)),$&&null===$.startDate&&null===$.endDate&&(ea({start:null,end:null}),eu(""))},[t,$,u,P,c]),(0,i.useEffect)(()=>{if(D&&I(D)){let e=$?.startDate,r=$?.endDate;e&&I(e)?(et(e),t||(r&&I(r)&&z(X(r),e,"date")?en(r):en(G(e)))):(et(D),en(G(D)))}},[t,D,$]);let eE=(0,i.useMemo)(()=>f.includes(T)?T:h,[T]),eA=(0,i.useMemo)(()=>(S&&!I(S)&&console.error(`minDate (${S}) is invalid date`),w&&!I(w)&&console.error(`minDate (${w}) is invalid date`),c&&0!==c.length||console.error(`i18n (${c}) is invalid`),{arrowContainer:Q,asSingle:t,calendarContainer:Z,changeDatepickerValue:E,changeDayHover:e=>es(e),changeInputText:e=>eu(e),changePeriod:e=>ea(e),classNames:r,configs:n,containerClassName:a,dateLooking:o,dayHover:eo,disabled:l,disabledDates:s,displayFormat:u,hideDatepicker:ef,i18n:c&&c.length>0?c:m,input:ec,inputClassName:b,inputId:v,inputName:M,inputText:el,maxDate:w,minDate:S,onChange:E,period:ei,placeholder:L,popoverDirection:x,primaryColor:eE,readOnly:R,required:j,separator:P,showFooter:C,startWeekOn:O||g,toggleClassName:F,toggleIcon:N,updateFirstDate:e=>eh(e),value:$}),[t,eE,n,ef,ei,eo,el,E,C,L,P,c,$,l,b,a,F,N,R,u,S,w,o,s,v,M,O,r,ec,x,j,eh]),ek=(0,i.useMemo)(()=>{let e="relative w-full text-gray-700";return"function"==typeof a?a(e):"string"==typeof a&&""!==a?a:e},[a]),ex=(0,i.useMemo)(()=>{let e="transition-all ease-out duration-300 absolute z-10 mt-[1px] text-sm lg:text-xs 2xl:text-sm translate-y-4 opacity-0 hidden";return"function"==typeof A?A(e):"string"==typeof A&&""!==A?A:e},[A]);return d.jsx(k.Provider,{value:eA,children:d.jsxs("div",{className:ek,ref:W,children:[d.jsx(eT,{setContextRef:ed}),d.jsxs("div",{className:ex,ref:Z,children:[d.jsx(eR,{ref:Q}),d.jsxs("div",{className:"mt-2.5 shadow-sm border border-gray-300 px-1 py-0.5 bg-white dark:bg-slate-800 dark:text-white dark:border-slate-600 rounded-lg",children:[d.jsxs("div",{className:"flex flex-col lg:flex-row py-2",children:[Y&&d.jsx(eD,{}),d.jsxs("div",{className:`flex items-stretch flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-1.5 ${Y?"md:pl-2":"md:pl-1"} pr-2 lg:pr-1`,children:[d.jsx(eS,{date:ee,onClickPrevious:ep,onClickNext:em,changeMonth:e_,changeYear:eg,minDate:S,maxDate:w}),H&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"flex items-center",children:d.jsx(ej,{})}),d.jsx(eS,{date:er,onClickPrevious:eb,onClickNext:ev,changeMonth:eM,changeYear:ew,minDate:S,maxDate:w})]})]})]}),C&&d.jsx(eL,{})]})]})]})})};!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eF=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%
3d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eN=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eH=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ez=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eU=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},meridiem:function(e){return e>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eB=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(r,null,!0),r})}({exports:{}});var e$=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eV=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eW=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),n={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:r,monthsShort:r,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return n[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return t.default.locale(a,null,!0),a})}({exports:{}});var eq=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"az",weekdays:"Bazar_Bazar ertəsi_\xc7ərşənbə axşamı_\xc7ərşənbə_C\xfcmə axşamı_C\xfcmə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7ər_CAx_C\xfcm_Şən".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7ə_CA_C\xfc_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir ne\xe7ə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(e){return e}};return t.default.locale(r,null,!0),r})}({exports:{}});var eG=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var t=e%100;if(t>10&&t<20)return e+"-ти";var r=e%10;return 1===r?e+"-ви":2===r?e+"-ри":7===r||8===r?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%
3d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eJ=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eK=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return t.default.locale(r,null,!0),r})}({exports:{}});var eX=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return r[e]})},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return t.default.locale(i,null,!0),i})}({exports:{}});var eZ=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"}
3,i={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return r[e]})},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return t.default.locale(i,null,!0),i})}({exports:{}});var eQ=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return t.default.locale(r,null,!0),r})}({exports:{}});var e0=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e){return e>9?r(e%10):e}function n(e,t,r){return e+" "+function(e,t){return 2===t?function(e){return({m:"v",b:"v",d:"z"})[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[r],e)}var i={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_
3Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:n,h:"un eur",hh:"%d eur",d:"un devezh",dd:n,M:"ur miz",MM:n,y:"ur bloaz",yy:function(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};return t.default.locale(i,null,!0),i})}({exports:{}});var e1=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Mar\xe7_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Mar\xe7_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(1===e||3===e?"r":2===e?"n":4===e?"t":"\xe8")}};return t.default.locale(r,null,!0),r})}({exports:{}});var e2=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e){return e>1&&e<5&&1!=~~(e/10)}function n(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?a+(r(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(r(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?a+(r(e)?"dny":"dn\xed"):a+"dny";case"M":return t||i?"měs\xedc":"měs\xedcem";case"MM":return t||i?a+(r(e)?"měs\xedce":"měs\xedců"):a+"měs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?a+(r(e)?"roky":"let"):a+"lety"}}var i={name:"cs",weekdays:"neděle_ponděl\xed_\xfater\xfd_středa_čtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_čt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_čt_p\xe1_so".split("_"),months:"leden_\xfanor_březen_duben_květen_červen_červenec_srpen_z\xe1ř\xed_ř\xedjen_listopad_prosinec".split("_"),monthsShort:"led_\xfano_bře_dub_kvě_čvn_čvc_srp_z\xe1ř_ř\xedj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i})}({exports:{}});var e5=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var e3=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_
3Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return t.default.locale(r,null,!0),r})}({exports:{}});var e4=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"da",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n._man._tirs._ons._tors._fre._l\xf8r.".split("_"),weekdaysMin:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"}};return t.default.locale(r,null,!0),r})}({exports:{}});var e7=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var i={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i})}({exports:{}});var e8=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var i={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i})}({exports:{}});var e6=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,t,n){var i=r[n];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i})}({exports:{}});var e9=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",
3s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return t.default.locale(r,null,!0),r})}({exports:{}});var te=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tt=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tr=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tn=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ti=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ta=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}
3,ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};return t.default.locale(r,null,!0),r})}({exports:{}});var to=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ts=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tl=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tu=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r()}(0,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}}})}({exports:{}});var tc=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%
3d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return t.default.locale(r,null,!0),r})}({exports:{}});var td=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es-do",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tf=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es-mx",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var th=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tp=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es-us",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tm=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
3split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t_=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e,t,r,n){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:["%d minuti","%d minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:["%d tunni","%d tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:["%d kuu","%d kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:["%d aasta","%d aastat"]};return t?(i[r][2]?i[r][2]:i[r][1]).replace("%d",e):(n?i[r][0]:i[r][1]).replace("%d",e)}var n={name:"et",weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:"%d p\xe4eva",M:r,MM:r,y:r,yy:r},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return t.default.locale(n,null,!0),n})}({exports:{}});var tg=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ty=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%
3d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tb=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e,t,r,n){var i={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xe4iv\xe4",dd:"%d p\xe4iv\xe4\xe4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xe4_viisi_kuusi_seitsem\xe4n_kahdeksan_yhdeks\xe4n".split("_")},a={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xe4iv\xe4n",dd:"%d p\xe4iv\xe4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xe4n_viiden_kuuden_seitsem\xe4n_kahdeksan_yhdeks\xe4n".split("_")},o=n&&!t?a:i,s=o[r];return e<10?s.replace("%d",o.numbers[e]):s.replace("%d",e)}var n={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return t.default.locale(n,null,!0),n})}({exports:{}});var tv=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fo",weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tM=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tS=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return t.default.locale(r,null,!0),r})}({exports:{}});var tw=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tE=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ga",weekdays:"D\xe9 Domhnaigh_D\xe9 Luain_D\xe9 M\xe1irt_D\xe9 C\xe9adaoin_D\xe9ardaoin_D\xe9 hAoine_D\xe9 Satharn".split("_"),months:"Ean\xe1ir_Feabhra_M\xe1rta_Aibre\xe1n_Bealtaine_M\xe9itheamh_I\xfail_L\xfanasa_Me\xe1n F\xf3mhair_Deaireadh F\xf3mhair_Samhain_N
3ollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_M\xe1i_C\xe9a_D\xe9a_hAo_Sat".split("_"),monthsShort:"Ean\xe1_Feab_M\xe1rt_Aibr_Beal_M\xe9it_I\xfail_L\xfana_Me\xe1n_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_M\xe1_Ce_D\xe9_hA_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xed",y:"bliain",yy:"%d bliain"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tL=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"gd",weekdays:"Did\xf2mhnaich_Diluain_Dim\xe0irt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am M\xe0rt_An Giblean_An C\xe8itean_An t-\xd2gmhios_An t-Iuchar_An L\xf9nastal_An t-Sultain_An D\xe0mhair_An t-Samhain_An D\xf9bhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_M\xe0rt_Gibl_C\xe8it_\xd2gmh_Iuch_L\xf9n_Sult_D\xe0mh_Samh_D\xf9bh".split("_"),weekdaysMin:"D\xf2_Lu_M\xe0_Ci_Ar_Ha_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tA=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"gl",weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),ordinal:function(e){return e+"\xba"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tk=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tx=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડà
3ª¿àª¸à«‡.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tT=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function n(e,t,n){return(r[n+(2===e?"2":"")]||r[n]).replace("%d",e)}var i={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinal:function(e){return e},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return t.default.locale(i,null,!0),i})}({exports:{}});var tP=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tC=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),n="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,a=function(e,t){return i.test(t)?r[e.month()]:n[e.month()]};a.s=n,a.f=r;var o={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:a,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};return t.default.locale(o,null,!0),o})}({exports:{}});var tY=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ht",weekdays:"dimanch_lendi_madi_m\xe8kredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiy\xe8_out_septanm_okt\xf2b_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._m\xe8k._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiy\xe8._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_m\xe8_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"k\xe8k segond",m:"yon minit",mm:"%d minit",h:"in\xe8dtan",hh:"%
3d z\xe8",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tD=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"hu",weekdays:"vas\xe1rnap_h\xe9tfő_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s m\xfalva",past:"%s",s:function(e,t,r,n){return"n\xe9h\xe1ny m\xe1sodperc"+(n||t?"":"e")},m:function(e,t,r,n){return"egy perc"+(n||t?"":"e")},mm:function(e,t,r,n){return e+" perc"+(n||t?"":"e")},h:function(e,t,r,n){return"egy "+(n||t?"\xf3ra":"\xf3r\xe1ja")},hh:function(e,t,r,n){return e+" "+(n||t?"\xf3ra":"\xf3r\xe1ja")},d:function(e,t,r,n){return"egy "+(n||t?"nap":"napja")},dd:function(e,t,r,n){return e+" "+(n||t?"nap":"napja")},M:function(e,t,r,n){return"egy "+(n||t?"h\xf3nap":"h\xf3napja")},MM:function(e,t,r,n){return e+" "+(n||t?"h\xf3nap":"h\xf3napja")},y:function(e,t,r,n){return"egy "+(n||t?"\xe9v":"\xe9ve")},yy:function(e,t,r,n){return e+" "+(n||t?"\xe9v":"\xe9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tO=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tR=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})}({exports:{}});var tj=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}
3(e),r={s:["nokkrar sek\xfandur","nokkrar sek\xfandur","nokkrum sek\xfandum"],m:["m\xedn\xfata","m\xedn\xfatu","m\xedn\xfatu"],mm:["m\xedn\xfatur","m\xedn\xfatur","m\xedn\xfatum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","d\xf6gum"],M:["m\xe1nu\xf0ur","m\xe1nu\xf0","m\xe1nu\xf0i"],MM:["m\xe1nu\xf0ir","m\xe1nu\xf0i","m\xe1nu\xf0um"],y:["\xe1r","\xe1r","\xe1ri"],yy:["\xe1r","\xe1r","\xe1rum"]};function n(e,t,n,i){return(function(e,t,n,i){var a=i?0:n?1:2,o=r[2===e.length&&t%10==1?e[0]:e][a];return 1===e.length?o:"%d "+o})(n,e,i,t).replace("%d",e)}var i={name:"is",weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i})}({exports:{}});var tI=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"it-ch",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tF=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"it",weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xba"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tN=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tH=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tz=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LT
3S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(e){return e}};return t.default.locale(r,null,!0),r})}({exports:{}});var tU=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tB=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t$=Object.freeze({__proto__:null});!function(e,t){!function(e,r){r(t,o())}(0,function(e,t){var r=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(t),n={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},a=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],o={name:"ku",months:a,monthsShort:a,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return i[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return n[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%
3d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};r.default.locale(o,null,!0),e.default=o,e.englishToArabicNumbersMap=n,Object.defineProperty(e,"__esModule",{value:!0})})}(0,{});var tV=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%
3d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tW=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"lb",weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tq=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tG=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),n="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),i=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,a=function(e,t){return i.test(t)?r[e.month()]:n[e.month()]};a.s=n,a.f=r;var o={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:a,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return t.default.locale(o,null,!0),o})}({exports:{}});var tJ=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_
3jÅ«lijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minÅ«tes",mm:"%d minÅ«tēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneÅ¡a",MM:"%d mēneÅ¡iem",y:"gada",yy:"%d gadiem"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tK=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tX=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"mi",weekdays:"Rātapu_Mane_TÅ«rei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_TÅ«_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_TÅ«_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tZ=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return t.default.locale(r,null,!0),r})}({exports:{}});var tQ=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ചà
3µ_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_à´¶".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t0=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1Ó©",dd:"%dÓ©",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t1=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t2=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})}({exports:{}});var t5=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ä imgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ä unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ä im_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ä un_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ä i_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"Ä¡urnata",dd:"%d Ä¡ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t3=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနညá€
3ºá€¸á€„ယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t4=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"nb",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t7=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,function(e){return"०१२३४५६७८९"[e]})},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t8=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t6=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return t.default.locale(r,null,!0),r})}({exports:{}});var t9=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"nn",weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nadar",y:"eitt \xe5r",yy:"%d \xe5r"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var re=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"geni\xe8r_febri\xe8r_mar\xe7_abrial_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),monthsShort:"gen_feb_mar\xe7_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%
3d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"\xba"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rt=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rr=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minutę";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return i+(r(e)?"godziny":"godzin");case"MM":return i+(r(e)?"miesiące":"miesięcy");case"yy":return i+(r(e)?"lata":"lat")}}var i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),o=/D MMMM/,s=function(e,t){return o.test(t)?i[e.month()]:a[e.month()]};s.s=a,s.f=i;var l={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(l,null,!0),l})}({exports:{}});var rn=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
3d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ri=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"pt",weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_Sa".split("_"),months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xba"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ra=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ro=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_S\xe2mbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"c\xe2teva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return t.default.locale(r,null,!0),r})}({exports:{}});var rs=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),n="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),i="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),a="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function s(e,t,r){var n,i;return"m"===r?t?"минута":"минуту":e+" "+(n=+e,i=({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"})[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2])}var l=function(e,t){return o.test(t)?r[e.month()]:n[e.month()]};l.s=n,l.f=r;var u=function(e,t){return o.test(t)?i[e.month()]:a[e.month()]};u.s=a,u.f=i;var c={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:l,monthsShort:u,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:s,mm:s,h:"час",hh:s,d:"день",dd:s,M:"месяц",MM:s,y:"год",yy:s},ordinal:function(e){return e},meridiem:function(e){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"}};return t.default.locale(c,null,!0),c})}({exports:{}});var rl=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){return e}};return t.default.locale(r,null,!0),r})}({exports:{}});var ru=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rc=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"se",weekdays:"sotnabeaivi_vuoss\xe1rga_maŋŋeb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),months:"ođđajagem\xe1nnu_guovvam\xe1nnu_njukčam\xe1nnu_cuoŋom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_čakčam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_l\xe1v".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_sk\xe1b_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rd=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහ
3ස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(e){return e},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rf=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e){return e>1&&e<5&&1!=~~(e/10)}function n(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return t?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return t||i?a+(r(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(r(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?a+(r(e)?"dni":"dn\xed"):a+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var i={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(i,null,!0),i})}({exports:{}});var rh=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e);function r(e){return e%100==2}function n(e){return e%100==3||e%100==4}function i(e,t,i,a){var o=e+" ";switch(i){case"s":return t||a?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return r(e)?o+(t||a?"minuti":"minutama"):n(e)?o+(t||a?"minute":"minutami"):o+(t||a?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r(e)?o+(t||a?"uri":"urama"):n(e)?o+(t||a?"ure":"urami"):o+(t||a?"ur":"urami");case"d":return t||a?"en dan":"enim dnem";case"dd":return r(e)?o+(t||a?"dneva":"dnevoma"):o+(t||a?"dni":"dnevi");case"M":return t||a?"en mesec":"enim mesecem";case"MM":return r(e)?o+(t||a?"meseca":"mesecema"):n(e)?o+(t||a?"mesece":"meseci"):o+(t||a?"mesecev":"meseci");case"y":return t||a?"eno leto":"enim letom";case"yy":return r(e)?o+(t||a?"leti":"letoma"):n(e)?o+(t||a?"leta":"leti"):o+(t||a?"let":"leti")}}var a={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(a,null,!0),a})}({exports:{}});var rp=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"sq",weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rm=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,n,i){var a=r.words[n];if(1===n.length)return"y"===n&&t?"jedna godina":i||t?a[0]:a[1];var o=r.correctGrammarCase(e,a);return"yy"===n&&t&&"%d godinu"===o?e+" godina":o.replace("%d",e)}},n={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:r.relativeTimeFormatter,mm:r.relativeTimeFormatter,h:r.relativeTimeFormatter,hh:r.relativeTimeFormatter,d:r.relativeTimeFormatter,dd:r.relativeTimeFormatter,M:r.relativeTimeFormatter,MM:r.relativeTimeFormatter,y:r.relativeTimeFormatter,yy:r.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return t.default.locale(n,null,!0),n})}({exports:{}});var r_=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,n,i){var a=r.words[n];if(1===n.length)return"y"===n&&t?"једна година":i||t?a[0]:a[1];var o=r.correctGrammarCase(e,a);return"yy"===n&&t&&"%d годину"===o?e+" година":o.replace("%d",e)}},n={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:r.relativeTimeFormatter,mm:r.relativeTimeFormatter,h:r.relativeTimeFormatter,hh:r.relativeTimeFormatter,d:r.relativeTimeFormatter,dd:r.relativeTimeFormatter,M:r.relativeTimeFormatter,MM:r.relativeTimeFormatter,y:r.relativeTimeFormatter,yy:r.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return t.default.locale(n,null,!0),n})}({exports:{}});var rg=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e}
3,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return t.default.locale(r,null,!0),r})}({exports:{}});var ry=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"sv-fi",weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rb=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"sv",weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rv=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(e){return e},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rM=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்ப
3ர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rS=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rw=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rE=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})}({exports:{}});var rL=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tk",weekdays:"\xddekşenbe_Duşenbe_Sişenbe_\xc7arşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"\xddek_Duş_Siş_\xc7ar_Pen_Ann_Şen".split("_"),weekdaysMin:"\xddk_Dş_Sş_\xc7r_Pn_An_Şn".split("_"),months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s \xf6ň",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})}({exports:{}});var rA=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
3d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rk=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rx=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};return t.default.locale(r,null,!0),r})}({exports:{}});var rT=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tzl",weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rP=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibr
3ir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rC=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"â´°âµ¢oⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rY=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rD=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),n="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function a(e,t,r){var n,i;return"m"===r?t?"хвилина":"хвилину":"h"===r?t?"година":"годину":e+" "+(n=+e,i=({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"})[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2])}var o=function(e,t){return i.test(t)?r[e.month()]:n[e.month()]};o.s=n,o.f=r;var s={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:o,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:a,mm:a,h:a,hh:a,d:"день",dd:a,M:"місяць",MM:a,y:"рÑ
3–к",yy:a},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return t.default.locale(s,null,!0),s})}({exports:{}});var rO=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rR=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rj=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rI=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"vi",weekdays:"chá»§ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ s\xe1u_thứ bảy".split("_"),months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"v\xe0i gi\xe2y",m:"một ph\xfat",mm:"%d ph\xfat",h:"một giờ",hh:"%
3d giờ",d:"một ng\xe0y",dd:"%d ng\xe0y",M:"một th\xe1ng",MM:"%d th\xe1ng",y:"một năm",yy:"%d năm"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rF=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"x-pseudo",weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),weekStart:1,weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rN=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rH=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rz=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%
3d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rU=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"週":e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return t.default.locale(r,null,!0),r})}({exports:{}});var rB=Object.freeze({__proto__:null});!function(e,t){!function(t,r){e.exports=r(o())}(0,function(e){var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return t.default.locale(r,null,!0),r})}({exports:{}});var r$=Object.freeze({__proto__:null})},5251:function(e,t,r){"use strict";var n=r(7294),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},2408:function(e,t){"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;function p(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,g={};function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||m}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var M=v.prototype=new b;M.constructor=v,_(M,y.prototype),M.isPureReactComponent=!0;var S=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,n){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)w.call(t,i)&&!L.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:r,type:e,key:o,ref:s,props:a,_owner:E.current}}function k(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}function T(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}var P=/\/+/g;function C(e,t){return"object"==typeof e&&null!==e&&null!=e.key?T(""+e.key):t.toString(36)}function Y(e,t,i,a,o){var s=typeof e;("undefined"===s||"boolean"===s)&&(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return o=o(l=e),e=""===a?"."+C(l,0):a,S(o)?(i="",null!=e&&(i=e.replace(P,"$&/")+"/"),Y(o,t,i,"",function(e){return e})):null!=o&&(x(o)&&(o=k(o,i+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(P,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",S(e))for(var u=0;u<e.length;u++){var c=a+C(s=e[u],u);l+=Y(s,t,i,c,o)}
3else if("function"==typeof(c=p(e)))for(e=c.call(e),u=0;!(s=e.next()).done;)c=a+C(s=s.value,u++),l+=Y(s,t,i,c,o);else if("object"===s)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(t=String(e))?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function D(e,t,r){if(null==e)return e;var n=[],i=0;return Y(e,n,"","",function(e){return t.call(r,e,i++)}),n}function O(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},j={transition:null},I={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:j,ReactCurrentOwner:E};function F(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:D,forEach:function(e,t,r){D(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return D(e,function(){t++}),t},toArray:function(e){return D(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=o,t.PureComponent=v,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.act=F,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=_({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)w.call(t,u)&&!L.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:r,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=A,t.createFactory=function(e){var t=A.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=F,t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,r){return R.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,r){return R.current.useReducer(e,t,r)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return R.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return R.current.useTransition()},t.version="18.3.1"},7294:function(e,t,r){"use strict";e.exports=r(2408)},5893:function(e,t,r){"use strict";e.exports=r(5251)},8500:function(e,t,r){"use strict";var n,i=r(8356).qC;n=!0,t.Uo="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?i:i.apply(null,arguments)},"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__},3894:function(e,t){"use strict";function r(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"==typeof i?i(r,n,e):t(i)}}}}var n=r();n.withExtraArgument=r,t.Z=n},8356:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function a(e){var t=i(e,"string");return"symbol"==n(t)?t:t+""}function o(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
3t%2?s(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}r.d(t,{md:function(){return y},UY:function(){return _},qC:function(){return g},MT:function(){return p}});var c=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}(),d=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+d(),REPLACE:"@@redux/REPLACE"+d(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+d()}};function h(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function p(e,t,r){if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(u(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(u(1));return r(p)(e,t)}if("function"!=typeof e)throw Error(u(2));var n,i=e,a=t,o=[],s=o,l=!1;function d(){s===o&&(s=o.slice())}function m(){if(l)throw Error(u(3));return a}function _(e){if("function"!=typeof e)throw Error(u(4));if(l)throw Error(u(5));var t=!0;return d(),s.push(e),function(){if(t){if(l)throw Error(u(6));t=!1,d();var r=s.indexOf(e);s.splice(r,1),o=null}}}function g(e){if(!h(e))throw Error(u(7));if(void 0===e.type)throw Error(u(8));if(l)throw Error(u(9));try{l=!0,a=i(a,e)}finally{l=!1}for(var t=o=s,r=0;r<t.length;r++)(0,t[r])();return e}function y(e){if("function"!=typeof e)throw Error(u(10));i=e,g({type:f.REPLACE})}function b(){var e,t=_;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(u(11));function r(){e.next&&e.next(m())}return r(),{unsubscribe:t(r)}}})[c]=function(){return this},e}return g({type:f.INIT}),(n={dispatch:g,subscribe:_,getState:m,replaceReducer:y})[c]=b,n}function m(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(void 0,{type:f.INIT}))throw Error(u(12));if(void 0===r(void 0,{type:f.PROBE_UNKNOWN_ACTION()}))throw Error(u(13))})}function _(e){for(var t,r=Object.keys(e),n={},i=0;i<r.length;i++){var a=r[i];"function"==typeof e[a]&&(n[a]=e[a])}var o=Object.keys(n);try{m(n)}catch(e){t=e}return function(e,r){if(void 0===e&&(e={}),t)throw t;for(var i=!1,a={},s=0;s<o.length;s++){var l=o[s],c=n[l],d=e[l],f=c(d,r);if(void 0===f)throw r&&r.type,Error(u(14));a[l]=f,i=i||f!==d}return(i=i||o.length!==Object.keys(e).length)?a:e}}function g(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function y(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw Error(u(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},a=t.map(function(e){return e(i)});return n=g.apply(void 0,a)(r.dispatch),l(l({},r),{},{dispatch:n})}}}},53:function(e,t){"use strict";function r(e,t){var r=e.length;for(e.push(t);0<r;){var n=r-1>>>1,i=e[n];if(0<a(i,t))e[n]=t,e[r]=i,r=n;else break}}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;for(var n=0,i=e.length,o=i>>>1;n<o;){var s=2*(n+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,r))u<i&&0>a(c,l)?(e[n]=c,e[u]=r,n=u):(e[n]=l,e[s]=r,n=s);else if(u<i&&0>a(c,r))e[n]=c,e[u]=r,n=u;else break}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o,s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var c=[],d=[],f=1,h=null,p=3,m=!1,_=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function M(e){for(var t=n(d);null!==t;){if(null===t.callback)i(d);else if(t.startTime<=e)i(d),t.sortIndex=t.expirationTime,r(c,t);else break;t=n(d)}}function S(e){if(g=!1,M(e),!_){if(null!==n(c))_=!0,D(w);else{var t=n(d);null!==t&&O(S,t.startTime-e)}}}function w(e,r){_=!1,g&&(g=!1,b(A),A=-1),m=!0;var a=p;try{for(M(r),h=n(c);null!==h&&(!(h.expirationTime>r)||e&&!T());){var o=h.callback;if("function"==typeof o){h.callback=null,p=h.priorityLevel;var s=o(h.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?h.callback=s:h===n(c)&&i(c),M(r)}
vendor: 4,142 bytes, line 3
3else i(c);h=n(c)}if(null!==h)var l=!0;else{var u=n(d);null!==u&&O(S,u.startTime-r),l=!1}return l}finally{h=null,p=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,L=null,A=-1,k=5,x=-1;function T(){return!(t.unstable_now()-x<k)}function P(){if(null!==L){var e=t.unstable_now();x=e;var r=!0;try{r=L(!0,e)}finally{r?o():(E=!1,L=null)}}else E=!1}if("function"==typeof v)o=function(){v(P)};else if("undefined"!=typeof MessageChannel){var C=new MessageChannel,Y=C.port2;C.port1.onmessage=P,o=function(){Y.postMessage(null)}}else o=function(){y(P,0)};function D(e){L=e,E||(E=!0,o())}function O(e,r){A=y(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||m||(_=!0,D(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var r=p;p=t;try{return e()}finally{p=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=p;p=e;try{return t()}finally{p=r}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?o+a:o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,e={id:f++,callback:i,priorityLevel:e,startTime:a,expirationTime:s,sortIndex:-1},a>o?(e.sortIndex=a,r(d,e),null===n(c)&&e===n(d)&&(g?(b(A),A=-1):g=!0,O(S,a-o))):(e.sortIndex=s,r(c,e),_||m||(_=!0,D(w))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}},3840:function(e,t,r){"use strict";e.exports=r(53)},83:function(e,t,r){"use strict";var n=r(7294);function i(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var a="function"==typeof Object.is?Object.is:i,o=n.useState,s=n.useEffect,l=n.useLayoutEffect,u=n.useDebugValue;function c(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,a=n[1];return l(function(){i.value=r,i.getSnapshot=t,d(i)&&a({inst:i})},[e,r,t]),s(function(){return d(i)&&a({inst:i}),e(function(){d(i)&&a({inst:i})})},[e]),u(r),r}function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}function f(e,t){return t()}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?f:c;t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:h},6251:function(e,t,r){"use strict";var n=r(7294),i=r(1688);function a(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var o="function"==typeof Object.is?Object.is:a,s=i.useSyncExternalStore,l=n.useRef,u=n.useEffect,c=n.useMemo,d=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var a=l(null);if(null===a.current){var f={hasValue:!1,value:null};a.current=f}else f=a.current;var h=s(e,(a=c(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(a=e,t):(a=e,s=r)}var a,s,l=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,r,n,i]))[0],a[1]);return u(function(){f.hasValue=!0,f.value=h},[h]),d(h),h}},1688:function(e,t,r){"use strict";e.exports=r(83)},2798:function(e,t,r){"use strict";e.exports=r(6251)},2473:function(e){"use strict";var t=function(){};e.exports=t},8754:function(e,t,r){"use strict";
3function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},1757:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,r&&r.set(e,i),i}r.r(t),r.d(t,{_:function(){return i},_interop_require_wildcard:function(){return i}})},9204:function(e,t,r){"use strict";r.d(t,{WE:function(){return m}});let{Axios:n,AxiosError:i,CanceledError:a,isCancel:o,CancelToken:s,VERSION:l,all:u,Cancel:c,isAxiosError:d,spread:f,toFormData:h,AxiosHeaders:p,HttpStatusCode:m,formToJSON:_,getAdapter:g,mergeConfig:y,create:b}=r(9061).default},9061:function(e,t,r){"use strict";let n,i,a,o;r.d(t,{default:function(){return rG}});var s={};function l(e,t){return function(){return e.apply(t,arguments)}}r.r(s),r.d(s,{hasBrowserEnv:function(){return tb},hasStandardBrowserEnv:function(){return tM},hasStandardBrowserWebWorkerEnv:function(){return tS},navigator:function(){return tv},origin:function(){return tw}});var u=r(3454);let{toString:c}=Object.prototype,{getPrototypeOf:d}=Object,{iterator:f,toStringTag:h}=Symbol,p=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),m=e=>"string"==typeof e&&("__proto__"===e||"constructor"===e||"prototype"===e),_=(e,t,r)=>e===Object.prototype||!r&&null===t,g=e=>{if(!Object.isExtensible(e))return!1;let t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(t=>{if(m(t))return!1;let r=Object.getOwnPropertyDescriptor(e,t);return!!r&&r.configurable&&!0===r.writable})},y=(e,t)=>{let r=e,n=[];for(;null!=r&&-1===n.indexOf(r);){n.push(r);let i=d(r);if(_(r,i,r===e))break;if(p(r,t))return!0;r=i}return!1},b=(e,t)=>null!=e&&y(e,t)?e[t]:void 0,v=e=>{if(null==e||"object"!=typeof e&&"function"!=typeof e)return e;let t=d(e);if(null===t&&g(e))return e;let r=Object.create(null),n=Object.create(null),i=[],a=e;for(;null!=a&&-1===i.indexOf(a);){i.push(a);let o=a===e?t:d(a);if(_(a,o,a===e))break;let s=Object.getOwnPropertyNames(a);for(let t of(Object.getOwnPropertySymbols&&s.push(...Object.getOwnPropertySymbols(a)),s))!m(t)&&(p(n,t)||(r[t]=e[t],n[t]=!0));a=o}return r},M=(n=Object.create(null),e=>{let t=c.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),S=e=>(e=e.toLowerCase(),t=>M(t)===e),w=e=>t=>typeof t===e,{isArray:E}=Array,L=w("undefined");function A(e){return null!==e&&!L(e)&&null!==e.constructor&&!L(e.constructor)&&P(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let k=S("ArrayBuffer");function x(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&k(e.buffer)}let T=w("string"),P=w("function"),C=w("number"),Y=e=>null!==e&&"object"==typeof e,D=e=>!0===e||!1===e,O=e=>{if(!Y(e))return!1;let t=d(e);return(null===t||t===Object.prototype||null===d(t))&&!y(e,h)&&!y(e,f)},R=e=>{if(!Y(e)||A(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},j=S("Date"),I=S("File"),F=e=>!!(e&&void 0!==e.uri),N=e=>e&&void 0!==e.getParts,H=S("Blob"),z=S("FileList"),U=S("Set"),B=e=>Y(e)&&P(e.pipe),$=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}(),V=void 0!==$.FormData?$.FormData:void 0,W=e=>{if(!e)return!1;if(V&&e instanceof V)return!0;let t=d(e);if(!t||t===Object.prototype||!P(e.append))return!1;let r=M(e);return"formdata"===r||"object"===r&&P(e.toString)&&"[object FormData]"===e.toString()},q=S("URLSearchParams"),[G,J,K,X]=["ReadableStream","Request","Response","Headers"].map(S),Z=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Q(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),E(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i;if(A(e))return;let a=r?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;for(n=0;n<o;n++)i=a[n],t.call(null,e[i],i,e)}}}function ee(e,t){let r;if(A(e))return null;t=t.toLowerCase();let n=Object.keys(e),i=n.length;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let et="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,er=e=>!L(e)&&e!==et;function en(...e){let{caseless:t,skipUndefined:r}=er(this)&&this||{},n={},i=(e,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;let a=t&&"string"==typeof i&&ee(n,i)||i,o=p(n,a)?n[a]:void 0;O(o)&&O(e)?n[a]=en(o,e):O(e)?n[a]=en({},e):E(e)?n[a]=e.slice():r&&L(e)||(n[a]=e)};for(let t=0,r=e.length;t<r;t++){let r=e[t];if(!r||A(r)||(Q(r,i),"object"!=typeof r||E(r)))continue;let n=Object.getOwnPropertySymbols(r);for(let e=0;e<n.length;e++){let t=n[e];em.call(r,t)&&i(r[t],t)}}return n}let ei=(e,t,r,{allOwnKeys:n}={})=>(Q(t,(t,n)=>{r&&P(t)?Object.defineProperty(e,n,{__proto__:null,value:l(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),ea=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),eo=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
3configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},es=(e,t,r,n)=>{let i,a,o;let s={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)o=i[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=!1!==r&&d(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},el=(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},eu=e=>{if(!e)return null;if(E(e))return e;let t=e.length;if(!C(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},ec=(i="undefined"!=typeof Uint8Array&&d(Uint8Array),e=>i&&e instanceof i),ed=(e,t)=>{let r;let n=(e&&e[f]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},ef=(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},eh=S("HTMLFormElement"),ep=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),{propertyIsEnumerable:em}=Object.prototype,e_=S("RegExp"),eg=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};Q(r,(r,i)=>{let a;!1!==(a=t(r,i,e))&&(n[i]=a||r)}),Object.defineProperties(e,n)},ey=e=>{eg(e,(t,r)=>{if(P(e)&&["arguments","caller","callee"].includes(r))return!1;if(P(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},eb=(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(E(e)?e:String(e).split(t)),r},ev=()=>{},eM=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t;function eS(e){return!!(e&&P(e.append)&&"FormData"===e[h]&&e[f])}let ew=e=>{let t=new WeakSet,r=e=>{if(Y(e)){if(t.has(e))return;if(A(e))return e;if(!("toJSON"in e)){let n;if(t.add(e),U(e))for(let t of(n=[],e)){let e=r(t);L(e)||n.push(e)}else n=E(e)?[]:{},Q(e,(e,t)=>{let i=r(e);L(i)||(n[t]=i)});return t.delete(e),n}}return e};return r(e)},eE=S("AsyncFunction"),eL=e=>e&&(Y(e)||P(e))&&P(e.then)&&P(e.catch),eA=((e,t)=>{let r,n;return e?setImmediate:t?(r=`axios@${Math.random()}`,n=[],et.addEventListener("message",({source:e,data:t})=>{e===et&&t===r&&n.length&&n.shift()()},!1),e=>{n.push(e),et.postMessage(r,"*")}):e=>setTimeout(e)})("function"==typeof setImmediate,P(et.postMessage)),ek="undefined"!=typeof queueMicrotask?queueMicrotask.bind(et):void 0!==u&&u.nextTick||eA,ex=e=>null!=e&&P(e[f]),eT=e=>null!=e&&y(e,f)&&ex(e);var eP={isArray:E,isArrayBuffer:k,isBuffer:A,isFormData:W,isArrayBufferView:x,isString:T,isNumber:C,isBoolean:D,isObject:Y,isPlainObject:O,isEmptyObject:R,isReadableStream:G,isRequest:J,isResponse:K,isHeaders:X,isUndefined:L,isDate:j,isFile:I,isReactNativeBlob:F,isReactNative:N,isBlob:H,isRegExp:e_,isFunction:P,isStream:B,isURLSearchParams:q,isTypedArray:ec,isFileList:z,forEach:Q,merge:en,extend:ei,trim:Z,stripBOM:ea,inherits:eo,toFlatObject:es,kindOf:M,kindOfTest:S,endsWith:el,toArray:eu,forEachEntry:ed,matchAll:ef,isHTMLForm:eh,hasOwnProperty:p,hasOwnProp:p,hasOwnInPrototypeChain:y,getSafeProp:b,toSafeFlatObject:v,reduceDescriptors:eg,freezeMethods:ey,toObjectSet:eb,toCamelCase:ep,noop:ev,toFiniteNumber:eM,findKey:ee,global:et,isContextDefined:er,isSpecCompliantForm:eS,toJSONObject:ew,isAsyncFn:eE,isThenable:eL,setImmediate:eA,asap:ek,isIterable:ex,isSafeIterable:eT};let eC=eP.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eY=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim();let a=eP.hasOwnProp(i,t);!t||a&&eP.hasOwnProp(eC,t)||("set-cookie"===t?a?i[t].push(r):i[t]=[r]:i[t]=a?i[t]+", "+r:r)}),i};function eD(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}let eO=RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),eR=RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ej(e,t){return eP.isArray(e)?e.map(e=>ej(e,t)):eD(String(e).replace(t,""))}let eI=e=>ej(e,eO),eF=e=>ej(e,eR);function eN(e){let t=Object.create(null);return eP.forEach(e.toJSON(),(e,r)=>{t[r]=eF(e)}),t}let eH=Symbol("internals");function ez(e){return e&&String(e).trim().toLowerCase()}function eU(e){return!1===e||null==e?e:eP.isArray(e)?e.map(eU):eI(String(e))}function eB(e){let t;let r=Object.create(null),n=/([^\s,;
3=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}let e$=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function eV(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}function eW(e){let t=e.length-1;if(t<1||34!==e.charCodeAt(0)||34!==e.charCodeAt(t))return e;let r="";for(let n=1;n<t;n++){let i=e.charCodeAt(n);if(34===i||92===i&&(n+=1)>=t)return e;r+=e[n]}return r}function eq(e){let t=Object.create(null),r=String(e),n=0,i=!1,a=!1;function o(e){let i=eV(r.slice(n,e)),a=i.indexOf("=");if(a<1)return;let o=eV(i.slice(0,a));if(!e$.test(o))return;let s=o.toLowerCase();if("__proto__"===s||"constructor"===s||"prototype"===s)return;let l=eV(i.slice(a+1));t[s]=eW(l)}for(let e=0;e<r.length;e++){let t=r.charCodeAt(e);i?a?a=!1:92===t?a=!0:34===t&&(i=!1):34===t?i=!0:(44===t||59===t)&&(o(e),n=e+1)}return o(r.length),t}let eG=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eJ(e,t,r,n,i){if(eP.isFunction(n))return n.call(this,t,r);if(i&&(t=r),eP.isString(t)){if(eP.isString(n))return -1!==t.indexOf(n);if(eP.isRegExp(n))return n.test(t)}}function eK(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function eX(e,t){let r=eP.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}class eZ{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=ez(t);if(!i)return;let a=eP.findKey(n,i);a&&void 0!==n[a]&&!0!==r&&(void 0!==r||!1===n[a])||(n[a||t]=eU(e))}let a=(e,t)=>eP.forEach(e,(e,r)=>i(e,r,t));if(eP.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(eP.isString(e)&&(e=e.trim())&&!eG(e))a(eY(e),t);else if(eP.isObject(e)&&eP.isSafeIterable(e)){let r=Object.create(null),n,i;for(let t of e){if(!eP.isArray(t))throw TypeError("Object iterator must return a key-value pair");i=t[0],eP.hasOwnProp(r,i)?(n=r[i],r[i]=eP.isArray(n)?[...n,t[1]]:[n,t[1]]):r[i]=t[1]}a(r,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=ez(e)){let r=eP.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return eB(e);if(eP.isFunction(t))return t.call(this,e,r);if(eP.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ez(e)){let r=eP.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eJ(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=ez(e)){let i=eP.findKey(r,e);i&&(!t||eJ(r,r[i],i,t))&&(delete r[i],n=!0)}}return eP.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eJ(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return eP.forEach(this,(n,i)=>{let a=eP.findKey(r,i);if(a){t[a]=eU(n),delete t[i];return}let o=e?eK(i):String(i).trim();o!==i&&delete t[i],t[o]=eU(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return eP.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&eP.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){let e=this.get("set-cookie");return eP.isArray(e)?e:null==e||!1===e?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return eq(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eH]=this[eH]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=ez(e);t[n]||(eX(r,e),t[n]=!0)}return eP.isArray(e)?e.forEach(n):n(e),this}}eZ.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),eP.reduceDescriptors(eZ.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),eP.freezeMethods(eZ);var eQ=eZ;let e0="[REDACTED ****]";function e1(e){if(eP.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(eP.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function e2(e,t){let r=new Set(t.map(e=>String(e).toLowerCase())),n=[],i=e=>{let t;if(null===e||"object"!=typeof e||eP.isBuffer(e))return e;if(-1===n.indexOf(e)){if(e instanceof eQ&&(e=e.toJSON()),n.push(e),eP.isArray(e))t=[],e.forEach((e,r)=>{let n=i(e);eP.isUndefined(n)||(t[r]=n)});else{if(!eP.isPlainObject(e)&&e1(e))return n.pop(),e;for(let[n,a]of(t=Object.create(null),Object.entries(e))){let e=r.has(n.toLowerCase())?e0:i(a);eP.isUndefined(e)||(t[n]=e)}}return n.pop(),t}};return i(e)}function e5(e){try{return String(e)}catch(e){return""}}function e3(e){return e.errors.map(e=>{try{return e&&e.message?e5(e.message):e5(e)}catch(e){return""}}
3).filter(Boolean).join("; ")||e.name||"AggregateError"}class e4 extends Error{static from(e,t,r,n,i,a){let o=e.message;!o&&eP.isArray(e.errors)&&e.errors.length&&(o=e3(e));let s=new e4(o,t||e.code,r,n,i);return Object.defineProperty(s,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),s.name=e.name,null!=e.status&&null==s.status&&(s.status=e.status),a&&Object.assign(s,a),s}constructor(e,t,r,n,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&eP.hasOwnProp(e,"redact")?e.redact:void 0,r=eP.isArray(t)&&t.length>0?e2(e,t):eP.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}}e4.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",e4.ERR_BAD_OPTION="ERR_BAD_OPTION",e4.ECONNABORTED="ECONNABORTED",e4.ETIMEDOUT="ETIMEDOUT",e4.ECONNREFUSED="ECONNREFUSED",e4.ERR_NETWORK="ERR_NETWORK",e4.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",e4.ERR_DEPRECATED="ERR_DEPRECATED",e4.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",e4.ERR_BAD_REQUEST="ERR_BAD_REQUEST",e4.ERR_CANCELED="ERR_CANCELED",e4.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",e4.ERR_INVALID_URL="ERR_INVALID_URL",e4.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var e7=e4,e8=null;let e6=100;function e9(e){return eP.isPlainObject(e)||eP.isArray(e)}function te(e){return eP.endsWith(e,"[]")?e.slice(0,-2):e}function tt(e,t,r){return e?e.concat(t).map(function(e,t){return e=te(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}function tr(e){return eP.isArray(e)&&!e.some(e9)}let tn=eP.toFlatObject(eP,{},null,function(e){return/^is[A-Z]/.test(e)});var ti=function(e,t,r){if(!eP.isObject(e))throw TypeError("target must be an object");t=t||new(e8||FormData);let n=(e,t)=>{let n=eP.getSafeProp(r,e);return eP.isUndefined(n)?t:n},i=n("metaTokens",!0),a=n("visitor")||m,o=n("dots",!1),s=n("indexes",!1),l=n("Blob")||"undefined"!=typeof Blob&&Blob,u=n("maxDepth",e6),c=l&&eP.isSpecCompliantForm(t),d=[];if(!eP.isFunction(a))throw TypeError("visitor must be a function");function f(e){if(null===e)return"";if(eP.isDate(e))return e.toISOString();if(eP.isBoolean(e))return e.toString();if(!c&&eP.isBlob(e))throw new e7("Blob is not supported. Use a Buffer instead.");if(eP.isArrayBuffer(e)||eP.isTypedArray(e)){if(c&&"function"==typeof l)return new l([e]);if(e8&&e8.isBufferAvailable())return e8.from(e);throw new e7("Blob is not supported. Use a Buffer instead.",e7.ERR_NOT_SUPPORT)}return e}function h(e){if(e>u)throw new e7("Object is too deeply nested ("+e+" levels). Max depth: "+u,e7.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(u===1/0)return JSON.stringify(e);let r=[];return JSON.stringify(e,function(e,n){if(!eP.isObject(n))return n;for(;r.length&&r[r.length-1]!==this;)r.pop();return r.push(n),h(t+r.length-1),n})}function m(e,r,n){let a=e;if(eP.isReactNative(t)&&eP.isReactNativeBlob(e))return t.append(tt(n,r,o),f(e)),!1;if(e&&!n&&"object"==typeof e){if(eP.endsWith(r,"{}"))r=i?r:r.slice(0,-2),e=p(e,1);else if(eP.isArray(e)&&tr(e)||(eP.isFileList(e)||eP.endsWith(r,"[]"))&&(a=eP.toArray(e)))return r=te(r),a.forEach(function(e,n){eP.isUndefined(e)||null===e||t.append(!0===s?tt([r],n,o):null===s?r:r+"[]",f(e))}),!1}return!!e9(e)||(t.append(tt(n,r,o),f(e)),!1)}let _=Object.assign(tn,{defaultVisitor:m,convertValue:f,isVisitable:e9});function g(e,r,n=0){if(!eP.isUndefined(e)){if(h(n),-1!==d.indexOf(e))throw Error("Circular reference detected in "+r.join("."));d.push(e),eP.forEach(e,function(e,i){!0===(!(eP.isUndefined(e)||null===e)&&a.call(t,e,eP.isString(i)?i.trim():i,r,_))&&g(e,r?r.concat(i):[i],n+1)}),d.pop()}}if(!eP.isObject(e))throw TypeError("data must be an object");return g(e),t};function ta(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function to(e,t){this._pairs=[],e&&ti(e,this,t)}let ts=to.prototype;ts.append=function(e,t){this._pairs.push([e,t])},ts.toString=function(e){let t=e?t=>e.call(this,t,ta):ta;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var tl=to;function tu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function tc(e,t,r){let n;if(!t)return e;e=e||"";let i=eP.isFunction(r)?{serialize:r}:r,a=eP.getSafeProp(i,"encode")||tu,o=eP.getSafeProp(i,"serialize");if(n=o?o(t,i):eP.isURLSearchParams(t)?t.toString():new tl(t,i).toString(a)){let t=e.indexOf("#");
3-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}let td=Symbol("internals");function tf(e){return e?e.length:0}function th(e){if(e)for(;e.length&&null===e[e.length-1];)e.pop()}function tp(e,t){let r=e.handlers,n=tf(r);r!==t.handlersRef?(t.handlersRef=r,t.handlerEntries.clear()):n!==t.handlersLength&&(n?t.handlerEntries.forEach(function(e,n){r[e.index]!==e.handler&&t.handlerEntries.delete(n)}):t.handlerEntries.clear()),t.handlersLength=n}class tm{constructor(){this.handlers=[],this[td]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,r){let n={fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null},i=this[td];null==this.handlers&&(this.handlers=[]),tp(this,i);let a=i.nextId++;return this.handlers.push(n),i.handlerEntries.set(a,{handler:n,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,a}eject(e){let t=this[td];tp(this,t);let r=t.handlerEntries.get(e);if(r){if(t.handlerEntries.delete(e),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,t.iterationDepth||(th(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],tp(this,this[td]))}forEach(e){let t=this[td];tp(this,t),t.iterationDepth++;try{eP.forEach(this.handlers,function(t){null!==t&&e(t)})}finally{--t.iterationDepth||(tp(this,t),th(this.handlers),t.handlersLength=tf(this.handlers))}}}var t_=tm,tg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},ty={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:tl,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};let tb="undefined"!=typeof window&&"undefined"!=typeof document,tv="object"==typeof navigator&&navigator||void 0,tM=tb&&(!tv||0>["ReactNative","NativeScript","NS"].indexOf(tv.product)),tS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,tw=tb&&window.location.href||"http://localhost";var tE={...s,...ty};function tL(e,t){return ti(e,new tE.classes.URLSearchParams,{visitor:function(e,t,r,n){return tE.isNode&&eP.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}let tA=e6;function tk(e){if(e>tA)throw new e7("FormData field is too deeply nested ("+e+" levels). Max depth: "+tA,e7.ERR_FORM_DATA_DEPTH_EXCEEDED)}function tx(e){let t;let r=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;for(;null!==(t=n.exec(e));)tk(r.length),r.push("[]"===t[0]?"":t[1]||t[0]);return r}function tT(e){let t,r;let n={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)n[r=i[t]]=e[r];return n}var tP=function(e){function t(e,r,n,i){tk(i);let a=e[i++];if("__proto__"===a)return!0;let o=Number.isFinite(+a),s=i>=e.length;return(a=!a&&eP.isArray(n)?n.length:a,s)?eP.hasOwnProp(n,a)?n[a]=eP.isArray(n[a])?n[a].concat(r):[n[a],r]:n[a]=r:(eP.hasOwnProp(n,a)&&eP.isObject(n[a])||(n[a]=[]),t(e,r,n[a],i)&&eP.isArray(n[a])&&(n[a]=tT(n[a]))),!o}if(eP.isFormData(e)&&eP.isFunction(e.entries)){let r={};return eP.forEachEntry(e,(e,n)=>{t(tx(e),n,r,0)}),r}return null},tC=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]);let tY=(e,t)=>null!=e&&eP.hasOwnProp(e,t)?e[t]:void 0;function tD(e,t,r){if(eP.isString(e))try{return(t||JSON.parse)(e),eP.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}let tO={transitional:tg,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=eP.isObject(e);if(a&&eP.isHTMLForm(e)&&(e=new FormData(e)),eP.isFormData(e))return i?JSON.stringify(tP(e)):e;if(eP.isArrayBuffer(e)||eP.isBuffer(e)||eP.isStream(e)||eP.isFile(e)||eP.isBlob(e)||eP.isReadableStream(e))return e;if(eP.isArrayBufferView(e))return e.buffer;if(eP.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();
3if(a){let t=tY(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return tL(e,t).toString();if((r=eP.isFileList(e))||n.indexOf("multipart/form-data")>-1){let n=tY(this,"env"),i=n&&n.FormData;return ti(r?{"files[]":e}:e,i&&new i,t)}}return a||i?(t.setContentType("application/json",!1),tD(e)):e}],transformResponse:[function(e){let t=tY(this,"transitional")||tO.transitional,r=t&&t.forcedJSONParsing,n=tY(this,"responseType"),i="json"===n;if(eP.isResponse(e)||eP.isReadableStream(e))return e;if(e&&eP.isString(e)&&(r&&!n||i)){let r=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,tY(this,"parseReviver"))}catch(e){if(r){if("SyntaxError"===e.name)throw e7.from(e,e7.ERR_BAD_RESPONSE,this,null,tY(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tE.classes.FormData,Blob:tE.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};eP.forEach(tC,e=>{tO.headers[e]={}});var tR=tO;function tj(e,t){let r=this||tR,n=t||r,i=eQ.from(n.headers),a=n.data;return eP.forEach(e,function(e){a=e.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function tI(e){return!!(e&&e.__CANCEL__)}class tF extends e7{constructor(e,t,r){super(null==e?"canceled":e,e7.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}}var tN=tF;function tH(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new e7("Request failed with status code "+r.status,r.status>=400&&r.status<500?e7.ERR_BAD_REQUEST:e7.ERR_BAD_RESPONSE,r.config,r.request,r))}let tz=/[\t\n\r]/g;function tU(e){if("string"!=typeof e)return e;let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;return e.slice(t).replace(tz,"")}function tB(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var t$=function(e,t){let r;let n=Array(e=e||10),i=Array(e),a=0,o=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),u=i[o];r||(r=l),n[a]=s,i[a]=l;let c=o,d=0;for(;c!==a;)d+=n[c++],c%=e;if((a=(a+1)%e)===o&&(o=(o+1)%e),l-r<t)return;let f=u&&l-u;return f?Math.round(1e3*d/f):void 0}},tV=function(e,t){let r,n,i=0,a=1e3/t,o=(t,a=Date.now())=>{i=a,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=a?o(e,t):(r=e,n||(n=setTimeout(()=>{n=null,o(r)},a-s)))},()=>r&&o(r),(...e)=>o(e)]};let tW=(e,t,r=3)=>{let n=0,i=t$(50,250);return tV(r=>{if(!r||!eP.isNumber(r.loaded))return;let a=r.loaded,o=r.lengthComputable?r.total:void 0,s=Math.max(0,null!=o?Math.min(a,o):a),l=Math.max(0,s-n),u=i(l);n=Math.max(n,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:l,rate:u||void 0,estimated:u&&o?(o-s)/u:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})},r)},tq=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},tG=(e,t=eP.asap)=>(...r)=>t(()=>e(...r));var tJ=tE.hasStandardBrowserEnv?(a=new URL(tE.origin),o=tE.navigator&&/(msie|trident)/i.test(tE.navigator.userAgent),e=>(e=new URL(e,tE.origin),a.protocol===e.protocol&&a.host===e.host&&(o||a.port===e.port))):()=>!0,tK=tE.hasStandardBrowserEnv?{write(e,t,r,n,i,a,o){if("undefined"==typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];eP.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),eP.isString(n)&&s.push(`path=${n}`),eP.isString(i)&&s.push(`domain=${i}`),!0===a&&s.push("secure"),eP.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(-1!==i&&n.slice(0,i)===e)try{return decodeURIComponent(n.slice(i+1))}catch(e){return n.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function tX(e){return"string"==typeof e&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function tZ(e,t){if(!t)return e;let r=e.length;for(;r>0&&47===e.charCodeAt(r-1);)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}let tQ=/^https?:(?!\/\/)/i;function t0(e){return e?e.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,r="")=>`${t}${r}${e0}`):e}function t1(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${e0}@`),r=t.indexOf("#"),n=(-1===r?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${e0}`);return -1===r?n:`${n}#${t0(t.slice(r+1))}`}function t2(e,t){if("string"==typeof e){let r=tU(e);if(tQ.test(r))throw new e7(`Invalid URL ${JSON.stringify(t1(r))}: missing "//" after protocol`,e7.ERR_INVALID_URL,t)}}function t5(e,t,r,n){t2(t,n);let i=!tX(t);return e&&(i||!1===r)?(t2(e,n),tZ(e,t)):t}let t3=e=>e instanceof eQ?{...e}:e,t4=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function t7(e,t){e=e||{},t=t||{};let r=Object.create(null);function n(e,t,r,n){return eP.isPlainObject(e)&&eP.isPlainObject(t)?eP.merge.call({caseless:n},e,t):eP.isPlainObject(t)?eP.merge({},t):eP.isArray(t)?t.slice():t}function i(e,t,r,i){return eP.isUndefined(t)?eP.isUndefined(e)?void 0:n(void 0,e,r,i):n(e,t,r,i)}function a(e,t){if(!eP.isUndefined(t))return n(void 0,t)}function o(e,t){return eP.isUndefined(t)?eP.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r){let n=eP.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!eP.isUndefined(n)){if(!eP.isPlainObject(n))return;if(eP.hasOwnProp(n,r))return n[r]}let i=eP.hasOwnProp(e,"transitional")?e.transitional:void 0;if(eP.isPlainObject(i)&&eP.hasOwnProp(i,r))return i[r]}function l(r,i,a){return eP.hasOwnProp(t,a)?n(r,i):eP.hasOwnProp(e,a)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});let u={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutErrorMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
3dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:l,headers:(e,t,r)=>i(t3(e),t3(t),r,!0)};return eP.forEach(t4({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;let a=eP.hasOwnProp(u,n)?u[n]:i,o=a(eP.hasOwnProp(e,n)?e[n]:void 0,eP.hasOwnProp(t,n)?t[n]:void 0,n);eP.isUndefined(o)&&a!==l||(r[n]=o)}),eP.hasOwnProp(t,"validateStatus")&&eP.isUndefined(t.validateStatus)&&!1===s("validateStatusUndefinedResolves")&&(eP.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}let t8=["content-type","content-length"];function t6(e,t,r){if("content-only"!==r){e.set(t);return}Object.entries(t||{}).forEach(([t,r])=>{t8.includes(t.toLowerCase())&&e.set(t,r)})}let t9=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));var re=function(e){let t=t7({},e),r=e=>eP.hasOwnProp(t,e)?t[e]:void 0,n=r("data"),i=r("withXSRFToken"),a=r("xsrfHeaderName"),o=r("xsrfCookieName"),s=r("headers"),l=r("auth"),u=r("baseURL"),c=r("allowAbsoluteUrls"),d=r("url");if(t.headers=s=eQ.from(s),t.url=tc(t5(u,d,c,t),r("params"),r("paramsSerializer")),l){let t=eP.getSafeProp(l,"username")||"",r=eP.getSafeProp(l,"password")||"";try{s.set("Authorization","Basic "+btoa(t+":"+(r?t9(r):"")))}catch(t){throw e7.from(t,e7.ERR_BAD_OPTION_VALUE,e)}}if(eP.isFormData(n)){let e=eP.getSafeProp(n,"getHeaders");tE.hasStandardBrowserEnv||tE.hasStandardBrowserWebWorkerEnv||eP.isReactNative(n)?s.setContentType(void 0):eP.isFunction(e)&&t6(s,e.call(n),r("formDataHeaderPolicy"))}if(tE.hasStandardBrowserEnv&&(eP.isFunction(i)&&(i=i(t)),!0===i||null==i&&tJ(t.url))){let e=a&&o&&tK.read(o);e&&s.set(a,e)}return t},rt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,a,o,s,l;let u=re(e),c=u.data,d=eQ.from(u.headers).normalize(),{responseType:f,onUploadProgress:h,onDownloadProgress:p}=u;function m(){o&&o(),s&&s(),u.cancelToken&&u.cancelToken.unsubscribe(n),u.signal&&u.signal.removeEventListener("abort",n)}let _=new XMLHttpRequest;function g(n){if(!_)return;if(0===_.status&&"file"!==(tB(tU(u.url))||tB(tE.origin))&&!(_.responseURL&&_.responseURL.startsWith("file:"))){r(new e7("Request aborted",e7.ECONNABORTED,e,_)),m(),_=null;return}try{n?l&&l(n):s&&s()}catch(e){setTimeout(()=>{throw e})}if(!_)return;let i=eQ.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders());tH(function(e){t(e),m()},function(e){r(e),m()},{data:f&&"text"!==f&&"json"!==f?_.response:_.responseText,status:_.status,statusText:_.statusText,headers:i,config:e,request:_}),_=null}_.open(u.method.toUpperCase(),u.url,!0),_.timeout=u.timeout,"onloadend"in _?_.onloadend=g:_.onreadystatechange=function(){_&&4===_.readyState&&(0!==_.status||_.responseURL&&_.responseURL.startsWith("file:"))&&setTimeout(g)},_.onabort=function(){_&&(r(new e7("Request aborted",e7.ECONNABORTED,e,_)),m(),_=null)},_.onerror=function(t){let n=new e7(t&&t.message?t.message:"Network Error",e7.ERR_NETWORK,e,_);n.event=t||null,r(n),m(),_=null},_.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||tg;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),r(new e7(t,n.clarifyTimeoutError?e7.ETIMEDOUT:e7.ECONNABORTED,e,_)),m(),_=null},void 0===c&&d.setContentType(null),"setRequestHeader"in _&&eP.forEach(eN(d),function(e,t){_.setRequestHeader(t,e)}),eP.isUndefined(u.withCredentials)||(_.withCredentials=!!u.withCredentials),f&&"json"!==f&&(_.responseType=u.responseType),p&&([a,s,l]=tW(p,!0),_.addEventListener("progress",a)),h&&_.upload&&([i,o]=tW(h),_.upload.addEventListener("progress",i),_.upload.addEventListener("loadend",o)),(u.cancelToken||u.signal)&&(n=t=>{_&&(r(!t||t.type?new tN(null,e,_):t),_.abort(),m(),_=null)},u.cancelToken&&u.cancelToken.subscribe(n),u.signal&&(u.signal.aborted?n():u.signal.addEventListener("abort",n)));let y=tB(u.url);if(y&&!tE.protocols.includes(y)){r(new e7("Unsupported protocol "+y+":",e7.ERR_BAD_REQUEST,e)),m();return}_.send(c||null)})},rr=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,i=function(e){if(!n){n=!0,o();let t=e instanceof Error?e:this.reason;r.abort(t instanceof e7?t:new tN(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new e7(`timeout of ${t}ms exceeded`,e7.ETIMEDOUT))},t),o=()=>
3{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>{if(!n){if(e.aborted){i.call(e);return}e.addEventListener("abort",i,{once:!0})}});let{signal:s}=r;return s.unsubscribe=()=>eP.asap(o),s};let rn=function*(e,t){let r,n=e.byteLength;if(!t||n<t){yield e;return}let i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},ri=async function*(e,t){for await(let r of ra(e))yield*rn(r,t)},ra=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},ro=(e,t,r,n)=>{let i;let a=ri(e,t),o=0,s=e=>{!i&&(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await a.next();if(t){s(),e.close();return}let i=n.byteLength;if(r){let e=o+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},rs=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,rl=(e,t,r)=>t+2<r&&rs(e.charCodeAt(t+1))&&rs(e.charCodeAt(t+2)),ru=e=>e<=57?e-48:(223&e)-55,rc=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,rd=e=>9===e||10===e||12===e||13===e||32===e,rf=e=>{let t=Math.floor(e/4),r=e%4;return 3*t+(2===r?1:3===r?2:0)},rh=e=>{let t=e.length,r=0;return t>0&&61===e.charCodeAt(t-1)&&(r++,t>1&&61===e.charCodeAt(t-2)&&r++),Math.floor((t-r)*3/4)},rp=e=>{let t=e.length,r=0,n=0,i=!1;for(let a=0;a<t;a++){let o=e.charCodeAt(a);if(37===o&&rl(e,a,t)&&(o=16*ru(e.charCodeAt(a+1))+ru(e.charCodeAt(a+2)),a+=2),!rd(o)){if(61===o){n++;continue}if(!rc(o)||n>0){i=!0;continue}r++}}return i||n>2||n>0&&(r+n)%4!=0||r%4==1?rh(e):rf(r)},rm=(e,t)=>{if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let r=e.indexOf(",");if(r<0)return 0;let n=e.slice(5,r),i=e.slice(r+1);if(/;base64/i.test(n))return t(i);let a=0;for(let e=0,t=i.length;e<t;e++){let r=i.charCodeAt(e);if(37===r&&rl(i,e,t))a+=1,e+=2;else if(r<128)a+=1;else if(r<2048)a+=2;else if(r>=55296&&r<=56319&&e+1<t){let t=i.charCodeAt(e+1);t>=56320&&t<=57343?(a+=4,e++):a+=3}else a+=3}return a};function r_(e){let t="string"==typeof e?e.indexOf("#"):-1;return rm(-1===t?e:e.slice(0,t),rp)}let rg="1.20.0",ry=65536,rb={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:rv}=eP,rM=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),rS=e=>{if(!eP.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},rw=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},rE=e=>{let t=e.indexOf("://"),r=e;return -1!==t&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},rL=e=>{let t;let r=void 0!==eP.global&&null!==eP.global?eP.global:globalThis,{ReadableStream:n,TextEncoder:i}=r,{fetch:a,Request:o,Response:s}=e=eP.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},e),l=a?rv(a):"function"==typeof fetch,u=rv(o),c=rv(s);if(!l)return!1;let d=l&&rv(n),f=l&&("function"==typeof i?(t=new i,e=>t.encode(e)):async e=>new Uint8Array(await new o(e).arrayBuffer())),h=u&&d&&rw(()=>{let e=!1,t=new o(tE.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),p=c&&d&&rw(()=>eP.isReadableStream(new s("").body)),m={stream:p&&(e=>e.body)};l&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{m[e]||(m[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new e7(`Response type '${e}' is not supported`,e7.ERR_NOT_SUPPORT,r)})})})();let _=async e=>{if(null==e)return 0;if(eP.isBlob(e))return e.size;if(eP.isSpecCompliantForm(e)){let t=new o(tE.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return eP.isArrayBufferView(e)||eP.isArrayBuffer(e)?e.byteLength:(eP.isURLSearchParams(e)&&(e+=""),eP.isString(e))?(await f(e)).byteLength:void 0},g=async(e,t)=>{let r=eP.toFiniteNumber(e.getContentLength());return null==r?_(t):r};return async e=>{let t,{url:r,method:n,data:l,signal:c,cancelToken:f,timeout:y,onDownloadProgress:b,onUploadProgress:v,responseType:M,headers:S,withCredentials:w="same-origin",fetchOptions:E,maxContentLength:L,maxBodyLength:A,maxRedirects:k}=re(e),x=eP.isNumber(L)&&L>-1,T=eP.isNumber(A)&&A>-1,P=t=>eP.hasOwnProp(e,t)?e[t]:void 0,C=a||fetch;M=M?(M+"").toLowerCase():"text";let Y=rr([c,f&&f.toAbortSignal()],y),D=null,O=Y&&Y.unsubscribe&&(()=>{Y.unsubscribe()}),R=null,j=()=>new e7("Request body larger than maxBodyLength limit",e7.ERR_BAD_REQUEST,e,D);try{let a;let c=P("auth");if(c){let e=eP.getSafeProp(c,"username")||"",t=eP.getSafeProp(c,"password")||"";a={username:e,password:t}}if(rE(r)){let e=new URL(r,tE.origin);if(!a&&(e.username||e.password)){let t=rS(e.username),r=rS(e.password);a={username:t,password:r}}(e.username||e.password)&&(e.username="",e.password="",r=e.href)}if(a&&(S.delete("authorization"),S.set("Authorization","Basic "+btoa(rM((a.username||"")+":"+(a.password||""))))),x&&"string"==typeof r&&r.startsWith("data:")&&r_(r)>L)throw new e7("maxContentLength size of "+L+" exceeded",e7.ERR_BAD_RESPONSE,e,D);if(T&&"get"!==n&&"head"!==n){let e=await _(l);if("number"==typeof e&&isFinite(e)&&(t=e,e>A))throw j()}let f=T&&(eP.isReadableStream(l)||eP.isStream(l)),y=(e,t,r)=>
vendor: 5,028 bytes, line 3
3ro(e,ry,e=>{if(T&&e>A)throw R=j();t&&t(e)},r);if(h&&"get"!==n&&"head"!==n&&(v||f)){if(t=null==t?await g(S,l):t,0!==t||f){let e,n=new o(r,{method:"POST",body:l,duplex:"half"});if(eP.isFormData(l)&&(e=n.headers.get("content-type"))&&S.setContentType(e),n.body){let[e,r]=v&&tq(t,tW(tG(v)))||[];l=y(n.body,e,r)}}}else if(f&&!u&&d&&"get"!==n&&"head"!==n)l=y(l);else if(f&&u&&!h&&"get"!==n&&"head"!==n)throw new e7("Stream request bodies are not supported by the current fetch implementation",e7.ERR_NOT_SUPPORT,e,D);eP.isString(w)||(w=w?"include":"omit");let I=u&&"credentials"in o.prototype;if(eP.isFormData(l)){let e=S.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&S.delete("content-type")}S.set("User-Agent","axios/"+rg,!1);let F=null==E?E:Object.assign(Object.create(null),E);F&&(delete F.body,delete F.headers,delete F.method,delete F.signal,delete F.duplex,delete F.credentials);let N=Object.assign(Object.create(null),F,{signal:Y,method:n.toUpperCase(),headers:eN(S.normalize()),body:l,duplex:"half",credentials:I?w:void 0});u&&(eP.forEach(rb,(e,t)=>{void 0===N[t]&&(N[t]=e)}),void 0===N.signal&&(N.signal=null),void 0===N.body&&(N.body=null)),0===k&&(N.redirect="manual",F&&(F.redirect="manual")),D=u&&new o(r,N);let H=await (u?C(D,F):C(r,N)),z=eQ.from(H.headers);if(x){let t=eP.toFiniteNumber(z.getContentLength());if(null!=t&&t>L)throw new e7("maxContentLength size of "+L+" exceeded",e7.ERR_BAD_RESPONSE,e,D)}let U=p&&("stream"===M||"response"===M);if(p&&H.body&&(b||x||U&&O)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=H[e]});let r=eP.toFiniteNumber(z.getContentLength()),[n,i]=b&&tq(r,tW(tG(b),!0))||[],a=0,o=t=>{if(x&&(a=t)>L)throw new e7("maxContentLength size of "+L+" exceeded",e7.ERR_BAD_RESPONSE,e,D);n&&n(t)};H=new s(ro(H.body,ry,o,()=>{i&&i(),O&&O()}),t)}M=M||"text";let B=await m[eP.findKey(m,M)||"text"](H,e);if(x&&!p&&!U){let t;if(null!=B&&("number"==typeof B.byteLength?t=B.byteLength:"number"==typeof B.size?t=B.size:"string"==typeof B&&(t="function"==typeof i?new i().encode(B).byteLength:B.length)),"number"==typeof t&&t>L)throw new e7("maxContentLength size of "+L+" exceeded",e7.ERR_BAD_RESPONSE,e,D)}return!U&&O&&O(),await new Promise((t,r)=>{tH(t,r,{data:B,headers:eQ.from(H.headers),status:H.status,statusText:H.statusText,config:e,request:D})})}catch(t){if(O&&O(),Y&&Y.aborted&&Y.reason instanceof e7){let r=Y.reason;throw r.config=e,D&&(r.request=D),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(R)throw D&&!R.request&&(R.request=D),R;if(t instanceof e7)throw D&&!t.request&&(t.request=D),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){let r=new e7("Network Error",e7.ERR_NETWORK,e,D,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw e7.from(t,t&&t.code,e,D,t&&t.response)}}},rA=new Map,rk=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,a=[n,i,r],o=a.length,s,l,u=rA;for(;o--;)s=a[o],void 0===(l=u.get(s))&&u.set(s,l=o?new Map:rL(t)),u=l;return l};rk();let rx={http:e8,xhr:rt,fetch:{get:rk}};eP.forEach(rx,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});let rT=e=>`- ${e}`,rP=e=>eP.isFunction(e)||null===e||!1===e;var rC=function(e,t){let r,n;let{length:i}=e=eP.isArray(e)?e:[e],a={};for(let o=0;o<i;o++){let i;if(n=r=e[o],!rP(r)&&void 0===(n=rx[(i=String(r)).toLowerCase()]))throw new e7(`Unknown adapter '${i}'`);if(n&&(eP.isFunction(n)||(n=n.get(t))))break;a[i||"#"+o]=n}if(!n){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new e7("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(rT).join("\n"):" "+rT(e[0]):"as no adapter specified"),e7.ERR_NOT_SUPPORT)}return n};function rY(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tN(null,e)}function rD(e){let t=eP.toSafeFlatObject(e);return rY(t),t.headers=eQ.from(eP.getSafeProp(t,"headers")),t.data=tj.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),rC(t.adapter||tR.adapter,t)(t).then(function(e){rY(t),t.response=e;try{e.data=tj.call(t,t.transformResponse,e)}finally{delete t.response}return e.headers=eQ.from(e.headers),e},function(e){if(!tI(e)&&(rY(t),e&&e.response)){t.response=e.response;try{e.response.data=tj.call(t,t.transformResponse,e.response)}finally{delete t.response}e.response.headers=eQ.from(e.response.headers)}return Promise.reject(e)})}let rO={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rO[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let rR={};rO.transitional=function(e,t,r){function n(e,t){return"[Axios v"+rg+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,a)=>
vendor: 4,344 bytes, line 3
3{if(!1===e)throw new e7(n(i," has been removed"+(t?" in "+t:"")),e7.ERR_DEPRECATED);return t&&!rR[i]&&(rR[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,a)}},rO.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var rj={assertOptions:function(e,t,r){if("object"!=typeof e||null===e)throw new e7("options must be an object",e7.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let a=n[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],r=void 0===t||o(t,a,e);if(!0!==r)throw new e7("option "+a+" must be "+r,e7.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new e7("Unknown option "+a,e7.ERR_BAD_OPTION)}},validators:rO};let rI=rj.validators;class rF{constructor(e){this.defaults=e||{},this.interceptors={request:new t_,response:new t_}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error)try{let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack,n="";if("string"==typeof r){let e=r.indexOf("\n");n=-1===e?"":r.slice(e+1)}if(e.stack){if(n){let t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),i=-1===r?"":n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:a,headers:o}=t=t7(this.defaults,t);void 0!==i&&rj.assertOptions(i,{silentJSONParsing:rI.transitional(rI.boolean),forcedJSONParsing:rI.transitional(rI.boolean),clarifyTimeoutError:rI.transitional(rI.boolean),legacyInterceptorReqResOrdering:rI.transitional(rI.boolean),advertiseZstdAcceptEncoding:rI.transitional(rI.boolean),validateStatusUndefinedResolves:rI.transitional(rI.boolean)},!1),null!=a&&(eP.isFunction(a)?t.paramsSerializer={serialize:a}:rj.assertOptions(a,{encode:rI.function,serialize:rI.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),rj.assertOptions(t,{baseUrl:rI.spelling("baseURL"),withXsrfToken:rI.spelling("withXSRFToken")},!0),t.method=(eP.getSafeProp(t,"method")||eP.getSafeProp(this.defaults,"method")||"get").toLowerCase();let s=o&&eP.merge(o.common,o[t.method]);o&&eP.forEach(tC.concat("common"),e=>{delete o[e]}),t.headers=eQ.concat(s,o);let l=[],u=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;u=u&&e.synchronous;let r=t.transitional||tg;r&&r.legacyInterceptorReqResOrdering?l.unshift(e.fulfilled,e.rejected):l.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d=0;if(!u){let e=[rD.bind(this),void 0];for(e.unshift(...l),e.push(...c),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=l.length;let f=t;for(;d<n;){let e=l[d++],t=l[d++];try{f=e?e(f):f}catch(e){if(!t){r=Promise.reject(e);break}try{let n=t.call(this,e);eP.isThenable(n)&&(r=Promise.resolve(n).then(()=>rD.call(this,f)))}catch(e){r=Promise.reject(e)}break}}if(!r)try{r=rD.call(this,f)}catch(e){r=Promise.reject(e)}for(d=0,n=c.length;d<n;)r=r.then(c[d++],c[d++]);return r}getUri(e){return tc(t5((e=t7(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}eP.forEach(["delete","get","head","options"],function(e){rF.prototype[e]=function(t,r){return this.request(t7(r||{},{method:e,url:t,data:r&&eP.hasOwnProp(r,"data")?r.data:void 0}))}}),eP.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,i){return this.request(t7(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}rF.prototype[e]=t(),"query"!==e&&(rF.prototype[e+"Form"]=t(!0))});var rN=rF;class rH{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new tN(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
3subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new rH(function(t){e=t}),cancel:e}}}var rz=rH;function rU(e){return function(t){return e.apply(null,t)}}function rB(e){return eP.isObject(e)&&!0===e.isAxiosError}let r$={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(r$).forEach(([e,t])=>{void 0===r$[t]&&(r$[t]=e)});var rV=r$;function rW(e){let t=new rN(e),r=l(rN.prototype.request,t);return eP.extend(r,rN.prototype,t,{allOwnKeys:!0}),eP.extend(r,t,null,{allOwnKeys:!0}),r.create=function(t){return rW(t7(e,t))},r}let rq=rW(tR);rq.Axios=rN,rq.CanceledError=tN,rq.CancelToken=rz,rq.isCancel=tI,rq.VERSION=rg,rq.toFormData=ti,rq.AxiosError=e7,rq.Cancel=rq.CanceledError,rq.all=function(e){return Promise.all(e)},rq.spread=rU,rq.isAxiosError=rB,rq.mergeConfig=t7,rq.AxiosHeaders=eQ,rq.formToJSON=e=>tP(eP.isHTMLForm(e)?new FormData(e):e),rq.getAdapter=rC,rq.HttpStatusCode=rV,rq.default=rq;var rG=rq},512:function(e,t,r){"use strict";function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e){if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r)}return i}function i(){for(var e,t,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}t.Z=i},1955:function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)"__proto__"!==n&&(e[n]=r[n])}return e}function i(e,t){function r(r,i,a){if("undefined"!=typeof document){"number"==typeof(a=n({},t,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in a)a[s]&&(o+="; "+s,!0!==a[s]&&(o+="="+a[s].split(";")[0]));return document.cookie=r+"="+e.write(i,r)+o}}return Object.create({set:r,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var a=r[i].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(s in n||(n[s]=e.read(o,s)),t===s)break}catch(e){}}return t?n[t]:n}},remove:function(e,t){r(e,"",n({},t,{expires:-1}))},withAttributes:function(e){return i(this.converter,n({},this.attributes,e))},withConverter:function(e){return i(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}r.d(t,{Z:function(){return a}});var a=i({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
3URIComponent)}},{path:"/"})},4886:function(e,t,r){"use strict";function n(e){var t=!1;return{promise:new Promise(function(r,n){e.then(function(e){return!t&&r(e)}).catch(function(e){return!t&&n(e)})}),cancel:function(){t=!0}}}r.d(t,{Z:function(){return n}})},9211:function(e,t,r){"use strict";r.d(t,{Tu:function(){return M},ZP:function(){return S}});var n=function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},i=["onCompositionEnd","onCompositionStart","onCompositionUpdate"],a=["onFocus","onBlur"],o=["onInput","onInvalid","onReset","onSubmit"],s=["onLoad","onError"],l=["onKeyDown","onKeyPress","onKeyUp"],u=["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],c=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],d=["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],f=["onSelect"],h=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],p=["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],m=["onScroll"],_=["onWheel"],g=["onAnimationStart","onAnimationEnd","onAnimationIteration"],y=["onTransitionEnd"],b=["onToggle"],v=["onChange"],M=n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n(n([],["onCopy","onCut","onPaste"],!0),i,!0),a,!0),o,!0),s,!0),l,!0),u,!0),c,!0),d,!0),f,!0),h,!0),p,!0),m,!0),_,!0),g,!0),y,!0),v,!0),b,!0);function S(e,t){var r={};return M.forEach(function(n){var i=e[n];i&&(t?r[n]=function(e){return i(e,t(n))}:r[n]=i)}),r}},1894:function(e,t,r){"use strict";let n,i,a,o,s,l,u,c,d,f,h,p,m;r.d(t,{J:function(){return tt}});var _,g=r(7294),y=r.t(g,2),b=r(3935),v=Object.defineProperty,M=(e,t,r)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t,r)=>(M(e,"symbol"!=typeof t?t+"":t,r),r);class w{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){S(this,"current",this.detect()),S(this,"handoffState","pending"),S(this,"currentId",0)}}let E=new w,L=(e,t)=>{E.isServer?(0,g.useEffect)(e,t):(0,g.useLayoutEffect)(e,t)};function A(e){let t=(0,g.useRef)(e);return L(()=>{t.current=e},[e]),t}let k=function(e){let t=A(e);return g.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current(...r)},[t])};function x(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function T(e){let t=k(e),r=(0,g.useRef)(!1);(0,g.useEffect)(()=>(r.current=!1,()=>{r.current=!0,x(()=>{r.current&&t()})}),[t])}function P(e){return E.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function C(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,g.useMemo)(()=>P(...t),[...t])}function Y(){let e="undefined"==typeof document;return(0,y.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)}function D(){let e=Y(),[t,r]=g.useState(E.isHandoffComplete);return t&&!1===E.isHandoffComplete&&r(!1),g.useEffect(()=>{!0!==t&&r(!0)},[t]),g.useEffect(()=>E.handoff(),[]),!e&&t}let O=Symbol();function R(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[O]:t})}function j(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=(0,g.useRef)(t);(0,g.useEffect)(()=>{n.current=t},[t]);let i=k(e=>{for(let t of n.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[O]))?void 0:i}let I=(0,g.createContext)(!1);function F(){return(0,g.useContext)(I)}function N(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Array.from(new Set(t.flatMap(e=>
3"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function H(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let a=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,H),a}var z=((n=z||{})[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n),U=((i=U||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function B(e){let{ourProps:t,theirProps:r,slot:n,defaultTag:i,features:a,visible:o=!0,name:s,mergeRefs:l}=e;l=null!=l?l:W;let u=q(r,t);if(o)return $(u,n,i,s,l);let c=null!=a?a:0;if(2&c){let{static:e=!1,...t}=u;if(e)return $(t,n,i,s,l)}if(1&c){let{unmount:e=!0,...t}=u;return H(e?0:1,{0:()=>null,1:()=>$({...t,hidden:!0,style:{display:"none"}},n,i,s,l)})}return $(u,n,i,s,l)}function $(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:a=r,children:o,refName:s="ref",...l}=K(e,["unmount","static"]),u=void 0!==e.ref?{[s]:e.ref}:{},c="function"==typeof o?o(t):o;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,r=[];for(let[n,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&r.push(n);e&&(d["data-headlessui-state"]=r.join(" "))}if(a===g.Fragment&&Object.keys(J(l)).length>0){if(!(0,g.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(n,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(l).map(e=>"  - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"));let e=c.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return N(null==e?void 0:e.className(...r),l.className)}:N(null==e?void 0:e.className,l.className),r=t?{className:t}:{};return(0,g.cloneElement)(c,Object.assign({},q(c.props,J(K(l,["ref"]))),d,u,{ref:i(c.ref,u.ref)},r))}return(0,g.createElement)(a,Object.assign({},K(l,["ref"]),a!==g.Fragment&&u,a!==g.Fragment&&d),c)}function V(){let e=(0,g.useRef)([]),t=(0,g.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]);return function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];if(!n.every(e=>null==e))return e.current=n,t}}function W(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every(e=>null==e)?void 0:e=>{for(let r of t)null!=r&&("function"==typeof r?r(e):r.current=e)}}function q(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];if(0===r.length)return{};if(1===r.length)return r[0];let i={},a={};for(let t of r)for(let r in t)r.startsWith("on")&&"function"==typeof t[r]?(null!=(e=a[r])||(a[r]=[]),a[r].push(t[r])):i[r]=t[r];if(i.disabled||i["aria-disabled"])return Object.assign(i,Object.fromEntries(Object.keys(a).map(e=>[e,void 0])));for(let e in a)Object.assign(i,{[e](t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(let r of a[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;r(t,...n)}}});return i}function G(e){var t;return Object.assign((0,g.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function J(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function K(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function X(e){let t=F(),r=(0,g.useContext)(et),n=C(e),[i,a]=(0,g.useState)(()=>
3{if(!t&&null!==r||E.isServer)return null;let e=null==n?void 0:n.getElementById("headlessui-portal-root");if(e)return e;if(null===n)return null;let i=n.createElement("div");return i.setAttribute("id","headlessui-portal-root"),n.body.appendChild(i)});return(0,g.useEffect)(()=>{null!==i&&(null!=n&&n.body.contains(i)||null==n||n.body.appendChild(i))},[i,n]),(0,g.useEffect)(()=>{t||null!==r&&a(r.current)},[r,a,t]),i}let Z=g.Fragment;function Q(e,t){let r=e,n=(0,g.useRef)(null),i=j(R(e=>{n.current=e}),t),a=C(n),o=X(n),[s]=(0,g.useState)(()=>{var e;return E.isServer?null:null!=(e=null==a?void 0:a.createElement("div"))?e:null}),l=(0,g.useContext)(en),u=D();return L(()=>{!o||!s||o.contains(s)||(s.setAttribute("data-headlessui-portal",""),o.appendChild(s))},[o,s]),L(()=>{if(s&&l)return l.register(s)},[l,s]),T(()=>{var e;o&&s&&(s instanceof Node&&o.contains(s)&&o.removeChild(s),o.childNodes.length<=0&&(null==(e=o.parentElement)||e.removeChild(o)))}),u&&o&&s?(0,b.createPortal)(B({ourProps:{ref:i},theirProps:r,defaultTag:Z,name:"Portal"}),s):null}let ee=g.Fragment,et=(0,g.createContext)(null);function er(e,t){let{target:r,...n}=e,i={ref:j(t)};return g.createElement(et.Provider,{value:r},B({ourProps:i,theirProps:n,defaultTag:ee,name:"Popover.Group"}))}let en=(0,g.createContext)(null);function ei(){let e=(0,g.useContext)(en),t=(0,g.useRef)([]),r=k(r=>(t.current.push(r),e&&e.register(r),()=>n(r))),n=k(r=>{let n=t.current.indexOf(r);-1!==n&&t.current.splice(n,1),e&&e.unregister(r)}),i=(0,g.useMemo)(()=>({register:r,unregister:n,portals:t}),[r,n,t]);return[t,(0,g.useMemo)(()=>function(e){let{children:t}=e;return g.createElement(en.Provider,{value:i},t)},[i])]}function ea(e,t,r,n){let i=A(r);(0,g.useEffect)(()=>{function r(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)},[e,t,n])}Object.assign(G(Q),{Group:G(er)});let eo=null!=(_=g.useId)?_:function(){let e=D(),[t,r]=g.useState(e?()=>E.nextId():null);return L(()=>{null===t&&r(E.nextId())},[t]),null!=t?""+t:void 0},es=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var el=((a=el||{})[a.First=1]="First",a[a.Previous=2]="Previous",a[a.Next=4]="Next",a[a.Last=8]="Last",a[a.WrapAround=16]="WrapAround",a[a.NoScroll=32]="NoScroll",a),eu=((o=eu||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),ec=((s=ec||{})[s.Previous=-1]="Previous",s[s.Next=1]="Next",s);function ed(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(es)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var ef=((l=ef||{})[l.Strict=0]="Strict",l[l.Loose=1]="Loose",l);function eh(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=P(e))?void 0:t.body)&&H(r,{0:()=>e.matches(es),1(){let t=e;for(;null!==t;){if(t.matches(es))return!0;t=t.parentElement}return!1}})}var ep=((u=ep||{})[u.Keyboard=0]="Keyboard",u[u.Mouse=1]="Mouse",u);"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let em="textarea,input";function e_(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,em))&&r}function eg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let a=n.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ey(e,t){let{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?eg(e):e:ed(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),n=null!=n?n:a.activeElement;let s=(()=>
3{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(n))-1;if(4&t)return Math.max(0,o.indexOf(n))+1;if(8&t)return o.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,d=o.length,f;do{if(c>=d||c+d<=0)return 0;let e=l+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}null==(f=o[e])||f.focus(u),c+=s}while(f!==a.activeElement);return 6&t&&e_(f)&&f.select(),2}function eb(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ev(){return/Android/gi.test(window.navigator.userAgent)}function eM(){return eb()||ev()}function eS(e,t,r){let n=A(t);(0,g.useEffect)(()=>{function t(e){n.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)},[e,r])}function ew(e,t,r){let n=A(t);(0,g.useEffect)(()=>{function t(e){n.current(e)}return window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r)},[e,r])}function eE(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,g.useRef)(!1);function i(r,i){if(!n.current||r.defaultPrevented)return;let a=i(r);if(null!==a&&a.getRootNode().contains(a)&&a.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(a)||r.composed&&r.composedPath().includes(e))return}return eh(a,ef.Loose)||-1===a.tabIndex||r.preventDefault(),t(r,a)}}(0,g.useEffect)(()=>{requestAnimationFrame(()=>{n.current=r})},[r]);let a=(0,g.useRef)(null);eS("pointerdown",e=>{var t,r;n.current&&(a.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),eS("mousedown",e=>{var t,r;n.current&&(a.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),eS("click",e=>{eM()||a.current&&(i(e,()=>a.current),a.current=null)},!0),eS("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),ew("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function eL(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";if("string"==typeof r&&"button"===r.toLowerCase())return"button"}function eA(e,t){let[r,n]=(0,g.useState)(()=>eL(e));return L(()=>{n(eL(e))},[e.type,e.as]),L(()=>{r||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&n("button")},[r,t]),r}let ek="div";var ex=((c=ex||{})[c.None=1]="None",c[c.Focusable=2]="Focusable",c[c.Hidden=4]="Hidden",c);let eT=G(function(e,t){var r;let{features:n=1,...i}=e;return B({ourProps:{ref:t,"aria-hidden":(2&n)==2||(null!=(r=i["aria-hidden"])?r:void 0),hidden:(4&n)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}},theirProps:i,slot:{},defaultTag:ek,name:"Hidden"})});function eP(){var e;let{defaultContainers:t=[],portals:r,mainTreeNodeRef:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,g.useRef)(null!=(e=null==n?void 0:n.current)?e:null),a=C(i),o=k(()=>{var e,n,o;let s=[];for(let e of t)null!==e&&(e instanceof HTMLElement?s.push(e):"current"in e&&e.current instanceof HTMLElement&&s.push(e.current));if(null!=r&&r.current)for(let e of r.current)s.push(e);for(let t of null!=(e=null==a?void 0:a.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(i.current)||t.contains(null==(o=null==(n=i.current)?void 0:n.getRootNode())?void 0:o.host)||s.some(e=>t.contains(e))||s.push(t));return s});
3return{resolveContainers:o,contains:k(e=>o().some(t=>t.contains(e))),mainTreeNodeRef:i,MainTreeNode:(0,g.useMemo)(()=>function(){return null!=n?null:g.createElement(eT,{features:ex.Hidden,ref:i})},[i,n])}}function eC(){let e=(0,g.useRef)(null);return{mainTreeNodeRef:e,MainTreeNode:(0,g.useMemo)(()=>function(){return g.createElement(eT,{features:ex.Hidden,ref:e})},[e])}}var eY=((d=eY||{})[d.Forwards=0]="Forwards",d[d.Backwards=1]="Backwards",d);function eD(){let e=(0,g.useRef)(0);return ew("keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)},!0),e}let eO=(0,g.createContext)(null);eO.displayName="OpenClosedContext";var eR=((f=eR||{})[f.Open=1]="Open",f[f.Closed=2]="Closed",f[f.Closing=4]="Closing",f[f.Opening=8]="Opening",f);function ej(){return(0,g.useContext)(eO)}function eI(e){let{value:t,children:r}=e;return g.createElement(eO.Provider,{value:t},r)}function eF(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=(null==t?void 0:t.getAttribute("disabled"))==="";return!(n&&eN(r))&&n}function eN(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}var eH=((h=eH||{}).Space=" ",h.Enter="Enter",h.Escape="Escape",h.Backspace="Backspace",h.Delete="Delete",h.ArrowLeft="ArrowLeft",h.ArrowUp="ArrowUp",h.ArrowRight="ArrowRight",h.ArrowDown="ArrowDown",h.Home="Home",h.End="End",h.PageUp="PageUp",h.PageDown="PageDown",h.Tab="Tab",h),ez=((p=ez||{})[p.Open=0]="Open",p[p.Closed=1]="Closed",p),eU=((m=eU||{})[m.TogglePopover=0]="TogglePopover",m[m.ClosePopover=1]="ClosePopover",m[m.SetButton=2]="SetButton",m[m.SetButtonId=3]="SetButtonId",m[m.SetPanel=4]="SetPanel",m[m.SetPanelId=5]="SetPanelId",m);let eB={0:e=>{let t={...e,popoverState:H(e.popoverState,{0:1,1:0})};return 0===t.popoverState&&(t.__demoMode=!1),t},1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
3e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},e$=(0,g.createContext)(null);function eV(e){let t=(0,g.useContext)(e$);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Popover /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eV),t}return t}e$.displayName="PopoverContext";let eW=(0,g.createContext)(null);function eq(e){let t=(0,g.useContext)(eW);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Popover /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eq),t}return t}eW.displayName="PopoverAPIContext";let eG=(0,g.createContext)(null);function eJ(){return(0,g.useContext)(eG)}eG.displayName="PopoverGroupContext";let eK=(0,g.createContext)(null);function eX(){return(0,g.useContext)(eK)}function eZ(e,t){return H(t.type,eB,e,t)}eK.displayName="PopoverPanelContext";let eQ="div";function e0(e,t){var r;let{__demoMode:n=!1,...i}=e,a=(0,g.useRef)(null),o=j(t,R(e=>{a.current=e})),s=(0,g.useRef)([]),l=(0,g.useReducer)(eZ,{__demoMode:n,popoverState:n?0:1,buttons:s,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,g.createRef)(),afterPanelSentinel:(0,g.createRef)()}),[{popoverState:u,button:c,buttonId:d,panel:f,panelId:h,beforePanelSentinel:p,afterPanelSentinel:m},_]=l,y=C(null!=(r=a.current)?r:c),b=(0,g.useMemo)(()=>{if(!c||!f)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(c))^Number(null==e?void 0:e.contains(f)))return!0;let e=ed(),t=e.indexOf(c),r=(t+e.length-1)%e.length,n=(t+1)%e.length,i=e[r],a=e[n];return!f.contains(i)&&!f.contains(a)},[c,f]),v=A(d),M=A(h),S=(0,g.useMemo)(()=>({buttonId:v,panelId:M,close:()=>_({type:1})}),[v,M,_]),w=eJ(),E=null==w?void 0:w.registerPopover,L=k(()=>{var e;return null!=(e=null==w?void 0:w.isFocusWithinPopoverGroup())?e:(null==y?void 0:y.activeElement)&&((null==c?void 0:c.contains(y.activeElement))||(null==f?void 0:f.contains(y.activeElement)))});(0,g.useEffect)(()=>null==E?void 0:E(S),[E,S]);let[x,T]=ei(),P=eP({mainTreeNodeRef:null==w?void 0:w.mainTreeNodeRef,portals:x,defaultContainers:[c,f]});ea(null==y?void 0:y.defaultView,"focus",e=>{var t,r,n,i;e.target!==window&&e.target instanceof HTMLElement&&0===u&&(L()||c&&f&&(P.contains(e.target)||null!=(r=null==(t=p.current)?void 0:t.contains)&&r.call(t,e.target)||null!=(i=null==(n=m.current)?void 0:n.contains)&&i.call(n,e.target)||_({type:1})))},!0),eE(P.resolveContainers,(e,t)=>{_({type:1}),eh(t,ef.Loose)||(e.preventDefault(),null==c||c.focus())},0===u);let Y=k(e=>{_({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:c:c;null==t||t.focus()}),D=(0,g.useMemo)(()=>({close:Y,isPortalled:b}),[Y,b]),O=(0,g.useMemo)(()=>({open:0===u,close:Y}),[u,Y]),I={ref:o};return g.createElement(eK.Provider,{value:null},g.createElement(e$.Provider,{value:l},g.createElement(eW.Provider,{value:D},g.createElement(eI,{value:H(u,{0:eR.Open,1:eR.Closed})},g.createElement(T,null,B({ourProps:I,theirProps:i,slot:O,defaultTag:eQ,name:"Popover"}),g.createElement(P.MainTreeNode,null))))))}let e1="button";function e2(e,t){let r=eo(),{id:n="headlessui-popover-button-".concat(r),...i}=e,[a,o]=eV("Popover.Button"),{isPortalled:s}=eq("Popover.Button"),l=(0,g.useRef)(null),u="headlessui-focus-sentinel-".concat(eo()),c=eJ(),d=null==c?void 0:c.closeOthers,f=null!==eX();(0,g.useEffect)(()=>{if(!f)return o({type:3,buttonId:n}),()=>{o({type:3,buttonId:null})}},[f,n,o]);let[h]=(0,g.useState)(()=>Symbol()),p=j(l,t,f?null:e=>{if(e)a.buttons.current.push(h);else{let e=a.buttons.current.indexOf(h);-1!==e&&a.buttons.current.splice(e,1)}a.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&o({type:2,button:e})}),m=j(l,t),_=C(l),y=k(e=>{var t,r,n;if(f){if(1===a.popoverState)return;switch(e.key){case eH.Space:case eH.Enter:e.preventDefault(),null==(r=(t=e.target).click)||r.call(t),o({type:1}),null==(n=a.button)||n.focus()}}else switch(e.key){case eH.Space:case eH.Enter:e.preventDefault(),e.stopPropagation(),1===a.popoverState&&(null==d||d(a.buttonId)),o({type:0});break;case eH.Escape:if(0!==a.popoverState)return null==d?void 0:d(a.buttonId);if(!l.current||null!=_&&_.activeElement&&!l.current.contains(_.activeElement))return;e.preventDefault(),e.stopPropagation(),o({type:1})}}),b=k(e=>{f||e.key===eH.Space&&e.preventDefault()}),v=k(t=>{var r,n;eF(t.currentTarget)||e.disabled||(f?(o({type:1}),null==(r=a.button)||r.focus()):(t.preventDefault(),t.stopPropagation(),1===a.popoverState&&(null==d||d(a.buttonId)),o({type:0}),null==(n=a.button)||n.focus()))}),M=k(e=>{e.preventDefault(),e.stopPropagation()}),S=0===a.popoverState,w=(0,g.useMemo)(()=>({open:S}),[S]),E=eA(e,l),L=f?{ref:m,type:E,onKeyDown:y,onClick:v}:{ref:p,id:a.buttonId,type:E,"aria-expanded":0===a.popoverState,"aria-controls":a.panel?a.panelId:void 0,onKeyDown:y,onKeyUp:b,onClick:v,onMouseDown:M},A=eD(),x=k(()=>{let e=a.panel;function t(){H(A.current,{[eY.Forwards]:()=>ey(e,el.First),[eY.Backwards]:()=>ey(e,el.Last)})===eu.Error&&ey(ed().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),H(A.current,{[eY.Forwards]:el.Next,[eY.Backwards]:el.Previous}),{relativeTo:a.button})}e&&t()});return g.createElement(g.Fragment,null,B({ourProps:L,theirProps:i,slot:w,defaultTag:e1,name:"Popover.Button"}),S&&!f&&s&&g.createElement(eT,{id:u,features:ex.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:x}))}let e5="div",e3=z.RenderStrategy|z.Static;function e4(e,t){let r=eo(),{id:n="headlessui-popover-overlay-".concat(r),...i}=e,[{popoverState:a},o]=eV("Popover.Overlay"),s=j(t),l=ej(),u=null!==l?(l&eR.Open)===eR.Open:0===a;return B({ourProps:{ref:s,id:n,"aria-hidden":!0,onClick:k(e=>{if(eF(e.currentTarget))return e.preventDefault();o({type:1})})},theirProps:i,slot:(0,g.useMemo)(()=>({open:0===a}
3),[a]),defaultTag:e5,features:e3,visible:u,name:"Popover.Overlay"})}let e7="div",e8=z.RenderStrategy|z.Static;function e6(e,t){let r=eo(),{id:n="headlessui-popover-panel-".concat(r),focus:i=!1,...a}=e,[o,s]=eV("Popover.Panel"),{close:l,isPortalled:u}=eq("Popover.Panel"),c="headlessui-focus-sentinel-before-".concat(eo()),d="headlessui-focus-sentinel-after-".concat(eo()),f=(0,g.useRef)(null),h=j(f,t,e=>{s({type:4,panel:e})}),p=C(f),m=V();L(()=>(s({type:5,panelId:n}),()=>{s({type:5,panelId:null})}),[n,s]);let _=ej(),y=null!==_?(_&eR.Open)===eR.Open:0===o.popoverState,b=k(e=>{var t;if(e.key===eH.Escape){if(0!==o.popoverState||!f.current||null!=p&&p.activeElement&&!f.current.contains(p.activeElement))return;e.preventDefault(),e.stopPropagation(),s({type:1}),null==(t=o.button)||t.focus()}});(0,g.useEffect)(()=>{var t;e.static||1===o.popoverState&&(null==(t=e.unmount)||t)&&s({type:4,panel:null})},[o.popoverState,e.unmount,e.static,s]),(0,g.useEffect)(()=>{if(o.__demoMode||!i||0!==o.popoverState||!f.current)return;let e=null==p?void 0:p.activeElement;f.current.contains(e)||ey(f.current,el.First)},[o.__demoMode,i,f,o.popoverState]);let v=(0,g.useMemo)(()=>({open:0===o.popoverState,close:l}),[o,l]),M={ref:h,id:n,onKeyDown:b,onBlur:i&&0===o.popoverState?e=>{var t,r,n,i,a;let l=e.relatedTarget;l&&f.current&&(null!=(t=f.current)&&t.contains(l)||(s({type:1}),(null!=(n=null==(r=o.beforePanelSentinel.current)?void 0:r.contains)&&n.call(r,l)||null!=(a=null==(i=o.afterPanelSentinel.current)?void 0:i.contains)&&a.call(i,l))&&l.focus({preventScroll:!0})))}:void 0,tabIndex:-1},S=eD(),w=k(()=>{let e=f.current;function t(){H(S.current,{[eY.Forwards]:()=>{var t;ey(e,el.First)===eu.Error&&(null==(t=o.afterPanelSentinel.current)||t.focus())},[eY.Backwards]:()=>{var e;null==(e=o.button)||e.focus({preventScroll:!0})}})}e&&t()}),E=k(()=>{let e=f.current;function t(){H(S.current,{[eY.Forwards]:()=>{var e;if(!o.button)return;let t=ed(),r=t.indexOf(o.button),n=t.slice(0,r+1),i=[...t.slice(r+1),...n];for(let t of i.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=o.panel)&&e.contains(t)){let e=i.indexOf(t);-1!==e&&i.splice(e,1)}ey(i,el.First,{sorted:!1})},[eY.Backwards]:()=>{var t;ey(e,el.Previous)===eu.Error&&(null==(t=o.button)||t.focus())}})}e&&t()});return g.createElement(eK.Provider,{value:n},y&&u&&g.createElement(eT,{id:c,ref:o.beforePanelSentinel,features:ex.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:w}),B({mergeRefs:m,ourProps:M,theirProps:a,slot:v,defaultTag:e7,features:e8,visible:y,name:"Popover.Panel"}),y&&u&&g.createElement(eT,{id:d,ref:o.afterPanelSentinel,features:ex.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E}))}let e9="div";function te(e,t){let r=(0,g.useRef)(null),n=j(r,t),[i,a]=(0,g.useState)([]),o=eC(),s=k(e=>{a(t=>{let r=t.indexOf(e);if(-1!==r){let e=t.slice();return e.splice(r,1),e}return t})}),l=k(e=>(a(t=>[...t,e]),()=>s(e))),u=k(()=>{var e;let t=P(r);if(!t)return!1;let n=t.activeElement;return!!(null!=(e=r.current)&&e.contains(n))||i.some(e=>{var r,i;return(null==(r=t.getElementById(e.buttonId.current))?void 0:r.contains(n))||(null==(i=t.getElementById(e.panelId.current))?void 0:i.contains(n))})}),c=k(e=>{for(let t of i)t.buttonId.current!==e&&t.close()}),d=(0,g.useMemo)(()=>({registerPopover:l,unregisterPopover:s,isFocusWithinPopoverGroup:u,closeOthers:c,mainTreeNodeRef:o.mainTreeNodeRef}),[l,s,u,c,o.mainTreeNodeRef]),f=(0,g.useMemo)(()=>({}),[]),h=e,p={ref:n};return g.createElement(eG.Provider,{value:d},B({ourProps:p,theirProps:h,slot:f,defaultTag:e9,name:"Popover.Group"}),g.createElement(o.MainTreeNode,null))}let tt=Object.assign(G(e0),{Button:G(e2),Overlay:G(e4),Panel:G(e6),Group:G(te)})},6256:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M17 10a.75.75 0 0 1-.75.75H5.612l4.158 3.96a.75.75 0 1 1-1.04 1.08l-5.5-5.25a.75.75 0 0 1 0-1.08l5.5-5.25a.75.75 0 1 1 1.04 1.08L5.612 9.25H16.25A.75.75 0 0 1 17 10Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},7499:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M1 2.75A.75.75 0 0 1 1.75 2h10.5a.75.75 0 0 1 0 1.5H12v13.75a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1-.75-.75v-2.5a.75.75 0 0 0-.75-.75h-2.5a.75.75 0 0 0-.75.75v2.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5H2v-13h-.25A.75.75 0 0 1 1 2.75ZM4 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM4.5 9a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM8 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM8.5 9a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM14.25 6a.75.75 0 0 0-.75.75V17a1 1 0 0 0 1 1h3.75a.75.75 0 0 0 0-1.5H18v-9h.25a.75.75 0 0 0 0-1.5h-4Zm.5 3.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm.5 3.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},3958:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M9 3.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2 9a7 7 0 1 1 12.452 4.391l3.328 3.329a.75.75 0 1 1-1.06 1.06l-3.329-3.328A7 7 0 0 1 2 9Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},7052:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-5.5-2.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM10 12a5.99 5.99 0 0 0-4.793 2.39A6.483 6.483 0 0 0 10 16.5a6.483 6.483 0 0 0 4.793-2.11A5.99 5.99 0 0 0 10 12Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},2861:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))}let a=n.forwardRef(i);t.Z=a},4910:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))}let a=n.forwardRef(i);t.Z=a},7637:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 1.5H8.25A2.25 2.25 0 0 0 6 3.75v16.5a2.25 2.25 0 0 0 2.25 2.25h7.5A2.25 2.25 0 0 0 18 20.25V3.75a2.25 2.25 0 0 0-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"}))}let a=n.forwardRef(i);t.Z=a},73:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))}let a=n.forwardRef(i);t.Z=a},5167:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75
3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"}))}let a=n.forwardRef(i);t.Z=a},2997:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))}let a=n.forwardRef(i);t.Z=a},8097:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},8053:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},1464:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06l-3.22-3.22V16.5a.75.75 0 0 1-1.5 0V4.81L8.03 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5ZM3 15.75a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},2840:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M3 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5H15v-18a.75.75 0 0 0 0-1.5H3ZM6.75 19.5v-2.25a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-3a.75.75 0 0 1-.75-.75ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 0 1.5h-.75A.75.75 0 0 1 6 6.75ZM6.75 9a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75ZM6 12.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75ZM10.5 6a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75Zm-.75 3.75A.75.75 0 0 1 10.5 9h.75a.75.75 0 0 1 0 1.5h-.75a.75.75 0 0 1-.75-.75ZM10.5 12a.75.75 0 0 0 0 1.5h.75a.75.75 0 0 0 0-1.5h-.75ZM16.5 6.75v15h5.25a.75.75 0 0 0 0-1.5H21v-12a.75.75 0 0 0 0-1.5h-4.5Zm1.5 4.5a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 2.25a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75h-.008ZM18 17.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},5373:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
3currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},8031:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z",clipRule:"evenodd"}),n.createElement("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"}))}let a=n.forwardRef(i);t.Z=a},1768:function(e,t,r){"use strict";var n=r(7294);function i(e,t){let{title:r,titleId:i,...a}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}let a=n.forwardRef(i);t.Z=a},7536:function(e,t,r){"use strict";r.d(t,{Dq:function(){return eb},Gc:function(){return eM},RV:function(){return eS},cI:function(){return e5},qo:function(){return N}});var n=r(7294),i=e=>"checkbox"===e.type,a=e=>"file"===e.type,o=e=>e instanceof Date,s=e=>null==e;let l=e=>"object"==typeof e;var u=e=>!s(e)&&!Array.isArray(e)&&l(e)&&!o(e),c=e=>u(e)&&e.target?i(e.target)?e.target.checked:a(e.target)?e.target.files:e.target.value:e;let d=/[.[\]'"]/;var f=e=>e.split(d).filter(Boolean),h=(e,t)=>t.split(".").some((t,r,n)=>!isNaN(Number(t))&&e.has(n.slice(0,r).join("."))),p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function m(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Date)return new Date(e);let t="undefined"!=typeof Blob&&e instanceof Blob,r="undefined"!=typeof FileList&&e instanceof FileList;if(p&&(t||r))return e;let n=Array.isArray(e);if(!n&&e.constructor!==Object)return e;let i=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=m(e[t]));return i}let _={BLUR:"blur",FOCUS_OUT:"focusout",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},g={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},y={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},b="root",v=["__proto__","constructor","prototype"],M=/^\w*$/;var S=e=>M.test(e),w=e=>void 0===e,E=(e,t,r)=>{if(!t||!u(e))return r;let n=S(t)?[t]:f(t);if(n.some(e=>v.includes(e)))return r;let i=n.reduce((e,t)=>s(e)?void 0:e[t],e);return w(i)||i===e?w(e[t])?r:e[t]:i},L=e=>"boolean"==typeof e,A=e=>"function"==typeof e,k=(e,t,r)=>{let n=-1,i=S(t)?[t]:f(t),a=i.length,o=a-1;for(;++n<a;){let t=i[n],a=r;if(n!==o){let r=e[t];
3a=u(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if(v.includes(t))return;e[t]=a,e=e[t]}};let x=n.createContext(null);x.displayName="HookFormControlContext";let T=()=>n.useContext(x);var P=(e,t,r,n=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==g.all&&(t._proxyFormState[i]=!n||g.all),r&&(r[i]=!0),e[i]}});return i};let C=p?n.useLayoutEffect:n.useEffect;var Y=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty("isPrototypeOf")},D=e=>s(e)||!l(e);let O=(e,t)=>0===t.length&&!Array.isArray(e)&&!Y(e);function R(e,t,r=new WeakMap){if(e===t)return!0;if(D(e)||D(t))return Object.is(e,t);if(o(e)&&o(t))return Object.is(e.getTime(),t.getTime());let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;if(O(e,n)||O(t,i))return Object.is(e,t);if(!n.length&&Array.isArray(e)!==Array.isArray(t))return!1;let a=r.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{let n=new WeakSet;n.add(t),r.set(e,n)}for(let i of n){let n=e[i];if(!(i in t))return!1;if("ref"!==i){let e=t[i];if(o(n)&&o(e)||(u(n)||Array.isArray(n))&&(u(e)||Array.isArray(e))?!R(n,e,r):!Object.is(n,e))return!1}}return!0}function j(e){let t=n.useRef(!1),r=n.useRef(!1),i=n.useRef(void 0),a=n.useRef(0);return a.current++,!r.current&&e&&(r.current=!0,i.current=m(e())),{resyncIfNeeded:n.useCallback((e,n,o)=>{if(e&&(t.current||r.current&&a.current>1)){let e=n();R(i.current,e)||o(e)}t.current=!0},[]),snapshot:n.useCallback((e,t)=>{e&&(i.current=m(t()))},[])}}var I=e=>"string"==typeof e,F=(e,t,r,n,i)=>I(e)?(n&&t.watch.add(e),E(r,e,i)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),E(r,e,E(i,e)))):(n&&(t.watchAll=!0),r);function N(e){let t=T(),{control:r=t,name:i,defaultValue:a,disabled:o,exact:s,compute:l}=e||{},u=n.useRef(a),c=n.useRef(l),d=n.useRef(r),f=n.useRef(i);c.current=l;let h=()=>{let e=r._getWatch(i,u.current);return c.current?c.current(e):e},[p,m]=n.useState(h),_=n.useRef(p),g=n.useCallback(e=>{let t=F(i,r._names,e||r._formValues,!1,u.current);return c.current?c.current(t):t},[r._formValues,r._names,i]),y=n.useCallback(e=>{if(!o){let t=F(i,r._names,e||r._formValues,!1,u.current);if(c.current){let e=c.current(t);R(e,_.current)||(m(e),_.current=e)}else m(t)}},[r._formValues,r._names,o,i]),{resyncIfNeeded:b,snapshot:v}=j(h),M=n.useRef(y);M.current=y;let S=n.useRef(g);S.current=g,C(()=>{d.current===r&&R(f.current,i)?b(!o,()=>S.current(),e=>{m(e),_.current=e}):(d.current=r,f.current=i,M.current());let e=r._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{M.current(e.values)}});return()=>{e(),v(!o,()=>S.current())}},[r,s,i,o,b,v]),n.useEffect(()=>r._removeUnmounted());let w=d.current!==r,E=f.current;return n.useMemo(()=>{if(o)return!1;let e=!w&&!R(E,i);return w||e},[o,w,i,E])?g():p}var H=()=>"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),z=(e,t,r={})=>r.shouldFocus||w(r.shouldFocus)?r.focusName||`${e}.${w(r.focusIndex)?t:r.focusIndex}.`:"",U=e=>({isOnSubmit:!e||e===g.onSubmit,isOnBlur:e===g.onBlur,isOnChange:e===g.onChange,isOnAll:e===g.all,isOnTouch:e===g.onTouched}),B=(e,t,r)=>{if(r)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let r of t.watch)if(e.startsWith(r)&&"."===e.charAt(r.length))return!0;return!1};let $=(e,t,r)=>{for(let n of r||Object.keys(e)){if("_f"===n)continue;let i=r?E(e,n):e[n];if(i){let{_f:e}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],e.name)||e.ref&&t(e.ref,e.name)||$(i,t))return!0}else if((u(i)||Array.isArray(i))&&$(i,t))return!0}}};var V=(e,t,r)=>{let n=E(e,r),i=Array.isArray(n)?n:[];
vendor: 4,339 bytes, line 3
3return k(i,b,t[r]),k(e,r,i),e},W=e=>u(e)&&!Object.keys(e).length,q=e=>{if(!p)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},G=e=>"radio"===e.type,J=e=>e instanceof RegExp,K=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{};let X={value:!1,isValid:!1},Z={value:!0,isValid:!0};var Q=e=>{if(!Array.isArray(e))return X;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return t&&t.checked&&!t.disabled?t.attributes&&"value"in t.attributes?w(t.value)||""===t.value?Z:{value:t.value,isValid:!0}:Z:X};let ee={isValid:!1,value:null};var et=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,ee):ee;function er(e,t,r="validate"){if(I(e)||Array.isArray(e)&&e.every(I)||L(e)&&!e)return{type:r,message:I(e)?e:"",ref:t}}var en=e=>u(e)&&!J(e)?e:{value:e,message:""},ei=async(e,t,r,n,l,c)=>{let{ref:d,refs:f,required:h,maxLength:p,minLength:m,min:_,max:g,pattern:b,validate:v,name:M,valueAsNumber:S,mount:k}=e._f,x=E(r,M);if(!k||t.has(M))return{};let T=f?f[0]:d,P=e=>{if(l&&T.reportValidity){let t=L(e)?"":e||"";f?f.forEach(e=>e.setCustomValidity(t)):T.setCustomValidity(t),T.reportValidity()}},C={},Y=G(d),D=i(d),O=Y||D,R=(S||a(d))&&w(d.value)&&w(x)||q(d)&&""===d.value||""===x||Array.isArray(x)&&!x.length,j=K.bind(null,M,n,C),F=(e,t,r,n=y.maxLength,i=y.minLength)=>{let a=e?t:r;C[M]={type:e?n:i,message:a,ref:d,...j(e?n:i,a)}};if(c?!Array.isArray(x)||!x.length:h&&(!O&&(R||s(x))||L(x)&&!x||D&&!Q(f).isValid||Y&&!et(f).isValid)){let{value:e,message:t}=I(h)?{value:!!h,message:h}:en(h);if(e&&(C[M]={type:y.required,message:t,ref:T,...j(y.required,t)},!n))return P(t),C}if(!R&&(!s(_)||!s(g))){let e,t;let r=en(g),i=en(_);if(s(x)||o(x)||isNaN(x)){let n=d.valueAsDate||new Date(x),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==d.type,s="week"==d.type;I(r.value)&&x&&(e=o?a(x)>a(r.value):s?x>r.value:n>new Date(r.value)),I(i.value)&&x&&(t=o?a(x)<a(i.value):s?x<i.value:n<new Date(i.value))}else{let n=d.valueAsNumber||(x?+x:x);s(r.value)||(e=n>r.value),s(i.value)||(t=n<i.value)}if((e||t)&&(F(!!e,r.message,i.message,y.max,y.min),!n))return P(C[M].message),C}if((p||m)&&!R&&(I(x)||c&&Array.isArray(x))){let e=en(p),t=en(m),r=!s(e.value)&&x.length>+e.value,i=!s(t.value)&&x.length<+t.value;if((r||i)&&(F(r,e.message,t.message),!n))return P(C[M].message),C}if(b&&!R&&I(x)){let{value:e,message:t}=en(b);if(J(e)&&!x.match(e)&&(C[M]={type:y.pattern,message:t,ref:d,...j(y.pattern,t)},!n))return P(t),C}if(v){if(A(v)){let e=er(await v(x,r),T);if(e&&(C[M]={...e,...j(y.validate,e.message)},!n))return P(e.message),C}else if(u(v)){let e={};for(let t in v){if(!W(e)&&!n)break;let i=er(await v[t](x,r),T,t);i&&(e={...i,...j(t,i.message)},n||P(i.message),n&&(C[M]=e))}if(!W(e)&&(C[M]={ref:T,...e},!n))return C}}let N=C[M];return P(!N||N.message),C},ea=e=>Array.isArray(e)?e:[e],eo=(e,t)=>[...e,...ea(t)],es=e=>Array.isArray(e)?e.map(()=>void 0):void 0;function el(e,t,r){return[...e.slice(0,t),...ea(r),...e.slice(t)]}var eu=(e,t,r)=>Array.isArray(e)?(w(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],ec=(e,t)=>[...ea(t),...ea(e)],ed=e=>Array.isArray(e)?e.filter(Boolean):[];function ef(e,t){let r=0,n=[...e];for(let e of t)n.splice(e-r,1),r++;return ed(n).length?n:[]}var eh=(e,t)=>w(t)?[]:ef(e,ea(t).sort((e,t)=>e-t)),ep=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function em(e,t){let r=t.length-1,n=0;for(;n<r;){if(s(e)){e=void 0;break}e=e[t[n]],n++}return e}function e_(e){for(let t in e)if(e.hasOwnProperty(t)&&!w(e[t]))return!1;return!0}function eg(e,t){if(I(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let r=Array.isArray(t)?t:S(t)?[t]:f(t);if(r.some(e=>v.includes(String(e))))return e;let n=1===r.length?e:em(e,r),i=r.length-1,a=r[i];return n&&delete n[a],0!==i&&(u(n)&&W(n)||Array.isArray(n)&&e_(n))&&eg(e,r.slice(0,-1)),e}var ey=(e,t,r)=>(e[t]=r,e);function eb(e){let t=T(),{control:r=t,name:i,keyName:a="id",disabled:o,shouldUnregister:s,rules:l}=e,c=()=>r._getFieldArray(i),[d,f]=n.useState(c),h=n.useRef(r._getFieldArray(i).map(H)),p=n.useRef(!1),{resyncIfNeeded:_,snapshot:y}=j(c),b=n.useRef(r),v=n.useRef(i);o||r._names.array.add(i),n.useMemo(()=>!o&&l&&d.length>=0&&r.register(i,l),[r,i,d.length,l,o]),C(()=>
3{if(o)return;if(b.current===r&&v.current===i)_(!0,c,e=>{f(e),h.current=e.map(H)});else{b.current=r,v.current=i;let e=c();R(d,e)||(f(e),h.current=e.map(H)),y(!0,c)}let e=r._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===i||!t){let r=E(e,i);Array.isArray(r)?(f(r),h.current=r.map(H)):t||(f([]),h.current=[])}}}).unsubscribe;return()=>{e(),y(!0,c)}},[r,i,o,_,y]);let M=n.useCallback(e=>{p.current=!0,r._setFieldArray(i,e)},[r,i]),S=(e,t)=>{if(o)return;let n=ea(m(e)),a=eo(r._getFieldArray(i),n);r._names.focus=z(i,a.length-1,t),h.current=eo(h.current,n.map(H)),M(a),f(a),r._setFieldArray(i,a,eo,{argA:es(e)})},w=(e,t)=>{if(o)return;let n=ea(m(e)),a=ec(r._getFieldArray(i),n);r._names.focus=z(i,0,t),h.current=ec(h.current,n.map(H)),M(a),f(a),r._setFieldArray(i,a,ec,{argA:es(e)})},A=e=>{if(o)return;let t=eh(r._getFieldArray(i),e);h.current=eh(h.current,e),M(t),f(t),Array.isArray(E(r._fields,i))||k(r._fields,i,void 0),r._setFieldArray(i,t,eh,{argA:e})},x=(e,t,n)=>{if(o)return;let a=ea(m(t)),s=el(r._getFieldArray(i),e,a);r._names.focus=z(i,e,n),h.current=el(h.current,e,a.map(H)),M(s),f(s),r._setFieldArray(i,s,el,{argA:e,argB:es(t)})},P=(e,t)=>{if(o)return;let n=r._getFieldArray(i);ep(n,e,t),ep(h.current,e,t),M(n),f(n),r._setFieldArray(i,n,ep,{argA:e,argB:t},!1)},Y=(e,t)=>{if(o)return;let n=r._getFieldArray(i);eu(n,e,t),eu(h.current,e,t),M(n),f(n),r._setFieldArray(i,n,eu,{argA:e,argB:t},!1)},D=(e,t)=>{if(o)return;let n=m(t),a=ey(r._getFieldArray(i),e,n);h.current=[...a].map((t,r)=>t&&r!==e?h.current[r]:H()),M(a),f([...a]),r._setFieldArray(i,a,ey,{argA:e,argB:es(t)})},O=e=>{if(o)return;let t=ea(m(e));h.current=t.map(H),M([...t]),f([...t]),r._setFieldArray(i,[...t],e=>Array.isArray(e)?e.slice(0,t.length):e,{})};return n.useEffect(()=>{if(o){r._state.actionArrayLengths.delete(i);return}r._state.action=!1,r._state.actionArrayLengths.delete(i),B(i,r._names)&&r._subjects.state.next({...r._formState});let e=U(r._options.mode);if(p.current&&(!e.isOnSubmit||r._formState.isSubmitted)&&!U(r._options.reValidateMode).isOnSubmit&&!e.isOnBlur){if(r._options.resolver)r._runSchema([i]).then(e=>{var t,n;r._updateIsValidating([i]);let a=E(e.errors,i),o=E(r._formState.errors,i),s=o&&(o.type||(null===(t=o.root)||void 0===t?void 0:t.type)),l=o&&(o.message||(null===(n=o.root)||void 0===n?void 0:n.message));(o?!a&&s||a&&(s!==a.type||l!==a.message):a&&a.type)&&(a?u(a)&&!Object.keys(a).some(e=>!Number.isNaN(+e))?V(r._formState.errors,{[i]:a},i):k(r._formState.errors,i,a):eg(r._formState.errors,i),r._subjects.state.next({errors:r._formState.errors}))});else{let e=E(r._fields,i);e&&e._f&&ei(e,r._names.disabled,r._formValues,r._options.criteriaMode===g.all,r._options.shouldUseNativeValidation,!0).then(e=>!W(e)&&r._subjects.state.next({errors:V(r._formState.errors,e,i)}))}}p.current&&r._subjects.state.next({name:i,values:m(r._formValues)}),r._names.focus&&$(r._fields,(e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1}),r._names.focus="",r._setValid(),p.current=!1},[d,i,r,o]),n.useEffect(()=>(!o&&(E(r._formValues,i)||r._setFieldArray(i)),()=>{if(r._state.actionArrayLengths.delete(i),o)return;let e=!(r._options.shouldUnregister||s),t=(e,t)=>{let n=E(r._fields,e);n&&n._f&&(n._f.mount=t)};p.current&&e&&r._subjects.state.next({name:i,values:m(r._formValues)}),e?t(i,!1):r.unregister(i)}),[i,r,a,s,o]),{swap:n.useCallback(P,[M,i,r,o]),move:n.useCallback(Y,[M,i,r,o]),prepend:n.useCallback(w,[M,i,r,o]),append:n.useCallback(S,[M,i,r,o]),remove:n.useCallback(A,[M,i,r,o]),insert:n.useCallback(x,[M,i,r,o]),update:n.useCallback(D,[M,i,r,o]),replace:n.useCallback(O,[M,i,r,o]),fields:n.useMemo(()=>d.map((e,t)=>({...e,...L(o)?{disabled:o}:{},[a]:h.current[t]||H()})),[d,a,o])}}let ev=n.createContext(null);ev.displayName="HookFormContext";let eM=()=>n.useContext(ev),eS=({children:e,watch:t,getValues:r,getErrors:i,getFieldState:a,setError:o,clearErrors:s,setValue:l,setValues:u,trigger:c,formState:d,resetField:f,reset:h,resetDefaultValues:p,handleSubmit:m,unregister:_,control:g,register:y,setFocus:b,subscribe:v})=>{let M=n.useMemo(()=>({watch:t,getValues:r,getErrors:i,getFieldState:a,setError:o,clearErrors:s,setValue:l,setValues:u,trigger:c,formState:d,resetField:f,reset:h,resetDefaultValues:p,handleSubmit:m,unregister:_,control:g,register:y,setFocus:b,subscribe:v}),[s,g,d,i,a,r,m,y,h,p,f,o,b,l,u,v,c,_,t]);return n.createElement(ev.Provider,{value:M},n.createElement(x.Provider,{value:M.control},e))};var ew=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function eE(e,t){let r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n],a=t[n];if(i&&u(i)&&a){let e=eE(i,a);u(e)&&(r[n]=e)}else e[n]&&(r[n]=a)}return r}let eL=(e,t)=>null!==e&&l(e)&&Object.prototype.hasOwnProperty.call(e,t);var eA=(e,t)=>
3{if(!t)return!1;let r=e;for(let n of S(t)?[t]:f(t)){if(!eL(r,n))return eL(e,t);r=r[n]}return!0},ek=e=>"select-multiple"===e.type,ex=e=>G(e)||i(e),eT=e=>q(e)&&e.isConnected;function eP(e){return Array.isArray(e)||u(e)}function eC(e,t,r="",n=[]){for(let i in e){let a=r?`${r}.${i}`:i,o=e[i];eP(o)&&eP(E(t,a))?eC(o,t,a,n):n.push(a)}return n}var eY=e=>{for(let t in e)if(A(e[t]))return!0;return!1};function eD(e){return Array.isArray(e)||u(e)&&!eY(e)}function eO(e){return!!(e&&"_f"in e)}function eR(e){return Array.isArray(e)?!e.some(e=>!w(e)):!Object.keys(e).length}function ej(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function eI(e,t={},r){for(let n in e){let i=e[n],a=r&&r[n];!eD(i)||Array.isArray(i)&&eO(a)?w(i)||(t[n]=!0):(t[n]=Array.isArray(i)?[]:{},eI(i,t[n],a),eR(t[n])&&ej(t,n))}return t}function eF(e,t,r,n){for(let i in r||(r=eI(t,{},n)),e){let a=e[i],o=n&&n[i];!eD(a)||Array.isArray(a)&&eO(o)?R(a,t[i])?ej(r,i):r[i]=!0:(w(t)||D(r[i])?r[i]=eI(a,Array.isArray(a)?[]:{},o):eF(a,s(t)?{}:t[i],r[i],o),eR(r[i])&&ej(r,i))}return r}var eN=(e,t)=>{let r=t.split("."),n=[],i=r[0];for(let t=1;t<r.length;i+="."+r[t++])!isNaN(+r[t])&&e.has(i)&&n.push(`${i}.${r[t]}`);return n},eH=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>w(e)?e:t?""===e?NaN:e?+e:e:r&&I(e)?new Date(e):n?n(e):e;function ez(e){let t=e.ref;return a(t)?t.files:G(t)?et(e.refs).value:ek(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?Q(e.refs).value:eH(t.value,e)}var eU=(e,t,r,n)=>{let i={};for(let r of e){let e=E(t,r);e&&k(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},eB=e=>w(e)?e:J(e)?e.source:u(e)?J(e.value)?e.value.source:e.value:e;let e$="AsyncFunction";var eV=e=>{if(!e||!e.validate)return!1;if(A(e.validate))return e.validate.constructor.name===e$;if(u(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===e$)return!0}return!1},eW=e=>e.mount&&(e.required||!w(e.required)&&!1!==e.required||!w(e.min)||!w(e.max)||!w(e.maxLength)||!w(e.minLength)||e.pattern||e.validate);function eq(e,t,r){let n=E(e,r);if((null==n?void 0:n.type)||(null==n?void 0:n.message)||Array.isArray(n))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),a=E(t,n),o=E(e,n);if(a&&!Array.isArray(a)&&r!==n)break;if(o&&o.type)return{name:n,error:o};if(o&&o.root&&o.root.type)return{name:`${n}.root`,error:o.root};i.pop()}return{name:r}}var eG=(e,t,r,n)=>{r(e);let i=Object.keys(e).filter(e=>"name"!==e);return!i.length||n&&i.length>=Object.keys(t).length||i.find(e=>t[e]===(!n||g.all))},eJ=(e,t,r)=>!e||!t||e===t||ea(e).some(e=>e&&(r?e===t||e.startsWith(t+"."):e.startsWith(t)||t.startsWith(e))),eK=(e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?!n.isOnChange:!i.isOnChange)||e),eX=(e,t)=>{let r=E(e,t);ed(r).length||(null==r?void 0:r.root)||eg(e,t)};let eZ={mode:g.onSubmit,reValidateMode:g.onChange,shouldFocusError:!0},eQ="form",e0=(e,t)=>{for(let r in e)r in t||delete e[r];Object.assign(e,t)},e1={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function e2(e={}){let t={...eZ,...e},r={...m(e1),isLoading:A(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},n={},l=(u(t.defaultValues)||u(t.values))&&m(t.defaultValues||t.values)||{},d=t.shouldUnregister?{}:m(l),v={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},M={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},x={},T={},P=0,C=U(t.mode),Y=U(t.reValidateMode),D={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},O={...D},j={...O},N=(...e)=>e.some(e=>O[e]||j[e]),H={array:ew(),state:ew()},z=0,G=0,J=t.criteriaMode===g.all,K=(e,t)=>r=>{clearTimeout(T[e]),T[e]=setTimeout(t,r)},X=e=>{clearTimeout(T[e]),delete T[e],delete x[e]},Z=e=>{X(e);let t=`${e}.`;for(let e of Object.keys(x))e.startsWith(t)&&X(e)},Q=async e=>{if(!v.keepIsValid&&!t.disabled&&(N("isValid")||e)){let e;let i=++z;t.resolver?(e=W((await eh()).errors),i===z&&ee()):e=await e_({fields:n,onlyCheckValid:!0,eventType:_.VALID}),i===z&&e!==r.isValid&&H.state.next({isValid:e})}},ee=(e,n)=>{!t.disabled&&N("isValidating","validatingFields")&&((e||M.mount).forEach(e
3=>{e&&(n?k(r.validatingFields,e,n):eg(r.validatingFields,e))}),H.state.next({validatingFields:r.validatingFields,isValidating:!W(r.validatingFields)}))},et=()=>{r.dirtyFields=eF(l,d,void 0,n)},er=(e,i=[],a,o,s=!0,l=!0)=>{if(o&&a&&!t.disabled){v.action=!0;let t=E(n,e);if(v.actionArrayLengths.has(e)||v.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),l&&Array.isArray(t)){let r=a(t,o.argA,o.argB);s&&k(n,e,r)}let u=E(r.errors,e);if(l&&Array.isArray(u)){let t=u.root,n=a(u,o.argA,o.argB)||u;t&&(n.root=t),s&&k(r.errors,e,n),eX(r.errors,e)}let c=E(r.touchedFields,e);if(N("touchedFields")&&l&&Array.isArray(c)){let t=a(c,o.argA,o.argB);s&&k(r.touchedFields,e,t)}N("dirtyFields")&&et(),H.state.next({name:e,isDirty:eb(e,i),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else k(d,e,i)},en=(e,t)=>{k(r.errors,e,t),r.errors={...r.errors},H.state.next({errors:r.errors})},eo=e=>{Object.keys(x).forEach(X),r.errors=e,H.state.next({errors:r.errors,isValid:!1})},es=e=>{let t=S(e)?[e]:f(e),r=d,n=l;for(let e=0;e<t.length-1;e++){let i=t[e];if(r=s(r)?r:r[i],n=s(n)?n:n[i],null===r&&null!==n)return!0}return!1},el=e=>{if(!v.actionArrayLengths.size)return!1;let t=S(e)?[e]:f(e),r=d,n="",i=-1,a=0;for(let e=0;e<t.length&&!s(r);e++){let o=t[e];if(n=n?`${n}.${o}`:o,Array.isArray(r)&&+o>=r.length)return -1!==i&&(e!==i||+o<a);if(v.actionArrayLengths.has(n)&&(i=e+1,a=v.actionArrayLengths.get(n)),w(r=r[o])&&-1!==i&&e>i&&+t[i]<a)return!0}return!1},eu=(t,i,a,o)=>{let s=E(n,t);if(s){if(es(t)||el(t))return;let n=w(E(d,t)),u=E(d,t,w(a)?E(l,t):a);w(u)||o&&o.defaultChecked||i?k(d,t,i?u:ez(s._f)):eS(t,u),v.mount&&!v.action&&(Q(),n&&r.isDirty&&N("isDirty")&&!eb()&&(r.isDirty=!1,H.state.next({...r})),e.shouldUnregister&&n&&!w(E(d,t))&&B(t,M)&&(v.watch=!0))}},ec=(e,i,a,o,s)=>{let u=!1,c=!1,f={name:e};if(!t.disabled||!0===o){if(!a||o){let t=R(E(l,e),i);N("isDirty")&&(c=r.isDirty,r.isDirty=f.isDirty=!t||eb(),u=c!==f.isDirty),c=!!E(r.dirtyFields,e),t!==r.isDirty?e0(r.dirtyFields,eF(l,d,void 0,n)):t?eg(r.dirtyFields,e):k(r.dirtyFields,e,!0),f.dirtyFields=r.dirtyFields,u=u||N("dirtyFields")&&!t!==c}if(a){let t=E(r.touchedFields,e);t||(k(r.touchedFields,e,a),f.touchedFields=r.touchedFields,u=u||N("touchedFields")&&t!==a)}u&&s&&H.state.next(f)}return u?f:{}},ef=(e,n,i,a)=>{let o=E(r.errors,e),s=N("isValid")&&L(n)&&r.isValid!==n;if(t.delayError&&i?(x[e]=K(e,()=>en(e,i)),x[e](t.delayError)):(X(e),i?k(r.errors,e,i):eg(r.errors,e),r.errors={...r.errors}),(i?!R(o,i):o)||!W(a)||s){let t={...a,...s&&L(n)?{isValid:n}:{},errors:r.errors,name:e};H.state.next(t)}},eh=async e=>(ee(e,!0),await t.resolver(d,t.context,eU(e||M.mount,n,t.criteriaMode,t.shouldUseNativeValidation))),ep=async e=>{let t=G,{errors:i}=await eh(e);if(t!==G)return i;if(ee(e),e){for(let t of e){let e=E(i,t);X(t);let a=M.array.has(t)&&u(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e))),o=E(n,t),s=u(o)&&Object.keys(o).some(e=>"_f"!==e);a?V(r.errors,{[t]:e},t):(null==e?void 0:e.type)||(null==e?void 0:e.message)||Array.isArray(e)||u(e)&&s?k(r.errors,t,e):eg(r.errors,t)}r.errors={...r.errors}}else Object.keys(x).forEach(X),r.errors=i;return i},em=async({name:t,eventType:n})=>{if(e.validate){let i=await e.validate({formValues:d,formState:r,name:t,eventType:n});if(u(i))for(let e in i){let t=i[e];t&&e3(`${eQ}.${e}`,{message:I(t.message)?t.message:"",type:t.type||y.validate})}else I(i)||!i?e3(eQ,{message:i||"",type:y.validate}):e5(eQ);return i}return!0},e_=async({fields:n,onlyCheckValid:i,name:a,eventType:o,context:s={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(s.runRootValidation=!0,!await em({name:a,eventType:o})&&(s.valid=!1,i)))return s.valid;for(let a in n){let l=n[a];if(l){let{_f:n,...u}=l;if(n){let a=M.array.has(n.name),o=l._f&&eV(l._f),u=N("isValidating","validatingFields");o&&u&&ee([n.name],!0);let c=await ei(l,M.disabled,d,J,t.shouldUseNativeValidation&&!i,a);if(o&&u&&ee([n.name]),c[n.name]&&(s.valid=!1,i)||(i||(X(n.name),E(c,n.name)?a?V(r.errors,c,n.name):k(r.errors,n.name,c[n.name]):eg(r.errors,n.name)),e.shouldUseNativeValidation&&c[n.name]))break}W(u)||await e_({context:s,onlyCheckValid:i,fields:u,name:a,eventType:o})}}return s.valid},ey=()=>{for(let e of M.unMount){let t=E(n,e);t&&(t._f.refs?t._f.refs.every(e=>!eT(e)):!eT(t._f.ref))&&e6(e)}M.unMount=new Set},eb=(e,t)=>(e&&t&&k(d,e,t),!R(v.mount?d:l,l)),ev=(e,t,r)=>F(e,M,{...v.mount?d:w(t)||I(e)?l:t},r,t),eM=e=>ed(E(v.mount?d:l,e,t.shouldUnregister?E(l,e,[]):[])),eS=(e,t,r={},o=!1,l=!1,u=!1)=>{let c=E(n,e),f=t;if(c){let r=c._f;!r||(r.disabled||k(d,e,eH(t,r)),f=q(r.ref)&&s(t)?"":t,ek(r.ref)?[...r.ref.options].forEac
vendor: 9,913 bytes, line 3
3h(e=>e.selected=f.includes(e.value)):r.refs?i(r.ref)?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(f)?e.checked=!!f.find(t=>t===e.value):e.checked=f===e.value||!!f)}):r.refs.forEach(e=>e.checked=e.value===f):a(r.ref)?r.ref.value="":(r.ref.value=f,r.ref.type||l||u||H.state.next({name:e,values:o?d:m(d)})))}(r.shouldDirty||r.shouldTouch)&&ec(e,c&&c._f&&!c._f.disabled&&(c._f.valueAsNumber||c._f.valueAsDate||c._f.setValueAs)?eH(t,c._f):f,r.shouldTouch,r.shouldDirty,!l),r.shouldValidate&&ej(e,{delayError:r.delayError})},eL=(e,t,r,i=!1,a=!1,s=!1)=>{for(let l in M.array.has(e)&&H.array.next({name:e,values:i?d:m(d)}),t){if(!t.hasOwnProperty(l))continue;let c=t[l],d=e+"."+l,f=E(n,d);(M.array.has(e)||u(c)||f&&!f._f)&&!o(c)?eL(d,c,r,i,a,s):eS(d,c,r,i,a,s)}},eP=(e,t,i,a,o=!1)=>{let l=E(n,e),u=M.array.has(e),c=a?t:m(t),f=R(E(d,e),c);if(f||k(d,e,c),u)H.array.next({name:e,values:a?d:m(d)}),N("isDirty","dirtyFields")&&i.shouldDirty&&(et(),o||H.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:eb(e,c)}));else{let t=Array.isArray(c)&&!c.length||W(c),r=!f&&!o;!l||l._f||s(c)||t?eS(e,c,i,a,o,r):eL(e,c,i,a,o,r)}if(!f&&!o){let t=B(e,M),n=a?d:m(d);if(H.state.next({...t&&r,name:v.mount||t?e:void 0,values:n}),!u)for(let t of eN(M.array,e))H.state.next({name:t,values:n})}},eY=(e,t,r={})=>eP(e,t,r,!1),eD=(e,t={})=>{let n=A(e)?e(d):e;if(!R(d,n)){for(let e of(d={...d,...n},M.mount))eA(n,e)&&eP(e,E(n,e),t,!0,!0);H.state.next({...r,name:void 0,type:void 0,...P?{values:d}:{}}),t.shouldValidate&&Q()}},eO=async i=>{v.mount=!0;let a=i.target,s=a.name,l=!0,u=E(n,s),f=e=>{l=Number.isNaN(e)||o(e)&&isNaN(e.getTime())||R(e,E(d,s,e))};if(u){let o,h;let p=a.type?ez(u._f):c(i),g=i.type===_.BLUR||i.type===_.FOCUS_OUT,y=!eW(u._f)&&!e.validate&&!t.resolver&&!E(r.errors,s)&&!u._f.deps,b=y||eK(g,E(r.touchedFields,s),r.isSubmitted,Y,C),v=B(s,M,g);if(k(d,s,m(p)),g){if(!a||!a.readOnly){u._f.onBlur&&u._f.onBlur(i);let e=x[s];e&&e(0)}}else u._f.onChange&&u._f.onChange(i);let S=ec(s,p,g),w=!W(S)||v;if(g||H.state.next({name:s,type:i.type,...P?{values:m(d)}:{}}),b)return(!y||!r.isValid)&&N("isValid")&&("onBlur"===t.mode?g&&Q():g||Q()),w&&H.state.next({name:s,...v?{}:S});if(!t.resolver&&e.validate&&await em({name:s,eventType:i.type}),!g&&v&&H.state.next({...r}),t.resolver){let{errors:e}=await eh([s]);if(ee([s]),f(p),!l){W(S)||H.state.next(S);return}let t=eq(r.errors,n,s),i=eq(e,n,t.name||s);o=i.error,s=i.name,h=W(e)}else ee([s],!0),o=(await ei(u,M.disabled,d,J,t.shouldUseNativeValidation))[s],ee([s]),f(p),l&&(o?h=!1:N("isValid")&&(h=await e_({fields:n,onlyCheckValid:!0,name:s,eventType:i.type})));l&&(u._f.deps&&(!Array.isArray(u._f.deps)||u._f.deps.length>0)&&ej(u._f.deps),ef(s,h,o,S))}},eR=(e,t)=>{if(E(r.errors,t)&&e.focus)return e.focus(),1},ej=async(e,i={})=>{let a,o;let s=ea(e);if(t.resolver){let t=G,r=await ep(w(e)?e:s);if(a=W(r),o=e?!s.some(e=>E(r,e)):a,t!==G)return o}else e?((o=(await Promise.all(s.map(async e=>{let t=E(n,e);return await e_({fields:t&&t._f?{[e]:t}:t,eventType:_.TRIGGER})}))).every(Boolean))||r.isValid)&&Q():o=a=await e_({fields:n,name:e,eventType:_.TRIGGER});if(i.delayError&&t.delayError&&I(e)){let n=E(r.errors,e);n?(eg(r.errors,e),x[e]=K(e,()=>en(e,n)),x[e](t.delayError)):X(e)}if(i.shouldTouch)for(let t of e?s:M.mount)M.array.has(t)||k(r.touchedFields,t,!0);return H.state.next({...!I(e)||N("isValid")&&a!==r.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},...i.shouldTouch&&N("touchedFields")?{touchedFields:r.touchedFields}:{},errors:r.errors}),i.shouldFocus&&!o&&$(n,eR,e?s:M.mount),o},eI=(e,t)=>{let n={...v.mount?d:l};return t&&(n=eE(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),w(e)?n:I(e)?E(n,e):e.map(e=>E(n,e))},e$=e=>w(e)?{...r.errors}:I(e)?E(r.errors,e):e.map(e=>E(r.errors,e)),e2=(e,t)=>{let n=t||r,i=E(n.errors,e);return{invalid:!!i,isDirty:!!E(n.dirtyFields,e),error:i,isValidating:!!E(n.validatingFields,e),isTouched:!!E(n.touchedFields,e)}},e5=e=>{let t=e?ea(e):void 0;t?t.forEach(e=>{Z(e),eg(r.errors,e),H.state.next({name:e,errors:r.errors})}):(Object.keys(x).forEach(X),r.errors={},H.state.next({errors:r.errors}))},e3=(e,t,i)=>{X(e);let a=(E(n,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:l,types:u,...c}=E(r.errors,e)||{};k(r.errors,e,{...c,...t,ref:a}),H.state.next({name:e,errors:r.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},e4=(e,t)=>{if(A(e)){P++;let{unsubscribe:r}=H.state.subscribe({next:r=>"values"in r&&e(r.values||ev(void 0,t),r)}),n=!1;return{unsubscribe:()=>{n||(n=!0,P--,r())}}}return ev(e,t,!0)},e7=e=>{var t;let n=!!(null===(t=e.formState)||void 0===t?void 0:t.values);n&&P++;let{unsubscribe:i}=H.state.subscribe({next:t=>{if(eJ(e.name,t.name,e.exact)&&eG(t,e.formState||O,tl,e.reRenderRoot)){let n={...d};e.callback({values:n,...r,...t,defaultValues:l})}}});if(!n)return i;let a=!1;return()=>{a||(a=!0,P--,i())}},e8=e=>(v.mount=!0,j={...j,...e.formState},e7({...e,formState:{...D,...e.formState}})),e6=(e,i={})=>{for(let a of e?ea(e):M.mount)M.mount.delete(a),M.array.delete(a),M.disabled.delete(a),i.keepValue||(eg(n,a),eg(d,a)),i.keepError||(Z(a),eg(r.errors,a)),i.keepDirty||eg(r.dirtyFields,a),i.keepTouched||eg(r.touchedFields,a),i.keepIsValidating||eg(r.validatingFields,a),t.shouldUnregister||i.keepDefaultValue||eg(l,a);P&&H.state.next({values:m(d)}),H.state.next({...r,...i.keepDirty?{}:{isDirty:eb()},...i.keepIsValidating?{}:{isValidating:!W(r.validatingFields)}}),i.keepIsValid||Q()},e9=({disabled:e,name:t})=>{if(L(e)&&v.mount||e||M.disabled.has(t)){let r=!!e!==M.disabled.has(t);e?M.disabled.add(t):M.disabled.delete(t),r&&v.mount&&!v.action&&Q()}},te=(e,r={})=>{let i=E(n,e),a=L(r.disabled)||L(t.disabled),o=!M.registerName.has(e)&&i&&i._f&&!i._f.mount;return k(n,e,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:e}},name:e,mount:!0,...r}}),M.mount.add(e),i&&!o?e9({disabled:L(r.disabled)?r.disabled:t.disabled,name:e}):eu(e,!0,r.value),{...a?{disabled:r.disabled||t.disabled}:{},...t.progressive?{required:!!r.required,min:eB(r.min),max:eB(r.max),minLength:eB(r.minLength),maxLength:eB(r.maxLength),pattern:eB(r.pattern)}:{},name:e,onChange:eO,onBlur:eO,ref:a=>{if(a){M.registerName.add(e),te(e,r),M.registerName.delete(e),i=E(n,e);let t=w(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,o=ex(t),s=i._f.refs||[];if(o?s.find(e=>e===t):t===i._f.ref)return;let u={...i._f};o?(u.refs=[...s.filter(eT),t,...Array.isArray(E(l,e))?[{}]:[]],u.ref={type:t.type,name:e}):(u.ref=t,delete u.refs),k(n,e,{_f:u}),eu(e,!1,void 0,t)}else(i=E(n,e,{}))._f&&(i._f.mount=!1),(t.shouldUnregister||r.shouldUnregister)&&!(h(M.array,e)&&v.action)&&M.unMount.add(e)}}},tt=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&$(n,eR,M.mount),tr=e=>{L(e)&&(H.state.next({disabled:e}),$(n,(t,r)=>{let i=E(n,r);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0))},tn=(e,i)=>async a=>{let o,s;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let l=m(d);if(H.state.next({isSubmitting:!0}),t.resolver){let e=G,{errors:t,values:n}=await eh();if(e!==G)return;ee(),Object.keys(x).forEach(X),r.errors=t,l=m(n)}else await e_({fields:n,eventType:_.SUBMIT}),eg(r.errors,b);if(M.disabled.size)for(let e of M.disabled)eg(l,e);if(W(r.errors)){H.state.next({errors:{}});try{o=await e(l,a)}catch(e){s=e}}else i&&await i({...r.errors},a),tt(),setTimeout(tt);if(H.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:W(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s;return o},ti=(e,t={})=>{E(n,e)&&(eg(r.validatingFields,e),w(t.defaultValue)?eY(e,m(E(l,e))):(eY(e,t.defaultValue),k(l,e,m(t.defaultValue))),t.keepTouched||eg(r.touchedFields,e),t.keepDirty||(eg(r.dirtyFields,e),r.isDirty=t.defaultValue?eb(e,m(E(l,e))):eb()),t.keepError||(X(e),eg(r.errors,e),Q()),H.state.next({...r,isValidating:!W(r.validatingFields)}))},ta=(e,i={})=>{G++;let a=e?m(e):l,o=m(a),s=W(e),u=o,c=n;if(Object.keys(x).forEach(X),i.keepDefaultValues||(l=a),!i.keepValues){if(i.keepDirtyValues)for(let e of new Set([...M.mount,...eC(eF(l,d,void 0,c),r.dirtyFields)])){let t=E(r.dirtyFields,e),n=E(d,e),i=E(u,e);t&&!w(n)?k(u,e,n):t||w(i)||eY(e,i)}else{if(p&&w(e))for(let e of M.mount){let t=E(n,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(q(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(i.keepFieldsRef)for(let e of M.mount)eY(e,E(u,e));else n={}}if(t.shouldUnregister){if(d=i.keepDefaultValues?m(l):{},i.keepFieldsRef)for(let e of M.mount)k(d,e,E(u,e))}else d=m(u);H.array.next({values:{...u}}),H.state.next({name:void 0,type:void 0,values:{...u}})}M={mount:i.keepDirtyValues?M.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},v.mount=!O.isValid||!!i.keepIsValid||!!i.keepDirtyValues||!t.shouldUnregister&&!W(u),v.watch=!!t.shouldUnregister,v.keepIsValid=!!i.keepIsValid,v.action=!1,v.actionArrayLengths.clear(),i.keepErrors||(r.errors={}),H.state.next({submitCount:i.keepSubmitCount?r.submitCount:0,isDirty:!s&&(i.keepDirty?r.isDirty:i.keepValues?eb():!!(i.keepDefaultValues&&!R(e,l))),isSubmitted:!!i.keepIsSubmitted&&r.isSubmitted,dirtyFields:s?{}:i.keepDirtyValues?i.keepDefaultValues&&d?eF(l,d,void 0,c):r.dirtyFields:i.keepDefaultValues&&e?eF(l,e,void 0,c):i.keepDirty?r.dirtyFields:i.keepValues?eF(l,d,void 0,c):{},touchedFields:i.keepTouched?r.touchedFields:{},...i.keepIsValidating||!r.isValidating&&W(r.validatingFields)?null:{validatingFields:{},isValidating:!1},errors:i.keepErrors?r.errors:{},isSubmitSuccessful:!!i.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:l})},to=(e,r)=>ta(A(e)?e(d):e,{...t.resetOptions,...r}),ts=(e,t={})=>{let r=E(n,e),i=r&&r._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&A(e.select)&&e.select()})}},tl=e=>{let{name:t,type:n,values:i,...a}=e;r={...r,...a}};H.state.subscribe({next:tl});let tu=(e,t={})=>
3{if(l=m(e),!t.keepDirty){let e=eF(l,d,void 0,n);r.dirtyFields=e,r.isDirty=!W(e)}t.keepIsValid||Q(),H.state.next({...r,defaultValues:l})},tc={control:{register:te,unregister:e6,getFieldState:e2,handleSubmit:tn,setError:e3,_subscribe:e7,_runSchema:eh,_updateIsValidating:ee,_focusError:tt,_getWatch:ev,_getDirty:eb,_setValid:Q,_setFieldArray:er,_setDisabledField:e9,_setErrors:eo,_getFieldArray:eM,_reset:ta,_resetDefaultValues:()=>A(t.defaultValues)&&t.defaultValues().then(e=>{to(e,t.resetOptions),H.state.next({isLoading:!1})}),_removeUnmounted:ey,_disableForm:tr,_subjects:H,_proxyFormState:O,get _fields(){return n},get _formValues(){return d},get _state(){return v},set _state(value){v=value},get _defaultValues(){return l},get _names(){return M},set _names(value){M=value},get _formState(){return r},get _options(){return t},set _options(value){C=U((t={...t,...value}).mode),Y=U(t.reValidateMode),J=t.criteriaMode===g.all}},subscribe:e8,trigger:ej,register:te,handleSubmit:tn,watch:e4,setValue:eY,setValues:eD,getValues:eI,getErrors:e$,reset:to,resetField:ti,resetDefaultValues:tu,clearErrors:e5,unregister:e6,setError:e3,setFocus:ts,getFieldState:e2};return{...tc,formControl:tc}}function e5(e={}){let t=n.useRef(void 0),r=n.useRef(void 0),i=n.useRef(e.formControl),[a,o]=n.useState(()=>({...m(e1),isLoading:A(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:A(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&i.current!==e.formControl){if(i.current=e.formControl,e.formControl)t.current={...e.formControl,formState:a},e.defaultValues&&!A(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...n}=e2(e);t.current={...n,formState:a}}}let s=t.current.control;s._options=e;let l=()=>({...s._formState,defaultValues:s._defaultValues}),{resyncIfNeeded:u,snapshot:c}=j(l);return C(()=>{u(!0,l,o);let e=s._subscribe({formState:s._proxyFormState,callback:()=>o({...s._formState,defaultValues:s._defaultValues}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),s._formState.isReady=!0,()=>{e(),c(!0,l)}},[s,u,c]),n.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),n.useEffect(()=>{e.mode&&(s._options.mode=e.mode),e.reValidateMode&&(s._options.reValidateMode=e.reValidateMode)},[s,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(s._setErrors(e.errors),s._focusError())},[s,e.errors]),n.useEffect(()=>{e.shouldUnregister&&s._subjects.state.next({values:s._getWatch()})},[s,e.shouldUnregister]),n.useEffect(()=>{if(s._proxyFormState.isDirty){let e=s._getDirty();e!==a.isDirty&&s._subjects.state.next({isDirty:e})}},[s,a.isDirty]),n.useEffect(()=>{var t;e.values&&!R(e.values,r.current)?(s._reset(e.values,{keepFieldsRef:!0,...s._options.resetOptions}),(null===(t=s._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||s._setValid(),r.current=e.values,o(e=>({...e}))):s._resetDefaultValues()},[s,e.values]),n.useEffect(()=>{s._state.mount||(s._setValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),t.current.formState=n.useMemo(()=>P(a,s),[s,a]),t.current}},6117:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(7294),i=r(5697),a=r(9211),o=r(4886),s=r(512),l=r(8776),u=r(2473),c=Object.prototype.hasOwnProperty;function d(e,t,r){for(r of e.keys())if(f(r,t))return r}function f(e,t){var r,n,i;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&f(e[n],t[n]););return -1===n}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if((i=n)&&"object"==typeof i&&!(i=d(t,i))||!t.has(i))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if((i=n[0])&&"object"==typeof i&&!(i=d(t,i))||!f(n[1],t.get(i)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return -1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return -1===n}if(!r||"object"==typeof e){for(r in n=0,e)if(c.call(e,r)&&++n&&!c.call(t,r)||!(r in t)||!f(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!=e&&t!=t}var h=r(2191),p=r(2956),m=r(1453),_=r(4210),g={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},y=r(2782),b=r(5777),v=r(1860),M=function(e,t,r,n){function i(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?r(e.value):i(e.value).then(o,s)}l((n=n.apply(e,t||[])).next())})},S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let{PDFDataRangeTransport:w}=h.default,E=(e,t)=>{switch(t){case g.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case g.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}};function L(e){return"object"==typeof e&&null!==e&&("data"in e||"range"in e||"url"in e)}let A=(0,n.forwardRef)(function(e,t){var{children:r,className:i,error:c="Failed to load PDF file.",externalLinkRel:d,externalLinkTarget:g,file:v,inputRef:A,imageResourcesPath:k,loading:x="Loading PDF…",noData:T="No PDF file specified.",onItemClick:P,onLoadError:C,onLoadProgress:Y,onLoadSuccess:D,onPassword:O=E,onSourceError:R,onSourceSuccess:j,options:I,renderMode:F,rotate:N}=e,H=S(e,["children","className","error","externalLinkRel","externalLinkTarget","file","inputRef","imageResourcesPath","loading","noData","onItemClick","onLoadError","onLoadProgress","onLoadSuccess","onPassword","onSourceError","onSourceSuccess","options","renderMode","rotate"]);let[z,U]=(0,b.Z)(),{value:B,error:$}=z,[V,W]=(0,b.Z)(),{value:q,error:G}=V,J=(0,n.useRef)(new _.Z),K=(0,n.useRef)([]),X=(0,n.useRef)(),Z=(0,n.useRef)();(0,n.useEffect)(()=>{v&&v!==X.current&&L(v)&&(u(!f(v,X.current),'File prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "file" prop.'),X.current=v)},[v]),(0,n.useEffect)(()=>{I&&I!==Z.current&&(u(!f(I,Z.current),'Options prop passed to <Document /> changed, but it\'s equal to previous one. This might result in unnecessary reloads. Consider memoizing the value passed to "options" prop.'),Z.current=I)},[I]);let Q=(0,n.useRef)({scrollPageIntoView:e=>{let{dest:t,pageNumber:r,pageIndex:n=r-1}=e;if(P){P({dest:t,pageIndex:n,pageNumber:r});return}let i=K.current[n];if(i){i.scrollIntoView();return}u(!1,`An internal link leading to page ${r}
3 was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document> and handle navigating by yourself or ensure that all pages are rendered within <Document>.`)}});function ee(){j&&j()}function et(){$&&(u(!1,$.toString()),R&&R($))}function er(){U({type:"RESET"})}(0,n.useImperativeHandle)(t,()=>({linkService:J,pages:K,viewer:Q}),[]),(0,n.useEffect)(er,[v,U]);let en=(0,n.useCallback)(()=>M(this,void 0,void 0,function*(){if(!v)return null;if("string"==typeof v)return(0,y.gJ)(v)?{data:(0,y.us)(v)}:((0,y.tN)(),{url:v});if(v instanceof w)return{range:v};if((0,y.eP)(v))return{data:v};if(y.jU&&(0,y.Lj)(v))return{data:yield(0,y.eR)(v)};if((0,l.Z)("object"==typeof v,"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,l.Z)(L(v),"Invalid parameter object: need either .data, .range or .url"),"url"in v&&"string"==typeof v.url){if((0,y.gJ)(v.url)){let{url:e}=v,t=S(v,["url"]);return Object.assign({data:(0,y.us)(e)},t)}(0,y.tN)()}return v}),[v]);function ei(){q&&(D&&D(q),K.current=Array(q.numPages),J.current.setDocument(q))}function ea(){G&&(u(!1,G.toString()),C&&C(G))}function eo(){W({type:"RESET"})}function es(){if(!B)return;let e=Object.assign(Object.assign({},I),{isEvalSupported:!1}),t=Object.assign(Object.assign({},B),e),r=h.default.getDocument(t);Y&&(r.onProgress=Y),O&&(r.onPassword=O);let n=r;return n.promise.then(e=>{W({type:"RESOLVE",value:e})}).catch(e=>{n.destroyed||W({type:"REJECT",error:e})}),()=>{n.destroy()}}function el(){J.current.setViewer(Q.current),J.current.setExternalLinkRel(d),J.current.setExternalLinkTarget(g)}function eu(e,t){K.current[e]=t}function ec(e){delete K.current[e]}(0,n.useEffect)(()=>{let e=(0,o.Z)(en());return e.promise.then(e=>{U({type:"RESOLVE",value:e})}).catch(e=>{U({type:"REJECT",error:e})}),()=>{(0,y.LJ)(e)}},[en,U]),(0,n.useEffect)(()=>{if(void 0!==B){if(!1===B){et();return}ee()}},[B]),(0,n.useEffect)(eo,[W,B]),(0,n.useEffect)(es,[I,W,B]),(0,n.useEffect)(()=>{if(void 0!==q){if(!1===q){ea();return}ei()}},[q]),(0,n.useEffect)(el,[d,g]);let ed=(0,n.useMemo)(()=>({imageResourcesPath:k,linkService:J.current,onItemClick:P,pdf:q,registerPage:eu,renderMode:F,rotate:N,unregisterPage:ec}),[k,P,q,F,N]),ef=(0,n.useMemo)(()=>(0,a.ZP)(H,()=>q),[H,q]);function eh(){return n.createElement(p.Z.Provider,{value:ed},r)}function ep(){return v?null==q?n.createElement(m.Z,{type:"loading"},"function"==typeof x?x():x):!1===q?n.createElement(m.Z,{type:"error"},"function"==typeof c?c():c):eh():n.createElement(m.Z,{type:"no-data"},"function"==typeof T?T():T)}return n.createElement("div",Object.assign({className:(0,s.Z)("react-pdf__Document",i),ref:A,style:{"--scale-factor":"1"}},ef),ep())}),k=i.oneOfType([i.func,i.node]);A.propTypes=Object.assign(Object.assign({},v.Gg),{children:i.node,className:v.$n,error:k,externalLinkRel:i.string,externalLinkTarget:i.oneOf(["_self","_blank","_parent","_top"]),file:v.zE,imageResourcesPath:i.string,inputRef:v.dq,loading:k,noData:k,onItemClick:i.func,onLoadError:i.func,onLoadProgress:i.func,onLoadSuccess:i.func,onPassword:i.func,onSourceError:i.func,onSourceSuccess:i.func,options:i.shape({canvasFactory:i.any,canvasMaxAreaInBytes:i.number,cMapPacked:i.bool,CMapReaderFactory:i.any,cMapUrl:i.string,disableAutoFetch:i.bool,disableFontFace:i.bool,disableRange:i.bool,disableStream:i.bool,docBaseUrl:i.string,enableXfa:i.bool,filterFactory:i.any,fontExtraProperties:i.bool,httpHeaders:i.object,isEvalSupported:i.bool,isOffscreenCanvasSupported:i.bool,length:i.number,maxImageSize:i.number,ownerDocument:i.any,password:i.string,pdfBug:i.bool,rangeChunkSize:i.number,StandardFontDataFactory:i.any,standardFontDataUrl:i.string,stopAtErrors:i.bool,useSystemFonts:i.bool,useWorkerFetch:i.bool,verbosity:i.number,withCredentials:i.bool,worker:i.any}),rotate:i.number});var x=A},2956:function(e,t,r){"use strict";var n=r(7294);t.Z=(0,n.createContext)(null)},4210:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(8776);let i="noopener noreferrer nofollow";class a{constructor(){this.externalLinkEnabled=!0,this.externalLinkRel=void 0,this.externalLinkTarget=void 0,this.isInPresentationMode=!1,this.pdfDocument=void 0,this.pdfViewer=void 0}setDocument(e){this.pdfDocument=e}setViewer(e){this.pdfViewer=e}setExternalLinkRel(e){this.externalLinkRel=e}setExternalLinkTarget(e){this.externalLinkTarget=e}setHistory(){}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return(0,n.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber||0}set page(e){(0,n.Z)(this.pdfViewer,"PDF viewer is not initialized."),this.pdfViewer.currentPageNumber=e}get rotation(){return 0}set rotation(e){}goToDestination(e){return new Promise(t=>{(0,n.Z)(this.pdfDocument,"PDF document not loaded."),(0,n.Z)(e,"Destination is not specified."),"string"==typeof e?this.pdfDocument.getDestination(e).then(t):Array.isArray(e)?t(e):e.then(t)}).then(e=>{(0,n.Z)(Array.isArray(e),`"${e}" is not a valid destination array.`);let t=e[0];new Promise(e=>{(0,n.Z)(this.pdfDocument,"PDF document not loaded."),t instanceof Object?this.pdfDocument.getPageIndex(t).then(t=>{e(t)}).catch(()=>{(0,n.Z)(!1,`"${t}" is not a valid page reference.`)}):"number"==typeof t?e(t):(0,n.Z)(!1,`"${t}" is not a valid destination reference.`)}).then(t=>{let r=t+1;(0,n.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,n.Z)(r>=1&&r<=this.pagesCount,`"${r}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({dest:e,pageIndex:t,pageNumber:r})})})}navigateTo(e){this.goToDestination(e)}goToPage(e){let t=e-1;(0,n.Z)(this.pdfViewer,"PDF viewer is not initialized."),(0,n.Z)(e>=1&&e<=this.pagesCount,`"${e}" is not a valid page number.`),this.pdfViewer.scrollPageIntoView({pageIndex:t,pageNumber:e})}addLinkAttributes(e,t,r){e.href=t,e.rel=this.externalLinkRel||i,e.target=r?"_blank":this.externalLinkTarget||""}getDestinationHash(){return"#"}getAnchorUrl(){return"#"}setHash(){}executeNamedAction(){}cachePageRef(){}isPageVisible(){return!0}isPageCached(){return!0}executeSetOCGState(){}}},1453:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7294);function i({children:e,type:t}){return n.createElement("div",{className:`react-pdf__message react-pdf__message--${t}`},e)}},9037:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=r(7294),i=r(5697),a=r(4886),o=r(9211),s=r(512);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter(Boolean);return r.length<=1?r[0]||null:function(e){r.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}var u=r(8776),c=r(2473),d=(0,n.createContext)(null),f=r(1453),h=r(2191);let p={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P
3:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},m=/^H(\d+)$/;function _(e){return e in p}function g(e){return"children"in e}function y(e){return!!g(e)&&1===e.children.length&&0 in e.children&&"id"in e.children[0]}function b(e){let t={};if(g(e)){let{role:r}=e,n=r.match(m);if(n)t.role="heading",t["aria-level"]=Number(n[1]);else if(_(r)){let e=p[r];e&&(t.role=e)}}return t}function v(e){let t={};if(g(e)){if(void 0!==e.alt&&(t["aria-label"]=e.alt),void 0!==e.lang&&(t.lang=e.lang),y(e)){let[r]=e.children;if(r){let e=v(r);return Object.assign(Object.assign({},t),e)}}}else"id"in e&&(t["aria-owns"]=e.id);return t}function M(e){return e?Object.assign(Object.assign({},b(e)),v(e)):null}function S({className:e,node:t}){let r=(0,n.useMemo)(()=>M(t),[t]),i=(0,n.useMemo)(()=>!g(t)||y(t)?null:t.children.map((e,t)=>n.createElement(S,{key:t,node:e})),[t]);return n.createElement("span",Object.assign({className:e},r),i)}function w(){return(0,n.useContext)(d)}var E=r(5777),L=r(2782);function A(){let e=w();(0,u.Z)(e,"Unable to find Page context.");let{onGetStructTreeError:t,onGetStructTreeSuccess:r}=e,[i,o]=(0,E.Z)(),{value:s,error:l}=i,{customTextRenderer:d,page:f}=e;function h(){s&&r&&r(s)}function p(){l&&(c(!1,l.toString()),t&&t(l))}function m(){o({type:"RESET"})}function _(){if(d||!f)return;let e=(0,a.Z)(f.getStructTree()),t=e;return e.promise.then(e=>{o({type:"RESOLVE",value:e})}).catch(e=>{o({type:"REJECT",error:e})}),()=>(0,L.LJ)(t)}return((0,n.useEffect)(m,[o,f]),(0,n.useEffect)(_,[d,f,o]),(0,n.useEffect)(()=>{if(void 0!==s){if(!1===s){p();return}h()}},[s]),s)?n.createElement(S,{className:"react-pdf__Page__structTree structTree",node:s}):null}let k=h.default.AnnotationMode;function x(e){let t=w();(0,u.Z)(t,"Unable to find Page context.");let{_className:r,canvasBackground:i,devicePixelRatio:a=(0,L.x_)(),onRenderError:o,onRenderSuccess:s,page:d,renderForms:f,renderTextLayer:h,rotate:p,scale:m}=Object.assign(Object.assign({},t),e),{canvasRef:_}=e;(0,u.Z)(d,"Attempted to render page canvas, but no page was specified.");let g=(0,n.useRef)(null);function y(){d&&s&&s((0,L.XZ)(d,m))}function b(e){!(0,L.DE)(e)&&(c(!1,e.toString()),o&&o(e))}let v=(0,n.useMemo)(()=>d.getViewport({scale:m*a,rotation:p}),[a,d,p,m]),M=(0,n.useMemo)(()=>d.getViewport({scale:m,rotation:p}),[d,p,m]);function S(){if(!d)return;d.cleanup();let{current:e}=g;if(!e)return;e.width=v.width,e.height=v.height,e.style.width=`${Math.floor(M.width)}px`,e.style.height=`${Math.floor(M.height)}px`,e.style.visibility="hidden";let t={annotationMode:f?k.ENABLE_FORMS:k.ENABLE,canvasContext:e.getContext("2d",{alpha:!1}),viewport:v};i&&(t.background=i);let r=d.render(t),n=r;return r.promise.then(()=>{e.style.visibility="",y()}).catch(b),()=>(0,L.LJ)(n)}(0,n.useEffect)(S,[i,g,a,d,f,v,M]);let E=(0,n.useCallback)(()=>{let{current:e}=g;e&&(e.width=0,e.height=0)},[g]);return(0,n.useEffect)(()=>E,[E]),n.createElement("canvas",{className:`${r}__canvas`,dir:"ltr",ref:l(_,g),style:{display:"block",userSelect:"none"}},h?n.createElement(A,null):null)}function T(){let e=w();(0,u.Z)(e,"Unable to find Page context.");let{_className:t,onRenderSuccess:r,onRenderError:i,page:o,rotate:s,scale:l}=e;(0,u.Z)(o,"Attempted to render page SVG, but no page was specified.");let[d,f]=(0,E.Z)(),{value:p,error:m}=d;function _(){o&&r&&r((0,L.XZ)(o,l))}function g(){!(!m||(0,L.DE)(m))&&(c(!1,m.toString()),i&&i(m))}let y=(0,n.useMemo)(()=>o.getViewport({scale:l,rotation:s}),[o,s,l]);function b(){f({type:"RESET"})}function v(){if(!o)return;let e=(0,a.Z)(o.getOperatorList());return e.promise.then(e=>{new h.default.SVGGraphics(o.commonObjs,o.objs).getSVG(e,y).then(e=>{if(!(e instanceof SVGElement))throw Error("getSVG returned unexpected result.");f({type:"RESOLVE",value:e})}).catch(e=>{f({type:"REJECT",error:e})})}).catch(e=>{f({type:"REJECT",error:e})}),()=>(0,L.LJ)(e)}function M(e){if(!e||!p)return;e.firstElementChild||e.appendChild(p);let{width:t,height:r}=y;p.setAttribute("width",`${t}`),p.setAttribute("height",`${r}`)}(0,n.useEffect)(b,[o,f,y]),(0,n.useEffect)(v,[o,f,y]),(0,n.useEffect)(()=>
3{if(void 0!==p){if(!1===p){g();return}_()}},[p]);let{width:S,height:A}=y;return n.createElement("div",{className:`${t}__svg`,ref:e=>M(e),style:{display:"block",backgroundColor:"white",overflow:"hidden",width:S,height:A,userSelect:"none"}})}function P(e){return"str"in e}function C(){let e=w();(0,u.Z)(e,"Unable to find Page context.");let{customTextRenderer:t,onGetTextError:r,onGetTextSuccess:i,onRenderTextLayerError:o,onRenderTextLayerSuccess:l,page:d,pageIndex:f,pageNumber:p,rotate:m,scale:_}=e;(0,u.Z)(d,"Attempted to load page text content, but no page was specified.");let[g,y]=(0,E.Z)(),{value:b,error:v}=g,M=(0,n.useRef)(null),S=(0,n.useRef)();function A(){b&&i&&i(b)}function k(){v&&(c(!1,v.toString()),r&&r(v))}function x(){y({type:"RESET"})}function T(){if(!d)return;let e=(0,a.Z)(d.getTextContent()),t=e;return e.promise.then(e=>{y({type:"RESOLVE",value:e})}).catch(e=>{y({type:"REJECT",error:e})}),()=>(0,L.LJ)(t)}c(1===parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-text-layer"),10),"TextLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-text-layer"),(0,n.useEffect)(x,[d,y]),(0,n.useEffect)(T,[d,y]),(0,n.useEffect)(()=>{if(void 0!==b){if(!1===b){k();return}A()}},[b]);let C=(0,n.useCallback)(()=>{l&&l()},[l]),Y=(0,n.useCallback)(e=>{c(!1,e.toString()),o&&o(e)},[o]);function D(){let e=S.current;e&&e.classList.add("active")}function O(){let e=S.current;e&&e.classList.remove("active")}let R=(0,n.useMemo)(()=>d.getViewport({scale:_,rotation:m}),[d,m,_]);function j(){if(!d||!b)return;let{current:e}=M;if(!e)return;e.innerHTML="";let r={container:e,textContentSource:d.streamTextContent({includeMarkedContent:!0}),viewport:R},n=h.default.renderTextLayer(r),i=n;return n.promise.then(()=>{let r=document.createElement("div");r.className="endOfContent",e.append(r),S.current=r;let n=e.querySelectorAll('[role="presentation"]');if(t){let e=0;b.items.forEach((r,i)=>{if(!P(r))return;let a=n[e];if(!a)return;let o=t(Object.assign({pageIndex:f,pageNumber:p,itemIndex:i},r));a.innerHTML=o,e+=r.str&&r.hasEOL?2:1})}C()}).catch(Y),()=>(0,L.LJ)(i)}return(0,n.useLayoutEffect)(j,[t,Y,C,d,f,p,b,R]),n.createElement("div",{className:(0,s.Z)("react-pdf__Page__textContent","textLayer"),onMouseUp:O,onMouseDown:D,ref:M})}var Y=r(2956);function D(){return(0,n.useContext)(Y.Z)}function O(){let e=D(),t=w();(0,u.Z)(t,"Unable to find Page context.");let{imageResourcesPath:r,linkService:i,onGetAnnotationsError:o,onGetAnnotationsSuccess:l,onRenderAnnotationLayerError:d,onRenderAnnotationLayerSuccess:f,page:p,pdf:m,renderForms:_,rotate:g,scale:y=1}=Object.assign(Object.assign({},e),t);(0,u.Z)(m,"Attempted to load page annotations, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop."),(0,u.Z)(p,"Attempted to load page annotations, but no page was specified."),(0,u.Z)(i,"Attempted to load page annotations, but no linkService was specified.");let[b,v]=(0,E.Z)(),{value:M,error:S}=b,A=(0,n.useRef)(null);function k(){M&&l&&l(M)}function x(){S&&(c(!1,S.toString()),o&&o(S))}function T(){v({type:"RESET"})}function P(){if(!p)return;let e=(0,a.Z)(p.getAnnotations()),t=e;return e.promise.then(e=>{v({type:"RESOLVE",value:e})}).catch(e=>{v({type:"REJECT",error:e})}),()=>{(0,L.LJ)(t)}}function C(){f&&f()}function Y(e){c(!1,`${e}`),d&&d(e)}c(1===parseInt(window.getComputedStyle(document.body).getPropertyValue("--react-pdf-annotation-layer"),10),"AnnotationLayer styles not found. Read more: https://github.com/wojtekmaj/react-pdf#support-for-annotations"),(0,n.useEffect)(T,[v,p]),(0,n.useEffect)(P,[v,p,_]),(0,n.useEffect)(()=>{if(void 0!==M){if(!1===M){x();return}k()}},[M]);let O=(0,n.useMemo)(()=>p.getViewport({scale:y,rotation:g}),[p,g,y]);function R(){if(!m||!p||!i||!M)return;let{current:e}=A;if(!e)return;let t=O.clone({dontFlip:!0}),n={accessibilityManager:null,annotationCanvasMap:null,div:e,l10n:null,page:p,viewport:t},a={annotations:M,annotationStorage:m.annotationStorage,div:e,downloadManager:null,imageResourcesPath:r,linkService:i,page:p,renderForms:_,viewport:t};e.innerHTML="";try{new h.default.AnnotationLayer(n).render(a),C()}catch(e){Y(e)}return()=>{}}return(0,n.useEffect)(R,[M,r,i,p,_,O]),n.createElement("div",{className:(0,s.Z)("react-pdf__Page__annotations","annotationLayer"),ref:A})}var R=r(1860),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};let I=1,F=function(e){let t=Object.assign(Object.assign({},D()),e),{_className:r="react-pdf__Page",_enableRegisterUnregisterPage:i=!0,canvasBackgroun
3d:h,canvasRef:p,children:m,className:_,customRenderer:g,customTextRenderer:y,devicePixelRatio:b,error:v="Failed to load the page.",height:M,inputRef:S,loading:w="Loading page…",noData:A="No page specified.",onGetAnnotationsError:k,onGetAnnotationsSuccess:P,onGetStructTreeError:Y,onGetStructTreeSuccess:R,onGetTextError:F,onGetTextSuccess:N,onLoadError:H,onLoadSuccess:z,onRenderAnnotationLayerError:U,onRenderAnnotationLayerSuccess:B,onRenderError:$,onRenderSuccess:V,onRenderTextLayerError:W,onRenderTextLayerSuccess:q,pageIndex:G,pageNumber:J,pdf:K,registerPage:X,renderAnnotationLayer:Z=!0,renderForms:Q=!1,renderMode:ee="canvas",renderTextLayer:et=!0,rotate:er,scale:en=I,unregisterPage:ei,width:ea}=t,eo=j(t,["_className","_enableRegisterUnregisterPage","canvasBackground","canvasRef","children","className","customRenderer","customTextRenderer","devicePixelRatio","error","height","inputRef","loading","noData","onGetAnnotationsError","onGetAnnotationsSuccess","onGetStructTreeError","onGetStructTreeSuccess","onGetTextError","onGetTextSuccess","onLoadError","onLoadSuccess","onRenderAnnotationLayerError","onRenderAnnotationLayerSuccess","onRenderError","onRenderSuccess","onRenderTextLayerError","onRenderTextLayerSuccess","pageIndex","pageNumber","pdf","registerPage","renderAnnotationLayer","renderForms","renderMode","renderTextLayer","rotate","scale","unregisterPage","width"]),[es,el]=(0,E.Z)(),{value:eu,error:ec}=es,ed=(0,n.useRef)(null);(0,u.Z)(K,"Attempted to load a page, but no document was specified. Wrap <Page /> in a <Document /> or pass explicit `pdf` prop.");let ef=(0,L.T8)(J)?J-1:null!=G?G:null,eh=null!=J?J:(0,L.T8)(G)?G+1:null,ep=null!=er?er:eu?eu.rotate:null,em=(0,n.useMemo)(()=>{if(!eu)return null;let e=1,t=null!=en?en:I;if(ea||M){let t=eu.getViewport({scale:1,rotation:ep});ea?e=ea/t.width:M&&(e=M/t.height)}return t*e},[M,eu,ep,en,ea]);function e_(){return()=>{(0,L.T8)(ef)&&i&&ei&&ei(ef)}}function eg(){if(z){if(!eu||!em)return;z((0,L.XZ)(eu,em))}if(i&&X){if(!(0,L.T8)(ef)||!ed.current)return;X(ef,ed.current)}}function ey(){ec&&(c(!1,ec.toString()),H&&H(ec))}function eb(){el({type:"RESET"})}function ev(){if(!K||!eh)return;let e=(0,a.Z)(K.getPage(eh)),t=e;return e.promise.then(e=>{el({type:"RESOLVE",value:e})}).catch(e=>{el({type:"REJECT",error:e})}),()=>(0,L.LJ)(t)}(0,n.useEffect)(e_,[i,K,ef,ei]),(0,n.useEffect)(eb,[el,K,ef]),(0,n.useEffect)(ev,[el,K,ef,eh,X]),(0,n.useEffect)(()=>{if(void 0!==eu){if(!1===eu){ey();return}eg()}},[eu,em]);let eM=(0,n.useMemo)(()=>eu&&(0,L.T8)(ef)&&eh&&(0,L.T8)(ep)&&(0,L.T8)(em)?{_className:r,canvasBackground:h,customTextRenderer:y,devicePixelRatio:b,onGetAnnotationsError:k,onGetAnnotationsSuccess:P,onGetStructTreeError:Y,onGetStructTreeSuccess:R,onGetTextError:F,onGetTextSuccess:N,onRenderAnnotationLayerError:U,onRenderAnnotationLayerSuccess:B,onRenderError:$,onRenderSuccess:V,onRenderTextLayerError:W,onRenderTextLayerSuccess:q,page:eu,pageIndex:ef,pageNumber:eh,renderForms:Q,renderTextLayer:et,rotate:ep,scale:em}:null,[r,h,y,b,k,P,Y,R,F,N,U,B,$,V,W,q,eu,ef,eh,Q,et,ep,em]),eS=(0,n.useMemo)(()=>(0,o.ZP)(eo,()=>eu?em?(0,L.XZ)(eu,em):void 0:eu),[eo,eu,em]),ew=`${ef}@${em}/${ep}`,eE=`${ef}/${ep}`;function eL(){switch(ee){case"custom":return(0,u.Z)(g,'renderMode was set to "custom", but no customRenderer was passed.'),n.createElement(g,{key:`${ew}_custom`});case"none":return null;case"svg":return n.createElement(T,{key:`${eE}_svg`});default:return n.createElement(x,{key:`${ew}_canvas`,canvasRef:p})}}function eA(){return et?n.createElement(C,{key:`${ew}_text`}):null}function ek(){return Z?n.createElement(O,{key:`${ew}_annotations`}):null}function ex(){return n.createElement(d.Provider,{value:eM},eL(),eA(),ek(),m)}function eT(){return eh?null===K||null==eu?n.createElement(f.Z,{type:"loading"},"function"==typeof w?w():w):!1===K||!1===eu?n.createElement(f.Z,{type:"error"},"function"==typeof v?v():v):ex():n.createElement(f.Z,{type:"no-data"},"function"==typeof A?A():A)}return n.createElement("div",Object.assign({className:(0,s.Z)(r,_),"data-page-number":eh,ref:l(S,ed),style:{"--scale-factor":`${em}`,backgroundColor:h||"white",position:"relative",minWidth:"min-content",minHeight:"min-content"}},eS),eT())},N=i.oneOfType([i.func,i.node]);F.propTypes=Object.assign(Object.assign({}
3,R.Gg),{canvasBackground:i.string,canvasRef:R.dq,children:i.node,className:R.$n,customRenderer:i.func,customTextRenderer:i.func,devicePixelRatio:i.number,error:N,height:i.number,imageResourcesPath:i.string,inputRef:R.dq,loading:N,noData:N,onGetTextError:i.func,onGetTextSuccess:i.func,onLoadError:i.func,onLoadSuccess:i.func,onRenderError:i.func,onRenderSuccess:i.func,onRenderTextLayerError:i.func,onRenderTextLayerSuccess:i.func,pageIndex:R.qd,pageNumber:R.F$,pdf:R.Ze,renderAnnotationLayer:i.bool,renderForms:i.bool,renderMode:R.DV,renderTextLayer:i.bool,rotate:R.lA,scale:i.number,width:i.number});var H=F},2191:function(e,t,r){"use strict";let n=r(9299);t.default=n},5777:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(7294);function i(e,t){switch(t.type){case"RESOLVE":return{value:t.value,error:void 0};case"REJECT":return{value:!1,error:t.error};case"RESET":return{value:void 0,error:void 0};default:return e}}function a(){return(0,n.useReducer)(i,{value:void 0,error:void 0})}},1860:function(e,t,r){"use strict";r.d(t,{$n:function(){return f},DV:function(){return y},F$:function(){return m},Gg:function(){return u},Ze:function(){return _},dq:function(){return g},lA:function(){return b},qd:function(){return p},zE:function(){return h}});var n=r(5697),i=r(9211),a=r(2191),o=r(2782),s=r(4210);let{PDFDataRangeTransport:l}=a.default,u=(()=>{let e={};return i.Tu.forEach(t=>{e[t]=n.func}),e})(),c=n.oneOfType([n.instanceOf(Int8Array),n.instanceOf(Uint8Array),n.instanceOf(Uint8ClampedArray),n.instanceOf(Int16Array),n.instanceOf(Uint16Array),n.instanceOf(Int32Array),n.instanceOf(Uint32Array),n.instanceOf(Float32Array),n.instanceOf(Float64Array)]),d=[n.string,n.instanceOf(ArrayBuffer),n.shape({data:n.oneOfType([n.string,n.instanceOf(ArrayBuffer),n.arrayOf(n.number.isRequired),c]).isRequired}),n.shape({range:n.instanceOf(l).isRequired}),n.shape({url:n.string.isRequired})];"undefined"!=typeof Blob&&d.push(n.instanceOf(Blob));let f=n.oneOfType([n.string,n.arrayOf(n.string)]),h=n.oneOfType(d);n.instanceOf(s.Z),n.oneOf(["_self","_blank","_parent","_top"]),n.shape({commonObjs:n.shape({}).isRequired,getAnnotations:n.func.isRequired,getTextContent:n.func.isRequired,getViewport:n.func.isRequired,render:n.func.isRequired});let p=function(e,t,r){let{[t]:n,pageNumber:i,pdf:a}=e;if(!(0,o.$K)(a))return null;if((0,o.$K)(n)){if("number"!=typeof n)return Error(`\`${t}\` of type \`${typeof n}\` supplied to \`${r}\`, expected \`number\`.`);if(n<0)return Error(`Expected \`${t}\` to be greater or equal to 0.`);let{numPages:e}=a;if(n+1>e)return Error(`Expected \`${t}\` to be less or equal to ${e-1}.`)}else if(!(0,o.$K)(i))return Error(`\`${t}\` not supplied. Either pageIndex or pageNumber must be supplied to \`${r}\`.`);return null},m=function(e,t,r){let{[t]:n,pageIndex:i,pdf:a}=e;if(!(0,o.$K)(a))return null;if((0,o.$K)(n)){if("number"!=typeof n)return Error(`\`${t}\` of type \`${typeof n}\` supplied to \`${r}\`, expected \`number\`.`);if(n<1)return Error(`Expected \`${t}\` to be greater or equal to 1.`);let{numPages:e}=a;if(n>e)return Error(`Expected \`${t}\` to be less or equal to ${e}.`)}else if(!(0,o.$K)(i))return Error(`\`${t}\` not supplied. Either pageIndex or pageNumber must be supplied to \`${r}\`.`);return null},_=n.oneOfType([n.any,n.oneOf([!1])]),g=n.oneOfType([n.func,n.exact({current:n.any})]),y=n.oneOf(["canvas","custom","none","svg"]),b=n.oneOf([0,90,180,270])},2782:function(e,t,r){"use strict";r.d(t,{$K:function(){return s},DE:function(){return b},LJ:function(){return g},Lj:function(){return d},T8:function(){return l},XZ:function(){return y},eP:function(){return c},eR:function(){return v},gJ:function(){return f},jU:function(){return a},tN:function(){return _},us:function(){return h},x_:function(){return p}});var n=r(8776),i=r(2473);let a="undefined"!=typeof document,o=a&&"file:"===window.location.protocol;function s(e){return void 0!==e}function l(e){return s(e)&&null!==e}function u(e){return"string"==typeof e}function c(e){return e instanceof ArrayBuffer}function d(e){return(0,n.Z)(a,"isBlob can only be used in a browser environment"),e instanceof Blob}function f(e){return u(e)&&/^data:/.test(e)}function h(e){(0,n.Z)(f(e),"Invalid data URI.");let[t="",r=""]=e.split(",");return -1!==t.split(";").indexOf("base64")?atob(r):unescape(r)}function p(){return a&&window.devicePixelRatio||1}let m="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function _(){i(!o,`Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ${m}`)}function g(e){e&&e.cancel&&e.cancel()}function y(e,t){return Object.defineProperty(e,"width",{get(){return this.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get(){return this.view[3]},configurable:!0}),e}
3function b(e){return"RenderingCancelledException"===e.name}function v(e){return new Promise((t,r)=>{let n=new FileReader;n.onload=()=>{if(!n.result)return r(Error("Error while reading a file."));t(n.result)},n.onerror=e=>{if(!e.target)return r(Error("Error while reading a file."));let{error:t}=e.target;if(!t)return r(Error("Error while reading a file."));switch(t.code){case t.NOT_FOUND_ERR:return r(Error("Error while reading a file: File not found."));case t.SECURITY_ERR:return r(Error("Error while reading a file: Security error."));case t.ABORT_ERR:return r(Error("Error while reading a file: Aborted."));default:return r(Error("Error while reading a file."))}},n.readAsArrayBuffer(e)})}},1444:function(e,t,r){"use strict";r.d(t,{Ix:function(){return k},LG:function(){return A},Am:function(){return I}});var n=r(7294);function i(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e){if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=i(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t)}return n}var a=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=i(e))&&(n&&(n+=" "),n+=t);return n};let o=e=>"number"==typeof e&&!isNaN(e),s=e=>"string"==typeof e,l=e=>"function"==typeof e,u=e=>s(e)||l(e)?e:null,c=e=>(0,n.isValidElement)(e)||s(e)||l(e)||o(e);function d(e,t,r){void 0===r&&(r=300);let{scrollHeight:n,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=n+"px",i.transition=`all ${r}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,r)})})}function f(e){let{enter:t,exit:r,appendPosition:i=!1,collapse:a=!0,collapseDuration:o=300}=e;return function(e){let{children:s,position:l,preventExitTransition:u,done:c,nodeRef:f,isIn:h}=e,p=i?`${t}--${l}`:t,m=i?`${r}--${l}`:r,_=(0,n.useRef)(0);return(0,n.useLayoutEffect)(()=>{let e=f.current,t=p.split(" "),r=n=>{n.target===f.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===_.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,n.useEffect)(()=>{let e=f.current,t=()=>{e.removeEventListener("animationend",t),a?d(e,c,o):c()};h||(u?t():(_.current=1,e.className+=` ${m}`,e.addEventListener("animationend",t)))},[h]),n.createElement(n.Fragment,null,s)}}function h(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){let r=this.list.get(e).filter(e=>e!==t);return this.list.set(e,r),this}return this.list.delete(e),this},cancelEmit(e){let t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{let r=setTimeout(()=>{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(r)})}},m=e=>{let{theme:t,type:r,...i}=e;return n.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...i})},_={info:function(e){return n.createElement(m,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return n.createElement(m,{...e},n.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return n.createElement(m,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return n.createElement(m,{...e},n.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return n.createElement("div",{className:"Toastify__spinner"})}};function g(e){let[,t]=(0,n.useReducer)(e=>
3e+1,0),[r,i]=(0,n.useState)([]),a=(0,n.useRef)(null),d=(0,n.useRef)(new Map).current,f=e=>-1!==r.indexOf(e),m=(0,n.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:f,getToast:e=>d.get(e)}).current;function g(e){let{containerId:t}=e,{limit:r}=m.props;!r||t&&m.containerId!==t||(m.count-=m.queue.length,m.queue=[])}function y(e){i(t=>null==e?[]:t.filter(t=>t!==e))}function b(){let{toastContent:e,toastProps:t,staleId:r}=m.queue.shift();M(e,t,r)}function v(e,r){var i,f;let{delay:g,staleId:v,...S}=r;if(!c(e)||function(e){return!a.current||m.props.enableMultiContainer&&e.containerId!==m.props.containerId||d.has(e.toastId)&&null==e.updateId}(S))return;let{toastId:w,updateId:E,data:L}=S,{props:A}=m,k=()=>y(w),x=null==E;x&&m.count++;let T={...A,style:A.toastStyle,key:m.toastKey++,...Object.fromEntries(Object.entries(S).filter(e=>{let[t,r]=e;return null!=r})),toastId:w,updateId:E,data:L,closeToast:k,isIn:!1,className:u(S.className||A.toastClassName),bodyClassName:u(S.bodyClassName||A.bodyClassName),progressClassName:u(S.progressClassName||A.progressClassName),autoClose:!S.isLoading&&(i=S.autoClose,f=A.autoClose,!1===i||o(i)&&i>0?i:f),deleteToast(){let e=h(d.get(w),"removed");d.delete(w),p.emit(4,e);let r=m.queue.length;if(m.count=null==w?m.count-m.displayedToast:m.count-1,m.count<0&&(m.count=0),r>0){let e=null==w?m.props.limit:1;if(1===r||1===e)m.displayedToast++,b();else{let t=e>r?r:e;m.displayedToast=t;for(let e=0;e<t;e++)b()}}else t()}};T.iconOut=function(e){let{theme:t,type:r,isLoading:i,icon:a}=e,u=null,c={theme:t,type:r};return!1===a||(l(a)?u=a(c):(0,n.isValidElement)(a)?u=(0,n.cloneElement)(a,c):s(a)||o(a)?u=a:i?u=_.spinner():r in _&&(u=_[r](c))),u}(T),l(S.onOpen)&&(T.onOpen=S.onOpen),l(S.onClose)&&(T.onClose=S.onClose),T.closeButton=A.closeButton,!1===S.closeButton||c(S.closeButton)?T.closeButton=S.closeButton:!0===S.closeButton&&(T.closeButton=!c(A.closeButton)||A.closeButton);let P=e;(0,n.isValidElement)(e)&&!s(e.type)?P=(0,n.cloneElement)(e,{closeToast:k,toastProps:T,data:L}):l(e)&&(P=e({closeToast:k,toastProps:T,data:L})),A.limit&&A.limit>0&&m.count>A.limit&&x?m.queue.push({toastContent:P,toastProps:T,staleId:v}):o(g)?setTimeout(()=>{M(P,T,v)},g):M(P,T,v)}function M(e,t,r){let{toastId:n}=t;r&&d.delete(r);let a={content:e,props:t};d.set(n,a),i(e=>[...e,n].filter(e=>e!==r)),p.emit(4,h(a,null==a.props.updateId?"added":"updated"))}return(0,n.useEffect)(()=>(m.containerId=e.containerId,p.cancelEmit(3).on(0,v).on(1,e=>a.current&&y(e)).on(5,g).emit(2,m),()=>{d.clear(),p.emit(3,m)}),[]),(0,n.useEffect)(()=>{m.props=e,m.isToastActive=f,m.displayedToast=r.length}),{getToastToRender:function(t){let r=new Map,n=Array.from(d.values());return e.newestOnTop&&n.reverse(),n.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},containerRef:a,isToastActive:f}}function y(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function v(e){let[t,r]=(0,n.useState)(!1),[i,a]=(0,n.useState)(!1),o=(0,n.useRef)(null),s=(0,n.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=(0,n.useRef)(e),{autoClose:c,pauseOnHover:d,closeToast:f,onClick:h,closeOnClick:p}=e;function m(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),s.didMove=!1,document.addEventListener("mousemove",M),document.addEventListener("mouseup",S),document.addEventListener("touchmove",M),document.addEventListener("touchend",S);let r=o.current;s.canCloseOnClick=!0,s.canDrag=!0,s.boundingRect=r.getBoundingClientRect(),r.style.transition="",s.x=y(t.nativeEvent),s.y=b(t.nativeEvent),"x"===e.draggableDirection?(s.start=s.x,s.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(s.start=s.y,s.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function _(t){if(s.boundingRect){let{top:r,bottom:n,left:i,right:a}=s.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&s.x>=i&&s.x<=a&&s.y>=r&&s.y<=n?v():g()}}function g(){r(!0)}function v(){r(!1)}function M(r){let n=o.current;s.canDrag&&n&&(s.didMove=!0,t&&v(),s.x=y(r),s.y=b(r),s.delta="x"===e.draggableDirection?s.x-s.start:s.y-s.start,s.start!==s.x&&(s.canCloseOnClick=!1),n.style.transform=`translate${e.draggableDirection}(${s.delta}px)`,n.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function S(){document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",S),document.removeEventListener("touchmove",M),document.removeEventListener("touchend",S);let t=o.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return a(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,n.useEffect)(()=>{u.current=e}),(0,n.useEffect)(()=>(o.current&&o.current.addEventListener("d",g,{once:!0}),l(e.onOpen)&&e.onOpen((0,n.isValidElement)(e.children)&&e.children.props),()=>{let e=u.current;l(e.onClose)&&e.onClose((0,n.isValidElement)(e.children)&&e.children.props)}),[]),(0,n.useEffect)(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||v(),window.addEventListener("focus",g),window.addEventListener("blur",v)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",g),window.removeEventListener("blur",v))}),[e.pauseOnFocusLoss]);let w={onMouseDown:m,onTouchStart:m,onMouseUp:_,onTouchEnd:_};return c&&d&&(w.onMouseEnter=v,w.onMouseLeave=g),p&&(w.onClick=e=>{h&&h(e),s.canCloseOnClick&&f()}),{playToast:g,pauseToast:v,isRunning:t,preventExitTransition:i,toastRef:o,eventHandlers:w}}function M(e){let{closeToast:t,theme:r,ariaLabel:i="close"}=e;return n.createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":i},n.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function S(e){let{delay:t,isRunning:r,closeToast:i,type:o="default",hide:s,className:u,style:c,controlledProgress:d,progress:f,rtl:h,isIn:p,theme:m}=e,_=s||d&&0===f,g={...c,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused",opacity:_?0:1};d&&(g.transform=`scaleX(${f})`);let y=a("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":h}),b=l(u)?u({rtl:h,type:o,defaultClassName:y}):a(y,u);return n.createElement("div",{role:"progressbar","aria-hidden":_?"true":"false","aria-label":"notification timer",className:b,style:g,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{p&&i()}})}let w=e=>{let{isRunning:t,preventExitTransition:r,toastRef:i,eventHandlers:o}=v(e),{closeButton:s,children:u,autoClose:c,onClick:d,type:f,hideProgressBar:h,closeToast:p,transition:m,position:_,className:g,style:y,bodyClassName:b,bodyStyle:w,progressClassName:E,progressStyle:L,updateId:A,role:k,progress:x,rtl:T,toastId:P,deleteToast:C,isIn:Y,isLoading:D,iconOut:O,closeOnClick:R,theme:j}=e,I=a("Toastify__toast",`Toastify__toast-theme--${j}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":T},{"Toastify__toast--close-on-click":R}),F=l(g)?g({rtl:T,position:_,type:f,defaultClassName:I}):a(I,g),N=!!x||!c,H={closeToast:p,type:f,theme:j},z=null;return!1===s||(z=l(s)?s(H):(0,n.isValidElement)(s)?(0,n.cloneElement)(s,H):M(H)),n.createElement(m,{isIn:Y,done:C,position:_,preventExitTransition:r,nodeRef:i},n.createElement("div",{id:P,onClick:d,className:F,...o,style:y,ref:i},n.createElement("div",{...Y&&{role:k},className:l(b)?b({type:f}):a("Toastify__toast-body",b),style:w},null!=O&&n.createElement("div",{className:a("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter"
3:!D})},O),n.createElement("div",null,u)),z,n.createElement(S,{...A&&!N?{key:`pb-${A}`}:{},rtl:T,theme:j,delay:c,isRunning:t,isIn:Y,closeToast:p,hide:h,type:f,style:L,className:E,controlledProgress:N,progress:x||0})))},E=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},L=f(E("bounce",!0)),A=(f(E("slide",!0)),f(E("zoom"))),k=(f(E("flip")),(0,n.forwardRef)((e,t)=>{let{getToastToRender:r,containerRef:i,isToastActive:o}=g(e),{className:s,style:c,rtl:d,containerId:f}=e;function h(e){let t=a("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return l(s)?s({position:e,rtl:d,defaultClassName:t}):a(t,u(s))}return(0,n.useEffect)(()=>{t&&(t.current=i.current)},[]),n.createElement("div",{ref:i,className:"Toastify",id:f},r((e,t)=>{let r=t.length?{...c}:{...c,pointerEvents:"none"};return n.createElement("div",{className:h(e),style:r,key:`container-${e}`},t.map((e,r)=>{let{content:i,props:a}=e;return n.createElement(w,{...a,isIn:o(a.toastId),style:{...a.style,"--nth":r+1,"--len":t.length},key:`toast-${a.key}`},i)}))}))}));k.displayName="ToastContainer",k.defaultProps={position:"top-right",transition:L,autoClose:5e3,closeButton:M,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let x,T=new Map,P=[],C=1;function Y(){return""+C++}function D(e){return e&&(s(e.toastId)||o(e.toastId))?e.toastId:Y()}function O(e,t){return T.size>0?p.emit(0,e,t):P.push({content:e,options:t}),t.toastId}function R(e,t){return{...t,type:t&&t.type||e,toastId:D(t)}}function j(e){return(t,r)=>O(t,R(e,r))}function I(e,t){return O(e,R("default",t))}I.loading=(e,t)=>
3O(e,R("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),I.promise=function(e,t,r){let n,{pending:i,error:a,success:o}=t;i&&(n=s(i)?I.loading(i,r):I.loading(i.render,{...r,...i}));let u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(e,t,i)=>{if(null==t)return void I.dismiss(n);let a={type:e,...u,...r,data:i},o=s(t)?{render:t}:t;return n?I.update(n,{...a,...o}):I(o.render,{...a,...o}),i},d=l(e)?e():e;return d.then(e=>c("success",o,e)).catch(e=>c("error",a,e)),d},I.success=j("success"),I.info=j("info"),I.error=j("error"),I.warning=j("warning"),I.warn=I.warning,I.dark=(e,t)=>O(e,R("default",{theme:"dark",...t})),I.dismiss=e=>{T.size>0?p.emit(1,e):P=P.filter(t=>null!=e&&t.options.toastId!==e)},I.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},I.isActive=e=>{let t=!1;return T.forEach(r=>{r.isToastActive&&r.isToastActive(e)&&(t=!0)}),t},I.update=function(e,t){void 0===t&&(t={}),setTimeout(()=>{let r=function(e,t){let{containerId:r}=t,n=T.get(r||x);return n&&n.getToast(e)}(e,t);if(r){let{props:n,content:i}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:Y()};a.toastId!==e&&(a.staleId=e);let o=a.render||i;delete a.render,O(o,a)}},0)},I.done=e=>{I.update(e,{progress:1})},I.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),I.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},I.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,e=>{x=e.containerId||e,T.set(x,e),P.forEach(e=>{p.emit(0,e.content,e.options)}),P=[]}).on(3,e=>{T.delete(e.containerId||e),0===T.size&&p.off(0).off(1).off(5)})},8776:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=!0,i="Invariant failed";function a(e,t){if(!e){if(n)throw Error(i);var r="function"==typeof t?t():t;throw Error(r?"".concat(i,": ").concat(r):i)}}}}]);

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.