PageSourceSearch

https://mecre.net/_next/static/chunks/pages/_app-c74a9bbd36c37dfd.js

js mecre.net collected 2026-10-04 06:45:16 UTC 843,770 bytes, 600 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{83330:function(e,n,r){"use strict";r.d(n,{g:function(){return eB}});/*! *****************************************************************************
2Copyright (c) Microsoft Corporation.
3
4Permission to use, copy, modify, and/or distribute this software for any
5purpose with or without fee is hereby granted.
6
7THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13PERFORMANCE OF THIS SOFTWARE.
14***************************************************************************** */var i,o,a,s,u,c,l=function(e,n){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)};function f(e,n){function r(){this.constructor=e}l(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var d=function(){return(d=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function h(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function p(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function m(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}var g=r(71672),v=r(93769),y=r(20490),b=r(11144),w=r(99820),S=r(28008),_=r(76489);function k(e,n){void 0===n&&(n={});var r,i=e&&"j"===e[0]&&":"===e[1]?e.substr(2):e;if(void 0===(r=n.doNotParse)&&(r=!i||"{"!==i[0]&&"["!==i[0]&&'"'!==i[0]),!r)try{return JSON.parse(i)}catch(e){}return e}var x=function(){return(x=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},E=function(){function e(e,n){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?_.Q(e,n):"object"==typeof e&&null!==e?e:{},new Promise(function(){r.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=_.Q(document.cookie,e))},e.prototype._emitChange=function(e){for(var n=0;n<this.changeListeners.length;++n)this.changeListeners[n](e)},e.prototype.get=function(e,n,r){return void 0===n&&(n={}),this._updateBrowserValues(r),k(this.cookies[e],n)},e.prototype.getAll=function(e,n){void 0===e&&(e={}),this._updateBrowserValues(n);var r={};for(var i in this.cookies)r[i]=k(this.cookies[i],e);return r},e.prototype.set=function(e,n,r){var i;"object"==typeof n&&(n=JSON.stringify(n)),this.cookies=x(x({},this.cookies),((i={})[e]=n,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=_.q(e,n,r)),this._emitChange({name:e,value:n,options:r})},e.prototype.remove=function(e,n){var r=n=x(x({},n),{expires:new Date(1970,1,1,0,0,1),maxAge:0}
14);this.cookies=x({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=_.q(e,"",r)),this._emitChange({name:e,value:void 0,options:n})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var n=this.changeListeners.indexOf(e);n>=0&&this.changeListeners.splice(n,1)},e}(),C=r(59222),A=(0,C.lC)().isBrowser,I=function(){function e(e){void 0===e&&(e={}),this.cookies=new E,this.store=A?window.localStorage:Object.create(null),this.cookies=e.req?new E(e.req.headers.cookie):new E,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(Array(this.length)).map(function(n,r){return e.key(r)}).forEach(function(n){return e.removeItem(n)})},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,n){this.setLocalItem(e,n);var r=e.split(".").pop();["LastAuthUser","accessToken","refreshToken","idToken"].includes(null!=r?r:"")&&this.setUniversalItem(e,n,{expires:new Date(Date.now()+31536e6)})},e.prototype.setLocalItem=function(e,n){this.store[e]=n},e.prototype.setUniversalItem=function(e,n,r){void 0===r&&(r={}),this.cookies.set(e,n,(0,S.pi)((0,S.pi)({},r),{path:"/",sameSite:!0,secure:!A||"localhost"!==window.location.hostname}))},e}(),T=r(6648),P=r(25387),O=function(){function e(e){var n=e||{},r=n.ValidationData,i=n.Username,o=n.Password,a=n.AuthParameters,s=n.ClientMetadata;this.validationData=r||{},this.authParameters=a||{},this.clientMetadata=s||{},this.username=i,this.password=o}var n=e.prototype;return n.getUsername=function(){return this.username},n.getPassword=function(){return this.password},n.getValidationData=function(){return this.validationData},n.getAuthParameters=function(){return this.authParameters},n.getClientMetadata=function(){return this.clientMetadata},e}(),R=r(48764);if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==r.g&&r.g.crypto&&(o=r.g.crypto),!o)try{o=r(56249)}catch(e){}var D=function(){function e(e,n){e=this.words=e||[],void 0!=n?this.sigBytes=n:this.sigBytes=4*e.length}var n=e.prototype;return n.random=function(n){for(var r=[],i=0;i<n;i+=4)r.push(function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")}());return new e(r,n)},n.toString=function(){return function(e){for(var n=e.words,r=e.sigBytes,i=[],o=0;o<r;o++){var a=n[o>>>2]>>>24-o%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")}(this)},e}(),M=r(41938);function F(e,n){null!=e&&this.fromString(e,n)}function N(){return new F(null)}var j="undefined"!=typeof navigator;j&&"Microsoft Internet Explorer"==navigator.appName?(F.prototype.am=function(e,n,r,i,o,a){for(var s=32767&n,u=n>>15;--a>=0;){var c=32767&this[e],l=this[e++]>>15,f=u*c+l*s;o=((c=s*c+((32767&f)<<15)+r[i]+(1073741823&o))>>>30)+(f>>>15)+u*l+(o>>>30),r[i++]=1073741823&c}return o},a=30):j&&"Netscape"!=navigator.appName?(F.prototype.am=function(e,n,r,i,o,a){for(;--a>=0;){var s=n*this[e++]+r[i]+o;o=Math.floor(s/67108864),r[i++]=67108863&s}return o},a=26):(F.prototype.am=function(e,n,r,i,o,a){for(var s=16383&n,u=n>>14;--a>=0;){var c=16383&this[e],l=this[e++]>>14,f=u*c+l*s;o=((c=s*c+((16383&f)<<14)+r[i]+o)>>28)+(f>>14)+u*l,r[i++]=268435455&c}return o},a=28),F.prototype.DB=a,F.prototype.DM=(1<<a)-1,F.prototype.DV=1<<a,F.prototype.FV=4503599627370496,F.prototype.F1=52-a,F.prototype.F2=2*a-52;var U=[];for(u=0,s=48;u<=9;++u)U[s++]=u;for(u=10,s=97;u<36;++u)U[s++]=u;for(u=10,s=65;u<36;++u)U[s++]=u;function L(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function B(e){var n=N();return n.fromInt(e),n}function V(e){var n,r=1;return 0!=(n=e>>>16)&&(e=n,r+=16),0!=(n=e>>8)&&(e=n,r+=8),0!=(n=e>>4)&&(e=n,r+=4),0!=(n=e>>2)&&(e=n,r+=2),0!=(n=e>>1)&&(e=n,r+=1),r}function z(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>
14>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}/*!
15 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
16 * SPDX-License-Identifier: Apache-2.0
17 */function q(e){return R.lW.from(new D().random(e).toString(),"hex")}z.prototype.convert=function(e){var n=N();return e.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),e.s<0&&n.compareTo(F.ZERO)>0&&this.m.subTo(n,n),n},z.prototype.revert=function(e){var n=N();return e.copyTo(n),this.reduce(n),n},z.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var n=0;n<this.m.t;++n){var r=32767&e[n],i=r*this.mpl+((r*this.mph+(e[n]>>15)*this.mpl&this.um)<<15)&e.DM;for(r=n+this.m.t,e[r]+=this.m.am(0,i,e,n,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},z.prototype.mulTo=function(e,n,r){e.multiplyTo(n,r),this.reduce(r)},z.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},F.prototype.copyTo=function(e){for(var n=this.t-1;n>=0;--n)e[n]=this[n];e.t=this.t,e.s=this.s},F.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},F.prototype.fromString=function(e,n){if(16==n)r=4;else if(8==n)r=3;else if(2==n)r=1;else if(32==n)r=5;else if(4==n)r=2;else throw Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;for(var r,i=e.length,o=!1,a=0;--i>=0;){var s=function(e,n){var r=U[e.charCodeAt(n)];return null==r?-1:r}(e,i);if(s<0){"-"==e.charAt(i)&&(o=!0);continue}o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB)}this.clamp(),o&&F.ZERO.subTo(this,this)},F.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},F.prototype.dlShiftTo=function(e,n){var r;for(r=this.t-1;r>=0;--r)n[r+e]=this[r];for(r=e-1;r>=0;--r)n[r]=0;n.t=this.t+e,n.s=this.s},F.prototype.drShiftTo=function(e,n){for(var r=e;r<this.t;++r)n[r-e]=this[r];n.t=Math.max(this.t-e,0),n.s=this.s},F.prototype.lShiftTo=function(e,n){var r,i=e%this.DB,o=this.DB-i,a=(1<<o)-1,s=Math.floor(e/this.DB),u=this.s<<i&this.DM;for(r=this.t-1;r>=0;--r)n[r+s+1]=this[r]>>o|u,u=(this[r]&a)<<i;for(r=s-1;r>=0;--r)n[r]=0;n[s]=u,n.t=this.t+s+1,n.s=this.s,n.clamp()}
vendor: 4,762 bytes, line 17
17,F.prototype.rShiftTo=function(e,n){n.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t){n.t=0;return}var i=e%this.DB,o=this.DB-i,a=(1<<i)-1;n[0]=this[r]>>i;for(var s=r+1;s<this.t;++s)n[s-r-1]|=(this[s]&a)<<o,n[s-r]=this[s]>>i;i>0&&(n[this.t-r-1]|=(this.s&a)<<o),n.t=this.t-r,n.clamp()},F.prototype.subTo=function(e,n){for(var r=0,i=0,o=Math.min(e.t,this.t);r<o;)i+=this[r]-e[r],n[r++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;r<this.t;)i+=this[r],n[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<e.t;)i-=e[r],n[r++]=i&this.DM,i>>=this.DB;i-=e.s}n.s=i<0?-1:0,i<-1?n[r++]=this.DV+i:i>0&&(n[r++]=i),n.t=r,n.clamp()},F.prototype.multiplyTo=function(e,n){var r=this.abs(),i=e.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=e.s&&F.ZERO.subTo(n,n)},F.prototype.squareTo=function(e){for(var n=this.abs(),r=e.t=2*n.t;--r>=0;)e[r]=0;for(r=0;r<n.t-1;++r){var i=n.am(r,n[r],e,2*r,0,1);(e[r+n.t]+=n.am(r+1,2*n[r],e,2*r+1,i,n.t-r-1))>=n.DV&&(e[r+n.t]-=n.DV,e[r+n.t+1]=1)}e.t>0&&(e[e.t-1]+=n.am(r,n[r],e,2*r,0,1)),e.s=0,e.clamp()},F.prototype.divRemTo=function(e,n,r){var i=e.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t){null!=n&&n.fromInt(0),null!=r&&this.copyTo(r);return}null==r&&(r=N());var a=N(),s=this.s,u=e.s,c=this.DB-V(i[i.t-1]);c>0?(i.lShiftTo(c,a),o.lShiftTo(c,r)):(i.copyTo(a),o.copyTo(r));var l=a.t,f=a[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?a[l-2]>>this.F2:0),h=this.FV/d,p=(1<<this.F1)/d,m=1<<this.F2,g=r.t,v=g-l,y=null==n?N():n;for(a.dlShiftTo(v,y),r.compareTo(y)>=0&&(r[r.t++]=1,r.subTo(y,r)),F.ONE.dlShiftTo(l,y),y.subTo(a,a);a.t<l;)a[a.t++]=0;for(;--v>=0;){var b=r[--g]==f?this.DM:Math.floor(r[g]*h+(r[g-1]+m)*p);if((r[g]+=a.am(0,b,r,v,0,l))<b)for(a.dlShiftTo(v,y),r.subTo(y,r);r[g]<--b;)r.subTo(y,r)}null!=n&&(r.drShiftTo(l,n),s!=u&&F.ZERO.subTo(n,n)),r.t=l,r.clamp(),c>0&&r.rShiftTo(c,r),s<0&&F.ZERO.subTo(r,r)}}},F.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if((1&e)==0)return 0;var n=3&e;return(n=(n=(n=(n=n*(2-(15&e)*n)&15)*(2-(255&e)*n)&255)*(2-((65535&e)*n&65535))&65535)*(2-e*n%this.DV)%this.DV)>0?this.DV-n:-n},F.prototype.addTo=function(e,n){for(var r=0,i=0,o=Math.min(e.t,this.t);r<o;)i+=this[r]+e[r],n[r++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i+=e.s;r<this.t;)i+=this[r],n[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<e.t;)i+=e[r],n[r++]=i&this.DM,i>>=this.DB;i+=e.s}n.s=i<0?-1:0,i>0?n[r++]=i:i<-1&&(n[r++]=this.DV+i),n.t=r,n.clamp()},F.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);if(16==e)n=4;else if(8==e)n=3;else if(2==e)n=1;else if(32==e)n=5;else if(4==e)n=2;else throw Error("Only radix 2, 4, 8, 16, 32 are supported");var n,r,i=(1<<n)-1,o=!1,a="",s=this.t,u=this.DB-s*this.DB%n;if(s-- >0)for(u<this.DB&&(r=this[s]>>u)>0&&(o=!0,a=L(r));s>=0;)u<n?r=(this[s]&(1<<u)-1)<<n-u|this[--s]>>(u+=this.DB-n):(r=this[s]>>(u-=n)&i,u<=0&&(u+=this.DB,--s)),r>0&&(o=!0),o&&(a+=L(r));return o?a:"0"},F.prototype.negate=function(){var e=N();return F.ZERO.subTo(this,e),e},F.prototype.abs=function(){return this.s<0?this.negate():this},F.prototype.compareTo=function(e){var n=this.s-e.s;if(0!=n)return n;var r=this.t;if(0!=(n=r-e.t))return this.s<0?-n:n;for(;--r>=0;)if(0!=(n=this[r]-e[r]))return n;return 0},F.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+V(this[this.t-1]^this.s&this.DM)},F.prototype.mod=function(e){var n=N();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(F.ZERO)>0&&e.subTo(n,n),n},F.prototype.equals=function(e){return 0==this.compareTo(e)},F.prototype.add=function(e){var n=N();return this.addTo(e,n),n},F.prototype.subtract=function(e){var n=N();return this.subTo(e,n),n},F.prototype.multiply=function(e){var n=N();return this.multiplyTo(e,n),n},F.prototype.divide=function(e){var n=N();return this.divRemTo(e,n,null),n},F.prototype.modPow=function(e,n,r){var i,o=e.bitLength(),a=B(1),s=new z(n);if(o<=0)return a;var u=[],c=3,l=(i=o<18?1:o<48?3:o<144?4:o<768?5:6)-1,f=(1<<i)-1;if(u[1]=s.convert(this),i>1){var d=N();for(s.sqrTo(u[1],d);c<=f;)u[c]=N(),s.mulTo(d,u[c-2],u[c]),c+=2}var h,p,m=e.t-1,g=!0,v=N();for(o=V(e[m])-1;m>=0;){for(o>=l?h=e[m]>>o-l&f:(h=(e[m]&(1<<o+1)-1)<<l-o,m>0&&(h|=e[m-1]>>this.DB+o-l)),c=i;(1&h)==0;)h>>=1,--c;if((o-=c)<0&&(o+=this.DB,--m),g)u[h].copyTo(a),g=!1;else{for(;c>1;)s.sqrTo(a,v),s.sqrTo(v,a),c-=2;c>0?s.sqrTo(a,v):(p=a,a=v,v=p),s.mulTo(v,u[h],a)}for(;m>=0&&(e[m]&1<<o)==0;)s.sqrTo(a,v),p=a,a=v,v=p,--o<0&&(o=this.DB-1,--m)}var y=s.revert(a);return r(null,y),y},F.ZERO=B(0),F.ONE=B(1);var $=/^[89a-f]/i,G=function(){function e(e){this.N=new F("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E
177EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",16),this.g=new F("2",16),this.k=new F(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue(function(){}),this.infoBits=R.lW.from("Caldera Derived Key","utf8"),this.poolName=e}var n=e.prototype;return n.getSmallAValue=function(){return this.smallAValue},n.getLargeAValue=function(e){var n=this;this.largeAValue?e(null,this.largeAValue):this.calculateA(this.smallAValue,function(r,i){r&&e(r,null),n.largeAValue=i,e(null,n.largeAValue)})},n.generateRandomSmallA=function(){var e=q(128).toString("hex");return new F(e,16)},n.generateRandomString=function(){return q(40).toString("base64")},n.getRandomPassword=function(){return this.randomPassword},n.getSaltDevices=function(){return this.SaltToHashDevices},n.getVerifierDevices=function(){return this.verifierDevices},n.generateHashDevice=function(e,n,r){var i=this;this.randomPassword=this.generateRandomString();var o=""+e+n+":"+this.randomPassword,a=this.hash(o),s=q(16).toString("hex");this.SaltToHashDevices=this.padHex(new F(s,16)),this.g.modPow(new F(this.hexHash(this.SaltToHashDevices+a),16),this.N,function(e,n){e&&r(e,null),i.verifierDevices=i.padHex(n),r(null,null)})},n.calculateA=function(e,n){var r=this;this.g.modPow(e,this.N,function(e,i){e&&n(e,null),i.mod(r.N).equals(F.ZERO)&&n(Error("Illegal paramater. A mod N cannot be 0."),null),n(null,i)})},n.calculateU=function(e,n){return this.UHexHash=this.hexHash(this.padHex(e)+this.padHex(n)),new F(this.UHexHash,16)},n.hash=function(e){var n=new M.Sha256;n.update(e);var r=n.digestSync(),i=R.lW.from(r).toString("hex");return Array(64-i.length).join("0")+i},n.hexHash=function(e){return this.hash(R.lW.from(e,"hex"))},n.computehkdf=function(e,n){var r=R.lW.concat([this.infoBits,R.lW.from("\x01","utf8")]),i=new M.Sha256(n);i.update(e);var o=i.digestSync(),a=new M.Sha256(o);return a.update(r),a.digestSync().slice(0,16)},n.getPasswordAuthenticationKey=function(e,n,r,i,o){var a=this;if(r.mod(this.N).equals(F.ZERO))throw Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,r),this.UValue.equals(F.ZERO))throw Error("U cannot be zero.");var s=""+this.poolName+e+":"+n,u=this.hash(s),c=new F(this.hexHash(this.padHex(i)+u),16);this.calculateS(c,r,function(e,n){e&&o(e,null),o(null,a.computehkdf(R.lW.from(a.padHex(n),"hex"),R.lW.from(a.padHex(a.UValue),"hex")))})},n.calculateS=function(e,n,r){var i=this;this.g.modPow(e,this.N,function(o,a){o&&r(o,null),n.subtract(i.k.multiply(a)).modPow(i.smallAValue.add(i.UValue.multiply(e)),i.N,function(e,n){e&&r(e,null),r(null,n.mod(i.N))})})},n.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."},n.padHex=function(e){if(!(e instanceof F))throw Error("Not a BigInteger");var n=0>e.compareTo(F.ZERO),r=e.abs().toString(16);if(r=r.length%2!=0?"0"+r:r,r=$.test(r)?"00"+r:r,n){var i=r.split("").map(function(e){var n=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(n)}).join("");(r=new F(i,16).add(F.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(r=r.substring(2))}return r},e}(),W=function(){function e(e){this.jwtToken=e||"",this.payload=this.decodePayload()}var n=e.prototype;return n.getJwtToken=function(){return this.jwtToken},n.getExpiration=function(){return this.payload.exp},n.getIssuedAt=function(){return this.payload.iat},n.decodePayload=function(){var e=this.jwtToken.split(".")[1];try{return JSON.parse(R.lW.from(e,"base64").toString("utf8"))}catch(e){return{}}},e}();
17function H(e,n){return(H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}/*!
18 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
19 * SPDX-License-Identifier: Apache-2.0
20 */var Q=function(e){var n;function r(n){var r=(void 0===n?{}:n).AccessToken;return e.call(this,r||"")||this}return(n=r).prototype=Object.create(e.prototype),n.prototype.constructor=n,H(n,e),r}(W);function K(e,n){return(K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}/*!
21 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22 * SPDX-License-Identifier: Apache-2.0
23 */var Z=function(e){var n;function r(n){var r=(void 0===n?{}:n).IdToken;return e.call(this,r||"")||this}return(n=r).prototype=Object.create(e.prototype),n.prototype.constructor=n,K(n,e),r}(W),J=function(){function e(e){var n=(void 0===e?{}:e).RefreshToken;this.token=n||""}return e.prototype.getToken=function(){return this.token},e}(),Y="aws-amplify/5.0.4",X={userAgent:Y+" js",product:"",navigator:null,isReactNative:!1};"undefined"!=typeof navigator&&navigator.product&&((X.product=navigator.product||"",X.navigator=navigator||null,"ReactNative"===navigator.product)?(X.userAgent=Y+" react-native",X.isReactNative=!0):(X.userAgent=Y+" js",X.isReactNative=!1));/*!
24 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
25 * SPDX-License-Identifier: Apache-2.0
26 */var ee=function(){function e(e){var n=void 0===e?{}:e,r=n.IdToken,i=n.RefreshToken,o=n.AccessToken,a=n.ClockDrift;if(null==o||null==r)throw Error("Id token and Access Token must be present.");this.idToken=r,this.refreshToken=i,this.accessToken=o,this.clockDrift=void 0===a?this.calculateClockDrift():a}var n=e.prototype;return n.getIdToken=function(){return this.idToken},n.getRefreshToken=function(){return this.refreshToken},n.getAccessToken=function(){return this.accessToken},n.getClockDrift=function(){return this.clockDrift},n.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},n.isValid=function(){var e=Math.floor(new Date/1e3)-this.clockDrift;return e<this.accessToken.getExpiration()&&e<this.idToken.getExpiration()},e}(),et=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],en=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],er=function(){function e(){}return e.prototype.getNowString=function(){var e=new Date,n=en[e.getUTCDay()],r=et[e.getUTCMonth()],i=e.getUTCDate(),o=e.getUTCHours();o<10&&(o="0"+o);var a=e.getUTCMinutes();a<10&&(a="0"+a);var s=e.getUTCSeconds();return s<10&&(s="0"+s),n+" "+r+" "+i+" "+o+":"+a+":"+s+" UTC "+e.getUTCFullYear()},e}(),ei=function(){function e(e){var n=void 0===e?{}:e,r=n.Name,i=n.Value;this.Name=r||"",this.Value=i||""}var n=e.prototype;return n.getValue=function(){return this.Value},n.setValue=function(e){return this.Value=e,this},n.getName=function(){return this.Name},n.setName=function(e){return this.Name=e,this},n.toString=function(){return JSON.stringify(this)},n.toJSON=function(){return{Name:this.Name,Value:this.Value}},e}(),eo={},ea=function(){function e(){}return e.setItem=function(e,n){return eo[e]=n,eo[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(eo,e)?eo[e]:void 0},e.removeItem=function(e){return delete eo[e]},e.clear=function(){return eo={}},e}(),es=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(e){this.storageWindow=ea}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),eu="undefined"!=typeof navigator?X.isReactNative?"react-native":navigator.userAgent:"nodejs",ec=function(){function e(e){if(null==e||null==e.Username||null==e.Pool)throw Error("Username and Pool information are required.");this.username=e.Username||"",this.pool=e.Pool,this.Session=null,this.client=e.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=e.Storage||new es().getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var n=e.prototype;return n.setSignInUserSession=function(e){this.clearCachedUserData(),this.signInUserSession=e,this.cacheTokens()},n.getSignInUserSession=function(){return this.signInUserSession},n.getUsername=function(){return this.username},n.getAuthenticationFlowType=function(){return this.authenticationFlowType},n.setAuthenticationFlowType=function(e){this.authenticationFlowType=e},n.initiateAuth=function(e,n){var r=this,i=e.getAuthParameters();i.USERNAME=this.username;var o=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),a={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:i,ClientMetadata:o};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",a,function(e,i){if(e)return n.onFailure(e);var o=i.ChallengeName,a=i.ChallengeParameters;return"CUSTOM_CHALLENGE"===o?(r.Session=i.Session,n.customChallenge(a)):(r.signInUserSession=r.getCognitoUserSession(i.AuthenticationResult),r.cacheTokens(),n.onSuccess(r.signInUserSession))})},n.authenticateUser=function(e,n){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(e,n):"USER_
26SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(e,n):n.onFailure(Error("Authentication flow type is invalid."))},n.authenticateUserDefaultAuth=function(e,n){var r,i,o=this,a=new G(this.pool.getUserPoolName()),s=new er,u={};null!=this.deviceKey&&(u.DEVICE_KEY=this.deviceKey),u.USERNAME=this.username,a.getLargeAValue(function(c,l){c&&n.onFailure(c),u.SRP_A=l.toString(16),"CUSTOM_AUTH"===o.authenticationFlowType&&(u.CHALLENGE_NAME="SRP_A");var f=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),d={AuthFlow:o.authenticationFlowType,ClientId:o.pool.getClientId(),AuthParameters:u,ClientMetadata:f};o.getUserContextData(o.username)&&(d.UserContextData=o.getUserContextData(o.username)),o.client.request("InitiateAuth",d,function(u,c){if(u)return n.onFailure(u);var l=c.ChallengeParameters;o.username=l.USER_ID_FOR_SRP,o.userDataKey=o.keyPrefix+"."+o.username+".userData",r=new F(l.SRP_B,16),i=new F(l.SALT,16),o.getCachedDeviceKeyAndPassword(),a.getPasswordAuthenticationKey(o.username,e.getPassword(),r,i,function(e,r){e&&n.onFailure(e);var i=s.getNowString(),u=R.lW.concat([R.lW.from(o.pool.getUserPoolName(),"utf8"),R.lW.from(o.username,"utf8"),R.lW.from(l.SECRET_BLOCK,"base64"),R.lW.from(i,"utf8")]),d=new M.Sha256(r);d.update(u);var h=d.digestSync(),p=R.lW.from(h).toString("base64"),m={};m.USERNAME=o.username,m.PASSWORD_CLAIM_SECRET_BLOCK=l.SECRET_BLOCK,m.TIMESTAMP=i,m.PASSWORD_CLAIM_SIGNATURE=p,null!=o.deviceKey&&(m.DEVICE_KEY=o.deviceKey);var g={ChallengeName:"PASSWORD_VERIFIER",ClientId:o.pool.getClientId(),ChallengeResponses:m,Session:c.Session,ClientMetadata:f};o.getUserContextData()&&(g.UserContextData=o.getUserContextData()),function e(n,r){return o.client.request("RespondToAuthChallenge",n,function(i,a){return i&&"ResourceNotFoundException"===i.code&&-1!==i.message.toLowerCase().indexOf("device")?(m.DEVICE_KEY=null,o.deviceKey=null,o.randomPassword=null,o.deviceGroupKey=null,o.clearCachedDeviceKeyAndPassword(),e(n,r)):r(i,a)})}(g,function(e,r){return e?n.onFailure(e):o.authenticateUserInternal(r,a,n)})})})})},n.authenticateUserPlainUsernamePassword=function(e,n){var r=this,i={};if(i.USERNAME=this.username,i.PASSWORD=e.getPassword(),!i.PASSWORD){n.onFailure(Error("PASSWORD parameter is required"));return}var o=new G(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(i.DEVICE_KEY=this.deviceKey);var a=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),s={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:i,ClientMetadata:a};this.getUserContextData(this.username)&&(s.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",s,function(e,i){return e?n.onFailure(e):r.authenticateUserInternal(i,o,n)})},n.authenticateUserInternal=function(e,n,r){var i=this,o=e.ChallengeName,a=e.ChallengeParameters;if("SMS_MFA"===o)return this.Session=e.Session,r.mfaRequired(o,a);if("SELECT_MFA_TYPE"===o)return this.Session=e.Session,r.selectMFAType(o,a);if("MFA_SETUP"===o)return this.Session=e.Session,r.mfaSetup(o,a);if("SOFTWARE_TOKEN_MFA"===o)return this.Session=e.Session,r.totpRequired(o,a);if("CUSTOM_CHALLENGE"===o)return this.Session=e.Session,r.customChallenge(a);if("NEW_PASSWORD_REQUIRED"===o){this.Session=e.Session;var s=null,u=null,c=[],l=n.getNewPasswordRequiredChallengeUserAttributePrefix();if(a&&(s=JSON.parse(e.ChallengeParameters.userAttributes),u=JSON.parse(e.ChallengeParameters.requiredAttributes)),u)for(var f=0;f<u.length;f++)c[f]=u[f].substr(l.length);return r.newPasswordRequired(s,c)}if("DEVICE_SRP_AUTH"===o){this.Session=e.Session,this.getDeviceResponse(r);return}this.signInUserSession=this.getCognitoUserSession(e.AuthenticationResult),this.challengeName=o,this.cacheTokens();var d=e.AuthenticationResult.NewDeviceMetadata;if(null==d)return r.onSuccess(this.signInUserSession);n.generateHashDevice(e.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,e.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(o){if
26(o)return r.onFailure(o);var a={Salt:R.lW.from(n.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:R.lW.from(n.getVerifierDevices(),"hex").toString("base64")};i.verifierDevices=a.PasswordVerifier,i.deviceGroupKey=d.DeviceGroupKey,i.randomPassword=n.getRandomPassword(),i.client.request("ConfirmDevice",{DeviceKey:d.DeviceKey,AccessToken:i.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:a,DeviceName:eu},function(n,o){return n?r.onFailure(n):(i.deviceKey=e.AuthenticationResult.NewDeviceMetadata.DeviceKey,i.cacheDeviceKeyAndPassword(),!0===o.UserConfirmationNecessary)?r.onSuccess(i.signInUserSession,o.UserConfirmationNecessary):r.onSuccess(i.signInUserSession)})})},n.completeNewPasswordChallenge=function(e,n,r,i){var o=this;if(!e)return r.onFailure(Error("New password is required."));var a=new G(this.pool.getUserPoolName()),s=a.getNewPasswordRequiredChallengeUserAttributePrefix(),u={};n&&Object.keys(n).forEach(function(e){u[s+e]=n[e]}),u.NEW_PASSWORD=e,u.USERNAME=this.username;var c={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:u,Session:this.Session,ClientMetadata:i};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",c,function(e,n){return e?r.onFailure(e):o.authenticateUserInternal(n,a,r)})},n.getDeviceResponse=function(e,n){var r=this,i=new G(this.deviceGroupKey),o=new er,a={};a.USERNAME=this.username,a.DEVICE_KEY=this.deviceKey,i.getLargeAValue(function(s,u){s&&e.onFailure(s),a.SRP_A=u.toString(16);var c={ChallengeName:"DEVICE_SRP_AUTH",ClientId:r.pool.getClientId(),ChallengeResponses:a,ClientMetadata:n,Session:r.Session};r.getUserContextData()&&(c.UserContextData=r.getUserContextData()),r.client.request("RespondToAuthChallenge",c,function(n,a){if(n)return e.onFailure(n);var s=a.ChallengeParameters,u=new F(s.SRP_B,16),c=new F(s.SALT,16);i.getPasswordAuthenticationKey(r.deviceKey,r.randomPassword,u,c,function(n,i){if(n)return e.onFailure(n);var u=o.getNowString(),c=R.lW.concat([R.lW.from(r.deviceGroupKey,"utf8"),R.lW.from(r.deviceKey,"utf8"),R.lW.from(s.SECRET_BLOCK,"base64"),R.lW.from(u,"utf8")]),l=new M.Sha256(i);l.update(c);var f=l.digestSync(),d=R.lW.from(f).toString("base64"),h={};h.USERNAME=r.username,h.PASSWORD_CLAIM_SECRET_BLOCK=s.SECRET_BLOCK,h.TIMESTAMP=u,h.PASSWORD_CLAIM_SIGNATURE=d,h.DEVICE_KEY=r.deviceKey;var p={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:r.pool.getClientId(),ChallengeResponses:h,Session:a.Session};r.getUserContextData()&&(p.UserContextData=r.getUserContextData()),r.client.request("RespondToAuthChallenge",p,function(n,i){return n?e.onFailure(n):(r.signInUserSession=r.getCognitoUserSession(i.AuthenticationResult),r.cacheTokens(),e.onSuccess(r.signInUserSession))})})})})},n.confirmRegistration=function(e,n,r,i){var o={ClientId:this.pool.getClientId(),ConfirmationCode:e,Username:this.username,ForceAliasCreation:n,ClientMetadata:i};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",o,function(e){return e?r(e,null):r(null,"SUCCESS")})},n.sendCustomChallengeAnswer=function(e,n,r){var i=this,o={};o.USERNAME=this.username,o.ANSWER=e;var a=new G(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var s={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",s,function(e,r){return e?n.onFailure(e):i.authenticateUserInternal(r,a,n)})},n.sendMFACode=function(e,n,r,i){var o=this,a={};a.USERNAME=this.username,a.SMS_MFA_CODE=e;var s=r||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===s&&(a.SOFTWARE_TOKEN_MFA_CODE=e),null!=this.deviceKey&&(a.DEVICE_KEY=this.deviceKey);var u={ChallengeName:s,ChallengeResponses:a,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:i};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",u,function(e,r){if(e)return n.onFailure(e);
26if("DEVICE_SRP_AUTH"===r.ChallengeName){o.getDeviceResponse(n);return}if(o.signInUserSession=o.getCognitoUserSession(r.AuthenticationResult),o.cacheTokens(),null==r.AuthenticationResult.NewDeviceMetadata)return n.onSuccess(o.signInUserSession);var i=new G(o.pool.getUserPoolName());i.generateHashDevice(r.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,r.AuthenticationResult.NewDeviceMetadata.DeviceKey,function(e){if(e)return n.onFailure(e);var a={Salt:R.lW.from(i.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:R.lW.from(i.getVerifierDevices(),"hex").toString("base64")};o.verifierDevices=a.PasswordVerifier,o.deviceGroupKey=r.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,o.randomPassword=i.getRandomPassword(),o.client.request("ConfirmDevice",{DeviceKey:r.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:o.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:a,DeviceName:eu},function(e,i){return e?n.onFailure(e):(o.deviceKey=r.AuthenticationResult.NewDeviceMetadata.DeviceKey,o.cacheDeviceKeyAndPassword(),!0===i.UserConfirmationNecessary)?n.onSuccess(o.signInUserSession,i.UserConfirmationNecessary):n.onSuccess(o.signInUserSession)})})})},n.changePassword=function(e,n,r,i){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return r(Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:e,ProposedPassword:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:i},function(e){return e?r(e,null):r(null,"SUCCESS")})},n.enableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);var n=[];n.push({DeliveryMedium:"SMS",AttributeName:"phone_number"}),this.client.request("SetUserSettings",{MFAOptions:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n){return n?e(n,null):e(null,"SUCCESS")})},n.setUserMfaPreference=function(e,n,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return r(Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:e,SoftwareTokenMfaSettings:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?r(e,null):r(null,"SUCCESS")})},n.disableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);this.client.request("SetUserSettings",{MFAOptions:[],AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n){return n?e(n,null):e(null,"SUCCESS")})},n.deleteUser=function(e,n){var r=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},function(n){return n?e(n,null):(r.clearCachedUser(),e(null,"SUCCESS"))})},n.updateAttributes=function(e,n,r){var i=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:e,ClientMetadata:r},function(e,r){return e?n(e,null):i.getUserData(function(){return n(null,"SUCCESS",r)},{bypassCache:!0})})},n.getUserAttributes=function(e){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return e(Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n,r){if(n)return e(n,null);for(var i=[],o=0;o<r.UserAttributes.length;o++){var a={Name:r.UserAttributes[o].Name,Value:r.UserAttributes[o].Value},s=new ei(a);i.push(s)}return e(null,i)})},n.getMFAOptions=function(e){if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return e(Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n,r){return n?e(n,null):e(null,r.MFAOptions)})},n.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},n.refreshSessionIfPossible=function(e){var n=this;return void 0===e&&(e={}),new Promise(function(r){var i=n.signInUserSession.getRefreshToken();i&&i.getToken()?n.refreshSession(i,r,e.clientMetadata):r()})},n.getUserData=function(e,n){var r=this;if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return this.clearCachedUserData(),e(Error("User is not authenticated"),null);
26var i=this.getUserDataFromCache();if(!i){this.fetchUserData().then(function(n){e(null,n)}).catch(e);return}if(this.isFetchUserDataAndTokenRequired(n)){this.fetchUserData().then(function(e){return r.refreshSessionIfPossible(n).then(function(){return e})}).then(function(n){return e(null,n)}).catch(e);return}try{e(null,JSON.parse(i));return}catch(n){this.clearCachedUserData(),e(n,null);return}},n.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},n.isFetchUserDataAndTokenRequired=function(e){var n=(e||{}).bypassCache;return void 0!==n&&n},n.fetchUserData=function(){var e=this;return this.createGetUserRequest().then(function(n){return e.cacheUserData(n),n})},n.deleteAttributes=function(e,n){var r=this;if(!(null!=this.signInUserSession&&this.signInUserSession.isValid()))return n(Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?n(e,null):r.getUserData(function(){return n(null,"SUCCESS")},{bypassCache:!0})})},n.resendConfirmationCode=function(e,n){var r={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:n};this.client.request("ResendConfirmationCode",r,function(n,r){return n?e(n,null):e(null,r)})},n.getSession=function(e,n){if(void 0===n&&(n={}),null==this.username)return e(Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return e(null,this.signInUserSession);var r="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,i=r+".idToken";if(this.storage.getItem(i)){var o=new Z({IdToken:this.storage.getItem(i)}),a=new Q({AccessToken:this.storage.getItem(r+".accessToken")}),s=new J({RefreshToken:this.storage.getItem(r+".refreshToken")}),u=parseInt(this.storage.getItem(r+".clockDrift"),0)||0,c=new ee({IdToken:o,AccessToken:a,RefreshToken:s,ClockDrift:u});if(c.isValid())return this.signInUserSession=c,e(null,this.signInUserSession);if(!s.getToken())return e(Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(s,e,n.clientMetadata)}else e(Error("Local storage is missing an ID Token, Please authenticate"),null)},n.refreshSession=function(e,n,r){var i=this,o=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(n):n,a={};a.REFRESH_TOKEN=e.getToken();var s="CognitoIdentityServiceProvider."+this.pool.getClientId(),u=s+".LastAuthUser";if(this.storage.getItem(u)){this.username=this.storage.getItem(u);var c=s+"."+this.username+".deviceKey";this.deviceKey=this.storage.getItem(c),a.DEVICE_KEY=this.deviceKey}var l={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:a,ClientMetadata:r};this.getUserContextData()&&(l.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",l,function(n,r){if(n)return"NotAuthorizedException"===n.code&&i.clearCachedUser(),o(n,null);if(r){var a=r.AuthenticationResult;return Object.prototype.hasOwnProperty.call(a,"RefreshToken")||(a.RefreshToken=e.getToken()),i.signInUserSession=i.getCognitoUserSession(a),i.cacheTokens(),o(null,i.signInUserSession)}})},n.cacheTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),n=e+"."+this.username+".idToken",r=e+"."+this.username+".accessToken",i=e+"."+this.username+".refreshToken",o=e+"."+this.username+".clockDrift";this.storage.setItem(n,this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(r,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(i,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(o,""+this.signInUserSession.getClockDrift()),this.storage.setItem(e+".LastAuthUser",this.username)},n.cacheUserData=function(e){this.storage.setItem(this.userDataKey,JSON.stringify(e))},n.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},n.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()},n.cacheDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username;this.storage.setItem(e+".deviceKey",this.deviceKey),this.storage.setItem(e+".randomPasswordKey",this.randomPassword),this.storage.setItem(e+".deviceGroupKey",this.deviceGroupKey)},n.getCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,n=e+".deviceKey";this.storage.getItem(n)&&(this.deviceKey=this.storage.getItem(n),this.randomPassword=this.storage.getItem(e+".randomPasswordKey"),this.deviceGroupKey=this.storage.getItem(e+".deviceGroupKey"))},n.clearCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username;this.storage.removeItem(e+".deviceKey"),this.storage.removeItem(e+".randomPasswordKey"),this.storage.removeItem(e+".deviceGroupKey")},n.clearCachedTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),n=e+"."+this.username+".idToken",r=e+"."+this.username+".accessToken",i=e+"."+this.username+".refreshToken",o=e+"."+this.username+".clockDrift";this.storage.removeItem(n),this.storage.removeItem(r),this.storage.removeItem(i),this.storage.removeItem(e+".LastAuthUser"),this.storage.removeItem(o)},n.getCognitoUserSession=function(e){var n=new Z(e),r=new Q(e),i=new J(e);return new ee({IdToken:n,AccessToken:r,RefreshToken:i})},n.forgotPassword=function(e,n){var r={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:n};this.getUserContextData()&&(r.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",r,function(n,r){return n?e.onFailure(n):"function"==typeof e.inputVerificationCode?e.inputVerificationCode(r):e.onSuccess(r)})},n.confirmPassword=function(e,n,r,i){var o={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:e,Password:n,ClientMetadata:i};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",o,function(e){return e?r.onFailure(e):r.onSuccess("SUCCESS")})},n.getAttributeVerificationCode=function(e,n,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:r},function(e,r){return e?n.onFailure(e):"function"==typeof n.inputVerificationCode?n.inputVerificationCode(r):n.onSuccess("SUCCESS")})},n.verifyAttribute=function(e,n,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return r.onFailure(Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:e,Code:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(e){return e?r.onFailure(e):r.onSuccess("SUCCESS")})},n.getDevice=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},function(n,r){return n?e.onFailure(n):e.onSuccess(r)})},n.forgetSpecificDevice=function(e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:e},function(e){return e?n.onFailure(e):n.onSuccess("SUCCESS")})},n.forgetDevice=function(e){var n=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:e.onFailure,onSuccess:function(r){return n.deviceKey=null,n.deviceGroupKey=null,n.randomPassword=null,n.clearCachedDeviceKeyAndPassword(),e.onSuccess(r)}})},n.setDeviceStatusRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},function(n){return n?e.onFailure(n):e.onSuccess("SUCCESS")})},n.setDeviceStatusNotRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},function(n){return n?e.onFailure(n):e.onSuccess("SUCCESS")})},n.listDevices=function(e,n,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return r.onFailure(Error("User is not authenticated"));var i={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:e};n&&(i.PaginationToken=n),this.client.request("ListDevices",i,function(e,n){return e?r.onFailure(e):r.onSuccess(n)})},n.globalSignOut=function(e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(r){return r?e.onFailure(r):(n.clearCachedUser(),e.onSuccess("SUCCESS"))})},n.signOut=function(e){var n=this;if(!e||"function"!=typeof e){this.cleanClientData();return}this.getSession(function(r,i){if(r)return e(r);n.revokeTokens(function(r){n.cleanClientData(),e(r)})})},n.revokeTokens=function(e){if(void 0===e&&(e=function(){}),"function"!=typeof e)throw Error("Invalid revokeTokenCallback. It should be a function.");
26if(!this.signInUserSession)return e(Error("User is not authenticated"));if(!this.signInUserSession.getAccessToken())return e(Error("No Access token available"));var n=this.signInUserSession.getRefreshToken().getToken(),r=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(r)&&n)return this.revokeToken({token:n,callback:e});e()},n.isSessionRevocable=function(e){if(e&&"function"==typeof e.decodePayload)try{return!!e.decodePayload().origin_jti}catch(e){}return!1},n.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},n.revokeToken=function(e){var n=e.token,r=e.callback;this.client.requestWithRetry("RevokeToken",{Token:n,ClientId:this.pool.getClientId()},function(e){if(e)return r(e);r()})},n.sendMFASelectionAnswer=function(e,n){var r=this,i={};i.USERNAME=this.username,i.ANSWER=e;var o={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:i,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",o,function(i,o){return i?n.onFailure(i):(r.Session=o.Session,"SMS_MFA"===e)?n.mfaRequired(o.ChallengeName,o.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===e?n.totpRequired(o.ChallengeName,o.ChallengeParameters):void 0})},n.getUserContextData=function(){return this.pool.getUserContextData(this.username)},n.associateSoftwareToken=function(e){var n=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},function(n,r){return n?e.onFailure(n):e.associateSecretCode(r.SecretCode)}):this.client.request("AssociateSoftwareToken",{Session:this.Session},function(r,i){return r?e.onFailure(r):(n.Session=i.Session,e.associateSecretCode(i.SecretCode))})},n.verifySoftwareToken=function(e,n,r){var i=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:e,FriendlyDeviceName:n},function(e,n){return e?r.onFailure(e):r.onSuccess(n)}):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:e,FriendlyDeviceName:n},function(e,n){if(e)return r.onFailure(e);i.Session=n.Session;var o={};o.USERNAME=i.username;var a={ChallengeName:"MFA_SETUP",ClientId:i.pool.getClientId(),ChallengeResponses:o,Session:i.Session};i.getUserContextData()&&(a.UserContextData=i.getUserContextData()),i.client.request("RespondToAuthChallenge",a,function(e,n){return e?r.onFailure(e):(i.signInUserSession=i.getCognitoUserSession(n.AuthenticationResult),i.cacheTokens(),r.onSuccess(i.signInUserSession))})})},e}();function el(){}function ef(e){var n="function"==typeof Map?new Map:void 0;return(ef=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return ed(e,arguments,ep(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),eh(r,e)})(e)}function ed(e,n,r){return(ed=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,n,r){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(e,i));return r&&eh(o,r.prototype),o}:Reflect.construct.bind()).apply(null,arguments)}function eh(e,n){return(eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function ep(e){return(ep=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r(63144),el.prototype.userAgent=X.userAgent;var em=function(e){var n;function r(n,r,i,o){var a;return(a=e.call(this,n)||this).code=r,a.name=i,a.statusCode=o,a}return(n=r).prototype=Object.create(e.prototype),n.prototype.constructor=n,eh(n,e),r}(ef(Error)),eg=function(){function e(e,n,r){this.endpoint=n||"https://cognito-idp."+e+".amazonaws.com/";var i=(r||{}).credentials;this.fetchOptions=i?{credentials:i}:{}}var n=e.prototype;return n.promisifyRequest=function(e,n){var r=this;return new Promise(function(i,o){r.request(e,n,function(e,n){e?o(new em(e.message,e.code,e.name,e.statusCode)):i(n)})})},n.requestWithRetry=function(e,n,r){var i=this;(function e(n,r,i,o){if(void 0===o&&(o=1),"function"!=typeof n)throw Error("functionToRetry must be a function");return ev.debug(n.name+" attempt #"+o+" with args: "+JSON.stringify(r)),n.apply(void 0,r).catch(function(a){if
26(ev.debug("error on "+n.name,a),a&&a.nonRetryable)throw ev.debug(n.name+" non retryable error",a),a;var s=i(o,r,a);if(ev.debug(n.name+" retrying in "+s+" ms"),!1!==s)return new Promise(function(e){return setTimeout(e,s)}).then(function(){return e(n,r,i,o+1)});throw a})})(function(n){return new Promise(function(r,o){i.request(e,n,function(e,n){e?o(e):r(n)})})},[n],function(e){var n=100*Math.pow(2,e)+100*Math.random();return!(n>5e3)&&n}).then(function(e){return r(null,e)}).catch(function(e){return r(e)})},n.request=function(e,n,r){var i,o={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+e,"X-Amz-User-Agent":el.prototype.userAgent,"Cache-Control":"no-store"},a=Object.assign({},this.fetchOptions,{headers:o,method:"POST",mode:"cors",body:JSON.stringify(n)});fetch(this.endpoint,a).then(function(e){return i=e,e},function(e){if(e instanceof TypeError)throw Error("Network error");throw e}).then(function(e){return e.json().catch(function(){return{}})}).then(function(e){if(i.ok)return r(null,e);var n=(e.__type||e.code).split("#").pop(),o=Error(e.message||e.Message||null);return o.name=n,o.code=n,r(o)}).catch(function(e){if(i&&i.headers&&i.headers.get("x-amzn-errortype"))try{var n=i.headers.get("x-amzn-errortype").split(":")[0],o=Error(i.status?i.status.toString():null);return o.code=n,o.name=n,o.statusCode=i.status,r(o)}catch(e){}else e instanceof Error&&"Network error"===e.message&&(e.code="NetworkError");return r(e)})},e}(),ev={debug:function(){}},ey=function(){function e(e,n){var r=e||{},i=r.UserPoolId,o=r.ClientId,a=r.endpoint,s=r.fetchOptions,u=r.AdvancedSecurityDataCollectionFlag;if(!i||!o)throw Error("Both UserPoolId and ClientId are required.");if(i.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(i))throw Error("Invalid UserPoolId format.");var c=i.split("_")[0];this.userPoolId=i,this.clientId=o,this.client=new eg(c,a,s),this.advancedSecurityDataCollectionFlag=!1!==u,this.storage=e.Storage||new es().getStorage(),n&&(this.wrapRefreshSessionCallback=n)}var n=e.prototype;return n.getUserPoolId=function(){return this.userPoolId},n.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},n.getClientId=function(){return this.clientId},n.signUp=function(e,n,r,i,o,a){var s=this,u={ClientId:this.clientId,Username:e,Password:n,UserAttributes:r,ValidationData:i,ClientMetadata:a};this.getUserContextData(e)&&(u.UserContextData=this.getUserContextData(e)),this.client.request("SignUp",u,function(n,r){if(n)return o(n,null);var i={Username:e,Pool:s,Storage:s.storage};return o(null,{user:new ec(i),userConfirmed:r.UserConfirmed,userSub:r.UserSub,codeDeliveryDetails:r.CodeDeliveryDetails})})},n.getCurrentUser=function(){var e="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",n=this.storage.getItem(e);if(n){var r={Username:n,Pool:this,Storage:this.storage};return new ec(r)}return null},n.getUserContextData=function(e){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var n=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var r=n.getData(e,this.userPoolId,this.clientId);if(r)return{EncodedData:r}}return{}}},e}(),eb=r(55450),ew=function(){function e(e){if(e.domain)this.domain=e.domain;else throw Error("The domain of cookieStorage can not be undefined.");if(e.path?this.path=e.path:this.path="/",Object.prototype.hasOwnProperty.call(e,"expires")?this.expires=e.expires:this.expires=365,Object.prototype.hasOwnProperty.call(e,"secure")?this.secure=e.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!["strict","lax","none"].includes(e.sameSite))throw Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===e.sameSite&&!this.secure)throw Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=e.sameSite}else this.sameSite=null}var n=e.prototype;return n.setItem=function(e,n){var r={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(r.sameSite=this.sameSite),eb.set(e,n,r),eb.get(e)},n.getItem=function(e){return eb.get(e)},n.removeItem=function(e){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),eb.remove(e,n)},n.clear=function(){for(var e=eb.get(),n=Object.keys(e).length,r=0;r<n;++r)this.removeItem(Object.keys(e)[r]);return{}},e}(),eS=r(11987),e_=function(e){var n=window.open(e,"_self");return n?Promise.resolve(n):Promise.reject()},ek=function(e){window.sessionStorage.setItem("oauth_state",e)},ex=function(){var e=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),e},eE=function(e){window.sessionStorage.setItem("ouath_pkce_key",e)},eC=function(){var e=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),e},eA="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",eI=function(e,n,r){y.X.dispatch("auth",{event:e,data:n,message:r},"Auth",eA)},eT=new v.k("OAuth"),eP=function(){function e(e){var n=e.config,r=e.cognitoClientId,i=e.scopes,o=void 0===i?[]:i;if(this._urlOpener=n.urlOpener||e_,this._config=n,this._cognitoClientId=r,!this.isValidScopes(o))throw Error("scopes must be a String Array");this._scopes=o}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every(function(e){return"string"==typeof e})},e.prototype.oauthSignIn=function(e,n,r,i,o,a){void 0===e&&(e="code"),void 0===o&&(o=g.JG.Cognito);var s=this._generateState(32),u=a?s+"-"+a.split("").map(function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")}).join(""):s;ek(u);var c=this._generateRandom(128);eE(c);var l=this._generateChallenge(c),f="https://"+n+"/oauth2/authorize?"+Object.entries(d(d({redirect_uri:r,response_type:e,client_id:i,identity_provider:o,scope:this._scopes.join(" "),state:u},"code"===e?{code_challenge:l}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map(function(e){var n=m(e,2),r=n[0],i=n[1];return encodeURIComponent(r)+"="+encodeURIComponent(i)}).join("&");eT.debug("Redirecting to "+f),this._urlOpener(f,r)},e.prototype._handleCodeFlow=function(e){return h(this,void 0,void 0,function(){var n,r,i,o,a,s,u,c,l,f,h,v;return p(this,function(p){switch(p.label){case 0:if(n=((0,eS.parse)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,n){var r,i=m(n,2),o=i[0],a=i[1];return d(d({},e),((r={})[o]=a,r))},{code:void 0}).code,r=(0,eS.parse)(e).pathname||"/",i=(0,eS.parse)(this._config.redirectSignIn).pathname||"/",!n||r!==i)return[2];return eI("codeFlow",{},"Retrieving tokens from "+(o="https://"+this._config.domain+"/oauth2/token")),s=d({grant_type:"authorization_code",code:n,client_id:(0,g.ic)(this._config)?this._cognitoClientId:this._config.clientID,redirect_uri:(0,g.ic)(this._config)?this._config.redirectSignIn:this._config.redirectUri},(a=eC())?{code_verifier:a}:{}),eT.debug("Calling token endpoint: "+o+" with",s),u=Object.entries(s).map(function(e){var n=m(e,2),r=n[0],i=n[1];return encodeURIComponent(r)+"="+encodeURIComponent(i)}).join("&"),[4,fetch(o,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:u})];case 1:return[4,p.sent().json()];case 2:if(l=(c=p.sent()).access_token,f=c.refresh_token,h=c.id_token,v=c.error)throw Error(v);return[2,{accessToken:l,refreshToken:f,idToken:h}]}})})},e.prototype._handleImplicitFlow=function(e){return h(this,void 0,void 0,function(){var n,r,i;return p(this,function(o){return r=(n=((0,eS.parse)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,n){var r,i=m(n,2),o=i[0],a=i[1];return d(d({},e),((r={})[o]=a,r))},{id_token:void 0,access_token:void 0})).id_token,i=n.access_token,eI("implicitFlow",{},"Got tokens from "+e),eT.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:i,idToken:r,refreshToken:null}]})})},e.prototype.handleAuthResponse=function(e){return h(this,void 0,void 0,function(){var n,r,i,o,a,s,u;return p(this,function(c){switch(c.label){case 0:if(c.trys.push([0,5,,6]),r=(n=e?d(d({},((0,eS.parse)(e).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).reduce(function(e,n){var r=m(n,2),i=r[0],o=r[1];return e[i]=o,e},{})),((0,eS.parse)(e).query||"").split("&").map(function(e){return e.split("=")}).reduce(function(e,n){var r=m(n,2),i=r[0],o=r[1];return e[i]=o,e},{})):{}
26).error,i=n.error_description,r)throw Error(i);if(o=this._validateState(n),eT.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType)return[3,2];return a=[{}],[4,this._handleCodeFlow(e)];case 1:return[2,d.apply(void 0,[d.apply(void 0,a.concat([c.sent()])),{state:o}])];case 2:return s=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,d.apply(void 0,[d.apply(void 0,s.concat([c.sent()])),{state:o}])];case 4:return[3,6];case 5:throw u=c.sent(),eT.error("Error handling auth response.",u),u;case 6:return[2]}})})},e.prototype._validateState=function(e){if(e){var n=ex(),r=e.state;if(n&&n!==r)throw Error("Invalid state in OAuth flow");return r}},e.prototype.signOut=function(){return h(this,void 0,void 0,function(){var e,n;return p(this,function(r){return eI("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+(e="https://"+this._config.domain+"/logout?"+Object.entries({client_id:(0,g.ic)(this._config)?this._cognitoClientId:this._config.oauth.clientID,logout_uri:encodeURIComponent(n=(0,g.ic)(this._config)?this._config.redirectSignOut:this._config.returnTo)}).map(function(e){var n=m(e,2);return n[0]+"="+n[1]}).join("&"))),eT.debug("Signing out from "+e),[2,this._urlOpener(e,n)]})})},e.prototype._generateState=function(e){for(var n="",r=e,i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";r>0;--r)n+=i[Math.round(Math.random()*(i.length-1))];return n},e.prototype._generateChallenge=function(e){var n=new M.Sha256;n.update(e);var r=n.digestSync(),i=R.lW.from(r).toString("base64");return this._base64URL(i)},e.prototype._base64URL=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var n=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(n);else for(var r=0;r<e;r+=1)n[r]=66*Math.random()|0;return this._bufferToString(n)},e.prototype._bufferToString=function(e){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=[],i=0;i<e.byteLength;i+=1){var o=e[i]%n.length;r.push(n[o])}return r.join("")},e}(),eO=function(e){if((0,C.lC)().isBrowser&&window.location)e({url:window.location.href});else if((0,C.lC)().isNode);else throw Error("Not supported")};(i=c||(c={})).DEFAULT_MSG="Authentication Error",i.EMPTY_EMAIL="Email cannot be empty",i.EMPTY_PHONE="Phone number cannot be empty",i.EMPTY_USERNAME="Username cannot be empty",i.INVALID_USERNAME="The username should either be a string or one of the sign in types",i.EMPTY_PASSWORD="Password cannot be empty",i.EMPTY_CODE="Confirmation code cannot be empty",i.SIGN_UP_ERROR="Error creating account",i.NO_MFA="No valid MFA method provided",i.INVALID_MFA="Invalid MFA type",i.EMPTY_CHALLENGE="Challenge response cannot be empty",i.NO_USER_SESSION="Failed to get the session because the user is empty",i.NETWORK_ERROR="Network Error",i.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",i.AUTOSIGNIN_ERROR="Please use your credentials to sign in";var eR=new v.k("AuthError"),eD=function(e){function n(r){var i=this,o=eF[r],a=o.message,s=o.log;return(i=e.call(this,a)||this).constructor=n,Object.setPrototypeOf(i,n.prototype),i.name="AuthError",i.log=s||a,eR.error(i.log),i}return f(n,e),n}(Error),eM=function(e){function n(r){var i=e.call(this,r)||this;return i.constructor=n,Object.setPrototypeOf(i,n.prototype),i.name="NoUserPoolError",i}return f(n,e),n}(eD),eF={noConfig:{message:c.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly.\n            This error is typically caused by one of the following scenarios:\n\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n            \n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\n				Refer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n        "},missingAuthConfig:{message:c.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly. \n            The configuration object is missing required auth properties.\n            This error is typically caused by one of the following scenarios:\n\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n        "},emptyUsername:{message:c.EMPTY_USERNAME},invalidUsername:{message:c.INVALID_USERNAME},emptyPassword:{message:c.EMPTY_PASSWORD},emptyCode:{message:c.EMPTY_CODE},signUpError:{message:c.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:c.NO_MFA},invalidMFA:{message:c.INVALID_MFA},emptyChallengeResponse:{message:c.EMPTY_CHALLENGE},noUserSession:{message:c.NO_USER_SESSION},deviceConfig:{message:c.DEVICE_CONFIG}
26,networkError:{message:c.NETWORK_ERROR},autoSignInError:{message:c.AUTOSIGNIN_ERROR},default:{message:c.DEFAULT_MSG}},eN=new v.k("AuthClass"),ej="aws.cognito.signin.user.admin",eU="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",eL=function(e,n,r){y.X.dispatch("auth",{event:e,data:n,message:r},"Auth",eU)},eB=new(function(){function e(e){var n=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=b.c,this.wrapRefreshSessionCallback=function(e){return function(n,r){return r?eL("tokenRefresh",void 0,"New token retrieved"):eL("tokenRefresh_failure",n,"Failed to retrieve new token"),e(n,r)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),y.X.listen("auth",function(e){switch(e.payload.event){case"verify":case"signIn":n._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":n._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":n._storage.setItem("amplify-signin-with-hostedUI","true")}})}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var n=this;if(!e)return this._config||{};eN.debug("configure Auth");var r=Object.assign({},this._config,(0,w.h)(e).Auth,e);this._config=r;var i=this._config,o=i.userPoolId,a=i.userPoolWebClientId,s=i.cookieStorage,u=i.oauth,c=i.region,l=i.identityPoolId,f=i.mandatorySignIn,d=i.refreshHandlers,h=i.identityPoolRegion,p=i.clientMetadata,m=i.endpoint;if(this._config.storage){if(!this._isValidAuthStorage(this._config.storage))throw eN.error("The storage in the Auth config is not valid!"),Error("Empty storage object");this._storage=this._config.storage}else s?this._storage=new ew(s):this._storage=e.ssr?new I:new T.c().getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),o){var v={UserPoolId:o,ClientId:a,endpoint:m};v.Storage=this._storage,this.userPool=new ey(v,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:f,region:c,userPoolId:o,identityPoolId:l,refreshHandlers:d,storage:this._storage,identityPoolRegion:h});var y=u?(0,g.ic)(this._config.oauth)?u:u.awsCognito:void 0;if(y){var b=Object.assign({cognitoClientId:a,UserPoolId:o,domain:y.domain,scopes:y.scope,redirectSignIn:y.redirectSignIn,redirectSignOut:y.redirectSignOut,responseType:y.responseType,Storage:this._storage,urlOpener:y.urlOpener,clientMetadata:p},y.options);this._oAuthHandler=new eP({scopes:b.scopes,config:b,cognitoClientId:b.cognitoClientId});var S={};eO(function(e){var r=e.url;S[r]||(S[r]=!0,n._handleAuthResponse(r))})}return eL("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!=typeof this._storage.getItem||(this.isTrueStorageValue("amplify-polling-started")&&(eL("autoSignIn_failure",null,g.Qg.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started")),this._config},e.prototype.signUp=function(e){for(var n,r,i,o,a=this,s=[],u=1;u<arguments.length;u++)s[u-1]=arguments[u];if(!this.userPool)return this.rejectNoUserPool();var c=null,l=null,f=[],d=null,h={enabled:!1},p={},m={};if(e&&"string"==typeof e){c=e,l=s?s[0]:null;var v=s?s[1]:null,y=s?s[2]:null;v&&f.push(new ei({Name:"email",Value:v})),y&&f.push(new ei({Name:"phone_number",Value:y}))}else{if(!e||"object"!=typeof e)return this.rejectAuthError(g.Qg.SignUpError);c=e.username,l=e.password,e&&e.clientMetadata?o=e.clientMetadata:this._config.clientMetadata&&(o=this._config.clientMetadata);var b=e.attributes;b&&Object.keys(b).map(function(e){f.push(new ei({Name:e,Value:b[e]}))});var w=e.validationData;w&&(d=[],Object.keys(w).map(function(e){d.push(new ei({Name:e,Value:w[e]}))})),(h=null!==(n=e.autoSignIn)&&void 0!==n?n:{enabled:!1}).enabled&&(this._storage.setItem("amplify-auto-sign-in","true"),p=null!==(r=h.val
26idationData)&&void 0!==r?r:{},m=null!==(i=h.clientMetaData)&&void 0!==i?i:{})}return c?l?(eN.debug("signUp attrs:",f),eN.debug("signUp validation data:",d),new Promise(function(e,n){a.userPool.signUp(c,l,f,d,function(r,i){r?(eL("signUp_failure",r,c+" failed to signup"),n(r)):(eL("signUp",i,c+" has signed up successfully"),h.enabled&&a.handleAutoSignIn(c,l,p,m,i),e(i))},o)})):this.rejectAuthError(g.Qg.EmptyPassword):this.rejectAuthError(g.Qg.EmptyUsername)},e.prototype.handleAutoSignIn=function(e,n,r,i,o){this.autoSignInInitiated=!0;var a=new O({Username:e,Password:n,ValidationData:r,ClientMetadata:i});o.userConfirmed?this.signInAfterUserConfirmed(a):"link"===this._config.signUpVerificationMethod?this.handleLinkAutoSignIn(a):this.handleCodeAutoSignIn(a)},e.prototype.handleCodeAutoSignIn=function(e){var n=this,r=function(i){"confirmSignUp"===i.payload.event&&n.signInAfterUserConfirmed(e,r)};y.X.listen("auth",r)},e.prototype.handleLinkAutoSignIn=function(e){var n=this;this._storage.setItem("amplify-polling-started","true");var r=Date.now(),i=setInterval(function(){Date.now()-r>18e4?(clearInterval(i),eL("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),n._storage.removeItem("amplify-auto-sign-in")):n.signInAfterUserConfirmed(e,null,i)},5e3)},e.prototype.signInAfterUserConfirmed=function(e,n,r){return h(this,void 0,void 0,function(){var i,o,a=this;return p(this,function(s){switch(s.label){case 0:i=this.createCognitoUser(e.getUsername()),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,i.authenticateUser(e,this.authCallbacks(i,function(i){eL("autoSignIn",i,e.getUsername()+" has signed in successfully"),n&&y.X.remove("auth",n),r&&(clearInterval(r),a._storage.removeItem("amplify-polling-started")),a._storage.removeItem("amplify-auto-sign-in")},function(e){eN.error(e),a._storage.removeItem("amplify-auto-sign-in")}))];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),eN.error(o),[3,4];case 4:return[2]}})})},e.prototype.confirmSignUp=function(e,n,r){var i,o=this;if(!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(g.Qg.EmptyUsername);if(!n)return this.rejectAuthError(g.Qg.EmptyCode);var a=this.createCognitoUser(e),s=!r||"boolean"!=typeof r.forceAliasCreation||r.forceAliasCreation;return r&&r.clientMetadata?i=r.clientMetadata:this._config.clientMetadata&&(i=this._config.clientMetadata),new Promise(function(r,u){a.confirmRegistration(n,s,function(n,i){n?u(n):(eL("confirmSignUp",i,e+" has been confirmed successfully"),o.isTrueStorageValue("amplify-auto-sign-in")&&!o.autoSignInInitiated&&(eL("autoSignIn_failure",null,g.Qg.AutoSignInError),o._storage.removeItem("amplify-auto-sign-in")),r(i))},i)})},e.prototype.isTrueStorageValue=function(e){var n=this._storage.getItem(e);return!!n&&"true"===n},e.prototype.resendSignUp=function(e,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(g.Qg.EmptyUsername);var r=this.createCognitoUser(e);return new Promise(function(e,i){r.resendConfirmationCode(function(n,r){n?i(n):e(r)},n)})},e.prototype.signIn=function(e,n,r){if(void 0===r&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var i=null,o=null,a={};if("string"==typeof e)i=e,o=n;else{if(!(0,g.lg)(e))return this.rejectAuthError(g.Qg.InvalidUsername);void 0!==n&&eN.warn("The password should be defined under the first parameter object!"),i=e.username,o=e.password,a=e.validationData}if(!i)return this.rejectAuthError(g.Qg.EmptyUsername);var s=new O({Username:i,Password:o,ValidationData:a,ClientMetadata:r});return o?this.signInWithPassword(s):this.signInWithoutPassword(s)},e.prototype.authCallbacks=function(e,n,r){var i=this,o=this;return{onSuccess:function(a){return h(i,void 0,void 0,function(){var i,s,u,c;return p(this,function(l){switch(l.label){case 0:eN.debug(a),delete e.challengeName,delete e.challengeParam,l.label=1;case 1:return l.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return l.sent(),[4,this.Credentials.set(a,"session")];case 3:return i=l.sent(),eN.debug("succeed to get cognito credentials",i),[3,9];case 4:return s=l.sent(),eN.debug("cannot get cognito credentials",s),[3,9];case 5:return l.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];
26case 6:return u=l.sent(),o.user=u,eL("signIn",u,"A user "+e.getUsername()+" has been signed in"),n(u),[3,8];case 7:return c=l.sent(),eN.error("Failed to get the signed in user",c),r(c),[3,8];case 8:return[7];case 9:return[2]}})})},onFailure:function(n){eN.debug("signIn failure",n),eL("signIn_failure",n,e.getUsername()+" failed to signin"),r(n)},customChallenge:function(r){eN.debug("signIn custom challenge answer required"),e.challengeName="CUSTOM_CHALLENGE",e.challengeParam=r,n(e)},mfaRequired:function(r,i){eN.debug("signIn MFA required"),e.challengeName=r,e.challengeParam=i,n(e)},mfaSetup:function(r,i){eN.debug("signIn mfa setup",r),e.challengeName=r,e.challengeParam=i,n(e)},newPasswordRequired:function(r,i){eN.debug("signIn new password"),e.challengeName="NEW_PASSWORD_REQUIRED",e.challengeParam={userAttributes:r,requiredAttributes:i},n(e)},totpRequired:function(r,i){eN.debug("signIn totpRequired"),e.challengeName=r,e.challengeParam=i,n(e)},selectMFAType:function(r,i){eN.debug("signIn selectMFAType",r),e.challengeName=r,e.challengeParam=i,n(e)}}},e.prototype.signInWithPassword=function(e){var n=this;if(this.pendingSignIn)throw Error("Pending sign-in attempt already in progress");var r=this.createCognitoUser(e.getUsername());return this.pendingSignIn=new Promise(function(i,o){r.authenticateUser(e,n.authCallbacks(r,function(e){n.pendingSignIn=null,i(e)},function(e){n.pendingSignIn=null,o(e)}))}),this.pendingSignIn},e.prototype.signInWithoutPassword=function(e){var n=this,r=this.createCognitoUser(e.getUsername());return r.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise(function(i,o){r.initiateAuth(e,n.authCallbacks(r,i,o))})},e.prototype.getMFAOptions=function(e){return new Promise(function(n,r){e.getMFAOptions(function(e,i){if(e){eN.debug("get MFA Options failed",e),r(e);return}eN.debug("get MFA options success",i),n(i)})})},e.prototype.getPreferredMFA=function(e,n){var r=this,i=this;return new Promise(function(o,a){var s=r._config.clientMetadata,u=!!n&&n.bypassCache;e.getUserData(function(n,s){return h(r,void 0,void 0,function(){var r,u;return p(this,function(c){switch(c.label){case 0:if(!n)return[3,5];if(eN.debug("getting preferred mfa failed",n),!this.isSessionInvalid(n))return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return c.sent(),[3,4];case 3:return r=c.sent(),a(Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return a(n),[2];case 5:if(!(u=i._getMfaTypeFromUserData(s)))return a("invalid MFA Type"),[2];return o(u),[2]}})})},{bypassCache:u,clientMetadata:s})})},e.prototype._getMfaTypeFromUserData=function(e){var n=null,r=e.PreferredMfaSetting;if(r)n=r;else{var i=e.UserMFASettingList;i?0===i.length?n="NOMFA":eN.debug("invalid case for getPreferredMFA",e):n=e.MFAOptions?"SMS_MFA":"NOMFA"}return n},e.prototype._getUserData=function(e,n){var r=this;return new Promise(function(i,o){e.getUserData(function(n,a){return h(r,void 0,void 0,function(){var r;return p(this,function(s){switch(s.label){case 0:if(!n)return[3,5];if(eN.debug("getting user data failed",n),!this.isSessionInvalid(n))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return s.sent(),[3,4];case 3:return r=s.sent(),o(Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return o(n),[2];case 5:i(a),s.label=6;case 6:return[2]}})})},n)})},e.prototype.setPreferredMFA=function(e,n){return h(this,void 0,void 0,function(){var r,i,o,a,s,u,c=this;return p(this,function(l){switch(l.label){case 0:return r=this._config.clientMetadata,[4,this._getUserData(e,{bypassCache:!0,clientMetadata:r})];case 1:switch(i=l.sent(),o=null,a=null,n){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return a={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return o={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return s=i.UserMFASettingList,[4,this._getMfaTypeFromUserData(i)];case 5:if("NOMFA"===(u=l.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===u)o={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==u)return[2,this.rejectAuthError(g.Qg.InvalidMFA)
26];a={PreferredMfa:!1,Enabled:!1}}return s&&0!==s.length&&s.forEach(function(e){"SMS_MFA"===e?o={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===e&&(a={PreferredMfa:!1,Enabled:!1})}),[3,7];case 6:return eN.debug("no validmfa method provided"),[2,this.rejectAuthError(g.Qg.NoMFA)];case 7:return[2,new Promise(function(n,i){e.setUserMfaPreference(o,a,function(o,a){if(o)return eN.debug("Set user mfa preference error",o),i(o);eN.debug("Set user mfa success",a),eN.debug("Caching the latest user data into local"),e.getUserData(function(r,o){return h(c,void 0,void 0,function(){var o;return p(this,function(s){switch(s.label){case 0:if(!r)return[3,5];if(eN.debug("getting user data failed",r),!this.isSessionInvalid(r))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),i(Error("Session is invalid due to: "+r.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,i(r)];case 5:return[2,n(a)]}})})},{bypassCache:!0,clientMetadata:r})})})]}})})},e.prototype.disableSMS=function(e){return new Promise(function(n,r){e.disableMFA(function(e,i){if(e){eN.debug("disable mfa failed",e),r(e);return}eN.debug("disable mfa succeed",i),n(i)})})},e.prototype.enableSMS=function(e){return new Promise(function(n,r){e.enableMFA(function(e,i){if(e){eN.debug("enable mfa failed",e),r(e);return}eN.debug("enable mfa succeed",i),n(i)})})},e.prototype.setupTOTP=function(e){return new Promise(function(n,r){e.associateSoftwareToken({onFailure:function(e){eN.debug("associateSoftwareToken failed",e),r(e)},associateSecretCode:function(e){eN.debug("associateSoftwareToken sucess",e),n(e)}})})},e.prototype.verifyTotpToken=function(e,n){return eN.debug("verification totp token",e,n),new Promise(function(r,i){e.verifySoftwareToken(n,"My TOTP device",{onFailure:function(e){eN.debug("verifyTotpToken failed",e),i(e)},onSuccess:function(n){eL("signIn",e,"A user "+e.getUsername()+" has been signed in"),eL("verify",e,"A user "+e.getUsername()+" has been verified"),eN.debug("verifyTotpToken success",n),r(n)}})})},e.prototype.confirmSignIn=function(e,n,r,i){var o=this;if(void 0===i&&(i=this._config.clientMetadata),!n)return this.rejectAuthError(g.Qg.EmptyCode);var a=this;return new Promise(function(s,u){e.sendMFACode(n,{onSuccess:function(n){return h(o,void 0,void 0,function(){var r,i,o,u;return p(this,function(c){switch(c.label){case 0:eN.debug(n),c.label=1;case 1:return c.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return c.sent(),[4,this.Credentials.set(n,"session")];case 3:return r=c.sent(),eN.debug("succeed to get cognito credentials",r),[3,10];case 4:return i=c.sent(),eN.debug("cannot get cognito credentials",i),[3,10];case 5:a.user=e,c.label=6;case 6:return c.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return o=c.sent(),e.attributes=o.attributes,[3,9];case 8:return u=c.sent(),eN.debug("cannot get updated Cognito User",u),[3,9];case 9:return eL("signIn",e,"A user "+e.getUsername()+" has been signed in"),s(e),[7];case 10:return[2]}})})},onFailure:function(e){eN.debug("confirm signIn failure",e),u(e)}},r,i)})},e.prototype.completeNewPassword=function(e,n,r,i){var o=this;if(void 0===r&&(r={}),void 0===i&&(i=this._config.clientMetadata),!n)return this.rejectAuthError(g.Qg.EmptyPassword);var a=this;return new Promise(function(s,u){e.completeNewPasswordChallenge(n,r,{onSuccess:function(n){return h(o,void 0,void 0,function(){var r,i;return p(this,function(o){switch(o.label){case 0:eN.debug(n),o.label=1;case 1:return o.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return o.sent(),[4,this.Credentials.set(n,"session")];case 3:return r=o.sent(),eN.debug("succeed to get cognito credentials",r),[3,6];case 4:return i=o.sent(),eN.debug("cannot get cognito credentials",i),[3,6];case 5:return a.user=e,eL("signIn",e,"A user "+e.getUsername()+" has been signed in"),s(e),[7];case 6:return[2]}})})},onFailure:function(e){eN.debug("completeNewPassword failure",e),eL("completeNewPassword_failure",e,o.user+" failed to complete the new password flow"),u(e)},mfaRequired:function(n,r){eN.debug("signIn MFA required"),e.challengeName=n,e.challengeParam=r,s(e)},mfaSetup:function(n,r){eN.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=r,s(e)},totpRequired:function(n,r){eN.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=r,s(e)}},i)})},e.prototype.sendCustomChallengeAnswer=function(e,n,r){var i=this;return(void 0===r&&(r=this._config.clientMetadata),this.userPool)?n?new Promise(function(o,a){e.sendCustomChallengeAnswer(n,i.authCallbacks(e,o,a),r)}
26):this.rejectAuthError(g.Qg.EmptyChallengeResponse):this.rejectNoUserPool()},e.prototype.deleteUserAttributes=function(e,n){var r=this;return new Promise(function(i,o){r.userSession(e).then(function(r){e.deleteAttributes(n,function(e,n){return e?o(e):i(n)})})})},e.prototype.deleteUser=function(){return h(this,void 0,void 0,function(){var e,n,r=this;return p(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._storageSync];case 1:return i.sent(),[3,3];case 2:throw e=i.sent(),eN.debug("Failed to sync cache info into memory",e),Error(e);case 3:return n=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(e,i){return h(r,void 0,void 0,function(){var r,o=this;return p(this,function(a){if(this.userPool){if(!(r=this.userPool.getCurrentUser()))return eN.debug("Failed to get user from user pool"),[2,i(Error("No current user."))];r.getSession(function(a,s){return h(o,void 0,void 0,function(){var o,s=this;return p(this,function(u){switch(u.label){case 0:if(!a)return[3,5];if(eN.debug("Failed to get the user session",a),!this.isSessionInvalid(a))return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(r)];case 2:return u.sent(),[3,4];case 3:return o=u.sent(),i(Error("Session is invalid due to: "+a.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,i(a)];case 5:r.deleteUser(function(o,a){if(o)i(o);else{eL("userDeleted",a,"The authenticated user has been deleted."),r.signOut(),s.user=null;try{s.cleanCachedItems()}catch(e){eN.debug("failed to clear cached items")}n?s.oAuthSignOutRedirect(e,i):(eL("signOut",s.user,"A user has been signed out"),e(a))}}),u.label=6;case 6:return[2]}})})})}else eN.debug("no Congito User pool"),i(Error("Cognito User pool does not exist"));return[2]})})})]}})})},e.prototype.updateUserAttributes=function(e,n,r){var i=this;void 0===r&&(r=this._config.clientMetadata);var o=[],a=this;return new Promise(function(s,u){a.userSession(e).then(function(a){for(var c in n)if("sub"!==c&&0>c.indexOf("_verified")){var l={Name:c,Value:n[c]};o.push(l)}e.updateAttributes(o,function(e,r,o){return e?(eL("updateUserAttributes_failure",e,"Failed to update attributes"),u(e)):(eL("updateUserAttributes",i.createUpdateAttributesResultList(n,null==o?void 0:o.CodeDeliveryDetailsList),"Attributes successfully updated"),s(r))},r)})})},e.prototype.createUpdateAttributesResultList=function(e,n){var r={};return Object.keys(e).forEach(function(e){r[e]={isUpdated:!0};var i=null==n?void 0:n.find(function(n){return n.AttributeName===e});i&&(r[e].isUpdated=!1,r[e].codeDeliveryDetails=i)}),r},e.prototype.userAttributes=function(e){var n=this;return new Promise(function(r,i){n.userSession(e).then(function(n){e.getUserAttributes(function(e,n){e?i(e):r(n)})})})},e.prototype.verifiedContact=function(e){var n=this;return this.userAttributes(e).then(function(e){var r=n.attributesToObject(e),i={},o={};return r.email&&(r.email_verified?o.email=r.email:i.email=r.email),r.phone_number&&(r.phone_number_verified?o.phone_number=r.phone_number:i.phone_number=r.phone_number),{verified:o,unverified:i}})},e.prototype.isErrorWithMessage=function(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"message")},e.prototype.isTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Access Token has been revoked"===e.message},e.prototype.isRefreshTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has been revoked"===e.message},e.prototype.isUserDisabledError=function(e){return this.isErrorWithMessage(e)&&"User is disabled."===e.message},e.prototype.isUserDoesNotExistError=function(e){return this.isErrorWithMessage(e)&&"User does not exist."===e.message},e.prototype.isRefreshTokenExpiredError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has expired"===e.message},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},e.prototype.isSessionInvalid=function(e){return this.isUserDisabledError(e)||this.isUserDoesNotExistError(e)||this.isTokenRevokedError(e)||this.isRefreshTokenRevokedError(e)||this.isRefreshTokenExpiredError(e)},e.prototype.cleanUpInvalidSession=function(e){return h(this,void 0,void 0,function(){var n=this;return p(this,function(r){switch(r.label){case 0:e.signOut(),this.user=null,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return r.sent(),[3,4];case 3:return r.sent(),eN.debug("failed to clear cached items"),[3,4];case 4:if(this.isSignedInHostedUI())return[2,new Promise(function(e,r){n.oAuthSignOutRedirect(e,r)})];return eL("signOut",this.user,"A user has been signed out"),[2]}})})},e.prototype.currentUserPoolUser=function(e){var n=this;return this.userPool?new Promise(function(r,i){n._storageSync.then(function(){return h(n,void 0,void 0,function(){var n,o,a,s,u,c=this;return p(this,function(l){switch(l.label){case 0:if(!this.isOAuthInProgress())return[3,2];return eN.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise(function(e){var n=setTimeout(function(){eN.debug("OAuth signIn in progress timeout"),y.X.remove("auth",r),e()},1e4);function r(i){var o=i.payload.event;("cognitoHostedUI"===o||"cognitoHostedUI_failure"===o)&&(eN.debug("OAuth signIn resolved: "+o),clearTimeout(n),y.X.remove("auth",r),e())}y.X.listen("auth",r)}
26)];case 1:l.sent(),l.label=2;case 2:if(!(n=this.userPool.getCurrentUser()))return eN.debug("Failed to get user from user pool"),i("No current user"),[2];l.label=3;case 3:return l.trys.push([3,7,,8]),[4,this._userSession(n)];case 4:if(o=l.sent(),!(a=!!e&&e.bypassCache))return[3,6];return[4,this.Credentials.clear()];case 5:l.sent(),l.label=6;case 6:if(s=this._config.clientMetadata,!(void 0===(u=o.getAccessToken().decodePayload().scope)?"":u).split(" ").includes(ej))return eN.debug("Unable to get the user data because the "+ej+" is not in the scopes of the access token"),[2,r(n)];return n.getUserData(function(e,o){return h(c,void 0,void 0,function(){var a,s,u,c,l,f;return p(this,function(d){switch(d.label){case 0:if(!e)return[3,7];if(eN.debug("getting user data failed",e),!this.isSessionInvalid(e))return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return d.sent(),[3,4];case 3:return a=d.sent(),i(Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+a.message)),[2];case 4:return i(e),[3,6];case 5:r(n),d.label=6;case 6:return[2];case 7:for(c=0,s=o.PreferredMfaSetting||"NOMFA",u=[];c<o.UserAttributes.length;c++)l={Name:o.UserAttributes[c].Name,Value:o.UserAttributes[c].Value},f=new ei(l),u.push(f);return Object.assign(n,{attributes:this.attributesToObject(u),preferredMFA:s}),[2,r(n)]}})})},{bypassCache:a,clientMetadata:s}),[3,8];case 7:return i(l.sent()),[3,8];case 8:return[2]}})})}).catch(function(e){return eN.debug("Failed to sync cache info into memory",e),i(e)})}):this.rejectNoUserPool()},e.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},e.prototype.currentAuthenticatedUser=function(e){return h(this,void 0,void 0,function(){var n,r,i,o,a;return p(this,function(s){switch(s.label){case 0:eN.debug("getting current authenticated user"),n=null,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this._storageSync];case 2:return s.sent(),[3,4];case 3:throw r=s.sent(),eN.debug("Failed to sync cache info into memory",r),r;case 4:try{(i=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(n=d(d({},i.user),{token:i.token}))}catch(e){eN.debug("cannot load federated user from auth storage")}if(!n)return[3,5];return this.user=n,eN.debug("get current authenticated federated user",this.user),[2,this.user];case 5:eN.debug("get current authenticated userpool user"),o=null,s.label=6;case 6:return s.trys.push([6,8,,9]),[4,this.currentUserPoolUser(e)];case 7:return o=s.sent(),[3,9];case 8:return"No userPool"===(a=s.sent())&&eN.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),eN.debug("The user is not authenticated by the error",a),[2,Promise.reject("The user is not authenticated")];case 9:return this.user=o,[2,this.user]}})})},e.prototype.currentSession=function(){var e=this;return(eN.debug("Getting current session"),this.userPool)?new Promise(function(n,r){e.currentUserPoolUser().then(function(i){e.userSession(i).then(function(e){n(e)}).catch(function(e){eN.debug("Failed to get the current session",e),r(e)})}).catch(function(e){eN.debug("Failed to get the current user",e),r(e)})}):Promise.reject(Error("No User Pool in the configuration."))},e.prototype._userSession=function(e){return h(this,void 0,void 0,function(){var n,r,i=this;return p(this,function(o){switch(o.label){case 0:if(!e)return eN.debug("the user is null"),[2,this.rejectAuthError(g.Qg.NoUserSession)];n=this._config.clientMetadata,0===this.inflightSessionPromiseCounter&&(this.inflightSessionPromise=new Promise(function(r,o){e.getSession(function(n,a){return h(i,void 0,void 0,function(){var i;return p(this,function(s){switch(s.label){case 0:if(!n)return[3,5];if(eN.debug("Failed to get the session from user",e),!this.isSessionInvalid(n))return[3,4];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return s.sent(),[3,4];case 3:return i=s.sent(),o(Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+i.message)),[2];case 4:return o(n),[2];
26case 5:return eN.debug("Succeed to get the user session",a),r(a),[2]}})})},{clientMetadata:n})})),this.inflightSessionPromiseCounter++,o.label=1;case 1:return o.trys.push([1,,3,4]),[4,this.inflightSessionPromise];case 2:return r=o.sent(),e.signInUserSession=r,[2,r];case 3:return this.inflightSessionPromiseCounter--,[7];case 4:return[2]}})})},e.prototype.userSession=function(e){return this._userSession(e)},e.prototype.currentUserCredentials=function(){return h(this,void 0,void 0,function(){var e,n,r=this;return p(this,function(i){switch(i.label){case 0:eN.debug("Getting current user credentials"),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._storageSync];case 2:return i.sent(),[3,4];case 3:throw e=i.sent(),eN.debug("Failed to sync cache info into memory",e),e;case 4:n=null;try{n=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(e){eN.debug("failed to get or parse item aws-amplify-federatedInfo",e)}if(n)return[2,this.Credentials.refreshFederatedToken(n)];return[2,this.currentSession().then(function(e){return eN.debug("getting session success",e),r.Credentials.set(e,"session")}).catch(function(){return eN.debug("getting guest credentials"),r.Credentials.set(null,"guest")})]}})})},e.prototype.currentCredentials=function(){return eN.debug("getting current credentials"),this.Credentials.get()},e.prototype.verifyUserAttribute=function(e,n,r){return void 0===r&&(r=this._config.clientMetadata),new Promise(function(i,o){e.getAttributeVerificationCode(n,{onSuccess:function(e){return i(e)},onFailure:function(e){return o(e)}},r)})},e.prototype.verifyUserAttributeSubmit=function(e,n,r){return r?new Promise(function(i,o){e.verifyAttribute(n,r,{onSuccess:function(e){i(e)},onFailure:function(e){o(e)}})}):this.rejectAuthError(g.Qg.EmptyCode)},e.prototype.verifyCurrentUserAttribute=function(e){var n=this;return n.currentUserPoolUser().then(function(r){return n.verifyUserAttribute(r,e)})},e.prototype.verifyCurrentUserAttributeSubmit=function(e,n){var r=this;return r.currentUserPoolUser().then(function(i){return r.verifyUserAttributeSubmit(i,e,n)})},e.prototype.cognitoIdentitySignOut=function(e,n){return h(this,void 0,void 0,function(){var r,i,o=this;return p(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this._storageSync];case 1:return a.sent(),[3,3];case 2:throw r=a.sent(),eN.debug("Failed to sync cache info into memory",r),r;case 3:return i=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise(function(r,a){if(e&&e.global){eN.debug("user global sign out",n);var s=o._config.clientMetadata;n.getSession(function(e,s){return h(o,void 0,void 0,function(){var o,s=this;return p(this,function(u){switch(u.label){case 0:if(!e)return[3,5];if(eN.debug("failed to get the user session",e),!this.isSessionInvalid(e))return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return u.sent(),[3,4];case 3:return o=u.sent(),a(Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return[2,a(e)];case 5:return n.globalSignOut({onSuccess:function(e){if(eN.debug("global sign out success"),!i)return r();s.oAuthSignOutRedirect(r,a)},onFailure:function(e){return eN.debug("global sign out failed",e),a(e)}}),[2]}})})},{clientMetadata:s})}else eN.debug("user sign out",n),n.signOut(function(){if(!i)return r();o.oAuthSignOutRedirect(r,a)})})]}})})},e.prototype.oAuthSignOutRedirect=function(e,n){(0,C.lC)().isBrowser?this.oAuthSignOutRedirectOrReject(n):this.oAuthSignOutAndResolve(e)},e.prototype.oAuthSignOutAndResolve=function(e){this._oAuthHandler.signOut(),e()},e.prototype.oAuthSignOutRedirectOrReject=function(e){this._oAuthHandler.signOut(),setTimeout(function(){return e(Error("Signout timeout fail"))},3e3)},e.prototype.signOut=function(e){return h(this,void 0,void 0,function(){var n;return p(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.cleanCachedItems()];case 1:return r.sent(),[3,3];case 2:return r.sent(),eN.debug("failed to clear cached items"),[3,3];case 3:if(!this.userPool)return[3,7];if(!(n=this.userPool.getCurrentUser()))return[3,5];return[4,this.cognitoIdentitySignOut(e,n)];case 4:return r.sent(),[3,6];case 5:eN.debug("no current Cognito user"),r.label=6;case 6:return[3,8];case 7:eN.debug("no Cognito User pool"),r.label=8;case 8:return eL("signOut",this.user,"A user has been signed out"),this.user=null,[2]}})})},e.prototype.cleanCachedItems=function(){return h(this,void 0,void 0,function(){return p(this,function(e){switch(e.label){case 0:return[4,this.Credentials.clear()];case 1:return e.sent(),[2]}})})},e.prototype.changePassword=function(e,n,r,i){var o=this;return void 0===i&&(i=this._config.clientMetadata),new Promise(function(a,s){o.userSession(e).then(function(o){e.changePassword(n,r,function(e,n){return e?(eN.debug("change password failure",e),s(e)):a(n)},i)})})},e.prototype.forgotPassword=function(e,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(g.Qg.EmptyUsername);var r=this.createCognitoUser(e);return new Promise(function(i,o){r.forgotPassword({onSuccess:function(){i()},onFailure:function(n){eN.debug("forgot password failure",n),eL("forgotPassword_failure",n,e+" forgotPassword failed"),o(n)},inputVerificationCode:function(n){eL("forgotPassword",r,e+" has initiated forgot password flow"),i(n)}},n)})},e.prototype.forgotPasswordSubmit=function(e,n,r,i){if(void 0===i&&(i=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(g.Qg.EmptyUsername);if(!n)return this.rejectAuthError(g.Qg.EmptyCode);if(!r)return this.rejectAuthError(g.Qg.EmptyPassword);var o=this.createCognitoUser(e);return new Promise(function(a,s){o.confirmPassword(n,r,{onSuccess:function(n){eL("forgotPasswordSubmit",o,e+" forgotPasswordSubmit successful"),a(n)},onFailure:function(n){eL("forgotPasswordSubmit_failure",n,e+" forgotPasswordSubmit failed"),s(n)}},i)})},e.prototype.currentUserInfo=function(){return h(this,void 0,void 0,function(){var e,n,r,i,o,a,s;return p(this,function(u){switch(u.label){case 0:if(!(!(e=this.Credentials.getCredSource())||"aws"===e||"userPool"===e))return[3,9];return[4,this.currentUserPoolUser().catch(function(e){return eN.error(e)})];case 1:if(!(n=u.sent()))return[2,null];u.label=2;case 2:return u.trys.push([2,8,,9]),[4,this.userAttributes(n)];case 3:r=u.sent(),i=this.attributesToObject(r),o=null,u.label=4;case 4:return u.trys.push([4,6,,7]),[4,this.currentCredentials()];case 5:return o=u.sent(),[3,7];case 6:return a=u.sent(),eN.debug("Failed to retrieve credentials while getting current user info",a),[3,7];case 7:return[2,{id:o?o.identityId:void 0,username:n.getUsername(),attributes:i}];case 8:return s=u.sent(),eN.error("currentUserInfo error",s),[2,{}];case 9:if("federated"===e)return[2,(n=this.user)||{}];return[2]}})})},e.prototype.federatedSignIn=function(e,n,r){return h(this,void 0,void 0,function(){var i,o,a,s,u,c,l,f,d,h,m;return p(this,function(p){switch(p.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw Error("Federation requires either a User Pool or Identity Pool in config");if(void 0===e&&this._config.identityPoolId&&!this._config.userPoolId)throw Error("Federation with Identity Pools requires tokens passed as arguments");if(!((0,g.SU)(e)||(0,g.zB)(e)||(0,g.Ay)(e)||void 0===e))return[3,1];return i=e||{provider:g.JG.Cognito},o=(0,g.SU)(i)?i.provider:i.customProvider,(0,g.SU)(i),a=i.customState,this._config.userPoolId&&(s=(0,g.ic)(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,u=(0,g.ic)(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,u,s,o,a)),[3,4];case 1:o=e;try{(c=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&eN.warn("There is already a signed in user: "+c+" in y
26our app.\n																	You should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch(e){}return l=n.token,f=n.identity_id,d=n.expires_at,[4,this.Credentials.set({provider:o,token:l,identity_id:f,user:r,expires_at:d},"federation")];case 2:return h=p.sent(),[4,this.currentAuthenticatedUser()];case 3:return eL("signIn",m=p.sent(),"A user "+m.username+" has been signed in"),eN.debug("federated sign in credentials",h),[2,h];case 4:return[2]}})})},e.prototype._handleAuthResponse=function(e){return h(this,void 0,void 0,function(){var n,r,i,o,a,s,u,c,l,f,d,h,g;return p(this,function(p){switch(p.label){case 0:if(this.oAuthFlowInProgress)return eN.debug("Skipping URL "+e+" current flow in progress"),[2];p.label=1;case 1:if(p.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw Error("OAuth responses require a User Pool defined in config");if(eL("parsingCallbackUrl",{url:e},"The callback url is being parsed"),n=e||((0,C.lC)().isBrowser?window.location.href:""),r=!!((0,eS.parse)(n).query||"").split("&").map(function(e){return e.split("=")}).find(function(e){var n=m(e,1)[0];return"code"===n||"error"===n}),i=!!((0,eS.parse)(n).hash||"#").substr(1).split("&").map(function(e){return e.split("=")}).find(function(e){var n=m(e,1)[0];return"access_token"===n||"error"===n}),!(r||i))return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),p.label=2;case 2:return p.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(n)];case 3:if(a=(o=p.sent()).accessToken,s=o.idToken,u=o.refreshToken,c=o.state,l=new ee({IdToken:new Z({IdToken:s}),RefreshToken:new J({RefreshToken:u}),AccessToken:new Q({AccessToken:a})}),f=void 0,!this._config.identityPoolId)return[3,5];return[4,this.Credentials.set(l,"session")];case 4:f=p.sent(),eN.debug("AWS credentials",f),p.label=5;case 5:return d=/-/.test(c),(h=this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(l),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),eL("signIn",h,"A user "+h.getUsername()+" has been signed in"),eL("cognitoHostedUI",h,"A user "+h.getUsername()+" has been signed in via Cognito Hosted UI"),d&&eL("customOAuthState",c.split("-").splice(1).join("-").match(/.{2}/g).map(function(e){return String.fromCharCode(parseInt(e,16))}).join(""),"State for user "+h.getUsername()),[2,f];case 6:return g=p.sent(),eN.debug("Error in cognito hosted auth response",g),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),eL("signIn_failure",g,"The OAuth response flow failed"),eL("cognitoHostedUI_failure",g,"A failure occurred when returning to the Cognito Hosted UI"),eL("customState_failure",g,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}})})},e.prototype.essentialCredentials=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e.prototype.attributesToObject=function(e){var n=this,r={};return e&&e.map(function(e){"email_verified"===e.Name||"phone_number_verified"===e.Name?r[e.Name]=n.isTruthyString(e.Value)||!0===e.Value:r[e.Name]=e.Value}),r},e.prototype.isTruthyString=function(e){return"function"==typeof e.toLowerCase&&"true"===e.toLowerCase()},e.prototype.createCognitoUser=function(e){var n={Username:e,Pool:this.userPool};n.Storage=this._storage;var r=this._config.authenticationFlowType,i=new ec(n);return r&&i.setAuthenticationFlowType(r),i},e.prototype._isValidAuthStorage=function(e){return!!e&&"function"==typeof e.getItem&&"function"==typeof e.setItem&&"function"==typeof e.removeItem&&"function"==typeof e.clear},e.prototype.noUserPoolErrorHandler=function(e){return!e||e.userPoolId&&e.identityPoolId?g.Qg.NoConfig:g.Qg.MissingAuthConfig},e.prototype.rejectAuthError=function(e){return Promise.reject(new eD(e))},e.prototype.rejectNoUserPool=function(){var e=this.noUserPoolErrorHandler(this._config);return Promise.reject(new eM(e))},e.prototype.rememberDevice=function(){return h(this,void 0,void 0,function(){var e,n;return p(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=r.sent(),[3,3];case 2:return n=r.sent(),eN.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise(function(n,r){e.setDeviceStatusRemembered({onSuccess:function(e){n(e)},onFailure:function(e){"InvalidParameterException"===e.code?r(new eD(g.Qg.DeviceConfig)):"NetworkError"===e.code?r(new eD(g.Qg.NetworkError)):r(e)}})})]}})})},e.prototype.forgetDevice=function(){return h(this,void 0,void 0,function(){var e,n;return p(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=r.sent(),[3,3];case 2:return n=r.sent(),eN.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise(function(n,r){e.forgetDevice({onSuccess:function(e){n(e)},onFailure:function(e){"InvalidParameterException"===e.code?r(new eD(g.Qg.DeviceConfig)):"NetworkError"===e.code?r(new eD(g.Qg.NetworkError)):r(e)}})})]}})})},e.prototype.fetchDevices=function(){return h(this,void 0,void 0,function(){var e,n;return p(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=r.sent(),[3,3];case 2:throw n=r.sent(),eN.debug("The user is not authenticated by the error",n),Error("The user is not authenticated");case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise(function(n,r){e.listDevices(60,null,{onSuccess:function(e){n(e.Devices.map(function(e){var n=e.DeviceAttributes.find(function(e){return"device_name"===e.Name})||{};return{id:e.DeviceKey,name:n.Value}}))},onFailure:function(e){"InvalidParameterException"===e.code?r(new eD(g.Qg.DeviceConfig)):"NetworkError"===e.code?r(new eD(g.Qg.NetworkError)):r(e)}})})]}})})},e}())(null);P.d.register(eB)},71672:function(e,n,r){"use strict";var i,o,a,s,u,c;function l(e){return e&&!!["provider"].find(function(n){return e.hasOwnProperty(n)})}function f(e){return e&&!!["customProvider"].find(function(n){return e.hasOwnProperty(n)})}function d(e){return e&&!!["customState"].find(function(n){return e.hasOwnProperty(n)})}function h(e){return void 0!==e.redirectSignIn}function p(e){return!!e.username}r.d(n,{Ay:function(){return d},JG:function(){return i},Qg:function(){return o},SU:function(){return l},ic:function(){return h},lg:function(){return p},zB:function(){return f}}),(s=i||(i={})).Cognito="COGNITO",s.Google="Google",s.Facebook="Facebook",s.Amazon="LoginWithAmazon",s.Apple="Sign
26InWithApple",(u=o||(o={})).NoConfig="noConfig",u.MissingAuthConfig="missingAuthConfig",u.EmptyUsername="emptyUsername",u.InvalidUsername="invalidUsername",u.EmptyPassword="emptyPassword",u.EmptyCode="emptyCode",u.SignUpError="signUpError",u.NoMFA="noMFA",u.InvalidMFA="invalidMFA",u.EmptyChallengeResponse="emptyChallengeResponse",u.NoUserSession="noUserSession",u.Default="default",u.DeviceConfig="deviceConfig",u.NetworkError="networkError",u.AutoSignInError="autoSignInError",(c=a||(a={})).API_KEY="API_KEY",c.AWS_IAM="AWS_IAM",c.OPENID_CONNECT="OPENID_CONNECT",c.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",c.AWS_LAMBDA="AWS_LAMBDA"},25387:function(e,n,r){"use strict";r.d(n,{d:function(){return s}});var i=r(28008),o=r(93769),a=new o.k("Amplify"),s=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Notifications=null,this.Logger=o.k,this.ServiceWorker=null}return e.prototype.register=function(e){a.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):a.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var n=this;return e&&(this._config=Object.assign(this._config,e),a.debug("amplify config",this._config),Object.entries(this._modules).forEach(function(e){var r=(0,i.CR)(e,2),o=(r[0],r[1]);Object.keys(o).forEach(function(e){n._modules[e]&&(o[e]=n._modules[e])})}),this._components.map(function(e){e.configure(n._config)})),this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map(function(n){n.addPluggable&&"function"==typeof n.addPluggable&&n.addPluggable(e)})},e}())},11144:function(e,n,r){"use strict";r.d(n,{c:function(){return tO}});var i,o,a,s,u,c,l,f,d,h,p,m,g,v,y,b,w,S,_,k,x,E,C,A,I,T,P,O,R,D,M,F,N,j,U,L,B,V,z,q,$,G,W,H,Q,K,Z,J,Y,X,ee,et,en,er,ei,eo,ea,es,eu,ec,el,ef=r(28008),ed=r(93769),eh=r(6648),ep=r(59222),em=new ed.k("Util"),eg=function(e){function n(n){var r=e.call(this,n)||this;return r.nonRetryable=!0,r}return(0,ef.ZT)(n,e),n}(Error),ev=function(e,n,r,i){var o;return void 0===r&&(r=3e5),function(e,n,r,i){return(0,ef.mG)(this,void 0,void 0,function(){var o=this;return(0,ef.Jh)(this,function(a){if("function"!=typeof e)throw Error("functionToRetry must be a function");return[2,new Promise(function(a,s){return(0,ef.mG)(o,void 0,void 0,function(){var o,u,c,l,f,d,h;return(0,ef.Jh)(this,function(p){switch(p.label){case 0:o=0,u=!1,l=function(){},i&&i.then(function(){u=!0,clearTimeout(c),l()}),d=function(){var i,d,h,p;return(0,ef.Jh)(this,function(m){switch(m.label){case 0:o++,em.debug(e.name+" attempt #"+o+" with this vars: "+JSON.stringify(n)),m.label=1;case 1:return m.trys.push([1,3,,7]),i={},d=a,[4,e.apply(void 0,(0,ef.fl)(n))];case 2:return[2,(i.value=d.apply(void 0,[m.sent()]),i)];case 3:if(f=h=m.sent(),em.debug("error on "+e.name,h),h&&h.nonRetryable)return em.debug(e.name+" non retryable error",h),[2,{value:s(h)}];if(p=r(o,n,h),em.debug(e.name+" retrying in "+p+" ms"),!(!1===p||u))return[3,4];return[2,{value:s(h)}];case 4:return[4,new Promise(function(e){c=setTimeout(l=e,p)})];case 5:m.sent(),m.label=6;case 6:return[3,7];case 7:return[2]}})},p.label=1;case 1:if(u)return[3,3];return[5,d()];case 2:if("object"==typeof(h=p.sent()))return[2,h.value];return[3,1];case 3:return s(f),[2]}})})})]})})}(e,n,(void 0===(o=r)&&(o=3e5),function(e){var n=100*Math.pow(2,e)+100*Math.random();return!(n>o)&&n}),i)},ey=new ed.k("CognitoCredentials"),eb=new Promise(function(e,n){return(0,ep.lC)().isBrowser?(window.gapi&&window.gapi.auth2?window.gapi.auth2:null)?(ey.debug("google api already loaded"),e()):void setTimeout(function(){return e()},2e3):(ey.debug("not in the browser, directly resolved"),e())}),ew=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return(0,ef.mG)(this,void 0,void 0,function(){return(0,ef.Jh)(this,function(e){switch(e.label){case 0:if(this.initialized)return[3,2];return ey.debug("need to wait for the Google SDK loaded"),[4,eb];case 1:e.sent(),this.initialized=!0,ey.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}})})},e.prototype._refreshGoogleTokenImpl=function(){var e=null;return((0,ep.lC)().isBrowser&&(e=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),e)?new Promise(function(n,r){e.getAuthInstance().then(function(e){e||(ey.debug("google Auth undefined"),r(new eg("google Auth undefined")));var i=e.currentUser.get();i.isSignedIn()?(ey.debug("refreshing the google access token"),i.reloadAuthResponse().then(function(e){n({token:e.id_token,expires_at:e.expires_at})}).catch(function(e){e&&"network_error"===e.error?r("Network error reloading google auth response"):r(new eg("Failed to reload google auth response"))})):r(new eg("User is not signed in with Google"))}).catch(function(e){ey.debug("Failed to refresh google token",e),r(new eg("Failed to refresh google token"))})}):(ey.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),eS=new ed.k("CognitoCredentials"),e_=new Promise(function(e,n){return(0,ep.lC)().isBrowser?window.FB?(eS.debug("FB SDK already loaded"),e()):void setTimeout(function(){return e()},2e3):(eS.debug("not in the browser, directly resolved"),e())}),ek=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return(0,ef.mG)(this,void 0,void 0,function(){return(0,ef.Jh)(this,function(e){switch(e.label){case 0:if(this.initialized)return[3,2];return eS.debug("need to wait for the Facebook SDK loaded"),[4,e_];case 1:e.sent(),this.initialized=!0,eS.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}})})},e.prototype._refreshFacebookTokenImpl=function(){var e=null;if((0,ep.lC)().isBrowser&&(e=window.FB),!e){var n="no fb sdk available";return eS.debug(n),Promise.reject(new eg(n))}return new Promise(function(n,r){e.getLoginStatus(function(e){if(e&&e.authResponse){var i=e.authResponse,o=i.accessToken,a=1e3*i.expiresIn+new Date().getTime();if(!o){var s="the jwtToken is undefined";eS.debug(s),r(new eg(s))}n({token:o,expires_at:a})}else{var s="no response from facebook when refreshing the jwt token";eS.debug(s),r(new eg(s))}},{scope:"public_profile,email"})})},e}(),ex=new ew,eE=new ek,eC=r(25387);function eA(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function eI(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
26function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var eT=r(70655);(i=u||(u={})).AUTHENTICATED_ROLE="AuthenticatedRole",i.DENY="Deny",(c||(c={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(l||(l={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(f||(f={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(d||(d={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(h||(h={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(p||(p={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(m||(m={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(g||(g={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(v||(v={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(y||(y={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(o=b||(b={})).ACCESS_DENIED="AccessDenied",o.INTERNAL_SERVER_ERROR="InternalServerError",(w||(w={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(S||(S={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(_||(_={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(k||(k={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(x||(x={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(E||(E={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(C||(C={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(A||(A={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(I||(I={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(T||(T={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(P||(P={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(O||(O={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(R||(R={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(D||(D={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(M||(M={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(a=F||(F={})).CONTAINS="Contains",a.EQUALS="Equals",a.NOT_EQUAL="NotEqual",a.STARTS_WITH="StartsWith",(N||(N={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(j||(j={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(s=U||(U={})).RULES="Rules",s.TOKEN="Token",(L||(L={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(B||(B={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(V||(V={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(z||(z={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(q||(q={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},($||($={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(G||(G={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(W||(W={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(H||(H={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(Q||(Q={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(K||(K={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(Z||(Z={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(J||(J={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(Y||(Y={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(X||(X={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(ee||(ee={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(et||(et={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(en||(en={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(er||(er={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(ei||(ei={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(eo||(eo={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(ea||(ea={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(es||(es={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(eu||(eu={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(ec||(ec={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)},(el||(el={})).filterSensitiveLog=function(e){return(0,eT.pi)({},e)};var eP=r(84245),eO=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eL(e.body,n),[2,(0,eT.pi)({name:"ExternalServiceException",$fault:"client",$metadata:eK(e)},r)]})})},eR=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eV(e.body,n),[2,(0,eT.pi)({name:"InternalErrorException",$fault:"server",$metadata:eK(e)},r)]})})},eD=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eq(e.body,n),[2,(0,eT.pi)({name:"InvalidParameterException",$fault:"client",$metadata:eK(e)},r)]})})},eM=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eG(e.body,n),[2,(0,eT.pi)({name:"NotAuthorizedException",$fault:"client",$metadata:eK(e)},r)]})})},eF=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eW(e.body,n),[2,(0,eT.pi)({name:"ResourceConflictException",$fault:"client",$metadata:eK(e)},r)]})})},eN=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eH(e.body,n),[2,(0,eT.pi)({name:"ResourceNotFoundException",$fault:"client",$metadata:eK(e)},r)]})})},ej=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r;return(0,eT.Jh)(this,function(i){return r=eQ(e.body,n),[2,(0,eT.pi)({name:"TooManyRequestsException",$fault:"client",$metadata:eK(e)},r)]})})},eU=function(e,n){return Object.entries(e).reduce(function(e,n){var r,i=(0,eT.CR)(n,2),o=i[0],a=i[1];return null===a?e:(0,eT.pi)((0,eT.pi)({},e),((r={})[o]=a,r))},{})},eL=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eB=function(e,n){var r;return{Credentials:void 0!==e.Credentials&&null!==e.Credentials?{AccessKeyId:void 0!==(r=e.Credentials).AccessKeyId&&null!==r.AccessKeyId?r.AccessKeyId:void 0,Expiration:void 0!==r.Expiration&&null!==r.Expiration?new Date(Math.round(1e3*r.Expiration)):void 0,SecretKey:void 0!==r.SecretKey&&null!==r.SecretKey?r.SecretKey:void 0,SessionToken:void 0!==r.SessionToken&&null!==r.SessionToken?r.SessionToken:void 0}:void 0,IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},eV=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},ez=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eq=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},e$=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eG=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eW=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eH=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eQ=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},eK=function(e){var n;return{httpStatusCode:e.statusCode,requestId:null!==(n=e.headers["x-amzn-requestid"])&&void 0!==n?n:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},eZ=function(e,n){var r;return((void 0===(r=e)&&(r=new Uint8Array),r instanceof Uint8Array)?Promise.resolve(r):n.streamCollector(r)||Promise.resolve(new Uint8Array)).then(function(e){return n.utf8Encoder(e)})},eJ=function(e,n,r,i,o){return(0,eT.mG)(void 0,void 0,void 0,function(){var a,s,u,c;return(0,eT.Jh)(this,function(l){switch(l.label){case 0:return[4,e.endpoint()];case 1:return s=(a=l.sent()).hostname,c={protocol:void 0===(u=a.protocol)?"https":u,hostname:s,port:a.port,method:"POST",path:r,headers:n},void 0!==i&&(c.hostname=i),void 0!==o&&(c.body=o),[2,new eP.aW(c)]}})})},eY=function(e,n){return eZ(e,n).then(function(e){return e.length?JSON.parse(e):{}})},eX=function(e,n){var r=function(e){var n=e;return n.indexOf(":")>=0&&(n=n.split(":")[0]),n.indexOf("#")>=0&&(n=n.split("#")[1]),n},i=Object.keys(e.headers).find(function(e){return"x-amzn-errortype"===e.toLowerCase()});return void 0!==i?r(e.headers[i]):void 0!==n.code?r(n.code):void 0!==n.__type?r(n.__type):""},e0=r(79576),e1=r(28644),e2=function(e){function n(n){var r=e.call(this)||this;return r.input=n,r}return(0,eT.ZT)(n,e),n.prototype.resolveMiddleware=function(e,n,r){this.middlewareStack.use((0,e0.p2)(n,this.serialize,this.deserialize));var i=e.concat(this.middlewareStack),o={logger:n.logger,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:I.filterSensitiveLog,outputFilterSensitiveLog:P.filterSensitiveLog},a=n.requestHandler;return i.resolve(function(e){return a.handle(e.request,r||{})},o)},n.prototype.serialize=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r,i;return(0,eT.Jh)(this,function(o){return r={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},i=JSON.stringify((0,eT.pi)((0,eT.pi)((0,eT.pi)({},void 0!==e.CustomRoleArn&&null!==e.CustomRoleArn&&{CustomRoleArn:e.CustomRoleArn}),void 0!==e.IdentityId&&null!==e.IdentityId&&{IdentityId:e.IdentityId}
26),void 0!==e.Logins&&null!==e.Logins&&{Logins:eU(e.Logins,n)})),[2,eJ(n,r,"/",void 0,i)]})})},n.prototype.deserialize=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r,i;return(0,eT.Jh)(this,function(o){switch(o.label){case 0:if(e.statusCode>=300)return[2,(0,eT.mG)(void 0,void 0,void 0,function(){var r,i,o,a,s,u,c,l,f,d,h,p,m,g,v;return(0,eT.Jh)(this,function(y){switch(y.label){case 0:return i=[(0,eT.pi)({},e)],v={},[4,eY(e.body,n)];case 1:switch(r=eT.pi.apply(void 0,i.concat([(v.body=y.sent(),v)])),a="UnknownError",a=eX(e,r.body)){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return s=[{}],[4,eO(r,n)];case 3:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,s.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 4:return u=[{}],[4,eR(r,n)];case 5:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,u.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 6:var b,w;return c=[{}],[4,(b=r,w=n,(0,eT.mG)(void 0,void 0,void 0,function(){var e;return(0,eT.Jh)(this,function(n){return e=ez(b.body,w),[2,(0,eT.pi)({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:eK(b)},e)]})}))];case 7:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,c.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 8:return l=[{}],[4,eD(r,n)];case 9:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,l.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 10:return f=[{}],[4,eM(r,n)];case 11:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,f.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 12:return d=[{}],[4,eF(r,n)];case 13:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,d.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 14:return h=[{}],[4,eN(r,n)];case 15:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,h.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 16:return p=[{}],[4,ej(r,n)];case 17:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,p.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 18:a=(m=r.body).code||m.Code||a,o=(0,eT.pi)((0,eT.pi)({},m),{name:""+a,message:m.message||m.Message||a,$fault:"client",$metadata:eK(e)}),y.label=19;case 19:return g=o.message||o.Message||a,o.message=g,delete o.Message,[2,Promise.reject(Object.assign(Error(g),o))]}})})];return[4,eY(e.body,n)];case 1:return r=o.sent(),i={},i=eB(r,n),[2,Promise.resolve((0,eT.pi)({$metadata:eK(e)},i))]}})})},n}(e1.mY),e5=function(e,n){return(e5=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)},e3=function(e){function n(n,r){void 0===r&&(r=!0);var i=e.call(this,n)||this;return i.tryNextLink=r,i}return!function(e,n){function r(){this.constructor=e}e5(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}(n,e),n}(Error);function e4(e){return Promise.all(Object.keys(e).reduce(function(n,r){var i=e[r];return"string"==typeof i?n.push([r,i]):n.push(i().then(function(e){return[r,e]})),n},[])).then(function(e){return e.reduce(function(e,n){var r=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(n,2),i=r[0],o=r[1];return e[i]=o,e},{})})}function e6(e){var n=this;return function(){return eA(n,void 0,void 0,function(){var n,r,i,o,a,s,u,c,l,f,d,h,p;return eI(this,function(m){switch(m.label){case 0:if(f=(l=e.client).send,d=e2.bind,p={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},!e.logins)return[3,2];return[4,e4(e.logins)];case 1:return h=m.sent(),[3,3];case 2:h=void 0,m.label=3;case 3:return[4,f.apply(l,[new(d.apply(e2,[void 0,(p.Logins=h,p)]))])];case 4:return o=void 0===(i=(r=void 0===(n=m.sent().Credentials)?function(){throw new e3("Response from Amazon Cognito contained no credentials")}():n).AccessKeyId)?function(){throw new e3("Response from Amazon Cognito contained no access key ID")}():i,a=r.Expiration,u=void 0===(s=r.SecretKey)?function(){throw new e3("Response from Amazon Cognito contained no secret key")}():s,c=r.SessionToken,[2,{identityId:e.identityId,accessKeyId:o,secretAccessKey:u,sessionToken:c,expiration:a}]}})})}}var e8=function(e){function n(n){var r=e.call(this)||this;return r.input=n,r}return(0,eT.ZT)(n,e),n.prototype.resolveMiddleware=function(e,n,r){this.middlewareStack.use((0,e0.p2)(n,this.serialize,this.deserialize));var i=e.concat(this.middlewareStack),o={logger:n.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:R.filterSensitiveLog,outputFilterSensitiveLog:D.filterSensitiveLog},a=n.requestHandler;return i.resolve(function(e){return a.handle(e.request,r||{})},o)},n.prototype.serialize=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r,i;return(0,eT.Jh)(this,function(o){return r={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},i=JSON.stringify((0,eT.pi)((0,eT.pi)((0,eT.pi)({},void 0!==e.AccountId&&null!==e.AccountId&&{AccountId:e.AccountId}),void 0!==e.IdentityPoolId&&null!==e.IdentityPoolId&&{IdentityPoolId:e.IdentityPoolId}
26),void 0!==e.Logins&&null!==e.Logins&&{Logins:eU(e.Logins,n)})),[2,eJ(n,r,"/",void 0,i)]})})},n.prototype.deserialize=function(e,n){return(0,eT.mG)(void 0,void 0,void 0,function(){var r,i;return(0,eT.Jh)(this,function(o){switch(o.label){case 0:if(e.statusCode>=300)return[2,(0,eT.mG)(void 0,void 0,void 0,function(){var r,i,o,a,s,u,c,l,f,d,h,p,m,g,v;return(0,eT.Jh)(this,function(y){switch(y.label){case 0:return i=[(0,eT.pi)({},e)],v={},[4,eY(e.body,n)];case 1:switch(r=eT.pi.apply(void 0,i.concat([(v.body=y.sent(),v)])),a="UnknownError",a=eX(e,r.body)){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return s=[{}],[4,eO(r,n)];case 3:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,s.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 4:return u=[{}],[4,eR(r,n)];case 5:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,u.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 6:return c=[{}],[4,eD(r,n)];case 7:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,c.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 8:var b,w;return l=[{}],[4,(b=r,w=n,(0,eT.mG)(void 0,void 0,void 0,function(){var e;return(0,eT.Jh)(this,function(n){return e=e$(b.body,w),[2,(0,eT.pi)({name:"LimitExceededException",$fault:"client",$metadata:eK(b)},e)]})}))];case 9:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,l.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 10:return f=[{}],[4,eM(r,n)];case 11:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,f.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 12:return d=[{}],[4,eF(r,n)];case 13:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,d.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 14:return h=[{}],[4,eN(r,n)];case 15:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,h.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 16:return p=[{}],[4,ej(r,n)];case 17:return o=eT.pi.apply(void 0,[eT.pi.apply(void 0,p.concat([y.sent()])),{name:a,$metadata:eK(e)}]),[3,19];case 18:a=(m=r.body).code||m.Code||a,o=(0,eT.pi)((0,eT.pi)({},m),{name:""+a,message:m.message||m.Message||a,$fault:"client",$metadata:eK(e)}),y.label=19;case 19:return g=o.message||o.Message||a,o.message=g,delete o.Message,[2,Promise.reject(Object.assign(Error(g),o))]}})})];return[4,eY(e.body,n)];case 1:return r=o.sent(),i={},i={IdentityId:void 0!==r.IdentityId&&null!==r.IdentityId?r.IdentityId:void 0},[2,Promise.resolve((0,eT.pi)({$metadata:eK(e)},i))]}})})},n}(e1.mY),e9="IdentityIds",e7=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",function(n){var r=n.get(e);return new Promise(function(e){r.onerror=function(){return e(null)},r.onsuccess=function(){return e(r.result?r.result.value:null)}})}).catch(function(){return null})},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",function(n){var r=n.delete(e);return new Promise(function(e,n){r.onerror=function(){return n(r.error)},r.onsuccess=function(){return e()}})})},e.prototype.setItem=function(e,n){return this.withObjectStore("readwrite",function(r){var i=r.put({id:e,value:n});return new Promise(function(e,n){i.onerror=function(){return n(i.error)},i.onsuccess=function(){return e()}})})},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise(function(n,r){e.onsuccess=function(){n(e.result)},e.onerror=function(){r(e.error)},e.onblocked=function(){r(Error("Unable to access DB"))},e.onupgradeneeded=function(){var n=e.result;n.onerror=function(){r(Error("Failed to create object store"))},n.createObjectStore(e9,{keyPath:"id"})}})},e.prototype.withObjectStore=function(e,n){return this.getDb().then(function(r){var i=r.transaction(e9,e);return i.oncomplete=function(){return r.close()},new Promise(function(e,r){i.onerror=function(){return r(i.error)},e(n(i.objectStore(e9)))}).catch(function(e){throw r.close(),e})})},e}(),te=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,n){this.store[e]=n},e}()),tt=r(99820),tn=r(20490),tr=r(77643),ti=r(10460),to=r(35749),ta=r(93620),ts=r(67157),tu=r(22795),tc=r(10687),tl=r(98143),tf="cognito-identity.{region}.amazonaws.com",td=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),th=new Set(["cn-north-1","cn-northwest-1"]),tp=new Set(["us-iso-east-1"]),tm=new Set(["us-isob-east-1"]),tg=new Set(["us-gov-east-1","us-gov-west-1"]),tv={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,n){var r=void 0;switch(e){case"ap-northeast-1":r={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":r={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":r={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":r={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":r={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":r={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":r={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":r={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":r={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":r={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":r={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":r={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":r={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":r={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":r={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":r={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":r={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":r={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":r={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":r={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":r={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":r={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:td.has(e)&&(r={hostname:tf.replace("{region}",e),partition:"aws"}),th.has(e)&&(r={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),tp.has(e)&&(r={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),tm.has(e)&&(r={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),tg.has(e)&&(r={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===r&&(r={hostname:tf.replace("{region}",e),partition:"aws"})}return Promise.resolve((0,eT.pi)({signingService:"cognito-identity"},r))},serviceId:"Cognito Identity",urlParser:r(86399).e},ty=(0,eT.pi)((0,eT.pi)({},tv),{runtime:"browser",base64Decoder:ts.G,base64Encoder:ts.s,bodyLengthChecker:tu.W,credentialDefaultProvider:function(e){return function(){return Promise.reject(Error("Credential is missing"))}},defaultUserAgentProvider:(0,tc.f)({serviceId:tv.serviceId,clientVersion:"3.6.1"}),maxAttempts:ta.J,region:(0,to.n)("Region is missing"),requestHandler:new ti.B,sha256:tr.Sha256,streamCollector:ti.C,utf8Decoder:tl.fromUtf8,utf8Encoder:tl.toUtf8}),tb=r(94063),tw=r(3184),tS=r(77448),t_=r(46),tk=r(32510),tx=r(74240),tE=function(e){function n(n){var r=this,i=(0,eT.pi)((0,eT.pi)({},ty),n),o=(0,tb.Xb)(i),a=(0,tb.g4)(o),s=(0,tk.A$)(a),u=(0,ta.BC)(s),c=(0,tS.S8)(u),l=(0,tx.er)(c);return(r=e.call(this,l)||this).config=l,r.middlewareStack.use((0,ta.NQ)(r.config)),r.middlewareStack.use((0,tw.VG)(r.config)),r.middlewareStack.use((0,tS.G2)(r.config)),r.middlewareStack.use((0,t_.cV)(r.config)),r.middlewareStack.use((0,tx.
26XJ)(r.config)),r}return(0,eT.ZT)(n,e),n.prototype.destroy=function(){e.prototype.destroy.call(this)},n}(e1.KU),tC=r(92752);function tA(e){var n=new tE({region:e.region,customUserAgent:(0,tC.Z)()});return n.middlewareStack.add(function(e,n){return function(n){return e((0,ef.pi)((0,ef.pi)({},n),{request:(0,ef.pi)((0,ef.pi)({},n.request),{headers:(0,ef.pi)((0,ef.pi)({},n.request.headers),{"cache-control":"no-store"})})}))}},{step:"build",name:"cacheControlMiddleWare"}),n}var tI=new ed.k("Credentials"),tT="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",tP=function(e,n,r){tn.X.dispatch("core",{event:e,data:n,message:r},"Credentials",tT)},tO=new(function(){function e(e){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(e),this._refreshHandlers.google=ex.refreshGoogleToken,this._refreshHandlers.facebook=eE.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(e){if(!e)return this._config||{};this._config=Object.assign({},this._config,e);var n=this._config.refreshHandlers;return n&&(this._refreshHandlers=(0,ef.pi)((0,ef.pi)({},this._refreshHandlers),n)),this._storage=this._config.storage,this._storage||(this._storage=new eh.c().getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),tP("credentials_configured",null,"Credentials has been configured successfully"),this._config},e.prototype.get=function(){return tI.debug("getting credentials"),this._pickupCredentials()},e.prototype._getCognitoIdentityIdStorageKey=function(e){return"CognitoIdentityId-"+e},e.prototype._pickupCredentials=function(){return tI.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?tI.debug("getting old cred promise"):(tI.debug("getting new cred promise"),this._gettingCredPromise=(0,ep.ML)(this._keepAlive())),this._gettingCredPromise},e.prototype._keepAlive=function(){return(0,ef.mG)(this,void 0,void 0,function(){var e,n,r,i,o,a;return(0,ef.Jh)(this,function(s){switch(s.label){case 0:if(tI.debug("checking if credentials exists and not expired"),(e=this._credentials)&&!this._isExpired(e)&&!this._isPastTTL())return tI.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(e)];if(tI.debug("need to get a new credential or refresh the existing one"),!(r=void 0===(n=this.Auth)?eC.d.Auth:n)||"function"!=typeof r.currentUserCredentials)return[2,this._setCredentialsForGuest()];if(!(!this._isExpired(e)&&this._isPastTTL()))return[3,6];tI.debug("ttl has passed but token is not yet expired"),s.label=1;case 1:return s.trys.push([1,5,,6]),[4,r.currentUserPoolUser()];case 2:return i=s.sent(),[4,r.currentSession()];case 3:return o=s.sent().refreshToken,[4,new Promise(function(e,n){i.refreshSession(o,function(r,i){return r?n(r):e(i)})})];case 4:return s.sent(),[3,6];case 5:return a=s.sent(),tI.debug("Error attempting to refreshing the session",a),[3,6];case 6:return[2,r.currentUserCredentials()]}})})},e.prototype.refreshFederatedToken=function(e){tI.debug("Getting federated credentials");var n=e.provider,r=e.user,i=e.token,o=e.identity_id,a=e.expires_at;return(a=1970===new Date(a).getFullYear()?1e3*a:a,tI.debug("checking if federated jwt token expired"),a>new Date().getTime())?(tI.debug("token not expired"),this._setCredentialsFromFederation({provider:n,token:i,user:r,identity_id:o,expires_at:a})):this._refreshHandlers[n]&&"function"==typeof this._refreshHandlers[n]?(tI.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:this._refreshHandlers[n],provider:n,user:r})):(tI.debug("no refresh handler for provider:",n),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var n=this,r=e.refreshHandler,i=e.provider,o=e.user;return ev(r,[],1e4).then(function(e){return tI.debug("refresh federated token sucessfully",e),n._setCredentialsFromFederation({provider:i,token:e.token,user:o,identity_id:e.identity_id,expires_at:e.expires_at})}).catch(function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||n.clear(),tI.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)})},e.prototype._isExpired=function(e){if(!e)return tI.debug("no credentials for expiration check"),!0;tI.debug("are these credentials expired?",e);var n=Date.now();return e.expiration.getTime()<=n},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){var e;return(0,ef.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,u,c,l,f=this;return(0,ef.Jh)(this,function(d){switch(d.label){case 0:if(tI.debug("setting credentials for guest"),(null===(e=this._config)||void 0===e?void 0:e.identityPoolId)||(this._config=Object.assign({},this._config,(0,tt.h)(this._config||{}).Auth)),r=(n=this._config).identityPoolId,i=n.region,o=n.mandatorySignIn,a=n.identityPoolRegion,o)return[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!r)return tI.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!a&&!i)return tI.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")];return u=this,[4,this._getGuestIdentityId()];case 1:return s=u._identityId=d.sent(),c=tA({region:a||i}),l=void 0,l=s?e6({identityId:s,client:c})():(0,ef.mG)(f,void 0,void 0,function(){var e;return(0,ef.Jh)(this,function(n){switch(n.label){case 0:return[4,c.send(new e8({IdentityPoolId:r}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,e6({client:c,identityId:e})()]}})}).catch(function(e){return(0,ef.mG)(f,void 0,void 0,function(){return(0,ef.Jh)(this,function(n){throw e})})}),[2,this._loadCredentials(l,"guest",!1,null).then(function(e){return e}).catch(function(e){return(0,ef.mG)(f,void 0,void 0,function(){var n=this;return(0,ef.Jh)(this,function(i){switch(i.label){case 0:if(!("ResourceNotFoundException"===e.name&&e.message==="Identity '"+s+"' not found."))return[3,2];return tI.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()];case 1:return i.sent(),l=(0,ef.mG)(n,void 0,void 0,function(){var e;return(0,ef.Jh)(this,function(n){switch(n.label){case 0:return[4,c.send(new e8({IdentityPoolId:r}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,e6({client:c,identityId:e})()]}})}).catch(function(e){return(0,ef.mG)(n,void 0,void 0,function(){return(0,ef.Jh)(this,function(n){throw e})})}),[2,this._loadCredentials(l,"guest",!1,null)];case 2:return[2,e]}})})})]}})})},e.prototype._setCredentialsFromFederation=function(e){var n=e.provider,r=e.token,i=e.identity_id,o={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[n]||n;if(!o)return Promise.reject("You must specify a federated provider");var a={};a[o]=r;var s=this._config,u=s.identityPoolId,c=s.region,l=s.identityPoolRegion;if(!u)return tI.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");
26if(!l&&!c)return tI.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var f=tA({region:l||c}),d=void 0;if(i){var h={identityId:i,logins:a,client:f};d=e6(h)()}else{var h={logins:a,identityPoolId:u,client:f};d=(function(e){var n=this,r=e.accountId,i=e.cache,o=void 0===i?"object"==typeof self&&self.indexedDB?new e7:"object"==typeof window&&window.localStorage?window.localStorage:te:i,a=e.client,s=e.customRoleArn,u=e.identityPoolId,c=e.logins,l=e.userIdentifier,f=void 0===l?c&&0!==Object.keys(c).length?void 0:"ANONYMOUS":l,d=f?"aws:cognito-identity-credentials:"+u+":"+f:void 0,h=function(){return eA(n,void 0,void 0,function(){var e,n,i,l,f,p,m,g;return eI(this,function(v){switch(v.label){case 0:if(!(n=d))return[3,2];return[4,o.getItem(d)];case 1:n=v.sent(),v.label=2;case 2:if(e=n)return[3,7];if(f=(l=a).send,p=e8.bind,g={AccountId:r,IdentityPoolId:u},!c)return[3,4];return[4,e4(c)];case 3:return m=v.sent(),[3,5];case 4:m=void 0,v.label=5;case 5:return[4,f.apply(l,[new(p.apply(e8,[void 0,(g.Logins=m,g)]))])];case 6:e=void 0===(i=v.sent().IdentityId)?function(){throw new e3("Response from Amazon Cognito contained no identity ID")}():i,d&&Promise.resolve(o.setItem(d,e)).catch(function(){}),v.label=7;case 7:return[2,(h=e6({client:a,customRoleArn:s,logins:c,identityId:e}))()]}})})};return function(){return h().catch(function(e){return eA(n,void 0,void 0,function(){return eI(this,function(n){throw d&&Promise.resolve(o.removeItem(d)).catch(function(){}),e})})})}})(h)()}return this._loadCredentials(d,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var n=this;tI.debug("set credentials from session");var r=e.getIdToken().getJwtToken(),i=this._config,o=i.region,a=i.userPoolId,s=i.identityPoolId,u=i.identityPoolRegion;if(!s)return tI.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!u&&!o)return tI.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c={};c["cognito-idp."+o+".amazonaws.com/"+a]=r;var l=tA({region:u||o}),f=(0,ef.mG)(n,void 0,void 0,function(){var e,n,r,i,o,a,u,f,d;return(0,ef.Jh)(this,function(h){switch(h.label){case 0:return[4,this._getGuestIdentityId()];case 1:if(e=h.sent())return[3,3];return[4,l.send(new e8({IdentityPoolId:s,Logins:c}))];case 2:n=h.sent().IdentityId,h.label=3;case 3:return[4,l.send(new e2({IdentityId:e||n,Logins:c}))];case 4:if(o=(i=(r=h.sent()).Credentials).AccessKeyId,a=i.Expiration,u=i.SecretKey,f=i.SessionToken,d=r.IdentityId,this._identityId=d,!e)return[3,6];return tI.debug("The guest identity "+e+" has been successfully linked to the logins"),e===d&&tI.debug("The guest identity "+e+" has become the primary identity"),[4,this._removeGuestIdentityId()];case 5:h.sent(),h.label=6;case 6:return[2,{accessKeyId:o,secretAccessKey:u,sessionToken:f,expiration:a,identityId:d}]}})}).catch(function(e){return(0,ef.mG)(n,void 0,void 0,function(){return(0,ef.Jh)(this,function(n){throw e})})});return this._loadCredentials(f,"userPool",!0,null)},e.prototype._loadCredentials=function(e,n,r,i){var o=this,a=this;return new Promise(function(s,u){e.then(function(e){return(0,ef.mG)(o,void 0,void 0,function(){var o,u,c,l,f;return(0,ef.Jh)(this,function(d){switch(d.label){case 0:if(tI.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),a._credentials=e,a._credentials.authenticated=r,a._credentials_source=n,a._nextCredentialsRefresh=new Date().getTime()+3e6,"federated"===n){o=Object.assign({id:this._credentials.identityId},i.user),u=i.provider,c=i.token,l=i.expires_at,f=i.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:u,token:c,user:o,expires_at:l,identity_id:f}))}catch(e){tI.debug("Failed to put federated info into auth storage",e)}}if("guest"!==n)return[3,2];return[4,this._setGuestIdentityId(e.identityId)];case 1:d.sent(),d.label=2;case 2:return s(a._credentials),[2]}})})}).catch(function(n){if(n){tI.debug("Failed to load credentials",e),tI.debug("Error loading credentials",n),u(n);return}})})},e.prototype.set=function(e,n){return"session"===n?this._setCredentialsFromSession(e):"federation"===n?this._setCredentialsFromFederation(e):"guest"===n?this._setCredentialsForGuest():(tI.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return(0,ef.mG)(this,void 0,void 0,function(){return(0,ef.Jh)(this,function(e){return this._credentials=null,this._credentials_source=null,tI.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]})})},e.prototype._getGuestIdentityId=function(){return(0,ef.mG)(this,void 0,void 0,function(){var e,n;return(0,ef.Jh)(this,function(r){switch(r.label){case 0:e=this._config.identityPoolId,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(e))];case 3:return n=r.sent(),tI.debug("Failed to get the cached guest identityId",n),[3,4];case 4:return[2]}})})},e.prototype._setGuestIdentityId=function(e){return(0,ef.mG)(this,void 0,void 0,function(){var n,r;return(0,ef.Jh)(this,function(i){switch(i.label){case 0:n=this._config.identityPoolId,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this._storageSync];case 2:return i.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(n),e),[3,4];case 3:return r=i.sent(),tI.debug("Failed to cache guest identityId",r),[3,4];case 4:return[2]}})})},e.prototype._removeGuestIdentityId=function(){return(0,ef.mG)(this,void 0,void 0,function(){var e;return(0,ef.Jh)(this,function(n){return e=this._config.identityPoolId,tI.debug("removing "+this._getCognitoIdentityIdStorageKey(e)+" from storage"),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)),[2]})})},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);eC.d.register(tO)},20490:function(e,n,r){"use strict";r.d(n,{X:function(){return s}});var i=r(28008),o=new(r(93769)).k("Hub"),a="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",s=new(function(){function e(e){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}return e.prototype._remove=function(e,n){if(e instanceof RegExp){var r=this.patterns.find(function(n){return n.pattern.source===e.source});if(!r){o.warn("No listeners for "+e);return}this.patterns=(0,i.fl)(this.patterns.filter(function(e){return e!==r}))}else{var a=this.listeners[e];if(!a){o.warn("No listeners for "+e);return}this.listeners[e]=(0,i.fl)(a.filter(function(e){return e.callback!==n}))}},e.prototype.remove=function(e,n){this._remove(e,n)}
26,e.prototype.dispatch=function(e,n,r,s){void 0===r&&(r=""),this.protectedChannels.indexOf(e)>-1&&s!==a&&o.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences");var u={channel:e,payload:(0,i.pi)({},n),source:r,patternInfo:[]};try{this._toListeners(u)}catch(e){o.error(e)}},e.prototype.listen=function(e,n,r){var i,a=this;if(void 0===r&&(r="noname"),void 0!==n.onHubCapsule)o.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),i=n.onHubCapsule.bind(n);else if("function"!=typeof n)throw Error("No callback supplied to Hub");else i=n;if(e instanceof RegExp)this.patterns.push({pattern:e,callback:i});else{var s=this.listeners[e];s||(s=[],this.listeners[e]=s),s.push({name:r,callback:i})}return function(){a._remove(e,i)}},e.prototype._toListeners=function(e){var n=e.channel,r=e.payload,a=this.listeners[n];if(a&&a.forEach(function(i){o.debug("Dispatching to "+n+" with ",r);try{i.callback(e)}catch(e){o.error(e)}}),this.patterns.length>0){if(!r.message){o.warn("Cannot perform pattern matching without a message 
26key");return}var s=r.message;this.patterns.forEach(function(n){var r=s.match(n.pattern);if(r){var a=(0,i.CR)(r).slice(1),u=(0,i.pi)((0,i.pi)({},e),{patternInfo:a});try{n.callback(u)}catch(e){o.error(e)}}})}},e}())("__default__")},59222:function(e,n,r){"use strict";r.d(n,{ML:function(){return o},lC:function(){return a}});var i=r(83454),o=function(e){if(e.isResolved)return e;var n=!0,r=!1,i=!1,o=e.then(function(e){return i=!0,n=!1,e},function(e){throw r=!0,n=!1,e});return o.isFullfilled=function(){return i},o.isPending=function(){return n},o.isRejected=function(){return r},o},a=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:void 0!==i&&null!=i.versions&&null!=i.versions.node}},s=function(e,n,r){if(void 0===n&&(n=[]),void 0===r&&(r=[]),!c(e))return e;var i={};for(var o in e)e.hasOwnProperty(o)&&(i[n.includes(o)?o:o[0].toLowerCase()+o.slice(1)]=r.includes(o)?e[o]:s(e[o],n,r));return i},u=function(e,n,r){if(void 0===n&&(n=[]),void 0===r&&(r=[]),!c(e))return e;var i={};for(var o in e)e.hasOwnProperty(o)&&(i[n.includes(o)?o:o[0].toUpperCase()+o.slice(1)]=r.includes(o)?e[o]:u(e[o],n,r));return i},c=function(e){return e instanceof Object&&!(e instanceof Array)&&!(e instanceof Function)&&!(e instanceof Number)&&!(e instanceof String)&&!(e instanceof Boolean)}},93769:function(e,n,r){"use strict";r.d(n,{k:function(){return u}});var i,o,a=r(28008),s={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5};(i=o||(o={})).DEBUG="DEBUG",i.ERROR="ERROR",i.INFO="INFO",i.WARN="WARN",i.VERBOSE="VERBOSE";var u=function(){function e(e,n){void 0===n&&(n=o.WARN),this.name=e,this.level=n,this._pluggables=[]}return e.prototype._padding=function(e){return e<10?"0"+e:""+e},e.prototype._ts=function(){var e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()},e.prototype.configure=function(e){return e&&(this._config=e),this._config},e.prototype._log=function(n){for(var r,i,u=[],c=1;c<arguments.length;c++)u[c-1]=arguments[c];var l=this.level;e.LOG_LEVEL&&(l=e.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(l=window.LOG_LEVEL);var f=s[l];if(s[n]>=f){var d=console.log.bind(console);n===o.ERROR&&console.error&&(d=console.error.bind(console)),n===o.WARN&&console.warn&&(d=console.warn.bind(console));var h="["+n+"] "+this._ts()+" "+this.name,p="";if(1===u.length&&"string"==typeof u[0])d(p=h+" - "+u[0]);else if(1===u.length)p=h+" "+u[0],d(h,u[0]);else if("string"==typeof u[0]){var m=u.slice(1);1===m.length&&(m=m[0]),p=h+" - "+u[0]+" "+m,d(h+" - "+u[0],m)}else p=h+" "+u,d(h,u);try{for(var g=(0,a.XA)(this._pluggables),v=g.next();!v.done;v=g.next()){var y=v.value,b={message:p,timestamp:Date.now()};y.pushLogs([b])}}catch(e){r={error:e}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(r)throw r.error}}}},e.prototype.log=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,(0,a.fl)([o.INFO],e))},e.prototype.info=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,(0,a.fl)([o.INFO],e))},e.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,(0,a.fl)([o.WARN],e))},e.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,(0,a.fl)([o.ERROR],e))},e.prototype.debug=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,(0,a.fl)([o.DEBUG],e))},e.prototype.verbose=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,(0,a.fl)([o.VERBOSE],e))},e.prototype.addPluggable=function(e){e&&"Logging"===e.getCategoryName()&&(this._pluggables.push(e),e.configure(this._config))},e.prototype.listPluggables=function(){return this._pluggables},e.LOG_LEVEL=null,e}()},92752:function(e,n,r){"use strict";r.d(n,{t:function(){return o},Z:function(){return a}});var i="aws-amplify/5.0.15",o={userAgent:i+" js",product:"",navigator:null,isReactNative:!1};"undefined"!=typeof navigator&&navigator.product&&((o.product=navigator.product||"",o.navigator=navigator||null,"ReactNative"===navigator.product)?(o.userAgent=i+" react-native",o.isReactNative=!0):(o.userAgent=i+" js",o.isReactNative=!1));var a=function(e){return""+o.userAgent+(e||"")}},6648:function(e,n,r){"use strict";r.d(n,{c:function(){return a}});var i={},o=function(){function e(){}return e.setItem=function(e,n){return i[e]=n,i[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0},e.removeItem=function(e){return delete i[e]},e.clear=function(){return i={}},e}(),a=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=o}}return e.prototype.getStorage=function(){return this.storageWindow},e}()},99820:function(e,n,r){"use strict";r.d(n,{h:function(){return a}});var i=r(28008),o=new(r(93769)).k("Parser"),a=function(e){var n,r={};if(e.aws_mobile_analytics_app_id){var a={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};r.Analytics=a}return(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(r.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_regi
26on,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in,signUpVerificationMethod:e.aws_cognito_sign_up_verification_method||"code"}),n=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},e.Logging&&(r.Logging=(0,i.pi)((0,i.pi)({},e.Logging),{region:e.aws_project_region})),e.geo&&(r.Geo=Object.assign({},e.geo),e.geo.amazon_location_service&&(r.Geo={AmazonLocationService:e.geo.amazon_location_service})),r.Analytics=Object.assign({},r.Analytics,e.Analytics),r.Auth=Object.assign({},r.Auth,e.Auth),r.Storage=Object.assign({},n),r.Logging=Object.assign({},r.Logging,e.Logging),o.debug("parse config",e,"to amplifyconfig",r),r}},28008:function(e,n,r){"use strict";r.d(n,{CR:function(){return l},Jh:function(){return u},XA:function(){return c},ZT:function(){return o},fl:function(){return f},mG:function(){return s},pi:function(){return a}});/*! *****************************************************************************
27Copyright (c) Microsoft Corporation.
28
29Permission to use, copy, modify, and/or distribute this software for any
30purpose with or without fee is hereby granted.
31
32THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
33REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
34AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
35INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
36LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
37OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
38PERFORMANCE OF THIS SOFTWARE.
39***************************************************************************** */var i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)};function o(e,n){function r(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function s(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function u(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function c(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function f(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(l(arguments[n]));return e}},48260:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},16665:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},35470:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},30969:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},55287:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isMsWindow=void 0;var r=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];n.isMsWindow=function(e){if("MSInputMethodContext"in e&&"msCrypto"in e&&void 0!==e.msCrypto.subtle){var n=e.msCrypto,i=n.getRandomValues,o=n.subtle;return r.map(function(e){return o[e]}).concat(i).every(function(e){return"function"==typeof e})}return!1}},40087:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=r(11980);i.__exportStar(r(48260),n),i.__exportStar(r(16665),n),i.__exportStar(r(35470),n),i.__exportStar(r(30969),n),i.__exportStar(r(55287),n)},11980:function(e,n,r){"use strict";r.r(n),r.d(n,{__assign:function(){return a},__asyncDelegator:function(){return S},__asyncGenerator:function(){return w},__asyncValues:function(){return _},__await:function(){return b},__awaiter:function(){return f},__classPrivateFieldGet:function(){return C},__classPrivateFieldSet:function(){return A},__createBinding:function(){return h},__decorate:function(){return u},__exportStar:function(){return p},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return x}
vendor: 6,126 bytes, lines 39-52
39,__makeTemplateObject:function(){return k},__metadata:function(){return l},__param:function(){return c},__read:function(){return g},__rest:function(){return s},__spread:function(){return v},__spreadArrays:function(){return y},__values:function(){return m}});/*! *****************************************************************************
40Copyright (c) Microsoft Corporation.
41
42Permission to use, copy, modify, and/or distribute this software for any
43purpose with or without fee is hereby granted.
44
45THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
46REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
47AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
48INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
49LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
50OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
51PERFORMANCE OF THIS SOFTWARE.
52***************************************************************************** */var i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)};function o(e,n){function r(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function s(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}function u(e,n,r,i){var o,a=arguments.length,s=a<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,r,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(n,r,s):o(n,r))||s);return a>3&&s&&Object.defineProperty(n,r,s),s}function c(e,n){return function(r,i){n(r,i,e)}}function l(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function f(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function d(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function h(e,n,r,i){void 0===i&&(i=r),e[i]=n[r]}function p(e,n){for(var r in e)"default"===r||n.hasOwnProperty(r)||(n[r]=e[r])}function m(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(g(arguments[n]));return e}function y(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var i=Array(e),o=0,n=0;n<r;n++)for(var a=arguments[n],s=0,u=a.length;s<u;s++,o++)i[o]=a[s];return i}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function w(e,n,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,o=r.apply(e,n||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(n){return new Promise(function(r,i){a.push([e,n,r,i])>1||u(e,n)})})}function u(e,n){try{var r;(r=o[e](n)).value instanceof b?Promise.resolve(r.value.v).then(c,l):f(a[0][2],r)}catch(e){f(a[0][3],e)}}function c(e){u("next",e)}function l(e){u("throw",e)}function f(e,n){e(n),a.shift(),a.length&&u(a[0][0],a[0][1])}}function S(e){var n,r;return n={},i("next"),i("throw",function(e){throw e}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(i,o){n[i]=e[i]?function(n){return(r=!r)?{value:b(e[i](n)),done:"return"===i}:o?o(n):n}:o}}function _(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(n){return new Promise(function(i,o){!function(e,n,r,i){Promise.resolve(i).then(function(n){e({value:n,done:r})},n)}(i,o,(n=e[r](n)).done,n.value)})}}}function k(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}
52function x(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n.default=e,n}function E(e){return e&&e.__esModule?e:{default:e}}function C(e,n){if(!n.has(e))throw TypeError("attempted to get private field on non-instance");return n.get(e)}function A(e,n,r){if(!n.has(e))throw TypeError("attempted to set private field on non-instance");return n.set(e,r),r}},57333:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EMPTY_DATA_SHA_256=n.SHA_256_HMAC_ALGO=n.SHA_256_HASH=void 0,n.SHA_256_HASH={name:"SHA-256"},n.SHA_256_HMAC_ALGO={name:"HMAC",hash:n.SHA_256_HASH},n.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},52769:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var i=r(63479),o=r(38889),a=r(41938),s=r(21),u=r(40087),c=r(56495),l=function(){function e(e){(0,s.supportsWebCrypto)((0,c.locateWindow)())?this.hash=new o.Sha256(e):(0,u.isMsWindow)((0,c.locateWindow)())?this.hash=new i.Sha256(e):this.hash=new a.Sha256(e)}return e.prototype.update=function(e,n){this.hash.update(e,n)},e.prototype.digest=function(){return this.hash.digest()},e}();n.Sha256=l},63479:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var i=r(38036),o=r(57333),a=r(98143),s=r(56495),u=function(){function e(e){e?(this.operation=new Promise(function(n,r){var i=(0,s.locateWindow)().msCrypto.subtle.importKey("raw",c(e),o.SHA_256_HMAC_ALGO,!1,["sign"]);i.oncomplete=function(){i.result&&n(i.result),r(Error("ImportKey completed without importing key."))},i.onerror=function(){r(Error("ImportKey failed to import key."))}}).then(function(e){return(0,s.locateWindow)().msCrypto.subtle.sign(o.SHA_256_HMAC_ALGO,e)}),this.operation.catch(function(){})):this.operation=Promise.resolve((0,s.locateWindow)().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var n=this;(0,i.isEmptyData)(e)||(this.operation=this.operation.then(function(r){return r.onerror=function(){n.operation=Promise.reject(Error("Error encountered updating hash"))},r.process(c(e)),r}),this.operation.catch(function(){}))},e.prototype.digest=function(){return this.operation.then(function(e){return new Promise(function(n,r){e.onerror=function(){r(Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&n(new Uint8Array(e.result)),r(Error("Error encountered finalizing hash"))},e.finish()})})},e}();function c(e){return"string"==typeof e?(0,a.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}n.Sha256=u},77643:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WebCryptoSha256=n.Ie11Sha256=void 0,(0,r(75789).__exportStar)(r(52769),n);var i=r(63479);Object.defineProperty(n,"Ie11Sha256",{enumerable:!0,get:function(){return i.Sha256}});var o=r(38889);Object.defineProperty(n,"WebCryptoSha256",{enumerable:!0,get:function(){return o.Sha256}})},38036:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isEmptyData=void 0,n.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},38889:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var i=r(17658),o=r(57333),a=r(56495),s=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(n,r){(0,a.locateWindow)().crypto.subtle.importKey("raw",(0,i.convertToBuffer)(e),o.SHA_256_HMAC_ALGO,!1,["sign"]).then(n,r)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!(0,i.isEmptyData)(e)){var n=(0,i.convertToBuffer)(e),r=new Uint8Array(this.toHash.byteLength+n.byteLength);r.set(this.toHash,0),r.set(n,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(n){return(0,a.locateWindow)().crypto.subtle.sign(o.SHA_256_HMAC_ALGO,n,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,i.isEmptyData)(this.toHash)?Promise.resolve(o.EMPTY_DATA_SHA_256):Promise.resolve().then(function(){return(0,a.locateWindow)().crypto.subtle.digest(o.SHA_256_HASH,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e}();n.Sha256=s},75789:function(e,n,r){"use strict";r.r(n),r.d(n,{__assign:function(){return a},__asyncDelegator:function(){return S},__asyncGenerator:function(){return w},__asyncValues:function(){return _},__await:function(){return b},__awaiter:function(){return f},__classPrivateFieldGet:function(){return C},__classPrivateFieldSet:function(){return A},__createBinding:function(){return h},__decorate:function(){return u},__exportStar:function(){return p},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return x}
vendor: 6,126 bytes, lines 52-65
52,__makeTemplateObject:function(){return k},__metadata:function(){return l},__param:function(){return c},__read:function(){return g},__rest:function(){return s},__spread:function(){return v},__spreadArrays:function(){return y},__values:function(){return m}});/*! *****************************************************************************
53Copyright (c) Microsoft Corporation.
54
55Permission to use, copy, modify, and/or distribute this software for any
56purpose with or without fee is hereby granted.
57
58THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
59REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
61INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
62LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
63OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
64PERFORMANCE OF THIS SOFTWARE.
65***************************************************************************** */var i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)};function o(e,n){function r(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function s(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}function u(e,n,r,i){var o,a=arguments.length,s=a<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,r,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(n,r,s):o(n,r))||s);return a>3&&s&&Object.defineProperty(n,r,s),s}function c(e,n){return function(r,i){n(r,i,e)}}function l(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function f(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function d(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function h(e,n,r,i){void 0===i&&(i=r),e[i]=n[r]}function p(e,n){for(var r in e)"default"===r||n.hasOwnProperty(r)||(n[r]=e[r])}function m(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(g(arguments[n]));return e}function y(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var i=Array(e),o=0,n=0;n<r;n++)for(var a=arguments[n],s=0,u=a.length;s<u;s++,o++)i[o]=a[s];return i}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function w(e,n,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,o=r.apply(e,n||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(n){return new Promise(function(r,i){a.push([e,n,r,i])>1||u(e,n)})})}function u(e,n){try{var r;(r=o[e](n)).value instanceof b?Promise.resolve(r.value.v).then(c,l):f(a[0][2],r)}catch(e){f(a[0][3],e)}}function c(e){u("next",e)}function l(e){u("throw",e)}function f(e,n){e(n),a.shift(),a.length&&u(a[0][0],a[0][1])}}function S(e){var n,r;return n={},i("next"),i("throw",function(e){throw e}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(i,o){n[i]=e[i]?function(n){return(r=!r)?{value:b(e[i](n)),done:"return"===i}:o?o(n):n}:o}}function _(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(n){return new Promise(function(i,o){!function(e,n,r,i){Promise.resolve(i).then(function(n){e({value:n,done:r})},n)}(i,o,(n=e[r](n)).done,n.value)})}}}function k(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}
65function x(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n.default=e,n}function E(e){return e&&e.__esModule?e:{default:e}}function C(e,n){if(!n.has(e))throw TypeError("attempted to get private field on non-instance");return n.get(e)}function A(e,n,r){if(!n.has(e))throw TypeError("attempted to set private field on non-instance");return n.set(e,r),r}},10914:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RawSha256=void 0;var i=r(89945),o=function(){function e(){this.state=Int32Array.from(i.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var n=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>i.MAX_HASHABLE_LENGTH)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[n++],r--,this.bufferLength===i.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%i.BLOCK_SIZE>=i.BLOCK_SIZE-8){for(var o=this.bufferLength;o<i.BLOCK_SIZE;o++)n.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<i.BLOCK_SIZE-8;o++)n.setUint8(o,0);n.setUint32(i.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),n.setUint32(i.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}for(var a=new Uint8Array(i.DIGEST_LENGTH),o=0;o<8;o++)a[4*o]=this.state[o]>>>24&255,a[4*o+1]=this.state[o]>>>16&255,a[4*o+2]=this.state[o]>>>8&255,a[4*o+3]=this.state[o]>>>0&255;return a},e.prototype.hashBuffer=function(){for(var e=this.buffer,n=this.state,r=n[0],o=n[1],a=n[2],s=n[3],u=n[4],c=n[5],l=n[6],f=n[7],d=0;d<i.BLOCK_SIZE;d++){if(d<16)this.temp[d]=(255&e[4*d])<<24|(255&e[4*d+1])<<16|(255&e[4*d+2])<<8|255&e[4*d+3];else{var h=this.temp[d-2],p=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,m=((h=this.temp[d-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[d]=(p+this.temp[d-7]|0)+(m+this.temp[d-16]|0)}var g=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&l)|0)+(f+(i.KEY[d]+this.temp[d]|0)|0)|0,v=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&o^r&a^o&a)|0;f=l,l=c,c=u,u=s+g|0,s=a,a=o,o=r,r=g+v|0}n[0]+=r,n[1]+=o,n[2]+=a,n[3]+=s,n[4]+=u,n[5]+=c,n[6]+=l,n[7]+=f},e}();n.RawSha256=o},89945:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.MAX_HASHABLE_LENGTH=n.INIT=n.KEY=n.DIGEST_LENGTH=n.BLOCK_SIZE=void 0,n.BLOCK_SIZE=64,n.DIGEST_LENGTH=32,n.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],n.MAX_HASHABLE_LENGTH=9007199254740991},41938:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),(0,r(73541).__exportStar)(r(65430),n)},65430:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var i=r(73541),o=r(89945),a=r(10914),s=r(17658),u=function(){function e(e){if(this.hash=new a.RawSha256,e){this.outer=new a.RawSha256;var n=function(e){var n=(0,s.convertToBuffer)(e);if(n.byteLength>o.BLOCK_SIZE){var r=new a.RawSha256;r.update(n),n=r.digest()}var i=new Uint8Array(o.BLOCK_SIZE);return i.set(n),i}(e),r=new Uint8Array(o.BLOCK_SIZE);r.set(n);for(var i=0;i<o.BLOCK_SIZE;i++)n[i]^=54,r[i]^=92;this.hash.update(n),this.outer.update(r);for(var i=0;i<n.byteLength;i++)n[i]=0}}return e.prototype.update=function(e){if(!(0,s.isEmptyData)(e)&&!this.error)try{this.hash.update((0,s.convertToBuffer)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,i.__awaiter)(this,void 0,void 0,function(){return(0,i.__generator)(this,function(e){return[2,this.digestSync()]})})},e}();n.Sha256=u},73541:function(e,n,r){"use strict";r.r(n),r.d(n,{__assign:function(){return a},__asyncDelegator:function(){return S},__asyncGenerator:function(){return w},__asyncValues:function(){return _},__await:function(){return b},__awaiter:function(){return f},__classPrivateFieldGet:function(){return C},__classPrivateFieldSet:function(){return A},__createBinding:function(){return h},__decorate:function(){return u},__exportStar:function(){return p},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return x}
vendor: 6,126 bytes, lines 65-78
65,__makeTemplateObject:function(){return k},__metadata:function(){return l},__param:function(){return c},__read:function(){return g},__rest:function(){return s},__spread:function(){return v},__spreadArrays:function(){return y},__values:function(){return m}});/*! *****************************************************************************
66Copyright (c) Microsoft Corporation.
67
68Permission to use, copy, modify, and/or distribute this software for any
69purpose with or without fee is hereby granted.
70
71THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
72REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
73AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
74INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
75LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
76OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
77PERFORMANCE OF THIS SOFTWARE.
78***************************************************************************** */var i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)};function o(e,n){function r(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function s(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}function u(e,n,r,i){var o,a=arguments.length,s=a<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,r,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(n,r,s):o(n,r))||s);return a>3&&s&&Object.defineProperty(n,r,s),s}function c(e,n){return function(r,i){n(r,i,e)}}function l(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function f(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function d(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function h(e,n,r,i){void 0===i&&(i=r),e[i]=n[r]}function p(e,n){for(var r in e)"default"===r||n.hasOwnProperty(r)||(n[r]=e[r])}function m(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(g(arguments[n]));return e}function y(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var i=Array(e),o=0,n=0;n<r;n++)for(var a=arguments[n],s=0,u=a.length;s<u;s++,o++)i[o]=a[s];return i}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function w(e,n,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,o=r.apply(e,n||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(n){return new Promise(function(r,i){a.push([e,n,r,i])>1||u(e,n)})})}function u(e,n){try{var r;(r=o[e](n)).value instanceof b?Promise.resolve(r.value.v).then(c,l):f(a[0][2],r)}catch(e){f(a[0][3],e)}}function c(e){u("next",e)}function l(e){u("throw",e)}function f(e,n){e(n),a.shift(),a.length&&u(a[0][0],a[0][1])}}function S(e){var n,r;return n={},i("next"),i("throw",function(e){throw e}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(i,o){n[i]=e[i]?function(n){return(r=!r)?{value:b(e[i](n)),done:"return"===i}:o?o(n):n}:o}}function _(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(n){return new Promise(function(i,o){!function(e,n,r,i){Promise.resolve(i).then(function(n){e({value:n,done:r})},n)}(i,o,(n=e[r](n)).done,n.value)})}}}function k(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}
78function x(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n.default=e,n}function E(e){return e&&e.__esModule?e:{default:e}}function C(e,n){if(!n.has(e))throw TypeError("attempted to get private field on non-instance");return n.get(e)}function A(e,n,r){if(!n.has(e))throw TypeError("attempted to set private field on non-instance");return n.set(e,r),r}},21:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),r(57840).__exportStar(r(97787),n)},97787:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.supportsZeroByteGCM=n.supportsSubtleCrypto=n.supportsSecureRandom=n.supportsWebCrypto=void 0;var i=r(57840),o=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function a(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function s(e){return e&&o.every(function(n){return"function"==typeof e[n]})}n.supportsWebCrypto=function(e){return!!a(e)&&"object"==typeof e.crypto.subtle&&s(e.crypto.subtle)},n.supportsSecureRandom=a,n.supportsSubtleCrypto=s,n.supportsZeroByteGCM=function(e){return i.__awaiter(this,void 0,void 0,function(){var n;return i.__generator(this,function(r){switch(r.label){case 0:if(!s(e))return[2,!1];r.label=1;case 1:return r.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return n=r.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},n,new Uint8Array(0))];case 3:return[2,16===r.sent().byteLength];case 4:return r.sent(),[2,!1];case 5:return[2]}})})}},57840:function(e,n,r){"use strict";r.r(n),r.d(n,{__assign:function(){return a},__asyncDelegator:function(){return S},__asyncGenerator:function(){return w},__asyncValues:function(){return _},__await:function(){return b},__awaiter:function(){return f},__classPrivateFieldGet:function(){return C},__classPrivateFieldSet:function(){return A},__createBinding:function(){return h},__decorate:function(){return u},__exportStar:function(){return p},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return x}
vendor: 6,126 bytes, lines 78-91
78,__makeTemplateObject:function(){return k},__metadata:function(){return l},__param:function(){return c},__read:function(){return g},__rest:function(){return s},__spread:function(){return v},__spreadArrays:function(){return y},__values:function(){return m}});/*! *****************************************************************************
79Copyright (c) Microsoft Corporation.
80
81Permission to use, copy, modify, and/or distribute this software for any
82purpose with or without fee is hereby granted.
83
84THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
85REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
86AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
87INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
88LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
89OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
90PERFORMANCE OF THIS SOFTWARE.
91***************************************************************************** */var i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)};function o(e,n){function r(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function s(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}function u(e,n,r,i){var o,a=arguments.length,s=a<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,r,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(s=(a<3?o(s):a>3?o(n,r,s):o(n,r))||s);return a>3&&s&&Object.defineProperty(n,r,s),s}function c(e,n){return function(r,i){n(r,i,e)}}function l(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)}function f(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function d(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function h(e,n,r,i){void 0===i&&(i=r),e[i]=n[r]}function p(e,n){for(var r in e)"default"===r||n.hasOwnProperty(r)||(n[r]=e[r])}function m(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(g(arguments[n]));return e}function y(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var i=Array(e),o=0,n=0;n<r;n++)for(var a=arguments[n],s=0,u=a.length;s<u;s++,o++)i[o]=a[s];return i}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function w(e,n,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,o=r.apply(e,n||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(n){return new Promise(function(r,i){a.push([e,n,r,i])>1||u(e,n)})})}function u(e,n){try{var r;(r=o[e](n)).value instanceof b?Promise.resolve(r.value.v).then(c,l):f(a[0][2],r)}catch(e){f(a[0][3],e)}}function c(e){u("next",e)}function l(e){u("throw",e)}function f(e,n){e(n),a.shift(),a.length&&u(a[0][0],a[0][1])}}function S(e){var n,r;return n={},i("next"),i("throw",function(e){throw e}),i("return"),n[Symbol.iterator]=function(){return this},n;function i(i,o){n[i]=e[i]?function(n){return(r=!r)?{value:b(e[i](n)),done:"return"===i}:o?o(n):n}:o}}function _(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[r]&&function(n){return new Promise(function(i,o){!function(e,n,r,i){Promise.resolve(i).then(function(n){e({value:n,done:r})},n)}(i,o,(n=e[r](n)).done,n.value)})}}}function k(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}
91function x(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n.default=e,n}function E(e){return e&&e.__esModule?e:{default:e}}function C(e,n){if(!n.has(e))throw TypeError("attempted to get private field on non-instance");return n.get(e)}function A(e,n,r){if(!n.has(e))throw TypeError("attempted to set private field on non-instance");return n.set(e,r),r}},51106:function(e,n,r){"use strict";var i=r(48764).lW;Object.defineProperty(n,"__esModule",{value:!0}),n.convertToBuffer=void 0;var o=r(98143),a=void 0!==i&&i.from?function(e){return i.from(e,"utf8")}:o.fromUtf8;n.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?a(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},17658:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=n.numToUint8=n.isEmptyData=n.convertToBuffer=void 0;var i=r(51106);Object.defineProperty(n,"convertToBuffer",{enumerable:!0,get:function(){return i.convertToBuffer}});var o=r(84304);Object.defineProperty(n,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var a=r(22174);Object.defineProperty(n,"numToUint8",{enumerable:!0,get:function(){return a.numToUint8}});var s=r(81558);Object.defineProperty(n,"uint32ArrayFrom",{enumerable:!0,get:function(){return s.uint32ArrayFrom}})},84304:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isEmptyData=void 0,n.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},22174:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.numToUint8=void 0,n.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},81558:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=void 0,n.uint32ArrayFrom=function(e){if(!Array.from){for(var n=new Uint32Array(e.length);0<e.length;)n[0]=e[0];return n}return Uint32Array.from(e)}},94063:function(e,n,r){"use strict";r.d(n,{g4:function(){return o},Xb:function(){return u}});/*! *****************************************************************************
92Copyright (c) Microsoft Corporation.
93
94Permission to use, copy, modify, and/or distribute this software for any
95purpose with or without fee is hereby granted.
96
97THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
98REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
99AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
100INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
102OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
103PERFORMANCE OF THIS SOFTWARE.
104***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},o=function(e){var n;return i(i({},e),{tls:null===(n=e.tls)||void 0===n||n,endpoint:e.endpoint?a(e):function(){return s(e)},isCustomEndpoint:!!e.endpoint})},a=function(e){var n=e.endpoint,r=e.urlParser;if("string"==typeof n){var i=Promise.resolve(r(n));return function(){return i}}if("object"==typeof n){var o=Promise.resolve(n);return function(){return o}}return n},s=function(e){var n,r,i,o;return n=void 0,r=void 0,i=void 0,o=function(){var n,r,i,o,a;return function(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(s){switch(s.label){case 0:return r=void 0===(n=e.tls)||n,[4,e.region()];case 1:if(i=s.sent(),!RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(i))throw Error("Invalid region in client config");return[4,e.regionInfoProvider(i)];case 2:if(!(o=(null!==(a=s.sent())&&void 0!==a?a:{}).hostname))throw Error("Cannot resolve hostname from client config");return[2,e.urlParser((r?"https:":"http:")+"//"+o)]}})}
104,new(i||(i=Promise))(function(e,a){function s(e){try{c(o.next(e))}catch(e){a(e)}}function u(e){try{c(o.throw(e))}catch(e){a(e)}}function c(n){var r;n.done?e(n.value):((r=n.value)instanceof i?r:new i(function(e){e(r)})).then(s,u)}c((o=o.apply(n,r||[])).next())})},u=function(e){if(!e.region)throw Error("Region is missing");return i(i({},e),{region:c(e.region)})},c=function(e){if("string"==typeof e){var n=Promise.resolve(e);return function(){return n}}return e}},10460:function(e,n,r){"use strict";r.d(n,{B:function(){return u},C:function(){return l}});function i(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function o(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var a=r(84245),s=r(45597),u=function(){function e(e){var n=(void 0===e?{}:e).requestTimeout;this.requestTimeout=n}return e.prototype.destroy=function(){},e.prototype.handle=function(e,n){var r,i=(void 0===n?{}:n).abortSignal,o=this.requestTimeout;if(null==i?void 0:i.aborted){var u=Error("Request aborted");return u.name="AbortError",Promise.reject(u)}var c=e.path;if(e.query){var l=(0,s.I)(e.query);l&&(c+="?"+l)}var f=e.port,d=e.method,h=e.protocol+"//"+e.hostname+(f?":"+f:"")+c,p={body:"GET"===d||"HEAD"===d?void 0:e.body,headers:new Headers(e.headers),method:d};"undefined"!=typeof AbortController&&(p.signal=i);var m=new Request(h,p),g=[fetch(m).then(function(e){var n,r,i=e.headers,o={};try{for(var s=function(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(i.entries()),u=s.next();!u.done;u=s.next()){var c=u.value;o[c[0]]=c[1]}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return void 0!==e.body?{response:new a.Zn({headers:o,statusCode:e.status,body:e.body})}:e.blob().then(function(n){return{response:new a.Zn({headers:o,statusCode:e.status,body:n})}})}),(void 0===(r=o)&&(r=0),new Promise(function(e,n){r&&setTimeout(function(){var e=Error("Request did not complete within "+r+" ms");e.name="TimeoutError",n(e)},r)}))];return i&&g.push(new Promise(function(e,n){i.onabort=function(){var e=Error("Request aborted");e.name="AbortError",n(e)}})),Promise.race(g)},e}(),c=r(67157),l=function(e){return"function"==typeof Blob&&e instanceof Blob?function(e){return i(this,void 0,void 0,function(){var n,r;return o(this,function(i){switch(i.label){case 0:return[4,new Promise(function(n,r){var i=new FileReader;i.onloadend=function(){if(2!==i.readyState)return r(Error("Reader aborted too early"));var e,o=null!==(e=i.result)&&void 0!==e?e:"",a=o.indexOf(","),s=a>-1?a+1:o.length;n(o.substring(s))},i.onabort=function(){return r(Error("Read aborted"))},i.onerror=function(){return r(i.error)},i.readAsDataURL(e)})];case 1:return n=i.sent(),r=(0,c.G)(n),[2,new Uint8Array(r)]}})})}(e):function(e){return i(this,void 0,void 0,function(){var n,r,i,a,s,u,c;return o(this,function(o){switch(o.label){case 0:n=new Uint8Array(0),r=e.getReader(),i=!1,o.label=1;case 1:if(i)return[3,3];return[4,r.read()];case 2:return s=(a=o.sent()).done,(u=a.value)&&(c=n,(n=new Uint8Array(c.length+u.length)).set(c),n.set(u,c.length)),i=s,[3,1];case 3:return[2,n]}})})}(e)}},35749:function(e,n,r){"use strict";r.d(n,{n:function(){return i}});var i=function(e){return function(){return Promise.reject(e)}}},3184:function(e,n,r){"use strict";
104r.d(n,{VG:function(){return u}});/*! *****************************************************************************
105Copyright (c) Microsoft Corporation.
106
107Permission to use, copy, modify, and/or distribute this software for any
108purpose with or without fee is hereby granted.
109
110THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
111REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
112AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
113INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
114LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
115OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
116PERFORMANCE OF THIS SOFTWARE.
117***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},o=r(84245),a="content-length",s={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},u=function(e){return{applyToStack:function(n){n.add(function(e){var n=this;return function(r){return function(s){var u,c,l;return u=void 0,c=void 0,l=function(){var n,u,c,l,f;return function(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(d){return n=s.request,o.aW.isInstance(n)&&(u=n.body,c=n.headers,u&&-1===Object.keys(c).map(function(e){return e.toLowerCase()}).indexOf(a)&&void 0!==(l=e(u))&&(n.headers=i(i({},n.headers),((f={})[a]=String(l),f)))),[2,r(i(i({},s),{request:n}))]})},new(c||(c=Promise))(function(e,r){function i(e){try{a(l.next(e))}catch(e){r(e)}}function o(e){try{a(l.throw(e))}catch(e){r(e)}}function a(n){var r;n.done?e(n.value):((r=n.value)instanceof c?r:new c(function(e){e(r)})).then(i,o)}a((l=l.apply(n,u||[])).next())})}}}(e.bodyLengthChecker),s)}}}},77448:function(e,n,r){"use strict";r.d(n,{G2:function(){return s},S8:function(){return o}});/*! *****************************************************************************
118Copyright (c) Microsoft Corporation.
119
120Permission to use, copy, modify, and/or distribute this software for any
121purpose with or without fee is hereby granted.
122
123THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
124REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
125AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
126INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
127LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
128OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
129PERFORMANCE OF THIS SOFTWARE.
130***************************************************************************** */var i=r(84245);function o(e){return e}var a={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},s=function(e){return{applyToStack:function(n){n.add(function(n){return function(r){var o,a,s,u;return o=void 0,a=void 0,s=void 0,u=function(){var o,a;return function(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
130function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(s){return i.aW.isInstance(r.request)&&(o=r.request,(void 0===(a=(e.requestHandler.metadata||{}).handlerProtocol)?"":a).indexOf("h2")>=0&&!o.headers[":authority"]?(delete o.headers.host,o.headers[":authority"]=""):o.headers.host||(o.headers.host=o.hostname)),[2,n(r)]})},new(s||(s=Promise))(function(e,n){function r(e){try{c(u.next(e))}catch(e){n(e)}}function i(e){try{c(u.throw(e))}catch(e){n(e)}}function c(n){var o;n.done?e(n.value):((o=n.value)instanceof s?o:new s(function(e){e(o)})).then(r,i)}c((u=u.apply(o,a||[])).next())})}},a)}}}},46:function(e,n,r){"use strict";r.d(n,{cV:function(){return o}});/*! *****************************************************************************
131Copyright (c) Microsoft Corporation.
132
133Permission to use, copy, modify, and/or distribute this software for any
134purpose with or without fee is hereby granted.
135
136THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
137REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
138AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
139INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
140LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
141OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
142PERFORMANCE OF THIS SOFTWARE.
143***************************************************************************** */var i={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},o=function(e){return{applyToStack:function(e){e.add(function(e,n){return function(r){var i,o,a,s;return i=void 0,o=void 0,a=void 0,s=function(){var i,o,a,s,u,c,l,f,d;return function(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(h){switch(h.label){case 0:return i=n.clientName,o=n.commandName,a=n.inputFilterSensitiveLog,s=n.logger,u=n.outputFilterSensitiveLog,[4,e(r)];case 1:if(c=h.sent(),!s)return[2,c];return"function"==typeof s.info&&(f=(l=c.output).$metadata,d=function(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}
143(l,["$metadata"]),s.info({clientName:i,commandName:o,input:a(r.input),output:u(d),metadata:f})),[2,c]}})},new(a||(a=Promise))(function(e,n){function r(e){try{c(s.next(e))}catch(e){n(e)}}function u(e){try{c(s.throw(e))}catch(e){n(e)}}function c(n){var i;n.done?e(n.value):((i=n.value)instanceof a?i:new a(function(e){e(i)})).then(r,u)}c((s=s.apply(i,o||[])).next())})}},i)}}}},93620:function(e,n,r){"use strict";r.d(n,{J:function(){return w},NQ:function(){return u},BC:function(){return _}});/*! *****************************************************************************
144Copyright (c) Microsoft Corporation.
145
146Permission to use, copy, modify, and/or distribute this software for any
147purpose with or without fee is hereby granted.
148
149THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
150REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
151AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
152INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
153LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
154OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
155PERFORMANCE OF THIS SOFTWARE.
156***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function a(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var s={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},u=function(e){return{applyToStack:function(n){n.add(function(n,r){return function(i){return o(void 0,void 0,void 0,function(){var o;return a(this,function(a){return(null===(o=null==e?void 0:e.retryStrategy)||void 0===o?void 0:o.mode)&&(r.userAgent=function(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(arguments[n]));return e}(r.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(n,i)]})})}},s)}}},c=r(84245),l=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],f=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],d=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],h=[500,502,503,504],p=function(e){var n,r;return(null===(n=e.$metadata)||void 0===n?void 0:n.httpStatusCode)===429||f.includes(e.name)||(null===(r=e.$retryable)||void 0===r?void 0:r.throttling)==!0},m=function(e){var n;return d.includes(e.name)||h.includes((null===(n=e.$metadata)||void 0===n?void 0:n.httpStatusCode)||0)},g=r(84776),v=function(e){var n=e,r=function(e){return"TimeoutError"===e.name?10:5},i=function(e){return r(e)<=n};return Object.freeze({hasRetryTokens:i,retrieveRetryTokens:function(e){if(!i(e))throw Error("No retry token available");var o=r(e);return n-=o,o},releaseRetryTokens:function(r){n+=null!=r?r:1,n=Math.min(n,e)}})},y=function(e,n){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,n)*e))},b=function(e){return!!e&&(void 0!==e.$retryable||l.includes(e.name)||p(e)||m(e))},w=3,S=function(){function e(e,n){var r,i,o;
156this.maxAttemptsProvider=e,this.mode="standard",this.retryDecider=null!==(r=null==n?void 0:n.retryDecider)&&void 0!==r?r:b,this.delayDecider=null!==(i=null==n?void 0:n.delayDecider)&&void 0!==i?i:y,this.retryQuota=null!==(o=null==n?void 0:n.retryQuota)&&void 0!==o?o:v(500)}return e.prototype.shouldRetry=function(e,n,r){return n<r&&this.retryDecider(e)&&this.retryQuota.hasRetryTokens(e)},e.prototype.getMaxAttempts=function(){return o(this,void 0,void 0,function(){var e;return a(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.maxAttemptsProvider()];case 1:return e=n.sent(),[3,3];case 2:return n.sent(),e=w,[3,3];case 3:return[2,e]}})})},e.prototype.retry=function(e,n){return o(this,void 0,void 0,function(){var r,i,o,s,u,l,f,d;return a(this,function(h){switch(h.label){case 0:return i=0,o=0,[4,this.getMaxAttempts()];case 1:s=h.sent(),u=n.request,c.aW.isInstance(u)&&(u.headers["amz-sdk-invocation-id"]=(0,g.v4)()),l=function(){var l,d,h,m,g;return a(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,5]),c.aW.isInstance(u)&&(u.headers["amz-sdk-request"]="attempt="+(i+1)+"; max="+s),[4,e(n)];case 1:return d=(l=a.sent()).response,h=l.output,f.retryQuota.releaseRetryTokens(r),h.$metadata.attempts=i+1,h.$metadata.totalRetryDelay=o,[2,{value:{response:d,output:h}}];case 2:if(m=a.sent(),i++,!f.shouldRetry(m,i,s))return[3,4];return r=f.retryQuota.retrieveRetryTokens(m),g=f.delayDecider(p(m)?500:100,i),o+=g,[4,new Promise(function(e){return setTimeout(e,g)})];case 3:return a.sent(),[2,"continue"];case 4:throw m.$metadata||(m.$metadata={}),m.$metadata.attempts=i,m.$metadata.totalRetryDelay=o,m;case 5:return[2]}})},f=this,h.label=2;case 2:return[5,l()];case 3:if("object"==typeof(d=h.sent()))return[2,d.value];return[3,2];case 4:return[2]}})})},e}(),_=function(e){var n=k(e.maxAttempts);return i(i({},e),{maxAttempts:n,retryStrategy:e.retryStrategy||new S(n)})},k=function(e){if(void 0===e&&(e=w),"number"==typeof e){var n=Promise.resolve(e);return function(){return n}}return e}},84776:function(e,n,r){var i=r(62694),o=r(69946),a=o;a.v1=i,a.v4=o,e.exports=a},48724:function(e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var i=r||0;return[n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]]].join("")}},14488:function(e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=Array(16);e.exports=function(){for(var e,n=0;n<16;n++)(3&n)==0&&(e=4294967296*Math.random()),i[n]=e>>>((3&n)<<3)&255;return i}}},62694:function(e,n,r){var i,o,a=r(14488),s=r(48724),u=0,c=0;e.exports=function(e,n,r){var l=n&&r||0,f=n||[],d=(e=e||{}).node||i,h=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==h){var p=a();null==d&&(d=i=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==h&&(h=o=(p[6]<<8|p[7])&16383)}var m=void 0!==e.msecs?e.msecs:new Date().getTime(),g=void 0!==e.nsecs?e.nsecs:c+1,v=m-u+(g-c)/1e4;if(v<0&&void 0===e.clockseq&&(h=h+1&16383),(v<0||m>u)&&void 0===e.nsecs&&(g=0),g>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");u=m,c=g,o=h;var y=((268435455&(m+=122192928e5))*1e4+g)%4294967296;f[l++]=y>>>24&255,f[l++]=y>>>16&255,f[l++]=y>>>8&255,f[l++]=255&y;var b=m/4294967296*1e4&268435455;f[l++]=b>>>8&255,f[l++]=255&b,f[l++]=b>>>24&15|16,f[l++]=b>>>16&255,f[l++]=h>>>8|128,f[l++]=255&h;for(var w=0;w<6;++w)f[l+w]=d[w];return n||s(f)}},69946:function(e,n,r){var i=r(14488),o=r(48724);e.exports=function(e,n,r){var a=n&&r||0;"string"==typeof e&&(n="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,n)for(var u=0;u<16;++u)n[a+u]=s[u];return n||o(s)}},79576:function(e,n,r){"use strict";r.d(n,{p2:function(){return c}});/*! *****************************************************************************
157Copyright (c) Microsoft Corporation.
158
159Permission to use, copy, modify, and/or distribute this software for any
160purpose with or without fee is hereby granted.
161
162THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
163REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
164AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
165INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
166LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
167OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
168PERFORMANCE OF THIS SOFTWARE.
169***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function a(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
169function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var s={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},u={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function c(e,n,r){return{applyToStack:function(c){c.add(function(n,i){return function(i){return o(void 0,void 0,void 0,function(){var o;return a(this,function(a){switch(a.label){case 0:return[4,n(i)];case 1:return[4,r(o=a.sent().response,e)];case 2:return[2,{response:o,output:a.sent()}]}})})}},s),c.add(function(r,s){return function(s){return o(void 0,void 0,void 0,function(){var o;return a(this,function(a){switch(a.label){case 0:return[4,n(s.input,e)];case 1:return o=a.sent(),[2,r(i(i({},s),{request:o}))]}})})}},u)}}}},32510:function(e,n,r){"use strict";r.d(n,{yt:function(){return d},A$:function(){return u}});/*! *****************************************************************************
170Copyright (c) Microsoft Corporation.
171
172Permission to use, copy, modify, and/or distribute this software for any
173purpose with or without fee is hereby granted.
174
175THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
176REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
177AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
178INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
179LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
180OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
181PERFORMANCE OF THIS SOFTWARE.
182***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function a(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}var s=r(46069);function u(e){var n,r=this,u=c(e.credentials||e.credentialDefaultProvider(e)),l=e.signingEscapePath,f=void 0===l||l,d=e.systemClockOffset,h=void 0===d?e.systemClockOffset||0:d,p=e.sha256;return n=e.signer?c(e.signer):function(){return c(e.region)().then(function(n){return o(r,void 0,void 0,function(){return a(this,function(r){switch(r.label){case 0:return[4,e.regionInfoProvider(n)];case 1:return[2,[r.sent()||{},n]]}})})}).then(function(n){var r=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(n,2),i=r[0],o=r[1],a=i.signingRegion,c=i.signingService;return e.signingRegion=e.signingRegion||a||o,e.signingName=e.signingName||c||e.serviceId,new s.L1({credentials:u,region:e.signingRegion,service:e.signingName,sha256:p,uriEscapePath:f})})},i(i({},e),{systemClockOffset:h,signingEscapePath:f,credentials:u,signer:n})}function c(e){if("object"==typeof e){var n=Promise.resolve(e);return function(){return n}}return e}var l=r(84245),f={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0},d=function(e){return{applyToStack:function(n){var r;n.addRelativeTo((r=e,function(e,n){return function(s){return o(this,void 0,void 0,function(){var o,u,c,f,d,h,p,m,g;return a(this,function(a){switch(a.label){case 0:if(!l.aW.isInstance(s.request))return[2,e(s)];if("function"!=typeof r.signer)return[3,2];return[4,r.signer()];case 1:return u=a.sent(),[3,3];case 2:u=r.signer,a.label=3;case 3:return o=u,f=e,d=[i({},s)],g={},[4,o.sign(s.request,{signingDate:new Date(Date.now()+r.systemClockOffset),signingRegion:n.signing_region,signingService:n.signing_service})];case 4:return[4,f.apply(void 0,[i.apply(void 0,d.concat([(g.request=a.sent(),g)]))])];case 5:if(p=(h=(c=a.sent()).response.headers)&&(h.date||h.Date)){var v,y;v=m=Date.parse(p),Math.abs((y=r.systemClockOffset,new Date(Date.now()+y)).getTime()-v)>=3e5&&(r.systemClockOffset=m-Date.now())}return[2,c]}})})}}),f)}}}},74240:function(e,n,r){"use strict";r.d(n,{XJ:function(){return h},er:function(){return s}});/*! *****************************************************************************
183Copyright (c) Microsoft Corporation.
184
185Permission to use, copy, modify, and/or distribute this software for any
186purpose with or without fee is hereby granted.
187
188THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
189REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
190AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
191INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
192LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
193OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
194PERFORMANCE OF THIS SOFTWARE.
195***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function a(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(o(arguments[n]));return e}function s(e){return i(i({},e),{customUserAgent:"string"==typeof e.customUserAgent?[[e.customUserAgent]]:e.customUserAgent})}var u=r(84245),c="user-agent",l=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,f=function(e){var n=o(e,2),r=n[0],i=n[1],a=r.indexOf("/"),s=r.substring(0,a),u=r.substring(a+1);return"api"===s&&(u=u.toLowerCase()),[s,u,i].filter(function(e){return e&&e.length>0}).map(function(e){return null==e?void 0:e.replace(l,"_")}).join("/")},d={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},h=function(e){return{applyToStack:function(n){n.add(function(n,r){return function(o){var s,l,d,h;return s=void 0,l=void 0,d=void 0,h=function(){var s,l,d,h,p,m,g,v;return function(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
195function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(y){switch(y.label){case 0:if(s=o.request,!u.aW.isInstance(s))return[2,n(o)];return l=s.headers,d=(null===(g=null==r?void 0:r.userAgent)||void 0===g?void 0:g.map(f))||[],[4,e.defaultUserAgentProvider()];case 1:return h=y.sent().map(f),p=(null===(v=null==e?void 0:e.customUserAgent)||void 0===v?void 0:v.map(f))||[],l["x-amz-user-agent"]=a(h,d,p).join(" "),m=a(h.filter(function(e){return e.startsWith("aws-sdk-")}),p).join(" "),"browser"!==e.runtime&&m&&(l[c]=l[c]?l[c]+" "+m:m),[2,n(i(i({},o),{request:s}))]}})},new(d||(d=Promise))(function(e,n){function r(e){try{o(h.next(e))}catch(e){n(e)}}function i(e){try{o(h.throw(e))}catch(e){n(e)}}function o(n){var o;n.done?e(n.value):((o=n.value)instanceof d?o:new d(function(e){e(o)})).then(r,i)}o((h=h.apply(s,l||[])).next())})}},d)}}}},84245:function(e,n,r){"use strict";r.d(n,{aW:function(){return a},Zn:function(){return i}});var i=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers},e}(),o=function(){return(o=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},a=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers},e.prototype.clone=function(){var n,r=new e(o(o({},this),{headers:o({},this.headers)}));return r.query&&(r.query=Object.keys(n=r.query).reduce(function(e,r){var i,a=n[r];return o(o({},e),((i={})[r]=Array.isArray(a)?function(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(arguments[n]));return e}(a):a,i))},{})),r},e}()},45597:function(e,n,r){"use strict";r.d(n,{I:function(){return o}});/*! *****************************************************************************
196Copyright (c) Microsoft Corporation.
197
198Permission to use, copy, modify, and/or distribute this software for any
199purpose with or without fee is hereby granted.
200
201THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
202REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
203AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
204INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
205LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
206OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
207PERFORMANCE OF THIS SOFTWARE.
208***************************************************************************** */var i=r(23820);function o(e){var n,r,o=[];try{for(var a=function(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);
208if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.keys(e).sort()),s=a.next();!s.done;s=a.next()){var u=s.value,c=e[u];if(u=(0,i.i)(u),Array.isArray(c))for(var l=0,f=c.length;l<f;l++)o.push(u+"="+(0,i.i)(c[l]));else{var d=u;(c||"string"==typeof c)&&(d+="="+(0,i.i)(c)),o.push(d)}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o.join("&")}},46069:function(e,n,r){"use strict";r.d(n,{L1:function(){return R}});/*! *****************************************************************************
209Copyright (c) Microsoft Corporation.
210
211Permission to use, copy, modify, and/or distribute this software for any
212purpose with or without fee is hereby granted.
213
214THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
215REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
216AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
217INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
218LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
219OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
220PERFORMANCE OF THIS SOFTWARE.
221***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function a(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function s(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}var u=r(25644),c="X-Amz-Date",l="X-Amz-Signature",f="X-Amz-Security-Token",d="authorization",h=c.toLowerCase(),p=[d,h,"date"],m=l.toLowerCase(),g="x-amz-content-sha256",v=f.toLowerCase(),y={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},b=/^proxy-/,w=/^sec-/,S="AWS4-HMAC-SHA256",_="aws4_request",k={},x=[];function E(e,n,r){return e+"/"+n+"/"+r+"/"+_}function C(e,n,r){var i=new e(n);return i.update(r),i.digest()}function A(e,n,r){var i,o,a=e.headers,u={};try{for(var c=s(Object.keys(a).sort()),l=c.next();!l.done;l=c.next()){var f=l.value,d=f.toLowerCase();(!(d in y||(null==n?void 0:n.has(d))||b.test(d)||w.test(d))||r&&(!r||r.has(d)))&&(u[d]=a[f].trim().replace(/\s+/g," "))}}catch(e){i={error:e}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return u}var I=r(23820);function T(e,n){var r=e.headers,i=e.body;return o(this,void 0,void 0,function(){var e,o,c,l,f,d,h;return a(this,function(a){switch(a.label){case 0:try{for(o=(e=s(Object.keys(r))).next();!o.done;o=e.next())if((c=o.value).toLowerCase()===g)return[2,r[c]]}catch(e){d={error:e}}finally{try{o&&!o.done&&(h=e.return)&&h.call(e)}finally{if(d)throw d.error}}if(void 0!=i)return[3,1];return[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:if(!("string"==typeof i||ArrayBuffer.isView(i)||"function"==typeof ArrayBuffer&&i instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(i)))return[3,3];return(l=new n).update(i),f=u.N,[4,l.digest()];case 2:return[2,f.apply(void 0,[a.sent()])];case 3:return[2,"UNSIGNED-PAYLOAD"]}})})}
221function P(e){var n=e.headers,r=e.query;return i(i({},function(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}(e,["headers","query"])),{headers:i({},n),query:r?Object.keys(r).reduce(function(e,n){var o,a=r[n];return i(i({},e),((o={})[n]=Array.isArray(a)?function(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(arguments[n]));return e}(a):a,o))},{}):void 0})}function O(e){var n,r;e="function"==typeof e.clone?e.clone():P(e);try{for(var i=s(Object.keys(e.headers)),o=i.next();!o.done;o=i.next()){var a=o.value;p.indexOf(a.toLowerCase())>-1&&delete e.headers[a]}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e}var R=function(){function e(e){var n=e.applyChecksum,r=e.credentials,i=e.region,o=e.service,a=e.sha256,s=e.uriEscapePath;this.service=o,this.sha256=a,this.uriEscapePath=void 0===s||s,this.applyChecksum="boolean"!=typeof n||n,this.regionProvider=F(i),this.credentialProvider=N(r)}return e.prototype.presign=function(e,n){return void 0===n&&(n={}),o(this,void 0,void 0,function(){var r,o,u,d,h,p,m,g,v,y,b,w,_,k,x,C,I,R,F,N,j,U,L,B;return a(this,function(a){switch(a.label){case 0:return o=void 0===(r=n.signingDate)?new Date:r,d=void 0===(u=n.expiresIn)?3600:u,h=n.unsignableHeaders,p=n.unhoistableHeaders,m=n.signableHeaders,g=n.signingRegion,v=n.signingService,[4,this.credentialProvider()];case 1:if(y=a.sent(),!(null!=g))return[3,2];return w=g,[3,4];case 2:return[4,this.regionProvider()];case 3:w=a.sent(),a.label=4;case 4:if(b=w,k=(_=D(o)).longDate,x=_.shortDate,d>604800)return[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")];return C=E(x,b,null!=v?v:this.service),I=function(e,n){void 0===n&&(n={});var r,o,a,u="function"==typeof e.clone?e.clone():P(e),c=u.headers,l=u.query,f=void 0===l?{}:l;try{for(var d=s(Object.keys(c)),h=d.next();!h.done;h=d.next()){var p=h.value,m=p.toLowerCase();"x-amz-"!==m.substr(0,6)||(null===(a=n.unhoistableHeaders)||void 0===a?void 0:a.has(m))||(f[p]=c[p],delete c[p])}}catch(e){r={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}return i(i({},e),{headers:c,query:f})}(O(e),{unhoistableHeaders:p}),y.sessionToken&&(I.query[f]=y.sessionToken),I.query["X-Amz-Algorithm"]=S,I.query["X-Amz-Credential"]=y.accessKeyId+"/"+C,I.query[c]=k,I.query["X-Amz-Expires"]=d.toString(10),R=A(I,h,m),I.query["X-Amz-SignedHeaders"]=M(R),F=I.query,N=l,j=this.getSignature,U=[k,C,this.getSigningKey(y,b,x,v)],L=this.createCanonicalRequest,B=[I,R],[4,T(e,this.sha256)];case 5:return[4,j.apply(this,U.concat([L.apply(this,B.concat([a.sent()]))]))];case 6:return F[N]=a.sent(),[2,I]}})})},e.prototype.sign=function(e,n){return o(this,void 0,void 0,function(){return a(this,function(r){return"string"==typeof e?[2,this.signString(e,n)]:e.headers&&e.payload?[2,this.signEvent(e,n)]:[2,this.signRequest(e,n)]})})},e.prototype.signEvent=function(e,n){var r=e.headers,i=e.payload,s=n.signingDate,c=void 0===s?new Date:s,l=n.priorSignature,f=n.signingRegion,d=n.signingService;return o(this,void 0,void 0,function(){var e,n,o,s,h,p,m,g,v,y;return a(this,function(a){switch(a.label){case 0:if(!(null!=f))return[3,1];return n=f,[3,3];case 1:return[4,this.regionProvider()];case 2:n=a.sent(),a.label=3;case 3:return e=n,s=(o=D(c)).shortDate,h=o.longDate,p=E(s,e,null!=d?d:this.service),[4,T({headers:{},body:i},this.sha256)];case 4:return m=a.sent(),(g=new this.sha256).update(r),v=u.N,[4,g.digest()];case 5:return y=["AWS4-HMAC-SHA256-PAYLOAD",h,p,l,v.apply(void 0,[a.sent()]),m].join("\n"),[2,this.signString(y,{signingDate:c,signingRegion:e,signingService:d})]}})})},e.prototype.signString=function(e,n){var r=void 0===n?{}:n,i=r.signingDate,s=void 0===i?new Date:i,c=r.signingRegion,l=r.signingService;return o(this,void 0,void 0,function(){var n,r,i,o,f,d,h,p;return a(this,function(a){switch(a.label){case 0:return[4,this.credentialProvider()];case 1:if(n=a.sent(),!(null!=c))return[3,2];return i=c,[3,4];case 2:return[4,this.regionProvider()];case 3:i=a.sent(),a.label=4;case 4:return r=i,o=D(s).shortDate,h=(d=this.sha256).bind,[4,this.get
221SigningKey(n,r,o,l)];case 5:return(f=new(h.apply(d,[void 0,a.sent()]))).update(e),p=u.N,[4,f.digest()];case 6:return[2,p.apply(void 0,[a.sent()])]}})})},e.prototype.signRequest=function(e,n){var r=void 0===n?{}:n,i=r.signingDate,u=void 0===i?new Date:i,c=r.signableHeaders,l=r.unsignableHeaders,f=r.signingRegion,p=r.signingService;return o(this,void 0,void 0,function(){var n,r,i,o,m,y,b,w,_,k,x;return a(this,function(a){switch(a.label){case 0:return[4,this.credentialProvider()];case 1:if(n=a.sent(),!(null!=f))return[3,2];return i=f,[3,4];case 2:return[4,this.regionProvider()];case 3:i=a.sent(),a.label=4;case 4:return r=i,o=O(e),y=(m=D(u)).longDate,w=E(b=m.shortDate,r,null!=p?p:this.service),o.headers[h]=y,n.sessionToken&&(o.headers[v]=n.sessionToken),[4,T(o,this.sha256)];case 5:return _=a.sent(),!function(e,n){var r,i;e=e.toLowerCase();try{for(var o=s(Object.keys(n)),a=o.next();!a.done;a=o.next()){var u=a.value;if(e===u.toLowerCase())return!0}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!1}(g,o.headers)&&this.applyChecksum&&(o.headers[g]=_),k=A(o,l,c),[4,this.getSignature(y,w,this.get
221SigningKey(n,r,b,p),this.createCanonicalRequest(o,k,_))];case 6:return x=a.sent(),o.headers[d]=S+" "+("Credential="+n.accessKeyId)+"/"+w+", SignedHeaders="+M(k)+", Signature="+x,[2,o]}})})},e.prototype.createCanonicalRequest=function(e,n,r){var i=Object.keys(n).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var n,r,i=e.query,o=void 0===i?{}:i,a=[],u={},c=function(e){if(e.toLowerCase()===m)return"continue";a.push(e);var n=o[e];"string"==typeof n?u[e]=(0,I.i)(e)+"="+(0,I.i)(n):Array.isArray(n)&&(u[e]=n.slice(0).sort().reduce(function(n,r){return n.concat([(0,I.i)(e)+"="+(0,I.i)(r)])},[]).join("&"))};try{for(var l=s(Object.keys(o).sort()),f=l.next();!f.done;f=l.next()){var d=f.value;c(d)}}catch(e){n={error:e}}finally{try{f&&!f.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return a.map(function(e){return u[e]}).filter(function(e){return e}).join("&")}(e)+"\n"+i.map(function(e){return e+":"+n[e]}).join("\n")+"\n\n"+i.join(";")+"\n"+r},e.prototype.createStringToSign=function(e,n,r){return o(this,void 0,void 0,function(){var i,o;return a(this,function(a){switch(a.label){case 0:return(i=new this.sha256).update(r),[4,i.digest()];case 1:return o=a.sent(),[2,S+"\n"+e+"\n"+n+"\n"+(0,u.N)(o)]}})})},e.prototype.getCanonicalPath=function(e){var n=e.path;return this.uriEscapePath?"/"+encodeURIComponent(n.replace(/^\//,"")).replace(/%2F/g,"/"):n},e.prototype.getSignature=function(e,n,r,i){return o(this,void 0,void 0,function(){var o,s,c,l,f;return a(this,function(a){switch(a.label){case 0:return[4,this.createStringToSign(e,n,i)];case 1:return o=a.sent(),l=(c=this.sha256).bind,[4,r];case 2:return(s=new(l.apply(c,[void 0,a.sent()]))).update(o),f=u.N,[4,s.digest()];case 3:return[2,f.apply(void 0,[a.sent()])]}})})},e.prototype.getSigningKey=function(e,n,r,i){var c,l;return c=this.sha256,l=i||this.service,o(void 0,void 0,void 0,function(){var i,o,f,d,h,p,m;return a(this,function(a){switch(a.label){case 0:return[4,C(c,e.secretAccessKey,e.accessKeyId)];case 1:if(i=a.sent(),(o=r+":"+n+":"+l+":"+(0,u.N)(i)+":"+e.sessionToken)in k)return[2,k[o]];for(x.push(o);x.length>50;)delete k[x.shift()];f="AWS4"+e.secretAccessKey,a.label=2;case 2:a.trys.push([2,7,8,9]),h=(d=s([r,n,l,_])).next(),a.label=3;case 3:if(h.done)return[3,6];return[4,C(c,f,h.value)];case 4:f=a.sent(),a.label=5;case 5:return h=d.next(),[3,3];case 6:return[3,9];case 7:return p={error:a.sent()},[3,9];case 8:try{h&&!h.done&&(m=d.return)&&m.call(d)}finally{if(p)throw p.error}return[7];case 9:return[2,k[o]=f]}})})},e}(),D=function(e){var n=("number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e).toISOString().replace(/\.\d{3}Z$/,"Z").replace(/[\-:]/g,"");return{longDate:n,shortDate:n.substr(0,8)}},M=function(e){return Object.keys(e).sort().join(";")},F=function(e){if("string"!=typeof e)return e;var n=Promise.resolve(e);return function(){return n}},N=function(e){if("object"!=typeof e)return e;var n=Promise.resolve(e);return function(){return n}}},28644:function(e,n,r){"use strict";r.d(n,{KU:function(){return c},mY:function(){return l},oc:function(){return b},_w:function(){return y},jc:function(){return f},L:function(){return d},sT:function(){return h}});/*! *****************************************************************************
222Copyright (c) Microsoft Corporation.
223
224Permission to use, copy, modify, and/or distribute this software for any
225purpose with or without fee is hereby granted.
226
227THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
228REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
229AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
230INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
231LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
232OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
233PERFORMANCE OF THIS SOFTWARE.
234***************************************************************************** */var i=function(){return(i=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function o(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(arguments[n]));return e}var a=function(){var e=[],n=[],r=new Set,c=function(i){var o=!1,a=function(e){return!e.name||e.name!==i||(o=!0,r.delete(i),!1)};return e=e.filter(a),n=n.filter(a),o},l=function(i){var o=!1,a=function(e){return e.middleware!==i||(o=!0,e.name&&r.delete(e.name),!1)};return e=e.filter(a),n=n.filter(a),o},f=function(r){return e.forEach(function(e){r.add(e.middleware,i({},e))}
234),n.forEach(function(e){r.addRelativeTo(e.middleware,i({},e))}),r},d=function(e){var n=[];return e.before.forEach(function(e){0===e.before.length&&0===e.after.length?n.push(e):n.push.apply(n,o(d(e)))}),n.push(e),e.after.reverse().forEach(function(e){0===e.before.length&&0===e.after.length?n.push(e):n.push.apply(n,o(d(e)))}),n},h=function(){var r=[],a=[],c={};return e.forEach(function(e){var n=i(i({},e),{before:[],after:[]});n.name&&(c[n.name]=n),r.push(n)}),n.forEach(function(e){var n=i(i({},e),{before:[],after:[]});n.name&&(c[n.name]=n),a.push(n)}),a.forEach(function(e){if(e.toMiddleware){var n=c[e.toMiddleware];if(void 0===n)throw Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&n.after.push(e),"before"===e.relation&&n.before.push(e)}}),r.sort(function(e,n){return s[n.step]-s[e.step]||u[n.priority||"normal"]-u[e.priority||"normal"]}).map(d).reduce(function(e,n){return e.push.apply(e,o(n)),e},[]).map(function(e){return e.middleware})},p={add:function(n,o){void 0===o&&(o={});var a=o.name,s=o.override,u=i({step:"initialize",priority:"normal",middleware:n},o);if(a){if(r.has(a)){if(!s)throw Error("Duplicate middleware name '"+a+"'");var c=e.findIndex(function(e){return e.name===a}),l=e[c];if(l.step!==u.step||l.priority!==u.priority)throw Error('"'+a+'" middleware with '+l.priority+" priority in "+l.step+" step cannot be "+("overridden by same-name middleware with "+u.priority)+" priority in "+u.step+" step.");e.splice(c,1)}r.add(a)}e.push(u)},addRelativeTo:function(e,o){var a=o.name,s=o.override,u=i({middleware:e},o);if(a){if(r.has(a)){if(!s)throw Error("Duplicate middleware name '"+a+"'");var c=n.findIndex(function(e){return e.name===a}),l=n[c];if(l.toMiddleware!==u.toMiddleware||l.relation!==u.relation)throw Error('"'+a+'" middleware '+l.relation+' "'+l.toMiddleware+'" middleware cannot be overridden '+("by same-name middleware "+u.relation)+' "'+u.toMiddleware+'" middleware.');n.splice(c,1)}r.add(a)}n.push(u)},clone:function(){return f(a())},use:function(e){e.applyToStack(p)},remove:function(e){return"string"==typeof e?c(e):l(e)},removeByTag:function(i){var o=!1,a=function(e){var n=e.tags,a=e.name;return!(n&&n.includes(i))||(a&&r.delete(a),o=!0,!1)};return e=e.filter(a),n=n.filter(a),o},concat:function(e){var n=f(a());return n.use(e),n},applyToStack:f,resolve:function(e,n){var r,i;try{for(var o=function(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(h().reverse()),a=o.next();!a.done;a=o.next())e=(0,a.value)(e,n)}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return e}};return p},s={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},u={high:3,normal:2,low:1},c=function(){function e(e){this.middlewareStack=a(),this.config=e}return e.prototype.send=function(e,n,r){var i="function"==typeof n?n:r,o=e.resolveMiddleware(this.middlewareStack,this.config,"function"!=typeof n?n:void 0);if(!i)return o(e).then(function(e){return e.output});o(e).then(function(e){return i(null,e.output)},function(e){return i(e)}).catch(function(){})},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),l=function(){this.middlewareStack=a()};function f(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}var d=function(e){return Array.isArray(e)?e:[e]},h=function(e){var n="#text";for(var r in e)e.hasOwnProperty(r)&&void 0!==e[r][n]?e[r]=e[r][n]:"object"==typeof e[r]&&null!==e[r]&&(e[r]=h(e[r]));return e},p=function(e,n){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(e,n)},m=function(){var e=Object.getPrototypeOf(this).constructor,n=Function.bind.apply(String,function(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(arguments[n]));return e}([null],arguments)),r=new n;return Object.setPrototypeOf(r,e.prototype),r};m.prototype=Object.create(String.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(m,String),function(e){function n(){return null!==e&&e.apply(this,arguments)||this}(function(e,n){function r(){this.constructor=e}p(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)})(n,e),n.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},n.prototype.toJSON=function(){return e.prototype.toString.call(this)},n.fromObject=function(e){return e instanceof n?e:new n(e instanceof String||"string"==typeof e?e:JSON.stringify(e))}}(m);var g=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],v=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function y(e){var n=e.getUTCFullYear(),r=e.getUTCMonth(),i=e.getUTCDay(),o=e.getUTCDate(),a=e.getUTCHours(),s=e.getUTCMinutes(),u=e.getUTCSeconds();return g[i]+", "+(o<10?"0"+o:""+o)+" "+v[r]+" "+n+" "+(a<10?"0"+a:""+a)+":"+(s<10?"0"+s:""+s)+":"+(u<10?"0"+u:""+u)+" GMT"}var b="***SensitiveInformation***"},86399:function(e,n,r){"use strict";r.d(n,{e:function(){return i}});/*! *****************************************************************************
235Copyright (c) Microsoft Corporation.
236
237Permission to use, copy, modify, and/or distribute this software for any
238purpose with or without fee is hereby granted.
239
240THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
241REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
242AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
243INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
244LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
245OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
246PERFORMANCE OF THIS SOFTWARE.
247***************************************************************************** */var i=function(e){var n,r=new 
247URL(e),i=r.hostname,o=r.pathname,a=r.port,s=r.protocol,u=r.search;return u&&(n=function(e){var n,r,i={};if(e=e.replace(/^\?/,""))try{for(var o=function(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e.split("&")),a=o.next();!a.done;a=o.next()){var s=a.value,u=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}(s.split("="),2),c=u[0],l=u[1],f=void 0===l?null:l;c=decodeURIComponent(c),f&&(f=decodeURIComponent(f)),c in i?Array.isArray(i[c])?i[c].push(f):i[c]=[i[c],f]:i[c]=f}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(u)),{hostname:i,port:a?parseInt(a):void 0,protocol:s,path:o,query:n}}},67157:function(e,n,r){"use strict";r.d(n,{G:function(){return f},s:function(){return d}});for(var i={},o=Array(64),a=0,s=65,u=90;a+s<=u;a++){var c=String.fromCharCode(a+s);i[c]=a,o[a]=c}for(var a=0,s=97,u=122;a+s<=u;a++){var c=String.fromCharCode(a+s),l=a+26;i[c]=l,o[l]=c}for(var a=0;a<10;a++){i[a.toString(10)]=a+52;var c=a.toString(10),l=a+52;i[c]=l,o[l]=c}function f(e){var n=e.length/4*3;"=="===e.substr(-2)?n-=2:"="===e.substr(-1)&&n--;for(var r=new ArrayBuffer(n),o=new DataView(r),a=0;a<e.length;a+=4){for(var s=0,u=0,c=a,l=a+3;c<=l;c++)"="!==e[c]?(s|=i[e[c]]<<(l-c)*6,u+=6):s>>=6;var f=a/4*3;s>>=u%8;for(var d=Math.floor(u/8),h=0;h<d;h++){var p=(d-h-1)*8;o.setUint8(f+h,(s&255<<p)>>p)}}return new Uint8Array(r)}function d(e){for(var n="",r=0;r<e.length;r+=3){for(var i=0,a=0,s=r,u=Math.min(r+3,e.length);s<u;s++)i|=e[s]<<(u-s-1)*8,a+=8;var c=Math.ceil(a/6);i<<=6*c-a;for(var l=1;l<=c;l++){var f=(c-l)*6;n+=o[(i&63<<f)>>f]}n+="==".slice(0,4-c)}return n}i["+"]=62,o[62]="+",i["/"]=63,o[63]="/"},22795:function(e,n,r){"use strict";function i(e){if("string"==typeof e){for(var n=e.length,r=n-1;r>=0;r--){var i=e.charCodeAt(r);i>127&&i<=2047?n++:i>2047&&i<=65535&&(n+=2)}return n}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0}r.d(n,{W:function(){return i}})},25644:function(e,n,r){"use strict";r.d(n,{H:function(){return u},N:function(){return c}});for(var i={},o={},a=0;a<256;a++){var s=a.toString(16).toLowerCase();1===s.length&&(s="0"+s),i[a]=s,o[s]=a}function u(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");for(var n=new Uint8Array(e.length/2),r=0;r<e.length;r+=2){var i=e.substr(r,2).toLowerCase();if(i in o)n[r/2]=o[i];else throw Error("Cannot decode unrecognized sequence "+i+" as hexadecimal")}return n}function c(e){for(var n="",r=0;r<e.byteLength;r++)n+=i[e[r]];return n}},56495:function(e,n,r){"use strict";r.r(n),r.d(n,{locateWindow:function(){return o}});let i={};function o(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}},23820:function(e,n,r){"use strict";r.d(n,{i:function(){return i}});var i=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,o)},o=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}},10687:function(e,n,r){"use strict";r.d(n,{f:function(){return a}});/*! *****************************************************************************
248Copyright (c) Microsoft Corporation.
249
250Permission to use, copy, modify, and/or distribute this software for any
251purpose with or without fee is hereby granted.
252
253THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
254REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
255AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
256INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
257LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
258OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
259PERFORMANCE OF THIS SOFTWARE.
260***************************************************************************** */var i=r(51206),o=r.n(i),a=function(e){var n=e.serviceId,r=e.clientVersion;return function(){var e,i,a,s;return e=void 0,i=void 0,a=void 0,s=function(){var e,i,a,s,u,c,l,f,d;return function(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
260function u(a){return function(u){return function(a){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=n.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}(this,function(h){return i=[["aws-sdk-js",r],["os/"+((null===(s=null==(e=(null===(a=null==window?void 0:window.navigator)||void 0===a?void 0:a.userAgent)?o().parse(window.navigator.userAgent):void 0)?void 0:e.os)||void 0===s?void 0:s.name)||"other"),null===(u=null==e?void 0:e.os)||void 0===u?void 0:u.version],["lang/js"],["md/browser",(null!==(l=null===(c=null==e?void 0:e.browser)||void 0===c?void 0:c.name)&&void 0!==l?l:"unknown")+"_"+(null!==(d=null===(f=null==e?void 0:e.browser)||void 0===f?void 0:f.version)&&void 0!==d?d:"unknown")]],n&&i.push(["api/"+n,r]),[2,i]})},new(a||(a=Promise))(function(n,r){function o(e){try{c(s.next(e))}catch(e){r(e)}}function u(e){try{c(s.throw(e))}catch(e){r(e)}}function c(e){var r;e.done?n(e.value):((r=e.value)instanceof a?r:new a(function(e){e(r)})).then(o,u)}c((s=s.apply(e,i||[])).next())})}}},98143:function(e,n,r){"use strict";r.r(n),r.d(n,{fromUtf8:function(){return a},toUtf8:function(){return s}});var i=function(e){for(var n=[],r=0,i=e.length;r<i;r++){var o=e.charCodeAt(r);if(o<128)n.push(o);else if(o<2048)n.push(o>>6|192,63&o|128);else if(r+1<e.length&&(64512&o)==55296&&(64512&e.charCodeAt(r+1))==56320){var a=65536+((1023&o)<<10)+(1023&e.charCodeAt(++r));n.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}else n.push(o>>12|224,o>>6&63|128,63&o|128)}return Uint8Array.from(n)},o=function(e){for(var n="",r=0,i=e.length;r<i;r++){var o=e[r];o<128?n+=String.fromCharCode(o):192<=o&&o<224?n+=String.fromCharCode((31&o)<<6|63&e[++r]):240<=o&&o<365?n+=decodeURIComponent("%"+[o,e[++r],e[++r],e[++r]].map(function(e){return e.toString(16)}).join("%")):n+=String.fromCharCode((15&o)<<12|(63&e[++r])<<6|63&e[++r])}return n},a=function(e){return"function"==typeof TextEncoder?new TextEncoder().encode(e):i(e)},s=function(e){return"function"==typeof TextDecoder?new TextDecoder("utf-8").decode(e):o(e)}},8417:function(e,n,r){"use strict";r.d(n,{Z:function(){return G}});var i=function(){function e(e){var n=this;this._insertTag=function(e){var r;r=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(e,r),n.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var n;this._insertTag(((n=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&n.setAttribute("nonce",this.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}(r);try{i.insertRule(e,i.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++}
vendor: 6,716 bytes, line 260
260,n.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,a=String.fromCharCode,s=Object.assign;function u(e,n,r){return e.replace(n,r)}function c(e,n){return e.indexOf(n)}function l(e,n){return 0|e.charCodeAt(n)}function f(e,n,r){return e.slice(n,r)}function d(e){return e.length}function h(e,n){return n.push(e),e}var p=1,m=1,g=0,v=0,y=0,b="";function w(e,n,r,i,o,a,s){return{value:e,root:n,parent:r,type:i,props:o,children:a,line:p,column:m,length:s,return:""}}function S(e,n){return s(w("",null,null,"",null,null,0),e,{length:-e.length},n)}function _(){return y=v<g?l(b,v++):0,m++,10===y&&(m=1,p++),y}function k(){return l(b,v)}function x(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function E(e){return p=m=1,g=d(b=e),v=0,[]}function C(e){var n,r;return(n=v-1,r=function e(n){for(;_();)switch(y){case n:return v;case 34:case 39:34!==n&&39!==n&&e(y);break;case 40:41===n&&e(n);break;case 92:_()}return v}(91===e?e+2:40===e?e+1:e),f(b,n,r)).trim()}var A="-ms-",I="-moz-",T="-webkit-",P="comm",O="rule",R="decl",D="@keyframes";function M(e,n){for(var r="",i=e.length,o=0;o<i;o++)r+=n(e[o],o,e,n)||"";return r}function F(e,n,r,i){switch(e.type){case"@import":case R:return e.return=e.return||e.value;case P:return"";case D:return e.return=e.value+"{"+M(e.children,i)+"}";case O:e.value=e.props.join(",")}return d(r=M(e.children,i))?e.return=e.value+"{"+r+"}":""}function N(e,n,r,i,a,s,c,l,d,h,p){for(var m=a-1,g=0===a?s:[""],v=g.length,y=0,b=0,S=0;y<i;++y)for(var _=0,k=f(e,m+1,m=o(b=c[y])),x=e;_<v;++_)(x=(b>0?g[_]+" "+k:u(k,/&\f/g,g[_])).trim())&&(d[S++]=x);return w(e,n,r,0===a?O:l,d,h,p)}function j(e,n,r,i){return w(e,n,r,R,f(e,0,i),f(e,i+1,-1),i)}var U=function(e,n,r){for(var i=0,o=0;i=o,o=k(),38===i&&12===o&&(n[r]=1),!x(o);)_();return f(b,e,v)},L=function(e,n){var r=-1,i=44;do switch(x(i)){case 0:38===i&&12===k()&&(n[r]=1),e[r]+=U(v-1,n,r);break;case 2:e[r]+=C(i);break;case 4:if(44===i){e[++r]=58===k()?"&\f":"",n[r]=e[r].length;break}default:e[r]+=a(i)}while(i=_());return e},B=function(e,n){var r;return r=L(E(e),n),b="",r},V=new WeakMap,z=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||V.get(r))&&!i){V.set(e,!0);for(var o=[],a=B(n,o),s=r.props,u=0,c=0;u<a.length;u++)for(var l=0;l<s.length;l++,c++)e.props[c]=o[u]?a[u].replace(/&\f/g,s[l]):s[l]+" "+a[u]}}},q=function(e){if("decl"===e.type){var n=e.value;108===n.charCodeAt(0)&&98===n.charCodeAt(2)&&(e.return="",e.value="")}},$=[function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case R:e.return=function e(n,r){switch(45^l(n,0)?(((r<<2^l(n,0))<<2^l(n,1))<<2^l(n,2))<<2^l(n,3):0){case 5103:return T+"print-"+n+n;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return T+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return T+n+I+n+A+n+n;case 6828:case 4268:return T+n+A+n+n;case 6165:return T+n+A+"flex-"+n+n;case 5187:return T+n+u(n,/(\w+).+(:[^]+)/,T+"box-$1$2"+A+"flex-$1$2")+n;case 5443:return T+n+A+"flex-item-"+u(n,/flex-|-self/,"")+n;case 4675:return T+n+A+"flex-line-pack"+u(n,/align-content|flex-|-self/,"")+n;case 5548:return T+n+A+u(n,"shrink","negative")+n;case 5292:return T+n+A+u(n,"basis","preferred-size")+n;case 6060:return T+"box-"+u(n,"-grow","")+T+n+A+u(n,"grow","positive")+n;case 4554:return T+u(n,/([^-])(transform)/g,"$1"+T+"$2")+n;case 6187:return u(u(u(n,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),n,"")+n;case 5495:case 3959:return u(n,/(image-set\([^]*)/,T+"$1$`$1");case 4968:return u(u(n,/(.+:)(flex-)?(.*)/,T+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+T+n+n;case 4095:case 3583:case 4068:case 2532:return u(n,/(.+)-inline(.+)/,T+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(n)-1-r>6)switch(l(n,r+1)){case 109:if(45!==l(n,r+4))break;case 102:return u(n,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+I+(108==l(n,r+3)?"$3":"$2-$3"))+n;case 115:return~c(n,"stretch")?e(u(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(115!==l(n,r+1))break;case 6444:switch(l(n,d(n)-3-(~c(n,"!important")&&10))){case 107:return u(n,":",":"+T)+n;case 101:return u(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+T+(45===l(n,14)?"inline-":"")+"box$3$1"+T+"$2$3$1"+A+"$2box$3")+n}break;case 5936:switch(l(n,r+11)){case 114:return T+n+A+u(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return T+n+A+u(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return T+n+A+u(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return T+n+A+n+n}return n}(e.value,e.length);break;case D:return M([S(e,{value:u(e.value,"@","@"+T)})],i);case O:if(e.length)return e.props.map(function(n){var r;switch(r=n,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return M([S(e,{props:[u(n,/:(read-\w+)/,":"+I+"$1")]})],i);case"::placeholder":return M([S(e,{props:[u(n,/:(plac\w+)/,":"+T+"input-$1")]}),S(e,{props:[u(n,/:(plac\w+)/,":"+I+"$1")]}),S(e,{props:[u(n,/:(plac\w+)/,A+"input-$1")]})],i)}return""}).join("")}}],G=function(e){var n,r,o,s,g,S=e.key;if("css"===S){var A=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(A,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var I=e.stylisPlugins||$,T={},O=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(e){for(var n=e.getAttribute("data-emotion").split(" "),r=1;r<n.length;r++)T[n[r]]=!0;O.push(e)});var R=(r=(n=[z,q].concat(I,[F,(o=function(e){g.insert(e)},function(e){!e.root&&(e=e.return)&&o(e)})])).length,function(e,i,o,a){for(var s="",u=0;u<r;u++)s+=n[u](e,i,o,a)||"";return s}),D=function(e){var n,r;return M((r=function e(n,r,i,o,s,g,S,E,A){for(var I,T=0,O=0,R=S,D=0,M=0,F=0,U=1,L=1,B=1,V=0,z="",q=s,$=g,G=o,W=z;L;)switch(F=V,V=_()){case 40:if(108!=F&&58==l(W,R-1)){-1!=c(W+=u(C(V),"&","&\f"),"&\f")&&(B=-1);break}case 34:case 39:case 91:W+=C(V);break;case 9:case 10:case 13:case 32:W+=function(e){for(;y=k();)if(y<33)_();else break;return x(e)>2||x(y)>3?"":" "}(F);break;case 92:W+=function(e,n){for(var r;--n&&_()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>
26070)||!(y<97)););return r=v+(n<6&&32==k()&&32==_()),f(b,e,r)}(v-1,7);continue;case 47:switch(k()){case 42:case 47:h(w(I=function(e,n){for(;_();)if(e+y===57)break;else if(e+y===84&&47===k())break;return"/*"+f(b,n,v-1)+"*"+a(47===e?e:_())}(_(),v),r,i,P,a(y),f(I,2,-2),0),A);break;default:W+="/"}break;case 123*U:E[T++]=d(W)*B;case 125*U:case 59:case 0:switch(V){case 0:case 125:L=0;case 59+O:M>0&&d(W)-R&&h(M>32?j(W+";",o,i,R-1):j(u(W," ","")+";",o,i,R-2),A);break;case 59:W+=";";default:if(h(G=N(W,r,i,T,O,s,E,z,q=[],$=[],R),g),123===V){if(0===O)e(W,r,G,G,q,g,R,E,$);else switch(99===D&&110===l(W,3)?100:D){case 100:case 109:case 115:e(n,G,G,o&&h(N(n,G,G,0,0,s,E,z,s,q=[],R),$),s,$,R,E,o?q:$);break;default:e(W,G,G,G,[""],$,0,E,$)}}}T=O=M=0,U=B=1,z=W="",R=S;break;case 58:R=1+d(W),M=F;default:if(U<1){if(123==V)--U;else if(125==V&&0==U++&&125==(y=v>0?l(b,--v):0,m--,10===y&&(m=1,p--),y))continue}switch(W+=a(V),V*U){case 38:B=O>0?1:(W+="\f",-1);break;case 44:E[T++]=(d(W)-1)*B,B=1;break;case 64:45===k()&&(W+=C(_())),D=k(),O=R=d(z=W+=function(e){for(;!x(k());)_();return f(b,e,v)}(v)),V++;break;case 45:45===F&&2==d(W)&&(U=0)}}return g}("",null,null,null,[""],n=E(n=e),0,[0],n),b="",r),R)},U={key:S,sheet:new i({key:S,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:T,registered:{},insert:function(e,n,r,i){g=r,D(e?e+"{"+n.styles+"}":n.styles),i&&(U.inserted[n.name]=!0)}};return U.sheet.hydrate(O),U}},45042:function(e,n){"use strict";n.Z=function(e){var n=Object.create(null);return function(r){return void 0===n[r]&&(n[r]=e(r)),n[r]}}},91683:function(e,n,r){"use strict";r.d(n,{T:function(){return l},a:function(){return d},w:function(){return c}});var i=r(67294),o=r(8417),a=r(87462),s=function(e){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var i=e(r);return n.set(r,i),i}};r(48137),r(27278);var u=(0,i.createContext)("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);u.Provider;var c=function(e){return(0,i.forwardRef)(function(n,r){return e(n,(0,i.useContext)(u),r)})},l=(0,i.createContext)({}),f=s(function(e){return s(function(n){return"function"==typeof n?n(e):(0,a.Z)({},e,n)})}),d=function(e){var n=(0,i.useContext)(l);return e.theme!==n&&(n=f(n)(e.theme)),(0,i.createElement)(l.Provider,{value:n},e.children)}},70917:function(e,n,r){"use strict";r.d(n,{F4:function(){return f},iv:function(){return l},xB:function(){return c}});var i=r(67294);r(8417);var o=r(91683);r(8679);var a=r(70444),s=r(48137),u=r(27278),c=(0,o.w)(function(e,n){var r=e.styles,c=(0,s.O)([r],void 0,(0,i.useContext)(o.T)),l=(0,i.useRef)();return(0,u.j)(function(){var e=n.key+"-global",r=new n.sheet.constructor({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),i=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return n.sheet.tags.length&&(r.before=n.sheet.tags[0]),null!==o&&(i=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),l.current=[r,i],function(){r.flush()}},[n]),(0,u.j)(function(){var e=l.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==c.next&&(0,a.My)(n,c.next,!0),r.tags.length){var i=r.tags[r.tags.length-1].nextElementSibling;r.before=i,r.flush()}n.insert("",c,r,!1)},[n,c.name]),null});function l(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return(0,s.O)(n)}var f=function(){var e=l.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},48137:function(e,n,r){"use strict";r.d(n,{O:function(){return g}});var i,o=function(e){for(var n,r=0,i=0,o=e.length;o>=4;++i,o-=4)n=(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))*1540483477+((n>>>16)*59797<<16),n^=n>>>24,r=(65535&n)*1540483477+((n>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r^=255&e.charCodeAt(i),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)},a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
260idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=r(45042),u=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},f=function(e){return null!=e&&"boolean"!=typeof e},d=(0,s.Z)(function(e){return l(e)?e:e.replace(u,"-$&").toLowerCase()}),h=function(e,n){switch(e){case"animation":case"animationName":if("string"==typeof n)return n.replace(c,function(e,n,r){return i={name:n,styles:r,next:i},n})}return 1===a[e]||l(e)||"number"!=typeof n||0===n?n:n+"px"};function p(e,n,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return i={name:r.name,styles:r.styles,next:i},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)i={name:o.name,styles:o.styles,next:i},o=o.next;return r.styles+";"}return function(e,n,r){var i="";if(Array.isArray(r))for(var o=0;o<r.length;o++)i+=p(e,n,r[o])+";";else for(var a in r){var s=r[a];if("object"!=typeof s)null!=n&&void 0!==n[s]?i+=a+"{"+n[s]+"}":f(s)&&(i+=d(a)+":"+h(a,s)+";");else if(Array.isArray(s)&&"string"==typeof s[0]&&(null==n||void 0===n[s[0]]))for(var u=0;u<s.length;u++)f(s[u])&&(i+=d(a)+":"+h(a,s[u])+";");else{var c=p(e,n,s);switch(a){case"animation":case"animationName":i+=d(a)+":"+c+";";break;default:i+=a+"{"+c+"}"}}}return i}(e,n,r);case"function":if(void 0!==e){var a=i,s=r(e);return i=a,p(e,n,s)}}if(null==n)return r;var u=n[r];return void 0!==u?u:r}var m=/label:\s*([^\s;\n{]+)\s*(;|$)/g,g=function(e,n,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a,s=!0,u="";i=void 0;var c=e[0];null==c||void 0===c.raw?(s=!1,u+=p(r,n,c)):u+=c[0];for(var l=1;l<e.length;l++)u+=p(r,n,e[l]),s&&(u+=c[l]);m.lastIndex=0;for(var f="";null!==(a=m.exec(u));)f+="-"+a[1];return{name:o(u)+f,styles:u,next:i}}},27278:function(e,n,r){"use strict";r.d(n,{L:function(){return s},j:function(){return u}});var i,o=r(67294),a=!!(i||(i=r.t(o,2))).useInsertionEffect&&(i||(i=r.t(o,2))).useInsertionEffect,s=a||function(e){return e()},u=a||o.useLayoutEffect},70444:function(e,n,r){"use strict";function i(e,n,r){var i="";return r.split(" ").forEach(function(r){void 0!==e[r]?n.push(e[r]+";"):i+=r+" "}),i}r.d(n,{My:function(){return a},fp:function(){return i},hC:function(){return o}});var o=function(e,n,r){var i=e.key+"-"+n.name;!1===r&&void 0===e.registered[i]&&(e.registered[i]=n.styles)},a=function(e,n,r){o(e,n,r);var i=e.key+"-"+n.name;if(void 0===e.inserted[n.name]){var a=n;do e.insert(n===a?"."+i:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}}},82152:function(e,n,r){"use strict";r.d(n,{D:function(){return c}});var i=Object.prototype,o=i.toString,a=i.hasOwnProperty,s=Function.prototype.toString,u=new Map;function c(e,n){try{return function e(n,r){if(n===r)return!0;var i=o.call(n);if(i!==o.call(r))return!1;switch(i){case"[object Array]":if(n.length!==r.length)break;case"[object Object]":if(h(n,r))return!0;var u=l(n),c=l(r),f=u.length;if(f!==c.length)break;for(var p=0;p<f;++p)if(!a.call(r,u[p]))return!1;for(var p=0;p<f;++p){var m=u[p];if(!e(n[m],r[m]))return!1}return!0;case"[object Error]":return n.name===r.name&&n.message===r.message;case"[object Number]":if(n!=n)return r!=r;case"[object Boolean]":case"[object Date]":return+n==+r;case"[object RegExp]":case"[object String]":return n=="".concat(r);case"[object Map]":case"[object Set]":if(n.size!==r.size)break;if(h(n,r))return!0;for(var g=n.entries(),v="[object Map]"===i;;){var y=g.next();if(y.done)break;var b=y.value,w=b[0],S=b[1];if(!r.has(w)||v&&!e(S,r.get(w)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":n=new Uint8Array(n),r=new Uint8Array(r);case"[object DataView]":var _=n.byteLength;if(_===r.byteLength)for(;_--&&n[_]===r[_];);return -1===_;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var k,x=s.call(n);if(x!==s.call(r))break;return!((k=x.length-d.length)>=0)||x.indexOf(d,k)!==k}return!1}(e,n)}finally{u.clear()}}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}var d="{ [native code] }";function h(e,n){var r=u.get(e);if(r){if(r.has(n))return!0}else u.set(e,r=new Set);return r.add(n),!1}},55450:function(e,n,r){var i,o;void 0!==(i="function"==typeof(o=function(){function e(){for(var e=0,n={};e<arguments.length;e++){var r=arguments[e];for(var i in r)n[i]=r[i]}return n}function n(e){return e.replace(/(%[0-9A-Z]{2}
260)+/g,decodeURIComponent)}return function r(i){function o(){}function a(n,r,a){if("undefined"!=typeof document){"number"==typeof(a=e({path:"/"},o.defaults,a)).expires&&(a.expires=new Date(new Date*1+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var s=JSON.stringify(r);/^[\{\[]/.test(s)&&(r=s)}catch(e){}r=i.write?i.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in a)a[c]&&(u+="; "+c,!0!==a[c]&&(u+="="+a[c].split(";")[0]));return document.cookie=n+"="+r+u}}function s(e,r){if("undefined"!=typeof document){for(var o={},a=document.cookie?document.cookie.split("; "):[],s=0;s<a.length;s++){var u=a[s].split("="),c=u.slice(1).join("=");r||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var l=n(u[0]);if(c=(i.read||i)(c,l)||n(c),r)try{c=JSON.parse(c)}catch(e){}if(o[l]=c,e===l)break}catch(e){}}return e?o[e]:o}}return o.set=a,o.get=function(e){return s(e,!1)},o.getJSON=function(e){return s(e,!0)},o.remove=function(n,r){a(n,"",e(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}(function(){})})?o.call(n,r,n,e):o)&&(e.exports=i),e.exports=o()},79742:function(e,n){"use strict";n.byteLength=function(e){var n=c(e),r=n[0],i=n[1];return(r+i)*3/4-i},n.toByteArray=function(e){var n,r,a=c(e),s=a[0],u=a[1],l=new o((s+u)*3/4-u),f=0,d=u>0?s-4:s;for(r=0;r<d;r+=4)n=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],l[f++]=n>>16&255,l[f++]=n>>8&255,l[f++]=255&n;return 2===u&&(n=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[f++]=255&n),1===u&&(n=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[f++]=n>>8&255,l[f++]=255&n),l},n.fromByteArray=function(e){for(var n,i=e.length,o=i%3,a=[],s=0,u=i-o;s<u;s+=16383)a.push(function(e,n,i){for(var o,a=[],s=n;s<i;s+=3)a.push(r[(o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}(e,s,s+16383>u?u:s+16383));return 1===o?a.push(r[(n=e[i-1])>>2]+r[n<<4&63]+"=="):2===o&&a.push(r[(n=(e[i-2]<<8)+e[i-1])>>10]+r[n>>4&63]+r[n<<2&63]+"="),a.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var n=e.length;if(n%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=n);var i=r===n?0:4-r%4;return[r,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},51206:function(e){e.exports=function(e){var n={};function r(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=n,r.d=function(e,n,i){r.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n||4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)r.d(i,o,(function(n){return e[n]}).bind(null,o));return i},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.p="",r(r.s=90)}({17:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i=r(18),o=function(){function e(){}return e.getFirstMatch=function(e,n){var r=n.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,n){var r=n.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,n,r){if(e.test(n))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var n=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(n.push(0),10===n[0])switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";
vendor: 5,099 bytes, line 260
260case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var n=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(n.push(0),!(1===n[0]&&n[1]<5))return 1===n[0]&&n[1]<6?"Cupcake":1===n[0]&&n[1]>=6?"Donut":2===n[0]&&n[1]<2?"Eclair":2===n[0]&&2===n[1]?"Froyo":2===n[0]&&n[1]>2?"Gingerbread":3===n[0]?"Honeycomb":4===n[0]&&n[1]<1?"Ice Cream Sandwich":4===n[0]&&n[1]<4?"Jelly Bean":4===n[0]&&n[1]>=4?"KitKat":5===n[0]?"Lollipop":6===n[0]?"Marshmallow":7===n[0]?"Nougat":8===n[0]?"Oreo":9===n[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(n,r,i){void 0===i&&(i=!1);var o=e.getVersionPrecision(n),a=e.getVersionPrecision(r),s=Math.max(o,a),u=0,c=e.map([n,r],function(n){var r=s-e.getVersionPrecision(n),i=n+Array(r+1).join(".0");return e.map(i.split("."),function(e){return Array(20-e.length).join("0")+e}).reverse()});for(i&&(u=s-Math.min(o,a)),s-=1;s>=u;){if(c[0][s]>c[1][s])return 1;if(c[0][s]===c[1][s]){if(s===u)return 0;s-=1}else if(c[0][s]<c[1][s])return -1}},e.map=function(e,n){var r,i=[];if(Array.prototype.map)return Array.prototype.map.call(e,n);for(r=0;r<e.length;r+=1)i.push(n(e[r]));return i},e.find=function(e,n){var r,i;if(Array.prototype.find)return Array.prototype.find.call(e,n);for(r=0,i=e.length;r<i;r+=1){var o=e[r];if(n(o,r))return o}},e.assign=function(e){for(var n,r,i=e,o=arguments.length,a=Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(a));for(n=0,r=a.length;n<r;n+=1)(function(){var e=a[n];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(n){i[n]=e[n]})})();return e},e.getBrowserAlias=function(e){return i.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return i.BROWSER_MAP[e]||""},e}();n.default=o,e.exports=n.default},18:function(e,n,r){"use strict";n.__esModule=!0,n.ENGINE_MAP=n.OS_MAP=n.PLATFORMS_MAP=n.BROWSER_MAP=n.BROWSER_ALIASES_MAP=void 0,n.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},n.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},n.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},n.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},n.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i,o=(i=r(91))&&i.__esModule?i:{default:i},a=r(18),s=function(){function e(){}return e.getParser=function(e,n){if(void 0===n&&(n=!1),"string"!=typeof e)throw Error("UserAgent should be a string");return new o.default(e,n)},e.parse=function(e){return new o.default(e).getResult()},function(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e,[{key:"BROWSER_MAP",get:function(){return a.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return a.ENGINE_MAP}},{key:"OS_MAP",get:function(){return a.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return a.PLATFORMS_MAP}}]),e}();n.default=s,e.exports=n.default},91:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i=c(r(92)),o=c(r(93)),a=c(r(94)),s=c(r(95)),u=c(r(17));
vendor: 6,963 bytes, line 260
260function c(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e,n){if(void 0===n&&(n=!1),null==e||""===e)throw Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==n&&this.parse()}var n=e.prototype;return n.getUA=function(){return this._ua},n.test=function(e){return e.test(this._ua)},n.parseBrowser=function(){var e=this;this.parsedResult.browser={};var n=u.default.find(i.default,function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some(function(n){return e.test(n)});throw Error("Browser's test function is not valid")});return n&&(this.parsedResult.browser=n.describe(this.getUA())),this.parsedResult.browser},n.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},n.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},n.getBrowserVersion=function(){return this.getBrowser().version},n.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},n.parseOS=function(){var e=this;this.parsedResult.os={};var n=u.default.find(o.default,function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some(function(n){return e.test(n)});throw Error("Browser's test function is not valid")});return n&&(this.parsedResult.os=n.describe(this.getUA())),this.parsedResult.os},n.getOSName=function(e){var n=this.getOS().name;return e?String(n).toLowerCase()||"":n||""},n.getOSVersion=function(){return this.getOS().version},n.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},n.getPlatformType=function(e){void 0===e&&(e=!1);var n=this.getPlatform().type;return e?String(n).toLowerCase()||"":n||""},n.parsePlatform=function(){var e=this;this.parsedResult.platform={};var n=u.default.find(a.default,function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some(function(n){return e.test(n)});throw Error("Browser's test function is not valid")});return n&&(this.parsedResult.platform=n.describe(this.getUA())),this.parsedResult.platform},n.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},n.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},n.parseEngine=function(){var e=this;this.parsedResult.engine={};var n=u.default.find(s.default,function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some(function(n){return e.test(n)});throw Error("Browser's test function is not valid")});return n&&(this.parsedResult.engine=n.describe(this.getUA())),this.parsedResult.engine},n.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},n.getResult=function(){return u.default.assign({},this.parsedResult)},n.satisfies=function(e){var n=this,r={},i=0,o={},a=0;if(Object.keys(e).forEach(function(n){var s=e[n];"string"==typeof s?(o[n]=s,a+=1):"object"==typeof s&&(r[n]=s,i+=1)}),i>0){var s=Object.keys(r),c=u.default.find(s,function(e){return n.isOS(e)});if(c){var l=this.satisfies(r[c]);if(void 0!==l)return l}var f=u.default.find(s,function(e){return n.isPlatform(e)});if(f){var d=this.satisfies(r[f]);if(void 0!==d)return d}}if(a>0){var h=Object.keys(o),p=u.default.find(h,function(e){return n.isBrowser(e,!0)});if(void 0!==p)return this.compareVersion(o[p])}},n.isBrowser=function(e,n){void 0===n&&(n=!1);var r=this.getBrowserName().toLowerCase(),i=e.toLowerCase(),o=u.default.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r},n.compareVersion=function(e){var n=[0],r=e,i=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(i=!0,r=e.substr(2)):n=[],">"===e[0]?n.push(1):n.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(i=!0,r=e.substr(1)),n.indexOf(u.default.compareVersions(o,r,i))>-1},n.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},n.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},n.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},n.is=function(e,n){return void 0===n&&(n=!1),this.isBrowser(e,n)||this.isOS(e)||this.isPlatform(e)},n.some=function(e){var n=this;return void 0===e&&(e=[]),e.some(function(e){return n.is(e)})},e}();n.default=l,e.exports=n.default},92:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i,o=(i=r(17))&&i.__esModule?i:{default:i},a=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var n={name:"Googlebot"},r=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/opera/i],describe:function(e){var n={name:"Opera"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/opr\/|opios/i],describe:function(e){var n={name:"Opera"},r=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/SamsungBrowser/i],describe:function(e){var n={name:"Samsung Internet for Android"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/Whale/i],describe:function(e){var n={name:"NAVER Whale Browser"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/MZBrowser/i],describe:function(e){var n={name:"MZ Browser"},r=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/focus/i],describe:function(e){var n={name:"Focus"},r=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/swing/i],describe:function(e){var n={name:"Swing"},r=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/coast/i],describe:function(e){var n={name:"Opera Coast"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var n={name:"Opera Touch"},r=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/yabrowser/i],describe:function(e){var n={name:"Yandex Browser"},r=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/ucbrowser/i],describe:function(e){var n={name:"UC Browser"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/Maxthon|mxios/i],describe:function(e){var n={name:"Maxthon"}
vendor: 7,818 bytes, line 260
260,r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/epiphany/i],describe:function(e){var n={name:"Epiphany"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/puffin/i],describe:function(e){var n={name:"Puffin"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/sleipnir/i],describe:function(e){var n={name:"Sleipnir"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/k-meleon/i],describe:function(e){var n={name:"K-Meleon"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/micromessenger/i],describe:function(e){var n={name:"WeChat"},r=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/qqbrowser/i],describe:function(e){var n={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/msie|trident/i],describe:function(e){var n={name:"Internet Explorer"},r=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/\sedg\//i],describe:function(e){var n={name:"Microsoft Edge"},r=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/edg([ea]|ios)/i],describe:function(e){var n={name:"Microsoft Edge"},r=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/vivaldi/i],describe:function(e){var n={name:"Vivaldi"},r=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/seamonkey/i],describe:function(e){var n={name:"SeaMonkey"},r=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/sailfish/i],describe:function(e){var n={name:"Sailfish"},r=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(n.version=r),n}},{test:[/silk/i],describe:function(e){var n={name:"Amazon Silk"},r=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/phantom/i],describe:function(e){var n={name:"PhantomJS"},r=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/slimerjs/i],describe:function(e){var n={name:"SlimerJS"},r=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var n={name:"BlackBerry"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var n={name:"WebOS Browser"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/bada/i],describe:function(e){var n={name:"Bada"},r=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/tizen/i],describe:function(e){var n={name:"Tizen"},r=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/qupzilla/i],describe:function(e){var n={name:"QupZilla"},r=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var n={name:"Firefox"},r=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/electron/i],describe:function(e){var n={name:"Electron"},r=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/MiuiBrowser/i],describe:function(e){var n={name:"Miui"},r=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/chromium/i],describe:function(e){var n={name:"Chromium"},r=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/chrome|crios|crmo/i],describe:function(e){var n={name:"Chrome"},r=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/GSA/i],describe:function(e){var n={name:"Google Search"},r=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:function(e){var n=!e.test(/like android/i),r=e.test(/android/i);return n&&r},describe:function(e){var n={name:"Android Browser"},r=o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/playstation 4/i],describe:function(e){var n={name:"PlayStation 4"},r=o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/safari|applewebkit/i],describe:function(e){var n={name:"Safari"},r=o.default.getFirstMatch(a,e);return r&&(n.version=r),n}},{test:[/.*/i],describe:function(e){var n=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(n,e),version:o.default.getSecondMatch(n,e)}}}];n.default=s,e.exports=n.default},93:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i,o=(i=r(17))&&i.__esModule?i:{default:i},a=r(18),s=[{test:[/Roku\/DVP/],describe:function(e){var n=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:a.OS_MAP.Roku,version:n}}},{test:[/windows phone/i],describe:function(e){var n=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(e){var n=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=o.default.getWindowsVersionName(n);return{name:a.OS_MAP.Windows,version:n,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var n={name:a.OS_MAP.iOS},r=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(n.version=r),n}},{test:[/macintosh/i],describe:function(e){var n=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=o.default.getMacOSVersionName(n),i={name:a.OS_MAP.MacOS,version:n};return r&&(i.versionName=r),i}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var n=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:n}}},{test:function(e){var n=!e.test(/like android/i),r=e.test(/android/i);return n&&r},describe:function(e){var n=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=o.default.getAndroidVersionName(n),i={name:a.OS_MAP.Android,version:n};return r&&(i.versionName=r),i}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var n=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:a.OS_MAP.WebOS};return n&&n.length&&(r.version=n),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var n=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:a.OS_MAP.BlackBerry,version:n}}},{test:[/bada/i],describe:function(e){var n=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Bada,version:n}}},{test:[/tizen/i],describe:function(e){var n=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var n=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);
260return{name:a.OS_MAP.PlayStation4,version:n}}}];n.default=s,e.exports=n.default},94:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i,o=(i=r(17))&&i.__esModule?i:{default:i},a=r(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var n=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return n&&(r.model=n),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){var n=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return n&&!r},describe:function(e){var n=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var n=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&n>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];n.default=s,e.exports=n.default},95:function(e,n,r){"use strict";n.__esModule=!0,n.default=void 0;var i,o=(i=r(17))&&i.__esModule?i:{default:i},a=r(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:a.ENGINE_MAP.Blink};var n=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:a.ENGINE_MAP.EdgeHTML,version:n}}},{test:[/trident/i],describe:function(e){var n={name:a.ENGINE_MAP.Trident},r=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:function(e){return e.test(/presto/i)},describe:function(e){var n={name:a.ENGINE_MAP.Presto},r=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:function(e){var n=e.test(/gecko/i),r=e.test(/like gecko/i);return n&&!r},describe:function(e){var n={name:a.ENGINE_MAP.Gecko},r=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var n={name:a.ENGINE_MAP.WebKit},r=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(n.version=r),n}}];n.default=s,e.exports=n.default}})},48764:function(e,n,r){"use strict";/*!
261 * The buffer module from node.js, for the browser.
262 *
263 * @author   Feross Aboukhadijeh <http://feross.org>
264 * @license  MIT
265 */var i=r(79742),o=r(80645),a=r(5826);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(e,n){if(s()<n)throw RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(n)).__proto__=c.prototype:(null===e&&(e=new c(n)),e.length=n),e}function c(e,n,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,n,r);if("number"==typeof e){if("string"==typeof n)throw Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,n,r)}function l(e,n,r,i){if("number"==typeof n)throw TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer?function(e,n,r,i){if(n.byteLength,r<0||n.byteLength<r)throw RangeError("'offset' is out of bounds");if(n.byteLength<r+(i||0))throw RangeError("'length' is out of bounds");return n=void 0===r&&void 0===i?new Uint8Array(n):void 0===i?new Uint8Array(n,r):new Uint8Array(n,r,i),c.TYPED_ARRAY_SUPPORT?(e=n).__proto__=c.prototype:e=h(e,n),e}(e,n,r,i):"string"==typeof n?function(e,n,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!c.isEncoding(r))throw TypeError('"encoding" must be a valid string encoding');var i=0|m(n,r),o=(e=u(e,i)).write(n,r);return o!==i&&(e=e.slice(0,o)),e}(e,n,r):function(e,n){if(c.isBuffer(n)){var r,i=0|p(n.length);
265return 0===(e=u(e,i)).length||n.copy(e,0,0,i),e}if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||(r=n.length)!=r?u(e,0):h(e,n);if("Buffer"===n.type&&a(n.data))return h(e,n.data)}throw TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,n)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be a number');if(e<0)throw RangeError('"size" argument must not be negative')}function d(e,n){if(f(n),e=u(e,n<0?0:0|p(n)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<n;++r)e[r]=0;return e}function h(e,n){var r=n.length<0?0:0|p(n.length);e=u(e,r);for(var i=0;i<r;i+=1)e[i]=255&n[i];return e}function p(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,n){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var i=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(i)return T(e).length;n=(""+n).toLowerCase(),i=!0}}function g(e,n,r){var o,a,s=!1;if((void 0===n||n<0)&&(n=0),n>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(n>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,n,r){var i,o=e.length;(!n||n<0)&&(n=0),(!r||r<0||r>o)&&(r=o);for(var a="",s=n;s<r;++s)a+=(i=e[s])<16?"0"+i.toString(16):i.toString(16);return a}(this,n,r);case"utf8":case"utf-8":return w(this,n,r);case"ascii":return function(e,n,r){var i="";r=Math.min(e.length,r);for(var o=n;o<r;++o)i+=String.fromCharCode(127&e[o]);return i}(this,n,r);case"latin1":case"binary":return function(e,n,r){var i="";r=Math.min(e.length,r);for(var o=n;o<r;++o)i+=String.fromCharCode(e[o]);return i}(this,n,r);case"base64":return o=n,a=r,0===o&&a===this.length?i.fromByteArray(this):i.fromByteArray(this.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,n,r){for(var i=e.slice(n,r),o="",a=0;a<i.length;a+=2)o+=String.fromCharCode(i[a]+256*i[a+1]);return o}(this,n,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function v(e,n,r){var i=e[n];e[n]=e[r],e[r]=i}function y(e,n,r,i,o){if(0===e.length)return -1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),isNaN(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof n&&(n=c.from(n,i)),c.isBuffer(n))return 0===n.length?-1:b(e,n,r,i,o);if("number"==typeof n)return(n&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,n,r):Uint8Array.prototype.lastIndexOf.call(e,n,r):b(e,[n],r,i,o);throw TypeError("val must be string, number or Buffer")}function b(e,n,r,i,o){var a,s=1,u=e.length,c=n.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||n.length<2)return -1;s=2,u/=2,c/=2,r/=2}function l(e,n){return 1===s?e[n]:e.readUInt16BE(n*s)}if(o){var f=-1;for(a=r;a<u;a++)if(l(e,a)===l(n,-1===f?0:a-f)){if(-1===f&&(f=a),a-f+1===c)return f*s}else -1!==f&&(a-=a-f),f=-1}else for(r+c>u&&(r=u-c),a=r;a>=0;a--){for(var d=!0,h=0;h<c;h++)if(l(e,a+h)!==l(n,h)){d=!1;break}if(d)return a}return -1}function w(e,n,r){r=Math.min(e.length,r);for(var i=[],o=n;o<r;){var a,s,u,c,l=e[o],f=null,d=l>239?4:l>223?3:l>191?2:1;if(o+d<=r)switch(d){case 1:l<128&&(f=l);break;case 2:(192&(a=e[o+1]))==128&&(c=(31&l)<<6|63&a)>127&&(f=c);break;case 3:a=e[o+1],s=e[o+2],(192&a)==128&&(192&s)==128&&(c=(15&l)<<12|(63&a)<<6|63&s)>2047&&(c<55296||c>57343)&&(f=c);break;case 4:a=e[o+1],s=e[o+2],u=e[o+3],(192&a)==128&&(192&s)==128&&(192&u)==128&&(c=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&u)>65535&&c<1114112&&(f=c)}null===f?(f=65533,d=1):f>65535&&(f-=65536,i.push(f>>>10&1023|55296),f=56320|1023&f),i.push(f),o+=d}return function(e){var n=e.length;if(n<=4096)return String.fromCharCode.apply(String,e);for(var r="",i=0;i<n;)r+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return r}(i)}function S(e,n,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+n>r)throw RangeError("Trying to access beyond buffer length")}function _(e,n,r,i,o,a){if(!c.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(n>o||n<a)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function k(e,n,r,i){n<0&&(n=65535+n+1);for(var o=0,a=Math.min(e.length-r,2);o<a;++o)e[r+o]=(n&255<<8*(i?o:1-o))>>>(i?o:1-o)*8}function x(e,n,r,i){n<0&&(n=4294967295+n+1);for(var o=0,a=Math.min(e.length-r,4);o<a;++o)e[r+o]=n>>>(i?o:3-o)*8&255}function E(e,n,r,i,o,a){if(r+i>e.length||r<0)throw RangeError("Index out of range")}function C(e,n,r,i,a){return a||E(e,n,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,n,r,i,23,4),r+4}function A(e,n,r,i,a){return a||E(e,n,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,n,r,i,52,8),r+8}n.lW=c,n.h2=50,c.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),s(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,n,r){return l(null,e,n,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,n,r){return(f(e),e<=0)?u(null,e):void 0!==n?"string"==typeof r?u(null,e).fill(n,r):u(null,e).fill(n):u(null,e)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!!(null!=e&&e._isBuffer)},c.compare=function(e,n){if(!c.isBuffer(e)||!c.isBuffer(n))throw TypeError("Arguments must be Buffers");if(e===n)return 0;for(var r=e.length,i=n.length,o=0,a=Math.min(r,i);o<a;++o)if(e[o]!==n[o]){r=e[o],i=n[o];break}return r<i?-1:i<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,n){if(!a(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);if(void 0===n)for(r=0,n=0;r<e.length;++r)n+=e[r].length;var r,i=c.allocUnsafe(n),o=0;for(r=0;r<e.length;++r){var s=e[r];if(!c.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i},c.byteLength=m,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 n=0;n<e;n+=2)v(this,n,n+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 n=0;n<e;n+=4)v(this,n,n+3),v(this,n+1,n+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 n=0;n<e;
265n+=8)v(this,n,n+7),v(this,n+1,n+6),v(this,n+2,n+5),v(this,n+3,n+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0==arguments.length?w(this,0,e):g.apply(this,arguments)},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=n.h2;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,n,r,i,o){if(!c.isBuffer(e))throw TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),n<0||r>e.length||i<0||o>this.length)throw RangeError("out of range index");if(i>=o&&n>=r)return 0;if(i>=o)return -1;if(n>=r)return 1;if(n>>>=0,r>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,s=r-n,u=Math.min(a,s),l=this.slice(i,o),f=e.slice(n,r),d=0;d<u;++d)if(l[d]!==f[d]){a=l[d],s=f[d];break}return a<s?-1:s<a?1:0},c.prototype.includes=function(e,n,r){return -1!==this.indexOf(e,n,r)},c.prototype.indexOf=function(e,n,r){return y(this,e,n,r,!0)},c.prototype.lastIndexOf=function(e,n,r){return y(this,e,n,r,!1)},c.prototype.write=function(e,n,r,i){if(void 0===n)i="utf8",r=this.length,n=0;else if(void 0===r&&"string"==typeof n)i=n,r=this.length,n=0;else if(isFinite(n))n|=0,isFinite(r)?(r|=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,a,s,u,c,l,f,d,h,p,m,g,v=this.length-n;if((void 0===r||r>v)&&(r=v),e.length>0&&(r<0||n<0)||n>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var y=!1;;)switch(i){case"hex":return function(e,n,r,i){r=Number(r)||0;var o=e.length-r;i?(i=Number(i))>o&&(i=o):i=o;var a=n.length;if(a%2!=0)throw TypeError("Invalid hex string");i>a/2&&(i=a/2);for(var s=0;s<i;++s){var u=parseInt(n.substr(2*s,2),16);if(isNaN(u))break;e[r+s]=u}return s}(this,e,n,r);case"utf8":case"utf-8":return c=n,l=r,R(T(e,this.length-c),this,c,l);case"ascii":return f=n,d=r,R(P(e),this,f,d);case"latin1":case"binary":return o=this,a=e,s=n,u=r,R(P(a),o,s,u);case"base64":return h=n,p=r,R(O(e),this,h,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m=n,g=r,R(function(e,n){for(var r,i,o=[],a=0;a<e.length&&!((n-=2)<0);++a)i=(r=e.charCodeAt(a))>>8,o.push(r%256),o.push(i);return o}(e,this.length-m),this,m,g);default:if(y)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),y=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(e,n){var r,i=this.length;if(e=~~e,n=void 0===n?i:~~n,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),n<0?(n+=i)<0&&(n=0):n>i&&(n=i),n<e&&(n=e),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,n)).__proto__=c.prototype;else{var o=n-e;r=new c(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},c.prototype.readUIntLE=function(e,n,r){e|=0,n|=0,r||S(e,n,this.length);for(var i=this[e],o=1,a=0;++a<n&&(o*=256);)i+=this[e+a]*o;return i},c.prototype.readUIntBE=function(e,n,r){e|=0,n|=0,r||S(e,n,this.length);for(var i=this[e+--n],o=1;n>0&&(o*=256);)i+=this[e+--n]*o;return i},c.prototype.readUInt8=function(e,n){return n||S(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,n){return n||S(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,n){return n||S(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,n){return n||S(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,n){return n||S(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,n,r){e|=0,n|=0,r||S(e,n,this.length);for(var i=this[e],o=1,a=0;++a<n&&(o*=256);)i+=this[e+a]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*n)),i},c.prototype.readIntBE=function(e,n,r){e|=0,n|=0,r||S(e,n,this.length);for(var i=n,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*n)),a},c.prototype.readInt8=function(e,n){return(n||S(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]}
265,c.prototype.readInt16LE=function(e,n){n||S(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,n){n||S(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,n){return n||S(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,n){return n||S(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,n){return n||S(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,n){return n||S(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,n){return n||S(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,n){return n||S(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,n,r,i){if(e=+e,n|=0,r|=0,!i){var o=Math.pow(2,8*r)-1;_(this,e,n,r,o,0)}var a=1,s=0;for(this[n]=255&e;++s<r&&(a*=256);)this[n+s]=e/a&255;return n+r},c.prototype.writeUIntBE=function(e,n,r,i){if(e=+e,n|=0,r|=0,!i){var o=Math.pow(2,8*r)-1;_(this,e,n,r,o,0)}var a=r-1,s=1;for(this[n+a]=255&e;--a>=0&&(s*=256);)this[n+a]=e/s&255;return n+r},c.prototype.writeUInt8=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},c.prototype.writeUInt16LE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):k(this,e,n,!0),n+2},c.prototype.writeUInt16BE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):k(this,e,n,!1),n+2},c.prototype.writeUInt32LE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):x(this,e,n,!0),n+4},c.prototype.writeUInt32BE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):x(this,e,n,!1),n+4},c.prototype.writeIntLE=function(e,n,r,i){if(e=+e,n|=0,!i){var o=Math.pow(2,8*r-1);_(this,e,n,r,o-1,-o)}var a=0,s=1,u=0;for(this[n]=255&e;++a<r&&(s*=256);)e<0&&0===u&&0!==this[n+a-1]&&(u=1),this[n+a]=(e/s>>0)-u&255;return n+r},c.prototype.writeIntBE=function(e,n,r,i){if(e=+e,n|=0,!i){var o=Math.pow(2,8*r-1);_(this,e,n,r,o-1,-o)}var a=r-1,s=1,u=0;for(this[n+a]=255&e;--a>=0&&(s*=256);)e<0&&0===u&&0!==this[n+a+1]&&(u=1),this[n+a]=(e/s>>0)-u&255;return n+r},c.prototype.writeInt8=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=255&e,n+1},c.prototype.writeInt16LE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):k(this,e,n,!0),n+2},c.prototype.writeInt16BE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):k(this,e,n,!1),n+2},c.prototype.writeInt32LE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):x(this,e,n,!0),n+4},c.prototype.writeInt32BE=function(e,n,r){return e=+e,n|=0,r||_(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):x(this,e,n,!1),n+4},c.prototype.writeFloatLE=function(e,n,r){return C(this,e,n,!0,r)},c.prototype.writeFloatBE=function(e,n,r){return C(this,e,n,!1,r)},c.prototype.writeDoubleLE=function(e,n,r){return A(this,e,n,!0,r)},c.prototype.writeDoubleBE=function(e,n,r){return A(this,e,n,!1,r)},c.prototype.copy=function(e,n,r,i){if(r||(r=0),i||0===i||(i=this.length),n>=e.length&&(n=e.length),n||(n=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(n<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("sourceStart out of bounds");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-n<i-r&&(i=e.length-n+r);var o,a=i-r;if(this===e&&r<n&&n<i)for(o=a-1;o>=0;--o)e[o+n]=this[o+r];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+n]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),n);return a},c.prototype.fill=function(e,n,r,i){if("string"==typeof e){if("string"==typeof n?(i=n,n=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),1===e.length){var o,a=e.charCodeAt(0);a<256&&(e=a)}if(void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!c.isEncoding(i))throw TypeError("Unknown encoding: "+i)}else"number"==typeof e&&(e&=255);if(n<0||this.length<n||this.length<r)throw RangeError("Out of range index");if(r<=n)return this;if(n>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=n;o<r;++o)this[o]=e;
265else{var s=c.isBuffer(e)?e:T(new c(e,i).toString()),u=s.length;for(o=0;o<r-n;++o)this[o+n]=s[o%u]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function T(e,n){n=n||1/0;for(var r,i=e.length,o=null,a=[],s=0;s<i;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===i){(n-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(n-=3)>-1&&a.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(n-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((n-=1)<0)break;a.push(r)}else if(r<2048){if((n-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((n-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((n-=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 P(e){for(var n=[],r=0;r<e.length;++r)n.push(255&e.charCodeAt(r));return n}function O(e){return i.toByteArray(function(e){var n;if((e=((n=e).trim?n.trim():n.replace(/^\s+|\s+$/g,"")).replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,n,r,i){for(var o=0;o<i&&!(o+r>=n.length)&&!(o>=e.length);++o)n[o+r]=e[o];return o}},76489:function(e,n){"use strict";/*!
266 * cookie
267 * Copyright(c) 2012-2014 Roman Shtylman
268 * Copyright(c) 2015 Douglas Christopher Wilson
269 * MIT Licensed
270 */n.Q=function(e,n){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var i={},o=e.split(";"),a=(n||{}).decode||r,s=0;s<o.length;s++){var u=o[s],c=u.indexOf("=");if(!(c<0)){var l=u.substring(0,c).trim();if(void 0==i[l]){var f=u.substring(c+1,u.length).trim();'"'===f[0]&&(f=f.slice(1,-1)),i[l]=function(e,n){try{return n(e)}catch(n){return e}}(f,a)}}}return i},n.q=function(e,n,r){var a=r||{},s=a.encode||i;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var u=s(n);if(u&&!o.test(u))throw TypeError("argument val is invalid");var c=e+"="+u;if(null!=a.maxAge){var l=a.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(a.domain){if(!o.test(a.domain))throw TypeError("option domain is invalid");c+="; Domain="+a.domain}if(a.path){if(!o.test(a.path))throw TypeError("option path is invalid");c+="; Path="+a.path}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw TypeError("option expires is invali
270d");c+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(c+="; HttpOnly"),a.secure&&(c+="; Secure"),a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var r=decodeURIComponent,i=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},35202:function(){!function(){"use strict";function e(e){var n=!0,r=!1,i=null,o={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(e){return!!e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function u(e){n=!1}function c(){document.addEventListener("mousemove",l),document.addEventListener("mousedown",l),document.addEventListener("mouseup",l),document.addEventListener("pointermove",l),document.addEventListener("pointerdown",l),document.addEventListener("pointerup",l),document.addEventListener("touchmove",l),document.addEventListener("touchstart",l),document.addEventListener("touchend",l)}function l(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(n=!1,document.removeEventListener("mousemove",l),document.removeEventListener("mousedown",l),document.removeEventListener("mouseup",l),document.removeEventListener("pointermove",l),document.removeEventListener("pointerdown",l),document.removeEventListener("pointerup",l),document.removeEventListener("touchmove",l),document.removeEventListener("touchstart",l),document.removeEventListener("touchend",l))}document.addEventListener("keydown",function(r){r.metaKey||r.altKey||r.ctrlKey||(a(e.activeElement)&&s(e.activeElement),n=!0)},!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(r&&(n=!0),c())},!0),c(),e.addEventListener("focus",function(e){var r,i,u;a(e.target)&&(n||(i=(r=e.target).type,"INPUT"===(u=r.tagName)&&o[i]&&!r.readOnly||"TEXTAREA"===u&&!r.readOnly||r.isContentEditable))&&s(e.target)},!0),e.addEventListener("blur",function(e){if(a(e.target)){var n;(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(r=!0,window.clearTimeout(i),i=window.setTimeout(function(){r=!1},100),(n=e.target).hasAttribute("data-focus-visible-added")&&(n.classList.remove("focus-visible"),n.removeAttribute("data-focus-visible-added")))}},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var n;window.applyFocusVisiblePolyfill=e;try{n=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(n=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(n)}"undefined"!=typeof document&&e(document)}()},8679:function(e,n,r){"use strict";var i=r(59864),o={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},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return i.isMemo(e)?s:u[e.$$typeof]||o}u[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[i.Memo]=s;var l=Object.defineProperty,f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,r,i){if("string"!=typeof r){if(m){var o=p(r);o&&o!==m&&e(n,o,i)}var s=f(r);d&&(s=s.concat(d(r)));for(var u=c(n),g=c(r),v=0;v<s.length;++v){var y=s[v];if(!a[y]&&!(i&&i[y])&&!(g&&g[y])&&!(u&&u[y])){var b=h(r,y);try{l(n,y,b)}catch(e){}}}}return n}},80645:function(e,n){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */n.read=function(e,n,r,i,o){var a,s,u=8*o-i-1,c=(1<<u)-1,l=c>>1,f=-7,d=r?o-1:0,h=r?-1:1,p=e[n+d];for(d+=h,a=p&(1<<-f)-1,p>>=-f,f+=u;f>0;a=256*a+e[n+d],d+=h,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=i;f>0;s=256*s+e[n+d],d+=h,f-=8);if(0===a)a=1-l;else{if(a===c)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,i),a-=l}return(p?-1:1)*s*Math.pow(2,a-i)},n.write=function(e,n,r,i,o,a){var s,u,c,l=8*a-o-1,f=(1<<l)-1,d=f>>
2701,h=23===o?5960464477539062e-23:0,p=i?0:a-1,m=i?1:-1,g=n<0||0===n&&1/n<0?1:0;for(isNaN(n=Math.abs(n))||n===1/0?(u=isNaN(n)?1:0,s=f):(s=Math.floor(Math.log(n)/Math.LN2),n*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+d>=1?n+=h/c:n+=h*Math.pow(2,1-d),n*c>=2&&(s++,c/=2),s+d>=f?(u=0,s=f):s+d>=1?(u=(n*c-1)*Math.pow(2,o),s+=d):(u=n*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[r+p]=255&u,p+=m,u/=256,o-=8);for(s=s<<o|u,l+=o;l>0;e[r+p]=255&s,p+=m,s/=256,l-=8);e[r+p-m]|=128*g}},5826:function(e){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},38554:function(e,n,r){e=r.nmd(e);var i,o,a,s,u,c,l,f,d,h,p="__lodash_hash_undefined__",m="[object Arguments]",g="[object Function]",v="[object Object]",y=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[m]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object Boolean]"]=w["[object DataView]"]=w["[object Date]"]=w["[object Error]"]=w[g]=w["[object Map]"]=w["[object Number]"]=w[v]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object WeakMap]"]=!1;var S="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,_="object"==typeof self&&self&&self.Object===Object&&self,k=S||_||Function("return this")(),x=n&&!n.nodeType&&n,E=x&&e&&!e.nodeType&&e,C=E&&E.exports===x,A=C&&S.process,I=function(){try{var e=E&&E.require&&E.require("util").types;if(e)return e;return A&&A.binding&&A.binding("util")}catch(e){}}(),T=I&&I.isTypedArray,P=Array.prototype,O=Function.prototype,R=Object.prototype,D=k["__core-js_shared__"],M=O.toString,F=R.hasOwnProperty,N=(c=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",j=R.toString,U=M.call(Object),L=RegExp("^"+M.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=C?k.Buffer:void 0,V=k.Symbol,z=k.Uint8Array,q=B?B.allocUnsafe:void 0,$=(l=Object.getPrototypeOf,f=Object,function(e){return l(f(e))}),G=Object.create,W=R.propertyIsEnumerable,H=P.splice,Q=V?V.toStringTag:void 0,K=function(){try{var e=eh(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Z=B?B.isBuffer:void 0,J=Math.max,Y=Date.now,X=eh(k,"Map"),ee=eh(Object,"create"),et=function(){function e(){}return function(n){if(!eE(n))return{};if(G)return G(n);e.prototype=n;var r=new e;return e.prototype=void 0,r}}();function en(e){var n=-1,r=null==e?0:e.length;for(this.clear();++n<r;){var i=e[n];this.set(i[0],i[1])}}function er(e){var n=-1,r=null==e?0:e.length;for(this.clear();++n<r;){var i=e[n];this.set(i[0],i[1])}}function ei(e){var n=-1,r=null==e?0:e.length;for(this.clear();++n<r;){var i=e[n];this.set(i[0],i[1])}}function eo(e){var n=this.__data__=new er(e);this.size=n.size}function ea(e,n,r){(void 0===r||ey(e[n],r))&&(void 0!==r||n in e)||eu(e,n,r)}function es(e,n){for(var r=e.length;r--;)if(ey(e[r][0],n))return r;return -1}function eu(e,n,r){"__proto__"==n&&K?K(e,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[n]=r}en.prototype.clear=function(){this.__data__=ee?ee(null):{},this.size=0},en.prototype.delete=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n},en.prototype.get=function(e){var n=this.__data__;if(ee){var r=n[e];return r===p?void 0:r}return F.call(n,e)?n[e]:void 0},en.prototype.has=function(e){var n=this.__data__;return ee?void 0!==n[e]:F.call(n,e)},en.prototype.set=function(e,n){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ee&&void 0===n?p:n,this},er.prototype.clear=function(){this.__data__=[],this.size=0},er.prototype.delete=function(e){var n=this.__data__,r=es(n,e);return!(r<0)&&(r==n.length-1?n.pop():H.call(n,r,1),--this.size,!0)},er.prototype.get=function(e){var n=this.__data__,r=es(n,e);return r<0?void 0:n[r][1]},er.prototype.has=function(e){return es(this.__data__,e)>-1},er.prototype.set=function(e,n){var r=this.__data__,i=es(r,e);return i<0?(++this.size,r.push([e,n])):r[i][1]=n,this},ei.prototype.clear=function(){this.size=0,this.__data__={hash:new en,map:new(X||er),string:new en}},ei.prototype.delete=function(e){var n=ed(this,e).delete(e);return this.size-=n?1:0,n},ei.prototype.get=function(e){return ed(this,e).get(e)},ei.prototype.has=function(e){return ed(this,e).has(e)},ei.prototype.set=function(e,n){var r=ed(this,e),i=r.size;return r.set(e,n),this.size+=r.size==i?0:1,this},eo.prototype.clear=function(){this.__data__=new er,this.size=0},eo.prototype.delete=function(e){var n=this.__data__,r=n.delete(e);return this.size=n.size,r},eo.prototype.get=function(e){return this.__data__.get(e)},eo.prototype.has=function(e){return this.__data__.has(e)},eo.prototype.set=function(e,n){var r=this.__data__;if(r instanceof er){var i=r.__data__;if(!X||i.length<199)return i.push([e,n]),this.size=++r.size,this;r=this.__data__=new ei(i)}return r.set(e,n),this.size=r.size,this};var ec=function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[++i];if(!1===n(o[u],u,o))break}return e};
270function el(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Q&&Q in Object(e)?function(e){var n=F.call(e,Q),r=e[Q];try{e[Q]=void 0;var i=!0}catch(e){}var o=j.call(e);return i&&(n?e[Q]=r:delete e[Q]),o}(e):j.call(e)}function ef(e){return eC(e)&&el(e)==m}function ed(e,n){var r,i=e.__data__;return("string"==(r=typeof n)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof n?"string":"hash"]:i.map}function eh(e,n){var r=null==e?void 0:e[n];return!(!eE(r)||N&&N in r)&&(ek(r)?L:y).test(function(e){if(null!=e){try{return M.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(r))?r:void 0}function ep(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&b.test(e))&&e>-1&&e%1==0&&e<n}function em(e){var n=e&&e.constructor,r="function"==typeof n&&n.prototype||R;return e===r}function eg(e,n){if(("constructor"!==n||"function"!=typeof e[n])&&"__proto__"!=n)return e[n]}var ev=(i=K?function(e,n){return K(e,"toString",{configurable:!0,enumerable:!1,value:function(){return n},writable:!0})}:eP,o=0,a=0,function(){var e=Y(),n=16-(e-a);if(a=e,n>0){if(++o>=800)return arguments[0]}else o=0;return i.apply(void 0,arguments)});function ey(e,n){return e===n||e!=e&&n!=n}var eb=ef(function(){return arguments}())?ef:function(e){return eC(e)&&F.call(e,"callee")&&!W.call(e,"callee")},ew=Array.isArray;function eS(e){return null!=e&&ex(e.length)&&!ek(e)}var e_=Z||function(){return!1};function ek(e){if(!eE(e))return!1;var n=el(e);return n==g||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}function ex(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function eE(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}function eC(e){return null!=e&&"object"==typeof e}var eA=T?function(e){return T(e)}:function(e){return eC(e)&&ex(e.length)&&!!w[el(e)]};function eI(e){return eS(e)?function(e,n){var r=ew(e),i=!r&&eb(e),o=!r&&!i&&e_(e),a=!r&&!i&&!o&&eA(e),s=r||i||o||a,u=s?function(e,n){for(var r=-1,i=Array(e);++r<e;)i[r]=n(r);return i}(e.length,String):[],c=u.length;for(var l in e)(n||F.call(e,l))&&!(s&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ep(l,c)))&&u.push(l);return u}(e,!0):function(e){if(!eE(e))return function(e){var n=[];if(null!=e)for(var r in Object(e))n.push(r);return n}(e);var n=em(e),r=[];for(var i in e)"constructor"==i&&(n||!F.call(e,i))||r.push(i);return r}(e)}var eT=(d=function(e,n,r,i){!function e(n,r,i,o,a){n!==r&&ec(r,function(s,u){if(a||(a=new eo),eE(s))(function(e,n,r,i,o,a,s){var u=eg(e,r),c=eg(n,r),l=s.get(c);if(l){ea(e,r,l);return}var f=a?a(u,c,r+"",e,n,s):void 0,d=void 0===f;if(d){var h,p,m=ew(c),g=!m&&e_(c),y=!m&&!g&&eA(c);f=c,m||g||y?ew(u)?f=u:eC(u)&&eS(u)?f=function(e,n){var r=-1,i=e.length;for(n||(n=Array(i));++r<i;)n[r]=e[r];return n}(u):g?(d=!1,f=function(e,n){if(n)return e.slice();var r=e.length,i=q?q(r):new e.constructor(r);return e.copy(i),i}(c,!0)):y?(d=!1,p=new(h=c.buffer).constructor(h.byteLength),new z(p).set(new z(h)),f=new c.constructor(p,c.byteOffset,c.length)):f=[]:function(e){if(!eC(e)||el(e)!=v)return!1;var n=$(e);if(null===n)return!0;var r=F.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&M.call(r)==U}(c)||eb(c)?(f=u,eb(u)?f=function(e,n,r,i){var o=!r;r||(r={});for(var a=-1,s=n.length;++a<s;){var u=n[a],c=i?i(r[u],e[u],u,r,e):void 0;void 0===c&&(c=e[u]),o?eu(r,u,c):function(e,n,r){var i=e[n];F.call(e,n)&&ey(i,r)&&(void 0!==r||n in e)||eu(e,n,r)}(r,u,c)}return r}(u,eI(u)):(!eE(u)||ek(u))&&(f="function"!=typeof c.constructor||em(c)?{}:et($(c)))):d=!1}d&&(s.set(c,f),o(f,c,i,a,s),s.delete(c)),ea(e,r,f)})(n,r,u,i,e,o,a);else{var c=o?o(eg(n,u),s,u+"",n,r,a):void 0;void 0===c&&(c=s),ea(n,u,c)}},eI)}(e,n,r,i)},ev((s=h=function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=d.length>3&&"function"==typeof o?(i--,o):void 0,a&&function(e,n,r){if(!eE(r))return!1;var i=typeof n;return("number"==i?!!(eS(r)&&ep(n,r.length)):"string"==i&&(n in r))&&ey(r[n],e)}(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var s=n[r];s&&d(e,s,r,o)}return e},u=J((u=void 0,s.length-1),0),function(){for(var e=arguments,n=-1,r=J(e.length-u,0),i=Array(r);++n<r;)i[n]=e[u+n];n=-1;for(var o=Array(u+1);++n<u;)o[n]=e[n];return o[u]=eP(i),function(e,n,r){switch(r.length){case 0:return e.call(n);case 1:return e.call(n,r[0]);case 2:return e.call(n,r[0],r[1]);case 3:return e.call(n,r[0],r[1],r[2])}return e.apply(n,r)}(s,this,o)}),h+""));function eP(e){return e}e.exports=eT},2962:function(e,n,r){"use strict";r.d(n,{Mg:function(){return E},PB:function(){return m},lX:function(){return p}});var i=r(67294),o=r(9008),a=r.n(o);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}function u(e,n){if(null==e)return{};var r,i,o={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],n.indexOf(r)>=0||(o[r]=e[r]);return o}var c=["keyOverride"],l={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGra
270phImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},f=function(e,n,r){void 0===n&&(n=[]);var o=void 0===r?{}:r,a=o.defaultWidth,s=o.defaultHeight;return n.reduce(function(n,r,o){return n.push(i.createElement("meta",{key:"og:"+e+":0"+o,property:"og:"+e,content:r.url})),r.alt&&n.push(i.createElement("meta",{key:"og:"+e+":alt0"+o,property:"og:"+e+":alt",content:r.alt})),r.secureUrl&&n.push(i.createElement("meta",{key:"og:"+e+":secure_url0"+o,property:"og:"+e+":secure_url",content:r.secureUrl.toString()})),r.type&&n.push(i.createElement("meta",{key:"og:"+e+":type0"+o,property:"og:"+e+":type",content:r.type.toString()})),r.width?n.push(i.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:r.width.toString()})):a&&n.push(i.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:a.toString()})),r.height?n.push(i.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:r.height.toString()})):s&&n.push(i.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:s.toString()})),n},[])},d=function(e){var n,r,o,a,d,h=[];e.titleTemplate&&(l.templateTitle=e.titleTemplate);var p="";e.title?(p=e.title,l.templateTitle&&(p=l.templateTitle.replace(/%s/g,function(){return p}))):e.defaultTitle&&(p=e.defaultTitle),p&&h.push(i.createElement("title",{key:"title"},p));var m=e.noindex||l.noindex||e.dangerouslySetAllPagesToNoIndex,g=e.nofollow||l.nofollow||e.dangerouslySetAllPagesToNoFollow,v="";if(e.robotsProps){var y=e.robotsProps,b=y.nosnippet,w=y.maxSnippet,S=y.maxImagePreview,_=y.maxVideoPreview,k=y.noarchive,x=y.noimageindex,E=y.notranslate,C=y.unavailableAfter;v=(b?",nosnippet":"")+(w?",max-snippet:"+w:"")+(S?",max-image-preview:"+S:"")+(k?",noarchive":"")+(C?",unavailable_after:"+C:"")+(x?",noimageindex":"")+(_?",max-video-preview:"+_:"")+(E?",notranslate":"")}if(m||g?(e.dangerouslySetAllPagesToNoIndex&&(l.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(l.nofollow=!0),h.push(i.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+v}))):h.push(i.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+v})),e.description&&h.push(i.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&h.push(i.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&h.push(i.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){h.push(i.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&h.push(i.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&h.push(i.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&h.push(i.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&h.push(i.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(n=e.openGraph)&&n.title||p)&&h.push(i.createElement("meta",{key:"og:title",property:"og:title",content:(null==(a=e.openGraph)?void 0:a.title)||p})),(null!=(r=e.openGraph)&&r.description||e.description)&&h.push(i.createElement("meta",{key:"og:description",property:"og:description",content:(null==(d=e.openGraph)?void 0:d.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&h.push(i.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var A=e.openGraph.type.toLowerCase();h.push(i.createElement("meta",{key:"og:type",property:"og:type",content:A})),"profile"===A&&e.openGraph.profile?(e.openGraph.profile.firstName&&h.push(i.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&h.push(i.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&h.push(i.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&h.push(i.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===A&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEac
270h(function(e,n){h.push(i.createElement("meta",{key:"book:author:0"+n,property:"book:author",content:e}))}),e.openGraph.book.isbn&&h.push(i.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&h.push(i.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,n){h.push(i.createElement("meta",{key:"book:tag:0"+n,property:"book:tag",content:e}))})):"article"===A&&e.openGraph.article?(e.openGraph.article.publishedTime&&h.push(i.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&h.push(i.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&h.push(i.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,n){h.push(i.createElement("meta",{key:"article:author:0"+n,property:"article:author",content:e}))}),e.openGraph.article.section&&h.push(i.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,n){h.push(i.createElement("meta",{key:"article:tag:0"+n,property:"article:tag",content:e}))})):("video.movie"===A||"video.episode"===A||"video.tv_show"===A||"video.other"===A)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,n){e.profile&&h.push(i.createElement("meta",{key:"video:actor:0"+n,property:"video:actor",content:e.profile})),e.role&&h.push(i.createElement("meta",{key:"video:actor:role:0"+n,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,n){h.push(i.createElement("meta",{key:"video:director:0"+n,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,n){h.push(i.createElement("meta",{key:"video:writer:0"+n,property:"video:writer",content:e}))}),e.openGraph.video.duration&&h.push(i.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&h.push(i.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
270h(function(e,n){h.push(i.createElement("meta",{key:"video:tag:0"+n,property:"video:tag",content:e}))}),e.openGraph.video.series&&h.push(i.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(l.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(l.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&h.push.apply(h,f("image",e.openGraph.images,{defaultWidth:l.defaultOpenGraphImageWidth,defaultHeight:l.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(l.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(l.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&h.push.apply(h,f("video",e.openGraph.videos,{defaultWidth:l.defaultOpenGraphVideoWidth,defaultHeight:l.defaultOpenGraphVideoHeight})),e.openGraph.audio&&h.push.apply(h,f("audio",e.openGraph.audio)),e.openGraph.locale&&h.push(i.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&h.push(i.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&h.push(i.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var n,r,o=e.keyOverride,a=u(e,c);h.push(i.createElement("meta",s({key:"meta:"+(null!=(n=null!=(r=null!=o?o:a.name)?r:a.property)?n:a.httpEquiv)},a)))}),null!=(o=e.additionalLinkTags)&&o.length&&e.additionalLinkTags.forEach(function(e){var n;h.push(i.createElement("link",s({key:"link"+(null!=(n=e.keyOverride)?n:e.href)+e.rel},e)))}),h},h=function(e){return i.createElement(a(),null,d(e))},p=function(e){var n=e.title,r=e.titleTemplate,o=e.defaultTitle,a=e.themeColor,s=e.dangerouslySetAllPagesToNoIndex,u=e.dangerouslySetAllPagesToNoFollow,c=e.description,l=e.canonical,f=e.facebook,d=e.openGraph,p=e.additionalMetaTags,m=e.twitter,g=e.defaultOpenGraphImageWidth,v=e.defaultOpenGraphImageHeight,y=e.defaultOpenGraphVideoWidth,b=e.defaultOpenGraphVideoHeight,w=e.mobileAlternate,S=e.languageAlternates,_=e.additionalLinkTags,k=e.robotsProps;return i.createElement(h,{title:n,titleTemplate:r,defaultTitle:o,themeColor:a,dangerouslySetAllPagesToNoIndex:void 0!==s&&s,dangerouslySetAllPagesToNoFollow:void 0!==u&&u,description:c,canonical:l,facebook:f,openGraph:d,additionalMetaTags:p,twitter:m,defaultOpenGraphImageWidth:g,defaultOpenGraphImageHeight:v,defaultOpenGraphVideoWidth:y,defaultOpenGraphVideoHeight:b,mobileAlternate:w,languageAlternates:S,additionalLinkTags:_,robotsProps:k})},m=function(e){var n=e.title,r=e.themeColor,o=e.noindex,a=void 0!==o&&o,s=e.nofollow,u=e.robotsProps,c=e.description,l=e.canonical,f=e.openGraph,p=e.facebook,m=e.twitter,g=e.additionalMetaTags,v=e.titleTemplate,y=e.defaultTitle,b=e.mobileAlternate,w=e.languageAlternates,S=e.additionalLinkTags,_=e.useAppDir;return i.createElement(i.Fragment,null,void 0!==_&&_?d({title:n,themeColor:r,noindex:a,nofollow:s,robotsProps:u,description:c,canonical:l,facebook:p,openGraph:f,additionalMetaTags:g,twitter:m,titleTemplate:v,defaultTitle:y,mobileAlternate:b,languageAlternates:w,additionalLinkTags:S}):i.createElement(h,{title:n,themeColor:r,noindex:a,nofollow:s,robotsProps:u,description:c,canonical:l,facebook:p,openGraph:f,additionalMetaTags:g,twitter:m,titleTemplate:v,defaultTitle:y,mobileAlternate:b,languageAlternates:w,additionalLinkTags:S}))},g=function(e,n){var r=n;return Array.isArray(r)&&1===r.length&&(r=s({},n[0])),{__html:JSON.stringify(Array.isArray(r)?r.map(function(n){return v(e,n)}):v(e,r),S)}},v=function(e,n){var r=n.id,i=s({},(void 0===r?void 0:r)?{"@id":n.id}:{},n);return delete i.id,s({"@context":"https://schema.org","@type":e},i)},y=Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"}),b=RegExp("["+Object.keys(y).join("")+"]","g"),w=function(e){return y[e]},S=function(e,n){switch(typeof n){case"object":if(null===n)return;return n;case"number":case"boolean":case"bigint":return n;case"string":return n.replace(b,w);default:return}},_=["type","keyOverride","scriptKey","scriptId","dataArray","useAppDir"];function k(e){var n=e.type,r=void 0===n?"Thing":n,o=e.keyOverride,c=e.scriptKey,l=e.scriptId,f=void 0===l?void 0:l,d=e.dataArray,h=e.useAppDir,p=u(e,_),m=function(){return i.createElement("script",{type:"application/ld+json",id:f,"data-testid":f,dangerouslySetInnerHTML:g(r,void 0===d?s({},p):d),key:"jsonld-"+c+(o?"-"+o:"")})};return void 0!==h&&h?i.createElement(m,null):i.createElement(a(),null,m())}var x=["type","keyOverride","mainEntity"];function E(e){var n=e.type,r=e.keyOverride,o=e.mainEntity,a=s({},u(e,x),{mainEntity:function(e){if(e&&e.length)return e.map(function(e){return{"@type":"Question",name:e.questionName,acceptedA
270nswer:{"@type":"Answer",text:e.acceptedAnswerText}}})}(o)});return i.createElement(k,s({type:void 0===n?"FAQPage":n,keyOverride:r},a,{scriptKey:"faq-page"}))}},63144:function(e){"use strict";let n=self.fetch.bind(self);e.exports=n,e.exports.default=e.exports},83454:function(e,n,r){"use strict";var i,o;e.exports=(null==(i=r.g.process)?void 0:i.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(77663)},6840:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(10425)}])},40994:function(e,n,r){"use strict";r.d(n,{Ho:function(){return m},aC:function(){return g}});var i=r(85893),o=r(83330),a=r(71672),s=r(67294),u=r(4119),c=r(59443);class l{constructor(e,n){this.cognitoUser=e;let r=this.cognitoUser.attributes;this.id=r.sub,this.email=r.email,this.identityID=n,this.username=this.cognitoUser.getUsername()}}let f=async e=>{let n=await o.g.currentUserCredentials();return new l(e,n.identityId)},d=()=>{let[e,n]=(0,s.useState)(!0),[r,i]=(0,s.useState)(),[l,d]=(0,s.useState)(),[h]=(0,c.QfQ)(),[p]=(0,c.bDG)();(0,s.useEffect)(()=>{"prod"!==u.c.env&&console.log(r)},[r]),(0,s.useEffect)(()=>{let e=async()=>{try{let e=await o.g.currentUserPoolUser();i(await f(e))}catch(e){await p()}n(!1)};e()},[!0]);let m=(0,s.useCallback)(async e=>{n(!0);try{await o.g.signUp({username:e.email,password:e.password,attributes:{email:e.email}}),d(e);return}catch(e){throw console.error(e),e}finally{n(!1)}},[]),g=(0,s.useCallback)(async e=>{n(!0);try{let n=await o.g.signIn(e.email,e.password),r=await f(n);return i(r),r}catch(n){throw d(e),console.error(n),n}finally{n(!1)}},[]),v=(0,s.useCallback)(async e=>{if(!l)throw Error("パラメータがありません。再度やり直してください。");await o.g.confirmSignUp(l.email,e.code),await g(l)},[l]),y=(0,s.useCallback)(async e=>{n(!0);try{switch(e){case"google":await o.g.federatedSignIn({provider:a.JG.Google});break;case"facebook":await o.g.federatedSignIn({provider:a.JG.Facebook})}}catch(e){throw console.error(e),e}finally{n(!1)}},[]),b=(0,s.useCallback)(async e=>{var n,r;let a=await h({variables:{newEmail:e}}),s=null===(n=a.data)||void 0===n?void 0:null===(r=n.updateEmailAddress)||void 0===r?void 0:r.errorCode;if(!s){let e=await o.g.currentUserPoolUser({bypassCache:!0});i(await f(e))}return s},[]),w=(0,s.useCallback)(async()=>{n(!0);try{await o.g.signOut(),i(void 0)}catch(e){throw console.error(e),e}finally{n(!1)}},[]),S=(0,s.useCallback)(async e=>{await o.g.forgotPassword(e)},[]),_=(0,s.useCallback)(async e=>{let{email:n,code:r,newPassword:i}=e;await o.g.forgotPasswordSubmit(n,r,i)},[]),k=(0,s.useCallback)(async e=>{let{currentPassword:n,newPassword:r}=e,i=await o.g.currentAuthenticatedUser();await o.g.changePassword(i,n,r)},[]);return{loading:e,user:r,signUpWithEmailAndPassword:m,signInWithEmailAndPassword:g,confirmSignUp:v,socialSignIn:y,updateEmail:b,resetPassword:S,resetAndRenewPassword:_,updatePassword:k,signOut:w}},h=()=>{throw Error("You forgot to wrap your component in <AuthProvider>.")},p=(0,s.createContext)({loading:!0,signUpWithEmailAndPassword:h,signInWithEmailAndPassword:h,confirmSignUp:h,socialSignIn:h,updateEmail:h,resetPassword:h,resetAndRenewPassword:h,updatePassword:h,signOut:h}),m=e=>{let{children:n}=e,r=d();return(0,i.jsx)(p.Provider,{value:r,children:n})},g=()=>(0,s.useContext)(p)},72721:function(e,n,r){"use strict";r.d(n,{mC:function(){return h},me:function(){return d},wn:function(){return l}});var i=r(85893),o=r(67294);let a=()=>{throw Error()},s={loading:!0,isLoyaltyUser:!1},u=(0,o.createContext)({...s}),c=(0,o.createContext)({update:a}),l=e=>{let{children:n}=e,{state:r,dispatcher:o}=f();return(0,i.jsx)(u.Provider,{value:r,children:(0,i.jsx)(c.Provider,{value:o,children:n})})},f=()=>{let[e,n]=(0,o.useState)({...s}),r=(0,o.useCallback)(e=>{n({loading:!1,isLoyaltyUser:e})},[]);return{state:e,dispatcher:{update:r}}},d=()=>(0,o.useContext)(u),h=()=>(0,o.useContext)(c)},4119:function(e,n,r){"use strict";r.d(n,{c:function(){return i}});let i={env:"prod",host:"https://mecre.net",apiHost:"https://api.mecre.net",aws:{cognitoUserPoolID:"ap-northeast-1_8dcx9ZXEZ",cognitoClientID:"nirihij5ase69n8te6vq5csr4",cognitoIdentityPoolID:"ap-northeast-1:81321b03-1bdf-4bc3-a36f-5f03f23caf42",cognitoDomain:"auth.mecre.net",s3BucketName:"prod-mecre-media"}}},59443:function(e,n,r){"use strict";r.d(n,{WkZ:function(){return T},OyI:function(){return O},Tav:function(){return rc},bX:function(){return R},TBN:function(){return D},N9t:function(){return j},PLE:function(){return U},e1A:function(){return L},S2$:function(){return B},mfg:function(){return rM},Zdf:function(){return V},bAK:function(){return z},m$h:function(){return q},ZqB:function(){return $},$sL:function(){return G},MW$:function(){return W},WvP:function(){return Q},xzm:function(){return nQ},N6$:function(){return nZ},bDG:function(){return ne},CYV:function(){return nY},vvD:function(){return nn},Leq:function(){return ni},e91:function(){return n2},lhn:function(){return n3},VCf:function(){return n0},D2k:function(){return n6},ccx:function(){return re},GLq:function(){return n9},oEE:function(){return nu},fpI:function(){return rn},ZA0:function(){return ri},dBS:function(){return ra},jsp:function(){return ru},f4e:function(){return rf},soE:function(){return nl},hI5:function(){return nd},IF$:function(){return na},D9M:function(){return rh},DxU:function(){return np},Ycz:function(){return rm},rmB:function(){return ng},hiw:function(){return nw},rCD:function(){return ny},SIx:function(){return rv},kYP:function(){return rb},xfC:function(){return rS},AHt:function(){return rk},sZG:function(){return rE},sRJ:function(){return n_},dqg:function(){return nx},yKY:function(){return nC},R52:function(){return rA},eDg:function(){return rT},FUo:function(){return rO},ych:function(){return rD},U2:function(){return nI},jZP:function(){return nP},IA9:function(){return nR},f0T:function(){return nM},mtt:function(){return nN},hS0:function(){return nU},ajG:function(){return nB},eN4:function(){return nz},aLV:function(){return rF},fko:function(){return rj},CHm:function(){return rL},QfQ:function(){return n$},UZc:function(){return nW}});var i,o,a,s,u,c,l,f,d,h,p,m,g,v,y,b,w,S,_,k,x,E,C,A,I,T,P,O,R,D,M,F,N,j,U,L,B,V,z,q,$,G,W,H,Q,K=r(7297),Z=r(70655),J=r(90603),Y=new Map,X=new Map,ee=!0,et=!1;function en(e){return e.replace(/[\s,]+/g," ").trim()}function er(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var i=e[0];
270return n.forEach(function(n,r){n&&"Document"===n.kind?i+=n.loc.source.body:i+=n,i+=e[r+1]}),function(e){var n=en(e);if(!Y.has(n)){var r,i,o,a,s,u=(0,J.Qc)(e,{experimentalFragmentVariables:et,allowLegacyFragmentVariables:et});if(!u||"Document"!==u.kind)throw Error("Not a valid GraphQL document.");Y.set(n,(r=new Set,i=[],u.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var n,o=e.name.value,a=en((n=e.loc).source.body.substring(n.start,n.end)),s=X.get(o);s&&!s.has(a)?ee&&console.warn("Warning: fragment with name "+o+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||X.set(o,s=new Set),s.add(a),r.has(a)||(r.add(a),i.push(e))}else i.push(e)}),o=(0,Z.pi)((0,Z.pi)({},u),{definitions:i}),(a=new Set(o.definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var r=e[n];r&&"object"==typeof r&&a.add(r)})}),(s=o.loc)&&(delete s.startToken,delete s.endToken),o))}return Y.get(n)}(i)}var ei={gql:er,resetCaches:function(){Y.clear(),X.clear()},disableFragmentWarnings:function(){ee=!1},enableExperimentalFragmentVariables:function(){et=!0},disableExperimentalFragmentVariables:function(){et=!1}};(i=er||(er={})).gql=ei.gql,i.resetCaches=ei.resetCaches,i.disableFragmentWarnings=ei.disableFragmentWarnings,i.enableExperimentalFragmentVariables=ei.enableExperimentalFragmentVariables,i.disableExperimentalFragmentVariables=ei.disableExperimentalFragmentVariables,er.default=er;var eo=r(67294),ea=r.t(eo,2),es=r(14012),eu=r(82152),ec=r(13917);(o=A||(A={}))[o.Query=0]="Query",o[o.Mutation=1]="Mutation",o[o.Subscription=2]="Subscription";var el=new Map;function ef(e){var n;switch(e){case A.Query:n="Query";break;case A.Mutation:n="Mutation";break;case A.Subscription:n="Subscription"}return n}function ed(e,n){var r=function(e){var n,r,i=el.get(e);if(i)return i;__DEV__?(0,ec.kG)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,ec.kG)(!!e&&!!e.kind,33);for(var o=[],a=[],s=[],u=[],c=0,l=e.definitions;c<l.length;c++){var f=l[c];if("FragmentDefinition"===f.kind){o.push(f);continue}if("OperationDefinition"===f.kind)switch(f.operation){case"query":a.push(f);break;case"mutation":s.push(f);break;case"subscription":u.push(f)}}__DEV__?(0,ec.kG)(!o.length||a.length||s.length||u.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,ec.kG)(!o.length||a.length||s.length||u.length,34),__DEV__?(0,ec.kG)(a.length+s.length+u.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(a.length," queries, ").concat(u.length," ")+"subscriptions and ".concat(s.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,ec.kG)(a.length+s.length+u.length<=1,35),r=a.length?A.Query:A.Mutation,a.length||s.length||(r=A.Subscription);var d=a.length?a:s.length?s:u;__DEV__?(0,ec.kG)(1===d.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(d.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,ec.kG)(1===d.length,36);var h=d[0];n=h.variableDefinitions||[];var p={name:h.name&&"Name"===h.name.kind?h.name.value:"data",type:r,variables:n};return el.set(e,p),p}(e),i=ef(n),o=ef(r.type);__DEV__?(0,ec.kG)(r.type===n,"Running a ".concat(i," requires a graphql ")+"".concat(i,", but a ").concat(o," was used instead.")):(0,ec.kG)(r.type===n,37)}var eh=r(30990),ep=r(85317);function em(e){var n=(0,eo.useContext)((0,ep.K)()),r=e||n.client;return __DEV__?(0,ec.kG)(!!r,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,ec.kG)(!!r,32),r}function eg(e,n){var r=em(null==n?void 0:n.client);ed(e,A.Mutation);var i=(0,eo.useState)({called:!1,loading:!1,client:r}),o=i[0],a=i[1],s=(0,eo.useRef)({result:o,mutationId:0,isMounted:!0,client:r,mutation:e,options:n});Object.assign(s.current,{client:r,options:n,mutation:e});var u=(0,eo.useCallback)(function(e){void 0===e&&(e={});var n=s.current,r=n.client,i=n.options,o=n.mutation,u=(0,Z.pi)((0,Z.pi)({},i),{mutation:o});s.current.result.loading||u.ignoreResults||!s.current.isMounted||a(s.
270current.result={loading:!0,error:void 0,data:void 0,called:!0,client:r});var c=++s.current.mutationId,l=(0,es.J)(u,e);return r.mutate(l).then(function(n){var i,o=n.data,u=n.errors,f=u&&u.length>0?new eh.c({graphQLErrors:u}):void 0;if(c===s.current.mutationId&&!l.ignoreResults){var d={called:!0,loading:!1,data:o,error:f,client:r};s.current.isMounted&&!(0,eu.D)(s.current.result,d)&&a(s.current.result=d)}var h=e.onCompleted||(null===(i=s.current.options)||void 0===i?void 0:i.onCompleted);return null==h||h(n.data,l),n}).catch(function(n){if(c===s.current.mutationId&&s.current.isMounted){var i,o={loading:!1,error:n,data:void 0,called:!0,client:r};(0,eu.D)(s.current.result,o)||a(s.current.result=o)}var u=e.onError||(null===(i=s.current.options)||void 0===i?void 0:i.onError);if(u)return u(n,l),{data:void 0,errors:n};throw n})},[]),c=(0,eo.useCallback)(function(){s.current.isMounted&&a({called:!1,loading:!1,client:r})},[]);return(0,eo.useEffect)(function(){return s.current.isMounted=!0,function(){s.current.isMounted=!1}},[]),[u,(0,Z.pi)({reset:c},o)]}var ev=r(30320),ey=!1,eb=ea.useSyncExternalStore||function(e,n,r){var i=n();__DEV__&&!ey&&i!==n()&&(ey=!0,__DEV__&&ec.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var o=eo.useState({inst:{value:i,getSnapshot:n}}),a=o[0].inst,s=o[1];return ev.JC?eo.useLayoutEffect(function(){Object.assign(a,{value:i,getSnapshot:n}),ew(a)&&s({inst:a})},[e,i,n]):Object.assign(a,{value:i,getSnapshot:n}),eo.useEffect(function(){return ew(a)&&s({inst:a}),e(function(){ew(a)&&s({inst:a})})},[e]),i};function ew(e){var n=e.value,r=e.getSnapshot;try{return n!==r()}catch(e){return!0}}var eS=r(1644),e_=r(48702),ek=r(53712),ex=r(21436),eE=Object.prototype.hasOwnProperty;function eC(e,n){return void 0===n&&(n=Object.create(null)),eA(em(n.client),e).useQuery(n)}function eA(e,n){var r=(0,eo.useRef)();r.current&&e===r.current.client&&n===r.current.query||(r.current=new eI(e,n,r.current));var i=r.current,o=(0,eo.useState)(0),a=(o[0],o[1]);return i.forceUpdate=function(){a(function(e){return e+1})},i}var eI=function(){function e(e,n,r){this.client=e,this.query=n,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(ev.sy?WeakSet:Set),this.ssrDisabledResult=(0,e_.J)({loading:!0,data:void 0,error:void 0,networkStatus:eS.I.loading}),this.skipStandbyResult=(0,e_.J)({loading:!1,data:void 0,error:void 0,networkStatus:eS.I.ready}),this.toQueryResultCache=new(ev.mr?WeakMap:Map),ed(n,A.Query);var i=r&&r.result,o=i&&i.data;o&&(this.previousData=o)}return e.prototype.forceUpdate=function(){__DEV__&&ec.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.asyncUpdate=function(e){var n=this;return new Promise(function(r,i){var o=n.watchQueryOptions,a=function(){n.asyncResolveFns.delete(r),n.optionsToIgnoreOnce.delete(o),e.removeEventListener("abort",a),i(e.reason)};n.asyncResolveFns.add(r),n.optionsToIgnoreOnce.add(o),e.addEventListener("abort",a),n.forceUpdate()})},e.prototype.useQuery=function(e){var n=this;this.renderPromises=(0,eo.useContext)((0,ep.K)()).renderPromises,this.useOptions(e);var r=this.useObservableQuery(),i=eb((0,eo.useCallback)(function(){if(n.renderPromises)return function(){};var e=function(){var e=n.result,i=r.getCurrentResult();e&&e.loading===i.loading&&e.networkStatus===i.networkStatus&&(0,eu.D)(e.data,i.data)||n.setResult(i)},i=function(a){var s=r.last;o.unsubscribe();try{r.resetLastResults(),o=r.subscribe(e,i)}finally{r.last=s}if(!eE.call(a,"graphQLErrors"))throw a;var u=n.result;(!u||u&&u.loading||!(0,eu.D)(a,u.error))&&n.setResult({data:u&&u.data,error:a,loading:!1,networkStatus:eS.I.error})},o=r.subscribe(e,i);return function(){return o.unsubscribe()}},[r,this.renderPromises,this.client.disableNetworkFetches]),function(){return n.getCurrentResult()},function(){return n.getCurrentResult()});this.unsafeHandlePartialRefetch(i);var o=this.toQueryResult(i);return!o.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach(function(e){return e(o)}),this.asyncResolveFns.clear()),o},e.prototype.useOptions=function(n){var r,i=this.createWatchQueryOptions(this.queryHookOptions=n),o=this.watchQueryOptions;(this.optionsToIgnoreOnce.has(o)||!(0,eu.D)(i,o))&&(this.watchQueryOptions=i,o&&this.observable&&(this.optionsToIgnoreOnce.delete(o),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=n.onCompleted||e.prototype.onCompleted,this.onError=n.onError||e.prototype.onError,(this.renderPromises||this.client.disableNetworkFetches)&&!1===this.queryHookOptions.ssr&&!this.queryHookOptions.skip?this.result=this.ssrDisabledResult:this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:(this.result===this.ssrDisabledResult||this.result===this.skipStandbyResult)&&(this.result=void 0)},e.prototype.getObsQueryOptions=function(){var e=[],n=this.client.defaultOptions.watchQuery;return n&&e.push(n),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,ek.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(es.J)},e.prototype.createWatchQueryOptions=function(e){void 0===e&&(e={});var n,r=e.skip,i=Object.assign((e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,Z._T)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),{query:this.query});if(this.renderPromises&&("network-only"===i.fetchPolicy||"cache-and-network"===i.fetchPolicy)&&(i.fetchPolicy="cache-first"),i.variables||(i.variables={}),r){var o=i.fetchPolicy,a=void 0===o?this.getDefaultFetchPolicy():o,s=i.initialFetchPolicy;Object.assign(i,{initialFetchPolicy:void 0===s?a:s,fetchPolicy:"standby"})}else i.fetchPolicy||(i.fetchPolicy=(null===(n=this.observable)||void 0===n?void 0:n.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return i},e.prototype.getDefaultFetchPolicy=function(){var e,n;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(n=this.client.defaultOptions.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cac
270he-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,eo.useMemo)(function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[e]);var n=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&n&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var n=this.result;n&&n.data&&(this.previousData=n.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){var n=this;if(!e.loading){var r=this.toApolloError(e);Promise.resolve().then(function(){r?n.onError(r):e.data&&n.onCompleted(e.data)}).catch(function(e){__DEV__&&ec.kG.warn(e)})}},e.prototype.toApolloError=function(e){return(0,ex.O)(e.errors)?new eh.c({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var n=this.toQueryResultCache.get(e);if(n)return n;var r=e.data,i=(e.partial,(0,Z._T)(e,["data","partial"]));return this.toQueryResultCache.set(e,n=(0,Z.pi)((0,Z.pi)((0,Z.pi)({data:r},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!n.error&&(0,ex.O)(e.errors)&&(n.error=new eh.c({graphQLErrors:e.errors})),n},e.prototype.unsafeHandlePartialRefetch=function(e){e.partial&&this.queryHookOptions.partialRefetch&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==this.observable.options.fetchPolicy&&(Object.assign(e,{loading:!0,networkStatus:eS.I.refetch}),this.observable.refetch())},e}(),eT=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function eP(e,n){var r,i=(0,eo.useRef)(new Set),o=(0,eo.useRef)(),a=o.current?(0,es.J)(n,o.current):n,s=eA(em(n&&n.client),null!==(r=null==a?void 0:a.query)&&void 0!==r?r:e),u=s.useQuery((0,Z.pi)((0,Z.pi)({},a),{skip:!o.current})),c=u.observable.options.initialFetchPolicy||s.getDefaultFetchPolicy(),l=Object.assign(u,{called:!!o.current}),f=(0,eo.useMemo)(function(){for(var e={},n=0;n<eT.length;n++)!function(n){var r=l[n];e[n]=function(){return o.current||(o.current=Object.create(null),s.forceUpdate()),r.apply(this,arguments)}}(eT[n]);return e},[]);return Object.assign(l,f),(0,eo.useEffect)(function(){return function(){i.current.forEach(function(e){e.abort()})}},[]),[(0,eo.useCallback)(function(e){var n=new AbortController;i.current.add(n),o.current=e?(0,Z.pi)((0,Z.pi)({},e),{fetchPolicy:e.fetchPolicy||c}):{fetchPolicy:c};var r=s.asyncUpdate(n.signal).then(function(e){return i.current.delete(n),Object.assign(e,f)});return r.catch(function(){i.current.delete(n)}),r},[]),l]}function eO(){let e=(0,K.Z)(["\n    fragment ActivityItem on Activity {\n  id\n  data {\n    __typename\n    ... on ActivityApplicationCommentCreated {\n      recruitment {\n        id\n        title\n        thumbnail {\n          url\n        }\n        ownerCreator {\n          id\n          iconURL\n        }\n      }\n    }\n    ... on ActivityCollaborationEstablished {\n      recruitment {\n        id\n        title\n        thumbnail {\n          url\n        }\n        ownerCreator {\n          id\n          iconURL\n        }\n      }\n    }\n    ... on ActivityRecruitmentPublished {\n      recruitment {\n        id\n        title\n        thumbnail {\n          url\n        }\n        ownerCreator {\n          id\n          iconURL\n        }\n      }\n    }\n    ... on ActivityNewCreatorJoined {\n      creator {\n        id\n        name\n        iconURL\n      }\n    }\n  }\n}\n    "]);return eO=function(){return e},e}function eR(){let e=(0,K.Z)(["\n    fragment CollaborationWorkForCard on CollaborationWork {\n  id\n  title\n  releaseDate\n  description\n  thumbnailURL\n  collaborators {\n    id\n    iconURL\n  }\n  recruitment {\n    id\n    ownerCreatorID\n  }\n}\n    "]);return eR=function(){return e},e}function eD(){let e=(0,K.Z)(["\n    fragment CreativeItemForEdit on Creative {\n  __typename\n  ... on EmbedCreative {\n    embedFormat\n    url\n  }\n  ... on UploadedCreative {\n    title\n    uploadedFormat\n    uploadedURL\n    fileKey\n    thumbnailURL\n    thumbnailFileKey\n    errorCode\n  }\n}\n    "]);return eD=function(){return e},e}function eM(){let e=(0,K.Z)(["\n    fragment CollaborationWorkForEdit on CollaborationWork {\n  id\n  recruitmentID\n  title\n  releaseDate\n  description\n  link\n  contents {\n    ...CreativeItemForEdit\n  }\n  thumbnailPath\n  thumbnailURL\n}\n    ",""]);return eM=function(){return e},e}function eF(){let e=(0,K.Z)(["\n    fragment CollaboratorInCollaboWorkDetail on Creator {\n  id\n  name\n  iconURL\n  profileText\n  skills {\n    id\n    name\n  }\n}\n    "]);return eF=function(){return e},e}function eN(){let e=(0,K.Z)(["\n    fragment ReplyCommentItem on ReplyComment {\n  id\n  isMine\n  commentID\n  createdAt\n  sender {\n    id\n    name\n    iconURL\n    status\n  }\n  text\n  createdAt\n}\n    "]);return eN=function(){return e},e}function ej(){let e=(0,K.Z)(["\n    fragment CommentListItem on Comment {\n  id\n  text\n  isApplication\n  isLikedByOwner\n  isMine\n  createdAt\n  totalLikeCount\n  isLiked\n  skills {\n    id\n    name\n  }\n  sender {\n    id\n    name\n    iconURL\n    status\n    skills {\n      id\n      name\n      longName\n    }\n    isFollowing\n  }\n  replyComments(pagination: $replyPagination, order: $replyOrder) {\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      ...ReplyCommentItem\n    }\n  }\n}\n    ",""]);return ej=function(){return e},e}function eU(){let e=(0,K.Z)(["\n    fragment CommentForRecruitmentOwnerItem on CommentForRecruitmentOwner {\n  id\n  text\n  scoreByOwner\n  memoByOwner\n  sender {\n    id\n    name\n    iconURL\n  }\n  skills {\n    id\n    name\n  }\n}\n    "]);return eU=function(){return e},e}function eL(){let e=(0,K.Z)(["\n    fragment CreativeItem on Creative {\n  __typename\n  ... on EmbedCreative {\n    embedFormat\n    url\n  }\n  ... on UploadedCreative {\n    title\n    uploadedFormat\n    uploadedURL\n    thumbnailURL\n    errorCode\n  }\n}\n    "]);return eL=function(){return e},e}function eB(){let e=(0,K.Z)(["\n    fragment CreatorLinkItem on CreatorLink {\n  id\n  url\n  siteType\n}\n    "]);return eB=function(){return e},e}function eV(){let e=(0,K.Z)(["\n    fragment CreatorBiography on Creator {\n  id\n  name\n  profileText\n  iconURL\n  betaOwner\n  status\n  followerCount\n  followingCount\n  isFollowing\n  links {\n    ...CreatorLinkItem\n  }\n  skills {\n    id\n    name\n  }\n}\n    ",""]);return eV=function(){return e},e}function ez(){let e=(0,K.Z)(["\n    fragment CreatorListItem on Creator {\n  id\n  name\n  iconURL\n  profileText\n  isFollowing\n  followerCount\n  skills {\n    id\n    name\n  }\n  pickedUpWorks(count: $workCount) {\n    id\n    thumbnailURL\n    contents {\n      ... on EmbedCreative {\n        embedFormat\n      }\n      ... on UploadedCreative {\n        uploadedFormat\n      }\n    }\n  }\n}\n    "]);return ez=function(){return e},e}function eq(){let e=(0,K.Z)(["\n    fragment MessageItem on Message {\n  id\n  text\n  isMine\n  createdAt\n  sender {\n    id\n    name\n    iconURL\n  }\n}\n    "]);return eq=function(){return e},e}function e$(){let e=(0,K.Z)(["\n    fragment MessageRoomListItem on MessageRoom {\n  id\n  unreadMessageCount\n  opponent {\n    id\n    name\n    iconURL\n  }\n  recruitment {\n    id\n    title\n  }\n}\n    "]);return e$=function(){return e},e}function eG(){let e=(0,K.Z)(["\n    fragment NewWorkItem on Work {\n  id\n  title\n  section\n  thumbnailURL\n  creator {\n    id\n    name\n    iconURL\n  }\n}\n    "]);return eG=function(){return e},e}function eW(){let e=(0,K.Z)(["\n    fragment ProfileWorkItem on Work {\n  id\n  section\n  title\n  thumbnailURL\n  isMine\n  contents {\n    __typename\n    ... on EmbedCreative {\n      type\n      embedFormat\n      url\n    }\n    ... on UploadedCreative {\n      type\n      uploadedFormat\n      uploadedURL\n      thumbnailURL\n      errorCode\n    }\n  }\n}\n    "]);return eW=function(){return e},e}function eH(){let e=(0,K.Z)(["\n    fragment RecruitmentListItem on Recruitment {\n  id\n  title\n  endAt\n  description\n  endAt\n  expectedCreatorCount\n  createdAt\n  updatedAt\n  status\n  publishStatus\n  isCollaborationEstablished\n  ownerCreator {\n    id\n    name\n    iconURL\n  }\n  thumbnail {\n    url\n    size {\n      width\n      height\n    }\n  }\n  wantedSkills {\n    id\n    name\n  }\n}\n    "]);return eH=function(){return e},e}function eQ(){let e=(0,K.Z)(["\n    fragment NewsListItem on News {\n  id\n  title\n  createdAt\n}\n    "]);return eQ=function(){return e},e}function eK(){let e=(0,K.Z)(["\n    mutation anonymousLogin {\n  anonymousLogin\n}\n    "]);return eK=function(){return e},e}function eZ(){let e=(0,K.Z)(["\n    mutation clearBellNotification {\n  clearUnshownNotifications {\n    id\n  }\n}\n    "]);return eZ=function(){return e},e}function eJ(){let e=(0,K.Z)(["\n    mutation clearMessageRoomUnread($messageRoomID: ID!) {\n  clearUnreadCount(input: {messageRoomID: $messageRoomID}) {\n    id\n  }\n}\n    "]);return eJ=function(){return e},e}function eY(){let e=(0,K.Z)(["\n    mutation establishCollaborationsAndCloseRecruitment($input: EstablishCollaborationsAndCloseRecruitmentInput!) {\n  establishCollaborationsAndCloseRecruitment(input: $input) {\n    id\n  }\n}\n    "]);return eY=function(){return e},e}function eX(){let e=(0,K.Z)(["\n    mutation createLoyaltyRequest($input: CreateLoyaltyRequestInput!) {\n  createLoyaltyRequest(input: $input)\n}\n    "]);return eX=function(){return e},e}function e0(){let e=(0,K.Z)(["\n    mutation deleteComment($id: ID!) {\n  deleteComment(id: $id)\n}\n    "]);return e0=function(){return e},e}function e1(){let e=(0,K.Z)(["\n    mutation deleteWork($workID: ID!) {\n  deleteWork(workID: $workID)\n}\n    "]);return e1=function(){return e},e}function e2(){let e=(0,K.Z)(["\n    mutation follow($creatorID: ID!, $toBeFollowed: Boolean!) {\n  follow(creatorID: $creatorID, toBeFollowed: $toBeFollowed) {\n    fromCreator {\n      id\n      followerCount\n      followingCount\n    }\n    toCreator {\n      id\n      followerCount\n      followingCount\n    }\n  }\n}\n    "]);return e2=function(){return e},e}function e5(){let e=(0,K.Z)(["\n    mutation likeCollaborationWork($collaborationWorkID: ID!, $toBeLiked: Boolean!) {\n  likeCollaborationWork(\n    collaborationWorkID: $collaborationWorkID\n    toBeLiked: $toBeLiked\n  ) {\n    id\n    isLiked\n    totalLikeCount\n  }\n}\n    "]);return e5=function(){return e},e}function e3(){let e=(0,K.Z)(["\n    mutation likeComment($commentID: ID!, $toBeLiked: Boolean!) {\n  likeComment(commentID: $commentID, toBeLiked: $toBeLiked) {\n    id\n    totalLikeCount\n    memberLikeCount\n    guestLikeCount\n  }\n}\n    "]);return e3=function(){return e},e}function e4(){let e=(0,K.Z)(["\n    mutation likeCommentByOwner($commentID: ID!, $toBeLiked: Boolean!) {\n  likeCommentByOwner(commentID: $commentID, toBeLiked: $toBeLiked) {\n    id\n    isLikedByOwner\n    updatedAt\n  }\n}\n    "]);return e4=function(){return e},e}function e6(){let e=(0,K.Z)(["\n    mutation postComment($input: PostCommentInput!) {\n  postComment(input: $input) {\n    id\n  }\n}\n    "]);return e6=function(){return e},e}function e8(){let e=(0,K.Z)(["\n    mutation postMessage($input: PostMessageInput!) {\n  postMessage(input: $input) {\n    id\n  }\n}\n    "]);return e8=function(){return e},e}function e9(){let e=(0,K.Z)(["\n    mutation postReplyComment($input: PostReplyCommentInput!) {\n  postReplyComment(input: $input) {\n    id\n  }\n}\n    "]);return e9=function(){return e},e}function e7(){let e=(0,K.Z)(["\n    mutation reportRecruitment($input: ReportRecruitmentInput!) {\n  reportRecruitment(input: $input) {\n    id\n  }\n}\n    "]);return e7=function(){return e},e}function te(){let e=(0,K.Z)(["\n    mutation saveCollaborationWork($input
270: SaveCollaborationWorkInput!) {\n  saveCollaborationWork(input: $input) {\n    id\n    title\n  }\n}\n    "]);return te=function(){return e},e}function tt(){let e=(0,K.Z)(["\n    mutation saveCommentEvaluation($input: SaveCommentEvaluationInput!) {\n  saveCommentEvaluation(input: $input) {\n    id\n    scoreByOwner\n    memoByOwner\n  }\n}\n    "]);return tt=function(){return e},e}function tn(){let e=(0,K.Z)(["\n    mutation saveEmailNotificationSetting($input: EmailNotificationSettingInput!) {\n  saveEmailNotificationSetting(input: $input) {\n    all\n  }\n}\n    "]);return tn=function(){return e},e}function tr(){let e=(0,K.Z)(["\n    mutation saveInitialProfile($profileInput: SaveProfileInput!, $personalInfoInput: SavePersonalInfoInput!, $emailInput: EmailNotificationSettingInput!) {\n  saveProfile(input: $profileInput) {\n    id\n  }\n  savePersonalInfo(input: $personalInfoInput) {\n    id\n  }\n  saveEmailNotificationSetting(input: $emailInput) {\n    all\n  }\n}\n    "]);return tr=function(){return e},e}function ti(){let e=(0,K.Z)(["\n    mutation saveProfile($input: SaveProfileInput!) {\n  saveProfile(input: $input) {\n    id\n  }\n}\n    "]);return ti=function(){return e},e}function to(){let e=(0,K.Z)(["\n    mutation saveRecruitment($input: SaveRecruitmentInput!) {\n  saveRecruitment(input: $input) {\n    id\n    ownerCreatorID\n    title\n    description\n    endAt\n    createdAt\n    updatedAt\n    publishStatus\n    thumbnail {\n      url\n      size {\n        width\n        height\n      }\n    }\n  }\n}\n    "]);return to=function(){return e},e}function ta(){let e=(0,K.Z)(["\n    mutation saveWork($input: SaveWorkInput!) {\n  saveWork(input: $input) {\n    id\n  }\n}\n    "]);return ta=function(){return e},e}function ts(){let e=(0,K.Z)(["\n    mutation updateEmail($newEmail: String!) {\n  updateEmailAddress(newEmail: $newEmail) {\n    errorCode\n  }\n}\n    "]);return ts=function(){return e},e}function tu(){let e=(0,K.Z)(["\n    mutation updateRecruitmentPublishStatus($id: ID!, $publishStatus: RecruitmentPublishStatus!) {\n  updateRecruitmentPublishStatus(id: $id, publishStatus: $publishStatus) {\n    id\n    publishStatus\n  }\n}\n    "]);return tu=function(){return e},e}function tc(){let e=(0,K.Z)(["\n    query accountSetting {\n  emailNotificationSetting {\n    all\n  }\n}\n    "]);return tc=function(){return e},e}function tl(){let e=(0,K.Z)(["\n    query allCommentsForDownload($recruitmentID: ID!) {\n  allCommentsForRecruitmentOwner(recruitmentID: $recruitmentID) {\n    id\n    text\n    isLikedByOwner\n    scoreByOwner\n    memoByOwner\n    createdAt\n    skills {\n      id\n      name\n    }\n    sender {\n      id\n      name\n    }\n  }\n}\n    "]);return tl=function(){return e},e}function tf(){let e=(0,K.Z)(["\n    query bellNotifications($pagination: PaginationInput!) {\n  creatorNotifications(pagination: $pagination) {\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      id\n      isShown\n      createdAt\n      data {\n        ... on CreatorNotificationComment {\n          comment {\n            id\n            sender {\n              id\n              iconURL\n              name\n            }\n          }\n          recruitmentID\n        }\n        ... on CreatorNotificationReplyComment {\n          commentID\n          recruitmentID\n          replyComment {\n            id\n            sender {\n              id\n              name\n              iconURL\n            }\n          }\n        }\n        ... on CreatorNotificationRecruitmentClosed {\n          recruitmentID\n        }\n        ... on CreatorNotificationRecruitmentBanned {\n          recruitmentID\n        }\n        ... on CreatorNotificationAnnounceFromAdmin {\n          announce {\n            url\n            message\n          }\n        }\n        ... on CreatorNotificationRecruitmentDeadlineSoon {\n          recruitmentID\n        }\n        ... on CreatorNotificationRecruitmentDeadlineOver {\n          recruitmentID\n        }\n        ... on CreatorNotificationCollaborationEstablished {\n          recruitmentID\n          messageRoomID\n        }\n        ... on CreatorNotificationCommentLikedByOwner {\n          commentID\n          recruitmentID\n          recruitment {\n            id\n            ownerCreator {\n              id\n              name\n              iconURL\n            }\n          }\n        }\n        ... on CreatorNotificationCommentLikedByMember {\n          commentID\n          recruitmentID\n          likedCreator {\n            id\n            name\n            iconURL\n          }\n        }\n        ... on CreatorNotificationCreatorFollowed {\n          fromCreator {\n            id\n            iconURL\n            name\n          }\n        }\n      }\n    }\n  }\n}\n    "]);return tf=function(){return e},e}function td(){let e=(0,K.Z)(["\n    query collaborationWork($id: ID!) {\n  collaborationWork(collaborationWorkID: $id) {\n    id\n    title\n    releaseDate\n    link\n    description\n    thumbnailURL\n    totalLikeCount\n    isLiked\n    recruitment {\n      id\n      ownerCreatorID\n    }\n    contents {\n      ...CreativeItem\n    }\n    collaborators {\n      ...CollaboratorInCollaboWorkDetail\n    }\n  }\n}\n    ","\n",""]);return td=function(){return e},e}function th(){let e=(0,K.Z)(["\n    query collaboratedRecruitments($id: ID!, $pagination: PaginationInput) {\n  creator(id: $id) {\n    id\n    collaboratedRecruitments(pagination: $pagination) {\n      nodes {\n        ...RecruitmentListItem\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n}\n    ",""]);return th=function(){return e},e}function tp(){let e=(0,K.Z)(["\n    query collaborationWorkForEdit($recruitmentID: ID!) {\n  recruitment(id: $recruitmentID) {\n    id\n    isMine\n    title\n    status\n    publishStatus\n    endAt\n    collaboratorCount\n    collaborationWork {\n      ...CollaborationWorkForEdit\n    }\n  }\n}\n    ",""]);return tp=function(){return e},e}function tm(){let e=(0,K.Z)(["\n    query comment($recruitmentID: ID!, $commentID: ID!, $pagination: PaginationInput, $order: OrderInput) {\n  comment(id: $commentID) {\n    id\n    text\n    isApplication\n    isLikedByOwner\n    isMine\n    createdAt\n    isLiked\n    totalLikeCount\n    skills {\n      id\n      name\n    }\n    sender {\n      id\n      name\n      iconURL\n      skills {\n        id\n        name\n        longName\n      }\n    }\n    replyComments(pagination: $pagination, order: $order) {\n      nodes {\n        id\n        commentID\n        isMine\n        createdAt\n        sender {\n          id\n          name\n          iconURL\n        }\n        text\n        createdAt\n      }\n    }\n  }\n  recruitment(id: $recruitmentID) {\n    id\n    isMine\n    title\n    status\n    publishStatus\n    endAt\n    ownerCreator {\n      id\n      iconURL\n    }\n  }\n  myself {\n    id\n    iconURL\n  }\n}\n    "]);return tm=function(){return e},e}function tg(){let e=(0,K.Z)(["\n    query comments($recruitmentID: ID!, $pagination: PaginationInput, $replyPagination: PaginationInput, $replyOrder: OrderInput) {\n  comments(recruitmentID: $recruitmentID, pagination: $pagination) {\n    nodes {\n      ...CommentListItem\n    }\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n  }\n}\n    ",""]);return tg=function(){return e},e}function tv(){let e=(0,K.Z)(["\n    query commentsForRecruitmentOwner($recruitmentID: ID!, $input: CommentsForRecruitmentOwnerInput!, $pagination: PaginationInput!) {\n  recruitment(id: $recruitmentID) {\n    id\n    status\n    publishStatus\n    endAt\n    title\n    isMine\n    wantedSkills {\n      id\n      name\n    }\n  }\n  comments(recruitmentID: $recruitmentID, pagination: {limit: 1}) {\n    nodes {\n      id\n    }\n  }\n  commentsForRecruitmentOwner(input: $input, pagination: $pagination) {\n    nodes {\n      ...CommentForRecruitmentOwnerItem\n    }\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n  }\n}\n    ",""]);return tv=function(){return e},e}function ty(){let e=(0,K.Z)(["\n    query creativeInfo($input: CreativeInfoInput!) {\n  creativeInfo(input: $input) {\n    title\n    thumbnailUrl\n    embedUrl\n    format\n    section\n  }\n}\n    "]);return ty=function(){return e},e}function tb(){let e=(0,K.Z)(["\n    query creatorFollowers($creatorID: ID!, $pagination: PaginationInput!, $workCount: Int = 4) {\n  creator(id: $creatorID) {\n    id\n    name\n    followers(pagination: $pagination) {\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n      nodes {\n        id\n        creator {\n          ...CreatorListItem\n        }\n      }\n    }\n  }\n}\n    ",""]);return tb=function(){return e},e}function tw(){let e=(0,K.Z)(["\n    query creatorFollowings($creatorID: ID!, $pagination: PaginationInput!, $workCount: Int = 4) {\n  creator(id: $creatorID) {\n    id\n    name\n    followings(pagination: $pagination) {\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n      nodes {\n        id\n        creator {\n          ...CreatorListItem\n        }\n      }\n    }\n  }\n}\n    ",""]);return tw=function(){return e},e}function tS(){let e=(0,K.Z)(["\n    query creatorHover($id: ID!) {\n  creator(id: $id) {\n    id\n    name\n    profileText\n    iconURL\n    skills {\n      id\n      name\n    }\n    works(pagination: {limit: 1}) {\n      nodes {\n        id\n        thumbnailURL\n      }\n    }\n  }\n}\n    "]);return tS=function(){return e},e}function t_(){let e=(0,K.Z)(["\n    query creatorIsMe($id: ID!) {\n  creator(id: $id) {\n    isMe\n  }\n}\n    "]);return t_=function(){return e},e}function tk(){let e=(0,K.Z)(["\n    query creatorName($id: ID!) {\n  creator(id: $id) {\n    id\n    name\n  }\n}\n    "]);return tk=function(){return e},e}function tx(){let e=(0,K.Z)(["\n    query creatorProfile($id: ID!) {\n  creator(id: $id) {\n    ...CreatorBiography\n    works {\n      nodes {\n        ...ProfileWorkItem\n      }\n    }\n  }\n  collaborationWorks(input: {creatorID: $id}) {\n    nodes {\n      ...CollaborationWorkForCard\n    }\n  }\n}\n    ","\n","\n",""]);return tx=function(){return e},e}function tE(){let e=(0,K.Z)(["\n    query findRecruitment($id: ID!, $commentPagination: PaginationInput, $replyPagination: PaginationInput, $replyOrder: OrderInput) {\n  myself {\n    id\n    name\n    iconURL\n  }\n  recruitment(id: $id) {\n    id\n    title\n    description\n    endAt\n    expectedCreatorCount\n    ownerCreatorID\n    isMine\n    status\n    publishStatus\n    publishSchedule\n    schedule\n    fee\n    isMemberOnly\n    createdAt\n    updatedAt\n    thumbnail {\n      url\n      size {\n        width\n        height\n      }\n    }\n    attachments {\n      ...CreativeItem\n    }\n    ownerCreator {\n      id\n      name\n      skills {\n        id\n        name\n      }\n      iconURL\n      profileText\n      isFollowing\n    }\n    collaborationWork {\n      ...CollaborationWorkForCard\n    }\n    wantedSkills {\n      id\n      name\n    }\n    recruitmentCollaborators {\n      creator {\n        id\n        name\n        iconURL\n        skills {\n          id\n          name\n        }\n      }\n    }\n    comments(pagination: $commentPagination) {\n      nodes {\n        ...CommentListItem\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n}\n    ","\n","\n",""]);return tE=function(){return e},e}function tC(){let e=(0,K.Z)(["\n    query header {\n  myself {\n    id\n    iconURL\n    betaOwner\n    unreadMessageCount\n    hasUnshownNotification\n    isProfileInitialized\n  }\n}\n    "]);return tC=function(){return e},e}function tA(){let e=(0,K.Z)(["\n    query home($recruitmentPagination: PaginationInput) {\n  recruitments(pagination: $recruitmentPagination) {\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      ...RecruitmentListItem\n    }\n  }\n  topSelectedRecruitments {\n    ...RecruitmentListItem\n  }\n  topSelectedCollaborationWorks(pagination: {limit: 10}) {\n    nodes {\n      ...CollaborationWorkForCard\n    }\n  }\n  latestActivities(limit: 6) {\n    ...ActivityItem\n  }\n  latestWorks(limit: 10) {\n    ...NewWorkItem\n  }\n}\n    ","\n","\n","\n",""]);return tA=function(){return e},e}function tI(){let e=(0,K.Z)(["\n    query messageRooms($pagination: PaginationInput!) {\n  messageRooms(pagination: $pagination) {\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      ...MessageRoomListItem\n    }\n  }\n}\n    ",""]);return tI=function(){return e},e}function tT(){let e=(0,K.Z)(["\n    query messages($messageRoomID: ID!, $pagination: PaginationInput) {\n  messages(messageRoomID: $messageRoomID, pagination: $pagination) {\n    nodes {\n      ...MessageItem\n    }\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n  }\n}\n    ",""]);return tT=function(){return e},e}function tP(){let e=(0,K.Z)(["\n    query myself {\n  myself {\n    id\n    name\n    iconURL\n  }\n}\n    "]);return tP=function(){return e},e}function tO(){let e=(0,K.Z)(["\n    query myselfForEdit {\n  myself {\n    id\n    name\n    profileText\n    iconURL\n    links {\n      id\n      siteType\n      url\n    }\n    skills {\n      id\n      name\n    }\n  }\n  skills {\n    id\n    name\n    longName\n  }\n}\n    "]);return tO=function(){return e},e}function tR(){let e=(0,K.Z)(["\n    query news($newsID: ID!, $key: String) {\n  news(id: $newsID, key: $key) {\n    id\n    title\n    description\n    status\n    thumbnailURL\n    imageURL\n    createdAt\n  }\n}\n    "]);return tR=function(){return e},e}function tD(){let e=(0,K.Z)(["\n    query newsList($pagination: PaginationInput) {\n  newsList(pagination: $pagination) {\n    nodes {\n      ...NewsListItem\n    }\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n  }\n}\n    ",""]);return tD=function(){return e},e}function tM(){let e=(0,K.Z)(["\n    query ownRecruitments($id: ID!, $pagination: PaginationInput) {\n  creator(id: $id) {\n    id\n    ownRecruitments(pagination: $pagination) {\n      nodes {\n        ...RecruitmentListItem\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n}\n    ",""]);return tM=function(){return e},e}function tF(){let e=(0,K.Z)(["\n    query profileInitialized {\n  myself {\n    id\n    isProfileInitialized\n  }\n}\n    "]);return tF=function(){return e},e}function tN(){let e=(0,K.Z)(["\n    query recruitmentApplicants($id: ID!) {\n  recruitment(id: $id) {\n    applicants {\n      id\n      name\n      iconURL\n      profileText\n      skills {\n        id\n        name\n      }\n    }\n  }\n}\n    "]);return tN=function(){return e},e}function tj(){let e=(0,K.Z)(["\n    query recruitmentForClose($id: ID!) {\n  recruitment(id: $id) {\n    id\n    title\n    endAt\n    expectedCreatorCount\n    status\n    isMine\n    publishStatus\n    wantedSkills {\n      id\n      name\n    }\n    applicants {\n      id\n      name\n      iconURL\n      profileText\n      skills {\n        id\n        name\n      }\n    }\n  }\n}\n    "]);return tj=function(){return e},e}function tU(){let e=(0,K.Z)(["\n    query recruitmentForEdit($id: ID!) {\n  recruitment(id: $id) {\n    id\n    title\n    description\n    endAt\n    expectedCreatorCount\n    status\n    isMine\n    publishStatus\n    publishSchedule\n    schedule\n    fee\n    isMemberOnly\n    attachments {\n      ...CreativeItemForEdit\n    }\n    thumbnail {\n      url\n      path\n      size {\n        width\n        height\n      }\n    }\n    wantedSkills {\n      id\n      name\n    }\n  }\n}\n    ",""]);return tU=function(){return e},e}function tL(){let e=(0,K.Z)(["\n    query recruitmentForOGP($id: ID!) {\n  recruitment(id: $id) {\n    id\n    status\n    ownerCreator {\n      id\n      iconURL\n    }\n    recruitmentCollaborators {\n      id\n      creator {\n        id\n        iconURL\n      }\n    }\n  }\n}\n    "]);return tL=function(){return e},e}function tB(){let e=(0,K.Z)(["\n    query recruitments($pagination: PaginationInput) {\n  recruitments(pagination: $pagination) {\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      ...RecruitmentListItem\n    }\n  }\n}\n    ",""]);return tB=function(){return e},e}function tV(){let e=(0,K.Z)(["\n    query sear
270chCreator($input: SearchCreatorInput!, $workCount: Int = 4) {\n  searchCreator(input: $input) {\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    totalCount\n    nodes {\n      ...CreatorListItem\n    }\n  }\n}\n    ",""]);return tV=function(){return e},e}function tz(){let e=(0,K.Z)(["\n    query signupCompleted {\n  myself {\n    id\n    name\n    iconURL\n    skills {\n      id\n      name\n      longName\n    }\n  }\n}\n    "]);return tz=function(){return e},e}function tq(){let e=(0,K.Z)(["\n    query skills {\n  skills {\n    id\n    name\n    longName\n  }\n}\n    "]);return tq=function(){return e},e}let t$={};(a=I||(I={})).ApplicationCommentCreated="applicationCommentCreated",a.CollaborationEstablished="collaborationEstablished",a.NewCreatorJoined="newCreatorJoined",a.RecruitmentPublished="recruitmentPublished",(s=T||(T={})).Niconico="niconico",s.Pixiv="pixiv",s.Soundcloud="soundcloud",s.Spotify="spotify",s.Vimeo="vimeo",s.Youtube="youtube",(u=P||(P={})).Embed="embed",u.Uploaded="uploaded",(c=O||(O={})).Facebook="facebook",c.Instagram="instagram",c.Niconico="niconico",c.Pixiv="pixiv",c.Soundcloud="soundcloud",c.Spotify="spotify",c.Tiktok="tiktok",c.Twitter="twitter",c.Vimeo="vimeo",c.Web="web",c.Youtube="youtube",(l=R||(R={}
270)).Freezed="freezed",l.Left="left",l.Normal="normal",(f=D||(D={})).Niconico="niconico",f.Pixiv="pixiv",f.PixivNovel="pixivNovel",f.Soundcloud="soundcloud",f.Spotify="spotify",f.Vimeo="vimeo",f.Youtube="youtube",(d=M||(M={})).File="file",d.Image="image",d.Text="text",(h=F||(F={})).Draft="draft",h.Published="published",(p=N||(N={})).AnnounceFromAdmin="announceFromAdmin",p.BetaOwnerGranted="betaOwnerGranted",p.CollaborationEstablished="collaborationEstablished",p.Comment="comment",p.CommentLikedByMember="commentLikedByMember",p.CommentLikedByOwner="commentLikedByOwner",p.CreatorFollowed="creatorFollowed",p.RecruitmentBanned="recruitmentBanned",p.RecruitmentClosed="recruitmentClosed",p.RecruitmentDeadlineOver="recruitmentDeadlineOver",p.RecruitmentDeadlineSoon="recruitmentDeadlineSoon",p.ReplyComment="replyComment",(m=j||(j={})).Asc="asc",m.Desc="desc",(g=U||(U={})).Exist="exist",g.None="none",g.Undecided="undecided",(v=L||(L={})).Banned="banned",v.Draft="draft",v.Published="published",(y=B||(B={})).Closed="closed",y.Open="open",(b=V||(V={})).FollowerCount="followerCount",b.LatestWorkCreatedAt="latestWorkCreatedAt",b.Score="score",(w=z||(z={})).Illustration="illustration",w.Image="image",w.Manga="manga",w.Novel="novel",w.Sound="sound",w.Video="video",(S=q||(q={})).Female="female",S.Male="male",(_=$||($={})).AlreadyInUse="AlreadyInUse",_.ExternalProvider="ExternalProvider",_.Unexpected="Unexpected",(k=G||(G={})).AudioError="audioError",k.Unexpected="unexpected",k.UnsupportedCodec="unsupportedCodec",k.UnsupportedFileType="unsupportedFileType",k.VideoError="videoError",(x=W||(W={})).Audio="audio",x.Image="image",x.Video="video",(E=H||(H={})).Guest="guest",E.Member="member",(C=Q||(Q={})).Draft="draft",C.Published="published";let tG=er(eO()),tW=er(eR()),tH=er(eD()),tQ=er(eM(),tH),tK=er(eF()),tZ=er(eN()),tJ=er(ej(),tZ),tY=er(eU()),tX=er(eL()),t0=er(eB()),t1=er(eV(),t0),t2=er(ez()),t5=er(eq()),t3=er(e$()),t4=er(eG()),t6=er(eW()),t8=er(eH()),t9=er(eQ()),t7=er(eK());function ne(e){let n={...t$,...e};return eg(t7,n)}let nt=er(eZ());function nn(e){let n={...t$,...e};return eg(nt,n)}let nr=er(eJ());function ni(e){let n={...t$,...e};return eg(nr,n)}let no=er(eY());function na(e){let n={...t$,...e};return eg(no,n)}let ns=er(eX());function nu(e){let n={...t$,...e};return eg(ns,n)}let nc=er(e0());function nl(e){let n={...t$,...e};return eg(nc,n)}let nf=er(e1());function nd(e){let n={...t$,...e};return eg(nf,n)}let nh=er(e2());function np(e){let n={...t$,...e};return eg(nh,n)}let nm=er(e5());function ng(e){let n={...t$,...e};return eg(nm,n)}let nv=er(e3());function ny(e){let n={...t$,...e};return eg(nv,n)}let nb=er(e4());function nw(e){let n={...t$,...e};return eg(nb,n)}let nS=er(e6());function n_(e){let n={...t$,...e};return eg(nS,n)}let nk=er(e8());function nx(e){let n={...t$,...e};return eg(nk,n)}let nE=er(e9());function nC(e){let n={...t$,...e};return eg(nE,n)}let nA=er(e7());function nI(e){let n={...t$,...e};return eg(nA,n)}let nT=er(te());function nP(e){let n={...t$,...e};return eg(nT,n)}let nO=er(tt());function nR(e){let n={...t$,...e};return eg(nO,n)}let nD=er(tn());function nM(e){let n={...t$,...e};return eg(nD,n)}let nF=er(tr());function nN(e){let n={...t$,...e};return eg(nF,n)}let nj=er(ti());function nU(e){let n={...t$,...e};return eg(nj,n)}let nL=er(to());function nB(e){let n={...t$,...e};return eg(nL,n)}let nV=er(ta());function nz(e){let n={...t$,...e};return eg(nV,n)}let nq=er(ts());function n$(e){let n={...t$,...e};return eg(nq,n)}let nG=er(tu());function nW(e){let n={...t$,...e};return eg(nG,n)}let nH=er(tc());function nQ(e){let n={...t$,...e};return eC(nH,n)}let nK=er(tl());function nZ(e){let n={...t$,...e};return eP(nK,n)}let nJ=er(tf());function nY(e){let n={...t$,...e};return eC(nJ,n)}let nX=er(td(),tX,tK);function n0(e){let n={...t$,...e};return eC(nX,n)}let n1=er(th(),t8);function n2(e){let n={...t$,...e};return eC(n1,n)}let n5=er(tp(),tQ);function n3(e){let n={...t$,...e};return eC(n5,n)}let n4=er(tm());function n6(e){let n={...t$,...e};return eC(n4,n)}let n8=er(tg(),tJ);function n9(e){let n={...t$,...e};return eP(n8,n)}let n7=er(tv(),tY);function re(e){let n={...t$,...e};return eC(n7,n)}let rt=er(ty());function rn(e){let n={...t$,...e};return eP(rt,n)}let rr=er(tb(),t2);function ri(e){let n={...t$,...e};return eP(rr,n)}let ro=er(tw(),t2);function ra(e){let n={...t$,...e};return eP(ro,n)}let rs=er(tS());function ru(e){let n={...t$,...e};return eP(rs,n)}er(t_());let rc=er(tk()),rl=er(tx(),t1,t6,tW);function rf(e){let n={...t$,...e};return eP(rl,n)}let rd=er(tE(),tX,tW,tJ);function rh(e){let n={...t$,...e};return eC(rd,n)}let rp=er(tC());function rm(e){let n={...t$,...e};return eP(rp,n)}er(tA(),t8,tW,tG,t4);let rg=er(tI(),t3);function rv(e){let n={...t$,...e};return eC(rg,n)}let ry=er(tT(),t5);function rb(e){let n={...t$,...e};return eC(ry,n)}er(tP());let rw=er(tO());function rS(e){let n={...t$,...e};return eC(rw,n)}er(tR());let r_=er(tD(),t9);function rk(e){let n={...t$,...e};return eP(r_,n)}let rx=er(tM(),t8);function rE(e){let n={...t$,...e};return eC(rx,n)}let rC=er(tF());function rA(e){let n={...t$,...e};return eP(rC,n)}er(tN());let rI=er(tj());function rT(e){let n={...t$,...e};return eC(rI,n)}let rP=er(tU(),tH);function rO(e){let n={...t$,...e};return eC(rP,n)}er(tL());let rR=er(tB(),t8);function rD(e){let n={...t$,...e};return eP(rR,n)}let rM=er(tV(),t2);function rF(e){let n={...t$,...e};return eP(rM,n)}let rN=er(tz());function rj(e){let n={...t$,...e};return eC(rN,n)}let rU=er(tq());function rL(e){let n={...t$,...e};return eC(rU,n)}},94234:function(e,n,r){"use strict";r.d(n,{c:function(){return o},p:function(){return a}});var i=r(57632);function o(e,n){let r=[];
270return e.forEach(e=>{let i=n(e);i&&r.push(i)}),r}function a(e,n){let r=new Set,o={};for(let a of e){let e=a?"".concat(a[n]):(0,i.Z)();r.add(e),o[e]=a}return Array.from(r).map(e=>o[e])}},57469:function(e,n,r){"use strict";r.d(n,{Av:function(){return i},Iy:function(){return u},Zk:function(){return c},eu:function(){return s},w_:function(){return o},ws:function(){return a}});let i={fontFamilyAzoSans:"azo-sans-web, source-han-sans-japanese, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', arial, helvetica, sans-serif"},o=.6,a=1.008,s=.2,u=.6,c="0 34px 34px -34px #018998"},10425:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return rn}});var i,o,a,s,u,c,l=r(7297),f=r(85893),d=r(13917),h=r(67294),p=r(85317),m=function(e){var n=e.client,r=e.children,i=(0,p.K)();return h.createElement(i.Consumer,null,function(e){return void 0===e&&(e={}),n&&e.client!==n&&(e=Object.assign({},e,{client:n})),__DEV__?(0,d.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,d.kG)(e.client,29),h.createElement(i.Provider,{value:e},r)})},g=r(70199),v=r(70917);r(35202);var y=r(9008),b=r.n(y),w=r(11163),S=r.n(w),_=r(74865),k=r.n(_);r(53376);var x=r(40994),E=r(72721);r(59443);var C=r(70655),A=r(77304);function I(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,i=Array(n);r<n;r++)i[r]=e[r];return i}function T(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function P(e,n,r){return n&&T(e.prototype,n),r&&T(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var O=function(){return"function"==typeof Symbol},R=function(e){return O()&&Boolean(Symbol[e])},D=function(e){return R(e)?Symbol[e]:"@@"+e};O()&&!R("observable")&&(Symbol.observable=Symbol("observable"));var M=D("iterator"),F=D("observable"),N=D("species");function j(e,n){var r=e[n];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function U(e){var n=e.constructor;return void 0!==n&&null===(n=n[N])&&(n=void 0),void 0!==n?n:H}function L(e){L.log?L.log(e):setTimeout(function(){throw e})}function B(e){Promise.resolve().then(function(){try{e()}catch(e){L(e)}})}function V(e){var n=e._cleanup;if(void 0!==n){if(e._cleanup=void 0,!n)return;try{if("function"==typeof n)n();else{var r=j(n,"unsubscribe");r&&r.call(n)}}catch(e){L(e)}}}function z(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function q(e,n,r){e._state="running";var i=e._observer;try{var o=j(i,n);switch(n){case"next":o&&o.call(i,r);break;case"error":if(z(e),o)o.call(i,r);else throw r;break;case"complete":z(e),o&&o.call(i)}}catch(e){L(e)}"closed"===e._state?V(e):"running"===e._state&&(e._state="ready")}function $(e,n,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:n,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:n,value:r}],B(function(){return function(e){var n=e._queue;if(n){e._queue=void 0,e._state="ready";for(var r=0;r<n.length&&(q(e,n[r].type,n[r].value),"closed"!==e._state);++r);}}(e)});return}q(e,n,r)}}var G=function(){function e(e,n){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new W(this);try{this._cleanup=n.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(z(this),V(this))},P(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),W=function(){function e(e){this._subscription=e}var n=e.prototype;return n.next=function(e){$(this._subscription,"next",e)},n.error=function(e){$(this._subscription,"error",e)},n.complete=function(){$(this._subscription,"complete")},P(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),H=function(){function e(n){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof n)throw TypeError("Observable initializer must be a function");this._subscriber=n}var n=e.prototype;return n.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new G(e,this._subscriber)}
270,n.forEach=function(e){var n=this;return new Promise(function(r,i){if("function"!=typeof e){i(TypeError(e+" is not a function"));return}function o(){a.unsubscribe(),r()}var a=n.subscribe({next:function(n){try{e(n,o)}catch(e){i(e),a.unsubscribe()}},error:i,complete:r})})},n.map=function(e){var n=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(U(this))(function(r){return n.subscribe({next:function(n){try{n=e(n)}catch(e){return r.error(e)}r.next(n)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},n.filter=function(e){var n=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(U(this))(function(r){return n.subscribe({next:function(n){try{if(!e(n))return}catch(e){return r.error(e)}r.next(n)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},n.reduce=function(e){var n=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=U(this),i=arguments.length>1,o=!1,a=arguments[1],s=a;return new r(function(r){return n.subscribe({next:function(n){var a=!o;if(o=!0,!a||i)try{s=e(s,n)}catch(e){return r.error(e)}else s=n},error:function(e){r.error(e)},complete:function(){if(!o&&!i)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(s),r.complete()}})})},n.concat=function(){for(var e=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=U(this);return new o(function(n){var i,a=0;return function e(s){i=s.subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){a===r.length?(i=void 0,n.complete()):e(o.from(r[a++]))}})}(e),function(){i&&(i.unsubscribe(),i=void 0)}})},n.flatMap=function(e){var n=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=U(this);return new r(function(i){var o=[],a=n.subscribe({next:function(n){if(e)try{n=e(n)}catch(e){return i.error(e)}var a=r.from(n).subscribe({next:function(e){i.next(e)},error:function(e){i.error(e)},complete:function(){var e=o.indexOf(a);e>=0&&o.splice(e,1),s()}});o.push(a)},error:function(e){i.error(e)},complete:function(){s()}});function s(){a.closed&&0===o.length&&i.complete()}return function(){o.forEach(function(e){return e.unsubscribe()}),a.unsubscribe()}})},n[F]=function(){return this},e.from=function(n){var r="function"==typeof this?this:e;if(null==n)throw TypeError(n+" is not an object");var i=j(n,F);if(i){var o=i.call(n);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof H&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(R("iterator")&&(i=j(n,M)))return new r(function(e){B(function(){if(!e.closed){for(var r,o=function(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return I(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(e,n)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(n));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(n))return new r(function(e){B(function(){if(!e.closed){for(var r=0;r<n.length;++r)if(e.next(n[r]),e.closed)return;e.complete()}})});throw TypeError(n+" is not observable")},e.of=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return new("function"==typeof this?this:e)(function(e){B(function(){if(!e.closed){for(var n=0;n<r.length;++n)if(e.next(r[n]),e.closed)return;e.complete()}})})},P(e,null,[{key:N,get:function(){return this}}]),e}();O()&&Object.defineProperty(H,Symbol("extensions"),{value:{symbol:F,hostReportError:L},configurable:!0});var Q=r(13154);function K(e,n){var r=n,i=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw __DEV__?new d.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new d.ej(44);"FragmentDefinition"===e.kind&&i.push(e)}),void 0===r&&(__DEV__?(0,d.kG)(1===i.length,"Found ".concat(i.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,d.kG)(1===i.length,45),r=i[0].name.value),(0,C.pi)((0,C.pi)({},e),{definitions:(0,C.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function Z(e){void 0===e&&(e=[]);var n={};return e.forEach(function(e){n[e.name.value]=e}),n}function J(e,n){switch(e.kind){case"InlineFragment":return e;
270case"FragmentSpread":var r=e.name.value;if("function"==typeof n)return n(r);var i=n&&n[r];return __DEV__?(0,d.kG)(i,"No fragment named ".concat(r)):(0,d.kG)(i,46),i||null;default:return null}}function Y(e){return{__ref:String(e)}}function X(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function ee(e,n,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[n.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[n.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return ee(o,e.name,e.value,i)}),e[n.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[n.value]=a}else if("ListValue"===r.kind)e[n.value]=r.values.map(function(e){var r={};return ee(r,n,e,i),r[n.value]});else if("EnumValue"===r.kind)e[n.value]=r.value;else if("NullValue"===r.kind)e[n.value]=null;else throw __DEV__?new d.ej('The inline argument "'.concat(n.value,'" of kind "').concat(r.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new d.ej(55)}var et=["connection","include","skip","client","rest","export"],en=Object.assign(function(e,n,r){if(n&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;var i=r.connection.filter?r.connection.filter:[];i.sort();var o={};return i.forEach(function(e){o[e]=n[e]}),"".concat(r.connection.key,"(").concat(er(o),")")}var a=e;if(n){var s=er(n);a+="(".concat(s,")")}return r&&Object.keys(r).forEach(function(e){-1===et.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@".concat(e,"(").concat(er(r[e]),")"):a+="@".concat(e))}),a},{setStringify:function(e){var n=er;return er=e,n}}),er=function(e){return JSON.stringify(e,ei)};function ei(e,n){return(0,Q.s)(n)&&!Array.isArray(n)&&(n=Object.keys(n).sort().reduce(function(e,r){return e[r]=n[r],e},{})),n}function eo(e,n){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return ee(r,e.name,e.value,n)}),r}return null}function ea(e){return e.alias?e.alias.value:e.name.value}function es(e,n,r){if("string"==typeof e.__typename)return e.__typename;for(var i=0,o=n.selections;i<o.length;i++){var a=o[i];if(eu(a)){if("__typename"===a.name.value)return e[ea(a)]}else{var s=es(e,J(a,r).selectionSet,r);if("string"==typeof s)return s}}}function eu(e){return"Field"===e.kind}function ec(e){__DEV__?(0,d.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,d.kG)(e&&"Document"===e.kind,47);var n=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new d.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new d.ej(48);return e});return __DEV__?(0,d.kG)(n.length<=1,"Ambiguous GraphQL document: contains ".concat(n.length," operations")):(0,d.kG)(n.length<=1,49),e}function el(e){return ec(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function ef(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&e.name}).map(function(e){return e.name.value})[0]||null}function ed(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function eh(e){var n=el(e);return __DEV__?(0,d.kG)(n&&"query"===n.operation,"Must contain a query definition."):(0,d.kG)(n&&"query"===n.operation,50),n}function ep(e){ec(e);for(var n,r=0,i=e.definitions;r<i.length;r++){var o=i[r];if("OperationDefinition"===o.kind){var a=o.operation;if("query"===a||"mutation"===a||"subscription"===a)return o}"FragmentDefinition"!==o.kind||n||(n=o)}if(n)return n;throw __DEV__?new d.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new d.ej(54)}function em(e){var n=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&ee(n,e.variable.name,e.defaultValue)}),n}function eg(e,n){return n?n(e):H.of()}function ev(e){return"function"==typeof e?new ew(e):e}function ey(e){return e.request.length<=1}var eb=function(e){function n(n,r){var i=e.call(this,n)||this;
270return i.link=r,i}return(0,C.ZT)(n,e),n}(Error),ew=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return H.of()})},e.from=function(n){return 0===n.length?e.empty():n.map(ev).reduce(function(e,n){return e.concat(n)})},e.split=function(n,r,i){var o=ev(r),a=ev(i||new e(eg));return new e(ey(o)&&ey(a)?function(e){return n(e)?o.request(e)||H.of():a.request(e)||H.of()}:function(e,r){return n(e)?o.request(e,r)||H.of():a.request(e,r)||H.of()})},e.execute=function(e,n){var r,i,o,a;return e.request((o=n.context,(i={variables:(r=function(e){for(var n=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>n.indexOf(o))throw __DEV__?new d.ej("illegal argument: ".concat(o)):new d.ej(27)}return e}(n)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(i.operationName="string"!=typeof i.query?ef(i.query)||void 0:""),a=(0,C.pi)({},o),Object.defineProperty(i,"setContext",{enumerable:!1,value:function(e){a="function"==typeof e?(0,C.pi)((0,C.pi)({},a),e(a)):(0,C.pi)((0,C.pi)({},a),e)}}),Object.defineProperty(i,"getContext",{enumerable:!1,value:function(){return(0,C.pi)({},a)}}),i))||H.of()},e.concat=function(n,r){var i=ev(n);if(ey(i))return __DEV__&&d.kG.warn(new eb("You are calling concat on a terminating link, which will have no effect",i)),i;var o=ev(r);return new e(ey(o)?function(e){return i.request(e,function(e){return o.request(e)||H.of()})||H.of()}:function(e,n){return i.request(e,function(e){return o.request(e,n)||H.of()})||H.of()})},e.prototype.split=function(n,r,i){return this.concat(e.split(n,r,i||new e(eg)))},e.prototype.concat=function(n){return e.concat(this,n)},e.prototype.request=function(e,n){throw __DEV__?new d.ej("request is not implemented"):new d.ej(22)},e.prototype.onError=function(e,n){if(n&&n.error)return n.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}();function eS(e,n){var r,i=e.directives;return!i||!i.length||(r=[],i&&i.length&&i.forEach(function(e){var n;if(!("skip"!==(n=e.name.value)&&"include"!==n)){var i=e.arguments,o=e.name.value;__DEV__?(0,d.kG)(i&&1===i.length,"Incorrect number of arguments for the @".concat(o," directive.")):(0,d.kG)(i&&1===i.length,41);var a=i[0];__DEV__?(0,d.kG)(a.name&&"if"===a.name.value,"Invalid argument for the @".concat(o," directive.")):(0,d.kG)(a.name&&"if"===a.name.value,42);var s=a.value;__DEV__?(0,d.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),"Argument for the @".concat(o," directive must be a variable or a boolean value.")):(0,d.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),43),r.push({directive:e,ifArgument:a})}}),r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=n&&n[i.value.name.value],__DEV__?(0,d.kG)(void 0!==o,"Invalid variable referenced in @".concat(r.name.value," directive.")):(0,d.kG)(void 0!==o,40)):o=i.value.value,"skip"===r.name.value?!o:o})}function e_(e,n,r){var i=new Set(e),o=i.size;return(0,A.Vn)(n,{Directive:function(e){if(i.delete(e.name.value)&&(!r||!i.size))return A.$_}}),r?!i.size:i.size<o}var ek=function(e,n){var r;try{r=JSON.stringify(e)}catch(e){var i=__DEV__?new d.ej("Network request failed. ".concat(n," is not serializable: ").concat(e.message)):new d.ej(24);throw i.parseError=e,i}return r},ex=r(30320);function eE(e){var n={next:function(){return e.read()}};return ex.DN&&(n[Symbol.asyncIterator]=function(){return this}),n}var eC=function(e,n,r){var i=Error(r);throw i.name="ServerError",i.response=e,i.statusCode=e.status,i.result=n,i},eA=Object.prototype.hasOwnProperty;function eI(e,n){e.status>=300&&eC(e,function(){try{return JSON.parse(n)}catch(e){return n}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(n)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=n,r}}function eT(e,n){var r,i;"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&(null===(r=n.next)||void 0===r||r.call(n,e.result)),null===(i=n.error)||void 0===i||i.call(n,e))}var eP=function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new d.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n  link: new HttpLink({ uri: '/graphql', fetch })\n});\n    "):new d.ej(23)},eO=r(16918),eR={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},eD=function(e,n){return n(e)},eM=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,n=e.signal;return{controller:e,signal:n}};function eF(e){return new H(function(n){n.error(e)})}var eN=(0,d.wY)(function(){return fetch}),ej=function(e){void 0===e&&(e={});var n=e.uri,r=void 0===n?"/graphql":n,i=e.fetch,o=e.print,a=void 0===o?eD:o,s=e.includeExtensions,u=e.preserveHeaderCase,c=e.useGETForQueries,l=e.includeUnusedVariables,f=void 0!==l&&l,h=(0,C._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&eP(i||eN);var p={http:{includeExtensions:s,preserveHeaderCase:u},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new ew(function(e){var n,o,s,u=(n=e,o=r,n.getContext().uri||("function"==typeof o?o(n):o||"/graphql")),l=e.getContext(),h={};if(l.clientAwareness){var m=l.clientAwareness,g=m.name,v=m.version;g&&(h["apollographql-client-name"]=g),v&&(h["apollographql-client-version"]=v)}var y=(0,C.pi)((0,C.pi)({},h),l.headers),b=function(e,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,C.pi)((0,C.pi)((0,C.pi)({},o),e.options),{headers:(0,C.pi)((0,C.pi)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,C.pi)((0,C.pi)({},a),e.http)}),o.headers&&(o.headers=function(e,n){if(!n){var r=Object.create(null);
270return Object.keys(Object(e)).forEach(function(n){r[n.toLowerCase()]=e[n]}),r}var i=Object.create(null);Object.keys(Object(e)).forEach(function(n){i[n.toLowerCase()]={originalName:n,value:e[n]}});var o=Object.create(null);return Object.keys(i).forEach(function(e){o[i[e].originalName]=i[e].value}),o}(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=n(l,eO.S)),{options:o,body:f}}(e,a,eR,p,{http:l.http,options:l.fetchOptions,credentials:l.credentials,headers:y}),w=b.options,S=b.body;if(S.variables&&!f){var _=new Set(Object.keys(S.variables));(0,A.Vn)(e.query,{Variable:function(e,n,r){r&&"VariableDefinition"!==r.kind&&_.delete(e.name.value)}}),_.size&&(S.variables=(0,C.pi)({},S.variables),_.forEach(function(e){delete S.variables[e]}))}if(!w.signal){var k=eM(),x=k.controller,E=k.signal;(s=x)&&(w.signal=E)}if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(w.method="GET"),e_(["defer"],e.query)&&(w.headers=w.headers||{},w.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),"GET"===w.method){var I=function(e,n){var r=[],i=function(e,n){r.push("".concat(e,"=").concat(encodeURIComponent(n)))};if("query"in n&&i("query",n.query),n.operationName&&i("operationName",n.operationName),n.variables){var o=void 0;try{o=ek(n.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(n.extensions){var a=void 0;try{a=ek(n.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+r.join("&")+s}}(u,S),T=I.newURI,P=I.parseError;if(P)return eF(P);u=T}else try{w.body=ek(S,"Payload")}catch(e){return eF(e)}return new H(function(n){return(i||(0,d.wY)(function(){return fetch})||eN)(u,w).then(function(r){e.setContext({response:r});var i,o=null===(i=r.headers)||void 0===i?void 0:i.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,n){var r,i,o;return(0,C.mG)(this,void 0,void 0,function(){var a,s,u,c,l,f,d,h,p,m,g,v,y,b,w,S,_,k,x;return(0,C.Jh)(this,function(E){switch(E.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");a=new TextDecoder("utf-8"),s=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),u="boundary=",c=(null==s?void 0:s.includes(u))?null==s?void 0:s.substring((null==s?void 0:s.indexOf(u))+u.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",l="--".concat(c),f="",d=function(e){var n,r,i,o,a,s,u=e;if(e.body&&(u=e.body),n=u,ex.DN&&n[Symbol.asyncIterator])return i=u[Symbol.asyncIterator](),(r={next:function(){return i.next()}})[Symbol.asyncIterator]=function(){return this},r;if(u.getReader)return eE(u.getReader());if(u.stream)return eE(u.stream().getReader());if(u.arrayBuffer)return o=u.arrayBuffer(),a=!1,s={next:function(){return a?Promise.resolve({value:void 0,done:!0}):(a=!0,new Promise(function(e,n){o.then(function(n){e({value:n,done:!1})}).catch(n)}))}},ex.DN&&(s[Symbol.asyncIterator]=function(){return this}),s;if(u.pipe)return function(e){var n=null,r=null,i=!1,o=[],a=[];function s(e){if(!r){if(a.length){var n=a.shift();if(Array.isArray(n)&&n[0])return n[0]({value:e,done:!1})}o.push(e)}}function u(e){r=e,a.slice().forEach(function(n){n[1](e)}),n&&n()}function c(){i=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),n&&n()}n=function(){n=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,n){return r?n(r):o.length?e({value:o.shift(),done:!1}):i?e({value:void 0,done:!0}):void a.push([e,n])})}};return ex.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}(u);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),h=!0,E.label=1;case 1:if(!h)return[3,3];return[4,d.next()];case 2:for(m=(p=E.sent()).value,g=p.done,v="string"==typeof m?m:a.decode(m),h=!g,f+=v,y=f.indexOf(l);y>-1;){if(b=void 0,b=(x=[f.slice(0,y),f.slice(y+l.length)])[0],f=x[1],b.trim()){if(w=b.indexOf("\r\n\r\n"),(S=function(e){var n={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var i=e.slice(0,r).trim().toLowerCase(),o=e.slice(r+1).trim();n[i]=o}}),n}(b.slice(0,w))["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");_=b.slice(w);try{k=eI(e,_.replace("\r\n","")),(Object.keys(k).length>1||"data"in k||"incremental"in k||"errors"in k)&&(null===(i=n.next)||void 0===i||i.call(n,k))}catch(e){eT(e,n)}}y=f.indexOf(l)}return[3,1];case 3:return null===(o=n.complete)||void 0===o||o.call(n),[2]}})})}(r,n):function(e,n,r){var i;(i=e).text().then(function(e){return eI(i,e)}).then(function(e){return i.status>=300&&eC(i,e,"Response not successful: Received status code ".concat(i.status)),Array.isArray(e)||eA.call(e,"data")||eA.call(e,"errors")||eC(i,e,"Server response was missing for query '".concat(Array.isArray(n)?n.map(function(e){return e.operationName}):n.operationName,"'.")),e}).then(function(e){var n,i;null===(n=r.next)||void 0===n||n.call(r,e),null===(i=r.complete)||void 0===i||i.call(r)}
270).catch(function(e){return eT(e,r)})}(r,e,n)}).catch(function(e){return eT(e,n)}),function(){s&&s.abort()}})})},eU=ew.execute,eL=function(e){function n(n){void 0===n&&(n={});var r=e.call(this,ej(n).request)||this;return r.options=n,r}return(0,C.ZT)(n,e),n}(ew),eB=r(82152),eV=r(21436),ez=Object.prototype.hasOwnProperty;function eq(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e$(e)}function e$(e){var n=e[0]||{},r=e.length;if(r>1)for(var i=new eW,o=1;o<r;++o)n=i.merge(n,e[o]);return n}var eG=function(e,n,r){return this.merge(e[r],n[r])},eW=function(){function e(e){void 0===e&&(e=eG),this.reconciler=e,this.isObject=Q.s,this.pastCopies=new Set}return e.prototype.merge=function(e,n){for(var r=this,i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return(0,Q.s)(n)&&(0,Q.s)(e)?(Object.keys(n).forEach(function(o){if(ez.call(e,o)){var a=e[o];if(n[o]!==a){var s=r.reconciler.apply(r,(0,C.ev)([e,n,o],i,!1));s!==a&&((e=r.shallowCopyForMerge(e))[o]=s)}}else(e=r.shallowCopyForMerge(e))[o]=n[o]}),e):n},e.prototype.shallowCopyForMerge=function(e){return(0,Q.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,C.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function eH(e){return"incremental"in e}function eQ(e,n){var r=e,i=new eW;return eH(n)&&(0,eV.O)(n.incremental)&&n.incremental.forEach(function(e){for(var n=e.data,o=e.path,a=o.length-1;a>=0;--a){var s=o[a],u=isNaN(+s)?{}:[];u[s]=n,n=u}
270r=i.merge(r,n)}),r}var eK=function(){return Object.create(null)},eZ=Array.prototype,eJ=eZ.forEach,eY=eZ.slice,eX=function(){function e(e,n){void 0===e&&(e=!0),void 0===n&&(n=eK),this.weakness=e,this.makeData=n}return e.prototype.lookup=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var n=this;return eJ.call(e,function(e){return n=n.getChildTrie(e)}),n.data||(n.data=this.makeData(eY.call(e)))},e.prototype.getChildTrie=function(n){var r=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(n)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),i=r.get(n);return i||r.set(n,i=new e(this.weakness,this.makeData)),i},e}(),e0=function(){function e(){this.known=new(ex.sy?WeakSet:Set),this.pool=new eX(ex.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,Q.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,Q.s)(e)){var n=(0,Q.s)(e)?(0,eV.k)(e)?e.slice(0):(0,C.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(n,e),n}return e},e.prototype.admit=function(e){var n=this;if((0,Q.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var i=e.map(this.admit,this),o=this.pool.lookupArray(i);return!o.array&&(this.known.add(o.array=i),__DEV__&&Object.freeze(i)),o.array;case null:case Object.prototype:if(this.known.has(e))break;var a=Object.getPrototypeOf(e),s=[a],u=this.sortedKeys(e);s.push(u.json);var c=s.length;u.sorted.forEach(function(r){s.push(n.admit(e[r]))});var o=this.pool.lookupArray(s);if(!o.object){var l=o.object=Object.create(a);this.known.add(l),u.sorted.forEach(function(e,n){l[e]=s[c+n]}),__DEV__&&Object.freeze(l)}return o.object}}return e},e.prototype.sortedKeys=function(e){var n=Object.keys(e),r=this.pool.lookupArray(n);if(!r.keys){n.sort();var i=JSON.stringify(n);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:n,json:i})}return r.keys},e}(),e1=Object.assign(function(e){if((0,Q.s)(e)){void 0===s&&e2();var n=s.admit(e),r=u.get(n);return void 0===r&&u.set(n,r=JSON.stringify(n)),r}return JSON.stringify(e)},{reset:e2});function e2(){s=new e0,u=new(ex.mr?WeakMap:Map)}function e5(e,n,r){return new H(function(i){var o=i.next,a=i.error,s=i.complete,u=0,c=!1,l={then:function(e){return new Promise(function(n){return n(e())})}};function f(e,n){return e?function(n){++u;var r=function(){return e(n)};l=l.then(r,r).then(function(e){--u,o&&o.call(i,e),c&&d.complete()},function(e){throw--u,e}).catch(function(e){a&&a.call(i,e)})}:function(e){return n&&n.call(i,e)}}var d={next:f(n,o),error:f(r,a),complete:function(){c=!0,!u&&s&&s.call(i)}},h=e.subscribe(d);return function(){return h.unsubscribe()}})}function e3(e){var n=e4(e);return(0,eV.O)(n)}function e4(e){var n=(0,eV.O)(e.errors)?e.errors.slice(0):[];return eH(e)&&(0,eV.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}var e6=r(97359),e8={kind:e6.h.FIELD,name:{kind:e6.h.NAME,value:"__typename"}};function e9(e){var n=new Map;return function(r){void 0===r&&(r=e);var i=n.get(r);return i||n.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function e7(e,n){for(var r,i,o,a,s=e9(""),u=e9(""),c=function(e){for(var n=0,r=void 0;n<e.length&&(r=e[n]);++n)if(!(0,eV.k)(r)){if(r.kind===e6.h.OPERATION_DEFINITION)return s(r.name&&r.name.value);if(r.kind===e6.h.FRAGMENT_DEFINITION)return u(r.name.value)}return __DEV__&&d.kG.error("Could not find operation or fragment"),null},l=0,f=n.definitions.length-1;f>=0;--f)n.definitions[f].kind===e6.h.OPERATION_DEFINITION&&++l;var h=(r=new Set,i=[],e.forEach(function(e){e.name?r.add(e.name):e.test&&i.push(e.test)}),function(e){return r.has(e.name.value)||i.some(function(n){return n(e)})}),p=e.some(function(e){return e.remove}),m=function(e){return p&&e&&e.some(h)},g=new Map,v=!1,y={enter:function(e){if(m(e.directives))return v=!0,null}},b=(0,A.Vn)(n,{Field:y,InlineFragment:y,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,n,r,i,o){var a=c(o);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,n,r,i,o){if(m(e.directives))return v=!0,null;var a=c(o);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,n,r,i){g.set(JSON.stringify(i),e)},leave:function(e,n,r,i){return e===g.get(JSON.stringify(i))?e:l>0&&e.selectionSet.selections.every(function(e){return e.kind===e6.h.FIELD&&"__typename"===e.name.value})?(u(e.name.value).removed=!0,v=!0,null):void 0}},Directive:{leave:function(e){if(h(e))return v=!0,null}}});if(!v)return n;var w=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(n){w(u(n)).transitiveVars.forEac
270h(function(n){e.transitiveVars.add(n)})})),e},S=new Set;b.definitions.forEach(function(e){e.kind===e6.h.OPERATION_DEFINITION?w(s(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){S.add(e)}):e.kind!==e6.h.FRAGMENT_DEFINITION||0!==l||u(e.name.value).removed||S.add(e.name.value)}),S.forEach(function(e){w(u(e)).fragmentSpreads.forEach(function(e){S.add(e)})});var _={enter:function(e){var n;if(n=e.name.value,!S.has(n)||u(n).removed)return null}};return!function e(n,r){return!n||n.selectionSet.selections.every(function(n){return n.kind===e6.h.FRAGMENT_SPREAD&&e(r[n.name.value],r)})}(el(o=(0,A.Vn)(b,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var n=w(s(e.name&&e.name.value)).transitiveVars;if(n.size<e.variableDefinitions.length)return(0,C.pi)((0,C.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return n.has(e.variable.name.value)})})}}}}))||(__DEV__?(0,d.kG)("Document"===o.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,d.kG)("Document"===o.kind,51),__DEV__?(0,d.kG)(o.definitions.length<=1,"Fragment must have exactly one definition."):(0,d.kG)(o.definitions.length<=1,52),a=o.definitions[0],__DEV__?(0,d.kG)("FragmentDefinition"===a.kind,"Must be a fragment definition."):(0,d.kG)("FragmentDefinition"===a.kind,53),a),Z(ed(o)))?o:null}var te=Object.assign(function(e){return(0,A.Vn)(e,{SelectionSet:{enter:function(e,n,r){if(!r||r.kind!==e6.h.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return eu(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!(eu(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,C.pi)((0,C.pi)({},e),{selections:(0,C.ev)((0,C.ev)([],i,!0),[e8],!1)})}}}})},{added:function(e){return e===e8}}),tt={test:function(e){var n="connection"===e.name.value;return n&&(!e.arguments||!e.arguments.some(function(e){return"key"===e.name.value}))&&__DEV__&&d.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),n}},tn=new Map;function tr(e){var n=tn.get(e)||1;return tn.set(e,n+1),"".concat(e,":").concat(n,":").concat(Math.random().toString(36).slice(2))}function ti(e,n,r){var i=[];e.forEach(function(e){return e[n]&&i.push(e)}),i.forEach(function(e){return e[n](r)})}function to(e){function n(n){Object.defineProperty(e,n,{value:H})}return ex.aS&&Symbol.species&&n(Symbol.species),n("@@species"),e}function ta(e){return e&&"function"==typeof e.then}var ts=function(e){function n(n){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,n){r.resolve=e,r.reject=n}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),ti(r.observers,"next",e))},error:function(e){var n=r.sub;null!==n&&(n&&setTimeout(function(){return n.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),ti(r.observers,"error",e))},complete:function(){var e=r.sub,n=r.sources;if(null!==e){var i=(void 0===n?[]:n).shift();i?ta(i)?i.then(function(e){return r.sub=e.subscribe(r.handlers)}):r.sub=i.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),ti(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof n&&(n=[new H(n)]),ta(n)?n.then(function(e){return r.start(e)},r.handlers.error):r.start(n),r}return(0,C.ZT)(n,e),n.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},n.prototype.deliverLastMessage=function(e){if(this.latest){var n=this.latest[0],r=e[n];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===n&&e.complete&&e.complete()}},n.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},n.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},n.prototype.notify=function(e,n){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,n)}))},n.prototype.beforeNext=function(e){var n=!1;this.nextResultListeners.add(function(r,i){n||(n=!0,e(r,i))})},n}(H);to(ts);var tu=r(30990),tc=r(1644),tl=Object.prototype.toString;function tf(e,n){switch(tl.call(e)){case"[object Array]":if((n=n||new Map).has(e))return n.get(e);var r=e.slice(0);return n.set(e,r),r.forEach(function(e,i){r[i]=tf(e,n)}),r;case"[object Object]":if((n=n||new Map).has(e))return n.get(e);var i=Object.create(Object.getPrototypeOf(e));return n.set(e,i),Object.keys(e).forEach(function(r){i[r]=tf(e[r],n)}),i;default:return e}}var td=r(53712),th=Object.assign,tp=Object.hasOwnProperty,tm=function(e){function n(n){var r=n.queryManager,i=n.queryInfo,o=n.options,a=e.call(this,function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=tv)}catch(e){}var r=!a.observers.size;a.observers.add(e);var i=a.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.isTornDown=!1;var s=r.defaultOptions.watchQuery,u=(void 0===s?{}
270:s).fetchPolicy,c=void 0===u?"cache-first":u,l=o.fetchPolicy,f=void 0===l?c:l,d=o.initialFetchPolicy;a.options=(0,C.pi)((0,C.pi)({},o),{initialFetchPolicy:void 0===d?"standby"===f?c:f:d,fetchPolicy:f}),a.queryId=i.queryId||r.generateQueryId();var h=el(a.query);return a.queryName=h&&h.name&&h.name.value,a}return(0,C.ZT)(n,e),Object.defineProperty(n.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),n.prototype.result=function(){var e=this;return new Promise(function(n,r){var i={next:function(r){n(r),e.observers.delete(i),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){o.unsubscribe()},0)},error:r},o=e.subscribe(i)})},n.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var n=this.getLastResult(!0),r=this.queryInfo.networkStatus||n&&n.networkStatus||tc.I.ready,i=(0,C.pi)((0,C.pi)({},n),{loading:(0,tc.O)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,eB.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===tc.I.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=tc.I.ready,i.loading=!1)):i.partial=!0,!__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||ty(s.missing)}return e&&this.updateLastResult(i),i},n.prototype.isDifferentFromLastResult=function(e,n){return!this.last||!(0,eB.D)(this.last.result,e)||n&&!(0,eB.D)(this.last.variables,n)},n.prototype.getLast=function(e,n){var r=this.last;if(r&&r[e]&&(!n||(0,eB.D)(r.variables,this.variables)))return r[e]},n.prototype.getLastResult=function(e){return this.getLast("result",e)},n.prototype.getLastError=function(e){return this.getLast("error",e)},n.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},n.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},n.prototype.refetch=function(e){var n,r={pollInterval:0},i=this.options.fetchPolicy;if("cache-and-network"===i?r.fetchPolicy=i:"no-cache"===i?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",__DEV__&&e&&tp.call(e,"variables")){var o=eh(this.query),a=o.variableDefinitions;(!a||!a.some(function(e){return"variables"===e.variable.name.value}))&&__DEV__&&d.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(n=o.name)||void 0===n?void 0:n.value)||JSON.stringify(o),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,eB.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,C.pi)((0,C.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,tc.I.refetch)},n.prototype.fetchMore=function(e){var n=this,r=(0,C.pi)((0,C.pi)({},e.query?e:(0,C.pi)((0,C.pi)((0,C.pi)((0,C.pi)({},this.options),{query:this.query}),e),{variables:(0,C.pi)((0,C.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId(),o=this.queryInfo,a=o.networkStatus;o.networkStatus=tc.I.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var s=new Set;return this.queryManager.fetchQuery(i,r,tc.I.fetchMore).then(function(u){return n.queryManager.removeQuery(i),o.networkStatus===tc.I.fetchMore&&(o.networkStatus=a),n.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:n.query,variables:n.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:u.data,variables:r.variables})}):i.writeQuery({query:r.query,variables:r.variables,data:u.data})},onWatchUpdated:function(e){s.add(e.query)}}),u}).finally(function(){s.has(n.query)||tg(n)})},n.prototype.subscribeToMore=function(e){var n=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&n.updateQuery(function(e,n){return i(e,{subscriptionData:r,variables:n.variables})})},error:function(n){if(e.onError){e.onError(n);return}__DEV__&&d.kG.error("Unhandled GraphQL subscription error",n)}});return this.subscriptions.add(r),function(){n.subscriptions.delete(r)&&r.unsubscribe()}},n.prototype.setOptions=function(e){return this.reobserve(e)},n.prototype.setVariables=function(e){return(0,eB.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},tc.I.setVariables):Promise.resolve()},n.prototype.updateQuery=function(e){var n=this.queryManager,r=e(n.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(n.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),n.broadcastQueries())},n.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},n.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},n.prototype.applyNextFetchPolicy=function(e,n){if(n.nextFetchPolicy){var r=n.fetchPolicy,i=void 0===r?"cache-first":r,o=n.initialFetchPolicy,a=void 0===o?i:o;"standby"===i||("function"==typeof n.nextFetchPolicy?n.fetchPolicy=n.nextFetchPolicy(i,{reason:e,options:n,observable:this,initialFetchPolicy:a}):"variables-changed"===e?n.fetchPolicy=a:n.fetchPolicy=n.nextFetchPolicy)}return n.fetchPolicy},n.prototype.fetch=function(e,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,n)},n.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var n=this.pollingInfo,r=this.options.pollInterval;if(!r){n&&(clearTimeout(n.timeout),delete this.pollingInfo);return}if(!n||n.interval!==r){__DEV__?(0,d.kG)(r,"Attempted to start a polling query without a polling interval."):(0,d.kG)(r,13),(n||(this.pollingInfo={})).interval=r;var i=function(){e.pollingInfo&&((0,tc.O)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},tc.I.poll).then(o,o))},o=function(){var n=e.pollingInfo;
270n&&(clearTimeout(n.timeout),n.timeout=setTimeout(i,n.interval))};o()}}},n.prototype.updateLastResult=function(e,n){return void 0===n&&(n=this.variables),this.last=(0,C.pi)((0,C.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:tf(e),variables:n}),(0,eV.O)(e.errors)||delete this.last.error,this.last},n.prototype.reobserve=function(e,n){var r=this;this.isTornDown=!1;var i=n===tc.I.refetch||n===tc.I.fetchMore||n===tc.I.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,td.o)(this.options,e||{}),u=i?s:th(this.options,s);!i&&(this.updatePolling(),e&&e.variables&&!(0,eB.D)(e.variables,o)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",u),void 0===n&&(n=tc.I.setVariables)));var c=u.variables&&(0,C.pi)({},u.variables),l=this.fetch(u,n),f={next:function(e){r.reportResult(e,c)},error:function(e){r.reportError(e,c)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=l,this.observer=f),l.addObserver(f),l.promise},n.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},n.prototype.reportResult=function(e,n){var r=this.getLastError();(r||this.isDifferentFromLastResult(e,n))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,n),ti(this.observers,"next",e))},n.prototype.reportError=function(e,n){var r=(0,C.pi)((0,C.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:tc.I.error,loading:!1});this.updateLastResult(r,n),ti(this.observers,"error",this.last.error=e)},n.prototype.hasObservers=function(){return this.observers.size>0},n.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},n}(H);function tg(e){var n=e.options,r=n.fetchPolicy,i=n.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return(this.nextFetchPolicy=i,"function"==typeof i)?i.apply(this,arguments):r}}):e.reobserve()}function tv(e){__DEV__&&d.kG.error("Unhandled error",e.message,e.stack)}function ty(e){__DEV__&&e&&__DEV__&&d.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}function tb(e){return e.kind===e6.h.FIELD||e.kind===e6.h.FRAGMENT_SPREAD||e.kind===e6.h.INLINE_FRAGMENT}to(tm);var tw=null,tS={},t_=1;function tk(e){try{return e()}catch(e){}}var tx="@wry/context:Slot",tE=tk(function(){return globalThis})||tk(function(){return r.g})||Object.create(null),tC=tE[tx]||Array[tx]||function(e){try{Object.defineProperty(tE,tx,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(function(){function e(){this.id=["slot",t_++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=tw;e;e=e.parent)if(this.id in e.slots){var n=e.slots[this.id];if(n===tS)break;return e!==tw&&(tw.slots[this.id]=n),!0}return tw&&(tw.slots[this.id]=tS),!1},e.prototype.getValue=function(){if(this.hasValue())return tw.slots[this.id]},e.prototype.withValue=function(e,n,r,i){var o,a=((o={__proto__:null})[this.id]=e,o),s=tw;tw={parent:s,slots:a};try{return n.apply(i,r)}finally{tw=s}},e.bind=function(e){var n=tw;return function(){var r=tw;try{return tw=n,e.apply(this,arguments)}finally{tw=r}}},e.noContext=function(e,n,r){if(!tw)return e.apply(r,n);var i=tw;try{return tw=null,e.apply(r,n)}finally{tw=i}},e}());function tA(){}tC.bind,tC.noContext;var tI=function(){function e(e,n){void 0===e&&(e=1/0),void 0===n&&(n=tA),this.max=e,this.dispose=n,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var n=this.getNode(e);return n&&n.value},e.prototype.getNode=function(e){var n=this.map.get(e);if(n&&n!==this.newest){var r=n.older,i=n.newer;i&&(i.older=r),r&&(r.newer=i),n.older=this.newest,n.older.newer=n,n.newer=null,this.newest=n,n===this.oldest&&(this.oldest=i)}return n},e.prototype.set=function(e,n){var r=this.getNode(e);return r?r.value=n:(r={key:e,value:n,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var n=this.map.get(e);return!!n&&(n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.map.delete(e),this.dispose(n.value,e),!0)},e}
270(),tT=new tC,tP=Object.prototype.hasOwnProperty,tO=void 0===(c=Array.from)?function(e){var n=[];return e.forEach(function(e){return n.push(e)}),n}:c;function tR(e){var n=e.unsubscribe;"function"==typeof n&&(e.unsubscribe=void 0,n())}var tD=[];function tM(e,n){if(!e)throw Error(n||"assertion failure")}function tF(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var tN=function(){function e(n){this.fn=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!tL(this))return tj(this),this.value[0]},e.prototype.recompute=function(e){var n;return tM(!this.recomputing,"already recomputing"),tj(this),tL(this)&&(t$(this),tT.withValue(this,tU,[this,e]),function(e,n){if("function"==typeof e.subscribe)try{tR(e),e.unsubscribe=e.subscribe.apply(null,n)}catch(n){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,tL(this)||(n=this,tB(n,tz)))),tF(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,tB(this,tV),tR(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),t$(this),tB(this,function(n,r){n.setDirty(),tG(n,e)})},e.prototype.forget=function(){this.dispose()}
270,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=tD.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(tO(this.deps).forEach(function(n){return n.delete(e)}),this.deps.clear(),tD.push(this.deps),this.deps=null)},e.count=0,e}();function tj(e){var n=tT.getValue();if(n)return e.parents.add(n),n.childValues.has(e)||n.childValues.set(e,[]),tL(e)?tV(n,e):tz(n,e),n}function tU(e,n){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,n)}catch(n){e.value[1]=n}e.recomputing=!1}function tL(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function tB(e,n){var r=e.parents.size;if(r)for(var i=tO(e.parents),o=0;o<r;++o)n(i[o],e)}function tV(e,n){tM(e.childValues.has(n)),tM(tL(n));var r=!tL(e);if(e.dirtyChildren){if(e.dirtyChildren.has(n))return}else e.dirtyChildren=tD.pop()||new Set;e.dirtyChildren.add(n),r&&tB(e,tV)}function tz(e,n){tM(e.childValues.has(n)),tM(!tL(n));var r,i,o=e.childValues.get(n);0===o.length?e.childValues.set(n,n.value.slice(0)):(r=n.value,(i=o.length)>0&&i===r.length&&o[i-1]===r[i-1]||e.setDirty()),tq(e,n),tL(e)||tB(e,tz)}function tq(e,n){var r=e.dirtyChildren;r&&(r.delete(n),0===r.size&&(tD.length<100&&tD.push(r),e.dirtyChildren=null))}function t$(e){e.childValues.size>0&&e.childValues.forEach(function(n,r){tG(e,r)}),e.forgetDeps(),tM(null===e.dirtyChildren)}function tG(e,n){n.parents.delete(e),e.childValues.delete(n),tq(e,n)}var tW={setDirty:!0,dispose:!0,forget:!0};function tH(e){var n=new Map,r=e&&e.subscribe;function i(e){var i=tT.getValue();if(i){var o=n.get(e);o||n.set(e,o=new Set),i.dependOn(o),"function"==typeof r&&(tR(o),o.unsubscribe=r(e))}}return i.dirty=function(e,r){var i=n.get(e);if(i){var o=r&&tP.call(tW,r)?r:"setDirty";tO(i).forEach(function(e){return e[o]()}),n.delete(e),tR(i)}},i}function tQ(){var e=new eX("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}tQ();var tK=new Set;function tZ(e,n){void 0===n&&(n=Object.create(null));var r=new tI(n.max||65536,function(e){return e.dispose()}),i=n.keyArgs,o=n.makeCacheKey||tQ(),a=function(){var a=o.apply(null,i?i.apply(null,arguments):arguments);if(void 0===a)return e.apply(null,arguments);var s=r.get(a);s||(r.set(a,s=new tN(e)),s.subscribe=n.subscribe,s.forget=function(){return r.delete(a)});var u=s.recompute(Array.prototype.slice.call(arguments));return r.set(a,s),tK.add(r),tT.hasValue()||(tK.forEach(function(e){return e.clean()}),tK.clear()),u};function s(e){var n=r.get(e);n&&n.setDirty()}function u(e){var n=r.get(e);if(n)return n.peek()}function c(e){return r.delete(e)}return Object.defineProperty(a,"size",{get:function(){return r.map.size},configurable:!1,enumerable:!1}),a.dirtyKey=s,a.dirty=function(){s(o.apply(null,arguments))},a.peekKey=u,a.peek=function(){return u(o.apply(null,arguments))},a.forgetKey=c,a.forget=function(){return c(o.apply(null,arguments))},a.makeCacheKey=o,a.getKey=i?function(){return o.apply(null,i.apply(null,arguments))}:o,Object.freeze(a)}var tJ=new tC,tY=new WeakMap;function tX(e){var n=tY.get(e);return n||tY.set(e,n={vars:new Set,dep:tH()}),n}function t0(e){tX(e).vars.forEach(function(n){return n.forgetCache(e)})}function t1(e){var n=new Set,r=new Set,i=function(a){if(arguments.length>0){if(e!==a){e=a,n.forEach(function(e){tX(e).dep.dirty(i),e.broadcastWatches&&e.broadcastWatches()});var s=Array.from(r);r.clear(),s.forEach(function(n){return n(e)})}}else{var u=tJ.getValue();u&&(o(u),tX(u).dep(i))}return e};i.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=i.attachCache=function(e){return n.add(e),tX(e).vars.add(i),i};return i.forgetCache=function(e){return n.delete(e)},i}var t2=function(){function e(e){var n=e.cache,r=e.client,i=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=n,r&&(this.client=r),i&&this.addResolvers(i),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var n=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){n.resolvers=eq(n.resolvers,e)}):this.resolvers=eq(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var n=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,C.mG)(this,void 0,void 0,function(){return(0,C.Jh)(this,function(e){return n?[2,this.resolveDocument(n,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,C.pi)((0,C.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return e_(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return ec(e),e7([{test:function(e){return"client"===e.name.value},remove:!0}],e)},e.prototype.prepareContext=function(e){var n=this.cache;return(0,C.pi)((0,C.pi)({},e),{cache:n,getCacheKey:function(e){return n.identify(e)}})},e.prototype.addExportedVariables=function(e,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),(0,C.mG)(this,void 0,void 0,function(){return(0,C.Jh)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,n)||{},this.prepareContext(r),n).then(function(e){return(0,C.pi)((0,C.pi)({},n),e.exportedVariables)})]:[2,(0,C.pi)({},n)]})})},e.prototype.shouldForceResolvers=function(e){var n=!1;return(0,A.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(n=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return A.$_}}}),n},e.prototype.buildRootValueFromCache=function(e,n){return this.cache.diff({query:"query"===ep(e).operation?e:(0,A.Vn)(e,{OperationDefinition:{enter:function(e){return(0,C.pi)((0,C.pi)({},e),{operation:"query"})}}}),variables:n,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,n,r,i,o,a){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,C.mG)(this,void 0,void 0,function(){var s,u,c,l,f,d,h,p,m;return(0,C.Jh)(this,function(g){return s=ep(e),u=Z(ed(e)),c=this.collectSelectionsToResolve(s,u),f=(l=s.operation)?l.charAt(0).toUpperCase()+l.slice(1):"Query",d=this,h=d.cache,p=d.client,m={fragmentMap:u,context:(0,C.pi)((0,C.pi)({},r),{cache:h,client:p}),variables:i,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,n,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,n,r,i){return(0,C.mG)(this,void 0,void 0,function(){var o,a,s,u,c,l=this;return(0,C.Jh)(this,function(f){return o=i.fragmentMap,a=i.context,s=i.variables,u=[r],c=function(e){return(0,C.mG)(l,void 0,void 0,function(){var c,l;return(0,C.Jh)(this,function(f){return(n||i.selectionsToResolve.has(e))&&eS(e,s)?eu(e)?[2,this.resolveField(e,n,r,i).then(function(n){var r;void 0!==n&&u.push(((r={})[ea(e)]=n,r))})]:("InlineFragment"===e.kind?c=e:(c=o[e.name.value],__DEV__?(0,d.kG)(c,"No fragment named ".concat(e.name.value)):(0,d.kG)(c,11)),c&&c.typeCondition&&(l=c.typeCondition.name.value,i.fragmentMatcher(r,l,a))?[2,this.resolveSelectionSet(c.selectionSet,n,r,i).then(function(e){u.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return e$(u)})]})})},e.prototype.resolveField=function(e,n,r,i){return(0,C.mG)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,d,h,p=this;return(0,C.Jh)(this,function(m){return r?(o=i.variables,u=(a=e.name.value)!==(s=ea(e)),l=Promise.resolve(c=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(d=this.resolvers&&this.resolvers[f])&&(h=d[u?a:s])&&(l=Promise.resolve(tJ.withValue(this.cache,h,[r,eo(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=c),e.directives&&e.directives.forEac
270h(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var o,a,s=null!==(a=null===(o=e.directives)||void 0===o?void 0:o.some(function(e){return"client"===e.name.value}))&&void 0!==a&&a;return Array.isArray(r)?p.resolveSubSelectedArray(e,n||s,r,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,n||s,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,n,r,i){var o=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?o.resolveSubSelectedArray(e,n,r,i):e.selectionSet?o.resolveSelectionSet(e.selectionSet,n,r,i):void 0}))},e.prototype.collectSelectionsToResolve=function(e,n){var r=function(e){return!Array.isArray(e)},i=this.selectionsToResolveCache;return function e(o){if(!i.has(o)){var a=new Set;i.set(o,a),(0,A.Vn)(o,{Directive:function(e,n,i,o,s){"client"===e.name.value&&s.forEach(function(e){r(e)&&tb(e)&&a.add(e)})},FragmentSpread:function(i,o,s,u,c){var l=n[i.name.value];__DEV__?(0,d.kG)(l,"No fragment named ".concat(i.name.value)):(0,d.kG)(l,12);var f=e(l);f.size>0&&(c.forEach(function(e){r(e)&&tb(e)&&a.add(e)}),a.add(i),f.forEach(function(e){a.add(e)}))}})}return i.get(o)}(e)},e}(),t5=new(ex.mr?WeakMap:Map);function t3(e,n){var r=e[n];"function"==typeof r&&(e[n]=function(){return t5.set(e,(t5.get(e)+1)%1e15),r.apply(this,arguments)})}function t4(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var t6=function(){function e(e,n){void 0===n&&(n=e.generateQueryId()),this.queryId=n,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;t5.has(r)||(t5.set(r,0),t3(r,"evict"),t3(r,"modify"),t3(r,"reset"))}return e.prototype.init=function(e){var n=e.networkStatus||tc.I.loading;return this.variables&&this.networkStatus!==tc.I.loading&&!(0,eB.D)(this.variables,e.variables)&&(n=tc.I.setVariables),(0,eB.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:n}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){t4(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var n=this.getDiffOptions(e);if(this.lastDiff&&(0,eB.D)(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var i=this.cache.diff(n);return this.updateLastDiff(i,n),i},e.prototype.updateLastDiff=function(e,n){this.lastDiff=e?{diff:e,options:n||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var n;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(n=this.observableQuery)||void 0===n?void 0:n.options.canonizeResults}},e.prototype.setDiff=function(e){var n=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,eB.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0)))},e.prototype.setObservableQuery=function(e){var n=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){n.getDiff().fromOptimisticTransaction?e.observe():tg(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;t4(this),this.shouldNotify()&&this.listeners.forEach(function(n){return n(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,tc.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach(function(e){return e.unsubscribe()});var n=this.observableQuery;n&&n.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var n=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,C.pi)((0,C.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return n.setDiff(e)}});
270this.lastWatch&&(0,eB.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,n){var r=this.lastWrite;return!(r&&r.dmCount===t5.get(this.cache)&&(0,eB.D)(n,r.variables)&&(0,eB.D)(e.data,r.result.data))},e.prototype.markResult=function(e,n,r,i){var o=this,a=new eW,s=(0,eV.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,eV.O)(e.incremental)){var u=eQ(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=a.merge(c.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==i&&(t8(e,r.errorPolicy)?this.cache.performTransaction(function(a){if(o.shouldWrite(e,r.variables))a.writeQuery({query:n,data:e.data,variables:r.variables,overwrite:1===i}),o.lastWrite={result:e,variables:r.variables,dmCount:t5.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var s=o.getDiffOptions(r.variables),u=a.diff(s);o.stopped||o.updateWatch(r.variables),o.updateLastDiff(u,s),u.complete&&(e.data=u.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tc.I.ready},e.prototype.markError=function(e){return this.networkStatus=tc.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function t8(e,n){void 0===n&&(n="none");var r="ignore"===n||"all"===n,i=!e3(e);return!i&&r&&e.data&&(i=!0),i}var t9=Object.prototype.hasOwnProperty,t7=function(){function e(e){var n=e.cache,r=e.link,i=e.defaultOptions,o=e.queryDeduplication,a=e.onBroadcast,s=e.ssrMode,u=e.clientAwareness,c=e.localState,l=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(ex.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=n,this.link=r,this.defaultOptions=i||Object.create(null),this.queryDeduplication=void 0!==o&&o,this.clientAwareness=void 0===u?{}:u,this.localState=c||new t2({cache:n}),this.ssrMode=void 0!==s&&s,this.assumeImmutableResults=!!l,(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(n,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(__DEV__?new d.ej("QueryManager stopped while query was in flight"):new d.ej(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(n){return n(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var n,r,i=e.mutation,o=e.variables,a=e.optimisticResponse,s=e.updateQueries,u=e.refetchQueries,c=void 0===u?[]:u,l=e.awaitRefetchQueries,f=void 0!==l&&l,h=e.update,p=e.onQueryUpdated,m=e.fetchPolicy,g=void 0===m?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.fetchPolicy)||"network-only":m,v=e.errorPolicy,y=void 0===v?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":v,b=e.keepRootFields,w=e.context;return(0,C.mG)(this,void 0,void 0,function(){var e,n,r,u,l,m;return(0,C.Jh)(this,function(v){switch(v.label){case 0:if(__DEV__?(0,d.kG)(i,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,d.kG)(i,15),__DEV__?(0,d.kG)("network-only"===g||"no-cache"===g,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,d.kG)("network-only"===g||"no-cache"===g,16),e=this.generateMutationId(),r=(n=this.transform(i)).document,u=n.hasClientExports,i=this.cache.transformForLink(r),o=this.getVariables(i,o),!u)return[3,2];return[4,this.localState.addExportedVariables(i,o,w)];case 1:o=v.sent(),v.label=2;case 2:return l=this.mutationStore&&(this.mutationStore[e]={mutation:i,variables:o,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:i,variables:o,fetchPolicy:g,errorPolicy:y,context:w,updateQueries:s,update:h,keepRootFields:b}),this.broadcastQueries(),m=this,[2,new Promise(function(n,r){return e5(m.getObservableFromLink(i,(0,C.pi)((0,C.pi)({},w),{optimisticResponse:a}),o,!1),function(n){if(e3(n)&&"none"===y)throw new tu.c({graphQLErrors:e4(n)});l&&(l.loading=!1,l.error=null);var r=(0,C.pi)({},n);return"function"==typeof c&&(c=c(r)),"ignore"===y&&e3(r)&&delete r.errors,m.markMutationResult({mutationId:e,result:r,document:i,variables:o,fetchPolicy:g,errorPolicy:y,context:w,update:h,updateQueries:s,awaitRefetchQueries:f,refetchQueries:c,removeOptimistic:a?e:void 0,onQueryUpdated:p,keepRootFields:b})}).subscribe({next:function(e){m.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||n(e)},error:function(n){l&&(l.loading=!1,l.error=n),a&&m.cache.removeOptimistic(e),m.broadcastQueries(),r(n instanceof tu.c?n:new tu.c({networkError:n}))}})})]}})})},e.prototype.markMutationResult=function(e,n){var r=this;void 0===n&&(n=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&t8(i,e.errorPolicy)){if(eH(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),eH(i)&&(0,eV.O)(i.incremental)){var s=n.diff({id:"ROOT_MUTATION",query:this.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
270),u=void 0;s.result&&(u=eQ(s.result,i)),void 0!==u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,a){var s=e.observableQuery,u=s&&s.queryName;if(u&&t9.call(c,u)){var l=c[u],f=r.queries.get(a),d=f.document,h=f.variables,p=n.diff({query:d,variables:h,returnPartialData:!0,optimistic:!1}),m=p.result;if(p.complete&&m){var g=l(m,{mutationResult:i,queryName:d&&ef(d)||void 0,queryVariables:h});g&&o.push({result:g,dataId:"ROOT_QUERY",query:d,variables:h})}}})}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(n){a||o.forEach(function(e){return n.write(e)});var s,u=e.update,c=!(eH(s=i)||"hasNext"in s&&"data"in s)||eH(i)&&!i.hasNext;if(u){if(!a){var l=n.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,C.pi)((0,C.pi)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&u(n,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||n.modify({id:"ROOT_MUTATION",fields:function(e,n){var r=n.fieldName,i=n.DELETE;return"__typename"===r?e:i}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return l.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,n){var r=this,i="function"==typeof e?e(n.variables):e;return this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,C.pi)((0,C.pi)({},n),{result:{data:i}}),e)}catch(e){__DEV__&&d.kG.error(e)}},n.mutationId)},e.prototype.fetchQuery=function(e,n,r){return this.fetchQueryObservable(e,n,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(n,r){e[r]={variables:n.variables,networkStatus:n.networkStatus,networkError:n.networkError,graphQLErrors:n.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var n=this.queries.get(e);n&&(n.networkError=void 0,n.graphQLErrors=[])},e.prototype.transform=function(e){var n=this.transformCache;if(!n.has(e)){var r=this.cache.transformDocument(e),i=e7([tt],ec(r)),o=this.localState.clientQuery(r),a=i&&this.localState.serverQuery(i),s={document:r,hasClientExports:r&&e_(["client","export"],r,!0),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:a,defaultVars:em(el(r)),asQuery:(0,C.pi)((0,C.pi)({},r),{definitions:r.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,C.pi)((0,C.pi)({},e),{operation:"query"}):e})})},u=function(e){e&&!n.has(e)&&n.set(e,s)};u(e),u(r),u(o),u(a)}return n.get(e)},e.prototype.getVariables=function(e,n){return(0,C.pi)((0,C.pi)({},this.transform(e).defaultVars),n)},e.prototype.watchQuery=function(e){void 0===(e=(0,C.pi)((0,C.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new t6(this),r=new tm({queryManager:this,queryInfo:n,options:e});return this.queries.set(r.queryId,n),n.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,n){var r=this;return void 0===n&&(n=this.generateQueryId()),__DEV__?(0,d.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,d.kG)(e.query,17),__DEV__?(0,d.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,d.kG)("Document"===e.query.kind,18),__DEV__?(0,d.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,d.kG)(!e.returnPartialData,19),__DEV__?(0,d.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,d.kG)(!e.pollInterval,20),this.fetchQuery(n,e).finally(function(){return r.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var n=this.queries.get(e);n&&n.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new d.ej("Store reset while query was in flight (not completed in link chain)"):new d.ej(21)),this.queries.forEac
270h(function(e){e.observableQuery?e.networkStatus=tc.I.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var n=this;void 0===e&&(e="active");var r=new Map,i=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?i.set(e,!1):(0,Q.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)?i.set(n.transform(e).document,!1):(0,Q.s)(e)&&e.query&&o.add(e)}),this.queries.forEach(function(n,o){var a=n.observableQuery,s=n.document;if(a){if("all"===e){r.set(o,a);return}var u=a.queryName;if("standby"===a.options.fetchPolicy||"active"===e&&!a.hasObservers())return;("active"===e||u&&i.has(u)||s&&i.has(s))&&(r.set(o,a),u&&i.set(u,!0),s&&i.set(s,!0))}}),o.size&&o.forEach(function(e){var i=tr("legacyOneTimeQuery"),o=n.getQuery(i).init({document:e.query,variables:e.variables}),a=new tm({queryManager:n,queryInfo:o,options:(0,C.pi)((0,C.pi)({},e),{fetchPolicy:"network-only"})});(0,d.kG)(a.queryId===i),o.setObservableQuery(a),r.set(i,a)}),__DEV__&&i.size&&i.forEach(function(e,n){!e&&__DEV__&&d.kG.warn("Unknown query ".concat("string"==typeof n?"named ":"").concat(JSON.stringify(n,null,2)," requested in refetchQueries options.include array"))}),r},e.prototype.reFetchObservableQueries=function(e){var n=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(i,o){var a=i.options.fetchPolicy;i.resetLastResults(),(e||"standby"!==a&&"cache-only"!==a)&&r.push(i.refetch()),n.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var n=this,r=e.query,i=e.fetchPolicy,o=e.errorPolicy,a=e.variables,s=e.context,u=void 0===s?{}:s;r=this.transform(r).document,a=this.getVariables(r,a);var c=function(e){return n.getObservableFromLink(r,u,e).map(function(a){if("no-cache"!==i&&(t8(a,o)&&n.cache.write({query:r,result:a.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),n.broadcastQueries()),e3(a))throw new tu.c({graphQLErrors:a.errors});return a})};if(this.transform(r).hasClientExports){var l=this.localState.addExportedVariables(r,a,u).then(c);return new H(function(e){var n=null;return l.then(function(r){return n=r.subscribe(e)},e.error),function(){return n&&n.unsubscribe()}})}return c(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,n,r,i){var o,a,s=this;void 0===i&&(i=null!==(o=null==n?void 0:n.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.transform(e).serverQuery;if(u){var c=this.inFlightLinkObservables,l=this.link,f={query:u,variables:r,operationName:ef(u)||void 0,context:this.prepareContext((0,C.pi)((0,C.pi)({},n),{forceFetch:!i}))};if(n=f.context,i){var d=c.get(u)||new Map;c.set(u,d);var h=e1(r);if(!(a=d.get(h))){var p=new ts([eU(l,f)]);d.set(h,a=p),p.beforeNext(function(){d.delete(h)&&d.size<1&&c.delete(u)})}}else a=new ts([eU(l,f)])}else a=new ts([H.of({data:{}})]),n=this.prepareContext(n);var m=this.transform(e).clientQuery;return m&&(a=e5(a,function(e){return s.localState.runResolvers({document:m,remoteResult:e,context:n,variables:r})})),a},e.prototype.getResultsFromLink=function(e,n,r){var i=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(this.transform(e.document).document);return e5(this.getObservableFromLink(o,r.context,r.variables),function(a){var s=e4(a),u=s.length>0;if(i>=e.lastRequestId){if(u&&"none"===r.errorPolicy)throw e.markError(new tu.c({graphQLErrors:s}));e.markResult(a,o,r,n),e.markReady()}var c={data:a.data,loading:!1,networkStatus:tc.I.ready};return u&&"ignore"!==r.errorPolicy&&(c.errors=s,c.networkStatus=tc.I.error),c},function(n){var r=(0,tu.M)(n)?n:new tu.c({networkError:n});throw i>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchQueryObservable=function(e,n,r){var i=this;void 0===r&&(r=tc.I.loading);var o=this.transform(n.query).document,a=this.getVariables(o,n.variables),s=this.getQuery(e),u=this.defaultOptions.watchQuery,c=n.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=n.errorPolicy,d=void 0===f?u&&u.errorPolicy||"none":f,h=n.returnPartialData,p=n.notifyOnNetworkStatusChange,m=n.context,g=Object.assign({},n,{query:o,variables:a,fetchPolicy:l,errorPolicy:d,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===m?{}:m}),v=function(e){g.variables=e;var o=i.fetchQueryByPolicy(s,g,r);return"standby"!==g.fetchPolicy&&o.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",n),o},y=function(){return i.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,function(e){y(),setTimeout(function(){return b.cancel(e)})});var b=new ts(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(v):v(g.variables));return b.promise.then(y,y),b},e.prototype.refetchQueries=function(e){var n=this,r=e.updateCache,i=e.include,o=e.optimistic,a=void 0!==o&&o,s=e.removeOptimistic,u=void 0===s?a?tr("refetchQueries"):void 0:s,c=e.onQueryUpdated,l=new Map;
270i&&this.getObservableQueries(i).forEach(function(e,r){l.set(r,{oq:e,lastDiff:n.getQuery(r).getDiff()})});var f=new Map;return r&&this.cache.batch({update:r,optimistic:a&&u||!1,removeOptimistic:u,onWatchUpdated:function(e,n,r){var i=e.watcher instanceof t6&&e.watcher.observableQuery;if(i){if(c){l.delete(i.queryId);var o=c(i,n,r);return!0===o&&(o=i.refetch()),!1!==o&&f.set(i,o),o}null!==c&&l.set(i.queryId,{oq:i,lastDiff:r,diff:n})}}}),l.size&&l.forEach(function(e,r){var i,o=e.oq,a=e.lastDiff,s=e.diff;if(c){if(!s){var u=o.queryInfo;u.reset(),s=u.getDiff()}i=c(o,s,a)}c&&!0!==i||(i=o.refetch()),!1!==i&&f.set(o,i),r.indexOf("legacyOneTimeQuery")>=0&&n.stopQueryNoBroadcast(r)}),u&&this.cache.removeOptimistic(u),f},e.prototype.fetchQueryByPolicy=function(e,n,r){var i=this,o=n.query,a=n.variables,s=n.fetchPolicy,u=n.refetchWritePolicy,c=n.errorPolicy,l=n.returnPartialData,f=n.context,d=n.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:this.transform(o).document,variables:a,networkStatus:r});var p=function(){return e.getDiff(a)},m=function(n,r){void 0===r&&(r=e.networkStatus||tc.I.loading);var s=n.result;!__DEV__||l||(0,eB.D)(s,{})||ty(n.missing);var u=function(e){return H.of((0,C.pi)({data:e,loading:(0,tc.O)(r),networkStatus:r},n.complete?null:{partial:!0}))};return s&&i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===c&&r===tc.I.refetch&&Array.isArray(n.missing)?u(void 0):u(s)},g="no-cache"===s?0:r===tc.I.refetch&&"merge"!==u?1:2,v=function(){return i.getResultsFromLink(e,g,{variables:a,context:f,fetchPolicy:s,errorPolicy:c})},y=d&&"number"==typeof h&&h!==r&&(0,tc.O)(r);switch(s){default:case"cache-first":var b=p();if(b.complete)return[m(b,e.markReady())];if(l||y)return[m(b),v()];return[v()];case"cache-and-network":var b=p();if(b.complete||l||y)return[m(b),v()];return[v()];case"cache-only":return[m(p(),e.markReady())];case"network-only":if(y)return[m(p()),v()];return[v()];case"no-cache":if(y)return[m(e.getDiff()),v()];return[v()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new t6(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var n=this.localState.prepareContext(e);return(0,C.pi)((0,C.pi)({},n),{clientAwareness:this.clientAwareness})},e}(),ne=r(14012),nt=!1,nn=function(){function e(e){var n=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,i=e.credentials,o=e.headers,a=e.cache,s=e.ssrMode,u=void 0!==s&&s,c=e.ssrForceFetchDelay,l=void 0===c?0:c,f=e.connectToDevTools,h=void 0===f?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:f,p=e.queryDeduplication,m=void 0===p||p,g=e.defaultOptions,v=e.assumeImmutableResults,y=e.resolvers,b=e.typeDefs,w=e.fragmentMatcher,S=e.name,_=e.version,k=e.link;if(k||(k=r?new eL({uri:r,credentials:i,headers:o}):ew.empty()),!a)throw __DEV__?new d.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new d.ej(9);if(this.link=k,this.cache=a,this.disableNetworkFetches=u||l>0,this.queryDeduplication=m,this.defaultOptions=g||Object.create(null),this.typeDefs=b,l&&setTimeout(function(){return n.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),h&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!nt&&h&&__DEV__&&(nt=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var x=window.navigator,E=x&&x.userAgent,C=void 0;"string"==typeof E&&(E.indexOf("Chrome/")>-1?C="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":E.indexOf("Firefox/")>-1&&(C="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),C&&__DEV__&&d.kG.log("Download the Apollo DevTools for a better development experience: "+C)}this.version="3.7.9",this.localState=new t2({cache:a,client:this,resolvers:y,fragmentMatcher:w}
270),this.queryManager=new t7({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:m,ssrMode:u,clientAwareness:{name:S,version:_},localState:this.localState,assumeImmutableResults:void 0!==v&&v,onBroadcast:h?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,ne.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,C.pi)((0,C.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ne.J)(this.defaultOptions.query,e)),__DEV__?(0,d.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,d.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,C.pi)((0,C.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ne.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,n){return void 0===n&&(n=!1),this.cache.readQuery(e,n)},e.prototype.readFragment=function(e,n){return void 0===n&&(n=!1),this.cache.readFragment(e,n)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return eU(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var n=this;return this.resetStoreCallbacks.push(e),function(){n.resetStoreCallbacks=n.resetStoreCallbacks.filter(function(n){return n!==e})}},e.prototype.onClearStore=function(e){var n=this;return this.clearStoreCallbacks.push(e),function(){n.clearStoreCallbacks=n.clearStoreCallbacks.filter(function(n){return n!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var n=this.queryManager.refetchQueries(e),r=[],i=[];n.forEach(function(e,n){r.push(n),i.push(e)});var o=Promise.all(i);return o.queries=r,o.results=i,o.catch(function(e){__DEV__&&d.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),nr=function(){function e(){this.getFragmentDoc=tZ(K)}return e.prototype.batch=function(e){var n,r=this,i="string"==typeof e.o
270ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return n=e.update(r)},i),n},e.prototype.recordOptimisticTransaction=function(e,n){this.performTransaction(e,n)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,n){return void 0===n&&(n=!!e.optimistic),this.read((0,C.pi)((0,C.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:n}))},e.prototype.readFragment=function(e,n){return void 0===n&&(n=!!e.optimistic),this.read((0,C.pi)((0,C.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:n}))},e.prototype.writeQuery=function(e){var n=e.id,r=e.data,i=(0,C._T)(e,["id","data"]);return this.write(Object.assign(i,{dataId:n||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var n=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,C._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:n,result:r}))},e.prototype.updateQuery=function(e,n){return this.batch({update:function(r){var i=r.readQuery(e),o=n(i);return null==o?i:(r.writeQuery((0,C.pi)((0,C.pi)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,n){return this.batch({update:function(r){var i=r.readFragment(e),o=n(i);return null==o?i:(r.writeFragment((0,C.pi)((0,C.pi)({},e),{data:o})),o)}})},e}(),ni=function(e){function n(r,i,o,a){var s,u=e.call(this,r)||this;if(u.message=r,u.path=i,u.query=o,u.variables=a,Array.isArray(u.path)){u.missing=u.message;for(var c=u.path.length-1;c>=0;--c)u.missing=((s={})[u.path[c]]=u.missing,s)}else u.missing=u.path;return u.__proto__=n.prototype,u}return(0,C.ZT)(n,e),n}(Error),no=r(48702),na=Object.prototype.hasOwnProperty;function ns(e){return null==e}function nu(e,n){var r=e.__typename,i=e.id,o=e._id;if("string"==typeof r&&(n&&(n.keyObject=ns(i)?ns(o)?void 0:{_id:o}:{id:i}),ns(i)&&!ns(o)&&(i=o),!ns(i)))return"".concat(r,":").concat("number"==typeof i||"string"==typeof i?i:JSON.stringify(i))}var nc={dataIdFromObject:nu,addTypename:!0,resultCaching:!0,canonizeResults:!1};function nl(e){var n=e.canonizeResults;return void 0===n?nc.canonizeResults:n}var nf=/^[_a-z][_0-9a-z]*/i;function nd(e){var n=e.match(nf);return n?n[0]:e}function nh(e){return(0,Q.s)(e)&&!X(e)&&!(0,eV.k)(e)}function np(e,n){var r=Z(ed(e));return{fragmentMap:r,lookupFragment:function(e){var i=r[e];return!i&&n&&(i=n.lookup(e)),i||null}}}var nm=Object.create(null),ng=function(){return nm},nv=Object.create(null),ny=function(){function e(e,n){var r=this;this.policies=e,this.group=n,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,n){return(0,no.J)(X(e)?r.get(e.__ref,n):e&&e[n])},this.canRead=function(e){return X(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,n){if("string"==typeof e)return Y(e);if(X(e))return e;var i=r.policies.identify(e)[0];if(i){var o=Y(i);return n&&r.merge(i,e),o}}}return e.prototype.toObject=function(){return(0,C.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,n){if(this.group.depend(e,n),na.call(this.data,e)){var r=this.data[e];if(r&&na.call(r,n))return r[n]}return"__typename"===n&&na.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof nS?this.parent.get(e,n):void 0},e.prototype.lookup=function(e,n){return(n&&this.group.depend(e,"__exists"),na.call(this.data,e))?this.data[e]:this instanceof nS?this.parent.lookup(e,n):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,n){var r,i=this;X(e)&&(e=e.__ref),X(n)&&(n=n.__ref);var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof n?this.lookup(r=n):n;if(a){__DEV__?(0,d.kG)("string"==typeof r,"store.merge expects a string ID"):(0,d.kG)("string"==typeof r,1);var s=new eW(nk).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);
270o||(u.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){u[e]=1;var n=nd(e);n===e||i.policies.hasKeyArgs(s.__typename,n)||(u[n]=1),void 0!==s[e]||i instanceof nS||delete s[e]}}),u.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return i.group.dirty(r,e)})}}},e.prototype.modify=function(e,n){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,u={DELETE:nm,INVALIDATE:nv,isReference:X,toReference:this.toReference,canRead:this.canRead,readField:function(n,i){return r.policies.readField("string"==typeof n?{fieldName:n,from:i||Y(e)}:n,{store:r})}};if(Object.keys(i).forEach(function(c){var l=nd(c),f=i[c];if(void 0!==f){var d="function"==typeof n?n:n[c]||n[l];if(d){var h=d===ng?nm:d((0,no.J)(f),(0,C.pi)((0,C.pi)({},u),{fieldName:l,storeFieldName:c,storage:r.getStorage(e,c)}));h===nv?r.group.dirty(e,c):(h===nm&&(h=void 0),h!==f&&(o[c]=h,a=!0,f=h))}void 0!==f&&(s=!1)}}),a)return this.merge(e,o),s&&(this instanceof nS?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,n,r){var i,o=this.lookup(e);if(o){var a=this.getFieldValue(o,"__typename"),s=n&&r?this.policies.getStoreFieldName({typename:a,fieldName:n,args:r}):n;return this.modify(e,s?((i={})[s]=ng,i):ng)}return!1},e.prototype.evict=function(e,n){var r=!1;return e.id&&(na.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof nS&&this!==n&&(r=this.parent.evict(e,n)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,n=this.toObject(),r=[];return this.getRootIdSet().forEach(function(n){na.call(e.policies.rootTypenamesById,n)||r.push(n)}),r.length&&(n.__META={extraRootIds:r.sort()}),n},e.prototype.replace=function(e){var n=this;if(Object.keys(this.data).forEach(function(r){e&&na.call(e,r)||n.delete(r)}),e){var r=e.__META,i=(0,C._T)(e,["__META"]);
270Object.keys(i).forEach(function(e){n.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var n=--this.rootIds[e];return n||delete this.rootIds[e],n}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof nS?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,n=this.getRootIdSet(),r=this.toObject();n.forEach(function(i){na.call(r,i)&&(Object.keys(e.findChildRefIds(i)).forEach(n.add,n),delete r[i])});var i=Object.keys(r);if(i.length){for(var o=this;o instanceof nS;)o=o.parent;i.forEach(function(e){return o.delete(e)})}return i},e.prototype.findChildRefIds=function(e){if(!na.call(this.refs,e)){var n=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return n;var i=new Set([r]);i.forEach(function(e){X(e)&&(n[e.__ref]=!0),(0,Q.s)(e)&&Object.keys(e).forEach(function(n){var r=e[n];(0,Q.s)(r)&&i.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),nb=function(){function e(e,n){void 0===n&&(n=null),this.caching=e,this.parent=n,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?tH():null,this.keyMaker=new eX(ex.mr)}
270,e.prototype.depend=function(e,n){if(this.d){this.d(n+"#"+e);var r=nd(n);r!==n&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,n)}},e.prototype.dirty=function(e,n){this.d&&this.d.dirty(n+"#"+e,"__exists"===n?"forget":"setDirty")},e}();function nw(e,n){nx(e)&&e.group.depend(n,"__exists")}o=function(e){function n(n){var r=n.policies,i=n.resultCaching,o=n.seed,a=e.call(this,r,new nb(void 0===i||i))||this;return a.stump=new n_(a),a.storageTrie=new eX(ex.mr),o&&a.replace(o),a}return(0,C.ZT)(n,e),n.prototype.addLayer=function(e,n){return this.stump.addLayer(e,n)},n.prototype.removeLayer=function(){return this},n.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},n}(i=ny||(ny={})),i.Root=o;var nS=function(e){function n(n,r,i,o){var a=e.call(this,r.policies,o)||this;return a.id=n,a.parent=r,a.replay=i,a.group=o,i(a),a}return(0,C.ZT)(n,e),n.prototype.addLayer=function(e,r){return new n(e,this,r,this.group)},n.prototype.removeLayer=function(e){var n=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var i=n.data[e],o=r.lookup(e);
270o?i?i!==o&&Object.keys(i).forEach(function(r){(0,eB.D)(i[r],o[r])||n.group.dirty(e,r)}):(n.group.dirty(e,"__exists"),Object.keys(o).forEach(function(r){n.group.dirty(e,r)})):n.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},n.prototype.toObject=function(){return(0,C.pi)((0,C.pi)({},this.parent.toObject()),this.data)},n.prototype.findChildRefIds=function(n){var r=this.parent.findChildRefIds(n);return na.call(this.data,n)?(0,C.pi)((0,C.pi)({},r),e.prototype.findChildRefIds.call(this,n)):r},n.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},n}(ny),n_=function(e){function n(n){return e.call(this,"EntityStore.Stump",n,function(){},new nb(n.group.caching,n.group))||this}return(0,C.ZT)(n,e),n.prototype.removeLayer=function(){return this},n.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},n}(nS);function nk(e,n,r){var i=e[r],o=n[r];return(0,eB.D)(i,o)?i:o}function nx(e){return!!(e instanceof ny&&e.group.caching)}function nE(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var nC=function(){function e(e){var n=this;this.knownResults=new(ex.mr?WeakMap:Map),this.config=(0,td.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:nl(e)}),this.canon=e.canon||new e0,this.executeSelectionSet=tZ(function(e){var r,i=e.context.canonizeResults,o=nE(e);o[3]=!i;var a=(r=n.executeSelectionSet).peek.apply(r,o);return a?i?(0,C.pi)((0,C.pi)({},a),{result:n.canon.admit(a.result)}):a:(nw(e.context.store,e.enclosingRef.__ref),n.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize,keyArgs:nE,makeCacheKey:function(e,n,r,i){if(nx(r.store))return r.store.makeCacheKey(e,X(n)?n.__ref:n,r.varString,i)}}),this.executeSubSelectedArray=tZ(function(e){return nw(e.context.store,e.enclosingRef.__ref),n.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.field,r=e.array,i=e.context;if(nx(i.store))return i.store.makeCacheKey(n,r,i.varString)}})}return e.prototype.resetCanon=function(){this.canon=new e0},e.prototype.diffQueryAgainstStore=function(e){var n,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;a=(0,C.pi)((0,C.pi)({},em(eh(i))),a);var f=Y(void 0===o?"ROOT_QUERY":o),d=this.executeSelectionSet({selectionSet:ep(i).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,C.pi)({store:r,query:i,policies:l,variables:a,varString:e1(a),canonizeResults:c},np(i,this.config.fragments))});if(d.missing&&(n=[new ni(function(e){try{JSON.stringify(e,function(e,n){if("string"==typeof n)throw n;return n})}catch(e){return e}}(d.missing),d.missing,i,a)],!(void 0===s||s)))throw n[0];return{result:d.result,complete:!n,missing:n}},e.prototype.isFresh=function(e,n,r,i){if(nx(i.store)&&this.knownResults.get(e)===r){var o=this.executeSelectionSet.peek(r,n,i,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var n,r=this,i=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,s=e.context;if(X(o)&&!s.policies.rootTypenamesById[o.__ref]&&!s.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=s.variables,c=s.policies,l=s.store.getFieldValue(o,"__typename"),f=[],h=new eW;function p(e,r){var i;return e.missing&&(n=h.merge(n,((i={})[r]=e.missing,i))),e.result}this.config.addTypename&&"string"==typeof l&&!c.rootIdsByTypename[l]&&f.push({__typename:l});var m=new Set(i.selections);m.forEach(function(e){var i,g;if(eS(e,u)){if(eu(e)){var v=c.readField({fieldName:e.name.value,field:e,variables:s.variables,from:o},s),y=ea(e);void 0===v?te.added(e)||(n=h.merge(n,((i={})[y]="Can't find field '".concat(e.name.value,"' on ").concat(X(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),i))):(0,eV.k)(v)?v=p(r.executeSubSelectedArray({field:e,array:v,enclosingRef:a,context:s}),y):e.selectionSet?null!=v&&(v=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:v,enclosingRef:X(v)?v:a,context:s}),y)):s.canonizeResults&&(v=r.canon.pass(v)),void 0!==v&&f.push(((g={})[y]=v,g))}else{var b=J(e,s.lookupFragment);if(!b&&e.kind===e6.h.FRAGMENT_SPREAD)throw __DEV__?new d.ej("No fragment named ".concat(e.name.value)):new d.ej(5);b&&c.fragmentMatches(b,l)&&b.selectionSet.selections.forEach(m.add,m)}}});var g={result:e$(f),missing:n},v=s.canonizeResults?this.canon.admit(g):(0,no.J)(g);
270return v.result&&this.knownResults.set(v.result,i),v},e.prototype.execSubSelectedArrayImpl=function(e){var n,r=this,i=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new eW;function c(e,r){var i;return e.missing&&(n=u.merge(n,((i={})[r]=e.missing,i))),e.result}return i.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,n){return null===e?null:(0,eV.k)(e)?c(r.executeSubSelectedArray({field:i,array:e,enclosingRef:a,context:s}),n):i.selectionSet?c(r.executeSelectionSet({selectionSet:i.selectionSet,objectOrReference:e,enclosingRef:X(e)?e:a,context:s}),n):(__DEV__&&function(e,n,r){if(!n.selectionSet){var i=new Set([r]);i.forEach(function(r){(0,Q.s)(r)&&(__DEV__?(0,d.kG)(!X(r),"Missing selection set for object of type ".concat(X(r)?e.get(r.__ref,"__typename"):r&&r.__typename," returned for query field ").concat(n.name.value)):(0,d.kG)(!X(r),6),Object.values(r).forEach(i.add,i))})}}(s.store,i,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:n}},e}(),nA=Object.create(null);function nI(e){var n=JSON.stringify(e);return nA[n]||(nA[n]=Object.create(null))}function nT(e){var n=nI(e);return n.keyFieldsFn||(n.keyFieldsFn=function(n,r){var i=function(e,n){return r.readField(n,e)},o=r.keyObject=nO(e,function(e){var o=nD(r.storeObject,e,i);return void 0===o&&n!==r.storeObject&&na.call(n,e[0])&&(o=nD(n,e,nR)),__DEV__?(0,d.kG)(void 0!==o,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(n))):(0,d.kG)(void 0!==o,2),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function nP(e){var n=nI(e);return n.keyArgsFn||(n.keyArgsFn=function(n,r){var i=r.field,o=r.variables,a=r.fieldName,s=JSON.stringify(nO(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(i&&(0,eV.O)(i.directives)){var s=r.slice(1),u=i.directives.find(function(e){return e.name.value===s}),c=u&&eo(u,o);return c&&nD(c,e.slice(1))}return}if("$"===a){var l=r.slice(1);if(o&&na.call(o,l)){var f=e.slice(0);return f[0]=l,nD(o,f)}return}if(n)return nD(n,e)}));return(n||"{}"!==s)&&(a+=":"+s),a})}function nO(e,n){var r=new eW;return(function e(n){var r=nI(n);if(!r.paths){var i=r.paths=[],o=[];n.forEach(function(r,a){(0,eV.k)(r)?(e(r).forEach(function(e){return i.push(o.concat(e))}),o.length=0):(o.push(r),(0,eV.k)(n[a+1])||(i.push(o.slice(0)),o.length=0))})}return r.paths})(e).reduce(function(e,i){var o,a=n(i);if(void 0!==a){for(var s=i.length-1;s>=0;--s)(o={})[i[s]]=a,a=o;e=r.merge(e,a)}return e},Object.create(null))}function nR(e,n){return e[n]}function nD(e,n,r){return r=r||nR,function e(n){return(0,Q.s)(n)?(0,eV.k)(n)?n.map(e):nO(Object.keys(n).sort(),function(e){return nD(n,e)}):n}(n.reduce(function e(n,i){return(0,eV.k)(n)?n.map(function(n){return e(n,i)}):n&&r(n,i)},e))}function nM(e){return void 0!==e.args?e.args:e.field?eo(e.field,e.variables):null}en.setStringify(e1);var nF=function(){},nN=function(e,n){return n.fieldName},nj=function(e,n,r){return(0,r.mergeObjects)(e,n)},nU=function(e,n){return n},nL=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,C.pi)({dataIdFromObject:nu},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,n){var r,i,o=this,a=n&&(n.typename||(null===(r=n.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=n&&n.storeObject||e,u=(0,C.pi)((0,C.pi)({},n),{typename:a,storeObject:s,readField:n&&n.readField||function(){var e=nV(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),c=a&&this.getTypePolicy(a),l=c&&c.keyFn||this.config.dataIdFromObject;l;){var f=l(e,u);if((0,eV.k)(f))l=nT(f);else{i=f;break}}return i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var n=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,C._T)(i,["queryType","mutationType","subscriptionType"]);o&&n.setRootTypename("Query",r),a&&n.setRootTypename("Mutation",r),s&&n.setRootTypename("Subscription",r),na.call(n.toBeAdded,r)?n.toBeAdded[r].push(u):n.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,n){var r=this,i=this.getTypePolicy(e),o=n.keyFields,a=n.fields;function s(e,n){e.merge="function"==typeof n?n:!0===n?nj:!1===n?nU:e.merge}s(i,n.merge),i.keyFn=!1===o?nF:(0,eV.k)(o)?nT(o):"function"==typeof o?o:i.keyFn,a&&Object.keys(a).forEac
270h(function(n){var i=r.getFieldPolicy(e,n,!0),o=a[n];if("function"==typeof o)i.read=o;else{var u=o.keyArgs,c=o.read,l=o.merge;i.keyFn=!1===u?nN:(0,eV.k)(u)?nP(u):"function"==typeof u?u:i.keyFn,"function"==typeof c&&(i.read=c),s(i,l)}i.read&&i.merge&&(i.keyFn=i.keyFn||nN)})},e.prototype.setRootTypename=function(e,n){void 0===n&&(n=e);var r="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[r];n!==i&&(__DEV__?(0,d.kG)(!i||i===e,"Cannot change root ".concat(e," __typename more than once")):(0,d.kG)(!i||i===e,3),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[n]=r,this.rootTypenamesById[r]=n)},e.prototype.addPossibleTypes=function(e){var n=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){n.getSupertypeSet(r,!0),e[r].forEach(function(e){n.getSupertypeSet(e,!0).add(r);var i=e.match(nf);i&&i[0]===e||n.fuzzySubtypes.set(e,RegExp(e))})})},e.prototype.getTypePolicy=function(e){var n=this;if(!na.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);i&&i.size&&i.forEach(function(e){var i=n.getTypePolicy(e),o=i.fields;Object.assign(r,(0,C._T)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){n.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,n,r){if(e){var i=this.getTypePolicy(e).fields;return i[n]||r&&(i[n]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,n){var r=this.supertypeMap.get(e);return!r&&n&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,n,r,i){var o=this;if(!e.typeCondition)return!0;if(!n)return!1;var a=e.typeCondition.name.value;if(n===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(n,!0),u=[s],c=function(e){var n=o.getSupertypeSet(e,!1);n&&n.size&&0>u.indexOf(n)&&u.push(n)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<u.length;++h){var p=u[h];if(p.has(a))return s.has(a)||(f&&__DEV__&&d.kG.warn("Inferring subtype ".concat(n," of supertype ").concat(a)),s.add(a)),!0;p.forEach(c),l&&h===u.length-1&&function e(n,r,i){return!!(0,Q.s)(r)&&((0,eV.k)(r)?r.every(function(r){return e(n,r,i)}):n.selections.every(function(n){if(eu(n)&&eS(n,i)){var o=ea(n);return na.call(r,o)&&(!n.selectionSet||e(n.selectionSet,r[o],i))}return!0}))}(e.selectionSet,r,i)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var i=n.match(e);i&&i[0]===n&&c(r)}))}return!1},e.prototype.hasKeyArgs=function(e,n){var r=this.getFieldPolicy(e,n,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var n,r,i,o,a,s=e.typename,u=e.fieldName,c=this.getFieldPolicy(s,u,!1),l=c&&c.keyFn;if(l&&s)for(var f={typename:s,fieldName:u,field:e.field||null,variables:e.variables},d=nM(e);l;){var h=l(d,f);if((0,eV.k)(h))l=nP(h);else{a=h||u;break}}return void 0===a&&(a=e.field?(n=e.field,r=e.variables,i=null,n.directives&&(i={},n.directives.forEach(function(e){i[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var o=n.name,a=n.value;return ee(i[e.name.value],o,a,r)})})),o=null,n.arguments&&n.arguments.length&&(o={},n.arguments.forEach(function(e){return ee(o,e.name,e.value,r)})),en(n.name.value,o,i)):en(u,nM(e))),!1===a?u:u===nd(a)?a:u+":"+a},e.prototype.readField=function(e,n){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var i=n.store.getFieldValue(r,"__typename");i&&(e.typename=i)}var o=this.getStoreFieldName(e),a=nd(o),s=n.store.getFieldValue(r,o),u=this.getFieldPolicy(e.typename,a,!1),c=u&&u.read;if(c){var l=nB(this,r,e,n,n.store.getStorage(X(r)?r.__ref:r,o));return tJ.withValue(this.cache,c,[s,l])}return s}},e.prototype.getReadFunction=function(e,n){var r=this.getFieldPolicy(e,n,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,n,r){var i=this.getFieldPolicy(e,n,!1),o=i&&i.merge;return!o&&r&&(o=(i=this.getTypePolicy(r))&&i.merge),o},e.prototype.runMergeFunction=function(e,n,r,i,o){var a=r.field,s=r.typename,u=r.merge;return u===nj?nz(i.store)(e,n):u===nU?n:(i.overwrite&&(e=void 0),u(e,n,nB(this,void 0,{typename:s,fieldName:a.name.value,field:a,variables:i.variables},i,o||Object.create(null))))},e}();function nB(e,n,r,i,o){var a=e.getStoreFieldName(r),s=nd(a),u=r.variables||i.variables,c=i.store,l=c.toReference,f=c.canRead;return{args:nM(r),field:r.field||null,fieldName:s,storeFieldName:a,variables:u,isReference:X,toReference:l,storage:o,cache:e.cache,canRead:f,readField:function(){return e.readField(nV(arguments,n,u),i)},mergeObjects:nz(i.store)}}function nV(e,n,r){var i,o,a,s=e[0],u=e[1],c=e.length;return"string"==typeof s?a={fieldName:s,from:c>1?u:n}:(a=(0,C.pi)({},s),na.call(a,"from")||(a.from=n)),__DEV__&&void 0===a.from&&__DEV__&&d.kG.warn("Undefined 'from' passed to readField with arguments ".concat((i=Array.from(e),o=tr("stringifyForDisplay"),JSON.stringify(i,function(e,n){return void 0===n?o:n}).split(JSON.stringify(o)).join("<undefined>")))),void 0===a.variables&&(a.variables=r),a}
270function nz(e){return function(n,r){if((0,eV.k)(n)||(0,eV.k)(r))throw __DEV__?new d.ej("Cannot automatically merge arrays"):new d.ej(4);if((0,Q.s)(n)&&(0,Q.s)(r)){var i=e.getFieldValue(n,"__typename"),o=e.getFieldValue(r,"__typename");if(i&&o&&i!==o)return r;if(X(n)&&nh(r))return e.merge(n.__ref,r),n;if(nh(n)&&X(r))return e.merge(n,r.__ref),r;if(nh(n)&&nh(r))return(0,C.pi)((0,C.pi)({},n),r)}return r}}function nq(e,n,r){var i="".concat(n).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===n&&e.deferred===r?e:(0,C.pi)((0,C.pi)({},e),{clientOnly:n,deferred:r})),o}var n$=function(){function e(e,n,r){this.cache=e,this.reader=n,this.fragments=r}return e.prototype.writeToStore=function(e,n){var r=this,i=n.query,o=n.result,a=n.dataId,s=n.variables,u=n.overwrite,c=el(i),l=new eW;s=(0,C.pi)((0,C.pi)({},em(c)),s);var f=(0,C.pi)((0,C.pi)({store:e,written:Object.create(null),merge:function(e,n){return l.merge(e,n)},variables:s,varString:e1(s)},np(i,this.fragments)),{overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),h=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:f});if(!X(h))throw __DEV__?new d.ej("Could not identify object ".concat(JSON.stringify(o))):new d.ej(7);return f.incomingById.forEach(function(n,i){var o=n.storeObject,a=n.mergeTree,s=n.fieldNodeSet,u=Y(i);if(a&&a.map.size){var c=r.applyMerges(a,u,o,f);if(X(c))return;o=c}if(__DEV__&&!f.overwrite){var l=Object.create(null);s.forEach(function(e){e.selectionSet&&(l[e.name.value]=!0)});var h=function(e){var n=a&&a.map.get(e);return Boolean(n&&n.info&&n.info.merge)};Object.keys(o).forEach(function(e){!0!==l[nd(e)]||h(e)||function(e,n,r,i){var o=function(e){var n=i.getFieldValue(e,r);return"object"==typeof n&&n},a=o(e);if(a){var s=o(n);if(!(!s||X(a)||(0,eB.D)(a,s)||Object.keys(a).every(function(e){return void 0!==i.getFieldValue(s,e)}))){var u=i.getFieldValue(e,"__typename")||i.getFieldValue(n,"__typename"),c=nd(r),l="".concat(u,".").concat(c);if(!nK.has(l)){nK.add(l);var f=[];
270(0,eV.k)(a)||(0,eV.k)(s)||[a,s].forEach(function(e){var n=i.getFieldValue(e,"__typename");"string"!=typeof n||f.includes(n)||f.push(n)}),__DEV__&&d.kG.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(u," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(l," field, so InMemoryCache can safely merge these objects:\n\n  existing: ").concat(JSON.stringify(a).slice(0,1e3),"\n  incoming: ").concat(JSON.stringify(s).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(u,o,e,f.store)})}e.merge(i,o)}),e.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var n=this,r=e.dataId,i=e.result,o=e.selectionSet,a=e.context,s=e.mergeTree,u=this.cache.policies,c=Object.create(null),l=r&&u.rootTypenamesById[r]||es(i,o,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof l&&(c.__typename=l);var f=function(){var e=nV(arguments,c,a.variables);if(X(e.from)){var n=a.incomingById.get(e.from.__ref);if(n){var r=u.readField((0,C.pi)((0,C.pi)({},e),{from:n.storeObject}),a);if(void 0!==r)return r}}return u.readField(e,a)},h=new Set;this.flattenFields(o,i,a,l).forEach(function(e,r){var o,a=i[ea(r)];if(h.add(r),void 0!==a){var p=u.getStoreFieldName({typename:l,fieldName:r.name.value,field:r,variables:e.variables}),m=nW(s,p),g=n.processFieldValue(a,r,r.selectionSet?nq(e,!1,!1):e,m),v=void 0;r.selectionSet&&(X(g)||nh(g))&&(v=f("__typename",g));var y=u.getMergeFunction(l,r.name.value,v);y?m.info={field:r,typename:l,merge:y}:nQ(s,p),c=e.merge(c,((o={})[p]=g,o))}else __DEV__&&!e.clientOnly&&!e.deferred&&!te.added(r)&&!u.getReadFunction(l,r.name.value)&&__DEV__&&d.kG.error("Missing field '".concat(ea(r),"' while writing result ").concat(JSON.stringify(i,null,2)).substring(0,1e3))});try{var p=u.identify(i,{typename:l,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:c,readField:f}),m=p[0],g=p[1];r=r||m,g&&(c=a.merge(c,g))}catch(e){if(!r)throw e}if("string"==typeof r){var v=Y(r),y=a.written[r]||(a.written[r]=[]);if(y.indexOf(o)>=0||(y.push(o),this.reader&&this.reader.isFresh(i,v,o,a)))return v;var b=a.incomingById.get(r);return b?(b.storeObject=a.merge(b.storeObject,c),b.mergeTree=function e(n,r){if(n===r||!r||nH(r))return n;if(!n||nH(n))return r;var i=n.info&&r.info?(0,C.pi)((0,C.pi)({},n.info),r.info):n.info||r.info,o=n.map.size&&r.map.size,a={info:i,map:o?new Map:n.map.size?n.map:r.map};if(o){var s=new Set(r.map.keys());n.map.forEach(function(n,i){a.map.set(i,e(n,r.map.get(i))),s.delete(i)}),s.forEach(function(i){a.map.set(i,e(r.map.get(i),n.map.get(i)))})}return a}(b.mergeTree,s),h.forEach(function(e){return b.fieldNodeSet.add(e)})):a.incomingById.set(r,{storeObject:c,mergeTree:nH(s)?void 0:s,fieldNodeSet:h}),v}return c},e.prototype.processFieldValue=function(e,n,r,i){var o=this;return n.selectionSet&&null!==e?(0,eV.k)(e)?e.map(function(e,a){var s=o.processFieldValue(e,n,r,nW(i,a));return nQ(i,a),s}):this.processSelectionSet({result:e,selectionSet:n.selectionSet,context:r,mergeTree:i}):__DEV__?tf(e):e},e.prototype.flattenFields=function(e,n,r,i){void 0===i&&(i=es(n,e,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new eX(!1);return function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if(eS(s,r.variables)){var u=c.clientOnly,l=c.deferred;if(!(u&&l)&&(0,eV.O)(s.directives)&&s.directives.forEach(function(e){var n=e.name.value;if("client"===n&&(u=!0),"defer"===n){var i=eo(e,r.variables);i&&!1===i.if||(l=!0)}}),eu(s)){var f=o.get(s);f&&(u=u&&f.clientOnly,l=l&&f.deferred),o.set(s,nq(r,u,l))}else{var h=J(s,r.lookupFragment);if(!h&&s.kind===e6.h.FRAGMENT_SPREAD)throw __DEV__?new d.ej("No fragment named ".concat(s.name.value)):new d.ej(8);h&&a.fragmentMatches(h,i,n,r.variables)&&e(h.selectionSet,nq(r,u,l))}}}))}(e,r),o},e.prototype.applyMerges=function(e,n,r,i,o){var a=this;if(e.map.size&&!X(r)){var s,u,c=!(0,eV.k)(r)&&(X(n)||nh(n))?n:void 0,l=r;c&&!o&&(o=[X(c)?c.__ref:c]);var f=function(e,n){return(0,eV.k)(e)?"number"==typeof n?e[n]:void 0:i.store.getFieldValue(e,String(n))};
270e.map.forEach(function(e,n){var r=f(c,n),s=f(l,n);if(void 0!==s){o&&o.push(n);var h=a.applyMerges(e,r,s,i,o);h!==s&&(u=u||new Map).set(n,h),o&&(0,d.kG)(o.pop()===n)}}),u&&(r=(0,eV.k)(l)?l.slice(0):(0,C.pi)({},l),u.forEach(function(e,n){r[n]=e}))}return e.info?this.cache.policies.runMergeFunction(n,r,e.info,i,o&&(s=i.store).getStorage.apply(s,o)):r},e}(),nG=[];function nW(e,n){var r=e.map;return r.has(n)||r.set(n,nG.pop()||{map:new Map}),r.get(n)}function nH(e){return!e||!(e.info||e.map.size)}function nQ(e,n){var r=e.map,i=r.get(n);i&&nH(i)&&(nG.push(i),r.delete(n))}var nK=new Set,nZ=function(e){function n(n){void 0===n&&(n={});var r,i=e.call(this)||this;return i.watches=new Set,i.typenameDocumentCache=new Map,i.makeVar=t1,i.txCount=0,i.config=(r=n,(0,td.o)(nc,r)),i.addTypename=!!i.config.addTypename,i.policies=new nL({cache:i,dataIdFromObject:i.config.dataIdFromObject,possibleTypes:i.config.possibleTypes,typePolicies:i.config.typePolicies}),i.init(),i}return(0,C.ZT)(n,e),n.prototype.init=function(){var e=this.data=new ny.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},n.prototype.resetResultCache=function(e){var n=this,r=this.storeReader,i=this.config.fragments;this.storeWriter=new n$(this,this.storeReader=new nC({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:nl(this.config),canon:e?void 0:r&&r.canon,fragments:i}),i),this.maybeBroadcastWatch=tZ(function(e,r){return n.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?n.optimisticData:n.data;if(nx(r)){var i=e.optimistic,o=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,e1({optimistic:i,id:o,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},n.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},n.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},n.prototype.read=function(e){var n=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,C.pi)((0,C.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==n&&n})).result||null}catch(e){if(e instanceof ni)return null;throw e}},n.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},n.prototype.modify=function(e){if(na.call(e,"id")&&!e.id)return!1;var n=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,n.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},n.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,C.pi)((0,C.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},n.prototype.watch=function(e){var n=this;return this.watches.size||function(e){tX(e).vars.forEach(function(n){return n.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&t0(n),n.maybeBroadcastWatch.forget(e)}},n.prototype.gc=function(e){e1.reset();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},n.prototype.retain=function(e,n){return(n?this.optimisticData:this.data).retain(e)},n.prototype.release=function(e,n){return(n?this.optimisticData:this.data).release(e)},n.prototype.identify=function(e){if(X(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){__DEV__&&d.kG.warn(e)}},n.prototype.evict=function(e){if(!e.id){if(na.call(e,"id"))return!1;e=(0,C.pi)((0,C.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},n.prototype.reset=function(e){var n=this;return this.init(),e1.reset(),e&&e.discardWatches?(this.watches.forEac
270h(function(e){return n.maybeBroadcastWatch.forget(e)}),this.watches.clear(),t0(this)):this.broadcastWatches(),Promise.resolve()},n.prototype.removeOptimistic=function(e){var n=this.optimisticData.removeLayer(e);n!==this.optimisticData&&(this.optimisticData=n,this.broadcastWatches())},n.prototype.batch=function(e){var n,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var o=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return n=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,C.pi)((0,C.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,C.pi)((0,C.pi)({},e),{onWatchUpdated:function(e,n){var r=u.call(this,e,n);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),n},n.prototype.performTransaction=function(e,n){return this.batch({update:e,optimistic:n||null!==n})},n.prototype.transformDocument=function(e){if(this.addTypename){var n=this.typenameDocumentCache.get(e);return n||(n=te(e),this.typenameDocumentCache.set(e,n),this.typenameDocumentCache.set(n,n)),n}return e},n.prototype.transformForLink=function(e){var n=this.config.fragments;return n?n.transform(e):e},n.prototype.broadcastWatches=function(e){var n=this;this.txCount||this.watches.forEach(function(r){return n.maybeBroadcastWatch(r,e)})},n.prototype.broadcastWatch=function(e,n){var r=e.lastDiff,i=this.diff(e);(!n||(e.optimistic&&"string"==typeof n.optimistic&&(i.fromOptimisticTransaction=!0),!n.onWatchUpdated||!1!==n.onWatchUpdated.call(this,e,i,r)))&&(r&&(0,eB.D)(r.result,i.result)||e.callback(e.lastDiff=i,r))},n}(nr),nJ=r(83330),nY=r(4119),nX=r(94234);let n0=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{keyArgs:e,read(e,n){let{canRead:r}=n;if(!e)return;let i=e.nodes.filter(e=>r(e));return{...e,nodes:i,pageInfo:e.pageInfo}},merge(){var e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{nodes:[],pageInfo:{hasNextPage:!0,endCursor:""}},r=arguments.length>1?arguments[1]:void 0,{args:i}=arguments.length>2?arguments[2]:void 0;if(!i)return n;if(!(null==i?void 0:null===(e=i.pagination)||void 0===e?void 0:e.cursor)&&r)return r;let o=(0,nX.p)([...n.nodes,...r.nodes],"__ref"),a={...n.pageInfo,...r.pageInfo};return{...n,...r,nodes:o,pageInfo:a}}}},n1=ej({uri:nY.c.apiHost+"/graphql",credentials:"include"}),n2=(a=async(e,n)=>{let r,{headers:i}=n;try{let e=await nJ.g.currentSession();r=e.getIdToken().getJwtToken()}catch(e){r=null}return"prod"!==nY.c.env&&console.log("idToken: ".concat(r)),{headers:{...i,authorization:r?"Bearer ".concat(r):""}}},new ew(function(e,n){var r=(0,C._T)(e,[]);return new H(function(i){var o,s=!1;return Promise.resolve(r).then(function(n){return a(n,e.getContext())}).then(e.setContext).then(function(){s||(o=n(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){s=!0,o&&o.unsubscribe()}})})),n5=new nn({link:n2.concat(n1),cache:new nZ({typePolicies:{Query:{fields:{creatorNotifications:n0(["id"]),messages:n0(["id"]),messageRooms:n0(["id"]),commentsForRecruitmentOwner:n0(["input"])}}}}),defaultOptions:{watchQuery:{fetchPolicy:"no-cache"},query:{fetchPolicy:"network-only"}}});var n3=r(25387);let n4="ap-northeast-1";var n6=r(38969);r(74324);var n8=r(12802);function n9(){let e=(0,l.Z)(["\n  /*\n    This will hide the focus indicator if the element receives focus    via the mouse,\n    but it will still show up on keyboard focus.\n  */\n  .js-focus-visible :focus:not([data-focus-visible-added]) {\n    outline: none;\n    box-shadow: none;\n  }\n"]);return n9=function(){return e},e}k().configure({showSpinner:!1}),S().events.on("routeChangeStart",()=>{k().start()}),S().events.on("routeChangeComplete",()=>k().done()),S().events.on("routeChangeError",()=>k().done()),S().events.on("routeChangeComplete",()=>window.scrollTo(0,0));let n7=(0,v.iv)(n9()),re=e=>{let{children:n}=e;return(0,f.jsx)(g.x,{theme:n8.Z,children:(0,f.jsxs)(m,{client:n5,children:[(0,f.jsx)(v.xB,{styles:n7}),(0,f.jsx)(x.Ho,{children:(0,f.jsx)(E.wn,{children:n})})]})})},rt=e=>{let{Component:n,pageProps:r}=e;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(b(),{children:[(0,f.jsx)("title",{children:"MECRE (メクル) | クリエイターによるコラボレーションスペース"}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1"})]}),(0,f.jsx)(n6.lX,{}),(0,f.jsx)(re,{children:(0,f.jsx)(n,{...r})})]})};
270n3.d.configure({aws_project_region:n4,aws_cognito_region:n4,aws_user_pools_id:nY.c.aws.cognitoUserPoolID,aws_user_pools_web_client_id:nY.c.aws.cognitoClientID,aws_cognito_identity_pool_id:nY.c.aws.cognitoIdentityPoolID,oauth:{domain:nY.c.aws.cognitoDomain,redirectSignIn:"".concat(nY.c.host,"/signin/redirected"),redirectSignOut:"".concat(nY.c.host,"/signin"),scope:["email","openid","profile","aws.cognito.signin.user.admin"],responseType:"code"},Storage:{AWSS3:{bucket:nY.c.aws.s3BucketName,region:n4}}});var rn=rt},38969:function(e,n,r){"use strict";r.d(n,{LY:function(){return u},lX:function(){return c}});var i=r(85893),o=r(2962),a=r(4119);let s="".concat(a.c.host,"/assets/ogp/default.jpg"),u="音楽とクリエーションが好きな人な人たちが集まるコラボレーションスペース、MECRE(メクル)心揺さぶるコンテンツを一緒に生み出したい、歌い手、コンポーザー、イラストレーター、アニメーター、デザイナー、映像監督、エンジニアなど誰でも歓迎。",c=()=>{let e="MECRE (メクル)|音楽とクリエイション好きのコラボレーションスペース";return(0,i.jsx)(o.lX,{defaultTitle:e,description:u,openGraph:{site_name:"MECRE (メクル)",title:e,description:u,url:a.c.host,images:[{url:s}],locale:"ja_JP",type:"website"},twitter:{cardType:"summary_large_image"},dangerouslySetAllPagesToNoIndex:"prod"!==a.c.env,dangerouslySetAllPagesToNoFollow:"prod"!==a.c.env})}},12802:function(e,n,r){"use strict";r.d(n,{Z:function(){return s}});var i=r(14902),o=r(57469);let a=(0,i.B1)({colors:{black:"#0C173E",white:"#ffffff",primary:{100:"#C8F9EE",200:"#93F4E6",300:"#5AE0D7",400:"#31BEC1",500:"#018998",600:"#006B82",700:"#00506D",800:"#003A58",900:"#003A58"},gray:{100:"#F7FBFB",200:"#f7f7f7",300:"#eeeeee",400:"#C9D2D4",500:"#abb5b8",600:"#7D949E",700:"#5B5D64",800:"#36536A",900:"#203B58"},red:{100:"#FFE3DF",200:"#FFC1BF",300:"#FF9FA5",400:"#FF809D",500:"#ff6088",600:"#DB467A",700:"#B7306C",800:"#931E5E",900:"#7A1254"},green:{100:"#C8F9EE",200:"#93F4E6",300:"#5AE0D7",400:"#1AB6C7",500:"#018998",600:"#006B82",700:"#00506D",800:"#003A58",900:"#003A58"}},letterSpacings:{tighter:"0em",tight:"0.025em",normal:"0.05em",wide:"0.075em",wider:"0.09em",widest:"0.15em"},components:{Button:{baseStyle:e=>({rounded:"full",backgroundColor:"".concat(e.colorScheme,".500"),_disabled:{backgroundColor:"gray.500"},_hover:{_disabled:{backgroundColor:"gray.500"}}}),sizes:{md:{fontSize:"sm",paddingX:6,height:12},lg:{fontSize:"md",paddingX:8,height:14}},variants:{solid:e=>({rounded:"full",fontWeight:"bold",backgroundColor:"".concat(e.colorScheme,".500"),color:"white",_hover:{backgroundColor:[null,"".concat(e.colorScheme,".400")]}}),outlineWithColorHover:e=>({rounded:"full",borderWidth:"3px",borderColor:"".concat(e.colorScheme,".500"),fontWeight:"bold",color:"".concat(e.colorScheme,".500"),backgroundColor:"white",_hover:{borderColor:[null,"".concat(e.colorScheme,".400")],color:[null,"".concat(e.colorScheme,".400")],backgroundColor:[null,"white"]}}),outline:e=>({rounded:"full",borderWidth:"3px",borderColor:"".concat(e.colorScheme,".500"),fontWeight:"bold",color:"".concat(e.colorScheme,".500"),backgroundColor:"white",_hover:{opacity:[null,o.w_],backgroundColor:[null,"white"]}}),link:{backgroundColor:"white"}},defaultProps:{colorScheme:"blackAlpha",variant:"solid"}},Input:{baseStyle:{field:{_disabled:{backgroundColor:"gray.400",border:"none",_placeholder:{color:"gray.900"}}}},sizes:{md:{field:{fontSize:"sm",height:"48px"}},lg:{field:{fontSize:"sm",height:"60px"}}},variants:{outline:{field:{border:"3px solid"}},flushed:{field:{borderBottom:"3px solid"}}},defaultProps:{}},Select:{baseStyle:{},sizes:{lg:{field:{fontSize:"sm"},icon:{right:0,width:"50px",borderLeftWidth:"3px",height:"calc(100% - 12px)",color:"gray.500",fontSize:"2rem"}}},variants:{outline:{field:{border:"3px solid"}}},defaultProps:{}},Checkbox:{baseStyle:{control:{bg:"gray.300",borderColor:"gray.300",rounded:"md",_checked:{bg:"gray.300",borderColor:"gray.300",color:"primary.500",_hover:{bg:[null,"gray.500"],borderColor:[null,"gray.500"]}}},field:{_placeholder:{color:"gray.300"}}},sizes:{lg:{control:{width:8,height:8},label:{fontSize:"sm"},icon:{fontSize:"1rem"}}},variants:{outline:{field:{border:"3px solid"}}},defaultProps:{}},Heading:{baseStyle:{fontFamily:"source-han-sans-japanese, 'Hiragino Kaku Gothic ProN', 'ヒラã‚
270®ãƒŽè§’ã‚´ ProN W3', arial, helvetica, sans-serif",fontWeight:"700",color:"black"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Tabs:{baseStyle:{tabpanel:{p:0,py:8}},sizes:{sm:{tab:{fontSize:"sm",py:2,px:0,_notFirst:{marginLeft:4}}},md:{tab:{py:4,px:0,_notFirst:{marginLeft:8}}}},variants:{line:e=>({tab:{fontWeight:"normal",color:"gray.500",_selected:{fontWeight:"bold",color:"black",borderColor:"".concat(e.colorScheme,".500")}}})},defaultProps:{}},Radio:{baseStyle:e=>({label:{marginLeft:4,fontWeight:"bold",_checked:{color:"".concat(e.colorScheme,".500")}},control:{borderWidth:"3px",_checked:{backgroundColor:"white",borderColor:"gray.400",_before:{bg:"".concat(e.colorScheme,".500"),w:"66.7%",h:"66.7%"}}}}),sizes:{sm:{control:{_checked:{borderWidth:"1px"}}},md:{control:{_checked:{borderWidth:"2px"}}},lg:{control:{w:6,h:6,_checked:{borderWidth:"3px"}},label:{fontSize:"md"}}},variants:{},defaultProps:{colorScheme:"green"}},FormLabel:{baseStyle:{color:"black"},sizes:{},variants:{},defaultProps:{}},Text:{baseStyle:{},sizes:{},variants:{},defaultProps:{}},Textarea:{baseStyle:{_disabled:{backgroundColor:"gray.400",_placeholder:{color:"gray.900"}}},sizes:{md:{fontSize:"sm"},lg:{fontSize:"sm"}},variants:{outline:{border:"3px solid"}},defaultProps:{}},Link:{baseStyle:()=>({color:"green.500"})}},shadows:{primary:"0px 3px 23px #01899845",accent:"0px 3px 23px #ff608845",box:"0px 3px 6px #00000015",container:"0px 6px 30px #0000000D",radio:"0px 0px 20px #0000000D"},styles:{global:{"*::placeholder":{color:"gray.500"},"*, *::before, &::after":{borderColor:"gray.400",wordWrap:"break-word",wordBreak:"break-word"},"*::selection":{color:"#fff",backgroundColor:"#018998"},"*":{fontFamily:"source-han-sans-japanese, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', arial, helvetica, sans-serif"}}}});var s=a},53376:function(){},74324:function(){},11987:function(e,n,r){!function(){var n={452:function(e){"use strict";e.exports=r(97334)}},i={};function o(e){var r=i[e];if(void 0!==r)return r.exports;var a=i[e]={exports:{}},s=!0;try{n[e](a,a.exports,o),s=!1}finally{s&&delete i[e]}return a.exports}o.ab="//";var a={};!function(){var e,n=a,r=(e=o(452))&&"object"==typeof e&&"default"in e?e.default:e,i=/https?|ftp|gopher|file/;function s(e){"string"==typeof e&&(e=b(e));var n,o,a,s,u,c,l,f,d,h=(o=(n=e).auth,a=n.hostname,s=n.protocol||"",u=n.pathname||"",c=n.hash||"",l=n.query||"",f=!1,o=o?encodeURIComponent(o).replace(/%3A/i,":")+"@":"",n.host?f=o+n.host:a&&(f=o+(~a.indexOf(":")?"["+a+"]":a),n.port&&(f+=":"+n.port)),l&&"object"==typeof l&&(l=r.encode(l)),d=n.search||l&&"?"+l||"",s&&":"!==s.substr(-1)&&(s+=":"),n.slashes||(!s||i.test(s))&&!1!==f?(f="//"+(f||""),u&&"/"!==u[0]&&(u="/"+u)):f||(f=""),c&&"#"!==c[0]&&(c="#"+c),d&&"?"!==d[0]&&(d="?"+d),{protocol:s,host:f,pathname:u=u.replace(/[?#]/g,encodeURIComponent),search:d=d.replace("#","%23"),hash:c});return""+h.protocol+h.host+h.pathname+h.search+h.hash}var u="http://",c=u+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,f=/https?|ftp|gopher|file/;function d(e,n){var r="string"==typeof e?b(e):e;e="object"==typeof e?s(e):e;var i=b(n),o="";r.protocol&&!r.slashes&&(o=r.protocol,e=e.replace(r.protocol,""),o+="/"===n[0]||"/"===e[0]?"/":""),o&&i.protocol&&(o="",i.slashes||(o=i.protocol,n=n.replace(i.protocol,"")));var a=e.match(l);a&&!i.protocol&&(e=e.substr((o=a[1]+(a[2]||"")).length),/^\/\/[^/]/.test(n)&&(o=o.slice(0,-1)));var d=new URL(e,c+"/"),h=new URL(n,d).toString().replace(c,""),p=i.protocol||r.protocol;return p+=r.slashes||i.slashes?"//":"",!o&&p?h=h.replace(u,p):o&&(h=h.replace(u,"")),f.test(h)||~n.indexOf(".")||"/"===e.slice(-1)||"/"===n.slice(-1)||"/"!==h.slice(-1)||(h=h.slice(0,-1)),o&&(h=o+("/"===h[0]?h.substr(1):h)),h}function h(){}h.prototype.parse=b,h.prototype.format=s,h.prototype.resolve=d,h.prototype.resolveObject=d;var p=/^https?|ftp|gopher|file/,m=/^(.*?)([#?].*)/,g=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,v=/^([a-z0-9.+-]*:)?\/\/\/*/i,y=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function b(e,n,i){if(void 0===n&&(n=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof h)return e;var o=(e=e.trim()).match(m);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),y.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(g),u=v.test(e),l="";a&&(p.test(a[1])||(l=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(u=!1,p.test(a[1])?(l=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(l=a[1],e="/"+a[3]));var f,d=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),b=d&&d[1],w=new h,S="",_="";
270try{f=new URL(e)}catch(n){S=n,l||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(_="/",e=e.substr(1));try{f=new URL(e,c)}catch(e){return w.protocol=l,w.href=l,w}}w.slashes=u&&!_,w.host="w.w"===f.host?"":f.host,w.hostname="w.w"===f.hostname?"":f.hostname.replace(/(\[|\])/g,""),w.protocol=S?l||null:f.protocol,w.search=f.search.replace(/\\/g,"%5C"),w.hash=f.hash.replace(/\\/g,"%5C");var k=e.split("#");!w.search&&~k[0].indexOf("?")&&(w.search="?"),w.hash||""!==k[1]||(w.hash="#"),w.query=n?r.decode(f.search.substr(1)):w.search.substr(1),w.pathname=_+(a?f.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,n){try{return decodeURIComponent(n).split("").map(function(e){var n=e.charCodeAt();return n>256||/^[a-z0-9]$/i.test(e)?e:"%"+n.toString(16).toUpperCase()}).join("")}catch(e){return n}}):f.pathname),"about:"===w.protocol&&"blank"===w.pathname&&(w.protocol="",w.pathname=""),S&&"/"!==e[0]&&(w.pathname=w.pathname.substr(1)),l&&!p.test(l)&&"/"!==e.slice(-1)&&"/"===w.pathname&&(w.pathname=""),w.path=w.pathname+w.search,w.auth=[f.username,f.password].map(decodeURIComponent).filter(Boolean).join(":"),w.port=f.port,b&&!w.host.endsWith(b)&&(w.host+=b,w.port=b.slice(1)),w.href=_?""+w.pathname+w.search+w.hash:s(w);var x=/^(file)/.test(w.href)?["host","hostname"]:[];
270return Object.keys(w).forEach(function(e){~x.indexOf(e)||(w[e]=w[e]||null)}),w}n.parse=b,n.format=s,n.resolve=d,n.resolveObject=function(e,n){return b(d(e,n))},n.Url=h}(),e.exports=a}()},77663:function(e){!function(){var n={229:function(e){var n,r,i,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(r){try{return n.call(null,e,0)}catch(r){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c=[],l=!1,f=-1;function d(){l&&i&&(l=!1,i.length?c=i.concat(c):f=-1,c.length&&h())}function h(){if(!l){var e=u(d);l=!0;for(var n=c.length;n;){for(i=c,c=[];++f<n;)i&&i[f].run();f=-1,n=c.length}i=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function p(e,n){this.fun=e,this.array=n}function m(){}o.nextTick=function(e){var n=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)n[r-1]=arguments[r];c.push(new p(e,n)),1!==c.length||l||u(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},r={};function i(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={exports:{}},s=!0;try{n[e](a,a.exports,i),s=!1}finally{s&&delete r[e]}return a.exports}i.ab="//";var o=i(229);e.exports=o}()},97334:function(e){!function(){"use strict";var n,r={815:function(e){e.exports=function(e,r,i,o){r=r||"&",i=i||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(r);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var f,d,h,p,m=e[l].replace(s,"%20"),g=m.indexOf(i);(g>=0?(f=m.substr(0,g),d=m.substr(g+1)):(f=m,d=""),h=decodeURIComponent(f),p=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(a,h))?n(a[h])?a[h].push(p):a[h]=[a[h],p]:a[h]=p}return a};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var n=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,s,u){return(a=a||"&",s=s||"=",null===e&&(e=void 0),"object"==typeof e)?i(o(e),function(o){var u=encodeURIComponent(n(o))+s;return r(e[o])?i(e[o],function(e){return u+encodeURIComponent(n(e))}).join(a):u+encodeURIComponent(n(e[o]))}).join(a):u?encodeURIComponent(n(u))+s+encodeURIComponent(n(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,n){if(e.map)return e.map(n);for(var r=[],i=0;i<e.length;i++)r.push(n(e[i],i));return r}var o=Object.keys||function(e){var n=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.push(r);return n}}},i={};function o(e){var n=i[e];if(void 0!==n)return n.exports;var a=i[e]={exports:{}},s=!0;try{r[e](a,a.exports,o),s=!1}finally{s&&delete i[e]}return a.exports}o.ab="//";var a={};(n=a).decode=n.parse=o(815),n.encode=n.stringify=o(577),e.exports=a}()},9008:function(e,n,r){e.exports=r(5443)},11163:function(e,n,r){e.exports=r(90387)},74865:function(e,n,r){var i,o;void 0!==(i="function"==typeof(o=function(){var e,n,r,i={};i.version="0.2.0";var o=i.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,n,r){return e<n?n:e>r?r:e}i.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(o[n]=r);return this},i.status=null,i.set=function(e){var n=i.isStarted();e=a(e,o.minimum,1),i.status=1===e?null:e;var r=i.render(!n),c=r.querySelector(o.barSelector),l=o.speed,f=o.easing;return r.offsetWidth,s(function(n){var a,s;""===o.positionUsing&&(o.positionUsing=i.getPositioningCSS()),u(c,(a=e,(s="translate3d"===o.positionUsing?{transform:"translate3d("+(-1+a)*100+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+(-1+a)*100+"%,0)"}:{"margin-left":(-1+a)*100+"%"}).transition="all "+l+"ms "+f,s)),1===e?(u(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){u(r,{transition:"all "+l+"ms linear",opacity:0}
270),setTimeout(function(){i.remove(),n()},l)},l)):setTimeout(n,l)}),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){i.status||i.set(0);var e=function(){setTimeout(function(){i.status&&(i.trickle(),e())},o.trickleSpeed)};return o.trickle&&e(),this},i.done=function(e){return e||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(e){var n=i.status;return n?("number"!=typeof e&&(e=(1-n)*a(Math.random()*n,.1,.95)),n=a(n+e,0,.994),i.set(n)):i.start()},i.trickle=function(){return i.inc(Math.random()*o.trickleRate)},e=0,n=0,i.promise=function(r){return r&&"resolved"!==r.state()&&(0===n&&i.start(),e++,n++,r.always(function(){0==--n?(e=0,i.done()):i.set((e-n)/e)})),this},i.render=function(e){if(i.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=o.template;var r,a,s=n.querySelector(o.barSelector),c=e?"-100":(-1+(i.status||0))*100,f=document.querySelector(o.parent);return u(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),!o.showSpinner&&(a=n.querySelector(o.spinnerSelector))&&h(a),f!=document.body&&l(f,"nprogress-custom-parent"),f.appendChild(n),n},i.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},i.isRendered=function(){return!!document.getElementById("nprogress")},i.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective" in e?"translate3d":n+"Transform" in e?"translate":"margin"};var s=(r=[],function(e){r.push(e),1==r.length&&function e(){var n=r.shift();n&&n(e)}()}),u=function(){var e=["Webkit","O","Moz","ms"],n={};function r(r,i,o){var a;i=n[a=(a=i).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})]||(n[a]=function(n){var r=document.body.style;if(n in r)return n;for(var i,o=e.length,a=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((i=e[o]+a)in r)return i;return n}(a)),r.style[i]=o}return function(e,n){var i,o,a=arguments;if(2==a.length)for(i in n)void 0!==(o=n[i])&&n.hasOwnProperty(i)&&r(e,i,o);else r(e,a[1],a[2])}}();function c(e,n){return("string"==typeof e?e:d(e)).indexOf(" "+n+" ")>=0}function l(e,n){var r=d(e);c(r,n)||(e.className=(r+n).substring(1))}function f(e,n){var r,i=d(e);c(e,n)&&(r=i.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return i})?o.call(n,r,n,e):o)&&(e.exports=i)},69590:function(e){var n="undefined"!=typeof Element,r="function"==typeof Map,i="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,a){try{return function e(a,s){if(a===s)return!0;if(a&&s&&"object"==typeof a&&"object"==typeof s){var u,c,l,f;if(a.constructor!==s.constructor)return!1;if(Array.isArray(a)){if((u=a.length)!=s.length)return!1;for(c=u;0!=c--;)if(!e(a[c],s[c]))return!1;return!0}if(r&&a instanceof Map&&s instanceof Map){if(a.size!==s.size)return!1;for(f=a.entries();!(c=f.next()).done;)if(!s.has(c.value[0]))return!1;for(f=a.entries();!(c=f.next()).done;)if(!e(c.value[1],s.get(c.value[0])))return!1;return!0}if(i&&a instanceof Set&&s instanceof Set){if(a.size!==s.size)return!1;for(f=a.entries();!(c=f.next()).done;)if(!s.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(s)){if((u=a.length)!=s.length)return!1;for(c=u;0!=c--;)if(a[c]!==s[c])return!1;return!0}if(a.constructor===RegExp)return a.source===s.source&&a.flags===s.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===s.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===s.toString();if((u=(l=Object.keys(a)).length)!==Object.keys(s).length)return!1;for(c=u;0!=c--;)if(!Object.prototype.hasOwnProperty.call(s,l[c]))return!1;if(n&&a instanceof Element)return!1;for(c=u;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!a.$$typeof)&&!e(a[l[c]],s[l[c]]))return!1;return!0}return a!=a&&s!=s}(e,a)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},69921:function(e,n){"use strict";/** @license React v16.13.1
271 * react-is.production.min.js
272 *
273 * Copyright (c) Facebook, Inc. and its affiliates.
274 *
275 * This source code is licensed under the MIT license found in the
276 * LICENSE file in the root directory of this source tree.
277 */var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case i:switch(e=e.type){case f:case d:case a:case u:case s:case p:return e;default:switch(e=e&&e.$$typeof){case l:case h:case v:case g:case c:return e;default:return n}}case o:return n}}}function k(e){return _(e)===d}n.AsyncMode=f,n.ConcurrentMode=d,n.ContextConsumer=l,n.ContextProvider=c,n.Element=i,n.ForwardRef=h,n.Fragment=a,n.Lazy=v,n.Memo=g,n.Portal=o,n.Profiler=u,n.StrictMode=s,n.Suspense=p,n.isAsyncMode=function(e){return k(e)||_(e)===f},n.isConcurrentMode=k,n.isContextConsumer=function(e){return _(e)===l},n.isContextProvider=function(e){return _(e)===c},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},n.isForwardRef=function(e){return _(e)===h},n.isFragment=function(e){return _(e)===a},n.isLazy=function(e){return _(e)===v},n.isMemo=function(e){return _(e)===g},n.isPortal=function(e){return _(e)===o},n.isProfiler=function(e){return _(e)===u},n.isStrictMode=function(e){return _(e)===s},n.isSuspense=function(e){return _(e)===p},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===u||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===y)},n.typeOf=_},59864:function(e,n,r){"use strict";e.exports=r(69921)},70655:function(e,n,r){"use strict";r.d(n,{CR:function(){return l},Jh:function(){return c},ZT:function(){return o},_T:function(){return s},ev:function(){return f},mG:function(){return u},pi:function(){return a}});
277var i=function(e,n){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])})(e,n)};function o(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}i(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function s(e,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>n.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]]);return r}function u(e,n,r,i){return new(r||(r=Promise))(function(o,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function u(e){try{c(i.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):((n=e.value)instanceof r?n:new r(function(e){e(n)})).then(s,u)}c((i=i.apply(e,n||[])).next())})}function c(e,n){var r,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(c){return function(u){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(s=0)),s;)try{if(r=1,i&&(o=2&u[0]?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,i=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){s.label=u[1];break}if(6===u[0]&&s.label<o[1]){s.label=o[1],o=u;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(u);break}o[2]&&s.ops.pop(),s.trys.pop();continue}u=n.call(e,s)}catch(e){u=[6,e],i=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}function l(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,o,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function f(e,n,r){if(r||2==arguments.length)for(var i,o=0,a=n.length;o<a;o++)!i&&o in n||(i||(i=Array.prototype.slice.call(n,0,o)),i[o]=n[o]);return e.concat(i||Array.prototype.slice.call(n))}},57632:function(e,n,r){"use strict";let i;r.d(n,{Z:function(){return l}});let o="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var a={randomUUID:o};let s=new Uint8Array(16);function u(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(s)}let c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));var l=function(e,n,r){if(a.randomUUID&&!n&&!e)return a.randomUUID();e=e||{};let i=e.random||(e.rng||u)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,n){r=r||0;for(let e=0;e<16;++e)n[r+e]=i[e];return n}return function(e,n=0){return(c[e[n+0]]+c[e[n+1]]+c[e[n+2]]+c[e[n+3]]+"-"+c[e[n+4]]+c[e[n+5]]+"-"+c[e[n+6]]+c[e[n+7]]+"-"+c[e[n+8]]+c[e[n+9]]+"-"+c[e[n+10]]+c[e[n+11]]+c[e[n+12]]+c[e[n+13]]+c[e[n+14]]+c[e[n+15]]).toLowerCase()}(i)}},56249:function(){},1644:function(e,n,r){"use strict";var i,o;function a(e){return!!e&&e<7}r.d(n,{I:function(){return i},O:function(){return a}}),(o=i||(i={}))[o.loading=1]="loading",o[o.setVariables=2]="setVariables",o[o.fetchMore=3]="fetchMore",o[o.refetch=4]="refetch",o[o.poll=6]="poll",o[o.ready=7]="ready",o[o.error=8]="error"},30990:function(e,n,r){"use strict";r.d(n,{M:function(){return a},c:function(){return u}});var i=r(70655);r(13917);var o=r(21436);function a(e){return e.hasOwnProperty("graphQLErrors")}var s=function(e){var n="";return((0,o.O)(e.graphQLErrors)||(0,o.O)(e.clientErrors))&&(e.graphQLErrors||[]).concat(e.clientErrors||[]).forEac
277h(function(e){var r=e?e.message:"Error message not found.";n+="".concat(r,"\n")}),e.networkError&&(n+="".concat(e.networkError.message,"\n")),n=n.replace(/\n$/,"")},u=function(e){function n(r){var i=r.graphQLErrors,o=r.clientErrors,a=r.networkError,u=r.errorMessage,c=r.extraInfo,l=e.call(this,u)||this;return l.name="ApolloError",l.graphQLErrors=i||[],l.clientErrors=o||[],l.networkError=a||null,l.message=u||s(l),l.extraInfo=c,l.__proto__=n.prototype,l}return(0,i.ZT)(n,e),n}(Error)},85317:function(e,n,r){"use strict";r.d(n,{K:function(){return a}});var i=r(67294),o=r(30320).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function a(){var e=i.createContext[o];return e||(Object.defineProperty(i.createContext,o,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},21436:function(e,n,r){"use strict";r.d(n,{O:function(){return o},k:function(){return i}});var i=Array.isArray;function o(e){return Array.isArray(e)&&e.length>0}},30320:function(e,n,r){"use strict";r.d(n,{DN:function(){return u},JC:function(){return f},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var i=r(13917),o="function"==typeof WeakMap&&"ReactNative"!==(0,i.wY)(function(){return navigator.product}),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,i.wY)(function(){return window.document.createElement}),l=(0,i.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=c&&!l},53712:function(e,n,r){"use strict";function i(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(n){var i=e[n];void 0!==i&&(r[n]=i)})}),r}r.d(n,{o:function(){return i}})},48702:function(e,n,r){"use strict";r.d(n,{J:function(){return o}}),r(13917);var i=r(13154);function o(e){if(__DEV__){var n;(n=new Set([e])).forEach(function(e){(0,i.s)(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,i.s)(e[r])&&n.add(e[r])})})}return e}},14012:function(e,n,r){"use strict";r.d(n,{J:function(){return a}});var i=r(70655),o=r(53712);function a(e,n){return(0,o.o)(e,n,n.variables&&{variables:(0,i.pi)((0,i.pi)({},e&&e.variables),n.variables)})}},13154:function(e,n,r){"use strict";function i(e){return null!==e&&"object"==typeof e}r.d(n,{s:function(){return i}})},13917:function(e,n,r){"use strict";r.d(n,{ej:function(){return c},kG:function(){return l},wY:function(){return p}});var i,o=r(70655),a="Invariant Violation",s=Object.setPrototypeOf,u=void 0===s?function(e,n){return e.__proto__=n,e}:s,c=function(e){function n(r){void 0===r&&(r=a);var i=e.call(this,"number"==typeof r?a+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return i.framesToPop=1,i.name=a,u(i,n.prototype),i}return(0,o.ZT)(n,e),n}(Error);function l(e,n){if(!e)throw new c(n)}var f=["debug","log","warn","error","silent"],d=f.indexOf("log");function h(e){return function(){if(f.indexOf(e)>=d)return(console[e]||console.log).apply(console,arguments)}}function p(e){try{return e()}catch(e){}}(i=l||(l={})).debug=h("debug"),i.log=h("log"),i.warn=h("warn"),i.error=h("error");var m=p(function(){return globalThis})||p(function(){return window})||p(function(){return self})||p(function(){return global})||p(function(){return p.constructor("return this")()}),g="__DEV__",v=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(m,g,{value:"production"!==p(function(){return"production"}),enumerable:!1,configurable:!0,writable:!0}),m[g]}}(),y=r(83454);function b(e){try{return e()}catch(e){}}var w=b(function(){return globalThis})||b(function(){return window})||b(function(){return self})||b(function(){return global})||b(function(){return b.constructor("return this")()}),S=!1;!w||b(function(){return"production"})||b(function(){return y})||(Object.defineProperty(w,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),S=!0),r(51270).H,S&&(delete w.process,S=!1),__DEV__?l("boolean"==typeof v,v):l("boolean"==typeof v,39)},87462:function(e,n,r){"use strict";function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}).apply(this,arguments)}r.d(n,{Z:function(){return i}})},68055:function(e,n,r){"use strict";r.d(n,{z:function(){return u}});var i=r(66917),o=r(66384),a=r(25432),s=r(85893);function u(e){let{status:n}=(0,i.oX)(),r=(0,i.XO)(n),u=(0,i.uL)(),c="loading"===n?u.spinner:u.icon;return(0,s.jsx)(o.m.span,{display:"inherit",...e,className:(0,a.cx)("chakra-alert__icon",e.className),__css:c,children:e.children||(0,s.jsx)(r,{h:"100%",w:"100%"})})}u.displayName="AlertIcon"},66917:function(e,n,r){"use strict";r.d(n,{uZ:function(){return c},Hm:function(){return f},TR:function(){return p},XO:function(){return m},oX:function(){return l},uL:function(){return d}});var i=r(56877),o=r(85893);
277function a(e){return(0,o.jsx)(i.J,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var s=r(55227),u=r(295),[c,l]=(0,s.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[f,d]=(0,s.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),h={info:{icon:function(e){return(0,o.jsx)(i.J,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:a,colorScheme:"orange"},success:{icon:function(e){return(0,o.jsx)(i.J,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:a,colorScheme:"red"},loading:{icon:u.$,colorScheme:"blue"}};function p(e){return h[e].colorScheme}function m(e){return h[e].icon}},33499:function(e,n,r){"use strict";r.d(n,{X:function(){return c}});var i=r(66917),o=r(35059),a=r(66384),s=r(25432),u=r(85893),c=(0,o.G)(function(e,n){let r=(0,i.uL)(),o={display:"inline",...r.description};return(0,u.jsx)(a.m.div,{ref:n,...e,className:(0,s.cx)("chakra-alert__desc",e.className),__css:o})});c.displayName="AlertDescription"},25559:function(e,n,r){"use strict";r.d(n,{b:function(){return f}});var i=r(66917),o=r(35059),a=r(33179),s=r(91639),u=r(66384),c=r(25432),l=r(85893),f=(0,o.G)(function(e,n){var r;let{status:o="info",addRole:f=!0,...d}=(0,a.Lr)(e),h=null!=(r=e.colorScheme)?r:(0,i.TR)(o),p=(0,s.jC)("Alert",{...e,colorScheme:h}),m={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...p.container};return(0,l.jsx)(i.uZ,{value:{status:o},children:(0,l.jsx)(i.Hm,{value:p,children:(0,l.jsx)(u.m.div,{role:f?"alert":void 0,ref:n,...d,className:(0,c.cx)("chakra-alert",e.className),__css:m})})})});f.displayName="Alert"},86989:function(e,n,r){"use strict";r.d(n,{P:function(){return f}});var i=r(56877),o=r(35059),a=r(91639),s=r(33179),u=r(66384),c=r(85893);function l(e){return(0,c.jsx)(i.J,{focusable:"false","aria-hidden":!0,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
27711.823a.25.25,0,0,1,0,.354Z"})})}var f=(0,o.G)(function(e,n){let r=(0,a.mq)("CloseButton",e),{children:i,isDisabled:o,__css:f,...d}=(0,s.Lr)(e);return(0,c.jsx)(u.m.button,{type:"button","aria-label":"Close",ref:n,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...f},...d,children:i||(0,c.jsx)(l,{width:"1em",height:"1em"})})});f.displayName="CloseButton"},12498:function(e,n,r){"use strict";r.d(n,{If:function(){return a},kc:function(){return o}});var i=r(67294),o=(0,i.createContext)({});function a(){let e=(0,i.useContext)(o);if(void 0===e)throw Error("useColorMode must be used within a ColorModeProvider");return e}o.displayName="ColorModeContext"},56877:function(e,n,r){"use strict";r.d(n,{J:function(){return l}});var i=r(35059),o=r(91639),a=r(66384),s=r(25432),u=r(85893),c={path:(0,u.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,u.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,u.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,u.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},l=(0,i.G)((e,n)=>{let{as:r,viewBox:i,color:l="currentColor",focusable:f=!1,children:d,className:h,__css:p,...m}=e,g=(0,s.cx)("chakra-icon",h),v=(0,o.mq)("Icon",e),y={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...p,...v},b={ref:n,focusable:f,className:g,__css:y},w=null!=i?i:c.viewBox;if(r&&"string"!=typeof r)return(0,u.jsx)(a.m.svg,{as:r,...b,...m});let S=null!=d?d:c.path;return(0,u.jsx)(a.m.svg,{verticalAlign:"middle",viewBox:w,...b,...m,children:S})});l.displayName="Icon"},20888:function(e,n,r){"use strict";function i(e){let n=Object.assign({},e);for(let e in n)void 0===n[e]&&delete n[e];return n}function o(e,...n){if(null==e)throw TypeError("Cannot convert undefined or null to object");let r={...e};for(let e of n)if(null!=e)for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(n in r&&delete r[n],r[n]=e[n]);return r}r.d(n,{V8:function(){return o},oA:function(){return i}})},16810:function(e,n,r){"use strict";r.d(n,{L:function(){return s},h:function(){return u}});var i=r(55227),o=r(85893),[a,s]=(0,i.k)({strict:!1,name:"PortalManagerContext"});function u(e){let{children:n,zIndex:r}=e;return(0,o.jsx)(a,{value:{zIndex:r},children:n})}u.displayName="PortalManager"},49598:function(e,n,r){"use strict";r.d(n,{h:function(){return g}});var i=r(16810),o=r(26245),a=r(55227),s=r(73935),u=r(67294),c=r(85893),[l,f]=(0,a.k)({strict:!1,name:"PortalContext"}),d="chakra-portal",h=e=>(0,c.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),p=e=>{let{appendToParentPortal:n,children:r}=e,[a,p]=(0,u.useState)(null),m=(0,u.useRef)(null),[,g]=(0,u.useState)({});(0,u.useEffect)(()=>g({}),[]);let v=f(),y=(0,i.L)();(0,o.G)(()=>{if(!a)return;let e=a.ownerDocument,r=n&&null!=v?v:e.body;if(!r)return;m.current=e.createElement("div"),m.current.className=d,r.appendChild(m.current),g({});let i=m.current;return()=>{r.contains(i)&&r.removeChild(i)}},[a]);let b=(null==y?void 0:y.zIndex)?(0,c.jsx)(h,{zIndex:null==y?void 0:y.zIndex,children:r}):r;return m.current?(0,s.createPortal)((0,c.jsx)(l,{value:m.current,children:b}),m.current):(0,c.jsx)("span",{ref:e=>{e&&p(e)}})},m=e=>{let{children:n,containerRef:r,appendToParentPortal:i}=e,a=r.current,f=null!=a?a:"undefined"!=typeof window?document.body:void 0,h=(0,u.useMemo)(()=>{let e=null==a?void 0:a.ownerDocument.createElement("div");return e&&(e.className=d),e},[a]),[,p]=(0,u.useState)({});return((0,o.G)(()=>p({}),[]),(0,o.G)(()=>{if(h&&f)return f.appendChild(h),()=>{f.removeChild(h)}},[h,f]),f&&h)?(0,s.createPortal)((0,c.jsx)(l,{value:i?h:null,children:n}),h):null};function g(e){let n={appendToParentPortal:!0,...e},{containerRef:r,...i}=n;return r?(0,c.jsx)(m,{containerRef:r,...i}):(0,c.jsx)(p,{...i})}g.className=d,g.selector=".chakra-portal",g.displayName="Portal"},55227:function(e,n,r){"use strict";r.d(n,{k:function(){return o}});var i=r(67294);function o(e={}){let{name:n,strict:r=!0,hookName:o="useContext",providerName:a="Provider",errorMessage:s}=e,u=(0,i.createContext)(void 0);return u.displayName=n,[u.Provider,function e(){var n;let c=(0,i.useContext)(u);if(!c&&r){let r=Error(null!=s?s:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${a}`);throw r.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,r,e),r}return c},u]}},35155:function(e,n,r){"use strict";r.d(n,{W:function(){return o}});var i=r(67294);function o(e,n=[]){let r=(0,i.useRef)(e);return(0,i.useEffect)(()=>{r.current=e}),(0,i.useCallback)((...e)=>{var n;return null==(n=r.current)?void 0:n.call(r,...e)},n)}},26245:function(e,n,r){"use strict";r.d(n,{G:function(){return o}});var i=r(67294),o=Boolean(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:i.useEffect},52366:function(e,n,r){"use strict";r.d(n,{r:function(){return o}});var i=r(67294);function o(e,n){let r=(0,i.useRef)(!1),o=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let n=r.current,i=n&&o.current;if(i)return e();o.current=!0},n),(0,i.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}},70199:function(e,n,r){"use strict";r.d(n,{x:function(){return M}});var i=r(70917),o=r(85893),a=`
278  :root {
279    --chakra-vh: 100vh;
280  }
281
282  @supports (height: -webkit-fill-available) {
283    :root {
284      --chakra-vh: -webkit-fill-available;
285    }
286  }
287
288  @supports (height: -moz-fill-available) {
289    :root {
290      --chakra-vh: -moz-fill-available;
291    }
292  }
293
294  @supports (height: 100dvh) {
295    :root {
296      --chakra-vh: 100dvh;
297    }
298  }
299`,s=()=>(0,o.jsx)(i.xB,{styles:a}),u=()=>(0,o.jsx)(i.xB,{styles:`
300      html {
301        line-height: 1.5;
302        -webkit-text-size-adjust: 100%;
303        font-family: system-ui, sans-serif;
304        -webkit-font-smoothing: antialiased;
305        text-rendering: optimizeLegibility;
306        -moz-osx-font-smoothing: grayscale;
307        touch-action: manipulation;
308      }
309
310      body {
311        position: relative;
312        min-height: 100%;
313        font-feature-settings: 'kern';
314      }
315
316      *,
317      *::before,
318      *::after {
319        border-width: 0;
320        border-style: solid;
321        box-sizing: border-box;
322      }
323
324      main {
325        display: block;
326      }
327
328      hr {
329        border-top-width: 1px;
330        box-sizing: content-box;
331        height: 0;
332        overflow: visible;
333      }
334
335      pre,
336      code,
337      kbd,
338      samp {
339        font-family: SFMono-Regular,  Menlo, Monaco, Consolas, monospace;
340        font-size: 1em;
341      }
342
343      a {
344        background-color: transparent;
345        color: inherit;
346        text-decoration: inherit;
347      }
348
349      abbr[title] {
350        border-bottom: none;
351        text-decoration: underline;
352        -webkit-text-decoration: underline dotted;
353        text-decoration: underline dotted;
354      }
355
356      b,
357      strong {
358        font-weight: bold;
359      }
360
361      small {
362        font-size: 80%;
363      }
364
365      sub,
366      sup {
367        font-size: 75%;
368        line-height: 0;
369        position: relative;
370        vertical-align: baseline;
371      }
372
373      sub {
374        bottom: -0.25em;
375      }
376
377      sup {
378        top: -0.5em;
379      }
380
381      img {
382        border-style: none;
383      }
384
385      button,
386      input,
387      optgroup,
388      select,
389      textarea {
390        font-family: inherit;
391        font-size: 100%;
392        line-height: 1.15;
393        margin: 0;
394      }
395
396      button,
397      input {
398        overflow: visible;
399      }
400
401      button,
402      select {
403        text-transform: none;
404      }
405
406      button::-moz-focus-inner,
407      [type="button"]::-moz-focus-inner,
408      [type="reset"]::-moz-focus-inner,
409      [type="submit"]::-moz-focus-inner {
410        border-style: none;
411        padding: 0;
412      }
413
414      fieldset {
415        padding: 0.35em 0.75em 0.625em;
416      }
417
418      legend {
419        box-sizing: border-box;
420        color: inherit;
421        display: table;
422        max-width: 100%;
423        padding: 0;
424        white-space: normal;
425      }
426
427      progress {
428        vertical-align: baseline;
429      }
430
431      textarea {
432        overflow: auto;
433      }
434
435      [type="checkbox"],
436      [type="radio"] {
437        box-sizing: border-box;
438        padding: 0;
439      }
440
441      [type="number"]::-webkit-inner-spin-button,
442      [type="number"]::-webkit-outer-spin-button {
443        -webkit-appearance: none !important;
444      }
445
446      input[type="number"] {
447        -moz-appearance: textfield;
448      }
449
450      [type="search"] {
451        -webkit-appearance: textfield;
452        outline-offset: -2px;
453      }
454
455      [type="search"]::-webkit-search-decoration {
456        -webkit-appearance: none !important;
457      }
458
459      ::-webkit-file-upload-button {
460        -webkit-appearance: button;
461        font: inherit;
462      }
463
464      details {
465        display: block;
466      }
467
468      summary {
469        display: list-item;
470      }
471
472      template {
473        display: none;
474      }
475
476      [hidden] {
477        display: none !important;
478      }
479
480      body,
481      blockquote,
482      dl,
483      dd,
484      h1,
485      h2,
486      h3,
487      h4,
488      h5,
489      h6,
490      hr,
491      figure,
492      p,
493      pre {
494        margin: 0;
495      }
496
497      button {
498        background: transparent;
499        padding: 0;
500      }
501
502      fieldset {
503        margin: 0;
504        padding: 0;
505      }
506
507      ol,
508      ul {
509        margin: 0;
510        padding: 0;
511      }
512
513      textarea {
514        resize: vertical;
515      }
516
517      button,
518      [role="button"] {
519        cursor: pointer;
520      }
521
522      button::-moz-focus-inner {
523        border: 0 !important;
524      }
525
526      table {
527        border-collapse: collapse;
528      }
529
530      h1,
531      h2,
532      h3,
533      h4,
534      h5,
535      h6 {
536        font-size: inherit;
537        font-weight: inherit;
538      }
539
540      button,
541      input,
542      optgroup,
543      select,
544      textarea {
545        padding: 0;
546        line-height: inherit;
547        color: inherit;
548      }
549
550      img,
551      svg,
552      video,
553      canvas,
554      audio,
555      iframe,
556      embed,
557      object {
558        display: block;
559      }
560
561      img,
562      video {
563        max-width: 100%;
564        height: auto;
565      }
566
567      [data-js-focus-visible] :focus:not([data-focus-visible-added]):not
567([data-focus-visible-disabled]) {
568        outline: none;
569        box-shadow: none;
570      }
571
572      select::-ms-expand {
573        display: none;
574      }
575
576      ${a}
577    `}),c=r(16810),l=r(12498),f=r(67294),d=r(33179),h=r(21759),p=r(36597),m=r(91683);function g(e){let{cssVarsRoot:n,theme:r,children:i}=e,a=(0,f.useMemo)(()=>(0,d.c0)(r),[r]);return(0,o.jsxs)(m.a,{theme:a,children:[(0,o.jsx)(v,{root:n}),i]})}function v({root:e=":host, :root"}){let n=[e,"[data-theme]"].join(",");return(0,o.jsx)(i.xB,{styles:e=>({[n]:e.__cssVars})})}var[y,b]=function(e={}){let{strict:n=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=e,o=(0,f.createContext)(void 0);return o.displayName=i,[o.Provider,function e(){var i;let a=(0,f.useContext)(o);if(!a&&n){let n=Error(r);throw n.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,n,e),n}return a},o]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function w(){let{colorMode:e}=(0,l.If)();return(0,o.jsx)(i.xB,{styles:n=>{let r=(0,h.Wf)(n,"styles.global"),i=(0,p.Pu)(r,{theme:n,colorMode:e});if(!i)return;let o=(0,d.iv)(i)(n);return o}})}var S={light:"chakra-ui-light",dark:"chakra-ui-dark"},_="chakra-ui-color-mode",k={ssr:!1,type:"localStorage",get(e){let n;if(!(null==globalThis?void 0:globalThis.document))return e;
577try{n=localStorage.getItem(_)||e}catch(e){}return n||e},set(e){try{localStorage.setItem(_,e)}catch(e){}}},x=r(26245),E=()=>{};function C(e,n){return"cookie"===e.type&&e.ssr?e.get(n):n}function A(e){let{value:n,children:r,options:{useSystemColorMode:i,initialColorMode:a,disableTransitionOnChange:s}={},colorModeManager:u=k}=e,c="dark"===a?"dark":"light",[d,h]=(0,f.useState)(()=>C(u,c)),[p,m]=(0,f.useState)(()=>C(u)),{getSystemTheme:g,setClassName:v,setDataset:y,addListener:b}=(0,f.useMemo)(()=>(function(e={}){let{preventTransition:n=!0}=e,r={setDataset:e=>{let i=n?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==i||i()},setClassName(e){document.body.classList.add(e?S.dark:S.light),document.body.classList.remove(e?S.light:S.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var n;let i=null!=(n=r.query().matches)?n:"dark"===e;return i?"dark":"light"},addListener(e){let n=r.query(),i=n=>{e(n.matches?"dark":"light")};return"function"==typeof n.addListener?n.addListener(i):n.addEventListener("change",i),()=>{"function"==typeof n.removeListener?n.removeListener(i):n.removeEventListener("change",i)}},preventTransition(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return r})({preventTransition:s}),[s]),w="system"!==a||d?d:p,_=(0,f.useCallback)(e=>{let n="system"===e?g():e;h(n),v("dark"===n),y(n),u.set(n)},[u,g,v,y]);(0,x.G)(()=>{"system"===a&&m(g())},[]),(0,f.useEffect)(()=>{let e=u.get();if(e){_(e);return}if("system"===a){_("system");return}_(c)},[u,c,a,_]);let A=(0,f.useCallback)(()=>{_("dark"===w?"light":"dark")},[w,_]);(0,f.useEffect)(()=>{if(i)return b(_)},[i,b,_]);let I=(0,f.useMemo)(()=>({colorMode:null!=n?n:w,toggleColorMode:n?E:A,setColorMode:n?E:_,forced:void 0!==n}),[w,A,_,n]);return(0,o.jsx)(l.kc.Provider,{value:I,children:r})}A.displayName="ColorModeProvider";var I=(0,f.createContext)({getDocument:()=>document,getWindow:()=>window});function T(e){let{children:n,environment:r,disabled:i}=e,a=(0,f.useRef)(null),s=(0,f.useMemo)(()=>r||{getDocument:()=>{var e,n;return null!=(n=null==(e=a.current)?void 0:e.ownerDocument)?n:document},getWindow:()=>{var e,n;return null!=(n=null==(e=a.current)?void 0:e.ownerDocument.defaultView)?n:window}},[r]);return(0,o.jsxs)(I.Provider,{value:s,children:[n,(!i||!r)&&(0,o.jsx)("span",{id:"__chakra_env",hidden:!0,ref:a})]})}I.displayName="EnvironmentContext",T.displayName="EnvironmentProvider";var P=e=>{let{children:n,colorModeManager:r,portalZIndex:i,resetCSS:a=!0,theme:l={},environment:f,cssVarsRoot:d,disableEnvironment:h}=e,p=(0,o.jsx)(T,{environment:f,disabled:h,children:n});return(0,o.jsx)(g,{theme:l,cssVarsRoot:d,children:(0,o.jsxs)(A,{colorModeManager:r,options:l.config,children:[a?(0,o.jsx)(u,{}):(0,o.jsx)(s,{}),(0,o.jsx)(w,{}),i?(0,o.jsx)(c.h,{zIndex:i,children:p}):p]})})},O=r(90878),R=r(67848),D=e=>function({children:n,theme:r=e,toastOptions:i,...a}){return(0,o.jsxs)(P,{theme:r,...a,children:[(0,o.jsx)(R.Qi,{value:null==i?void 0:i.defaultOptions,children:n}),(0,o.jsx)(R.VW,{...i})]})},M=D(O.rS);D(O.wE)},25432:function(e,n,r){"use strict";r.d(n,{Kn:function(){return o},PB:function(){return c},PP:function(){return d},Pu:function(){return s},Qm:function(){return l},ZK:function(){return a},cx:function(){return i},v0:function(){return f}});var i=(...e)=>e.filter(Boolean).join(" ");function o(e){let n=typeof e;return null!=e&&("object"===n||"function"===n)&&!Array.isArray(e)}var a=e=>{let{condition:n,message:r}=e};function s(e,...n){return u(e)?e(...n):e}var u=e=>"function"==typeof e,c=e=>e?"":void 0,l=e=>!!e||void 0;function f(...e){return function(n){e.some(e=>(null==e||e(n),null==n?void 0:n.defaultPrevented))}}
577function d(...e){return function(n){e.forEach(e=>{null==e||e(n)})}}},295:function(e,n,r){"use strict";r.d(n,{$:function(){return d}});var i=r(70917),o=r(35059),a=r(91639),s=r(33179),u=r(66384),c=r(25432),l=r(85893),f=(0,i.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,o.G)((e,n)=>{let r=(0,a.mq)("Spinner",e),{label:i="Loading...",thickness:o="2px",speed:d="0.45s",emptyColor:h="transparent",className:p,...m}=(0,s.Lr)(e),g=(0,c.cx)("chakra-spinner",p),v={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:h,borderLeftColor:h,animation:`${f} ${d} linear infinite`,...r};return(0,l.jsx)(u.m.div,{ref:n,__css:v,className:g,...m,children:i&&(0,l.jsx)(u.m.span,{srOnly:!0,children:i})})});d.displayName="Spinner"},33179:function(e,n,r){"use strict";r.d(n,{D:function(){return eP},Lr:function(){return eR},Ud:function(){return eO},ZR:function(){return ek},c0:function(){return ey},cC:function(){return eS},fj:function(){return eT},gJ:function(){return en},iv:function(){return eA},k0:function(){return eI},oE:function(){return ew}});var i=r(25432),o=r(38554),a=e=>/!(important)?$/.test(e),s=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,u=(e,n)=>r=>{let o=String(n),u=a(o),c=s(o),l=e?`${e}.${c}`:c,f=(0,i.Kn)(r.__cssMap)&&l in r.__cssMap?r.__cssMap[l].varRef:n;return f=s(f),u?`${f} !important`:f};function c(e){let{scale:n,transform:r,compose:i}=e,o=(e,o)=>{var a;let s=u(n,e)(o),c=null!=(a=null==r?void 0:r(s,o))?a:s;return i&&(c=i(c,o)),c};return o}var l=(...e)=>n=>e.reduce((e,n)=>n(e),n);function f(e,n){return r=>{let i={property:r,scale:e};return i.transform=c({scale:e,transform:n}),i}}var d=({rtl:e,ltr:n})=>r=>"rtl"===r.direction?e:n,h=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],p={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},m={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},g={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},v={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},y=new Set(Object.values(v)),b=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),w=e=>e.trim(),S=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),_=e=>{let n=parseFloat(e.toString()),r=e.toString().replace(String(n),"");return{unitless:!r,value:n,unit:r}},k=e=>n=>`${e}(${n})`,x={filter:e=>"auto"!==e?e:p,backdropFilter:e=>"auto"!==e?e:m,ring:e=>({"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":x.px(e),boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...h].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...h].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:n}=_(e);return n||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float:(e,n)=>
577"rtl"===n.direction?({left:"right",right:"left"})[e]:e,degree(e){if(/^var\(--.+\)$/.test(e)||null==e)return e;let n="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||n?`${e}deg`:e},gradient:(e,n)=>(function(e,n){if(null==e||b.has(e))return e;let r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),i=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!i||!o)return e;let a=i.includes("-gradient")?i:`${i}-gradient`,[s,...u]=o.split(",").map(w).filter(Boolean);if((null==u?void 0:u.length)===0)return e;let c=s in v?v[s]:s;u.unshift(c);let l=u.map(e=>{if(y.has(e))return e;let r=e.indexOf(" "),[i,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],a=S(o)?o:o&&o.split(" "),s=`colors.${i}`,u=s in n.__cssMap?n.__cssMap[s].varRef:i;return a?[u,...Array.isArray(a)?a:[a]].join(" "):u});return`${a}(${l.join(", ")})`})(e,null!=n?n:{}),blur:k("blur"),opacity:k("opacity"),brightness:k("brightness"),contrast:k("contrast"),dropShadow:k("drop-shadow"),grayscale:k("grayscale"),hueRotate:k("hue-rotate"),invert:k("invert"),saturate:k("saturate"),sepia:k("sepia"),bgImage(e){if(null==e)return e;let n=S(e)||b.has(e);return n?e:`url(${e})`},outline(e){let n="0"===String(e)||"none"===String(e);return null!==e&&n?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var n;let{space:r,divide:i}=null!=(n=g[e])?n:{},o={flexDirection:e};return r&&(o[r]=1),i&&(o[i]=1),o}},E={borderWidths:f("borderWidths"),borderStyles:f("borderStyles"),colors:f("colors"),borders:f("borders"),radii:f("radii",x.px),space:f("space",l(x.vh,x.px)),spaceT:f("space",l(x.vh,x.px)),degreeT:e=>({property:e,transform:x.degree}),prop:(e,n,r)=>({property:e,scale:n,...n&&{transform:c({scale:n,transform:r})}}),propT:(e,n)=>({property:e,transform:n}),sizes:f("sizes",l(x.vh,x.px)),sizesT:f("sizes",l(x.vh,x.fraction)),shadows:f("shadows"),logical:function(e){let{property:n,scale:r,transform:i}=e;return{scale:r,property:d(n),transform:r?c({scale:r,compose:i}):i}},blur:f("blur",x.blur)},C={background:E.colors("background"),backgroundColor:E.colors("backgroundColor"),backgroundImage:E.propT("backgroundImage",x.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:x.bgClip},bgSize:E.prop("backgroundSize"),bgPosition:E.prop("backgroundPosition"),bg:E.colors("background"),bgColor:E.colors("backgroundColor"),bgPos:E.prop("backgroundPosition"),bgRepeat:E.prop("backgroundRepeat"),bgAttachment:E.prop("backgroundAttachment"),bgGradient:E.propT("backgroundImage",x.gradient),bgClip:{transform:x.bgClip}};Object.assign(C,{bgImage:C.backgroundImage,bgImg:C.backgroundImage});var A={border:E.borders("border"),borderWidth:E.borderWidths("borderWidth"),borderStyle:E.borderStyles("borderStyle"),borderColor:E.colors("borderColor"),borderRadius:E.radii("borderRadius"),borderTop:E.borders("borderTop"),borderBlockStart:E.borders("borderBlockStart"),borderTopLeftRadius:E.radii("borderTopLeftRadius"),borderStartStartRadius:E.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:E.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:E.radii("borderTopRightRadius"),borderStartEndRadius:E.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:E.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:E.borders("borderRight"),borderInlineEnd:E.borders("borderInlineEnd"),borderBottom:E.borders("borderBottom"),borderBlockEnd:E.borders("borderBlockEnd"),borderBottomLeftRadius:E.radii("borderBottomLeftRadius"),borderBottomRightRadius:E.radii("borderBottomRightRadius"),borderLeft:E.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:E.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:E.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:E.borders(["borderLeft","borderRight"]),borderInline:E.borders("borderInline"),borderY:E.borders(["borderTop","borderBottom"]),borderBlock:E.borders("borderBlock"),borderTopWidth:E.borderWidths("borderTopWidth"),borderBlockStartWidth:E.borderWidths("borderBlockStartWidth"),borderTopColor:E.colors("borderTopColor"),borderBlockStartColor:E.colors("borderBlockStartColor"),borderTopStyle:E.borderStyles("borderTopStyle"),borderBlockStartStyle:E.borderStyles("borderBlockStartStyle"),borderBottomWidth:E.borderWidths("borderBottomWidth"),borderBlockEndWidth:E.borderWidths("borderBlockEndWidth"),borderBottomColor:E.colors("borderBottomColor"),borderBlockEndColor:E.colors("borderBlockEndColor"),borderBottomStyle:E.borderStyles("borderBottomStyle"),borderBlockEndStyle:E.borderStyles("borderBlockEndStyle"),borderLeftWidth:E.borderWidths("borderLeftWidth"),borderInlineStartWidth:E.borderWidths("borderInlineStartWidth"),borderLeftColor:E.colors("borderLeftColor"),borderInlineStartColor:E.colors("borderInlineStartColor"),borderLeftStyle:E.borderStyles("borderLeftStyle"),borderInlineStartStyle:E.borderStyles("borderInlineStartStyle"),borderRightWidth:E.borderWidths("borderRightWidth"),borderInlineEndWidth:E.borderWidths("borderInlineEndWidth"),borderRightColor:E.colors("borderRightColor"),borderInlineEndColor:E.colors("borderInlineEndColor"),borderRightStyle:E.borderStyles("borderRightStyle"),borderInlineEndStyle:E.borderStyles("borderInlineEndStyle"),borderTopRadius:E.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:E.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:E.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:E.radii(["borderTopRightRadius","borderBottomRightRadius"])};
577Object.assign(A,{rounded:A.borderRadius,roundedTop:A.borderTopRadius,roundedTopLeft:A.borderTopLeftRadius,roundedTopRight:A.borderTopRightRadius,roundedTopStart:A.borderStartStartRadius,roundedTopEnd:A.borderStartEndRadius,roundedBottom:A.borderBottomRadius,roundedBottomLeft:A.borderBottomLeftRadius,roundedBottomRight:A.borderBottomRightRadius,roundedBottomStart:A.borderEndStartRadius,roundedBottomEnd:A.borderEndEndRadius,roundedLeft:A.borderLeftRadius,roundedRight:A.borderRightRadius,roundedStart:A.borderInlineStartRadius,roundedEnd:A.borderInlineEndRadius,borderStart:A.borderInlineStart,borderEnd:A.borderInlineEnd,borderTopStartRadius:A.borderStartStartRadius,borderTopEndRadius:A.borderStartEndRadius,borderBottomStartRadius:A.borderEndStartRadius,borderBottomEndRadius:A.borderEndEndRadius,borderStartRadius:A.borderInlineStartRadius,borderEndRadius:A.borderInlineEndRadius,borderStartWidth:A.borderInlineStartWidth,borderEndWidth:A.borderInlineEndWidth,borderStartColor:A.borderInlineStartColor,borderEndColor:A.borderInlineEndColor,borderStartStyle:A.borderInlineStartStyle,borderEndStyle:A.borderInlineEndStyle});var I={color:E.colors("color"),textColor:E.colors("color"),fill:E.colors("fill"),stroke:E.colors("stroke")},T={boxShadow:E.shadows("boxShadow"),mixBlendMode:!0,blendMode:E.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:E.prop("backgroundBlendMode"),opacity:!0};Object.assign(T,{shadow:T.boxShadow});var P={filter:{transform:x.filter},blur:E.blur("--chakra-blur"),brightness:E.propT("--chakra-brightness",x.brightness),contrast:E.propT("--chakra-contrast",x.contrast),hueRotate:E.degreeT("--chakra-hue-rotate"),invert:E.propT("--chakra-invert",x.invert),saturate:E.propT("--chakra-saturate",x.saturate),dropShadow:E.propT("--chakra-drop-shadow",x.dropShadow),backdropFilter:{transform:x.backdropFilter},backdropBlur:E.blur("--chakra-backdrop-blur"),backdropBrightness:E.propT("--chakra-backdrop-brightness",x.brightness),backdropContrast:E.propT("--chakra-backdrop-contrast",x.contrast),backdropHueRotate:E.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:E.propT("--chakra-backdrop-invert",x.invert),backdropSaturate:E.propT("--chakra-backdrop-saturate",x.saturate)},O={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:x.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:E.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:E.space("gap"),rowGap:E.space("rowGap"),columnGap:E.space("columnGap")};Object.assign(O,{flexDir:O.flexDirection});var R={gridGap:E.space("gridGap"),gridColumnGap:E.space("gridColumnGap"),gridRowGap:E.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},D={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:x.outline},outlineOffset:!0,outlineColor:E.colors("outlineColor")},M={width:E.sizesT("width"),inlineSize:E.sizesT("inlineSize"),height:E.sizes("height"),blockSize:E.sizes("blockSize"),boxSize:E.sizes(["width","height"]),minWidth:E.sizes("minWidth"),minInlineSize:E.sizes("minInlineSize"),minHeight:E.sizes("minHeight"),minBlockSize:E.sizes("minBlockSize"),maxWidth:E.sizes("maxWidth"),maxInlineSize:E.sizes("maxInlineSize"),maxHeight:E.sizes("maxHeight"),maxBlockSize:E.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,hideFrom:{scale:"breakpoints",transform:(e,n)=>{var r,i,o;let a=null!=(o=null==(i=null==(r=n.__breakpoints)?void 0:r.get(e))?void 0:i.minWQuery)?o:`@media screen and (min-width: ${e})`;return{[a]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,n)=>{var r,i,o;let a=null!=(o=null==(i=null==(r=n.__breakpoints)?void 0:r.get(e))?void 0:i.maxWQuery)?o:`@media screen and (max-width: ${e})`;return{[a]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:E.propT("float",x.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(M,{w:M.width,h:M.height,minW:M.minWidth,maxW:M.maxWidth,minH:M.minHeight,maxH:M.maxHeight,overscroll:M.overscrollBehavior,overscrollX:M.overscrollBehaviorX,overscrollY:M.overscrollBehaviorY});var F={listStyleType:!0,listStylePosition:!0,listStylePos:E.prop("listStylePosition"),listStyleImage:!0,listStyleImg:E.prop("listStyleImage")},N=(e=>{let n=new WeakMap,r=(r,i,o,a)=>
577{if(void 0===r)return e(r,i,o);n.has(r)||n.set(r,new Map);let s=n.get(r);if(s.has(i))return s.get(i);let u=e(r,i,o,a);return s.set(i,u),u};return r})(function(e,n,r,i){let o="string"==typeof n?n.split("."):[n];for(i=0;i<o.length&&e;i+=1)e=e[o[i]];return void 0===e?r:e}),j={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},U={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},L=(e,n,r)=>{let i={},o=N(e,n,{});for(let e in o){let n=e in r&&null!=r[e];n||(i[e]=o[e])}return i},B={position:!0,pos:E.prop("position"),zIndex:E.prop("zIndex","zIndices"),inset:E.spaceT("inset"),insetX:E.spaceT(["left","right"]),insetInline:E.spaceT("insetInline"),insetY:E.spaceT(["top","bottom"]),insetBlock:E.spaceT("insetBlock"),top:E.spaceT("top"),insetBlockStart:E.spaceT("insetBlockStart"),bottom:E.spaceT("bottom"),insetBlockEnd:E.spaceT("insetBlockEnd"),left:E.spaceT("left"),insetInlineStart:E.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:E.spaceT("right"),insetInlineEnd:E.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(B,{insetStart:B.insetInlineStart,insetEnd:B.insetInlineEnd});var V={ring:{transform:x.ring},ringColor:E.colors("--chakra-ring-color"),ringOffset:E.prop("--chakra-ring-offset-width"),ringOffsetColor:E.colors("--chakra-ring-offset-color"),ringInset:E.prop("--chakra-ring-inset")},z={margin:E.spaceT("margin"),marginTop:E.spaceT("marginTop"),marginBlockStart:E.spaceT("marginBlockStart"),marginRight:E.spaceT("marginRight"),marginInlineEnd:E.spaceT("marginInlineEnd"),marginBottom:E.spaceT("marginBottom"),marginBlockEnd:E.spaceT("marginBlockEnd"),marginLeft:E.spaceT("marginLeft"),marginInlineStart:E.spaceT("marginInlineStart"),marginX:E.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:E.spaceT("marginInline"),marginY:E.spaceT(["marginTop","marginBottom"]),marginBlock:E.spaceT("marginBlock"),padding:E.space("padding"),paddingTop:E.space("paddingTop"),paddingBlockStart:E.space("paddingBlockStart"),paddingRight:E.space("paddingRight"),paddingBottom:E.space("paddingBottom"),paddingBlockEnd:E.space("paddingBlockEnd"),paddingLeft:E.space("paddingLeft"),paddingInlineStart:E.space("paddingInlineStart"),paddingInlineEnd:E.space("paddingInlineEnd"),paddingX:E.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:E.space("paddingInline"),paddingY:E.space(["paddingTop","paddingBottom"]),paddingBlock:E.space("paddingBlock")};Object.assign(z,{m:z.margin,mt:z.marginTop,mr:z.marginRight,me:z.marginInlineEnd,marginEnd:z.marginInlineEnd,mb:z.marginBottom,ml:z.marginLeft,ms:z.marginInlineStart,marginStart:z.marginInlineStart,mx:z.marginX,my:z.marginY,p:z.padding,pt:z.paddingTop,py:z.paddingY,px:z.paddingX,pb:z.paddingBottom,pl:z.paddingLeft,ps:z.paddingInlineStart,paddingStart:z.paddingInlineStart,pr:z.paddingRight,pe:z.paddingInlineEnd,paddingEnd:z.paddingInlineEnd});var q={textDecorationColor:E.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:E.shadows("textShadow")},$={clipPath:!0,transform:E.propT("transform",x.transform),transformOrigin:!0,translateX:E.spaceT("--chakra-translate-x"),translateY:E.spaceT("--chakra-translate-y"),skewX:E.degreeT("--chakra-skew-x"),skewY:E.degreeT("--chakra-skew-y"),scaleX:E.prop("--chakra-scale-x"),scaleY:E.prop("--chakra-scale-y"),scale:E.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:E.degreeT("--chakra-rotate")},G={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:E.prop("transitionDuration","transition.duration"),transitionProperty:E.prop("transitionProperty","transition.property"),transitionTimingFunction:E.prop("transitionTimingFunction","transition.easing")},W={fontFamily:E.prop("fontFamily","fonts"),fontSize:E.prop("fontSize","fontSizes",x.px),fontWeight:E.prop("fontWeight","fontWeights"),lineHeight:E.prop("lineHeight","lineHeights"),letterSpacing:E.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"}
577,property:"--chakra-line-clamp"}},H={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:E.spaceT("scrollMargin"),scrollMarginTop:E.spaceT("scrollMarginTop"),scrollMarginBottom:E.spaceT("scrollMarginBottom"),scrollMarginLeft:E.spaceT("scrollMarginLeft"),scrollMarginRight:E.spaceT("scrollMarginRight"),scrollMarginX:E.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:E.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:E.spaceT("scrollPadding"),scrollPaddingTop:E.spaceT("scrollPaddingTop"),scrollPaddingBottom:E.spaceT("scrollPaddingBottom"),scrollPaddingLeft:E.spaceT("scrollPaddingLeft"),scrollPaddingRight:E.spaceT("scrollPaddingRight"),scrollPaddingX:E.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:E.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Q(e){return(0,i.Kn)(e)&&e.reference?e.reference:String(e)}var K=(e,...n)=>n.map(Q).join(` ${e} `).replace(/calc/g,""),Z=(...e)=>`calc(${K("+",...e)})`,J=(...e)=>`calc(${K("-",...e)})`,Y=(...e)=>`calc(${K("*",...e)})`,X=(...e)=>`calc(${K("/",...e)})`,ee=e=>{let n=Q(e);return null==n||Number.isNaN(parseFloat(n))?Y(n,-1):String(n).startsWith("-")?String(n).slice(1):`-${n}`},et=Object.assign(e=>({add:(...n)=>et(Z(e,...n)),subtract:(...n)=>et(J(e,...n)),multiply:(...n)=>et(Y(e,...n)),divide:(...n)=>et(X(e,...n)),negate:()=>et(ee(e)),toString:()=>e.toString()}),{add:Z,subtract:J,multiply:Y,divide:X,negate:ee});function en(e,n,r){let i=function(e,n=""){return function(e){let n=function(e,n="-"){return e.replace(/\s+/g,n)}(e.toString());return(function(e){if(e.includes("\\."))return e;let n=!Number.isInteger(parseFloat(e.toString()));return n?e.replace(".","\\."):e})(n).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(`--${function(e,n=""){return[n,e].filter(Boolean).join("-")}(e,n)}`)}(e,r);return{variable:i,reference:`var(${i}${n?`, ${n}`:""})`}}function er(e){if(null==e)return e;let{unitless:n}=function(e){let n=parseFloat(e.toString()),r=e.toString().replace(String(n),"");return{unitless:!r,value:n,unit:r}}(e);return n||"number"==typeof e?`${e}px`:e}var ei=(e,n)=>parseInt(e[1],10)>parseInt(n[1],10)?1:-1,eo=e=>Object.fromEntries(Object.entries(e).sort(ei));function ea(e){let n=eo(e);return Object.assign(Object.values(n),n)}function es(e){var n;return e?"number"==typeof(e=null!=(n=er(e))?n:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function eu(e,n){let r=["@media screen"];return e&&r.push("and",`(min-width: ${er(e)})`),n&&r.push("and",`(max-width: ${er(n)})`),r.join(" ")}var ec={hover:(e,n)=>`${e}:hover ${n}, ${e}[data-hover] ${n}`,focus:(e,n)=>`${e}:focus ${n}, ${e}[data-focus] ${n}`,focusVisible:(e,n)=>`${e}:focus-visible ${n}`,focusWithin:(e,n)=>`${e}:focus-within ${n}`,active:(e,n)=>`${e}:active ${n}, ${e}[data-active] ${n}`,disabled:(e,n)=>`${e}:disabled ${n}, ${e}[data-disabled] ${n}`,invalid:(e,n)=>`${e}:invalid ${n}, ${e}[data-invalid] ${n}`,checked:(e,n)=>`${e}:checked ${n}, ${e}[data-checked] ${n}`,indeterminate:(e,n)=>`${e}:indeterminate ${n}, ${e}[aria-checked=mixed] ${n}, ${e}[data-indeterminate] ${n}`,readOnly:(e,n)=>`${e}:read-only ${n}, ${e}[readonly] ${n}, ${e}[data-read-only] ${n}`,expanded:(e,n)=>`${e}:read-only ${n}, ${e}[aria-expanded=true] ${n}, ${e}[data-expanded] ${n}`,placeholderShown:(e,n)=>`${e}:placeholder-shown ${n}`},el=e=>ed(n=>e(n,"&"),"[role=group]","[data-group]",".group"),ef=e=>ed(n=>e(n,"~ &"),"[data-peer]",".peer"),ed=(e,...n)=>n.map(e).join(", "),eh={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:el(ec.hover),_peerHover:ef(ec.hover),_groupFocus:el(ec.focus),_peerFocus:ef(ec.focus),_groupFocusVisible:el(ec.focusVisible),_peerFocusVisible:ef(ec.focusVisible),_groupActive:el(ec.active),_peerActive:ef(ec.active),_groupDisabled:el(ec.disabled),_peerDisabled:ef(ec.disabled),_groupInvalid:el(ec.invalid),_peerInvalid:ef(ec.invalid),_groupChecked:el(ec.checked),_peerChecked:ef(ec.checked),_groupFocusWithin:el(ec.focusWithin),_peerFocusWithin:ef(ec.focusWithin),_peerPlaceholderShown:ef(ec.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},ep=Object.keys(eh);function em(e,n){return en(String(e).replace(/\./g,"-"),void 0,n)}var eg=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function ev(e,n=1/0){return((0,i.Kn)(e)||Array.isArray(e))&&n?Object.entries(e).reduce((e,[r,o])=>
577((0,i.Kn)(o)||Array.isArray(o)?Object.entries(ev(o,n-1)).forEach(([n,i])=>{e[`${r}.${n}`]=i}):e[r]=o,e),{}):e}function ey(e){var n;let r=function(e){let{__cssMap:n,__cssVars:r,__breakpoints:i,...o}=e;return o}(e),a=function(e,n){let r={};for(let i of n)i in e&&(r[i]=e[i]);return r}(r,eg),s=r.semanticTokens,u=function({tokens:e,semanticTokens:n}){var r,i;let o=Object.entries(null!=(r=ev(e))?r:{}).map(([e,n])=>[e,{isSemantic:!1,value:n}]),a=Object.entries(null!=(i=ev(n,1))?i:{}).map(([e,n])=>[e,{isSemantic:!0,value:n}]);return Object.fromEntries([...o,...a])}({tokens:a,semanticTokens:s}),c=null==(n=r.config)?void 0:n.cssVarPrefix,{cssMap:l,cssVars:f}=function(e,n){let r={},a={};for(let[s,u]of Object.entries(e)){let{isSemantic:c,value:l}=u,{variable:f,reference:d}=em(s,null==n?void 0:n.cssVarPrefix);if(!c){if(s.startsWith("space")){let e=s.split("."),[n,...r]=e,i=`${n}.-${r.join(".")}`,o=et.negate(l),u=et.negate(d);a[i]={value:o,var:f,varRef:u}}r[f]=l,a[s]={value:l,var:f,varRef:d};continue}let h=r=>{let i=String(s).split(".")[0],o=[i,r].join("."),a=e[o];if(!a)return r;let{reference:u}=em(o,null==n?void 0:n.cssVarPrefix);return u},p=(0,i.Kn)(l)?l:{default:l};r=o(r,Object.entries(p).reduce((e,[n,r])=>{var i;let o=h(r);if("default"===n)return e[f]=o,e;let a=null!=(i=null==eh?void 0:eh[n])?i:n;return e[a]={[f]:o},e},{})),a[s]={value:d,var:f,varRef:d}}return{cssVars:r,cssMap:a}}(u,{cssVarPrefix:c});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...f},__cssMap:l,__breakpoints:function(e){var n;if(!e)return null;e.base=null!=(n=e.base)?n:"0px";let r=ea(e),o=Object.entries(e).sort(ei).map(([e,n],r,i)=>{var o;let[,a]=null!=(o=i[r+1])?o:[];return a=parseFloat(a)>0?es(a):void 0,{_minW:es(n),breakpoint:e,minW:n,maxW:a,maxWQuery:eu(null,a),minWQuery:eu(n),minMaxQuery:eu(n,a)}}),a=function(e){let n=Object.keys(eo(e));return new Set(n)}(e),s=Array.from(a.values());return{keys:a,normalized:r,isResponsive(e){let n=Object.keys(e);return n.length>0&&n.every(e=>a.has(e))},asObject:eo(e),asArray:ea(e),details:o,get:e=>o.find(n=>n.breakpoint===e),media:[null,...r.map(e=>
577eu(e)).slice(1)],toArrayValue(e){if(!(0,i.Kn)(e))throw Error("toArrayValue: value must be an object");let n=s.map(n=>{var r;return null!=(r=e[n])?r:null});for(;null===function(e){let n=null==e?0:e.length;return n?e[n-1]:void 0}(n);)n.pop();return n},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,n,r)=>{let i=s[r];return null!=i&&null!=n&&(e[i]=n),e},{})}}}(r.breakpoints)}),r}var eb=o({},C,A,I,O,M,P,V,D,R,{srOnly:{transform:e=>!0===e?j:"focusable"===e?U:{}},layerStyle:{processResult:!0,transform:(e,n,r)=>L(n,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,n,r)=>L(n,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,n,r)=>L(n,e,r)}},B,T,z,H,W,q,$,F,G),ew=Object.keys(Object.assign({},z,M,O,R,B)),eS=[...Object.keys(eb),...ep],e_={...eb,...eh},ek=e=>e in e_,ex=e=>n=>{if(!n.__breakpoints)return e;let{isResponsive:r,toArrayValue:o,media:a}=n.__breakpoints,s={};for(let u in e){let c=(0,i.Pu)(e[u],n);if(null==c)continue;if(!Array.isArray(c=(0,i.Kn)(c)&&r(c)?o(c):c)){s[u]=c;continue}let l=c.slice(0,a.length).length;for(let e=0;e<l;e+=1){let n=null==a?void 0:a[e];if(!n){s[u]=c[e];continue}s[n]=s[n]||{},null!=c[e]&&(s[n][u]=c[e])}}return s},eE=(e,n)=>e.startsWith("--")&&"string"==typeof n&&!/^var\(--.+\)$/.test(n),eC=(e,n)=>{var r,i;if(null==n)return n;let o=n=>{var r,i;return null==(i=null==(r=e.__cssMap)?void 0:r[n])?void 0:i.varRef},a=e=>{var n;return null!=(n=o(e))?n:e},[s,u]=function(e){let n=[],r="",i=!1;for(let o=0;o<e.length;o++){let a=e[o];"("===a?(i=!0,r+=a):")"===a?(i=!1,r+=a):","!==a||i?r+=a:(n.push(r),r="")}return(r=r.trim())&&n.push(r),n}(n);return n=null!=(i=null!=(r=o(s))?r:a(u))?i:a(n)},eA=e=>n=>{let r=function(e){let{configs:n={},pseudos:r={},theme:a}=e,s=(e,u=!1)=>{var c,l,f;let d=(0,i.Pu)(e,a),h=ex(d)(a),p={};for(let e in h){let m=h[e],g=(0,i.Pu)(m,a);e in r&&(e=r[e]),eE(e,g)&&(g=eC(a,g));let v=n[e];if(!0===v&&(v={property:e}),(0,i.Kn)(g)){p[e]=null!=(c=p[e])?c:{},p[e]=o({},p[e],s(g,!0));continue}let y=null!=(f=null==(l=null==v?void 0:v.transform)?void 0:l.call(v,g,a,d))?f:g;y=(null==v?void 0:v.processResult)?s(y,!0):y;let b=(0,i.Pu)(null==v?void 0:v.property,a);if(!u&&(null==v?void 0:v.static)){let e=(0,i.Pu)(v.static,a);p=o({},p,e)}if(b&&Array.isArray(b)){for(let e of b)p[e]=y;continue}if(b){"&"===b&&(0,i.Kn)(y)?p=o({},p,y):p[b]=y;continue}if((0,i.Kn)(y)){p=o({},p,y);continue}p[e]=y}return p};return s}({theme:n,pseudos:eh,configs:eb});return r(e)};function eI(e){return e}function eT(e){return e}function eP(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:n=>({parts:e,...n})}}function eO(e){return n=>{var r;let{variant:a,size:s,theme:u}=n,c=function(e){let n=e.__breakpoints;return function(e,r,a,s){var u,c,l;if(!n)return;let f={},d=(l=n.toArrayValue,Array.isArray(a)?a:(0,i.Kn)(a)?l(a):null!=a?[a]:void 0);if(!d)return f;let h=d.length,p=1===h,m=!!e.parts;for(let a=0;a<h;a++){let l=n.details[a],h=n.details[function(e,n){for(let r=n+1;r<e.length;r++)if(null!=e[r])return r;return -1}(d,a)],g=eu(l.minW,null==h?void 0:h._minW),v=(0,i.Pu)(null==(u=e[r])?void 0:u[d[a]],s);if(v){if(m){null==(c=e.parts)||c.forEach(e=>{o(f,{[e]:p?v[e]:{[g]:v[e]}})});continue}if(!m){p?o(f,v):f[g]=v;continue}f[g]=v}}return f}}(u);return o({},(0,i.Pu)(null!=(r=e.baseStyle)?r:{},n),c(e,"sizes",s,n),c(e,"variants",a,n))}}function eR(e){return function(e,n=[]){let r=Object.assign({},e);for(let e of n)e in r&&delete r[e];return r}(e,["styleConfig","size","variant","colorScheme"])}},66384:function(e,n,r){"use strict";r.d(n,{m:function(){return P}});var i,o=r(33179),a=new Set([...o.cC,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),s=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function u(e){return s.has(e)||!a.has(e)}var c=r(12498),l=r(21759),f=r(36597),d=r(20888),h=r(67294),p=r(87462),m=r(45042),g=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
577ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,v=(0,m.Z)(function(e){return g.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),y=r(91683),b=r(70444),w=r(48137),S=r(27278),_=function(e){return"theme"!==e},k=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?v:_},x=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(n){return e.__emotion_forwardProp(n)&&o(n)}:o}return"function"!=typeof i&&r&&(i=e.__emotion_forwardProp),i},E=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return(0,b.hC)(n,r,i),(0,S.L)(function(){return(0,b.My)(n,r,i)}),null},C=(function e(n,r){var i,o,a=n.__emotion_real===n,s=a&&n.__emotion_base||n;void 0!==r&&(i=r.label,o=r.target);var u=x(n,r,a),c=u||k(s),l=!c("as");return function(){var f=arguments,d=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==i&&d.push("label:"+i+";"),null==f[0]||void 0===f[0].raw)d.push.apply(d,f);else{d.push(f[0][0]);for(var m=f.length,g=1;g<m;g++)d.push(f[g],f[0][g])}var v=(0,y.w)(function(e,n,r){var i=l&&e.as||s,a="",f=[],p=e;if(null==e.theme){for(var m in p={},e)p[m]=e[m];p.theme=(0,h.useContext)(y.T)}"string"==typeof e.className?a=(0,b.fp)(n.registered,f,e.className):null!=e.className&&(a=e.className+" ");var g=(0,w.O)(d.concat(f),n.registered,p);a+=n.key+"-"+g.name,void 0!==o&&(a+=" "+o);var v=l&&void 0===u?k(i):c,S={};for(var _ in e)(!l||"as"!==_)&&v(_)&&(S[_]=e[_]);return S.className=a,S.ref=r,(0,h.createElement)(h.Fragment,null,(0,h.createElement)(E,{cache:n,serialized:g,isStringTag:"string"==typeof i}),(0,h.createElement)(i,S))});return v.displayName=void 0!==i?i:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",v.defaultProps=n.defaultProps,v.__emotion_real=v,v.__emotion_base=s,v.__emotion_styles=d,v.__emotion_forwardProp=u,Object.defineProperty(v,"toString",{value:function(){return"."+o}}),v.withComponent=function(n,i){return e(n,(0,p.Z)({},r,i,{shouldForwardProp:x(v,i,!0)})).apply(void 0,d)},v}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){C[e]=C(e)});var A=null!=(i=C.default)?i:C,I=({baseStyle:e})=>n=>{let{theme:r,css:i,__css:a,sx:s,...u}=n,c=(0,l.lw)(u,(e,n)=>(0,o.ZR)(n)),h=(0,f.Pu)(e,n),p=(0,d.V8)({},a,h,(0,l.YU)(c),s),m=(0,o.iv)(p)(n.theme);return i?[m,i]:m};function T(e,n){let{baseStyle:r,...i}=null!=n?n:{};i.shouldForwardProp||(i.shouldForwardProp=u);let o=I({baseStyle:r}),a=A(e,i)(o),s=h.forwardRef(function(e,n){let{colorMode:r,forced:i}=(0,c.If)();return h.createElement(a,{ref:n,"data-theme":i?r:void 0,...e})});return s}var P=function(){let e=new Map;return new Proxy(T,{apply:(e,n,r)=>T(...r),get:(n,r)=>(e.has(r)||e.set(r,T(r)),e.get(r))})}()},34629:function(e,n,r){"use strict";r.d(n,{LP:function(){return u},dQ:function(){return s},uP:function(){return a}});var i=r(75119),o=r(12498);function a(){let e=(0,o.If)(),n=(0,i.F)();return{...e,theme:n}}function s(e,n,r){let o=(0,i.F)();return u(e,n,r)(o)}function u(e,n,r){let i=Array.isArray(n)?n:[n],o=Array.isArray(r)?r:[r];return r=>
577{let a=o.filter(Boolean),s=i.map((n,i)=>{var o,s;if("breakpoints"===e)return function(e,n,r){var i,o;if(null==n)return n;let a=n=>{var r,i;return null==(i=null==(r=e.__breakpoints)?void 0:r.asArray)?void 0:i[n]};return null!=(o=null!=(i=a(n))?i:a(r))?o:r}(r,n,null!=(o=a[i])?o:n);let u=`${e}.${n}`;return function(e,n,r){var i,o;if(null==n)return n;let a=n=>{var r,i;return null==(i=null==(r=e.__cssMap)?void 0:r[n])?void 0:i.value};return null!=(o=null!=(i=a(n))?i:a(r))?o:r}(r,u,null!=(s=a[i])?s:n)});return Array.isArray(n)?s:s[0]}}},75119:function(e,n,r){"use strict";r.d(n,{F:function(){return a}});var i=r(91683),o=r(67294);function a(){let e=(0,o.useContext)(i.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}},35059:function(e,n,r){"use strict";r.d(n,{G:function(){return o}});var i=r(67294);function o(e){return(0,i.forwardRef)(e)}},91639:function(e,n,r){"use strict";r.d(n,{jC:function(){return d},mq:function(){return f}});var i=r(34629),o=r(33179),a=r(21759),s=r(38554),u=r(67294),c=r(69590);function l(e,n={}){var r;let{styleConfig:l,...f}=n,{theme:d,colorMode:h}=(0,i.uP)(),p=e?(0,a.Wf)(d,`components.${e}`):void 0,m=l||p,g=s({theme:d,colorMode:h},null!=(r=null==m?void 0:m.defaultProps)?r:{},(0,a.YU)((0,a.CE)(f,["children"]))),v=(0,u.useRef)({});if(m){let e=(0,o.Ud)(m),n=e(g),r=c(v.current,n);r||(v.current=n)}return v.current}function f(e,n={}){return l(e,n)}function d(e,n={}){return l(e,n)}},14902:function(e,n,r){"use strict";r.d(n,{B1:function(){return l}});var i=r(25432),o=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"],a=r(90878),s=r(38554);function u(e){return"function"==typeof e}var c=e=>function(...n){var r;let a=[...n],c=n[n.length-1];return(r=c,(0,i.Kn)(r)&&o.every(e=>Object.prototype.hasOwnProperty.call(r,e))&&a.length>1)?a=a.slice(0,a.length-1):c=e,(function(...e){return n=>e.reduce((e,n)=>n(e),n)})(...a.map(e=>n=>u(e)?e(n):function(...e){return s({},...e,f)}(n,e)))(c)},l=c(a.rS);function f(e,n,r,i){if((u(e)||u(n))&&Object.prototype.hasOwnProperty.call(i,r))return(...r)=>{let i=u(e)?e(...r):e,o=u(n)?n(...r):n;return s({},i,o,f)}}c(a.wE)},90878:function(e,n,r){"use strict";r.d(n,{wE:function(){return iR},rS:function(){return iO}});var i,o,a,s,u,c,l,f,d,h,p,m,g,v,y,b,w,S,_,k,x,E,C,A={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},I={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},T={...I,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},P={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"}
577,blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...A,sizes:T,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:I,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}};function O(e,n={}){let r=!1;function i(n){let r=["container","root"].includes(null!=n?n:"")?[e]:[e,n],i=r.filter(Boolean).join("__"),o=`chakra-${i}`,a={className:o,selector:`.${o}`,toString:()=>n};return a}return{parts:function(...o){for(let e of(!function(){if(!r){r=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),o))n[e]=i(e);return O(e,n)},toPart:i,extend:function(...r){for(let e of r)e in n||(n[e]=i(e));return O(e,n)},selectors:function(){let e=Object.fromEntries(Object.entries(n).map(([e,n])=>[e,n.selector]));return e},classnames:function(){let e=Object.fromEntries(Object.entries(n).map(([e,n])=>[e,n.className]));return e},get keys(){return Object.keys(n)},__type:{}}}var R=O("accordion").parts("root","container","button","panel").extend("icon"),D=O("alert").parts("title","description","container").extend("icon","spinner"),M=O("avatar").parts("label","badge","container").extend("excessLabel","group"),F=O("breadcrumb").parts("link","item","container").extend("separator");O("button").parts();var N=O("checkbox").parts("control","icon","container").extend("label");O("progress").parts("track","filledTrack").extend("label");var j=O("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),U=O("editable").parts("preview","input","textarea"),L=O("form").parts("container","requiredIndicator","helperText"),B=O("formError").parts("text","icon"),V=O("input").parts("addon","field","element"),z=O("list").parts("container","item","icon"),q=O("menu").parts("button","list","item").extend("groupTitle","command","divider"),$=O("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),G=O("numberinput").parts("root","field","stepperGroup","stepper");O("pininput").parts("field");var W=O("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),H=O("progress").parts("label","filledTrack","track"),Q=O("radio").parts("container","control","label"),K=O("select").parts("field","icon"),Z=O("slider").parts("container","track","thumb","filledTrack","mark"),J=O("stat").parts("container","label","helpText","number","icon"),Y=O("switch").parts("container","track","thumb"),X=O("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ee=O("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),et=O("tag").parts("container","label","closeButton"),en=O("card").parts("container","header","body","footer"),er=r(33179);function ei(e){let n=function(e,n="-"){return e.replace(/\s+/g,n)}(e.toString());return n.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:n.replace(".","\\.")}function eo(e,n){var r,i;let o=function(e,n=""){return`--${function(e,n=""){return[n,ei(e)].filter(
577Boolean).join("-")}(e,n)}`}(e,null==n?void 0:n.prefix);return{variable:o,reference:(r="string"==typeof(i=null==n?void 0:n.fallback)?i:null==i?void 0:i.reference,`var(${ei(o)}${r?`, ${r}`:""})`)}}var ea=r(25432);function es(e){return(0,ea.Kn)(e)&&e.reference?e.reference:String(e)}var eu=(e,...n)=>n.map(es).join(` ${e} `).replace(/calc/g,""),ec=(...e)=>`calc(${eu("+",...e)})`,el=(...e)=>`calc(${eu("-",...e)})`,ef=(...e)=>`calc(${eu("*",...e)})`,ed=(...e)=>`calc(${eu("/",...e)})`,eh=e=>{let n=es(e);return null==n||Number.isNaN(parseFloat(n))?ef(n,-1):String(n).startsWith("-")?String(n).slice(1):`-${n}`},ep=Object.assign(e=>({add:(...n)=>ep(ec(e,...n)),subtract:(...n)=>ep(el(e,...n)),multiply:(...n)=>ep(ef(e,...n)),divide:(...n)=>ep(ed(e,...n)),negate:()=>ep(eh(e)),toString:()=>e.toString()}),{add:ec,subtract:el,multiply:ef,divide:ed,negate:eh}),{defineMultiStyleConfig:em,definePartsStyle:eg}=(0,er.D)(Y.keys),ev=eo("switch-track-width"),ey=eo("switch-track-height"),eb=eo("switch-track-diff"),ew=ep.subtract(ev,ey),eS=eo("switch-thumb-x"),e_=eo("switch-bg"),ek=(0,er.k0)(e=>{let{colorScheme:n}=e;return{borderRadius:"full",p:"0.5",width:[ev.reference],height:[ey.reference],transitionProperty:"common",transitionDuration:"fast",[e_.variable]:"colors.gray.300",_dark:{[e_.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[e_.variable]:`colors.${n}.500`,_dark:{[e_.variable]:`colors.${n}.200`}},bg:e_.reference}}),ex=(0,er.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ey.reference],height:[ey.reference],_checked:{transform:`translateX(${eS.reference})`}}),eE=em({baseStyle:eg(e=>({container:{[eb.variable]:ew,[eS.variable]:eb.reference,_rtl:{[eS.variable]:ep(eb).negate().toString()}},track:ek(e),thumb:ex})),sizes:{sm:eg({container:{[ev.variable]:"1.375rem",[ey.variable]:"sizes.3"}}),md:eg({container:{[ev.variable]:"1.875rem",[ey.variable]:"sizes.4"}}),lg:eg({container:{[ev.variable]:"2.875rem",[ey.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function eC(e,n){return r=>"dark"===r.colorMode?n:e}function eA(e){let{orientation:n,vertical:r,horizontal:i}=e;return n?"vertical"===n?r:i:{}}var{defineMultiStyleConfig:eI,definePartsStyle:eT}=(0,er.D)(X.keys),eP=eT({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),eO=(0,er.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),eR=eI({baseStyle:eP,variants:{simple:eT(e=>{let{colorScheme:n}=e;return{th:{color:eC("gray.600","gray.400")(e),borderBottom:"1px",borderColor:eC(`${n}.100`,`${n}.700`)(e),...eO},td:{borderBottom:"1px",borderColor:eC(`${n}.100`,`${n}.700`)(e),...eO},caption:{color:eC("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:eT(e=>{let{colorScheme:n}=e;return{th:{color:eC("gray.600","gray.400")(e),borderBottom:"1px",borderColor:eC(`${n}.100`,`${n}.700`)(e),...eO},td:{borderBottom:"1px",borderColor:eC(`${n}.100`,`${n}.700`)(e),...eO},caption:{color:eC("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:eC(`${n}.100`,`${n}.700`)(e)},td:{background:eC(`${n}.100`,`${n}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:(0,er.k0)({})},sizes:{sm:eT({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:eT({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:eT({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function eD(e,n,r){return Math.min(Math.max(e,r),n)}
577var eM=class extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}};function eF(e){if("string"!=typeof e)throw new eM(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let n=e.trim();n=eq.test(e)?function(e){let n=e.toLowerCase().trim(),r=ej[function(e){let n=5381,r=e.length;for(;r;)n=33*n^e.charCodeAt(--r);return(n>>>0)%2341}(n)];if(!r)throw new eM(e);return`#${r}`}(e):e;let r=eL.exec(n);if(r){let e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(eU(e,2),16)),parseInt(eU(e[3]||"f",2),16)/255]}let i=eB.exec(n);if(i){let e=Array.from(i).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let o=eV.exec(n);if(o){let e=Array.from(o).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let a=ez.exec(n);if(a){let[n,r,i,o]=Array.from(a).slice(1).map(parseFloat);if(eD(0,100,r)!==r||eD(0,100,i)!==i)throw new eM(e);return[...eG(n,r,i),Number.isNaN(o)?1:o]}throw new eM(e)}let eN=e=>parseInt(e.replace(/_/g,""),36),ej="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,n)=>{let r=eN(n.substring(0,3)),i=eN(n.substring(3)).toString(16),o="";for(let e=0;e<6-i.length;e++)o+="0";return e[r]=`${o}${i}`,e},{}),eU=(e,n)=>Array.from(Array(n)).map(()=>e).join(""),eL=RegExp(`^#${eU("([a-f0-9])",3)}([a-f0-9])?$`,"i"),eB=RegExp(`^#${eU("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),eV=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${eU(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),ez=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,eq=/^[a-z]+$/i,e$=e=>Math.round(255*e),eG=(e,n,r)=>{let i=r/100;if(0===n)return[i,i,i].map(e$);let o=(e%360+360)%360/60,a=(1-Math.abs(2*i-1))*(n/100),s=a*(1-Math.abs(o%2-1)),u=0,c=0,l=0;o>=0&&o<1?(u=a,c=s):o>=1&&o<2?(u=s,c=a):o>=2&&o<3?(c=a,l=s):o>=3&&o<4?(c=s,l=a):o>=4&&o<5?(u=s,l=a):o>=5&&o<6&&(u=a,l=s);let f=i-a/2,d=u+f,h=c+f,p=l+f;return[d,h,p].map(e$)};var eW=e=>0===Object.keys(e).length,eH=(e,n,r)=>{let i=function(e,n,r,i,o){for(n=n.split?n.split("."):n,i=0;i<n.length;i++)e=e?e[n[i]]:o;return e===o?r:e}(e,`colors.${n}`,n);try{return!function(e){let[n,r,i,o]=eF(e),a=e=>{let n=eD(0,255,e).toString(16);return 1===n.length?`0${n}`:n};a(n),a(r),a(i),o<1&&a(Math.round(255*o))}(i),i}catch{return null!=r?r:"#000000"}},eQ=e=>{let[n,r,i]=eF(e);return(299*n+587*r+114*i)/1e3},eK=e=>n=>{let r=eH(n,e),i=eQ(r);return i<128?"dark":"light"},eZ=e=>n=>"dark"===eK(e)(n),eJ=(e,n)=>r=>{let i=eH(r,e);return function(e,n){let[r,i,o,a]=eF(e);return`rgba(${eD(0,255,r).toFixed()}, ${eD(0,255,i).toFixed()}, ${eD(0,255,o).toFixed()}, ${parseFloat(eD(0,1,a-n).toFixed(3))})`}(i,1-n)};function eY(e="1rem",n="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
578    45deg,
579    ${n} 25%,
580    transparent 25%,
581    transparent 50%,
582    ${n} 50%,
583    ${n} 75%,
584    transparent 75%,
585    transparent
586  )`,backgroundSize:`${e} ${e}`}}var eX=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,e0=(0,er.gJ)("tabs-color"),e1=(0,er.gJ)("tabs-bg"),e2=(0,er.gJ)("tabs-border-color"),{defineMultiStyleConfig:e5,definePartsStyle:e3}=(0,er.D)(ee.keys),e4=(0,er.k0)(e=>{let{orientation:n}=e;return{display:"vertical"===n?"flex":"block"}}),e6=(0,er.k0)(e=>{let{isFitted:n}=e;return{flex:n?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}}),e8=(0,er.k0)(e=>{let{align:n="start",orientation:r}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[n],flexDirection:"vertical"===r?"column":"row"}}),e9=(0,er.k0)({p:4}),e7=e5({baseStyle:e3(e=>({root:e4(e),tab:e6(e),tablist:e8(e),tabpanel:e9})),sizes:{sm:e3({tab:{py:1,px:4,fontSize:"sm"}}),md:e3({tab:{fontSize:"md",py:2,px:4}}),lg:e3({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:e3(e=>{let{colorScheme:n,orientation:r}=e,i="vertical"===r?"borderStart":"borderBottom";return{tablist:{[i]:"2px solid",borderColor:"inherit"},tab:{[i]:"2px solid",borderColor:"transparent",["vertical"===r?"marginStart":"marginBottom"]:"-2px",_selected:{[e0.variable]:`colors.${n}.600`,_dark:{[e0.variable]:`colors.${n}.300`},borderColor:"currentColor"},_active:{[e1.variable]:"colors.gray.200",_dark:{[e1.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:e0.reference,bg:e1.reference}}}),enclosed:e3(e=>{let{colorScheme:n}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[e2.variable]:"transparent",_selected:{[e0.variable]:`colors.${n}.600`,[e2.variable]:"colors.white",_dark:{[e0.variable]:`colors.${n}.300`,[e2.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:e2.reference}
586,color:e0.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":e3(e=>{let{colorScheme:n}=e;return{tab:{border:"1px solid",borderColor:"inherit",[e1.variable]:"colors.gray.50",_dark:{[e1.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[e1.variable]:"colors.white",[e0.variable]:`colors.${n}.600`,_dark:{[e1.variable]:"colors.gray.800",[e0.variable]:`colors.${n}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:e0.reference,bg:e1.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":e3(e=>{let{colorScheme:n,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:eH(r,`${n}.700`),bg:eH(r,`${n}.100`)}}}}),"solid-rounded":e3(e=>{let{colorScheme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[e0.variable]:"colors.gray.600",_dark:{[e0.variable]:"inherit"},_selected:{[e0.variable]:"colors.white",[e1.variable]:`colors.${n}.600`,_dark:{[e0.variable]:"colors.gray.800",[e1.variable]:`colors.${n}.300`}},color:e0.reference,bg:e1.reference}}}),unstyled:e3({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),te=(0,er.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"}),tt=(0,er.gJ)("badge-bg"),tn=(0,er.gJ)("badge-color"),tr=(0,er.k0)(e=>{let{colorScheme:n,theme:r}=e,i=eJ(`${n}.500`,.6)(r);return{[tt.variable]:`colors.${n}.500`,[tn.variable]:"colors.white",_dark:{[tt.variable]:i,[tn.variable]:"colors.whiteAlpha.800"},bg:tt.reference,color:tn.reference}}),ti=(0,er.k0)(e=>{let{colorScheme:n,theme:r}=e,i=eJ(`${n}.200`,.16)(r);return{[tt.variable]:`colors.${n}.100`,[tn.variable]:`colors.${n}.800`,_dark:{[tt.variable]:i,[tn.variable]:`colors.${n}.200`},bg:tt.reference,color:tn.reference}}),to=(0,er.k0)(e=>{let{colorScheme:n,theme:r}=e,i=eJ(`${n}.200`,.8)(r);return{[tn.variable]:`colors.${n}.500`,_dark:{[tn.variable]:i},color:tn.reference,boxShadow:`inset 0 0 0px 1px ${tn.reference}`}}),ta=(0,er.fj)({baseStyle:te,variants:{solid:tr,subtle:ti,outline:to},defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:ts,definePartsStyle:tu}=(0,er.D)(et.keys),tc=tu({container:(0,er.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}}),label:(0,er.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,er.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),tl={sm:tu({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:tu({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:tu({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},tf=ts({variants:{subtle:tu(e=>{var n;return{container:null==(n=ta.variants)?void 0:n.subtle(e)}}),solid:tu(e=>{var n;return{container:null==(n=ta.variants)?void 0:n.solid(e)}}),outline:tu(e=>{var n;return{container:null==(n=ta.variants)?void 0:n.outline(e)}})},baseStyle:tc,sizes:tl,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:td,defineMultiStyleConfig:th}=(0,er.D)(V.keys),tp=td({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),tm={lg:(0,er.k0)({fontSize:"lg",px:"4",h:"12",borderRadius:"md"}),md:(0,er.k0)({fontSize:"md",px:"4",h:"10",borderRadius:"md"}),sm:(0,er.k0)({fontSize:"sm",px:"3",h:"8",borderRadius:"sm"}),xs:(0,er.k0)({fontSize:"xs",px:"2",h:"6",borderRadius:"sm"})};function tg(e){let{focusBorderColor:n,errorBorderColor:r}=e;return{focusBorderColor:n||eC("blue.500","blue.300")(e),errorBorderColor:r||eC("red.500","red.300")(e)}}var tv=th({baseStyle:tp,sizes:{lg:td({field:tm.lg,addon:tm.lg}),md:td({field:tm.md,addon:tm.md}
586),sm:td({field:tm.sm,addon:tm.sm}),xs:td({field:tm.xs,addon:tm.xs})},variants:{outline:td(e=>{let{theme:n}=e,{focusBorderColor:r,errorBorderColor:i}=tg(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:eC("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eH(n,i),boxShadow:`0 0 0 1px ${eH(n,i)}`},_focusVisible:{zIndex:1,borderColor:eH(n,r),boxShadow:`0 0 0 1px ${eH(n,r)}`}},addon:{border:"1px solid",borderColor:eC("inherit","whiteAlpha.50")(e),bg:eC("gray.100","whiteAlpha.300")(e)}}}),filled:td(e=>{let{theme:n}=e,{focusBorderColor:r,errorBorderColor:i}=tg(e);return{field:{border:"2px solid",borderColor:"transparent",bg:eC("gray.100","whiteAlpha.50")(e),_hover:{bg:eC("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eH(n,i)},_focusVisible:{bg:"transparent",borderColor:eH(n,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:eC("gray.100","whiteAlpha.50")(e)}}}),flushed:td(e=>{let{theme:n}=e,{focusBorderColor:r,errorBorderColor:i}=tg(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eH(n,i),boxShadow:`0px 1px 0px 0px ${eH(n,i)}`},_focusVisible:{borderColor:eH(n,r),boxShadow:`0px 1px 0px 0px ${eH(n,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:td({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),ty=(0,er.k0)({...null==(i=tv.baseStyle)?void 0:i.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),tb={outline:(0,er.k0)(e=>{var n,r;return null!=(r=null==(n=tv.variants)?void 0:n.outline(e).field)?r:{}}),flushed:(0,er.k0)(e=>{var n,r;return null!=(r=null==(n=tv.variants)?void 0:n.flushed(e).field)?r:{}}),filled:(0,er.k0)(e=>{var n,r;return null!=(r=null==(n=tv.variants)?void 0:n.filled(e).field)?r:{}}),unstyled:null!=(a=null==(o=tv.variants)?void 0:o.unstyled.field)?a:{}},tw={xs:null!=(u=null==(s=tv.sizes)?void 0:s.xs.field)?u:{},sm:null!=(l=null==(c=tv.sizes)?void 0:c.sm.field)?l:{},md:null!=(d=null==(f=tv.sizes)?void 0:f.md.field)?d:{},lg:null!=(p=null==(h=tv.sizes)?void 0:h.lg.field)?p:{}},tS=(0,er.fj)({baseStyle:ty,sizes:tw,variants:tb,defaultProps:{size:"md",variant:"outline"}}),t_=eo("tooltip-bg"),tk=eo("tooltip-fg"),tx=eo("popper-arrow-bg"),tE=(0,er.k0)({bg:t_.reference,color:tk.reference,[t_.variable]:"colors.gray.700",[tk.variable]:"colors.whiteAlpha.900",_dark:{[t_.variable]:"colors.gray.300",[tk.variable]:"colors.gray.9
58600"},[tx.variable]:t_.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),tC=(0,er.fj)({baseStyle:tE}),{defineMultiStyleConfig:tA,definePartsStyle:tI}=(0,er.D)(H.keys),tT=(0,er.k0)(e=>{let{colorScheme:n,theme:r,isIndeterminate:i,hasStripe:o}=e,a=eC(eY(),eY("1rem","rgba(0,0,0,0.1)"))(e),s=eC(`${n}.500`,`${n}.200`)(e),u=`linear-gradient(
587    to right,
588    transparent 0%,
589    ${eH(r,s)} 50%,
590    transparent 100%
591  )`;return{...!i&&o&&a,...i?{bgImage:u}:{bgColor:s}}}),tP=(0,er.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),tO=(0,er.k0)(e=>({bg:eC("gray.100","whiteAlpha.300")(e)})),tR=(0,er.k0)(e=>({transitionProperty:"common",transitionDuration:"slow",...tT(e)})),tD=tI(e=>({label:tP,filledTrack:tR(e),track:tO(e)})),tM=tA({sizes:{xs:tI({track:{h:"1"}}),sm:tI({track:{h:"2"}}),md:tI({track:{h:"3"}}),lg:tI({track:{h:"4"}})},baseStyle:tD,defaultProps:{size:"md",colorScheme:"blue"}}),tF=e=>"function"==typeof e;function tN(e,...n){return tF(e)?e(...n):e}var{definePartsStyle:tj,defineMultiStyleConfig:tU}=(0,er.D)(N.keys),tL=(0,er.gJ)("checkbox-size"),tB=(0,er.k0)(e=>{let{colorScheme:n}=e;return{w:tL.reference,h:tL.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:eC(`${n}.500`,`${n}.200`)(e),borderColor:eC(`${n}.500`,`${n}.200`)(e),color:eC("white","gray.900")(e),_hover:{bg:eC(`${n}.600`,`${n}.300`)(e),borderColor:eC(`${n}.600`,`${n}.300`)(e)},_disabled:{borderColor:eC("gray.200","transparent")(e),bg:eC("gray.200","whiteAlpha.300")(e),color:eC("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:eC(`${n}.500`,`${n}.200`)(e),borderColor:eC(`${n}.500`,`${n}.200`)(e),color:eC("white","gray.900")(e)},_disabled:{bg:eC("gray.100","whiteAlpha.100")(e),borderColor:eC("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:eC("red.500","red.300")(e)}}}),tV=(0,er.k0)({_disabled:{cursor:"not-allowed"}}),tz=(0,er.k0)({userSelect:"none",_disabled:{opacity:.4}}),tq=(0,er.k0)({transitionProperty:"transform",transitionDuration:"normal"}),t$=tU({baseStyle:tj(e=>({icon:tq,container:tV,control:tN(tB,e),label:tz})),sizes:{sm:tj({control:{[tL.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:tj({control:{[tL.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:tj({control:{[tL.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:tG,definePartsStyle:tW}=(0,er.D)(Q.keys),tH=(0,er.k0)(e=>{var n;let r=null==(n=tN(t$.baseStyle,e))?void 0:n.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),tQ=tG({baseStyle:tW(e=>{var n,r;return{label:null==(n=t$.baseStyle)?void 0:n.call(t$,e).label,container:null==(r=t$.baseStyle)?void 0:r.call(t$,e).container,control:tH(e)}}),sizes:{md:tW({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:tW({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:tW({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:tK,definePartsStyle:tZ}=(0,er.D)(K.keys),tJ=(0,er.gJ)("select-bg"),tY=tZ({field:(0,er.k0)({...null==(m=tv.baseStyle)?void 0:m.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:tJ.reference,[tJ.variable]:"colors.white",_dark:{[tJ.variable]:"colors.gray.700"},"> option, > optgroup":{bg:tJ.reference}}),icon:(0,er.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),tX=(0,er.k0)({paddingInlineEnd:"8"}),t0=tK({baseStyle:tY,sizes:{lg:{...null==(g=tv.sizes)?void 0:g.lg,field:{...null==(v=tv.sizes)?void 0:v.lg.field,...tX}},md:{...null==(y=tv.sizes)?void 0:y.md,field:{...null==(b=tv.sizes)?void 0:b.md.field,...tX}},sm:{...null==(w=tv.sizes)?void 0:w.sm,field:{...null==(S=tv.sizes)?void 0:S.sm.field,...tX}},xs:{...null==(_=tv.sizes)?void 0:_.xs,field:{...null==(k=tv.sizes)?void 0:k.xs.field,...tX},icon:{insetEnd:"1"}}},variants:tv.variants,defaultProps:tv.defaultProps}),t1=(0,er.gJ)("skeleton-start-color"),t2=(0,er.gJ)("skeleton-end-color"),t5=(0,er.k0)({[t1.variable]:"colors.gray.100",[t2.variable]:"colors.gray.400",_dark:{[t1.variable]:"colors.gray.800",[t2.variable]:"colors.gray.600"},background:t1.reference,borderColor:t2.reference,opacity:.7,borderRadius:"sm"}),t3=(0,er.fj)({baseStyle:t5}),t4=(0,er.gJ)("skip-link-bg"),t6=(0,er.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[t4.variable]:"colors.white",_dark:{[t4.variable]:"colors.gray.700"},bg:t4.reference}}),t8=(0,er.fj)({baseStyle:t6}),{defineMultiStyleConfig:t9,definePartsStyle:t7}=(0,er.D)(Z.keys),ne=(0,er.gJ)("slider-thumb-size"),nt=(0,er.gJ)("slider-track-size"),nn=(0,er.gJ)("slider-bg"),nr=(0,er.k0)(e=>{let{orientation:n}=e;
591return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...eA({orientation:n,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),ni=(0,er.k0)(e=>{let n=eA({orientation:e.orientation,horizontal:{h:nt.reference},vertical:{w:nt.reference}});return{...n,overflow:"hidden",borderRadius:"sm",[nn.variable]:"colors.gray.200",_dark:{[nn.variable]:"colors.whiteAlpha.200"},_disabled:{[nn.variable]:"colors.gray.300",_dark:{[nn.variable]:"colors.whiteAlpha.300"}},bg:nn.reference}}),no=(0,er.k0)(e=>{let{orientation:n}=e,r=eA({orientation:n,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}});return{...r,w:ne.reference,h:ne.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),na=(0,er.k0)(e=>{let{colorScheme:n}=e;return{width:"inherit",height:"inherit",[nn.variable]:`colors.${n}.500`,_dark:{[nn.variable]:`colors.${n}.200`},bg:nn.reference}}),ns=t9({baseStyle:t7(e=>({container:nr(e),track:ni(e),thumb:no(e),filledTrack:na(e)})),sizes:{lg:t7({container:{[ne.variable]:"sizes.4",[nt.variable]:"sizes.1"}}),md:t7({container:{[ne.variable]:"sizes.3.5",[nt.variable]:"sizes.1"}}),sm:t7({container:{[ne.variable]:"sizes.2.5",[nt.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),nu=eo("spinner-size"),nc=(0,er.k0)({width:[nu.reference],height:[nu.reference]}),nl={xs:(0,er.k0)({[nu.variable]:"sizes.3"}),sm:(0,er.k0)({[nu.variable]:"sizes.4"}),md:(0,er.k0)({[nu.variable]:"sizes.6"}),lg:(0,er.k0)({[nu.variable]:"sizes.8"}),xl:(0,er.k0)({[nu.variable]:"sizes.12"})},nf=(0,er.fj)({baseStyle:nc,sizes:nl,defaultProps:{size:"md"}}),{defineMultiStyleConfig:nd,definePartsStyle:nh}=(0,er.D)(J.keys),np=nd({baseStyle:nh({container:{},label:(0,er.k0)({fontWeight:"medium"}),helpText:(0,er.k0)({opacity:.8,marginBottom:"2"}),number:(0,er.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,er.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:nh({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),nm=(0,er.gJ)("kbd-bg"),ng=(0,er.k0)({[nm.variable]:"colors.gray.100",_dark:{[nm.variable]:"colors.whiteAlpha.100"},bg:nm.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),nv=(0,er.fj)({baseStyle:ng}),ny=(0,er.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),nb=(0,er.fj)({baseStyle:ny}),{defineMultiStyleConfig:nw,definePartsStyle:nS}=(0,er.D)(z.keys),n_=nw({baseStyle:nS({icon:(0,er.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:nk,definePartsStyle:nx}=(0,er.D)(q.keys),nE=(0,er.gJ)("menu-bg"),nC=(0,er.gJ)("menu-shadow"),nA=(0,er.k0)({[nE.variable]:"#fff",[nC.variable]:"shadows.sm",_dark:{[nE.variable]:"colors.gray.700",[nC.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:nE.reference,boxShadow:nC.reference}),nI=(0,er.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[nE.variable]:"colors.gray.100",_dark:{[nE.variable]:"colors.whiteAlpha.100"}},_active:{[nE.variable]:"colors.gray.200",_dark:{[nE.variable]:"colors.whiteAlpha.200"}},_expanded:{[nE.variable]:"colors.gray.100",_dark:{[nE.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:nE.reference}),nT=(0,er.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),nP=(0,er.k0)({opacity:.6}),nO=(0,er.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),nR=nk({baseStyle:nx({button:(0,er.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:nA,item:nI,groupTitle:nT,command:nP,divider:nO})}),{defineMultiStyleConfig:nD,definePartsStyle:nM}=(0,er.D)($.keys),nF=(0,er.k0)({bg:"blackAlpha.600",zIndex:"modal"}),nN=(0,er.k0)(e=>{let{isCentered:n,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:n?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),nj=(0,er.k0)(e=>{let{scrollBehavior:n}=e;return{borderRadius:"md",bg:eC("white","gray.700")(e),color:"inherit",my:"16",zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,boxShadow:eC("lg","dark-lg")(e)}}),nU=(0,er.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),nL=(0,er.k0)({position:"absolute",top:"2",insetEnd:"3"}),nB=(0,er.k0)(e=>{let{scrollBehavior:n}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===n?"auto":void 0}}),nV=(0,er.k0)({px:"6",py:"4"});function nz(e){return"full"===e?nM({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):nM({dialog:{maxW:e}})}var nq=nD({baseStyle:nM(e=>({overlay:nF,dialogContainer:tN(nN,e),dialog:tN(nj,e),header:nU,closeButton:nL,body:tN(nB,e),footer:nV})),sizes:{xs:nz("xs"),sm:nz("sm"),md:nz("md"),lg:nz("lg"),xl:nz("xl"),"2xl":nz("2xl"),"3xl":nz("3xl"),"4xl":nz("4xl"),"5xl":nz("5xl"),"6xl":nz("6xl"),full:nz("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:n$,definePartsStyle:nG}=(0,er.D)(G.keys),nW=eo("number-input-stepper-width"),nH=eo("number-input-input-padding"),nQ=ep(nW).add("0.5rem").toString(),nK=eo("number-input-bg"),nZ=eo("number-input-color"),nJ=eo("number-input-border-color"),nY=(0,er.k0)({[nW.variable]:"sizes.6",[nH.variable]:nQ}),nX=(0,er.k0)(e=>{var n,r;return null!=(r=null==(n=tN(tv.baseStyle,e))?void 0:n.field)?r:{}}),n0=(0,er.k0)({width:nW.reference}),n1=(0,er.k0)({borderStart:"1px solid",borderStartColor:nJ.reference,color:nZ.reference,bg:nK.reference,[nZ.variable]:"colors.chakra-body-text",[nJ.variable]:"colors.chakra-border-color",_dark:{[nZ.variable]:"colors.whiteAlpha.800",[nJ.variable]:"colors.whiteAlpha.300"},_active:{[nK.variable]:"colors.gray.200",_dark:{[nK.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function n2(e){var n,r,i;let o=null==(n=tv.sizes)?void 0:n[e],a={lg:"md",md:"md",sm:"sm",xs:"sm"},s=null!=(i=null==(r=o.field)?void 0:r.fontSize)?i:"md",u=A.fontSizes[s];return nG({field:{...o.field,paddingInlineEnd:nH.reference,verticalAlign:"top"},stepper:{fontSize:ep(u).multiply(.75).toString(),_first:{borderTopEndRadius:a[e]},_last:{borderBottomEndRadius:a[e],mt:"-1px",borderTopWidth:1}}})}var n5=n$({baseStyle:nG(e=>{var n;return{root:nY,field:null!=(n=tN(nX,e))?n:{},stepperGroup:n0,stepper:n1}}),sizes:{xs:n2("xs"),sm:n2("sm"),md:n2("md"),lg:n2("lg")},variants:tv.variants,defaultProps:tv.defaultProps}),n3=(0,er.k0)({...null==(x=tv.baseStyle)?void 0:x.field,textAlign:"center"}),n4={lg:(0,er.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,er.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,er.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,er.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},n6={outline:(0,er.k0)(e=>{var n,r,i;return null!=(i=null==(r=tN(null==(n=tv.variants)?void 0:n.outline,e))?void 0:r.field)?i:{}}),flushed:(0,er.k0)(e=>{var n,r,i;return null!=(i=null==(r=tN(null==(n=tv.variants)?void 0:n.flushed,e))?void 0:r.field)?i:{}}),filled:(0,er.k0)(e=>{var n,r,i;return null!=(i=null==(r=tN(null==(n=tv.variants)?void 0:n.filled,e))?void 0:r.field)?i:{}}),unstyled:null!=(C=null==(E=tv.variants)?void 0:E.unstyled.field)?C:{}},n8=(0,er.fj)({baseStyle:n3,sizes:n4,variants:n6,defaultProps:tv.defaultProps}),{defineMultiStyleConfig:n9,definePartsStyle:n7}=(0,er.D)(W.keys),re=eo("popper-bg"),rt=eo("popper-arrow-bg"),rn=eo("popper-arrow-shadow-color"),rr=n9({baseStyle:n7({popper:(0,er.k0)({zIndex:10}),content:(0,er.k0)({[re.variable]:"colors.white",bg:re.reference,[rt.variable]:re.reference,[rn.variable]:"colors.gray.200",_dark:{[re.variable]:"colors.gray.700",[rn.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,er.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,er.k0)({px:3,py:2}),footer:(0,er.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,er.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:ri,defineMultiStyleConfig:ro}
591=(0,er.D)(j.keys),ra=(0,er.gJ)("drawer-bg"),rs=(0,er.gJ)("drawer-box-shadow");function ru(e){return"full"===e?ri({dialog:{maxW:"100vw",h:"100vh"}}):ri({dialog:{maxW:e}})}var rc=(0,er.k0)({bg:"blackAlpha.600",zIndex:"overlay"}),rl=(0,er.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),rf=(0,er.k0)(e=>{let{isFullHeight:n}=e;return{...n&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[ra.variable]:"colors.white",[rs.variable]:"shadows.lg",_dark:{[ra.variable]:"colors.gray.700",[rs.variable]:"shadows.dark-lg"},bg:ra.reference,boxShadow:rs.reference}}),rd=(0,er.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),rh=(0,er.k0)({position:"absolute",top:"2",insetEnd:"3"}),rp=(0,er.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),rm=(0,er.k0)({px:"6",py:"4"}),rg=ro({baseStyle:ri(e=>({overlay:rc,dialogContainer:rl,dialog:tN(rf,e),header:rd,closeButton:rh,body:rp,footer:rm})),sizes:{xs:ru("xs"),sm:ru("md"),md:ru("lg"),lg:ru("2xl"),xl:ru("4xl"),full:ru("full")},defaultProps:{size:"xs"}}),{definePartsStyle:rv,defineMultiStyleConfig:ry}=(0,er.D)(U.keys),rb=ry({baseStyle:rv({preview:(0,er.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,er.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,er.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:rw,defineMultiStyleConfig:rS}=(0,er.D)(L.keys),r_=(0,er.gJ)("form-control-color"),rk=rS({baseStyle:rw({container:{width:"100%",position:"relative"},requiredIndicator:(0,er.k0)({marginStart:"1",[r_.variable]:"colors.red.500",_dark:{[r_.variable]:"colors.red.300"},color:r_.reference}),helperText:(0,er.k0)({mt:"2",[r_.variable]:"colors.gray.600",_dark:{[r_.variable]:"colors.whiteAlpha.600"},color:r_.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:rx,defineMultiStyleConfig:rE}=(0,er.D)(B.keys),rC=(0,er.gJ)("form-error-color"),rA=rE({baseStyle:rx({text:(0,er.k0)({[rC.variable]:"colors.red.500",_dark:{[rC.variable]:"colors.red.300"},color:rC.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,er.k0)({marginEnd:"0.5em",[rC.variable]:"colors.red.500",_dark:{[rC.variable]:"colors.red.300"},color:rC.reference})})}),rI=(0,er.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),rT=(0,er.fj)({baseStyle:rI}),rP=(0,er.k0)({fontFamily:"heading",fontWeight:"bold"}),rO={"4xl":(0,er.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,er.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,er.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,er.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,er.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,er.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,er.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,er.k0)({fontSize:"sm",lineHeight:1.2})},rR=(0,er.fj)({baseStyle:rP,sizes:rO,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:rD,definePartsStyle:rM}=(0,er.D)(F.keys),rF=rD({baseStyle:rM({link:(0,er.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}})})}),rN=(0,er.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),rj=(0,er.k0)(e=>{let{colorScheme:n,theme:r}=e;if("gray"===n)return{color:eC("inherit","whiteAlpha.900")(e),_hover:{bg:eC("gray.100","whiteAlpha.200")(e)},_active:{bg:eC("gray.200","whiteAlpha.300")(e)}};let i=eJ(`${n}.200`,.12)(r),o=eJ(`${n}.200`,.24)(r);return{color:eC(`${n}.600`,`${n}.200`)(e),bg:"transparent",_hover:{bg:eC(`${n}.50`,i)(e)},_active:{bg:eC(`${n}.100`,o)(e)}}}),rU=(0,er.k0)(e=>{let{colorScheme:n}=e,r=eC("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===n?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...tN(rj,e)}}),rL={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},rB=(0,er.k0)(e=>{var n;
591let{colorScheme:r}=e;if("gray"===r){let n=eC("gray.100","whiteAlpha.200")(e);return{bg:n,_hover:{bg:eC("gray.200","whiteAlpha.300")(e),_disabled:{bg:n}},_active:{bg:eC("gray.300","whiteAlpha.400")(e)}}}let{bg:i=`${r}.500`,color:o="white",hoverBg:a=`${r}.600`,activeBg:s=`${r}.700`}=null!=(n=rL[r])?n:{},u=eC(i,`${r}.200`)(e);return{bg:u,color:eC(o,"gray.800")(e),_hover:{bg:eC(a,`${r}.300`)(e),_disabled:{bg:u}},_active:{bg:eC(s,`${r}.400`)(e)}}}),rV=(0,er.k0)(e=>{let{colorScheme:n}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:eC(`${n}.500`,`${n}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:eC(`${n}.700`,`${n}.500`)(e)}}}),rz=(0,er.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),rq={lg:(0,er.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,er.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,er.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,er.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},r$=(0,er.fj)({baseStyle:rN,variants:{ghost:rj,outline:rU,solid:rB,link:rV,unstyled:rz},sizes:rq,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:rG,defineMultiStyleConfig:rW}=(0,er.D)(en.keys),rH=(0,er.gJ)("card-bg"),rQ=(0,er.gJ)("card-padding"),rK=(0,er.gJ)("card-shadow"),rZ=(0,er.gJ)("card-radius"),rJ=(0,er.gJ)("card-border-width","0"),rY=(0,er.gJ)("card-border-color"),rX=rG({container:{[rH.variable]:"colors.chakra-body-bg",backgroundColor:rH.reference,boxShadow:rK.reference,borderRadius:rZ.reference,color:"chakra-body-text",borderWidth:rJ.reference,borderColor:rY.reference},body:{padding:rQ.reference,flex:"1 1 0%"},header:{padding:rQ.reference},footer:{padding:rQ.reference}}),r0={sm:rG({container:{[rZ.variable]:"radii.base",[rQ.variable]:"space.3"}}),md:rG({container:{[rZ.variable]:"radii.md",[rQ.variable]:"space.5"}}),lg:rG({container:{[rZ.variable]:"radii.xl",[rQ.variable]:"space.7"}})},r1=rW({baseStyle:rX,variants:{elevated:rG({container:{[rK.variable]:"shadows.base",_dark:{[rH.variable]:"colors.gray.700"}}}),outline:rG({container:{[rJ.variable]:"1px",[rY.variable]:"colors.chakra-border-color"}}),filled:rG({container:{[rH.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[rQ.variable]:0},header:{[rQ.variable]:0},footer:{[rQ.variable]:0}}},sizes:r0,defaultProps:{variant:"elevated",size:"md"}}),r2=eo("close-button-size"),r5=eo("close-button-bg"),r3=(0,er.k0)({w:[r2.reference],h:[r2.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[r5.variable]:"colors.blackAlpha.100",_dark:{[r5.variable]:"colors.whiteAlpha.100"}},_active:{[r5.variable]:"colors.blackAlpha.200",_dark:{[r5.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:r5.reference}),r4={lg:(0,er.k0)({[r2.variable]:"sizes.10",fontSize:"md"}),md:(0,er.k0)({[r2.variable]:"sizes.8",fontSize:"xs"}),sm:(0,er.k0)({[r2.variable]:"sizes.6",fontSize:"2xs"})},r6=(0,er.fj)({baseStyle:r3,sizes:r4,defaultProps:{size:"md"}}),{variants:r8,defaultProps:r9}=ta,r7=(0,er.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"}),ie=(0,er.fj)({baseStyle:r7,variants:r8,defaultProps:r9}),it=(0,er.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),ir=(0,er.fj)({baseStyle:it}),ii=(0,er.k0)({opacity:.6,borderColor:"inherit"}),io=(0,er.k0)({borderStyle:"solid"}),ia=(0,er.k0)({borderStyle:"dashed"}),is=(0,er.fj)({baseStyle:ii,variants:{solid:io,dashed:ia},defaultProps:{variant:"solid"}}),{definePartsStyle:iu,defineMultiStyleConfig:ic}=(0,er.D)(R.keys),il=ic({baseStyle:iu({container:(0,er.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,er.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,er.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,er.k0)({fontSize:"1.25em"})})}),{definePartsStyle:id,defineMultiStyleConfig:ih}=(0,er.D)(D.keys),ip=(0,er.gJ)("alert-fg"),im=(0,er.gJ)("alert-bg");
591function ig(e){let{theme:n,colorScheme:r}=e,i=eJ(`${r}.200`,.16)(n);return{light:`colors.${r}.100`,dark:i}}var iv=ih({baseStyle:id({container:{bg:im.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:ip.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:ip.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:id(e=>{let{colorScheme:n}=e,r=ig(e);return{container:{[ip.variable]:`colors.${n}.500`,[im.variable]:r.light,_dark:{[ip.variable]:`colors.${n}.200`,[im.variable]:r.dark}}}}),"left-accent":id(e=>{let{colorScheme:n}=e,r=ig(e);return{container:{[ip.variable]:`colors.${n}.500`,[im.variable]:r.light,_dark:{[ip.variable]:`colors.${n}.200`,[im.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:ip.reference}}}),"top-accent":id(e=>{let{colorScheme:n}=e,r=ig(e);return{container:{[ip.variable]:`colors.${n}.500`,[im.variable]:r.light,_dark:{[ip.variable]:`colors.${n}.200`,[im.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:ip.reference}}}),solid:id(e=>{let{colorScheme:n}=e;return{container:{[ip.variable]:"colors.white",[im.variable]:`colors.${n}
591.500`,_dark:{[ip.variable]:"colors.gray.900",[im.variable]:`colors.${n}.200`},color:ip.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:iy,defineMultiStyleConfig:ib}=(0,er.D)(M.keys),iw=(0,er.gJ)("avatar-border-color"),iS=(0,er.gJ)("avatar-bg"),i_=(0,er.k0)({borderRadius:"full",border:"0.2em solid",[iw.variable]:"white",_dark:{[iw.variable]:"colors.gray.800"},borderColor:iw.reference}),ik=(0,er.k0)({[iS.variable]:"colors.gray.200",_dark:{[iS.variable]:"colors.whiteAlpha.400"},bgColor:iS.reference}),ix=(0,er.gJ)("avatar-background"),iE=(0,er.k0)(e=>{let{name:n,theme:r}=e,i=n?function(e){var n;let r=eX();return!e||eW(e)?r:e.string&&e.colors?function(e,n){let r=0;if(0===e.length)return n[0];for(let n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%n.length+n.length)%n.length,n[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let n=0;if(0===e.length)return n.toString();for(let r=0;r<e.length;r+=1)n=e.charCodeAt(r)+((n<<5)-n),n&=n;let r="#";for(let e=0;e<3;e+=1){let i=n>>8*e&255;r+=`00${i.toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(n=e.colors)[Math.floor(Math.random()*n.length)]:r}({string:n}):"colors.gray.400",o=eZ(i)(r),a="white";return o||(a="gray.800"),{bg:ix.reference,"&:not([data-loaded])":{[ix.variable]:i},color:a,[iw.variable]:"colors.white",_dark:{[iw.variable]:"colors.gray.800"},borderColor:iw.reference,verticalAlign:"top"}});function iC(e){let n="100%"!==e?T[e]:void 0;return iy({container:{width:e,height:e,fontSize:`calc(${null!=n?n:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${null!=n?n:e} / 2.5)`,lineHeight:"100%"!==e?null!=n?n:e:void 0}})}var iA=ib({baseStyle:iy(e=>({badge:tN(i_,e),excessLabel:tN(ik,e),container:tN(iE,e)})),sizes:{"2xs":iC(4),xs:iC(6),sm:iC(8),md:iC(12),lg:iC(16),xl:iC(24),"2xl":iC(32),full:iC("100%")},defaultProps:{size:"md"}}),iI={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},iT={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}},iP={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},iO={semanticTokens:iI,direction:"ltr",...P,components:{Accordion:il,Alert:iv,Avatar:iA,Badge:ta,Breadcrumb:rF,Button:r$,Checkbox:t$,CloseButton:r6,Code:ie,Container:ir,Divider:is,Drawer:rg,Editable:rb,Form:rk,FormError:rA,FormLabel:rT,Heading:rR,Input:tv,Kbd:nv,Link:nb,List:n_,Menu:nR,Modal:nq,NumberInput:n5,PinInput:n8,Popover:rr,Progress:tM,Radio:tQ,Select:t0,Skeleton:t3,SkipLink:t8,Slider:ns,Spinner:nf,Stat:np,Switch:eE,Table:eR,Tabs:e7,Tag:tf,Textarea:tS,Tooltip:tC,Card:r1},styles:iT,config:iP},iR={semanticTokens:iI,direction:"ltr",components:{},...P,styles:iT,config:iP}},15020:function(e,n,r){"use strict";r.d(n,{Dn:function(){return o},IW:function(){return u},sv:function(){return s},ym:function(){return a}});var i=(e,n)=>e.find(e=>e.id===n);function o(e,n){let r=a(e,n),i=r?e[r].findIndex(e=>e.id===n):-1;return{position:r,index:i}}function a(e,n){for(let[r,o]of Object.entries(e))if(i(o,n))return r}function s(e){let n=e.includes("right"),r=e.includes("left"),i="center";return n&&(i="flex-end"),r&&(i="flex-start"),{display:"flex",flexDirection:"column",alignItems:i}}function u(e){let n=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,r=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,i=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",o=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:n,bottom:r,right:i,left:o}}},47446:function(e,n,r){"use strict";r.d(n,{Cj:function(){return b},fp:function(){return m}});var i=r(15020),o=r(25559),a=r(68055),s=r(66917),u=r(35059),c=r(66384),l=r(25432),f=r(85893),d=(0,u.G)(function(e,n){let r=(0,s.uL)();return(0,f.jsx)(c.m.div,{ref:n,...e,className:(0,l.cx)("chakra-alert__title",e.className),__css:r.title})});d.displayName="AlertTitle";var h=r(33499),p=r(86989),m=function(e){let n=e,r=new Set,o=e=>
591{n=e(n),r.forEach(e=>e())};return{getState:()=>n,subscribe:n=>(r.add(n),()=>{o(()=>e),r.delete(n)}),removeToast:(e,n)=>{o(r=>({...r,[n]:r[n].filter(n=>n.id!=e)}))},notify:(e,n)=>{let r=function(e,n={}){var r,i;g+=1;let o=null!=(r=n.id)?r:g,a=null!=(i=n.position)?i:"bottom";return{id:o,message:e,position:a,duration:n.duration,onCloseComplete:n.onCloseComplete,onRequestRemove:()=>m.removeToast(String(o),a),status:n.status,requestClose:!1,containerStyle:n.containerStyle}}(e,n),{position:i,id:a}=r;return o(e=>{var n,o;let a=i.includes("top"),s=a?[r,...null!=(n=e[i])?n:[]]:[...null!=(o=e[i])?o:[],r];return{...e,[i]:s}}),a},update:(e,n)=>{e&&o(r=>{let o={...r},{position:a,index:s}=(0,i.Dn)(o,e);return a&&-1!==s&&(o[a][s]={...o[a][s],...n,message:y(n)}),o})},closeAll:({positions:e}={})=>{o(n=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,r)=>(e[r]=n[r].map(e=>({...e,requestClose:!0})),e),{...n}))},close:e=>{o(n=>{let r=(0,i.ym)(n,e);return r?{...n,[r]:n[r].map(n=>n.id==e?{...n,requestClose:!0}:n)}:n})},isActive:e=>Boolean((0,i.Dn)(m.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),g=0,v=e=>{let{status:n,variant:r="solid",id:i,title:s,isClosable:u,onClose:l,description:m,icon:g}=e,v=i?{root:`toast-${i}`,title:`toast-${i}-title`,description:`toast-${i}-description`}:void 0;return(0,f.jsxs)(o.b,{addRole:!1,status:n,variant:r,id:null==v?void 0:v.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",children:[(0,f.jsx)(a.z,{children:g}),(0,f.jsxs)(c.m.div,{flex:"1",maxWidth:"100%",children:[s&&(0,f.jsx)(d,{id:null==v?void 0:v.title,children:s}),m&&(0,f.jsx)(h.X,{id:null==v?void 0:v.description,display:"block",children:m})]}),u&&(0,f.jsx)(p.P,{size:"sm",onClick:l,position:"absolute",insetEnd:1,top:1})]})};function y(e={}){let{render:n,toastComponent:r=v}=e,i=i=>"function"==typeof n?n({...i,...e}):(0,f.jsx)(r,{...i,...e});return i}function b(e,n){let r=r=>{var i;return{...n,...r,position:function(e,n){var r;let i=null!=e?e:"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[i];return null!=(r=null==o?void 0:o[n])?r:i}(null!=(i=null==r?void 0:r.position)?i:null==n?void 0:n.position,e)}},i=e=>{let n=r(e),i=y(n);return m.notify(i,n)};return i.update=(e,n)=>{m.update(e,r(n))},i.promise=(e,n)=>{let r=i({...n.loading,status:"loading",duration:null});e.then(e=>i.update(r,{status:"success",duration:5e3,...(0,l.Pu)(n.success,e)})).catch(e=>i.update(r,{status:"error",duration:5e3,...(0,l.Pu)(n.error,e)}))},i.closeAll=m.closeAll,i.close=m.close,i.isActive=m.isActive,i}},67848:function(e,n,r){"use strict";r.d(n,{Qi:function(){return y},VW:function(){return w},OX:function(){return b}});var i=r(15020),o=r(67294),a=r(35155),s=r(52366),u=r(25432),c=r(15947),l=r(17115),f=r(66384),d=r(85893),h={initial:e=>{let{position:n}=e,r=["top","bottom"].includes(n)?"y":"x",i=["top-right","bottom-right"].includes(n)?1:-1;return"bottom"===n&&(i=1),{opacity:0,[r]:24*i}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},p=(0,o.memo)(e=>{let{id:n,message:r,onCloseComplete:p,onRequestRemove:m,requestClose:g=!1,position:v="bottom",duration:y=5e3,containerStyle:b,motionVariants:w=h,toastSpacing:S="0.5rem"}=e,[_,k]=(0,o.useState)(y),x=(0,c.hO)();(0,s.r)(()=>{x||null==p||p()},[x]),(0,s.r)(()=>{k(y)},[y]);let E=()=>k(null),C=()=>k(y),A=()=>{x&&m()};(0,o.useEffect)(()=>{x&&g&&m()},[x,g,m]),function(e,n){let r=(0,a.W)(e);(0,o.useEffect)(()=>{if(null==n)return;let e=null;return e=window.setTimeout(()=>{r()},n),()=>{e&&window.clearTimeout(e)}},[n,r])}(A,_);let I=(0,o.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:S,...b}),[b,S]),T=(0,o.useMemo)(()=>(0,i.sv)(v),[v]);return(0,d.jsx)(l.E.li,{layout:!0,className:"chakra-toast",variants:w,initial:"initial",animate:"animate",exit:"exit",onHoverStart:E,onHoverEnd:C,custom:{position:v},style:T,children:(0,d.jsx)(f.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:I,children:(0,u.Pu)(r,{id:n,onClose:A})})})});p.displayName="ToastComponent";var m=r(47446),g=r(51526),v=r(49598),[y,b]=(0,r(55227).k)({name:"ToastOptionsContext",strict:!1}),w=e=>{let n=(0,o.useSyncExternalStore)(m.fp.subscribe,m.fp.getState,m.fp.getState),{motionVariants:r,component:a=p,portalProps:s}=e,u=Object.keys(n),c=u.map(e=>{let o=n[e];return(0,d.jsx)("ul",{role:"region","aria-live":"polite",id:`chakra-toast-manager-${e}`,style:(0,i.IW)(e),children:(0,d.jsx)(g.M,{initial:!1,children:o.map(e=>(0,d.jsx)(a,{motionVariants:r,...e},e.id))})},e)});return(0,d.jsx)(v.h,{...s,children:c})}},36597:function(e,n,r){"use strict";function i(e,...n){return"function"==typeof e?e(...n):e}
591function o(...e){return function(n){e.some(e=>(null==e||e(n),null==n?void 0:n.defaultPrevented))}}r.d(n,{v0:function(){return o},Pu:function(){return i}})},21759:function(e,n,r){"use strict";function i(e,n){let r={};return Object.keys(e).forEach(i=>{n.includes(i)||(r[i]=e[i])}),r}r.d(n,{CE:function(){return i},Wf:function(){return o},YU:function(){return s},lw:function(){return a}}),r(38554);var o=(e=>{let n=new WeakMap,r=(r,i,o,a)=>{if(void 0===r)return e(r,i,o);n.has(r)||n.set(r,new Map);let s=n.get(r);if(s.has(i))return s.get(i);let u=e(r,i,o,a);return s.set(i,u),u};return r})(function(e,n,r,i){let o="string"==typeof n?n.split("."):[n];for(i=0;i<o.length&&e;i+=1)e=e[o[i]];return void 0===e?r:e});function a(e,n){let r={};return Object.keys(e).forEach(i=>{let o=e[i],a=n(o,i,e);a&&(r[i]=o)}),r}var s=e=>a(e,e=>null!=e)},7297:function(e,n,r){"use strict";function i(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}r.d(n,{Z:function(){return i}})},51526:function(e,n,r){"use strict";r.d(n,{M:function(){return v}});var i=r(67294),o=r(30404),a=r(58868);function s(){let e=(0,i.useRef)(!1);return(0,a.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var u=r(240),c=r(96681);class l extends i.Component{getSnapshotBeforeUpdate(e){let n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=n.offsetHeight||0,e.width=n.offsetWidth||0,e.top=n.offsetTop,e.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:n}){let r=(0,i.useId)(),o=(0,i.useRef)(null),a=(0,i.useRef)({width:0,height:0,top:0,left:0});return(0,i.useInsertionEffect)(()=>{let{width:e,height:i,top:s,left:u}=a.current;if(n||!o.current||!e||!i)return;o.current.dataset.motionPopId=r;let c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
592          [data-motion-pop-id="${r}"] {
593            position: absolute !important;
594            width: ${e}px !important;
595            height: ${i}px !important;
596            top: ${s}px !important;
597            left: ${u}px !important;
598          }
599        `),()=>{document.head.removeChild(c)}},[n]),i.createElement(l,{isPresent:n,childRef:o,sizeRef:a},i.cloneElement(e,{ref:o}))}let d=({children:e,initial:n,isPresent:r,onExitComplete:o,custom:a,presenceAffectsLayout:s,mode:l})=>{let d=(0,c.h)(h),p=(0,i.useId)(),m=(0,i.useMemo)(()=>({id:p,initial:n,isPresent:r,custom:a,onExitComplete:e=>{for(let n of(d.set(e,!0),d.values()))if(!n)return;o&&o()},register:e=>(d.set(e,!1),()=>d.delete(e))}),s?void 0:[r]);return(0,i.useMemo)(()=>{d.forEach((e,n)=>d.set(n,!1))},[r]),i.useEffect(()=>{r||d.size||!o||o()},[r]),"popLayout"===l&&(e=i.createElement(f,{isPresent:r},e)),i.createElement(u.O.Provider,{value:m},e)};function h(){return new Map}var p=r(25364),m=r(45487);let g=e=>e.key||"",v=({children:e,custom:n,initial:r=!0,onExitComplete:u,exitBeforeEnter:c,presenceAffectsLayout:l=!0,mode:f="sync"})=>{var h;(0,m.k)(!c,"Replace exitBeforeEnter with mode='wait'");let[v]=function(){let e=s(),[n,r]=(0,i.useState)(0),a=(0,i.useCallback)(()=>{e.current&&r(n+1)},[n]),u=(0,i.useCallback)(()=>o.Z_.postRender(a),[a]);return[u,n]}(),y=(0,i.useContext)(p.p).forceRender;y&&(v=y);let b=s(),w=function(e){let n=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&n.push(e)}),n}(e),S=w,_=new Set,k=(0,i.useRef)(S),x=(0,i.useRef)(new Map).current,E=(0,i.useRef)(!0);if((0,a.L)(()=>{E.current=!1,function(e,n){e.forEach(e=>{let r=g(e);n.set(r,e)})}(w,x),k.current=S}),h=()=>{E.current=!0,x.clear(),_.clear()},(0,i.useEffect)(()=>()=>h(),[]),E.current)return i.createElement(i.Fragment,null,S.map(e=>i.createElement(d,{key:g(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:l,mode:f},e)));S=[...S];let C=k.current.map(g),A=w.map(g),I=C.length;for(let e=0;e<I;e++){let n=C[e];-1===A.indexOf(n)&&_.add(n)}return"wait"===f&&_.size&&(S=[]),_.forEach(e=>{if(-1!==A.indexOf(e))return;let r=x.get(e);if(!r)return;let o=C.indexOf(e),a=()=>{x.delete(e),_.delete(e);let n=k.current.findIndex(n=>n.key===e);if(k.current.splice(n,1),!_.size){if(k.current=w,!1===b.current)return;v(),u&&u()}};S.splice(o,0,i.createElement(d,{key:g(r),isPresent:!1,onExitComplete:a,custom:n,presenceAffectsLayout:l,mode:f},r))}),S=S.map(e=>{let n=e.key;return _.has(n)?e:i.createElement(d,{key:g(e),isPresent:!0,presenceAffectsLayout:l,mode:f},e)}),i.createElement(i.Fragment,null,_.size?S:S.map(e=>(0,i.cloneElement)(e)))}},15947:function(e,n,r){"use strict";r.d(n,{hO:function(){return s},oO:function(){return a}});var i=r(67294),o=r(240);function a(){let e=(0,i.useContext)(o.O);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:r,register:a}=e,s=(0,i.useId)();(0,i.useEffect)(()=>a(s),[]);let u=()=>r&&r(s);return!n&&r?[!1,u]:[!0]}function s(){var e;return null===(e=(0,i.useContext)(o.O))||e.isPresent}},25364:function(e,n,r){"use strict";r.d(n,{p:function(){return o}});var i=r(67294);let o=(0,i.createContext)({})},240:function(e,n,r){"use strict";r.d(n,{O:function(){return o}});var i=r(67294);let o=(0,i.createContext)(null)},37367:function(e,n,r){"use strict";r.d(n,{w:function(){return i}});let i={delta:0,timestamp:0}},30404:function(e,n,r){"use strict";r.d(n,{qY:function(){return p},iW:function(){return m},Z_:function(){return h}});let i=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),a="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(o()),i);var s=r(37367);let u=!0,c=!1,l=!1,f=["read","update","preRender","render","postRender"],d=f.reduce((e,n)=>(e[n]=function(e){let n=[],r=[],i=0,o=!1,a=!1,s=new WeakSet,u={schedule:(e,a=!1,u=!1)=>{let c=u&&o,l=c?n:r;return a&&s.add(e),-1===l.indexOf(e)&&(l.push(e),c&&o&&(i=n.length)),e},cancel:e=>{let n=r.indexOf(e);-1!==n&&r.splice(n,1),s.delete(e)},process:c=>{if(o){a=!0;return}if(o=!0,[n,r]=[r,n],r.length=0,i=n.length)for(let r=0;r<i;r++){let i=n[r];i(c),s.has(i)&&(u.schedule(i),e())}o=!1,a&&(a=!1,u.process(c))}};return u}(()=>c=!0),e),{}),h=f.reduce((e,n)=>{let r=d[n];return e[n]=(e,n=!1,i=!1)=>(c||y(),r.schedule(e,n,i)),e},{}),p=f.reduce((e,n)=>(e[n]=d[n].cancel,e),{}),m=f.reduce((e,n)=>(e[n]=()=>d[n].process(s.w),e),{}),g=e=>d[e].process(s.w),v=e=>{c=!1,s.w.delta=u?i:Math.max(Math.min(e-s.w.timestamp,40),1),s.w.timestamp=e,l=!0,f.forEach(g),l=!1,c&&(u=!1,a(v))},y=()=>{c=!0,u=!0,l||a(v)}},17115:function(e,n,r){"use strict";r.d(n,{E:function(){return iN}});var i,o=r(67294);let a=(0,o.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),s=(0,o.createContext)({});var u=r(240),c=r(58868);let l=(0,o.createContext)({strict:!1});function f(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function d(e){return"string"==typeof e||Array.isArray(e)}function h(e){return"object"==typeof e&&"function"==typeof e.start}let p=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],m=["initial",...p];function g(e){return h(e.animate)||m.some(n=>d(e[n]))}function v(e){return Boolean(g(e)||e.variants)}function y(e){return Array.isArray(e)?e.join(" "):e}let b={animation:["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},w={};for(let e in b)w[e]={isEnabled:n=>b[e].some(e=>!!n[e])};var S=r(11741),_=r(96681);let k={hasAnimatedSinceResize:!0,hasEverUpdated:!1},x=1;var E=r(25364);let C=(0,o.createContext)({}),A=Symbol.for("motionComponentSymbol"),I=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function T(e){if("string"!=typeof e||e.includes("-"));else if(I.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let P={},O=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],R=new Set(O);function D(e,{layout:n,layoutId:r}){return R.has(e)||e.startsWith("origin")||(n||void 0!==r)&&(!!P[e]||"opacity"===e)}let M=e=>Boolean(e&&e.getVelocity),F={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},N=O.length,j=e=>n=>"string"==typeof n&&n.startsWith(e),U=j("--"),L=j("var(--"),B=(e,n)=>n&&"number"==typeof e?n.transform(e):e,V=(e,n,r)=>Math.min(Math.max(r,e),n),z={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},q={...z,transform:e=>V(0,1,e)},$={...z,default:1},G=e=>
599Math.round(1e5*e)/1e5,W=/(-)?([\d]*\.?[\d])+/g,H=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Q=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function K(e){return"string"==typeof e}let Z=e=>({test:n=>K(n)&&n.endsWith(e)&&1===n.split(" ").length,parse:parseFloat,transform:n=>`${n}${e}`}),J=Z("deg"),Y=Z("%"),X=Z("px"),ee=Z("vh"),et=Z("vw"),en={...Y,parse:e=>Y.parse(e)/100,transform:e=>Y.transform(100*e)},er={...z,transform:Math.round},ei={borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,radius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,size:X,top:X,right:X,bottom:X,left:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,rotate:J,rotateX:J,rotateY:J,rotateZ:J,scale:$,scaleX:$,scaleY:$,scaleZ:$,skew:J,skewX:J,skewY:J,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:q,originX:en,originY:en,originZ:X,zIndex:er,fillOpacity:q,strokeOpacity:q,numOctaves:er};function eo(e,n,r,i){let{style:o,vars:a,transform:s,transformOrigin:u}=e,c=!1,l=!1,f=!0;for(let e in n){let r=n[e];if(U(e)){a[e]=r;continue}let i=ei[e],d=B(r,i);if(R.has(e)){if(c=!0,s[e]=d,!f)continue;r!==(i.default||0)&&(f=!1)}else e.startsWith("origin")?(l=!0,u[e]=d):o[e]=d}if(!n.transform&&(c||i?o.transform=function(e,{enableHardwareAcceleration:n=!0,allowTransformNone:r=!0},i,o){let a="";for(let n=0;n<N;n++){let r=O[n];if(void 0!==e[r]){let n=F[r]||r;a+=`${n}(${e[r]}) `}}return n&&!e.z&&(a+="translateZ(0)"),a=a.trim(),o?a=o(e,i?"":a):r&&i&&(a="none"),a}(e.transform,r,f,i):o.transform&&(o.transform="none")),l){let{originX:e="50%",originY:n="50%",originZ:r=0}=u;o.transformOrigin=`${e} ${n} ${r}`}}let ea=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function es(e,n,r){for(let i in n)M(n[i])||D(i,r)||(e[i]=n[i])}function eu(e,n,r){let i={},a=function(e,n,r){let i=e.style||{},a={};return es(a,i,e),Object.assign(a,function({transformTemplate:e},n,r){return(0,o.useMemo)(()=>{let i=ea();return eo(i,n,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(a):a}(e,n,r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=a,i}let ec=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function el(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||ec.has(e)}let ef=e=>!el(e);try{(i=require("@emotion/is-prop-valid").default)&&(ef=e=>e.startsWith("on")?!el(e):i(e))}catch(e){}function ed(e,n,r){return"string"==typeof e?e:X.transform(n+r*e)}let eh={offset:"stroke-dashoffset",array:"stroke-dasharray"},ep={offset:"strokeDashoffset",array:"strokeDasharray"};function em(e,{attrX:n,attrY:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:u=0,...c},l,f,d){if(eo(e,c,l,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:p,dimensions:m}=e;h.transform&&(m&&(p.transform=h.transform),delete h.transform),m&&(void 0!==i||void 0!==o||p.transform)&&(p.transformOrigin=function(e,n,r){let i=ed(n,e.x,e.width),o=ed(r,e.y,e.height);return`${i} ${o}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==n&&(h.x=n),void 0!==r&&(h.y=r),void 0!==a&&function(e,n,r=1,i=0,o=!0){e.pathLength=1;let a=o?eh:ep;e[a.offset]=X.transform(-i);let s=X.transform(n),u=X.transform(r);e[a.array]=`${s} ${u}`}(h,a,s,u,!1)}let eg=()=>({...ea(),attrs:{}}),ev=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ey(e,n,r,i){let a=(0,o.useMemo)(()=>{let r=eg();return em(r,n,{enableHardwareAcceleration:!1},ev(i),e.transformTemplate),{...r.attrs,style:{...r.style}}},[n]);if(e.style){let n={};es(n,e.style,e),a.style={...n,...a.style}}return a}let eb=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ew(e,{style:n,vars:r},i,o){for(let a in Object.assign(e.style,n,o&&o.getProjectionStyles(i)),r)e.style.setProperty(a,r[a])}let eS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function e_(e,n,r,i){for(let r in ew(e,n,void 0,i),n.attrs)e.setAttribute(eS.has(r)?r:eb(r),n.attrs[r])}function ek(e,n){let{style:r}=e,i={};for(let o in r)(M(r[o])||n.style&&M(n.style[o])||D(o,e))&&(i[o]=r[o]);return i}
599function ex(e,n){let r=ek(e,n);for(let i in e)if(M(e[i])||M(n[i])){let n="x"===i||"y"===i?"attr"+i.toUpperCase():i;r[n]=e[i]}return r}function eE(e,n,r,i={},o={}){return"function"==typeof n&&(n=n(void 0!==r?r:e.custom,i,o)),"string"==typeof n&&(n=e.variants&&e.variants[n]),"function"==typeof n&&(n=n(void 0!==r?r:e.custom,i,o)),n}let eC=e=>Array.isArray(e),eA=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),eI=e=>eC(e)?e[e.length-1]||0:e;function eT(e){let n=M(e)?e.get():e;return eA(n)?n.toValue():n}let eP=e=>(n,r)=>{let i=(0,o.useContext)(s),a=(0,o.useContext)(u.O),c=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:n,onMount:r},i,o,a){let s={latestValues:function(e,n,r,i){let o={},a=i(e,{});for(let e in a)o[e]=eT(a[e]);let{initial:s,animate:u}=e,c=g(e),l=v(e);n&&l&&!c&&!1!==e.inherit&&(void 0===s&&(s=n.initial),void 0===u&&(u=n.animate));let f=!!r&&!1===r.initial;f=f||!1===s;let d=f?u:s;if(d&&"boolean"!=typeof d&&!h(d)){let n=Array.isArray(d)?d:[d];n.forEach(n=>{let r=eE(e,n);if(!r)return;let{transitionEnd:i,transition:a,...s}=r;for(let e in s){let n=s[e];if(Array.isArray(n)){let e=f?n.length-1:0;n=n[e]}null!==n&&(o[e]=n)}for(let e in i)o[e]=i[e]})}return o}(i,o,a,e),renderState:n()};return r&&(s.mount=e=>r(i,e,s)),s})(e,n,i,a);return r?c():(0,_.h)(c)},eO={useVisualState:eP({scrapeMotionValuesFromProps:ex,createRenderState:eg,onMount:(e,n,{renderState:r,latestValues:i})=>{try{r.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}em(r,i,{enableHardwareAcceleration:!1},ev(n.tagName),e.transformTemplate),e_(n,r)}})},eR={useVisualState:eP({scrapeMotionValuesFromProps:ek,createRenderState:ea})};function eD(e,n,r,i={passive:!0}
599){return e.addEventListener(n,r,i),()=>e.removeEventListener(n,r)}let eM=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eF(e,n="page"){return{point:{x:e[n+"X"],y:e[n+"Y"]}}}let eN=e=>n=>eM(n)&&e(n,eF(n));function ej(e,n,r,i){return eD(e,n,eN(r),i)}let eU=(e,n)=>r=>n(e(r)),eL=(...e)=>e.reduce(eU);function eB(e){let n=null;return()=>{let r=()=>{n=null};return null===n&&(n=e,r)}}let eV=eB("dragHorizontal"),ez=eB("dragVertical");function eq(e){let n=!1;if("y"===e)n=ez();else if("x"===e)n=eV();else{let e=eV(),r=ez();e&&r?n=()=>{e(),r()}:(e&&e(),r&&r())}return n}function e$(){let e=eq(!0);return!e||(e(),!1)}class eG{constructor(e){this.isMounted=!1,this.node=e}update(){}}function eW(e,n){let r="onHover"+(n?"Start":"End"),i=(i,o)=>{if("touch"===i.type||e$())return;let a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",n),a[r]&&a[r](i,o)};return ej(e.current,"pointer"+(n?"enter":"leave"),i,{passive:!e.getProps()[r]})}let eH=(e,n)=>!!n&&(e===n||eH(e,n.parentElement));var eQ=r(81662);function eK(e,n){if(!n)return;let r=new PointerEvent("pointer"+e);n(r,eF(r))}let eZ=new WeakMap,eJ=new WeakMap,eY=e=>{let n=eZ.get(e.target);n&&n(e)},eX=e=>{e.forEach(eY)},e0={some:0,all:1};function e1(e,n){if(!Array.isArray(n))return!1;let r=n.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(n[i]!==e[i])return!1;return!0}let e2=e=>/^\-?\d*\.?\d+$/.test(e),e5=e=>/^0[^.\s]+$/.test(e);var e3=r(37367),e4=r(30404);function e6(e,n){-1===e.indexOf(n)&&e.push(n)}function e8(e,n){let r=e.indexOf(n);r>-1&&e.splice(r,1)}class e9{constructor(){this.subscriptions=[]}add(e){return e6(this.subscriptions,e),()=>e8(this.subscriptions,e)}notify(e,n,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](e,n,r);else for(let o=0;o<i;o++){let i=this.subscriptions[o];i&&i(e,n,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function e7(e,n){return n?e*(1e3/n):0}let te=e=>!isNaN(parseFloat(e));class tt{constructor(e,n={}){this.version="10.0.1",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,n=!0)=>{this.prev=this.current,this.current=e;let{delta:r,timestamp:i}=e3.w;this.lastUpdated!==i&&(this.timeDelta=r,this.lastUpdated=i,e4.Z_.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>e4.Z_.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=te(this.current),this.owner=n.owner}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new e9);let r=this.events[e].add(n);return"change"===e?()=>{r(),e4.Z_.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){n&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,n)}setWithVelocity(e,n,r){this.set(n),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?e7(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n)||null,this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=null}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tn(e,n){return new tt(e,n)}let tr=(e,n)=>r=>Boolean(K(r)&&Q.test(r)&&r.startsWith(e)||n&&Object.prototype.hasOwnProperty.call(r,n)),ti=(e,n,r)=>i=>{if(!K(i))return i;let[o,a,s,u]=i.match(W);return{[e]:parseFloat(o),[n]:parseFloat(a),[r]:parseFloat(s),alpha:void 0!==u?parseFloat(u):1}},to=e=>V(0,255,e),ta={...z,transform:e=>Math.round(to(e))},ts={test:tr("rgb","red"),parse:ti("red","green","blue"),transform:({red:e,green:n,blue:r,alpha:i=1})=>"rgba("+ta.transform(e)+", "+ta.transform(n)+", "+ta.transform(r)+", "+G(q.transform(i))+")"},tu={test:tr("#"),parse:function(e){let n="",r="",i="",o="";return e.length>5?(n=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(n=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),n+=n,r+=r,i+=i,o+=o),{red:parseInt(n,16),green:parseInt(r,16),blue:parseInt(i,16),alph
599a:o?parseInt(o,16)/255:1}},transform:ts.transform},tc={test:tr("hsl","hue"),parse:ti("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+Y.transform(G(n))+", "+Y.transform(G(r))+", "+G(q.transform(i))+")"},tl={test:e=>ts.test(e)||tu.test(e)||tc.test(e),parse:e=>ts.test(e)?ts.parse(e):tc.test(e)?tc.parse(e):tu.parse(e),transform:e=>K(e)?e:e.hasOwnProperty("red")?ts.transform(e):tc.transform(e)},tf="${c}",td="${n}";function th(e){"number"==typeof e&&(e=`${e}`);let n=[],r=0,i=0,o=e.match(H);o&&(r=o.length,e=e.replace(H,tf),n.push(...o.map(tl.parse)));let a=e.match(W);return a&&(i=a.length,e=e.replace(W,td),n.push(...a.map(z.parse))),{values:n,numColors:r,numNumbers:i,tokenised:e}}function tp(e){return th(e).values}function tm(e){let{values:n,numColors:r,tokenised:i}=th(e),o=n.length;return e=>{let n=i;for(let i=0;i<o;i++)n=n.replace(i<r?tf:td,i<r?tl.transform(e[i]):G(e[i]));return n}}let tg=e=>"number"==typeof e?0:e,tv={test:function(e){var n,r;return isNaN(e)&&K(e)&&((null===(n=e.match(W))||void 0===n?void 0:n.length)||0)+((null===(r=e.match(H))||void 0===r?void 0:r.length)||0)>0},parse:tp,createTransformer:tm,getAnimatableNone:function(e){let n=tp(e),r=tm(e);return r(n.map(tg))}},ty=new Set(["brightness","contrast","saturate","opacity"]);function tb(e){let[n,r]=e.slice(0,-1).split("(");if("drop-shadow"===n)return e;let[i]=r.match(W)||[];if(!i)return e;let o=r.replace(i,""),a=ty.has(n)?1:0;return i!==r&&(a*=100),n+"("+a+o+")"}let tw=/([a-z-]*)\(.*?\)/g,tS={...tv,getAnimatableNone:e=>{let n=e.match(tw);return n?n.map(tb).join(" "):e}},t_={...ei,color:tl,backgroundColor:tl,outlineColor:tl,fill:tl,stroke:tl,borderColor:tl,borderTopColor:tl,borderRightColor:tl,borderBottomColor:tl,borderLeftColor:tl,filter:tS,WebkitFilter:tS},tk=e=>t_[e];function tx(e,n){let r=tk(e);return r!==tS&&(r=tv),r.getAnimatableNone?r.getAnimatableNone(n):void 0}let tE=e=>n=>n.test(e),tC=[z,X,Y,J,et,ee,{test:e=>"auto"===e,parse:e=>e}],tA=e=>tC.find(tE(e)),tI=[...tC,tl,tv],tT=e=>tI.find(tE(e));function tP(e,n,r){let i=e.getProps();return eE(i,n,void 0!==r?r:i.custom,function(e){let n={};return e.values.forEach((e,r)=>n[r]=e.get()),n}(e),function(e){let n={};return e.values.forEach((e,r)=>n[r]=e.getVelocity()),n}(e))}function tO(e){return Boolean(M(e)&&e.add)}let tR="data-"+eb("framerAppearId");var tD=r(45487);let tM=e=>1e3*e,tF={current:!1},tN=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,tj=e=>n=>1-e(1-n),tU=e=>e*e,tL=tj(tU),tB=tN(tU),tV=(e,n,r)=>-r*e+r*n+e;function tz(e,n,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(n-e)*6*r:r<.5?n:r<2/3?e+(n-e)*(2/3-r)*6:e}let tq=(e,n,r)=>{let i=e*e;return Math.sqrt(Math.max(0,r*(n*n-i)+i))},t$=[tu,ts,tc],tG=e=>t$.find(n=>n.test(e));function tW(e){let n=tG(e);(0,tD.k)(Boolean(n),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=n.parse(e);return n===tc&&(r=function({hue:e,saturation:n,lightness:r,alpha:i}){e/=360,r/=100;let o=0,a=0,s=0;if(n/=100){let i=r<.5?r*(1+n):r+n-r*n,u=2*r-i;o=tz(u,i,e+1/3),a=tz(u,i,e),s=tz(u,i,e-1/3)}else o=a=s=r;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}(r)),r}let tH=(e,n)=>{let r=tW(e),i=tW(n),o={...r};return e=>(o.red=tq(r.red,i.red,e),o.green=tq(r.green,i.green,e),o.blue=tq(r.blue,i.blue,e),o.alpha=tV(r.alpha,i.alpha,e),ts.transform(o))};function tQ(e,n){return"number"==typeof e?r=>tV(e,n,r):tl.test(e)?tH(e,n):tJ(e,n)}let tK=(e,n)=>{let r=[...e],i=r.length,o=e.map((e,r)=>tQ(e,n[r]));return e=>{for(let n=0;n<i;n++)r[n]=o[n](e);return r}},tZ=(e,n)=>{let r={...e,...n},i={};for(let o in r)void 0!==e[o]&&void 0!==n[o]&&(i[o]=tQ(e[o],n[o]));return e=>{for(let n in i)r[n]=i[n](e);return r}},tJ=(e,n)=>{let r=tv.createTransformer(n),i=th(e),o=th(n),a=i.numColors===o.numColors&&i.numNumbers>=o.numNumbers;return a?eL(tK(i.values,o.values),r):((0,tD.K)(!0,`Complex values '${e}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),r=>`${r>0?n:e}`)},tY=(e,n,r)=>{let i=n-e;return 0===i?1:(r-e)/i},tX=(e,n)=>r=>tV(e,n,r);function t0(e,n,{clamp:r=!0,ease:i,mixer:o}={}){let a=e.length;(0,tD.k)(a===n.length,"Both input and output ranges must be the same length"),(0,tD.k)(!i||!Array.isArray(i)||i.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[...e].reverse(),n=[...n].reverse());let s=function(e,n,r){let i=[],o=r||function(e){if("number"==typeof e);else if("string"==typeof e)return tl.test(e)?tH:tJ;else if(Array.isArray(e))return tK;else if("object"==typeof e)return tZ;return tX}(e[0]),a=e.length-1;for(let r=0;r<a;r++){let a=o(e[r],e[r+1]);if(n){let e=Array.isArray(n)?n[r]:n;a=eL(e,a)}i.push(a)}return i}(n,i,o),u=s.length,c=n=>{let r=0;if(u>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=tY(e[r],e[r+1],n);return s[r](i)};return r?n=>c(V(e[0],e[a-1],n)):c}let t1=(e,n,r)=>(((1-3*r+3*n)*e+(3*r-6*n))*e+3*n)*e;function t2(e,n,r,i){if(e===n&&r===i)return eQ.Z;let o=n=>(function(e,n,r,i,o){let a,s;let u=0;do(a=t1(s=n+(r-n)/2,i,o)-e)>0?r=s:n=s;while(Math.abs(a)>1e-7&&++u<12);return s})(n,0,1,e,r);return e=>0===e||1===e?e:t1(o(e),n,i)}let t5=e=>1-Math.sin(Math.acos(e)),t3=tj(t5),t4=tN(t3),t6=t2(.33,1.53,.69,.99),t8=tj(t6),t9=tN(t8),t7=e=>(e*=2)<1?.5*t8(e):.5*(2-Math.pow(2,-10*(e-1))),ne={linear:eQ.Z,easeIn:tU,easeInOut:tB,easeOut:tL,circIn:t5,circInOut:t4,circOut:t3,backIn:t8,backInOut:t9,backOut:t6,anticipate:t7},nt=e=>{if(Array.isArray(e)){(0,tD.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[n,r,i,o]=e;return t2(n,r,i,o)}return"string"==typeof e?((0,tD.k)(void 0!==ne[e],`Invalid easing type '${e}'`),ne[e]):e},nn=e=>Array.isArray(e)&&"number"!=typeof e[0];function nr({keyframes:e,ease:n=tB,times:r,duration:i=300}){e=[...e];let o=nn(n)?n.map(nt):nt(n),a={done:!1,value:e[0]},s=(r&&r.length===e.length?r:function(e){let n=[0];return function(e,n){let r=e[e.length-1];for(let i=1;i<=n;i++){let o=tY(0,n,i);e.push(tV(r,1,o))}}(n,e.length-1),n}(e)).map(e=>e*i);function u(){var n;return t0(s,e,{ease:Array.isArray(o)?o:(n=e).map(()=>o||tB).splice(0,n.length-1)})}let c=u();return{next:e=>(a.value=c(e),a.done=e>=i,a),flipTarget:()=>{e.reverse(),c=u()}}}function ni(e,n){return e*Math.sqrt(1-n*n)}let no=["duration","bounce"],na=["stiffness","damping","mass"];function ns(e,n){return n.some(n=>void 0!==e[n])}function nu({keyframes:e,restDelta:n,restSpeed:r,...i}){let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:u,damping:c,mass:l,velocity:f,duration:d,isResolvedFromDuration:h}=function(e){let n={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ns(e,na)&&ns(e,no)){let r=function({duration:e=800,bounce:n=.25,velocity:r=0,mass:i=1}){let o,a;(0,tD.K)(e<=1e4,"Spring duration must be 10 seconds or less");let s=1-n;s=V(.05,1,s),e=V(.01,10,e/1e3),s<1?(o=n=>{let i=n*s,o=i*e,a=ni(n,s);return .001-(i-r)/a*Math.exp(-o)},a=n=>{let i=n*s,a=i*e,u=Math.pow(s,2)*Math.pow(n,2)*e,c=ni(Math.pow(n,2),s),l=-o(n)+.001>0?-1:1;
599return l*((a*r+r-u)*Math.exp(-a))/c}):(o=n=>{let i=Math.exp(-n*e),o=(n-r)*e+1;return -.001+i*o},a=n=>{let i=Math.exp(-n*e),o=(r-n)*(e*e);return i*o});let u=5/e,c=function(e,n,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/n(i);return i}(o,a,u);if(e*=1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{let n=Math.pow(c,2)*i;return{stiffness:n,damping:2*s*Math.sqrt(i*n),duration:e}}}(e);(n={...n,...r,velocity:0,mass:1}).isResolvedFromDuration=!0}return n}(i),p=nc,m=f?-(f/1e3):0,g=c/(2*Math.sqrt(u*l));function v(){let e=a-o,i=Math.sqrt(u/l)/1e3,s=5>Math.abs(e);if(r||(r=s?.01:2),n||(n=s?.005:.5),g<1){let n=ni(i,g);p=r=>a-Math.exp(-g*i*r)*((m+g*i*e)/n*Math.sin(n*r)+e*Math.cos(n*r))}else if(1===g)p=n=>a-Math.exp(-i*n)*(e+(m+i*e)*n);else{let n=i*Math.sqrt(g*g-1);p=r=>{let o=Math.min(n*r,300);return a-Math.exp(-g*i*r)*((m+g*i*e)*Math.sinh(o)+n*e*Math.cosh(o))/n}}}return v(),{next:e=>{let i=p(e);if(h)s.done=e>=d;else{let o=m;if(0!==e){if(g<1){let n=Math.max(0,e-5);o=e7(i-p(n),e-n)}else o=0}let u=Math.abs(o)<=r,c=Math.abs(a-i)<=n;s.done=u&&c}return s.value=s.done?a:i,s},flipTarget:()=>{m=-m,[o,a]=[a,o],v()}}}nu.needsInterpolation=(e,n)=>"string"==typeof e||"string"==typeof n;let nc=e=>0,nl={decay:function({keyframes:e=[0],velocity:n=0,power:r=.8,timeConstant:i=350,restDelta:o=.5,modifyTarget:a}){let s=e[0],u={done:!1,value:s},c=r*n,l=s+c,f=void 0===a?l:a(l);return f!==l&&(c=f-s),{next:e=>{let n=-c*Math.exp(-e/i);return u.done=!(n>o||n<-o),u.value=u.done?f:f+n,u},flipTarget:()=>{}}},keyframes:nr,tween:nr,spring:nu};function nf(e,n,r=0){return e-n-r}let nd=e=>{let n=({delta:n})=>e(n);return{start:()=>e4.Z_.update(n,!0),stop:()=>e4.qY.update(n)}};function nh({duration:e,driver:n=nd,elapsed:r=0,repeat:i=0,repeatType:o="loop",repeatDelay:a=0,keyframes:s,autoplay:u=!0,onPlay:c,onStop:l,onComplete:f,onRepeat:d,onUpdate:h,type:p="keyframes",...m}){let g,v;let y=r,b=0,w=e,S=!1,_=!0,k=nl[s.length>2?"keyframes":p]||nr,x=s[0],E=s[s.length-1],C={done:!1,value:x},{needsInterpolation:A}=k;A&&A(x,E)&&(v=t0([0,100],[x,E],{clamp:!1}),s=[0,100]);let I=k({...m,duration:e,keyframes:s});function T(e){if(_||(e=-e),r+=e,S||(C=I.next(Math.max(0,r)),v&&(C.value=v(C.value)),S=_?C.done:r<=0),h&&h(C.value),S){if(0===b&&(w=void 0!==w?w:r),b<i){var n,s;n=r,s=w,(_?n>=s+a:n<=-a)&&(b++,"reverse"===o?r=function(e,n=0,r=0,i=!0){return i?nf(n+-e,n,r):n-(e-n)+r}(r,w,a,_=b%2==0):(r=nf(r,w,a),"mirror"===o&&I.flipTarget()),S=!1,d&&d())}else g&&g.stop(),f&&f()}}return u&&(c&&c(),(g=n(T)).start()),{stop:()=>{l&&l(),g&&g.stop()},set currentTime(t){r=y,T(t)},sample:(n,i=!1)=>{if(r=y,i)return T(n),C;let o=e&&"number"==typeof e?Math.max(.5*e,50):50,a=0;for(T(0);a<=n;){let e=n-a;T(Math.min(e,o)),a+=o}return C}}}let np=([e,n,r,i])=>`cubic-bezier(${e}, ${n}, ${r}, ${i})`,nm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:np([0,.65,.55,1]),circOut:np([.55,0,1,.45]),backIn:np([.31,.01,.66,-.59]),backOut:np([.33,1.53,.69,.99])},ng={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},nv={},ny={};for(let e in ng)ny[e]=()=>(void 0===nv[e]&&(nv[e]=ng[e]()),nv[e]);let nb=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),nw=(e,n)=>{var r;return"spring"===n.type||"backgroundColor"===e||!(!(r=n.ease)||Array.isArray(r)||"string"==typeof r&&nm[r])};function nS(e,n){let r=performance.now(),i=({timestamp:o})=>{let a=o-r;a>=n&&(e4.qY.read(i),e(a-n))};return e4.Z_.read(i,!0),()=>e4.qY.read(i)}let n_={type:"spring",stiffness:500,damping:25,restSpeed:10},nk=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),nx={type:"keyframes",duration:.8},nE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nC=(e,{keyframes:n})=>n.length>2?nx:R.has(e)?e.startsWith("scale")?nk(n[1]):n_:nE,nA=(e,n)=>"zIndex"!==e&&!!("number"==typeof n||Array.isArray(n)||"string"==typeof n&&tv.test(n)&&!n.startsWith("url("));function nI(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function nT(e){return"number"==typeof e?0:tx("",e)}function nP(e,n){return e[n]||e.default||e}let nO=(e,n,r,i={})=>o=>{let a=nP(i,e)||{},s=a.delay||i.delay||0,{elapsed:u=0}=i;u-=tM(s);let c=function(e,n,r,i){let o=nA(n,r),a=void 0!==i.from?i.from:e.get();return("none"===a&&o&&"string"==typeof r?a=tx(n,r):nI(a)&&"string"==typeof r?a=nT(r):!Array.isArray(r)&&nI(r)&&"string"==typeof a&&(r=nT(a)),Array.isArray(r))?(null===r[0]&&(r[0]=a),r):[a,r]}
599(n,e,r,a),l=c[0],f=c[c.length-1],d=nA(e,l),h=nA(e,f);(0,tD.K)(d===h,`You are trying to animate ${e} from "${l}" to "${f}". ${l} is not an animatable value - to enable this animation set ${l} to a value animatable to ${f} via the \`style\` property.`);let p={keyframes:c,velocity:n.getVelocity(),...a,elapsed:u,onUpdate:e=>{n.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()}};if(!d||!h||tF.current||!1===a.type)return function({keyframes:e,elapsed:n,onUpdate:r,onComplete:i}){let o=()=>{r&&r(e[e.length-1]),i&&i()};return n?{stop:nS(o,-n)}:o()}(p);if("inertia"===a.type)return function({keyframes:e,velocity:n=0,min:r,max:i,power:o=.8,timeConstant:a=750,bounceStiffness:s=500,bounceDamping:u=10,restDelta:c=1,modifyTarget:l,driver:f,onUpdate:d,onComplete:h,onStop:p}){let m;let g=e[0];function v(e){return void 0!==r&&e<r||void 0!==i&&e>i}function y(e){return void 0===r?i:void 0===i?r:Math.abs(r-e)<Math.abs(i-e)?r:i}function b(e){m&&m.stop(),m=nh({keyframes:[0,1],velocity:0,...e,driver:f,onUpdate:n=>{d&&d(n),e.onUpdate&&e.onUpdate(n)},onComplete:h,onStop:p})}function w(e){b({type:"spring",stiffness:s,damping:u,restDelta:c,...e})}if(v(g))w({velocity:n,keyframes:[g,y(g)]});else{let e,i,s=o*n+g;void 0!==l&&(s=l(s));let u=y(s),f=u===r?-1:1,d=r=>{e=i,i=r,n=e7(r-e,e3.w.delta),(1===f&&r>u||-1===f&&r<u)&&w({keyframes:[r,u],velocity:n})};b({type:"decay",keyframes:[g,0],velocity:n,timeConstant:a,power:o,restDelta:c,modifyTarget:l,onUpdate:v(s)?d:void 0})}return{stop:()=>m&&m.stop()}}(p);if(!function({when:e,delay:n,delayChildren:r,staggerChildren:i,staggerDirection:o,repeat:a,repeatType:s,repeatDelay:u,from:c,elapsed:l,...f}){return!!Object.keys(f).length}(a)&&(p={...p,...nC(e,p)}),p.duration&&(p.duration=tM(p.duration)),p.repeatDelay&&(p.repeatDelay=tM(p.repeatDelay)),n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate){let r=function(e,n,{onUpdate:r,onComplete:i,...o}){let a=ny.waapi()&&nb.has(n)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping;if(!a)return!1;let{keyframes:s,duration:u=300,elapsed:c=0,ease:l}=o;if(nw(n,o)){let e=nh({...o,repeat:0,elapsed:0}),n={done:!1,value:s[0]},r=[],i=0;for(;!n.done&&i<2e4;)r.push((n=e.sample(i,!0)).value),i+=10;s=r,u=i-10,l="linear"}let f=function(e,n,r,{delay:i=0,duration:o,repeat:a=0,repeatType:s="loop",ease:u,times:c}={}){return e.animate({[n]:r,offset:c},{delay:i,duration:o,easing:function(e){if(e)return Array.isArray(e)?np(e):nm[e]}(u),fill:"both",iterations:a+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,n,s,{...o,delay:-c,duration:u,ease:l});return f.onfinish=()=>{e.set(function(e,{repeat:n,repeatType:r="loop"}){let i=n&&"loop"!==r&&n%2==1?0:e.length-1;return e[i]}(s,o)),e4.Z_.update(()=>f.cancel()),i&&i()},{get currentTime(){return f.currentTime||0},set currentTime(t){f.currentTime=t},stop:()=>{let{currentTime:n}=f;if(n){let r=nh({...o,autoplay:!1});e.setWithVelocity(r.sample(n-10).value,r.sample(n).value,10)}e4.Z_.update(()=>f.cancel())}}}(n,e,p);if(r)return r}return nh(p)};function nR(e,n,r={}){let i=tP(e,n,r.custom),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let a=i?()=>nD(e,i,r):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:a=0,staggerChildren:s,staggerDirection:u}=o;return function(e,n,r=0,i=0,o=1,a){let s=[],u=(e.variantChildren.size-1)*i,c=1===o?(e=0)=>e*i:(e=0)=>u-e*i;return Array.from(e.variantChildren).sort(nM).forEach((e,i)=>{e.notify("AnimationStart",n),s.push(nR(e,n,{...a,delay:r+c(i)}).then(()=>e.notify("AnimationComplete",n)))}),Promise.all(s)}(e,n,a+i,s,u,r)}:()=>Promise.resolve(),{when:u}=o;if(!u)return Promise.all([a(),s(r.delay)]);{let[e,n]="beforeChildren"===u?[a,s]:[s,a];return e().then(n)}}function nD(e,n,{delay:r=0,transitionOverride:i,type:o}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...u}=e.makeTargetAnimatable(n),c=e.getValue("willChange");i&&(a=i);let l=[],f=o&&e.animationState&&e.animationState.getState()[o];for(let n in u){let i=e.getValue(n),o=u[n];if(!i||void 0===o||f&&function({protectedKeys:e,needsAnimating:n},r){let i=e.hasOwnProperty(r)&&!0!==n[r];return n[r]=!1,i}(f,n))continue;let s={delay:r,elapsed:0,...a};if(window.HandoffAppearAnimations&&!i.hasAnimated){let r=e.getProps()[tR];r&&(s.elapsed=window.HandoffAppearAnimations(r,n,i,e4.Z_))}let d=i.start(nO(n,i,o,e.shouldReduceMotion&&R.has(n)?{type:!1}:s));tO(c)&&(c.add(n),d=d.then(()=>c.remove(n))),l.push(d)}return Promise.all(l).then(()=>{s&&function(e,n){let r=tP(e,n),{transitionEnd:i={},transition:o={},...a}=r?e.makeTargetAnimatable(r,!1):{};for(let n in a={...a,...i}){var s;let r=eI(a[n]);s=n,e.hasValue(s)?e.getValue(s).set(r):e.addValue(s,tn(r))}}(e,s)})}function nM(e,n){return e.sortNodePosition(n)}let nF=[...p].reverse(),nN=p.length;function nj(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let nU=0,nL=(e,n)=>Math.abs(e-n);
599class nB{constructor(e,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=nq(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=function(e,n){let r=nL(e.x,n.x),i=nL(e.y,n.y);return Math.sqrt(r**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!n&&!r)return;let{point:i}=e,{timestamp:o}=e3.w;this.history.push({...i,timestamp:o});let{onStart:a,onMove:s}=this.handlers;n||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,n)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=nV(n,this.transformPagePoint),e4.Z_.update(this.updatePoint,!0)},this.handlePointerUp=(e,n)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:r,onSessionEnd:i}=this.handlers,o=nq("pointercancel"===e.type?this.lastMoveEventInfo:nV(n,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),i&&i(e,o)},!eM(e))return;this.handlers=n,this.transformPagePoint=r;let i=eF(e),o=nV(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=e3.w;this.history=[{...a,timestamp:s}];let{onSessionStart:u}=n;u&&u(e,nq(o,this.history)),this.removeListeners=eL(ej(window,"pointermove",this.handlePointerMove),ej(window,"pointerup",this.handlePointerUp),ej(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),e4.qY.update(this.updatePoint)}}function nV(e,n){return n?{point:n(e.point)}:e}function nz(e,n){return{x:e.x-n.x,y:e.y-n.y}}function nq({point:e},n){return{point:e,delta:nz(e,n$(n)),offset:nz(e,n[0]),velocity:function(e,n){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null,o=n$(e);for(;r>=0&&(i=e[r],!(o.timestamp-i.timestamp>tM(.1)));)r--;if(!i)return{x:0,y:0};let a=(o.timestamp-i.timestamp)/1e3;if(0===a)return{x:0,y:0};let s={x:(o.x-i.x)/a,y:(o.y-i.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(n,0)}}function n$(e){return e[e.length-1]}function nG(e){return e.max-e.min}function nW(e,n=0,r=.01){return Math.abs(e-n)<=r}function nH(e,n,r,i=.5){e.origin=i,e.originPoint=tV(n.min,n.max,e.origin),e.scale=nG(r)/nG(n),(nW(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=tV(r.min,r.max,e.origin)-e.originPoint,(nW(e.translate)||isNaN(e.translate))&&(e.translate=0)}function nQ(e,n,r,i){nH(e.x,n.x,r.x,i?i.originX:void 0),nH(e.y,n.y,r.y,i?i.originY:void 0)}function nK(e,n,r){e.min=r.min+n.min,e.max=e.min+nG(n)}function nZ(e,n,r){e.min=n.min-r.min,e.max=e.min+nG(n)}function nJ(e,n,r){nZ(e.x,n.x,r.x),nZ(e.y,n.y,r.y)}function nY(e,n,r){return{min:void 0!==n?e.min+n:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function nX(e,n){let r=n.min-e.min,i=n.max-e.max;return n.max-n.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function n0(e,n,r){return{min:n1(e,n),max:n1(e,r)}}function n1(e,n){return"number"==typeof e?e:e[n]||0}let n2=()=>({translate:0,scale:1,origin:0,originPoint:0}),n5=()=>({x:n2(),y:n2()}),n3=()=>({min:0,max:0}),n4=()=>({x:n3(),y:n3()});function n6(e){return[e("x"),e("y")]}function n8({top:e,left:n,right:r,bottom:i}){return{x:{min:n,max:r},y:{min:e,max:i}}}function n9(e){return void 0===e||1===e}function n7({scale:e,scaleX:n,scaleY:r}){return!n9(e)||!n9(n)||!n9(r)}function re(e){return n7(e)||rt(e)||e.z||e.rotate||e.rotateX||e.rotateY}function rt(e){var n,r;return(n=e.x)&&"0%"!==n||(r=e.y)&&"0%"!==r}function rn(e,n,r,i,o){return void 0!==o&&(e=i+o*(e-i)),i+r*(e-i)+n}function rr(e,n=0,r=1,i,o){e.min=rn(e.min,n,r,i,o),e.max=rn(e.max,n,r,i,o)}function ri(e,{x:n,y:r}){rr(e.x,n.translate,n.scale,n.originPoint),rr(e.y,r.translate,r.scale,r.originPoint)}function ro(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function ra(e,n){e.min=e.min+n,e.max=e.max+n}function rs(e,n,[r,i,o]){let a=void 0!==n[o]?n[o]:.5,s=tV(e.min,e.max,a);rr(e,n[r],n[i],s,n.scale)}let ru=["x","scaleX","originX"],rc=["y","scaleY","originY"];function rl(e,n){rs(e.x,n,ru),rs(e.y,n,rc)}function rf(e,n){return n8(function(e,n){if(!n)return e;let r=n({x:e.left,y:e.top}),i=n({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),n))}let rd=new WeakMap;class rh{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=n4(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let i=e=>{this.stopAnimation(),n&&this.snapToCursor(eF(e,"page").point)},o=(e,n)=>{let{drag:r,dragPropagation:i,onDragStart:o}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eq(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),n6(e=>{let n=this.getAxisMotionValue(e).get()||0;if(Y.test(n)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];if(i){let e=nG(i);n=e*(parseFloat(n)/100)}}}this.originPoint[e]=n}),o&&o(e,n);let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},a=(e,n)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:o,onDrag:a}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:s}=n;if(i&&null===this.currentDirection){this.currentDirection=function(e,n=10){let r=null;return Math.abs(e.y)>n?r="y":Math.abs(e.x)>n&&(r="x"),r}(s),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",n.point,s),this.updateAxis("y",n.point,s),this.visualElement.render(),a&&a(e,n)},s=(e,n)=>this.stop(e,n);
599this.panSession=new nB(e,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,n){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=n;this.startAnimation(i);let{onDragEnd:o}=this.getProps();o&&o(e,n)}cancel(){this.isDragging=!1;let{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){let{drag:i}=this.getProps();if(!r||!rp(e,i,this.currentDirection))return;let o=this.getAxisMotionValue(e),a=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:n,max:r},i){return void 0!==n&&e<n?e=i?tV(n,e,i.min):Math.max(e,n):void 0!==r&&e>r&&(e=i?tV(r,e,i.max):Math.min(e,r)),e}(a,this.constraints[e],this.elastic[e])),o.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;e&&f(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:n,left:r,bottom:i,right:o}){return{x:nY(e.x,r,o),y:nY(e.y,n,i)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:n0(e,"left","right"),y:n0(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&n6(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,n){let r={};return void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:n,onMeasureDragConstraints:r}=this.getProps();if(!n||!f(n))return!1;let i=n.current;(0,tD.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let a=function(e,n,r){let i=rf(e,r),{scroll:o}=n;return o&&(ra(i.x,o.offset.x),ra(i.y,o.offset.y)),i}(i,o.root,this.visualElement.getTransformPagePoint()),s={x:nX((e=o.layout.layoutBox).x,a.x),y:nX(e.y,a.y)};if(r){let e=r(function({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=n8(e))}return s}startAnimation(e){let{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),u=this.constraints||{},c=n6(s=>{if(!rp(s,n,this.currentDirection))return;let c=u&&u[s]||{};a&&(c={min:0,max:0});let l={type:"inertia",velocity:r?e[s]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...c};return this.startAxisValueAnimation(s,l)});return Promise.all(c).then(s)}startAxisValueAnimation(e,n){let r=this.getAxisMotionValue(e);return r.start(nO(e,r,0,n))}stopAnimation(){n6(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let n="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){n6(n=>{let{drag:r}=this.getProps();if(!rp(n,r,this.currentDirection))return;let{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){let{min:r,max:a}=i.layout.layoutBox[n];o.set(e[n]-tV(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!f(n)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};n6(e=>{let n=this.getAxisMotionValue(e);if(n){let r=n.get();i[e]=function(e,n){let r=.5,i=nG(e),o=nG(n);return o>i?r=tY(n.min,n.max-i,e.min):i>o&&(r=tY(e.min,e.max-o,n.min)),V(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),n6(n=>{if(!rp(n,e,null))return;let r=this.getAxisMotionValue(n),{min:o,max:a}=this.constraints[n];r.set(tV(o,a,i[n]))})}addListeners(){if(!this.visualElement.current)return;rd.set(this.visualElement,this);let e=this.visualElement.current,n=ej(e,"pointerdown",e=>{let{drag:n,dragListener:r=!0}=this.getProps();n&&r&&this.start(e)}),r=()=>{let{dragConstraints:e}=this.getProps();f(e)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();let a=eD(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:n})=>{this.isDragging&&n&&(n6(n=>{let r=this.getAxisMotionValue(n);r&&(this.originPoint[n]+=e[n].translate,r.set(r.get()+e[n].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=.35,dragMomentum:s=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function rp(e,n,r){return(!0===n||n===e)&&(null===r||r===e)}var rm=r(15947);function rg(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}let rv={correct:(e,n)=>{if(!n.target)return e;if("string"==typeof e){if(!X.test(e))return e;e=parseFloat(e)}let r=rg(e,n.target.x),i=rg(e,n.target.y);return`${r}% ${i}%`}},ry=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function rb(e,n,r=1){(0,tD.k)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let n=ry.exec(e);if(!n)return[,];let[,r,i]=n;return[r,i]}(e);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);return a?a.trim():L(o)?rb(o,n,r+1):o}let rw="_$css",rS={correct:(e,{treeScale:n,projectionDelta:r})=>{let i=e,o=e.includes("var("),a=[];o&&(e=e.replace(ry,e=>(a.push(e),rw)));let s=tv.parse(e);if(s.length>5)return i;let u=tv.createTransformer(e),c="number"!=typeof s[0]?1:0,l=r.x.scale*n.x,f=r.y.scale*n.y;s[0+c]/=l,s[1+c]/=f;let d=tV(l,f,.5);
599"number"==typeof s[2+c]&&(s[2+c]/=d),"number"==typeof s[3+c]&&(s[3+c]/=d);let h=u(s);if(o){let e=0;h=h.replace(rw,()=>{let n=a[e];return e++,n})}return h}};class r_ extends o.Component{componentDidMount(){let{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=e;Object.assign(P,rx),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),k.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,a=r.projection;return a&&(a.isPresent=o,i||e.layoutDependency!==n||void 0===n?a.willUpdate():this.safeToRemove(),e.isPresent===o||(o?a.promote():a.relegate()||e4.Z_.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rk(e){let[n,r]=(0,rm.oO)(),i=(0,o.useContext)(E.p);return o.createElement(r_,{...e,layoutGroup:i,switchLayoutGroup:(0,o.useContext)(C),isPresent:n,safeToRemove:r})}let rx={borderRadius:{...rv,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rv,borderTopRightRadius:rv,borderBottomLeftRadius:rv,borderBottomRightRadius:rv,boxShadow:rS},rE=["TopLeft","TopRight","BottomLeft","BottomRight"],rC=rE.length,rA=e=>"string"==typeof e?parseFloat(e):e,rI=e=>"number"==typeof e||X.test(e);function rT(e,n){return void 0!==e[n]?e[n]:e.borderRadius}let rP=rR(0,.5,t3),rO=rR(.5,.95,eQ.Z);function rR(e,n,r){return i=>i<e?0:i>n?1:r(tY(e,n,i))}function rD(e,n){e.min=n.min,e.max=n.max}function rM(e,n){rD(e.x,n.x),rD(e.y,n.y)}function rF(e,n,r,i,o){return e-=n,e=i+1/r*(e-i),void 0!==o&&(e=i+1/o*(e-i)),e}function rN(e,n,[r,i,o],a,s){!function(e,n=0,r=1,i=.5,o,a=e,s=e){if(Y.test(n)){n=parseFloat(n);let e=tV(s.min,s.max,n/100);n=e-s.min}if("number"!=typeof n)return;let u=tV(a.min,a.max,i);e===a&&(u-=n),e.min=rF(e.min,n,r,u,o),e.max=rF(e.max,n,r,u,o)}(e,n[r],n[i],n[o],n.scale,a,s)}let rj=["x","scaleX","originX"],rU=["y","scaleY","originY"];function rL(e,n,r,i){rN(e.x,n,rj,r?r.x:void 0,i?i.x:void 0),rN(e.y,n,rU,r?r.y:void 0,i?i.y:void 0)}function rB(e){return 0===e.translate&&1===e.scale}function rV(e){return rB(e.x)&&rB(e.y)}function rz(e,n){return e.x.min===n.x.min&&e.x.max===n.x.max&&e.y.min===n.y.min&&e.y.max===n.y.max}function rq(e){return nG(e.x)/nG(e.y)}class r${constructor(){this.members=[]}add(e){e6(this.members,e),e.scheduleRender()}remove(e){if(e8(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let n;let r=this.members.findIndex(n=>e===n);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){n=r;break}}return!!n&&(this.promote(n),!0)}promote(e,n){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rG(e,n,r){let i="",o=e.x.translate/n.x,a=e.y.translate/n.y;if((o||a)&&(i=`translate3d(${o}px, ${a}px, 0) `),(1!==n.x||1!==n.y)&&(i+=`scale(${1/n.x}, ${1/n.y}) `),r){let{rotate:e,rotateX:n,rotateY:o}=r;e&&(i+=`rotate(${e}deg) `),n&&(i+=`rotateX(${n}deg) `),o&&(i+=`rotateY(${o}deg) `)}let s=e.x.scale*n.x,u=e.y.scale*n.y;return(1!==s||1!==u)&&(i+=`scale(${s}, ${u})`),i||"none"}let rW=(e,n)=>e.depth-n.depth;class rH{constructor(){this.children=[],this.isDirty=!1}add(e){e6(this.children,e),this.isDirty=!0}remove(e){e8(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rW),this.isDirty=!1,this.children.forEac
599h(e)}}let rQ=["","X","Y","Z"],rK=0,rZ={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function rJ({attachResizeListener:e,defaultParent:n,measureScroll:r,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e,r={},i=null==n?void 0:n()){this.id=rK++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{rZ.totalNodes=rZ.resolvedTargetDeltas=rZ.recalculatedProjection=0,this.nodes.forEach(r0),this.nodes.forEach(r6),this.nodes.forEach(r8),this.nodes.forEach(r1),window.MotionDebug&&window.MotionDebug.record(rZ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=e,this.latestValues=r,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rH)}addEventListener(e,n){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new e9),this.eventHandlers.get(e).add(n)}notifyListeners(e,...n){let r=this.eventHandlers.get(e);r&&r.notify(...n)}hasListeners(e){return this.eventHandlers.has(e)}registerPotentialNode(e,n){this.potentialNodes.set(e,n)}mount(n,r=!1){if(this.instance)return;this.isSVG=n instanceof SVGElement&&"svg"!==n.tagName,this.instance=n;let{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(n),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(o||i)&&(this.isLayoutDirty=!0),e){let r;let i=()=>this.root.updateBlockedByResize=!1;e(n,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=nS(i,250),k.hasAnimatedSinceResize&&(k.hasAnimatedSinceResize=!1,this.nodes.forEach(r4))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:n,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||a.getDefaultTransition()||ii,{onLayoutAnimationStart:s,onLayoutAnimationComplete:u}=a.getProps(),c=!this.targetLayout||!rz(this.targetLayout,i)||r,l=!n&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||l||n&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,l);let n={...nP(o,"layout"),onPlay:s,onComplete:u};(a.shouldReduceMotion||this.options.layoutRoot)&&(n.delay=0,n.type=!1),this.startAnimation(n)}else n||0!==this.animationProgress||r4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,e4.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(r9),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}
599if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let n=this.path[e];n.shouldResetTransform=!0,n.updateScroll("snapshot"),n.options.layoutRoot&&n.willUpdate(!1)}let{layoutId:n,layout:r}=this.options;if(void 0===n&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}didUpdate(){let e=this.isUpdateBlocked();if(e){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r5);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(io),this.potentialNodes.clear()),this.nodes.forEach(r3),this.nodes.forEach(rY),this.nodes.forEach(rX),this.clearAllSnapshots(),e4.iW.update(),e4.iW.preRender(),e4.iW.render())}clearAllSnapshots(){this.nodes.forEach(r2),this.sharedNodes.forEach(r7)}scheduleUpdateProjection(){e4.Z_.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){e4.Z_.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){let n=this.path[e];n.updateScroll()}let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=n4(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:n}=this.options;n&&n.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let n=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(n=!1),n&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!rV(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,a=i!==this.prevTransformTemplateValue;e&&(n||re(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var n;let r=this.measurePageBox(),i=this.removeElementScroll(r);return e&&(i=this.removeTransform(i)),ia((n=i).x),ia(n.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return n4();let n=e.measureViewportBox(),{scroll:r}=this.root;return r&&(ra(n.x,r.offset.x),ra(n.y,r.offset.y)),n}removeElementScroll(e){let n=n4();rM(n,e);for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:o,options:a}=i;if(i!==this.root&&o&&a.layoutScroll){if(o.isRoot){rM(n,e);let{scroll:r}=this.root;r&&(ra(n.x,-r.offset.x),ra(n.y,-r.offset.y))}ra(n.x,o.offset.x),ra(n.y,o.offset.y)}}return n}applyTransform(e,n=!1){let r=n4();rM(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rl(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),re(i.latestValues)&&rl(r,i.latestValues)}return re(this.latestValues)&&rl(r,this.latestValues),r}removeTransform(e){let n=n4();rM(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!re(r.latestValues))continue;n7(r.latestValues)&&r.updateSnapshot();let i=n4(),o=r.measurePageBox();rM(i,o),rL(n,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return re(this.latestValues)&&rL(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var e,n,r,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=Boolean(this.resumingFrom)||this!==o,s=!(a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(s)return;let{layout:u,layoutId:c}=this.options;if(this.layout&&(u||c)){if(!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout?(this.relativeParent=e,this.relativeTarget=n4(),this.relativeTargetOrigin=n4(),nJ(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rM(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=n4(),this.targetWithTransforms=n4()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(n=this.target,r=this.relativeTarget,i=this.relativeParent.target,nK(n.x,r.x,i.x),nK(n.y,r.y,i.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):rM(this.target,this.layout.layoutBox),ri(this.target,this.targetDelta)):rM(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target?(this.relativeParent=e,this.relativeTarget=n4(),this.relativeTargetOrigin=n4(),nJ(this.relativeTargetOrigin,this.target,e.target),rM(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rZ.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||n7(this.parent.latestValues)||rt(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let n=this.getLead(),r=Boolean(this.resumingFrom)||this!==n,i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),i)return;let{layout:o,layoutId:a}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(o||a))return;rM(this.layoutCorrected,this.layout.layoutBox),function(e,n,r,i=!1){let o,a;let s=r.length;if(s){n.x=n.y=1;for(let u=0;u<s;u++){a=(o=r[u]).projectionDelta;let s=o.instance;(!s||!s.style||"contents"!==s.style.display)&&(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&rl(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(n.x*=a.x.scale,n.y*=a.y.scale,ri(e,a)),i&&re(o.latestValues)&&rl(e,o.latestValues))}n.x=ro(n.x),n.y=ro(n.y)}}(this.layoutCorrected,this.treeScale,this.path,r);let{target:s}=n;if(!s)return;this.projectionDelta||(this.projectionDelta=n5(),this.projectionDeltaWithTransform=n5());let u=this.treeScale.x,c=this.treeScale.y,l=this.projectionTransform;nQ(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=rG(this.projectionDelta,this.treeScale),(this.projectionTransform!==l||this.treeScale.x!==u||this.treeScale.y!==c)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),rZ.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,n=!1){let r;let i=this.snapshot,o=i?i.latestValues:{},a={...this.latestValues},s=n5();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!n;let u=n4(),c=i?i.source:void 0,l=this.layout?this.layout.source:void 0,f=c!==l,d=this.getStack(),h=!d||d.members.length<=1,p=Boolean(f&&!h&&!0===this.options.crossfade&&!this.path.some(ir));this.animationProgress=0,this.mixTargetDelta=n=>{var i,c;let l=n/1e3;ie(s.x,e.x,l),ie(s.y,e.y,l),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nJ(u,this.layout.layoutBox,this.relativeParent.layout.layoutBox),i=this.relativeTarget,c=this.relativeTargetOrigin,it(i.x,c.x,u.x,l),it(i.y,c.y,u.y,l),r&&rz(this.relativeTarget,r)&&(this.isProjectionDirty=!1),r||(r=n4()),rM(r,this.relativeTarget)),f&&(this.animationValues=a,function(e,n,r,i,o,a){o?(e.opacity=tV(0,void 0!==r.opacity?r.opacity:1,rP(i)),e.opacityExit=tV(void 0!==n.opacity?n.opacity:1,0,rO(i))):a&&(e.opacity=tV(void 0!==n.opacity?n.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let o=0;o<rC;o++){let a=`border${rE[o]}Radius`,s=rT(n,a),u=rT(r,a);if(void 0===s&&void 0===u)continue;s||(s=0),u||(u=0);let c=0===s||0===u||rI(s)===rI(u);c?(e[a]=Math.max(tV(rA(s),rA(u),i),0),(Y.test(u)||Y.test(s))&&(e[a]+="%")):e[a]=u}(n.rotate||r.rotate)&&(e.rotate=tV(n.rotate||0,r.rotate||0,i))}(a,o,this.latestValues,l,p,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=l},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(e4.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=e4.Z_.update(()=>{k.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,n,r={}){let i=M(e)?e:tn(e);return i.start(nO("",i,1e3,r)),{stop:()=>i.stop(),isAnimating:()=>i.isAnimating()}}(0,0,{...e,onUpdate:n=>{this.mixTargetDelta(n),e.onUpdate&&e.onUpdate(n)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:n,target:r,layout:i,latestValues:o}=e;if(n&&r&&i){if(this!==e&&this.layout&&i&&is(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||n4();let n=nG(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+n;let i=nG(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}rM(n,r),rl(n,o),nQ(this.projectionDeltaWithTransform,this.layoutCorrected,n,o)}}registerSharedNode(e,n){this.sharedNodes.has(e)||this.sharedNodes.set(e,new r$);let r=this.sharedNodes.get(e);r.add(n);let i=n.options.initialPromotionConfig;n.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(n):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:n}=this.options;return n&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:n}=this.options;return n?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:n,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let n=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(n=!0),!n)return;let i={};for(let n=0;n<rQ.length;n++){let o="rotate"+rQ[n];r[o]&&(i[o]=r[o],e.setStaticValue(o,0))}for(let n in e.render(),i)e.setStaticValue(n,i[n]);e.scheduleRender()}getProjectionStyles(e={}){var n,r;let i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";let o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=eT(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let n={};
599return this.options.layoutId&&(n.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,n.pointerEvents=eT(e.pointerEvents)||""),this.hasProjected&&!re(this.latestValues)&&(n.transform=o?o({},""):"none",this.hasProjected=!1),n}let s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),i.transform=rG(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));let{x:u,y:c}=this.projectionDelta;for(let e in i.transformOrigin=`${100*u.origin}% ${100*c.origin}% 0`,a.animationValues?i.opacity=a===this?null!==(r=null!==(n=s.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,P){if(void 0===s[e])continue;let{correct:n,applyTo:r}=P[e],o="none"===i.transform?s[e]:n(s[e],a);if(r){let e=r.length;for(let n=0;n<e;n++)i[r[n]]=o}else i[e]=o}return this.options.layoutId&&(i.pointerEvents=a===this?eT(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var n;return null===(n=e.currentAnimation)||void 0===n?void 0:n.stop()}),this.root.nodes.forEach(r5),this.root.sharedNodes.clear()}}}function rY(e){e.updateLayout()}function rX(e){var n;let r=(null===(n=e.resumeFrom)||void 0===n?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=e.layout,{animationType:o}=e.options,a=r.source!==e.layout.source;"size"===o?n6(e=>{let i=a?r.measuredBox[e]:r.layoutBox[e],o=nG(i);i.min=n[e].min,i.max=i.min+o}):is(o,r.layoutBox,n)&&n6(e=>{let i=a?r.measuredBox[e]:r.layoutBox[e],o=nG(n[e]);i.max=i.min+o});let s=n5();nQ(s,n,r.layoutBox);let u=n5();a?nQ(u,e.applyTransform(i,!0),r.measuredBox):nQ(u,n,r.layoutBox);let c=!rV(s),l=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:o,layout:a}=i;if(o&&a){let s=n4();nJ(s,r.layoutBox,o.layoutBox);let u=n4();nJ(u,n,a.layoutBox),rz(s,u)||(l=!0),i.options.layoutRoot&&(e.relativeTarget=u,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:u,layoutDelta:s,hasLayoutChanged:c,hasRelativeTargetChanged:l})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function r0(e){rZ.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function r1(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r2(e){e.clearSnapshot()}function r5(e){e.clearMeasurements()}function r3(e){let{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function r4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function r6(e){e.resolveTargetDelta()}function r8(e){e.calcProjection()}function r9(e){e.resetRotation()}function r7(e){e.removeLeadSnapshot()}function ie(e,n,r){e.translate=tV(n.translate,0,r),e.scale=tV(n.scale,1,r),e.origin=n.origin,e.originPoint=n.originPoint}function it(e,n,r,i){e.min=tV(n.min,r.min,i),e.max=tV(n.max,r.max,i)}function ir(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ii={duration:.45,ease:[.4,0,.1,1]};function io(e,n){let r=e.root;for(let n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}let i=r&&r!==e.root?r.instance:document,o=i.querySelector(`[data-
599projection-id="${n}"]`);o&&e.mount(o,!0)}function ia(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function is(e,n,r){return"position"===e||"preserve-aspect"===e&&!nW(rq(n),rq(r),.2)}let iu=rJ({attachResizeListener:(e,n)=>eD(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ic={current:void 0},il=rJ({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ic.current){let e=new iu(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),ic.current=e}return ic.current},resetTransform:(e,n)=>{e.style.transform=void 0!==n?n:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),id=new Set(["width","height","top","left","right","bottom","x","y"]),ih=e=>id.has(e),ip=e=>Object.keys(e).some(ih),im=e=>e===z||e===X,ig=(e,n)=>parseFloat(e.split(", ")[n]),iv=(e,n)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let o=i.match(/^matrix3d\((.+)\)$/);if(o)return ig(o[1],n);{let n=i.match(/^matrix\((.+)\)$/);return n?ig(n[1],e):0}},iy=new Set(["x","y","z"]),ib=O.filter(e=>!iy.has(e)),iw={width:({x:e},{paddingLeft:n="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(n)-parseFloat(r),height:({y:e},{paddingTop:n="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(n)-parseFloat(r),top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:iv(4,13),y:iv(5,14)},iS=(e,n,r)=>{let i=n.measureViewportBox(),o=n.current,a=getComputedStyle(o),{display:s}=a,u={};"none"===s&&n.setStaticValue("display",e.display||"block"),r.forEach(e=>{u[e]=iw[e](i,a)}),n.render();let c=n.measureViewportBox();return r.forEach(r=>{let i=n.getValue(r);i&&i.jump(u[r]),e[r]=iw[r](c,a)}),e},i_=(e,n,r={},i={})=>{n={...n},i={...i};let o=Object.keys(n).filter(ih),a=[],s=!1,u=[];if(o.forEach(o=>{let c;let l=e.getValue(o);if(!e.hasValue(o))return;let f=r[o],d=tA(f),h=n[o];if(eC(h)){let e=h.length,n=null===h[0]?1:0;d=tA(f=h[n]);for(let r=n;r<e;r++)c?(0,tD.k)(tA(h[r])===c,"All keyframes must be of the same type"):(c=tA(h[r]),(0,tD.k)(c===d||im(d)&&im(c),"Keyframes must be of the same dimension as the current value"))}else c=tA(h);if(d!==c){if(im(d)&&im(c)){let e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof h?n[o]=parseFloat(h):Array.isArray(h)&&c===X&&(n[o]=h.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==c?void 0:c.transform)&&(0===f||0===h)?0===f?l.set(c.transform(f)):n[o]=d.transform(h):(s||(a=function(e){let n=[];return ib.forEach(r=>{let i=e.getValue(r);void 0!==i&&(n.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),n.length&&e.render(),n}(e),s=!0),u.push(o),i[o]=void 0!==i[o]?i[o]:n[o],l.jump(h))}}),!u.length)return{target:n,transitionEnd:i};{let r=u.indexOf("height")>=0?window.pageYOffset:null,o=iS(n,e,u);return a.length&&a.forEach(([n,r])=>{e.getValue(n).set(r)}),e.render(),S.j&&null!==r&&window.scrollTo({top:r}),{target:o,transitionEnd:i}}},ik=(e,n,r,i)=>{var o,a;let s=function(e,{...n},r){let i=e.current;if(!(i instanceof Element))return{target:n,transitionEnd:r};for(let o in r&&(r={...r}),e.values.forEach(e=>{let n=e.get();if(!L(n))return;let r=rb(n,i);r&&e.set(r)}),n){let e=n[o];if(!L(e))continue;let a=rb(e,i);a&&(n[o]=a,r&&void 0===r[o]&&(r[o]=e))}return{target:n,transitionEnd:r}}(e,n,i);return n=s.target,i=s.transitionEnd,o=n,a=i,ip(o)?i_(e,o,r,a):{target:o,transitionEnd:a}},ix={current:null},iE={current:!1},iC=Object.keys(w),iA=iC.length,iI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iT=m.length;class iP{constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>e4.Z_.render(this.render,!1,!0);let{latestValues:s,renderState:u}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.isControllingVariants=g(n),this.isVariantNode=v(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:c,...l}=this.scrapeMotionValuesFromProps(n,{});for(let e in l){let n=l[e];void 0!==s[e]&&M(n)&&(n.set(s[e],!1),tO(c)&&c.add(e))}}scrapeMotionValuesFromProps(e,n){return{}}mount(e){this.current=e,this.projection&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
599h((e,n)=>this.bindToMotionValue(n,e)),iE.current||function(){if(iE.current=!0,S.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),n=()=>ix.current=e.matches;e.addListener(n),n()}else ix.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ix.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),e4.qY.update(this.notifyUpdate),e4.qY.render(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,n){let r=R.has(e),i=n.on("change",n=>{this.latestValues[e]=n,this.props.onUpdate&&e4.Z_.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...n},r,i,o,a){let s,u;for(let e=0;e<iA;e++){let r=iC[e],{isEnabled:i,Feature:o,ProjectionNode:a,MeasureLayout:c}=w[r];a&&(s=a),i(n)&&(!this.features[r]&&o&&(this.features[r]=new o(this)),c&&(u=c))}if(!this.projection&&s){this.projection=new s(o,this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:r,drag:i,dragConstraints:u,layoutScroll:c,layoutRoot:l}=n;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(i)||u&&f(u),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:a,layoutScroll:c,layoutRoot:l})}return u}updateFeatures(){for(let e in this.features){let n=this.features[e];n.isMounted?n.update(this.props,this.prevProps):(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):n4()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}makeTargetAnimatable(e,n=!0){return this.makeTargetAnimatableFromInstance(e,this.props,n)}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let n=0;n<iI.length;n++){let r=iI[n];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,n,r){let{willChange:i}=n;for(let o in n){let a=n[o],s=r[o];if(M(a))e.addValue(o,a),tO(i)&&i.add(o);else if(M(s))e.addValue(o,tn(a,{owner:e})),tO(i)&&i.remove(o);else if(s!==a){if(e.hasValue(o)){let n=e.getValue(o);n.hasAnimated||n.set(a)}else{let n=e.getStaticValue(o);e.addValue(o,tn(void 0!==n?n:a,{owner:e}))}}}for(let i in r)void 0===n[i]&&e.removeValue(i);return n}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let n={};for(let e=0;e<iT;e++){let r=m[e],i=this.props[r];(d(i)||!1===i)&&(n[r]=i)}return n}addVariantChild(e){let n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){n!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,n)),this.values.set(e,n),this.latestValues[e]=n.get()}removeValue(e){this.values.delete(e);let n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==n&&(r=tn(n,{owner:this}),this.addValue(e,r)),r}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;let{initial:r}=this.props,i="string"==typeof r||"object"==typeof r?null===(n=eE(this.props,r))||void 0===n?void 0:n[e]:void 0;if(r&&void 0!==i)return i;let o=this.getBaseTargetFromProps(this.props,e);return void 0===o||M(o)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:o}on(e,n){return this.events[e]||(this.events[e]=new e9),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class iO extends iP{sortInstanceNodePosition(e,n){return 2&e.compareDocumentPosition(n)?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:n,...r},{transformValues:i},o){let a=function(e,n,r){let i={};for(let o in e){let e=function(e,n){if(!n)return;let r=n[e]||n.default||n;return r.from}(o,n);if(void 0!==e)i[o]=e;else{let e=r.getValue(o);e&&(i[o]=e.get())}}return i}(r,e||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),a&&(a=i(a))),o){!function(e,n,r){var i,o;let a=Object.keys(n).filter(n=>!e.hasValue(n)),s=a.length;if(s)for(let u=0;u<s;u++){let s=a[u],c=n[s],l=null;Array.isArray(c)&&(l=c[0]),null===l&&(l=null!==(o=null!==(i=r[s])&&void 0!==i?i:e.readValue(s))&&void 0!==o?o:n[s]),null!=l&&("string"==typeof l&&(e2(l)||e5(l))?l=parseFloat(l):!tT(l)&&tv.test(c)&&(l=tx(s,c)),e.addValue(s,tn(l,{owner:e})),void 0===r[s]&&(r[s]=l),null!==l&&e.setBaseTarget(s,l))}}(this,r,a);let e=ik(this,r,a,n);n=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:n,...r}}}class iR extends iO{readValueFromInstance(e,n){if(R.has(n)){let e=tk(n);return e&&e.default||0}{let r=window.getComputedStyle(e),i=(U(n)?r.getPropertyValue(n):r[n])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return rf(e,n)}build(e,n,r,i){eo(e,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,n){return ek(e,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;M(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,n,r,i){ew(e,n,r,i)}}class iD extends iO{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(R.has(n)){let e=tk(n);return e&&e.default||0}return n=eS.has(n)?n:eb(n),e.getAttribute(n)}measureInstanceViewportBox(){return n4()}scrapeMotionValuesFromProps(e,n){return ex(e,n)}build(e,n,r,i){em(e,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,r,i){e_(e,n,r,i)}mount(e){this.isSVGTag=ev(e.tagName),super.mount(e)}}let iM=(e,n)=>T(e)?new iD(n,{enableHardwareAcceleration:!1}):new iR(n,{enableHardwareAcceleration:!0}),iF={animation:{Feature:class extends eG{constructor(e){super(e),e.animationState||(e.animationState=function(e){let n=n=>Promise.all(n.map(({animation:n,options:r})=>(function(e,n,r={}){let i;if(e.notify("AnimationStart",n),Array.isArray(n)){let o=n.map(n=>nR(e,n,r));i=Promise.all(o)}else if("string"==typeof n)i=nR(e,n,r);else{let o="function"==typeof n?tP(e,n,r.custom):n;i=nD(e,o,r)}return i.then(()=>e.notify("AnimationComplete",n))})(e,n,r))),r={animate:nj(!0),whileInView:nj(),whileHover:nj(),whileTap:nj(),whileDrag:nj(),whileFocus:nj(),exit:nj()},i=!0,o=(n,r)=>{let i=tP(e,r);if(i){let{transition:e,transitionEnd:r,...o}=i;n={...n,...o,...r}}return n};function a(a,s){let u=e.getProps(),c=e.getVariantContext(!0)||{},l=[],f=new Set,p={},m=1/0;for(let n=0;n<nN;n++){var g;let v=nF[n],y=r[v],b=void 0!==u[v]?u[v]:c[v],w=d(b),S=v===s?y.isActive:null;!1===S&&(m=n);let _=b===c[v]&&b!==u[v]&&w;if(_&&i&&e.manuallyAnimateOnMount&&(_=!1),y.protectedKeys={...p},!y.isActive&&null===S||!b&&!y.prevProp||h(b)||"boolean"==typeof b)continue;let k=(g=y.prevProp,"string"==typeof b?b!==g:!!Array.isArray(b)&&!e1(b,g)),x=k||v===s&&y.isActive&&!_&&w||n>m&&w,E=Array.isArray(b)?b:[b],C=E.reduce(o,{});!1===S&&(C={});let{prevResolvedValues:A={}}=y,I={...A,...C},T=e=>{x=!0,f.delete(e),y.needsAnimating[e]=!0};for(let e in I){let n=C[e],r=A[e];p.hasOwnProperty(e)||(n!==r?eC(n)&&eC(r)?!e1(n,r)||k?T(e):y.protectedKeys[e]=!0:void 0!==n?T(e):f.add(e):void 0!==n&&f.has(e)?T(e):y.protectedKeys[e]=!0)}y.prevProp=b,y.prevResolvedValues=C,y.isActive&&(p={...p,...C}),i&&e.blockInitialAnimation&&(x=!1),x&&!_&&l.push(...E.map(e=>({animation:e,options:{type:v,...a}})))}
599if(f.size){let n={};f.forEach(r=>{let i=e.getBaseTarget(r);void 0!==i&&(n[r]=i)}),l.push({animation:n})}let v=Boolean(l.length);return i&&!1===u.initial&&!e.manuallyAnimateOnMount&&(v=!1),i=!1,v?n(l):Promise.resolve()}return{animateChanges:a,setActive:function(n,i,o){var s;if(r[n].isActive===i)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(n,i)}),r[n].isActive=i;let u=a(o,n);for(let e in r)r[e].protectedKeys={};return u},setAnimateFunction:function(r){n=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),h(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends eG{constructor(){super(...arguments),this.id=nU++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let o=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});n&&!e&&o.then(()=>n(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends eG{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=e,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:e0[i]},s=e=>{let{isIntersecting:n}=e;if(this.isInView===n||(this.isInView=n,o&&!n&&this.hasEnteredView))return;n&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",n);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),a=n?r:i;a&&a(e)};return function(e,n,r){let i=function({root:e,...n}){let r=e||document;eJ.has(r)||eJ.set(r,{});let i=eJ.get(r),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(eX,{root:e,...n})),i[o]}(n);return eZ.set(e,r),i.observe(e),()=>{eZ.delete(e),i.unobserve(e)}}(this.node.current,a,s)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:n}=this.node,r=["amount","margin","root"].some(function({viewport:e={}},{viewport:n={}}={}){return r=>e[r]!==n[r]}(e,n));r&&this.startObserver()}unmount(){}}},tap:{Feature:class extends eG{constructor(){super(...arguments),this.removeStartListeners=eQ.Z,this.removeEndListeners=eQ.Z,this.removeAccessibleListeners=eQ.Z,this.startPointerPress=(e,n)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),i=(e,n)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:i}=this.node.getProps();eH(this.node.current,e.target)?r&&r(e,n):i&&i(e,n)},o=ej(window,"pointerup",i,{passive:!(r.onTap||r.onPointerUp)}),a=ej(window,"pointercancel",(e,n)=>this.cancelPress(e,n),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=eL(o,a),this.startPress(e,n)},this.startAccessiblePress=()=>{let e=e=>{if("Enter"!==e.key||this.isPressing)return;let n=e=>{"Enter"===e.key&&this.checkPressEnd()&&eK("up",this.node.getProps().onTap)};this.removeEndListeners(),this.removeEndListeners=eD(this.node.current,"keyup",n),eK("down",(e,n)=>{this.startPress(e,n)})},n=eD(this.node.current,"keydown",e),r=()=>{this.isPressing&&eK("cancel",(e,n)=>this.cancelPress(e,n))},i=eD(this.node.current,"blur",r);this.removeAccessibleListeners=eL(n,i)}}startPress(e,n){this.isPressing=!0;let{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(e,n)}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let e=this.node.getProps();return e.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!e$()}cancelPress(e,n){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&r(e,n)}mount(){let e=this.node.getProps(),n=ej(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=eD(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=eL(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends eG{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(n){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=eL(eD(this.node.current,"focus",()=>this.onFocus()),eD(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends eG{mount(){this.unmount=eL(eW(this.node,!0),eW(this.node,!1))}unmount(){}}},pan:{Feature:class extends eG{constructor(){super(...arguments),this.removePointerDownListener=eQ.Z}onPointerDown(e){this.session=new nB(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:e,onStart:n,onMove:r,onEnd:(e,n)=>{delete this.session,i&&i(e,n)}}}mount(){this.removePointerDownListener=ej(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends eG{constructor(e){super(e),this.removeGroupControls=eQ.Z,this.removeListeners=eQ.Z,this.controls=new rh(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eQ.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:il,MeasureLayout:rk},layout:{ProjectionNode:il,MeasureLayout:rk}},iN=function(e){function n(n,r={}){return function({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:i,Component:h}){e&&function(e){for(let n in e)w[n]={...w[n],...e[n]}}(e);let p=(0,o.forwardRef)(function(p,m){var v,b;let w;let A={...(0,o.useContext)(a),...p,layoutId:function({layoutId:e}){let n=(0,o.useContext)(E.p).id;return n&&void 0!==e?n+"-"+e:e}(p)},{isStatic:I}=A,T=function(e){let{initial:n,animate:r}=function(e,n){if(g(e)){let{initial:n,animate:r}=e;return{initial:!1===n||d(n)?n:void 0,animate:d(r)?r:void 0}}return!1!==e.inherit?n:{}}(e,(0,o.useContext)(s));return(0,o.useMemo)(()=>({initial:n,animate:r}),[y(n),y(r)])}(p),P=I?void 0:(0,_.h)(()=>
599{if(k.hasEverUpdated)return x++}),O=i(p,I);if(!I&&S.j){T.visualElement=function(e,n,r,i){let f=(0,o.useContext)(s).visualElement,d=(0,o.useContext)(l),h=(0,o.useContext)(u.O),p=(0,o.useContext)(a).reducedMotion,m=(0,o.useRef)();i=i||d.renderer,!m.current&&i&&(m.current=i(e,{visualState:n,parent:f,props:r,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:p}));let g=m.current;(0,o.useInsertionEffect)(()=>{g&&g.update(r,h)}),(0,c.L)(()=>{g&&g.render()}),(0,o.useEffect)(()=>{g&&g.updateFeatures()});let v=window.HandoffAppearAnimations?c.L:o.useEffect;return v(()=>{g&&g.animationState&&g.animationState.animateChanges()}),g}(h,O,A,n);let r=(0,o.useContext)(C),i=(0,o.useContext)(l).strict;T.visualElement&&(w=T.visualElement.loadFeatures(A,i,e,P,r))}return o.createElement(s.Provider,{value:T},w&&T.visualElement?o.createElement(w,{visualElement:T.visualElement,...A}):null,r(h,p,P,(v=T.visualElement,b=m,(0,o.useCallback)(e=>{e&&O.mount&&O.mount(e),v&&(e?v.mount(e):v.unmount()),b&&("function"==typeof b?b(e):f(b)&&(b.current=e))},[v])),O,I,T.visualElement))});return p[A]=h,p}(e(n,r))}if("undefined"==typeof Proxy)return n;let r=new Map;return new Proxy(n,{get:(e,i)=>(r.has(i)||r.set(i,n(i)),r.get(i))})}((e,n)=>(function(e,{forwardMotionProps:n=!1},r,i){let a=T(e)?eO:eR;return{...a,preloadedFeatures:r,useRender:function(e=!1){let n=(n,r,i,a,{latestValues:s},u)=>{let c=T(n)?ey:eu,l=c(r,s,u,n),f=function(e,n,r){let i={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&(ef(o)||!0===r&&el(o)||!n&&!el(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}(r,"string"==typeof n,e),d={...f,...l,ref:a},{children:h}=r,p=(0,o.useMemo)(()=>M(h)?h.get():h,[h]);return i&&(d["data-projection-id"]=i),(0,o.createElement)(n,{...d,children:p})};return n}(n),createVisualElement:i,Component:e}})(e,n,iF,iM))},45487:function(e,n,r){"use strict";r.d(n,{K:function(){return o},k:function(){return a}});var i=r(81662);let o=i.Z,a=i.Z},11741:function(e,n,r){"use strict";r.d(n,{j:function(){return i}});let i="undefined"!=typeof document},81662:function(e,n,r){"use strict";r.d(n,{Z:function(){return i}});let i=e=>e},96681:function(e,n,r){"use strict";r.d(n,{h:function(){return o}});var i=r(67294);function o(e){let n=(0,i.useRef)(null);return null===n.current&&(n.current=e()),n.current}},58868:function(e,n,r){"use strict";r.d(n,{L:function(){return a}});var i=r(67294),o=r(11741);let a=o.j?i.useLayoutEffect:i.useEffect},37826:function(e,n,r){"use strict";function i(e,n){let r=Boolean(e);if(!r)throw Error(n)}r.d(n,{a:function(){return i}})},25821:function(e,n,r){"use strict";function i(e){return function e(n,r){switch(typeof n){case"string":return JSON.stringify(n);case"function":return n.name?`[function ${n.name}]`:"[function]";case"object":return function(n,r){if(null===n)return"null";if(r.includes(n))return"[Circular]";let i=[...r,n];if("function"==typeof n.toJSON){let r=n.toJSON();if(r!==n)return"string"==typeof r?r:e(r,i)}else if(Array.isArray(n))return function(n,r){if(0===n.length)return"[]";if(r.length>2)return"[Array]";let i=Math.min(10,n.length),o=n.length-i,a=[];for(let o=0;o<i;++o)a.push(e(n[o],r));return 1===o?a.push("... 1 more item"):o>1&&a.push(`... ${o} more items`),"["+a.join(", ")+"]"}(n,i);return function(n,r){let i=Object.entries(n);if(0===i.length)return"{}";if(r.length>2)return"["+function(e){let n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){let n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return n}(n)+"]";let o=i.map(([n,i])=>n+": "+e(i,r));return"{ "+o.join(", ")+" }"}(n,i)}(n,r);default:return String(n)}}(e,[])}r.d(n,{X:function(){return i}})},72380:function(e,n,r){"use strict";var i,o;r.d(n,{UG:function(){return l},WU:function(){return s},Ye:function(){return a},h8:function(){return u},ku:function(){return i}});class a{constructor(e,n,r){this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class s{constructor(e,n,r,i,o,a){this.kind=e,this.start=n,this.end=r,this.line=i,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let u={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
599Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},c=new Set(Object.keys(u));function l(e){let n=null==e?void 0:e.kind;return"string"==typeof n&&c.has(n)}(o=i||(i={})).QUERY="query",o.MUTATION="mutation",o.SUBSCRIPTION="subscription"},87392:function(e,n,r){"use strict";r.d(n,{LZ:function(){return a},wv:function(){return o}});var i=r(68297);function o(e){var n,r;let o=Number.MAX_SAFE_INTEGER,a=null,s=-1;for(let n=0;n<e.length;++n){let u=e[n],c=function(e){let n=0;for(;n<e.length&&(0,i.FD)(e.charCodeAt(n));)++n;return n}(u);c!==u.length&&(a=null!==(r=a)&&void 0!==r?r:n,s=n,0!==n&&c<o&&(o=c))}return e.map((e,n)=>0===n?e:e.slice(o)).slice(null!==(n=a)&&void 0!==n?n:0,s+1)}function a(e,n){let r=e.replace(/"""/g,'\\"""'),o=r.split(/\r\n|[\n\r]/g),a=1===o.length,s=o.length>1&&o.slice(1).every(e=>0===e.length||(0,i.FD)(e.charCodeAt(0))),u=r.endsWith('\\"""'),c=e.endsWith('"')&&!u,l=e.endsWith("\\"),f=c||l,d=!(null!=n&&n.minimize)&&(!a||e.length>70||f||s||u),h="",p=a&&(0,i.FD)(e.charCodeAt(0));return(d&&!p||s)&&(h+="\n"),h+=r,(d||f)&&(h+="\n"),'"""'+h+'"""'}},68297:function(e,n,r){"use strict";function i(e){return 9===e||32===e}function o(e){return e>=48&&e<=57}function a(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return a(e)||95===e}function u(e){return a(e)||o(e)||95===e}r.d(n,{FD:function(){return i},HQ:function(){return u},LQ:function(){return s},X1:function(){return o}})},97359:function(e,n,r){"use strict";var i,o;r.d(n,{h:function(){return i}}),(o=i||(i={})).NAME="Name",o.DOCUMENT="Document",o.OPERATION_DEFINITION="OperationDefinition",o.VARIABLE_DEFINITION="VariableDefinition",o.SELECTION_SET="SelectionSet",o.FIELD="Field",o.ARGUMENT="Argument",o.FRAGMENT_SPREAD="FragmentSpread",o.INLINE_FRAGMENT="InlineFragment",o.FRAGMENT_DEFINITION="FragmentDefinition",o.VARIABLE="Variable",o.INT="IntValue",o.FLOAT="FloatValue",o.STRING="StringValue",o.BOOLEAN="BooleanValue",o.NULL="NullValue",o.ENUM="EnumValue",o.LIST="ListValue",o.OBJECT="ObjectValue",o.OBJECT_FIELD="ObjectField",o.DIRECTIVE="Directive",o.NAMED_TYPE="NamedType",o.LIST_TYPE="ListType",o.NON_NULL_TYPE="NonNullType",o.SCHEMA_DEFINITION="SchemaDefinition",o.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",o.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",o.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",o.FIELD_DEFINITION="FieldDefinition",o.INPUT_VALUE_DEFINITION="InputValueDefinition",o.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",o.UNION_TYPE_DEFINITION="UnionTypeDefinition",o.ENUM_TYPE_DEFINITION="EnumTypeDefinition",o.ENUM_VALUE_DEFINITION="EnumValueDefinition",o.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",o.DIRECTIVE_DEFINITION="DirectiveDefinition",o.SCHEMA_EXTENSION="SchemaExtension",o.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",o.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",o.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",o.UNION_TYPE_EXTENSION="UnionTypeExtension",o.ENUM_TYPE_EXTENSION="EnumTypeExtension",o.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},90603:function(e,n,r){"use strict";r.d(n,{Qc:function(){return P}});let i=/\r\n|[\n\r]/g;function o(e,n){let r=0,o=1;
599for(let a of e.body.matchAll(i)){if("number"==typeof a.index||function(e,n){let r=Boolean(e);if(!r)throw Error(null!=n?n:"Unexpected invariant triggered.")}(!1),a.index>=n)break;r=a.index+a[0].length,o+=1}return{line:o,column:n+1-r}}function a(e,n){let r=e.locationOffset.column-1,i="".padStart(r)+e.body,o=n.line-1,a=e.locationOffset.line-1,u=n.line+a,c=1===n.line?r:0,l=n.column+c,f=`${e.name}:${u}:${l}
600`,d=i.split(/\r\n|[\n\r]/g),h=d[o];if(h.length>120){let e=Math.floor(l/80),n=[];for(let e=0;e<h.length;e+=80)n.push(h.slice(e,e+80));return f+s([[`${u} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",n[e+1]]])}return f+s([[`${u-1} |`,d[o-1]],[`${u} |`,h],["|","^".padStart(l)],[`${u+1} |`,d[o+1]]])}function s(e){let n=e.filter(([e,n])=>void 0!==n),r=Math.max(...n.map(([e])=>e.length));return n.map(([e,n])=>e.padStart(r)+(n?" "+n:"")).join("\n")}class u extends Error{constructor(e,...n){var r,i,a,s;let{nodes:l,source:f,positions:d,path:h,originalError:p,extensions:m}=function(e){let n=e[0];return null==n||"kind"in n||"length"in n?{nodes:n,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:n}(n);super(e),this.name="GraphQLError",this.path=null!=h?h:void 0,this.originalError=null!=p?p:void 0,this.nodes=c(Array.isArray(l)?l:l?[l]:void 0);let g=c(null===(r=this.nodes)||void 0===r?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=f?f:null==g?void 0:null===(i=g[0])||void 0===i?void 0:i.source,this.positions=null!=d?d:null==g?void 0:g.map(e=>e.start),this.locations=d&&f?d.map(e=>o(f,e)):null==g?void 0:g.map(e=>o(e.source,e.start));let v="object"==typeof(s=null==p?void 0:p.extensions)&&null!==s?null==p?void 0:p.extensions:void 0;this.extensions=null!==(a=null!=m?m:v)&&void 0!==a?a:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes){for(let r of this.nodes)if(r.loc){var n;e+="\n\n"+a((n=r.loc).source,o(n.source,n.start))}}else if(this.source&&this.locations)for(let n of this.locations)e+="\n\n"+a(this.source,n);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function c(e){return void 0===e||0===e.length?void 0:e}function l(e,n,r){return new u(`Syntax Error: ${r}`,{source:e,positions:[n]})}var f,d,h,p,m=r(72380);(f=h||(h={})).QUERY="QUERY",f.MUTATION="MUTATION",f.SUBSCRIPTION="SUBSCRIPTION",f.FIELD="FIELD",f.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",f.FRAGMENT_SPREAD="FRAGMENT_SPREAD",f.INLINE_FRAGMENT="INLINE_FRAGMENT",f.VARIABLE_DEFINITION="VARIABLE_DEFINITION",f.SCHEMA="SCHEMA",f.SCALAR="SCALAR",f.OBJECT="OBJECT",f.FIELD_DEFINITION="FIELD_DEFINITION",f.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",f.INTERFACE="INTERFACE",f.UNION="UNION",f.ENUM="ENUM",f.ENUM_VALUE="ENUM_VALUE",f.INPUT_OBJECT="INPUT_OBJECT",f.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var g=r(97359),v=r(87392),y=r(68297);(d=p||(p={})).SOF="<SOF>",d.EOF="<EOF>",d.BANG="!",d.DOLLAR="$",d.AMP="&",d.PAREN_L="(",d.PAREN_R=")",d.SPREAD="...",d.COLON=":",d.EQUALS="=",d.AT="@",d.BRACKET_L="[",d.BRACKET_R="]",d.BRACE_L="{",d.PIPE="|",d.BRACE_R="}",d.NAME="Name",d.INT="Int",d.FLOAT="Float",d.STRING="String",d.BLOCK_STRING="BlockString",d.COMMENT="Comment";class b{constructor(e){let n=new m.WU(p.SOF,0,0,0,0);this.source=e,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;let e=this.token=this.lookahead();return e}lookahead(){let e=this.token;if(e.kind!==p.EOF)do if(e.next)e=e.next;else{let n=function(e,n){let r=e.source.body,i=r.length,o=n;for(;o<i;){let n=r.charCodeAt(o);switch(n){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return function(e,n){let r=e.source.body,i=r.length,o=n+1;for(;o<i;){let e=r.charCodeAt(o);if(10===e||13===e)break;if(w(e))++o;else if(S(r,o))o+=2;else break}return E(e,p.COMMENT,n,o,r.slice(n+1,o))}(e,o);case 33:return E(e,p.BANG,o,o+1);case 36:return E(e,p.DOLLAR,o,o+1);case 38:return E(e,p.AMP,o,o+1);case 40:return E(e,p.PAREN_L,o,o+1);case 41:return E(e,p.PAREN_R,o,o+1);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return E(e,p.SPREAD,o,o+3);break;case 58:return E(e,p.COLON,o,o+1);case 61:return E(e,p.EQUALS,o,o+1);case 64:return E(e,p.AT,o,o+1);case 91:return E(e,p.BRACKET_L,o,o+1);case 93:return E(e,p.BRACKET_R,o,o+1);case 123:return E(e,p.BRACE_L,o,o+1);case 124:return E(e,p.PIPE,o,o+1);case 125:return E(e,p.BRACE_R,o,o+1);case 34:if(34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2))return function(e,n){let r=e.source.body,i=r.length,o=e.lineStart,a=n+3,s=a,u="",c=[];for(;a<i;){let i=r.charCodeAt(a);if(34===i&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)){u+=r.slice(s,a),c.push(u);let i=E(e,p.BLOCK_STRING,n,a+3,(0,v.wv)(c).join("\n"));return e.line+=c.length-1,e.lineStart=o,i}if(92===i&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)&&34===r.charCodeAt(a+3)){u+=r.slice(s,a),s=a+1,a+=4;continue}if(10===i||13===i){u+=r.slice(s,a),c.push(u),13===i&&10===r.charCodeAt(a+1)?a+=2:++a,u="",s=a,o=a;continue}if(w(i))++a;else if(S(r,a))a+=2;else throw l(e.source,a,`Invalid character within String: ${x(e,a)}.`)}
600throw l(e.source,a,"Unterminated string.")}(e,o);return function(e,n){let r=e.source.body,i=r.length,o=n+1,a=o,s="";for(;o<i;){let i=r.charCodeAt(o);if(34===i)return s+=r.slice(a,o),E(e,p.STRING,n,o+1,s);if(92===i){s+=r.slice(a,o);let n=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,n){let r=e.source.body,i=0,o=3;for(;o<12;){let e=r.charCodeAt(n+o++);if(125===e){if(o<5||!w(i))break;return{value:String.fromCodePoint(i),size:o}}if((i=i<<4|I(e))<0)break}throw l(e.source,n,`Invalid Unicode escape sequence: "${r.slice(n,n+o)}".`)}(e,o):function(e,n){let r=e.source.body,i=A(r,n+2);if(w(i))return{value:String.fromCodePoint(i),size:6};if(_(i)&&92===r.charCodeAt(n+6)&&117===r.charCodeAt(n+7)){let e=A(r,n+8);if(k(e))return{value:String.fromCodePoint(i,e),size:12}}throw l(e.source,n,`Invalid Unicode escape sequence: "${r.slice(n,n+6)}".`)}(e,o):function(e,n){let r=e.source.body,i=r.charCodeAt(n+1);switch(i){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw l(e.source,n,`Invalid character escape sequence: "${r.slice(n,n+2)}".`)}(e,o);s+=n.value,o+=n.size,a=o;continue}if(10===i||13===i)break;if(w(i))++o;else if(S(r,o))o+=2;else throw l(e.source,o,`Invalid character within String: ${x(e,o)}.`)}throw l(e.source,o,"Unterminated string.")}(e,o)}if((0,y.X1)(n)||45===n)return function(e,n,r){let i=e.source.body,o=n,a=r,s=!1;if(45===a&&(a=i.charCodeAt(++o)),48===a){if(a=i.charCodeAt(++o),(0,y.X1)(a))throw l(e.source,o,`Invalid number, unexpected digit after 0: ${x(e,o)}.`)}else o=C(e,o,a),a=i.charCodeAt(o);if(46===a&&(s=!0,a=i.charCodeAt(++o),o=C(e,o,a),a=i.charCodeAt(o)),(69===a||101===a)&&(s=!0,(43===(a=i.charCodeAt(++o))||45===a)&&(a=i.charCodeAt(++o)),o=C(e,o,a),a=i.charCodeAt(o)),46===a||(0,y.LQ)(a))throw l(e.source,o,`Invalid number, expected digit but got: ${x(e,o)}.`);return E(e,s?p.FLOAT:p.INT,n,o,i.slice(n,o))}(e,o,n);if((0,y.LQ)(n))return function(e,n){let r=e.source.body,i=r.length,o=n+1;for(;o<i;){let e=r.charCodeAt(o);if((0,y.HQ)(e))++o;else break}return E(e,p.NAME,n,o,r.slice(n,o))}(e,o);throw l(e.source,o,39===n?"Unexpected single quote character ('), did you mean to use a double quote (\")?":w(n)||S(r,o)?`Unexpected character: ${x(e,o)}.`:`Invalid character: ${x(e,o)}.`)}return E(e,p.EOF,i,i)}(this,e.end);e.next=n,n.prev=e,e=n}while(e.kind===p.COMMENT);return e}}function w(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function S(e,n){return _(e.charCodeAt(n))&&k(e.charCodeAt(n+1))}function _(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function x(e,n){let r=e.source.body.codePointAt(n);if(void 0===r)return p.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function E(e,n,r,i,o){let a=e.line,s=1+r-e.lineStart;return new m.WU(n,r,i,a,s,o)}function C(e,n,r){if(!(0,y.X1)(r))throw l(e.source,n,`Invalid number, expected digit but got: ${x(e,n)}.`);let i=e.source.body,o=n+1;for(;(0,y.X1)(i.charCodeAt(o));)++o;return o}function A(e,n){return I(e.charCodeAt(n))<<12|I(e.charCodeAt(n+1))<<8|I(e.charCodeAt(n+2))<<4|I(e.charCodeAt(n+3))}function I(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var T=r(51270);function P(e,n){let r=new O(e,n);return r.parseDocument()}class O{constructor(e,n={}){let r=(0,T.T)(e)?e:new T.H(e);this._lexer=new b(r),this._options=n,this._tokenCounter=0}parseName(){let e=this.expectToken(p.NAME);return this.node(e,{kind:g.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:g.h.DOCUMENT,definitions:this.many(p.SOF,this.parseDefinition,p.EOF)})}parseDefinition(){if(this.peek(p.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),n=e?this._lexer.lookahead():this._lexer.token;if(n.kind===p.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw l(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let e;let n=this._lexer.token;if(this.peek(p.BRACE_L))return this.node(n,{kind:g.h.OPERATION_DEFINITION,operation:m.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(p.NAME)&&(e=this.parseName()),this.node(n,{kind:g.h.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(p.NAME);switch(e.value){case"query":return m.ku.QUERY;case"mutation":return m.ku.MUTATION;case"subscription":return m.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(p.PAREN_L,this.parseVariableDefinition,p.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:g.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(p.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(p.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(p.DOLLAR),this.node(e,{kind:g.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:g.h.SELECTION_SET,selections:this.many(p.BRACE_L,this.parseSelection,p.BRACE_R)})}parseSelection(){return this.peek(p.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,n;let r=this._lexer.token,i=this.parseName();return this.expectOptionalToken(p.COLON)?(e=i,n=this.parseName()):n=i,this.node(r,{kind:g.h.FIELD,alias:e,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(p.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let n=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(p.PAREN_L,n,p.PAREN_R)}parseArgument(e=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(p.COLON),this.node(n,{kind:g.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(p.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(p.NAME)?this.node(e,{kind:g.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:g.h.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:g.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:g.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let n=this._lexer.token;switch(n.kind){case p.BRACKET_L:return this.parseList(e);case p.BRACE_L:return this.parseObject(e);case p.INT:return this.advanceLexer(),this.node(n,{kind:g.h.INT,value:n.value});case p.FLOAT:return this.advanceLexer(),this.node(n,{kind:g.h.FLOAT,value:n.value});case p.STRING:case p.BLOCK_STRING:return this.parseStringLiteral();case p.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:g.h.BOOLEAN,value:!0});case"false":return this.node(n,{kind:g.h.BOOLEAN,value:!1});case"null":return this.node(n,{kind:g.h.NULL});default:return this.node(n,{kind:g.h.ENUM,value:n.value})}case p.DOLLAR:if(e){if(this.expectToken(p.DOLLAR),this._lexer.token.kind===p.NAME){let e=this._lexer.token.value;throw l(this._lexer.source,n.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(n)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:g.h.STRING,value:e.value,block:e.kind===p.BLOCK_STRING})}parseList(e){let n=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:g.h.LIST,values:this.any(p.BRACKET_L,n,p.BRACKET_R)})}parseObject(e){let n=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:g.h.OBJECT,fields:this.any(p.BRACE_L,n,p.BRACE_R)})}parseObjectField(e){let n=this._lexer.token,r=this.parseName();return this.expectToken(p.COLON),this.node(n,{kind:g.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let n=[];for(;this.peek(p.AT);)n.push(this.parseDirective(e));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let n=this._lexer.token;return this.expectToken(p.AT),this.node(n,{kind:g.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let n=this._lexer.token;if(this.expectOptionalToken(p.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(p.BRACKET_R),e=this.node(n,{kind:g.h.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(p.BANG)?this.node(n,{kind:g.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:g.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(p.STRING)||this.peek(p.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(p.BRACE_L,this.parseOperationTypeDefinition,p.BRACE_R);return this.node(e,{kind:g.h.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,n=this.parseOperationType();this.expectToken(p.COLON);let r=this.parseNamedType();return this.node(e,{kind:g.h.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:g.h.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:g.h.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(p.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(p.BRACE_L,this.parseFieldDefinition,p.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(p.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:g.h.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(p.PAREN_L,this.parseInputValueDef,p.PAREN_R)}parseInputValueDef(){let e;let n=this._lexer.token,r=this.parseDescription(),i=this.parseName();this.expectToken(p.COLON);let o=this.parseTypeReference();this.expectOptionalToken(p.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(n,{kind:g.h.INPUT_VALUE_DEFINITION,description:r,name:i,type:o,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();
600return this.node(e,{kind:g.h.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:g.h.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(p.EQUALS)?this.delimitedMany(p.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:g.h.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o})}parseEnumValuesDefinition(){return this.optionalMany(p.BRACE_L,this.parseEnumValueDefinition,p.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:g.h.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw l(this._lexer.source,this._lexer.token.start,`${R(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:g.h.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(p.BRACE_L,this.parseInputValueDef,p.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===p.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(p.BRACE_L,this.parseOperationTypeDefinition,p.BRACE_R);if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:g.h.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:g.h.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:g.h.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===o.length)throw this.unexpected();
600return this.node(e,{kind:g.h.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:g.h.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:g.h.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:g.h.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(p.AT);let r=this.parseName(),i=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:g.h.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(p.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(h,n.value))return n;throw this.unexpected(e)}node(e,n){return!0!==this._options.noLocation&&(n.loc=new m.Ye(e,this._lexer.lastToken,this._lexer.source)),n}peek(e){return this._lexer.token.kind===e}expectToken(e){let n=this._lexer.token;if(n.kind===e)return this.advanceLexer(),n;throw l(this._lexer.source,n.start,`Expected ${D(e)}, found ${R(n)}.`)}expectOptionalToken(e){let n=this._lexer.token;return n.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let n=this._lexer.token;if(n.kind===p.NAME&&n.value===e)this.advanceLexer();else throw l(this._lexer.source,n.start,`Expected "${e}", found ${R(n)}.`)}expectOptionalKeyword(e){let n=this._lexer.token;return n.kind===p.NAME&&n.value===e&&(this.advanceLexer(),!0)}unexpected(e){let n=null!=e?e:this._lexer.token;return l(this._lexer.source,n.start,`Unexpected ${R(n)}.`)}any(e,n,r){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(e,n,r){if(this.expectOptionalToken(e)){let e=[];do e.push(n.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,n,r){this.expectToken(e);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(e,n){this.expectOptionalToken(e);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,n=this._lexer.advance();if(void 0!==e&&n.kind!==p.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw l(this._lexer.source,n.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function R(e){let n=e.value;return D(e.kind)+(null!=n?` "${n}"`:"")}function D(e){return e===p.BANG||e===p.DOLLAR||e===p.AMP||e===p.PAREN_L||e===p.PAREN_R||e===p.SPREAD||e===p.COLON||e===p.EQUALS||e===p.AT||e===p.BRACKET_L||e===p.BRACKET_R||e===p.BRACE_L||e===p.PIPE||e===p.BRACE_R?`"${e}"`:e}},16918:function(e,n,r){"use strict";r.d(n,{S:function(){return c}});var i=r(87392);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var u=r(77304);function c(e){return(0,u.Vn)(e,l)}let l={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>f(e.definitions,"\n\n")},OperationDefinition:{leave(e){let n=h("(",f(e.variableDefinitions,", "),")"),r=f([e.operation,f([e.name,n]),f(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:n,defaultValue:r,directives:i})=>e+": "+n+h(" = ",r)+h(" ",f(i," "))},SelectionSet:{leave:({selections:e})=>d(e)},Field:{leave({alias:e,name:n,arguments:r,directives:i,selectionSet:o}){let a=h("",e,": ")+n,s=a+h("(",f(r,", "),")");return s.length>80&&(s=a+h("(\n",p(f(r,"\n")),"\n)")),f([s,f(i," "),o]," ")}},Argument:{leave:({name:e,value:n})=>e+": "+n},FragmentSpread:{leave:({name:e,directives:n})=>"..."+e+h(" ",f(n," "))},InlineFragment:{leave:({typeCondition:e,directives:n,selectionSet:r})=>f(["...",h("on ",e),f(n," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:n,variableDefinitions:r,directives:i,selectionSet:o})=>`fragment ${e}${h("(",f(r,", "),")")} on ${n} ${h("",f(i," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
600,StringValue:{leave:({value:e,block:n})=>n?(0,i.LZ)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+f(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+f(e,", ")+"}"},ObjectField:{leave:({name:e,value:n})=>e+": "+n},Directive:{leave:({name:e,arguments:n})=>"@"+e+h("(",f(n,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:n,operationTypes:r})=>h("",e,"\n")+f(["schema",f(n," "),d(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:n})=>e+": "+n},ScalarTypeDefinition:{leave:({description:e,name:n,directives:r})=>h("",e,"\n")+f(["scalar",n,f(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:n,interfaces:r,directives:i,fields:o})=>h("",e,"\n")+f(["type",n,h("implements ",f(r," & ")),f(i," "),d(o)]," ")},FieldDefinition:{leave:({description:e,name:n,arguments:r,type:i,directives:o})=>h("",e,"\n")+n+(m(r)?h("(\n",p(f(r,"\n")),"\n)"):h("(",f(r,", "),")"))+": "+i+h(" ",f(o," "))},InputValueDefinition:{leave:({description:e,name:n,type:r,defaultValue:i,directives:o})=>h("",e,"\n")+f([n+": "+r,h("= ",i),f(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:n,interfaces:r,directives:i,fields:o})=>h("",e,"\n")+f(["interface",n,h("implements ",f(r," & ")),f(i," "),d(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:n,directives:r,types:i})=>h("",e,"\n")+f(["union",n,f(r," "),h("= ",f(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:n,directives:r,values:i})=>h("",e,"\n")+f(["enum",n,f(r," "),d(i)]," ")},EnumValueDefinition:{leave:({description:e,name:n,directives:r})=>h("",e,"\n")+f([n,f(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:n,directives:r,fields:i})=>h("",e,"\n")+f(["input",n,f(r," "),d(i)]," ")},DirectiveDefinition:{leave:({description:e,name:n,arguments:r,repeatable:i,locations:o})=>h("",e,"\n")+"directive @"+n+(m(r)?h("(\n",p(f(r,"\n")),"\n)"):h("(",f(r,", "),")"))+(i?" repeatable":"")+" on "+f(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:n})=>f(["extend schema",f(e," "),d(n)]," ")},ScalarTypeExtension:{leave:({name:e,directives:n})=>f(["extend scalar",e,f(n," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:n,directives:r,fields:i})=>f(["extend type",e,h("implements ",f(n," & ")),f(r," "),d(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:n,directives:r,fields:i})=>f(["extend interface",e,h("implements ",f(n," & ")),f(r," "),d(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:n,types:r})=>f(["extend union",e,f(n," "),h("= ",f(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:n,values:r})=>f(["extend enum",e,f(n," "),d(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:n,fields:r})=>f(["extend input",e,f(n," "),d(r)]," ")}};function f(e,n=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(n))&&void 0!==r?r:""}function d(e){return h("{\n",p(f(e,"\n")),"\n}")}function h(e,n,r=""){return null!=n&&""!==n?e+n+r:""}function p(e){return h("  ",e.replace(/\n/g,"\n  "))}function m(e){var n;return null!==(n=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==n&&n}},51270:function(e,n,r){"use strict";r.d(n,{H:function(){return a},T:function(){return s}});var i=r(37826),o=r(25821);class a{constructor(e,n="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,i.a)(!1,`Body must be a string. Received: ${(0,o.X)(e)}.`),this.body=e,this.name=n,this.locationOffset=r,this.locationOffset.line>0||(0,i.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,i.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return e instanceof a}},77304:function(e,n,r){"use strict";r.d(n,{$_:function(){return u},Vn:function(){return c}});var i=r(37826),o=r(25821),a=r(72380),s=r(97359);let u=Object.freeze({});function c(e,n,r=a.h8){let c,l,f;let d=new Map;for(let e of Object.values(s.h))d.set(e,function(e,n){let r=e[n];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(n,e));let h=Array.isArray(e),p=[e],m=-1,g=[],v=e,y=[],b=[];do{var w,S,_;let e;m++;let s=m===p.length,k=s&&0!==g.length;if(s){if(l=0===b.length?void 0:y[y.length-1],v=f,f=b.pop(),k){if(h){v=v.slice();let e=0;for(let[n,r]of g){let i=n-e;null===r?(v.splice(i,1),e++):v[i]=r}}else for(let[e,n]of(v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v)),g))v[e]=n}m=c.index,p=c.keys,g=c.edits,h=c.inArray,c=c.prev}else if(f){if(null==(v=f[l=h?m:p[m]]))continue;y.push(l)}if(!Array.isArray(v)){(0,a.UG)(v)||(0,i.a)(!1,`Invalid AST Node: ${(0,o.X)(v)}.`);let r=s?null===(w=d.get(v.kind))||void 0===w?void 0:w.leave:null===(S=d.get(v.kind))||void 0===S?void 0:S.enter;if((e=null==r?void 0:r.call(n,v,l,f,y,b))===u)break;if(!1===e){if(!s){y.pop();continue}}
600else if(void 0!==e&&(g.push([l,e]),!s)){if((0,a.UG)(e))v=e;else{y.pop();continue}}}void 0===e&&k&&g.push([l,v]),s?y.pop():(c={inArray:h,index:m,keys:p,edits:g,prev:c},p=(h=Array.isArray(v))?v:null!==(_=r[v.kind])&&void 0!==_?_:[],m=-1,g=[],f&&b.push(f),f=v)}while(void 0!==c);return 0!==g.length?g[g.length-1][1]:e}}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[9774,179],function(){return n(6840),n(90387)}),_N_E=e.O()}]);

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.